focus/crates
DaiChaoXiong 647cf1ba83 feat(harness): session tree, compaction plans, system prompt templates
- SessionStore/SessionTree: JSONL append-only tree (id + parentId) under
  ~/.focus/sessions, branching and continuation queries
- compaction: lightweight token estimation; scheme D+E plans (summary +
  key-facts, keep recent messages, tool_call/tool_result pairs kept intact);
  auto-trigger threshold (default 80%, configurable); apply_summary writes back
- prompts: system template with cwd/os/date/shell + context occupancy and
  last-turn usage (scheme E); pure-std date formatting
2026-08-09 20:59:59 +08:00
..
focus-core feat(core): agent message setters, thinking support, reducer arg-slot fix 2026-08-09 20:59:39 +08:00
focus-harness feat(harness): session tree, compaction plans, system prompt templates 2026-08-09 20:59:59 +08:00
focus-json ADD: 注释 2026-07-17 11:19:22 +08:00
focus-providers feat(providers): rewrite Anthropic and OpenAI providers 2026-08-09 20:59:49 +08:00
focus-tools feat(tools): add cross-platform read/write/edit/shell tools 2026-08-09 20:59:54 +08:00
focus-transport feat(transport): add incremental streaming body reader and custom ports 2026-08-09 20:59:33 +08:00