@cubos/agent-sdk 0.0.1155336 → 0.0.1155530

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.
@@ -142,10 +142,10 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
142
142
  last_fired_at: string | null;
143
143
  max_runs: number | null;
144
144
  next_fire_at: string | null;
145
- notify_target: Record<string, unknown> | null;
146
145
  prompt_template: string | null;
147
146
  rendered_prompt: string | null;
148
147
  run_count: number;
148
+ target_conversation_id: string | null;
149
149
  task_template: import("../generated/schema.js").components["schemas"]["TaskTemplateRef"] | null;
150
150
  tasks: import("../generated/schema.js").components["schemas"]["RunTask"][];
151
151
  timezone: string;
@@ -165,10 +165,10 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
165
165
  last_fired_at: string | null;
166
166
  max_runs: number | null;
167
167
  next_fire_at: string | null;
168
- notify_target: Record<string, unknown> | null;
169
168
  prompt_template: string | null;
170
169
  rendered_prompt: string | null;
171
170
  run_count: number;
171
+ target_conversation_id: string | null;
172
172
  task_template: import("../generated/schema.js").components["schemas"]["TaskTemplateRef"] | null;
173
173
  tasks: import("../generated/schema.js").components["schemas"]["RunTask"][];
174
174
  timezone: string;
@@ -15437,14 +15437,19 @@ export interface components {
15437
15437
  max_runs: number | null;
15438
15438
  /** Format: date-time */
15439
15439
  next_fire_at: string | null;
15440
- /** @description Where notify_user delivers, when pinned at activation. */
15441
- notify_target: Record<string, unknown> | null;
15442
15440
  /** @description Trigger's prompt template (null for inline runs without a trigger). */
15443
15441
  prompt_template: string | null;
15444
15442
  /** @description `prompt_template` rendered against `bound_params` — what each firing launches. */
15445
15443
  rendered_prompt: string | null;
15446
15444
  /** Format: int32 */
15447
15445
  run_count: number;
15446
+ /**
15447
+ * Format: uuid
15448
+ * @description The conversation `notify_user` delivers into, when pinned at
15449
+ * activation — always a conversation of the run's own user. Null: the
15450
+ * user's most recently active channel.
15451
+ */
15452
+ target_conversation_id: string | null;
15448
15453
  task_template: components["schemas"]["TaskTemplateRef"] | null;
15449
15454
  /** @description Background tasks this run has spawned, newest first. */
15450
15455
  tasks: components["schemas"]["RunTask"][];
@@ -15473,7 +15478,9 @@ export interface components {
15473
15478
  params?: unknown;
15474
15479
  /**
15475
15480
  * Format: uuid
15476
- * @description Optional conversation the task's `notify_user` delivers into.
15481
+ * @description Optional conversation the task's `notify_user` delivers into. Must be a
15482
+ * conversation of `user_id`: one of another user, or of no user, is
15483
+ * refused with 422.
15477
15484
  */
15478
15485
  target_conversation_id?: string | null;
15479
15486
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1155336",
3
+ "version": "0.0.1155530",
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",