The open-source agent harness - the runtime layer that turns an LLM into a working agent.
Back-merge changelogs for 0.9992.0 (#940)
trueforge-dev-bot[bot]92d90e5283a8
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/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/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/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 72a65d694..000000000--- a/.changeset/default-sandbox-env-controller.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge': minor-'@truefoundry/trueforge-core': minor------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/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 bd0c30c21..000000000--- a/.changeset/fresh-turn-reset.md+++ /dev/null@@ -1,6 +0,0 @@-----'@truefoundry/trueforge-core': minor-'@truefoundry/trueforge': minor------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/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/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/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/packages/assistant-ui-runtime/CHANGELOG.md b/packages/assistant-ui-runtime/CHANGELOG.mdindex 327448251..d7ea9a665 100644--- a/packages/assistant-ui-runtime/CHANGELOG.md+++ b/packages/assistant-ui-runtime/CHANGELOG.md@@ -1,5 +1,14 @@# @truefoundry/trueforge-assistant-ui-runtime+## 0.9992.1++### Patch Changes++- b58c47e: Avoid throwing agentSpec error when switching chats or rendering immutable sessions in Chat History.+- 04c3aa7: Prevent duplicate assistant message IDs when a turn stream finishes on mcp.auth_required without model messages.+- 1bf436e: 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.+- c0cd17b: 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.+## 0.2.0### Minor Changesdiff --git a/packages/trueforge-core/CHANGELOG.md b/packages/trueforge-core/CHANGELOG.mdindex 98ba4423b..a095c589e 100644--- a/packages/trueforge-core/CHANGELOG.md+++ b/packages/trueforge-core/CHANGELOG.md@@ -1,5 +1,18 @@# @truefoundry/trueforge-core+## 0.9993.0++### Minor Changes++- b28f291: 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.+- 88024b6: 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.++### Patch Changes++- baf80b0: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- 1bf436e: 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.+- 4f74f50: 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..71a2dd28c 100644--- a/packages/trueforge-sdk/CHANGELOG.md+++ b/packages/trueforge-sdk/CHANGELOG.md@@ -1,9 +1,17 @@+## [0.9992.1] - 2026-10-01+## [0.0.0] - 2026-09-29## [0.2.1] - 2026-09-29## [0.2.1-rc.0] - 2026-09-22+## 0.9992.1++### Patch Changes++- fae79d0: 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..1e0d356f4 100644--- a/packages/trueforge-ui/CHANGELOG.md+++ b/packages/trueforge-ui/CHANGELOG.md@@ -1,5 +1,22 @@# Changelog+## 0.9992.1++### Patch Changes++- 5577544: 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.+- c88d850: Preview sandbox files the assistant generates in the chat, in a side panel, and full page, instead of requiring a download to see them.+- 985ad24: Avoid redundant list-permissions API calls by sharing tenant permission state through CanCreateAgentProvider.+- c0cd17b: 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.+- e8d58c3: Add a reload button before the agent filter on the Sessions page to fetch latest data without requiring a browser refresh.+- Updated dependencies [fae79d0]+- Updated dependencies [b58c47e]+- Updated dependencies [04c3aa7]+- Updated dependencies [1bf436e]+- Updated dependencies [c0cd17b]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]+## 0.4.0### Minor Changesdiff --git a/packages/trueforge/CHANGELOG.md b/packages/trueforge/CHANGELOG.mdindex bd9e4d22f..757ea70d4 100644--- a/packages/trueforge/CHANGELOG.md+++ b/packages/trueforge/CHANGELOG.md@@ -1,5 +1,28 @@# @truefoundry/trueforge+## 0.9993.0++### Minor Changes++- b28f291: 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.+- 88024b6: 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.++### Patch Changes++- 5577544: 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.+- baf80b0: Bump dependencies to address known vulnerabilities (Dependabot), including `undici`, AI SDK providers, `zod`, and related transitive fixes.+- edbcba4: 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.+- 1bf436e: 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.+- 4f74f50: 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 [fae79d0]+- Updated dependencies [b28f291]+- Updated dependencies [baf80b0]+- Updated dependencies [88024b6]+- Updated dependencies [1bf436e]+- Updated dependencies [4f74f50]+ - @truefoundry/[email protected]+ - @truefoundry/[email protected]+## 0.3.0### Minor Changes