Changelog

Unreleased · 550 changes · page 2 of 10

coding.sh v0.1.8

Capture 65

  • # Added The Claude Code status line shows how full the context window is (ctx 62%, ctx 87% full from 85%) and the Claude apps gateway spend limit (spend 63%). quota --json lists a spend row with usedUsd, limitUsd and period, and quota wait --window spend waits on it. Agents
  • # Added Devin CLI: coding.sh init installs its hooks and registers the MCP server, and the OTel receiver reads its logs. Its permission prompts show in coding.sh work, and eval runs read tokens and cost from its --export file. Devin also runs Claude Code's hooks; those calls are stored as Devin's, once. Past sessions are not imported. Agents
  • # Added Serve and the collector also take OTel traces at /api/public/otel/v1/traces, where Basic auth with an ingest key as username or password works, so an SDK that sends there changes only its host. --where user:, env: and release: filter by the user, environment and release a trace names. OTel
  • # Changed Ingest and backfill fold the next sessions while git reads repo state, instead of waiting on each git command. A fresh backfill of 358 sessions spent 6.2 s instead of 16.5 s writing sessions. The stored sessions are the same. CLI reference
  • # Changed Ingest no longer rewrites a past day's spool file with nothing to redact, and SQLite folds the WAL into the index every 64 MB and into the blob pack every 16 MB, not every 4 MB. Dogfood ingest went from 3,388 to 4,165 events/s (+778, 95% CI +83 to +1,437). The stored sessions are the same. Architecture
  • # Changed A large ingest compresses its small blobs on a worker thread, and commits every 20,000 events instead of 5,000 when no sink is configured. In a paired run, dogfood ingest went from 3,761 to 4,935 events/s (+1,174, 95% CI +707 to +1,635). The stored blobs and sessions are byte for byte the same. Architecture
  • # Changed The node hook loads its redaction rules only for a payload whose text may hold a secret, or when your config.toml sets other rules; the rules would leave any other payload as it is. A 2 KB tool call with no secret runs the hook 0.7 ms faster than 0.1.7 did (95% CI 0.1 to 0.9, Windows). Performance
  • # Changed A node hook call no longer loads Node's stream modules or node:os, so a 2 KB tool call runs the hook 3.4 ms faster (95% CI 2.2 to 5.9, Windows). A node older than 22.3 still runs it. Performance
  • # Changed Each import of T3 Code's store finds changed threads by counting their messages and turn items from T3 Code's indexes, not by reading every turn item. An edit in place counts by the thread's updated_at or its newest event, also when a command writes back an older updated_at. The first import after the upgrade reads its threads again. (docs)
  • # Changed Ingest redacts raw blobs faster: it runs only the secret rules a payload's text can match, finds them in one pass, and copies only the strings a rule changes. Stored events, blobs and sessions are the same. In a paired run, dogfood ingest went from 3,399 to 4,666 events/s (+1,267, 95% CI +799 to +1,712). (docs)
  • # Changed Redaction copies a value nested thousands of levels deep once in each pass over it, and follows an array as deep as an object. Past the depth the stack allows, a few thousand levels, the rest of a value is stored as [redacted:too-deep]. (docs)
  • # Fixed T3 Code threads an import left when it ran out of time are read by the next import. Before, they waited until T3 Code wrote to its store again, and an import out of time from the start read none of them. Host apps
  • # Fixed A node --test run reports node's own pass and fail counts, not a pytest or cargo line from an assertion, diff or printed fixture, and waiting on a log is no test run. A git checkout, switch or merge no longer counts as Claude Code or T3 Code editing the files it brought in. Adapters
  • # Fixed A shell call gives a test result only when its command runs tests, so tail ci.log or grep "test result" log no longer reports an old run. T3 Code instance ids such as claudeHub map to their agent, and workflow agents carry their run id, name, phase and label. Adapters
  • # Fixed The status line prints from what arrived when stdin stays open for 1 s, instead of waiting forever. It leaves out $0.0000 session for a session it has not stored, and statusline --json and quota --json round amounts and percents to 4 decimals. Agents
  • # Fixed A T3 Code Codex session built from T3's store judges an exec cell as Codex does: a script that completed with exit code 0, or still runs, is a success, and a tool request that "has no active turn" counts as interrupted, not a tool error. Stored sessions are parsed again. Adapters
  • # Fixed A Claude Code or Codex session T3 Code ran, stored by an older --since import without its T3 link, gets the link and thread title back from the next re-parse, which reads T3's store once after an upgrade. ingest --rebuild does it too. Adapters
  • # Fixed A Claude Code, Codex or T3 Code transcript line that holds a raw U+2028 or U+2029 character inside a string is no longer dropped, so its tool call, result and file change are kept and the session gets its end time. Stored sessions are parsed again while their sources are on disk. Adapters
  • # Fixed A Pi tool call stopped with Esc (Operation aborted) and a Gemini CLI tool call the user cancelled count as interrupted calls, not tool errors, so they no longer raise toolErrors or repeated-tool-failure. Stored sessions are parsed again while their sources are on disk. Adapters
  • # Fixed ingest --backfill --since imports a Codex rollout or a T3 Code thread with activity in the window whole, as it already did a Claude Code transcript, so a session begun before the cutoff keeps its start, its title, every turn and its T3 Code link. uninstall removes the Codex config folder init created once it is empty. Adapters
  • # Fixed One parser reads test summaries for every agent: Gemini CLI, Antigravity, Copilot CLI, Amp, Pi, Droid, Goose and Devin CLI now record a test.result for pytest -q, and every agent takes the last Jest, Vitest, node:test or Mocha summary. Long outputs no longer take seconds. Stored sessions are parsed again while their sources are on disk. Adapters
  • # Fixed The node hook (hook.mjs) redacts a payload with your capture.redact settings before it writes it to the spool, inline or in a side file. Before, secrets sat on disk unredacted until ingest. Ingest stores the same event, with the same redaction counts. The sh hook (hook.sh) still leaves redaction to ingest. Privacy
  • # Fixed A backfill skips Gemini CLI chat files that have not changed since the last one. Before, it read every chat file again each time and counted all of their sessions as updated. Adapters
  • # Fixed A copy of T3 Code's store that a killed read left in the temp directory, up to 1.7 GB each, is removed by the next read, even when the store is unchanged. A copy that fails, such as on a full temp volume, is a backfill error, not an import of nothing. Adapters
  • # Fixed A T3 Code subagent thread is stored once when its run sits under a later Claude session of the thread, after a resume or a session switch, and so are Workflow-tool runs and their agents. A re-parse removes the t3code copies. A model call built from T3's store names its turn's model, not the thread's default. Adapters
  • # Fixed capture.redactPatterns in a repo's own .coding.sh/config.toml are literal text. Regular expressions count only from your own config, so move a repo's regular expression there to keep it working. Configuration
  • # Fixed A private key whose END line is missing, as in a tool output cut short, is redacted from its BEGIN line to the end of the text when key data follows that line. Privacy
  • # Fixed Redaction reaches values nested more than 64 levels deep in an event or a blob, with the same rules as any other value. A value too deep to copy is stored as [redacted:too-deep]. Privacy
  • # Fixed On Windows with Node 24, a read that kills its import child at its deadline waits up to a second for the child to let go of its SQLite store copy, then removes it. Before, rmSync gave up at once, so the copy (T3 Code's is 1.7 GB) stayed in the temp folder until the next read. Adapters
  • # Fixed coding.sh run -- takes no repo snapshots when snapshot.enabled is false, and records the repo's HEAD and branch only. Before, it still snapshotted the repo before and after the command, with built-in limits. (docs)
  • # Fixed In PowerShell or cmd, codingsh proxy env and codingsh proxy print PowerShell's $env: lines, so codingsh proxy env | Invoke-Expression points a PowerShell session at the proxy. Before, they printed export lines, which PowerShell and cmd can't run. Git Bash and other sh shells still get export lines. (docs)
  • # Fixed When coding.sh proxy --background can't start, it says why, such as a port in use or a budgets.json it can't read, and names the same command on a free port, keeping --background and --enforce-budget. Before, it said only that the proxy did not start. (docs)
  • # Fixed On Windows, statusline install writes codingsh.cmd statusline, which runs whether Claude Code uses Git Bash or PowerShell. Before, it wrote coding.sh statusline, which PowerShell cannot run, so a machine without Git Bash showed no status line. Run codingsh statusline install again to update a line installed before. (docs)
  • # Fixed T3 Code's store is read where it is while T3 Code has it open, each thread in one short read transaction, instead of copied to the temp directory on every read. A SQLite store is copied only when the temp directory keeps room to spare, and a refused T3 copy names the space needed and free. (docs)
  • # Fixed A sink gets the events that an ingest stored and could not send because it crashed on a Postgres or ClickHouse store or lost its lock in a stall. A session that ends during an ingest's last pass no longer waits for the next hook: that ingest starts another. (docs)
  • # Fixed Redaction replaces a private key whose BEGIN line overlaps another BEGIN line, as in a header repeated without a line break. Before, the key data after it could be kept. (docs)
  • # Fixed A vendor token after a secret name, as in GITHUB_TOKEN=..., "api_key": "...", ?token=... or a password in a URL, keeps its own kind in the redaction counts, so the session gets the secret:exposed tag. Before, the name's rule replaced the token's marker and it counted as a generic secret. (docs)
  • # Fixed Redaction covers more secret formats: keys from more than twenty other services and tools with a fixed prefix, private keys in base64, Azure storage account keys, Authorization headers with any scheme, cookies, URL signatures, .netrc passwords, passwords in URLs with no user name, and values set after names like client_secret or aws_secret_access_key in config files. (docs)
  • # Fixed The node hook redacts a JSON document inside a string as that document also when a rule has changed the text around it, so a value that only its key marks as secret is replaced before it reaches the spool, and each value is counted once. (docs)
  • # Fixed Matching a capture.exclude glob takes time in proportion to the glob and the path, so a glob with many stars, such as one a repo's .coding.sh/config.toml sets, no longer stalls ingest. (docs)
  • # Fixed A repo's .coding.sh/config.toml can turn snapshots off or lower snapshot.maxFiles and snapshot.timeoutMs, but no longer turn snapshots on or raise their limits over your own config. A snapshot keeps files as they are, not redacted. (docs)
  • # Fixed The OTLP receiver that coding.sh collector and compare --otel start gives a client 20 seconds to send its request headers and 120 seconds for the whole request, as coding.sh serve does, instead of the 60 seconds and 5 minutes Node allows by default. (docs)
  • # Fixed Spans and logs an agent exports during compare --otel are redacted with your capture.redact and capture.redactPatterns rules, as ingest does, instead of only the built-in secret rules. (docs)
  • # Fixed The node hook, and ingest when it rewrites a spool side file, replace a value nested too deep to copy with [redacted:too-deep], as the index does. The node hook now writes a payload with a JSON document that deep inside a string, instead of dropping it. (docs)
  • # Fixed On Windows, the node hook writes an event whose agent name Windows keeps for a device, such as con or nul.txt, or ends in a dot, which Windows drops from a folder name, under spool/unknown, as it does for other names that are not safe folder names. (docs)
  • # Fixed After ingest --backfill --since, a later import skips each Claude Code transcript, Codex rollout and T3 Code thread the window imported whole while it is unchanged. Before, an import with no window, such as the one a read runs for T3 Code, read all of them again. (docs)
  • # Fixed When a transcript import stores a prompt, a reply, a session start or end, or a compaction before the spool is read, a sink no longer also gets the hook's copy, and a prompt two hooks spooled no longer reaches it twice. A sink catching up on spool lines already stored still gets both. (docs)
  • # Fixed Hook capture now reads the model calls of a Claude Code turn you stopped, which it missed before, and counts the turn as cancelled. A hook prompt takes the time on its transcript entry, so the turn's first model call stays in its turn. Claude Code sessions are parsed again once. (docs)
  • # Fixed A Claude Code turn you stopped ends once in a transcript import, at the stop. Before, it ended again under the same id, at the next prompt or the end of the transcript, which coding.sh doctor --conformance reported as a duplicate id. (docs)
  • # Fixed On Windows, coding.sh init no longer writes a hook command that cmd.exe or PowerShell would read differently: for a hook path with %, $, a backtick or a curly double quote, it says to set CODING_SH_HOME to a folder without them. Claude Code, Amp, OpenCode and Pi keep their hooks, and Copilot CLI's PowerShell command single-quotes the path. (docs)
  • # Fixed Email redaction, which email or pii in capture.redact turns on, takes time in proportion to the text it reads. It redacts the same addresses. (docs)
  • # Fixed During a Devin session, the node hook finds coding.sh's own hooks among Devin's hook commands in time proportional to each command. It finds the same hooks as before. (docs)
  • # Fixed Reading a test runner's summary (Jest, Vitest, pytest) and a shell call's command takes time in proportion to its length. The test results, and the files a shell call is said to have changed, are the same as before. (docs)
  • # Fixed A spool file that ends in a blank line is now read to its end, so coding.sh gc can delete it and ingest stops opening it again on every run. (docs)
  • # Fixed A spool line that the POSIX sh hook wrote right after a torn fragment ending inside a character is now read at the byte where it starts, so ingest and a re-parse give its events the same ids. (docs)
  • # Fixed The scrub of a past day no longer blanks a whole spool line that the POSIX sh hook wrote right after a torn fragment when either holds a secret: the line is redacted in place like any other, and only a fragment that holds a secret is blanked, so a re-parse still reads the line. (docs)
  • # Fixed A Cursor subagent whose agent_transcript_path names no file, such as /, gets a child session of its own (<session>:sub:<id>), and ingest stores its start and end. (docs)
  • # Fixed An OpenCode session that two files under storage/session name is read once, from the first file, so backfill gives each of its events once. (docs)
  • # Fixed A Droid or Pi line whose transcript path names a folder keeps its events, as does a Droid, Gemini CLI, Pi or Antigravity line whose transcript cannot be read. Before, ingest skipped such a line, for a folder only on Linux and macOS. (docs)
  • # Fixed A time out of the Date range (more than 8.64e15 ms from 1970) is read as missing, as when the agent gives none, and so is a duration whose start would fall out of it. Ingest reports an event whose time is still out of the range. coding.sh quota reads such times as missing too. (docs)
  • # Fixed A hook payload of exactly 64 MB no longer logs stdin truncated at 67108864 bytes to spool/errors.log. (docs)
  • # Fixed A Codex or T3 Code subagent thread whose rollout session record has no id keeps its own thread id, read from the rollout's file name, so it stays its own session with its parent link. (docs)
  • # Fixed In JSON text held in a string, such as an OTLP log body, redaction finds a secret right after an escape such as \n and keeps each escape whole. Events stored earlier keep their text; coding.sh ingest --rebuild redacts a session again when its transcript or spool lines are still on disk. (docs)
  • # Fixed Phone number redaction, which phone or pii in capture.redact turns on, reads the digits after a + in one pass and then checks how they are grouped, so it takes time in proportion to the text it reads. It redacts the same numbers. (docs)
  • # Fixed In JSON text held in a string, a value in double quotes after a secret name, as in export API_KEY="...", api_key = "..." or "api_key": "...", and an assignment's value that holds a backslash are redacted whole at every level. A quote at either end of a redactPatterns match stays. Each level still parses. (docs)

From CHANGELOG.md · RSS · All releases