@inkeep/agents-core 0.1.10 → 0.2.0

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,4 +1,4 @@
1
- import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-R3VVJXX7.js';
1
+ import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-KNC2AOJM.js';
2
2
 
3
3
  // src/validation/graphFull.ts
4
4
  function isInternalAgent(agent) {
@@ -453,7 +453,7 @@ var FullGraphAgentInsertSchema = AgentApiInsertSchema.extend({
453
453
  var FullGraphDefinitionSchema = AgentGraphApiInsertSchema.extend({
454
454
  agents: z.record(z.string(), z.union([FullGraphAgentInsertSchema, ExternalAgentApiInsertSchema])),
455
455
  tools: z.record(z.string(), ToolApiInsertSchema).optional(),
456
- credentialReferences: z.array(CredentialReferenceApiInsertSchema).optional(),
456
+ credentialReferences: z.record(z.string(), CredentialReferenceApiInsertSchema).optional(),
457
457
  dataComponents: z.record(z.string(), DataComponentApiInsertSchema).optional(),
458
458
  artifactComponents: z.record(z.string(), ArtifactComponentApiInsertSchema).optional(),
459
459
  contextConfig: z.optional(ContextConfigApiInsertSchema),
@@ -512,7 +512,7 @@ var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
512
512
  artifactComponents: z.record(z.string(), ArtifactComponentApiInsertSchema).optional(),
513
513
  contextConfig: z.record(z.string(), ContextConfigApiInsertSchema).optional(),
514
514
  statusUpdates: z.optional(StatusUpdateSchema),
515
- credentialReferences: z.array(CredentialReferenceApiInsertSchema).optional(),
515
+ credentialReferences: z.record(z.string(), CredentialReferenceApiInsertSchema).optional(),
516
516
  createdAt: z.string().optional(),
517
517
  updatedAt: z.string().optional()
518
518
  });
@@ -1356,7 +1356,7 @@ var FullGraphAgentInsertSchema = AgentApiInsertSchema.extend({
1356
1356
  AgentGraphApiInsertSchema.extend({
1357
1357
  agents: zodOpenapi.z.record(zodOpenapi.z.string(), zodOpenapi.z.union([FullGraphAgentInsertSchema, ExternalAgentApiInsertSchema])),
1358
1358
  tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema).optional(),
1359
- credentialReferences: zodOpenapi.z.array(CredentialReferenceApiInsertSchema).optional(),
1359
+ credentialReferences: zodOpenapi.z.record(zodOpenapi.z.string(), CredentialReferenceApiInsertSchema).optional(),
1360
1360
  dataComponents: zodOpenapi.z.record(zodOpenapi.z.string(), DataComponentApiInsertSchema).optional(),
1361
1361
  artifactComponents: zodOpenapi.z.record(zodOpenapi.z.string(), ArtifactComponentApiInsertSchema).optional(),
1362
1362
  contextConfig: zodOpenapi.z.optional(ContextConfigApiInsertSchema),
@@ -1408,7 +1408,7 @@ ProjectApiInsertSchema.extend({
1408
1408
  artifactComponents: zodOpenapi.z.record(zodOpenapi.z.string(), ArtifactComponentApiInsertSchema).optional(),
1409
1409
  contextConfig: zodOpenapi.z.record(zodOpenapi.z.string(), ContextConfigApiInsertSchema).optional(),
1410
1410
  statusUpdates: zodOpenapi.z.optional(StatusUpdateSchema),
1411
- credentialReferences: zodOpenapi.z.array(CredentialReferenceApiInsertSchema).optional(),
1411
+ credentialReferences: zodOpenapi.z.record(zodOpenapi.z.string(), CredentialReferenceApiInsertSchema).optional(),
1412
1412
  createdAt: zodOpenapi.z.string().optional(),
1413
1413
  updatedAt: zodOpenapi.z.string().optional()
1414
1414
  });
@@ -1,4 +1,4 @@
1
- export { AgentStopWhenSchema, GraphStopWhenSchema, StopWhenSchema } from './chunk-R3VVJXX7.js';
1
+ export { AgentStopWhenSchema, GraphStopWhenSchema, StopWhenSchema } from './chunk-KNC2AOJM.js';
2
2
  import { CredentialStoreType } from './chunk-SVGQSPW4.js';
3
3
  export { CredentialStoreType, MCPTransportType } from './chunk-SVGQSPW4.js';
4
4
  import { z } from 'zod';