@inkeep/agents-core 0.0.0-dev-20260404213053 → 0.0.0-dev-20260405014717

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.
@@ -1,5 +1,5 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_orm_pg_core1810 from "drizzle-orm/pg-core";
2
+ import * as drizzle_orm_pg_core1459 from "drizzle-orm/pg-core";
3
3
  import * as drizzle_zod367 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_zod367.BuildSchema<"select", {
31
- createdAt: drizzle_orm_pg_core1810.PgColumn<{
31
+ createdAt: drizzle_orm_pg_core1459.PgColumn<{
32
32
  name: "created_at";
33
33
  tableName: "skill_files";
34
34
  dataType: "string";
@@ -45,7 +45,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
45
45
  identity: undefined;
46
46
  generated: undefined;
47
47
  }, {}, {}>;
48
- updatedAt: drizzle_orm_pg_core1810.PgColumn<{
48
+ updatedAt: drizzle_orm_pg_core1459.PgColumn<{
49
49
  name: "updated_at";
50
50
  tableName: "skill_files";
51
51
  dataType: "string";
@@ -62,7 +62,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
62
62
  identity: undefined;
63
63
  generated: undefined;
64
64
  }, {}, {}>;
65
- skillId: drizzle_orm_pg_core1810.PgColumn<{
65
+ skillId: drizzle_orm_pg_core1459.PgColumn<{
66
66
  name: "skill_id";
67
67
  tableName: "skill_files";
68
68
  dataType: "string";
@@ -81,7 +81,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
81
81
  }, {}, {
82
82
  length: 64;
83
83
  }>;
84
- filePath: drizzle_orm_pg_core1810.PgColumn<{
84
+ filePath: drizzle_orm_pg_core1459.PgColumn<{
85
85
  name: "file_path";
86
86
  tableName: "skill_files";
87
87
  dataType: "string";
@@ -100,7 +100,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
100
100
  }, {}, {
101
101
  length: 1024;
102
102
  }>;
103
- content: drizzle_orm_pg_core1810.PgColumn<{
103
+ content: drizzle_orm_pg_core1459.PgColumn<{
104
104
  name: "content";
105
105
  tableName: "skill_files";
106
106
  dataType: "string";
@@ -117,7 +117,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
117
117
  identity: undefined;
118
118
  generated: undefined;
119
119
  }, {}, {}>;
120
- projectId: drizzle_orm_pg_core1810.PgColumn<{
120
+ projectId: drizzle_orm_pg_core1459.PgColumn<{
121
121
  name: "project_id";
122
122
  tableName: "skill_files";
123
123
  dataType: "string";
@@ -136,7 +136,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
136
136
  }, {}, {
137
137
  length: 256;
138
138
  }>;
139
- tenantId: drizzle_orm_pg_core1810.PgColumn<{
139
+ tenantId: drizzle_orm_pg_core1459.PgColumn<{
140
140
  name: "tenant_id";
141
141
  tableName: "skill_files";
142
142
  dataType: "string";
@@ -155,7 +155,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
155
155
  }, {}, {
156
156
  length: 256;
157
157
  }>;
158
- id: drizzle_orm_pg_core1810.PgColumn<{
158
+ id: drizzle_orm_pg_core1459.PgColumn<{
159
159
  name: "id";
160
160
  tableName: "skill_files";
161
161
  dataType: "string";
@@ -175,7 +175,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
175
175
  length: 256;
176
176
  }>;
177
177
  }, drizzle_zod367.BuildRefine<{
178
- createdAt: drizzle_orm_pg_core1810.PgColumn<{
178
+ createdAt: drizzle_orm_pg_core1459.PgColumn<{
179
179
  name: "created_at";
180
180
  tableName: "skill_files";
181
181
  dataType: "string";
@@ -192,7 +192,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
192
192
  identity: undefined;
193
193
  generated: undefined;
194
194
  }, {}, {}>;
195
- updatedAt: drizzle_orm_pg_core1810.PgColumn<{
195
+ updatedAt: drizzle_orm_pg_core1459.PgColumn<{
196
196
  name: "updated_at";
197
197
  tableName: "skill_files";
198
198
  dataType: "string";
@@ -209,7 +209,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
209
209
  identity: undefined;
210
210
  generated: undefined;
211
211
  }, {}, {}>;
212
- skillId: drizzle_orm_pg_core1810.PgColumn<{
212
+ skillId: drizzle_orm_pg_core1459.PgColumn<{
213
213
  name: "skill_id";
214
214
  tableName: "skill_files";
215
215
  dataType: "string";
@@ -228,7 +228,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
228
228
  }, {}, {
229
229
  length: 64;
230
230
  }>;
231
- filePath: drizzle_orm_pg_core1810.PgColumn<{
231
+ filePath: drizzle_orm_pg_core1459.PgColumn<{
232
232
  name: "file_path";
233
233
  tableName: "skill_files";
234
234
  dataType: "string";
@@ -247,7 +247,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
247
247
  }, {}, {
248
248
  length: 1024;
249
249
  }>;
250
- content: drizzle_orm_pg_core1810.PgColumn<{
250
+ content: drizzle_orm_pg_core1459.PgColumn<{
251
251
  name: "content";
252
252
  tableName: "skill_files";
253
253
  dataType: "string";
@@ -264,7 +264,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
264
264
  identity: undefined;
265
265
  generated: undefined;
266
266
  }, {}, {}>;
267
- projectId: drizzle_orm_pg_core1810.PgColumn<{
267
+ projectId: drizzle_orm_pg_core1459.PgColumn<{
268
268
  name: "project_id";
269
269
  tableName: "skill_files";
270
270
  dataType: "string";
@@ -283,7 +283,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
283
283
  }, {}, {
284
284
  length: 256;
285
285
  }>;
286
- tenantId: drizzle_orm_pg_core1810.PgColumn<{
286
+ tenantId: drizzle_orm_pg_core1459.PgColumn<{
287
287
  name: "tenant_id";
288
288
  tableName: "skill_files";
289
289
  dataType: "string";
@@ -302,7 +302,7 @@ declare const SkillFileSelectSchema: drizzle_zod367.BuildSchema<"select", {
302
302
  }, {}, {
303
303
  length: 256;
304
304
  }>;
305
- id: drizzle_orm_pg_core1810.PgColumn<{
305
+ id: drizzle_orm_pg_core1459.PgColumn<{
306
306
  name: "id";
307
307
  tableName: "skill_files";
308
308
  dataType: "string";
@@ -6240,8 +6240,8 @@ declare const TaskApiSelectSchema: z.ZodObject<{
6240
6240
  metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
6241
6241
  status: z.ZodString;
6242
6242
  agentId: z.ZodString;
6243
- contextId: z.ZodString;
6244
6243
  subAgentId: z.ZodString;
6244
+ contextId: z.ZodString;
6245
6245
  }, z.core.$strip>;
6246
6246
  declare const TaskApiInsertSchema: z.ZodObject<{
6247
6247
  id: z.ZodString;
@@ -6259,9 +6259,9 @@ declare const TaskApiInsertSchema: z.ZodObject<{
6259
6259
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
6260
6260
  status: z.ZodString;
6261
6261
  agentId: z.ZodString;
6262
+ subAgentId: z.ZodString;
6262
6263
  conversationId: z.ZodOptional<z.ZodString>;
6263
6264
  contextId: z.ZodString;
6264
- subAgentId: z.ZodString;
6265
6265
  }, z.core.$strip>;
6266
6266
  declare const TaskApiUpdateSchema: z.ZodObject<{
6267
6267
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6279,9 +6279,9 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
6279
6279
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
6280
6280
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6281
6281
  agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6282
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6282
6283
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
6283
6284
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6284
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6285
6285
  }, z.core.$strip>;
6286
6286
  declare const TaskRelationSelectSchema: drizzle_zod15.BuildSchema<"select", {
6287
6287
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -8249,18 +8249,18 @@ declare const MessageApiSelectSchema: z.ZodObject<{
8249
8249
  metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
8250
8250
  role: z.ZodString;
8251
8251
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8252
- conversationId: z.ZodString;
8253
8252
  fromSubAgentId: z.ZodNullable<z.ZodString>;
8254
8253
  toSubAgentId: z.ZodNullable<z.ZodString>;
8255
8254
  fromExternalAgentId: z.ZodNullable<z.ZodString>;
8256
8255
  toExternalAgentId: z.ZodNullable<z.ZodString>;
8256
+ taskId: z.ZodNullable<z.ZodString>;
8257
+ a2aTaskId: z.ZodNullable<z.ZodString>;
8258
+ conversationId: z.ZodString;
8257
8259
  fromTeamAgentId: z.ZodNullable<z.ZodString>;
8258
8260
  toTeamAgentId: z.ZodNullable<z.ZodString>;
8259
8261
  visibility: z.ZodString;
8260
8262
  messageType: z.ZodString;
8261
- taskId: z.ZodNullable<z.ZodString>;
8262
8263
  parentMessageId: z.ZodNullable<z.ZodString>;
8263
- a2aTaskId: z.ZodNullable<z.ZodString>;
8264
8264
  a2aSessionId: z.ZodNullable<z.ZodString>;
8265
8265
  }, z.core.$strip>;
8266
8266
  declare const MessageApiInsertSchema: z.ZodObject<{
@@ -8270,18 +8270,18 @@ declare const MessageApiInsertSchema: z.ZodObject<{
8270
8270
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
8271
8271
  role: z.ZodString;
8272
8272
  content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
8273
- conversationId: z.ZodString;
8274
8273
  fromSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8275
8274
  toSubAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8276
8275
  fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8277
8276
  toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8277
+ taskId: z.ZodOptional<z.ZodString>;
8278
+ a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8279
+ conversationId: z.ZodString;
8278
8280
  fromTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8279
8281
  toTeamAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8280
8282
  visibility: z.ZodOptional<z.ZodString>;
8281
8283
  messageType: z.ZodOptional<z.ZodString>;
8282
- taskId: z.ZodOptional<z.ZodString>;
8283
8284
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8284
- a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8285
8285
  a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8286
8286
  }, z.core.$strip>;
8287
8287
  declare const MessageApiUpdateSchema: z.ZodObject<{
@@ -8291,18 +8291,18 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
8291
8291
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
8292
8292
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8293
8293
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
8294
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8295
8294
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8296
8295
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8297
8296
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8298
8297
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8298
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8299
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8300
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8299
8301
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8300
8302
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8301
8303
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8302
8304
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8303
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8304
8305
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8305
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8306
8306
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8307
8307
  }, z.core.$strip>;
8308
8308
  declare const ContextCacheSelectSchema: z.ZodObject<{
@@ -9282,26 +9282,26 @@ declare const EvaluationResultUpdateSchema: z.ZodObject<{
9282
9282
  in: {};
9283
9283
  }>;
9284
9284
  declare const EvaluationResultApiSelectSchema: z.ZodObject<{
9285
+ output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9285
9286
  id: z.ZodString;
9286
9287
  createdAt: z.ZodString;
9287
9288
  updatedAt: z.ZodString;
9288
- output: z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
9289
9289
  conversationId: z.ZodString;
9290
9290
  evaluatorId: z.ZodString;
9291
9291
  evaluationRunId: z.ZodNullable<z.ZodString>;
9292
9292
  }, z.core.$strip>;
9293
9293
  declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9294
+ output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9294
9295
  createdAt: z.ZodOptional<z.ZodString>;
9295
9296
  updatedAt: z.ZodOptional<z.ZodString>;
9296
- output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9297
9297
  conversationId: z.ZodString;
9298
9298
  evaluatorId: z.ZodString;
9299
9299
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9300
9300
  }, z.core.$strip>;
9301
9301
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9302
+ output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9302
9303
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9303
9304
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9304
- output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9305
9305
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9306
9306
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9307
9307
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -12616,28 +12616,28 @@ declare const DatasetItemUpdateSchema: z.ZodObject<{
12616
12616
  in: {};
12617
12617
  }>;
12618
12618
  declare const DatasetItemApiSelectSchema: z.ZodObject<{
12619
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12619
12620
  id: z.ZodString;
12620
12621
  createdAt: z.ZodString;
12621
12622
  updatedAt: z.ZodString;
12622
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12623
12623
  datasetId: z.ZodString;
12624
12624
  expectedOutput: z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>;
12625
12625
  }, z.core.$strip>;
12626
12626
  declare const DatasetItemApiInsertSchema: z.ZodObject<{
12627
+ input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12627
12628
  createdAt: z.ZodOptional<z.ZodString>;
12628
12629
  updatedAt: z.ZodOptional<z.ZodString>;
12629
- input: z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>;
12630
12630
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12631
12631
  }, z.core.$strip>;
12632
12632
  declare const DatasetItemApiUpdateSchema: z.ZodObject<{
12633
+ input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12633
12634
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12634
12635
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
12635
- input: z.ZodOptional<z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>>;
12636
12636
  expectedOutput: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>>>;
12637
12637
  }, z.core.$strip>;
12638
12638
  declare const DatasetRunItemSchema: z.ZodObject<{
12639
- id: z.ZodOptional<z.ZodString>;
12640
12639
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
12640
+ id: z.ZodOptional<z.ZodString>;
12641
12641
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
12642
12642
  agentId: z.ZodString;
12643
12643
  }, z.core.$strip>;
@@ -18044,13 +18044,13 @@ declare const AppApiSelectSchema: drizzle_zod15.BuildSchema<"select", {
18044
18044
  }, {}, {}>;
18045
18045
  }, undefined>, undefined>;
18046
18046
  declare const AppApiResponseSelectSchema: z.ZodObject<{
18047
+ type: z.ZodString;
18047
18048
  id: z.ZodString;
18048
18049
  name: z.ZodString;
18049
18050
  createdAt: z.ZodString;
18050
18051
  updatedAt: z.ZodString;
18051
18052
  description: z.ZodNullable<z.ZodString>;
18052
18053
  enabled: z.ZodBoolean;
18053
- type: z.ZodString;
18054
18054
  projectId: z.ZodNullable<z.ZodString>;
18055
18055
  tenantId: z.ZodNullable<z.ZodString>;
18056
18056
  prompt: z.ZodNullable<z.ZodString>;
@@ -18087,15 +18087,15 @@ declare const AppApiResponseSelectSchema: z.ZodObject<{
18087
18087
  in: {};
18088
18088
  }>;
18089
18089
  declare const AppApiInsertSchema: z.ZodObject<{
18090
+ type: z.ZodEnum<{
18091
+ web_client: "web_client";
18092
+ api: "api";
18093
+ }>;
18090
18094
  name: z.ZodString;
18091
18095
  createdAt: z.ZodOptional<z.ZodString>;
18092
18096
  updatedAt: z.ZodOptional<z.ZodString>;
18093
18097
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18094
18098
  enabled: z.ZodOptional<z.ZodBoolean>;
18095
- type: z.ZodEnum<{
18096
- web_client: "web_client";
18097
- api: "api";
18098
- }>;
18099
18099
  projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18100
18100
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18101
18101
  prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18173,13 +18173,13 @@ declare const AppApiUpdateSchema: z.ZodObject<{
18173
18173
  declare const AppApiCreationResponseSchema: z.ZodObject<{
18174
18174
  data: z.ZodObject<{
18175
18175
  app: z.ZodObject<{
18176
+ type: z.ZodString;
18176
18177
  id: z.ZodString;
18177
18178
  name: z.ZodString;
18178
18179
  createdAt: z.ZodString;
18179
18180
  updatedAt: z.ZodString;
18180
18181
  description: z.ZodNullable<z.ZodString>;
18181
18182
  enabled: z.ZodBoolean;
18182
- type: z.ZodString;
18183
18183
  projectId: z.ZodNullable<z.ZodString>;
18184
18184
  tenantId: z.ZodNullable<z.ZodString>;
18185
18185
  prompt: z.ZodNullable<z.ZodString>;
@@ -18669,10 +18669,10 @@ declare const CredentialReferenceSelectSchema: drizzle_zod15.BuildSchema<"select
18669
18669
  }>;
18670
18670
  }, undefined>, undefined>;
18671
18671
  declare const CredentialReferenceInsertSchema: z.ZodObject<{
18672
+ type: z.ZodString;
18672
18673
  id: z.ZodString;
18673
18674
  name: z.ZodString;
18674
18675
  userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18675
- type: z.ZodString;
18676
18676
  projectId: z.ZodString;
18677
18677
  tenantId: z.ZodString;
18678
18678
  createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18684,10 +18684,10 @@ declare const CredentialReferenceInsertSchema: z.ZodObject<{
18684
18684
  in: {};
18685
18685
  }>;
18686
18686
  declare const CredentialReferenceUpdateSchema: z.ZodObject<{
18687
+ type: z.ZodOptional<z.ZodString>;
18687
18688
  id: z.ZodOptional<z.ZodString>;
18688
18689
  name: z.ZodOptional<z.ZodString>;
18689
18690
  userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
18690
- type: z.ZodOptional<z.ZodString>;
18691
18691
  projectId: z.ZodOptional<z.ZodString>;
18692
18692
  tenantId: z.ZodOptional<z.ZodString>;
18693
18693
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -21310,8 +21310,8 @@ declare const SubAgentToolRelationApiSelectSchema: z.ZodObject<{
21310
21310
  createdAt: z.ZodString;
21311
21311
  updatedAt: z.ZodString;
21312
21312
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21313
- toolId: z.ZodString;
21314
21313
  subAgentId: z.ZodString;
21314
+ toolId: z.ZodString;
21315
21315
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21316
21316
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
21317
21317
  }, z.core.$strip>;
@@ -21320,8 +21320,8 @@ declare const SubAgentToolRelationApiInsertSchema: z.ZodObject<{
21320
21320
  createdAt: z.ZodOptional<z.ZodString>;
21321
21321
  updatedAt: z.ZodOptional<z.ZodString>;
21322
21322
  headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
21323
- toolId: z.ZodString;
21324
21323
  subAgentId: z.ZodString;
21324
+ toolId: z.ZodString;
21325
21325
  toolPolicies: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21326
21326
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21327
21327
  }, z.core.$strip>>>>;
@@ -21332,8 +21332,8 @@ declare const SubAgentToolRelationApiUpdateSchema: z.ZodObject<{
21332
21332
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21333
21333
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21334
21334
  headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>>;
21335
- toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
21335
  subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21336
+ toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21337
21337
  toolPolicies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
21338
21338
  needsApproval: z.ZodOptional<z.ZodBoolean>;
21339
21339
  }, z.core.$strip>>>>>>;
@@ -23454,7 +23454,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod15.BuildSchema<"insert", {
23454
23454
  }, {}, {
23455
23455
  length: 256;
23456
23456
  }>;
23457
- }, "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "type" | "projectId" | "tenantId" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23457
+ }, "type" | "id" | "name" | "createdAt" | "updatedAt" | "metadata" | "description" | "projectId" | "tenantId" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
23458
23458
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23459
23459
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23460
23460
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -23479,16 +23479,16 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
23479
23479
  in: {};
23480
23480
  }>;
23481
23481
  declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23482
+ type: z.ZodString;
23482
23483
  id: z.ZodString;
23483
23484
  name: z.ZodNullable<z.ZodString>;
23484
23485
  createdAt: z.ZodString;
23485
23486
  updatedAt: z.ZodString;
23486
23487
  metadata: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23487
23488
  description: z.ZodNullable<z.ZodString>;
23488
- type: z.ZodString;
23489
+ taskId: z.ZodString;
23489
23490
  contextId: z.ZodString;
23490
23491
  visibility: z.ZodNullable<z.ZodString>;
23491
- taskId: z.ZodString;
23492
23492
  toolCallId: z.ZodNullable<z.ZodString>;
23493
23493
  parts: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
23494
23494
  summary: z.ZodNullable<z.ZodString>;
@@ -23497,16 +23497,16 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
23497
23497
  derivedFrom: z.ZodNullable<z.ZodString>;
23498
23498
  }, z.core.$strip>;
23499
23499
  declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23500
+ type: z.ZodOptional<z.ZodString>;
23500
23501
  id: z.ZodString;
23501
23502
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23502
23503
  createdAt: z.ZodOptional<z.ZodString>;
23503
23504
  updatedAt: z.ZodOptional<z.ZodString>;
23504
23505
  metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23505
23506
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23506
- type: z.ZodOptional<z.ZodString>;
23507
+ taskId: z.ZodString;
23507
23508
  contextId: z.ZodString;
23508
23509
  visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23509
- taskId: z.ZodString;
23510
23510
  toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23511
23511
  parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>;
23512
23512
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23515,16 +23515,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
23515
23515
  derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23516
23516
  }, z.core.$strip>;
23517
23517
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
23518
+ type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23518
23519
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23519
23520
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23520
23521
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23521
23522
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23522
23523
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23523
23524
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23524
- type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
23525
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23525
23526
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23526
23527
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23527
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
23528
23528
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
23529
23529
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>>>>;
23530
23530
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -28472,8 +28472,8 @@ declare const SubAgentToolRelationResponse: z.ZodObject<{
28472
28472
  createdAt: z.ZodString;
28473
28473
  updatedAt: z.ZodString;
28474
28474
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28475
- toolId: z.ZodString;
28476
28475
  subAgentId: z.ZodString;
28476
+ toolId: z.ZodString;
28477
28477
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28478
28478
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
28479
28479
  }, z.core.$strip>;
@@ -28924,13 +28924,13 @@ declare const ApiKeyListResponse: z.ZodObject<{
28924
28924
  }, z.core.$strip>;
28925
28925
  declare const AppResponse: z.ZodObject<{
28926
28926
  data: z.ZodObject<{
28927
+ type: z.ZodString;
28927
28928
  id: z.ZodString;
28928
28929
  name: z.ZodString;
28929
28930
  createdAt: z.ZodString;
28930
28931
  updatedAt: z.ZodString;
28931
28932
  description: z.ZodNullable<z.ZodString>;
28932
28933
  enabled: z.ZodBoolean;
28933
- type: z.ZodString;
28934
28934
  projectId: z.ZodNullable<z.ZodString>;
28935
28935
  tenantId: z.ZodNullable<z.ZodString>;
28936
28936
  prompt: z.ZodNullable<z.ZodString>;
@@ -28969,13 +28969,13 @@ declare const AppResponse: z.ZodObject<{
28969
28969
  }, z.core.$strip>;
28970
28970
  declare const AppListResponse: z.ZodObject<{
28971
28971
  data: z.ZodArray<z.ZodObject<{
28972
+ type: z.ZodString;
28972
28973
  id: z.ZodString;
28973
28974
  name: z.ZodString;
28974
28975
  createdAt: z.ZodString;
28975
28976
  updatedAt: z.ZodString;
28976
28977
  description: z.ZodNullable<z.ZodString>;
28977
28978
  enabled: z.ZodBoolean;
28978
- type: z.ZodString;
28979
28979
  projectId: z.ZodNullable<z.ZodString>;
28980
28980
  tenantId: z.ZodNullable<z.ZodString>;
28981
28981
  prompt: z.ZodNullable<z.ZodString>;
@@ -29804,8 +29804,8 @@ declare const SubAgentToolRelationListResponse: z.ZodObject<{
29804
29804
  createdAt: z.ZodString;
29805
29805
  updatedAt: z.ZodString;
29806
29806
  headers: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29807
- toolId: z.ZodString;
29808
29807
  subAgentId: z.ZodString;
29808
+ toolId: z.ZodString;
29809
29809
  toolPolicies: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29810
29810
  selectedTools: z.ZodNullable<z.ZodType<drizzle_zod15.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod15.Json, unknown>>>;
29811
29811
  }, z.core.$strip>>;
@@ -33798,8 +33798,8 @@ declare const WorkAppGitHubInstallationStatusSchema: z.ZodEnum<{
33798
33798
  disconnected: "disconnected";
33799
33799
  }>;
33800
33800
  declare const WorkAppGitHubAccountTypeSchema: z.ZodEnum<{
33801
- Organization: "Organization";
33802
33801
  User: "User";
33802
+ Organization: "Organization";
33803
33803
  }>;
33804
33804
  declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"select", {
33805
33805
  createdAt: drizzle_orm_pg_core220.PgColumn<{
@@ -33894,7 +33894,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33894
33894
  tableName: "work_app_github_installations";
33895
33895
  dataType: "string";
33896
33896
  columnType: "PgVarchar";
33897
- data: "Organization" | "User";
33897
+ data: "User" | "Organization";
33898
33898
  driverParam: string;
33899
33899
  notNull: true;
33900
33900
  hasDefault: false;
@@ -33907,7 +33907,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
33907
33907
  generated: undefined;
33908
33908
  }, {}, {
33909
33909
  length: 20;
33910
- $type: "Organization" | "User";
33910
+ $type: "User" | "Organization";
33911
33911
  }>;
33912
33912
  status: drizzle_orm_pg_core220.PgColumn<{
33913
33913
  name: "status";
@@ -34060,7 +34060,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34060
34060
  tableName: "work_app_github_installations";
34061
34061
  dataType: "string";
34062
34062
  columnType: "PgVarchar";
34063
- data: "Organization" | "User";
34063
+ data: "User" | "Organization";
34064
34064
  driverParam: string;
34065
34065
  notNull: true;
34066
34066
  hasDefault: false;
@@ -34073,7 +34073,7 @@ declare const WorkAppGitHubInstallationSelectSchema: drizzle_zod15.BuildSchema<"
34073
34073
  generated: undefined;
34074
34074
  }, {}, {
34075
34075
  length: 20;
34076
- $type: "Organization" | "User";
34076
+ $type: "User" | "Organization";
34077
34077
  }>;
34078
34078
  status: drizzle_orm_pg_core220.PgColumn<{
34079
34079
  name: "status";
@@ -34141,8 +34141,8 @@ declare const WorkAppGitHubInstallationInsertSchema: z.ZodObject<{
34141
34141
  installationId: z.ZodString;
34142
34142
  accountLogin: z.ZodString;
34143
34143
  accountType: z.ZodEnum<{
34144
- Organization: "Organization";
34145
34144
  User: "User";
34145
+ Organization: "Organization";
34146
34146
  }>;
34147
34147
  status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
34148
34148
  pending: "pending";
@@ -34176,8 +34176,8 @@ declare const WorkAppGitHubInstallationApiInsertSchema: z.ZodObject<{
34176
34176
  installationId: z.ZodString;
34177
34177
  accountLogin: z.ZodString;
34178
34178
  accountType: z.ZodEnum<{
34179
- Organization: "Organization";
34180
34179
  User: "User";
34180
+ Organization: "Organization";
34181
34181
  }>;
34182
34182
  }, z.core.$strip>;
34183
34183
  declare const WorkAppGitHubRepositorySelectSchema: drizzle_zod15.BuildSchema<"select", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20260404213053",
3
+ "version": "0.0.0-dev-20260405014717",
4
4
  "description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",