Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(cursor): show native Task children in the Agents panel #11214

Closedbompus(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/11214/headopened View on GitHub

Showing 5 changed files with 63 additions and 0 deletions (loading 4).

x
0 of 5 viewed, 5 left
63 additions and 0 deletionsapps/server/scripts/acp-mock-agent.tsModified
View file
@@ -16,6 +16,7 @@
const exitLogPath = process.env.T3_ACP_EXIT_LOG_PATH;
const antigravityProfile = process.env.T3_ACP_ANTIGRAVITY === "1";
const emitToolCalls = process.env.T3_ACP_EMIT_TOOL_CALLS === "1";
+const emitTaskSubagent = process.env.T3_ACP_EMIT_TASK_SUBAGENT === "1";
const emitInterleavedAssistantToolCalls =
process.env.T3_ACP_EMIT_INTERLEAVED_ASSISTANT_TOOL_CALLS === "1";
const emitGenericToolPlaceholders = process.env.T3_ACP_EMIT_GENERIC_TOOL_PLACEHOLDERS === "1";
@@ -600,6 +601,18 @@
});
+ if (emitTaskSubagent) {
+ yield* Effect.sync(() => {
+ writeJsonRpcNotification("session/update", {
+ sessionId: cancelledSessionId,
+ update: {
+ sessionUpdate: "tool_call_update",
+ toolCallId: "task-call-1",
+ status: "completed",
+ },
+ });
+ });
+ }
if (emitLateUpdateAfterCancel) {
yield* Effect.sleep("50 millis");
yield* Effect.sync(() => {
@@ -620,6 +633,56 @@