Repository navigation
v0.9.58
Added
- Environment variables setting (Settings → Sandbox):
toolchain
(default),essentialorhost, plus a Custom variables list. A token
you export in your shell no longer reaches the agent's commands unless you
pickhostor list it.toolchainstill passes what builds need: compiler
and linker variables (CC,CFLAGS,LD_LIBRARY_PATH), an activated
VIRTUAL_ENVor conda env,CMAKE_*,PKG_CONFIG*,npm_config_*,
PYTHON*and CA bundles. Inside those families a secret-looking name
(npm_config__authToken, matched regardless of case) or a URL with a
password in its value (PIP_INDEX_URL=https://user:pw@…) is still dropped. - What
.git/configmakes git run is protected too: thecore.hooksPath
folder (.husky,.githooks) and the scripts named bycore.fsmonitor,
filters,textconv,sshCommandandcredential.helper, for the shell and
for the file tools alike. Moving or replacing a.gitis blocked where the
sandbox can, and reported where it can't. - A global-only git identity works under
hardenedandairgapped. Only
user.nameanduser.emailare handed over; a repo's own identity still
wins. A change to your global identity applies to the next command, without
a restart. - A git
include.paththat does not exist yet is protected too. git
skips a missing include, so creating one later was a way to add a
hooksPathwithout touching the protected config. json_queryruns real jq. A new engine implements the jq language
agents actually write:select,map,..,//,?,reduce/foreach,
if,try,as $x, string interpolation,@csv/@tsv/@sh/@base64,
assignment (|=,+=,//=), regex with named captures, and about 110
builtins. A conformance test diffs 300 queries against jq 1.8 byte for byte.
Step, depth, size and regex guards stop runaway queries.- Multi-file
apply_patch. One call can add, update, move and delete
files, as a Codex-style*** Begin Patchenvelope or a multi-file unified
diff. It is all-or-nothing, with rollback if a write fails. shellkeeps going instead of being killed. A command still running
at its timeout becomes a background session you can poll (on_timeout: "kill"opts out). The maximum timeout is now 600 s. Acdcarries over
to the next call, inside the workspace.- Full logs for background processes. Every
process_startsession
(and everyshellcommand that outlives its timeout) has its complete
output in a private log file (0600, capped at 64 MiB, under
$TMPDIR/agentty-proc-<uid>/), so a build error that scrolls out of the
on-screen tail is still there. The host's pump writes it, so no byte is
missed between polls. web_searchtakesallowed_domains/blocked_domains.web_fetchpages
long documents (max_chars,start_char) and serves repeat fetches in the
same session from a cache.forgettakes ascope.
Changed
- Upgrading changes what commands inherit. A saved setup that matches a
preset keeps that preset's environment scope (permissivekeepshost). A
customsetup gets the new default,toolchain, so exported tokens stop
reaching commands; set Environment variables tohostto keep the old
behaviour. - Allowed ports and Allowed hosts show only where Access uses them, and
your lists are kept while hidden. - Edits say how they matched.
editandapply_patchreport exact,
indentation-relative, whitespace-normalised or fuzzy (with a score) for
every change, and flag the inexact ones. A miss shows the closest real
lines. Fuzzy matching is stricter: 85% similarity unless a nearbyline
hint is given, never forreplace_all, never overlapping another edit, and
never on a file that changed since it was last read. grepuses smart case, likerg -S: lowercase patterns ignore case,
and an uppercase letter makes the search exact.- Edits no longer erase what the model just read. A
readfollowed by an
editof the same file used to replace the read with a pointer to a later
read that didn't exist, so the model re-read files after every edit. Now the
read stays, marked stale. A read and an edit in the same parallel batch also
no longer hide the read before the model has seen it. web_fetchnever sends pages to a third party on its own. Rendering a
JavaScript page through r.jina.ai is now opt-in (render: "jina"), and it
is refused for URLs carrying tokens or naming internal hosts.process_start,testanddiagnosticsget the same non-interactive
environment asshell(no pager, colour or git credential prompt).- Project-defined subagents are read-only by default. A
.agentty/agents
file inside a cloned repo gets read-only tools until you trust it, and then
only the tools it lists. forgetmatches case-insensitively, and "Always X" and "Never X" are no
longer merged as duplicates.
Security
- Redirects now drop
Authorization,Cookieand API-key headers when they
change origin, and a 301/302/303 turns a POST into a GET, as browsers do.
The per-hop SSRF check is unchanged. web_fetchdecodes Latin-1 and Windows-1252 pages instead of passing their
bytes through as replacement characters.
Changed (build)
- Building from source no longer needs babysitting. Configure fetches any
missing submodules (pinned commits; never moves one you've checked out), so
a plaingit clonebuilds. Ninja parallelism is now sized from RAM as well
as cores: a full-j12build had filled a 31 GB machine and thrashed swap.
It now peaks around 20 GB. Override withAGENTTY_COMPILE_JOBS/
AGENTTY_LINK_JOBS. The newscripts/build.shbuilds at-j12by default
(AGENTTY_BUILD_JOBSoverrides) and locks the build tree, so two
builds of one tree take turns instead of tearing.ninja_deps. A torn file
made ninja rebuild the same objects on every run. The script also repairs
the logs after an interrupted build.resync.shnow builds through it at
-j12as well.
Fixed
- git works in the sandbox again. Commit, add, switch, rebase, stash and
gc failed under every preset, because git's own state files (HEAD,
index,packed-refs) were bound read-only. Only.git/config,
.git/hooksand.git/info/attributesare protected now, and files that
merely share a name (src/hooks/,deploy/config) are ordinary. - https works under
hardened. Port-restricted network no longer points
tools at a proxy that is not running. - Saving the Sandbox pane keeps resource limits it could not show. On a
host where claybin cannot start, the locked memory, process, CPU and/tmp
rows were saved as 0 (or 512 MB), not as configured. - Secret files under
vendor/are masked. The secret scan skipped
vendor/, where Go and PHP projects keep checked-in code. - Removed an unused MCP tool-route helper that produced a
-Wunused-function
warning in every build.
Full history: CHANGELOG.md