@cubos/agent-sdk 0.0.1150539 → 0.0.1151166

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.
@@ -42,6 +42,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
42
42
  feature_user_notes: boolean;
43
43
  feature_web_search: boolean;
44
44
  feature_workspace?: boolean;
45
+ filesystem_shared_prefixes: string[];
45
46
  filesystem_ttl_turns: number | null;
46
47
  guardrail_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
47
48
  guardrail_prompt: string | null;
@@ -86,6 +87,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
86
87
  feature_user_notes: boolean;
87
88
  feature_web_search: boolean;
88
89
  feature_workspace?: boolean;
90
+ filesystem_shared_prefixes: string[];
89
91
  filesystem_ttl_turns: number | null;
90
92
  guardrail_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
91
93
  guardrail_prompt: string | null;
@@ -130,6 +132,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
130
132
  feature_user_notes: boolean;
131
133
  feature_web_search: boolean;
132
134
  feature_workspace?: boolean;
135
+ filesystem_shared_prefixes: string[];
133
136
  filesystem_ttl_turns: number | null;
134
137
  guardrail_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
135
138
  guardrail_prompt: string | null;
@@ -11573,6 +11573,14 @@ export interface components {
11573
11573
  * it; on write, the new field accepts this name too.
11574
11574
  */
11575
11575
  feature_workspace?: boolean;
11576
+ /**
11577
+ * @description Path prefixes of the filesystem shared by every conversation one user has with
11578
+ * this agent: what lives under them is the same in all of them, archived ones
11579
+ * included, and an edit in one is seen by the others. `/` shares the whole tree.
11580
+ * Empty (the default) shares nothing. Normalized on write: absolute, sorted, and a
11581
+ * prefix nested under another is dropped. Ignored while `feature_filesystem` is off.
11582
+ */
11583
+ filesystem_shared_prefixes: string[];
11576
11584
  /**
11577
11585
  * Format: int32
11578
11586
  * @description Turns without a file touch after which the conversation's filesystem expires
@@ -11951,12 +11959,19 @@ export interface components {
11951
11959
  kind: "archive_formats";
11952
11960
  /** @description MIME types it is opening — what it *won*. */
11953
11961
  mimes: string[];
11962
+ } | {
11963
+ /** @description Languages another plugin already held, as for `file_formats`. */
11964
+ conflicts?: components["schemas"]["Conflict"][];
11965
+ /** @enum {string} */
11966
+ kind: "code_runtimes";
11967
+ /** @description Language ids it is running, aliases included — what it *won*. */
11968
+ languages: string[];
11954
11969
  };
11955
11970
  /**
11956
11971
  * @description A kind of [`Capability`], without what it carries.
11957
11972
  * @enum {string}
11958
11973
  */
11959
- CapabilityKind: "file_formats" | "ai_providers" | "archive_formats";
11974
+ CapabilityKind: "file_formats" | "ai_providers" | "archive_formats" | "code_runtimes";
11960
11975
  Channel: (components["schemas"]["TelegramChannel"] & {
11961
11976
  /** @enum {string} */
11962
11977
  type: "telegram";
@@ -12055,6 +12070,16 @@ export interface components {
12055
12070
  */
12056
12071
  timeout_seconds?: number | null;
12057
12072
  };
12073
+ /**
12074
+ * @description The call the harness made of a reply the model gave as free text:
12075
+ * `send_message` in a chat, `notify_user` in a background run.
12076
+ */
12077
+ CoercedCall: {
12078
+ arguments: unknown;
12079
+ name: string;
12080
+ /** Format: uuid */
12081
+ tool_call_id: string;
12082
+ };
12058
12083
  ComponentInput: {
12059
12084
  description?: string;
12060
12085
  example_mdx?: string;
@@ -12101,9 +12126,9 @@ export interface components {
12101
12126
  * is the same on every replica.
12102
12127
  */
12103
12128
  held_by: string;
12104
- /** @description `mime`, `mime_prefix` or `extension`. */
12129
+ /** @description `mime`, `mime_prefix`, `extension` or `language`. */
12105
12130
  kind: string;
12106
- /** @description The MIME type, prefix or extension that was claimed twice. */
12131
+ /** @description The MIME type, prefix, extension or language that was claimed twice. */
12107
12132
  value: string;
12108
12133
  };
12109
12134
  Conversation: {
@@ -12485,6 +12510,11 @@ export interface components {
12485
12510
  feature_task_planning?: boolean | null;
12486
12511
  feature_user_notes?: boolean | null;
12487
12512
  feature_web_search?: boolean | null;
12513
+ /**
12514
+ * @description Path prefixes shared by every conversation one user has with this agent. Omit ⇒
12515
+ * none. Each must be absolute, without `.` or `..` segments; at most 32.
12516
+ */
12517
+ filesystem_shared_prefixes?: string[] | null;
12488
12518
  /**
12489
12519
  * Format: int32
12490
12520
  * @description Turns without a file touch after which the filesystem expires from the agent's
@@ -13193,6 +13223,7 @@ export interface components {
13193
13223
  * exclusive in normal flow.
13194
13224
  */
13195
13225
  LlmCallData: {
13226
+ coerced_call: null | components["schemas"]["CoercedCall"];
13196
13227
  /**
13197
13228
  * @description Transport-level error (DNS, TLS, HTTP 5xx, decode); set when
13198
13229
  * `response` is `None`.
@@ -13202,6 +13233,17 @@ export interface components {
13202
13233
  latency_ms: number;
13203
13234
  request: components["schemas"]["LlmRequestSnapshot"];
13204
13235
  response: null | components["schemas"]["LlmResponseSnapshot"];
13236
+ /**
13237
+ * Format: int64
13238
+ * @description Seq of the newest pending event (`user_message`, `task_prompt`,
13239
+ * `agent_directive`) the request was built from. Recovery closes a turn a
13240
+ * crash interrupted only if nothing newer has arrived, which the log alone
13241
+ * cannot tell: a message can land before this row and still be missing
13242
+ * from the request. `null` outside the turn loop and on rows written
13243
+ * before it was recorded (always serialized, like every other nullable
13244
+ * field of a response: the SDK types it as present).
13245
+ */
13246
+ seen_pending_seq: number | null;
13205
13247
  };
13206
13248
  LlmRequestSnapshot: {
13207
13249
  messages: components["schemas"]["Message"][];
@@ -14105,6 +14147,12 @@ export interface components {
14105
14147
  feature_task_planning?: boolean | null;
14106
14148
  feature_user_notes?: boolean | null;
14107
14149
  feature_web_search?: boolean | null;
14150
+ /**
14151
+ * @description Absent → leave alone; a list (possibly empty) replaces the shared prefixes. Adding
14152
+ * one merges that path out of every conversation of each user the next time any of
14153
+ * them is used; removing one leaves each conversation with its own copy.
14154
+ */
14155
+ filesystem_shared_prefixes?: string[] | null;
14108
14156
  /**
14109
14157
  * Format: int32
14110
14158
  * @description Tri-state: absent → leave alone; `null` → never expires; number → expire after
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1150539",
3
+ "version": "0.0.1151166",
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",