@cubos/agent-sdk 0.0.1151166 → 0.0.1152175
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 +10 -10
- package/dist/admin/channels.d.ts +24 -0
- package/dist/admin/client-tools.d.ts +2 -2
- package/dist/admin/conversations.d.ts +42 -36
- package/dist/admin/cost-metrics.d.ts +61 -0
- package/dist/admin/global.d.ts +5 -5
- package/dist/admin/index.d.ts +3 -0
- 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 +720 -51
- package/dist/index.d.ts +2 -0
- package/dist/index.js +51 -12
- package/dist/index.js.map +8 -7
- package/dist/mapping.d.ts +3 -0
- package/dist/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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<{
|