Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(server): t3_thread_import, conversation only #16731

Closedjuliusmarmingewants to merge 1 commit intomain fromt3code/peer/thread-importopened View on GitHub

Showing 15 changed files with 56 additions and 0 deletions (loading 12).

x
0 of 15 viewed, 15 left
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -268,6 +268,7 @@
peerLinks: true,
mcpModeLimitHeader: true,
linkFence: true,
+ threadImport: true,
​
35 additions and 0 deletionsapps/server/src/mcp/toolkits/project/handlers.tsModified
View file
@@ -11,6 +11,7 @@
import * as FileSystem from "effect/FileSystem";
import * as Option from "effect/Option";
import * as ThreadLaunch from "../../../orchestration-v2/ThreadLaunchService.ts";
+import * as ThreadImportService from "../../../orchestration-v2/ThreadImportService.ts";
import * as ThreadMessageIntake from "../../../orchestration-v2/ThreadMessageIntake.ts";
import * as Claims from "../../../orchestration-v2/AttachmentClaims.ts";
import * as Project from "../../../project/ProjectService.ts";
@@ -250,6 +251,40 @@
// The launched thread carries the caller's link, if it has one.
"stamped",
+ t3_thread_import: McpToolAccess.startsThreads(
+ (input) => input,
+ (input, { runtimeMode, interactionMode, linkOrigin }) =>
+ Effect.gen(function* () {
+ const projects = yield* access;