adlee-was-taken
2ecd98208d
feat(wasm,ext): org_manifest_decrypt/encrypt over WASM + faithful OrgManifest TS mirror
- Add `org_manifest_decrypt` + `org_manifest_encrypt` to relicario-wasm/src/lib.rs,
placed after `org_unwrap_key`; mirror the existing manifest_decrypt/manifest_encrypt
pattern exactly (need_key guard, session::with, js_value_for). Core import path:
relicario_core::decrypt_org_manifest / relicario_core::encrypt_org_manifest (crate root).
- Add round-trip test `org_manifest_round_trip_via_handle` in org_tests: encrypt via
WASM wrapper, decrypt via core directly (avoids serde_wasm_bindgen off-wasm).
Asserts collection/title/tags/schema_version survive the round-trip; asserts nonce
uniqueness. TDD: RED (compile error) → GREEN confirmed.
- Declare org_manifest_decrypt/org_manifest_encrypt in extension/src/wasm.d.ts.
- Add faithful/lean OrgManifestEntry + OrgManifest TS interfaces to
extension/src/shared/types.ts: {id, type, title, tags[], modified, trashed_at?,
collection} — no personal-only fields; collection required. Mirrors org.rs:184-202.
- Plan-doc: rewrite Task 2 body (re-scope rationale + checked steps), fix File
Structure + Architecture lines, amend Hand-off contract (org_list_items ->
OrgManifestEntry[]; org items remain personal Item).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014s527M917W47LDrfQ4t47g
2026-06-25 23:33:29 -04:00
..
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-04-19 16:47:02 -04:00
2026-04-20 18:50:37 -04:00
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-05-01 17:29:10 -04:00
2026-04-25 09:42:51 -04:00
2026-04-24 23:13:43 -04:00
2026-04-24 21:46:23 -04:00
2026-04-26 15:39:19 -04:00
2026-04-27 17:42:00 -04:00
2026-05-01 17:29:10 -04:00
2026-04-27 02:19:31 -04:00
2026-05-01 17:29:10 -04:00
2026-04-30 20:29:49 -04:00
2026-05-01 16:38:34 -04:00
2026-05-01 16:25:33 -04:00
2026-05-01 16:25:33 -04:00
2026-05-02 13:25:35 -04:00
2026-05-02 16:44:06 -04:00
2026-05-02 00:42:17 -04:00
2026-05-02 01:23:14 -04:00
2026-05-02 16:03:53 -04:00
2026-05-02 16:03:53 -04:00
2026-05-24 13:01:01 -04:00
2026-05-30 20:11:33 -04:00
2026-05-31 22:50:17 -04:00
2026-06-20 13:45:04 -04:00
2026-06-20 16:48:46 -04:00
2026-06-21 09:35:44 -04:00
2026-06-21 09:35:44 -04:00
2026-06-25 23:33:29 -04:00
2026-06-21 09:35:44 -04:00
2026-06-21 09:35:44 -04:00