@inkeep/agents-core 0.75.4 → 0.77.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 (62) hide show
  1. package/dist/auth/auth.js +3 -0
  2. package/dist/auth/permissions.d.ts +9 -9
  3. package/dist/auth/sso-issuer-discovery.d.ts +50 -0
  4. package/dist/auth/sso-issuer-discovery.js +85 -0
  5. package/dist/constants/allowed-file-formats.d.ts +3 -1
  6. package/dist/constants/allowed-file-formats.js +3 -2
  7. package/dist/constants/index.d.ts +2 -2
  8. package/dist/constants/schema-validation/defaults.d.ts +1 -1
  9. package/dist/constants/schema-validation/defaults.js +1 -1
  10. package/dist/constants/schema-validation/index.d.ts +1 -1
  11. package/dist/data-access/index.d.ts +2 -2
  12. package/dist/data-access/index.js +2 -2
  13. package/dist/data-access/manage/agents.d.ts +41 -41
  14. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  15. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  16. package/dist/data-access/manage/dataComponents.d.ts +8 -8
  17. package/dist/data-access/manage/functionTools.d.ts +16 -16
  18. package/dist/data-access/manage/skills.d.ts +14 -14
  19. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  20. package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
  21. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  22. package/dist/data-access/manage/subAgents.d.ts +15 -15
  23. package/dist/data-access/manage/tools.d.ts +24 -24
  24. package/dist/data-access/manage/triggers.d.ts +5 -5
  25. package/dist/data-access/manage/webhookDestinations.d.ts +6 -4
  26. package/dist/data-access/manage/webhookDestinations.js +13 -15
  27. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  28. package/dist/data-access/runtime/apps.d.ts +12 -12
  29. package/dist/data-access/runtime/auth.d.ts +4 -1
  30. package/dist/data-access/runtime/auth.js +5 -1
  31. package/dist/data-access/runtime/conversations.d.ts +33 -32
  32. package/dist/data-access/runtime/conversations.js +8 -1
  33. package/dist/data-access/runtime/events.d.ts +6 -6
  34. package/dist/data-access/runtime/feedback.d.ts +6 -6
  35. package/dist/data-access/runtime/messages.d.ts +27 -27
  36. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  37. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  38. package/dist/data-access/runtime/tasks.d.ts +5 -5
  39. package/dist/db/manage/manage-schema.d.ts +383 -383
  40. package/dist/db/runtime/runtime-schema.d.ts +409 -409
  41. package/dist/external-fetch/external-file-downloader.d.ts +14 -0
  42. package/dist/external-fetch/external-file-downloader.js +146 -0
  43. package/dist/external-fetch/file-content-security.d.ts +18 -0
  44. package/dist/external-fetch/file-content-security.js +81 -0
  45. package/dist/external-fetch/file-security-constants.d.ts +12 -0
  46. package/dist/external-fetch/file-security-constants.js +16 -0
  47. package/dist/external-fetch/file-security-errors.d.ts +96 -0
  48. package/dist/external-fetch/file-security-errors.js +154 -0
  49. package/dist/external-fetch/file-url-security.d.ts +7 -0
  50. package/dist/external-fetch/file-url-security.js +75 -0
  51. package/dist/external-fetch/index.d.ts +6 -0
  52. package/dist/external-fetch/index.js +7 -0
  53. package/dist/index.d.ts +2 -2
  54. package/dist/index.js +2 -2
  55. package/dist/text-attachments/index.d.ts +2 -0
  56. package/dist/text-attachments/index.js +3 -0
  57. package/dist/text-attachments/text-document-attachments.d.ts +40 -0
  58. package/dist/text-attachments/text-document-attachments.js +86 -0
  59. package/dist/validation/schemas/skills.d.ts +46 -46
  60. package/dist/validation/schemas.d.ts +650 -650
  61. package/dist/validation/schemas.js +5 -3
  62. package/package.json +12 -1
