@opencow-ai/opencow-agent-sdk 0.4.6 → 0.4.7
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/mcp/types.d.ts +1 -1
- package/dist/capabilities/tools/AgentTool/agentMerge.d.ts +8 -0
- package/dist/capabilities/tools/AgentTool/builtInAgents.d.ts +15 -0
- package/dist/capabilities/tools/AgentTool/runAgent.d.ts +13 -2
- package/dist/cli.mjs +343 -105
- package/dist/client.d.ts +10 -0
- package/dist/client.js +332 -77
- package/dist/constants/tools.d.ts +1 -1
- package/dist/controller/hooks.d.ts +17 -2
- package/dist/controller/loop.d.ts +2 -5
- package/dist/entrypoints/sdk/controlSchemas.d.ts +73 -1
- package/dist/entrypoints/sdk/coreSchemas.d.ts +17 -1
- package/dist/entrypoints/sdk/runtimeTypes.d.ts +22 -0
- package/dist/lib/envDynamic.d.ts +1 -1
- package/dist/providers/anthropic/teleport/api.d.ts +1 -1
- package/dist/providers/openai/shim.d.ts +2 -5
- package/dist/providers/provider.d.ts +2 -5
- package/dist/providers/shared/clientFactory.d.ts +2 -5
- package/dist/providers/shared/routing.d.ts +37 -6
- package/dist/sdk.js +332 -77
- package/dist/session/backgroundAbortRegistry.d.ts +23 -0
- package/dist/types/toolRuntime.d.ts +8 -5
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -28,6 +28,16 @@ export * from './entrypoints/sdk/toolTypes.js';
|
|
|
28
28
|
export type { SdkLogObserver, SdkErrorEvent, SdkDebugEvent, SdkDiagnosticEvent, SdkHttpEvent, } from './entrypoints/sdk/logTypes.js';
|
|
29
29
|
/** @stable */
|
|
30
30
|
export { attachSdkLogObserver, detachSdkLogObserver, } from './lib/log/observer.js';
|
|
31
|
+
/**
|
|
32
|
+
* @stable
|
|
33
|
+
* Process-level kill for a background (run_in_background) sub-agent by
|
|
34
|
+
* agentId. Background agents outlive the launching turn AND the launching
|
|
35
|
+
* Query/session — after a host stops the main session there is no live
|
|
36
|
+
* Query to call `query.killAgent(agentId)` on, but the agent's abort
|
|
37
|
+
* controller stays reachable in the process-level registry. Returns true
|
|
38
|
+
* if a live agent was found and signalled.
|
|
39
|
+
*/
|
|
40
|
+
export { abortBackgroundAgentById as killBackgroundAgent } from './session/backgroundAbortRegistry.js';
|
|
31
41
|
/** @stable */
|
|
32
42
|
export { getInMemoryErrors } from './lib/log.js';
|
|
33
43
|
/**
|