Repository navigation
@truefoundry/trueforge@0.187.0-rc.1
Pre-releasePatch Changes
-
0c80700: A turn cut off by a server shutdown now reads "Server stopped the turn before shutting down. Please retry", and the server logs each turn it abandons at shutdown.
-
c09039b: The agent config model picker can switch an agent to Auto and choose its candidate models. Auto sits above the provider list, and a warning label on the candidates explains when saved models are no longer in the workspace list, with Review changes and Sync with workspace actions on hover.
Model picker rows now carryproperties.autoRouting. -
bf0fa02: The agent spec
modelis now{ type: "fixed", name, params? }or{ type: "auto", candidate_models }(4 to 10 models).
A migration rewrites saved agents and inline sessions. Requests withouttypestill work. -
3a10a28: Report agent metrics as a pair: the caller's own figures plus the agent-wide ones, which are null when the caller may not see other users' sessions. The agent library spend column now shows "yours / total", with a dash when the total is withheld.
-
eac2ddf: Apply the same capability checks on agent update as on create: updating an agent now returns 422 if web search or memory is enabled while the tenant switch or provider is missing, or if the named sandbox environment is disabled. Sessions still grandfather stored specs so existing chats keep running.
-
36f9326: Add
GET /api/v1/artifactsto list the caller's artifacts, filterable by session and name substring. -
17ddf1e: Add
artifactandartifact_versiontables with Postgres and SQLite artifact stores. -
5fa1a8f: Add
POST /api/v1/artifacts/{artifact_id}/updateto rename the caller's artifacts. The SDK gainsartifacts.update. -
5193b09: Record the creating subject, session and agent on each artifact version, and store its entry point, size and storage prefix in a
files_metadatadocument. -
e41abb3: Service API key may create or list turns on
/api/v1/sessions/{session_id}/turnswithassume-user: session-creator(identity is the session creator). -
8afe8ff: Service-key
assume-usercan list and create turns in TrueFoundry mode without a caller token. -
c7cf075: Admins can choose which models Auto may route to (
auto_model_routing.candidate_models: 4 to 10account/modelnames; empty until chosen, which leaves Auto unavailable, and can't be cleared once set). -
ff00eb2: Add a tenant switch for auto model routing, on by default, on the Models settings page. Turning it off turns off model routing for the tenant:
autospecs are rejected and subagents run on their parent's model.GET /api/v1/capabilitiesnow returnsauto: { status, reason? }wherestatusisnot_configured,disabled, orenabled, replacingauto.enabled. The configuration manifest addsauto_model_routing: { enabled }. -
57779a6:
GET /api/v1/capabilitiesreportsauto.enabled: model routing is on for the tenant and the user has a model in every routing cluster. The new-chat model picker offers Auto, which is only selectable when that capability is enabled. Core addscanRouteEveryCategory. -
fd24f4c: The Auto model routing settings card shows which tiers each selected model covers, warns when a tier has no model, and locks models that do not support Auto routing with the reason on hover.
Model picker rows now carryproperties.autoRouting. -
e99c4f6: Add a Bowmark remote MCP server preset (API key header) to the shipped MCP catalog.
-
0790a1a: The first time Auto model routing is enabled for a tenant, New Chat switches the draft model preference to Auto once. A stored marker keeps later model choices from being overwritten. The model picker shows a hover tooltip explaining Auto routing. Draft spec updates made back to back before a re-render now build on each other instead of the last one winning.
-
66d61da: Add a Chat History search icon that opens a centered popup to filter loaded sessions by title.
-
761508c: Add an Assistant / Agents picker above the New Chat composer and show an agent icon beside the name in Try Agent headers.
-
4b8a354: Make the per-turn sub-agent concurrency limit configurable with
MAX_PARALLEL_SUB_AGENTS, defaulting to 10. -
d85003f: Share sandbox environment reads across chat pickers, and let the host seed capabilities so the shell does not fetch them again after boot.
-
7f5fdba: List the default sandbox environment first, then sort remaining environments by most recently updated. Sort agents by most recently updated as well. Apply ordering in the backend before pagination. Show the actual updated timestamp for every environment, including platform-managed and read-only environments.
-
be07a30: Fix editing a message while a turn is open. Save & Rerun no longer sends twice, which threw "Composer is not available", and edit or retry no longer cancels and re-subscribes to the open turn before creating the branch. Tool approvals for directly loaded MCP tools now offer "Approve for 10 minutes" and "Approve in this session"; the runtime resolves the policy target for each pending approval and exposes it as
PendingApproval.policyTarget. Use In Code stream samples iterate turn events directly: the TypeScript sample no longer unwrapswithMetadata, and the Python sample opens the stream with awithblock. -
60a6591: Add a first-run onboarding flow that connects a model (required) and MCP servers (optional) when no model provider exists. It replaces the
initialSettingsOpenprop with anonboardingopt-out onTrueForgeUI. -
7f02071: Widen the desktop sidebar with full brand logo and labeled nav; move Docs and Settings under Schedules; embed chat history + filter below Settings; move Environments into Settings; update selected-rail gradient and slate-50 page/sidebar background; add collapse/expand with logo-hover expand on the icon rail; pair IBM Plex Sans with IBM Plex Mono for code.
-
e5ae93c: Remove the
created_by_session_idfilter from the list artifacts API, and trim each listed artifact toid,name,created_by_subject,created_atandupdated_at. -
a83cfd8:
GET /api/v1/modelsnow reportsproperties.auto_routingfor each model: whether the model supports Auto routing, then the categories it serves and whether it is in the Auto candidate list, or why it is unsupported. It also always returnscanonical_model,nullwhen unknown. The read shape is the newResolvedModelProperties;ModelPropertiesis unchanged. -
b0742ee: Add
GET /api/v1/sessions/{session_id}/artifactsto list the artifacts that have a version created in a session. -
28b3711: The MCP headers resolver's 401 hook is
onUnauthorizedand returns consent. Omitting the hook fails the 401. Anx-tfg-mcp-headersentry whoseAuthorizationis spelled in any casing still skips DCR. -
0abc518: Memory failures during a chat are now reported to Sentry: setting up memory for a turn, loading the memory summary at the start of a session (timeouts stay warnings), and the memory search and save tools.
-
0c25dd3: Turn memory on by default: the tenant memory switch now defaults to on, a migration turns it on for existing tenants, and the agent builder starts new agents with Memory on when memory is available.
-
6a07b91: Sync model catalog from truefoundry/models: set Together Qwen/Qwen3.8-2.4T-A95B max output tokens to 131072 and zai-org/GLM-5.2-FP8 context length to 1048575.
-
68517b4: Model catalog: add Gemini 4 Hydrogen (
gemini-4-hydrogen) to thegoogle-geminiprovider presets and Inkling 2 Small (thinkingmachines/Inkling-2-Small) to thetogetherprovider presets. -
60a6591: Keep the onboarding MCP Connect buttons usable after an OAuth popup opens, so an abandoned popup no longer leaves them disabled until the page reloads.
-
Start the 0.187.0 release candidate line.
-
41ffa49: Rename the model routing categories
direct,fixed_stepsandadaptivetobasic,standardandadvanced. Each category description now stands on its own, without referring to another category.TRUEFOUNDRY_MODEL_ROUTINGcategoriestakes the new keys. -
25a7dd7: Render
thread.switch_modelin the chat thread as an expandable Agent steps row with the event JSON, mirroring context compaction. -
1b384c3: Reset agent config now clears custom model parameters. Dedicated
maxTokensandreasoningEffortcontrols are kept. -
80803da: Revert the internal
POST /api/internal/sessions/{session_id}/turnsendpoint and theservicesession source arm. KeepgetSessionByIdfor service-key assume-user turn flows. -
f8ad5f0: Route the root thread when the spec model is
auto. The spec is accepted only when model routing is on for the tenant, and it cannot carry model params. The root runs on the cheapest model and effort in the chosen cluster. If routing cannot choose one, the turn fails. A rebuilt turn resumes on the saved model and effort. -
8e000d0: Route an auto root thread to a new
frontiermodel cluster. Subagents are never offered it, andRouteInputnow takes thecategoriesthe classifier may choose from. GPT-6.1 Sol and Sonnet 5.5 atmaxmove fromadaptivetofrontier. Thefixed_stepsandadaptivedescriptions are sharpened.TRUEFOUNDRY_MODEL_ROUTING.categoriestakes an optionalfrontier. -
9421cfb: Select each thread's model in the orchestrator, before the thread's first model call, instead of when the thread is built: a new turn's main thread is routed on the conversation and each new subagent on its delegated task. When model routing chooses a model, a new
thread.switch_modelevent records it withmodel.nameandmodel.params.reasoning_effort, and the model is saved with the thread. Any other model is neither recorded nor saved: a thread resumes on its saved routed model, or else on the model its spec or subagent request names, and rebuilds never route an existing thread.thread.createdno longer carries a model. An unknown model or a failed Auto routing now ends the turn with an error instead of returning 422.AgentThreadOrchestratortakes a requiredresolveModelinput;ITurnResourceResolver.resolveModelroutes subagents, falls back to an Auto root's model and reports how the model was chosen, androuteModelis replaced byautoModelRouterAvailable.ISessionStore.createTurnno longer takesmain_thread_model, and the newpatchThreadModelsaves a thread's model once chosen. -
dd553aa: Model routing loads one shared decision model at startup from
decision_model.nameanddecision_model.api_keyinTRUEFOUNDRY_MODEL_ROUTING, and every tenant classifies with it.
decision_modelis top-level there; turn off gateway logging for its virtual account. -
e4fd3d4: Backfill missing
config.sandbox.environment_nameon saved agents and inline session specs that have sandbox enabled, pinning each to the tenant default environment (ortrueforge-sandbox-envwhen no default is set). Docs now require the field when sandbox is enabled instead of documenting omit-as-default. -
1b384c3: Show a success toast after an agent is created or updated, and remove the extra bottom padding in the Reset agent config dialog.
-
70db66c: Name session API Sentry spans by route template and record page-size query params and response size, so events latency aggregates across sessions.
-
e11c7e8: Send a Server-Timing header on every response so DevTools can separate handler time from network delay.
-
5ec1a26: Add a Postgres index on
session_eventby event type (event->>'type'), so queries that filter events by type no longer parse every event payload. The migration usesIF NOT EXISTS, so large deployments can pre-create the indexCONCURRENTLYto avoid blocking event inserts during the build. -
0b09c03: New Agent chats are stamped
tfg.is_create_agent, and existing sessions are rewritten so they still reopen as the agent builder and stay out of memory. -
d818222: Schedule-run sessions now carry
tfg.source = 'schedule'metadata, and existing schedule-run sessions are backfilled so source counts include them. -
09ec808: Add Settings → Appearance with a typeface picker; default face is Geist
-
eb8fc56: Load Memory and Web search settings through queries and show skeletons while they load.
-
8c73885: Shell UI polish: page fade, denser full-height tables (default 25 rows, sticky header), matched sidebar icons, light slate chrome + indigo selected nav items (history unchanged), Agents/Schedules Chat + tighter vertical ellipsis, try-agent history icon (no row age / agent subtitle).
-
e54e1ea: Named-agent session create validates skills with the service API key when
agent_idis set; inline sessions and agent save still use the caller token. -
cb4eff6: Add subagent model routing, off by default and enabled per tenant with
TRUEFOUNDRY_MODEL_ROUTINGin TrueFoundry mode. A classifier picks the task's cluster of model and effort pairs, and the subagent runs on the cheapest pair the caller has. Core adds the routing module (createModelRouter, which classifies with anyIDecisionModel),IDecisionModelandOpenAIDecisionModel. -
4f26e1f: Record a fixed model spec's model on the main thread in the createTurn insert, and emit
thread.switch_modelonly when routing picks a different model or effort. -
6b6d220: Document tenant-wide web search and memory switches, clarify those Settings descriptions, and keep query strings intact when the TrueForge MCP server calls list-style API tools.
-
8732a95: Persist the model each subagent runs on, including the effort returned with it, so a rebuilt subagent resumes on both. A subagent on a different model from its parent runs on that model's own defaults instead of the parent's params.
AgentDefinitionno longer carries the model; it's a separateAgentModel. -
5f25401: Built-in TrueForge MCP write and destructive tools require approval again, and "approve for this session" and timed approvals now work for them and carry over to later turns.
IToolSetgains a requiredsupportsApprovalsflag, and approval policies apply to any tool set (system or user) where it is true.AgentThread.getUserToolSets()is replaced bygetToolSets().- The built-in TrueForge MCP now tells the agent it can attach configured MCP servers and skills to the current chat. After attaching one, the agent asks the user to send another message, because the new tools are available from the next message.
- TrueForge MCP internal API tool calls use the process mTLS fetch and the caller's credential directly, instead of the Fern SDK passthrough client.
-
bf57ece: The built-in TrueForge MCP now uses the same id and name,
trueforge:mcp, and labels its tools astruefoundry-systeminstead ofmcp. -
1b384c3: Replace the "Editing" header label with an "Unsaved changes" indicator before Reset. It shows only when editing a saved agent and the live config differs from it.
-
e5350c2: An inline chat can replace its own agent spec through the TrueForge MCP tool
update_current_session, for example to attach MCP servers or turn capabilities on or off. Send the full spec back; omitted fields are removed. Named sessions reject the update. -
b0ce6ec: Bump high/critical dependency advisories where possible (node-forge, follow-redirects, body-parser, js-yaml, brace-expansion, source-map-js, launch-editor) and upgrade Jest to 30.
-
3050b24:
x-tfg-mcp-headerspasses per-MCP-server headers. Open-source mode merges a server's entry over its registered headers, and an entryAuthorizationskips DCR. TrueFoundry mode sends the entry (flat, or a nested virtual MCP map) asx-tfy-mcp-headersand no longer calls authorize before connecting. On a 401: open-source fails when the entry carriedAuthorization, otherwise a DCR server restarts consent; TrueFoundry fails whenever the server had an entry, otherwise asks authorize for a consent URL and fails with 422 when authorize returns none or reports no consent is needed. -
Updated dependencies [e4fd3d4]
-
Updated dependencies [bf0fa02]
-
Updated dependencies [5fa1a8f]
-
Updated dependencies [c7cf075]
-
Updated dependencies [ff00eb2]
-
Updated dependencies [57779a6]
-
Updated dependencies [8d93e1c]
-
Updated dependencies [8487786]
-
Updated dependencies [4b8a354]
-
Updated dependencies [485a1de]
-
Updated dependencies [18b5718]
-
Updated dependencies [b636956]
-
Updated dependencies [0a7ae41]
-
Updated dependencies [fe41f24]
-
Updated dependencies [e5ae93c]
-
Updated dependencies [a83cfd8]
-
Updated dependencies [b0742ee]
-
Updated dependencies [28b3711]
-
Updated dependencies [fe199af]
-
Updated dependencies
-
Updated dependencies [41ffa49]
-
Updated dependencies [80803da]
-
Updated dependencies [f8ad5f0]
-
Updated dependencies [8e000d0]
-
Updated dependencies [50ae5e0]
-
Updated dependencies [9421cfb]
-
Updated dependencies [e4fd3d4]
-
Updated dependencies [cb4eff6]
-
Updated dependencies [4f26e1f]
-
Updated dependencies [c12c126]
-
Updated dependencies [8732a95]
-
Updated dependencies [5f25401]
-
Updated dependencies [bf57ece]
-
Updated dependencies [5e8183a]
-
Updated dependencies [b0ce6ec]
-
Updated dependencies [3050b24]
- @truefoundry/trueforge-sdk@0.187.0-rc.1
- @truefoundry/trueforge-core@0.187.0-rc.1