@inkeep/agents-core 0.8.1 → 0.8.3
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/{chunk-P5LTXXFH.js → chunk-AX77SEE3.js} +1 -1
- package/dist/{chunk-VZ62ZJTI.js → chunk-GPGFF2K4.js} +1 -1
- package/dist/{chunk-E4ZLV4GU.js → chunk-URSDNK76.js} +9 -3
- package/dist/client-exports.cjs +7 -2
- package/dist/client-exports.d.cts +2 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.cjs +8 -2
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/index.cjs +193 -18
- package/dist/index.d.cts +22 -7
- package/dist/index.d.ts +22 -7
- package/dist/index.js +190 -23
- package/dist/{schema-BF9NpAv5.d.cts → schema-DnjptA-m.d.ts} +25 -4
- package/dist/{schema-78jVngGh.d.ts → schema-DwiRB4zS.d.cts} +25 -4
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-CT2pq49U.d.cts → utility-C3eMTvpr.d.cts} +47 -4
- package/dist/{utility-CT2pq49U.d.ts → utility-C3eMTvpr.d.ts} +47 -4
- package/dist/validation/index.cjs +7 -2
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +1 -1
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as CredentialStoreType } from '../utility-
|
|
2
|
-
export { a$ as A2AError, bv as A2ARequest, bw as A2AResponse, aA as APIKeySecurityScheme, bA as AgentApiInsert, bz as AgentApiSelect, bB as AgentApiUpdate, ct as AgentArtifactComponentApiInsert, cs as AgentArtifactComponentApiSelect, cu as AgentArtifactComponentApiUpdate, cq as AgentArtifactComponentInsert, cp as AgentArtifactComponentSelect, cr as AgentArtifactComponentUpdate, aw as AgentCapabilities, aK as AgentCard, d6 as AgentConversationHistoryConfig, ck as AgentDataComponentApiInsert, cj as AgentDataComponentApiSelect, cl as AgentDataComponentApiUpdate, ch as AgentDataComponentInsert, cg as AgentDataComponentSelect, ci as AgentDataComponentUpdate, cS as AgentDefinition, bK as AgentGraphApiInsert, bJ as AgentGraphApiSelect, bL as AgentGraphApiUpdate, q as AgentGraphInsert, bI as AgentGraphSelect, r as AgentGraphUpdate, x as AgentInsert, ax as AgentProvider, bE as AgentRelationApiInsert, bD as AgentRelationApiSelect, bF as AgentRelationApiUpdate, u as AgentRelationInsert, bG as AgentRelationQuery, bC as AgentRelationSelect, v as AgentRelationUpdate, t as AgentScopeConfig, z as AgentSelect, ay as AgentSkill, cI as AgentToolRelationApiInsert, cH as AgentToolRelationApiSelect, cJ as AgentToolRelationApiUpdate, cG as AgentToolRelationInsert, cF as AgentToolRelationSelect, w as AgentToolRelationUpdate, y as AgentUpdate, cy as AllAgentSelect, cC as ApiKeyApiCreationResponse, cA as ApiKeyApiInsert, cz as ApiKeyApiSelect, cB as ApiKeyApiUpdate, J as ApiKeyCreateResult, D as ApiKeyInsert, B as ApiKeySelect, H as ApiKeyUpdate, a6 as Artifact, cn as ArtifactComponentApiInsert, cm as ArtifactComponentApiSelect, co as ArtifactComponentApiUpdate, L as ArtifactComponentInsert, K as ArtifactComponentSelect, N as ArtifactComponentUpdate, aD as AuthorizationCodeOAuthFlow, cQ as CanUseItem, bf as CancelTaskRequest, bq as CancelTaskResponse, bp as CancelTaskSuccessResponse, aE as ClientCredentialsOAuthFlow, aZ as ContentTypeNotSupportedError, cb as ContextCacheApiInsert, ca as ContextCacheApiSelect, cc as ContextCacheApiUpdate, d7 as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, c9 as ContextCacheUpdate, c5 as ContextConfigApiInsert, c4 as ContextConfigApiSelect, c6 as ContextConfigApiUpdate, R as ContextConfigInsert, l as ContextConfigSelect, U as ContextConfigUpdate, e as ContextFetchDefinition, b_ as ConversationApiInsert, bZ as ConversationApiSelect, b$ as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, h as ConversationMetadata, d5 as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, I as CreateApiKeyParams, k as CredentialReferenceApiInsert, cD as CredentialReferenceApiSelect, cE as CredentialReferenceApiUpdate, _ as CredentialReferenceInsert, Y as CredentialReferenceSelect, $ as CredentialReferenceUpdate, ce as DataComponentApiInsert, cd as DataComponentApiSelect, cf as DataComponentApiUpdate, a1 as DataComponentInsert, a0 as DataComponentSelect, a2 as DataComponentUpdate, au as DataPart, an as ExecutionContext, cw as ExternalAgentApiInsert, cv as ExternalAgentApiSelect, cx as ExternalAgentApiUpdate, a3 as ExternalAgentInsert, bH as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, c8 as FetchConfig, c7 as FetchDefinition, aq as FileBase, at as FilePart, ar as FileWithBytes, as as FileWithUri, cP as FullGraphAgentInsert, s as FullGraphDefinition, ab as FullProjectDefinition, bh as GetTaskPushNotificationConfigRequest, bu as GetTaskPushNotificationConfigResponse, bt as GetTaskPushNotificationConfigSuccessResponse, be as GetTaskRequest, bo as GetTaskResponse, bn as GetTaskSuccessResponse, n as GraphScopeConfig, aB as HTTPAuthSecurityScheme, aF as ImplicitOAuthFlow, cR as InternalAgentDefinition, aU as InternalError, a_ as InvalidAgentResponseError, aT as InvalidParamsError, aR as InvalidRequestError, aQ as JSONParseError, b9 as JSONRPCError, bb as JSONRPCErrorResponse, b7 as JSONRPCMessage, b8 as JSONRPCRequest, ba as JSONRPCResult, cN as LedgerArtifactApiInsert, cM as LedgerArtifactApiSelect, cO as LedgerArtifactApiUpdate, cK as LedgerArtifactInsert, a7 as LedgerArtifactSelect, cL as LedgerArtifactUpdate, df as MCPServerType, m as MCPToolConfig, M as MCPTransportType, d8 as McpAuthType, d9 as McpServerAuth, db as McpServerCapabilities, ak as McpTool, dc as McpToolDefinition, da as McpTransportConfig, aL as Message, c2 as MessageApiInsert, c1 as MessageApiSelect, c3 as MessageApiUpdate, i as MessageContent, a9 as MessageInsert, j as MessageMetadata, c$ as MessageMode, bx as MessagePart, c_ as MessageRole, c0 as MessageSelect, b5 as MessageSendConfiguration, b6 as MessageSendParams, cZ as MessageType, aa as MessageUpdate, a8 as MessageVisibility, aS as MethodNotFoundError, d2 as ModelSettings, d0 as Models, aH as OAuth2SecurityScheme, aC as OAuthFlows, aI as OpenIdConnectSecurityScheme, cX as Pagination, p as PaginationConfig, ae as PaginationResult, P as Part, ao as PartBase, aG as PasswordOAuthFlow, cV as ProjectApiInsert, cU as ProjectApiSelect, cW as ProjectApiUpdate, ac as ProjectInfo, ag as ProjectInsert, d1 as ProjectModels, af as ProjectResourceCounts, o as ProjectScopeConfig, ad as ProjectSelect, ah as ProjectUpdate, b0 as PushNotificationAuthenticationInfo, b1 as PushNotificationConfig, aX as PushNotificationNotSupportedError, aJ as SecurityScheme, az as SecuritySchemeBase, bc as SendMessageRequest, bk as SendMessageResponse, bj as SendMessageSuccessResponse, bd as SendStreamingMessageRequest, bm as SendStreamingMessageResponse, bl as SendStreamingMessageSuccessResponse, bg as SetTaskPushNotificationConfigRequest, bs as SetTaskPushNotificationConfigResponse, br as SetTaskPushNotificationConfigSuccessResponse, d4 as StatusComponent, d3 as StatusUpdateSettings, cY as SummaryEvent, dd as TOOL_STATUS_VALUES, aN as Task, bO as TaskApiInsert, bN as TaskApiSelect, bP as TaskApiUpdate, by as TaskArtifact, aP as TaskArtifactUpdateEvent, b3 as TaskIdParams, ai as TaskInsert, T as TaskMetadataConfig, aW as TaskNotCancelableError, aV as TaskNotFoundError, b2 as TaskPushNotificationConfig, b4 as TaskQueryParams, bU as TaskRelationApiInsert, bT as TaskRelationApiSelect, bV as TaskRelationApiUpdate, bR as TaskRelationInsert, bQ as TaskRelationSelect, bS as TaskRelationUpdate, bi as TaskResubscriptionRequest, aj as TaskSelect, av as TaskState, aM as TaskStatus, aO as TaskStatusUpdateEvent, bM as TaskUpdate, ap as TextPart, bX as ToolApiInsert, bW as ToolApiSelect, bY as ToolApiUpdate, cT as ToolDefinition, al as ToolInsert, f as ToolMcpConfig, Z as ToolSelect, g as ToolServerCapabilities, am as ToolUpdate, aY as UnsupportedOperationError, de as VALID_RELATION_TYPES } from '../utility-
|
|
1
|
+
import { d as CredentialStoreType } from '../utility-C3eMTvpr.cjs';
|
|
2
|
+
export { a$ as A2AError, bv as A2ARequest, bw as A2AResponse, aA as APIKeySecurityScheme, bA as AgentApiInsert, bz as AgentApiSelect, bB as AgentApiUpdate, ct as AgentArtifactComponentApiInsert, cs as AgentArtifactComponentApiSelect, cu as AgentArtifactComponentApiUpdate, cq as AgentArtifactComponentInsert, cp as AgentArtifactComponentSelect, cr as AgentArtifactComponentUpdate, aw as AgentCapabilities, aK as AgentCard, d6 as AgentConversationHistoryConfig, ck as AgentDataComponentApiInsert, cj as AgentDataComponentApiSelect, cl as AgentDataComponentApiUpdate, ch as AgentDataComponentInsert, cg as AgentDataComponentSelect, ci as AgentDataComponentUpdate, cS as AgentDefinition, bK as AgentGraphApiInsert, bJ as AgentGraphApiSelect, bL as AgentGraphApiUpdate, q as AgentGraphInsert, bI as AgentGraphSelect, r as AgentGraphUpdate, x as AgentInsert, ax as AgentProvider, bE as AgentRelationApiInsert, bD as AgentRelationApiSelect, bF as AgentRelationApiUpdate, u as AgentRelationInsert, bG as AgentRelationQuery, bC as AgentRelationSelect, v as AgentRelationUpdate, t as AgentScopeConfig, z as AgentSelect, ay as AgentSkill, cI as AgentToolRelationApiInsert, cH as AgentToolRelationApiSelect, cJ as AgentToolRelationApiUpdate, cG as AgentToolRelationInsert, cF as AgentToolRelationSelect, w as AgentToolRelationUpdate, y as AgentUpdate, cy as AllAgentSelect, cC as ApiKeyApiCreationResponse, cA as ApiKeyApiInsert, cz as ApiKeyApiSelect, cB as ApiKeyApiUpdate, J as ApiKeyCreateResult, D as ApiKeyInsert, B as ApiKeySelect, H as ApiKeyUpdate, a6 as Artifact, cn as ArtifactComponentApiInsert, cm as ArtifactComponentApiSelect, co as ArtifactComponentApiUpdate, L as ArtifactComponentInsert, K as ArtifactComponentSelect, N as ArtifactComponentUpdate, aD as AuthorizationCodeOAuthFlow, cQ as CanUseItem, bf as CancelTaskRequest, bq as CancelTaskResponse, bp as CancelTaskSuccessResponse, aE as ClientCredentialsOAuthFlow, aZ as ContentTypeNotSupportedError, cb as ContextCacheApiInsert, ca as ContextCacheApiSelect, cc as ContextCacheApiUpdate, d7 as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, c9 as ContextCacheUpdate, c5 as ContextConfigApiInsert, c4 as ContextConfigApiSelect, c6 as ContextConfigApiUpdate, R as ContextConfigInsert, l as ContextConfigSelect, U as ContextConfigUpdate, e as ContextFetchDefinition, b_ as ConversationApiInsert, bZ as ConversationApiSelect, b$ as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, h as ConversationMetadata, d5 as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, I as CreateApiKeyParams, k as CredentialReferenceApiInsert, cD as CredentialReferenceApiSelect, cE as CredentialReferenceApiUpdate, _ as CredentialReferenceInsert, Y as CredentialReferenceSelect, $ as CredentialReferenceUpdate, ce as DataComponentApiInsert, cd as DataComponentApiSelect, cf as DataComponentApiUpdate, a1 as DataComponentInsert, a0 as DataComponentSelect, a2 as DataComponentUpdate, au as DataPart, an as ExecutionContext, cw as ExternalAgentApiInsert, cv as ExternalAgentApiSelect, cx as ExternalAgentApiUpdate, a3 as ExternalAgentInsert, bH as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, c8 as FetchConfig, c7 as FetchDefinition, aq as FileBase, at as FilePart, ar as FileWithBytes, as as FileWithUri, cP as FullGraphAgentInsert, s as FullGraphDefinition, ab as FullProjectDefinition, bh as GetTaskPushNotificationConfigRequest, bu as GetTaskPushNotificationConfigResponse, bt as GetTaskPushNotificationConfigSuccessResponse, be as GetTaskRequest, bo as GetTaskResponse, bn as GetTaskSuccessResponse, n as GraphScopeConfig, aB as HTTPAuthSecurityScheme, aF as ImplicitOAuthFlow, cR as InternalAgentDefinition, aU as InternalError, a_ as InvalidAgentResponseError, aT as InvalidParamsError, aR as InvalidRequestError, aQ as JSONParseError, b9 as JSONRPCError, bb as JSONRPCErrorResponse, b7 as JSONRPCMessage, b8 as JSONRPCRequest, ba as JSONRPCResult, cN as LedgerArtifactApiInsert, cM as LedgerArtifactApiSelect, cO as LedgerArtifactApiUpdate, cK as LedgerArtifactInsert, a7 as LedgerArtifactSelect, cL as LedgerArtifactUpdate, df as MCPServerType, m as MCPToolConfig, M as MCPTransportType, d8 as McpAuthType, d9 as McpServerAuth, db as McpServerCapabilities, ak as McpTool, dc as McpToolDefinition, da as McpTransportConfig, aL as Message, c2 as MessageApiInsert, c1 as MessageApiSelect, c3 as MessageApiUpdate, i as MessageContent, a9 as MessageInsert, j as MessageMetadata, c$ as MessageMode, bx as MessagePart, c_ as MessageRole, c0 as MessageSelect, b5 as MessageSendConfiguration, b6 as MessageSendParams, cZ as MessageType, aa as MessageUpdate, a8 as MessageVisibility, aS as MethodNotFoundError, d2 as ModelSettings, d0 as Models, aH as OAuth2SecurityScheme, aC as OAuthFlows, aI as OpenIdConnectSecurityScheme, cX as Pagination, p as PaginationConfig, ae as PaginationResult, P as Part, ao as PartBase, aG as PasswordOAuthFlow, cV as ProjectApiInsert, cU as ProjectApiSelect, cW as ProjectApiUpdate, ac as ProjectInfo, ag as ProjectInsert, d1 as ProjectModels, af as ProjectResourceCounts, o as ProjectScopeConfig, ad as ProjectSelect, ah as ProjectUpdate, b0 as PushNotificationAuthenticationInfo, b1 as PushNotificationConfig, aX as PushNotificationNotSupportedError, aJ as SecurityScheme, az as SecuritySchemeBase, bc as SendMessageRequest, bk as SendMessageResponse, bj as SendMessageSuccessResponse, bd as SendStreamingMessageRequest, bm as SendStreamingMessageResponse, bl as SendStreamingMessageSuccessResponse, bg as SetTaskPushNotificationConfigRequest, bs as SetTaskPushNotificationConfigResponse, br as SetTaskPushNotificationConfigSuccessResponse, d4 as StatusComponent, d3 as StatusUpdateSettings, cY as SummaryEvent, dd as TOOL_STATUS_VALUES, aN as Task, bO as TaskApiInsert, bN as TaskApiSelect, bP as TaskApiUpdate, by as TaskArtifact, aP as TaskArtifactUpdateEvent, b3 as TaskIdParams, ai as TaskInsert, T as TaskMetadataConfig, aW as TaskNotCancelableError, aV as TaskNotFoundError, b2 as TaskPushNotificationConfig, b4 as TaskQueryParams, bU as TaskRelationApiInsert, bT as TaskRelationApiSelect, bV as TaskRelationApiUpdate, bR as TaskRelationInsert, bQ as TaskRelationSelect, bS as TaskRelationUpdate, bi as TaskResubscriptionRequest, aj as TaskSelect, av as TaskState, aM as TaskStatus, aO as TaskStatusUpdateEvent, bM as TaskUpdate, ap as TextPart, bX as ToolApiInsert, bW as ToolApiSelect, bY as ToolApiUpdate, cT as ToolDefinition, al as ToolInsert, f as ToolMcpConfig, Z as ToolSelect, g as ToolServerCapabilities, am as ToolUpdate, aY as UnsupportedOperationError, de as VALID_RELATION_TYPES } from '../utility-C3eMTvpr.cjs';
|
|
3
3
|
import { Context } from 'hono';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'drizzle-zod';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as CredentialStoreType } from '../utility-
|
|
2
|
-
export { a$ as A2AError, bv as A2ARequest, bw as A2AResponse, aA as APIKeySecurityScheme, bA as AgentApiInsert, bz as AgentApiSelect, bB as AgentApiUpdate, ct as AgentArtifactComponentApiInsert, cs as AgentArtifactComponentApiSelect, cu as AgentArtifactComponentApiUpdate, cq as AgentArtifactComponentInsert, cp as AgentArtifactComponentSelect, cr as AgentArtifactComponentUpdate, aw as AgentCapabilities, aK as AgentCard, d6 as AgentConversationHistoryConfig, ck as AgentDataComponentApiInsert, cj as AgentDataComponentApiSelect, cl as AgentDataComponentApiUpdate, ch as AgentDataComponentInsert, cg as AgentDataComponentSelect, ci as AgentDataComponentUpdate, cS as AgentDefinition, bK as AgentGraphApiInsert, bJ as AgentGraphApiSelect, bL as AgentGraphApiUpdate, q as AgentGraphInsert, bI as AgentGraphSelect, r as AgentGraphUpdate, x as AgentInsert, ax as AgentProvider, bE as AgentRelationApiInsert, bD as AgentRelationApiSelect, bF as AgentRelationApiUpdate, u as AgentRelationInsert, bG as AgentRelationQuery, bC as AgentRelationSelect, v as AgentRelationUpdate, t as AgentScopeConfig, z as AgentSelect, ay as AgentSkill, cI as AgentToolRelationApiInsert, cH as AgentToolRelationApiSelect, cJ as AgentToolRelationApiUpdate, cG as AgentToolRelationInsert, cF as AgentToolRelationSelect, w as AgentToolRelationUpdate, y as AgentUpdate, cy as AllAgentSelect, cC as ApiKeyApiCreationResponse, cA as ApiKeyApiInsert, cz as ApiKeyApiSelect, cB as ApiKeyApiUpdate, J as ApiKeyCreateResult, D as ApiKeyInsert, B as ApiKeySelect, H as ApiKeyUpdate, a6 as Artifact, cn as ArtifactComponentApiInsert, cm as ArtifactComponentApiSelect, co as ArtifactComponentApiUpdate, L as ArtifactComponentInsert, K as ArtifactComponentSelect, N as ArtifactComponentUpdate, aD as AuthorizationCodeOAuthFlow, cQ as CanUseItem, bf as CancelTaskRequest, bq as CancelTaskResponse, bp as CancelTaskSuccessResponse, aE as ClientCredentialsOAuthFlow, aZ as ContentTypeNotSupportedError, cb as ContextCacheApiInsert, ca as ContextCacheApiSelect, cc as ContextCacheApiUpdate, d7 as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, c9 as ContextCacheUpdate, c5 as ContextConfigApiInsert, c4 as ContextConfigApiSelect, c6 as ContextConfigApiUpdate, R as ContextConfigInsert, l as ContextConfigSelect, U as ContextConfigUpdate, e as ContextFetchDefinition, b_ as ConversationApiInsert, bZ as ConversationApiSelect, b$ as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, h as ConversationMetadata, d5 as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, I as CreateApiKeyParams, k as CredentialReferenceApiInsert, cD as CredentialReferenceApiSelect, cE as CredentialReferenceApiUpdate, _ as CredentialReferenceInsert, Y as CredentialReferenceSelect, $ as CredentialReferenceUpdate, ce as DataComponentApiInsert, cd as DataComponentApiSelect, cf as DataComponentApiUpdate, a1 as DataComponentInsert, a0 as DataComponentSelect, a2 as DataComponentUpdate, au as DataPart, an as ExecutionContext, cw as ExternalAgentApiInsert, cv as ExternalAgentApiSelect, cx as ExternalAgentApiUpdate, a3 as ExternalAgentInsert, bH as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, c8 as FetchConfig, c7 as FetchDefinition, aq as FileBase, at as FilePart, ar as FileWithBytes, as as FileWithUri, cP as FullGraphAgentInsert, s as FullGraphDefinition, ab as FullProjectDefinition, bh as GetTaskPushNotificationConfigRequest, bu as GetTaskPushNotificationConfigResponse, bt as GetTaskPushNotificationConfigSuccessResponse, be as GetTaskRequest, bo as GetTaskResponse, bn as GetTaskSuccessResponse, n as GraphScopeConfig, aB as HTTPAuthSecurityScheme, aF as ImplicitOAuthFlow, cR as InternalAgentDefinition, aU as InternalError, a_ as InvalidAgentResponseError, aT as InvalidParamsError, aR as InvalidRequestError, aQ as JSONParseError, b9 as JSONRPCError, bb as JSONRPCErrorResponse, b7 as JSONRPCMessage, b8 as JSONRPCRequest, ba as JSONRPCResult, cN as LedgerArtifactApiInsert, cM as LedgerArtifactApiSelect, cO as LedgerArtifactApiUpdate, cK as LedgerArtifactInsert, a7 as LedgerArtifactSelect, cL as LedgerArtifactUpdate, df as MCPServerType, m as MCPToolConfig, M as MCPTransportType, d8 as McpAuthType, d9 as McpServerAuth, db as McpServerCapabilities, ak as McpTool, dc as McpToolDefinition, da as McpTransportConfig, aL as Message, c2 as MessageApiInsert, c1 as MessageApiSelect, c3 as MessageApiUpdate, i as MessageContent, a9 as MessageInsert, j as MessageMetadata, c$ as MessageMode, bx as MessagePart, c_ as MessageRole, c0 as MessageSelect, b5 as MessageSendConfiguration, b6 as MessageSendParams, cZ as MessageType, aa as MessageUpdate, a8 as MessageVisibility, aS as MethodNotFoundError, d2 as ModelSettings, d0 as Models, aH as OAuth2SecurityScheme, aC as OAuthFlows, aI as OpenIdConnectSecurityScheme, cX as Pagination, p as PaginationConfig, ae as PaginationResult, P as Part, ao as PartBase, aG as PasswordOAuthFlow, cV as ProjectApiInsert, cU as ProjectApiSelect, cW as ProjectApiUpdate, ac as ProjectInfo, ag as ProjectInsert, d1 as ProjectModels, af as ProjectResourceCounts, o as ProjectScopeConfig, ad as ProjectSelect, ah as ProjectUpdate, b0 as PushNotificationAuthenticationInfo, b1 as PushNotificationConfig, aX as PushNotificationNotSupportedError, aJ as SecurityScheme, az as SecuritySchemeBase, bc as SendMessageRequest, bk as SendMessageResponse, bj as SendMessageSuccessResponse, bd as SendStreamingMessageRequest, bm as SendStreamingMessageResponse, bl as SendStreamingMessageSuccessResponse, bg as SetTaskPushNotificationConfigRequest, bs as SetTaskPushNotificationConfigResponse, br as SetTaskPushNotificationConfigSuccessResponse, d4 as StatusComponent, d3 as StatusUpdateSettings, cY as SummaryEvent, dd as TOOL_STATUS_VALUES, aN as Task, bO as TaskApiInsert, bN as TaskApiSelect, bP as TaskApiUpdate, by as TaskArtifact, aP as TaskArtifactUpdateEvent, b3 as TaskIdParams, ai as TaskInsert, T as TaskMetadataConfig, aW as TaskNotCancelableError, aV as TaskNotFoundError, b2 as TaskPushNotificationConfig, b4 as TaskQueryParams, bU as TaskRelationApiInsert, bT as TaskRelationApiSelect, bV as TaskRelationApiUpdate, bR as TaskRelationInsert, bQ as TaskRelationSelect, bS as TaskRelationUpdate, bi as TaskResubscriptionRequest, aj as TaskSelect, av as TaskState, aM as TaskStatus, aO as TaskStatusUpdateEvent, bM as TaskUpdate, ap as TextPart, bX as ToolApiInsert, bW as ToolApiSelect, bY as ToolApiUpdate, cT as ToolDefinition, al as ToolInsert, f as ToolMcpConfig, Z as ToolSelect, g as ToolServerCapabilities, am as ToolUpdate, aY as UnsupportedOperationError, de as VALID_RELATION_TYPES } from '../utility-
|
|
1
|
+
import { d as CredentialStoreType } from '../utility-C3eMTvpr.js';
|
|
2
|
+
export { a$ as A2AError, bv as A2ARequest, bw as A2AResponse, aA as APIKeySecurityScheme, bA as AgentApiInsert, bz as AgentApiSelect, bB as AgentApiUpdate, ct as AgentArtifactComponentApiInsert, cs as AgentArtifactComponentApiSelect, cu as AgentArtifactComponentApiUpdate, cq as AgentArtifactComponentInsert, cp as AgentArtifactComponentSelect, cr as AgentArtifactComponentUpdate, aw as AgentCapabilities, aK as AgentCard, d6 as AgentConversationHistoryConfig, ck as AgentDataComponentApiInsert, cj as AgentDataComponentApiSelect, cl as AgentDataComponentApiUpdate, ch as AgentDataComponentInsert, cg as AgentDataComponentSelect, ci as AgentDataComponentUpdate, cS as AgentDefinition, bK as AgentGraphApiInsert, bJ as AgentGraphApiSelect, bL as AgentGraphApiUpdate, q as AgentGraphInsert, bI as AgentGraphSelect, r as AgentGraphUpdate, x as AgentInsert, ax as AgentProvider, bE as AgentRelationApiInsert, bD as AgentRelationApiSelect, bF as AgentRelationApiUpdate, u as AgentRelationInsert, bG as AgentRelationQuery, bC as AgentRelationSelect, v as AgentRelationUpdate, t as AgentScopeConfig, z as AgentSelect, ay as AgentSkill, cI as AgentToolRelationApiInsert, cH as AgentToolRelationApiSelect, cJ as AgentToolRelationApiUpdate, cG as AgentToolRelationInsert, cF as AgentToolRelationSelect, w as AgentToolRelationUpdate, y as AgentUpdate, cy as AllAgentSelect, cC as ApiKeyApiCreationResponse, cA as ApiKeyApiInsert, cz as ApiKeyApiSelect, cB as ApiKeyApiUpdate, J as ApiKeyCreateResult, D as ApiKeyInsert, B as ApiKeySelect, H as ApiKeyUpdate, a6 as Artifact, cn as ArtifactComponentApiInsert, cm as ArtifactComponentApiSelect, co as ArtifactComponentApiUpdate, L as ArtifactComponentInsert, K as ArtifactComponentSelect, N as ArtifactComponentUpdate, aD as AuthorizationCodeOAuthFlow, cQ as CanUseItem, bf as CancelTaskRequest, bq as CancelTaskResponse, bp as CancelTaskSuccessResponse, aE as ClientCredentialsOAuthFlow, aZ as ContentTypeNotSupportedError, cb as ContextCacheApiInsert, ca as ContextCacheApiSelect, cc as ContextCacheApiUpdate, d7 as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, c9 as ContextCacheUpdate, c5 as ContextConfigApiInsert, c4 as ContextConfigApiSelect, c6 as ContextConfigApiUpdate, R as ContextConfigInsert, l as ContextConfigSelect, U as ContextConfigUpdate, e as ContextFetchDefinition, b_ as ConversationApiInsert, bZ as ConversationApiSelect, b$ as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, h as ConversationMetadata, d5 as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, I as CreateApiKeyParams, k as CredentialReferenceApiInsert, cD as CredentialReferenceApiSelect, cE as CredentialReferenceApiUpdate, _ as CredentialReferenceInsert, Y as CredentialReferenceSelect, $ as CredentialReferenceUpdate, ce as DataComponentApiInsert, cd as DataComponentApiSelect, cf as DataComponentApiUpdate, a1 as DataComponentInsert, a0 as DataComponentSelect, a2 as DataComponentUpdate, au as DataPart, an as ExecutionContext, cw as ExternalAgentApiInsert, cv as ExternalAgentApiSelect, cx as ExternalAgentApiUpdate, a3 as ExternalAgentInsert, bH as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a4 as ExternalAgentSelect, a5 as ExternalAgentUpdate, c8 as FetchConfig, c7 as FetchDefinition, aq as FileBase, at as FilePart, ar as FileWithBytes, as as FileWithUri, cP as FullGraphAgentInsert, s as FullGraphDefinition, ab as FullProjectDefinition, bh as GetTaskPushNotificationConfigRequest, bu as GetTaskPushNotificationConfigResponse, bt as GetTaskPushNotificationConfigSuccessResponse, be as GetTaskRequest, bo as GetTaskResponse, bn as GetTaskSuccessResponse, n as GraphScopeConfig, aB as HTTPAuthSecurityScheme, aF as ImplicitOAuthFlow, cR as InternalAgentDefinition, aU as InternalError, a_ as InvalidAgentResponseError, aT as InvalidParamsError, aR as InvalidRequestError, aQ as JSONParseError, b9 as JSONRPCError, bb as JSONRPCErrorResponse, b7 as JSONRPCMessage, b8 as JSONRPCRequest, ba as JSONRPCResult, cN as LedgerArtifactApiInsert, cM as LedgerArtifactApiSelect, cO as LedgerArtifactApiUpdate, cK as LedgerArtifactInsert, a7 as LedgerArtifactSelect, cL as LedgerArtifactUpdate, df as MCPServerType, m as MCPToolConfig, M as MCPTransportType, d8 as McpAuthType, d9 as McpServerAuth, db as McpServerCapabilities, ak as McpTool, dc as McpToolDefinition, da as McpTransportConfig, aL as Message, c2 as MessageApiInsert, c1 as MessageApiSelect, c3 as MessageApiUpdate, i as MessageContent, a9 as MessageInsert, j as MessageMetadata, c$ as MessageMode, bx as MessagePart, c_ as MessageRole, c0 as MessageSelect, b5 as MessageSendConfiguration, b6 as MessageSendParams, cZ as MessageType, aa as MessageUpdate, a8 as MessageVisibility, aS as MethodNotFoundError, d2 as ModelSettings, d0 as Models, aH as OAuth2SecurityScheme, aC as OAuthFlows, aI as OpenIdConnectSecurityScheme, cX as Pagination, p as PaginationConfig, ae as PaginationResult, P as Part, ao as PartBase, aG as PasswordOAuthFlow, cV as ProjectApiInsert, cU as ProjectApiSelect, cW as ProjectApiUpdate, ac as ProjectInfo, ag as ProjectInsert, d1 as ProjectModels, af as ProjectResourceCounts, o as ProjectScopeConfig, ad as ProjectSelect, ah as ProjectUpdate, b0 as PushNotificationAuthenticationInfo, b1 as PushNotificationConfig, aX as PushNotificationNotSupportedError, aJ as SecurityScheme, az as SecuritySchemeBase, bc as SendMessageRequest, bk as SendMessageResponse, bj as SendMessageSuccessResponse, bd as SendStreamingMessageRequest, bm as SendStreamingMessageResponse, bl as SendStreamingMessageSuccessResponse, bg as SetTaskPushNotificationConfigRequest, bs as SetTaskPushNotificationConfigResponse, br as SetTaskPushNotificationConfigSuccessResponse, d4 as StatusComponent, d3 as StatusUpdateSettings, cY as SummaryEvent, dd as TOOL_STATUS_VALUES, aN as Task, bO as TaskApiInsert, bN as TaskApiSelect, bP as TaskApiUpdate, by as TaskArtifact, aP as TaskArtifactUpdateEvent, b3 as TaskIdParams, ai as TaskInsert, T as TaskMetadataConfig, aW as TaskNotCancelableError, aV as TaskNotFoundError, b2 as TaskPushNotificationConfig, b4 as TaskQueryParams, bU as TaskRelationApiInsert, bT as TaskRelationApiSelect, bV as TaskRelationApiUpdate, bR as TaskRelationInsert, bQ as TaskRelationSelect, bS as TaskRelationUpdate, bi as TaskResubscriptionRequest, aj as TaskSelect, av as TaskState, aM as TaskStatus, aO as TaskStatusUpdateEvent, bM as TaskUpdate, ap as TextPart, bX as ToolApiInsert, bW as ToolApiSelect, bY as ToolApiUpdate, cT as ToolDefinition, al as ToolInsert, f as ToolMcpConfig, Z as ToolSelect, g as ToolServerCapabilities, am as ToolUpdate, aY as UnsupportedOperationError, de as VALID_RELATION_TYPES } from '../utility-C3eMTvpr.js';
|
|
3
3
|
import { Context } from 'hono';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'drizzle-zod';
|
|
@@ -148,6 +148,7 @@ interface Artifact {
|
|
|
148
148
|
type?: string;
|
|
149
149
|
parts: Part[];
|
|
150
150
|
taskId?: string;
|
|
151
|
+
toolCallId?: string;
|
|
151
152
|
metadata?: {
|
|
152
153
|
[key: string]: any;
|
|
153
154
|
};
|
|
@@ -6482,6 +6483,25 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6482
6483
|
columnType: "SQLiteText";
|
|
6483
6484
|
data: string;
|
|
6484
6485
|
driverParam: string;
|
|
6486
|
+
notNull: true;
|
|
6487
|
+
hasDefault: false;
|
|
6488
|
+
isPrimaryKey: false;
|
|
6489
|
+
isAutoincrement: false;
|
|
6490
|
+
hasRuntimeDefault: false;
|
|
6491
|
+
enumValues: [string, ...string[]];
|
|
6492
|
+
baseColumn: never;
|
|
6493
|
+
identity: undefined;
|
|
6494
|
+
generated: undefined;
|
|
6495
|
+
}, {}, {
|
|
6496
|
+
length: number | undefined;
|
|
6497
|
+
}>;
|
|
6498
|
+
toolCallId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6499
|
+
name: "tool_call_id";
|
|
6500
|
+
tableName: "ledger_artifacts";
|
|
6501
|
+
dataType: "string";
|
|
6502
|
+
columnType: "SQLiteText";
|
|
6503
|
+
data: string;
|
|
6504
|
+
driverParam: string;
|
|
6485
6505
|
notNull: false;
|
|
6486
6506
|
hasDefault: false;
|
|
6487
6507
|
isPrimaryKey: false;
|
|
@@ -6807,6 +6827,25 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
6807
6827
|
columnType: "SQLiteText";
|
|
6808
6828
|
data: string;
|
|
6809
6829
|
driverParam: string;
|
|
6830
|
+
notNull: true;
|
|
6831
|
+
hasDefault: false;
|
|
6832
|
+
isPrimaryKey: false;
|
|
6833
|
+
isAutoincrement: false;
|
|
6834
|
+
hasRuntimeDefault: false;
|
|
6835
|
+
enumValues: [string, ...string[]];
|
|
6836
|
+
baseColumn: never;
|
|
6837
|
+
identity: undefined;
|
|
6838
|
+
generated: undefined;
|
|
6839
|
+
}, {}, {
|
|
6840
|
+
length: number | undefined;
|
|
6841
|
+
}>;
|
|
6842
|
+
toolCallId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6843
|
+
name: "tool_call_id";
|
|
6844
|
+
tableName: "ledger_artifacts";
|
|
6845
|
+
dataType: "string";
|
|
6846
|
+
columnType: "SQLiteText";
|
|
6847
|
+
data: string;
|
|
6848
|
+
driverParam: string;
|
|
6810
6849
|
notNull: false;
|
|
6811
6850
|
hasDefault: false;
|
|
6812
6851
|
isPrimaryKey: false;
|
|
@@ -7071,7 +7110,8 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
7071
7110
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
7072
7111
|
projectId: z.ZodOptional<z.ZodString>;
|
|
7073
7112
|
id: z.ZodOptional<z.ZodString>;
|
|
7074
|
-
taskId: z.ZodOptional<z.
|
|
7113
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
7114
|
+
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7075
7115
|
contextId: z.ZodOptional<z.ZodString>;
|
|
7076
7116
|
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7077
7117
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -7099,7 +7139,8 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
|
7099
7139
|
metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
7100
7140
|
contextId: z.ZodString;
|
|
7101
7141
|
visibility: z.ZodNullable<z.ZodString>;
|
|
7102
|
-
taskId: z.
|
|
7142
|
+
taskId: z.ZodString;
|
|
7143
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
7103
7144
|
parts: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
7104
7145
|
summary: z.ZodNullable<z.ZodString>;
|
|
7105
7146
|
mime: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
@@ -7116,7 +7157,8 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
|
7116
7157
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
7117
7158
|
contextId: z.ZodString;
|
|
7118
7159
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7119
|
-
taskId: z.
|
|
7160
|
+
taskId: z.ZodString;
|
|
7161
|
+
toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7120
7162
|
parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
7121
7163
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7122
7164
|
mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
@@ -7133,7 +7175,8 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
|
7133
7175
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
7134
7176
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7135
7177
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7136
|
-
taskId: z.ZodOptional<z.ZodOptional<z.
|
|
7178
|
+
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7179
|
+
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7137
7180
|
parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
7138
7181
|
summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7139
7182
|
mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
@@ -148,6 +148,7 @@ interface Artifact {
|
|
|
148
148
|
type?: string;
|
|
149
149
|
parts: Part[];
|
|
150
150
|
taskId?: string;
|
|
151
|
+
toolCallId?: string;
|
|
151
152
|
metadata?: {
|
|
152
153
|
[key: string]: any;
|
|
153
154
|
};
|
|
@@ -6482,6 +6483,25 @@ declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
|
6482
6483
|
columnType: "SQLiteText";
|
|
6483
6484
|
data: string;
|
|
6484
6485
|
driverParam: string;
|
|
6486
|
+
notNull: true;
|
|
6487
|
+
hasDefault: false;
|
|
6488
|
+
isPrimaryKey: false;
|
|
6489
|
+
isAutoincrement: false;
|
|
6490
|
+
hasRuntimeDefault: false;
|
|
6491
|
+
enumValues: [string, ...string[]];
|
|
6492
|
+
baseColumn: never;
|
|
6493
|
+
identity: undefined;
|
|
6494
|
+
generated: undefined;
|
|
6495
|
+
}, {}, {
|
|
6496
|
+
length: number | undefined;
|
|
6497
|
+
}>;
|
|
6498
|
+
toolCallId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6499
|
+
name: "tool_call_id";
|
|
6500
|
+
tableName: "ledger_artifacts";
|
|
6501
|
+
dataType: "string";
|
|
6502
|
+
columnType: "SQLiteText";
|
|
6503
|
+
data: string;
|
|
6504
|
+
driverParam: string;
|
|
6485
6505
|
notNull: false;
|
|
6486
6506
|
hasDefault: false;
|
|
6487
6507
|
isPrimaryKey: false;
|
|
@@ -6807,6 +6827,25 @@ declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
|
6807
6827
|
columnType: "SQLiteText";
|
|
6808
6828
|
data: string;
|
|
6809
6829
|
driverParam: string;
|
|
6830
|
+
notNull: true;
|
|
6831
|
+
hasDefault: false;
|
|
6832
|
+
isPrimaryKey: false;
|
|
6833
|
+
isAutoincrement: false;
|
|
6834
|
+
hasRuntimeDefault: false;
|
|
6835
|
+
enumValues: [string, ...string[]];
|
|
6836
|
+
baseColumn: never;
|
|
6837
|
+
identity: undefined;
|
|
6838
|
+
generated: undefined;
|
|
6839
|
+
}, {}, {
|
|
6840
|
+
length: number | undefined;
|
|
6841
|
+
}>;
|
|
6842
|
+
toolCallId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6843
|
+
name: "tool_call_id";
|
|
6844
|
+
tableName: "ledger_artifacts";
|
|
6845
|
+
dataType: "string";
|
|
6846
|
+
columnType: "SQLiteText";
|
|
6847
|
+
data: string;
|
|
6848
|
+
driverParam: string;
|
|
6810
6849
|
notNull: false;
|
|
6811
6850
|
hasDefault: false;
|
|
6812
6851
|
isPrimaryKey: false;
|
|
@@ -7071,7 +7110,8 @@ declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
7071
7110
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
7072
7111
|
projectId: z.ZodOptional<z.ZodString>;
|
|
7073
7112
|
id: z.ZodOptional<z.ZodString>;
|
|
7074
|
-
taskId: z.ZodOptional<z.
|
|
7113
|
+
taskId: z.ZodOptional<z.ZodString>;
|
|
7114
|
+
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
7075
7115
|
contextId: z.ZodOptional<z.ZodString>;
|
|
7076
7116
|
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7077
7117
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -7099,7 +7139,8 @@ declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
|
7099
7139
|
metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
7100
7140
|
contextId: z.ZodString;
|
|
7101
7141
|
visibility: z.ZodNullable<z.ZodString>;
|
|
7102
|
-
taskId: z.
|
|
7142
|
+
taskId: z.ZodString;
|
|
7143
|
+
toolCallId: z.ZodNullable<z.ZodString>;
|
|
7103
7144
|
parts: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
7104
7145
|
summary: z.ZodNullable<z.ZodString>;
|
|
7105
7146
|
mime: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
@@ -7116,7 +7157,8 @@ declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
|
7116
7157
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
7117
7158
|
contextId: z.ZodString;
|
|
7118
7159
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7119
|
-
taskId: z.
|
|
7160
|
+
taskId: z.ZodString;
|
|
7161
|
+
toolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7120
7162
|
parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
7121
7163
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7122
7164
|
mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
@@ -7133,7 +7175,8 @@ declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
|
7133
7175
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
7134
7176
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7135
7177
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7136
|
-
taskId: z.ZodOptional<z.ZodOptional<z.
|
|
7178
|
+
taskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7179
|
+
toolCallId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7137
7180
|
parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
7138
7181
|
summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
7139
7182
|
mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
@@ -496,7 +496,9 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
|
|
|
496
496
|
projectId: sqliteCore.text("project_id").notNull(),
|
|
497
497
|
id: sqliteCore.text("id").notNull(),
|
|
498
498
|
// Links
|
|
499
|
-
taskId: sqliteCore.text("task_id"),
|
|
499
|
+
taskId: sqliteCore.text("task_id").notNull(),
|
|
500
|
+
toolCallId: sqliteCore.text("tool_call_id"),
|
|
501
|
+
// Added for traceability to the specific tool execution
|
|
500
502
|
contextId: sqliteCore.text("context_id").notNull(),
|
|
501
503
|
// Core Artifact fields
|
|
502
504
|
type: sqliteCore.text("type").notNull().default("source"),
|
|
@@ -515,7 +517,7 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
|
|
|
515
517
|
updatedAt: sqliteCore.text("updated_at").notNull().default(drizzleOrm.sql`CURRENT_TIMESTAMP`)
|
|
516
518
|
},
|
|
517
519
|
(table) => [
|
|
518
|
-
sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.id] }),
|
|
520
|
+
sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.id, table.taskId] }),
|
|
519
521
|
sqliteCore.foreignKey({
|
|
520
522
|
columns: [table.tenantId, table.projectId],
|
|
521
523
|
foreignColumns: [projects.tenantId, projects.id],
|
|
@@ -584,6 +586,9 @@ var credentialReferences = sqliteCore.sqliteTable(
|
|
|
584
586
|
sqliteCore.index("ledger_artifacts_task_id_idx").on(
|
|
585
587
|
ledgerArtifacts.taskId
|
|
586
588
|
);
|
|
589
|
+
sqliteCore.index("ledger_artifacts_tool_call_id_idx").on(
|
|
590
|
+
ledgerArtifacts.toolCallId
|
|
591
|
+
);
|
|
587
592
|
sqliteCore.index("ledger_artifacts_context_id_idx").on(
|
|
588
593
|
ledgerArtifacts.contextId
|
|
589
594
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cS as AgentDefinition, cR as InternalAgentDefinition, cw as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, s as FullGraphDefinition } from '../utility-
|
|
3
|
-
export { ds as AgentApiInsertSchema, dr as AgentApiSelectSchema, dt as AgentApiUpdateSchema, eD as AgentArtifactComponentApiInsertSchema, eC as AgentArtifactComponentApiSelectSchema, eE as AgentArtifactComponentApiUpdateSchema, eA as AgentArtifactComponentInsertSchema, ez as AgentArtifactComponentSelectSchema, eB as AgentArtifactComponentUpdateSchema, er as AgentDataComponentApiInsertSchema, eq as AgentDataComponentApiSelectSchema, es as AgentDataComponentApiUpdateSchema, eo as AgentDataComponentInsertSchema, en as AgentDataComponentSelectSchema, ep as AgentDataComponentUpdateSchema, dH as AgentGraphApiInsertSchema, dG as AgentGraphApiSelectSchema, dI as AgentGraphApiUpdateSchema, dE as AgentGraphInsertSchema, dD as AgentGraphSelectSchema, dF as AgentGraphUpdateSchema, dp as AgentInsertSchema, dy as AgentRelationApiInsertSchema, dx as AgentRelationApiSelectSchema, dz as AgentRelationApiUpdateSchema, dv as AgentRelationInsertSchema, dA as AgentRelationQuerySchema, du as AgentRelationSelectSchema, dw as AgentRelationUpdateSchema, dn as AgentSelectSchema, c as AgentStopWhen, A as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dq as AgentUpdateSchema, eL as AllAgentSchema, eQ as ApiKeyApiCreationResponseSchema, eR as ApiKeyApiInsertSchema, eP as ApiKeyApiSelectSchema, eS as ApiKeyApiUpdateSchema, eN as ApiKeyInsertSchema, eM as ApiKeySelectSchema, eO as ApiKeyUpdateSchema, ex as ArtifactComponentApiInsertSchema, ew as ArtifactComponentApiSelectSchema, ey as ArtifactComponentApiUpdateSchema, eu as ArtifactComponentInsertSchema, et as ArtifactComponentSelectSchema, ev as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ee as ContextCacheApiInsertSchema, ed as ContextCacheApiSelectSchema, ef as ContextCacheApiUpdateSchema, eb as ContextCacheInsertSchema, ea as ContextCacheSelectSchema, ec as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e2 as ConversationApiInsertSchema, e1 as ConversationApiSelectSchema, e3 as ConversationApiUpdateSchema, d$ as ConversationInsertSchema, d_ as ConversationSelectSchema, e0 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, el as DataComponentApiInsertSchema, ek as DataComponentApiSelectSchema, em as DataComponentApiUpdateSchema, ei as DataComponentBaseSchema, eh as DataComponentInsertSchema, eg as DataComponentSelectSchema, ej as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eJ as ExternalAgentApiInsertSchema, eI as ExternalAgentApiSelectSchema, eK as ExternalAgentApiUpdateSchema, eG as ExternalAgentInsertSchema, dC as ExternalAgentRelationApiInsertSchema, dB as ExternalAgentRelationInsertSchema, eF as ExternalAgentSelectSchema, eH as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, b as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dh as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, dg as MIN_ID_LENGTH, dX as McpToolDefinitionSchema, eZ as McpToolSchema, dV as McpTransportConfigSchema, e8 as MessageApiInsertSchema, e7 as MessageApiSelectSchema, e9 as MessageApiUpdateSchema, e5 as MessageInsertSchema, e4 as MessageSelectSchema, e6 as MessageUpdateSchema, dl as ModelSchema, dk as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dm as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, a as StopWhen, S as StopWhenSchema, dN as TaskApiInsertSchema, dM as TaskApiSelectSchema, dO as TaskApiUpdateSchema, dK as TaskInsertSchema, dT as TaskRelationApiInsertSchema, dS as TaskRelationApiSelectSchema, dU as TaskRelationApiUpdateSchema, dQ as TaskRelationInsertSchema, dP as TaskRelationSelectSchema, dR as TaskRelationUpdateSchema, dJ as TaskSelectSchema, dL as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, dZ as ToolInsertSchema, dY as ToolSelectSchema, dW as ToolStatusSchema, e$ as ToolUpdateSchema, di as URL_SAFE_ID_PATTERN, dj as resourceIdSchema } from '../utility-
|
|
2
|
+
import { cS as AgentDefinition, cR as InternalAgentDefinition, cw as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, s as FullGraphDefinition } from '../utility-C3eMTvpr.cjs';
|
|
3
|
+
export { ds as AgentApiInsertSchema, dr as AgentApiSelectSchema, dt as AgentApiUpdateSchema, eD as AgentArtifactComponentApiInsertSchema, eC as AgentArtifactComponentApiSelectSchema, eE as AgentArtifactComponentApiUpdateSchema, eA as AgentArtifactComponentInsertSchema, ez as AgentArtifactComponentSelectSchema, eB as AgentArtifactComponentUpdateSchema, er as AgentDataComponentApiInsertSchema, eq as AgentDataComponentApiSelectSchema, es as AgentDataComponentApiUpdateSchema, eo as AgentDataComponentInsertSchema, en as AgentDataComponentSelectSchema, ep as AgentDataComponentUpdateSchema, dH as AgentGraphApiInsertSchema, dG as AgentGraphApiSelectSchema, dI as AgentGraphApiUpdateSchema, dE as AgentGraphInsertSchema, dD as AgentGraphSelectSchema, dF as AgentGraphUpdateSchema, dp as AgentInsertSchema, dy as AgentRelationApiInsertSchema, dx as AgentRelationApiSelectSchema, dz as AgentRelationApiUpdateSchema, dv as AgentRelationInsertSchema, dA as AgentRelationQuerySchema, du as AgentRelationSelectSchema, dw as AgentRelationUpdateSchema, dn as AgentSelectSchema, c as AgentStopWhen, A as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dq as AgentUpdateSchema, eL as AllAgentSchema, eQ as ApiKeyApiCreationResponseSchema, eR as ApiKeyApiInsertSchema, eP as ApiKeyApiSelectSchema, eS as ApiKeyApiUpdateSchema, eN as ApiKeyInsertSchema, eM as ApiKeySelectSchema, eO as ApiKeyUpdateSchema, ex as ArtifactComponentApiInsertSchema, ew as ArtifactComponentApiSelectSchema, ey as ArtifactComponentApiUpdateSchema, eu as ArtifactComponentInsertSchema, et as ArtifactComponentSelectSchema, ev as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ee as ContextCacheApiInsertSchema, ed as ContextCacheApiSelectSchema, ef as ContextCacheApiUpdateSchema, eb as ContextCacheInsertSchema, ea as ContextCacheSelectSchema, ec as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e2 as ConversationApiInsertSchema, e1 as ConversationApiSelectSchema, e3 as ConversationApiUpdateSchema, d$ as ConversationInsertSchema, d_ as ConversationSelectSchema, e0 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, el as DataComponentApiInsertSchema, ek as DataComponentApiSelectSchema, em as DataComponentApiUpdateSchema, ei as DataComponentBaseSchema, eh as DataComponentInsertSchema, eg as DataComponentSelectSchema, ej as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eJ as ExternalAgentApiInsertSchema, eI as ExternalAgentApiSelectSchema, eK as ExternalAgentApiUpdateSchema, eG as ExternalAgentInsertSchema, dC as ExternalAgentRelationApiInsertSchema, dB as ExternalAgentRelationInsertSchema, eF as ExternalAgentSelectSchema, eH as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, b as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dh as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, dg as MIN_ID_LENGTH, dX as McpToolDefinitionSchema, eZ as McpToolSchema, dV as McpTransportConfigSchema, e8 as MessageApiInsertSchema, e7 as MessageApiSelectSchema, e9 as MessageApiUpdateSchema, e5 as MessageInsertSchema, e4 as MessageSelectSchema, e6 as MessageUpdateSchema, dl as ModelSchema, dk as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dm as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, a as StopWhen, S as StopWhenSchema, dN as TaskApiInsertSchema, dM as TaskApiSelectSchema, dO as TaskApiUpdateSchema, dK as TaskInsertSchema, dT as TaskRelationApiInsertSchema, dS as TaskRelationApiSelectSchema, dU as TaskRelationApiUpdateSchema, dQ as TaskRelationInsertSchema, dP as TaskRelationSelectSchema, dR as TaskRelationUpdateSchema, dJ as TaskSelectSchema, dL as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, dZ as ToolInsertSchema, dY as ToolSelectSchema, dW as ToolStatusSchema, e$ as ToolUpdateSchema, di as URL_SAFE_ID_PATTERN, dj as resourceIdSchema } from '../utility-C3eMTvpr.cjs';
|
|
4
4
|
import 'drizzle-zod';
|
|
5
5
|
import 'drizzle-orm/sqlite-core';
|
|
6
6
|
import '@hono/zod-openapi';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cS as AgentDefinition, cR as InternalAgentDefinition, cw as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, s as FullGraphDefinition } from '../utility-
|
|
3
|
-
export { ds as AgentApiInsertSchema, dr as AgentApiSelectSchema, dt as AgentApiUpdateSchema, eD as AgentArtifactComponentApiInsertSchema, eC as AgentArtifactComponentApiSelectSchema, eE as AgentArtifactComponentApiUpdateSchema, eA as AgentArtifactComponentInsertSchema, ez as AgentArtifactComponentSelectSchema, eB as AgentArtifactComponentUpdateSchema, er as AgentDataComponentApiInsertSchema, eq as AgentDataComponentApiSelectSchema, es as AgentDataComponentApiUpdateSchema, eo as AgentDataComponentInsertSchema, en as AgentDataComponentSelectSchema, ep as AgentDataComponentUpdateSchema, dH as AgentGraphApiInsertSchema, dG as AgentGraphApiSelectSchema, dI as AgentGraphApiUpdateSchema, dE as AgentGraphInsertSchema, dD as AgentGraphSelectSchema, dF as AgentGraphUpdateSchema, dp as AgentInsertSchema, dy as AgentRelationApiInsertSchema, dx as AgentRelationApiSelectSchema, dz as AgentRelationApiUpdateSchema, dv as AgentRelationInsertSchema, dA as AgentRelationQuerySchema, du as AgentRelationSelectSchema, dw as AgentRelationUpdateSchema, dn as AgentSelectSchema, c as AgentStopWhen, A as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dq as AgentUpdateSchema, eL as AllAgentSchema, eQ as ApiKeyApiCreationResponseSchema, eR as ApiKeyApiInsertSchema, eP as ApiKeyApiSelectSchema, eS as ApiKeyApiUpdateSchema, eN as ApiKeyInsertSchema, eM as ApiKeySelectSchema, eO as ApiKeyUpdateSchema, ex as ArtifactComponentApiInsertSchema, ew as ArtifactComponentApiSelectSchema, ey as ArtifactComponentApiUpdateSchema, eu as ArtifactComponentInsertSchema, et as ArtifactComponentSelectSchema, ev as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ee as ContextCacheApiInsertSchema, ed as ContextCacheApiSelectSchema, ef as ContextCacheApiUpdateSchema, eb as ContextCacheInsertSchema, ea as ContextCacheSelectSchema, ec as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e2 as ConversationApiInsertSchema, e1 as ConversationApiSelectSchema, e3 as ConversationApiUpdateSchema, d$ as ConversationInsertSchema, d_ as ConversationSelectSchema, e0 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, el as DataComponentApiInsertSchema, ek as DataComponentApiSelectSchema, em as DataComponentApiUpdateSchema, ei as DataComponentBaseSchema, eh as DataComponentInsertSchema, eg as DataComponentSelectSchema, ej as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eJ as ExternalAgentApiInsertSchema, eI as ExternalAgentApiSelectSchema, eK as ExternalAgentApiUpdateSchema, eG as ExternalAgentInsertSchema, dC as ExternalAgentRelationApiInsertSchema, dB as ExternalAgentRelationInsertSchema, eF as ExternalAgentSelectSchema, eH as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, b as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dh as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, dg as MIN_ID_LENGTH, dX as McpToolDefinitionSchema, eZ as McpToolSchema, dV as McpTransportConfigSchema, e8 as MessageApiInsertSchema, e7 as MessageApiSelectSchema, e9 as MessageApiUpdateSchema, e5 as MessageInsertSchema, e4 as MessageSelectSchema, e6 as MessageUpdateSchema, dl as ModelSchema, dk as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dm as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, a as StopWhen, S as StopWhenSchema, dN as TaskApiInsertSchema, dM as TaskApiSelectSchema, dO as TaskApiUpdateSchema, dK as TaskInsertSchema, dT as TaskRelationApiInsertSchema, dS as TaskRelationApiSelectSchema, dU as TaskRelationApiUpdateSchema, dQ as TaskRelationInsertSchema, dP as TaskRelationSelectSchema, dR as TaskRelationUpdateSchema, dJ as TaskSelectSchema, dL as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, dZ as ToolInsertSchema, dY as ToolSelectSchema, dW as ToolStatusSchema, e$ as ToolUpdateSchema, di as URL_SAFE_ID_PATTERN, dj as resourceIdSchema } from '../utility-
|
|
2
|
+
import { cS as AgentDefinition, cR as InternalAgentDefinition, cw as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, s as FullGraphDefinition } from '../utility-C3eMTvpr.js';
|
|
3
|
+
export { ds as AgentApiInsertSchema, dr as AgentApiSelectSchema, dt as AgentApiUpdateSchema, eD as AgentArtifactComponentApiInsertSchema, eC as AgentArtifactComponentApiSelectSchema, eE as AgentArtifactComponentApiUpdateSchema, eA as AgentArtifactComponentInsertSchema, ez as AgentArtifactComponentSelectSchema, eB as AgentArtifactComponentUpdateSchema, er as AgentDataComponentApiInsertSchema, eq as AgentDataComponentApiSelectSchema, es as AgentDataComponentApiUpdateSchema, eo as AgentDataComponentInsertSchema, en as AgentDataComponentSelectSchema, ep as AgentDataComponentUpdateSchema, dH as AgentGraphApiInsertSchema, dG as AgentGraphApiSelectSchema, dI as AgentGraphApiUpdateSchema, dE as AgentGraphInsertSchema, dD as AgentGraphSelectSchema, dF as AgentGraphUpdateSchema, dp as AgentInsertSchema, dy as AgentRelationApiInsertSchema, dx as AgentRelationApiSelectSchema, dz as AgentRelationApiUpdateSchema, dv as AgentRelationInsertSchema, dA as AgentRelationQuerySchema, du as AgentRelationSelectSchema, dw as AgentRelationUpdateSchema, dn as AgentSelectSchema, c as AgentStopWhen, A as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dq as AgentUpdateSchema, eL as AllAgentSchema, eQ as ApiKeyApiCreationResponseSchema, eR as ApiKeyApiInsertSchema, eP as ApiKeyApiSelectSchema, eS as ApiKeyApiUpdateSchema, eN as ApiKeyInsertSchema, eM as ApiKeySelectSchema, eO as ApiKeyUpdateSchema, ex as ArtifactComponentApiInsertSchema, ew as ArtifactComponentApiSelectSchema, ey as ArtifactComponentApiUpdateSchema, eu as ArtifactComponentInsertSchema, et as ArtifactComponentSelectSchema, ev as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ee as ContextCacheApiInsertSchema, ed as ContextCacheApiSelectSchema, ef as ContextCacheApiUpdateSchema, eb as ContextCacheInsertSchema, ea as ContextCacheSelectSchema, ec as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e2 as ConversationApiInsertSchema, e1 as ConversationApiSelectSchema, e3 as ConversationApiUpdateSchema, d$ as ConversationInsertSchema, d_ as ConversationSelectSchema, e0 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, el as DataComponentApiInsertSchema, ek as DataComponentApiSelectSchema, em as DataComponentApiUpdateSchema, ei as DataComponentBaseSchema, eh as DataComponentInsertSchema, eg as DataComponentSelectSchema, ej as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eJ as ExternalAgentApiInsertSchema, eI as ExternalAgentApiSelectSchema, eK as ExternalAgentApiUpdateSchema, eG as ExternalAgentInsertSchema, dC as ExternalAgentRelationApiInsertSchema, dB as ExternalAgentRelationInsertSchema, eF as ExternalAgentSelectSchema, eH as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, b as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dh as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, dg as MIN_ID_LENGTH, dX as McpToolDefinitionSchema, eZ as McpToolSchema, dV as McpTransportConfigSchema, e8 as MessageApiInsertSchema, e7 as MessageApiSelectSchema, e9 as MessageApiUpdateSchema, e5 as MessageInsertSchema, e4 as MessageSelectSchema, e6 as MessageUpdateSchema, dl as ModelSchema, dk as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dm as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, a as StopWhen, S as StopWhenSchema, dN as TaskApiInsertSchema, dM as TaskApiSelectSchema, dO as TaskApiUpdateSchema, dK as TaskInsertSchema, dT as TaskRelationApiInsertSchema, dS as TaskRelationApiSelectSchema, dU as TaskRelationApiUpdateSchema, dQ as TaskRelationInsertSchema, dP as TaskRelationSelectSchema, dR as TaskRelationUpdateSchema, dJ as TaskSelectSchema, dL as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, dZ as ToolInsertSchema, dY as ToolSelectSchema, dW as ToolStatusSchema, e$ as ToolUpdateSchema, di as URL_SAFE_ID_PATTERN, dj as resourceIdSchema } from '../utility-C3eMTvpr.js';
|
|
4
4
|
import 'drizzle-zod';
|
|
5
5
|
import 'drizzle-orm/sqlite-core';
|
|
6
6
|
import '@hono/zod-openapi';
|
package/dist/validation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-
|
|
2
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from '../chunk-
|
|
1
|
+
export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-GPGFF2K4.js';
|
|
2
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from '../chunk-AX77SEE3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|