@inkeep/agents-core 0.36.1 → 0.37.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.
package/dist/index.js CHANGED
@@ -1,32 +1,32 @@
1
1
  export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './chunk-SG75RA63.js';
2
- import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-OEHP46F7.js';
3
- export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from './chunk-OEHP46F7.js';
4
- export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS } from './chunk-KMLLKRUY.js';
2
+ import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-32YRH2S7.js';
3
+ export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from './chunk-32YRH2S7.js';
4
+ export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS } from './chunk-SLQW43IV.js';
5
5
  export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-TGESM3JG.js';
6
- import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-ZCEKN54E.js';
7
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from './chunk-ZCEKN54E.js';
6
+ import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-VQXQOGJU.js';
7
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from './chunk-VQXQOGJU.js';
8
8
  import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentExternalAgentRelations, subAgents, subAgentRelations, subAgentToolRelations, tools, subAgentTeamAgentRelations, agents, credentialReferences, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-NFYCSHD3.js';
9
9
  export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-NFYCSHD3.js';
10
10
  export { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
11
- import { getTracer, getCredentialStoreLookupKeyFromRetrievalParams, generateId, normalizeDateString, isThirdPartyMCPServerAuthenticated, createApiError, generateApiKey, extractPublicId, validateApiKey, isApiKeyExpired, getConversationId, setSpanWithError, getRequestExecutionContext, McpClient } from './chunk-4OISWRFK.js';
12
- export { CONVERSATION_HISTORY_DEFAULT_LIMIT, CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT, ERROR_DOCS_BASE_URL, ErrorCode, MCP_TOOL_CONNECTION_TIMEOUT_MS, MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RETRIES, MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR, McpClient, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, createExecutionContext, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, extractComposioServerId, extractPublicId, fetchComposioServers, fetchSingleComposioServer, generateApiKey, generateId, generateServiceToken, getConversationId, getCredentialStoreLookupKeyFromRetrievalParams, getRequestExecutionContext, getTracer, handleApiError, hashApiKey, isApiKeyExpired, isComposioMCPServerAuthenticated, isThirdPartyMCPServerAuthenticated, maskApiKey, normalizeDateString, problemDetailsSchema, setSpanWithError, validateApiKey, validateTargetAgent, validateTenantId, verifyAuthorizationHeader, verifyServiceToken } from './chunk-4OISWRFK.js';
13
- import { convertZodToJsonSchema } from './chunk-7GZHUB4J.js';
14
- export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './chunk-7GZHUB4J.js';
15
- import { loadEnvironmentFiles, env } from './chunk-4RVJB4KV.js';
16
- export { loadEnvironmentFiles } from './chunk-4RVJB4KV.js';
11
+ import { getTracer, getCredentialStoreLookupKeyFromRetrievalParams, generateId, normalizeDateString, isThirdPartyMCPServerAuthenticated, createApiError, generateApiKey, extractPublicId, validateApiKey, isApiKeyExpired, getConversationId, setSpanWithError, getRequestExecutionContext, McpClient } from './chunk-ICZLNCX7.js';
12
+ export { CONVERSATION_HISTORY_DEFAULT_LIMIT, CONVERSATION_HISTORY_MAX_OUTPUT_TOKENS_DEFAULT, ERROR_DOCS_BASE_URL, ErrorCode, MCP_TOOL_CONNECTION_TIMEOUT_MS, MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RETRIES, MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR, McpClient, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, createExecutionContext, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, extractComposioServerId, extractPublicId, fetchComposioServers, fetchSingleComposioServer, generateApiKey, generateId, generateServiceToken, getConversationId, getCredentialStoreLookupKeyFromRetrievalParams, getRequestExecutionContext, getTracer, handleApiError, hashApiKey, isApiKeyExpired, isComposioMCPServerAuthenticated, isThirdPartyMCPServerAuthenticated, maskApiKey, normalizeDateString, problemDetailsSchema, setSpanWithError, signTempToken, validateApiKey, validateTargetAgent, validateTenantId, verifyAuthorizationHeader, verifyServiceToken, verifyTempToken } from './chunk-ICZLNCX7.js';
13
+ import { convertZodToJsonSchema } from './chunk-SSRRHYU4.js';
14
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './chunk-SSRRHYU4.js';
15
+ import { loadEnvironmentFiles, env } from './chunk-Q5U2SVA6.js';
16
+ export { loadEnvironmentFiles } from './chunk-Q5U2SVA6.js';
17
17
  import { detectAuthenticationRequired } from './chunk-4JZT4QEE.js';
18
18
  export { detectAuthenticationRequired, exchangeMcpAuthorizationCode, initiateMcpOAuthFlow } from './chunk-4JZT4QEE.js';
19
19
  import { organization, member, invitation, user } from './chunk-NOPEANIU.js';
20
20
  export { account, invitation, member, organization, session, ssoProvider, user, verification } from './chunk-NOPEANIU.js';
21
21
  export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-7CLFCY6J.js';
22
- export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './chunk-FOK3JSQN.js';
22
+ export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './chunk-MB2ZIPZS.js';
23
23
  import { getLogger } from './chunk-DN4B564Y.js';
24
24
  export { PinoLogger, getLogger, loggerFactory } from './chunk-DN4B564Y.js';
25
25
  export { TaskState } from './chunk-H2F72PDA.js';
26
26
  import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
27
27
  export { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from './chunk-YFHT5M2R.js';
28
+ import { external_exports } from './chunk-OUXC23J7.js';
28
29
  import { __commonJS, __require } from './chunk-SIAA4J6H.js';
29
- import { z } from 'zod';
30
30
  import jmespath from 'jmespath';
31
31
  import { drizzle } from 'drizzle-orm/node-postgres';
32
32
  import { Pool } from 'pg';
@@ -212870,6 +212870,8 @@ async function apiFetch(url, options = {}) {
212870
212870
  headers: headers2
212871
212871
  });
212872
212872
  }
