Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f2a3bf6
feat: add matrix api-first history parity and cursor v1
batuhan Feb 28, 2026
9b47ffb
docs: restructure 1.0.0 changelog sections
batuhan Feb 28, 2026
54fbb6e
docs: simplify readme capabilities section
batuhan Feb 28, 2026
d03b105
docs: rewrite readme in a more natural tone
batuhan Feb 28, 2026
077cecb
feat: add dont_render_edited marker to Matrix edit payloads
batuhan Feb 28, 2026
a2e650c
Improve matrix adapter typing and reaction thread context
batuhan Feb 28, 2026
4119260
Harden isRecord and log fetchRoomEventMapped failures
batuhan Feb 28, 2026
2500886
Simplify: dead code removal, sliding window dedup, and minor cleanups
batuhan Mar 1, 2026
db94c1a
Ignore .claude local settings
batuhan Mar 1, 2026
7d7bf35
Add invite auto-join and file upload support
batuhan Mar 1, 2026
7022b6c
Refactor attachments, eviction, and session
batuhan Mar 1, 2026
5b14e4f
Handle M_NOT_FOUND and optimize adapter ops
batuhan Mar 1, 2026
5f5fcca
Add e2e tests, bump deps and update changelog
batuhan Mar 2, 2026
87c8a88
Improve Matrix E2E coverage and logging
batuhan Mar 6, 2026
7664b6c
Add Matrix rich-text & mention handling; bump deps
batuhan Mar 7, 2026
00b7b57
Clean up bun lockfile
batuhan Mar 7, 2026
f03a313
Fix Matrix adapter review findings
batuhan Mar 7, 2026
482ccf5
Implement API-first Matrix history store and switch to pnpm
batuhan Mar 7, 2026
3dc140f
chore: require Node 22 for strip-types scripts
batuhan Mar 7, 2026
f5893f5
Refactor MatrixAdapter tests for deterministic DM and invite flows
batuhan Mar 7, 2026
e630f7c
Stabilize pagination and state adapter readiness in tests
batuhan Mar 7, 2026
3bae25b
Set package version to 0.2.0
batuhan Mar 7, 2026
11a1801
Rewrite README with API-first usage and full config reference
batuhan Mar 7, 2026
bf16667
Isolate E2E history tests into dedicated Matrix rooms
batuhan Mar 8, 2026
ebba963
Simplify Matrix persistence defaults and env-based configuration
batuhan Mar 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,25 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.30.3

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
node-version: 22
cache: pnpm

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Typecheck
run: npm run typecheck
run: pnpm typecheck

- name: Build
run: npm run build
run: pnpm build

- name: Test
run: npm test
run: pnpm test
19 changes: 12 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,29 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.30.3

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
node-version: 22
cache: pnpm
registry-url: https://registry.npmjs.org

- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile

- name: Typecheck
run: npm run typecheck
run: pnpm typecheck

- name: Build
run: npm run build
run: pnpm build

- name: Test
run: npm test
run: pnpm test

- name: Verify tag matches package version
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -50,6 +55,6 @@ jobs:
fi

- name: Publish to npm
run: npm publish --provenance --access public
run: pnpm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ coverage
**/.env
**/.env.*
!**/.env.example
.claude/settings.local.json
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.2.0

### New

- `openDM(userId)` for DM reuse/create
- `fetchMessage(threadId, messageId)` for single-message fetch
- `fetchChannelMessages(channelId, options)` for top-level channel history

### Changes

- `fetchMessages` and `listThreads` use server-backed pagination
- Bump `chat` SDK to 4.15.0
- Clean up event listeners on shutdown
- Guard `decodeRecoveryKey` against malformed keys

## 0.1.0

- Initial release.
Loading