fabro/lib/crates
Bryan Helmkamp 2ce89e5e5e Simplify compaction code: extract helper method, named constant, avoid cloning
Extract duplicated compaction check+trigger blocks in the session loop into
Session::compact_if_needed(). Replace the hardcoded 20_000 token budget with
COMPACTION_USER_MESSAGE_TOKEN_BUDGET constant. Change extract_recent_user_messages
to take ownership of discarded turns instead of borrowing and cloning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-11 22:13:29 -04:00
..
arc-agent Simplify compaction code: extract helper method, named constant, avoid cloning 2026-03-11 22:13:29 -04:00
arc-api Wire arc-devcontainer into sandbox creation flow 2026-03-10 22:54:59 -04:00
arc-cli Add arc graph subcommand to render workflow DOT graphs as SVG/PNG 2026-03-11 10:34:23 -04:00
arc-config Add GitHub App manifest setup to arc install 2026-03-10 14:36:13 -04:00
arc-db Split ~/.arc/logs/ into logs/ and runs/ 2026-03-10 09:40:03 -04:00
arc-devcontainer Detect unsupported COPY/ADD in devcontainer base Dockerfiles 2026-03-10 22:09:30 -04:00
arc-exe Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-git-storage Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-github Simplify PR commands: rename fields, use constant, parallelize list 2026-03-10 19:54:38 -04:00
arc-llm Add gemini-3.1-pro-preview-customtools to model catalog 2026-03-11 08:05:00 -04:00
arc-mcp Add sandbox MCP transport for running MCP servers inside Daytona sandboxes 2026-03-10 02:09:04 -04:00
arc-openai-oauth Add api.responses.write scope to OpenAI OAuth flow 2026-03-10 18:07:33 -04:00
arc-slack Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-sprites Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-types Fix relative paths broken by crates/ → lib/crates/ move 2026-03-09 13:20:47 -04:00
arc-util Group arc doctor checks into Required / Optional / Server sections 2026-03-11 09:59:54 -04:00
arc-workflows Add tracing to DaytonaSandbox::exec_command to diagnose stall watchdog timeouts 2026-03-11 17:04:17 -04:00