feat(daemon): headroom-ai compression sidecar for tool results #55
No reviewers
Labels
No labels
doctor-fix
first-proof blocker
hardening
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: clawdie/colibri#55
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/headroom-sidecar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
40-50% token savings on tool outputs with zero accuracy loss.
scripts/headroom-sidecar.py: Unix socket server (from headroom import compress)cost.rs:HeadroomSidecarstruct withconnect/compressmethodssession.rs:build_prompt_messages()accepts optional sidecar, compresses ToolResult contentdaemon.rs: spawns sidecar on startup ifCOLIBRI_HEADROOM_ENABLED=trueconfig.rs:headroom_enabled+headroom_socket_pathfieldssocket.rs:cmd_statusreports headroom status,cmd_get_sessionuses sidecarDisabled by default. Works identically on Linux and FreeBSD. Sidecar tested standalone at 49% savings on 4,259 tokens.
Pull request closed