@inkeep/agents-core 0.69.0 → 0.70.1

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.
Files changed (36) hide show
  1. package/dist/auth/auth-schema.d.ts +227 -227
  2. package/dist/auth/auth-validation-schemas.d.ts +137 -137
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/constants/allowed-file-formats.d.ts +6 -1
  6. package/dist/constants/allowed-file-formats.js +256 -24
  7. package/dist/constants/index.d.ts +2 -2
  8. package/dist/constants/index.js +2 -2
  9. package/dist/constants/signoz-queries.d.ts +1 -0
  10. package/dist/constants/signoz-queries.js +2 -1
  11. package/dist/data-access/manage/agents.d.ts +20 -20
  12. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  13. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  14. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  15. package/dist/data-access/manage/functionTools.d.ts +12 -12
  16. package/dist/data-access/manage/skills.d.ts +11 -11
  17. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  18. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  19. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  20. package/dist/data-access/manage/subAgents.d.ts +12 -12
  21. package/dist/data-access/manage/tools.d.ts +24 -24
  22. package/dist/data-access/manage/triggers.d.ts +2 -2
  23. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  24. package/dist/data-access/runtime/apps.d.ts +10 -10
  25. package/dist/data-access/runtime/conversations.d.ts +16 -16
  26. package/dist/data-access/runtime/feedback.d.ts +6 -6
  27. package/dist/data-access/runtime/messages.d.ts +24 -24
  28. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  29. package/dist/data-access/runtime/tasks.d.ts +5 -5
  30. package/dist/db/manage/manage-schema.d.ts +453 -453
  31. package/dist/db/runtime/runtime-schema.d.ts +413 -413
  32. package/dist/middleware/no-auth.d.ts +2 -2
  33. package/dist/utils/error.d.ts +51 -51
  34. package/dist/validation/schemas/skills.d.ts +24 -24
  35. package/dist/validation/schemas.d.ts +545 -545
  36. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import * as hono0 from "hono";
1
+ import * as hono3 from "hono";
2
2
 
3
3
  //#region src/middleware/no-auth.d.ts
4
- declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
4
+ declare const noAuth: () => hono3.MiddlewareHandler<any, string, {}, Response>;
5
5
  //#endregion
6
6
  export { noAuth };
@@ -9,8 +9,8 @@ import { HTTPException } from "hono/http-exception";
9
9
  */
10
10
  declare function getDatabaseErrorLogContext(error: unknown): Record<string, unknown>;
