• v0.6.0 b98f8ad375

    v0.6.0
    All checks were successful
    CI / Changelog (push) Successful in 4s
    Release / Release (push) Successful in 6s
    CI / Lint (push) Successful in 36s
    CI / Test (push) Successful in 42s
    Stable

    city-root released this 2026-11-12 17:33:41 +00:00 | 8 commits to main since this release

    Changed

    • Breaking: the model option's current value, and its values, are the ids of models: claude-opus-5-5, no longer default, opus or sonnet. The option named the entry of claude's list of models the session started on, so a session of a Worker pinned to --model claude-opus-5-5 showed default, and one with no --model the same, whichever model that resolved to; claude 2.1.322 answers initialize with current_model null whatever --model says, and lists the default and opus as one model. Now the current value is the id of the model the session runs on: that of --model (or of _meta.claudeCode.options.model), an alias read as the id it resolves to and an id the list doesn't name (--model claude-opus-4-1) kept as it is, else the id the default resolves to, and after a switch, the client's or claude's (system/init, a refusal's fallback), the new model's. The values are the list's resolvedModels, one value for models that share one (the default and opus), and the model's alias where claude names no id. A client that keys on the old aliases has to key on ids. What a client sends to set the option does not change: a value of the option, an id, or an alias of claude's list (default, opus, sonnet) is accepted as before, and claude is told the alias as before. Tests: TestModelOptionNamesModel, TestModelOptionSet, TestModelOptionFollowsClaude and TestModelOptionPinnedID.
    • The README says, in "Permission modes: who decides", which side decides a call that no allow rule covers: claude does, in every mode, and claudeacp only passes its question to the client and allows nothing itself. In dontAsk claude denies such a call at once, sends no request, and the client sees the call go from pending to failed; in acceptEdits and default it asks the client. The README also says what dontAsk does not stop: a call an allow rule covers (the bare Bash lets echo x > ~/probe write outside the session's folder), a tool such as EnterPlanMode that asks in no mode, and a switch of mode, which the client can make, or choose with ExitPlanMode (none of its choices is dontAsk), and what a deny rule adds (it wins over an allow rule, and a deny of a whole tool hides the tool from the model), and that AskUserQuestion is lost on dontAsk: dropped by claudeacp for a client with no forms, denied by the mode for one with. Checked with claude 2.1.322 against a fake API in TestE2EPermissionModes (CLAUDEACP_E2E_CLAUDE=1); TestPermissionNotAnsweredIsDenied (which fails when the answer is an allow) and TestPreToolUseDecidesNothing pin the agent's side. No code changes.
    • The README says what --allow-dangerously-skip-permissions, which claudeacp passes to every claude it starts, is for (switching a session to bypass permissions later) and what it is not: it brings none of the "do your work through Bash" text that claude adds in bypass mode. Checked with claude 2.1.322 against a listener standing in for the API, in the modes default and dontAsk with and without the flag, in --dangerously-skip-permissions and --permission-mode=bypassPermissions, and after a switch to bypass: that text, and the loss of the Bash tool's "Avoid using this tool to run cat…" line, follow the mode, never the flag. No code changes.
    • The log lines for a session's _meta options (a model, permission mode or settings that replace the command line's, a session option the agent does not apply, a CLAUDE_CONFIG_DIR left out) carry the session's folder as cwd, so each can be tied to one session.
    • claudeacp and claudeagent.CheckArgs refuse more of claude's options, which would run the session somewhere other than as the agent's child: --bg and --background, --cloud, --environment, --desktop, --remote-control and --remote-control-session-name-prefix.
    • A tool call's tool_call_update with status in_progress is sent when its tool starts to run, so a client can time the call from it. It was sent only when claude's tool_progress came, which claude sends for a tool that has run a while, and for some tools not at all; a call stayed pending from the first word of its input (a Write's takes the model minutes to write) to its result. The moment is read from claude's PreToolUse hook, which runs when the call's input is whole, and from claude's permission request being allowed; the README says how. A call the user or a rule refuses never shows in_progress: it goes from pending to failed.
    • The release workflow refuses to tag a version whose changelog heading names another day than the release commit's own date, so a tag is never cut that the changelog check would then hold unrepairable, and the pull request's changelog check reads the merge of the branch into its base, so a branch cut before a release cannot land an entry inside the released section.
    • claudeacp refuses --sdk-url, --teleport and --worktree/-w, which change where claude runs, speaks and resumes, and a subcommand or prompt that comes after an option: claudeacp --verbose mcp and claudeacp --model opus agents start claude with a subcommand, which fails every session, where only a first argument that was no option was refused. The check knows claude's options that take no value, or one, from its --help; one it doesn't know takes the arguments after it for its values.
    • CI and the release workflow run the changelog tool's validate action at v2.1.0 (https://sarak.sh/mikluko/changelog/actions/validate), pinned by commit, in place of v1.6.0's, with fragments: "": this repository keeps writing its notes into CHANGELOG.md, and 2.x checks .changelog/ and fails a pull request that adds no fragment unless told not to. The action's new check pending-date-mismatch sets due false, and the step red, while the newest untagged entry's date is not the day a tag cut on the commit would carry, so the release workflow's own step that compared the heading's date with the commit's is gone: what it did by hand, the action does, and the tag is still not cut on a mismatched date.
    Downloads