Repository navigation
Releases
Releases · pukeko-robotics/gaunt-sloth
v2.4.2
- 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
- Installing Gaunt Sloth no longer brings in zod 3 through the AG-UI encoder, so
npm auditstops reporting the zod advisory GHSA-mrhx-c7xc-m3w5 against it. gth evalcan grade a command-line agent such as Claude Code: acommandtarget 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
commandeval case can run in its own fresh workspace: a copy of a fixture directory, prepared bysetupsteps and given its ownenv, and removed when the case ends, so cases that edit files can run in parallel.--keep-workspaceskeeps them for inspection. See Workspaces. - A
commandeval case can check what the agent left in its workspace:file_containsfor a file's text,must_not_existfor files that should not be there, andafterfor commands such asgit statuswhose output or exit code must match.aftercommands run without asking, likesetup. See Workspace assertions. - A
commandeval workspace can start the agent in a subdirectory withcwd, remove an inherited variable withenv: { NAME: null }, and let a case change only some keys of the default workspace withinherit: true. See Workspaces. - An eval case can run several times and pass at a set rate:
repeatandpass_rate, indefaultsor 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-tolists 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: trueon atool_call_json_pathentry 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-transcriptskeeps what acommandagent printed in each run, failed runs included, beside the case's results. See Running some of the cases.- A
commandeval 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 ingrade_when, as ingrade_when: [error_max_turns], on the target or on a case. Such a run is markedended on error_max_turnsin the report and in its JSON. Without the key nothing changes. See Grading a run that hit a limit. gth evalreports what acommandagent such as Claude Code says its runs cost: each case's JSON carriescostUsd, 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,topPortopKandgth exec -tare 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
Potentially Breaking Changes
- MCP tool names change from
mcp__<server>__<tool>tomcp__<server>_<tool>, with a single underscore after the server key:mcp__jira__getJiraIssueis nowmcp__jira_getJiraIssue. Update everyallowedToolsentry and everygth evalsuite pattern (must_call,must_error,tool_result_json_path,tool_trajectoryand the rest) that names an MCP tool. A glob such asmcp__github_*now also matches the tools of a server keyedgithub_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
structuredContentis graded bygth evalas 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 gradedtextormeta.…on such a result now addresses the text itself. - One unknown key in any
mcpServersentry 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 asautomaticSSEFallbackorreconnect, leaves the session with no MCP tools and a warning naming the key. See MCP. - Library:
@gaunt-sloth/agentnow uses@agentclientprotocol/sdk2.0.2.createAcpAgentApp,createAcpV1AgentAppandcreateAcpAgentRouterreturn that SDK's app types. If you connect them in-process to your own ACP client, move that client to@agentclientprotocol/sdk2.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 evalcan grade an MCP error the server sent asstructuredContent, including one with no text at all:tool_result_json_pathreads the structured body when there is one. A successful result withstructuredContentand no text is now gradable too, atstructuredContent.…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.tsinstead ofpackages/core/src/providers/geminiSchemaSanitiz.... - ACP: the
session/promptresponse to a v2 client now carries themessageIdof the user message it inserted, matching theuser_messageupdate, 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
cancelledupdate, sent before thesession/closeresponse; 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
undiciHTTP client dependency moves to 8.12.3, which fixes two denial-of-service advisories and a Subresource Integrity bypass. @langchain/mcp-adaptersmoves to 2.0.1, on the new MCP client packages.
v2.3.1
gth prandgth reviewnow write their report file, naming the error, when a--filecannot be read or the requirements source cannot be resolved, instead of crashing without one.gth prandgaunt-sloth-reviewcan 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 newcommands.pr.elidePatternssetting chooses which files are left out.- On a pull request too large to show whole,
gth pr,gth reviewandgaunt-sloth-reviewnow tell the model the pull request is very large and give it a newgth_gh_read_file_difftool, 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 underbuiltInTools. The review's scoring step now fits the context too. gth prandgth reviewcan 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
- 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 evalcan check the order tools were called in withtool_trajectory. By default the listed calls must happen in that order, with other calls allowed around them;strict: truerequires exactly the listed calls. See Tool-call order assertions.- Breaking:
gth evalresult files now always carrytoolCalls, one entry per tool call in call order. WithoutevalToolCallArgsthe entries have onlynameand, when the provider sent one,id, with noargs. A script that read the presence oftoolCallsas "arguments were recorded" should check forargsinstead.
v2.2.4
- Routine dependency update, including langchain, langgraph, the model provider packages and the MCP SDK.
- Vertex AI:
labelsin thellmblock is sent with every request, so spend can be attributed in the Cloud Billing export.
v2.2.3
- With the
frontend-image-injectionmiddleware, 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
tls.extraCaCertsis now in place before any MCP server connects when several agents run in one process, as ingth eval -j. Before, all but the first agent could connect without the custom CA and lose their MCP tools withfetch failed.- A failed MCP connection now names the network error behind it, such as
SELF_SIGNED_CERT_IN_CHAINorECONNREFUSED, instead of onlyfetch failed.
v2.2.1
Merge pull request #476 from pukeko-robotics/claude/lucid-goldberg-re…
v2.2.0
- Breaking:
gth evalrejects a suite that contains a key the suite format does not define, so a misspelt operator such ascontain:can no longer leave a weaker check in its place. A suite with such a key now fails to load with exit2until 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 asx-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_pathentries acceptmatches(a regular expression tested against the value),present: false(the argument must not be sent) andall_calls: true(every call to the tool must satisfy the entry, not just one).- With
evalToolCallArgson, a tool call the model wrote as plain text (such as[tool:lookup_customer]{"query":"acme"}) is now recorded intoolCallson a streamed run, sotool_call_json_pathcan check it. Before, the tool ran but the case failed with "no call to a matching tool".