@inkeep/agents-core 0.6.4 → 0.6.5

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.
@@ -0,0 +1,125 @@
1
+ import { d as CredentialStoreType } from '../utility-CgaoTJn6.cjs';
2
+ export { b1 as A2AError, bx as A2ARequest, by as A2AResponse, aC as APIKeySecurityScheme, bC as AgentApiInsert, bB as AgentApiSelect, bD as AgentApiUpdate, cv as AgentArtifactComponentApiInsert, cu as AgentArtifactComponentApiSelect, cw as AgentArtifactComponentApiUpdate, cs as AgentArtifactComponentInsert, cr as AgentArtifactComponentSelect, ct as AgentArtifactComponentUpdate, ay as AgentCapabilities, aM as AgentCard, d8 as AgentConversationHistoryConfig, cm as AgentDataComponentApiInsert, cl as AgentDataComponentApiSelect, cn as AgentDataComponentApiUpdate, cj as AgentDataComponentInsert, ci as AgentDataComponentSelect, ck as AgentDataComponentUpdate, cU as AgentDefinition, bM as AgentGraphApiInsert, bL as AgentGraphApiSelect, bN as AgentGraphApiUpdate, r as AgentGraphInsert, bK as AgentGraphSelect, s as AgentGraphUpdate, y as AgentInsert, az as AgentProvider, bG as AgentRelationApiInsert, bF as AgentRelationApiSelect, bH as AgentRelationApiUpdate, v as AgentRelationInsert, bI as AgentRelationQuery, bE as AgentRelationSelect, w as AgentRelationUpdate, u as AgentScopeConfig, B as AgentSelect, aA as AgentSkill, cK as AgentToolRelationApiInsert, cJ as AgentToolRelationApiSelect, cL as AgentToolRelationApiUpdate, cI as AgentToolRelationInsert, cH as AgentToolRelationSelect, x as AgentToolRelationUpdate, z as AgentUpdate, cA as AllAgentSelect, cE as ApiKeyApiCreationResponse, cC as ApiKeyApiInsert, cB as ApiKeyApiSelect, cD as ApiKeyApiUpdate, K as ApiKeyCreateResult, H as ApiKeyInsert, D as ApiKeySelect, I as ApiKeyUpdate, a7 as Artifact, cp as ArtifactComponentApiInsert, co as ArtifactComponentApiSelect, cq as ArtifactComponentApiUpdate, N as ArtifactComponentInsert, L as ArtifactComponentSelect, O as ArtifactComponentUpdate, aF as AuthorizationCodeOAuthFlow, cS as CanUseItem, bh as CancelTaskRequest, bs as CancelTaskResponse, br as CancelTaskSuccessResponse, aG as ClientCredentialsOAuthFlow, a$ as ContentTypeNotSupportedError, cd as ContextCacheApiInsert, cc as ContextCacheApiSelect, ce as ContextCacheApiUpdate, d9 as ContextCacheEntry, R as ContextCacheInsert, Q as ContextCacheSelect, cb as ContextCacheUpdate, c7 as ContextConfigApiInsert, c6 as ContextConfigApiSelect, c8 as ContextConfigApiUpdate, U as ContextConfigInsert, m as ContextConfigSelect, V as ContextConfigUpdate, e as ContextFetchDefinition, c0 as ConversationApiInsert, b$ as ConversationApiSelect, c1 as ConversationApiUpdate, C as ConversationHistoryConfig, X as ConversationInsert, i as ConversationMetadata, d7 as ConversationScopeOptions, W as ConversationSelect, Y as ConversationUpdate, J as CreateApiKeyParams, l as CredentialReferenceApiInsert, cF as CredentialReferenceApiSelect, cG as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Z as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cg as DataComponentApiInsert, cf as DataComponentApiSelect, ch as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aw as DataPart, ap as ExecutionContext, cy as ExternalAgentApiInsert, cx as ExternalAgentApiSelect, cz as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, bJ as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, ca as FetchConfig, c9 as FetchDefinition, as as FileBase, av as FilePart, at as FileWithBytes, au as FileWithUri, cR as FullGraphAgentInsert, t as FullGraphDefinition, ac as FullProjectDefinition, bj as GetTaskPushNotificationConfigRequest, bw as GetTaskPushNotificationConfigResponse, bv as GetTaskPushNotificationConfigSuccessResponse, bg as GetTaskRequest, bq as GetTaskResponse, bp as GetTaskSuccessResponse, o as GraphScopeConfig, aD as HTTPAuthSecurityScheme, aH as ImplicitOAuthFlow, cT as InternalAgentDefinition, aW as InternalError, b0 as InvalidAgentResponseError, aV as InvalidParamsError, aT as InvalidRequestError, aS as JSONParseError, bb as JSONRPCError, bd as JSONRPCErrorResponse, b9 as JSONRPCMessage, ba as JSONRPCRequest, bc as JSONRPCResult, cP as LedgerArtifactApiInsert, cO as LedgerArtifactApiSelect, cQ as LedgerArtifactApiUpdate, cM as LedgerArtifactInsert, a8 as LedgerArtifactSelect, cN as LedgerArtifactUpdate, dh as MCPServerType, n as MCPToolConfig, M as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, al as McpTool, h as McpToolDefinition, am as McpToolStatus, dc as McpTransportConfig, aN as Message, c4 as MessageApiInsert, c3 as MessageApiSelect, c5 as MessageApiUpdate, j as MessageContent, aa as MessageInsert, k as MessageMetadata, d1 as MessageMode, bz as MessagePart, d0 as MessageRole, c2 as MessageSelect, b7 as MessageSendConfiguration, b8 as MessageSendParams, c$ as MessageType, ab as MessageUpdate, a9 as MessageVisibility, aU as MethodNotFoundError, d4 as ModelSettings, d2 as Models, aJ as OAuth2SecurityScheme, aE as OAuthFlows, aK as OpenIdConnectSecurityScheme, cZ as Pagination, q as PaginationConfig, af as PaginationResult, P as Part, aq as PartBase, aI as PasswordOAuthFlow, cX as ProjectApiInsert, cW as ProjectApiSelect, cY as ProjectApiUpdate, ad as ProjectInfo, ah as ProjectInsert, d3 as ProjectModels, ag as ProjectResourceCounts, p as ProjectScopeConfig, ae as ProjectSelect, ai as ProjectUpdate, b2 as PushNotificationAuthenticationInfo, b3 as PushNotificationConfig, aZ as PushNotificationNotSupportedError, aL as SecurityScheme, aB as SecuritySchemeBase, be as SendMessageRequest, bm as SendMessageResponse, bl as SendMessageSuccessResponse, bf as SendStreamingMessageRequest, bo as SendStreamingMessageResponse, bn as SendStreamingMessageSuccessResponse, bi as SetTaskPushNotificationConfigRequest, bu as SetTaskPushNotificationConfigResponse, bt as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c_ as SummaryEvent, df as TOOL_STATUS_VALUES, aP as Task, bQ as TaskApiInsert, bP as TaskApiSelect, bR as TaskApiUpdate, bA as TaskArtifact, aR as TaskArtifactUpdateEvent, b5 as TaskIdParams, aj as TaskInsert, T as TaskMetadataConfig, aY as TaskNotCancelableError, aX as TaskNotFoundError, b4 as TaskPushNotificationConfig, b6 as TaskQueryParams, bW as TaskRelationApiInsert, bV as TaskRelationApiSelect, bX as TaskRelationApiUpdate, bT as TaskRelationInsert, bS as TaskRelationSelect, bU as TaskRelationUpdate, bk as TaskResubscriptionRequest, ak as TaskSelect, ax as TaskState, aO as TaskStatus, aQ as TaskStatusUpdateEvent, bO as TaskUpdate, ar as TextPart, bZ as ToolApiInsert, bY as ToolApiSelect, b_ as ToolApiUpdate, cV as ToolDefinition, an as ToolInsert, f as ToolMcpConfig, _ as ToolSelect, g as ToolServerCapabilities, ao as ToolUpdate, a_ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, de as toolStatus } from '../utility-CgaoTJn6.cjs';
3
+ import { Context } from 'hono';
4
+ import 'zod';
5
+ import 'drizzle-zod';
6
+ import 'drizzle-orm/sqlite-core';
7
+ import '@hono/zod-openapi';
8
+ import '@modelcontextprotocol/sdk/client/streamableHttp.js';
9
+
10
+ /**
11
+ * Credential store interface for managing different types of credentials
12
+ */
13
+ interface CredentialStore {
14
+ /**
15
+ * Unique identifier for this credential store
16
+ */
17
+ id: string;
18
+ /**
19
+ * Type of credential store
20
+ */
21
+ type: keyof typeof CredentialStoreType;
22
+ /**
23
+ * Get a credential by key
24
+ */
25
+ get(key: string): Promise<string | null>;
26
+ /**
27
+ * Set a credential
28
+ */
29
+ set(key: string, value: string): Promise<void>;
30
+ /**
31
+ * Check if a credential exists
32
+ */
33
+ has(key: string): Promise<boolean>;
34
+ /**
35
+ * Delete a credential
36
+ */
37
+ delete(key: string): Promise<boolean>;
38
+ }
39
+ /**
40
+ * Server configuration options for HTTP server behavior
41
+ * These settings control connection management, timeouts, and server behavior
42
+ */
43
+ interface ServerOptions {
44
+ /**
45
+ * Server port to listen on
46
+ * Default: 3000
47
+ */
48
+ port?: number;
49
+ /**
50
+ * Keep alive timeout in milliseconds
51
+ * Time to wait for additional data after the last response before closing the connection.
52
+ * Used for persistent connections to improve performance by reusing connections.
53
+ * Scenario: Set higher (10-30s) for high-traffic APIs, lower (1-5s) for low-traffic services.
54
+ * Default: 60000ms (60 seconds)
55
+ */
56
+ keepAliveTimeout?: number;
57
+ /**
58
+ * Enable keep alive connections
59
+ * When true, allows connection reuse for multiple requests.
60
+ * Improves performance but uses more server resources.
61
+ * Scenario: Enable for APIs with frequent requests, disable for one-off services.
62
+ * Default: true
63
+ */
64
+ keepAlive?: boolean;
65
+ /**
66
+ * Request timeout in milliseconds
67
+ * Maximum time to wait for a complete request from the client.
68
+ * Helps prevent DoS attacks by limiting resource consumption from slow clients.
69
+ * Scenario: Set lower (30s) for simple APIs, higher (5-10min) for file upload services.
70
+ * Default: 60000ms (60 seconds)
71
+ */
72
+ requestTimeout?: number;
73
+ }
74
+ /**
75
+ * CORS configuration compatible with Hono's CORSOptions
76
+ */
77
+ interface CorsConfig {
78
+ /**
79
+ * Allowed origins - string, array of strings, or function
80
+ */
81
+ origin?: string | string[] | ((origin: string, c?: Context) => string | null | undefined);
82
+ /**
83
+ * Allowed methods
84
+ */
85
+ allowMethods?: string[];
86
+ /**
87
+ * Allowed headers
88
+ */
89
+ allowHeaders?: string[];
90
+ /**
91
+ * Exposed headers
92
+ */
93
+ exposeHeaders?: string[];
94
+ /**
95
+ * Max age for preflight requests
96
+ */
97
+ maxAge?: number;
98
+ /**
99
+ * Whether to allow credentials
100
+ */
101
+ credentials?: boolean;
102
+ }
103
+ /**
104
+ * Base server configuration for all Inkeep services
105
+ */
106
+ interface ServerConfig {
107
+ /**
108
+ * Server port to listen on
109
+ */
110
+ port?: number;
111
+ /**
112
+ * Server options for HTTP behavior
113
+ */
114
+ serverOptions?: ServerOptions;
115
+ /**
116
+ * Array of credential stores for managing API keys, tokens, etc.
117
+ */
118
+ credentialStores?: CredentialStore[];
119
+ /**
120
+ * CORS configuration
121
+ */
122
+ cors?: CorsConfig;
123
+ }
124
+
125
+ export { type CorsConfig, type CredentialStore, CredentialStoreType, type ServerConfig, type ServerOptions };
@@ -0,0 +1,125 @@
1
+ import { d as CredentialStoreType } from '../utility-CgaoTJn6.js';
2
+ export { b1 as A2AError, bx as A2ARequest, by as A2AResponse, aC as APIKeySecurityScheme, bC as AgentApiInsert, bB as AgentApiSelect, bD as AgentApiUpdate, cv as AgentArtifactComponentApiInsert, cu as AgentArtifactComponentApiSelect, cw as AgentArtifactComponentApiUpdate, cs as AgentArtifactComponentInsert, cr as AgentArtifactComponentSelect, ct as AgentArtifactComponentUpdate, ay as AgentCapabilities, aM as AgentCard, d8 as AgentConversationHistoryConfig, cm as AgentDataComponentApiInsert, cl as AgentDataComponentApiSelect, cn as AgentDataComponentApiUpdate, cj as AgentDataComponentInsert, ci as AgentDataComponentSelect, ck as AgentDataComponentUpdate, cU as AgentDefinition, bM as AgentGraphApiInsert, bL as AgentGraphApiSelect, bN as AgentGraphApiUpdate, r as AgentGraphInsert, bK as AgentGraphSelect, s as AgentGraphUpdate, y as AgentInsert, az as AgentProvider, bG as AgentRelationApiInsert, bF as AgentRelationApiSelect, bH as AgentRelationApiUpdate, v as AgentRelationInsert, bI as AgentRelationQuery, bE as AgentRelationSelect, w as AgentRelationUpdate, u as AgentScopeConfig, B as AgentSelect, aA as AgentSkill, cK as AgentToolRelationApiInsert, cJ as AgentToolRelationApiSelect, cL as AgentToolRelationApiUpdate, cI as AgentToolRelationInsert, cH as AgentToolRelationSelect, x as AgentToolRelationUpdate, z as AgentUpdate, cA as AllAgentSelect, cE as ApiKeyApiCreationResponse, cC as ApiKeyApiInsert, cB as ApiKeyApiSelect, cD as ApiKeyApiUpdate, K as ApiKeyCreateResult, H as ApiKeyInsert, D as ApiKeySelect, I as ApiKeyUpdate, a7 as Artifact, cp as ArtifactComponentApiInsert, co as ArtifactComponentApiSelect, cq as ArtifactComponentApiUpdate, N as ArtifactComponentInsert, L as ArtifactComponentSelect, O as ArtifactComponentUpdate, aF as AuthorizationCodeOAuthFlow, cS as CanUseItem, bh as CancelTaskRequest, bs as CancelTaskResponse, br as CancelTaskSuccessResponse, aG as ClientCredentialsOAuthFlow, a$ as ContentTypeNotSupportedError, cd as ContextCacheApiInsert, cc as ContextCacheApiSelect, ce as ContextCacheApiUpdate, d9 as ContextCacheEntry, R as ContextCacheInsert, Q as ContextCacheSelect, cb as ContextCacheUpdate, c7 as ContextConfigApiInsert, c6 as ContextConfigApiSelect, c8 as ContextConfigApiUpdate, U as ContextConfigInsert, m as ContextConfigSelect, V as ContextConfigUpdate, e as ContextFetchDefinition, c0 as ConversationApiInsert, b$ as ConversationApiSelect, c1 as ConversationApiUpdate, C as ConversationHistoryConfig, X as ConversationInsert, i as ConversationMetadata, d7 as ConversationScopeOptions, W as ConversationSelect, Y as ConversationUpdate, J as CreateApiKeyParams, l as CredentialReferenceApiInsert, cF as CredentialReferenceApiSelect, cG as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Z as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cg as DataComponentApiInsert, cf as DataComponentApiSelect, ch as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aw as DataPart, ap as ExecutionContext, cy as ExternalAgentApiInsert, cx as ExternalAgentApiSelect, cz as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, bJ as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a5 as ExternalAgentSelect, a6 as ExternalAgentUpdate, ca as FetchConfig, c9 as FetchDefinition, as as FileBase, av as FilePart, at as FileWithBytes, au as FileWithUri, cR as FullGraphAgentInsert, t as FullGraphDefinition, ac as FullProjectDefinition, bj as GetTaskPushNotificationConfigRequest, bw as GetTaskPushNotificationConfigResponse, bv as GetTaskPushNotificationConfigSuccessResponse, bg as GetTaskRequest, bq as GetTaskResponse, bp as GetTaskSuccessResponse, o as GraphScopeConfig, aD as HTTPAuthSecurityScheme, aH as ImplicitOAuthFlow, cT as InternalAgentDefinition, aW as InternalError, b0 as InvalidAgentResponseError, aV as InvalidParamsError, aT as InvalidRequestError, aS as JSONParseError, bb as JSONRPCError, bd as JSONRPCErrorResponse, b9 as JSONRPCMessage, ba as JSONRPCRequest, bc as JSONRPCResult, cP as LedgerArtifactApiInsert, cO as LedgerArtifactApiSelect, cQ as LedgerArtifactApiUpdate, cM as LedgerArtifactInsert, a8 as LedgerArtifactSelect, cN as LedgerArtifactUpdate, dh as MCPServerType, n as MCPToolConfig, M as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, al as McpTool, h as McpToolDefinition, am as McpToolStatus, dc as McpTransportConfig, aN as Message, c4 as MessageApiInsert, c3 as MessageApiSelect, c5 as MessageApiUpdate, j as MessageContent, aa as MessageInsert, k as MessageMetadata, d1 as MessageMode, bz as MessagePart, d0 as MessageRole, c2 as MessageSelect, b7 as MessageSendConfiguration, b8 as MessageSendParams, c$ as MessageType, ab as MessageUpdate, a9 as MessageVisibility, aU as MethodNotFoundError, d4 as ModelSettings, d2 as Models, aJ as OAuth2SecurityScheme, aE as OAuthFlows, aK as OpenIdConnectSecurityScheme, cZ as Pagination, q as PaginationConfig, af as PaginationResult, P as Part, aq as PartBase, aI as PasswordOAuthFlow, cX as ProjectApiInsert, cW as ProjectApiSelect, cY as ProjectApiUpdate, ad as ProjectInfo, ah as ProjectInsert, d3 as ProjectModels, ag as ProjectResourceCounts, p as ProjectScopeConfig, ae as ProjectSelect, ai as ProjectUpdate, b2 as PushNotificationAuthenticationInfo, b3 as PushNotificationConfig, aZ as PushNotificationNotSupportedError, aL as SecurityScheme, aB as SecuritySchemeBase, be as SendMessageRequest, bm as SendMessageResponse, bl as SendMessageSuccessResponse, bf as SendStreamingMessageRequest, bo as SendStreamingMessageResponse, bn as SendStreamingMessageSuccessResponse, bi as SetTaskPushNotificationConfigRequest, bu as SetTaskPushNotificationConfigResponse, bt as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c_ as SummaryEvent, df as TOOL_STATUS_VALUES, aP as Task, bQ as TaskApiInsert, bP as TaskApiSelect, bR as TaskApiUpdate, bA as TaskArtifact, aR as TaskArtifactUpdateEvent, b5 as TaskIdParams, aj as TaskInsert, T as TaskMetadataConfig, aY as TaskNotCancelableError, aX as TaskNotFoundError, b4 as TaskPushNotificationConfig, b6 as TaskQueryParams, bW as TaskRelationApiInsert, bV as TaskRelationApiSelect, bX as TaskRelationApiUpdate, bT as TaskRelationInsert, bS as TaskRelationSelect, bU as TaskRelationUpdate, bk as TaskResubscriptionRequest, ak as TaskSelect, ax as TaskState, aO as TaskStatus, aQ as TaskStatusUpdateEvent, bO as TaskUpdate, ar as TextPart, bZ as ToolApiInsert, bY as ToolApiSelect, b_ as ToolApiUpdate, cV as ToolDefinition, an as ToolInsert, f as ToolMcpConfig, _ as ToolSelect, g as ToolServerCapabilities, ao as ToolUpdate, a_ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, de as toolStatus } from '../utility-CgaoTJn6.js';
3
+ import { Context } from 'hono';
4
+ import 'zod';
5
+ import 'drizzle-zod';
6
+ import 'drizzle-orm/sqlite-core';
7
+ import '@hono/zod-openapi';
8
+ import '@modelcontextprotocol/sdk/client/streamableHttp.js';
9
+
10
+ /**
11
+ * Credential store interface for managing different types of credentials
12
+ */
13
+ interface CredentialStore {
14
+ /**
15
+ * Unique identifier for this credential store
16
+ */
17
+ id: string;
18
+ /**
19
+ * Type of credential store
20
+ */
21
+ type: keyof typeof CredentialStoreType;
22
+ /**
23
+ * Get a credential by key
24
+ */
25
+ get(key: string): Promise<string | null>;
26
+ /**
27
+ * Set a credential
28
+ */
29
+ set(key: string, value: string): Promise<void>;
30
+ /**
31
+ * Check if a credential exists
32
+ */
33
+ has(key: string): Promise<boolean>;
34
+ /**
35
+ * Delete a credential
36
+ */
37
+ delete(key: string): Promise<boolean>;
38
+ }
39
+ /**
40
+ * Server configuration options for HTTP server behavior
41
+ * These settings control connection management, timeouts, and server behavior
42
+ */
43
+ interface ServerOptions {
44
+ /**
45
+ * Server port to listen on
46
+ * Default: 3000
47
+ */
48
+ port?: number;
49
+ /**
50
+ * Keep alive timeout in milliseconds
51
+ * Time to wait for additional data after the last response before closing the connection.
52
+ * Used for persistent connections to improve performance by reusing connections.
53
+ * Scenario: Set higher (10-30s) for high-traffic APIs, lower (1-5s) for low-traffic services.
54
+ * Default: 60000ms (60 seconds)
55
+ */
56
+ keepAliveTimeout?: number;
57
+ /**
58
+ * Enable keep alive connections
59
+ * When true, allows connection reuse for multiple requests.
60
+ * Improves performance but uses more server resources.
61
+ * Scenario: Enable for APIs with frequent requests, disable for one-off services.
62
+ * Default: true
63
+ */
64
+ keepAlive?: boolean;
65
+ /**
66
+ * Request timeout in milliseconds
67
+ * Maximum time to wait for a complete request from the client.
68
+ * Helps prevent DoS attacks by limiting resource consumption from slow clients.
69
+ * Scenario: Set lower (30s) for simple APIs, higher (5-10min) for file upload services.
70
+ * Default: 60000ms (60 seconds)
71
+ */
72
+ requestTimeout?: number;
73
+ }
74
+ /**
75
+ * CORS configuration compatible with Hono's CORSOptions
76
+ */
77
+ interface CorsConfig {
78
+ /**
79
+ * Allowed origins - string, array of strings, or function
80
+ */
81
+ origin?: string | string[] | ((origin: string, c?: Context) => string | null | undefined);
82
+ /**
83
+ * Allowed methods
84
+ */
85
+ allowMethods?: string[];
86
+ /**
87
+ * Allowed headers
88
+ */
89
+ allowHeaders?: string[];
90
+ /**
91
+ * Exposed headers
92
+ */
93
+ exposeHeaders?: string[];
94
+ /**
95
+ * Max age for preflight requests
96
+ */
97
+ maxAge?: number;
98
+ /**
99
+ * Whether to allow credentials
100
+ */
101
+ credentials?: boolean;
102
+ }
103
+ /**
104
+ * Base server configuration for all Inkeep services
105
+ */
106
+ interface ServerConfig {
107
+ /**
108
+ * Server port to listen on
109
+ */
110
+ port?: number;
111
+ /**
112
+ * Server options for HTTP behavior
113
+ */
114
+ serverOptions?: ServerOptions;
115
+ /**
116
+ * Array of credential stores for managing API keys, tokens, etc.
117
+ */
118
+ credentialStores?: CredentialStore[];
119
+ /**
120
+ * CORS configuration
121
+ */
122
+ cors?: CorsConfig;
123
+ }
124
+
125
+ export { type CorsConfig, type CredentialStore, CredentialStoreType, type ServerConfig, type ServerOptions };