Skip to content

v1.9.0

Choose a tag to compare

@raybird raybird released this 24 May 08:16
· 17 commits to main since this release

Highlights

Domain module split — no breaking changes to CLI, HTTP API, or SDK.

Changed

  • Split src/core/db.ts (2409 lines, 8 domains) into 11 focused modules under src/core/db/ (schema, session, source, wiki, lint, sync, telemetry, verify, prune-export, recall, mappers). All 32 public exports remain unchanged via src/core/db/index.ts.
  • Split src/cli.ts (~890 lines, 16 commands) into a thin 50-line Commander registration shell, with each command extracted into src/cli/commands/ and shared helpers into src/cli/shared.ts, runtime.ts, preflight.ts.
  • Updated AGENTS.md, README.md, and README.zh-TW.md to reflect the new directory structure.

Verification

pnpm run check
pnpm run build && node dist/cli.mjs --help
bash scripts/test-smoke.sh
bash scripts/test-bootstrap.sh
bash scripts/test-no-clone-install.sh