Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Version Packages (rc) (#471)

github-actions[bot]a5f8116d0190
diff --git a/.changeset/20260827190410-regenerate-sdk-from-openapi.md b/.changeset/pre/20260827190410-regenerate-sdk-from-openapi.md
similarity index 100%
rename from .changeset/20260827190410-regenerate-sdk-from-openapi.md
rename to .changeset/pre/20260827190410-regenerate-sdk-from-openapi.md
diff --git a/.changeset/20260827210200-session-metrics.md b/.changeset/pre/20260827210200-session-metrics.md
similarity index 100%
rename from .changeset/20260827210200-session-metrics.md
rename to .changeset/pre/20260827210200-session-metrics.md
diff --git a/.changeset/20260827213832-regenerate-sdk-from-openapi.md b/.changeset/pre/20260827213832-regenerate-sdk-from-openapi.md
similarity index 100%
rename from .changeset/20260827213832-regenerate-sdk-from-openapi.md
rename to .changeset/pre/20260827213832-regenerate-sdk-from-openapi.md
diff --git a/.changeset/20260827234700-session-metrics-api.md b/.changeset/pre/20260827234700-session-metrics-api.md
similarity index 100%
rename from .changeset/20260827234700-session-metrics-api.md
rename to .changeset/pre/20260827234700-session-metrics-api.md
diff --git a/.changeset/20260831083812-session-metrics-fold.md b/.changeset/pre/20260831083812-session-metrics-fold.md
similarity index 100%
rename from .changeset/20260831083812-session-metrics-fold.md
rename to .changeset/pre/20260831083812-session-metrics-fold.md
diff --git a/.changeset/20260901200000-composer-design-refresh.md b/.changeset/pre/20260901200000-composer-design-refresh.md
similarity index 100%
rename from .changeset/20260901200000-composer-design-refresh.md
rename to .changeset/pre/20260901200000-composer-design-refresh.md
diff --git a/.changeset/20260901205645-agent-metadata.md b/.changeset/pre/20260901205645-agent-metadata.md
similarity index 100%
rename from .changeset/20260901205645-agent-metadata.md
rename to .changeset/pre/20260901205645-agent-metadata.md
diff --git a/.changeset/20260902143524-agent-external-id.md b/.changeset/pre/20260902143524-agent-external-id.md
similarity index 100%
rename from .changeset/20260902143524-agent-external-id.md
rename to .changeset/pre/20260902143524-agent-external-id.md
diff --git a/.changeset/20260902194500-truefoundry-agent-store.md b/.changeset/pre/20260902194500-truefoundry-agent-store.md
similarity index 100%
rename from .changeset/20260902194500-truefoundry-agent-store.md
rename to .changeset/pre/20260902194500-truefoundry-agent-store.md
diff --git a/.changeset/20260903010000-drop-agent-metadata.md b/.changeset/pre/20260903010000-drop-agent-metadata.md
similarity index 100%
rename from .changeset/20260903010000-drop-agent-metadata.md
rename to .changeset/pre/20260903010000-drop-agent-metadata.md
diff --git a/.changeset/20260903013000-reserve-agent-names.md b/.changeset/pre/20260903013000-reserve-agent-names.md
similarity index 100%
rename from .changeset/20260903013000-reserve-agent-names.md
rename to .changeset/pre/20260903013000-reserve-agent-names.md
diff --git a/.changeset/20260904054931-truefoundry-agent-store-db-txn.md b/.changeset/pre/20260904054931-truefoundry-agent-store-db-txn.md
similarity index 100%
rename from .changeset/20260904054931-truefoundry-agent-store-db-txn.md
rename to .changeset/pre/20260904054931-truefoundry-agent-store-db-txn.md
diff --git a/.changeset/adapter-sdk-code-snippets.md b/.changeset/pre/adapter-sdk-code-snippets.md
similarity index 100%
rename from .changeset/adapter-sdk-code-snippets.md
rename to .changeset/pre/adapter-sdk-code-snippets.md
diff --git a/.changeset/advanced-agent-config.md b/.changeset/pre/advanced-agent-config.md
similarity index 100%
rename from .changeset/advanced-agent-config.md
rename to .changeset/pre/advanced-agent-config.md
diff --git a/.changeset/agent-code-snippets.md b/.changeset/pre/agent-code-snippets.md
similarity index 100%
rename from .changeset/agent-code-snippets.md
rename to .changeset/pre/agent-code-snippets.md
diff --git a/.changeset/agent-config-chrome.md b/.changeset/pre/agent-config-chrome.md
similarity index 100%
rename from .changeset/agent-config-chrome.md
rename to .changeset/pre/agent-config-chrome.md
diff --git a/.changeset/agent-library-details.md b/.changeset/pre/agent-library-details.md
similarity index 100%
rename from .changeset/agent-library-details.md
rename to .changeset/pre/agent-library-details.md
diff --git a/.changeset/agent-metrics-tab.md b/.changeset/pre/agent-metrics-tab.md
similarity index 100%
rename from .changeset/agent-metrics-tab.md
rename to .changeset/pre/agent-metrics-tab.md
diff --git a/.changeset/agent-overflow-actions.md b/.changeset/pre/agent-overflow-actions.md
similarity index 100%
rename from .changeset/agent-overflow-actions.md
rename to .changeset/pre/agent-overflow-actions.md
diff --git a/.changeset/agent-session-schedule-rbac.md b/.changeset/pre/agent-session-schedule-rbac.md
similarity index 100%
rename from .changeset/agent-session-schedule-rbac.md
rename to .changeset/pre/agent-session-schedule-rbac.md
diff --git a/.changeset/agent-sessions-list-bg.md b/.changeset/pre/agent-sessions-list-bg.md
similarity index 100%
rename from .changeset/agent-sessions-list-bg.md
rename to .changeset/pre/agent-sessions-list-bg.md
diff --git a/.changeset/agent-sessions-tab.md b/.changeset/pre/agent-sessions-tab.md
similarity index 100%
rename from .changeset/agent-sessions-tab.md
rename to .changeset/pre/agent-sessions-tab.md
diff --git a/.changeset/code-editor-copy-secondary.md b/.changeset/pre/code-editor-copy-secondary.md
similarity index 100%
rename from .changeset/code-editor-copy-secondary.md
rename to .changeset/pre/code-editor-copy-secondary.md
diff --git a/.changeset/controller-entry-point.md b/.changeset/pre/controller-entry-point.md
similarity index 100%
rename from .changeset/controller-entry-point.md
rename to .changeset/pre/controller-entry-point.md
diff --git a/.changeset/controller-server-mtls.md b/.changeset/pre/controller-server-mtls.md
similarity index 100%
rename from .changeset/controller-server-mtls.md
rename to .changeset/pre/controller-server-mtls.md
diff --git a/.changeset/created-by-me-list-filter.md b/.changeset/pre/created-by-me-list-filter.md
similarity index 100%
rename from .changeset/created-by-me-list-filter.md
rename to .changeset/pre/created-by-me-list-filter.md
diff --git a/.changeset/created-by-subject-json.md b/.changeset/pre/created-by-subject-json.md
similarity index 100%
rename from .changeset/created-by-subject-json.md
rename to .changeset/pre/created-by-subject-json.md
diff --git a/.changeset/cron-schedules.md b/.changeset/pre/cron-schedules.md
similarity index 100%
rename from .changeset/cron-schedules.md
rename to .changeset/pre/cron-schedules.md
diff --git a/.changeset/daytona-permission-vs-invalid-key.md b/.changeset/pre/daytona-permission-vs-invalid-key.md
similarity index 100%
rename from .changeset/daytona-permission-vs-invalid-key.md
rename to .changeset/pre/daytona-permission-vs-invalid-key.md
diff --git a/.changeset/daytona-request-timeouts.md b/.changeset/pre/daytona-request-timeouts.md
similarity index 100%
rename from .changeset/daytona-request-timeouts.md
rename to .changeset/pre/daytona-request-timeouts.md
diff --git a/.changeset/empty-screen-states.md b/.changeset/pre/empty-screen-states.md
similarity index 100%
rename from .changeset/empty-screen-states.md
rename to .changeset/pre/empty-screen-states.md
diff --git a/.changeset/enforce-agent-authorizer.md b/.changeset/pre/enforce-agent-authorizer.md
similarity index 100%
rename from .changeset/enforce-agent-authorizer.md
rename to .changeset/pre/enforce-agent-authorizer.md
diff --git a/.changeset/frontend-base-path-env.md b/.changeset/pre/frontend-base-path-env.md
similarity index 100%
rename from .changeset/frontend-base-path-env.md
rename to .changeset/pre/frontend-base-path-env.md
diff --git a/.changeset/google-sans-default-font.md b/.changeset/pre/google-sans-default-font.md
similarity index 100%
rename from .changeset/google-sans-default-font.md
rename to .changeset/pre/google-sans-default-font.md
diff --git a/.changeset/hide-clear-chat-on-fresh-thread.md b/.changeset/pre/hide-clear-chat-on-fresh-thread.md
similarity index 100%
rename from .changeset/hide-clear-chat-on-fresh-thread.md
rename to .changeset/pre/hide-clear-chat-on-fresh-thread.md
diff --git a/.changeset/mcp-invoke-headers-with-auth.md b/.changeset/pre/mcp-invoke-headers-with-auth.md
similarity index 100%
rename from .changeset/mcp-invoke-headers-with-auth.md
rename to .changeset/pre/mcp-invoke-headers-with-auth.md
diff --git a/.changeset/mcp-pill-preload-toggle.md b/.changeset/pre/mcp-pill-preload-toggle.md
similarity index 100%
rename from .changeset/mcp-pill-preload-toggle.md
rename to .changeset/pre/mcp-pill-preload-toggle.md
diff --git a/.changeset/mcp-selector-infinite-scroll.md b/.changeset/pre/mcp-selector-infinite-scroll.md
similarity index 100%
rename from .changeset/mcp-selector-infinite-scroll.md
rename to .changeset/pre/mcp-selector-infinite-scroll.md
diff --git a/.changeset/mcp-selector-interactions.md b/.changeset/pre/mcp-selector-interactions.md
similarity index 100%
rename from .changeset/mcp-selector-interactions.md
rename to .changeset/pre/mcp-selector-interactions.md
diff --git a/.changeset/mcp-selector-modal-revamp.md b/.changeset/pre/mcp-selector-modal-revamp.md
similarity index 100%
rename from .changeset/mcp-selector-modal-revamp.md
rename to .changeset/pre/mcp-selector-modal-revamp.md
diff --git a/.changeset/mcp-server-store-auth.md b/.changeset/pre/mcp-server-store-auth.md
similarity index 100%
rename from .changeset/mcp-server-store-auth.md
rename to .changeset/pre/mcp-server-store-auth.md
diff --git a/.changeset/new-chat-capabilities-sandbox.md b/.changeset/pre/new-chat-capabilities-sandbox.md
similarity index 100%
rename from .changeset/new-chat-capabilities-sandbox.md
rename to .changeset/pre/new-chat-capabilities-sandbox.md
diff --git a/.changeset/new-chat-vs-new-agent.md b/.changeset/pre/new-chat-vs-new-agent.md
similarity index 100%
rename from .changeset/new-chat-vs-new-agent.md
rename to .changeset/pre/new-chat-vs-new-agent.md
diff --git a/.changeset/oidc-allowed-emails.md b/.changeset/pre/oidc-allowed-emails.md
similarity index 100%
rename from .changeset/oidc-allowed-emails.md
rename to .changeset/pre/oidc-allowed-emails.md
diff --git a/.changeset/postgres-ssl.md b/.changeset/pre/postgres-ssl.md
similarity index 100%
rename from .changeset/postgres-ssl.md
rename to .changeset/pre/postgres-ssl.md
diff --git a/.changeset/railway-database-url.md b/.changeset/pre/railway-database-url.md
similarity index 100%
rename from .changeset/railway-database-url.md
rename to .changeset/pre/railway-database-url.md
diff --git a/.changeset/resume-session-new-tab.md b/.changeset/pre/resume-session-new-tab.md
similarity index 100%
rename from .changeset/resume-session-new-tab.md
rename to .changeset/pre/resume-session-new-tab.md
diff --git a/.changeset/schedule-agent-id.md b/.changeset/pre/schedule-agent-id.md
similarity index 100%
rename from .changeset/schedule-agent-id.md
rename to .changeset/pre/schedule-agent-id.md
diff --git a/.changeset/schedule-isnew-drawer.md b/.changeset/pre/schedule-isnew-drawer.md
similarity index 100%
rename from .changeset/schedule-isnew-drawer.md
rename to .changeset/pre/schedule-isnew-drawer.md
diff --git a/.changeset/schedule-list-pagination.md b/.changeset/pre/schedule-list-pagination.md
similarity index 100%
rename from .changeset/schedule-list-pagination.md
rename to .changeset/pre/schedule-list-pagination.md
diff --git a/.changeset/schedule-list-runs.md b/.changeset/pre/schedule-list-runs.md
similarity index 100%
rename from .changeset/schedule-list-runs.md
rename to .changeset/pre/schedule-list-runs.md
diff --git a/.changeset/schedule-manual-run.md b/.changeset/pre/schedule-manual-run.md
similarity index 100%
rename from .changeset/schedule-manual-run.md
rename to .changeset/pre/schedule-manual-run.md
diff --git a/.changeset/schedule-runs-ui.md b/.changeset/pre/schedule-runs-ui.md
similarity index 100%
rename from .changeset/schedule-runs-ui.md
rename to .changeset/pre/schedule-runs-ui.md
diff --git a/.changeset/schedule-session-turn.md b/.changeset/pre/schedule-session-turn.md
similarity index 100%
rename from .changeset/schedule-session-turn.md
rename to .changeset/pre/schedule-session-turn.md
diff --git a/.changeset/schedules-side-drawer.md b/.changeset/pre/schedules-side-drawer.md
similarity index 100%
rename from .changeset/schedules-side-drawer.md
rename to .changeset/pre/schedules-side-drawer.md
diff --git a/.changeset/sdk-internal-agents-get-code-snippets.md b/.changeset/pre/sdk-internal-agents-get-code-snippets.md
similarity index 100%
rename from .changeset/sdk-internal-agents-get-code-snippets.md
rename to .changeset/pre/sdk-internal-agents-get-code-snippets.md
diff --git a/.changeset/session-external-id.md b/.changeset/pre/session-external-id.md
similarity index 100%
rename from .changeset/session-external-id.md
rename to .changeset/pre/session-external-id.md
diff --git a/.changeset/session-metadata.md b/.changeset/pre/session-metadata.md
similarity index 100%
rename from .changeset/session-metadata.md
rename to .changeset/pre/session-metadata.md
diff --git a/.changeset/session-schedule-polish.md b/.changeset/pre/session-schedule-polish.md
similarity index 100%
rename from .changeset/session-schedule-polish.md
rename to .changeset/pre/session-schedule-polish.md
diff --git a/.changeset/settings-route-capability.md b/.changeset/pre/settings-route-capability.md
similarity index 100%
rename from .changeset/settings-route-capability.md
rename to .changeset/pre/settings-route-capability.md
diff --git a/.changeset/sidebar-icon-rail.md b/.changeset/pre/sidebar-icon-rail.md
similarity index 100%
rename from .changeset/sidebar-icon-rail.md
rename to .changeset/pre/sidebar-icon-rail.md
diff --git a/.changeset/split-draft-preferences.md b/.changeset/pre/split-draft-preferences.md
similarity index 100%
rename from .changeset/split-draft-preferences.md
rename to .changeset/pre/split-draft-preferences.md
diff --git a/.changeset/tf-mcp-connect-auth.md b/.changeset/pre/tf-mcp-connect-auth.md
similarity index 100%
rename from .changeset/tf-mcp-connect-auth.md
rename to .changeset/pre/tf-mcp-connect-auth.md
diff --git a/.changeset/tf-mcp-gateway-bearer.md b/.changeset/pre/tf-mcp-gateway-bearer.md
similarity index 100%
rename from .changeset/tf-mcp-gateway-bearer.md
rename to .changeset/pre/tf-mcp-gateway-bearer.md
diff --git a/.changeset/tfg-per-server-mcp-headers.md b/.changeset/pre/tfg-per-server-mcp-headers.md
similarity index 100%
rename from .changeset/tfg-per-server-mcp-headers.md
rename to .changeset/pre/tfg-per-server-mcp-headers.md
diff --git a/.changeset/trueforge-postgres-schema.md b/.changeset/pre/trueforge-postgres-schema.md
similarity index 100%
rename from .changeset/trueforge-postgres-schema.md
rename to .changeset/pre/trueforge-postgres-schema.md
diff --git a/.changeset/truefoundry-ai-gateway-models.md b/.changeset/pre/truefoundry-ai-gateway-models.md
similarity index 100%
rename from .changeset/truefoundry-ai-gateway-models.md
rename to .changeset/pre/truefoundry-ai-gateway-models.md
diff --git a/.changeset/truefoundry-managed-mcp.md b/.changeset/pre/truefoundry-managed-mcp.md
similarity index 100%
rename from .changeset/truefoundry-managed-mcp.md
rename to .changeset/pre/truefoundry-managed-mcp.md
diff --git a/.changeset/turn-token-tooltip.md b/.changeset/pre/turn-token-tooltip.md
similarity index 100%
rename from .changeset/turn-token-tooltip.md
rename to .changeset/pre/turn-token-tooltip.md
diff --git a/.changeset/unified-page-header-chrome.md b/.changeset/pre/unified-page-header-chrome.md
similarity index 100%
rename from .changeset/unified-page-header-chrome.md
rename to .changeset/pre/unified-page-header-chrome.md
diff --git a/.changeset/unified-request-context-auth.md b/.changeset/pre/unified-request-context-auth.md
similarity index 100%
rename from .changeset/unified-request-context-auth.md
rename to .changeset/pre/unified-request-context-auth.md
diff --git a/.github/fern/openapi/openapi.json b/.github/fern/openapi/openapi.json
index ebc8cc0b3..9d18df50e 100644
--- a/.github/fern/openapi/openapi.json
+++ b/.github/fern/openapi/openapi.json
@@ -4913,7 +4913,7 @@
"info": {
"description": "HTTP API for the TrueForge agent server (`/api/v1`). Interactive docs are served at `/api/v1/docs` (OpenAPI JSON at `/api/v1/openapi.json`).\n\n**Authentication:** Standalone auth accepts requests without credentials — middleware stamps a local default user. When OIDC or TrueFoundry auth is configured, protected routes require a valid cookie or `Authorization: Bearer` token. There is no built-in API-key scheme; pass custom headers only if your reverse proxy or IdP layer requires them.\n\nCovers DB-backed sessions, the agent registry, settings catalogs, and model/MCP/skill/sandbox providers.",
"title": "TrueForge API",
- "version": "0.2.0-rc.0"
+ "version": "0.2.0-rc.1"
},
"openapi": "3.1.0",
"paths": {
diff --git a/docs/openapi.json b/docs/openapi.json
index ebc8cc0b3..9d18df50e 100644
--- a/docs/openapi.json
+++ b/docs/openapi.json
@@ -4913,7 +4913,7 @@
"info": {
"description": "HTTP API for the TrueForge agent server (`/api/v1`). Interactive docs are served at `/api/v1/docs` (OpenAPI JSON at `/api/v1/openapi.json`).\n\n**Authentication:** Standalone auth accepts requests without credentials — middleware stamps a local default user. When OIDC or TrueFoundry auth is configured, protected routes require a valid cookie or `Authorization: Bearer` token. There is no built-in API-key scheme; pass custom headers only if your reverse proxy or IdP layer requires them.\n\nCovers DB-backed sessions, the agent registry, settings catalogs, and model/MCP/skill/sandbox providers.",
"title": "TrueForge API",
- "version": "0.2.0-rc.0"
+ "version": "0.2.0-rc.1"
},
"openapi": "3.1.0",
"paths": {
diff --git a/packages/trueforge-core/CHANGELOG.md b/packages/trueforge-core/CHANGELOG.md
index c29823e17..77907354e 100644
--- a/packages/trueforge-core/CHANGELOG.md
+++ b/packages/trueforge-core/CHANGELOG.md
@@ -1,5 +1,25 @@
# @truefoundry/trueforge-core
+## 0.2.0-rc.1
+
+### Minor Changes
+
+- a70543b: Agent access is decided only by the `Authorizer`: standalone/OIDC lets everyone list and use agents and restricts update/delete to the creator; TrueFoundry uses external permissions api.
+
+ You can read a session, turn, events, metrics, schedule, or its runs if you created it, or if you manage the named agent it is bound to. Creating still requires permission to use that agent. Only the creator can update, delete, or cancel a session, create a turn, or download sandbox files. Only the creator can update, delete, pause, resume, or run a schedule. An OIDC settings admin can no longer see other users' schedules.
+
+- 9bfcdaa: Replace string creator fields (`created_by` / `triggered_by`) with a non-null `created_by_subject` JSON object on agent, session, schedule, and schedule_run. Ownership and list filters use `tenant_id` + `created_by_subject.subject_id`.
+- 8f1a2dc: Add a TrueFoundry-managed model registry. When `TRUEFOUNDRY_SERVICEFOUNDRY_SERVER_URL` is set, models are listed from the TrueFoundry ServiceFoundry server and turns are routed through the tenant's default AI Gateway with the caller's token. Mutually exclusive with OIDC. Supports internal mutual TLS to the ServiceFoundry server via `TRUEFOUNDRY_MTLS_ENABLED`/`TRUEFOUNDRY_MTLS_CERTS_DIR`.
+
+### Patch Changes
+
+- d89b2ff: Persist zero-initialized metrics on agent sessions.
+- 172bf14: Add caller-scoped session metrics meters, charts, and chart-data under `/internal/metrics` via a server-owned `ISessionMetricsStore`.
+- d89b2ff: Fold session metrics totals on createTurn and terminal writes.
+- c40129c: Cap Daytona status-refresh calls at 1 minute so a stalled provider cannot hang request handlers.
+- 38ce068: Add tenant-unique optional session `external_id`, `Sessions.getOrCreateByExternalId`, and an idempotent `POST /internal/sessions/get-or-create-by-external-id` endpoint and SDK method.
+- b654052: Add caller-owned session `metadata` (`Record<string, string>` with size limits) on create, update, and read. Persist as a new `session.metadata` jsonb column; leave session `custom` unchanged.
+
## 0.2.0-rc.0
### Minor Changes
diff --git a/packages/trueforge-core/package.json b/packages/trueforge-core/package.json
index b1f2a1c1a..ff27dc1ca 100644
--- a/packages/trueforge-core/package.json
+++ b/packages/trueforge-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@truefoundry/trueforge-core",
- "version": "0.2.0-rc.0",
+ "version": "0.2.0-rc.1",
"description": "TrueForge Agent Harness library.",
"author": "TrueFoundry",
"license": "MIT",
diff --git a/packages/trueforge-sdk/CHANGELOG.md b/packages/trueforge-sdk/CHANGELOG.md
index b088f0975..703c35e45 100644
--- a/packages/trueforge-sdk/CHANGELOG.md
+++ b/packages/trueforge-sdk/CHANGELOG.md
@@ -1,5 +1,20 @@
+## [0.1.4-rc.1] - 2026-09-07
+
## [0.1.4-rc.0] - 2026-08-27
+## 0.1.4-rc.1
+
+### Patch Changes
+
+- 648273b: Regenerate SDK from updated OpenAPI spec.
+- 648273b: Regenerate SDK from updated OpenAPI spec.
+- 2dcb3a0: Add `created_by_me` to list sessions and list schedules so callers can restrict results to resources they created (excluding managed-agent visibility).
+- 52987a7: Add `internal.agents.getCodeSnippets` API under the new SDK `internal` namespace.
+- 38ce068: Add tenant-unique optional session `external_id`, `Sessions.getOrCreateByExternalId`, and an idempotent `POST /internal/sessions/get-or-create-by-external-id` endpoint and SDK method.
+- b654052: Add caller-owned session `metadata` (`Record<string, string>` with size limits) on create, update, and read. Persist as a new `session.metadata` jsonb column; leave session `custom` unchanged.
+- 4c1260e: Wire TrueFoundry MCP authorize, status, and delete through ServiceFoundry; stub list auth_status; gate oauth2 invoke mid-turn with authRequired; paginate MCP server lists. UI treats SFY consent `code`/`error` on the FE landing like local DCR success/failure.
+- f175245: Add TrueFoundry-managed MCP list/get (SFY registry, gateway proxy URL, create/update 424).
+
## [0.1.3] - 2026-08-19
## 0.1.4-rc.0
diff --git a/packages/trueforge-sdk/package.json b/packages/trueforge-sdk/package.json
index 875151f62..92fd9d8e8 100644
--- a/packages/trueforge-sdk/package.json
+++ b/packages/trueforge-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@truefoundry/trueforge-sdk",
- "version": "0.1.4-rc.0",
+ "version": "0.1.4-rc.1",
"private": false,
"type": "commonjs",
"main": "./dist/cjs/index.js",
diff --git a/packages/trueforge-sdk/src/BaseClient.ts b/packages/trueforge-sdk/src/BaseClient.ts
index ed29e563c..3691926e3 100644
--- a/packages/trueforge-sdk/src/BaseClient.ts
+++ b/packages/trueforge-sdk/src/BaseClient.ts
@@ -65,8 +65,8 @@ export function normalizeClientOptions<T extends BaseClientOptions = BaseClientO
{
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@truefoundry/trueforge-sdk",
- "X-Fern-SDK-Version": "0.1.4-rc.0",
- "User-Agent": "@truefoundry/trueforge-sdk/0.1.4-rc.0",
+ "X-Fern-SDK-Version": "0.1.4-rc.1",
+ "User-Agent": "@truefoundry/trueforge-sdk/0.1.4-rc.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
diff --git a/packages/trueforge-sdk/src/version.ts b/packages/trueforge-sdk/src/version.ts
index 2147ee229..244c1ea55 100644
--- a/packages/trueforge-sdk/src/version.ts
+++ b/packages/trueforge-sdk/src/version.ts
@@ -1 +1 @@
-export const SDK_VERSION = "0.1.4-rc.0";
+export const SDK_VERSION = "0.1.4-rc.1";
diff --git a/packages/trueforge-ui/CHANGELOG.md b/packages/trueforge-ui/CHANGELOG.md
index 8b5a7c91d..e7503e845 100644
--- a/packages/trueforge-ui/CHANGELOG.md
+++ b/packages/trueforge-ui/CHANGELOG.md
@@ -1,5 +1,53 @@
# Changelog
+## 0.3.0-rc.1
+
+### Minor Changes
+
+- d269b01: Add a live advanced agent configuration drawer with shared model, runtime, MCP tool, skill, and Save Agent editors.
+- e74e953: Keep agent configuration visible on the left in full-width builder layouts, add a responsive instructions and initial-messages drawer with explicit save, make mobile config overlays closable, save the current instruction draft, align builder chrome, and preserve open widgets across chat runtime changes.
+- a189482: Add routed agent detail pages with lazy Overview, Sessions, and Use In Code tabs backed by the optional AgentSessionsServer port and built-in TrueForge adapter.
+- 8491843: Add a slot-driven agent Metrics tab with aggregate cards, time-range filtering, and Harness-backed line charts.
+- a189482: Add the agent library Sessions tab and an all-user Sessions sidebar page (including drafts) with agent and time filters, shareable query params, and the same two-pane timeline. Library agent details keep the active tab in `?tab=` so opening an agent lands on Overview.
+- bc11131: MCP selectors (composer + agent config) infinite-scroll through `listMcp` pages via DraftCatalogProvider.
+- 860e322: Split New Chat vs New Agent: simple chat keeps the Connectors/Skills picker; New Agent keeps Agent Config + Save Agent. Session metadata `is_create_agent` drives resume from the sessions browser.
+- 0cc59f8: Wire schedule test runs and show last five run status chips on the schedules table. Bump `@truefoundry/assistant-ui-runtime` to `0.1.25`.
+- 0cc59f8: Add global Schedules page at `/schedules` with listing, popover-based filters, and create/edit drawer wired to the schedule API. New schedules save as paused, open a Test Schedule review with MCP connect status, and support Activate Anyway. List schedules uses server token pagination and multi-agent filters. Agents shows a Schedules count column (warning when any are paused) loaded via a batched list for on-screen agents. Add Table primitives with client-side and token pagination plus portal DropdownMenu so row actions are not clipped by overflow. Export a reusable popover select with single- and multi-select modes.
+- 788636d: Sidebar layout is a permanent icon+label nav rail (no expand/collapse). Recent chats are hidden from the sidebar and mobile drawer; the drawer shows nav actions only.
+- 8f1a2dc: Add a TrueFoundry-managed model registry. When `TRUEFOUNDRY_SERVICEFOUNDRY_SERVER_URL` is set, models are listed from the TrueFoundry ServiceFoundry server and turns are routed through the tenant's default AI Gateway with the caller's token. Mutually exclusive with OIDC. Supports internal mutual TLS to the ServiceFoundry server via `TRUEFOUNDRY_MTLS_ENABLED`/`TRUEFOUNDRY_MTLS_CERTS_DIR`.
+
+### Patch Changes
+
+- 347a7e7: Refresh composer and composer-trigger styling: 0.75rem composer corners with a light-theme primary-token gradient hairline (faded top → solid bottom) and a neutral hairline in dark, an icon-only tools trigger in place of the "Tools" caption and count badge, the shared `agent-2` glyph on the agents-library trigger, and squared-off chrome-action geometry on the save-agent trigger. Also fixes `agent-2.svg` to use `currentColor` so it is legible in dark mode.
+- a189482: Load agent Use In Code snippets through `client.internal.agents.getCodeSnippets` instead of a raw `client.fetch`.
+- c4ee138: Agent list and details overflow menu: Edit, Clone (`{name}-copy` via saveAgent), Manage Schedules, and Delete (wired through harness `deleteAgent`).
+- c4ee138: AgentSessions list pane uses a quieter surface, and the resize grip stays gray until hover, press, or focus.
+- c4ee138: Agent Code (`SyntaxHighlighter` / `AgentCodeBlock`) copy control uses the bordered secondary button, and a trailing source newline no longer paints an empty last line while Copy still keeps the exact source.
+- c4ee138: Agents, Sessions, and Schedules empty states use a shared centered empty-box screen with title and supporting copy.
+- 0cc59f8: Use Google Sans as the default `trueforge` theme font and load it from Google Fonts when styles are injected.
+- 64ca089: Hide Clear chat while the thread is fresh (New Chat, New Agent, and Try Agent) since there is nothing to clear.
+- 64ca089: Add a book-icon preload toggle and dashed add button to Agent Config MCP server pills.
+- d269b01: Improve MCP and skill selectors with consistent search sizing, explicit MCP selection controls, grouped tool summaries, and removable MCP chips.
+- 64ca089: Revamp the MCP tools selector modal with focus rows, connect empty state, and grouped selected-tools summary.
+- bc11131: New Chat enables sandbox on the live draft agent config when capabilities report sandbox as available.
+- c4ee138: Resume Chat / Resume Agent building opens in a new tab when routed (`/sessions/:id` + square-arrow-out-up-right); without a router it keeps the in-shell resume fallback.
+- 788636d: Open the create schedule drawer when Agents "+ Schedule" navigates with `isNew=true`, then clear the flag from the URL.
+- 333230d: Improve Agent Sessions with a resizable divider, accurate turn grouping, optional cost display, and reliable timeline tooltips with sub-agent details. Simplify schedule recurrence and default new schedules to the local timezone.
+- c4ee138: Unregister the `/settings` route when Settings chrome is unavailable (no catalog or `capabilities.settings.enabled` is false), matching the sidebar Settings button gate.
+- c4ee138: Split New Chat and New Agent draft preference stores. New Chat remembers only model (+ reasoning), skills, and MCP; New Agent keeps the full seed including runtime config.
+- 4c1260e: Wire TrueFoundry MCP authorize, status, and delete through ServiceFoundry; stub list auth_status; gate oauth2 invoke mid-turn with authRequired; paginate MCP server lists. UI treats SFY consent `code`/`error` on the FE landing like local DCR success/failure.
+- c4ee138: Per-turn Tokens in Agent Sessions shows a keyboard-accessible Input / Output / Cached tooltip (Input is uncached).
+- bc11131: Share a single `PageHeader` across chat and list chrome so title size/height stay consistent, and drop decorative title icons.
+- Updated dependencies [648273b]
+- Updated dependencies [648273b]
+- Updated dependencies [2dcb3a0]
+- Updated dependencies [52987a7]
+- Updated dependencies [38ce068]
+- Updated dependencies [b654052]
+- Updated dependencies [4c1260e]
+- Updated dependencies [f175245]
+ - @truefoundry/[email protected]
+
## 0.3.0-rc.0
### Minor Changes
diff --git a/packages/trueforge-ui/package.json b/packages/trueforge-ui/package.json
index 5272e5af5..39ef9c0ed 100644
--- a/packages/trueforge-ui/package.json
+++ b/packages/trueforge-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@truefoundry/trueforge-ui",
- "version": "0.3.0-rc.0",
+ "version": "0.3.0-rc.1",
"description": "TrueForge Agent Chat UI (atoms + containers) built on assistant-ui, with owned theming, presets, and swappable slots.",
"author": "TrueFoundry",
"license": "MIT",
diff --git a/packages/trueforge/CHANGELOG.md b/packages/trueforge/CHANGELOG.md
index 2de0f2a2b..4f9a40a4d 100644
--- a/packages/trueforge/CHANGELOG.md
+++ b/packages/trueforge/CHANGELOG.md
@@ -1,5 +1,73 @@
# @truefoundry/trueforge
+## 0.2.0-rc.1
+
+### Minor Changes
+
+- 8491843: Add a slot-driven agent Metrics tab with aggregate cards, time-range filtering, and Harness-backed line charts.
+- a70543b: Agent access is decided only by the `Authorizer`: standalone/OIDC lets everyone list and use agents and restricts update/delete to the creator; TrueFoundry uses external permissions api.
+
+ You can read a session, turn, events, metrics, schedule, or its runs if you created it, or if you manage the named agent it is bound to. Creating still requires permission to use that agent. Only the creator can update, delete, or cancel a session, create a turn, or download sandbox files. Only the creator can update, delete, pause, resume, or run a schedule. An OIDC settings admin can no longer see other users' schedules.
+
+- 49164e7: Add optional mutual TLS for the HTTPS listener and schedule controller→server hop via `TRUEFORGE_MTLS_ENABLED` / `TRUEFORGE_MTLS_CERTS_DIR`. Off by default; independent of ServiceFoundry `TRUEFOUNDRY_MTLS_*`.
+- 9bfcdaa: Replace string creator fields (`created_by` / `triggered_by`) with a non-null `created_by_subject` JSON object on agent, session, schedule, and schedule_run. Ownership and list filters use `tenant_id` + `created_by_subject.subject_id`.
+- a3a1395: Adds first-class cron schedules for existing agents: persist them, manage them via /api/v1/schedules, validate cron policy at write time, and advance due runs through a single-dispatcher claim path.
+- 4b1aa55: Enforce external agent authorization on agent list, get, snippets, update, delete, and referenced-agent use.
+- ef316d2: Add optional `OIDC_ALLOWED_EMAILS` allowlist (exact addresses and `*` globs) so OIDC logins can be limited to approved emails or domains.
+- 2025cef: Store Postgres app tables and Kysely migration bookkeeping in a dedicated `trueforge` schema, with an automatic one-time move from `public` so existing installs keep their data and migration history.
+- 8f1a2dc: Add a TrueFoundry-managed model registry. When `TRUEFOUNDRY_SERVICEFOUNDRY_SERVER_URL` is set, models are listed from the TrueFoundry ServiceFoundry server and turns are routed through the tenant's default AI Gateway with the caller's token. Mutually exclusive with OIDC. Supports internal mutual TLS to the ServiceFoundry server via `TRUEFOUNDRY_MTLS_ENABLED`/`TRUEFOUNDRY_MTLS_CERTS_DIR`.
+- 4137af1: Unify request-scoped RequestContext across standalone, OIDC, and TrueFoundry auth. `/auth/me` returns `{ data: { type, tenant_id, subject, roles } }` (`type` is `oidc-connected` | `default`; OpenAPI/SDK regen deferred to CI).
+
+### Patch Changes
+
+- d89b2ff: Persist zero-initialized metrics on agent sessions.
+- 172bf14: Add caller-scoped session metrics meters, charts, and chart-data under `/internal/metrics` via a server-owned `ISessionMetricsStore`.
+- d89b2ff: Fold session metrics totals on createTurn and terminal writes.
+- af40621: Add persisted `agent.metadata` on Postgres and SQLite; store `updateAgent` can patch manifest and/or metadata.
+- 1c67237: Add agent `external_id` (`string | null` on create) with a tenant-scoped partial unique index (Postgres and SQLite).
+- 38abb11: Sync ServiceFoundry remote agents on create/update/delete and store the remote id in `external_id`. Filter `listAgents` by `external_ids`. Keep general ServiceFoundry HTTP at 10s and agent CRUD calls at 3s.
+- 49360bc: Drop unused `agent.metadata`; remote identity is stored in `external_id`.
+- 38abb11: Reject reserved agent names `tfg` and `trueforge` in create requests.
+- 7968f59: Use injected `db` for TrueFoundryAgentStore advisory-lock transactions.
+- a60f4c2: Add GET /api/v1/agents/{agent_id}/code-snippets with TypeScript TrueForge SDK stream and non-stream samples.
+- 55cc5e7: Add a dedicated controller entry point (`dist/controller-main.js`) that runs the periodic control loops (schedule dispatch) as a single-replica process for distributed mode (`STANDALONE=false`). It targets the server API via the new `SERVER_URL` env (default `http://localhost:$PORT`). Standalone mode keeps running the controller inside the server process.
+- 2dcb3a0: Add `created_by_me` to list sessions and list schedules so callers can restrict results to resources they created (excluding managed-agent visibility).
+- 58940a7: Report a Daytona key that cannot register snapshots as missing key permissions (403) instead of an invalid API key (422), and name the grants to add in the Daytona dashboard.
+- c40129c: Cap Daytona status-refresh calls at 1 minute so a stalled provider cannot hang request handlers.
+- 9f3b4cd: Make optional `VITE_BASE_PATH` apply to both the UI public path and API/auth URLs (defaults to `/`).
+- 80d5bee: Move `resolveInvokeHeaders` onto `IMcpServerWithAuthStore` (not `IMcpServerStore`) so DB backends stay CRUD-only and turn/MCP invoke paths take the request-scoped with-auth store for configured headers and TrueFoundry gateway Bearer.
+- 541d65d: Split MCP server persistence (`IMcpServerStore`) from Connect UX auth (`IMcpServerWithAuthStore` / `McpServerWithAuthStore`) so DB backends stay CRUD + OAuth client columns while authorize/status/revoke compose in via a token store.
+- c65b813: Apply `POSTGRES_SSL_MODE` as `sslmode` on the Postgres connection URL.
+- f4fb4bd: Accept `DATABASE_URL` for hosted mode so managed Postgres (e.g. Railway) can be wired without discrete `POSTGRES_*` vars.
+- a37cdea: Add NOT NULL `agent_id` on `schedule` (backfilled from `agent`), FK to `agent(id)` ON DELETE CASCADE (replacing the `(tenant_id, agent_name)` FK), and `(tenant_id, agent_id)` index for per-agent listing.
+- 3bc2ed8: List schedules is token-paginated (`limit` / `page_token`) and filters by comma-separated `agent_names`.
+- feb94aa: Add GET /api/v1/schedules/{schedule_id}/runs to list a schedule's runs (newest `scheduled_for` first), with the same creator-or-admin access as other schedule routes.
+- 8e64757: Add POST /api/v1/schedules/runs to trigger an immediate schedule run
+- 4ced8ef: Dispatch schedule runs through the session/turn API: get-or-create a session keyed by run id, then create a turn only when that session has none.
+- 38ce068: Add tenant-unique optional session `external_id`, `Sessions.getOrCreateByExternalId`, and an idempotent `POST /internal/sessions/get-or-create-by-external-id` endpoint and SDK method.
+- b654052: Add caller-owned session `metadata` (`Record<string, string>` with size limits) on create, update, and read. Persist as a new `session.metadata` jsonb column; leave session `custom` unchanged.
+- 4c1260e: Wire TrueFoundry MCP authorize, status, and delete through ServiceFoundry; stub list auth_status; gate oauth2 invoke mid-turn with authRequired; paginate MCP server lists. UI treats SFY consent `code`/`error` on the FE landing like local DCR success/failure.
+- 32bf7d6: TrueFoundry MCP invoke headers are owned by the MCP store (`resolveInvokeHeaders`), so gateway Bearer comes from the request-scoped store rather than being threaded through turn/tools APIs.
+- 185dc04: Per-MCP-server request headers via `x-tfg-mcp-headers`, merged into the invoke headers for the named server. Lets a caller that authenticates as one identity give each MCP server the identity it should actually see.
+- f175245: Add TrueFoundry-managed MCP list/get (SFY registry, gateway proxy URL, create/update 424).
+- Updated dependencies [648273b]
+- Updated dependencies [d89b2ff]
+- Updated dependencies [648273b]
+- Updated dependencies [172bf14]
+- Updated dependencies [d89b2ff]
+- Updated dependencies [a70543b]
+- Updated dependencies [2dcb3a0]
+- Updated dependencies [9bfcdaa]
+- Updated dependencies [c40129c]
+- Updated dependencies [52987a7]
+- Updated dependencies [38ce068]
+- Updated dependencies [b654052]
+- Updated dependencies [4c1260e]
+- Updated dependencies [8f1a2dc]
+- Updated dependencies [f175245]
+ - @truefoundry/[email protected]
+ - @truefoundry/[email protected]
+
## 0.2.0-rc.0
### Minor Changes
diff --git a/packages/trueforge/package.json b/packages/trueforge/package.json
index fadc511c3..30cbb7e4f 100644
--- a/packages/trueforge/package.json
+++ b/packages/trueforge/package.json
@@ -1,6 +1,6 @@
{
"name": "@truefoundry/trueforge",
- "version": "0.2.0-rc.0",
+ "version": "0.2.0-rc.1",
"description": "TrueForge Agent Harness: server, HTTP API, and chat UI (npx @truefoundry/trueforge)",
"author": "TrueFoundry",
"license": "MIT",