Repository navigation
[release] v0.133.1 - #8838
Open
github-actions[bot] wants to merge 115 commits into
Open
[release] v0.133.1#8838github-actions[bot] wants to merge 115 commits into
github-actions[bot] wants to merge 115 commits into
Conversation
uploadDirToSandbox sent one daemon request per folder and per file, one after another. It now makes the deepest folders first (the daemon's mkdir makes the parents), then writes the files 8 at a time, and starts no new request after the first failure. prepareWorkspace writes the instructions file, the harness files and the skills at the same time and waits for all of them before it raises an error. A skill that fails to upload is still logged and skipped.
The SDK health wait slept at least 500 ms before its next try, so a daemon that came up just after the first try still cost half a second. The sandbox-agent patch lowers the first delay to 100 ms; the backoff above it is unchanged.
Every daemon request went through the signed preview URL, whose proxy adds about 95 ms per request. The runner now uses the sandbox's preview link and sends its token in the x-daytona-preview-token header. A start issues a new token, so on a 401 the daemon fetch gets a new token once and sends the request again; concurrent refusals share one token fetch. The token stays in the runner: Daytona's proxy does not forward the header into the sandbox. The provider now creates the sandbox itself on the injected Daytona client, then starts the daemon and fetches the preview link at the same time, and hands that URL to the first getUrl without another Daytona get. destroy uses the same client, so the vendored provider and its own client are no longer built. The daemon start command is a copy of sandbox-agent's buildServerStartCommand, which the package does not export; a unit test pins the copy to it. With the token on every request, the proxy sets no auth cookie, so the cookie jar is gone and createCookieFetch is now createDaytonaFetch.
A parked resume called Daytona three times before the daemon start: the reconnect get, a refresh for the network policy, and another get in ensureServer, then one more get for the URL. The reconnect now keeps the sandbox it fetched for the daemon start, reads the network policy from that fresh object, and fetches the preview link (a start issues a new token) while the daemon starts. ensureServer drops the kept object once it used it.
create awaited the preview link beside the daemon start, so a failed link fetch rejected create after the sandbox existed. The SDK never learned the id and could not delete the sandbox or release its Secrets. The link is now fetched while the daemon starts and its failure surfaces in getUrl, where the SDK cleans up. destroy now uses deleteDaytonaSandbox like deleteSandbox (a gone sandbox is success), and the provider requires its injected client: no code path builds a Daytona client from ambient env any more.
applyDaytonaSdkEnv copied the Daytona credential into process.env for the vendored provider's own client. That provider is no longer used, and every Daytona client is built from the typed config, so the copy has no reader. The daemon still blanks DAYTONA_API_KEY for local harnesses. Comments that described the vendored provider now describe ours.
fetch keeps custom headers across a redirect, so a redirect from the daemon would carry the preview token to another host. A request that carries the token now uses redirect: error.
The SDK calls ensureServer after 3 failed health checks in a row. With the first delay at 100 ms that came after about 0.3 s instead of 1.5 s, so a slow daemon got a second start command. The patch raises the count to 5, which puts the restart back at about 1.5 s.
A stop voids the token, and the next reconnect fetches the sandbox again, so pause drops what the provider kept for it. Before, a reconnect that failed or was cancelled left these entries until the next reconnect.
The leaf filter compared every folder with every other folder. The walk now records a folder as a leaf when it has no subfolder.
- Claude Code: set MCP_TOOL_TIMEOUT to the run's per-tool-call limit. - Runner sends the harness limit to the API (x-agenta-tool-call-budget-ms); wait_for_sessions and the start/send short waits end inside it (60 s default when unknown, e.g. Codex) and return status: running. - A caller that gives up (MCP notifications/cancelled, closed request, stopped turn) now cancels the API call through a relay cancel marker; the API wait checks for disconnect before it consumes a child update, so the update stays queued and wakes the parent. - read_session pages are capped at 40 KB so one page fits one tool result. - Tool descriptions tell the model to wait again or end its turn.
QA on the dev stack showed a stopped parent turn still let its wait consume the child update: - A user Stop ends the turn through the harness cancel, and the relay then drained (awaited) in-flight calls. stop() now aborts them on a cancelled turn (not while approvals are parked) and answers the writer with an error. - Request.is_disconnected() never reports a disconnect behind BaseHTTPMiddleware. The tools router now watches receive() in one background task (CallerDisconnectWatch) for the session waits.
… parent Every session list (main and agent sidebars, the header switcher, the Sessions table and the agent Activity table) now draws child sessions under the session that started them: guide lines, a collapse toggle with a count, a darker line from the open session to its root, and a pulse on the line while a child runs and when it reports back. One model, arrangeSessionTree in @agenta/sessions/tree, orders the rows and decides every guide piece, lineage and pulse; @agenta/sessions-ui renders it. The sidebars get a "Show sessions created by other sessions" filter toggle, off by default; off, the server leaves those sessions out (excludeOrigins).
…parent mark, report timers, activity mark
- Every sidebar action button is the kit's icon-xs; Live chat and the session-tree toggle move onto the kit Button with tooltips and i18n. - The Agenta mark is 16px inside the project switcher, on the icon line. - Agent group headings are 28px rail rows, so the Sessions groups sit closer. - Right-hand buttons share one 12px inset; footer buttons sit 4px apart. - More gets "Edit sidebar…": a dialog to show or hide each page (Developer pages in their own group), the Sessions list and the credits meter. A hidden Sessions list leaves a Sessions link in More; one Reset with Undo restores pages and sections. - The saved layout never leaves the sidebar empty and survives bad values.
… group fold motion - On the icon rail every action (toggle, Live chat, Help, back) is the page buttons' 28px with a 16px icon; every icon is muted unless selected. - Right-side glyphs and text end 16px from the rail edge, like row text. - The switcher tile is 20px, centred on the icon column. - Collapsible session group headings fold their rows with HeightCollapse.
The icon map in rules.json named 33 product terms, but filters, menus and actions still used two or three icons for the same thing: Waveform, Broadcast and Pulse for Status; SquaresFour (Template) for "All"; GearSix next to Gear; DotsThreeVertical next to DotsThree; Plugs for MCP; BookOpen for Skill. Extend the map to 87 terms (actions, filter facets, developer nav items) with a note on each that names the icons not to use, and swap every call site to the mapped icon. Abandoned pages (evaluations, test sets, prompts, observability, classic playground) are left as they are.
Resolve the two icon conflicts, map the new Drive term to hard-drive, and apply the map to the icons release added (channel step, builder expand, drive rename).
…ion-tree-release # Conflicts: # web/packages/agenta-entities/src/session/api/api.ts
Introduction, Automations, Connect Slack, self-host Quick Start and Invoke an agent: correct licensing and subscription claims, document the Slack Agenta app and Add channel, drop the manual migration step, rename the web container to web-mobile, correct the header-to-flag mapping, move the interaction respond spec to Manage sessions, and add next steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… URLs - Group Guides into Build, Run, Publish and Improve, with overview pages for Guides and Concepts. Every moved guide keeps its URL with a slug. - Merge the subscription guides: Connect a Claude or ChatGPT subscription in Guides, the mounted login only in Self-host. - Link the first tutorial from Getting Started and remove the hidden Learn section. - Make self-host URLs follow the sidebar folders, with redirects from the old URLs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(guides): add a guide to share files between agents with drives
…-guide docs(guides): builder guide covers the Ask button and the test session
The Settings drive page held the explorer skeleton until the whole-drive count returned. On a drive with ~27k objects and 4k folders the git-aware count took 31 s, past the 30 s client timeout, so the page never left the skeleton. - DriveExplorer: a loaded root listing now decides skeleton, empty and error; the count only fills in. - MountsService: the count-only walk stops after an 8 s budget and reports a floor (total_capped), like the 20k file cap.
…ce-start docs(reference): open the Reference tab on the Agents API overview
Move the volume wording to the new guide paths under guides/publish, rename drive to volume in the new share files guide, fix the changelog link to the renamed Settings heading, and make the es-ES volume labels masculine.
…es-slug fix(api): answer 422 for a folder create without a slug
feat(web): rename Drives to Volumes in the UI and docs
docs: add rahulsjha as a contributor for code
fix(frontend): open large drives without waiting for the file count
…the fill after a page lands
fix(frontend): fill the agent sidebar with sessions and load more on scroll
…on, one per account
…lices, clearer account wording
… what the commit gate checks
…count name and spec scenario
…r agents with accounts
…ut account names The run_tool description and the prompt now say to call again without account when the refusal says the integration has no named accounts. The build loop step now says one gateway_connection entry per account when the person wants several accounts of one integration.
When the account the user meant is not listed, or the choice is not clear, the model asks the user instead of retrying with a different account.
feat(sdk): let one agent use several accounts of one integration
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New version v0.133.1 in
Deploy steps
account, so no call runs on the wrong connection. See the PR for details.Final QA
wait_for_sessionswithwait_ms: 300000. Pass: Claude Code getscompletedin one call with noThe operation timed out.; Codex getsstatus: runningafter about 55 s andcompletedon a later wait. Then stop the parent during a wait: the child update must still reach the parent on the next person message. The owner QA'd this on the devcopy stack before the release merge; this run checks it after the merge with release changes./docs/self-host/upgradingand/docs/self-host/guides/using-ssl. A pass is a redirect to/docs/self-host/upgrade-and-migrate/upgradingand/docs/self-host/deploy/using-ssl. The PR adds 28 such redirects./drives/<slug>?session_id=...) on that file or folder, not the same session again. Do the same for a drive that is not a session drive. (4) On a large screen, drag the right pane edge in Files, the Builder page, the annotation focus view and the evaluation run focus panel. A pass is that each pane grows well past the old caps (640 to 1100 px) and stops where the content beside it keeps its minimum width.?drive=<path to a file>). A pass is that the file opens within a couple of seconds, without waiting on the skeleton, and the file count shows "N+" after about 8 seconds. The owner did not run this on a large volume.account: "work"andaccount: "personal", each on its own connection (by hand or through the builder, the playground cannot add a second account yet), and ask for the latest email from each. A pass is that each call runs on that account's connection. (2) SetSEND_EMAILtoaskonworkanddenyonpersonal. A pass is an approval card that showsgmail (work).SEND_EMAILand a refused send from personal. (3) Ask it to send an email without naming the account. A pass is one refused call that listspersonal, work, then a retry with an account or a question to you. (4) Regression: an agent with one Gmail entry withoutaccountworks as before, and itsrun_toolschema has noaccountfield.