@inkeep/agents-core 0.0.0-dev-20251209035832 → 0.0.0-dev-20251211230224

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,17 +1,17 @@
1
- export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './chunk-DW4KGORH.js';
2
- import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-AM6VNTQR.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-AM6VNTQR.js';
1
+ export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from './chunk-DW4DNYUS.js';
2
+ import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-CWAFZVRI.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-CWAFZVRI.js';
4
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-AJCP2QYU.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-LPIBTNPD.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-LPIBTNPD.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-V6TJNM2W.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-V6TJNM2W.js';
6
+ import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-UK63CULA.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-UK63CULA.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-LH6OJIIM.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-LH6OJIIM.js';
10
10
  export { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
11
11
  import { getTracer, getCredentialStoreLookupKeyFromRetrievalParams, generateId, toISODateString, isThirdPartyMCPServerAuthenticated, createApiError, generateApiKey, extractPublicId, validateApiKey, isApiKeyExpired, getConversationId, setSpanWithError, getRequestExecutionContext, McpClient } from './chunk-MGHGIB7U.js';
12
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-MGHGIB7U.js';
13
- import { convertZodToJsonSchema } from './chunk-6CYQZ5KX.js';
14
- export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from './chunk-6CYQZ5KX.js';
13
+ import { convertZodToJsonSchema } from './chunk-AUGHKZEB.js';
14
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, jsonSchemaToZod, preview } from './chunk-AUGHKZEB.js';
15
15
  import { loadEnvironmentFiles, env } from './chunk-ZIXAWYZI.js';
16
16
  export { loadEnvironmentFiles } from './chunk-ZIXAWYZI.js';
17
17
  import { detectAuthenticationRequired } from './chunk-4JZT4QEE.js';
@@ -214878,6 +214878,7 @@ var getToolsForAgent = (db) => async (params) => {
214878
214878
  capabilities: tools.capabilities,
214879
214879
  lastError: tools.lastError,
214880
214880
  credentialReferenceId: tools.credentialReferenceId,
214881
+ credentialScope: tools.credentialScope,
214881
214882
  tenantId: tools.tenantId,
214882
214883
  projectId: tools.projectId,
214883
214884
  headers: tools.headers,
@@ -215415,6 +215416,16 @@ var getCredentialReference = (db) => async (params) => {
215415
215416
  )
215416
215417
  });
215417
215418
  };
