@inkeep/agents-core 0.0.0-dev-20260122102020 → 0.0.0-dev-20260122110905

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.
@@ -32,8 +32,8 @@ declare const BranchNameParamsSchema: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ResolvedRefSchema: z.ZodObject<{
34
34
  type: z.ZodEnum<{
35
- tag: "tag";
36
35
  commit: "commit";
36
+ tag: "tag";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;
@@ -55,6 +55,25 @@ function validateRender(render) {
55
55
  message: "MockData must be an object"
56
56
  }]
57
57
  };
58
+ try {
59
+ const serialized = JSON.stringify(render);
60
+ const parsed = JSON.parse(serialized);
61
+ if (JSON.stringify(parsed) !== serialized) return {
62
+ isValid: false,
63
+ errors: [{
64
+ field: "render",
65
+ message: "Render data contains values that cannot be safely serialized to JSON"
66
+ }]
67
+ };
68
+ } catch (e) {
69
+ return {
70
+ isValid: false,
71
+ errors: [{
72
+ field: "render",
73
+ message: `Render data contains invalid characters that cannot be stored in the database: ${e instanceof Error ? e.message : "Unknown JSON serialization error"}`
74
+ }]
75
+ };
76
+ }
58
77
  if (render.component.length > MAX_CODE_SIZE) errors.push({
59
78
  field: "render.component",
60
79
  message: `Component size exceeds maximum allowed (${MAX_CODE_SIZE} characters)`
@@ -5060,7 +5060,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5060
5060
  dataType: "json";
5061
5061
  columnType: "PgJsonb";
5062
5062
  data: {
5063
- type: "tag" | "commit" | "branch";
5063
+ type: "commit" | "tag" | "branch";
5064
5064
  name: string;
5065
5065
  hash: string;
5066
5066
  };
@@ -5076,7 +5076,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5076
5076
  generated: undefined;
5077
5077
  }, {}, {
5078
5078
  $type: {
5079
- type: "tag" | "commit" | "branch";
5079
+ type: "commit" | "tag" | "branch";
5080
5080
  name: string;
5081
5081
  hash: string;
5082
5082
  };
@@ -5274,7 +5274,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5274
5274
  dataType: "json";
5275
5275
  columnType: "PgJsonb";
5276
5276
  data: {
5277
- type: "tag" | "commit" | "branch";
5277
+ type: "commit" | "tag" | "branch";
5278
5278
  name: string;
5279
5279
  hash: string;
5280
5280
  };
@@ -5290,7 +5290,7 @@ declare const TaskSelectSchema: drizzle_zod19.BuildSchema<"select", {
5290
5290
  generated: undefined;
5291
5291
  }, {}, {
5292
5292
  $type: {
5293
- type: "tag" | "commit" | "branch";
5293
+ type: "commit" | "tag" | "branch";
5294
5294
  name: string;
5295
5295
  hash: string;
5296
5296
  };
@@ -5443,8 +5443,8 @@ declare const TaskInsertSchema: z.ZodObject<{
5443
5443
  conversationId: z.ZodOptional<z.ZodString>;
5444
5444
  ref: z.ZodObject<{
5445
5445
  type: z.ZodEnum<{
5446
- tag: "tag";
5447
5446
  commit: "commit";
5447
+ tag: "tag";
5448
5448
  branch: "branch";
5449
5449
  }>;
5450
5450
  name: z.ZodString;
@@ -5468,8 +5468,8 @@ declare const TaskUpdateSchema: z.ZodObject<{
5468
5468
  conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5469
5469
  ref: z.ZodOptional<z.ZodObject<{
5470
5470
  type: z.ZodEnum<{
5471
- tag: "tag";
5472
5471
  commit: "commit";
5472
+ tag: "tag";
5473
5473
  branch: "branch";
5474
5474
  }>;
5475
5475
  name: z.ZodString;
@@ -5484,19 +5484,19 @@ declare const TaskApiSelectSchema: z.ZodObject<OmitProjectScope<{
5484
5484
  updatedAt: z.ZodString;
5485
5485
  contextId: z.ZodString;
5486
5486
  ref: z.ZodNullable<z.ZodType<{
5487
- type: "tag" | "commit" | "branch";
5487
+ type: "commit" | "tag" | "branch";
5488
5488
  name: string;
5489
5489
  hash: string;
5490
5490
  }, {
5491
- type: "tag" | "commit" | "branch";
5491
+ type: "commit" | "tag" | "branch";
5492
5492
  name: string;
5493
5493
  hash: string;
5494
5494
  }, z.core.$ZodTypeInternals<{
5495
- type: "tag" | "commit" | "branch";
5495
+ type: "commit" | "tag" | "branch";
5496
5496
  name: string;
5497
5497
  hash: string;
5498
5498
  }, {
5499
- type: "tag" | "commit" | "branch";
5499
+ type: "commit" | "tag" | "branch";
5500
5500
  name: string;
5501
5501
  hash: string;
5502
5502
  }>>>;
@@ -5522,8 +5522,8 @@ declare const TaskApiInsertSchema: z.ZodObject<OmitProjectScope<{
5522
5522
  conversationId: z.ZodOptional<z.ZodString>;
5523
5523
  ref: z.ZodObject<{
5524
5524
  type: z.ZodEnum<{
5525
- tag: "tag";
5526
5525
  commit: "commit";
5526
+ tag: "tag";
5527
5527
  branch: "branch";
5528
5528
  }>;
5529
5529
  name: z.ZodString;
@@ -5538,8 +5538,8 @@ declare const TaskApiUpdateSchema: z.ZodObject<{
5538
5538
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
5539
5539
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
5540
5540
  type: z.ZodEnum<{
5541
- tag: "tag";
5542
5541
  commit: "commit";
5542
+ tag: "tag";
5543
5543
  branch: "branch";
5544
5544
  }>;
5545
5545
  name: z.ZodString;
@@ -6593,7 +6593,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6593
6593
  dataType: "json";
6594
6594
  columnType: "PgJsonb";
6595
6595
  data: {
6596
- type: "tag" | "commit" | "branch";
6596
+ type: "commit" | "tag" | "branch";
6597
6597
  name: string;
6598
6598
  hash: string;
6599
6599
  };
@@ -6609,7 +6609,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6609
6609
  generated: undefined;
6610
6610
  }, {}, {
6611
6611
  $type: {
6612
- type: "tag" | "commit" | "branch";
6612
+ type: "commit" | "tag" | "branch";
6613
6613
  name: string;
6614
6614
  hash: string;
6615
6615
  };
@@ -6822,7 +6822,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6822
6822
  dataType: "json";
6823
6823
  columnType: "PgJsonb";
6824
6824
  data: {
6825
- type: "tag" | "commit" | "branch";
6825
+ type: "commit" | "tag" | "branch";
6826
6826
  name: string;
6827
6827
  hash: string;
6828
6828
  };
@@ -6838,7 +6838,7 @@ declare const ConversationSelectSchema: drizzle_zod19.BuildSchema<"select", {
6838
6838
  generated: undefined;
6839
6839
  }, {}, {
6840
6840
  $type: {
6841
- type: "tag" | "commit" | "branch";
6841
+ type: "commit" | "tag" | "branch";
6842
6842
  name: string;
6843
6843
  hash: string;
6844
6844
  };
@@ -6969,8 +6969,8 @@ declare const ConversationInsertSchema: z.ZodObject<{
6969
6969
  contextConfigId: z.ZodOptional<z.ZodString>;
6970
6970
  ref: z.ZodObject<{
6971
6971
  type: z.ZodEnum<{
6972
- tag: "tag";
6973
6972
  commit: "commit";
6973
+ tag: "tag";
6974
6974
  branch: "branch";
6975
6975
  }>;
6976
6976
  name: z.ZodString;
@@ -6995,8 +6995,8 @@ declare const ConversationUpdateSchema: z.ZodObject<{
6995
6995
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6996
6996
  ref: z.ZodOptional<z.ZodObject<{
6997
6997
  type: z.ZodEnum<{
6998
- tag: "tag";
6999
6998
  commit: "commit";
6999
+ tag: "tag";
7000
7000
  branch: "branch";
7001
7001
  }>;
7002
7002
  name: z.ZodString;
@@ -7013,19 +7013,19 @@ declare const ConversationApiSelectSchema: z.ZodObject<OmitProjectScope<{
7013
7013
  agentId: z.ZodNullable<z.ZodString>;
7014
7014
  activeSubAgentId: z.ZodString;
7015
7015
  ref: z.ZodNullable<z.ZodType<{
7016
- type: "tag" | "commit" | "branch";
7016
+ type: "commit" | "tag" | "branch";
7017
7017
  name: string;
7018
7018
  hash: string;
7019
7019
  }, {
7020
- type: "tag" | "commit" | "branch";
7020
+ type: "commit" | "tag" | "branch";
7021
7021
  name: string;
7022
7022
  hash: string;
7023
7023
  }, z.core.$ZodTypeInternals<{
7024
- type: "tag" | "commit" | "branch";
7024
+ type: "commit" | "tag" | "branch";
7025
7025
  name: string;
7026
7026
  hash: string;
7027
7027
  }, {
7028
- type: "tag" | "commit" | "branch";
7028
+ type: "commit" | "tag" | "branch";
7029
7029
  name: string;
7030
7030
  hash: string;
7031
7031
  }>>>;
@@ -7051,8 +7051,8 @@ declare const ConversationApiInsertSchema: z.ZodObject<OmitProjectScope<{
7051
7051
  contextConfigId: z.ZodOptional<z.ZodString>;
7052
7052
  ref: z.ZodObject<{
7053
7053
  type: z.ZodEnum<{
7054
- tag: "tag";
7055
7054
  commit: "commit";
7055
+ tag: "tag";
7056
7056
  branch: "branch";
7057
7057
  }>;
7058
7058
  name: z.ZodString;
@@ -7070,8 +7070,8 @@ declare const ConversationApiUpdateSchema: z.ZodObject<{
7070
7070
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7071
7071
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
7072
7072
  type: z.ZodEnum<{
7073
- tag: "tag";
7074
7073
  commit: "commit";
7074
+ tag: "tag";
7075
7075
  branch: "branch";
7076
7076
  }>;
7077
7077
  name: z.ZodString;
@@ -7978,18 +7978,18 @@ declare const MessageApiUpdateSchema: z.ZodObject<{
7978
7978
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
7979
7979
  content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
7980
7980
  role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7981
7982
  fromSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7982
7983
  toSubAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7983
7984
  fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7984
7985
  toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7985
- taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7986
- a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7987
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
7988
7986
  fromTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7989
7987
  toTeamAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7990
7988
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7991
7989
  messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7990
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
7992
7991
  parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7992
+ a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7993
7993
  a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
7994
7994
  }, z.core.$strip>;
7995
7995
  declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -8090,7 +8090,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8090
8090
  dataType: "json";
8091
8091
  columnType: "PgJsonb";
8092
8092
  data: {
8093
- type: "tag" | "commit" | "branch";
8093
+ type: "commit" | "tag" | "branch";
8094
8094
  name: string;
8095
8095
  hash: string;
8096
8096
  };
@@ -8106,7 +8106,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8106
8106
  generated: undefined;
8107
8107
  }, {}, {
8108
8108
  $type: {
8109
- type: "tag" | "commit" | "branch";
8109
+ type: "commit" | "tag" | "branch";
8110
8110
  name: string;
8111
8111
  hash: string;
8112
8112
  };
@@ -8340,7 +8340,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8340
8340
  dataType: "json";
8341
8341
  columnType: "PgJsonb";
8342
8342
  data: {
8343
- type: "tag" | "commit" | "branch";
8343
+ type: "commit" | "tag" | "branch";
8344
8344
  name: string;
8345
8345
  hash: string;
8346
8346
  };
@@ -8356,7 +8356,7 @@ declare const ContextCacheSelectSchema: drizzle_zod19.BuildSchema<"select", {
8356
8356
  generated: undefined;
8357
8357
  }, {}, {
8358
8358
  $type: {
8359
- type: "tag" | "commit" | "branch";
8359
+ type: "commit" | "tag" | "branch";
8360
8360
  name: string;
8361
8361
  hash: string;
8362
8362
  };
@@ -8508,8 +8508,8 @@ declare const ContextCacheInsertSchema: z.ZodObject<{
8508
8508
  id: z.ZodString;
8509
8509
  ref: z.ZodObject<{
8510
8510
  type: z.ZodEnum<{
8511
- tag: "tag";
8512
8511
  commit: "commit";
8512
+ tag: "tag";
8513
8513
  branch: "branch";
8514
8514
  }>;
8515
8515
  name: z.ZodString;
@@ -8534,8 +8534,8 @@ declare const ContextCacheUpdateSchema: z.ZodObject<{
8534
8534
  id: z.ZodOptional<z.ZodString>;
8535
8535
  ref: z.ZodOptional<z.ZodObject<{
8536
8536
  type: z.ZodEnum<{
8537
- tag: "tag";
8538
8537
  commit: "commit";
8538
+ tag: "tag";
8539
8539
  branch: "branch";
8540
8540
  }>;
8541
8541
  name: z.ZodString;
@@ -8552,19 +8552,19 @@ declare const ContextCacheApiSelectSchema: z.ZodObject<OmitProjectScope<{
8552
8552
  contextConfigId: z.ZodString;
8553
8553
  contextVariableKey: z.ZodString;
8554
8554
  ref: z.ZodNullable<z.ZodType<{
8555
- type: "tag" | "commit" | "branch";
8555
+ type: "commit" | "tag" | "branch";
8556
8556
  name: string;
8557
8557
  hash: string;
8558
8558
  }, {
8559
- type: "tag" | "commit" | "branch";
8559
+ type: "commit" | "tag" | "branch";
8560
8560
  name: string;
8561
8561
  hash: string;
8562
8562
  }, z.core.$ZodTypeInternals<{
8563
- type: "tag" | "commit" | "branch";
8563
+ type: "commit" | "tag" | "branch";
8564
8564
  name: string;
8565
8565
  hash: string;
8566
8566
  }, {
8567
- type: "tag" | "commit" | "branch";
8567
+ type: "commit" | "tag" | "branch";
8568
8568
  name: string;
8569
8569
  hash: string;
8570
8570
  }>>>;
@@ -8591,8 +8591,8 @@ declare const ContextCacheApiInsertSchema: z.ZodObject<OmitProjectScope<{
8591
8591
  id: z.ZodString;
8592
8592
  ref: z.ZodObject<{
8593
8593
  type: z.ZodEnum<{
8594
- tag: "tag";
8595
8594
  commit: "commit";
8595
+ tag: "tag";
8596
8596
  branch: "branch";
8597
8597
  }>;
8598
8598
  name: z.ZodString;
@@ -8607,8 +8607,8 @@ declare const ContextCacheApiUpdateSchema: z.ZodObject<{
8607
8607
  contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8608
8608
  ref: z.ZodOptional<z.ZodOptional<z.ZodObject<{
8609
8609
  type: z.ZodEnum<{
8610
- tag: "tag";
8611
8610
  commit: "commit";
8611
+ tag: "tag";
8612
8612
  branch: "branch";
8613
8613
  }>;
8614
8614
  name: z.ZodString;
@@ -8947,15 +8947,15 @@ declare const DatasetRunApiInsertSchema: z.ZodObject<{
8947
8947
  createdAt: z.ZodOptional<z.ZodString>;
8948
8948
  updatedAt: z.ZodOptional<z.ZodString>;
8949
8949
  datasetId: z.ZodString;
8950
- datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
8950
  evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8951
+ datasetRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8952
8952
  }, z.core.$strip>;
8953
8953
  declare const DatasetRunApiUpdateSchema: z.ZodObject<{
8954
8954
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8955
8955
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
8956
8956
  datasetId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8957
- datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
8957
  evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8958
+ datasetRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
8959
8959
  }, z.core.$strip>;
8960
8960
  declare const DatasetRunConversationRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
8961
8961
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -9662,16 +9662,16 @@ declare const EvaluationResultApiInsertSchema: z.ZodObject<{
9662
9662
  output: z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
9663
9663
  createdAt: z.ZodOptional<z.ZodString>;
9664
9664
  updatedAt: z.ZodOptional<z.ZodString>;
9665
- conversationId: z.ZodString;
9666
9665
  evaluatorId: z.ZodString;
9666
+ conversationId: z.ZodString;
9667
9667
  evaluationRunId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9668
9668
  }, z.core.$strip>;
9669
9669
  declare const EvaluationResultApiUpdateSchema: z.ZodObject<{
9670
9670
  output: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>>>;
9671
9671
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9672
9672
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9673
- conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
9673
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9674
+ conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9675
9675
  evaluationRunId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9676
9676
  }, z.core.$strip>;
9677
9677
  declare const EvaluationRunSelectSchema: drizzle_zod19.BuildSchema<"select", {
@@ -9963,14 +9963,14 @@ declare const EvaluationRunApiSelectSchema: z.ZodObject<OmitProjectScope<{
9963
9963
  declare const EvaluationRunApiInsertSchema: z.ZodObject<{
9964
9964
  createdAt: z.ZodOptional<z.ZodString>;
9965
9965
  updatedAt: z.ZodOptional<z.ZodString>;
9966
- evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
9966
  evaluationRunConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9967
+ evaluationJobConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9968
9968
  }, z.core.$strip>;
9969
9969
  declare const EvaluationRunApiUpdateSchema: z.ZodObject<{
9970
9970
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9971
9971
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
9972
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
9972
  evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9973
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
9974
9974
  }, z.core.$strip>;
9975
9975
  declare const EvaluationRunConfigSelectSchema: drizzle_zod19.BuildSchema<"select", {
9976
9976
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -11349,14 +11349,14 @@ declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiSelectSchema: z
11349
11349
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiInsertSchema: z.ZodObject<{
11350
11350
  createdAt: z.ZodOptional<z.ZodString>;
11351
11351
  updatedAt: z.ZodOptional<z.ZodString>;
11352
- evaluationRunConfigId: z.ZodString;
11353
11352
  evaluationSuiteConfigId: z.ZodString;
11353
+ evaluationRunConfigId: z.ZodString;
11354
11354
  }, z.core.$strip>;
11355
11355
  declare const EvaluationRunConfigEvaluationSuiteConfigRelationApiUpdateSchema: z.ZodObject<{
11356
11356
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11357
11357
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11358
- evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
11358
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11359
+ evaluationRunConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11360
11360
  }, z.core.$strip>;
11361
11361
  declare const EvaluationJobConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11362
11362
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -11647,14 +11647,14 @@ declare const EvaluationJobConfigEvaluatorRelationApiSelectSchema: z.ZodObject<O
11647
11647
  declare const EvaluationJobConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11648
11648
  createdAt: z.ZodOptional<z.ZodString>;
11649
11649
  updatedAt: z.ZodOptional<z.ZodString>;
11650
- evaluationJobConfigId: z.ZodString;
11651
11650
  evaluatorId: z.ZodString;
11651
+ evaluationJobConfigId: z.ZodString;
11652
11652
  }, z.core.$strip>;
11653
11653
  declare const EvaluationJobConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11654
11654
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11655
11655
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11656
- evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
11656
  evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11657
+ evaluationJobConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11658
11658
  }, z.core.$strip>;
11659
11659
  declare const EvaluationSuiteConfigEvaluatorRelationSelectSchema: drizzle_zod19.BuildSchema<"select", {
11660
11660
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -11945,14 +11945,14 @@ declare const EvaluationSuiteConfigEvaluatorRelationApiSelectSchema: z.ZodObject
11945
11945
  declare const EvaluationSuiteConfigEvaluatorRelationApiInsertSchema: z.ZodObject<{
11946
11946
  createdAt: z.ZodOptional<z.ZodString>;
11947
11947
  updatedAt: z.ZodOptional<z.ZodString>;
11948
- evaluatorId: z.ZodString;
11949
11948
  evaluationSuiteConfigId: z.ZodString;
11949
+ evaluatorId: z.ZodString;
11950
11950
  }, z.core.$strip>;
11951
11951
  declare const EvaluationSuiteConfigEvaluatorRelationApiUpdateSchema: z.ZodObject<{
11952
11952
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11953
11953
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
11954
- evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
11954
  evaluationSuiteConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11955
+ evaluatorId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11956
11956
  }, z.core.$strip>;
11957
11957
  declare const EvaluatorSelectSchema: drizzle_zod19.BuildSchema<"select", {
11958
11958
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -13386,8 +13386,8 @@ declare const DatasetItemApiUpdateSchema: z.ZodObject<{
13386
13386
  }>>>>>>;
13387
13387
  }, z.core.$strip>;
13388
13388
  declare const DatasetRunItemSchema: z.ZodObject<{
13389
- id: z.ZodOptional<z.ZodString>;
13390
13389
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13390
+ id: z.ZodOptional<z.ZodString>;
13391
13391
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13392
13392
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13393
13393
  prompt: string;
@@ -13435,8 +13435,8 @@ declare const DatasetRunItemSchema: z.ZodObject<{
13435
13435
  declare const TriggerDatasetRunSchema: z.ZodObject<{
13436
13436
  datasetRunId: z.ZodString;
13437
13437
  items: z.ZodArray<z.ZodObject<{
13438
- id: z.ZodOptional<z.ZodString>;
13439
13438
  input: z.ZodOptional<z.ZodType<DatasetItemInput, DatasetItemInput, z.core.$ZodTypeInternals<DatasetItemInput, DatasetItemInput>>>;
13439
+ id: z.ZodOptional<z.ZodString>;
13440
13440
  expectedOutput: z.ZodOptional<z.ZodNullable<z.ZodType<DatasetItemExpectedOutput, DatasetItemExpectedOutput, z.core.$ZodTypeInternals<DatasetItemExpectedOutput, DatasetItemExpectedOutput>>>>;
13441
13441
  simulationAgent: z.ZodOptional<z.ZodNullable<z.ZodType<{
13442
13442
  prompt: string;
@@ -15170,7 +15170,7 @@ declare const SubAgentDataComponentInsertSchema: drizzle_zod19.BuildSchema<"inse
15170
15170
  }, {}, {
15171
15171
  length: 256;
15172
15172
  }>;
15173
- }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "subAgentId" | "dataComponentId">, undefined>, undefined>;
15173
+ }, "tenantId" | "projectId" | "id" | "agentId" | "createdAt" | "dataComponentId" | "subAgentId">, undefined>, undefined>;
15174
15174
  declare const SubAgentDataComponentUpdateSchema: z.ZodObject<{
15175
15175
  dataComponentId: z.ZodOptional<z.ZodString>;
15176
15176
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -15194,8 +15194,8 @@ declare const SubAgentDataComponentApiSelectSchema: z.ZodObject<OmitAgentScope<{
15194
15194
  }>, z.core.$strip>;
15195
15195
  declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15196
15196
  agentId: z.ZodString;
15197
- subAgentId: z.ZodString;
15198
15197
  dataComponentId: z.ZodString;
15198
+ subAgentId: z.ZodString;
15199
15199
  }, {
15200
15200
  out: {};
15201
15201
  in: {};
@@ -15203,8 +15203,8 @@ declare const SubAgentDataComponentApiInsertSchema: z.ZodObject<{
15203
15203
  declare const SubAgentDataComponentApiUpdateSchema: z.ZodObject<{
15204
15204
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15205
15205
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
15206
- subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
15206
  dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15207
+ subAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
15208
15208
  }, z.core.$strip>;
15209
15209
  declare const ArtifactComponentSelectSchema: drizzle_zod19.BuildSchema<"select", {
15210
15210
  createdAt: drizzle_orm_pg_core208.PgColumn<{
@@ -17855,12 +17855,12 @@ declare const MCPToolConfigSchema: z.ZodObject<{
17855
17855
  imageUrl: z.ZodOptional<z.ZodString>;
17856
17856
  capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
17857
17857
  lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17858
+ relationshipId: z.ZodOptional<z.ZodString>;
17858
17859
  availableTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
17859
17860
  name: z.ZodString;
17860
17861
  description: z.ZodOptional<z.ZodString>;
17861
17862
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17862
17863
  }, z.core.$strip>>>;
17863
- relationshipId: z.ZodOptional<z.ZodString>;
17864
17864
  tenantId: z.ZodOptional<z.ZodString>;
17865
17865
  projectId: z.ZodOptional<z.ZodString>;
17866
17866
  description: z.ZodOptional<z.ZodString>;
@@ -19125,8 +19125,8 @@ declare const FunctionApiUpdateSchema: z.ZodObject<{
19125
19125
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19126
19126
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
19127
19127
  inputSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
19128
- dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19129
19128
  executeCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
19129
+ dependencies: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
19130
19130
  }, z.core.$strip>;
19131
19131
  declare const FetchConfigSchema: z.ZodObject<{
19132
19132
  url: z.ZodString;
@@ -21854,7 +21854,7 @@ declare const LedgerArtifactInsertSchema: drizzle_zod19.BuildSchema<"insert", {
21854
21854
  }, {}, {
21855
21855
  length: 256;
21856
21856
  }>;
21857
- }, "tenantId" | "projectId" | "id" | "type" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "taskId" | "contextId" | "visibility" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21857
+ }, "type" | "tenantId" | "projectId" | "id" | "name" | "description" | "createdAt" | "updatedAt" | "metadata" | "contextId" | "visibility" | "taskId" | "toolCallId" | "parts" | "summary" | "mime" | "allowedAgents" | "derivedFrom">, undefined>, undefined>;
21858
21858
  declare const LedgerArtifactUpdateSchema: z.ZodObject<{
21859
21859
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21860
21860
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -21919,16 +21919,16 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<OmitProjectScope<{
21919
21919
  id: z.ZodString;
21920
21920
  }>, z.core.$strip>;
21921
21921
  declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
21922
- id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21923
21922
  type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21923
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21924
21924
  name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21925
21925
  description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21926
21926
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21927
21927
  updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
21928
21928
  metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21929
- taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21930
21929
  contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21931
21930
  visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21931
+ taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
21932
21932
  toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
21933
21933
  parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod19.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod19.Json, unknown>>>>>>;
21934
21934
  summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
@@ -26253,19 +26253,19 @@ declare const ConversationResponse: z.ZodObject<{
26253
26253
  agentId: z.ZodNullable<z.ZodString>;
26254
26254
  activeSubAgentId: z.ZodString;
26255
26255
  ref: z.ZodNullable<z.ZodType<{
26256
- type: "tag" | "commit" | "branch";
26256
+ type: "commit" | "tag" | "branch";
26257
26257
  name: string;
26258
26258
  hash: string;
26259
26259
  }, {
26260
- type: "tag" | "commit" | "branch";
26260
+ type: "commit" | "tag" | "branch";
26261
26261
  name: string;
26262
26262
  hash: string;
26263
26263
  }, z.core.$ZodTypeInternals<{
26264
- type: "tag" | "commit" | "branch";
26264
+ type: "commit" | "tag" | "branch";
26265
26265
  name: string;
26266
26266
  hash: string;
26267
26267
  }, {
26268
- type: "tag" | "commit" | "branch";
26268
+ type: "commit" | "tag" | "branch";
26269
26269
  name: string;
26270
26270
  hash: string;
26271
26271
  }>>>;
@@ -27425,19 +27425,19 @@ declare const ConversationListResponse: z.ZodObject<{
27425
27425
  agentId: z.ZodNullable<z.ZodString>;
27426
27426
  activeSubAgentId: z.ZodString;
27427
27427
  ref: z.ZodNullable<z.ZodType<{
27428
- type: "tag" | "commit" | "branch";
27428
+ type: "commit" | "tag" | "branch";
27429
27429
  name: string;
27430
27430
  hash: string;
27431
27431
  }, {
27432
- type: "tag" | "commit" | "branch";
27432
+ type: "commit" | "tag" | "branch";
27433
27433
  name: string;
27434
27434
  hash: string;
27435
27435
  }, z.core.$ZodTypeInternals<{
27436
- type: "tag" | "commit" | "branch";
27436
+ type: "commit" | "tag" | "branch";
27437
27437
  name: string;
27438
27438
  hash: string;
27439
27439
  }, {
27440
- type: "tag" | "commit" | "branch";
27440
+ type: "commit" | "tag" | "branch";
27441
27441
  name: string;
27442
27442
  hash: string;
27443
27443
  }>>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20260122102020",
3
+ "version": "0.0.0-dev-20260122110905",
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",