@inkeep/agents-core 0.63.1 → 0.63.3

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 (51) hide show
  1. package/dist/auth/permissions.d.ts +9 -9
  2. package/dist/client-exports.d.ts +5 -2
  3. package/dist/client-exports.js +6 -2
  4. package/dist/data-access/index.d.ts +2 -2
  5. package/dist/data-access/index.js +2 -2
  6. package/dist/data-access/manage/agents.d.ts +34 -34
  7. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  8. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  9. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  10. package/dist/data-access/manage/functionTools.d.ts +16 -16
  11. package/dist/data-access/manage/projectFull.js +42 -44
  12. package/dist/data-access/manage/skills.d.ts +84 -36
  13. package/dist/data-access/manage/skills.js +259 -46
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +32 -32
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgents.d.ts +18 -18
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/triggers.d.ts +1 -1
  20. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  21. package/dist/data-access/runtime/apps.d.ts +16 -16
  22. package/dist/data-access/runtime/conversations.d.ts +24 -24
  23. package/dist/data-access/runtime/messages.d.ts +12 -12
  24. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  25. package/dist/data-access/runtime/tasks.d.ts +5 -5
  26. package/dist/db/manage/manage-schema.d.ts +163 -4
  27. package/dist/db/manage/manage-schema.js +52 -2
  28. package/dist/db/runtime/runtime-schema.d.ts +371 -371
  29. package/dist/index.d.ts +8 -5
  30. package/dist/index.js +7 -4
  31. package/dist/types/entities.d.ts +11 -2
  32. package/dist/types/index.d.ts +2 -2
  33. package/dist/utils/index.d.ts +2 -1
  34. package/dist/utils/index.js +2 -1
  35. package/dist/utils/skill-files.d.ts +17 -0
  36. package/dist/utils/skill-files.js +29 -0
  37. package/dist/validation/drizzle-schema-helpers.js +1 -2
  38. package/dist/validation/index.d.ts +4 -2
  39. package/dist/validation/index.js +4 -2
  40. package/dist/validation/schemas/shared.d.ts +38 -0
  41. package/dist/validation/schemas/shared.js +63 -0
  42. package/dist/validation/schemas/skills.d.ts +602 -0
  43. package/dist/validation/schemas/skills.js +128 -0
  44. package/dist/validation/schemas.d.ts +1540 -2076
  45. package/dist/validation/schemas.js +4 -109
  46. package/drizzle/manage/0014_complex_firebird.sql +15 -0
  47. package/drizzle/manage/0015_backfill_skill_files.sql +61 -0
  48. package/drizzle/manage/meta/0014_snapshot.json +3821 -0
  49. package/drizzle/manage/meta/0015_snapshot.json +3821 -0
  50. package/drizzle/manage/meta/_journal.json +14 -0
  51. package/package.json +4 -2
