@cubos/agent-sdk 0.0.1143337 → 0.0.1144168
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.
- package/dist/generated/schema.d.ts +45 -3
- package/package.json +1 -1
|
@@ -5195,7 +5195,7 @@ export interface paths {
|
|
|
5195
5195
|
};
|
|
5196
5196
|
/**
|
|
5197
5197
|
* List a filesystem directory
|
|
5198
|
-
* @description Lists one directory of the conversation's virtual filesystem — a single level, never recursive. The filesystem is a content-addressed tree projected from the event log; every file mutation is a browsable snapshot. Pass `at_seq` to view the tree as it stood at a given event (the latest snapshot at or before it), which reaches history the agent can no longer see. Without `at_seq` you get the live tree — exactly what the agent would be shown on its next turn, so it comes back empty once the filesystem has expired after enough idle turns, which is also the tree a write would start from. `path` defaults to the root `/`. An empty list with null `root_event_id` means no files exist there.
|
|
5198
|
+
* @description Lists one directory of the conversation's virtual filesystem — a single level, never recursive. The filesystem is a content-addressed tree projected from the event log; every file mutation is a browsable snapshot. Pass `at_seq` to view the tree as it stood at a given event (the latest snapshot at or before it), which reaches history the agent can no longer see. Without `at_seq` you get the live tree — exactly what the agent would be shown on its next turn, so it comes back empty once the filesystem has expired after enough idle turns, which is also the tree a write would start from. `path` defaults to the root `/`. An empty list with null `root_event_id` means no files exist there. 410 when the directory is in the tree but its listing was reclaimed from the blob store (bucket lifecycle) — permanent, not a retry.
|
|
5199
5199
|
*/
|
|
5200
5200
|
get: {
|
|
5201
5201
|
parameters: {
|
|
@@ -5248,6 +5248,12 @@ export interface paths {
|
|
|
5248
5248
|
};
|
|
5249
5249
|
content?: never;
|
|
5250
5250
|
};
|
|
5251
|
+
410: {
|
|
5252
|
+
headers: {
|
|
5253
|
+
[name: string]: unknown;
|
|
5254
|
+
};
|
|
5255
|
+
content?: never;
|
|
5256
|
+
};
|
|
5251
5257
|
};
|
|
5252
5258
|
};
|
|
5253
5259
|
put?: never;
|
|
@@ -5267,7 +5273,7 @@ export interface paths {
|
|
|
5267
5273
|
};
|
|
5268
5274
|
/**
|
|
5269
5275
|
* Download a filesystem file
|
|
5270
|
-
* @description Streams the bytes of one file from the conversation's virtual filesystem as an attachment. Pass `at_seq` to download the file as it stood at a given event, which reaches history the agent can no longer see; without it you read the live tree, which 404s once the filesystem has expired after enough idle turns. `Content-Type` is the stored mime (inferred from the extension for entries that predate it); the `Content-Disposition` filename is the entry name.
|
|
5276
|
+
* @description Streams the bytes of one file from the conversation's virtual filesystem as an attachment. Pass `at_seq` to download the file as it stood at a given event, which reaches history the agent can no longer see; without it you read the live tree, which 404s once the filesystem has expired after enough idle turns. 410 when the file is still in the tree but its bytes were reclaimed from the blob store (bucket lifecycle) — permanent, not a retry. `Content-Type` is the stored mime (inferred from the extension for entries that predate it); the `Content-Disposition` filename is the entry name.
|
|
5271
5277
|
*/
|
|
5272
5278
|
get: {
|
|
5273
5279
|
parameters: {
|
|
@@ -5319,6 +5325,12 @@ export interface paths {
|
|
|
5319
5325
|
};
|
|
5320
5326
|
content?: never;
|
|
5321
5327
|
};
|
|
5328
|
+
410: {
|
|
5329
|
+
headers: {
|
|
5330
|
+
[name: string]: unknown;
|
|
5331
|
+
};
|
|
5332
|
+
content?: never;
|
|
5333
|
+
};
|
|
5322
5334
|
};
|
|
5323
5335
|
};
|
|
5324
5336
|
/**
|
|
@@ -6405,6 +6417,12 @@ export interface paths {
|
|
|
6405
6417
|
};
|
|
6406
6418
|
content?: never;
|
|
6407
6419
|
};
|
|
6420
|
+
410: {
|
|
6421
|
+
headers: {
|
|
6422
|
+
[name: string]: unknown;
|
|
6423
|
+
};
|
|
6424
|
+
content?: never;
|
|
6425
|
+
};
|
|
6408
6426
|
};
|
|
6409
6427
|
};
|
|
6410
6428
|
put?: never;
|
|
@@ -6476,6 +6494,12 @@ export interface paths {
|
|
|
6476
6494
|
};
|
|
6477
6495
|
content?: never;
|
|
6478
6496
|
};
|
|
6497
|
+
410: {
|
|
6498
|
+
headers: {
|
|
6499
|
+
[name: string]: unknown;
|
|
6500
|
+
};
|
|
6501
|
+
content?: never;
|
|
6502
|
+
};
|
|
6479
6503
|
};
|
|
6480
6504
|
};
|
|
6481
6505
|
/**
|
|
@@ -12468,6 +12492,14 @@ export interface components {
|
|
|
12468
12492
|
feature_task_planning: boolean;
|
|
12469
12493
|
feature_user_notes: boolean;
|
|
12470
12494
|
feature_web_search: boolean;
|
|
12495
|
+
/**
|
|
12496
|
+
* Format: int32
|
|
12497
|
+
* @description Mirrors `agents.filesystem_ttl_turns`. Only the file tools' description
|
|
12498
|
+
* depends on it — the note says whether the tree persists or after how
|
|
12499
|
+
* many idle turns it resets — so the preview counts the same sentence the
|
|
12500
|
+
* agent would be shown.
|
|
12501
|
+
*/
|
|
12502
|
+
filesystem_ttl_turns?: number | null;
|
|
12471
12503
|
identity_md?: string | null;
|
|
12472
12504
|
/**
|
|
12473
12505
|
* Format: uuid
|
|
@@ -12971,6 +13003,16 @@ export interface components {
|
|
|
12971
13003
|
*/
|
|
12972
13004
|
ModelCapabilities: {
|
|
12973
13005
|
chat: boolean | null;
|
|
13006
|
+
/**
|
|
13007
|
+
* @description Typed decisions over a state — see [`AiProviderClient::classify`]. True for a
|
|
13008
|
+
* decision model (TypeSafe's Jev) and for every chat model, which answers through
|
|
13009
|
+
* one JSON-constrained completion. So today it equals `chat` everywhere except
|
|
13010
|
+
* TypeSafe, where it is the only capability; it says the model *can* answer, never
|
|
13011
|
+
* how well it is calibrated or how hard the shape is enforced. `None` on a model
|
|
13012
|
+
* whose chat probe was inconclusive, since classify-through-chat is exactly as
|
|
13013
|
+
* available as chat.
|
|
13014
|
+
*/
|
|
13015
|
+
classify: boolean | null;
|
|
12974
13016
|
embedding_384: boolean | null;
|
|
12975
13017
|
embedding_768: boolean | null;
|
|
12976
13018
|
embedding_1024: boolean | null;
|
|
@@ -13043,7 +13085,7 @@ export interface components {
|
|
|
13043
13085
|
* @description Mirror of the `ai_provider_type` SQL ENUM; `typedpg` decodes directly into this.
|
|
13044
13086
|
* @enum {string}
|
|
13045
13087
|
*/
|
|
13046
|
-
ProviderType: "ollama" | "ollama-cloud" | "gemini" | "lmstudio" | "openai" | "openai-compatible" | "deepseek" | "tavily" | "anthropic" | "groq" | "cloudflare-ai" | "fireworks";
|
|
13088
|
+
ProviderType: "ollama" | "ollama-cloud" | "gemini" | "lmstudio" | "openai" | "openai-compatible" | "deepseek" | "tavily" | "anthropic" | "groq" | "cloudflare-ai" | "fireworks" | "typesafe";
|
|
13047
13089
|
PutAutoCallToolsInput: {
|
|
13048
13090
|
tools: components["schemas"]["AutoCallToolRef"][];
|
|
13049
13091
|
};
|