@inkeep/agents-core 0.37.1 → 0.37.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/auth/auth-schema.d.ts +47 -1
  2. package/dist/auth/auth-schema.js +1 -1
  3. package/dist/auth/auth-validation-schemas.d.ts +35 -1
  4. package/dist/auth/auth-validation-schemas.js +2 -2
  5. package/dist/auth/auth.d.ts +23 -23
  6. package/dist/auth/auth.js +11 -4
  7. package/dist/auth/permissions.d.ts +9 -9
  8. package/dist/auth/permissions.js +1 -1
  9. package/dist/{chunk-ROXPFQAM.js → chunk-3HACEHXF.js} +23 -22
  10. package/dist/{chunk-W3QDM7WH.js → chunk-5QZSNATS.js} +2 -2
  11. package/dist/{chunk-7GZHUB4J.js → chunk-6CYQZ5KX.js} +1 -1
  12. package/dist/{chunk-ZEZCCHV7.js → chunk-BJLC7EI4.js} +2 -2
  13. package/dist/{chunk-PVRIMF6N.js → chunk-DEYPSEXR.js} +1 -1
  14. package/dist/chunk-GENLXHZ4.js +159 -0
  15. package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
  16. package/dist/{chunk-LL6F3EAR.js → chunk-RUTYLJB7.js} +1 -1
  17. package/dist/{chunk-K6GMXJPW.js → chunk-XHODTX4H.js} +1 -1
  18. package/dist/{chunk-FOK3JSQN.js → chunk-YSFXXC6K.js} +1 -1
  19. package/dist/{chunk-I6IF7ZTL.js → chunk-ZSYMSL55.js} +2 -2
  20. package/dist/{client-B_3j-V4-.d.ts → client-B3nwdklT.d.ts} +1 -1
  21. package/dist/client-exports.d.ts +6 -7
  22. package/dist/client-exports.js +3 -3
  23. package/dist/constants/schema-validation/index.js +1 -1
  24. package/dist/credential-stores/index.d.ts +3 -4
  25. package/dist/credential-stores/index.js +1 -1
  26. package/dist/db/schema.d.ts +3 -4
  27. package/dist/db/schema.js +2 -2
  28. package/dist/db/test-client.d.ts +4 -5
  29. package/dist/db/test-client.js +1 -1
  30. package/dist/index.d.ts +560 -560
  31. package/dist/index.js +35 -25
  32. package/dist/{schema-DKbG39on.d.ts → schema-BhYTubhP.d.ts} +1 -1
  33. package/dist/{server-BXoUiBMg.d.ts → server-CHLmv-Jb.d.ts} +1 -1
  34. package/dist/types/index.d.ts +3 -4
  35. package/dist/{utility-Lo5NoRHK.d.ts → utility-5USfJ5Xd.d.ts} +452 -453
  36. package/dist/utils/schema-conversion.d.ts +1 -1
  37. package/dist/utils/schema-conversion.js +1 -1
  38. package/dist/validation/index.d.ts +131 -132
  39. package/dist/validation/index.js +2 -2
  40. package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
  41. package/drizzle/0003_sweet_human_robot.sql +8 -0
  42. package/drizzle/meta/0002_snapshot.json +3637 -0
  43. package/drizzle/meta/0003_snapshot.json +3643 -0
  44. package/drizzle/meta/_journal.json +14 -0
  45. package/package.json +2 -4
  46. package/dist/chunk-NFTJ5JBY.js +0 -82
