Release notes

Codewhale 0.10.5

Released November 24, 2026. Every entry for this version, drawn from the repository's CHANGELOG.md.

Added11

  • Serve the shared web app build from codewhale web: codewhale web now serves a built codewhale-app/apps/web/dist directory when CODEWHALE_WEB_DIST points to a valid directory containing index.html, including /plugin-host.html (with sandboxed connect-src 'none' / frame-ancestors 'self' CSP), immutable /static/* hashed assets, bounded SPA route fallback, path-traversal/symlink refusal, and preserved auth-bootstrap cookie sessions; falls back to the embedded web client when unset. (#7237)
  • DSH P1/P2 host shims, client frame allowlist, and seat table lockstep: added @deepseek-ai/dsh-agent and @deepseek-ai/dsh-app-boot module singletons plus read-only/owner-scoped sessionPersistence, storageDomain, invariants, and permissionPresets services in the extension host (keeping all mutating/escalation paths fail-closed); admitted @deepseek-ai/dsh-settings, @deepseek-ai/dsh-tools, and @deepseek-ai/dsh-credentials in DSH_FRAME_MODULES, synced DSH_SEAT_TABLE (41 entries) with desktop DSH slot aliases, and listed npm:/git:/dsh: sources in the plugin install error hint (§280).
  • Expanded DeepSeek Harness 0.2.2 host compatibility: switched on the brokered attachments service, added pure-API exports (ReasoningEffortId, KNOWN_SESSION_EVENT_TYPES, deriveEventMessage, and streaming/message helpers) and plugin-scoped module shims (@deepseek-ai/dsh-credentials, @deepseek-ai/dsh-settings with read-only host locale, @deepseek-ai/dsh-home-paths and @deepseek-ai/dsh-atomic-write confined to the plugin dataDir, @deepseek-ai/dsh-skill, and @deepseek-ai/dsh-typert-protocol), and added ctx.tools.guard (deny-only), subagents.getProvider('fork'), command invocation.agent.session, agentPresets, agentDefaultModel, sessionProjections, workspaceRegistry, typertGateway, policy-guarded web, and read-only tools/result projection.
  • Engine-brokered plugin web server and DSH client asset/route runtime: added the sandboxed plugin_route/dispatch extension-host RPC, owner-isolated webServer / connection / sessionTitle / profileContext adapters (DSH_WEBSERVER_ADAPTERS), bounded Runtime API route forwarding (/v1/apps/plugins/{selector}/route/{*path} and /routes/{*path} returning 404 plugin_route_not_found or 503 plugin_host_unavailable instead of 501), strict If-Match revision binding, sanitized/bounded response headers with sandbox CSP, ?cw_rev= revision fallback, and expanded reviewed DSH static UI assets (gif, ico, non-manifest json).
  • Persisted per-plugin settings API for DSH plugins: added GET and PUT /v1/apps/plugins/{selector}/settings backed by the same [plugins.<name>.config] store, 64 KiB/key/depth bounds, and optimistic expected_revision checks used by server-side dsh_settings, gated to trusted, enabled plugins granted the settings host service.
  • Choose an external ACP agent in the terminal: /model now lists installed external ACP agents (antigravity, opencode, copilot, dsh, and others) alongside Codewhale models, showing why non-runnable agents are blocked and what to run, and codewhale --agent <id> / codewhale exec --agent <id> starts an interactive or headless session through the Engine ACP executor. (CW-8361)
  • Verified candidate evaluator for experimental search workflows: workflows/operate_best_of_n.workflow.js now supports an optional host-owned args.evaluator (task.verifyCandidate) that freezes a clean Git baseline, seals candidate diffs, and replays public and held-out gates inside Linux bubblewrap with proposal_only receipts. Thanks @axobase001. (#7294)
  • Bundled TrustedRouter provider and inclusion bar: added TrustedRouter (trustedrouter, TRUSTEDROUTER_API_KEY) as a bundled OpenAI-compatible provider descriptor and documented the bundled-provider inclusion bar (established operators with reliable APIs and clear community demand; custom OpenAI/Anthropic-compatible endpoints work via [providers.<name>]). Thanks @jperla. (#7350)
  • Simplified Chinese Auto-Review documentation: added docs/zh_hans/AUTO_REVIEW.md covering Auto-Review posture, approval flow, and configuration. Thanks @Goldloli. (#7521)
  • Runtime API token is cleared from the server environment after startup: codewhale serve reads its runtime token once at startup and removes it from the process environment so child processes do not inherit it.
  • Sub-agents inherit [tools] configuration and [tools.overrides]: child agents now apply the parent configuration's tool overrides and plugin tool directory instead of falling back to defaults.

Changed14

  • Streamlined CLI & TUI first-run onboarding, provider setup, and Settings overlay: - Auto-detect ambient cloud API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, DEEPSEEK_API_KEY, OPENROUTER_API_KEY) when no explicit provider or base URL is configured, promote Connect a model into a selectable top Launch Card row when no model is connected, enforce consistent workspace trust on fresh starts, skip the redundant Ready screen when a draft is waiting, tighten missing-key CLI errors, document -p/--prompt vs exec, and surface login and models in codewhale --help. - Upgraded the TUI Provider Picker (/connect / /provider) with Desktop-parity Suggested providers + collapsible Show all N providers, immediate type-to-filter in onboarding mode without single-letter shortcut hijacking, a 2-step Key → Model BYOK flow with honest secret-store persistence copy, humanized capability badges, a calmer 6-action ModelPicker footer, and runnable-first RouterSetup ordering. - Upgraded the TUI Settings overlay (/config) with Desktop Wave 10 search parity (per-tab match counts, dimmed zero-match tabs, inline Esc clear cue, Tab/Shift+Tab jump across matching tabs, and structured empty-search reset), Space boolean quick-toggle, Ctrl+R reset-to-default (respecting managed policy locks), prose-first detail pane without available: not observed noise, modified/session/locked-only row badges (removing SAVED spam), hidden single-group rail & empty tabs, gated footer previews, folded Motion rows into Appearance, hid legacy notification sound rows from the UI, replaced docs/TELEMETRY.md with codewhale config telemetry, fixed duplicate Enter action verbs across all 15 shipped locales, and added plain-English labels for all 9 previously blank-label settings. - Synced vendored codewhale-ratatui to 1ee06f76 (Design 5.5.0 Obsidian/Porcelain Whale palettes, charter MINUS, full State set + StatusMark::detail, 6 v5.5.0 ADE icons, Depth::Tonal / Panel::tonal(), Wave 9 Toast presets, Notice/Skeleton/Count/ChecksMark primitives, docked CodeBlock headers, ToolCard diff/path formatting, TurnSummary, ArtifactChipRow, ApprovalCard diff preview, NeedsAttentionPill, TaskProgressHeader, DiffReviewHeader, SettingsRail, PickerTabs::counts, and SessionGroupHeader).
  • Unified codewhale-design 5.5.0 Obsidian/Porcelain tokens and Whale Dark/Light palette: synced vendored codewhale-design 5.5.0 and codewhale-ratatui (f268539/fdf993c), retired the upstreamed posture.rs, native_composer.rs, motion.rs, native_chrome.rs, and workbar adaptations from UPSTREAM.json, and unified Whale Dark/Light inks across TUI surfaces.
  • Aligned TUI permission dial, 15-locale status labels, and truthful diff folds: standardized Title Case posture labels (Accept Edits, Ask, Plan, Full Access) and status strings across all 15 TUI locales, and wired ASCII-safe turn_fold summaries for truthful diff folding.
  • Full Access is selected through Shift+Tab instead of the legacy yolo-compat funnel: removed Alt+Y, Alt+Shift+Y, and the /mode yolo|bypass|4 permission shortcut; /mode yolo now points to Shift+Tab (or /auto), and /zidong is now an alias for /auto (Auto-Review). Launch flags (--yolo, --full-access, CODEWHALE_YOLO, default_mode = "yolo") keep their startup behavior.
  • Updated 0.10.5 DSH compatibility documentation: refreshed docs/DSH_COMPATIBILITY.md and docs/DSH_PLUGIN_COMPAT.md with verified 0.10.5 pinned 33-row Engine lifecycle receipts (13 full local lifecycle, 3 pinned blocked, 17 npm-approval gated, 0 scan-limit failures), 15/36 direct extension-host cold-activate results, and codewhale web loopback dist verification (§280).
  • Cross-process item index cache and owner-only indexing: cached the item index across processes and skipped non-owner records during indexing. Thanks @gaord. (#7446, #7522)
  • One paste path in the terminal and off-thread clipboard reads: simplified Ctrl+V handling to a single press/release edge rule and moved clipboard file reads off the UI thread. (#7516)
  • /model splits use-now from saving the default: pressing Enter switches the current session's model immediately while Shift+D saves it as the default route. (#7517)
  • Standalone /pet dot whale: every terminal draws the dot whale directly from its own session activity without depending on the companion source session. (#7514)
  • Removed confirmed dead-code candidates: deleted unused TUI, Fleet, and skills items identified in the dead-code sweep. Thanks @luochen211. (#7491, Refs #7270)
  • Single owned TaskManager slot: routed TUI TaskManager consumers through App's single slot ahead of session-switch store adoption. Thanks @Serendo. (#7507)
  • Website and docs refresh: updated real desktop screenshots, contributor wall, and /settings + slash-command documentation. (#7511)
  • Test-only Fleet methods gated behind #[cfg(test)]: gated the five remaining test-only pub methods in crates/engine/src/fleet/ (FleetLedger::{claim_next,record_alert,mark_task_terminal_status_if_unchanged}, FleetScheduler::cancel_run, FleetExecutor::all_terminal) under #[cfg(test)] so production builds expose no unused Fleet helpers. Thanks @luochen211. (Refs #7270)
  • The website offers the macOS desktop app: codewhale.net/app now has signed, notarized Desktop 0.10.4 downloads for Apple silicon and Intel Macs, each with its size and SHA-256 checksum, and /download goes to that page.

Fixed33

  • Session switch adopts a populated Runtime store: switching to a conversation whose Runtime store already holds a thread record no longer refuses the switch; the check tests the store being left, not the target, and the host keeps its own store until the switch explicitly releases it. Thanks @Serendo. (#6225, #6418, #7451)
  • Treat find -delete as a destructive action in execution policy: execpolicy now classifies find ... -delete as destructive so Auto-Review and Ask postures gate it consistently, alongside Windows CI linker/test ceiling tuning (#7512). Thanks @WTFitsmemyself. (#7496)
  • Telemetry disclosure accuracy, first-party-only PostHog removal, TOOL_NAMES parity, models.dev gating, and Runtime API toggle: removed the optional PostHog forwarding sink, tests, docs, legal copy, and locale mentions so usage counts are 100% first-party (telemetry.codewhale.net -> Cloudflare Analytics Engine); aligned telemetry descriptions across README.md (+ 18 translations), config.example.toml, docs/TELEMETRY.md, docs/zh_hans/TELEMETRY.md, website trust docs, and /settings hints with Schema v4 (built-in providers, bundled public-catalog model IDs with custom/local models mapped to other, aggregate token totals, and built-in tool counts); synced the 7 missing built-in tools (context_archive_*, terminal_*) into telemetry-ingest/src/schema.ts and docs/TELEMETRY.md; disclosed and gated the 24h models.dev background catalog refresh behind [catalog] auto_refresh plus automatic CI/DO_NOT_TRACK suppression; widened DO_NOT_TRACK parsing to the Console Do Not Track spec; and made telemetry editable through POST /v1/config.
  • Engine, app-server, extension host, fleet, subagent, RLM, config, hooks, MCP, TUI, and VS Code/bridge hardening: addressed public audit findings across engine core, runtime threads, subagents, app-server lease rollback, extension host, fleet work graph, RLM batch guards, config, skills/plugins/secrets, MCP setup/registry, TUI sessions/pickers/clipboard, bridges, and component hardening. Thanks @NieZhuZhu (#7481, #7483, #7484, #7489, #7492, #7493, #7495, #7501, #7532, #7533, #7534, #7535). (#7498, #7499, #7503, #7515)
  • Security hardening across read-only shell git, automations, remote runtime probes, hooks, grant persistence, and URL/log redaction: hardened read-only and auto-approved git commands against repository config helper hooks; rejected elevated automation permissions and unattended full-access dispatch; removed bearer tokens from systemd unit command lines and generated runbooks; enforced HTTPS without redirect following on non-loopback webhooks; failed closed on grant persistence errors and surfaced posture-save failures; scrubbed malformed URLs, git remotes, and tool-call logs; and blocked loopback, link-local, metadata, and IPv6-embedded private addresses in remote runtime probes.
  • ACP Ask-posture enforcement and discovery hardening: enforced host-side Ask approval gating for external ACP agents and hardened external-agent discovery. (#7504)
  • Responses cache-miss usage fidelity and conformance fixtures: kept missing input_tokens cache-miss counts unknown (None) instead of fabricating zero and added Responses stream usage normalization fixtures. Thanks @SamhandsomeLee. (#7527, #7528)
  • Windows desktop-shell exclusion (ShellExperienceHost.exe): matched ShellExperienceHost.exe case-insensitively in the Windows desktop-shell filter. Thanks @deosiree. (#7513, Refs #7474)
  • Background shell ambient scene and idle CPU: fixed ambient scene polling when background shells are active. (#7518, Refs #6728)
  • DSH importer scan cap and named group closures: raised the npm dependency scanner's per-file limit to 8 MiB (matching PLUGIN_UI_MAX_BYTES) so bundled client JS assets in packages like dsh-pet, dsh-univer-office, and dsh-genui pass import review, and included named group: true modules such as dsh-mnemon/bundle in the reviewed module closure. (CW-8289)
  • /effort and the reasoning-effort picker now accept low and medium on Ollama Cloud: removed the picker's duplicate catalog effort parser in favor of ReasoningEffort::catalog_effort_values_for_offering and from_catalog_token, and aligned Ollama Cloud's picker ladder (auto, off, low, medium, high, max) with the engine. (CW-8360)
  • /rlm now reaches the discoverable rlm tool: /rlm no longer tells the model to emit repl fences or forbid rlm actions, and the canonical rlm tool (open, eval, configure, close, session_objects) is discoverable via tool_search while legacy rlm_*` aliases stay hidden. (CW-8360)
  • Removed duplicate TUI login and logout subcommands reachable through codewhale run: codewhale run logout no longer clears saved provider API keys and codewhale run login is removed; use codewhale login, codewhale logout, and codewhale auth ... instead. (CW-8360)
  • codewhale model resolve agrees with turns: removed the reviewed-selection admission gate (admit_reviewed_selection) so codewhale model resolve no longer refuses model IDs that /model lists and turns accept; live-catalog refusals (fetched_at > 0) and Ollama's placeholder default refusal stay in place. (CW-8360)
  • User config is now the single source of workspace trust: removed repository self-trust markers (.deepseek/trusted and .deepseek/trust.json) from trust checks and project context loading so a repository cannot hide the trust prompt or make doctor/setup report it as trusted while hooks, MCP, and skills remain off. Workspaces that relied only on those markers will prompt for trust once. (CW-8360)
  • No false session-save error banner while a prompt is waiting for dispatch admission: background pending-work checkpoints, late usage snapshots, and mid-dispatch sync checkpoints now wait for native dispatch admission before persisting instead of surfacing a red Session ... could not be saved (session publication is waiting for native dispatch admission) error.
  • Structured failure cause on provider request receipts and saved turn outcomes: failed provider request receipts (open_failed, incomplete, review_failed) and persisted turn_outcomes now carry a backwards-compatible structured cause object (code, category, transmission, optional http_status, timeout_ms, and phase) alongside the typed error code already rendered on TUI error cards. Thanks @7jrxt42BxFZo4iAnN4CX. (Closes #7328)
  • Faster stop settlement and damaged thread record recovery: cancelling a stalled provider stream now drops the stream immediately and skips post-stream tool finalization, and follow-up turns sent while a stop is settling wait briefly for turn completion instead of failing as busy; damaged threads/thr_*.json records are now rebuilt from their intact events/thr_*.jsonl log (with strict thread-id and schema-version checks) and repaired atomically on disk instead of disappearing from the session list. (CW-8391)
  • MCP server and external sandbox backend hardening: codewhale serve --mcp now applies the configured sandbox mode, bubblewrap settings, read deny-list, and external sandbox backend to its tool context and refuses all shell and terminal tool aliases when tool_launcher is set; failed external sandbox backend initialization in the engine now fails closed instead of falling back to local execution.
  • Composer vim mode no longer swallows typing after pressing v: removed the unfinished VimMode::Visual state that absorbed all keys until Esc with no on-screen indicator or operators.
  • Lone non-ASCII keys now reach normal key routing on untrusted terminals: single IME/non-ASCII commits in paste-burst detection keep their Enter-suppression window while falling through to the main key match (vim Normal mode, Esc-Esc backtrack reset, and ordinary insertion) instead of bypassing it.
  • Launch-card resume always opens confirmation from mouse and keyboard: unified mouse and keyboard launch-action dispatchers into one apply_launch_action path and removed the unreachable direct-resume mouse arm.
  • Environment overrides and approval_policy consistency: CODEWHALE_ALLOW_SHELL (along with CODEWHALE_YOLO, CODEWHALE_SANDBOX_NETWORK_ACCESS, and CODEWHALE_PREFER_BWRAP) now accepts yes and on in addition to 1 and true; an unknown CODEWHALE_PROVIDER now warns and skips only provider-scoped overrides instead of dropping every subsequent environment override; CODEWHALE_MAX_SUBAGENTS and project/overlay max_subagents now take precedence over a file's [subagents] max_concurrent; and approval_policy now accepts ask and auto-review in codewhale config set, config.toml validation, and project-config tightening.
  • Skills discovery, triggers, and config validation: load_skill companion file lists now include files inside subdirectories (bounded depth/count, skipping hidden files and symlinks), split_trigger recognizes localized trigger clauses (such as Russian Триггеры: and Chinese 触发条件:), the names-only skill index tier preserves skill paths whenever budget allows, and unknown keys under [skills] are rejected during config parsing instead of silently ignored. (#7432)
  • Sub-agent terminal status, budget recovery, mailbox fidelity, and default spawn depth: interrupted and cancelled sub-agents now emit distinct subagent.interrupted and subagent.cancelled sentinel events instead of plain subagent.done; repair_stopped_tool_calls now runs in production budget-stop finalization before checkpointing and transcript persistence so unanswered final tool calls record explicit budget-stop tool results; MailboxMessage::BudgetExhausted preserves budget-exhausted status across the mailbox and TUI projections instead of collapsing to Failed; and DEFAULT_SPAWN_DEPTH is now bounded to 3 instead of u32::MAX (still configurable via [subagents] max_depth). Thanks @7jrxt42BxFZo4iAnN4CX. (Closes #7434)
  • Avoid holding the MCP pool lock across desktop-browser admission checks: McpToolAdapter::execute_rich now runs admit_desktop_browser_call before acquiring the shared MCP pool mutex. Thanks @7jrxt42BxFZo4iAnN4CX. (Refs #7461)
  • Stale pet telemetry and corrupt history lines no longer drop state: PetLiveTape now ignores non-zero out-of-order telemetry sequence regressions without lowering its high-water mark (preserving sequence 0 as an in-place producer restart baseline), and composer history loading skips invalid UTF-8 lines instead of discarding all remaining history entries. Thanks @7jrxt42BxFZo4iAnN4CX. (Refs #6557, #6559)
  • MCP stdio shutdown kills the process group before reaping a timed-out leader: when a stdio MCP server ignores SIGTERM past the shutdown grace period, process_broker now signals its ProcessTree before reaping the leader child so descendants are terminated while the process group ID is still pinned. Thanks @7jrxt42BxFZo4iAnN4CX. (Refs #6558)
  • Settings schema allow_shell matches interactive threads and reports persisted: /v1/settings/schema now resolves allow_shell using the interactive default (interactive_allow_shell() gated by shell-access policy, matching new interactive threads) instead of the headless false default, and populates persisted for config.toml-owned RUNTIME_CONFIG_KEYS rows so Desktop Settings › Trust can distinguish an unset default from an explicit allow_shell = false. (CW-8386)
  • /config Pet mode row shows the value you just set: toggling Pet mode now updates the row at once, and one Ctrl+R resets it; the view waits for the queued startup-default save before reading saved settings.
  • Space on a non-boolean /config row no longer starts a blank search: a Settings search can no longer begin with, or consist only of, whitespace.
  • /connect filter no longer matches hidden fields: typing open lists OpenAI, OpenRouter and other providers named that way, not every provider whose base URL or protocol contains the text. A model name still finds the provider that serves it when you type its beginning.
  • A background job finishing no longer leaves a failed record on the session: when a background shell job or sub-agent woke an idle session, that turn's usage was filed as a separate "Turn was not accepted" record, so the session showed a red stopped-early line and a Failed state after it was reopened. The usage now stays on the wake turn.

Security1

  • Hardened shell execution-policy deny matching across seven bypass classes: ssh -o ProxyCommand/LocalCommand (including under -N), screen -X/-Q (including with -r/-R/-d), kubectl exec/run/debug, docker/podman container/compose groups (run/exec/create, buildx bake --call, --health-cmd), parallel --compress-program/--decompress-program and bwrap --args, shell -c aliases (oil, ysh, pdksh, loksh, rksh, ion, ngs) plus gawk -i/-l and pwsh -/piped stdin, and quoted dynamic words in find/docker/non-inert -- tails plus separated nix -c shell-string payloads. (#7397)