11
11
  declare const ErrorCode: z.ZodEnum<{
12
- unauthorized: "unauthorized";
13
12
  bad_request: "bad_request";
13
+ unauthorized: "unauthorized";
14
14
  payment_required: "payment_required";
15
15
  forbidden: "forbidden";
16
16
  not_found: "not_found";
@@ -27,8 +27,8 @@ declare const problemDetailsSchema: z.ZodObject<{
27
27
  instance: z.ZodOptional<z.ZodString>;
28
28
  requestId: z.ZodOptional<z.ZodString>;
29
29
  code: z.ZodEnum<{
30
- unauthorized: "unauthorized";
31
30
  bad_request: "bad_request";
31
+ unauthorized: "unauthorized";
32
32
  payment_required: "payment_required";
33
33
  forbidden: "forbidden";
34
34
  not_found: "not_found";
@@ -43,8 +43,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
43
43
  declare const errorResponseSchema: z.ZodObject<{
44
44
  error: z.ZodObject<{
45
45
  code: z.ZodEnum<{
46
- unauthorized: "unauthorized";
47
46
  bad_request: "bad_request";
47
+ unauthorized: "unauthorized";
48
48
  payment_required: "payment_required";
49
49
  forbidden: "forbidden";
50
50
  not_found: "not_found";
@@ -83,12 +83,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
83
83
  schema: z.ZodObject<{
84
84
  instance: z.ZodOptional<z.ZodString>;
85
85
  requestId: z.ZodOptional<z.ZodString>;
86
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
86
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
87
87
  detail: z.ZodString;
88
88
  title: z.ZodString;
89
89
  status: z.ZodNumber;
90
90
  error: z.ZodObject<{
91
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
91
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
92
92
  message: z.ZodString;
93
93
  }, z.core.$strip>;
94
94
  }, z.core.$strip>;
@@ -105,12 +105,12 @@ declare const commonCreateErrorResponses: {
105
105
  schema: z.ZodObject<{
106
106
  instance: z.ZodOptional<z.ZodString>;
107
107
  requestId: z.ZodOptional<z.ZodString>;
108
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
108
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
109
109
  detail: z.ZodString;
110
110
  title: z.ZodString;
111
111
  status: z.ZodNumber;
112
112
  error: z.ZodObject<{
113
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
113
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
114
114
  message: z.ZodString;
115
115
  }, z.core.$strip>;
116
116
  }, z.core.$strip>;
@@ -124,12 +124,12 @@ declare const commonCreateErrorResponses: {
124
124
  schema: z.ZodObject<{
125
125
  instance: z.ZodOptional<z.ZodString>;
126
126
  requestId: z.ZodOptional<z.ZodString>;
127
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
127
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
128
128
  detail: z.ZodString;
129
129
  title: z.ZodString;
130
130
  status: z.ZodNumber;
131
131
  error: z.ZodObject<{
132
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
132
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
133
133
  message: z.ZodString;
134
134
  }, z.core.$strip>;
135
135
  }, z.core.$strip>;
@@ -143,12 +143,12 @@ declare const commonCreateErrorResponses: {
143
143
  schema: z.ZodObject<{
144
144
  instance: z.ZodOptional<z.ZodString>;
145
145
  requestId: z.ZodOptional<z.ZodString>;
146
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
146
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
147
147
  detail: z.ZodString;
148
148
  title: z.ZodString;
149
149
  status: z.ZodNumber;
150
150
  error: z.ZodObject<{
151
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
151
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
152
152
  message: z.ZodString;
153
153
  }, z.core.$strip>;
154
154
  }, z.core.$strip>;
@@ -162,12 +162,12 @@ declare const commonCreateErrorResponses: {
162
162
  schema: z.ZodObject<{
163
163
  instance: z.ZodOptional<z.ZodString>;
164
164
  requestId: z.ZodOptional<z.ZodString>;
165
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
165
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
166
166
  detail: z.ZodString;
167
167
  title: z.ZodString;
168
168
  status: z.ZodNumber;
169
169
  error: z.ZodObject<{
170
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
170
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
171
171
  message: z.ZodString;
172
172
  }, z.core.$strip>;
173
173
  }, z.core.$strip>;
@@ -181,12 +181,12 @@ declare const commonCreateErrorResponses: {
181
181
  schema: z.ZodObject<{
182
182
  instance: z.ZodOptional<z.ZodString>;
183
183
  requestId: z.ZodOptional<z.ZodString>;
184
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
184
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
185
185
  detail: z.ZodString;
186
186
  title: z.ZodString;
187
187
  status: z.ZodNumber;
188
188
  error: z.ZodObject<{
189
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
189
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
190
190
  message: z.ZodString;
191
191
  }, z.core.$strip>;
192
192
  }, z.core.$strip>;
@@ -202,12 +202,12 @@ declare const commonUpdateErrorResponses: {
202
202
  schema: z.ZodObject<{
203
203
  instance: z.ZodOptional<z.ZodString>;
204
204
  requestId: z.ZodOptional<z.ZodString>;
205
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
205
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
206
206
  detail: z.ZodString;
207
207
  title: z.ZodString;
208
208
  status: z.ZodNumber;
209
209
  error: z.ZodObject<{
210
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
210
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
211
211
  message: z.ZodString;
212
212
  }, z.core.$strip>;
213
213
  }, z.core.$strip>;
@@ -221,12 +221,12 @@ declare const commonUpdateErrorResponses: {
221
221
  schema: z.ZodObject<{
222
222
  instance: z.ZodOptional<z.ZodString>;
223
223
  requestId: z.ZodOptional<z.ZodString>;
224
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
224
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
225
225
  detail: z.ZodString;
226
226
  title: z.ZodString;
227
227
  status: z.ZodNumber;
228
228
  error: z.ZodObject<{
229
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
229
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
230
230
  message: z.ZodString;
231
231
  }, z.core.$strip>;
232
232
  }, z.core.$strip>;
@@ -240,12 +240,12 @@ declare const commonUpdateErrorResponses: {
240
240
  schema: z.ZodObject<{
241
241
  instance: z.ZodOptional<z.ZodString>;
242
242
  requestId: z.ZodOptional<z.ZodString>;
243
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
243
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
244
244
  detail: z.ZodString;
245
245
  title: z.ZodString;
246
246
  status: z.ZodNumber;
247
247
  error: z.ZodObject<{
248
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
248
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
249
249
  message: z.ZodString;
250
250
  }, z.core.$strip>;
251
251
  }, z.core.$strip>;
@@ -259,12 +259,12 @@ declare const commonUpdateErrorResponses: {
259
259
  schema: z.ZodObject<{
260
260
  instance: z.ZodOptional<z.ZodString>;
261
261
  requestId: z.ZodOptional<z.ZodString>;
262
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
262
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
263
263
  detail: z.ZodString;
264
264
  title: z.ZodString;
265
265
  status: z.ZodNumber;
266
266
  error: z.ZodObject<{
267
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
267
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
268
268
  message: z.ZodString;
269
269
  }, z.core.$strip>;
270
270
  }, z.core.$strip>;
@@ -278,12 +278,12 @@ declare const commonUpdateErrorResponses: {
278
278
  schema: z.ZodObject<{
279
279
  instance: z.ZodOptional<z.ZodString>;
280
280
  requestId: z.ZodOptional<z.ZodString>;
281
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
281
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
282
282
  detail: z.ZodString;
283
283
  title: z.ZodString;
284
284
  status: z.ZodNumber;
285
285
  error: z.ZodObject<{
286
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
286
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
287
287
  message: z.ZodString;
288
288
  }, z.core.$strip>;
289
289
  }, z.core.$strip>;
@@ -297,12 +297,12 @@ declare const commonUpdateErrorResponses: {
297
297
  schema: z.ZodObject<{
298
298
  instance: z.ZodOptional<z.ZodString>;
299
299
  requestId: z.ZodOptional<z.ZodString>;
300
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
300
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
301
301
  detail: z.ZodString;
302
302
  title: z.ZodString;
303
303
  status: z.ZodNumber;
304
304
  error: z.ZodObject<{
305
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
305
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
306
306
  message: z.ZodString;
307
307
  }, z.core.$strip>;
308
308
  }, z.core.$strip>;
@@ -318,12 +318,12 @@ declare const commonGetErrorResponses: {
318
318
  schema: z.ZodObject<{
319
319
  instance: z.ZodOptional<z.ZodString>;
320
320
  requestId: z.ZodOptional<z.ZodString>;
321
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
321
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
322
322
  detail: z.ZodString;
323
323
  title: z.ZodString;
324
324
  status: z.ZodNumber;
325
325
  error: z.ZodObject<{
326
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
326
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
327
327
  message: z.ZodString;
328
328
  }, z.core.$strip>;
329
329
  }, z.core.$strip>;
@@ -337,12 +337,12 @@ declare const commonGetErrorResponses: {
337
337
  schema: z.ZodObject<{
338
338
  instance: z.ZodOptional<z.ZodString>;
339
339
  requestId: z.ZodOptional<z.ZodString>;
340
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
340
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
341
341
  detail: z.ZodString;
342
342
  title: z.ZodString;
343
343
  status: z.ZodNumber;
344
344
  error: z.ZodObject<{
345
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
345
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
346
346
  message: z.ZodString;
347
347
  }, z.core.$strip>;
348
348
  }, z.core.$strip>;
@@ -356,12 +356,12 @@ declare const commonGetErrorResponses: {
356
356
  schema: z.ZodObject<{
357
357
  instance: z.ZodOptional<z.ZodString>;
358
358
  requestId: z.ZodOptional<z.ZodString>;
359
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
359
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
360
360
  detail: z.ZodString;
361
361
  title: z.ZodString;
362
362
  status: z.ZodNumber;
363
363
  error: z.ZodObject<{
364
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
364
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
365
365
  message: z.ZodString;
366
366
  }, z.core.$strip>;
367
367
  }, z.core.$strip>;
@@ -375,12 +375,12 @@ declare const commonGetErrorResponses: {
375
375
  schema: z.ZodObject<{
376
376
  instance: z.ZodOptional<z.ZodString>;
377
377
  requestId: z.ZodOptional<z.ZodString>;
378
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
378
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
379
379
  detail: z.ZodString;
380
380
  title: z.ZodString;
381
381
  status: z.ZodNumber;
382
382
  error: z.ZodObject<{
383
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
383
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
384
384
  message: z.ZodString;
385
385
  }, z.core.$strip>;
386
386
  }, z.core.$strip>;
@@ -394,12 +394,12 @@ declare const commonGetErrorResponses: {
394
394
  schema: z.ZodObject<{
395
395
  instance: z.ZodOptional<z.ZodString>;
396
396
  requestId: z.ZodOptional<z.ZodString>;
397
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
397
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
398
398
  detail: z.ZodString;
399
399
  title: z.ZodString;
400
400
  status: z.ZodNumber;
401
401
  error: z.ZodObject<{
402
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
402
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
403
403
  message: z.ZodString;
404
404
  }, z.core.$strip>;
405
405
  }, z.core.$strip>;
@@ -413,12 +413,12 @@ declare const commonGetErrorResponses: {
413
413
  schema: z.ZodObject<{
414
414
  instance: z.ZodOptional<z.ZodString>;
415
415
  requestId: z.ZodOptional<z.ZodString>;
416
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
416
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
417
417
  detail: z.ZodString;
418
418
  title: z.ZodString;
419
419
  status: z.ZodNumber;
420
420
  error: z.ZodObject<{
421
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
421
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
422
422
  message: z.ZodString;
423
423
  }, z.core.$strip>;
424
424
  }, z.core.$strip>;
@@ -434,12 +434,12 @@ declare const commonDeleteErrorResponses: {
434
434
  schema: z.ZodObject<{
435
435
  instance: z.ZodOptional<z.ZodString>;
436
436
  requestId: z.ZodOptional<z.ZodString>;
437
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
437
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
438
438
  detail: z.ZodString;
439
439
  title: z.ZodString;
440
440
  status: z.ZodNumber;
441
441
  error: z.ZodObject<{
442
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
442
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
443
443
  message: z.ZodString;
444
444
  }, z.core.$strip>;
445
445
  }, z.core.$strip>;
@@ -453,12 +453,12 @@ declare const commonDeleteErrorResponses: {
453
453
  schema: z.ZodObject<{
454
454
  instance: z.ZodOptional<z.ZodString>;
455
455
  requestId: z.ZodOptional<z.ZodString>;
456
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
456
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
457
457
  detail: z.ZodString;
458
458
  title: z.ZodString;
459
459
  status: z.ZodNumber;
460
460
  error: z.ZodObject<{
461
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
461
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
462
462
  message: z.ZodString;
463
463
  }, z.core.$strip>;
464
464
  }, z.core.$strip>;
@@ -472,12 +472,12 @@ declare const commonDeleteErrorResponses: {
472
472
  schema: z.ZodObject<{
473
473
  instance: z.ZodOptional<z.ZodString>;
474
474
  requestId: z.ZodOptional<z.ZodString>;
475
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
475
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
476
476
  detail: z.ZodString;
477
477
  title: z.ZodString;
478
478
  status: z.ZodNumber;
479
479
  error: z.ZodObject<{
480
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
480
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
481
481
  message: z.ZodString;
482
482
  }, z.core.$strip>;
483
483
  }, z.core.$strip>;
@@ -491,12 +491,12 @@ declare const commonDeleteErrorResponses: {
491
491
  schema: z.ZodObject<{
492
492
  instance: z.ZodOptional<z.ZodString>;
493
493
  requestId: z.ZodOptional<z.ZodString>;
494
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
494
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
495
495
  detail: z.ZodString;
496
496
  title: z.ZodString;
497
497
  status: z.ZodNumber;
498
498
  error: z.ZodObject<{
499
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
499
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
500
500
  message: z.ZodString;
501
501
  }, z.core.$strip>;
502
502
  }, z.core.$strip>;
@@ -510,12 +510,12 @@ declare const commonDeleteErrorResponses: {
510
510
  schema: z.ZodObject<{
511
511
  instance: z.ZodOptional<z.ZodString>;
512
512
  requestId: z.ZodOptional<z.ZodString>;
513
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
513
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
514
514
  detail: z.ZodString;
515
515
  title: z.ZodString;
516
516
  status: z.ZodNumber;
517
517
  error: z.ZodObject<{
518
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
518
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
519
519
  message: z.ZodString;
520
520
  }, z.core.$strip>;
521
521
  }, z.core.$strip>;
@@ -529,12 +529,12 @@ declare const commonDeleteErrorResponses: {
529
529
  schema: z.ZodObject<{
530
530
  instance: z.ZodOptional<z.ZodString>;
531
531
  requestId: z.ZodOptional<z.ZodString>;
532
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
532
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
533
533
  detail: z.ZodString;
534
534
  title: z.ZodString;
535
535
  status: z.ZodNumber;
536
536
  error: z.ZodObject<{
537
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
537
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
538
538
  message: z.ZodString;
539
539
  }, z.core.$strip>;
540
540
  }, z.core.$strip>;
@@ -351,13 +351,13 @@ declare const SkillUpdateSchema: z.ZodObject<{
351
351
  }, z.core.$strip>>;
352
352
  }, z.core.$strip>;
353
353
  declare const SkillApiSelectSchema: z.ZodObject<{
354
+ id: z.ZodString;
354
355
  name: z.ZodString;
355
356
  description: z.ZodString;
356
357
  content: z.ZodString;
357
- id: z.ZodString;
358
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
358
359
  createdAt: z.ZodString;
359
360
  updatedAt: z.ZodString;
360
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
361
361
  }, z.core.$strip>;
362
362
  declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
363
363
  files: z.ZodArray<z.ZodObject<{
@@ -409,12 +409,12 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
409
409
  }, z.core.$strip>>>>;
410
410
  }, z.core.$strict>>;
411
411
  declare const SkillFileApiSelectSchema: z.ZodObject<{
412
- content: z.ZodString;
413
412
  id: z.ZodString;
413
+ content: z.ZodString;
414
414
  createdAt: z.ZodString;
415
415
  updatedAt: z.ZodString;
416
- filePath: z.ZodString;
417
416
  skillId: z.ZodString;
417
+ filePath: z.ZodString;
418
418
  }, z.core.$strip>;
419
419
  declare const SkillFileApiInsertSchema: z.ZodObject<{
420
420
  filePath: z.ZodString;
@@ -424,20 +424,20 @@ declare const SkillFileApiUpdateSchema: z.ZodObject<{
424
424
  content: z.ZodString;
425
425
  }, z.core.$strip>;
426
426
  declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
427
+ id: z.ZodString;
427
428
  name: z.ZodString;
428
429
  description: z.ZodString;
429
430
  content: z.ZodString;
430
- id: z.ZodString;
431
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
431
432
  createdAt: z.ZodString;
432
433
  updatedAt: z.ZodString;
433
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
434
434
  files: z.ZodArray<z.ZodObject<{
435
- content: z.ZodString;
436
435
  id: z.ZodString;
436
+ content: z.ZodString;
437
437
  createdAt: z.ZodString;
438
438
  updatedAt: z.ZodString;
439
- filePath: z.ZodString;
440
439
  skillId: z.ZodString;
440
+ filePath: z.ZodString;
441
441
  }, z.core.$strip>>;
442
442
  }, z.core.$strip>;
443
443
  declare const SubAgentSkillSelectSchema: z.ZodObject<{
@@ -490,16 +490,16 @@ declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
490
490
  createdAt: z.ZodString;
491
491
  updatedAt: z.ZodString;
492
492
  subAgentId: z.ZodString;
493
+ skillId: z.ZodString;
493
494
  index: z.ZodInt;
494
495
  alwaysLoaded: z.ZodBoolean;
495
- skillId: z.ZodString;
496
496
  }, z.core.$strip>;
497
497
  declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
498
498
  agentId: z.ZodString;
499
499
  subAgentId: z.ZodString;
500
+ skillId: z.ZodString;
500
501
  index: z.ZodInt;
501
502
  alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
502
- skillId: z.ZodString;
503
503
  }, {
504
504
  out: {};
505
505
  in: {};
@@ -509,18 +509,18 @@ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
509
509
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
510
510
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
511
511
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
512
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
512
513
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
513
514
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
514
- skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
515
515
  }, z.core.$strip>;
516
516
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
517
+ id: z.ZodString;
517
518
  name: z.ZodString;
518
519
  description: z.ZodString;
519
520
  content: z.ZodString;
520
- id: z.ZodString;
521
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
521
522
  createdAt: z.ZodString;
522
523
  updatedAt: z.ZodString;
523
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
524
524
  subAgentSkillId: z.ZodString;
525
525
  subAgentId: z.ZodString;
526
526
  index: z.ZodInt;
@@ -528,42 +528,42 @@ declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
528
528
  }, z.core.$strip>;
529
529
  declare const SkillFileResponse: z.ZodObject<{
530
530
  data: z.ZodObject<{
531
- content: z.ZodString;
532
531
  id: z.ZodString;
532
+ content: z.ZodString;
533
533
  createdAt: z.ZodString;
534
534
  updatedAt: z.ZodString;
535
- filePath: z.ZodString;
536
535
  skillId: z.ZodString;
536
+ filePath: z.ZodString;
537
537
  }, z.core.$strip>;
538
538
  }, z.core.$strip>;
539
539
  declare const SkillWithFilesResponse: z.ZodObject<{
540
540
  data: z.ZodObject<{
541
+ id: z.ZodString;
541
542
  name: z.ZodString;
542
543
  description: z.ZodString;
543
544
  content: z.ZodString;
544
- id: z.ZodString;
545
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
545
546
  createdAt: z.ZodString;
546
547
  updatedAt: z.ZodString;
547
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
548
548
  files: z.ZodArray<z.ZodObject<{
549
- content: z.ZodString;
550
549
  id: z.ZodString;
550
+ content: z.ZodString;
551
551
  createdAt: z.ZodString;
552
552
  updatedAt: z.ZodString;
553
- filePath: z.ZodString;
554
553
  skillId: z.ZodString;
554
+ filePath: z.ZodString;
555
555
  }, z.core.$strip>>;
556
556
  }, z.core.$strip>;
557
557
  }, z.core.$strip>;
558
558
  declare const SkillListResponse: z.ZodObject<{
559
559
  data: z.ZodArray<z.ZodObject<{
560
+ id: z.ZodString;
560
561
  name: z.ZodString;
561
562
  description: z.ZodString;
562
563
  content: z.ZodString;
563
- id: z.ZodString;
564
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
564
565
  createdAt: z.ZodString;
565
566
  updatedAt: z.ZodString;
566
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
567
567
  }, z.core.$strip>>;
568
568
  pagination: z.ZodObject<{
569
569
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -578,20 +578,20 @@ declare const SubAgentSkillResponse: z.ZodObject<{
578
578
  createdAt: z.ZodString;
579
579
  updatedAt: z.ZodString;
580
580
  subAgentId: z.ZodString;
581
+ skillId: z.ZodString;
581
582
  index: z.ZodInt;
582
583
  alwaysLoaded: z.ZodBoolean;
583
- skillId: z.ZodString;
584
584
  }, z.core.$strip>;
585
585
  }, z.core.$strip>;
586
586
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
587
587
  data: z.ZodArray<z.ZodObject<{
588
+ id: z.ZodString;
588
589
  name: z.ZodString;
589
590
  description: z.ZodString;
590
591
  content: z.ZodString;
591
- id: z.ZodString;
592
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
592
593
  createdAt: z.ZodString;
593
594
  updatedAt: z.ZodString;
594
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
595
595
  subAgentSkillId: z.ZodString;
596
596
  subAgentId: z.ZodString;
597
597
  index: z.ZodInt;