package/dist/index.js CHANGED
@@ -1,32 +1,32 @@
1
- export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './chunk-I6IF7ZTL.js';
2
- import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-W3QDM7WH.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-W3QDM7WH.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-ZEZCCHV7.js';
1
+ export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './chunk-ZSYMSL55.js';
2
+ import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-5QZSNATS.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-5QZSNATS.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-BJLC7EI4.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-MQMMFK2K.js';
6
- import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-K6GMXJPW.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-K6GMXJPW.js';
8
- import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentExternalAgentRelations, subAgents, subAgentRelations, subAgentToolRelations, tools, agents, subAgentTeamAgentRelations, credentialReferences, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-PVRIMF6N.js';
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-PVRIMF6N.js';
6
+ import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-XHODTX4H.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-XHODTX4H.js';
8
+ import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentExternalAgentRelations, subAgents, subAgentRelations, subAgentToolRelations, tools, agents, subAgentTeamAgentRelations, credentialReferences, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-DEYPSEXR.js';
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-DEYPSEXR.js';
10
10
  export { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
11
- export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-7CLFCY6J.js';
12
- export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './chunk-FOK3JSQN.js';
13
- import { getTracer, getCredentialStoreLookupKeyFromRetrievalParams, generateId, toISODateString, isThirdPartyMCPServerAuthenticated, createApiError, generateApiKey, extractPublicId, validateApiKey, isApiKeyExpired, getConversationId, setSpanWithError, getRequestExecutionContext, McpClient } from './chunk-ROXPFQAM.js';
14
- 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, ModelFactory, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, createExecutionContext, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, extractComposioServerId, extractPublicId, fetchComposioServers, fetchSingleComposioServer, formatMessagesForLLM, formatMessagesForLLMContext, generateApiKey, generateId, generateServiceToken, getConversationId, getCredentialStoreLookupKeyFromRetrievalParams, getRequestExecutionContext, getTracer, handleApiError, hashApiKey, isApiKeyExpired, isComposioMCPServerAuthenticated, isThirdPartyMCPServerAuthenticated, maskApiKey, normalizeDateString, problemDetailsSchema, setSpanWithError, signTempToken, toISODateString, validateApiKey, validateTargetAgent, validateTenantId, verifyAuthorizationHeader, verifyServiceToken, verifyTempToken } from './chunk-ROXPFQAM.js';
15
- import { convertZodToJsonSchema } from './chunk-7GZHUB4J.js';
16
- export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './chunk-7GZHUB4J.js';
17
- import { loadEnvironmentFiles, env } from './chunk-LL6F3EAR.js';
18
- export { loadEnvironmentFiles } from './chunk-LL6F3EAR.js';
11
+ import { getTracer, getCredentialStoreLookupKeyFromRetrievalParams, generateId, toISODateString, isThirdPartyMCPServerAuthenticated, createApiError, generateApiKey, extractPublicId, validateApiKey, isApiKeyExpired, getConversationId, setSpanWithError, getRequestExecutionContext, McpClient } from './chunk-3HACEHXF.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, ModelFactory, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, createExecutionContext, errorResponseSchema, errorSchemaFactory, executionLimitsSharedDefaults, extractComposioServerId, extractPublicId, fetchComposioServers, fetchSingleComposioServer, formatMessagesForLLM, formatMessagesForLLMContext, generateApiKey, generateId, generateServiceToken, getConversationId, getCredentialStoreLookupKeyFromRetrievalParams, getRequestExecutionContext, getTracer, handleApiError, hashApiKey, isApiKeyExpired, isComposioMCPServerAuthenticated, isThirdPartyMCPServerAuthenticated, maskApiKey, normalizeDateString, problemDetailsSchema, setSpanWithError, signTempToken, toISODateString, validateApiKey, validateTargetAgent, validateTenantId, verifyAuthorizationHeader, verifyServiceToken, verifyTempToken } from './chunk-3HACEHXF.js';
13
+ import { convertZodToJsonSchema } from './chunk-6CYQZ5KX.js';
14
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './chunk-6CYQZ5KX.js';
15
+ import { loadEnvironmentFiles, env } from './chunk-RUTYLJB7.js';
16
+ export { loadEnvironmentFiles } from './chunk-RUTYLJB7.js';
19
17
  import { detectAuthenticationRequired } from './chunk-4JZT4QEE.js';
20
18
  export { detectAuthenticationRequired, exchangeMcpAuthorizationCode, initiateMcpOAuthFlow } from './chunk-4JZT4QEE.js';
