The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Back-merge changelogs for 0.177.0 (#990)
trueforge-dev-bot[bot]85bf978448dc
diff --git a/.changeset/20260929093629-regenerate-sdk-from-openapi.md b/.changeset/20260929093629-regenerate-sdk-from-openapi.mddeleted file mode 100644index efd8ff00f..000000000--- a/.changeset/20260929093629-regenerate-sdk-from-openapi.md+++ /dev/null@@ -1,5 +0,0 @@-----"@truefoundry/trueforge-sdk": patch------Regenerate SDK from updated OpenAPI spec.diff --git a/.changeset/all-turn-strip-metrics.md b/.changeset/all-turn-strip-metrics.mddeleted file mode 100644index 9b9ceee33..000000000--- a/.changeset/all-turn-strip-metrics.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Count all event turn.created rows (including MCP-auth resume turns) for the agent session detail strip Turns, Tokens, and Tool calls; keep transcript sections on renderable turns only. Stop overriding strip turn count from getSession metrics. Count pending human-wait tool calls (tool.response_required, e.g. ask-user) in strip Tool calls so they match Agent steps. Strip Tool calls counts only the main agent thread (sub-agent tool calls stay on the Sub-agents tile). Timeline/transcript turn bands fold non-renderable resume turns into the prior user turn (no phantom T2 / user markers). Compress idle between event-turns before folding display bands; aggregate cost/context/tooltip metrics per display band so MCP-auth resumes do not duplicate T1 chart keys or undercount tokens.diff --git a/.changeset/ask-user-mcp-ui-polish.md b/.changeset/ask-user-mcp-ui-polish.mddeleted file mode 100644index d283c215a..000000000--- a/.changeset/ask-user-mcp-ui-polish.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Polish MCP auth and Ask User pause chrome: lettered A/B/C options with Continue, outlined Connect, and screenshot-matching stack above the composer.diff --git a/.changeset/bump-monaco-editor-057.md b/.changeset/bump-monaco-editor-057.mddeleted file mode 100644index 8c02ff811..000000000--- a/.changeset/bump-monaco-editor-057.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-ui': patch-'@truefoundry/trueforge': patch------Bump `monaco-editor` to `^0.57.0` to address known vulnerabilities, and point the frontend Monaco worker plugin at the 0.56+ export paths so production builds resolve workers correctly.diff --git a/.changeset/catalog-entry-delete.md b/.changeset/catalog-entry-delete.mddeleted file mode 100644index 00a88863c..000000000--- a/.changeset/catalog-entry-delete.md+++ /dev/null@@ -1,6 +0,0 @@-----"@truefoundry/trueforge-ui": patch-"@truefoundry/trueforge": patch------Add `DELETE` for settings catalog entries (model providers, MCP servers, skills), rejected with 409 naming the agents that still reference the entry; a model-provider update that drops a model in use is rejected the same way. Deleting an MCP server also clears its stored OAuth grants. Settings now confirms removals (including connectors) and keeps a refused removal's reason in the dialog; removing a provider's last model removes the provider. The connector list offers Connect on added-but-unauthenticated OAuth servers.diff --git a/.changeset/chat-sandbox-file-preview.md b/.changeset/chat-sandbox-file-preview.mddeleted file mode 100644index 636e5a238..000000000--- a/.changeset/chat-sandbox-file-preview.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Preview sandbox files the assistant generates in the chat, in a side panel, and full page, instead of requiring a download to see them.diff --git a/.changeset/clear-running-on-failed-supersede.md b/.changeset/clear-running-on-failed-supersede.mddeleted file mode 100644index e62b8401b..000000000--- a/.changeset/clear-running-on-failed-supersede.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-assistant-ui-runtime': patch------Clear `isRunning` and aborted stream controllers when a superseding send fails prior to starting `runStream`, and ensure `cancel()` clears `isRunning` after draining the in-flight run.diff --git a/.changeset/composer-pause-stack.md b/.changeset/composer-pause-stack.mddeleted file mode 100644index e228c68e2..000000000--- a/.changeset/composer-pause-stack.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-ui': patch-'@truefoundry/trueforge-assistant-ui-runtime': patch------Keep the composer interactive during running and paused turns: Cancel only when empty, Send supersedes the prior client stream without cancelSession (preserving superseded in-flight turns in the transcript), and stacked pause chrome is abandoned after a later user message. Hosts that override ComposerSendButton and still branch only on isRunning should update to use hasContent.diff --git a/.changeset/cost-per-turn-tooltip-interactive.md b/.changeset/cost-per-turn-tooltip-interactive.mddeleted file mode 100644index 1c94ed457..000000000--- a/.changeset/cost-per-turn-tooltip-interactive.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Show cost-per-turn breakdown rows in the session metrics strip tooltip, and make tooltips interactive by default so rich popups stay open while hovering their content. Keep the timeline chart tooltip non-interactive so cursor-anchored hover is not stolen from the canvas.diff --git a/.changeset/deep-flies-carry.md b/.changeset/deep-flies-carry.mddeleted file mode 100644index c07f14172..000000000--- a/.changeset/deep-flies-carry.md+++ /dev/null@@ -1,5 +0,0 @@-----"@truefoundry/trueforge-ui": patch------Avoid redundant list-permissions API calls by sharing tenant permission state through CanCreateAgentProvider.diff --git a/.changeset/default-sandbox-env-controller.md b/.changeset/default-sandbox-env-controller.mddeleted file mode 100644index bb8962f3e..000000000--- a/.changeset/default-sandbox-env-controller.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge': patch-'@truefoundry/trueforge-core': patch------Default sandbox environment on provider configure (with provider status-column drop), capabilities/resolve via default env status, and a controller loop that builds the latest pending environment version per env. Core: generic SandboxProvider/Sandbox, HarnessSandbox, and Daytona build/getBuildStatus on the provider.diff --git a/.changeset/dependabot-vuln-deps.md b/.changeset/dependabot-vuln-deps.mddeleted file mode 100644index bb682db5a..000000000--- a/.changeset/dependabot-vuln-deps.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-core': patch-'@truefoundry/trueforge': patch------Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.diff --git a/.changeset/docker-prod-deps-prune-fetch.md b/.changeset/docker-prod-deps-prune-fetch.mddeleted file mode 100644index 77dd08a2c..000000000--- a/.changeset/docker-prod-deps-prune-fetch.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge': patch------Stop `pnpm fetch` from leaving a full `node_modules/.pnpm` in the image store stage so the production install no longer copies build tooling (esbuild, TypeScript, etc.) into the runtime image.diff --git a/.changeset/environments-page-skip-provider-check.md b/.changeset/environments-page-skip-provider-check.mddeleted file mode 100644index 7b8a3c668..000000000--- a/.changeset/environments-page-skip-provider-check.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Stop gating the Environments page on `listSandboxProviders` so create/update works when the sandbox provider is supplied externally or that catalog API returns 403.diff --git a/.changeset/environments-page-ui.md b/.changeset/environments-page-ui.mddeleted file mode 100644index 739c12785..000000000--- a/.changeset/environments-page-ui.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-assistant-ui-runtime': patch-'@truefoundry/trueforge-ui': patch------Add Environments page for sandbox environment CRUD (`/environments`), with UI Form and YAML editors, sidebar Envs nav, and a SandboxEnvironmentServer port.diff --git a/.changeset/fix-draft-spec-immutable-sessions.md b/.changeset/fix-draft-spec-immutable-sessions.mddeleted file mode 100644index 61b5f1de4..000000000--- a/.changeset/fix-draft-spec-immutable-sessions.md+++ /dev/null@@ -1,5 +0,0 @@-----"@truefoundry/trueforge-assistant-ui-runtime": patch------Avoid throwing agentSpec error when switching chats or rendering immutable sessions in Chat History.diff --git a/.changeset/fresh-turn-reset.md b/.changeset/fresh-turn-reset.mddeleted file mode 100644index cca31e47e..000000000--- a/.changeset/fresh-turn-reset.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-core': patch-'@truefoundry/trueforge': patch------Reset in-flight sub-agents and open tool calls when a turn starts with a user message, without emitting public thread.done for cancelled children.diff --git a/.changeset/library-agent-name-deep-link.md b/.changeset/library-agent-name-deep-link.mddeleted file mode 100644index e2dd558cf..000000000--- a/.changeset/library-agent-name-deep-link.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Support deep-linking the agents library with `?agent_name=` to seed and sync the search box.diff --git a/.changeset/mobile-app-navigation.md b/.changeset/mobile-app-navigation.mddeleted file mode 100644index 6b36d1b38..000000000--- a/.changeset/mobile-app-navigation.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Make the sidebar layout mobile-friendly with a Claude-style nav drawer, show a desktop-only notice for Build Agent, Sessions, Schedules, and Environments on small screens, keep user message actions visible on touch (hover-only from `md` up), and show the Agents listing as cards on small screens.diff --git a/.changeset/outbound-http-request-retries.md b/.changeset/outbound-http-request-retries.mddeleted file mode 100644index 3e9db9ac4..000000000--- a/.changeset/outbound-http-request-retries.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-core': patch-'@truefoundry/trueforge': patch------Split outbound HTTP into an agnostic SSRF `createOutboundFetch` plus separate generic/model/MCP Agents (`OUTBOUND_HTTP_*`, `MODEL_HTTP_*`, `MCP_HTTP_*`) with configurable connect/headers/body timeouts and retries.diff --git a/.changeset/prevent-duplicate-assistant-id-mcp-auth.md b/.changeset/prevent-duplicate-assistant-id-mcp-auth.mddeleted file mode 100644index da96720f9..000000000--- a/.changeset/prevent-duplicate-assistant-id-mcp-auth.md+++ /dev/null@@ -1,5 +0,0 @@-----"@truefoundry/trueforge-assistant-ui-runtime": patch------Prevent duplicate assistant message IDs when a turn stream finishes on mcp.auth_required without model messages.diff --git a/.changeset/refresh-ready-sandbox-env-picker.md b/.changeset/refresh-ready-sandbox-env-picker.mddeleted file mode 100644index 25a3eaf1a..000000000--- a/.changeset/refresh-ready-sandbox-env-picker.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Refresh agent environment pickers after Manage Environments create/activate/delete so the ready list does not stay stale while the draft UI stays mounted.diff --git a/.changeset/resume-user-tip-baseline.md b/.changeset/resume-user-tip-baseline.mddeleted file mode 100644index 93db3d2ed..000000000--- a/.changeset/resume-user-tip-baseline.md+++ /dev/null@@ -1,5 +0,0 @@-----"@truefoundry/trueforge-assistant-ui-runtime": patch------On refresh mid-turn, baseline all prior root model messages for a new user tip so the previous turn's content does not leak into the resumed stream.diff --git a/.changeset/sandbox-environment-agent-ref.md b/.changeset/sandbox-environment-agent-ref.mddeleted file mode 100644index 9139d8db0..000000000--- a/.changeset/sandbox-environment-agent-ref.md+++ /dev/null@@ -1,7 +0,0 @@-----'@truefoundry/trueforge': patch-'@truefoundry/trueforge-core': patch-'@truefoundry/trueforge-assistant-ui-runtime': patch------Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.diff --git a/.changeset/sandbox-environment-secrets.md b/.changeset/sandbox-environment-secrets.mddeleted file mode 100644index 48cd9afe6..000000000--- a/.changeset/sandbox-environment-secrets.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge': patch-'@truefoundry/trueforge-core': patch------Sync sandbox-environment networking secrets to Daytona org secrets on PUT (plaintext is never stored), keep Daytona refs in `sandbox_environment_secret`, and mount those secret names at sandbox create time.diff --git a/.changeset/session-detail-strip-metrics.md b/.changeset/session-detail-strip-metrics.mddeleted file mode 100644index 20255d562..000000000--- a/.changeset/session-detail-strip-metrics.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-assistant-ui-runtime': patch-'@truefoundry/trueforge-ui': patch------Use session detail API metrics for the agent session strip Turns/Duration/Cost instead of list-row hints or turn-by-turn aggregation. Include optional totalCostInUsd on TurnDoneMetrics so turn.done cost matches the wire contract.diff --git a/.changeset/sessions-page-reload-button.md b/.changeset/sessions-page-reload-button.mddeleted file mode 100644index 0cca71195..000000000--- a/.changeset/sessions-page-reload-button.md+++ /dev/null@@ -1,5 +0,0 @@-----'@truefoundry/trueforge-ui': patch------Add a reload button before the agent filter on the Sessions page to fetch latest data without requiring a browser refresh.diff --git a/.changeset/turn-paused-store.md b/.changeset/turn-paused-store.mddeleted file mode 100644index df55082c3..000000000--- a/.changeset/turn-paused-store.md+++ /dev/null@@ -1,6 +0,0 @@-----"@truefoundry/trueforge-core": patch-"@truefoundry/trueforge": patch------Treat `paused` as a live turn. `updateTurnNonTerminalState` switches `running` and `paused` and appends `turn.update` without session metrics. Terminal writes and `freezeAndGetTurn` accept a paused tip. `createTurn` rejects a paused predecessor until it is frozen. `updateTurnState` is now `updateTurnTerminalState`.diff --git a/.changeset/update-sandbox-env-status-ready.md b/.changeset/update-sandbox-env-status-ready.mddeleted file mode 100644index 7dcfb8045..000000000--- a/.changeset/update-sandbox-env-status-ready.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-assistant-ui-runtime': patch-'@truefoundry/trueforge-ui': patch------Update SandboxEnvironmentStatus from 'active' to 'ready' to align with backend environment version readiness, remove static default environment injection from draft selectors, fix sandbox provider readiness check latching false on EnvironmentsPage, and drain all sandbox environment pages with limit up to 1000 in agent draft pickers.diff --git a/packages/assistant-ui-runtime/CHANGELOG.md b/packages/assistant-ui-runtime/CHANGELOG.mdindex 327448251..a75001d9b 100644--- a/packages/assistant-ui-runtime/CHANGELOG.md+++ b/packages/assistant-ui-runtime/CHANGELOG.md@@ -1,5 +1,54 @@# @truefoundry/trueforge-assistant-ui-runtime+## 0.177.0++### Patch Changes++- d4bf49c: Clear `isRunning` and aborted stream controllers when a superseding send fails prior to starting `runStream`, and ensure `cancel()` clears `isRunning` after draining the in-flight run.+- d4bf49c: Keep the composer interactive during running and paused turns: Cancel only when empty, Send supersedes the prior client stream without cancelSession (preserving superseded in-flight turns in the transcript), and stacked pause chrome is abandoned after a later user message. Hosts that override ComposerSendButton and still branch only on isRunning should update to use hasContent.+- 2b76ce3: Add Environments page for sandbox environment CRUD (`/environments`), with UI Form and YAML editors, sidebar Envs nav, and a SandboxEnvironmentServer port.+- 5b7abb6: Avoid throwing agentSpec error when switching chats or rendering immutable sessions in Chat History.+- b9429a0: Preserve token and cost metrics on failed and cancelled turns in the UI adapter and types so turn headers and session totals include billable usage from non-done terminal turns.+- 5b7abb6: Prevent duplicate assistant message IDs when a turn stream finishes on mcp.auth_required without model messages.+- fc99f4e: On refresh mid-turn, keep already-ingested running-tip model messages in live resume instead of hiding them behind the group baseline.+- 6813758: On refresh mid-turn, baseline all prior root model messages for a new user tip so the previous turn's content does not leak into the resumed stream.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- 5b7abb6: Use session detail API metrics for the agent session strip Turns/Duration/Cost instead of list-row hints or turn-by-turn aggregation. Include optional totalCostInUsd on TurnDoneMetrics so turn.done cost matches the wire contract.+- 8057109: Reattach a live turn via subscribe after create/subscribe SSE drops, using the last ingested sequence number so the composer stays running instead of toasting a network error.+- 2b76ce3: Update SandboxEnvironmentStatus from 'active' to 'ready' to align with backend environment version readiness, remove static default environment injection from draft selectors, fix sandbox provider readiness check latching false on EnvironmentsPage, and drain all sandbox environment pages with limit up to 1000 in agent draft pickers.++## 0.177.0-rc.4++### Patch Changes++- 8057109: Reattach a live turn via subscribe after create/subscribe SSE drops, using the last ingested sequence number so the composer stays running instead of toasting a network error.++## 0.177.0-rc.3++### Patch Changes++- fc99f4e: On refresh mid-turn, keep already-ingested running-tip model messages in live resume instead of hiding them behind the group baseline.++## 0.177.0-rc.2++### Patch Changes++- b9429a0: Preserve token and cost metrics on failed and cancelled turns in the UI adapter and types so turn headers and session totals include billable usage from non-done terminal turns.++## 0.177.0-rc.1++### Patch Changes++- d4bf49c: Clear `isRunning` and aborted stream controllers when a superseding send fails prior to starting `runStream`, and ensure `cancel()` clears `isRunning` after draining the in-flight run.+- d4bf49c: Keep the composer interactive during running and paused turns: Cancel only when empty, Send supersedes the prior client stream without cancelSession (preserving superseded in-flight turns in the transcript), and stacked pause chrome is abandoned after a later user message. Hosts that override ComposerSendButton and still branch only on isRunning should update to use hasContent.+- 2b76ce3: Add Environments page for sandbox environment CRUD (`/environments`), with UI Form and YAML editors, sidebar Envs nav, and a SandboxEnvironmentServer port.+- 5b7abb6: Avoid throwing agentSpec error when switching chats or rendering immutable sessions in Chat History.+- 5b7abb6: Prevent duplicate assistant message IDs when a turn stream finishes on mcp.auth_required without model messages.+- 6813758: On refresh mid-turn, baseline all prior root model messages for a new user tip so the previous turn's content does not leak into the resumed stream.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- 5b7abb6: Use session detail API metrics for the agent session strip Turns/Duration/Cost instead of list-row hints or turn-by-turn aggregation. Include optional totalCostInUsd on TurnDoneMetrics so turn.done cost matches the wire contract.+- 2b76ce3: Update SandboxEnvironmentStatus from 'active' to 'ready' to align with backend environment version readiness, remove static default environment injection from draft selectors, fix sandbox provider readiness check latching false on EnvironmentsPage, and drain all sandbox environment pages with limit up to 1000 in agent draft pickers.+## 0.2.0### Minor Changesdiff --git a/packages/trueforge-core/CHANGELOG.md b/packages/trueforge-core/CHANGELOG.mdindex 98ba4423b..37db9e851 100644--- a/packages/trueforge-core/CHANGELOG.md+++ b/packages/trueforge-core/CHANGELOG.md@@ -1,5 +1,43 @@# @truefoundry/trueforge-core+## 0.177.0++### Patch Changes++- 5b7abb6: Default sandbox environment on provider configure (with provider status-column drop), capabilities/resolve via default env status, and a controller loop that builds the latest pending environment version per env. Core: generic SandboxProvider/Sandbox, HarnessSandbox, and Daytona build/getBuildStatus on the provider.+- 5b7abb6: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- 5b7abb6: Reset in-flight sub-agents and open tool calls when a turn starts with a user message, without emitting public thread.done for cancelled children.+- b9429a0: Raise the default model HTTP body timeout to 60s and shorten the default MCP request timeout to 2 minutes.+- fc99f4e: Raise the default model HTTP headers timeout to 60 seconds so slow first-token responses are not dropped.+- 4fde7e9: Split outbound HTTP into an agnostic SSRF `createOutboundFetch` plus separate generic/model/MCP Agents (`OUTBOUND_HTTP_*`, `MODEL_HTTP_*`, `MCP_HTTP_*`) with configurable connect/headers/body timeouts and retries.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- fde4d4a: Sync sandbox-environment networking secrets to Daytona org secrets on PUT (plaintext is never stored), keep Daytona refs in `sandbox_environment_secret`, and mount those secret names at sandbox create time.+- 5b7abb6: Treat `paused` as a live turn. `updateTurnNonTerminalState` switches `running` and `paused` and appends `turn.update` without session metrics. Terminal writes and `freezeAndGetTurn` accept a paused tip. `createTurn` rejects a paused predecessor until it is frozen. `updateTurnState` is now `updateTurnTerminalState`.++## 0.177.0-rc.3++### Patch Changes++- fc99f4e: Raise the default model HTTP headers timeout to 60 seconds so slow first-token responses are not dropped.++## 0.177.0-rc.2++### Patch Changes++- b9429a0: Raise the default model HTTP body timeout to 60s and shorten the default MCP request timeout to 2 minutes.++## 0.177.0-rc.1++### Patch Changes++- 5b7abb6: Default sandbox environment on provider configure (with provider status-column drop), capabilities/resolve via default env status, and a controller loop that builds the latest pending environment version per env. Core: generic SandboxProvider/Sandbox, HarnessSandbox, and Daytona build/getBuildStatus on the provider.+- 5b7abb6: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- 5b7abb6: Reset in-flight sub-agents and open tool calls when a turn starts with a user message, without emitting public thread.done for cancelled children.+- 4fde7e9: Split outbound HTTP into an agnostic SSRF `createOutboundFetch` plus separate generic/model/MCP Agents (`OUTBOUND_HTTP_*`, `MODEL_HTTP_*`, `MCP_HTTP_*`) with configurable connect/headers/body timeouts and retries.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- fde4d4a: Sync sandbox-environment networking secrets to Daytona org secrets on PUT (plaintext is never stored), keep Daytona refs in `sandbox_environment_secret`, and mount those secret names at sandbox create time.+- 5b7abb6: Treat `paused` as a live turn. `updateTurnNonTerminalState` switches `running` and `paused` and appends `turn.update` without session metrics. Terminal writes and `freezeAndGetTurn` accept a paused tip. `createTurn` rejects a paused predecessor until it is frozen. `updateTurnState` is now `updateTurnTerminalState`.+## 0.3.0### Minor Changesdiff --git a/packages/trueforge-sdk/CHANGELOG.md b/packages/trueforge-sdk/CHANGELOG.mdindex ca1de8872..655eafe25 100644--- a/packages/trueforge-sdk/CHANGELOG.md+++ b/packages/trueforge-sdk/CHANGELOG.md@@ -1,9 +1,25 @@+## [0.177.0] - 2026-10-07++## [0.177.0-rc.1] - 2026-10-05+## [0.0.0] - 2026-09-29## [0.2.1] - 2026-09-29## [0.2.1-rc.0] - 2026-09-22+## 0.177.0++### Patch Changes++- 5b7abb6: Regenerate SDK from updated OpenAPI spec.++## 0.177.0-rc.1++### Patch Changes++- 5b7abb6: Regenerate SDK from updated OpenAPI spec.+## 0.2.1### Patch Changesdiff --git a/packages/trueforge-ui/CHANGELOG.md b/packages/trueforge-ui/CHANGELOG.mdindex 576c18314..123e6ea92 100644--- a/packages/trueforge-ui/CHANGELOG.md+++ b/packages/trueforge-ui/CHANGELOG.md@@ -1,5 +1,104 @@# Changelog+## 0.177.0++### Patch Changes++- 3f55e56: Count all event turn.created rows (including MCP-auth resume turns) for the agent session detail strip Turns, Tokens, and Tool calls; keep transcript sections on renderable turns only. Stop overriding strip turn count from getSession metrics. Count pending human-wait tool calls (tool.response_required, e.g. ask-user) in strip Tool calls so they match Agent steps. Strip Tool calls counts only the main agent thread (sub-agent tool calls stay on the Sub-agents tile). Timeline/transcript turn bands fold non-renderable resume turns into the prior user turn (no phantom T2 / user markers). Compress idle between event-turns before folding display bands; aggregate cost/context/tooltip metrics per display band so MCP-auth resumes do not duplicate T1 chart keys or undercount tokens.+- d4bf49c: Polish MCP auth and Ask User pause chrome: lettered A/B/C options with Continue, outlined Connect, and screenshot-matching stack above the composer.+- 5b7abb6: Bump `monaco-editor` to `^0.57.0` to address known vulnerabilities, and point the frontend Monaco worker plugin at the 0.56+ export paths so production builds resolve workers correctly.+- 29e7aab: Add `DELETE` for settings catalog entries (model providers, MCP servers, skills), rejected with 409 naming the agents that still reference the entry; a model-provider update that drops a model in use is rejected the same way. Deleting an MCP server also clears its stored OAuth grants. Settings now confirms removals (including connectors) and keeps a refused removal's reason in the dialog; removing a provider's last model removes the provider. The connector list offers Connect on added-but-unauthenticated OAuth servers.+- 5b7abb6: Preview sandbox files the assistant generates in the chat, in a side panel, and full page, instead of requiring a download to see them.+- d4bf49c: Keep the composer interactive during running and paused turns: Cancel only when empty, Send supersedes the prior client stream without cancelSession (preserving superseded in-flight turns in the transcript), and stacked pause chrome is abandoned after a later user message. Hosts that override ComposerSendButton and still branch only on isRunning should update to use hasContent.+- 01b27f0: Show cost-per-turn breakdown rows in the session metrics strip tooltip, and make tooltips interactive by default so rich popups stay open while hovering their content. Keep the timeline chart tooltip non-interactive so cursor-anchored hover is not stolen from the canvas.+- 5b7abb6: Avoid redundant list-permissions API calls by sharing tenant permission state through CanCreateAgentProvider.+- 029b6a9: Stop gating the Environments page on `listSandboxProviders` so create/update works when the sandbox provider is supplied externally or that catalog API returns 403.+- 2b76ce3: Add Environments page for sandbox environment CRUD (`/environments`), with UI Form and YAML editors, sidebar Envs nav, and a SandboxEnvironmentServer port.+- 968b883: Add a frontend feature flag for sandbox-environment management.+- 7cc39c2: Support deep-linking the agents library with `?agent_name=` to seed and sync the search box.+- 7555c40: Make the sidebar layout mobile-friendly with a Claude-style nav drawer, show a desktop-only notice for Build Agent, Sessions, Schedules, and Environments on small screens, keep user message actions visible on touch (hover-only from `md` up), and show the Agents listing as cards on small screens.+- b9429a0: Preserve token and cost metrics on failed and cancelled turns in the UI adapter and types so turn headers and session totals include billable usage from non-done terminal turns.+- 2b76ce3: Refresh agent environment pickers after Manage Environments create/activate/delete so the ready list does not stay stale while the draft UI stays mounted.+- 5b7abb6: Use session detail API metrics for the agent session strip Turns/Duration/Cost instead of list-row hints or turn-by-turn aggregation. Include optional totalCostInUsd on TurnDoneMetrics so turn.done cost matches the wire contract.+- 5b7abb6: Add a reload button before the agent filter on the Sessions page to fetch latest data without requiring a browser refresh.+- 2b76ce3: Update SandboxEnvironmentStatus from 'active' to 'ready' to align with backend environment version readiness, remove static default environment injection from draft selectors, fix sandbox provider readiness check latching false on EnvironmentsPage, and drain all sandbox environment pages with limit up to 1000 in agent draft pickers.+- Updated dependencies [5b7abb6]+- Updated dependencies [d4bf49c]+- Updated dependencies [d4bf49c]+- Updated dependencies [2b76ce3]+- Updated dependencies [5b7abb6]+- Updated dependencies [b9429a0]+- Updated dependencies [5b7abb6]+- Updated dependencies [fc99f4e]+- Updated dependencies [6813758]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [8057109]+- Updated dependencies [2b76ce3]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]++## 0.177.0-rc.5++### Patch Changes++- Updated dependencies [8057109]+ - @truefoundry/[email protected]++## 0.177.0-rc.4++### Patch Changes++- Updated dependencies [fc99f4e]+ - @truefoundry/[email protected]++## 0.177.0-rc.3++### Patch Changes++- b9429a0: Preserve token and cost metrics on failed and cancelled turns in the UI adapter and types so turn headers and session totals include billable usage from non-done terminal turns.+- Updated dependencies [b9429a0]+ - @truefoundry/[email protected]++## 0.177.0-rc.2++### Patch Changes++- 968b883: Add a frontend feature flag for sandbox-environment management.++## 0.177.0-rc.1++### Patch Changes++- 3f55e56: Count all event turn.created rows (including MCP-auth resume turns) for the agent session detail strip Turns, Tokens, and Tool calls; keep transcript sections on renderable turns only. Stop overriding strip turn count from getSession metrics. Count pending human-wait tool calls (tool.response_required, e.g. ask-user) in strip Tool calls so they match Agent steps. Strip Tool calls counts only the main agent thread (sub-agent tool calls stay on the Sub-agents tile). Timeline/transcript turn bands fold non-renderable resume turns into the prior user turn (no phantom T2 / user markers). Compress idle between event-turns before folding display bands; aggregate cost/context/tooltip metrics per display band so MCP-auth resumes do not duplicate T1 chart keys or undercount tokens.+- d4bf49c: Polish MCP auth and Ask User pause chrome: lettered A/B/C options with Continue, outlined Connect, and screenshot-matching stack above the composer.+- 5b7abb6: Bump `monaco-editor` to `^0.57.0` to address known vulnerabilities, and point the frontend Monaco worker plugin at the 0.56+ export paths so production builds resolve workers correctly.+- 29e7aab: Add `DELETE` for settings catalog entries (model providers, MCP servers, skills), rejected with 409 naming the agents that still reference the entry; a model-provider update that drops a model in use is rejected the same way. Deleting an MCP server also clears its stored OAuth grants. Settings now confirms removals (including connectors) and keeps a refused removal's reason in the dialog; removing a provider's last model removes the provider. The connector list offers Connect on added-but-unauthenticated OAuth servers.+- 5b7abb6: Preview sandbox files the assistant generates in the chat, in a side panel, and full page, instead of requiring a download to see them.+- d4bf49c: Keep the composer interactive during running and paused turns: Cancel only when empty, Send supersedes the prior client stream without cancelSession (preserving superseded in-flight turns in the transcript), and stacked pause chrome is abandoned after a later user message. Hosts that override ComposerSendButton and still branch only on isRunning should update to use hasContent.+- 01b27f0: Show cost-per-turn breakdown rows in the session metrics strip tooltip, and make tooltips interactive by default so rich popups stay open while hovering their content. Keep the timeline chart tooltip non-interactive so cursor-anchored hover is not stolen from the canvas.+- 5b7abb6: Avoid redundant list-permissions API calls by sharing tenant permission state through CanCreateAgentProvider.+- 029b6a9: Stop gating the Environments page on `listSandboxProviders` so create/update works when the sandbox provider is supplied externally or that catalog API returns 403.+- 2b76ce3: Add Environments page for sandbox environment CRUD (`/environments`), with UI Form and YAML editors, sidebar Envs nav, and a SandboxEnvironmentServer port.+- 7cc39c2: Support deep-linking the agents library with `?agent_name=` to seed and sync the search box.+- 7555c40: Make the sidebar layout mobile-friendly with a Claude-style nav drawer, show a desktop-only notice for Build Agent, Sessions, Schedules, and Environments on small screens, keep user message actions visible on touch (hover-only from `md` up), and show the Agents listing as cards on small screens.+- 2b76ce3: Refresh agent environment pickers after Manage Environments create/activate/delete so the ready list does not stay stale while the draft UI stays mounted.+- 5b7abb6: Use session detail API metrics for the agent session strip Turns/Duration/Cost instead of list-row hints or turn-by-turn aggregation. Include optional totalCostInUsd on TurnDoneMetrics so turn.done cost matches the wire contract.+- 5b7abb6: Add a reload button before the agent filter on the Sessions page to fetch latest data without requiring a browser refresh.+- 2b76ce3: Update SandboxEnvironmentStatus from 'active' to 'ready' to align with backend environment version readiness, remove static default environment injection from draft selectors, fix sandbox provider readiness check latching false on EnvironmentsPage, and drain all sandbox environment pages with limit up to 1000 in agent draft pickers.+- Updated dependencies [5b7abb6]+- Updated dependencies [d4bf49c]+- Updated dependencies [d4bf49c]+- Updated dependencies [2b76ce3]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [6813758]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [2b76ce3]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]+## 0.4.0### Minor Changesdiff --git a/packages/trueforge/CHANGELOG.md b/packages/trueforge/CHANGELOG.mdindex bd9e4d22f..a85e1d8b2 100644--- a/packages/trueforge/CHANGELOG.md+++ b/packages/trueforge/CHANGELOG.md@@ -1,5 +1,84 @@# @truefoundry/trueforge+## 0.177.0++### Patch Changes++- 5b7abb6: Bump `monaco-editor` to `^0.57.0` to address known vulnerabilities, and point the frontend Monaco worker plugin at the 0.56+ export paths so production builds resolve workers correctly.+- 29e7aab: Add `DELETE` for settings catalog entries (model providers, MCP servers, skills), rejected with 409 naming the agents that still reference the entry; a model-provider update that drops a model in use is rejected the same way. Deleting an MCP server also clears its stored OAuth grants. Settings now confirms removals (including connectors) and keeps a refused removal's reason in the dialog; removing a provider's last model removes the provider. The connector list offers Connect on added-but-unauthenticated OAuth servers.+- 5b7abb6: Default sandbox environment on provider configure (with provider status-column drop), capabilities/resolve via default env status, and a controller loop that builds the latest pending environment version per env. Core: generic SandboxProvider/Sandbox, HarnessSandbox, and Daytona build/getBuildStatus on the provider.+- 5b7abb6: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- 5b7abb6: Stop `pnpm fetch` from leaving a full `node_modules/.pnpm` in the image store stage so the production install no longer copies build tooling (esbuild, TypeScript, etc.) into the runtime image.+- 968b883: Add a frontend feature flag for sandbox-environment management.+- 5b7abb6: Reset in-flight sub-agents and open tool calls when a turn starts with a user message, without emitting public thread.done for cancelled children.+- b9429a0: Raise the default model HTTP body timeout to 60s and shorten the default MCP request timeout to 2 minutes.+- fc99f4e: Raise the default model HTTP headers timeout to 60 seconds so slow first-token responses are not dropped.+- 4fde7e9: Split outbound HTTP into an agnostic SSRF `createOutboundFetch` plus separate generic/model/MCP Agents (`OUTBOUND_HTTP_*`, `MODEL_HTTP_*`, `MCP_HTTP_*`) with configurable connect/headers/body timeouts and retries.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- fde4d4a: Sync sandbox-environment networking secrets to Daytona org secrets on PUT (plaintext is never stored), keep Daytona refs in `sandbox_environment_secret`, and mount those secret names at sandbox create time.+- 5b7abb6: Treat `paused` as a live turn. `updateTurnNonTerminalState` switches `running` and `paused` and appends `turn.update` without session metrics. Terminal writes and `freezeAndGetTurn` accept a paused tip. `createTurn` rejects a paused predecessor until it is frozen. `updateTurnState` is now `updateTurnTerminalState`.+- b9429a0: Time out a hung create-turn SSE write so turn drain and subscribe dual-writes keep running.+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [b9429a0]+- Updated dependencies [fc99f4e]+- Updated dependencies [4fde7e9]+- Updated dependencies [5b7abb6]+- Updated dependencies [fde4d4a]+- Updated dependencies [5b7abb6]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]++## 0.177.0-rc.4++### Patch Changes++- fc99f4e: Raise the default model HTTP headers timeout to 60 seconds so slow first-token responses are not dropped.+- Updated dependencies [fc99f4e]+ - @truefoundry/[email protected]++## 0.177.0-rc.3++### Patch Changes++- b9429a0: Raise the default model HTTP body timeout to 60s and shorten the default MCP request timeout to 2 minutes.+- b9429a0: Time out a hung create-turn SSE write so turn drain and subscribe dual-writes keep running.+- Updated dependencies [b9429a0]+ - @truefoundry/[email protected]++## 0.177.0-rc.2++### Patch Changes++- 968b883: Add a frontend feature flag for sandbox-environment management.++## 0.177.0-rc.1++### Patch Changes++- 5b7abb6: Bump `monaco-editor` to `^0.57.0` to address known vulnerabilities, and point the frontend Monaco worker plugin at the 0.56+ export paths so production builds resolve workers correctly.+- 29e7aab: Add `DELETE` for settings catalog entries (model providers, MCP servers, skills), rejected with 409 naming the agents that still reference the entry; a model-provider update that drops a model in use is rejected the same way. Deleting an MCP server also clears its stored OAuth grants. Settings now confirms removals (including connectors) and keeps a refused removal's reason in the dialog; removing a provider's last model removes the provider. The connector list offers Connect on added-but-unauthenticated OAuth servers.+- 5b7abb6: Default sandbox environment on provider configure (with provider status-column drop), capabilities/resolve via default env status, and a controller loop that builds the latest pending environment version per env. Core: generic SandboxProvider/Sandbox, HarnessSandbox, and Daytona build/getBuildStatus on the provider.+- 5b7abb6: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- 5b7abb6: Stop `pnpm fetch` from leaving a full `node_modules/.pnpm` in the image store stage so the production install no longer copies build tooling (esbuild, TypeScript, etc.) into the runtime image.+- 5b7abb6: Reset in-flight sub-agents and open tool calls when a turn starts with a user message, without emitting public thread.done for cancelled children.+- 4fde7e9: Split outbound HTTP into an agnostic SSRF `createOutboundFetch` plus separate generic/model/MCP Agents (`OUTBOUND_HTTP_*`, `MODEL_HTTP_*`, `MCP_HTTP_*`) with configurable connect/headers/body timeouts and retries.+- 5b7abb6: Add sandbox-environment CRUD (tables, PUT upsert, subject ownership, soft-delete). Versions land as `pending` for a future controller. AgentSpec `config.sandbox.environment_name` names a caller-owned env; name `default` is reserved; delete returns 409 while agents reference it. Turn create clones the env snapshot (when built) and applies resources, env vars, and networking.+- fde4d4a: Sync sandbox-environment networking secrets to Daytona org secrets on PUT (plaintext is never stored), keep Daytona refs in `sandbox_environment_secret`, and mount those secret names at sandbox create time.+- 5b7abb6: Treat `paused` as a live turn. `updateTurnNonTerminalState` switches `running` and `paused` and appends `turn.update` without session metrics. Terminal writes and `freezeAndGetTurn` accept a paused tip. `createTurn` rejects a paused predecessor until it is frozen. `updateTurnState` is now `updateTurnTerminalState`.+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [5b7abb6]+- Updated dependencies [4fde7e9]+- Updated dependencies [5b7abb6]+- Updated dependencies [fde4d4a]+- Updated dependencies [5b7abb6]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]+## 0.3.0### Minor Changes