@@ -0,0 +1,86 @@
1
+ import { ALLOWED_TEXT_DOCUMENT_MIME_TYPES, canonicalizeMimeType, getExtensionFromMimeType, normalizeMimeType } from "../constants/allowed-file-formats.js";
2
+ import { InvalidUtf8TextDocumentError, TextDocumentControlCharacterError } from "../external-fetch/file-security-errors.js";
3
+
4
+ //#region src/text-attachments/text-document-attachments.ts
5
+ function isDisallowedTextControlCharacter(codePoint) {
6
+ return codePoint >= 0 && codePoint <= 8 || codePoint === 11 || codePoint === 12 || codePoint >= 14 && codePoint <= 31 || codePoint === 127;
7
+ }
8
+ function hasDisallowedControlCharacters(value) {
9
+ for (const char of value) {
10
+ const codePoint = char.codePointAt(0);
11
+ if (codePoint === void 0 || isDisallowedTextControlCharacter(codePoint)) return true;
12
+ }
13
+ return false;
14
+ }
15
+ function isTextDocumentMimeType(mimeType) {
16
+ if (!mimeType) return false;
17
+ const canonical = canonicalizeMimeType(mimeType);
18
+ return ALLOWED_TEXT_DOCUMENT_MIME_TYPES.has(canonical);
19
+ }
20
+ function getDefaultTextDocumentFilename(mimeType) {
21
+ const extension = getExtensionFromMimeType(normalizeMimeType(mimeType));
22
+ return `unnamed.${extension === "bin" ? "txt" : extension}`;
23
+ }
24
+ function decodeTextDocumentBytes(data) {
25
+ let decoded;
26
+ try {
27
+ decoded = new TextDecoder("utf-8", { fatal: true }).decode(data);
28
+ } catch {
29
+ throw new InvalidUtf8TextDocumentError();
30
+ }
31
+ if (hasDisallowedControlCharacters(decoded)) throw new TextDocumentControlCharacterError();
32
+ return decoded.replace(/\r\n?/g, "\n");
33
+ }
34
+ function buildTextAttachmentBlock(params) {
35
+ const mimeType = normalizeMimeType(params.mimeType);
36
+ const filename = params.filename?.trim() || getDefaultTextDocumentFilename(mimeType);
37
+ return [
38
+ `<attached_file filename=${JSON.stringify(filename)} media_type=${JSON.stringify(mimeType)}>`,
39
+ params.content,
40
+ "</attached_file>"
41
+ ].join("\n");
42
+ }
43
+ function buildDecodedTextAttachmentBlock(params) {
44
+ const content = decodeTextDocumentBytes(params.data);
45
+ return buildTextAttachmentBlock({
46
+ mimeType: params.mimeType,
47
+ content,
48
+ filename: params.filename
49
+ });
50
+ }
51
+ const UNAVAILABLE_ATTACHMENT_PLACEHOLDER = "[Attachment unavailable]";
52
+ /**
53
+ * Convenience wrapper around `buildTextAttachmentBlock` for the failure path —
54
+ * produces an `<attached_file>...[Attachment unavailable]...</attached_file>` block
55
+ * so the model still sees that an attachment existed even when its bytes are lost.
56
+ */
57
+ function buildUnavailableTextAttachmentBlock(params) {
58
+ return buildTextAttachmentBlock({
59
+ mimeType: params.mimeType,
60
+ content: UNAVAILABLE_ATTACHMENT_PLACEHOLDER,
61
+ filename: params.filename
62
+ });
63
+ }
64
+ /**
65
+ * Self-closing `<attached_file ... />` marker used when the attachment's content is not
66
+ * (or can no longer be) inlined — e.g. images/PDFs in conversation history, or a text
67
+ * attachment whose bytes failed to decode. The marker preserves provenance for the model
68
+ * so prior attachments don't silently disappear on resume. When `artifactId` and
69
+ * `toolCallId` are provided, the marker is self-describing enough for the model (or
70
+ * downstream tools) to fetch the attachment from the artifact ledger.
71
+ */
72
+ function buildAttachedFileMarker(params) {
73
+ const mimeType = params.mimeType ? normalizeMimeType(params.mimeType) : "";
74
+ const filename = params.filename?.trim() || void 0;
75
+ const artifactId = params.artifactId?.trim() || void 0;
76
+ const toolCallId = params.toolCallId?.trim() || void 0;
77
+ const attrs = [];
78
+ if (filename) attrs.push(`filename=${JSON.stringify(filename)}`);
79
+ if (mimeType) attrs.push(`media_type=${JSON.stringify(mimeType)}`);
80
+ if (artifactId) attrs.push(`artifact_id=${JSON.stringify(artifactId)}`);
81
+ if (toolCallId) attrs.push(`tool_call_id=${JSON.stringify(toolCallId)}`);
82
+ return `<attached_file${attrs.length > 0 ? ` ${attrs.join(" ")}` : ""} />`;
83
+ }
84
+
85
+ //#endregion
86
+ export { UNAVAILABLE_ATTACHMENT_PLACEHOLDER, buildAttachedFileMarker, buildDecodedTextAttachmentBlock, buildTextAttachmentBlock, buildUnavailableTextAttachmentBlock, decodeTextDocumentBytes, getDefaultTextDocumentFilename, isTextDocumentMimeType };
@@ -1,5 +1,5 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_orm_pg_core1569 from "drizzle-orm/pg-core";
2
+ import * as drizzle_orm_pg_core2351 from "drizzle-orm/pg-core";
3
3
  import * as drizzle_zod405 from "drizzle-zod";
