MCP 26
-
#
Added A
worktool pages the queuecoding.sh work --jsonprints, with the index's age, whichstatusnow carries too.session_currentfinds a running subagent or worktree delegate,sessions_listcounts the child sessions it leaves out (hiddenChildren), and asession_gettail cursor past 20,000 events keeps its place while the session grows. MCP -
#
Added The
worktool takesid(a work id, a prefix of one, or a session id) and answers with that one item, found ascoding.sh work showfinds it, hidden items too. Before, reading one item meant paging every item. An unknown id is a tool error, and so is a shared prefix, which lists the matches. (docs) -
#
Added The
eval_candidatestool answers withrejected, the countcoding.sh eval candidates --jsongives, andrejectedBy, the count for each reject reason. Both cover every session it considered, not only the rows it lists. Before, it could not say how many sessions it turned down or why. (docs) -
#
Changed The tools that take a session id, and
coding.sh work show, take a unique prefix, a subagent's own id orlatest; an ambiguous prefix lists its matches. Hints andsession_treeandsubagentsrows use the shortest id that resolves, so more rows fit on a page.searchandstatuskeep full ids, withshortIdbeside them. Concepts -
#
Fixed The first calls after an upgrade answer within a few seconds. While the index is folded again, every result carries
index.refolding: true, and a session not yet refolded shows its older stats whole.latencykeeps to its time budget on very large stores, where it could fail before. Configuration -
#
Fixed
sessions_listsays which time window it read: awindowwith thesinceanduntilfrom its arguments and anysince:oruntil:clause inwhere, the tighter of each. Given onlyuntil, it still lists every session before it. MCP -
#
Fixed
session_get,session_currentandsessions_listaddrepoMain, the main checkout's root, for a session in a linked worktree, asshow --jsondoes. The session resource's Repo line names it too. MCP -
#
Fixed
session_getwithtailpages back to the first entry withnextCursor. Asinceafteruntilis an error naming both times. A 2024-11-05 client gets 2024-11-05 and results withoutstructuredContent. Error results carry nostructuredContent; details are in_meta.statuslists the top 5 work items, not 10. MCP -
#
Fixed
session_getreads a session once when it shrinks a page to fit, about 8 times faster on long sessions.harness_changes,exp_session_summaryandeval_from_sessionanswer an error for a missing repo path or unknown id, andsinceequal tountilno longer advises a swap. MCP -
#
Fixed Reading
codingsh://lateston an empty store returns the "No sessions captured yet" next step instead of Resource not found.session_getrefusesturn: 0rather than returning the whole session, and the session digest says "1 turn". Ask your agent -
#
Fixed
session_geton a session whose last turn is still under way now gives one turn count:turnCountand the out-of-range turn error count closed turns, assession.turnsandcoding.sh showdo, and the turn under way stays in the index markedopen, reachable withturn: -1. MCP -
#
Fixed The
searchtool'sagentpicks sessions by the session's agent and each hit'sagentis the session's, ascoding.sh search --agentandsessions_listdo. Before, it went by each event's agent, soagent: "t3code"found nothing in Claude Code sessions run from T3 Code and their hits saidclaude-code. Ask your agent -
#
Fixed The
latencytool lists T3 Code'srequest_secretcard underwaitingToolswithwaitsOn: "human", likeAskUserQuestion. Before, the minutes it stayed open until you pasted the secret toppedslowestToolsandslowestCalls. Ask your agent -
#
Fixed Following the search tool's
nextCursorreturns every hit once, in the order ofcoding.sh search --json. Before, hits that ranked the same could repeat on one page and never show on any. The session_get summary and the session resource also report failed model calls (llmErrors: count, first status and error). MCP -
#
Fixed
sessions_listlists subagent sessions when itswherenamesid:,parent:oris:child, assessions --wheredoes, instead of an empty list withoutincludeSubagents. On Windows,session_currentand therepoargument match paths whatever their case and slash direction, soc:/work/app,C:\work\appand a session stored with forward slashes are one folder. Query language -
#
Fixed On Windows,
mcp configprints register commands whose paths survive Git Bash: forward slashes, with double quotes around a path that holds a space. Before, Git Bash dropped the backslashes, soC:\Users\me\cli.mjsarrived asC:Usersmecli.mjs. CLI reference -
#
Fixed
eval_initerrors name its arguments, such ascommand,urlandforce: true, whereeval initnames CLI flags, and no longer suggest--draft, whicheval_initdoes not take. MCP server -
#
Fixed
latencyreads every session in the window, not only the newest 300 with calls, so a filter no longer finds a slower call than the unfiltered answer.windowsays how much it read (sessionsRead,eventsRead); after 30 seconds it stops, setstruncatedand says why intruncatedNote. MCP server -
#
Fixed The
codingsh://session/<id>resource stays under 25,000 characters: it lists the first 40 subagent lines, with descriptions cut to 120 characters, names thesubagentsandsession_treetools for the rest, and shortens the timeline to fit. Before, a session with many subagents could return a resource past the limit. MCP server -
#
Fixed
session_getand the session resource split a session into the turnsstats.turnscounts: a turn a background task's notification starts is its own turn, and a prompt sent while a turn runs stays in it. Before,turnCountcould disagree with the turn list, and those turns could not be opened. MCP server -
#
Fixed
session_get,session_currentand thecodingsh://session/<id>resource print durations as the CLI does: 119.6 s is 2m00s, not 1m60s, and 8,975,379 ms is 2h30m, not 2h29m. (docs) -
#
Fixed
resources/readtakes the session ids the tools take:codingsh://session/<id>accepts a unique prefix of 4 or more characters,latestand a subagent's own id. A prefix several sessions share fails with invalid params and lists them, as the tools do. Before, only a whole id was found. (docs) -
#
Fixed The
statustool shows a password in the store URL as***, ascoding.sh statusdoes, and so does the error of a store that fails to open. Before, the password went into the agent's context. (docs) - # Fixed On Windows, coding.sh no longer exits when it runs git in a folder whose path is 259 characters or longer, so the MCP server answers a tool call that names one. That git call, or one in a missing folder, fails with an error that says why. (docs)
- # Fixed The MCP server and read commands no longer exit when they cannot start the background ingest they hand pending captures to, as when an upgrade removed the node binary they run on. The captures wait for the next ingest. (docs)
- # Fixed session_replay is no longer marked read-only, since its fork argument sends a step's model call to the provider again. The MCP page lists score_add_batch with the tools that write and are marked destructive. (docs)
Cost 26
-
#
Added Plan usage for the 5-hour and weekly windows: the Claude Code status line ends with
5h 62% 7d 41%when Claude Code sends it,coding.sh quotaprints each agent's windows with the reset time,quota waitblocks until a window has room, and the MCPstatustool includes the same rows. CLI reference -
#
Added
coding.sh usage --by mcp,--by skilland--by subagentshow what each MCP server, skill tag and subagent type costs; an MCP server's cost is its result tokens at the session model's input price. Every--jsonrow has"basis": "attributed". Track cost -
#
Added
coding.sh budget set day|week|month <usd>sets a spend budget for every session, one agent or one repo, andbudget statusshows the estimated spend, limit, percent and reset. The status line addsbudget 82%past 80%, andproxy --enforce-budgetanswers 429 to a call over a budget. Track cost -
#
Added
coding.sh budget set day 5 --where 'user:alice'gives the sessions a query matches a budget of their own, with their subagents' cost;budget status --jsonaddswhere. The status line counts only day budgets on session keys, andproxy --enforce-budgetnever applies them. Track cost -
#
Added
usage --cache,showand the MCPusagetool split the estimated cost into cache reads, cache writes, uncached input and output, with each part's share;usage --jsonaddsestimatedCostByTokenType. Reported and gateway-billed costs are not split and are named apart. Track cost -
#
Added
coding.sh usage --repo <path|name>keeps one repo, read assessions --repoand a repo budget read it, sousagewith a budget's--agentand--repoover its period gives the totalbudget statusshows.-ris its short form. (docs) -
#
Fixed
coding.sh work show,work --jsonand the Work page count a session's whole cost when part of it is estimated from token counts. Before, an item, a workflow phase or an agent with some reported and some estimated cost counted only the estimated part. Work -
#
Fixed The status line's
todaycost counts subagent sessions, so it matchesbudget status,usage --since todayand the budget percent next to it. Status line -
#
Fixed
usage --repriceand the refresh that runs when prices change update the events and sessions in a Postgres store. Before, both skipped Postgres: estimates kept old prices, calls to a newly priced model kept no cost, and older estimates had no split by token type. Where cost comes from -
#
Fixed
coding.sh proxy --enforce-budgetaddsx-should-retry: falseto its 429, so the Anthropic and OpenAI SDKs raise the budget error at once. The Anthropic SDK used to wait the whole Retry-After, up to the next reset, before it showed anything. (docs) -
#
Fixed The budget 429 from
coding.sh proxy --enforce-budgetand the proxy'sblocked a callline show amounts under $1 to four decimals, ascoding.sh budget statusdoes, instead of$0.00 spent of $0.00. The line gives the reset as5h 20m, not in seconds. (docs) -
#
Fixed
coding.sh proxy --enforce-budgetcounts in its start note only the budgets that can block a call, and says when a--repoor--wherebudget, which never blocks one, is set, asproxy --helpnow says too. Before, it counted every budget. (docs) -
#
Fixed GPT-6.2 Astra and Sol and Gemini 4 Neon, Hydrogen and Carbon have their own price rows. GPT-6.2 Astra was estimated at GPT-6 Astra's higher rates, and the three Gemini models had no cost. GPT-6.2 flex calls get standard rates, and its Ultrafast is 3x. Antigravity's
-orchestratormodels are priced as the Gemini 4 model they run. (docs) - # Fixed GPT-6 Rosalind is priced at OpenAI's promotional $10 input and $50 output per million tokens, which OpenAI says runs at least through December 31, 2026. Before, it was priced at $15 and $75. GPT-6 Cyber prompts over 272K tokens get its long-context rates; before, they got short-context rates. (docs)
- # Fixed A token count below 0 or not a finite number bills nothing: a model call no longer gets a negative, NaN or infinite cost estimate, and stored estimates are recomputed once. Tool evals, benchmarks and replays bill it as nothing too, and a tool eval no longer takes it off another call's tokens. (docs)
-
#
Fixed Repricing removes an estimate that no price makes any more, such as one from a deleted
[prices]row, so the call has no cost, as a model with no price has none. Before, the old estimate stayed in the call and its session. Stored estimates are checked once. (docs) -
#
Fixed Repricing no longer undoes what an ingest or a refold wrote to a session meanwhile, and one stopped between a session's costs and totals no longer leaves the totals on the old costs. Where the refold's lock file can't be made, it waits for a run that can, and
usage --repricefails. (docs) - # Fixed While stored estimates are repriced, a read's note says a re-parse or repricing is running, and the repricing has the captures reads leave waiting ingested between its steps where it can. Before, the note named only a re-parse, and those captures waited for the next ingest. (docs)
-
#
Fixed A model call nested in another that reported a cost, even $0 as a free model under a framework's span does, now beats the outer call's estimate, also an estimate of $0 from a
[prices]row of 0. Before, the session took the estimate. Stored sessions are folded again once. (docs) -
#
Fixed After
coding.sh gateway enrich, a model call nested in another counts at what the gateway billed for it when the outer call's cost is an estimate. Before, the session took the call's cost before the bill. A billed call no longer adds its nested calls' cost to the bill. (docs) -
#
Fixed A gateway's bill counts once when
coding.sh gateway enrichlinked its generation to two copies of one call, such as the proxy's copy and the agent's own record. Before, the session added the bill's difference from the call's cost twice. Stored sessions are folded again once. (docs) -
#
Fixed After
coding.sh gateway enrich, a session costs what the gateway billed, also when new prices are applied to its calls while enrich runs. Before, a call's new estimate could be added on top of the bill. (docs) -
#
Fixed
coding.sh usagemarks a row with~whenever part of its cost is estimated, even when the estimate rounds to $0.0000, and prints the note that explains~. Before, such a row read as all reported. (docs) -
#
Fixed After
coding.sh gateway enrich, a billed call adds nested bills for other generations and, with no usage, its nested calls' tokens. A nested bill replaces an outer call's cost. Of a response's copies, one billed or with a nested bill counts first, then one a bill covers, then the one checked first. Stored sessions are folded again once. (docs) - # Fixed A Claude Code subagent transcript copied under another session is stored once, under the session that wrote it, even when its first line is cut short or corrupt, so its calls and cost count once. (docs)
- # Fixed Fractional token counts and counts over 2^53 - 1 now bill nothing and add nothing to totals, as negative ones already did. Adapters read all three as missing before working out other counts like the uncached input; only new proxy and OTLP calls get that input. An OTLP cost below 0 no longer hides the next cost attribute. (docs)
Alerts 7
-
#
Added
coding.sh alert addsets a threshold on failure rate, cost, sessions or one flag over the last hour, day or week. Each change of state sends a signed JSON POST to a webhook or the same JSON to a command.alert checkruns from cron, andcoding.sh serveruns it every minute. CLI reference -
#
Added
coding.sh alert add --measure score:<name>alerts on the mean of a numeric or boolean session score over the window, and--underwith--warn-underfires when the value falls below the threshold, so a falling eval score notifies. The webhook body addsdirection: "under"for these alerts. CLI reference -
#
Changed
alert list --jsonandalert add --jsongive an alert'sstatesas a list, one entry per group withagentunder--by agent, so Windows PowerShell 5.1'sConvertFrom-Jsonreads them. Before, the states were keyed by group, and the empty key of an alert without--bymade it fail. alerts.json is unchanged. (docs) -
#
Fixed Alert webhooks and
monitor add --httpevaluators getX-Coding-Sh-TimestampandX-Coding-Sh-Signature-V2, which signs the timestamp and the body, so a receiver can refuse a request more than 5 minutes old.X-Coding-Sh-Signaturestill signs the body alone; a copy of a request still passes it. (docs) -
#
Fixed When an alert command fails, the error
alert listandalert checkshow keeps the start and the end of its stderr, where cmd, PowerShell and Python name the problem. Before, it kept one line, so a missing program readoperable program or batch file.with no program named. (docs) -
#
Fixed A notification that was not delivered is sent again. Each
alert checksends the change until a delivery gets through, withpreviousset to the state the target last got; before, the new state was saved and the change was lost. The cut-off after 5 failed deliveries in a row still applies. (docs) -
#
Fixed
alert add --helpshows a command target for Windows,"command:node C:\alerts\notify.mjs", beside thenotify-sendone, and on Windows the error for an empty--notify command:suggests it. A command target runs in cmd.exe there, wherenotify-sendfails. (docs)
Scores 3
-
#
Added
coding.sh monitor add <name> --judge rubric.mdor--run "<command>"scores each session once after it ends, incoding.sh ingest, the viewer andcoding.sh serve, with--where,--sampleand a daily judge spend limit. The MCP toolscore_add_batchwrites up to 100 scores, all or none. CLI reference -
#
Added
coding.sh review create <queue> --where <query> --config <name>makes a queue of sessions to score by hand, with--sampleand--assign.review next,done,skip,statusandlistwork through it, and/api/reviewdoes the same incoding.sh uiandserve. Each answer is a human score. CLI reference -
#
Fixed
POST /api/scoreswith an id that is already stored replaces the score only when the caller wrote it and can see its session. Other callers get 404 and the score is unchanged. Scores API
From CHANGELOG.md · RSS · All releases