Skip to content

Releases

v2.4.2

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:16
  • Refreshed the suggested models for every provider. New defaults: Claude Sonnet 5.5 (Anthropic), GPT-6.2 Sol (OpenAI), Grok 4.7 (xAI), Kimi K3.1 Pro (OpenRouter) and GLM-5.3 (Hugging Face). AI Studio and Vertex AI now also offer Gemini 4 Hydrogen, Argon, Neon and Carbon, and keep Gemini 3.8 Flash as the default. Discontinued models (gpt-5.6, deepseek-v4-flash) are gone, and Gemini 3.5 Flash Lite is no longer suggested.
  • OpenAI's GPT-6 models now work with tools; they previously failed with a 400 error about function tools and reasoning effort.
  • ACP clients on the v2 protocol built with a recent ACP SDK now see Gaunt Sloth's slash commands, such as /approvals; their command menu was previously empty.
  • With -g, prompt files are now read from the global config's own directory first (for example ~/.gsloth/.gsloth-settings/<profile>/), so a global profile can carry its own prompts; previously a relative prompt path in a global profile failed with "not found".

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 05:02
  • Installing Gaunt Sloth no longer brings in zod 3 through the AG-UI encoder, so npm audit stops reporting the zod advisory GHSA-mrhx-c7xc-m3w5 against it.
  • gth eval can grade a command-line agent such as Claude Code: a command target starts it once per case and grades its tool calls and results from the transcript it prints. Running such a suite runs its command. See The command target.
  • A command eval case can run in its own fresh workspace: a copy of a fixture directory, prepared by setup steps and given its own env, and removed when the case ends, so cases that edit files can run in parallel. --keep-workspaces keeps them for inspection. See Workspaces.
  • A command eval case can check what the agent left in its workspace: file_contains for a file's text, must_not_exist for files that should not be there, and after for commands such as git status whose output or exit code must match. after commands run without asking, like setup. See Workspace assertions.
  • A command eval workspace can start the agent in a subdirectory with cwd, remove an inherited variable with env: { NAME: null }, and let a case change only some keys of the default workspace with inherit: true. See Workspaces.
  • An eval case can run several times and pass at a set rate: repeat and pass_rate, in defaults or on a case, for every target. The report shows each repeated case's rate and every run's outcome, a run that could not run at all fails the case as a harness error, and --compare-to lists a case whose rate fell as flaky and one that fell to zero as broke. Each run costs a full agent run. See Repeated cases.
  • An eval case can check that no tool call sent a value: none: true on a tool_call_json_path entry fails the case if any call to the tool matches, and passes when the tool was never called. See Tool-call argument assertions.
  • gth eval --only <pattern> runs just the cases whose id matches, exactly or with *, so you can work on one case without paying for the whole suite; a pattern that matches nothing exits 2 before anything runs. --keep-transcripts keeps what a command agent printed in each run, failed runs included, beside the case's results. See Running some of the cases.
  • A command eval case can be graded on a run that stopped at a limit you set, such as Claude Code's --max-turns, instead of failing as a harness error: list the ending in grade_when, as in grade_when: [error_max_turns], on the target or on a case. Such a run is marked ended on error_max_turns in the report and in its JSON. Without the key nothing changes. See Grading a run that hit a limit.
  • gth eval reports what a command agent such as Claude Code says its runs cost: each case's JSON carries costUsd, and the report prints one total line marked "reported by agent" with how many cases it covers. gth itself still prices no model. See Cost reported by the agent.
  • Behaviour change: on Anthropic, a configured temperature, topP or topK and gth exec -t are now ignored with a warning, because the Anthropic API rejects them on every model; requests that failed with "temperature: Extra inputs are not permitted" now run. See Anthropic.
  • Behaviour change: refusing one tool call no longer cancels the other calls the agent made in the same step. The calls that need no approval, or that you approved, now run, and only the one you refused is skipped.

v2.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 12:32

