@cubos/agent-sdk 0.0.1150504 → 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
@@ -11944,12 +11952,26 @@ export interface components {
11944
11952
  /** @enum {string} */
11945
11953
  kind: "ai_providers";
11946
11954
  types: components["schemas"]["ProviderTypeSummary"][];
11955
+ } | {
11956
+ /** @description Types another plugin already held, as for `file_formats`. */
11957
+ conflicts?: components["schemas"]["Conflict"][];
11958
+ /** @enum {string} */
11959
+ kind: "archive_formats";
11960
+ /** @description MIME types it is opening — what it *won*. */
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[];
11947
11969
  };
11948
11970
  /**
11949
11971
  * @description A kind of [`Capability`], without what it carries.
11950
11972
  * @enum {string}
11951
11973
  */
11952
- CapabilityKind: "file_formats" | "ai_providers";
11974
+ CapabilityKind: "file_formats" | "ai_providers" | "archive_formats" | "code_runtimes";
11953
11975
  Channel: (components["schemas"]["TelegramChannel"] & {
11954
11976
  /** @enum {string} */
11955
11977
  type: "telegram";
@@ -12048,6 +12070,16 @@ export interface components {
12048
12070
  */
12049
12071
  timeout_seconds?: number | null;
12050
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
+ };
12051
12083
  ComponentInput: {
12052
12084
  description?: string;
12053
12085
  example_mdx?: string;
@@ -12094,9 +12126,9 @@ export interface components {
12094
12126
  * is the same on every replica.
12095
12127
  */
12096
12128
  held_by: string;
12097
- /** @description `mime`, `mime_prefix` or `extension`. */
12129
+ /** @description `mime`, `mime_prefix`, `extension` or `language`. */
12098
12130
  kind: string;
12099
- /** @description The MIME type, prefix or extension that was claimed twice. */
12131
+ /** @description The MIME type, prefix, extension or language that was claimed twice. */
12100
12132
  value: string;
12101
12133
  };
12102
12134
  Conversation: {
@@ -12478,6 +12510,11 @@ export interface components {
12478
12510
  feature_task_planning?: boolean | null;
12479
12511
  feature_user_notes?: boolean | null;
12480
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;
12481
12518
  /**
12482
12519
  * Format: int32
12483
12520
  * @description Turns without a file touch after which the filesystem expires from the agent's
@@ -13186,6 +13223,7 @@ export interface components {
13186
13223
  * exclusive in normal flow.
13187
13224
  */
13188
13225
  LlmCallData: {
13226
+ coerced_call: null | components["schemas"]["CoercedCall"];
13189
13227
  /**
13190
13228
  * @description Transport-level error (DNS, TLS, HTTP 5xx, decode); set when
13191
13229
  * `response` is `None`.
@@ -13195,6 +13233,17 @@ export interface components {
13195
13233
  latency_ms: number;
13196
13234
  request: components["schemas"]["LlmRequestSnapshot"];
13197
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;
13198
13247
  };
13199
13248
  LlmRequestSnapshot: {
13200
13249
  messages: components["schemas"]["Message"][];
@@ -14098,6 +14147,12 @@ export interface components {
14098
14147
  feature_task_planning?: boolean | null;
14099
14148
  feature_user_notes?: boolean | null;
14100
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;
14101
14156
  /**
14102
14157
  * Format: int32
14103
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.1150504",
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",