@@ -0,0 +1,602 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ import * as drizzle_orm_pg_core2114 from "drizzle-orm/pg-core";
3
+ import * as drizzle_zod363 from "drizzle-zod";
4
+
5
+ //#region src/validation/schemas/skills.d.ts
6
+ declare const SkillIndexSchema: z.ZodInt;
7
+ declare const SkillFrontmatterSchema: z.ZodObject<{
8
+ name: z.ZodString;
9
+ description: z.ZodString;
10
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11
+ }, z.core.$loose>;
12
+ declare const SkillSelectSchema: z.ZodObject<{
13
+ createdAt: z.ZodString;
14
+ updatedAt: z.ZodString;
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ description: z.ZodString;
18
+ content: z.ZodString;
19
+ projectId: z.ZodString;
20
+ tenantId: z.ZodString;
21
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
22
+ }, {
23
+ out: {};
24
+ in: {};
25
+ }>;
26
+ declare const SkillFileContentInputSchema: z.ZodObject<{
27
+ filePath: z.ZodString;
28
+ content: z.ZodString;
29
+ }, z.core.$strip>;
30
+ declare const SkillFileSelectSchema: drizzle_zod363.BuildSchema<"select", {
31
+ createdAt: drizzle_orm_pg_core2114.PgColumn<{
32
+ name: "created_at";
33
+ tableName: "skill_files";
34
+ dataType: "string";
35
+ columnType: "PgTimestampString";
36
+ data: string;
37
+ driverParam: string;
38
+ notNull: true;
39
+ hasDefault: true;
40
+ isPrimaryKey: false;
41
+ isAutoincrement: false;
42
+ hasRuntimeDefault: false;
43
+ enumValues: undefined;
44
+ baseColumn: never;
45
+ identity: undefined;
46
+ generated: undefined;
47
+ }, {}, {}>;
48
+ updatedAt: drizzle_orm_pg_core2114.PgColumn<{
49
+ name: "updated_at";
50
+ tableName: "skill_files";
51
+ dataType: "string";
52
+ columnType: "PgTimestampString";
53
+ data: string;
54
+ driverParam: string;
55
+ notNull: true;
56
+ hasDefault: true;
57
+ isPrimaryKey: false;
58
+ isAutoincrement: false;
59
+ hasRuntimeDefault: false;
60
+ enumValues: undefined;
61
+ baseColumn: never;
62
+ identity: undefined;
63
+ generated: undefined;
64
+ }, {}, {}>;
65
+ skillId: drizzle_orm_pg_core2114.PgColumn<{
66
+ name: "skill_id";
67
+ tableName: "skill_files";
68
+ dataType: "string";
69
+ columnType: "PgVarchar";
70
+ data: string;
71
+ driverParam: string;
72
+ notNull: true;
73
+ hasDefault: false;
74
+ isPrimaryKey: false;
75
+ isAutoincrement: false;
76
+ hasRuntimeDefault: false;
77
+ enumValues: [string, ...string[]];
78
+ baseColumn: never;
79
+ identity: undefined;
80
+ generated: undefined;
81
+ }, {}, {
82
+ length: 64;
83
+ }>;
84
+ filePath: drizzle_orm_pg_core2114.PgColumn<{
85
+ name: "file_path";
86
+ tableName: "skill_files";
87
+ dataType: "string";
88
+ columnType: "PgVarchar";
89
+ data: string;
90
+ driverParam: string;
91
+ notNull: true;
92
+ hasDefault: false;
93
+ isPrimaryKey: false;
94
+ isAutoincrement: false;
95
+ hasRuntimeDefault: false;
96
+ enumValues: [string, ...string[]];
97
+ baseColumn: never;
98
+ identity: undefined;
99
+ generated: undefined;
100
+ }, {}, {
101
+ length: 1024;
102
+ }>;
103
+ content: drizzle_orm_pg_core2114.PgColumn<{
104
+ name: "content";
105
+ tableName: "skill_files";
106
+ dataType: "string";
107
+ columnType: "PgText";
108
+ data: string;
109
+ driverParam: string;
110
+ notNull: true;
111
+ hasDefault: false;
112
+ isPrimaryKey: false;
113
+ isAutoincrement: false;
114
+ hasRuntimeDefault: false;
115
+ enumValues: [string, ...string[]];
116
+ baseColumn: never;
117
+ identity: undefined;
118
+ generated: undefined;
119
+ }, {}, {}>;
120
+ projectId: drizzle_orm_pg_core2114.PgColumn<{
121
+ name: "project_id";
122
+ tableName: "skill_files";
123
+ dataType: "string";
124
+ columnType: "PgVarchar";
125
+ data: string;
126
+ driverParam: string;
127
+ notNull: true;
128
+ hasDefault: false;
129
+ isPrimaryKey: false;
130
+ isAutoincrement: false;
131
+ hasRuntimeDefault: false;
132
+ enumValues: [string, ...string[]];
133
+ baseColumn: never;
134
+ identity: undefined;
135
+ generated: undefined;
136
+ }, {}, {
137
+ length: 256;
138
+ }>;
139
+ tenantId: drizzle_orm_pg_core2114.PgColumn<{
140
+ name: "tenant_id";
141
+ tableName: "skill_files";
142
+ dataType: "string";
143
+ columnType: "PgVarchar";
144
+ data: string;
145
+ driverParam: string;
146
+ notNull: true;
147
+ hasDefault: false;
148
+ isPrimaryKey: false;
149
+ isAutoincrement: false;
150
+ hasRuntimeDefault: false;
151
+ enumValues: [string, ...string[]];
152
+ baseColumn: never;
153
+ identity: undefined;
154
+ generated: undefined;
155
+ }, {}, {
156
+ length: 256;
157
+ }>;
158
+ id: drizzle_orm_pg_core2114.PgColumn<{
159
+ name: "id";
160
+ tableName: "skill_files";
161
+ dataType: "string";
162
+ columnType: "PgVarchar";
163
+ data: string;
164
+ driverParam: string;
165
+ notNull: true;
166
+ hasDefault: false;
167
+ isPrimaryKey: false;
168
+ isAutoincrement: false;
169
+ hasRuntimeDefault: false;
170
+ enumValues: [string, ...string[]];
171
+ baseColumn: never;
172
+ identity: undefined;
173
+ generated: undefined;
174
+ }, {}, {
175
+ length: 256;
176
+ }>;
177
+ }, drizzle_zod363.BuildRefine<{
178
+ createdAt: drizzle_orm_pg_core2114.PgColumn<{
179
+ name: "created_at";
180
+ tableName: "skill_files";
181
+ dataType: "string";
182
+ columnType: "PgTimestampString";
183
+ data: string;
184
+ driverParam: string;
185
+ notNull: true;
186
+ hasDefault: true;
187
+ isPrimaryKey: false;
188
+ isAutoincrement: false;
189
+ hasRuntimeDefault: false;
190
+ enumValues: undefined;
191
+ baseColumn: never;
192
+ identity: undefined;
193
+ generated: undefined;
194
+ }, {}, {}>;
195
+ updatedAt: drizzle_orm_pg_core2114.PgColumn<{
196
+ name: "updated_at";
197
+ tableName: "skill_files";
198
+ dataType: "string";
199
+ columnType: "PgTimestampString";
200
+ data: string;
201
+ driverParam: string;
202
+ notNull: true;
203
+ hasDefault: true;
204
+ isPrimaryKey: false;
205
+ isAutoincrement: false;
206
+ hasRuntimeDefault: false;
207
+ enumValues: undefined;
208
+ baseColumn: never;
209
+ identity: undefined;
210
+ generated: undefined;
211
+ }, {}, {}>;
212
+ skillId: drizzle_orm_pg_core2114.PgColumn<{
213
+ name: "skill_id";
214
+ tableName: "skill_files";
215
+ dataType: "string";
216
+ columnType: "PgVarchar";
217
+ data: string;
218
+ driverParam: string;
219
+ notNull: true;
220
+ hasDefault: false;
221
+ isPrimaryKey: false;
222
+ isAutoincrement: false;
223
+ hasRuntimeDefault: false;
224
+ enumValues: [string, ...string[]];
225
+ baseColumn: never;
226
+ identity: undefined;
227
+ generated: undefined;
228
+ }, {}, {
229
+ length: 64;
230
+ }>;
231
+ filePath: drizzle_orm_pg_core2114.PgColumn<{
232
+ name: "file_path";
233
+ tableName: "skill_files";
234
+ dataType: "string";
235
+ columnType: "PgVarchar";
236
+ data: string;
237
+ driverParam: string;
238
+ notNull: true;
239
+ hasDefault: false;
240
+ isPrimaryKey: false;
241
+ isAutoincrement: false;
242
+ hasRuntimeDefault: false;
243
+ enumValues: [string, ...string[]];
244
+ baseColumn: never;
245
+ identity: undefined;
246
+ generated: undefined;
247
+ }, {}, {
248
+ length: 1024;
249
+ }>;
250
+ content: drizzle_orm_pg_core2114.PgColumn<{
251
+ name: "content";
252
+ tableName: "skill_files";
253
+ dataType: "string";
254
+ columnType: "PgText";
255
+ data: string;
256
+ driverParam: string;
257
+ notNull: true;
258
+ hasDefault: false;
259
+ isPrimaryKey: false;
260
+ isAutoincrement: false;
261
+ hasRuntimeDefault: false;
262
+ enumValues: [string, ...string[]];
263
+ baseColumn: never;
264
+ identity: undefined;
265
+ generated: undefined;
266
+ }, {}, {}>;
267
+ projectId: drizzle_orm_pg_core2114.PgColumn<{
268
+ name: "project_id";
269
+ tableName: "skill_files";
270
+ dataType: "string";
271
+ columnType: "PgVarchar";
272
+ data: string;
273
+ driverParam: string;
274
+ notNull: true;
275
+ hasDefault: false;
276
+ isPrimaryKey: false;
277
+ isAutoincrement: false;
278
+ hasRuntimeDefault: false;
279
+ enumValues: [string, ...string[]];
280
+ baseColumn: never;
281
+ identity: undefined;
282
+ generated: undefined;
283
+ }, {}, {
284
+ length: 256;
285
+ }>;
286
+ tenantId: drizzle_orm_pg_core2114.PgColumn<{
287
+ name: "tenant_id";
288
+ tableName: "skill_files";
289
+ dataType: "string";
290
+ columnType: "PgVarchar";
291
+ data: string;
292
+ driverParam: string;
293
+ notNull: true;
294
+ hasDefault: false;
295
+ isPrimaryKey: false;
296
+ isAutoincrement: false;
297
+ hasRuntimeDefault: false;
298
+ enumValues: [string, ...string[]];
299
+ baseColumn: never;
300
+ identity: undefined;
301
+ generated: undefined;
302
+ }, {}, {
303
+ length: 256;
304
+ }>;
305
+ id: drizzle_orm_pg_core2114.PgColumn<{
306
+ name: "id";
307
+ tableName: "skill_files";
308
+ dataType: "string";
309
+ columnType: "PgVarchar";
310
+ data: string;
311
+ driverParam: string;
312
+ notNull: true;
313
+ hasDefault: false;
314
+ isPrimaryKey: false;
315
+ isAutoincrement: false;
316
+ hasRuntimeDefault: false;
317
+ enumValues: [string, ...string[]];
318
+ baseColumn: never;
319
+ identity: undefined;
320
+ generated: undefined;
321
+ }, {}, {
322
+ length: 256;
323
+ }>;
324
+ }, undefined>, undefined>;
325
+ declare const SkillFileInsertSchema: z.ZodObject<{
326
+ createdAt: z.ZodOptional<z.ZodString>;
327
+ updatedAt: z.ZodOptional<z.ZodString>;
328
+ projectId: z.ZodString;
329
+ tenantId: z.ZodString;
330
+ id: z.ZodString;
331
+ skillId: z.ZodString;
332
+ filePath: z.ZodString;
333
+ content: z.ZodString;
334
+ }, {
335
+ out: {};
336
+ in: {};
337
+ }>;
338
+ declare const SkillInsertSchema: z.ZodObject<{
339
+ name: z.ZodString;
340
+ description: z.ZodString;
341
+ content: z.ZodString;
342
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
343
+ }, {
344
+ out: {};
345
+ in: {};
346
+ }>;
347
+ declare const SkillUpdateSchema: z.ZodObject<{
348
+ files: z.ZodArray<z.ZodObject<{
349
+ filePath: z.ZodString;
350
+ content: z.ZodString;
351
+ }, z.core.$strip>>;
352
+ }, z.core.$strip>;
353
+ declare const SkillApiSelectSchema: z.ZodObject<{
354
+ id: z.ZodString;
355
+ name: z.ZodString;
356
+ description: z.ZodString;
357
+ content: z.ZodString;
358
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
359
+ createdAt: z.ZodString;
360
+ updatedAt: z.ZodString;
361
+ }, z.core.$strip>;
362
+ declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
363
+ files: z.ZodArray<z.ZodObject<{
364
+ filePath: z.ZodString;
365
+ content: z.ZodString;
366
+ }, z.core.$strip>>;
367
+ }, z.core.$strip>, z.ZodTransform<{
368
+ name: string;
369
+ description: string;
370
+ metadata: Record<string, string> | null;
371
+ content: string;
372
+ files: {
373
+ filePath: string;
374
+ content: string;
375
+ }[];
376
+ }, {
377
+ files: {
378
+ filePath: string;
379
+ content: string;
380
+ }[];
381
+ }>>, z.ZodObject<{
382
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
383
+ files: z.ZodArray<z.ZodObject<{
384
+ filePath: z.ZodString;
385
+ content: z.ZodString;
386
+ }, z.core.$strip>>;
387
+ name: z.ZodString;
388
+ description: z.ZodString;
389
+ content: z.ZodString;
390
+ }, z.core.$strict>>;
391
+ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
392
+ files: z.ZodArray<z.ZodObject<{
393
+ filePath: z.ZodString;
394
+ content: z.ZodString;
395
+ }, z.core.$strip>>;
396
+ }, z.core.$strip>, z.ZodTransform<any, {
397
+ files: {
398
+ filePath: string;
399
+ content: string;
400
+ }[];
401
+ }>>, z.ZodObject<{
402
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
403
+ name: z.ZodOptional<z.ZodString>;
404
+ description: z.ZodOptional<z.ZodString>;
405
+ content: z.ZodOptional<z.ZodString>;
406
+ files: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
407
+ filePath: z.ZodString;
408
+ content: z.ZodString;
409
+ }, z.core.$strip>>>>;
410
+ }, z.core.$strict>>;
411
+ declare const SkillFileApiSelectSchema: z.ZodObject<{
412
+ id: z.ZodString;
413
+ content: z.ZodString;
414
+ createdAt: z.ZodString;
415
+ updatedAt: z.ZodString;
416
+ skillId: z.ZodString;
417
+ filePath: z.ZodString;
418
+ }, z.core.$strip>;
419
+ declare const SkillFileApiInsertSchema: z.ZodObject<{
420
+ filePath: z.ZodString;
421
+ content: z.ZodString;
422
+ }, z.core.$strip>;
423
+ declare const SkillFileApiUpdateSchema: z.ZodObject<{
424
+ content: z.ZodString;
425
+ }, z.core.$strip>;
426
+ declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
427
+ id: z.ZodString;
428
+ name: z.ZodString;
429
+ description: z.ZodString;
430
+ content: z.ZodString;
431
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
432
+ createdAt: z.ZodString;
433
+ updatedAt: z.ZodString;
434
+ files: z.ZodArray<z.ZodObject<{
435
+ id: z.ZodString;
436
+ content: z.ZodString;
437
+ createdAt: z.ZodString;
438
+ updatedAt: z.ZodString;
439
+ skillId: z.ZodString;
440
+ filePath: z.ZodString;
441
+ }, z.core.$strip>>;
442
+ }, z.core.$strip>;
443
+ declare const SubAgentSkillSelectSchema: z.ZodObject<{
444
+ createdAt: z.ZodString;
445
+ updatedAt: z.ZodString;
446
+ skillId: z.ZodString;
447
+ alwaysLoaded: z.ZodBoolean;
448
+ subAgentId: z.ZodString;
449
+ agentId: z.ZodString;
450
+ projectId: z.ZodString;
451
+ tenantId: z.ZodString;
452
+ id: z.ZodString;
453
+ index: z.ZodInt;
454
+ }, {
455
+ out: {};
456
+ in: {};
457
+ }>;
458
+ declare const SubAgentSkillInsertSchema: z.ZodObject<{
459
+ createdAt: z.ZodOptional<z.ZodString>;
460
+ updatedAt: z.ZodOptional<z.ZodString>;
461
+ agentId: z.ZodString;
462
+ projectId: z.ZodString;
463
+ tenantId: z.ZodString;
464
+ id: z.ZodString;
465
+ subAgentId: z.ZodString;
466
+ skillId: z.ZodString;
467
+ index: z.ZodInt;
468
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
469
+ }, {
470
+ out: {};
471
+ in: {};
472
+ }>;
473
+ declare const SubAgentSkillUpdateSchema: z.ZodObject<{
474
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
475
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
476
+ agentId: z.ZodOptional<z.ZodString>;
477
+ projectId: z.ZodOptional<z.ZodString>;
478
+ tenantId: z.ZodOptional<z.ZodString>;
479
+ id: z.ZodOptional<z.ZodString>;
480
+ subAgentId: z.ZodOptional<z.ZodString>;
481
+ skillId: z.ZodOptional<z.ZodString>;
482
+ index: z.ZodOptional<z.ZodInt>;
483
+ alwaysLoaded: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
484
+ }, {
485
+ out: {};
486
+ in: {};
487
+ }>;
488
+ declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
489
+ id: z.ZodString;
490
+ createdAt: z.ZodString;
491
+ updatedAt: z.ZodString;
492
+ subAgentId: z.ZodString;
493
+ skillId: z.ZodString;
494
+ index: z.ZodInt;
495
+ alwaysLoaded: z.ZodBoolean;
496
+ }, z.core.$strip>;
497
+ declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
498
+ agentId: z.ZodString;
499
+ subAgentId: z.ZodString;
500
+ skillId: z.ZodString;
501
+ index: z.ZodInt;
502
+ alwaysLoaded: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
503
+ }, {
504
+ out: {};
505
+ in: {};
506
+ }>;
507
+ declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
508
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
509
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
510
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
511
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
512
+ skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
513
+ index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
514
+ alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
515
+ }, z.core.$strip>;
516
+ declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
517
+ id: z.ZodString;
518
+ name: z.ZodString;
519
+ description: z.ZodString;
520
+ content: z.ZodString;
521
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
522
+ createdAt: z.ZodString;
523
+ updatedAt: z.ZodString;
524
+ subAgentSkillId: z.ZodString;
525
+ subAgentId: z.ZodString;
526
+ index: z.ZodInt;
527
+ alwaysLoaded: z.ZodBoolean;
528
+ }, z.core.$strip>;
529
+ declare const SkillFileResponse: z.ZodObject<{
530
+ data: z.ZodObject<{
531
+ id: z.ZodString;
532
+ content: z.ZodString;
533
+ createdAt: z.ZodString;
534
+ updatedAt: z.ZodString;
535
+ skillId: z.ZodString;
536
+ filePath: z.ZodString;
537
+ }, z.core.$strip>;
538
+ }, z.core.$strip>;
539
+ declare const SkillWithFilesResponse: z.ZodObject<{
540
+ data: z.ZodObject<{
541
+ id: z.ZodString;
542
+ name: z.ZodString;
543
+ description: z.ZodString;
544
+ content: z.ZodString;
545
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
546
+ createdAt: z.ZodString;
547
+ updatedAt: z.ZodString;
548
+ files: z.ZodArray<z.ZodObject<{
549
+ id: z.ZodString;
550
+ content: z.ZodString;
551
+ createdAt: z.ZodString;
552
+ updatedAt: z.ZodString;
553
+ skillId: z.ZodString;
554
+ filePath: z.ZodString;
555
+ }, z.core.$strip>>;
556
+ }, z.core.$strip>;
557
+ }, z.core.$strip>;
558
+ declare const SkillListResponse: z.ZodObject<{
559
+ data: z.ZodArray<z.ZodObject<{
560
+ id: z.ZodString;
561
+ name: z.ZodString;
562
+ description: z.ZodString;
563
+ content: z.ZodString;
564
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
565
+ createdAt: z.ZodString;
566
+ updatedAt: z.ZodString;
567
+ }, z.core.$strip>>;
568
+ pagination: z.ZodObject<{
569
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
570
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
571
+ total: z.ZodNumber;
572
+ pages: z.ZodNumber;
573
+ }, z.core.$strip>;
574
+ }, z.core.$strip>;
575
+ declare const SubAgentSkillResponse: z.ZodObject<{
576
+ data: z.ZodObject<{
577
+ id: z.ZodString;
578
+ createdAt: z.ZodString;
579
+ updatedAt: z.ZodString;
580
+ subAgentId: z.ZodString;
581
+ skillId: z.ZodString;
582
+ index: z.ZodInt;
583
+ alwaysLoaded: z.ZodBoolean;
584
+ }, z.core.$strip>;
585
+ }, z.core.$strip>;
586
+ declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
587
+ data: z.ZodArray<z.ZodObject<{
588
+ id: z.ZodString;
589
+ name: z.ZodString;
590
+ description: z.ZodString;
591
+ content: z.ZodString;
592
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
593
+ createdAt: z.ZodString;
594
+ updatedAt: z.ZodString;
595
+ subAgentSkillId: z.ZodString;
596
+ subAgentId: z.ZodString;
597
+ index: z.ZodInt;
598
+ alwaysLoaded: z.ZodBoolean;
599
+ }, z.core.$strip>>;
600
+ }, z.core.$strip>;
601
+ //#endregion
602
+ export { SkillApiInsertSchema, SkillApiSelectSchema, SkillApiUpdateSchema, SkillFileApiInsertSchema, SkillFileApiSelectSchema, SkillFileApiUpdateSchema, SkillFileContentInputSchema, SkillFileInsertSchema, SkillFileResponse, SkillFileSelectSchema, SkillFrontmatterSchema, SkillIndexSchema, SkillInsertSchema, SkillListResponse, SkillSelectSchema, SkillUpdateSchema, SkillWithFilesApiSelectSchema, SkillWithFilesResponse, SubAgentSkillApiInsertSchema, SubAgentSkillApiSelectSchema, SubAgentSkillApiUpdateSchema, SubAgentSkillInsertSchema, SubAgentSkillResponse, SubAgentSkillSelectSchema, SubAgentSkillUpdateSchema, SubAgentSkillWithIndexArrayResponse, SubAgentSkillWithIndexSchema };