Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: scheduled tasks (automations) #3638

Mergedjuliusmarmingemerged 13 commits intot3code/codex-turn-mapping fromrefs/pull/3638/headmerged by juliusmarminge View on GitHub

Showing 24 changed files with 84 additions and 0 deletions (loading 21).

x
0 of 24 viewed, 24 left
24 additions and 0 deletionsapps/server/src/mcp/toolkits/orchestrator/handlers.tsModified
View file
@@ -29,6 +29,30 @@
const service = yield* OrchestratorMcpService;
return yield* service.cancelTask(scope, input);
}),
+ schedule_task: (input) =>
+ Effect.gen(function* () {
+ const scope = yield* McpInvocationContext;
+ const service = yield* OrchestratorMcpService;
+ return yield* service.scheduleTask(scope, input);
+ }),
+ list_scheduled_tasks: () =>
+ Effect.gen(function* () {
+ const scope = yield* McpInvocationContext;
+ const service = yield* OrchestratorMcpService;
+ return yield* service.listScheduledTasks(scope);
+ }),
+ update_scheduled_task: (input) =>
+ Effect.gen(function* () {
+ const scope = yield* McpInvocationContext;
+ const service = yield* OrchestratorMcpService;
+ return yield* service.updateScheduledTask(scope, input);
+ }),
+ delete_scheduled_task: (input) =>
+ Effect.gen(function* () {
+ const scope = yield* McpInvocationContext;
+ const service = yield* OrchestratorMcpService;
+ return yield* service.deleteScheduledTask(scope, input);
+ }),
create_threads: (input) =>
Effect.gen(function* () {