multica/src
Jiang Bohan 3dd7ff52d6 feat(context): add tool result pruning for smarter context management
Two-phase pruning approach based on OpenClaw's microcompact-style:
- Soft Trim (30% utilization): Keep head 1500 + tail 1500 chars of large tool results
- Hard Clear (50% utilization): Replace old tool results with placeholder

Protections:
- Never prunes before first real user message (bootstrap protection)
- Protects last 3 assistant messages and their corresponding tool results
- Skips image-containing tool results
- Respects tool allow/deny lists

Enabled by default in tokens/summary compaction modes.
2026-02-05 15:50:58 +08:00
..
agent feat(context): add tool result pruning for smarter context management 2026-02-05 15:50:58 +08:00
client Initial project setup with multi-component architecture 2026-01-28 14:08:34 +08:00
console feat(console): enable CORS for cross-origin web app requests 2026-01-30 22:40:38 +08:00
gateway feat(gateway): add auto-connect, hub discovery via list-devices 2026-02-02 16:13:40 +08:00
hub feat(connection): add device verification status feedback for collaborators 2026-02-05 10:44:15 +08:00
shared refactor(sdk): unify gateway-sdk into @multica/sdk package 2026-02-02 13:43:52 +08:00
index.ts Initial project setup with multi-component architecture 2026-01-28 14:08:34 +08:00