---
title: "coding.sh v0.1.8 (page 7) · Changelog"
description: "What changed in coding.sh v0.1.8 (unreleased), page 7 of 10: every change to CLI, Query and Export, one line each."
canonical: https://coding.sh/changelog/v0-1-8/7
human_url: https://coding.sh/changelog/v0-1-8/7
markdown_url: https://coding.sh/changelog/v0-1-8/7.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 7 of 10

# coding.sh v0.1.8

## CLI

- Changed Read commands such as `sessions` and `usage` no longer load the OTLP receiver or Node's HTTP client before they read, so each runs about 30 ms faster (`sessions` 33 ms, 95% CI 26 to 43; `usage` 30 ms, 95% CI 26 to 35; Windows). [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#read-commands)
- Fixed `stats --since` with a time counts from that time, not its midnight. In PowerShell every command `improve` prints, `--json` included, names `codingsh`; `improve check` counts the headless sessions it leaves out. An unreadable config file is named as such. `serve healthcheck` takes `--port`, and `--limit` past 2^53 is a usage error. [Improve](https://coding.sh/docs/improve#did-your-last-change-help)
- Fixed In PowerShell and cmd, next steps and error hints name `codingsh`, the bin that runs there, in text and `--json`. So do help pages, whose examples put JSON in a file, `status`'s hint for a stopped ingest, the MCP `status` tool's update `command`, and on Windows the update pill in `coding.sh ui`. [Windows](https://coding.sh/docs/install)
- Fixed `statusline install` and `uninstall` print one JSON document with `--json`. On Windows `sessions --repo DEMO` matches every worktree, as `demo` does. `improve --repo <name>` reads that repo's git history, or fails on an unknown name. `tree` names the role once. `stats`, `harness audit` and `work show` say how subagents' numbers roll up. [CLI](https://coding.sh/docs/cli/stats)
- Fixed `cost`, `spend` or `tokens` suggest `usage`, and `waste` suggests `usage --cache`. `ui` starts no background ingest with `CODING_SH_NO_AUTO_INGEST=1`, and `show` writes nothing to the store. `harness audit` applies Claude Code's or Codex's rules to a T3 Code session by the agent it ran. `usage --by subagent` keeps a T3 Code agent switch with its parent. [Cost](https://coding.sh/docs/cost#cost-by-mcp-server-skill-or-subagent)
- Fixed `show --json` and `sessions --json` add `repoMain` for a session in a linked worktree. `doctor` counts the sessions tagged by the gateway an agent routes through. `exp ab`, `refine` and `refine diagnose` take `--provider gemini`. `quota wait` says why it did not wait, and the status line creates no store. [CLI reference](https://coding.sh/docs/cli/sessions)
- Fixed `init --dry-run` and `doctor` no longer run another tool's `agent` command (Grok's made `~/.grok`). `uninstall` warns and exits 1 when an OpenCode install sits under another `OPENCODE_CONFIG_DIR`. Blame and attribution credit edits made in a removed worktree, and `diff-calls` says "not recorded" instead of "same" without stored requests. [CLI reference](https://coding.sh/docs/cli/uninstall)
- Fixed `init` and `doctor` read Gemini CLI's and OpenCode's version from their npm package instead of launching them, so they no longer leave `~/.gemini/projects.json.<uuid>.tmp` files or empty OpenCode cache dirs behind. [Troubleshooting](https://coding.sh/docs/troubleshooting)
- Fixed `attribution` and `blame` print a subagent as `a03d2f6b:sub:a7d49789`, which `show` opens, not as its parent's id. `bench show`, `history` and `report` on a benchmark that does not exist say they can't find it, as `bench run` does. `upgrade-store --json` reports `"status": "owned"` when it only took ownership of the store. [Troubleshooting](https://coding.sh/docs/troubleshooting)
- Fixed `config set` takes the `[proxy]` keys. [Configuration](https://coding.sh/docs/config)
- Fixed `blame` and `improve check` outside a git repo name `--repo <dir>` with their own command (`improve check` exits 1, `not_a_repo`). [CLI](https://coding.sh/docs/cli)
- Fixed An empty `work`, `eval candidates` or `attribution` list ends with a next step that keeps your filters and looks further back. `attribution` says when no captured session ran in the repo. The `exp run` commands that `exp compare` and `exp run --replay` suggest name a dataset and a grader. `review create` gives its fix once. ([docs](https://coding.sh/docs/cli))
- Fixed `coding.sh update --dry-run` checks for a new release without rewriting `~/.coding.sh/update.json`, as its help says. Before, it replaced the cached result with the new one. [CLI reference](https://coding.sh/docs/cli/update)
- Fixed `harness audit` counts a file that the agent's loaded instructions file imports with `@path` (`@AGENTS.md`) as loaded, adds its size to the load cost and no longer flags it never-read or write-only. [Explore](https://coding.sh/docs/explore)
- Fixed `config get refine` prints the section like `config get retention`; `ingest` shows each monitor error once; `monitor add` with both `--run` and `--judge` says they cannot go together; `workflows list`, `dataset list` and `exp list` name the command that fills them; tables say `0s ago`, not `just now`. [CLI reference](https://coding.sh/docs/cli)
- Fixed A mistyped command, action or flag also gets a suggestion when it is a shell habit (`exp ls` suggests `exp list`, `rm` suggests `delete`) or the start of exactly one name, three letters or more (`gc --dry` suggests `--dry-run`). Before, only a name a few letters off got one. [CLI reference](https://coding.sh/docs/cli)
- Fixed Text output and messages drop terminal escape sequences and control characters from captured text, such as a line `blame` prints or an error that quotes it, so printed text cannot move the cursor, set the window title or add a link. CSV and JSONL do the same when written to a terminal. [Concepts](https://coding.sh/docs/concepts#event)
- Fixed In PowerShell and cmd, the `--yes` rerun a consent prompt names puts an argument that needs quotes in double quotes, which both shells strip, and `init` quotes the `--` of `codingsh run -- <cmd>`, which PowerShell drops. Before, the rerun kept sh single quotes, which cmd passes on, and that `run` command failed in PowerShell without its `--`. ([docs](https://coding.sh/docs/install))
- Fixed The commands `doctor` suggests in its rows, next steps and `--json` warnings name `codingsh` in PowerShell and cmd, and the npx command when started with npx, except the step a failed background ingest saved. Before, they named `coding.sh`, which fails in PowerShell and cmd. ([docs](https://coding.sh/docs/install))
- Fixed On an empty store, the step that `sessions`, `show latest`, `status`, `stats`, `usage`, `search` and `cache doctor` print, and the hint the MCP server gives, name `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, they named `coding.sh init` or `coding.sh doctor`, which fail there. ([docs](https://coding.sh/docs/install))
- Fixed The steps `attribution`, `blame`, `bench` and `upgrade-store` print name `codingsh` in PowerShell and cmd, and the npx command when started with npx. So does the update command in the MCP server's error for a store a newer coding.sh migrated. The `--yes` rerun of `upgrade-store` keeps the flags given. Before, they named `coding.sh`, which fails there. ([docs](https://coding.sh/docs/install))
- Fixed The dim line that says a newer release is out names `codingsh update` in PowerShell and cmd, and the npx command when started with npx. Before, it named `coding.sh update`, which fails there. ([docs](https://coding.sh/docs/install))
- Fixed Without a terminal, the `--yes` rerun that `compare`, `eval run`, `eval trigger` and `bench schedule --install-cron` ask you to approve is the command you ran, flags included, and names `codingsh` in PowerShell and cmd. Before, it dropped the flags: `eval run scope --harness skilled` named `coding.sh eval run scope --yes`, which runs another harness. ([docs](https://coding.sh/docs/troubleshooting#usage-errors-exit-2))
- Fixed `init --dry-run` ends with the command that applies its plan: the one you ran, flags included, without `--dry-run` and `--diff`. It names `codingsh` in PowerShell and cmd, and the npx command when started with npx. ([docs](https://coding.sh/docs/install))
- Fixed `init` asks to import past sessions only when an agent it sets up keeps some on this machine, and its plan names only those agents. Before, it asked on a machine with none. ([docs](https://coding.sh/docs/install))
- Fixed Help for `proxy --enforce-budget`, `budget status --json`, `alert add`, `monitor add` and `harness tools` says what each does: which budgets stop a call, the error a budget that can't be read gets, the three signature headers and the receiver's 5-minute check, when a monitor pass stops, and what "removed since pin" means. ([docs](https://coding.sh/docs/cli/proxy))
- Fixed `coding.sh doctor` warns `hooked but stale` when the OpenCode plugin on disk is not the one this coding.sh writes, or is for another OpenCode major version, and names `coding.sh init --agent opencode` to rewrite it. Before, the row passed while OpenCode ran no plugin. Version probes read `opencode v2.3.2` as 2.3.2, not 3.2. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed `doctor` and `init` wait up to 15 s, not 5 s, for the `--version` of Antigravity CLI, Aider, Amp, Copilot CLI, Devin, Droid, Goose and Pi, the time they give Claude Code and Codex. Before, on a busy machine doctor could show `installed` where it had shown the version. ([docs](https://coding.sh/docs/cli/doctor))
- Fixed `doctor` warns `Agents none detected` and names `coding.sh run -- <cmd>` when it finds no supported agent, and `doctor --json` carries the same warning. Before, the Any command row, which is always shown, kept that warning from ever printing. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed `init` ends with one outcome per agent, the one its plan row gave it: `Already set up` for an agent an earlier run set up, `Set up` for one this run wrote to. Before, it said `Set up` for every agent whenever another agent or its own config changed. ([docs](https://coding.sh/docs/install))
- Fixed `coding.sh update --refresh-bin` run by a second install no longer moves the hooks of the install that owns `~/.coding.sh` without asking, so its next command can't migrate the store past what the owner opens. It changes nothing and names `coding.sh upgrade-store`, which asks first. `update` says when hooks still run another install. ([docs](https://coding.sh/docs/install))
- Fixed `doctor` says an agent may not be capturing, not that it is not capturing, when its only problem is a stale hook file it still runs, such as an OpenCode plugin edited by hand. The last line counts it as `N agents with stale hooks`. A plugin OpenCode will not run still counts as not capturing. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed `init` waits up to 15 s, not 5 s, for `opencode --version` when it picks which OpenCode plugin to write, as `doctor` does, and `doctor` waits as long for `gemini --version`. Before, on a busy machine init could write the 2.x plugin for OpenCode 1.x and remove the 1.x one. ([docs](https://coding.sh/docs/cli/init))
- Fixed The next steps and suggestions of `budget`, `alert`, `proxy` and `statusline` name `codingsh` in PowerShell and cmd, and the npx command when started with npx. Before, they named `coding.sh`, which fails there. A `budget set` suggestion now quotes a `--repo` path with a space and a `--where` with `$`, so the shell passes each on. ([docs](https://coding.sh/docs/install))
- Fixed When `~/.coding.sh/bin/cli-path` names another install that is still there, `doctor` names `coding.sh upgrade-store`, which asks before it moves the hooks, instead of `update --refresh-bin`, which leaves them alone. With a store plugin, `upgrade-store` now moves the hooks too. Before, it said there was nothing to do. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed In PowerShell or cmd, the key `compare --gateway`, `gateway enrich`, `exp replay` and `replay --fork` ask for, and the env `collector` prints, are `$env:` lines, and the commands beside them name `codingsh`; `exp replay` repeats your command with `--dry-run`. Before, they were `export` lines, which PowerShell and cmd can't run. ([docs](https://coding.sh/docs/install))
- Fixed `coding.sh cache` with no subcommand runs `cache doctor`, its only subcommand, and takes the same options. Before, it stopped with "Missing command" and named doctor. ([docs](https://coding.sh/docs/cli/cache))
- Fixed Options that take a whole number, such as `--limit` and `--trials`, take decimal digits only: `1e3`, `0x10` and `5.0` are refused instead of read as numbers. The error quotes the value as typed and words the range the same way for every option and for `limit:` in `--where`. ([docs](https://github.com/jackulau/coding.sh/blob/main/docs/reference/cli.md#output-and-exit-codes))
- Fixed `stats --since` with a time in the future and no `--until` says `--since` is after now and prints both times, instead of asking for it to be before a `--until` that was not given. It still exits 2. ([docs](https://coding.sh/docs/cli/stats))
- Fixed An unknown `--agent` with no close match lists the agent ids to pick from, on `init`, `doctor`, `ingest`, `uninstall`, `harness audit`, `harness snapshot`, `eval run` and `eval trigger`. A close match is still suggested. ([docs](https://coding.sh/docs/agents))
- Fixed An error whose next step needs the user's approval no longer tells a person at a terminal to ask the user: the step prints as is. The line still prints without a terminal, and at one when a variable agents set is present (`CLAUDECODE`, `AI_AGENT`, `CLAUDE_CODE_SESSION_ID`, `CODEX_THREAD_ID`), as an agent reads it there. ([docs](https://coding.sh/docs/troubleshooting#errors-by-reason))
- Fixed In PowerShell and cmd, the fix `run` prints when `--` is missing quotes it (`codingsh run "--" claude`), as PowerShell drops a bare `--`. A missing argument's `Usage:` line and the commands inside `exp ab`'s report and `refine`'s hints and log now name `codingsh` there, and npx's command under npx, instead of `coding.sh`. ([docs](https://coding.sh/docs/install))
- Fixed A command an agent runs in a terminal (Codex runs some in one) no longer prompts: with AI_AGENT, CLAUDECODE, CLAUDE_CODE_SESSION_ID or CODEX_THREAD_ID set, a step that needs consent stops and tells the agent to ask the user, as it does without a terminal, and progress prints as plain lines. ([docs](https://coding.sh/docs/config#output-and-updates))
- Fixed In PowerShell or cmd, an unknown option or extra argument after a value with a space says how to write a double quote inside a value. Windows PowerShell 5.1 passes such quotes on unescaped, so a `--notify` command with inner quotes reached coding.sh in pieces and failed with only `Unknown option -Path`. ([docs](https://coding.sh/docs/troubleshooting#usage-errors-exit-2))
- Fixed The one-time GitHub star line waits for a person. A command run with `CLAUDECODE`, `AI_AGENT`, `CLAUDE_CODE_SESSION_ID` or `CODEX_THREAD_ID` set no longer prints it, even at a terminal, where Codex runs some commands, so an agent no longer uses it up before you see it. ([docs](https://coding.sh/docs/install))
- Fixed `blame`, `attribution` and `tree`'s in: line name each session by the shortest reference that opens it, not by 8 characters many T3 Code thread ids share. In `sessions`, `tree`, `search`, `status` and `blame`'s session table, an id over 40 characters, one that needs quotes in a shell, or `latest` or `last` prints as that reference. ([docs](https://coding.sh/docs/explore#search-every-session))
- Fixed Next steps and notes that name a session print a reference that opens it, in `eval`, `improve`, `review`, `score add`, `doctor`, `replay`, `show`, `tree`, `blame` and the viewer's copied commands. A full id could break in a shell or be `latest`, which opens your newest session, and an 8-character prefix could match two sessions. ([docs](https://coding.sh/docs/troubleshooting#sessions-dont-show-up))
- Fixed A file you pass to coding.sh reads the same when Windows PowerShell wrote it, in UTF-16 or in UTF-8 with a byte order mark: the values for `purge --literal`, a dataset to import, a spec, case, grader or labels file, and text piped to `judge`. Before, such a file could fail to parse. ([docs](https://coding.sh/docs/install))
- Fixed In PowerShell and cmd, missing-key errors that stop a command, `exp replay --dry-run`, `gateway status` and `doctor` name a variable `$env:NAME` where they printed `$NAME`. The `toolevals`, `exp ab`, `refine` and `gateway status --credits` missing-key errors now print the line that sets the key, as the others do, and keep their other next steps. ([docs](https://coding.sh/docs/troubleshooting#errors-exit-1))
- Fixed `gateway status --credits` with a gateway that has no credits API, such as `--gateway litellm`, says so and names the gateways that have one. Before, it said `--credits needs a key in` and named no key. ([docs](https://coding.sh/docs/cli/gateway#cmd-gateway-status))
- Fixed In PowerShell, a printed command puts an argument like `-x.y` in double quotes, as it does `-x:y`. PowerShell read the bare form as the parameter `-x` followed by `.y`, so the command got two arguments. ([docs](https://coding.sh/docs/install))
- Fixed A printed sh command single-quotes a word that starts with `=`, which zsh reads as the path of a command, so the command failed in zsh. An `=` later in a word stays bare. ([docs](https://coding.sh/docs/cli))
- Fixed The --trial-timeout help and docs now say what the limit covers: each agent call, task run or workflow run. Each retry and repair round gets the full limit again, and a run over it is not retried. Before, they said one limit covered a trial and its retries. ([docs](https://coding.sh/docs/evals))

## Query

- Changed `sessions --facets` and the viewer's filter list count sessions per repo by folder first, then name each folder once. On a 3,600-session store the agent, model, repo and flag counts take 8.9 ms instead of 35.2 (95% CI 25.3 to 27.2 ms less, Windows), with the same counts. [Performance](https://github.com/jackulau/coding.sh/blob/main/docs/perf.md#repo-facet)
- Fixed `--where` given more than once joins the queries with AND, as if written in one, instead of keeping only the last. A later `sort:` or `limit:` wins. ([docs](https://coding.sh/docs/query#filter-with---where))
- Fixed When `sessions --flag` or a `flag:` term finds nothing and the name is close to a flag coding.sh sets or a stored session carries, `sessions` exits 2 and names that flag. A name a stored session carries is not a typo. ([docs](https://coding.sh/docs/troubleshooting#usage-errors-exit-2))
- Fixed When `export`, `search` or `usage` finds nothing, a `--flag` or `flag:` name close to a known flag, or an `--agent` close to an agent id, exits 2 and names the one meant, as `sessions` does. `export --evidence --force` refuses before it clears the directory. ([docs](https://coding.sh/docs/troubleshooting#usage-errors-exit-2))
- Fixed `user:` in `--where` finds sessions whose SDK `trace()` named a user (`userId` in TypeScript, `user_id` in Python), in SQLite and the Postgres and ClickHouse stores. It read only the user from OpenTelemetry attributes, so no SDK session matched. ([docs](https://coding.sh/docs/query#tool-and-event-keys))

## Export

- Changed The OTLP sink follows GenAI semantic conventions v0.1.0: schema URL 1.45.0, the package version as scope version, and `gen_ai.provider.name` on every chat span, transcript-only Claude Code and Codex sessions included. Chat spans carry `gen_ai.request.reasoning.level`; Skill calls carry `gen_ai.skill.name`. [Sinks](https://coding.sh/docs/config#sinks)

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

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).
