@cubos/agent-sdk 0.0.1141710 → 0.0.1142184
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/admin/agents.d.ts +3 -0
- package/dist/generated/schema.d.ts +22 -1
- package/package.json +1 -1
package/dist/admin/agents.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
59
59
|
updated_at: string;
|
|
60
60
|
vision_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
61
61
|
websearch_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
62
|
+
workspace_ttl_turns: number | null;
|
|
62
63
|
}>;
|
|
63
64
|
create: (input: Schemas["CreateAgentInput"]) => Promise<{
|
|
64
65
|
agents_md: string;
|
|
@@ -100,6 +101,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
100
101
|
updated_at: string;
|
|
101
102
|
vision_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
102
103
|
websearch_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
104
|
+
workspace_ttl_turns: number | null;
|
|
103
105
|
}>;
|
|
104
106
|
update: (currentSlug: string, input: Schemas["UpdateAgentInput"]) => Promise<{
|
|
105
107
|
agents_md: string;
|
|
@@ -141,6 +143,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
141
143
|
updated_at: string;
|
|
142
144
|
vision_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
143
145
|
websearch_model: null | import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
146
|
+
workspace_ttl_turns: number | null;
|
|
144
147
|
}>;
|
|
145
148
|
delete: (slug: string) => Promise<void>;
|
|
146
149
|
countTokens: (slug: string, input: Schemas["DraftAgentConfig"], signal?: AbortSignal) => Promise<{
|
|
@@ -10748,7 +10748,7 @@ export interface components {
|
|
|
10748
10748
|
/**
|
|
10749
10749
|
* @description Exposes the per-conversation file workspace — `write_file` / `read_file` /
|
|
10750
10750
|
* `list_files` / `move_file` / `delete_file` plus `webfetch` save-to-disk — backed
|
|
10751
|
-
* by
|
|
10751
|
+
* by a content-addressed tree. Off by default.
|
|
10752
10752
|
*/
|
|
10753
10753
|
feature_workspace: boolean;
|
|
10754
10754
|
guardrail_model: null | components["schemas"]["AiProviderModel"];
|
|
@@ -10797,6 +10797,15 @@ export interface components {
|
|
|
10797
10797
|
updated_at: string;
|
|
10798
10798
|
vision_model: null | components["schemas"]["AiProviderModel"];
|
|
10799
10799
|
websearch_model: null | components["schemas"]["AiProviderModel"];
|
|
10800
|
+
/**
|
|
10801
|
+
* Format: int32
|
|
10802
|
+
* @description Turns without a file touch after which the conversation's workspace expires
|
|
10803
|
+
* from the agent's view — history stays browsable, but the agent sees an empty
|
|
10804
|
+
* tree and the next write starts a fresh one. `null` ≡ never expires, which is
|
|
10805
|
+
* the default: expiry is opt-in. Bounds 1..=1000. Ignored while
|
|
10806
|
+
* `feature_workspace` is off.
|
|
10807
|
+
*/
|
|
10808
|
+
workspace_ttl_turns: number | null;
|
|
10800
10809
|
};
|
|
10801
10810
|
AgentListItem: {
|
|
10802
10811
|
/** @description The chat model's provider, embedded in full (as the providers list returns it). */
|
|
@@ -11630,6 +11639,12 @@ export interface components {
|
|
|
11630
11639
|
* or null = tool disabled.
|
|
11631
11640
|
*/
|
|
11632
11641
|
websearch_model_id?: string | null;
|
|
11642
|
+
/**
|
|
11643
|
+
* Format: int32
|
|
11644
|
+
* @description Turns without a file touch after which the workspace expires from the agent's
|
|
11645
|
+
* view. Omit/NULL ⇒ never expires. Bounds: 1..=1000.
|
|
11646
|
+
*/
|
|
11647
|
+
workspace_ttl_turns?: number | null;
|
|
11633
11648
|
};
|
|
11634
11649
|
CreateAiProviderInput: {
|
|
11635
11650
|
/**
|
|
@@ -13064,6 +13079,12 @@ export interface components {
|
|
|
13064
13079
|
* @description Tri-state: absent → leave alone; `null` → clear FK; UUID → set.
|
|
13065
13080
|
*/
|
|
13066
13081
|
websearch_model_id?: string | null;
|
|
13082
|
+
/**
|
|
13083
|
+
* Format: int32
|
|
13084
|
+
* @description Tri-state: absent → leave alone; `null` → never expires; number → expire after
|
|
13085
|
+
* that many untouched turns. Bounds: 1..=1000.
|
|
13086
|
+
*/
|
|
13087
|
+
workspace_ttl_turns?: number | null;
|
|
13067
13088
|
};
|
|
13068
13089
|
UpdateAgentMcpRoleToolsInput: {
|
|
13069
13090
|
/**
|