Potentially Breaking Changes

  • MCP tool names change from mcp__<server>__<tool> to mcp__<server>_<tool>, with a single underscore after the server key: mcp__jira__getJiraIssue is now mcp__jira_getJiraIssue. Update every allowedTools entry and every gth eval suite pattern (must_call, must_error, tool_result_json_path, tool_trajectory and the rest) that names an MCP tool. A glob such as mcp__github_* now also matches the tools of a server keyed github_enterprise, so list exact names where one server key extends another. Approval rules and remembered approvals are unaffected: they name the server key and the tool separately. Two servers whose tools would end up with the same name can no longer be loaded together; the session then offers no MCP tools until one key is renamed.
  • A successful MCP result with no structuredContent is graded by gth eval as its plain text, even when it carries _meta (servers on the newest protocol version stamp their identity into every result's _meta), so a suite that graded text or meta.… on such a result now addresses the text itself.
  • One unknown key in any mcpServers entry now drops every MCP tool. Server entries are checked strictly when the session starts, so a misspelt key, or an option the MCP client no longer supports such as automaticSSEFallback or reconnect, leaves the session with no MCP tools and a warning naming the key. See MCP.
  • Library: @gaunt-sloth/agent now uses @agentclientprotocol/sdk 2.0.2. createAcpAgentApp, createAcpV1AgentApp and createAcpAgentRouter return that SDK's app types. If you connect them in-process to your own ACP client, move that client to @agentclientprotocol/sdk 2.0 as well. Using the agent over stdio (gaunt-sloth-acp, gth --acp-agent) needs nothing.

Improvements

  • A revoked or expired MCP OAuth sign-in no longer fails until the server's token file under ~/.gsloth/.gsloth-auth/ is deleted by hand: at startup the browser login reopens on its own, and mid-session the MCP tool call fails and the browser login reopens on the next start.
  • A failed MCP tool call now reaches the model as the server's own error text, without the MCP tool '…' on server '…' returned an error: prefix, and the trace records it the same way.
  • gth eval can grade an MCP error the server sent as structuredContent, including one with no text at all: tool_result_json_path reads the structured body when there is one. A successful result with structuredContent and no text is now gradable too, at structuredContent.… paths like any other.
  • Long file paths in tool-call summaries (the tool row and the Requested tools: line) are now shortened from the start, so the file name stays visible: …/providers/geminiSchemaSanitizer.ts instead of packages/core/src/providers/geminiSchemaSanitiz....
  • ACP: the session/prompt response to a v2 client now carries the messageId of the user message it inserted, matching the user_message update, as the current v2 draft requires. v1 clients such as Zed see no change.
  • ACP v2: a prompt closed or cancelled before its turn starts now still echoes its user message and ends with an idle cancelled update, sent before the session/close response; a prompt that arrives while its session is closing gets -32800 (Request Cancelled); and a second prompt sent before the first one's turn starts is refused instead of running alongside it.

Maintenance

  • Security: the undici HTTP client dependency moves to 8.12.3, which fixes two denial-of-service advisories and a Subresource Integrity bypass.
  • @langchain/mcp-adapters moves to 2.0.1, on the new MCP client packages.

v2.3.1

Choose a tag to compare

@github-actions github-actions released this 26 Oct 07:30
  • gth pr and gth review now write their report file, naming the error, when a --file cannot be read or the requirements source cannot be resolved, instead of crashing without one.
  • gth pr and gaunt-sloth-review can now review a pull request of more than 300 files, or one too large for the model's context. They list the files through the GitHub API, leave out removed, generated and oversized files, and name each file left out. The new commands.pr.elidePatterns setting chooses which files are left out.
  • On a pull request too large to show whole, gth pr, gth review and gaunt-sloth-review now tell the model the pull request is very large and give it a new gth_gh_read_file_diff tool, which reads the diff of any one changed file, sized to fit the model's context, or lists the changed files matching a pattern. Paths with parentheses work. Configure it under builtInTools. The review's scoring step now fits the context too.
  • gth pr and gth review can now fetch a pull request whose diff is larger than 1 MiB. It no longer fails with "stdout maxBuffer length exceeded", and the GitHub issue and file reads get the same fix.

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:42
  • In the full-screen chat, a line containing tabs now wraps inside its box instead of running past it.
  • In the full-screen chat, Ctrl+C is no longer missed when pressed right after fast typing.
  • gth eval can check the order tools were called in with tool_trajectory. By default the listed calls must happen in that order, with other calls allowed around them; strict: true requires exactly the listed calls. See Tool-call order assertions.
  • Breaking: gth eval result files now always carry toolCalls, one entry per tool call in call order. Without evalToolCallArgs the entries have only name and, when the provider sent one, id, with no args. A script that read the presence of toolCalls as "arguments were recorded" should check for args instead.

v2.2.4

Choose a tag to compare

@github-actions github-actions released this 15 Oct 01:59
6eca2bc
  • Routine dependency update, including langchain, langgraph, the model provider packages and the MCP SDK.
  • Vertex AI: labels in the llm block is sent with every request, so spend can be attributed in the Cloud Billing export.

v2.2.3

Choose a tag to compare

@github-actions github-actions released this 14 Oct 04:30
  • With the frontend-image-injection middleware, a failed or cancelled camera capture no longer stops the agent from taking a photo when asked again. The failure is still reported to the model through the tool result.

v2.2.2

Choose a tag to compare

@github-actions github-actions released this 07 Oct 10:04
  • tls.extraCaCerts is now in place before any MCP server connects when several agents run in one process, as in gth eval -j. Before, all but the first agent could connect without the custom CA and lose their MCP tools with fetch failed.
  • A failed MCP connection now names the network error behind it, such as SELF_SIGNED_CERT_IN_CHAIN or ECONNREFUSED, instead of only fetch failed.

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 06 Oct 12:01
00291f6
Merge pull request #476 from pukeko-robotics/claude/lucid-goldberg-re…

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 09:35
32665e7
  • Breaking: gth eval rejects a suite that contains a key the suite format does not define, so a misspelt operator such as contain: can no longer leave a weaker check in its place. A suite with such a key now fails to load with exit 2 until the key is corrected or removed. The error names each key, where it is and the keys accepted there, and prints at most 10 issues.
  • YAML << merge keys in a suite are now expanded, so an assertion bundle shared through an anchor is applied to every case that merges it. Before, the merged assertions were silently dropped, so such a case may now fail where it passed. The anchor must sit inside the suite's own structure; a top-level helper key such as x-common: is rejected as an unknown key. See Suite file.
  • A suite and each case accept a description:. It is documentation only.
  • tool_call_json_path entries accept matches (a regular expression tested against the value), present: false (the argument must not be sent) and all_calls: true (every call to the tool must satisfy the entry, not just one).
  • With evalToolCallArgs on, a tool call the model wrote as plain text (such as [tool:lookup_customer]{"query":"acme"}) is now recorded in toolCalls on a streamed run, so tool_call_json_path can check it. Before, the tool ran but the case failed with "no call to a matching tool".