@opencow-ai/opencow-agent-sdk 0.4.18 → 0.4.20
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/AgentTool.d.ts +49 -4
- package/dist/capabilities/tools/AgentTool/agentInvocationDedupe.d.ts +7 -0
- package/dist/capabilities/tools/AgentTool/agentLifecycleFinalizer.d.ts +3 -0
- package/dist/capabilities/tools/AgentTool/inputSchema.d.ts +36 -0
- package/dist/capabilities/tools/AgentTool/worktreeIsolation.d.ts +4 -0
- package/dist/capabilities/worktree.d.ts +10 -0
- package/dist/capabilities/worktreeAvailability.d.ts +20 -0
- package/dist/cli.mjs +1189 -716
- package/dist/client.d.ts +3 -2
- package/dist/client.js +1047 -483
- package/dist/entrypoints/sdk/runtimeTypes.d.ts +5 -7
- package/dist/lib/errors.d.ts +8 -0
- package/dist/sdk.js +1047 -483
- package/dist/session/backgroundAbortRegistry.d.ts +15 -7
- package/dist/session/backgroundTaskScope.d.ts +29 -0
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -34,8 +34,9 @@ export { attachSdkLogObserver, detachSdkLogObserver, } from './lib/log/observer.
|
|
|
34
34
|
* agentId. Background agents outlive the launching turn AND the launching
|
|
35
35
|
* Query/session — after a host stops the main session there is no live
|
|
36
36
|
* Query to call `query.killAgent(agentId)` on, but the agent's abort
|
|
37
|
-
* controller stays reachable in the process-level registry.
|
|
38
|
-
*
|
|
37
|
+
* controller stays reachable in the process-level registry. The returned
|
|
38
|
+
* Promise resolves after the agent's MCP cleanup and finalizers complete;
|
|
39
|
+
* unknown or already-settled agents resolve immediately.
|
|
39
40
|
*/
|
|
40
41
|
export { abortBackgroundAgentById as killBackgroundAgent } from './session/backgroundAbortRegistry.js';
|
|
41
42
|
/** @stable */
|