pi-subagentura 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/subagent.ts +2 -3
package/package.json
CHANGED
package/subagent.ts
CHANGED
|
@@ -902,8 +902,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
902
902
|
pi.registerTool({
|
|
903
903
|
name: "get_subagent_status",
|
|
904
904
|
label: "Get Subagent Status",
|
|
905
|
-
description:
|
|
906
|
-
"Poll an async subagent job by jobId. Returns live preview of the subagent's current turn, active tool, and output.",
|
|
905
|
+
description: "Poll an async subagent job by jobId. Returns live preview of the subagent's current turn, active tool, and output.",
|
|
907
906
|
parameters: StatusParams,
|
|
908
907
|
|
|
909
908
|
async execute(_toolCallId, params, _signal, _onUpdate, _ctx) {
|
|
@@ -917,7 +916,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
917
916
|
text: `Job ${params.jobId} not found. It may have been cancelled.`,
|
|
918
917
|
},
|
|
919
918
|
],
|
|
920
|
-
|
|
919
|
+
details: { jobId: params.jobId, status: "not_found" },
|
|
921
920
|
isError: true,
|
|
922
921
|
};
|
|
923
922
|
}
|