@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/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
  /**