19
+ import { organization, member, invitation, user } from './chunk-GENLXHZ4.js';
20
+ export { account, invitation, member, organization, session, ssoProvider, user, verification } from './chunk-GENLXHZ4.js';
21
+ export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-7CLFCY6J.js';
22
+ export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from './chunk-YSFXXC6K.js';
21
23
  import { getLogger } from './chunk-DN4B564Y.js';
22
24
  export { PinoLogger, getLogger, loggerFactory } from './chunk-DN4B564Y.js';
23
25
  export { TaskState, normalizeToolSelections } from './chunk-CMNLBV2A.js';
24
26
  import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
25
27
  export { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from './chunk-YFHT5M2R.js';
26
- import { organization, member, invitation, user } from './chunk-NFTJ5JBY.js';
27
- export { account, invitation, member, organization, session, ssoProvider, user, verification } from './chunk-NFTJ5JBY.js';
28
28
  import { __commonJS, __require } from './chunk-SIAA4J6H.js';
29
- import { z } from 'zod';
29
+ import { z } from '@hono/zod-openapi';
30
30
  import jmespath from 'jmespath';
31
31
  import { drizzle } from 'drizzle-orm/node-postgres';
32
32
  import { Pool } from 'pg';
@@ -217313,9 +217313,14 @@ var createFullAgentServerSide = (db, logger10 = defaultLogger) => async (scopes,
217313
217313
  scopes: { tenantId, projectId, agentId: finalAgentId },
217314
217314
  subAgentId,
217315
217315
  toolId,
217316
- selectedTools: toolSelection || void 0,
217317
- headers: headers2 || void 0,
217318
- toolPolicies: toolPolicies || void 0,
217316
+ // Preserve null vs undefined distinction:
217317
+ // - null = all tools (updates DB to NULL)
217318
+ // - undefined = don't change (Drizzle skips field)
217319
+ // - [] = zero tools
217320
+ // - ['tool1', ...] = specific tools
217321
+ selectedTools: toolSelection,
217322
+ headers: headers2,
217323
+ toolPolicies,
217319
217324
  relationId: agentToolRelationId
217320
217325
  });
217321
217326
  logger10.info(
@@ -218048,9 +218053,14 @@ var updateFullAgentServerSide = (db, logger10 = defaultLogger) => async (scopes,
218048
218053
  scopes: { tenantId, projectId, agentId: finalAgentId },
218049
218054
  subAgentId,
218050
218055
  toolId,
218051
- selectedTools: toolSelection || void 0,
218052
- headers: headers2 || void 0,
218053
- toolPolicies: toolPolicies || void 0,
218056
+ // Preserve null vs undefined distinction:
218057
+ // - null = all tools (updates DB to NULL)
218058
+ // - undefined = don't change (Drizzle skips field)
218059
+ // - [] = zero tools
218060
+ // - ['tool1', ...] = specific tools
218061
+ selectedTools: toolSelection,
218062
+ headers: headers2,
218063
+ toolPolicies,
218054
218064
  relationId: agentToolRelationId
218055
218065
  });