4
4
 
5
5
  //#region src/validation/schemas/skills.d.ts
@@ -28,7 +28,7 @@ declare const SkillFileContentInputSchema: z.ZodObject<{
28
28
  content: z.ZodString;
29
29
  }, z.core.$strip>;
30
30
  declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
31
- createdAt: drizzle_orm_pg_core1569.PgColumn<{
31
+ createdAt: drizzle_orm_pg_core2351.PgColumn<{
32
32
  name: "created_at";
33
33
  tableName: "skill_files";
34
34
  dataType: "string";
@@ -45,7 +45,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
45
45
  identity: undefined;
46
46
  generated: undefined;
47
47
  }, {}, {}>;
48
- updatedAt: drizzle_orm_pg_core1569.PgColumn<{
48
+ updatedAt: drizzle_orm_pg_core2351.PgColumn<{
49
49
  name: "updated_at";
50
50
  tableName: "skill_files";
51
51
  dataType: "string";
@@ -62,7 +62,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
62
62
  identity: undefined;
63
63
  generated: undefined;
64
64
  }, {}, {}>;
65
- skillId: drizzle_orm_pg_core1569.PgColumn<{
65
+ skillId: drizzle_orm_pg_core2351.PgColumn<{
66
66
  name: "skill_id";
67
67
  tableName: "skill_files";
68
68
  dataType: "string";
@@ -81,7 +81,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
81
81
  }, {}, {
82
82
  length: 64;
83
83
  }>;
84
- filePath: drizzle_orm_pg_core1569.PgColumn<{
84
+ filePath: drizzle_orm_pg_core2351.PgColumn<{
85
85
  name: "file_path";
86
86
  tableName: "skill_files";
87
87
  dataType: "string";
@@ -100,7 +100,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
100
100
  }, {}, {
101
101
  length: 1024;
102
102
  }>;
103
- content: drizzle_orm_pg_core1569.PgColumn<{
103
+ content: drizzle_orm_pg_core2351.PgColumn<{
104
104
  name: "content";
105
105
  tableName: "skill_files";
106
106
  dataType: "string";
@@ -117,7 +117,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
117
117
  identity: undefined;
118
118
  generated: undefined;
119
119
  }, {}, {}>;
120
- projectId: drizzle_orm_pg_core1569.PgColumn<{
120
+ projectId: drizzle_orm_pg_core2351.PgColumn<{
121
121
  name: "project_id";
122
122
  tableName: "skill_files";
123
123
  dataType: "string";
@@ -136,7 +136,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
136
136
  }, {}, {
137
137
  length: 256;
138
138
  }>;
139
- tenantId: drizzle_orm_pg_core1569.PgColumn<{
139
+ tenantId: drizzle_orm_pg_core2351.PgColumn<{
140
140
  name: "tenant_id";
141
141
  tableName: "skill_files";
142
142
  dataType: "string";
@@ -155,7 +155,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
155
155
  }, {}, {
156
156
  length: 256;
157
157
  }>;
158
- id: drizzle_orm_pg_core1569.PgColumn<{
158
+ id: drizzle_orm_pg_core2351.PgColumn<{
159
159
  name: "id";
160
160
  tableName: "skill_files";
161
161
  dataType: "string";
@@ -175,7 +175,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
175
175
  length: 256;
176
176
  }>;
177
177
  }, drizzle_zod405.BuildRefine<{
178
- createdAt: drizzle_orm_pg_core1569.PgColumn<{
178
+ createdAt: drizzle_orm_pg_core2351.PgColumn<{
179
179
  name: "created_at";
180
180
  tableName: "skill_files";
181
181
  dataType: "string";
@@ -192,7 +192,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
192
192
  identity: undefined;
193
193
  generated: undefined;
194
194
  }, {}, {}>;
195
- updatedAt: drizzle_orm_pg_core1569.PgColumn<{
195
+ updatedAt: drizzle_orm_pg_core2351.PgColumn<{
196
196
  name: "updated_at";
197
197
  tableName: "skill_files";
198
198
  dataType: "string";
@@ -209,7 +209,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
209
209
  identity: undefined;
210
210
  generated: undefined;
211
211
  }, {}, {}>;
212
- skillId: drizzle_orm_pg_core1569.PgColumn<{
212
+ skillId: drizzle_orm_pg_core2351.PgColumn<{
213
213
  name: "skill_id";
214
214
  tableName: "skill_files";
215
215
  dataType: "string";
@@ -228,7 +228,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
228
228
  }, {}, {
229
229
  length: 64;
230
230
  }>;
231
- filePath: drizzle_orm_pg_core1569.PgColumn<{
231
+ filePath: drizzle_orm_pg_core2351.PgColumn<{
232
232
  name: "file_path";
233
233
  tableName: "skill_files";
234
234
  dataType: "string";
@@ -247,7 +247,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
247
247
  }, {}, {
248
248
  length: 1024;
249
249
  }>;
250
- content: drizzle_orm_pg_core1569.PgColumn<{
250
+ content: drizzle_orm_pg_core2351.PgColumn<{
251
251
  name: "content";
252
252
  tableName: "skill_files";
253
253
  dataType: "string";
@@ -264,7 +264,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
264
264
  identity: undefined;
265
265
  generated: undefined;
266
266
  }, {}, {}>;
267
- projectId: drizzle_orm_pg_core1569.PgColumn<{
267
+ projectId: drizzle_orm_pg_core2351.PgColumn<{
268
268
  name: "project_id";
269
269
  tableName: "skill_files";
270
270
  dataType: "string";
@@ -283,7 +283,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
283
283
  }, {}, {
284
284
  length: 256;
285
285
  }>;
286
- tenantId: drizzle_orm_pg_core1569.PgColumn<{
286
+ tenantId: drizzle_orm_pg_core2351.PgColumn<{
287
287
  name: "tenant_id";
288
288
  tableName: "skill_files";
289
289
  dataType: "string";
@@ -302,7 +302,7 @@ declare const SkillFileSelectSchema: drizzle_zod405.BuildSchema<"select", {
302
302
  }, {}, {
303
303
  length: 256;
304
304
  }>;
305
- id: drizzle_orm_pg_core1569.PgColumn<{
305
+ id: drizzle_orm_pg_core2351.PgColumn<{
306
306
  name: "id";
307
307
  tableName: "skill_files";
308
308
  dataType: "string";
@@ -336,10 +336,10 @@ declare const SkillFileInsertSchema: z.ZodObject<{
336
336
  in: {};
337
337
  }>;
338
338
  declare const SkillInsertSchema: z.ZodObject<{
339
- name: z.ZodString;
340
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
341
339
  description: z.ZodString;
340
+ name: z.ZodString;
342
341
  content: z.ZodString;
342
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
343
343
  }, {
344
344
  out: {};
345
345
  in: {};
@@ -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
+ description: z.ZodString;
354
355
  id: z.ZodString;
355
356
  name: z.ZodString;
357
+ content: z.ZodString;
358
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
356
359
  createdAt: z.ZodString;
357
360
  updatedAt: z.ZodString;
358
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
359
- description: z.ZodString;
360
- content: 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<{
@@ -384,8 +384,8 @@ declare const SkillApiInsertSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
384
384
  filePath: z.ZodString;
385
385
  content: z.ZodString;
386
386
  }, z.core.$strip>>;
387
- name: z.ZodString;
388
387
  description: z.ZodString;
388
+ name: z.ZodString;
389
389
  content: z.ZodString;
390
390
  }, z.core.$strict>>;
391
391
  declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
@@ -400,8 +400,8 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
400
400
  }[];
401
401
  }>>, z.ZodObject<{
402
402
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
403
- name: z.ZodOptional<z.ZodString>;
404
403
  description: z.ZodOptional<z.ZodString>;
404
+ name: z.ZodOptional<z.ZodString>;
405
405
  content: z.ZodOptional<z.ZodString>;
406
406
  files: z.ZodNonOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
407
407
  filePath: z.ZodString;
@@ -410,9 +410,9 @@ declare const SkillApiUpdateSchema: z.ZodPipe<z.ZodPipe<z.ZodObject<{
410
410
  }, z.core.$strict>>;
411
411
  declare const SkillFileApiSelectSchema: z.ZodObject<{
412
412
  id: z.ZodString;
413
+ content: z.ZodString;
413
414
  createdAt: z.ZodString;
414
415
  updatedAt: z.ZodString;
415
- content: z.ZodString;
416
416
  filePath: z.ZodString;
417
417
  skillId: z.ZodString;
418
418
  }, z.core.$strip>;
@@ -424,18 +424,18 @@ declare const SkillFileApiUpdateSchema: z.ZodObject<{
424
424
  content: z.ZodString;
425
425
  }, z.core.$strip>;
426
426
  declare const SkillWithFilesApiSelectSchema: z.ZodObject<{
427
+ description: z.ZodString;
427
428
  id: z.ZodString;
428
429
  name: z.ZodString;
430
+ content: z.ZodString;
431
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
429
432
  createdAt: z.ZodString;
430
433
  updatedAt: z.ZodString;
431
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
432
- description: z.ZodString;
433
- content: z.ZodString;
434
434
  files: z.ZodArray<z.ZodObject<{
435
435
  id: z.ZodString;
436
+ content: z.ZodString;
436
437
  createdAt: z.ZodString;
437
438
  updatedAt: z.ZodString;
438
- content: z.ZodString;
439
439
  filePath: z.ZodString;
440
440
  skillId: z.ZodString;
441
441
  }, z.core.$strip>>;
@@ -486,10 +486,10 @@ declare const SubAgentSkillUpdateSchema: z.ZodObject<{
486
486
  in: {};
487
487
  }>;
488
488
  declare const SubAgentSkillApiSelectSchema: z.ZodObject<{
489
+ subAgentId: z.ZodString;
489
490
  id: z.ZodString;
490
491
  createdAt: z.ZodString;
491
492
  updatedAt: z.ZodString;
492
- subAgentId: z.ZodString;
493
493
  index: z.ZodInt;
494
494
  alwaysLoaded: z.ZodBoolean;
495
495
  skillId: z.ZodString;
@@ -505,22 +505,22 @@ declare const SubAgentSkillApiInsertSchema: z.ZodObject<{
505
505
  in: {};
506
506
  }>;
507
507
  declare const SubAgentSkillApiUpdateSchema: z.ZodObject<{
508
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
508
509
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
509
510
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
510
511
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
511
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
512
512
  index: z.ZodOptional<z.ZodOptional<z.ZodInt>>;
513
513
  alwaysLoaded: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>>;
514
514
  skillId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
515
515
  }, z.core.$strip>;
516
516
  declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
517
+ description: z.ZodString;
517
518
  id: z.ZodString;
518
519
  name: z.ZodString;
520
+ content: z.ZodString;
521
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
519
522
  createdAt: z.ZodString;
520
523
  updatedAt: z.ZodString;
521
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
522
- description: z.ZodString;
523
- content: z.ZodString;
524
524
  subAgentSkillId: z.ZodString;
525
525
  subAgentId: z.ZodString;
526
526
  index: z.ZodInt;
@@ -529,27 +529,27 @@ declare const SubAgentSkillWithIndexSchema: z.ZodObject<{
529
529
  declare const SkillFileResponse: z.ZodObject<{
530
530
  data: z.ZodObject<{
531
531
  id: z.ZodString;
532
+ content: z.ZodString;
532
533
  createdAt: z.ZodString;
533
534
  updatedAt: z.ZodString;
534
- content: z.ZodString;
535
535
  filePath: z.ZodString;
536
536
  skillId: 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
+ description: z.ZodString;
541
542
  id: z.ZodString;
542
543
  name: z.ZodString;
544
+ content: z.ZodString;
545
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
543
546
  createdAt: z.ZodString;
544
547
  updatedAt: z.ZodString;
545
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
546
- description: z.ZodString;
547
- content: z.ZodString;
548
548
  files: z.ZodArray<z.ZodObject<{
549
549
  id: z.ZodString;
550
+ content: z.ZodString;
550
551
  createdAt: z.ZodString;
551
552
  updatedAt: z.ZodString;
552
- content: z.ZodString;
553
553
  filePath: z.ZodString;
554
554
  skillId: z.ZodString;
555
555
  }, z.core.$strip>>;
@@ -557,13 +557,13 @@ declare const SkillWithFilesResponse: z.ZodObject<{
557
557
  }, z.core.$strip>;
558
558
  declare const SkillListResponse: z.ZodObject<{
559
559
  data: z.ZodArray<z.ZodObject<{
560
+ description: z.ZodString;
560
561
  id: z.ZodString;
561
562
  name: z.ZodString;
563
+ content: z.ZodString;
564
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
562
565
  createdAt: z.ZodString;
563
566
  updatedAt: z.ZodString;
564
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
565
- description: z.ZodString;
566
- content: z.ZodString;
567
567
  }, z.core.$strip>>;
568
568
  pagination: z.ZodObject<{
569
569
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -574,10 +574,10 @@ declare const SkillListResponse: z.ZodObject<{
574
574
  }, z.core.$strip>;
575
575
  declare const SubAgentSkillResponse: z.ZodObject<{
576
576
  data: z.ZodObject<{
577
+ subAgentId: z.ZodString;
577
578
  id: z.ZodString;
578
579
  createdAt: z.ZodString;
579
580
  updatedAt: z.ZodString;
580
- subAgentId: z.ZodString;
581
581
  index: z.ZodInt;
582
582
  alwaysLoaded: z.ZodBoolean;
583
583
  skillId: z.ZodString;
@@ -585,13 +585,13 @@ declare const SubAgentSkillResponse: z.ZodObject<{
585
585
  }, z.core.$strip>;
586
586
  declare const SubAgentSkillWithIndexArrayResponse: z.ZodObject<{
587
587
  data: z.ZodArray<z.ZodObject<{
588
+ description: z.ZodString;
588
589
  id: z.ZodString;
589
590
  name: z.ZodString;
591
+ content: z.ZodString;
592
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
590
593
  createdAt: z.ZodString;
591
594
  updatedAt: z.ZodString;
592
- metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
593
- description: z.ZodString;
594
- content: z.ZodString;
595
595
  subAgentSkillId: z.ZodString;
596
596
  subAgentId: z.ZodString;
597
597
  index: z.ZodInt;