Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): agents use linked environments through any T3 tool #16684

Mergedjuliusmarmingemerged 3 commits intot3code/peer/links fromrefs/pull/16684/headmerged by juliusmarminge View on GitHub

Showing 30 changed files with 40 additions and 0 deletions (loading 27).

x
0 of 30 viewed, 30 left
3 additions and 0 deletionsapps/server/src/mcp/toolkits/environment/tools.tsModified
View file
@@ -2,6 +2,7 @@
BackgroundActivityProfile,
BackgroundActivityProfileSelection,
ExecutionEnvironmentDescriptor,
+ OrchestratorMcpEnvironmentTarget,
OrchestratorMcpFailure,
ServerSettings,
ServerSettingsPatch,
@@ -41,6 +42,7 @@
...shared,
description:
"Read this server's identity and preferences. Providers and models: `orchestrator_capabilities`.",
+ parameters: Schema.Struct({ environmentId: OrchestratorMcpEnvironmentTarget }),
success: Schema.Struct({
environmentId: ExecutionEnvironmentDescriptor.fields.environmentId,
label: Schema.String,
@@ -56,6 +58,7 @@
description:
"Update environment-wide preferences. Live full-access or default caller thread only. Omitted fields are unchanged; `customInstructions: ''` clears it.",
parameters: Schema.Struct({
+ environmentId: OrchestratorMcpEnvironmentTarget,
defaultThreadEnvMode: ServerSettingsPatch.fields.defaultThreadEnvMode,
newWorktreesStartFromOrigin: ServerSettingsPatch.fields.newWorktreesStartFromOrigin,
enableProviderUpdateChecks: ServerSettingsPatch.fields.enableProviderUpdateChecks,
8 additions and 0 deletionsapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file