@cubos/agent-sdk 0.0.1138604 → 0.0.1140347

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.
@@ -2940,7 +2940,7 @@ export interface paths {
2940
2940
  put?: never;
2941
2941
  /**
2942
2942
  * Spawn background task
2943
- * @description Creates a ghost conversation (`origin='background'`) seeded with a `task_prompt`, run alone by `agent_slug` in the optional `user_id` context. The dispatcher claims it immediately and returns the new conversation id.
2943
+ * @description Creates a ghost conversation (`origin='background'`) seeded with a `task_prompt`, run alone by `agent_slug` in the optional `user_id` context. The dispatcher claims it immediately and returns the new conversation id. 400 when `user_id` is not an `active` user of the tenant: the run starts at once, so — unlike a scheduled run, which the scheduler holds until approval — there is no point at which a pending or blocked user could be checked later.
2944
2944
  */
2945
2945
  post: {
2946
2946
  parameters: {
@@ -12761,7 +12761,8 @@ export interface components {
12761
12761
  /**
12762
12762
  * Format: uuid
12763
12763
  * @description User context the task runs in (memory, channels, and the identity
12764
- * forwarded to MCP servers). Optional; must belong to the tenant.
12764
+ * forwarded to MCP servers). Optional; must be an `active` user of the
12765
+ * tenant.
12765
12766
  */
12766
12767
  user_id?: string | null;
12767
12768
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1138604",
3
+ "version": "0.0.1140347",
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",