-
v0.6.0
Stablereleased this
2026-11-12 17:33:41 +00:00 | 8 commits to main since this releaseChanged
- Breaking: the model option's current value, and its values, are the ids of models:
claude-opus-5-5, no longerdefault,opusorsonnet. 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-5showeddefault, and one with no--modelthe same, whichever model that resolved to; claude 2.1.322 answersinitializewithcurrent_modelnull whatever--modelsays, and lists the default andopusas 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'sresolvedModels, one value for models that share one (the default andopus), 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,TestModelOptionFollowsClaudeandTestModelOptionPinnedID. - The README says, in "Permission modes: who decides", which side decides a call that no allow rule covers: claude does, in every mode, and
claudeacponly passes its question to the client and allows nothing itself. IndontAskclaude denies such a call at once, sends no request, and the client sees the call go frompendingtofailed; inacceptEditsanddefaultit asks the client. The README also says whatdontAskdoes not stop: a call an allow rule covers (the bareBashletsecho x > ~/probewrite outside the session's folder), a tool such asEnterPlanModethat asks in no mode, and a switch of mode, which the client can make, or choose withExitPlanMode(none of its choices isdontAsk), 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 thatAskUserQuestionis lost ondontAsk: dropped byclaudeacpfor a client with no forms, denied by the mode for one with. Checked with claude 2.1.322 against a fake API inTestE2EPermissionModes(CLAUDEACP_E2E_CLAUDE=1);TestPermissionNotAnsweredIsDenied(which fails when the answer is an allow) andTestPreToolUseDecidesNothingpin the agent's side. No code changes. - The README says what
--allow-dangerously-skip-permissions, whichclaudeacppasses 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 modesdefaultanddontAskwith and without the flag, in--dangerously-skip-permissionsand--permission-mode=bypassPermissions, and after a switch to bypass: that text, and the loss of the Bash tool's "Avoid using this tool to runcat…" line, follow the mode, never the flag. No code changes. - The log lines for a session's
_metaoptions (a model, permission mode or settings that replace the command line's, a session option the agent does not apply, aCLAUDE_CONFIG_DIRleft out) carry the session's folder ascwd, so each can be tied to one session. claudeacpandclaudeagent.CheckArgsrefuse more of claude's options, which would run the session somewhere other than as the agent's child:--bgand--background,--cloud,--environment,--desktop,--remote-controland--remote-control-session-name-prefix.- A tool call's
tool_call_updatewith statusin_progressis sent when its tool starts to run, so a client can time the call from it. It was sent only when claude'stool_progresscame, which claude sends for a tool that has run a while, and for some tools not at all; a call stayedpendingfrom the first word of its input (a Write's takes the model minutes to write) to its result. The moment is read from claude'sPreToolUsehook, 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 showsin_progress: it goes frompendingtofailed. - 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.
claudeacprefuses--sdk-url,--teleportand--worktree/-w, which change where claude runs, speaks and resumes, and a subcommand or prompt that comes after an option:claudeacp --verbose mcpandclaudeacp --model opus agentsstart 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
validateaction at v2.1.0 (https://sarak.sh/mikluko/changelog/actions/validate), pinned by commit, in place of v1.6.0's, withfragments: "": this repository keeps writing its notes intoCHANGELOG.md, and 2.x checks.changelog/and fails a pull request that adds no fragment unless told not to. The action's new checkpending-date-mismatchsetsduefalse, 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
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- Breaking: the model option's current value, and its values, are the ids of models: