Monorepo for the knoter CLI, shared project docs, and web frontend.
cli/: TypeScript/Bun CLI — vault management, indexing, agent work queue, search, launchd scheduling.kn syncspawns the configured external agent (codex/claude CLI) which maintains vault artifacts plus their HTML displays.res/templates/: vault seed content (workflow contract + per-artifact templates with default HTML), copied into each vault atkn vault init.docs/: shared architecture, planning, and testing docs.web/: React/Vite HTML workbench frontend with an Electron development shell and CLI/fs-backed IPC. No web test harness currently exists;npm run checkis the verification baseline.
Agent guides: root agents.md routes to cli/agents.md and web/agents.md.
- CLI/local TEI embedding endpoint:
http://127.0.0.1:39280 - Web Vite dev/preview server:
http://127.0.0.1:39281
The CLI does not create or manage TEI containers. On macOS, run
text-embeddings-router locally for Metal acceleration and point the vault at
that OpenAI-compatible embedding endpoint.
cd cli
# Current ad hoc typecheck; package metadata/check script is P1 work.
bunx tsc --noEmitcd web
npm install
npm run checkThe CLI/web test harnesses were removed during the queue-architecture rewrite;
manual smoke steps live in docs/testing.md.