7 Commits

Author SHA1 Message Date
e011eeb6db Document children operation in AGENTS.md and README.md 2026-04-22 13:20:00 +00:00
047621d834 v0.2.0: add message operation, role filter, showTools, full session IDs
- Add message operation to retrieve a single message by ID (cleaner output,
  higher default maxLength of 8000)
- Add role filter to messages operation (user/assistant/system)
- Hide tool-call parts by default in messages/message output; showTools:true
  to include them
- Show full session IDs instead of truncating to 12 chars
- Make per-message maxLength configurable (default 2000 for messages, 8000
  for message)
- Increase search snippet length from 300 to 500 chars
- Add local development & testing docs to AGENTS.md with symlink instructions
- Bump version from 0.1.0 to 0.2.0
2026-04-21 21:15:28 +00:00
cb9d981b6f Dual license MIT OR Apache-2.0, add publish config, track bun.lock
- Add LICENSE, LICENSE-MIT, LICENSE-APACHE for dual licensing
- Add files + publishConfig.access to package.json for npm publish
- Update license references in AGENTS.md and README
- Fix .gitignore: track bun.lock, ignore bun.lockb instead of *.lock
- Track bun.lock in git
2026-04-21 14:08:04 +00:00
3dceb30ce9 Review cleanup: fix stale tool references, update docs, add README
- Remove unused src/context/notify.ts (never wired up)
- Fix format.ts/search.ts: update memory_messages references to router pattern
- Update AGENTS.md: reflect current state, add recommended consumer additions
- Update docs/architecture.md: match router pattern, remove stale phases
- Add README.md: problem/solution, install, tools, agent guidance
2026-04-21 12:41:14 +00:00
f822d93662 Collapse 8 tools to 2: memory router + memory_compact
All read-only operations now dispatch through a single memory tool that
routes by {tool: "name", args: {...}}. This cuts visible tool count from
8 to 2, significantly reducing context bloat for small models. The
memory_compact tool remains separate as it is a write/mutation operation.
2026-04-21 11:17:34 +00:00
38b84b8163 Add memory_compactions tool for browsing compaction checkpoints
Queries compaction-type parts in the DB to find session compaction
events, then retrieves the summary text from the adjacent assistant
message. Presents compactions as navigable checkpoints with list and
read modes.
2026-04-21 09:20:53 +00:00
f7bb7f94cf Replace sqlite3 subprocess with bun:sqlite native driver, add AGENTS.md and tests
Rewrites history/queries.ts to use bun:sqlite with readonly mode and
parameterized queries instead of spawning sqlite3. Consolidates threshold
constants into a single source of truth. Adds AGENTS.md as the canonical
operational doc, moves architecture to docs/, and adds initial test suite.
2026-04-20 16:14:35 +00:00