Docs 34
- # Changed The docs sidebar folds by group on wide screens, as the phone menu does: the first group and the one that holds the page start open, the rest closed, so every group name fits on screen. Docs
- # Changed The "On this page" rail lists each section's subheadings under it, shows them for the section being read, and marks both; it scrolls itself to keep the current entry in view. SDKs
- # Changed Below 1280px, where the rail does not fit, "On this page" is a closed dropdown at the top of the article with the same entries, on tablets and phones. SDKs
- # Changed The Quickstart and Tool evals procedures are numbered steps: each step's number sits in a ring beside its heading, with a line joining it to the next. The Markdown copies keep the numbers in the headings. Quickstart
- # Changed The FAQ folds each answer under its question, and each question is one control named by its words. A link to a closed fold, or to a section inside one such as a question or an optional step, opens it and scrolls to it, from the same page or another. FAQ
-
#
Changed The
--helptext on each CLI page, and every terminal output block, has a Copy button. Copying a block whose lines start with$copies only the commands, without the prompt or the output. Shell blocks colour the command, its flags, quoted strings and comments. CLI - # Changed The Quickstart opens with a prompt to paste into your coding agent, with tabs for coding agents and for TypeScript and Python agents: each says how to install, how to set up and how to check that it records, then gives a first task. The home page's install button copies the same setup prompt. Quickstart
- # Changed Command blocks drop their "shell" title bar: the Copy button sits in the block's corner. Blocks with a file name or output keep their title. The star beside the GitHub link is yellow. Install
-
#
Fixed The
sessions.repocolumn in the query reference lists the keys it stores (root,head,branch, andmainfor a linked worktree) instead ofcommitandremote, and says a bare repo's worktree has nomain. Query -
#
Fixed The durable workflow guide sets up tracing with OpenTelemetry JS 3.x (
@opentelemetry/sdk-trace,new BatchSpanProcessor({ exporter })), and the Agent Runs guide pins the 2.x packages durable-harness and eve need. Before, their unpinned installs failed withERESOLVE. Trace a durable workflow - # Fixed Below 1280px the "On this page" dropdown lists every subheading of every section, such as each function on the SDKs page. Only the wide rail keeps to the section being read. SDKs
-
#
Fixed An API path in "On this page" wraps after a slash or a comma, so entries such as
GET /api/sessions/{id}/eventsno longer split in the middle of a word. REST API -
#
Fixed A name in a reference table's first column, such as
CODING_SH_INGEST_KEY, stays on one line; the table scrolls sideways instead. SDKs - # Fixed On Quickstart and Install, a block that shows what a command prints is captioned "output" instead of "shell", so each step reads as the command to run and what to expect. Quickstart
- # Fixed On phones the "Copy page" and "View as Markdown" buttons above the title are as short as on a desktop, with the same 44px touch target, so the title sits higher on the first screen. Quickstart
-
#
Fixed Troubleshooting lists the fix for doctor's MCP, Sessions and Proxy warnings and explains the Any command row, and its doctor sample matches the output.
bad_flagmoved to the usage errors (exit 2), and the example messages match what the CLI prints. Troubleshooting -
#
Fixed Turn failed runs into evals says that every trial runs the setup
eval initguessed (such asnpm ci), thateval runasks first (--yesskips it), and thateval newtakes a session id: after a run,latestis a trial. Its samples match the output and its validate table lists every check. Turn failed runs into evals -
#
Fixed Benchmarks gives the three scripts its first run calls, so the example runs as written, and sets the case count with
bench new --cases 30. Its samples match whatbench newandbench runprint. Benchmarks -
#
Fixed Compare two agents adds
--permission-mode acceptEditsto theclaude -pthat records a task, since without it Claude Code can't write the fix. It also says that--byneeds--gate. Compare two agents -
#
Fixed Replay recorded model calls says to set
excludeToolsorexcludeModelwhen you record, since a replay matches the keys the recording stored. It also says that the noise floor counts pass verdicts, not outputs, and thatexp showprints a replay's call counts. Replay recorded model calls -
#
Fixed Workflow experiments puts the example case's truth file outside the repo, since its
repoRootis the repo root and a truth file inside fails to load. It shows the truth file's format, says a planted bug needs itspatchto be checked, and lists theno significant differenceverdict. Workflow experiments - # Fixed Test an AGENTS.md change says that Claude Code reads its own instructions file, not AGENTS.md, so for its sessions you edit that file or import AGENTS.md from it. Test an AGENTS.md change
-
#
Fixed Evaluate an Agent Skill's
verify.shfindscheck.pyby its own path, since the verifier runs in the work tree. The page says the item gate readsRERUNwhen the skill never loads, drafts the trigger spec with--draft, since--dry-runonly prints it, and names both arms to retry errored runs. Evaluate an Agent Skill -
#
Fixed The plugin how-to snapshots your setup with
--plugin <name>beforecompare --without plugin:<name>drops the plugin, since a snapshot carries only the plugins it names. Does this plugin help? -
#
Fixed Privacy and redaction says that the working-tree snapshots in
repos/keep your files as they are, not redacted, and lists the model replies recorded for replay inllm-cache/. Privacy and redaction -
#
Fixed The
[snapshot]config reference says that ingest also snapshots the repo for live capture, and that a repo's own config can set the keys. PastmaxFilesortimeoutMs, a snapshot keeps tracked files only; the page said it was skipped. (docs) -
#
Fixed The Quickstart's
coding.sh runsample shows the linerunprints (the command ran 573ms, exit 0), and itsshowsample, the OpenTelemetry page's samples and the SDK tracing guide's sample print a count of one as the CLI does:1 file changed,1 tool call. (docs) -
#
Fixed Every docs page that shows
npx coding.shalso givesnpx -p coding.sh codingsh, the form that runs on Windows. The Install page gives the PowerShell line that deletes~/.coding.sh, and each Quickstart prompt tells an agent on Windows to runcodingshin PowerShell and cmd. (docs) -
#
Fixed A new page shows how to add, test and schedule an alert, check a webhook by its
X-Coding-Sh-Signature-V2and timestamp, and write a command target for Windows, where it runs in cmd.exe, as troubleshooting'sdelivery_failedrow now says.alert --helpnames the V2 header; before, it named only the body signature, which does not stop a replay. (docs) -
#
Fixed The evals guide says
coding.sh judge slopexits 1, not 2, when there is nothing to grade, and 2 on a usage error. (docs) -
#
Fixed The evals guide says
score add case:<id>needs the id of a case in one of your datasets (its example printed "case not found"), and that the hook runs no monitors:monitor runscores captured sessions now, andmonitor run --watchkeeps scoring new ones. (docs) -
#
Fixed The proxy guide gives the PowerShell form of
eval "$(coding.sh proxy env)":codingsh proxy env | Invoke-Expression. It says the budget 429 carriesx-should-retry: false, so the Anthropic and OpenAI SDKs raise it at once, and the cost guide says--enforce-budgetignores--repobudgets as well as--whereones. (docs) -
#
Fixed The alerts guide is a page on the site, under Look at runs in the docs sidebar, and the troubleshooting row for
delivery_failedlinks its Run a command section. (docs) - # Fixed The README says which hook redacts the spool. The REST API reference gives the 403 body serve sends for a host it does not allow, and says which session an OTLP log record with no session id joins. (docs)
Storage 1
-
#
Changed
coding.sh gcwalks the blob folders once instead of twice: the temp files it sweeps are the ones the blob listing passed. On a store of 37,697 blobs,gc --dry-runtook 5.9 s instead of 9.4 s. It removes the same blobs and temp files. CLI reference
Serve 12
-
#
Changed
coding.sh serve --jsonno longer haskeys.ingestandkeys.read; read the keys from the filekeys.filenames. Production -
#
Fixed
coding_sh_session_cost_usd_totalcounts a session's cost when one of its turns ends too, so an OpenTelemetry trace with a conversation id counts its root's own cost, not only its subagents'. Production -
#
Fixed Behind a TLS proxy with
trust_proxyset, every HTTPS answer carriesStrict-Transport-Security: max-age=31536000, and a sign-in sets the read cookie as__Host-csh_rk, markedSecure. Plain HTTP keepscsh_rk, and a browser signed in before the upgrade stays signed in. A browser that has seen the header refuses plain HTTP to that host for a year. REST API -
#
Fixed First-start keys are printed once, on the start that makes them. Later starts name
serve-keys.jsoninstead, a start that fails leaves no keys file behind, and a wrongCODING_SH_INGEST_KEYSorCODING_SH_READ_KEYSentry is named by its position. Production -
#
Fixed Forwarded spans send an attribute whose key names a secret, such as
db.passwordorhttp.request.header.authorization, as[redacted:secret-field], whatever its value, and ingest stores such a key's value the same way. Production -
#
Fixed A viewer
POSTthat carries anOriginis accepted only when the Origin's host is the host the request was sent to, on a public bind as well as on loopback. Behind nginx, addproxy_set_header Host $host;: the 403 says so. Production -
#
Fixed Every route but
/healthzanswers 403 to aHostheader serve was not set up for, as the viewer already did. The newserve.allowed_hostssetting (CODING_SH_ALLOWED_HOSTS) adds names on loopback, such ashost.docker.internalfor an agent in a container, and limits a public bind to its list (/readyzstill answers probes). Configuration -
#
Fixed On loopback with no keys, serve answers only requests that no proxy passed on: a request with an
X-Forwarded-*,ForwardedorViaheader gets 401, and serve logs a warning the first time. Withserve.trust_proxyset, a loopback serve with no keys stops at start and names the keys to add. Production -
#
Fixed When serve refuses to start because a key is missing, it names the command that makes that key. A missing read key now gets
coding.sh serve keygen --project '*' --read, not the ingest key command. (docs) -
#
Fixed The viewer sign-in page of
coding.sh serveoffers a user sign-in only whenCODING_SH_BASIC_AUTHis set. Before, it offered one on servers with read keys only, where no user exists. (docs) -
#
Fixed When
coding.sh serveruns on loopback with no keys and refuses a request that a proxy passed on, its warning names the commands for both keys a server behind a proxy needs, an ingest key and a read key. Before, it named only the ingest key command. (docs) -
#
Fixed A session of OpenTelemetry traces that share a conversation id (
gen_ai.conversation.id, an AI SDKsessionId) counts incoding_sh_sessions_totalon/metrics. Such a session sends no end, so it counts once, when serve stores its first trace; before, only its cost was counted. (docs)
Checks 4
-
#
Changed
npm run gate, and CI's static gate with it, also runs the dogfood scorecard's own tests (npm run dogfood:test). Before, no check ran them. Contributing -
#
Changed
npm run gate's site step builds the site with the star count CI uses, then runs the site's perf budget and checks each page's HTML against Site perf's budgets. Before, a page over either budget passed the gate and failed only in CI. Site perf now builds with the same star count. Performance -
#
Changed
npm run gate, and CI's static gate with it, also runs the changelog helper's tests (npm run changelog:test) andnode scripts/changelog/add.mjs --checkon the unreleased lines. Before, no check ran them. Contributing -
#
Changed In CI and
npm run gate, a test file still running after 5 minutes is stopped and fails under its own name, so it is rerun alone like any failed file. Before, a hung file held its CI job until the job's time limit.CODING_SH_TEST_FILE_LIMIT_MSsets another limit; 0 turns it off. Contributing
Dogfood 4
-
#
Changed A perf or site budget missed by a little gets partial credit: the target divided by the reading for a ceiling, and the reverse for a floor. One reading near a budget moved the headline by 4 points before.
comparescores the previous scorecard again with the current scorer and keeps its stored headline asprevStored. Dogfood design -
#
Fixed The scorecard comparison reads a rise in LCP, in the dev to held-out gap or in any perf ceiling from
bench.mjsas worse. Before, a slower LCP and a wider gap showed as better. Dogfood design -
#
Fixed On Windows the scorecard validates the CLI suite's 37 dev tasks, runs the site's Lighthouse, and measures
perf.viewerTtiin Chrome; before, every task was invalid and the viewer bench broke.cli.tasks.invalidReasonsnames each invalid task's failed check, command, exit code and error line, and a missing Lighthouse or Chrome is a skip naming what to install. Dogfood design - # Fixed The scorecard's tests gate runs the tests as CI does: when five or fewer test files fail, each is run again alone, and a file that passes then does not fail the gate. The notes name it. Before, one timing test slowed by a busy machine failed the gate and left the scorecard without a headline. Dogfood design
SDK 10
-
#
Changed In Python,
coding_sh.flush()waits at most 5 s by default, asflush()does in TypeScript;flush(timeout=None)still waits until the queue is sent or given up. Before, a script that ended withcoding_sh.flush(), as the quick start shows, could hang for over a minute when the server did not answer. SDK -
#
Fixed Without
CODING_SH_URL, the TypeScript SDK'sobserve()andobserveFetch()pass each call through untouched, as the docs say. Before,observe()still addedstream_optionsto OpenAI chat streams, andobserveFetch()still read every request and response body, soflush()waited on open streams. SDK -
#
Fixed In an Anthropic tool loop, the TypeScript SDK's
observe()records the user's prompt as each call'suser.messageand session title, as the Python SDK does. Before, it took the text of the lasttool_resultblock, so the sessions were titled with a tool's output. SDK -
#
Fixed In TypeScript, the exit flush also sends a batch that is waiting for its retry, and warns when it has to drop events. Before, a script that ended without
flush()while the server was down or answered 503 exited with its events lost and no warning. SDK -
#
Fixed The Python SDK reads a
CODING_SH_URLthat ends in/v1/tracesor/v1/ingestas the TypeScript SDK does: events go to/v1/ingest, andcoding_sh.otelspans go to/v1/traces. Before, a URL ending in/v1/tracessent events to/v1/traces/v1/ingest, which the server does not take, so they were dropped. SDK -
#
Fixed The Python SDK reads
Retry-Afteras the TypeScript SDK does. It waits up to 60 s, not 30 s, and it honors an HTTP date, retrying at once when the date has passed; before, it ignored dates. A value it cannot read, such asInfinity, now means backoff, not a 30 s wait. SDK -
#
Fixed In TypeScript, when
shutdown()or the flush at exit runs out of time, its warning names that flush and says the events are dropped. Before, it saidflush()gave up and that the events would be retried while the process ran. SDK -
#
Fixed Inside
trace(), each Vercel AI SDK call throughaiSdkTracer(), and each span from Python'scoding_sh.otelprovider, is a step of the trace's one turn. Before, each call was a turn of its own and added its prompt as a user message. Sessions stored before keep their turns: spans are mapped at ingest, so nothing is parsed again. (docs) -
#
Fixed In Python, when
shutdown()or the flush at exit runs out of time, its warning names that flush, says how many events were not sent and that they are dropped, as in TypeScript. Before, both saidflush()gave up, andshutdown()went on retrying in the background. (docs) -
#
Fixed Both SDKs read
Retry-Afteras RFC 9110 defines it: whole seconds, or one of the three HTTP date forms, in GMT. Anything else, such as-1,1.5,0x10or an ISO date, means backoff. Before, TypeScript read-1as a date in 2001 and an asctime date as local time, and Python read1_000as 1000 s. (docs)
Proxy 3
-
#
Changed
proxy stopasks the proxy to stop over its own port, with a secret from its state file, so the calls in flight finish before it exits. Before, it sent a signal, which on Windows ended the proxy at once and cut those calls. A proxy still running after 10 seconds is ended. (docs) -
#
Fixed
proxy envsays on stderr when no proxy answers on the URL it prints, and names the command that starts one. Its stdout is unchanged, soevalandInvoke-Expressionstill run the lines. Before, it printed the lines for a proxy that was not running and said nothing. (docs) -
#
Fixed
init --proxywrites no base URL when another program holdsproxy.port, when it is 0, or when this home's proxy runs on another port. It still sets up the hooks, says why, and prints the command that fixes it. Before, it pointed Claude Code and Codex at a port the proxy did not hold. (docs)
From CHANGELOG.md · RSS · All releases