An OpenCode Go backend with no saved session id (added before there was one, or found from an environment key) gets one for the life of the process, so its requests always carry the x-opencode-session header OpenCode Go requires.
Addresses the 400 in #1225.
A --resume of the project's Deep session, or a --continue, saved in the Claude Code backend's extra arguments no longer bypasses the mode check: a Clean room build or question is refused before the agent starts, with how to fix it. Other agents, other sessions and Deep runs are unaffected.
A binary plist whose array or set names one stored object many times, as Python's plistlib writes equal values, is no longer refused; only its references must fit in the file. The node cap is checked before memory is reserved, and copied data and text share a byte budget, so repeats can't expand without bound.
When the shared investigation chat switches from Deep to Clean room, it starts a new agent session instead of resuming the Deep one, which may carry what Deep mode read; a context with no recorded mode counts as Deep.
Play, screenshots and self-tests start a Python project's one package with a __main__.py as python3 -m <name>, and a Maven or Gradle project's one runnable jar (its manifest names a Main-Class, read without loading the jar) with java -jar. Maven now builds with package, so the jar exists after our own build.
The four README pictures are re-rendered from the current app, showing what has landed since October, and the snapshot example gives every scene a made-up projects folder so no picture shows a real account's path.
The test sweeps until the record is given up instead of a fixed number of times: a program another test starts briefly holds the record's lock, and that sweep rightly counts no try. It still checks that exactly TRIES deletes were asked for.
A TEXT value cut at the 4 KiB cap ends at a character boundary in UTF-8 and UTF-16, so its shown prefix gains no replacement character it did not have; the value is still marked as cut.
craft.json keeps the mode a builder's saved session ran in (version 4, with a migration that counts an older saved session as Deep). A build or question resumes a session only in the mode it was saved in, so Clean room never continues one that may have read inside the original, and a Deep session is kept for a later Deep run.
Estonian (et) joins the app's languages with a complete catalogue, in Settings and the coverage check, and requests in Estonian keep their project kind: a game (mäng) or a website (veebileht, koduleht, veebisait), with the head of the main clause deciding when both are named.
A reply in Qwen's <tool_call> markup that a server handed back as text is read as the calls it makes, with arguments typed from the tool's schema; a call to a tool the model wasn't offered gets a plain answer naming its tools, instead of ending the turn.
A builder in the API loop, which can't open pictures, is no longer sent to look at screenshots: every brief and check that pointed it at a picture tells it what to use instead (capture.json's layouts, the UI tree, or asking the person). Agent apps keep the picture wording.
Source-map data URLs ignore their fragment, ZIP directories are told by their attributes, rejected ASAR names count toward the limit, a HAR with a UTF-8 BOM parses, .NET bundle members stay before the manifest, Play starts a Python project's one installed console script, and Godot and Electron get an absolute project path.
Supersedes #1140, #1141, #1142, #1143, #1144, #1145 and #1146.
Co-authored-by: Afloat <ShuffleMonkey@163.com>
Each backend in a fallback chain gets its own refit after its server refuses a request for its window, and a refused request is asked again only once the conversation was made shorter.
Setup keeps each YAML line's own ending, gives a last line cut off after its CR its LF back instead of a second ending, and a second run leaves the file unchanged.
Fixes#1168
A remote Claude Code or Codex build checks that craft-anything-cli is on the host before it starts, as OpenCode's already did, and a test pins that a remote tool server is only sent flags every release knows.
The check before an Aider run reads the settings Aider itself reads: .env and .aider.conf.yml in the folder it runs in and at the top of its git repository, an --env-file, then the home folder, so a project that names its model or key is no longer refused.
A claude wrapper saved by name (claude.cmd) is kept when it starts Claude Code, and a link that leads to the Claude desktop app is passed over like the app itself.
When an API conversation switches to the text tool protocol, each earlier native call the text does not already name is written out, so no tool result arrives without its call.
Git's own author variables are no longer taken for secrets while the hook runs, so a claim that names its author passes; other AUTH-named variables are still checked, and a Unix home folder is listed once.
Whitespace no longer counts against the tokenizer's limit, a CRLF line continuation stays in its string, and unescape handles CR and CRLF continuations, \b, \f and \v, and \u surrogate pairs.
Supersedes #1197, #1194, #1188, #1154 and #1148.
Co-authored-by: NetterSilver <133535268+Silvertree2010@users.noreply.github.com>
Moving a Ghidra project folder that Windows reports as shared or locked (codes 32 and 33) now waits and tries again, as a permission error already did.
A stopped, failed or timed-out OpenCode turn deletes the session it started, so OpenCode's own service can't resume it later. A turn records its session while it runs, so one left by a killed app is deleted at the next turn or by doctor, on this computer or over SSH.
Part of #1115. Includes #1176.
A long adb or Frida output line is cut at the last character boundary within the cap, so a multi-byte character at the cut no longer keeps the whole line.
* Claim the build's note about a replaced program (#721)
* Say in a build's feed when it runs another program than the saved one (#721)
* Leave a bare program name found as the same agent out of the note
* Say which program to choose when a build runs another one
Aider gets its task with --message and flags that stop it asking, updating, editing .gitignore or opening a page; a chat outside a build gets --dry-run. A run is refused before launch when no model or key is set up or an OpenRouter model has no OpenRouter key (#72), and Clean room is refused because Aider's reads can't be checked.
Supersedes #1061.
Co-authored-by: Hasnain <161151300+hasnain607@users.noreply.github.com>
rebuild_start on an API backend no longer deadlocks over MCP: the run passes its mode to start_builder instead of start_builder locking the session the tool call already holds.
Adding https://api.anthropic.com/v1 by its address no longer fails with a missing anthropic-version header: it lists models and is added as an Anthropic backend.
An API backend's streamed answer is bounded by the AI's timeout_secs (one hour when unset), so a slow local model can finish a long answer, and a stream that runs out of time says to set it.
The two start guard tests share the process-wide held mark, so one's opened() could drop the other's lock mid-test and fail main now and then. They now take a shared test lock.
A note sent while a build runs now carries the latest Just ask answers its mode may show, including through Claude Code's note hook, and they count as told only once the builder has them. A Clean room run never gets Deep answers.
SRV, SOA and CAA answers show their fields, address records of the wrong size are incomplete, a truncated reply says so, and unsolicited mDNS announcements keep the address under the record name.
Requests like "a low level disk tool", "an MPEG 2 player" and "a single player app for movies" stay apps, while other game cues in the request still win.
Rejected packet blocks share the packet budget and are reported once per reason, a timestamp fraction outside its second is ignored, and sub-nanosecond resolutions keep the interface offset.
A ClientHello with impossible vector lengths, repeated extensions or repeated host names is marked partial, and only registered GREASE values are dropped.
A tree and screenshot that would pass the helper's 16 MiB output cap now fit: the tree is cut to a prefix and reported as truncated, keeping the image, and an image that cannot fit alone becomes a screenshot limitation.