@cubos/agent-sdk 0.0.1159169 → 0.0.1159588

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.
@@ -10457,7 +10457,7 @@ export interface paths {
10457
10457
  post?: never;
10458
10458
  /**
10459
10459
  * Delete task template
10460
- * @description Deletes one task template by slug, cascading to its declared parameters and its per-agent enablement rows. Returns 404 when no template matches.
10460
+ * @description Deletes one task template by slug, cascading to its declared parameters, its per-agent enablement rows and its scheduled runs. The background tasks those runs spawned are kept, detached from the run. Returns 404 when no template matches.
10461
10461
  */
10462
10462
  delete: {
10463
10463
  parameters: {
@@ -10497,6 +10497,15 @@ export interface paths {
10497
10497
  };
10498
10498
  content?: never;
10499
10499
  };
10500
+ /** @description The background tasks of the template's scheduled runs kept being written to while it was deleted. Nothing was removed; retry after `Retry-After`. The body's `error` is `delete_contended`. */
10501
+ 503: {
10502
+ headers: {
10503
+ /** @description Seconds to wait before retrying. */
10504
+ "Retry-After"?: number;
10505
+ [name: string]: unknown;
10506
+ };
10507
+ content?: never;
10508
+ };
10500
10509
  };
10501
10510
  };
10502
10511
  options?: never;
@@ -12655,7 +12664,8 @@ export interface components {
12655
12664
  capabilities_md: string;
12656
12665
  /**
12657
12666
  * Format: int32
12658
- * @description Per-agent wall-clock cap (seconds) for the `eval` built-in tool.
12667
+ * @description Per-agent CPU-time cap (seconds) for the `eval` built-in tool; time the script
12668
+ * spends waiting on tool calls, fetches or a sleep does not count.
12659
12669
  */
12660
12670
  code_execution_timeout_seconds: number;
12661
12671
  /**
@@ -13842,7 +13852,8 @@ export interface components {
13842
13852
  capabilities_md?: string | null;
13843
13853
  /**
13844
13854
  * Format: int32
13845
- * @description Per-agent wall-clock cap (seconds) for the `eval` built-in tool. Omit ⇒ default 30.
13855
+ * @description Per-agent CPU-time cap (seconds) for the `eval` built-in tool; time the script
13856
+ * spends waiting on tool calls, fetches or a sleep does not count. Omit ⇒ default 30.
13846
13857
  */
13847
13858
  code_execution_timeout_seconds?: number | null;
13848
13859
  /**
@@ -14411,7 +14422,7 @@ export interface components {
14411
14422
  slug: string | null;
14412
14423
  };
14413
14424
  /** @enum {string} */
14414
- EventType: "user_message" | "task_prompt" | "agent_directive" | "agent_message" | "agent_file" | "llm_call" | "tool_result" | "turn_done" | "todo_update" | "memory_lookup" | "media_transcription" | "sub_conversation_started" | "sub_conversation_finished" | "eval_subcall_request" | "eval_subcall_result" | "compaction_done" | "filesystem_root" | "harness_error" | "guardrail_verdict" | "client_tool_call" | "title_generated" | "context_update";
14425
+ EventType: "user_message" | "task_prompt" | "agent_directive" | "agent_message" | "agent_file" | "llm_call" | "tool_result" | "turn_done" | "todo_update" | "memory_lookup" | "media_transcription" | "sub_conversation_started" | "sub_conversation_finished" | "eval_subcall_request" | "eval_subcall_result" | "compaction_done" | "filesystem_root" | "harness_error" | "guardrail_verdict" | "client_tool_call" | "title_generated" | "context_update" | "time_notice";
14415
14426
  ExternalChannel: {
14416
14427
  agent: components["schemas"]["AgentRef"];
14417
14428
  connection_secret_hint: string;
@@ -15959,7 +15970,8 @@ export interface components {
15959
15970
  capabilities_md?: string | null;
15960
15971
  /**
15961
15972
  * Format: int32
15962
- * @description Per-agent wall-clock cap (seconds) for the `eval` built-in tool.
15973
+ * @description Per-agent CPU-time cap (seconds) for the `eval` built-in tool; time the script
15974
+ * spends waiting on tool calls, fetches or a sleep does not count.
15963
15975
  */
15964
15976
  code_execution_timeout_seconds?: number | null;
15965
15977
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1159169",
3
+ "version": "0.0.1159588",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",