---
title: "coding.sh v0.1.8 (page 5) · Changelog"
description: "What changed in coding.sh v0.1.8 (unreleased), page 5 of 10: every change to Sessions, one line each."
canonical: https://coding.sh/changelog/v0-1-8/5
human_url: https://coding.sh/changelog/v0-1-8/5
markdown_url: https://coding.sh/changelog/v0-1-8/5.md
agents_url: https://coding.sh/agents.md
llms_url: https://coding.sh/llms.txt
updated: 2026-11-27
---

[Changelog](https://coding.sh/changelog)

Unreleased · 550 changes · page 5 of 10

# coding.sh v0.1.8

## Sessions

- Added `stats.compactionRefetches` counts read-only calls that fetched again a result a compaction took out of the context, with no write to it in between, and the tokens they sent again. It is absent when there are none. [API reference](https://coding.sh/docs/api)
- Added Sessions get `stats.waiting`, the permission prompt, question, plan or next prompt a session waits on when its events end, and `stats.endInferred`, set when `endedAt` is only the last event seen. [API reference](https://coding.sh/docs/api)
- Added `coding.sh views save <name> --where <query>` keeps a query under a name, and `views list` and `views rm` manage them. `sessions --view <name>` lists its sessions, ANDed with `--where` when both are given; the MCP `sessions_list` tool takes `view`, and the viewer API serves `/api/views`. [Query](https://coding.sh/docs/query#saved-views)
- Added `coding.sh show` prints a Retrieval line: the session's reads and the files they named, its searches and how many found nothing, how many of the files read it later edited, and the reads and searches before its first edit. Sessions get `stats.retrieval`, and `stats --json` adds totals over the window. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Added Each session records how often and how long it waited on you, and on what: permission prompts, questions, plans, host app requests and turns. Steers, and the waits an agent's message ended, count apart. `coding.sh show` prints one line with the median wait, and `coding.sh stats --json` adds the window's totals by kind. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Added `test-tamper` and the `no-test-tamper` check now read proofs in Rocq, Lean, Dafny, Verus, TLA+ and Isabelle: a theorem statement or spec change, made after a proof check failed, that turned it green; an escape hatch such as `sorry` the agent added and left in; or `--no-verify` on a check that had failed. Stored sessions are checked again. ([docs](https://coding.sh/docs/evals))
- Changed A session whose events stop on a tool call with no result, and with no session end, has no `endedAt`: it did not finish. Before, its last event counted as its end, and for a transcript so did the marker written after 30 quiet minutes. [API reference](https://coding.sh/docs/api)
- Changed `coding.sh tree` on a subagent shows that subagent and its own subagents, below a line naming the sessions above it. Before, it printed the whole run, which `--all` still shows. From a subagent, `--json` adds `ancestors`. ([docs](https://coding.sh/docs/explore#subagents-and-the-run-tree))
- Changed A T3 Code thread whose first prompt a person sent is now interactive, also when T3 runs Claude Code through its SDK, unless the OpenCode, Cursor or Pi import reads it. `--where launch:interactive`, the launch facet and `coding.sh improve`'s default sessions include it, and `coding.sh work` lists it as your turn, not stalled, once its turn ends. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Changed Shell lines that took seconds to fold, such as an unclosed quote followed by many escaped quotes, a long `cd` chain, a long PowerShell comma list or a failed `cat` of many files, take milliseconds. On synthetic sessions the retrieval stats take 29% less time to fold (95% CI 28% to 32%). The stats are the same. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed When a shell line that reads files fails, `stats.retrieval` drops a file only when an error line names its base name whole. Before, an error about `data.ts` or `a.tsx` also dropped `a.ts`, so a file the agent read counted as not read. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed Compaction, a retried workflow step and a resumed run are notes, not failures. Every count of failed or flagged sessions now leaves out the flags compaction, step-retried and resumed. On /metrics, `coding_sh_session_flags_total` no longer counts them, and fewer sessions count as `outcome="failed"` in `coding_sh_sessions_total`. ([docs](https://coding.sh/docs/concepts#flag))
- Fixed `show --json` reads cut prompts and outputs back whole from their blobs. A failed model call shows in `show` with its error and sets the `llm-error` flag. An SDK session of model calls only prints `-` under TOOLS. `sessions` leaves out eval, compare and exp trials unless `--include-runs`, and keeps titles on one line off a terminal. [Explore](https://coding.sh/docs/explore#read-one-session)
- Fixed A session T3 Code ran now has the agent that ran (`claude-code`, `codex`) and `host: "t3code"`, so `usage --by agent`, `status` and the viewer's Agent facet compare Claude Code with Codex. The header says "via T3 Code", and `--agent t3code` still lists these sessions. [Host apps](https://coding.sh/docs/agents)
- Fixed A subagent's title skips workflow frame lines before it takes one line, and a `Project:` line is skipped only in a framed prompt. A workflow agent with only a frame is titled by its phase and label. A phase is titled by its first prompt that is not a harness notice or frame. [Query](https://coding.sh/docs/query#sessions)
- Fixed `sessions --repo` and `export --repo` take a repo name or a path, as `work` does, and a name includes every worktree. The list ends with how many child sessions it hides (`hiddenChildren` in `--json`). Repo roots are stored in one spelling on Windows, and a bare repo's worktree has no main checkout. [Explore](https://coding.sh/docs/explore#list-your-sessions)
- Fixed A session in a git worktree counts under its main repo: `repo:`, `--repo .`, `usage --by repo`, the viewer's repo group, `improve` and the MCP tools include it. `repo.main` names the main checkout; `cwd` and `repo.root` stay the same. [Query](https://coding.sh/docs/query#session-keys)
- Fixed A session's title skips a workflow harness's frame line, a `Project:` header line and pasted blocks, so a work item shows its task instead of a preamble many sessions share. A prompt that is only a paste is titled by its first line. [Session](https://coding.sh/docs/concepts#session)
- Fixed In `show`, a T3 Code session no longer opens with an empty start phase and a "resumed after 1 min" that never happened, and a gap under a minute reads in seconds. `harness audit` lists a file an agent named as `/c/Users/...` once, under its `~` path. [Explore](https://coding.sh/docs/explore)
- Fixed A T3 Code session takes the title of the T3 thread that ran it, in `sessions`, `show`, `tree` and `improve`. Before, it took its first prompt, so handoff and delegated threads were titled with T3's handoff or sub-agent preamble. In `show`, T3's link event names the thread instead of printing an empty `notification` line. [Adapters](https://coding.sh/docs/agents)
- Fixed A Gemini CLI permission prompt counts for the `unapproved-action` flag: a risky call the user approved there is not flagged, whether the prompt came while the call was open or before it started, as in Gemini CLI 0.35 and older. Before, only Claude Code's prompts counted. [Flags](https://coding.sh/docs/query)
- Fixed The `--json` of a session in `sessions`, `show` and `tree` rounds each cost to 1e-9 dollars and each millisecond figure to a whole one, so a cost of `0.0041400000000000005` prints `0.00414`, as summed costs do. Other numbers are as stored. [CLI reference](https://coding.sh/docs/cli)
- Fixed `sessions` and `usage` reject an `--agent` that no stored session has and that is close to an agent coding.sh knows, such as `claud-code`, and suggest `--agent claude-code`. Before, they printed an empty list. `usage` for an agent with no session at all suggests every agent's usage, not a wider window. [CLI reference](https://coding.sh/docs/cli)
- Fixed `coding.sh sessions` and `coding.sh show` name the host app that drove a session: the AGENT cell reads `claude-code via t3code`, so a row that `--agent t3code` lists says why it matched. `--json` keeps `agent` and `host` apart, as before. ([docs](https://coding.sh/docs/explore#list-your-sessions))
- Fixed A session id whose shortest prefix runs past 40 characters or needs quotes in a shell, like a long T3 Code thread id, prints as an alias such as `x_d52r41f3` in `work`, its next steps and ambiguous-id lists. `show`, `tree`, `replay`, `work show`, call references (`<session>#<n>`) and the MCP tools take the alias. Stored ids do not change. ([docs](https://coding.sh/docs/concepts#session))
- Fixed `sessions`, `tree`, `work`, `blame` and `attribution` print a session whose id is `latest` or `last` by its `x_` alias, which opens it. They printed the word, which opens your newest session. Some `x_` ids and subagents printed a longer id than they needed; they print the shortest that opens them. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed Session token totals, phase tokens, `duplicateUsage`, cache breaks, the `no-progress` derail's context size and `inheritedTokens` skip a token count below 0 or not a finite number, as cost estimates do. Before, a call that reported `inputTokens: -50000` lowered the session's input tokens by 50,000. Stored sessions are folded again once. Stored Claude Code sessions are parsed again. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed Antigravity's `view_file_outline` and `view_code_item` are reads; files its `run_command` or Droid's `Execute` writes count in `filesChanged`. Shell paths resolve against `Cwd` or Gemini's `dir_path`, and `/c/x` is `C:\x` when the working directory is on a Windows drive. `cat list | xargs rm` is not a read. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed Checks that read a shell command now read Antigravity's `run_command` line, so `stats.waste`, `stats.memoryUse`, `stats.toolErrors` and the `no-progress`, `looping`, `stalled` and `failure-streak` flags see it: a shell write is progress, `sleep` or `watch` is waiting, a search that finds nothing is an answer, not a failure, and flag details name the command. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed An agent CLI started from Antigravity's `run_command` or Droid's `Execute` (`codex exec`, `claude -p`) links to that call as its parent. A call that names an absolute folder (`Cwd`, `workdir`) is matched in that folder. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed A search counts as empty in `stats.retrieval` when it printed only grep's warnings, zero counts from a pipeline whose last command counts (`grep -c x`, `grep x | wc -l`), or the lines a literal `echo` in the same command prints. A `grep -q` search is empty only on status 1. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed `unapproved-action`, `test-tamper` and commit attribution read the command of Antigravity's `run_command`, and `test-tamper` traces a file that Droid's `Execute`, Devin's `exec` or `run_command` changed to its command. Failure classes (`stats.toolErrors`) and `stats.prs` also read a command sent as a bare string to `shell_command`, `powershell`, `local_shell_call` or `command_execution`. ([docs](https://coding.sh/docs/api/read#get-apisessionsid))
- Fixed Session and phase titles that skip pasted blocks or read a slash command's name and args take time linear in the prompt. The titles are the same as before. ([docs](https://coding.sh/docs/query#sessions))
- Fixed `test-tamper` reads string literals and node:test options on a test's diff line in linear time. An escaped quote no longer closes a literal, as in JS and Python. A quote that closes nothing is passed over, so a skip marker after it counts unless a later literal holds it. Stored sessions are folded again once. ([docs](https://coding.sh/docs/query#flags-and-derails))
- Fixed The `looping` and `no-progress` derails read an MCP tool's name in linear time when they check whether its server drives a browser or a desktop. They pick out the same servers as before. ([docs](https://coding.sh/docs/query#derails))
- Fixed A Claude Code prompt held in its transcript as two user entries with one `promptId` is one turn that ends once, and the turn's length runs to its end. ([docs](https://coding.sh/docs/concepts#turn))
- Fixed Trimming the trailing slashes, spaces and dots of the paths and text that ingest reads takes time linear in the text, as does quoting an argument for cmd.exe on Windows. Ingest derives the same files, links and stats as before, and each argument is quoted as before. ([docs](https://coding.sh/docs/concepts#session))
- Fixed Splitting a shell command into its simple commands reads a redirection to a descriptor, such as `2>&1`, in linear time. Ingest derives the same files, writes and flags as before. ([docs](https://coding.sh/docs/concepts#session))
- Fixed Ingest reads tool error lines, PowerShell launch lines, the Copilot CLI shell trailer, fenced code blocks, PR URLs, push remotes, git commands and slash command tags in linear time. Sessions, flags and pull requests come out the same as before. ([docs](https://coding.sh/docs/concepts#session))
- Fixed A stored or external time outside the Date range (more than 8.64e15 ms from 1970) reads as missing in CLI output, exports, ATIF, MCP results, viewer pages, work items, refine reports, attribution, and benchmarks, keeping the rest of the output intact. ([docs](https://coding.sh/docs/api))

[Previous page v0.1.8, page 4](https://coding.sh/changelog/v0-1-8/4) [Next page v0.1.8, page 6](https://coding.sh/changelog/v0-1-8/6)

From [CHANGELOG.md](https://github.com/jackulau/coding.sh/blob/main/CHANGELOG.md) · [RSS](https://coding.sh/changelog.xml) · [All releases](https://coding.sh/changelog)

To set coding.sh up for a user, follow the agent workflow at [/agents.md](https://coding.sh/agents.md).
