monal-rebuild/package.json
pijukka 0cf0f6bdc6 crypto: OMEMO Phase 1 identity-bootstrap skeleton
Delegated via herdr to OpenCode, independently verified (npm run
check/test/build, not just the implementer's self-report). New
src/crypto/omemo-db.ts, omemo-store.ts, omemo.ts: local identity
bootstrap only (registration id, identity keypair, signed prekey, 100
one-time prekeys via KeyHelper), idempotent across relogin. No PEP, no
send/receive, no UI yet. test/omemo.test.ts (4 tests) adds
fake-indexeddb as this project's first Node-side IndexedDB test
coverage.

Corrects several of Phase 0's audit assumptions against the library's
real dist/index.d.ts (saveIdentity()'s return direction, the generic
store methods being sync-only and unused by the library, two
Node-compat deviations from ChatDB's exact style) — see
OMEMO-PLAN.md's "Phase 1 skeleton findings".

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-04 18:24:52 +02:00

27 lines
638 B
JSON

{
"name": "0ff-chat",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"test": "node --test 'test/*.test.ts'"
},
"dependencies": {
"@xmpp/client": "^0.14.0",
"@xmpp/jid": "^0.14.0",
"libomemo.js": "^3.0.0"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.3.1",
"@tsconfig/svelte": "^5.0.8",
"fake-indexeddb": "^6.2.5",
"svelte": "^5.57.1",
"svelte-check": "^4.7.6",
"typescript": "^5.9.3",
"vite": "^8.3.1"
}
}