@cubos/agent-sdk 0.0.1151166 → 0.0.1151293
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 +19 -19
- package/dist/admin/ai-providers.d.ts +2 -2
- package/dist/admin/client-tools.d.ts +2 -2
- package/dist/admin/conversations.d.ts +36 -36
- package/dist/admin/global.d.ts +1 -1
- package/dist/admin/knowledge-bases.d.ts +3 -3
- package/dist/admin/task-templates.d.ts +6 -6
- package/dist/admin/users.d.ts +2 -2
- package/dist/generated/schema.d.ts +30 -30
- package/package.json +1 -1
package/dist/admin/agents.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
description: string;
|
|
31
31
|
display_name: string;
|
|
32
|
-
embedding_model:
|
|
32
|
+
embedding_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
33
33
|
embedding_model_dimensions: number | null;
|
|
34
34
|
error_fallback_message: string | null;
|
|
35
35
|
feature_code_execution: boolean;
|
|
@@ -44,7 +44,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
44
44
|
feature_workspace?: boolean;
|
|
45
45
|
filesystem_shared_prefixes: string[];
|
|
46
46
|
filesystem_ttl_turns: number | null;
|
|
47
|
-
guardrail_model:
|
|
47
|
+
guardrail_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
48
48
|
guardrail_prompt: string | null;
|
|
49
49
|
guardrail_reasoning_level: string | null;
|
|
50
50
|
id: string;
|
|
@@ -52,16 +52,16 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
52
52
|
max_messages_per_turn: number;
|
|
53
53
|
max_turns: number;
|
|
54
54
|
model: import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
55
|
-
nap_model:
|
|
55
|
+
nap_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
56
56
|
nap_reasoning_level: string | null;
|
|
57
57
|
onboarding_md: string;
|
|
58
58
|
reasoning_level: string | null;
|
|
59
59
|
slug: string;
|
|
60
60
|
soul_md: string;
|
|
61
|
-
stt_model:
|
|
61
|
+
stt_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
62
62
|
updated_at: string;
|
|
63
|
-
vision_model:
|
|
64
|
-
websearch_model:
|
|
63
|
+
vision_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
64
|
+
websearch_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
65
65
|
workspace_ttl_turns: number | null;
|
|
66
66
|
}>;
|
|
67
67
|
create: (input: Schemas["CreateAgentInput"]) => Promise<{
|
|
@@ -74,7 +74,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
74
74
|
created_at: string;
|
|
75
75
|
description: string;
|
|
76
76
|
display_name: string;
|
|
77
|
-
embedding_model:
|
|
77
|
+
embedding_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
78
78
|
embedding_model_dimensions: number | null;
|
|
79
79
|
error_fallback_message: string | null;
|
|
80
80
|
feature_code_execution: boolean;
|
|
@@ -89,7 +89,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
89
89
|
feature_workspace?: boolean;
|
|
90
90
|
filesystem_shared_prefixes: string[];
|
|
91
91
|
filesystem_ttl_turns: number | null;
|
|
92
|
-
guardrail_model:
|
|
92
|
+
guardrail_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
93
93
|
guardrail_prompt: string | null;
|
|
94
94
|
guardrail_reasoning_level: string | null;
|
|
95
95
|
id: string;
|
|
@@ -97,16 +97,16 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
97
97
|
max_messages_per_turn: number;
|
|
98
98
|
max_turns: number;
|
|
99
99
|
model: import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
100
|
-
nap_model:
|
|
100
|
+
nap_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
101
101
|
nap_reasoning_level: string | null;
|
|
102
102
|
onboarding_md: string;
|
|
103
103
|
reasoning_level: string | null;
|
|
104
104
|
slug: string;
|
|
105
105
|
soul_md: string;
|
|
106
|
-
stt_model:
|
|
106
|
+
stt_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
107
107
|
updated_at: string;
|
|
108
|
-
vision_model:
|
|
109
|
-
websearch_model:
|
|
108
|
+
vision_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
109
|
+
websearch_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
110
110
|
workspace_ttl_turns: number | null;
|
|
111
111
|
}>;
|
|
112
112
|
update: (currentSlug: string, input: Schemas["UpdateAgentInput"]) => Promise<{
|
|
@@ -119,7 +119,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
119
119
|
created_at: string;
|
|
120
120
|
description: string;
|
|
121
121
|
display_name: string;
|
|
122
|
-
embedding_model:
|
|
122
|
+
embedding_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
123
123
|
embedding_model_dimensions: number | null;
|
|
124
124
|
error_fallback_message: string | null;
|
|
125
125
|
feature_code_execution: boolean;
|
|
@@ -134,7 +134,7 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
134
134
|
feature_workspace?: boolean;
|
|
135
135
|
filesystem_shared_prefixes: string[];
|
|
136
136
|
filesystem_ttl_turns: number | null;
|
|
137
|
-
guardrail_model:
|
|
137
|
+
guardrail_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
138
138
|
guardrail_prompt: string | null;
|
|
139
139
|
guardrail_reasoning_level: string | null;
|
|
140
140
|
id: string;
|
|
@@ -142,21 +142,21 @@ export declare function agentsApi(t: Transport, tenantSlug: string): {
|
|
|
142
142
|
max_messages_per_turn: number;
|
|
143
143
|
max_turns: number;
|
|
144
144
|
model: import("../generated/schema.js").components["schemas"]["AiProviderModel"];
|
|
145
|
-
nap_model:
|
|
145
|
+
nap_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
146
146
|
nap_reasoning_level: string | null;
|
|
147
147
|
onboarding_md: string;
|
|
148
148
|
reasoning_level: string | null;
|
|
149
149
|
slug: string;
|
|
150
150
|
soul_md: string;
|
|
151
|
-
stt_model:
|
|
151
|
+
stt_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
152
152
|
updated_at: string;
|
|
153
|
-
vision_model:
|
|
154
|
-
websearch_model:
|
|
153
|
+
vision_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
154
|
+
websearch_model: import("../generated/schema.js").components["schemas"]["AiProviderModel"] | null;
|
|
155
155
|
workspace_ttl_turns: number | null;
|
|
156
156
|
}>;
|
|
157
157
|
delete: (slug: string) => Promise<void>;
|
|
158
158
|
countTokens: (slug: string, input: Schemas["DraftAgentConfig"], signal?: AbortSignal) => Promise<{
|
|
159
|
-
breakdown:
|
|
159
|
+
breakdown: import("../generated/schema.js").components["schemas"]["Breakdown"] | null;
|
|
160
160
|
context_window_tokens: number | null;
|
|
161
161
|
contributions: {
|
|
162
162
|
[key: string]: number;
|
|
@@ -119,7 +119,7 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
|
|
|
119
119
|
[key: string]: number;
|
|
120
120
|
};
|
|
121
121
|
pricing_skus: import("../generated/schema.js").components["schemas"]["SkuDisplayDto"][];
|
|
122
|
-
reasoning_options:
|
|
122
|
+
reasoning_options: import("../generated/schema.js").components["schemas"]["ReasoningOptions"] | null;
|
|
123
123
|
}[]>;
|
|
124
124
|
/** Re-probes the upstream catalog. 409 while another reconcile is running. */
|
|
125
125
|
refreshModels: (slug: string) => Promise<{
|
|
@@ -146,7 +146,7 @@ export declare function aiProvidersApi(t: Transport, tenantSlug: string): {
|
|
|
146
146
|
[key: string]: number;
|
|
147
147
|
};
|
|
148
148
|
pricing_skus: import("../generated/schema.js").components["schemas"]["SkuDisplayDto"][];
|
|
149
|
-
reasoning_options:
|
|
149
|
+
reasoning_options: import("../generated/schema.js").components["schemas"]["ReasoningOptions"] | null;
|
|
150
150
|
}[]>;
|
|
151
151
|
updateModel: (slug: string, modelId: string, input: Schemas["UpdateProviderModelInput"]) => Promise<void>;
|
|
152
152
|
};
|
|
@@ -22,7 +22,7 @@ export declare function clientToolsApi(t: Transport, tenantSlug: string): {
|
|
|
22
22
|
idempotent_hint: boolean | null;
|
|
23
23
|
input_schema: import("../generated/schema.js").components["schemas"]["Value"];
|
|
24
24
|
name: string;
|
|
25
|
-
output_schema:
|
|
25
|
+
output_schema: import("../generated/schema.js").components["schemas"]["Value"] | null;
|
|
26
26
|
read_only_hint: boolean | null;
|
|
27
27
|
timeout_seconds: number;
|
|
28
28
|
updated_at: string;
|
|
@@ -38,7 +38,7 @@ export declare function clientToolsApi(t: Transport, tenantSlug: string): {
|
|
|
38
38
|
idempotent_hint: boolean | null;
|
|
39
39
|
input_schema: import("../generated/schema.js").components["schemas"]["Value"];
|
|
40
40
|
name: string;
|
|
41
|
-
output_schema:
|
|
41
|
+
output_schema: import("../generated/schema.js").components["schemas"]["Value"] | null;
|
|
42
42
|
read_only_hint: boolean | null;
|
|
43
43
|
timeout_seconds: number;
|
|
44
44
|
updated_at: string;
|
|
@@ -15,9 +15,9 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
15
15
|
origin?: string;
|
|
16
16
|
user_id?: string;
|
|
17
17
|
}, signal?: AbortSignal) => Promise<{
|
|
18
|
-
agent:
|
|
18
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
19
19
|
archived_at: string | null;
|
|
20
|
-
channel:
|
|
20
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
21
21
|
created_at: string;
|
|
22
22
|
generated_title: string | null;
|
|
23
23
|
has_pending_turn: boolean;
|
|
@@ -29,19 +29,19 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
29
29
|
metadata: Record<string, unknown>;
|
|
30
30
|
next_retry_at: string | null;
|
|
31
31
|
origin: string;
|
|
32
|
-
parent_conversation:
|
|
32
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
33
33
|
retry_count: number;
|
|
34
34
|
title: string | null;
|
|
35
35
|
total_cost_usd: number;
|
|
36
36
|
updated_at: string;
|
|
37
|
-
user:
|
|
37
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
38
38
|
user_identifier: string | null;
|
|
39
39
|
user_identifier_label: string | null;
|
|
40
40
|
}[]>;
|
|
41
41
|
get: (id: string, signal?: AbortSignal) => Promise<{
|
|
42
|
-
agent:
|
|
42
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
43
43
|
archived_at: string | null;
|
|
44
|
-
channel:
|
|
44
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
45
45
|
created_at: string;
|
|
46
46
|
generated_title: string | null;
|
|
47
47
|
has_pending_turn: boolean;
|
|
@@ -53,19 +53,19 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
53
53
|
metadata: Record<string, unknown>;
|
|
54
54
|
next_retry_at: string | null;
|
|
55
55
|
origin: string;
|
|
56
|
-
parent_conversation:
|
|
56
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
57
57
|
retry_count: number;
|
|
58
58
|
title: string | null;
|
|
59
59
|
total_cost_usd: number;
|
|
60
60
|
updated_at: string;
|
|
61
|
-
user:
|
|
61
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
62
62
|
user_identifier: string | null;
|
|
63
63
|
user_identifier_label: string | null;
|
|
64
64
|
}>;
|
|
65
65
|
create: (input: Schemas["CreateConversationInput"]) => Promise<{
|
|
66
|
-
agent:
|
|
66
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
67
67
|
archived_at: string | null;
|
|
68
|
-
channel:
|
|
68
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
69
69
|
created_at: string;
|
|
70
70
|
generated_title: string | null;
|
|
71
71
|
has_pending_turn: boolean;
|
|
@@ -77,19 +77,19 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
77
77
|
metadata: Record<string, unknown>;
|
|
78
78
|
next_retry_at: string | null;
|
|
79
79
|
origin: string;
|
|
80
|
-
parent_conversation:
|
|
80
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
81
81
|
retry_count: number;
|
|
82
82
|
title: string | null;
|
|
83
83
|
total_cost_usd: number;
|
|
84
84
|
updated_at: string;
|
|
85
|
-
user:
|
|
85
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
86
86
|
user_identifier: string | null;
|
|
87
87
|
user_identifier_label: string | null;
|
|
88
88
|
}>;
|
|
89
89
|
update: (id: string, input: Schemas["UpdateConversationInput"]) => Promise<{
|
|
90
|
-
agent:
|
|
90
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
91
91
|
archived_at: string | null;
|
|
92
|
-
channel:
|
|
92
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
93
93
|
created_at: string;
|
|
94
94
|
generated_title: string | null;
|
|
95
95
|
has_pending_turn: boolean;
|
|
@@ -101,19 +101,19 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
101
101
|
metadata: Record<string, unknown>;
|
|
102
102
|
next_retry_at: string | null;
|
|
103
103
|
origin: string;
|
|
104
|
-
parent_conversation:
|
|
104
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
105
105
|
retry_count: number;
|
|
106
106
|
title: string | null;
|
|
107
107
|
total_cost_usd: number;
|
|
108
108
|
updated_at: string;
|
|
109
|
-
user:
|
|
109
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
110
110
|
user_identifier: string | null;
|
|
111
111
|
user_identifier_label: string | null;
|
|
112
112
|
}>;
|
|
113
113
|
archive: (id: string) => Promise<{
|
|
114
|
-
agent:
|
|
114
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
115
115
|
archived_at: string | null;
|
|
116
|
-
channel:
|
|
116
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
117
117
|
created_at: string;
|
|
118
118
|
generated_title: string | null;
|
|
119
119
|
has_pending_turn: boolean;
|
|
@@ -125,20 +125,20 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
125
125
|
metadata: Record<string, unknown>;
|
|
126
126
|
next_retry_at: string | null;
|
|
127
127
|
origin: string;
|
|
128
|
-
parent_conversation:
|
|
128
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
129
129
|
retry_count: number;
|
|
130
130
|
title: string | null;
|
|
131
131
|
total_cost_usd: number;
|
|
132
132
|
updated_at: string;
|
|
133
|
-
user:
|
|
133
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
134
134
|
user_identifier: string | null;
|
|
135
135
|
user_identifier_label: string | null;
|
|
136
136
|
}>;
|
|
137
137
|
/** Clears the backoff and re-dispatches a conversation stuck after failures. */
|
|
138
138
|
retryNow: (id: string) => Promise<{
|
|
139
|
-
agent:
|
|
139
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
140
140
|
archived_at: string | null;
|
|
141
|
-
channel:
|
|
141
|
+
channel: import("../generated/schema.js").components["schemas"]["ChannelRef"] | null;
|
|
142
142
|
created_at: string;
|
|
143
143
|
generated_title: string | null;
|
|
144
144
|
has_pending_turn: boolean;
|
|
@@ -150,12 +150,12 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
150
150
|
metadata: Record<string, unknown>;
|
|
151
151
|
next_retry_at: string | null;
|
|
152
152
|
origin: string;
|
|
153
|
-
parent_conversation:
|
|
153
|
+
parent_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
154
154
|
retry_count: number;
|
|
155
155
|
title: string | null;
|
|
156
156
|
total_cost_usd: number;
|
|
157
157
|
updated_at: string;
|
|
158
|
-
user:
|
|
158
|
+
user: import("../generated/schema.js").components["schemas"]["UserRef"] | null;
|
|
159
159
|
user_identifier: string | null;
|
|
160
160
|
user_identifier_label: string | null;
|
|
161
161
|
}>;
|
|
@@ -177,10 +177,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
177
177
|
error: string | null;
|
|
178
178
|
id: string;
|
|
179
179
|
injected_by_conversation_id: string | null;
|
|
180
|
-
llm_call_data:
|
|
180
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
181
181
|
model: string | null;
|
|
182
182
|
parent_tool_call_id: string | null;
|
|
183
|
-
provider:
|
|
183
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
184
184
|
read_at: string | null;
|
|
185
185
|
result?: unknown;
|
|
186
186
|
seq: number;
|
|
@@ -208,10 +208,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
208
208
|
error: string | null;
|
|
209
209
|
id: string;
|
|
210
210
|
injected_by_conversation_id: string | null;
|
|
211
|
-
llm_call_data:
|
|
211
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
212
212
|
model: string | null;
|
|
213
213
|
parent_tool_call_id: string | null;
|
|
214
|
-
provider:
|
|
214
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
215
215
|
read_at: string | null;
|
|
216
216
|
result?: unknown;
|
|
217
217
|
seq: number;
|
|
@@ -238,10 +238,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
238
238
|
error: string | null;
|
|
239
239
|
id: string;
|
|
240
240
|
injected_by_conversation_id: string | null;
|
|
241
|
-
llm_call_data:
|
|
241
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
242
242
|
model: string | null;
|
|
243
243
|
parent_tool_call_id: string | null;
|
|
244
|
-
provider:
|
|
244
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
245
245
|
read_at: string | null;
|
|
246
246
|
result?: unknown;
|
|
247
247
|
seq: number;
|
|
@@ -273,10 +273,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
273
273
|
error: string | null;
|
|
274
274
|
id: string;
|
|
275
275
|
injected_by_conversation_id: string | null;
|
|
276
|
-
llm_call_data:
|
|
276
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
277
277
|
model: string | null;
|
|
278
278
|
parent_tool_call_id: string | null;
|
|
279
|
-
provider:
|
|
279
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
280
280
|
read_at: string | null;
|
|
281
281
|
result?: unknown;
|
|
282
282
|
seq: number;
|
|
@@ -310,10 +310,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
310
310
|
error: string | null;
|
|
311
311
|
id: string;
|
|
312
312
|
injected_by_conversation_id: string | null;
|
|
313
|
-
llm_call_data:
|
|
313
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
314
314
|
model: string | null;
|
|
315
315
|
parent_tool_call_id: string | null;
|
|
316
|
-
provider:
|
|
316
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
317
317
|
read_at: string | null;
|
|
318
318
|
result?: unknown;
|
|
319
319
|
seq: number;
|
|
@@ -339,10 +339,10 @@ export declare function conversationsAdminApi(t: Transport, tenantSlug: string):
|
|
|
339
339
|
error: string | null;
|
|
340
340
|
id: string;
|
|
341
341
|
injected_by_conversation_id: string | null;
|
|
342
|
-
llm_call_data:
|
|
342
|
+
llm_call_data: import("../generated/schema.js").components["schemas"]["LlmCallData"] | null;
|
|
343
343
|
model: string | null;
|
|
344
344
|
parent_tool_call_id: string | null;
|
|
345
|
-
provider:
|
|
345
|
+
provider: import("../generated/schema.js").components["schemas"]["ProviderRef"] | null;
|
|
346
346
|
read_at: string | null;
|
|
347
347
|
result?: unknown;
|
|
348
348
|
seq: number;
|
package/dist/admin/global.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ export declare function sharedProvidersApi(t: Transport): {
|
|
|
140
140
|
[key: string]: number;
|
|
141
141
|
};
|
|
142
142
|
pricing_skus: import("../generated/schema.js").components["schemas"]["SkuDisplayDto"][];
|
|
143
|
-
reasoning_options:
|
|
143
|
+
reasoning_options: import("../generated/schema.js").components["schemas"]["ReasoningOptions"] | null;
|
|
144
144
|
}[]>;
|
|
145
145
|
updateModel: (slug: string, modelId: string, input: Schemas["UpdateProviderModelInput"]) => Promise<void>;
|
|
146
146
|
};
|
|
@@ -20,7 +20,7 @@ export declare function knowledgeBasesApi(t: Transport, tenantSlug: string): {
|
|
|
20
20
|
curate_requested: boolean;
|
|
21
21
|
display_name: string;
|
|
22
22
|
id: string;
|
|
23
|
-
last_run:
|
|
23
|
+
last_run: import("../generated/schema.js").components["schemas"]["CurationRun"] | null;
|
|
24
24
|
nap_agent_slug: string | null;
|
|
25
25
|
nap_last_run_at: string | null;
|
|
26
26
|
oldest_pending_at: string | null;
|
|
@@ -35,7 +35,7 @@ export declare function knowledgeBasesApi(t: Transport, tenantSlug: string): {
|
|
|
35
35
|
curate_requested: boolean;
|
|
36
36
|
display_name: string;
|
|
37
37
|
id: string;
|
|
38
|
-
last_run:
|
|
38
|
+
last_run: import("../generated/schema.js").components["schemas"]["CurationRun"] | null;
|
|
39
39
|
nap_agent_slug: string | null;
|
|
40
40
|
nap_last_run_at: string | null;
|
|
41
41
|
oldest_pending_at: string | null;
|
|
@@ -50,7 +50,7 @@ export declare function knowledgeBasesApi(t: Transport, tenantSlug: string): {
|
|
|
50
50
|
curate_requested: boolean;
|
|
51
51
|
display_name: string;
|
|
52
52
|
id: string;
|
|
53
|
-
last_run:
|
|
53
|
+
last_run: import("../generated/schema.js").components["schemas"]["CurationRun"] | null;
|
|
54
54
|
nap_agent_slug: string | null;
|
|
55
55
|
nap_last_run_at: string | null;
|
|
56
56
|
oldest_pending_at: string | null;
|
|
@@ -113,7 +113,7 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
|
|
|
113
113
|
user_id?: string;
|
|
114
114
|
enabled?: boolean;
|
|
115
115
|
}, signal?: AbortSignal) => Promise<{
|
|
116
|
-
agent:
|
|
116
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
117
117
|
allow_self_cancel: boolean;
|
|
118
118
|
created_at: string;
|
|
119
119
|
created_via: string;
|
|
@@ -124,14 +124,14 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
|
|
|
124
124
|
max_runs: number | null;
|
|
125
125
|
next_fire_at: string | null;
|
|
126
126
|
run_count: number;
|
|
127
|
-
task_template:
|
|
127
|
+
task_template: import("../generated/schema.js").components["schemas"]["TaskTemplateRef"] | null;
|
|
128
128
|
timezone: string;
|
|
129
129
|
until: string | null;
|
|
130
130
|
updated_at: string;
|
|
131
131
|
user: import("../generated/schema.js").components["schemas"]["UserRef"];
|
|
132
132
|
}[]>;
|
|
133
133
|
get: (id: string, signal?: AbortSignal) => Promise<{
|
|
134
|
-
agent:
|
|
134
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
135
135
|
allow_self_cancel: boolean;
|
|
136
136
|
bound_params: Record<string, unknown>;
|
|
137
137
|
created_at: string;
|
|
@@ -146,7 +146,7 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
|
|
|
146
146
|
prompt_template: string | null;
|
|
147
147
|
rendered_prompt: string | null;
|
|
148
148
|
run_count: number;
|
|
149
|
-
task_template:
|
|
149
|
+
task_template: import("../generated/schema.js").components["schemas"]["TaskTemplateRef"] | null;
|
|
150
150
|
tasks: import("../generated/schema.js").components["schemas"]["RunTask"][];
|
|
151
151
|
timezone: string;
|
|
152
152
|
until: string | null;
|
|
@@ -154,7 +154,7 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
|
|
|
154
154
|
user: import("../generated/schema.js").components["schemas"]["UserRef"];
|
|
155
155
|
}>;
|
|
156
156
|
update: (id: string, input: Schemas["UpdateScheduledRunInput"]) => Promise<{
|
|
157
|
-
agent:
|
|
157
|
+
agent: import("../generated/schema.js").components["schemas"]["AgentRef"] | null;
|
|
158
158
|
allow_self_cancel: boolean;
|
|
159
159
|
bound_params: Record<string, unknown>;
|
|
160
160
|
created_at: string;
|
|
@@ -169,7 +169,7 @@ export declare function scheduledRunsApi(t: Transport, tenantSlug: string): {
|
|
|
169
169
|
prompt_template: string | null;
|
|
170
170
|
rendered_prompt: string | null;
|
|
171
171
|
run_count: number;
|
|
172
|
-
task_template:
|
|
172
|
+
task_template: import("../generated/schema.js").components["schemas"]["TaskTemplateRef"] | null;
|
|
173
173
|
tasks: import("../generated/schema.js").components["schemas"]["RunTask"][];
|
|
174
174
|
timezone: string;
|
|
175
175
|
until: string | null;
|
package/dist/admin/users.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ export declare function usersApi(t: Transport, tenantSlug: string): {
|
|
|
145
145
|
memory_id: string;
|
|
146
146
|
metadata: Record<string, unknown>;
|
|
147
147
|
recorded_at: string;
|
|
148
|
-
source_conversation:
|
|
148
|
+
source_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
149
149
|
}[]>;
|
|
150
150
|
createMemoryObservation: (id: string, input: Schemas["CreateMemoryObservationInput"]) => Promise<{
|
|
151
151
|
content: string;
|
|
@@ -153,7 +153,7 @@ export declare function usersApi(t: Transport, tenantSlug: string): {
|
|
|
153
153
|
memory_id: string;
|
|
154
154
|
metadata: Record<string, unknown>;
|
|
155
155
|
recorded_at: string;
|
|
156
|
-
source_conversation:
|
|
156
|
+
source_conversation: import("../generated/schema.js").components["schemas"]["ConversationRef"] | null;
|
|
157
157
|
}>;
|
|
158
158
|
deleteMemoryObservation: (id: string, observationId: string) => Promise<void>;
|
|
159
159
|
updateMemoryProfile: (id: string, input: Schemas["UpdateMemoryProfileInput"]) => Promise<{
|
|
@@ -11518,7 +11518,7 @@ export interface components {
|
|
|
11518
11518
|
*/
|
|
11519
11519
|
description: string;
|
|
11520
11520
|
display_name: string;
|
|
11521
|
-
embedding_model:
|
|
11521
|
+
embedding_model: components["schemas"]["AiProviderModel"] | null;
|
|
11522
11522
|
/**
|
|
11523
11523
|
* Format: int32
|
|
11524
11524
|
* @description Which `memory_observation_embedding.embedding_dN` column the backfill worker writes for this
|
|
@@ -11590,7 +11590,7 @@ export interface components {
|
|
|
11590
11590
|
* `feature_filesystem` is off.
|
|
11591
11591
|
*/
|
|
11592
11592
|
filesystem_ttl_turns: number | null;
|
|
11593
|
-
guardrail_model:
|
|
11593
|
+
guardrail_model: components["schemas"]["AiProviderModel"] | null;
|
|
11594
11594
|
/** @description Optional operator policy appended to the fixed guardrail verifier wrapper. */
|
|
11595
11595
|
guardrail_prompt: string | null;
|
|
11596
11596
|
/**
|
|
@@ -11615,7 +11615,7 @@ export interface components {
|
|
|
11615
11615
|
* and flag a vanished model instead of rendering a bare UUID.
|
|
11616
11616
|
*/
|
|
11617
11617
|
model: components["schemas"]["AiProviderModel"];
|
|
11618
|
-
nap_model:
|
|
11618
|
+
nap_model: components["schemas"]["AiProviderModel"] | null;
|
|
11619
11619
|
/**
|
|
11620
11620
|
* @description Reasoning / thinking-effort level passed to the nap's extractor and consolidator. `null`
|
|
11621
11621
|
* ≡ use the nap model default.
|
|
@@ -11631,11 +11631,11 @@ export interface components {
|
|
|
11631
11631
|
reasoning_level: string | null;
|
|
11632
11632
|
slug: string;
|
|
11633
11633
|
soul_md: string;
|
|
11634
|
-
stt_model:
|
|
11634
|
+
stt_model: components["schemas"]["AiProviderModel"] | null;
|
|
11635
11635
|
/** Format: date-time */
|
|
11636
11636
|
updated_at: string;
|
|
11637
|
-
vision_model:
|
|
11638
|
-
websearch_model:
|
|
11637
|
+
vision_model: components["schemas"]["AiProviderModel"] | null;
|
|
11638
|
+
websearch_model: components["schemas"]["AiProviderModel"] | null;
|
|
11639
11639
|
/**
|
|
11640
11640
|
* Format: int32
|
|
11641
11641
|
* @deprecated
|
|
@@ -11823,7 +11823,7 @@ export interface components {
|
|
|
11823
11823
|
* the right unit shown and the right ordering.
|
|
11824
11824
|
*/
|
|
11825
11825
|
pricing_skus: components["schemas"]["SkuDisplayDto"][];
|
|
11826
|
-
reasoning_options:
|
|
11826
|
+
reasoning_options: components["schemas"]["ReasoningOptions"] | null;
|
|
11827
11827
|
};
|
|
11828
11828
|
/** @description One provider type an operator can create a provider of right now. */
|
|
11829
11829
|
AiProviderType: {
|
|
@@ -12025,7 +12025,7 @@ export interface components {
|
|
|
12025
12025
|
input_schema: components["schemas"]["Value"];
|
|
12026
12026
|
/** @description LLM-facing tool name, unique within the conversation. */
|
|
12027
12027
|
name: string;
|
|
12028
|
-
output_schema:
|
|
12028
|
+
output_schema: components["schemas"]["Value"] | null;
|
|
12029
12029
|
read_only_hint: boolean | null;
|
|
12030
12030
|
/** Format: int32 */
|
|
12031
12031
|
timeout_seconds: number;
|
|
@@ -12057,8 +12057,8 @@ export interface components {
|
|
|
12057
12057
|
description?: string;
|
|
12058
12058
|
destructive_hint?: boolean | null;
|
|
12059
12059
|
idempotent_hint?: boolean | null;
|
|
12060
|
-
input_schema?:
|
|
12061
|
-
output_schema?:
|
|
12060
|
+
input_schema?: components["schemas"]["Value"] | null;
|
|
12061
|
+
output_schema?: components["schemas"]["Value"] | null;
|
|
12062
12062
|
/**
|
|
12063
12063
|
* @description `true` promises the call mutates nothing, which exempts it from the
|
|
12064
12064
|
* guardrail — the same contract an MCP `readOnlyHint` carries.
|
|
@@ -12132,14 +12132,14 @@ export interface components {
|
|
|
12132
12132
|
value: string;
|
|
12133
12133
|
};
|
|
12134
12134
|
Conversation: {
|
|
12135
|
-
agent:
|
|
12135
|
+
agent: components["schemas"]["AgentRef"] | null;
|
|
12136
12136
|
/**
|
|
12137
12137
|
* Format: date-time
|
|
12138
12138
|
* @description Soft-archive marker. The API always returns archived rows; the
|
|
12139
12139
|
* dashboard hides them at render time. Reversible by clearing.
|
|
12140
12140
|
*/
|
|
12141
12141
|
archived_at: string | null;
|
|
12142
|
-
channel:
|
|
12142
|
+
channel: components["schemas"]["ChannelRef"] | null;
|
|
12143
12143
|
/** Format: date-time */
|
|
12144
12144
|
created_at: string;
|
|
12145
12145
|
/**
|
|
@@ -12193,7 +12193,7 @@ export interface components {
|
|
|
12193
12193
|
* dashboard renders background tasks read-only and in their own view.
|
|
12194
12194
|
*/
|
|
12195
12195
|
origin: string;
|
|
12196
|
-
parent_conversation:
|
|
12196
|
+
parent_conversation: components["schemas"]["ConversationRef"] | null;
|
|
12197
12197
|
/**
|
|
12198
12198
|
* Format: int32
|
|
12199
12199
|
* @description Consecutive failed turns since the last success. 0 when never
|
|
@@ -12215,7 +12215,7 @@ export interface components {
|
|
|
12215
12215
|
total_cost_usd: number;
|
|
12216
12216
|
/** Format: date-time */
|
|
12217
12217
|
updated_at: string;
|
|
12218
|
-
user:
|
|
12218
|
+
user: components["schemas"]["UserRef"] | null;
|
|
12219
12219
|
/**
|
|
12220
12220
|
* @description Channel-native identifier (e.g. Telegram numeric id, msisdn), read through
|
|
12221
12221
|
* `user_identities` so it always reflects the canonical form. Null when the
|
|
@@ -12316,7 +12316,7 @@ export interface components {
|
|
|
12316
12316
|
* authored it. The dashboard badges these as proactively delivered.
|
|
12317
12317
|
*/
|
|
12318
12318
|
injected_by_conversation_id: string | null;
|
|
12319
|
-
llm_call_data:
|
|
12319
|
+
llm_call_data: components["schemas"]["LlmCallData"] | null;
|
|
12320
12320
|
model: string | null;
|
|
12321
12321
|
/**
|
|
12322
12322
|
* Format: uuid
|
|
@@ -12325,7 +12325,7 @@ export interface components {
|
|
|
12325
12325
|
* this to nest the subcall bubbles under their parent eval card.
|
|
12326
12326
|
*/
|
|
12327
12327
|
parent_tool_call_id: string | null;
|
|
12328
|
-
provider:
|
|
12328
|
+
provider: components["schemas"]["ProviderRef"] | null;
|
|
12329
12329
|
/**
|
|
12330
12330
|
* Format: date-time
|
|
12331
12331
|
* @description Recipient's read receipt for `agent_message` rows (the blue ✓✓). Only
|
|
@@ -12408,7 +12408,7 @@ export interface components {
|
|
|
12408
12408
|
summary_text: string;
|
|
12409
12409
|
};
|
|
12410
12410
|
CountTokensResponse: {
|
|
12411
|
-
breakdown:
|
|
12411
|
+
breakdown: components["schemas"]["Breakdown"] | null;
|
|
12412
12412
|
/**
|
|
12413
12413
|
* Format: int32
|
|
12414
12414
|
* @description The model's full context window — the exact value the harness
|
|
@@ -13087,7 +13087,7 @@ export interface components {
|
|
|
13087
13087
|
display_name: string;
|
|
13088
13088
|
/** Format: uuid */
|
|
13089
13089
|
id: string;
|
|
13090
|
-
last_run:
|
|
13090
|
+
last_run: components["schemas"]["CurationRun"] | null;
|
|
13091
13091
|
/**
|
|
13092
13092
|
* @description Slug of the agent that curates this base's wiki, or null when nothing
|
|
13093
13093
|
* curates it. Any agent of the tenant works — the harness forces the
|
|
@@ -13223,7 +13223,7 @@ export interface components {
|
|
|
13223
13223
|
* exclusive in normal flow.
|
|
13224
13224
|
*/
|
|
13225
13225
|
LlmCallData: {
|
|
13226
|
-
coerced_call:
|
|
13226
|
+
coerced_call: components["schemas"]["CoercedCall"] | null;
|
|
13227
13227
|
/**
|
|
13228
13228
|
* @description Transport-level error (DNS, TLS, HTTP 5xx, decode); set when
|
|
13229
13229
|
* `response` is `None`.
|
|
@@ -13232,7 +13232,7 @@ export interface components {
|
|
|
13232
13232
|
/** Format: int64 */
|
|
13233
13233
|
latency_ms: number;
|
|
13234
13234
|
request: components["schemas"]["LlmRequestSnapshot"];
|
|
13235
|
-
response:
|
|
13235
|
+
response: components["schemas"]["LlmResponseSnapshot"] | null;
|
|
13236
13236
|
/**
|
|
13237
13237
|
* Format: int64
|
|
13238
13238
|
* @description Seq of the newest pending event (`user_message`, `task_prompt`,
|
|
@@ -13254,7 +13254,7 @@ export interface components {
|
|
|
13254
13254
|
LlmResponseSnapshot: {
|
|
13255
13255
|
/** Format: double */
|
|
13256
13256
|
cost_usd?: number;
|
|
13257
|
-
finish_error:
|
|
13257
|
+
finish_error: components["schemas"]["FinishError"] | null;
|
|
13258
13258
|
messages: components["schemas"]["Message"][];
|
|
13259
13259
|
token_usage: {
|
|
13260
13260
|
[key: string]: number;
|
|
@@ -13422,7 +13422,7 @@ export interface components {
|
|
|
13422
13422
|
metadata: Record<string, unknown>;
|
|
13423
13423
|
/** Format: date-time */
|
|
13424
13424
|
recorded_at: string;
|
|
13425
|
-
source_conversation:
|
|
13425
|
+
source_conversation: components["schemas"]["ConversationRef"] | null;
|
|
13426
13426
|
};
|
|
13427
13427
|
MergeUserInput: {
|
|
13428
13428
|
/**
|
|
@@ -13700,7 +13700,7 @@ export interface components {
|
|
|
13700
13700
|
total_cost_usd: number;
|
|
13701
13701
|
};
|
|
13702
13702
|
ScheduledRun: {
|
|
13703
|
-
agent:
|
|
13703
|
+
agent: components["schemas"]["AgentRef"] | null;
|
|
13704
13704
|
allow_self_cancel: boolean;
|
|
13705
13705
|
/** Format: date-time */
|
|
13706
13706
|
created_at: string;
|
|
@@ -13721,7 +13721,7 @@ export interface components {
|
|
|
13721
13721
|
next_fire_at: string | null;
|
|
13722
13722
|
/** Format: int32 */
|
|
13723
13723
|
run_count: number;
|
|
13724
|
-
task_template:
|
|
13724
|
+
task_template: components["schemas"]["TaskTemplateRef"] | null;
|
|
13725
13725
|
timezone: string;
|
|
13726
13726
|
/** Format: date-time */
|
|
13727
13727
|
until: string | null;
|
|
@@ -13734,7 +13734,7 @@ export interface components {
|
|
|
13734
13734
|
* template, the rendered prompt each firing launches, and the tasks it spawned.
|
|
13735
13735
|
*/
|
|
13736
13736
|
ScheduledRunDetail: {
|
|
13737
|
-
agent:
|
|
13737
|
+
agent: components["schemas"]["AgentRef"] | null;
|
|
13738
13738
|
allow_self_cancel: boolean;
|
|
13739
13739
|
bound_params: Record<string, unknown>;
|
|
13740
13740
|
/** Format: date-time */
|
|
@@ -13758,7 +13758,7 @@ export interface components {
|
|
|
13758
13758
|
rendered_prompt: string | null;
|
|
13759
13759
|
/** Format: int32 */
|
|
13760
13760
|
run_count: number;
|
|
13761
|
-
task_template:
|
|
13761
|
+
task_template: components["schemas"]["TaskTemplateRef"] | null;
|
|
13762
13762
|
/** @description Background tasks this run has spawned, newest first. */
|
|
13763
13763
|
tasks: components["schemas"]["RunTask"][];
|
|
13764
13764
|
timezone: string;
|
|
@@ -13920,11 +13920,11 @@ export interface components {
|
|
|
13920
13920
|
SubmitResultInput: {
|
|
13921
13921
|
/** @description Required when someone holds the lease; must match the holder. */
|
|
13922
13922
|
claimant?: string | null;
|
|
13923
|
-
content?:
|
|
13923
|
+
content?: components["schemas"]["Value"] | null;
|
|
13924
13924
|
/** @description Shorthand for a failure: the model reads it as a failed tool. */
|
|
13925
13925
|
error?: string | null;
|
|
13926
13926
|
is_error?: boolean;
|
|
13927
|
-
result?:
|
|
13927
|
+
result?: components["schemas"]["Value"] | null;
|
|
13928
13928
|
};
|
|
13929
13929
|
TaskTemplate: {
|
|
13930
13930
|
agent_slug: string;
|
|
@@ -14423,7 +14423,7 @@ export interface components {
|
|
|
14423
14423
|
/** @description When present, replaces the full set of declared parameters. */
|
|
14424
14424
|
parameters?: components["schemas"]["TaskTemplateParam"][] | null;
|
|
14425
14425
|
prompt_template?: string | null;
|
|
14426
|
-
schedule_shape?:
|
|
14426
|
+
schedule_shape?: components["schemas"]["ScheduleShape"] | null;
|
|
14427
14427
|
slug?: string | null;
|
|
14428
14428
|
tool_choose_cron?: boolean | null;
|
|
14429
14429
|
/**
|
|
@@ -14442,7 +14442,7 @@ export interface components {
|
|
|
14442
14442
|
tool_min_delay_seconds?: number | null;
|
|
14443
14443
|
/** Format: int64 */
|
|
14444
14444
|
tool_min_gap_seconds?: number | null;
|
|
14445
|
-
trigger_source?:
|
|
14445
|
+
trigger_source?: components["schemas"]["TriggerSource"] | null;
|
|
14446
14446
|
};
|
|
14447
14447
|
UpdateTelegramChannelInput: {
|
|
14448
14448
|
agent_slug?: string | null;
|