v2.1.0
v2.1.0 — 2026-04-22
Highlights
CAO 2.1 adds a cao session CLI for driving running sessions from the shell, an external-plugin extension point (pip-installable observer/hook plugins), a first-class skills system with managed skills auto-seeded at cao init, Kiro CLI full-TUI support, agent-profile env-var injection, a universal allowedTools vocabulary translated per-provider, and the Web UI now ships inside the Python wheel. Plus a stack of TUI-detection and session-lifecycle fixes across Claude Code, Kiro CLI, and terminal-service.
Added
cao sessioncommand group — Newcao session list | status | sendlets you inspect and drive running sessions from the shell without attaching to tmux.cao shutdownandcao launchnow go through the HTTP API so a local CLI can drive a remotecao-server.cao launchalso gains--working-directoryand an optional trailingmessageargument for one-shot headless task execution. A newcao-session-managementskill documents the command group for LLM-driven operators by @anilkmr-a2z in #187- External plugins — Observer/hook plugins can now be installed via pip and auto-discovered through the
cao.pluginsentry point group. Plugins subclassCaoPluginand register handlers with the@hookdecorator. Ships with lifecycle tests and a documented install flow atdocs/plugins.mdby @patricka3125 in #172 - Skills system — Native support for reusable agent skills installed to
~/.cao/skills/viacao skill add. Newcao-providerskill guides contributors through adding new CLI agent providers end-to-end;cao-supervisor-protocolsandcao-worker-protocolsseeded viacao init. Managed-skills section added to the README by @patricka3125 and @haofeif in #145, #154, #170 - Kiro CLI full TUI mode +
--legacy-uifallback — Support for Kiro CLI's new full-screen TUI alongside the legacy prompt;--legacy-uiflag preserved for compatibility by @haofeif in #138, #163 - Agent-profile environment variable injection — Agent profiles can declare
enventries loaded into the agent process at launch, with secret-aware handling via~/.cao/.envby @patricka3125 in #156 - Universal
allowedToolsvocabulary — Unified CAO tool-restriction vocabulary translated per-provider, replacing provider-specific allow/deny flags. Child agents now honor explicitallowedTools=["*"]instead of silently inheriting parent restrictions by @haofeif in #125, #144 - Web UI bundled in the wheel — Built Web UI assets now ship inside the Python wheel, so a plain
uv tool installgives you the dashboard with no extra build steps by @patricka3125 in #169 - Clearer launch confirmation +
--auto-approve— Redesigned thecao launchconfirmation prompt to showRoleinstead ofBlocked, clearly distinguish[Y]/[--auto-approve]/[--yolo], and added--auto-approveto skip the prompt without removing restrictions by @haofeif in #146
Fixed
- Cleanup guard on terminal creation —
_create_terminalno longer kills sessions it didn't create during rollback; the cleanup path now tracks whether this call actually created the tmux session by @gutosantos82 in #191 - Graceful handling of missing agent profiles —
terminal_servicereturns a clear error instead of tracebacking when an agent profile can't be found in the CAO store by @anilkmr-a2z in #186 - Profile-level
modelhonored at terminal creation — Providers now passprofile.modelthrough to the CLI at launch, so per-agent model selection works end-to-end by @patricka3125 in #189 - Claude Code: false-positive IDLE on pre-existing shell prompt — Initialize-time status check could return IDLE against the pre-existing zsh/bash
❯prompt before Claude Code actually started. Added pre-launch pane snapshot + Claude-specific startup markers to confirm the CLI is actually running before accepting IDLE by @gutosantos82 in #190 - Claude Code: structural PROCESSING detection —
get_status()now uses structural detection for PROCESSING instead of relying on❯position, eliminating a race where the spinner and prompt interleaved mid-capture by @gutosantos82 in #177 - Claude Code: stale processing spinners no longer block inbox delivery — by @haofeif in #106
- Kiro CLI: 2.0 credits-before-separator layout — Status detection updated for the new Kiro TUI layout where the credits line appears before the separator by @anilkmr-a2z in #188
- Kiro CLI: position-aware "Kiro is working" check — Stale scrollback could leave "Kiro is working" in the capture after completion and block handoffs with a false PROCESSING; detection is now position-aware to the latest interaction by @wahidzzz in #185
- Kiro CLI: new-TUI fallback patterns +
FileNotFoundErrorhandling — Added fallback detection patterns for the new Kiro CLI TUI prompt format (ask a question, or describe a task). Fixedload_agent_profile()wrappingFileNotFoundErrorasRuntimeError, which causedassign()to fail for JSON-only agent profiles by @haofeif in #140 (resolves #137) - Web UI: missing providers in dropdown — Added
gemini_cli,kimi_cli, andcopilot_clito the/agents/providersendpoint and frontend fallback list so all 7 providers appear by @haofeif in #158 (resolves #157) - Web UI: terminal scroll and paste reliability — Fixes for scrollback drift and multi-line paste handling in the browser terminal by @gosmonso96 in #162
- WAITING_USER_ANSWER false positives from stale scrollback — Regex hardened so historical
confirm? [y/n]lines in scrollback don't get re-detected as active prompts by @patricka3125 in #142 - Gemini skill-catalog test assertion — Test reads
GEMINI.mdrather than a hardcoded fixture so the catalog assertion tracks the live skill set by @haofeif in #180
Security
- Bump authlib 1.6.9 → 1.6.11 by @dependabot in #178
- Bump cryptography 46.0.5 → 46.0.7 by @dependabot in #135, #165
- Bump fastmcp 2.14.5 → 3.2.0 by @dependabot in #139
- Bump pygments 2.19.2 → 2.20.0 by @dependabot in #136
- Bump python-dotenv 1.1.1 → 1.2.2 by @dependabot in #194
- Bump python-multipart 0.0.22 → 0.0.26 by @dependabot in #175
- Bump pytest (dev) 8.4.2 → 9.0.3 by @dependabot in #173
- Bump vite 6.4.1 → 6.4.2 by @dependabot in #160
New Contributors
- @gosmonso96 made their first contribution in #162
- @wahidzzz made their first contribution in #185
Upgrade
uv tool install git+https://github.com/awslabs/cli-agent-orchestrator.git@v2.1.0 --upgradeNo breaking changes to existing CLI invocations. New features are additive; the HTTP refactor of cao shutdown / cao launch preserves the old argument shapes.
Full Changelog: v2.0.0...v2.1.0