• v0.9.0 8eeeacc598

    v0.9.0
    All checks were successful
    CI / Changelog (push) Successful in 5s
    Release / Release (push) Successful in 6s
    CI / Test (push) Successful in 43s
    CI / Lint (push) Successful in 46s
    Stable

    Ghost released this 2026-11-18 22:30:23 +00:00 | 0 commits to main since this release

    Added

    • session/new's _meta.claudeCode.sessionId names the session claude starts under, in place of the id claudeacp mints itself: a client that keeps its own key for a session (such as a city's gc) sends it, and the response, and every later sessionId the agent sends, carry it back, so claude's transcript lands under the name the client looks for and session/resume reopens it there. It must be a UUID, and name no session already open; either fails session/new with invalidParams, and starts no claude. Without the key, nothing changes. claudeacp/session.go (sessionID); TestNewSessionID, TestNewSessionFails.
    Downloads
  • v0.8.2 19d1a30a27

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

    mikluko released this 2026-11-17 14:33:17 +00:00 | 1 commits to main since this release

    Security

    • MCP server HTTP headers and stdio environment values no longer appear in claude's process arguments; --mcp-config names a private temporary file that is removed when claude exits.
    Downloads
  • v0.8.1 29adfbae96

    v0.8.1
    All checks were successful
    CI / Changelog (push) Successful in 6s
    Release / Release (push) Successful in 7s
    CI / Test (push) Successful in 27s
    CI / Lint (push) Successful in 41s
    Stable

    mikluko released this 2026-11-16 10:57:58 +00:00 | 3 commits to main since this release

    Fixed

    • Config.ExportTelemetry also sets OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf (a protocol the environment names is kept). claude 2.1.323 and later take that protocol for an http endpoint by default, and claude 2.1.311 exports nothing to one without it: measured, no request reached a local receiver with the endpoint alone, and metrics and logs did with the protocol set.
    Downloads
  • v0.8.0 85053aa895

    v0.8.0
    All checks were successful
    CI / Test (push) Successful in 27s
    CI / Changelog (push) Successful in 5s
    Release / Release (push) Successful in 5s
    CI / Lint (push) Successful in 33s
    Stable

    mikluko released this 2026-11-16 10:53:25 +00:00 | 4 commits to main since this release

    Added

    • Config.NoNonessentialTraffic: each claude gets CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY, DISABLE_ERROR_REPORTING, DISABLE_FEEDBACK_COMMAND, CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY, DISABLE_AUTOUPDATER and CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL set to 1, so that it sends nothing but the model's requests (measured on claude 2.1.325: one connection to the model's API in a turn, three by default). A variable the environment, the agent's own or a session's _meta env, already has is kept. OpenTelemetry export is another channel and is not turned off.
    • Config.ExportTelemetry: each claude gets CLAUDE_CODE_ENABLE_TELEMETRY=1, OTEL_METRICS_EXPORTER=otlp and OTEL_LOGS_EXPORTER=otlp when its environment names an OTLP endpoint (OTEL_EXPORTER_OTLP_ENDPOINT, or the metrics or logs endpoint), and nothing without one. The endpoint, the protocol and the resource attributes are the environment's, such as an OpenTelemetry operator's. A variable the environment already has is kept.
    Downloads
  • v0.7.0 5d1c3e1aff

    v0.7.0
    All checks were successful
    CI / Changelog (push) Successful in 5s
    Release / Release (push) Successful in 4s
    CI / Test (push) Successful in 26s
    CI / Lint (push) Successful in 1m8s
    Stable

    mikluko released this 2026-11-16 10:39:54 +00:00 | 6 commits to main since this release

    Added

    • Config.TaskTools: each claude the agent starts gets CLAUDE_CODE_ENABLE_TODO_TOOLS=1 in its environment. A claude run with no terminal has neither TodoWrite nor the Task tools without it (claude 2.1.325's tool list: Task and TaskStop only), so that no plan update was ever sent for it; with it the Task tools are there and plan.go turns their calls into plans. Off by default. An environment that already has the variable, the agent's own or a session's _meta env, keeps its value, so that 0 turns the tools off.
    Downloads
  • 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
  • v0.5.0 66af402b52

    v0.5.0
    All checks were successful
    CI / Changelog (push) Successful in 3s
    Release / Release (push) Successful in 5s
    CI / Lint (push) Successful in 31s
    CI / Test (push) Successful in 36s
    Stable

    city-root released this 2026-11-12 06:05:31 +00:00 | 17 commits to main since this release

    Changed

    • Breaking: the program is claudeacp, no longer claude-acp, and lives in cmd/claudeacp, so go install sarak.sh/mikluko/claudeacp/cmd/claudeacp@<version> installs a binary named claudeacp. Whoever starts the adapter by its old name, in a client's settings or a launcher's acp_command, has to start claudeacp instead, with the same options; whoever installs .../cmd/claude-acp has to install .../cmd/claudeacp. Its usage and error text, its log lines and -version carry the new name. The library packages' import paths do not change. Version v0.4.0 and the ones before it keep cmd/claude-acp.
    Downloads
  • v0.4.0 54d3364d3a

    v0.4.0
    All checks were successful
    CI / Changelog (push) Successful in 3s
    Release / Release (push) Successful in 5s
    CI / Lint (push) Successful in 29s
    CI / Test (push) Successful in 37s
    Stable

    city-root released this 2026-11-11 23:04:00 +00:00 | 19 commits to main since this release

    This is the first release of the fork, mikluko/claudeacp. Its tags v0.1.0 to v0.3.0 are upstream's, and declare upstream's module path.

    Added

    • claude-acp takes the options of the claude CLI after its name and passes them to every claude it starts, as gc appends them to an ACP command: claude-acp --dangerously-skip-permissions --effort max --settings <file>.
    • --model, --effort, --permission-mode, --dangerously-skip-permissions and --settings are the session's starting options; a session's _meta.claudeCode.options (model, permissionMode, settings) override them when it sets them. The other options are passed as they are.
    • claudeacp: Config.ClaudeArgs, MainArgs and CheckClaudeArgs give a program of your own the same options.
    • claudeagent: Options.Args passes flags to claude as a command line gives them, and CheckArgs refuses those the package cannot have set.
    • CI runs on Forgejo, on Linux (.forgejo/workflows/ci.yml), and a push to main that adds a version section to CHANGELOG.md tags that version and creates its release (.forgejo/workflows/release.yaml).

    Changed

    • Breaking: the module's path is sarak.sh/mikluko/claudeacp, no longer github.com/afrase/claude-acp-go; the binary is still claude-acp.
    • claude-acp refuses with exit code 2 the options that would change how the agent runs claude: print mode and the stream formats, the permission prompt tool, session start, resume and fork, session persistence, --bare, --help and --version, a subcommand or a prompt, a named option whose value is missing or is another long option (--model --effort max), and a --settings value that starts with -.
    • A session's _meta model, permission mode and settings no longer reset the starting ones when they are empty or absent ("", null or {} for settings), and a replacement is logged at Info.
    • The client is shown a starting effort that came from an option, not only from the settings.
    Downloads