Changelog

Unreleased · 550 changes · page 8 of 10

coding.sh v0.1.8

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 --help text 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.repo column in the query reference lists the keys it stores (root, head, branch, and main for a linked worktree) instead of commit and remote, and says a bare repo's worktree has no main. 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 with ERESOLVE. 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}/events no 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_flag moved 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 init guessed (such as npm ci), that eval run asks first (--yes skips it), and that eval new takes a session id: after a run, latest is 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 what bench new and bench run print. Benchmarks
  • # Fixed Compare two agents adds --permission-mode acceptEdits to the claude -p that records a task, since without it Claude Code can't write the fix. It also says that --by needs --gate. Compare two agents
  • # Fixed Replay recorded model calls says to set excludeTools or excludeModel when you record, since a replay matches the keys the recording stored. It also says that the noise floor counts pass verdicts, not outputs, and that exp show prints a replay's call counts. Replay recorded model calls
  • # Fixed Workflow experiments puts the example case's truth file outside the repo, since its repoRoot is the repo root and a truth file inside fails to load. It shows the truth file's format, says a planted bug needs its patch to be checked, and lists the no significant difference verdict. 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.sh finds check.py by its own path, since the verifier runs in the work tree. The page says the item gate reads RERUN when the skill never loads, drafts the trigger spec with --draft, since --dry-run only 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> before compare --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 in llm-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. Past maxFiles or timeoutMs, a snapshot keeps tracked files only; the page said it was skipped. (docs)
  • # Fixed The Quickstart's coding.sh run sample shows the line run prints (the command ran 573ms, exit 0), and its show sample, 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.sh also gives npx -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 run codingsh in 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-V2 and timestamp, and write a command target for Windows, where it runs in cmd.exe, as troubleshooting's delivery_failed row now says. alert --help names 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 slop exits 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 run scores captured sessions now, and monitor run --watch keeps 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 carries x-should-retry: false, so the Anthropic and OpenAI SDKs raise it at once, and the cost guide says --enforce-budget ignores --repo budgets as well as --where ones. (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_failed links 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 gc walks 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-run took 5.9 s instead of 9.4 s. It removes the same blobs and temp files. CLI reference

Serve 12

  • # Changed coding.sh serve --json no longer has keys.ingest and keys.read; read the keys from the file keys.file names. Production
  • # Fixed coding_sh_session_cost_usd_total counts 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_proxy set, every HTTPS answer carries Strict-Transport-Security: max-age=31536000, and a sign-in sets the read cookie as __Host-csh_rk, marked Secure. Plain HTTP keeps csh_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.json instead, a start that fails leaves no keys file behind, and a wrong CODING_SH_INGEST_KEYS or CODING_SH_READ_KEYS entry is named by its position. Production
  • # Fixed Forwarded spans send an attribute whose key names a secret, such as db.password or http.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 POST that carries an Origin is 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, add proxy_set_header Host $host;: the 403 says so. Production
  • # Fixed Every route but /healthz answers 403 to a Host header serve was not set up for, as the viewer already did. The new serve.allowed_hosts setting (CODING_SH_ALLOWED_HOSTS) adds names on loopback, such as host.docker.internal for an agent in a container, and limits a public bind to its list (/readyz still answers probes). Configuration
  • # Fixed On loopback with no keys, serve answers only requests that no proxy passed on: a request with an X-Forwarded-*, Forwarded or Via header gets 401, and serve logs a warning the first time. With serve.trust_proxy set, 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 serve offers a user sign-in only when CODING_SH_BASIC_AUTH is set. Before, it offered one on servers with read keys only, where no user exists. (docs)
  • # Fixed When coding.sh serve runs 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 SDK sessionId) counts in coding_sh_sessions_total on /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) and node scripts/changelog/add.mjs --check on 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_MS sets 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. compare scores the previous scorecard again with the current scorer and keeps its stored headline as prevStored. 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.mjs as 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.viewerTti in Chrome; before, every task was invalid and the viewer bench broke. cli.tasks.invalidReasons names 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, as flush() does in TypeScript; flush(timeout=None) still waits until the queue is sent or given up. Before, a script that ended with coding_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's observe() and observeFetch() pass each call through untouched, as the docs say. Before, observe() still added stream_options to OpenAI chat streams, and observeFetch() still read every request and response body, so flush() waited on open streams. SDK
  • # Fixed In an Anthropic tool loop, the TypeScript SDK's observe() records the user's prompt as each call's user.message and session title, as the Python SDK does. Before, it took the text of the last tool_result block, 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_URL that ends in /v1/traces or /v1/ingest as the TypeScript SDK does: events go to /v1/ingest, and coding_sh.otel spans go to /v1/traces. Before, a URL ending in /v1/traces sent events to /v1/traces/v1/ingest, which the server does not take, so they were dropped. SDK
  • # Fixed The Python SDK reads Retry-After as 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 as Infinity, 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 said flush() gave up and that the events would be retried while the process ran. SDK
  • # Fixed Inside trace(), each Vercel AI SDK call through aiSdkTracer(), and each span from Python's coding_sh.otel provider, 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 said flush() gave up, and shutdown() went on retrying in the background. (docs)
  • # Fixed Both SDKs read Retry-After as RFC 9110 defines it: whole seconds, or one of the three HTTP date forms, in GMT. Anything else, such as -1, 1.5, 0x10 or an ISO date, means backoff. Before, TypeScript read -1 as a date in 2001 and an asctime date as local time, and Python read 1_000 as 1000 s. (docs)

Proxy 3

  • # Changed proxy stop asks 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 env says on stderr when no proxy answers on the URL it prints, and names the command that starts one. Its stdout is unchanged, so eval and Invoke-Expression still run the lines. Before, it printed the lines for a proxy that was not running and said nothing. (docs)
  • # Fixed init --proxy writes no base URL when another program holds proxy.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