@inkeep/agents-core 0.37.1 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth-schema.d.ts +47 -1
- package/dist/auth/auth-schema.js +1 -1
- package/dist/auth/auth-validation-schemas.d.ts +35 -1
- package/dist/auth/auth-validation-schemas.js +2 -2
- package/dist/auth/auth.d.ts +24 -23
- package/dist/auth/auth.js +11 -4
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.js +1 -1
- package/dist/chunk-3OPS2LN5.js +4 -0
- package/dist/{chunk-7CLFCY6J.js → chunk-7IQFIW44.js} +2 -0
- package/dist/{chunk-ZEZCCHV7.js → chunk-AJCP2QYU.js} +2 -2
- package/dist/{chunk-7GZHUB4J.js → chunk-AUGHKZEB.js} +42 -2
- package/dist/{chunk-W3QDM7WH.js → chunk-CWAFZVRI.js} +2 -2
- package/dist/{chunk-I6IF7ZTL.js → chunk-DW4DNYUS.js} +2 -2
- package/dist/chunk-GENLXHZ4.js +159 -0
- package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
- package/dist/{chunk-PVRIMF6N.js → chunk-LH6OJIIM.js} +27 -12
- package/dist/{chunk-ROXPFQAM.js → chunk-MGHGIB7U.js} +25 -31
- package/dist/{chunk-FOK3JSQN.js → chunk-S4XQEAAF.js} +7 -4
- package/dist/{chunk-K6GMXJPW.js → chunk-UK63CULA.js} +7 -14
- package/dist/{chunk-LL6F3EAR.js → chunk-ZIXAWYZI.js} +1 -1
- package/dist/{client-B_3j-V4-.d.ts → client-DG_xZdlN.d.ts} +1 -1
- package/dist/client-exports.d.ts +14 -8
- package/dist/client-exports.js +10 -4
- package/dist/constants/models.d.ts +2 -0
- package/dist/constants/models.js +1 -1
- package/dist/constants/schema-validation/index.js +1 -1
- package/dist/credential-stores/index.d.ts +6 -6
- package/dist/credential-stores/index.js +1 -1
- package/dist/db/schema.d.ts +3 -4
- package/dist/db/schema.js +2 -2
- package/dist/db/test-client.d.ts +4 -5
- package/dist/db/test-client.js +1 -1
- package/dist/index.d.ts +379 -362
- package/dist/index.js +186 -125
- package/dist/{schema-DKbG39on.d.ts → schema-DA6PfmoP.d.ts} +83 -7
- package/dist/{server-BXoUiBMg.d.ts → server-BviIeoo5.d.ts} +1 -1
- package/dist/types/index.d.ts +3 -4
- package/dist/{utility-Lo5NoRHK.d.ts → utility-dsfXkYTu.d.ts} +1018 -366
- package/dist/utils/schema-conversion.d.ts +12 -2
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/index.d.ts +131 -132
- package/dist/validation/index.js +2 -2
- package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
- package/drizzle/0003_sweet_human_robot.sql +8 -0
- package/drizzle/0004_cuddly_shooting_star.sql +6 -0
- package/drizzle/0005_reflective_starfox.sql +9 -0
- package/drizzle/meta/0003_snapshot.json +3643 -0
- package/drizzle/meta/0005_snapshot.json +3693 -0
- package/drizzle/meta/_journal.json +28 -0
- package/package.json +9 -11
- package/dist/chunk-NFTJ5JBY.js +0 -82
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as drizzle_orm from 'drizzle-orm';
|
|
2
2
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
3
|
-
import {
|
|
3
|
+
import { C as ContextFetchDefinition, a as ConversationHistoryConfig, T as TaskMetadataConfig, b as ToolMcpConfig, c as ToolServerCapabilities, d as ConversationMetadata, M as MessageContent, e as MessageMetadata, P as Part } from './utility-dsfXkYTu.js';
|
|
4
4
|
import { account, invitation, member, organization, session, ssoProvider, user, verification } from './auth/auth-schema.js';
|
|
5
5
|
|
|
6
6
|
declare const projects: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
@@ -137,7 +137,7 @@ declare const projects: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
137
137
|
columnType: "PgText";
|
|
138
138
|
data: string;
|
|
139
139
|
driverParam: string;
|
|
140
|
-
notNull:
|
|
140
|
+
notNull: false;
|
|
141
141
|
hasDefault: false;
|
|
142
142
|
isPrimaryKey: false;
|
|
143
143
|
isAutoincrement: false;
|
|
@@ -938,7 +938,7 @@ declare const subAgents: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
938
938
|
columnType: "PgText";
|
|
939
939
|
data: string;
|
|
940
940
|
driverParam: string;
|
|
941
|
-
notNull:
|
|
941
|
+
notNull: false;
|
|
942
942
|
hasDefault: false;
|
|
943
943
|
isPrimaryKey: false;
|
|
944
944
|
isAutoincrement: false;
|
|
@@ -1061,7 +1061,7 @@ declare const subAgents: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1061
1061
|
columnType: "PgText";
|
|
1062
1062
|
data: string;
|
|
1063
1063
|
driverParam: string;
|
|
1064
|
-
notNull:
|
|
1064
|
+
notNull: false;
|
|
1065
1065
|
hasDefault: false;
|
|
1066
1066
|
isPrimaryKey: false;
|
|
1067
1067
|
isAutoincrement: false;
|
|
@@ -1424,7 +1424,7 @@ declare const externalAgents: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1424
1424
|
columnType: "PgText";
|
|
1425
1425
|
data: string;
|
|
1426
1426
|
driverParam: string;
|
|
1427
|
-
notNull:
|
|
1427
|
+
notNull: false;
|
|
1428
1428
|
hasDefault: false;
|
|
1429
1429
|
isPrimaryKey: false;
|
|
1430
1430
|
isAutoincrement: false;
|
|
@@ -1950,7 +1950,7 @@ declare const dataComponents: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
1950
1950
|
columnType: "PgText";
|
|
1951
1951
|
data: string;
|
|
1952
1952
|
driverParam: string;
|
|
1953
|
-
notNull:
|
|
1953
|
+
notNull: false;
|
|
1954
1954
|
hasDefault: false;
|
|
1955
1955
|
isPrimaryKey: false;
|
|
1956
1956
|
isAutoincrement: false;
|
|
@@ -2241,7 +2241,7 @@ declare const artifactComponents: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
2241
2241
|
columnType: "PgText";
|
|
2242
2242
|
data: string;
|
|
2243
2243
|
driverParam: string;
|
|
2244
|
-
notNull:
|
|
2244
|
+
notNull: false;
|
|
2245
2245
|
hasDefault: false;
|
|
2246
2246
|
isPrimaryKey: false;
|
|
2247
2247
|
isAutoincrement: false;
|
|
@@ -2567,6 +2567,25 @@ declare const tools: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
2567
2567
|
}, {}, {
|
|
2568
2568
|
length: 256;
|
|
2569
2569
|
}>;
|
|
2570
|
+
credentialScope: drizzle_orm_pg_core.PgColumn<{
|
|
2571
|
+
name: "credential_scope";
|
|
2572
|
+
tableName: "tools";
|
|
2573
|
+
dataType: "string";
|
|
2574
|
+
columnType: "PgVarchar";
|
|
2575
|
+
data: string;
|
|
2576
|
+
driverParam: string;
|
|
2577
|
+
notNull: true;
|
|
2578
|
+
hasDefault: true;
|
|
2579
|
+
isPrimaryKey: false;
|
|
2580
|
+
isAutoincrement: false;
|
|
2581
|
+
hasRuntimeDefault: false;
|
|
2582
|
+
enumValues: [string, ...string[]];
|
|
2583
|
+
baseColumn: never;
|
|
2584
|
+
identity: undefined;
|
|
2585
|
+
generated: undefined;
|
|
2586
|
+
}, {}, {
|
|
2587
|
+
length: 50;
|
|
2588
|
+
}>;
|
|
2570
2589
|
headers: drizzle_orm_pg_core.PgColumn<{
|
|
2571
2590
|
name: "headers";
|
|
2572
2591
|
tableName: "tools";
|
|
@@ -5016,6 +5035,63 @@ declare const credentialReferences: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
5016
5035
|
}, {}, {
|
|
5017
5036
|
$type: Record<string, unknown>;
|
|
5018
5037
|
}>;
|
|
5038
|
+
toolId: drizzle_orm_pg_core.PgColumn<{
|
|
5039
|
+
name: "tool_id";
|
|
5040
|
+
tableName: "credential_references";
|
|
5041
|
+
dataType: "string";
|
|
5042
|
+
columnType: "PgVarchar";
|
|
5043
|
+
data: string;
|
|
5044
|
+
driverParam: string;
|
|
5045
|
+
notNull: false;
|
|
5046
|
+
hasDefault: false;
|
|
5047
|
+
isPrimaryKey: false;
|
|
5048
|
+
isAutoincrement: false;
|
|
5049
|
+
hasRuntimeDefault: false;
|
|
5050
|
+
enumValues: [string, ...string[]];
|
|
5051
|
+
baseColumn: never;
|
|
5052
|
+
identity: undefined;
|
|
5053
|
+
generated: undefined;
|
|
5054
|
+
}, {}, {
|
|
5055
|
+
length: 256;
|
|
5056
|
+
}>;
|
|
5057
|
+
userId: drizzle_orm_pg_core.PgColumn<{
|
|
5058
|
+
name: "user_id";
|
|
5059
|
+
tableName: "credential_references";
|
|
5060
|
+
dataType: "string";
|
|
5061
|
+
columnType: "PgVarchar";
|
|
5062
|
+
data: string;
|
|
5063
|
+
driverParam: string;
|
|
5064
|
+
notNull: false;
|
|
5065
|
+
hasDefault: false;
|
|
5066
|
+
isPrimaryKey: false;
|
|
5067
|
+
isAutoincrement: false;
|
|
5068
|
+
hasRuntimeDefault: false;
|
|
5069
|
+
enumValues: [string, ...string[]];
|
|
5070
|
+
baseColumn: never;
|
|
5071
|
+
identity: undefined;
|
|
5072
|
+
generated: undefined;
|
|
5073
|
+
}, {}, {
|
|
5074
|
+
length: 256;
|
|
5075
|
+
}>;
|
|
5076
|
+
createdBy: drizzle_orm_pg_core.PgColumn<{
|
|
5077
|
+
name: "created_by";
|
|
5078
|
+
tableName: "credential_references";
|
|
5079
|
+
dataType: "string";
|
|
5080
|
+
columnType: "PgVarchar";
|
|
5081
|
+
data: string;
|
|
5082
|
+
driverParam: string;
|
|
5083
|
+
notNull: false;
|
|
5084
|
+
hasDefault: false;
|
|
5085
|
+
isPrimaryKey: false;
|
|
5086
|
+
isAutoincrement: false;
|
|
5087
|
+
hasRuntimeDefault: false;
|
|
5088
|
+
enumValues: [string, ...string[]];
|
|
5089
|
+
baseColumn: never;
|
|
5090
|
+
identity: undefined;
|
|
5091
|
+
generated: undefined;
|
|
5092
|
+
}, {}, {
|
|
5093
|
+
length: 256;
|
|
5094
|
+
}>;
|
|
5019
5095
|
projectId: drizzle_orm_pg_core.PgColumn<{
|
|
5020
5096
|
name: "project_id";
|
|
5021
5097
|
tableName: "credential_references";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, bW as AgentApiSelect, bY as AgentApiUpdate, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aK as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aL as AgentSkill, z as AgentUpdate, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, cS as ApiKeyApiInsert, cR as ApiKeyApiSelect, cT as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cF as ArtifactComponentApiInsert, cE as ArtifactComponentApiSelect, cG as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, cs as ContextCacheApiSelect, cu as ContextCacheApiUpdate, dz as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cr as ContextCacheUpdate, cn as ContextConfigApiInsert, cm as ContextConfigApiSelect, co as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate,
|
|
2
|
-
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-
|
|
3
|
-
import 'zod';
|
|
1
|
+
export { bc as A2AError, bI as A2ARequest, bJ as A2AResponse, aN as APIKeySecurityScheme, bX as AgentApiInsert, bW as AgentApiSelect, bY as AgentApiUpdate, aJ as AgentCapabilities, aX as AgentCard, dy as AgentConversationHistoryConfig, y as AgentInsert, aK as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aL as AgentSkill, z as AgentUpdate, cQ as AllAgentSelect, cU as ApiKeyApiCreationResponse, cS as ApiKeyApiInsert, cR as ApiKeyApiSelect, cT as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cF as ArtifactComponentApiInsert, cE as ArtifactComponentApiSelect, cG as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aQ as AuthorizationCodeOAuthFlow, dh as CanDelegateToExternalAgent, dg as CanUseItem, bs as CancelTaskRequest, bD as CancelTaskResponse, bC as CancelTaskSuccessResponse, aR as ClientCredentialsOAuthFlow, ba as ContentTypeNotSupportedError, ct as ContextCacheApiInsert, cs as ContextCacheApiSelect, cu as ContextCacheApiUpdate, dz as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cr as ContextCacheUpdate, cn as ContextConfigApiInsert, cm as ContextConfigApiSelect, co as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, C as ContextFetchDefinition, ch as ConversationApiInsert, cg as ConversationApiSelect, ci as ConversationApiUpdate, a as ConversationHistoryConfig, W as ConversationInsert, d as ConversationMetadata, dx as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cV as CredentialReferenceApiSelect, cW as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, f as CredentialStoreType, cw as DataComponentApiInsert, cv as DataComponentApiSelect, cx as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aH as DataPart, ay as ExecutionContext, cO as ExternalAgentApiInsert, cN as ExternalAgentApiSelect, cP as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bV as ExternalSubAgentRelationApiInsert, bU as ExternalSubAgentRelationInsert, cq as FetchConfig, cp as FetchDefinition, aD as FileBase, aG as FilePart, aE as FileWithBytes, aF as FileWithUri, dI as Filter, df as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cd as FunctionApiSelect, ce as FunctionApiUpdate, cb as FunctionInsert, ca as FunctionSelect, a7 as FunctionToolApiInsert, cf as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, cc as FunctionUpdate, bu as GetTaskPushNotificationConfigRequest, bH as GetTaskPushNotificationConfigResponse, bG as GetTaskPushNotificationConfigSuccessResponse, br as GetTaskRequest, bB as GetTaskResponse, bA as GetTaskSuccessResponse, aO as HTTPAuthSecurityScheme, aS as ImplicitOAuthFlow, b5 as InternalError, bb as InvalidAgentResponseError, b4 as InvalidParamsError, b2 as InvalidRequestError, b1 as JSONParseError, bm as JSONRPCError, bo as JSONRPCErrorResponse, bk as JSONRPCMessage, bl as JSONRPCRequest, bn as JSONRPCResult, dd as LedgerArtifactApiInsert, dc as LedgerArtifactApiSelect, de as LedgerArtifactApiUpdate, da as LedgerArtifactInsert, aa as LedgerArtifactSelect, db as LedgerArtifactUpdate, dH as MCPServerType, t as MCPToolConfig, o as MCPTransportType, dA as McpAuthType, dB as McpServerAuth, dD as McpServerCapabilities, av as McpTool, dE as McpToolDefinition, dC as McpTransportConfig, aY as Message, ck as MessageApiInsert, cj as MessageApiSelect, cl as MessageApiUpdate, M as MessageContent, ac as MessageInsert, e as MessageMetadata, ds as MessageMode, bK as MessagePart, dr as MessageRole, az as MessageSelect, bi as MessageSendConfiguration, bj as MessageSendParams, dq as MessageType, ad as MessageUpdate, ab as MessageVisibility, b3 as MethodNotFoundError, dt as Models, aU as OAuth2SecurityScheme, aP as OAuthFlows, aV as OpenIdConnectSecurityScheme, dn as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, aB as PartBase, aT as PasswordOAuthFlow, dl as ProjectApiInsert, dk as ProjectApiSelect, dm as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, du as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bd as PushNotificationAuthenticationInfo, be as PushNotificationConfig, b8 as PushNotificationNotSupportedError, aW as SecurityScheme, aM as SecuritySchemeBase, bp as SendMessageRequest, bx as SendMessageResponse, bw as SendMessageSuccessResponse, bq as SendStreamingMessageRequest, bz as SendStreamingMessageResponse, by as SendStreamingMessageSuccessResponse, bt as SetTaskPushNotificationConfigRequest, bF as SetTaskPushNotificationConfigResponse, bE as SetTaskPushNotificationConfigSuccessResponse, dw as StatusComponent, dv as StatusUpdateSettings, bN as SubAgentApiInsert, bM as SubAgentApiSelect, bO as SubAgentApiUpdate, cL as SubAgentArtifactComponentApiInsert, cK as SubAgentArtifactComponentApiSelect, cM as SubAgentArtifactComponentApiUpdate, cI as SubAgentArtifactComponentInsert, cH as SubAgentArtifactComponentSelect, cJ as SubAgentArtifactComponentUpdate, cC as SubAgentDataComponentApiInsert, cB as SubAgentDataComponentApiSelect, cD as SubAgentDataComponentApiUpdate, cz as SubAgentDataComponentInsert, cy as SubAgentDataComponentSelect, cA as SubAgentDataComponentUpdate, di as SubAgentDefinition, d3 as SubAgentExternalAgentRelationApiInsert, d2 as SubAgentExternalAgentRelationApiSelect, d4 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, d0 as SubAgentExternalAgentRelationSelect, d1 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bR as SubAgentRelationApiInsert, bQ as SubAgentRelationApiSelect, bS as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bT as SubAgentRelationQuery, bP as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d8 as SubAgentTeamAgentRelationApiInsert, d7 as SubAgentTeamAgentRelationApiSelect, d9 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d5 as SubAgentTeamAgentRelationSelect, d6 as SubAgentTeamAgentRelationUpdate, c_ as SubAgentToolRelationApiInsert, cZ as SubAgentToolRelationApiSelect, c$ as SubAgentToolRelationApiUpdate, cY as SubAgentToolRelationInsert, cX as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dp as SummaryEvent, dF as TOOL_STATUS_VALUES, a_ as Task, b$ as TaskApiInsert, b_ as TaskApiSelect, c0 as TaskApiUpdate, bL as TaskArtifact, b0 as TaskArtifactUpdateEvent, bg as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b7 as TaskNotCancelableError, b6 as TaskNotFoundError, bf as TaskPushNotificationConfig, bh as TaskQueryParams, c5 as TaskRelationApiInsert, c4 as TaskRelationApiSelect, c6 as TaskRelationApiUpdate, c2 as TaskRelationInsert, c1 as TaskRelationSelect, c3 as TaskRelationUpdate, bv as TaskResubscriptionRequest, au as TaskSelect, aI as TaskState, aZ as TaskStatus, a$ as TaskStatusUpdateEvent, bZ as TaskUpdate, aC as TextPart, c8 as ToolApiInsert, c7 as ToolApiSelect, c9 as ToolApiUpdate, dj as ToolDefinition, aw as ToolInsert, b as ToolMcpConfig, Z as ToolSelect, c as ToolServerCapabilities, ax as ToolUpdate, b9 as UnsupportedOperationError, dG as VALID_RELATION_TYPES } from '../utility-dsfXkYTu.js';
|
|
2
|
+
export { a as CorsConfig, C as CredentialStore, b as ServerConfig, S as ServerOptions } from '../server-BviIeoo5.js';
|
|
3
|
+
import '@hono/zod-openapi';
|
|
4
4
|
import 'drizzle-zod';
|
|
5
5
|
import 'drizzle-orm/pg-core';
|
|
6
|
-
import '@hono/zod-openapi';
|
|
7
6
|
import 'hono';
|
|
8
7
|
|
|
9
8
|
/**
|