218056
218066
  logger10.info(
@@ -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-Lo5NoRHK.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-5USfJ5Xd.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
1
  import { Context } from 'hono';
2
- import { h as CredentialStoreType } from './utility-Lo5NoRHK.js';
2
+ import { h as CredentialStoreType } from './utility-5USfJ5Xd.js';
3
3
 
4
4
  /**
5
5
  * Credential store interface for managing different types of credentials
@@ -1,9 +1,8 @@
1
- export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, bW as AgentApiSelect, bY as AgentApiUpdate, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aK as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aL 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, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, ba 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, ch as ConversationApiInsert, cg as ConversationApiSelect, ci 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, h as CredentialStoreType, cw as DataComponentApiInsert, cv as DataComponentApiSelect, cx as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aH as DataPart, ay as ExecutionContext, cO as ExternalAgentApiInsert, cN as ExternalAgentApiSelect, cP as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bV as ExternalSubAgentRelationApiInsert, bU as ExternalSubAgentRelationInsert, cq as FetchConfig, cp as FetchDefinition, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cd as FunctionApiSelect, ce as FunctionApiUpdate, cb as FunctionInsert, ca as FunctionSelect, a7 as FunctionToolApiInsert, cf as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, cc as FunctionUpdate, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn 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, aY as Message, ck as MessageApiInsert, cj as MessageApiSelect, cl as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, ds as MessageMode, bK as MessagePart, dr as MessageRole, az as MessageSelect, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ad as MessageUpdate, ab as MessageVisibility, b3 as MethodNotFoundError, dt as Models, aU as OAuth2SecurityScheme, aP as OAuthFlows, aV as OpenIdConnectSecurityScheme, dn as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, aB as PartBase, aT 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, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, dw as StatusComponent, dv as StatusUpdateSettings, bN as SubAgentApiInsert, bM as SubAgentApiSelect, bO 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, bR as SubAgentRelationApiInsert, bQ as SubAgentRelationApiSelect, bS as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bT as SubAgentRelationQuery, bP 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, a_ as Task, b$ as TaskApiInsert, b_ as TaskApiSelect, c0 as TaskApiUpdate, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, c4 as TaskRelationApiSelect, c6 as TaskRelationApiUpdate, c2 as TaskRelationInsert, c1 as TaskRelationSelect, c3 as TaskRelationUpdate, bv as TaskResubscriptionRequest, au as TaskSelect, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, aC as TextPart, c8 as ToolApiInsert, c7 as ToolApiSelect, c9 as ToolApiUpdate, dj as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-Lo5NoRHK.js';
2
- export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-BXoUiBMg.js';
3
- import 'zod';
1
+ export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, bW as AgentApiSelect, bY as AgentApiUpdate, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aK as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aL 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, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, ba 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, ch as ConversationApiInsert, cg as ConversationApiSelect, ci 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, h as CredentialStoreType, cw as DataComponentApiInsert, cv as DataComponentApiSelect, cx as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aH as DataPart, ay as ExecutionContext, cO as ExternalAgentApiInsert, cN as ExternalAgentApiSelect, cP as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bV as ExternalSubAgentRelationApiInsert, bU as ExternalSubAgentRelationInsert, cq as FetchConfig, cp as FetchDefinition, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cd as FunctionApiSelect, ce as FunctionApiUpdate, cb as FunctionInsert, ca as FunctionSelect, a7 as FunctionToolApiInsert, cf as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, cc as FunctionUpdate, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn 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, aY as Message, ck as MessageApiInsert, cj as MessageApiSelect, cl as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, ds as MessageMode, bK as MessagePart, dr as MessageRole, az as MessageSelect, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ad as MessageUpdate, ab as MessageVisibility, b3 as MethodNotFoundError, dt as Models, aU as OAuth2SecurityScheme, aP as OAuthFlows, aV as OpenIdConnectSecurityScheme, dn as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, aB as PartBase, aT 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, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, dw as StatusComponent, dv as StatusUpdateSettings, bN as SubAgentApiInsert, bM as SubAgentApiSelect, bO 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, bR as SubAgentRelationApiInsert, bQ as SubAgentRelationApiSelect, bS as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bT as SubAgentRelationQuery, bP 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, a_ as Task, b$ as TaskApiInsert, b_ as TaskApiSelect, c0 as TaskApiUpdate, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, c4 as TaskRelationApiSelect, c6 as TaskRelationApiUpdate, c2 as TaskRelationInsert, c1 as TaskRelationSelect, c3 as TaskRelationUpdate, bv as TaskResubscriptionRequest, au as TaskSelect, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, aC as TextPart, c8 as ToolApiInsert, c7 as ToolApiSelect, c9 as ToolApiUpdate, dj as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-5USfJ5Xd.js';
2
+ export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-CHLmv-Jb.js';
3
+ import '@hono/zod-openapi';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/pg-core';
6
- import '@hono/zod-openapi';
7
6
  import 'hono';
8
7
 
9
8
  /**