212873
+
212874
+ // src/context/ContextConfig.ts
212873
212875
  var logger = getLogger("context-config");
212874
212876
  var HeadersSchemaBuilder = class {
212875
212877
  schema;
@@ -213024,7 +213026,7 @@ var ContextConfigBuilder = class {
213024
213026
  });
213025
213027
  return { valid: true, errors: [] };
213026
213028
  } catch (error) {
213027
- if (error instanceof z.ZodError) {
213029
+ if (error instanceof external_exports.ZodError) {
213028
213030
  return {
213029
213031
  valid: false,
213030
213032
  errors: error.issues.map((e) => `${e.path.join(".")}: ${e.message}`)
@@ -1,6 +1,6 @@
1
1
  import * as drizzle_orm from 'drizzle-orm';
2
2
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
3
- import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-C4QAannk.js';
3
+ import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-C_tTZ7-k.js';
4
4
  import { account, invitation, member, organization, session, ssoProvider, user, verification } from './auth/auth-schema.js';
5
5
 
6
6
  declare const projects: drizzle_orm_pg_core.PgTableWithColumns<{
@@ -1,5 +1,5 @@
1
- import { h as CredentialStoreType } from '../utility-C4QAannk.js';
2
- export { bb as A2AError, bH as A2ARequest, bI as A2AResponse, aM as APIKeySecurityScheme, bW as AgentApiInsert, bV as AgentApiSelect, bX as AgentApiUpdate, aI as AgentCapabilities, aW as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aJ as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aK as AgentSkill, z as AgentUpdate, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, cS as ApiKeyApiInsert, cR as ApiKeyApiSelect, cT as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cF as ArtifactComponentApiInsert, cE as ArtifactComponentApiSelect, cG as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aP as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, br as CancelTaskRequest, bC as CancelTaskResponse, bB as CancelTaskSuccessResponse, aQ as ClientCredentialsOAuthFlow, b9 as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, cs as ContextCacheApiSelect, cu as ContextCacheApiUpdate, dz as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cr as ContextCacheUpdate, cn as ContextConfigApiInsert, cm as ContextConfigApiSelect, co as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cg as ConversationApiInsert, cf as ConversationApiSelect, ch as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dx as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cV as CredentialReferenceApiSelect, cW as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cw as DataComponentApiInsert, cv as DataComponentApiSelect, cx as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aG as DataPart, ay as ExecutionContext, cO as ExternalAgentApiInsert, cN as ExternalAgentApiSelect, cP as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bU as ExternalSubAgentRelationApiInsert, bT as ExternalSubAgentRelationInsert, cq as FetchConfig, cp as FetchDefinition, aC as FileBase, aF as FilePart, aD as FileWithBytes, aE as FileWithUri, df as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cc as FunctionApiSelect, cd as FunctionApiUpdate, ca as FunctionInsert, c9 as FunctionSelect, a7 as FunctionToolApiInsert, ce as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, cb as FunctionUpdate, bt as GetTaskPushNotificationConfigRequest, bG as GetTaskPushNotificationConfigResponse, bF as GetTaskPushNotificationConfigSuccessResponse, bq as GetTaskRequest, bA as GetTaskResponse, bz as GetTaskSuccessResponse, aN as HTTPAuthSecurityScheme, aR as ImplicitOAuthFlow, b4 as InternalError, ba as InvalidAgentResponseError, b3 as InvalidParamsError, b1 as InvalidRequestError, b0 as JSONParseError, bl as JSONRPCError, bn as JSONRPCErrorResponse, bj as JSONRPCMessage, bk as JSONRPCRequest, bm as JSONRPCResult, dd as LedgerArtifactApiInsert, dc as LedgerArtifactApiSelect, de as LedgerArtifactApiUpdate, da as LedgerArtifactInsert, aa as LedgerArtifactSelect, db as LedgerArtifactUpdate, dH as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, av as McpTool, dE as McpToolDefinition, dC as McpTransportConfig, aX as Message, ck as MessageApiInsert, cj as MessageApiSelect, cl as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, ds as MessageMode, bJ as MessagePart, dr as MessageRole, ci as MessageSelect, bh as MessageSendConfiguration, bi as MessageSendParams, dq as MessageType, ad as MessageUpdate, ab as MessageVisibility, b2 as MethodNotFoundError, dt as Models, aT as OAuth2SecurityScheme, aO as OAuthFlows, aU as OpenIdConnectSecurityScheme, dn as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, aA as PartBase, aS as PasswordOAuthFlow, dl as ProjectApiInsert, dk as ProjectApiSelect, dm as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, du as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bc as PushNotificationAuthenticationInfo, bd as PushNotificationConfig, b7 as PushNotificationNotSupportedError, aV as SecurityScheme, aL as SecuritySchemeBase, bo as SendMessageRequest, bw as SendMessageResponse, bv as SendMessageSuccessResponse, bp as SendStreamingMessageRequest, by as SendStreamingMessageResponse, bx as SendStreamingMessageSuccessResponse, bs as SetTaskPushNotificationConfigRequest, bE as SetTaskPushNotificationConfigResponse, bD as SetTaskPushNotificationConfigSuccessResponse, dw as StatusComponent, dv as StatusUpdateSettings, bM as SubAgentApiInsert, bL as SubAgentApiSelect, bN as SubAgentApiUpdate, cL as SubAgentArtifactComponentApiInsert, cK as SubAgentArtifactComponentApiSelect, cM as SubAgentArtifactComponentApiUpdate, cI as SubAgentArtifactComponentInsert, cH as SubAgentArtifactComponentSelect, cJ as SubAgentArtifactComponentUpdate, cC as SubAgentDataComponentApiInsert, cB as SubAgentDataComponentApiSelect, cD as SubAgentDataComponentApiUpdate, cz as SubAgentDataComponentInsert, cy as SubAgentDataComponentSelect, cA as SubAgentDataComponentUpdate, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, d2 as SubAgentExternalAgentRelationApiSelect, d4 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, d0 as SubAgentExternalAgentRelationSelect, d1 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bQ as SubAgentRelationApiInsert, bP as SubAgentRelationApiSelect, bR as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bS as SubAgentRelationQuery, bO as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d8 as SubAgentTeamAgentRelationApiInsert, d7 as SubAgentTeamAgentRelationApiSelect, d9 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d5 as SubAgentTeamAgentRelationSelect, d6 as SubAgentTeamAgentRelationUpdate, c_ as SubAgentToolRelationApiInsert, cZ as SubAgentToolRelationApiSelect, c$ as SubAgentToolRelationApiUpdate, cY as SubAgentToolRelationInsert, cX as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, aZ as Task, b_ as TaskApiInsert, bZ as TaskApiSelect, b$ as TaskApiUpdate, bK as TaskArtifact, a$ as TaskArtifactUpdateEvent, bf as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b6 as TaskNotCancelableError, b5 as TaskNotFoundError, be as TaskPushNotificationConfig, bg as TaskQueryParams, c4 as TaskRelationApiInsert, c3 as TaskRelationApiSelect, c5 as TaskRelationApiUpdate, c1 as TaskRelationInsert, c0 as TaskRelationSelect, c2 as TaskRelationUpdate, bu as TaskResubscriptionRequest, au as TaskSelect, aH as TaskState, aY as TaskStatus, a_ as TaskStatusUpdateEvent, bY as TaskUpdate, aB as TextPart, c7 as ToolApiInsert, c6 as ToolApiSelect, c8 as ToolApiUpdate, dj as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b8 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-C4QAannk.js';
1
+ import { h as CredentialStoreType } from '../utility-C_tTZ7-k.js';
2
+ export { bb as A2AError, bH as A2ARequest, bI as A2AResponse, aM as APIKeySecurityScheme, bW as AgentApiInsert, bV as AgentApiSelect, bX as AgentApiUpdate, aI as AgentCapabilities, aW as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aJ as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aK as AgentSkill, z as AgentUpdate, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, cS as ApiKeyApiInsert, cR as ApiKeyApiSelect, cT as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cF as ArtifactComponentApiInsert, cE as ArtifactComponentApiSelect, cG as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aP as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, br as CancelTaskRequest, bC as CancelTaskResponse, bB as CancelTaskSuccessResponse, aQ as ClientCredentialsOAuthFlow, b9 as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, cs as ContextCacheApiSelect, cu as ContextCacheApiUpdate, dz as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cr as ContextCacheUpdate, cn as ContextConfigApiInsert, cm as ContextConfigApiSelect, co as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cg as ConversationApiInsert, cf as ConversationApiSelect, ch as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dx as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cV as CredentialReferenceApiSelect, cW as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cw as DataComponentApiInsert, cv as DataComponentApiSelect, cx as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aG as DataPart, ay as ExecutionContext, cO as ExternalAgentApiInsert, cN as ExternalAgentApiSelect, cP as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bU as ExternalSubAgentRelationApiInsert, bT as ExternalSubAgentRelationInsert, cq as FetchConfig, cp as FetchDefinition, aC as FileBase, aF as FilePart, aD as FileWithBytes, aE as FileWithUri, df as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cc as FunctionApiSelect, cd as FunctionApiUpdate, ca as FunctionInsert, c9 as FunctionSelect, a7 as FunctionToolApiInsert, ce as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, cb as FunctionUpdate, bt as GetTaskPushNotificationConfigRequest, bG as GetTaskPushNotificationConfigResponse, bF as GetTaskPushNotificationConfigSuccessResponse, bq as GetTaskRequest, bA as GetTaskResponse, bz as GetTaskSuccessResponse, aN as HTTPAuthSecurityScheme, aR as ImplicitOAuthFlow, b4 as InternalError, ba as InvalidAgentResponseError, b3 as InvalidParamsError, b1 as InvalidRequestError, b0 as JSONParseError, bl as JSONRPCError, bn as JSONRPCErrorResponse, bj as JSONRPCMessage, bk as JSONRPCRequest, bm as JSONRPCResult, dd as LedgerArtifactApiInsert, dc as LedgerArtifactApiSelect, de as LedgerArtifactApiUpdate, da as LedgerArtifactInsert, aa as LedgerArtifactSelect, db as LedgerArtifactUpdate, dH as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, av as McpTool, dE as McpToolDefinition, dC as McpTransportConfig, aX as Message, ck as MessageApiInsert, cj as MessageApiSelect, cl as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, ds as MessageMode, bJ as MessagePart, dr as MessageRole, ci as MessageSelect, bh as MessageSendConfiguration, bi as MessageSendParams, dq as MessageType, ad as MessageUpdate, ab as MessageVisibility, b2 as MethodNotFoundError, dt as Models, aT as OAuth2SecurityScheme, aO as OAuthFlows, aU as OpenIdConnectSecurityScheme, dn as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, aA as PartBase, aS as PasswordOAuthFlow, dl as ProjectApiInsert, dk as ProjectApiSelect, dm as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, du as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bc as PushNotificationAuthenticationInfo, bd as PushNotificationConfig, b7 as PushNotificationNotSupportedError, aV as SecurityScheme, aL as SecuritySchemeBase, bo as SendMessageRequest, bw as SendMessageResponse, bv as SendMessageSuccessResponse, bp as SendStreamingMessageRequest, by as SendStreamingMessageResponse, bx as SendStreamingMessageSuccessResponse, bs as SetTaskPushNotificationConfigRequest, bE as SetTaskPushNotificationConfigResponse, bD as SetTaskPushNotificationConfigSuccessResponse, dw as StatusComponent, dv as StatusUpdateSettings, bM as SubAgentApiInsert, bL as SubAgentApiSelect, bN as SubAgentApiUpdate, cL as SubAgentArtifactComponentApiInsert, cK as SubAgentArtifactComponentApiSelect, cM as SubAgentArtifactComponentApiUpdate, cI as SubAgentArtifactComponentInsert, cH as SubAgentArtifactComponentSelect, cJ as SubAgentArtifactComponentUpdate, cC as SubAgentDataComponentApiInsert, cB as SubAgentDataComponentApiSelect, cD as SubAgentDataComponentApiUpdate, cz as SubAgentDataComponentInsert, cy as SubAgentDataComponentSelect, cA as SubAgentDataComponentUpdate, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, d2 as SubAgentExternalAgentRelationApiSelect, d4 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, d0 as SubAgentExternalAgentRelationSelect, d1 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bQ as SubAgentRelationApiInsert, bP as SubAgentRelationApiSelect, bR as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bS as SubAgentRelationQuery, bO as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d8 as SubAgentTeamAgentRelationApiInsert, d7 as SubAgentTeamAgentRelationApiSelect, d9 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d5 as SubAgentTeamAgentRelationSelect, d6 as SubAgentTeamAgentRelationUpdate, c_ as SubAgentToolRelationApiInsert, cZ as SubAgentToolRelationApiSelect, c$ as SubAgentToolRelationApiUpdate, cY as SubAgentToolRelationInsert, cX as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, aZ as Task, b_ as TaskApiInsert, bZ as TaskApiSelect, b$ as TaskApiUpdate, bK as TaskArtifact, a$ as TaskArtifactUpdateEvent, bf as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b6 as TaskNotCancelableError, b5 as TaskNotFoundError, be as TaskPushNotificationConfig, bg as TaskQueryParams, c4 as TaskRelationApiInsert, c3 as TaskRelationApiSelect, c5 as TaskRelationApiUpdate, c1 as TaskRelationInsert, c0 as TaskRelationSelect, c2 as TaskRelationUpdate, bu as TaskResubscriptionRequest, au as TaskSelect, aH as TaskState, aY as TaskStatus, a_ as TaskStatusUpdateEvent, bY as TaskUpdate, aB as TextPart, c7 as ToolApiInsert, c6 as ToolApiSelect, c8 as ToolApiUpdate, dj as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b8 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-C_tTZ7-k.js';
3
3
  import { Context } from 'hono';
4
4
  import 'zod';
5
5
  import 'drizzle-zod';
@@ -16949,6 +16949,11 @@ type ConversationMetadata = {
16949
16949
  userContext?: Record<string, unknown>;
16950
16950
  preferences?: Record<string, unknown>;
16951
16951
  sessionData?: Record<string, unknown>;
16952
+ apiKeyId?: string;
16953
+ initiatedBy?: {
16954
+ type: 'user' | 'api_key';
16955
+ id: string;
16956
+ };
16952
16957
  };
16953
16958
  type MessageContent = {
16954
16959
  text?: string;
@@ -1 +1 @@
1
- export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from '../chunk-7GZHUB4J.js';
1
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from '../chunk-SSRRHYU4.js';
@@ -1,6 +1,6 @@
1
1
  import { z as z$1 } from 'zod';
2
- import { gh as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-C4QAannk.js';
3
- export { e3 as AgentApiInsertSchema, e2 as AgentApiSelectSchema, e4 as AgentApiUpdateSchema, e0 as AgentInsertSchema, gN as AgentListResponse, gx as AgentResponse, d$ as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e1 as AgentUpdateSchema, h4 as AgentWithinContextOfProjectResponse, f7 as AllAgentSchema, fc as ApiKeyApiCreationResponseSchema, fd as ApiKeyApiInsertSchema, fb as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f9 as ApiKeyInsertSchema, gR as ApiKeyListResponse, gB as ApiKeyResponse, f8 as ApiKeySelectSchema, fa as ApiKeyUpdateSchema, eV as ArtifactComponentApiInsertSchema, eU as ArtifactComponentApiSelectSchema, eW as ArtifactComponentApiUpdateSchema, he as ArtifactComponentArrayResponse, eS as ArtifactComponentInsertSchema, gW as ArtifactComponentListResponse, gG as ArtifactComponentResponse, eR as ArtifactComponentSelectSchema, eT as ArtifactComponentUpdateSchema, gd as CanUseItemSchema, h6 as ComponentAssociationListResponse, fp as ComponentAssociationSchema, eC as ContextCacheApiInsertSchema, eB as ContextCacheApiSelectSchema, eD as ContextCacheApiUpdateSchema, ez as ContextCacheInsertSchema, ey as ContextCacheSelectSchema, eA as ContextCacheUpdateSchema, fN as ContextConfigApiInsertSchema, fM as ContextConfigApiSelectSchema, fO as ContextConfigApiUpdateSchema, fK as ContextConfigInsertSchema, gQ as ContextConfigListResponse, gA as ContextConfigResponse, fJ as ContextConfigSelectSchema, fL as ContextConfigUpdateSchema, eq as ConversationApiInsertSchema, ep as ConversationApiSelectSchema, er as ConversationApiUpdateSchema, en as ConversationInsertSchema, gZ as ConversationListResponse, gJ as ConversationResponse, em as ConversationSelectSchema, eo as ConversationUpdateSchema, fm as CreateCredentialInStoreRequestSchema, fn as CreateCredentialInStoreResponseSchema, fi as CredentialReferenceApiInsertSchema, fh as CredentialReferenceApiSelectSchema, fj as CredentialReferenceApiUpdateSchema, ff as CredentialReferenceInsertSchema, gS as CredentialReferenceListResponse, gC as CredentialReferenceResponse, fe as CredentialReferenceSelectSchema, fg as CredentialReferenceUpdateSchema, fl as CredentialStoreListResponseSchema, fk as CredentialStoreSchema, eJ as DataComponentApiInsertSchema, eI as DataComponentApiSelectSchema, eK as DataComponentApiUpdateSchema, hd as DataComponentArrayResponse, eG as DataComponentBaseSchema, eF as DataComponentInsertSchema, gV as DataComponentListResponse, gF as DataComponentResponse, eE as DataComponentSelectSchema, eH as DataComponentUpdateSchema, gl as ErrorResponseSchema, gm as ExistsResponseSchema, f5 as ExternalAgentApiInsertSchema, f4 as ExternalAgentApiSelectSchema, f6 as ExternalAgentApiUpdateSchema, f2 as ExternalAgentInsertSchema, gP as ExternalAgentListResponse, gz as ExternalAgentResponse, f1 as ExternalAgentSelectSchema, f3 as ExternalAgentUpdateSchema, d_ as ExternalSubAgentRelationApiInsertSchema, dZ as ExternalSubAgentRelationInsertSchema, fH as FetchConfigSchema, fI as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, h3 as FullProjectDefinitionResponse, gu as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fF as FunctionInsertSchema, gT as FunctionListResponse, gD as FunctionResponse, fE as FunctionSelectSchema, fC as FunctionToolApiInsertSchema, fB as FunctionToolApiSelectSchema, fD as FunctionToolApiUpdateSchema, dL as FunctionToolConfig, dK as FunctionToolConfigSchema, fz as FunctionToolInsertSchema, gU as FunctionToolListResponse, gE as FunctionToolResponse, fy as FunctionToolSelectSchema, fA as FunctionToolUpdateSchema, fG as FunctionUpdateSchema, hf as HeadersScopeSchema, g9 as LedgerArtifactApiInsertSchema, g8 as LedgerArtifactApiSelectSchema, ga as LedgerArtifactApiUpdateSchema, g6 as LedgerArtifactInsertSchema, g5 as LedgerArtifactSelectSchema, g7 as LedgerArtifactUpdateSchema, gj as ListResponseSchema, hp as MCPCatalogListResponse, ft as MCPToolConfigSchema, ej as McpToolDefinitionSchema, h8 as McpToolListResponse, h7 as McpToolResponse, fs as McpToolSchema, eh as McpTransportConfigSchema, ew as MessageApiInsertSchema, ev as MessageApiSelectSchema, ex as MessageApiUpdateSchema, et as MessageInsertSchema, g_ as MessageListResponse, gK as MessageResponse, es as MessageSelectSchema, eu as MessageUpdateSchema, dI as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, fr as OAuthCallbackQuerySchema, fq as OAuthLoginQuerySchema, ho as PaginationQueryParamsSchema, gi as PaginationSchema, az as PrebuiltMCPServerSchema, gs as ProjectApiInsertSchema, gr as ProjectApiSelectSchema, gt as ProjectApiUpdateSchema, gp as ProjectInsertSchema, gL as ProjectListResponse, dJ as ProjectModelSchema, gv as ProjectResponse, go as ProjectSelectSchema, gq as ProjectUpdateSchema, h5 as RelatedAgentInfoListResponse, fo as RelatedAgentInfoSchema, gn as RemovedResponseSchema, gk as SingleResponseSchema, gb as StatusComponentSchema, gc as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dQ as SubAgentApiInsertSchema, dP as SubAgentApiSelectSchema, dR as SubAgentApiUpdateSchema, e$ as SubAgentArtifactComponentApiInsertSchema, e_ as SubAgentArtifactComponentApiSelectSchema, f0 as SubAgentArtifactComponentApiUpdateSchema, eY as SubAgentArtifactComponentInsertSchema, h2 as SubAgentArtifactComponentListResponse, h0 as SubAgentArtifactComponentResponse, eX as SubAgentArtifactComponentSelectSchema, eZ as SubAgentArtifactComponentUpdateSchema, eP as SubAgentDataComponentApiInsertSchema, eO as SubAgentDataComponentApiSelectSchema, eQ as SubAgentDataComponentApiUpdateSchema, eM as SubAgentDataComponentInsertSchema, h1 as SubAgentDataComponentListResponse, g$ as SubAgentDataComponentResponse, eL as SubAgentDataComponentSelectSchema, eN as SubAgentDataComponentUpdateSchema, fZ as SubAgentExternalAgentRelationApiInsertSchema, fY as SubAgentExternalAgentRelationApiSelectSchema, f_ as SubAgentExternalAgentRelationApiUpdateSchema, fW as SubAgentExternalAgentRelationInsertSchema, hc as SubAgentExternalAgentRelationListResponse, hb as SubAgentExternalAgentRelationResponse, fV as SubAgentExternalAgentRelationSelectSchema, fX as SubAgentExternalAgentRelationUpdateSchema, dN as SubAgentInsertSchema, gM as SubAgentListResponse, dW as SubAgentRelationApiInsertSchema, dV as SubAgentRelationApiSelectSchema, dX as SubAgentRelationApiUpdateSchema, dT as SubAgentRelationInsertSchema, gX as SubAgentRelationListResponse, dY as SubAgentRelationQuerySchema, gH as SubAgentRelationResponse, dS as SubAgentRelationSelectSchema, dU as SubAgentRelationUpdateSchema, gw as SubAgentResponse, dM as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, g3 as SubAgentTeamAgentRelationApiInsertSchema, g2 as SubAgentTeamAgentRelationApiSelectSchema, g4 as SubAgentTeamAgentRelationApiUpdateSchema, g0 as SubAgentTeamAgentRelationInsertSchema, ha as SubAgentTeamAgentRelationListResponse, h9 as SubAgentTeamAgentRelationResponse, f$ as SubAgentTeamAgentRelationSelectSchema, g1 as SubAgentTeamAgentRelationUpdateSchema, fT as SubAgentToolRelationApiInsertSchema, fS as SubAgentToolRelationApiSelectSchema, fU as SubAgentToolRelationApiUpdateSchema, fQ as SubAgentToolRelationInsertSchema, gY as SubAgentToolRelationListResponse, gI as SubAgentToolRelationResponse, fP as SubAgentToolRelationSelectSchema, fR as SubAgentToolRelationUpdateSchema, dO as SubAgentUpdateSchema, e9 as TaskApiInsertSchema, e8 as TaskApiSelectSchema, ea as TaskApiUpdateSchema, e6 as TaskInsertSchema, ef as TaskRelationApiInsertSchema, ee as TaskRelationApiSelectSchema, eg as TaskRelationApiUpdateSchema, ec as TaskRelationInsertSchema, eb as TaskRelationSelectSchema, ed as TaskRelationUpdateSchema, e5 as TaskSelectSchema, e7 as TaskUpdateSchema, gg as TeamAgentSchema, hh as TenantIdParamsSchema, hg as TenantParamsSchema, hl as TenantProjectAgentIdParamsSchema, hk as TenantProjectAgentParamsSchema, hn as TenantProjectAgentSubAgentIdParamsSchema, hm as TenantProjectAgentSubAgentParamsSchema, hj as TenantProjectIdParamsSchema, hi as TenantProjectParamsSchema, hq as ThirdPartyMCPServerResponse, fw as ToolApiInsertSchema, fv as ToolApiSelectSchema, fx as ToolApiUpdateSchema, el as ToolInsertSchema, gO as ToolListResponse, gy as ToolResponse, ek as ToolSelectSchema, ei as ToolStatusSchema, fu as ToolUpdateSchema, ge as canDelegateToExternalAgentSchema, gf as canDelegateToTeamAgentSchema } from '../utility-C4QAannk.js';
2
+ import { gh as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-C_tTZ7-k.js';
3
+ export { e3 as AgentApiInsertSchema, e2 as AgentApiSelectSchema, e4 as AgentApiUpdateSchema, e0 as AgentInsertSchema, gN as AgentListResponse, gx as AgentResponse, d$ as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e1 as AgentUpdateSchema, h4 as AgentWithinContextOfProjectResponse, f7 as AllAgentSchema, fc as ApiKeyApiCreationResponseSchema, fd as ApiKeyApiInsertSchema, fb as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, f9 as ApiKeyInsertSchema, gR as ApiKeyListResponse, gB as ApiKeyResponse, f8 as ApiKeySelectSchema, fa as ApiKeyUpdateSchema, eV as ArtifactComponentApiInsertSchema, eU as ArtifactComponentApiSelectSchema, eW as ArtifactComponentApiUpdateSchema, he as ArtifactComponentArrayResponse, eS as ArtifactComponentInsertSchema, gW as ArtifactComponentListResponse, gG as ArtifactComponentResponse, eR as ArtifactComponentSelectSchema, eT as ArtifactComponentUpdateSchema, gd as CanUseItemSchema, h6 as ComponentAssociationListResponse, fp as ComponentAssociationSchema, eC as ContextCacheApiInsertSchema, eB as ContextCacheApiSelectSchema, eD as ContextCacheApiUpdateSchema, ez as ContextCacheInsertSchema, ey as ContextCacheSelectSchema, eA as ContextCacheUpdateSchema, fN as ContextConfigApiInsertSchema, fM as ContextConfigApiSelectSchema, fO as ContextConfigApiUpdateSchema, fK as ContextConfigInsertSchema, gQ as ContextConfigListResponse, gA as ContextConfigResponse, fJ as ContextConfigSelectSchema, fL as ContextConfigUpdateSchema, eq as ConversationApiInsertSchema, ep as ConversationApiSelectSchema, er as ConversationApiUpdateSchema, en as ConversationInsertSchema, gZ as ConversationListResponse, gJ as ConversationResponse, em as ConversationSelectSchema, eo as ConversationUpdateSchema, fm as CreateCredentialInStoreRequestSchema, fn as CreateCredentialInStoreResponseSchema, fi as CredentialReferenceApiInsertSchema, fh as CredentialReferenceApiSelectSchema, fj as CredentialReferenceApiUpdateSchema, ff as CredentialReferenceInsertSchema, gS as CredentialReferenceListResponse, gC as CredentialReferenceResponse, fe as CredentialReferenceSelectSchema, fg as CredentialReferenceUpdateSchema, fl as CredentialStoreListResponseSchema, fk as CredentialStoreSchema, eJ as DataComponentApiInsertSchema, eI as DataComponentApiSelectSchema, eK as DataComponentApiUpdateSchema, hd as DataComponentArrayResponse, eG as DataComponentBaseSchema, eF as DataComponentInsertSchema, gV as DataComponentListResponse, gF as DataComponentResponse, eE as DataComponentSelectSchema, eH as DataComponentUpdateSchema, gl as ErrorResponseSchema, gm as ExistsResponseSchema, f5 as ExternalAgentApiInsertSchema, f4 as ExternalAgentApiSelectSchema, f6 as ExternalAgentApiUpdateSchema, f2 as ExternalAgentInsertSchema, gP as ExternalAgentListResponse, gz as ExternalAgentResponse, f1 as ExternalAgentSelectSchema, f3 as ExternalAgentUpdateSchema, d_ as ExternalSubAgentRelationApiInsertSchema, dZ as ExternalSubAgentRelationInsertSchema, fH as FetchConfigSchema, fI as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, h3 as FullProjectDefinitionResponse, gu as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fF as FunctionInsertSchema, gT as FunctionListResponse, gD as FunctionResponse, fE as FunctionSelectSchema, fC as FunctionToolApiInsertSchema, fB as FunctionToolApiSelectSchema, fD as FunctionToolApiUpdateSchema, dL as FunctionToolConfig, dK as FunctionToolConfigSchema, fz as FunctionToolInsertSchema, gU as FunctionToolListResponse, gE as FunctionToolResponse, fy as FunctionToolSelectSchema, fA as FunctionToolUpdateSchema, fG as FunctionUpdateSchema, hf as HeadersScopeSchema, g9 as LedgerArtifactApiInsertSchema, g8 as LedgerArtifactApiSelectSchema, ga as LedgerArtifactApiUpdateSchema, g6 as LedgerArtifactInsertSchema, g5 as LedgerArtifactSelectSchema, g7 as LedgerArtifactUpdateSchema, gj as ListResponseSchema, hp as MCPCatalogListResponse, ft as MCPToolConfigSchema, ej as McpToolDefinitionSchema, h8 as McpToolListResponse, h7 as McpToolResponse, fs as McpToolSchema, eh as McpTransportConfigSchema, ew as MessageApiInsertSchema, ev as MessageApiSelectSchema, ex as MessageApiUpdateSchema, et as MessageInsertSchema, g_ as MessageListResponse, gK as MessageResponse, es as MessageSelectSchema, eu as MessageUpdateSchema, dI as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, fr as OAuthCallbackQuerySchema, fq as OAuthLoginQuerySchema, ho as PaginationQueryParamsSchema, gi as PaginationSchema, az as PrebuiltMCPServerSchema, gs as ProjectApiInsertSchema, gr as ProjectApiSelectSchema, gt as ProjectApiUpdateSchema, gp as ProjectInsertSchema, gL as ProjectListResponse, dJ as ProjectModelSchema, gv as ProjectResponse, go as ProjectSelectSchema, gq as ProjectUpdateSchema, h5 as RelatedAgentInfoListResponse, fo as RelatedAgentInfoSchema, gn as RemovedResponseSchema, gk as SingleResponseSchema, gb as StatusComponentSchema, gc as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dQ as SubAgentApiInsertSchema, dP as SubAgentApiSelectSchema, dR as SubAgentApiUpdateSchema, e$ as SubAgentArtifactComponentApiInsertSchema, e_ as SubAgentArtifactComponentApiSelectSchema, f0 as SubAgentArtifactComponentApiUpdateSchema, eY as SubAgentArtifactComponentInsertSchema, h2 as SubAgentArtifactComponentListResponse, h0 as SubAgentArtifactComponentResponse, eX as SubAgentArtifactComponentSelectSchema, eZ as SubAgentArtifactComponentUpdateSchema, eP as SubAgentDataComponentApiInsertSchema, eO as SubAgentDataComponentApiSelectSchema, eQ as SubAgentDataComponentApiUpdateSchema, eM as SubAgentDataComponentInsertSchema, h1 as SubAgentDataComponentListResponse, g$ as SubAgentDataComponentResponse, eL as SubAgentDataComponentSelectSchema, eN as SubAgentDataComponentUpdateSchema, fZ as SubAgentExternalAgentRelationApiInsertSchema, fY as SubAgentExternalAgentRelationApiSelectSchema, f_ as SubAgentExternalAgentRelationApiUpdateSchema, fW as SubAgentExternalAgentRelationInsertSchema, hc as SubAgentExternalAgentRelationListResponse, hb as SubAgentExternalAgentRelationResponse, fV as SubAgentExternalAgentRelationSelectSchema, fX as SubAgentExternalAgentRelationUpdateSchema, dN as SubAgentInsertSchema, gM as SubAgentListResponse, dW as SubAgentRelationApiInsertSchema, dV as SubAgentRelationApiSelectSchema, dX as SubAgentRelationApiUpdateSchema, dT as SubAgentRelationInsertSchema, gX as SubAgentRelationListResponse, dY as SubAgentRelationQuerySchema, gH as SubAgentRelationResponse, dS as SubAgentRelationSelectSchema, dU as SubAgentRelationUpdateSchema, gw as SubAgentResponse, dM as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, g3 as SubAgentTeamAgentRelationApiInsertSchema, g2 as SubAgentTeamAgentRelationApiSelectSchema, g4 as SubAgentTeamAgentRelationApiUpdateSchema, g0 as SubAgentTeamAgentRelationInsertSchema, ha as SubAgentTeamAgentRelationListResponse, h9 as SubAgentTeamAgentRelationResponse, f$ as SubAgentTeamAgentRelationSelectSchema, g1 as SubAgentTeamAgentRelationUpdateSchema, fT as SubAgentToolRelationApiInsertSchema, fS as SubAgentToolRelationApiSelectSchema, fU as SubAgentToolRelationApiUpdateSchema, fQ as SubAgentToolRelationInsertSchema, gY as SubAgentToolRelationListResponse, gI as SubAgentToolRelationResponse, fP as SubAgentToolRelationSelectSchema, fR as SubAgentToolRelationUpdateSchema, dO as SubAgentUpdateSchema, e9 as TaskApiInsertSchema, e8 as TaskApiSelectSchema, ea as TaskApiUpdateSchema, e6 as TaskInsertSchema, ef as TaskRelationApiInsertSchema, ee as TaskRelationApiSelectSchema, eg as TaskRelationApiUpdateSchema, ec as TaskRelationInsertSchema, eb as TaskRelationSelectSchema, ed as TaskRelationUpdateSchema, e5 as TaskSelectSchema, e7 as TaskUpdateSchema, gg as TeamAgentSchema, hh as TenantIdParamsSchema, hg as TenantParamsSchema, hl as TenantProjectAgentIdParamsSchema, hk as TenantProjectAgentParamsSchema, hn as TenantProjectAgentSubAgentIdParamsSchema, hm as TenantProjectAgentSubAgentParamsSchema, hj as TenantProjectIdParamsSchema, hi as TenantProjectParamsSchema, hq as ThirdPartyMCPServerResponse, fw as ToolApiInsertSchema, fv as ToolApiSelectSchema, fx as ToolApiUpdateSchema, el as ToolInsertSchema, gO as ToolListResponse, gy as ToolResponse, ek as ToolSelectSchema, ei as ToolStatusSchema, fu as ToolUpdateSchema, ge as canDelegateToExternalAgentSchema, gf as canDelegateToTeamAgentSchema } from '../utility-C_tTZ7-k.js';
4
4
  export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.js';
5
5
  import { z } from '@hono/zod-openapi';
6
6
  import 'drizzle-zod';
@@ -1,2 +1,2 @@
1
- export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-OEHP46F7.js';
2
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-ZCEKN54E.js';
1
+ export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-32YRH2S7.js';
2
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-VQXQOGJU.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.36.1",
3
+ "version": "0.37.0",
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",
@@ -107,15 +107,12 @@
107
107
  "pino-pretty": "^13.1.1",
108
108
  "ts-pattern": "^5.7.1"
109
109
  },
110
- "peerDependencies": {
111
- "@hono/zod-openapi": "^1.0.2",
112
- "zod": "^4.1.11"
113
- },
114
110
  "optionalDependencies": {
115
111
  "keytar": "^7.9.0"
116
112
  },
117
113
  "devDependencies": {
118
- "@hono/zod-openapi": "^1.0.2",
114
+ "@hono/zod-openapi": "^1.1.5",
115
+ "zod": "^4.1.11",
119
116
  "@types/jmespath": "^0.15.2",
120
117
  "@types/node": "^20.11.24",
121
118
  "@types/pg": "^8.15.6",
@@ -124,8 +121,7 @@
124
121
  "drizzle-kit": "^0.31.6",
125
122
  "tsx": "^4.19.2",
126
123
  "typescript": "^5.9.2",
127
- "vitest": "^3.2.4",
128
- "zod": "^4.1.11"
124
+ "vitest": "^3.2.4"
129
125
  },
130
126
  "engines": {
131
127
  "node": ">=22.0.0"