WeKnora/cli/cmd
nullkey 7bccd72ba3 feat(cli): search --all-pages canon catch-up + AGENTS.md SOP / CRUD canon
Brings search docs and search sessions to v0.4 pagination canon
(--limit / --page-size / --all-pages, matching session list / doc list).
Both default --all-pages=true to preserve prior silent walk-all
behavior; explicit knobs added for users who want one-page fetch.

cli/AGENTS.md gains two new sections:
- Command surface design SOP — a 5-step SDK-schema-first pre-design
  checklist for future contributors. Earlier spec drafts produced
  schema-error classes (missing/mismatched fields, missing pagination
  flags) when commands were designed from convention rather than from
  the SDK; the SOP makes the SDK the ground truth.
- CRUD command flag canon — Mode A (hard-required + flag error, no
  interactive prompts), the established pattern for non-auth CRUD.

Also fixes the agent invoke rationale source: the CLI-layer precedent
for invoke being a separate verb (not a chat mode) is documented
inline rather than referencing other vendor CLI behavior.
2026-05-16 16:56:33 +08:00
..
agent feat(cli): agent CRUD + view full config rendering 2026-05-16 16:56:33 +08:00
api refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
auth fix(cli): post-audit fixes (MCP MatchCount + sessions + auth + view) 2026-05-16 16:56:33 +08:00
chat chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00
chunk feat(cli): chunk subtree + MCP chunk_list tool + curation rationale 2026-05-16 16:56:33 +08:00
context chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00
doc chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00
doctor chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00
kb chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00
link refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
mcp refactor(cli): drop aiclient package; align AGENTS.md with mainstream 2026-05-15 12:03:56 +08:00
search feat(cli): search --all-pages canon catch-up + AGENTS.md SOP / CRUD canon 2026-05-16 16:56:33 +08:00
session fix(cli): post-audit fixes (MCP MatchCount + sessions + auth + view) 2026-05-16 16:56:33 +08:00
completion_test.go feat(cli): api --input + completion smoke 2026-05-14 10:57:17 +08:00
root.go feat(cli): chunk subtree + MCP chunk_list tool + curation rationale 2026-05-16 16:56:33 +08:00
root_test.go chore(cli): gofmt sweep 2026-05-15 12:03:56 +08:00