215419
+ var getUserScopedCredentialReference = (db) => async (params) => {
215420
+ return await db.query.credentialReferences.findFirst({
215421
+ where: and(
215422
+ eq(credentialReferences.tenantId, params.scopes.tenantId),
215423
+ eq(credentialReferences.projectId, params.scopes.projectId),
215424
+ eq(credentialReferences.toolId, params.toolId),
215425
+ eq(credentialReferences.userId, params.userId)
215426
+ )
215427
+ });
215428
+ };
215418
215429
  var getCredentialReferenceWithResources = (db) => async (params) => {
215419
215430
  const [credential, relatedTools, relatedExternalAgents] = await Promise.all([
215420
215431
  db.query.credentialReferences.findFirst({
@@ -215574,6 +215585,27 @@ var upsertCredentialReference = (db) => async (params) => {
215574
215585
 
215575
215586
  // src/data-access/tools.ts
215576
215587
  var logger4 = getLogger("tools");
215588
+ async function getCredentialExpiresAt(credentialReference, credentialStoreRegistry) {
215589
+ if (!credentialReference.retrievalParams) return void 0;
215590
+ const credentialStore = credentialStoreRegistry?.get(credentialReference.credentialStoreId);
215591
+ if (!credentialStore || credentialStore.type === CredentialStoreType.memory) return void 0;
215592
+ const lookupKey = getCredentialStoreLookupKeyFromRetrievalParams({
215593
+ retrievalParams: credentialReference.retrievalParams,
215594
+ credentialStoreType: credentialStore.type
215595
+ });
215596
+ if (!lookupKey) return void 0;
215597
+ const credentialDataString = await credentialStore.get(lookupKey);
215598
+ if (!credentialDataString) return void 0;
215599
+ if (credentialStore.type === CredentialStoreType.nango) {
215600
+ const nangoCredentialData = JSON.parse(credentialDataString);
215601
+ return nangoCredentialData.expiresAt ? toISODateString(nangoCredentialData.expiresAt) : void 0;
215602
+ }
215603
+ if (credentialStore.type === CredentialStoreType.keychain) {
215604
+ const oauthTokens = JSON.parse(credentialDataString);
215605
+ return oauthTokens.expires_at ? toISODateString(oauthTokens.expires_at) : void 0;
215606
+ }
215607
+ return void 0;
215608
+ }
215577
215609
  function extractInputSchema(toolDef) {
215578
215610
  if (toolDef.inputSchema) {
215579
215611
  return toolDef.inputSchema;
@@ -215604,21 +215636,21 @@ var convertToMCPToolConfig = (tool) => {
215604
215636
  headers: tool.headers
215605
215637
  };
215606
215638
  };
215607
- var discoverToolsFromServer = async (tool, dbClient, credentialStoreRegistry) => {
215639
+ var discoverToolsFromServer = async (tool, dbClient, credentialStoreRegistry, userId) => {
215608
215640
  if (tool.config.type !== "mcp") {
215609
215641
  throw new Error(`Cannot discover tools from non-MCP tool: ${tool.id}`);
215610
215642
  }
215611
215643
  try {
215612
- const credentialReferenceId = tool.credentialReferenceId;
215613
215644
  let serverConfig;
215614
- if (credentialReferenceId) {
215615
- const credentialReference = await getCredentialReference(dbClient)({
215616
- scopes: { tenantId: tool.tenantId, projectId: tool.projectId },
215617
- id: credentialReferenceId
215618
- });
215619
- if (!credentialReference) {
215620
- throw new Error(`Credential reference not found: ${credentialReferenceId}`);
215621
- }
215645
+ const credentialReference = tool.credentialReferenceId && tool.credentialScope !== "user" ? await getCredentialReference(dbClient)({
215646
+ scopes: { tenantId: tool.tenantId, projectId: tool.projectId },
215647
+ id: tool.credentialReferenceId
215648
+ }) : userId && tool.credentialScope === "user" ? await getUserScopedCredentialReference(dbClient)({
215649
+ scopes: { tenantId: tool.tenantId, projectId: tool.projectId },
215650
+ toolId: tool.id,
215651
+ userId
215652
+ }) : void 0;
215653
+ if (credentialReference) {
215622
215654
  const storeReference = {
215623
215655
  credentialStoreId: credentialReference.credentialStoreId,
215624
215656
  retrievalParams: credentialReference.retrievalParams || {}
@@ -215677,7 +215709,7 @@ var discoverToolsFromServer = async (tool, dbClient, credentialStoreRegistry) =>
215677
215709
  throw error;
215678
215710
  }
215679
215711
  };
215680
- var dbResultToMcpTool = async (dbResult, dbClient, credentialStoreRegistry, relationshipId) => {
215712
+ var dbResultToMcpTool = async (dbResult, dbClient, credentialStoreRegistry, relationshipId, userId) => {
215681
215713
  const { headers: headers2, capabilities, credentialReferenceId, imageUrl, createdAt, ...rest } = dbResult;
215682
215714
  if (dbResult.config.type !== "mcp") {
215683
215715
  return {
@@ -215698,40 +215730,22 @@ var dbResultToMcpTool = async (dbResult, dbClient, credentialStoreRegistry, rela
215698
215730
  let status = "unknown";
215699
215731
  let lastErrorComputed;
215700
215732
  let expiresAt;
215701
- if (credentialReferenceId) {
215702
- const credentialReference = await getCredentialReference(dbClient)({
215703
- scopes: { tenantId: dbResult.tenantId, projectId: dbResult.projectId },
215704
- id: credentialReferenceId
215705
- });
215706
- if (credentialReference?.retrievalParams) {
215707
- const credentialStore = credentialStoreRegistry?.get(credentialReference.credentialStoreId);
215708
- if (credentialStore && credentialStore.type !== CredentialStoreType.memory) {
215709
- const lookupKey = getCredentialStoreLookupKeyFromRetrievalParams({
215710
- retrievalParams: credentialReference.retrievalParams,
215711
- credentialStoreType: credentialStore.type
215712
- });
215713
- if (lookupKey) {
215714
- const credentialDataString = await credentialStore.get(lookupKey);
215715
- if (credentialDataString) {
215716
- if (credentialStore.type === CredentialStoreType.nango) {
215717
- const nangoCredentialData = JSON.parse(credentialDataString);
215718
- if (nangoCredentialData.expiresAt) {
215719
- expiresAt = toISODateString(nangoCredentialData.expiresAt);
215720
- }
215721
- } else if (credentialStore.type === CredentialStoreType.keychain) {
215722
- const oauthTokens = JSON.parse(credentialDataString);
215723
- if (oauthTokens.expires_at) {
215724
- expiresAt = toISODateString(oauthTokens.expires_at);
215725
- }
215726
- }
215727
- }
215728
- }
215729
- }
215730
- }
215733
+ let createdBy;
215734
+ const credentialReference = credentialReferenceId && dbResult.credentialScope !== "user" ? await getCredentialReference(dbClient)({
215735
+ scopes: { tenantId: dbResult.tenantId, projectId: dbResult.projectId },
215736
+ id: credentialReferenceId
215737
+ }) : userId && dbResult.credentialScope === "user" ? await getUserScopedCredentialReference(dbClient)({
215738
+ scopes: { tenantId: dbResult.tenantId, projectId: dbResult.projectId },
215739
+ toolId: dbResult.id,
215740
+ userId
215741
+ }) : void 0;
215742
+ if (credentialReference) {
215743
+ createdBy = credentialReference.createdBy || void 0;
215744
+ expiresAt = await getCredentialExpiresAt(credentialReference, credentialStoreRegistry);
215731
215745
  }
215732
215746
  const mcpServerUrl = dbResult.config.mcp.server.url;
215733
215747
  try {
215734
- availableTools = await discoverToolsFromServer(dbResult, dbClient, credentialStoreRegistry);
215748
+ availableTools = await discoverToolsFromServer(dbResult, dbClient, credentialStoreRegistry, userId);
215735
215749
  status = "healthy";
215736
215750
  lastErrorComputed = null;
215737
215751
  } catch (error) {
@@ -215772,6 +215786,7 @@ var dbResultToMcpTool = async (dbResult, dbClient, credentialStoreRegistry, rela
215772
215786
  capabilities: capabilities || void 0,
215773
215787
  credentialReferenceId: credentialReferenceId || void 0,
215774
215788
  createdAt: toISODateString(createdAt),
215789
+ createdBy: createdBy || void 0,
215775
215790
  updatedAt: toISODateString(now),
215776
215791
  expiresAt,
215777
215792
  lastError: lastErrorComputed,
@@ -222315,4 +222330,4 @@ typescript/lib/typescript.js:
222315
222330
  ***************************************************************************** *)
222316
222331
  */
222317
222332
 
222318
- export { ContextCache, ContextConfigBuilder, ContextFetcher, ContextResolver, CredentialStuffer, HTTP_REQUEST_PARTS, SubAgentIsDefaultError, TemplateEngine, addFunctionToolToSubAgent, addLedgerArtifacts, addToolToAgent, addUserToOrganization, agentHasArtifactComponents, apiFetch, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentToolRelation, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createExternalAgent, createFullAgentServerSide, createFullProjectServerSide, createFunctionTool, createMessage, createOrGetConversation, createProject, createSubAgent, createSubAgentExternalAgentRelation, createSubAgentRelation, createSubAgentTeamAgentRelation, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentRelationsByAgent, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullAgent, deleteFullProject, deleteFunction, deleteFunctionTool, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteSubAgent, deleteSubAgentExternalAgentRelation, deleteSubAgentExternalAgentRelationsByAgent, deleteSubAgentExternalAgentRelationsBySubAgent, deleteSubAgentRelation, deleteSubAgentTeamAgentRelation, deleteSubAgentTeamAgentRelationsByAgent, deleteSubAgentTeamAgentRelationsBySubAgent, deleteTool, determineContextTrigger, externalAgentExists, externalAgentUrlExists, fetchComponentRelationships, fetchDefinition, generateAndCreateApiKey, getActiveAgentForConversation, getAgentById, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByAgent, getAgentRelationsBySource, getAgentSubAgentInfos, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentWithDefaultSubAgent, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithResources, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentsForSubAgent, getFullAgent, getFullAgentDefinition, getFullProject, getFunction, getFunctionToolById, getFunctionToolsForSubAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getMessageById, getMessagesByConversation, getMessagesByTask, getPendingInvitationsByEmail, getProject, getProjectResourceCounts, getRelatedAgentsForAgent, getSubAgentById, getSubAgentExternalAgentRelationById, getSubAgentExternalAgentRelationByParams, getSubAgentExternalAgentRelations, getSubAgentExternalAgentRelationsByAgent, getSubAgentExternalAgentRelationsByExternalAgent, getSubAgentRelationsByTarget, getSubAgentTeamAgentRelationById, getSubAgentTeamAgentRelationByParams, getSubAgentTeamAgentRelations, getSubAgentTeamAgentRelationsByAgent, getSubAgentTeamAgentRelationsByTeamAgent, getSubAgentsByIds, getSubAgentsForExternalAgent, getSubAgentsForTeamAgent, getTask, getTeamAgentsForSubAgent, getToolById, getToolsForAgent, getUserByEmail, getUserById, getUserOrganizations, getVisibleMessages, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, headers, invalidateHeadersCache, invalidateInvocationDefinitionsCache, isArtifactComponentAssociatedWithAgent, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listFunctionTools, listFunctions, listMessages, listProjects, listProjectsPaginated, listSubAgentExternalAgentRelations, listSubAgentTeamAgentRelations, listSubAgents, listSubAgentsPaginated, listTaskIdsByContextId, listTools, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullAgentServerSide, updateFullProjectServerSide, updateFunctionTool, updateMessage, updateProject, updateSubAgent, updateSubAgentExternalAgentRelation, updateSubAgentFunctionToolRelation, updateSubAgentTeamAgentRelation, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertFunction, upsertFunctionTool, upsertLedgerArtifact, upsertSubAgent, upsertSubAgentExternalAgentRelation, upsertSubAgentFunctionToolRelation, upsertSubAgentRelation, upsertSubAgentTeamAgentRelation, upsertSubAgentToolRelation, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateHeaders, validateHttpRequestHeaders, validateProjectExists, validateSubAgent, validationHelper, withProjectValidation };
222333
+ export { ContextCache, ContextConfigBuilder, ContextFetcher, ContextResolver, CredentialStuffer, HTTP_REQUEST_PARTS, SubAgentIsDefaultError, TemplateEngine, addFunctionToolToSubAgent, addLedgerArtifacts, addToolToAgent, addUserToOrganization, agentHasArtifactComponents, apiFetch, associateArtifactComponentWithAgent, associateDataComponentWithAgent, cleanupTenantCache, clearContextConfigCache, clearConversationCache, contextConfig, contextValidationMiddleware, countApiKeys, countArtifactComponents, countArtifactComponentsForAgent, countContextConfigs, countCredentialReferences, countDataComponents, countExternalAgents, countLedgerArtifactsByTask, countMessagesByConversation, countProjects, createAgent, createAgentToolRelation, createApiKey, createArtifactComponent, createContextConfig, createConversation, createCredentialReference, createDataComponent, createDatabaseClient, createExternalAgent, createFullAgentServerSide, createFullProjectServerSide, createFunctionTool, createMessage, createOrGetConversation, createProject, createSubAgent, createSubAgentExternalAgentRelation, createSubAgentRelation, createSubAgentTeamAgentRelation, createTask, createTool, createValidatedDataAccess, dbResultToMcpTool, deleteAgent, deleteAgentArtifactComponentRelationByAgent, deleteAgentDataComponentRelationByAgent, deleteAgentRelationsByAgent, deleteAgentToolRelation, deleteAgentToolRelationByAgent, deleteApiKey, deleteArtifactComponent, deleteContextConfig, deleteConversation, deleteCredentialReference, deleteDataComponent, deleteExternalAgent, deleteFullAgent, deleteFullProject, deleteFunction, deleteFunctionTool, deleteLedgerArtifactsByContext, deleteLedgerArtifactsByTask, deleteMessage, deleteProject, deleteSubAgent, deleteSubAgentExternalAgentRelation, deleteSubAgentExternalAgentRelationsByAgent, deleteSubAgentExternalAgentRelationsBySubAgent, deleteSubAgentRelation, deleteSubAgentTeamAgentRelation, deleteSubAgentTeamAgentRelationsByAgent, deleteSubAgentTeamAgentRelationsBySubAgent, deleteTool, determineContextTrigger, externalAgentExists, externalAgentUrlExists, fetchComponentRelationships, fetchDefinition, generateAndCreateApiKey, getActiveAgentForConversation, getAgentById, getAgentRelationById, getAgentRelationByParams, getAgentRelations, getAgentRelationsByAgent, getAgentRelationsBySource, getAgentSubAgentInfos, getAgentToolRelationByAgent, getAgentToolRelationById, getAgentToolRelationByTool, getAgentWithDefaultSubAgent, getAgentsForTool, getAgentsUsingArtifactComponent, getAgentsUsingDataComponent, getApiKeyById, getApiKeyByPublicId, getArtifactComponentById, getArtifactComponentsForAgent, getCacheEntry, getCachedValidator, getContextConfigById, getContextConfigCacheEntries, getConversation, getConversationCacheEntries, getConversationHistory, getCredentialReference, getCredentialReferenceById, getCredentialReferenceWithResources, getDataComponent, getDataComponentsForAgent, getExternalAgent, getExternalAgentByUrl, getExternalAgentsForSubAgent, getFullAgent, getFullAgentDefinition, getFullProject, getFunction, getFunctionToolById, getFunctionToolsForSubAgent, getLedgerArtifacts, getLedgerArtifactsByContext, getMessageById, getMessagesByConversation, getMessagesByTask, getPendingInvitationsByEmail, getProject, getProjectResourceCounts, getRelatedAgentsForAgent, getSubAgentById, getSubAgentExternalAgentRelationById, getSubAgentExternalAgentRelationByParams, getSubAgentExternalAgentRelations, getSubAgentExternalAgentRelationsByAgent, getSubAgentExternalAgentRelationsByExternalAgent, getSubAgentRelationsByTarget, getSubAgentTeamAgentRelationById, getSubAgentTeamAgentRelationByParams, getSubAgentTeamAgentRelations, getSubAgentTeamAgentRelationsByAgent, getSubAgentTeamAgentRelationsByTeamAgent, getSubAgentsByIds, getSubAgentsForExternalAgent, getSubAgentsForTeamAgent, getTask, getTeamAgentsForSubAgent, getToolById, getToolsForAgent, getUserByEmail, getUserById, getUserOrganizations, getUserScopedCredentialReference, getVisibleMessages, handleContextConfigChange, handleContextResolution, hasApiKey, hasContextConfig, hasCredentialReference, headers, invalidateHeadersCache, invalidateInvocationDefinitionsCache, isArtifactComponentAssociatedWithAgent, isDataComponentAssociatedWithAgent, isValidHttpRequest, listAgentRelations, listAgentToolRelations, listAgents, listAgentsPaginated, listApiKeys, listApiKeysPaginated, listArtifactComponents, listArtifactComponentsPaginated, listContextConfigs, listContextConfigsPaginated, listConversations, listCredentialReferences, listCredentialReferencesPaginated, listDataComponents, listDataComponentsPaginated, listExternalAgents, listExternalAgentsPaginated, listFunctionTools, listFunctions, listMessages, listProjects, listProjectsPaginated, listSubAgentExternalAgentRelations, listSubAgentTeamAgentRelations, listSubAgents, listSubAgentsPaginated, listTaskIdsByContextId, listTools, projectExists, projectExistsInTable, projectHasResources, removeArtifactComponentFromAgent, removeDataComponentFromAgent, removeToolFromAgent, setActiveAgentForConversation, setActiveAgentForThread, setCacheEntry, updateAgent, updateAgentRelation, updateAgentToolRelation, updateApiKey, updateApiKeyLastUsed, updateArtifactComponent, updateContextConfig, updateConversation, updateConversationActiveAgent, updateCredentialReference, updateDataComponent, updateExternalAgent, updateFullAgentServerSide, updateFullProjectServerSide, updateFunctionTool, updateMessage, updateProject, updateSubAgent, updateSubAgentExternalAgentRelation, updateSubAgentFunctionToolRelation, updateSubAgentTeamAgentRelation, updateTask, updateTool, upsertAgent, upsertAgentArtifactComponentRelation, upsertAgentDataComponentRelation, upsertArtifactComponent, upsertContextConfig, upsertCredentialReference, upsertDataComponent, upsertExternalAgent, upsertFunction, upsertFunctionTool, upsertLedgerArtifact, upsertSubAgent, upsertSubAgentExternalAgentRelation, upsertSubAgentFunctionToolRelation, upsertSubAgentRelation, upsertSubAgentTeamAgentRelation, upsertSubAgentToolRelation, upsertTool, validateAgainstJsonSchema, validateAndGetApiKey, validateHeaders, validateHttpRequestHeaders, validateProjectExists, validateSubAgent, validationHelper, withProjectValidation };
@@ -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 { C as ContextFetchDefinition, a as ConversationHistoryConfig, T as TaskMetadataConfig, b as ToolMcpConfig, c as ToolServerCapabilities, d as ConversationMetadata, M as MessageContent, e as MessageMetadata, P as Part } from './utility-DWCVEJIN.js';
3
+ import { C as ContextFetchDefinition, a as ConversationHistoryConfig, T as TaskMetadataConfig, b as ToolMcpConfig, c as ToolServerCapabilities, d as ConversationMetadata, M as MessageContent, e as MessageMetadata, P as Part } from './utility-dsfXkYTu.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<{
@@ -2567,6 +2567,25 @@ declare const tools: drizzle_orm_pg_core.PgTableWithColumns<{
2567
2567
  }, {}, {
2568
2568
  length: 256;
2569
2569
  }>;
2570
+ credentialScope: drizzle_orm_pg_core.PgColumn<{
2571
+ name: "credential_scope";
2572
+ tableName: "tools";
2573
+ dataType: "string";
2574
+ columnType: "PgVarchar";
2575
+ data: string;
2576
+ driverParam: string;
2577
+ notNull: true;
2578
+ hasDefault: true;
2579
+ isPrimaryKey: false;
2580
+ isAutoincrement: false;
2581
+ hasRuntimeDefault: false;
2582
+ enumValues: [string, ...string[]];
2583
+ baseColumn: never;
2584
+ identity: undefined;
2585
+ generated: undefined;
2586
+ }, {}, {
2587
+ length: 50;
2588
+ }>;
2570
2589
  headers: drizzle_orm_pg_core.PgColumn<{
2571
2590
  name: "headers";
2572
2591
  tableName: "tools";
@@ -5016,6 +5035,63 @@ declare const credentialReferences: drizzle_orm_pg_core.PgTableWithColumns<{
5016
5035
  }, {}, {
5017
5036
  $type: Record<string, unknown>;
5018
5037
  }>;
5038
+ toolId: drizzle_orm_pg_core.PgColumn<{
5039
+ name: "tool_id";
5040
+ tableName: "credential_references";
5041
+ dataType: "string";
5042
+ columnType: "PgVarchar";
5043
+ data: string;
5044
+ driverParam: string;
5045
+ notNull: false;
5046
+ hasDefault: false;
5047
+ isPrimaryKey: false;
5048
+ isAutoincrement: false;
5049
+ hasRuntimeDefault: false;
5050
+ enumValues: [string, ...string[]];
5051
+ baseColumn: never;
5052
+ identity: undefined;
5053
+ generated: undefined;
5054
+ }, {}, {
5055
+ length: 256;
5056
+ }>;
5057
+ userId: drizzle_orm_pg_core.PgColumn<{
5058
+ name: "user_id";
5059
+ tableName: "credential_references";
5060
+ dataType: "string";
5061
+ columnType: "PgVarchar";
5062
+ data: string;
5063
+ driverParam: string;
5064
+ notNull: false;
5065
+ hasDefault: false;
5066
+ isPrimaryKey: false;
5067
+ isAutoincrement: false;
5068
+ hasRuntimeDefault: false;
5069
+ enumValues: [string, ...string[]];
5070
+ baseColumn: never;
5071
+ identity: undefined;
5072
+ generated: undefined;
5073
+ }, {}, {
5074
+ length: 256;
5075
+ }>;
5076
+ createdBy: drizzle_orm_pg_core.PgColumn<{
5077
+ name: "created_by";
5078
+ tableName: "credential_references";
5079
+ dataType: "string";
5080
+ columnType: "PgVarchar";
5081
+ data: string;
5082
+ driverParam: string;
5083
+ notNull: false;
5084
+ hasDefault: false;
5085
+ isPrimaryKey: false;
5086
+ isAutoincrement: false;
5087
+ hasRuntimeDefault: false;
5088
+ enumValues: [string, ...string[]];
5089
+ baseColumn: never;
5090
+ identity: undefined;
5091
+ generated: undefined;
5092
+ }, {}, {
5093
+ length: 256;
5094
+ }>;
5019
5095
  projectId: drizzle_orm_pg_core.PgColumn<{
5020
5096
  name: "project_id";
5021
5097
  tableName: "credential_references";
@@ -1,5 +1,5 @@
1
1
  import { Context } from 'hono';
2
- import { f as CredentialStoreType } from './utility-DWCVEJIN.js';
2
+ import { f as CredentialStoreType } from './utility-dsfXkYTu.js';
3
3
 
4
4
  /**
5
5
  * Credential store interface for managing different types of credentials
@@ -1,5 +1,5 @@
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, C as ContextFetchDefinition, ch as ConversationApiInsert, cg as ConversationApiSelect, ci as ConversationApiUpdate, a as ConversationHistoryConfig, W as ConversationInsert, d 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, f 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, o 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, M as MessageContent, ac as MessageInsert, e 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, b as ToolMcpConfig, Z as ToolSelect, c as ToolServerCapabilities, ax as ToolUpdate, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-DWCVEJIN.js';
2
- export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-5tTh7AW3.js';
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, C as ContextFetchDefinition, ch as ConversationApiInsert, cg as ConversationApiSelect, ci as ConversationApiUpdate, a as ConversationHistoryConfig, W as ConversationInsert, d 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, f 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, o 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, M as MessageContent, ac as MessageInsert, e 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, b as ToolMcpConfig, Z as ToolSelect, c as ToolServerCapabilities, ax as ToolUpdate, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-dsfXkYTu.js';
2
+ export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-BviIeoo5.js';
3
3
  import '@hono/zod-openapi';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/pg-core';