Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mcp): schedule_task can run new-thread tasks in the project checkout #39760

Openipanasenko(GitHub profile, opens in a new tab)wants to merge 18 commits intomain fromrefs/pull/39760/headopened View on GitHub

Showing 6 changed files with 112 additions and 7 deletions (loading 3).

x
0 of 6 viewed, 6 left
11 additions and 1 deletionapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file
@@ -107,7 +107,16 @@
{ refused: "schedule tasks in this environment" },
McpToolAccess.writes(
- ({ scheduledTaskId, prompt, title, schedule, enabled, freshSession, bindToCurrentThread }) =>
+ ({
+ scheduledTaskId,
+ prompt,
+ title,
+ schedule,
+ enabled,
+ freshSession,
+ bindToCurrentThread,
+ workspace,
+ }) =>
Effect.gen(function* () {
if (scheduledTaskId === undefined) return yield* Effect.die("unreachable");
const scope = yield* McpInvocationContext.McpInvocationContext;
@@ -120,6 +129,7 @@
enabled,
freshSession,
bindToCurrentThread,
+ workspace,
});
}),
66 additions and 0 deletionsapps/server/src/mcp/OrchestratorMcpService.test.tsModified
View file