@opencow-ai/opencow-agent-sdk 0.4.18 → 0.4.19
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/dist/capabilities/tools/AgentTool/agentLifecycleFinalizer.d.ts +3 -0
- package/dist/cli.mjs +430 -222
- package/dist/client.d.ts +3 -2
- package/dist/client.js +578 -251
- package/dist/entrypoints/sdk/runtimeTypes.d.ts +5 -7
- package/dist/sdk.js +578 -251
- package/dist/session/backgroundAbortRegistry.d.ts +15 -7
- package/dist/session/backgroundTaskScope.d.ts +29 -0
- package/package.json +1 -1
|
@@ -20,14 +20,12 @@ export type Query = AsyncIterable<SDKMessage> & {
|
|
|
20
20
|
*/
|
|
21
21
|
interrupt(): Promise<void> | void;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
24
|
-
* touching the main turn or
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* per-agent "stop" affordance (desktop UI) on top of the model-facing
|
|
28
|
-
* TaskStop tool.
|
|
23
|
+
* Stop a single in-flight run_in_background sub-agent by its agentId without
|
|
24
|
+
* touching the main turn or sibling agents. Resolves after the agent's MCP
|
|
25
|
+
* cleanup and finalizers complete. Unknown or already-settled agents resolve
|
|
26
|
+
* immediately.
|
|
29
27
|
*/
|
|
30
|
-
killAgent(agentId: string): void
|
|
28
|
+
killAgent(agentId: string): Promise<void>;
|
|
31
29
|
};
|
|
32
30
|
/** @internal */
|
|
33
31
|
export type InternalQuery = Query;
|