@inkeep/agents-core 0.37.2 → 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-validation-schemas.js +1 -1
- package/dist/auth/auth.d.ts +4 -3
- package/dist/auth/auth.js +2 -2
- package/dist/chunk-3OPS2LN5.js +4 -0
- package/dist/{chunk-7CLFCY6J.js → chunk-7IQFIW44.js} +2 -0
- package/dist/{chunk-BJLC7EI4.js → chunk-AJCP2QYU.js} +1 -1
- package/dist/{chunk-6CYQZ5KX.js → chunk-AUGHKZEB.js} +41 -1
- package/dist/{chunk-5QZSNATS.js → chunk-CWAFZVRI.js} +1 -1
- package/dist/{chunk-ZSYMSL55.js → chunk-DW4DNYUS.js} +1 -1
- package/dist/{chunk-DEYPSEXR.js → chunk-LH6OJIIM.js} +26 -11
- package/dist/{chunk-3HACEHXF.js → chunk-MGHGIB7U.js} +3 -10
- package/dist/{chunk-YSFXXC6K.js → chunk-S4XQEAAF.js} +7 -4
- package/dist/{chunk-XHODTX4H.js → chunk-UK63CULA.js} +7 -14
- package/dist/{client-B3nwdklT.d.ts → client-DG_xZdlN.d.ts} +1 -1
- package/dist/client-exports.d.ts +15 -8
- package/dist/client-exports.js +9 -3
- 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 +5 -4
- package/dist/credential-stores/index.js +1 -1
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +1 -1
- package/dist/db/test-client.d.ts +3 -3
- package/dist/db/test-client.js +1 -1
- package/dist/index.d.ts +343 -326
- package/dist/index.js +167 -116
- package/dist/{schema-BhYTubhP.d.ts → schema-DA6PfmoP.d.ts} +83 -7
- package/dist/{server-CHLmv-Jb.d.ts → server-BviIeoo5.d.ts} +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-5USfJ5Xd.d.ts → utility-dsfXkYTu.d.ts} +1040 -387
- package/dist/utils/schema-conversion.d.ts +11 -1
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0004_cuddly_shooting_star.sql +6 -0
- package/drizzle/0005_reflective_starfox.sql +9 -0
- package/drizzle/meta/{0002_snapshot.json → 0005_snapshot.json} +70 -14
- package/drizzle/meta/_journal.json +14 -0
- package/package.json +8 -8
- package/dist/{chunk-RUTYLJB7.js → chunk-ZIXAWYZI.js} +1 -1
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { z } from '@hono/zod-openapi';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Converts JSON Schema to Zod schema at runtime.
|
|
5
|
+
*
|
|
6
|
+
* This is useful for dynamically creating Zod schemas from JSON Schema definitions,
|
|
7
|
+
* such as when using AI SDK's generateObject/streamObject with data component props.
|
|
8
|
+
*
|
|
9
|
+
* Note: Uses z.string() as fallback for unknown types to ensure Anthropic compatibility
|
|
10
|
+
* (Anthropic requires explicit types - z.any()/z.unknown() produce invalid JSON Schema).
|
|
11
|
+
*/
|
|
12
|
+
declare function jsonSchemaToZod(jsonSchema: any): z.ZodType<any>;
|
|
3
13
|
/**
|
|
4
14
|
* Utility function for converting Zod schemas to JSON Schema
|
|
5
15
|
* Uses Zod's built-in toJSONSchema method
|
|
@@ -23,4 +33,4 @@ declare function isZodSchema(value: any): value is z.ZodObject<any>;
|
|
|
23
33
|
*/
|
|
24
34
|
declare function extractPreviewFields(schema: any): string[];
|
|
25
35
|
|
|
26
|
-
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview };
|
|
36
|
+
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, jsonSchemaToZod, preview };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from '../chunk-
|
|
1
|
+
export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, jsonSchemaToZod, preview } from '../chunk-AUGHKZEB.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from '@hono/zod-openapi';
|
|
2
|
-
import { gi as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-
|
|
3
|
-
export { e4 as AgentApiInsertSchema, e3 as AgentApiSelectSchema, e5 as AgentApiUpdateSchema, e1 as AgentInsertSchema, gO as AgentListResponse, gy as AgentResponse, e0 as AgentSelectSchema,
|
|
2
|
+
import { gi as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-dsfXkYTu.js';
|
|
3
|
+
export { e4 as AgentApiInsertSchema, e3 as AgentApiSelectSchema, e5 as AgentApiUpdateSchema, e1 as AgentInsertSchema, gO as AgentListResponse, gy as AgentResponse, e0 as AgentSelectSchema, k as AgentStopWhen, h as AgentStopWhenSchema, e2 as AgentUpdateSchema, h5 as AgentWithinContextOfProjectResponse, f8 as AllAgentSchema, fd as ApiKeyApiCreationResponseSchema, fe as ApiKeyApiInsertSchema, fc as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, fa as ApiKeyInsertSchema, gS as ApiKeyListResponse, gC as ApiKeyResponse, f9 as ApiKeySelectSchema, fb as ApiKeyUpdateSchema, eW as ArtifactComponentApiInsertSchema, eV as ArtifactComponentApiSelectSchema, eX as ArtifactComponentApiUpdateSchema, hf as ArtifactComponentArrayResponse, eT as ArtifactComponentInsertSchema, gX as ArtifactComponentListResponse, gH as ArtifactComponentResponse, eS as ArtifactComponentSelectSchema, eU as ArtifactComponentUpdateSchema, ge as CanUseItemSchema, h7 as ComponentAssociationListResponse, fq as ComponentAssociationSchema, eD as ContextCacheApiInsertSchema, eC as ContextCacheApiSelectSchema, eE as ContextCacheApiUpdateSchema, eA as ContextCacheInsertSchema, ez as ContextCacheSelectSchema, eB as ContextCacheUpdateSchema, fO as ContextConfigApiInsertSchema, fN as ContextConfigApiSelectSchema, fP as ContextConfigApiUpdateSchema, fL as ContextConfigInsertSchema, gR as ContextConfigListResponse, gB as ContextConfigResponse, fK as ContextConfigSelectSchema, fM as ContextConfigUpdateSchema, er as ConversationApiInsertSchema, eq as ConversationApiSelectSchema, es as ConversationApiUpdateSchema, eo as ConversationInsertSchema, g_ as ConversationListResponse, gK as ConversationResponse, en as ConversationSelectSchema, ep as ConversationUpdateSchema, fn as CreateCredentialInStoreRequestSchema, fo as CreateCredentialInStoreResponseSchema, fj as CredentialReferenceApiInsertSchema, fi as CredentialReferenceApiSelectSchema, fk as CredentialReferenceApiUpdateSchema, fg as CredentialReferenceInsertSchema, gT as CredentialReferenceListResponse, gD as CredentialReferenceResponse, ff as CredentialReferenceSelectSchema, fh as CredentialReferenceUpdateSchema, fm as CredentialStoreListResponseSchema, fl as CredentialStoreSchema, eK as DataComponentApiInsertSchema, eJ as DataComponentApiSelectSchema, eL as DataComponentApiUpdateSchema, he as DataComponentArrayResponse, eH as DataComponentBaseSchema, eG as DataComponentInsertSchema, gW as DataComponentListResponse, gG as DataComponentResponse, eF as DataComponentSelectSchema, eI as DataComponentUpdateSchema, gm as ErrorResponseSchema, gn as ExistsResponseSchema, f6 as ExternalAgentApiInsertSchema, f5 as ExternalAgentApiSelectSchema, f7 as ExternalAgentApiUpdateSchema, f3 as ExternalAgentInsertSchema, gQ as ExternalAgentListResponse, gA as ExternalAgentResponse, f2 as ExternalAgentSelectSchema, f4 as ExternalAgentUpdateSchema, d$ as ExternalSubAgentRelationApiInsertSchema, d_ as ExternalSubAgentRelationInsertSchema, fI as FetchConfigSchema, fJ as FetchDefinitionSchema, g as FullAgentAgentInsertSchema, h4 as FullProjectDefinitionResponse, gv as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, p as FunctionApiSelectSchema, q as FunctionApiUpdateSchema, fG as FunctionInsertSchema, gU as FunctionListResponse, gE as FunctionResponse, fF as FunctionSelectSchema, fD as FunctionToolApiInsertSchema, fC as FunctionToolApiSelectSchema, fE as FunctionToolApiUpdateSchema, dM as FunctionToolConfig, dL as FunctionToolConfigSchema, fA as FunctionToolInsertSchema, gV as FunctionToolListResponse, gF as FunctionToolResponse, fz as FunctionToolSelectSchema, fB as FunctionToolUpdateSchema, fH as FunctionUpdateSchema, hg as HeadersScopeSchema, ga as LedgerArtifactApiInsertSchema, g9 as LedgerArtifactApiSelectSchema, gb as LedgerArtifactApiUpdateSchema, g7 as LedgerArtifactInsertSchema, g6 as LedgerArtifactSelectSchema, g8 as LedgerArtifactUpdateSchema, gk as ListResponseSchema, hq as MCPCatalogListResponse, fu as MCPToolConfigSchema, ek as McpToolDefinitionSchema, h9 as McpToolListResponse, h8 as McpToolResponse, ft as McpToolSchema, ei as McpTransportConfigSchema, ex as MessageApiInsertSchema, ew as MessageApiSelectSchema, ey as MessageApiUpdateSchema, eu as MessageInsertSchema, g$ as MessageListResponse, gL as MessageResponse, et as MessageSelectSchema, ev as MessageUpdateSchema, dJ as ModelSchema, n as ModelSettings, m as ModelSettingsSchema, fs as OAuthCallbackQuerySchema, fr as OAuthLoginQuerySchema, hp as PaginationQueryParamsSchema, gj as PaginationSchema, aA as PrebuiltMCPServerSchema, gt as ProjectApiInsertSchema, gs as ProjectApiSelectSchema, gu as ProjectApiUpdateSchema, gq as ProjectInsertSchema, gM as ProjectListResponse, dK as ProjectModelSchema, gw as ProjectResponse, gp as ProjectSelectSchema, gr as ProjectUpdateSchema, h6 as RelatedAgentInfoListResponse, fp as RelatedAgentInfoSchema, go as RemovedResponseSchema, gl as SingleResponseSchema, gc as StatusComponentSchema, gd as StatusUpdateSchema, j as StopWhen, S as StopWhenSchema, dR as SubAgentApiInsertSchema, dQ as SubAgentApiSelectSchema, dS as SubAgentApiUpdateSchema, f0 as SubAgentArtifactComponentApiInsertSchema, e$ as SubAgentArtifactComponentApiSelectSchema, f1 as SubAgentArtifactComponentApiUpdateSchema, eZ as SubAgentArtifactComponentInsertSchema, h3 as SubAgentArtifactComponentListResponse, h1 as SubAgentArtifactComponentResponse, eY as SubAgentArtifactComponentSelectSchema, e_ as SubAgentArtifactComponentUpdateSchema, eQ as SubAgentDataComponentApiInsertSchema, eP as SubAgentDataComponentApiSelectSchema, eR as SubAgentDataComponentApiUpdateSchema, eN as SubAgentDataComponentInsertSchema, h2 as SubAgentDataComponentListResponse, h0 as SubAgentDataComponentResponse, eM as SubAgentDataComponentSelectSchema, eO as SubAgentDataComponentUpdateSchema, f_ as SubAgentExternalAgentRelationApiInsertSchema, fZ as SubAgentExternalAgentRelationApiSelectSchema, f$ as SubAgentExternalAgentRelationApiUpdateSchema, fX as SubAgentExternalAgentRelationInsertSchema, hd as SubAgentExternalAgentRelationListResponse, hc as SubAgentExternalAgentRelationResponse, fW as SubAgentExternalAgentRelationSelectSchema, fY as SubAgentExternalAgentRelationUpdateSchema, dO as SubAgentInsertSchema, gN as SubAgentListResponse, dX as SubAgentRelationApiInsertSchema, dW as SubAgentRelationApiSelectSchema, dY as SubAgentRelationApiUpdateSchema, dU as SubAgentRelationInsertSchema, gY as SubAgentRelationListResponse, dZ as SubAgentRelationQuerySchema, gI as SubAgentRelationResponse, dT as SubAgentRelationSelectSchema, dV as SubAgentRelationUpdateSchema, gx as SubAgentResponse, dN as SubAgentSelectSchema, l as SubAgentStopWhen, i as SubAgentStopWhenSchema, g4 as SubAgentTeamAgentRelationApiInsertSchema, g3 as SubAgentTeamAgentRelationApiSelectSchema, g5 as SubAgentTeamAgentRelationApiUpdateSchema, g1 as SubAgentTeamAgentRelationInsertSchema, hb as SubAgentTeamAgentRelationListResponse, ha as SubAgentTeamAgentRelationResponse, g0 as SubAgentTeamAgentRelationSelectSchema, g2 as SubAgentTeamAgentRelationUpdateSchema, fU as SubAgentToolRelationApiInsertSchema, fT as SubAgentToolRelationApiSelectSchema, fV as SubAgentToolRelationApiUpdateSchema, fR as SubAgentToolRelationInsertSchema, gZ as SubAgentToolRelationListResponse, gJ as SubAgentToolRelationResponse, fQ as SubAgentToolRelationSelectSchema, fS as SubAgentToolRelationUpdateSchema, dP as SubAgentUpdateSchema, ea as TaskApiInsertSchema, e9 as TaskApiSelectSchema, eb as TaskApiUpdateSchema, e7 as TaskInsertSchema, eg as TaskRelationApiInsertSchema, ef as TaskRelationApiSelectSchema, eh as TaskRelationApiUpdateSchema, ed as TaskRelationInsertSchema, ec as TaskRelationSelectSchema, ee as TaskRelationUpdateSchema, e6 as TaskSelectSchema, e8 as TaskUpdateSchema, gh as TeamAgentSchema, hi as TenantIdParamsSchema, hh as TenantParamsSchema, hm as TenantProjectAgentIdParamsSchema, hl as TenantProjectAgentParamsSchema, ho as TenantProjectAgentSubAgentIdParamsSchema, hn as TenantProjectAgentSubAgentParamsSchema, hk as TenantProjectIdParamsSchema, hj as TenantProjectParamsSchema, hr as ThirdPartyMCPServerResponse, fx as ToolApiInsertSchema, fw as ToolApiSelectSchema, fy as ToolApiUpdateSchema, em as ToolInsertSchema, gP as ToolListResponse, gz as ToolResponse, el as ToolSelectSchema, ej as ToolStatusSchema, fv as ToolUpdateSchema, gf as canDelegateToExternalAgentSchema, gg as canDelegateToTeamAgentSchema } from '../utility-dsfXkYTu.js';
|
|
4
4
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.js';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
package/dist/validation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-
|
|
2
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-
|
|
1
|
+
export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-CWAFZVRI.js';
|
|
2
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPCatalogListResponse, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, PrebuiltMCPServerSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ThirdPartyMCPServerResponse, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-UK63CULA.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
ALTER TABLE "artifact_components" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "data_components" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
|
|
3
|
+
ALTER TABLE "external_agents" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
|
|
4
|
+
ALTER TABLE "projects" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
|
|
5
|
+
ALTER TABLE "sub_agents" ALTER COLUMN "description" DROP NOT NULL;--> statement-breakpoint
|
|
6
|
+
ALTER TABLE "sub_agents" ALTER COLUMN "prompt" DROP NOT NULL;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
ALTER TABLE "external_agents" DROP CONSTRAINT "external_agents_credential_reference_fk";--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "credential_references" ADD COLUMN "tool_id" varchar(256);--> statement-breakpoint
|
|
3
|
+
ALTER TABLE "credential_references" ADD COLUMN "user_id" varchar(256);--> statement-breakpoint
|
|
4
|
+
ALTER TABLE "credential_references" ADD COLUMN "created_by" varchar(256);--> statement-breakpoint
|
|
5
|
+
ALTER TABLE "tools" ADD COLUMN "credential_scope" varchar(50) DEFAULT 'project' NOT NULL;--> statement-breakpoint
|
|
6
|
+
ALTER TABLE "credential_references" ADD CONSTRAINT "credential_references_id_unique" UNIQUE("id");--> statement-breakpoint
|
|
7
|
+
ALTER TABLE "credential_references" ADD CONSTRAINT "credential_references_tool_user_unique" UNIQUE("tool_id","user_id");--> statement-breakpoint
|
|
8
|
+
ALTER TABLE "external_agents" ADD CONSTRAINT "external_agents_credential_reference_fk" FOREIGN KEY ("credential_reference_id") REFERENCES "public"."credential_references"("id") ON DELETE set null ON UPDATE no action;--> statement-breakpoint
|
|
9
|
+
ALTER TABLE "tools" ADD CONSTRAINT "tools_credential_reference_fk" FOREIGN KEY ("credential_reference_id") REFERENCES "public"."credential_references"("id") ON DELETE set null ON UPDATE no action;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
3
|
-
"prevId": "
|
|
2
|
+
"id": "d40dfb52-3de8-4e52-825a-1dbc976e5375",
|
|
3
|
+
"prevId": "8c058f0b-8ea3-47f6-8acc-61fbb7b795e3",
|
|
4
4
|
"version": "7",
|
|
5
5
|
"dialect": "postgresql",
|
|
6
6
|
"tables": {
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
"name": "description",
|
|
470
470
|
"type": "text",
|
|
471
471
|
"primaryKey": false,
|
|
472
|
-
"notNull":
|
|
472
|
+
"notNull": false
|
|
473
473
|
},
|
|
474
474
|
"props": {
|
|
475
475
|
"name": "props",
|
|
@@ -909,6 +909,24 @@
|
|
|
909
909
|
"primaryKey": false,
|
|
910
910
|
"notNull": false
|
|
911
911
|
},
|
|
912
|
+
"tool_id": {
|
|
913
|
+
"name": "tool_id",
|
|
914
|
+
"type": "varchar(256)",
|
|
915
|
+
"primaryKey": false,
|
|
916
|
+
"notNull": false
|
|
917
|
+
},
|
|
918
|
+
"user_id": {
|
|
919
|
+
"name": "user_id",
|
|
920
|
+
"type": "varchar(256)",
|
|
921
|
+
"primaryKey": false,
|
|
922
|
+
"notNull": false
|
|
923
|
+
},
|
|
924
|
+
"created_by": {
|
|
925
|
+
"name": "created_by",
|
|
926
|
+
"type": "varchar(256)",
|
|
927
|
+
"primaryKey": false,
|
|
928
|
+
"notNull": false
|
|
929
|
+
},
|
|
912
930
|
"created_at": {
|
|
913
931
|
"name": "created_at",
|
|
914
932
|
"type": "timestamp",
|
|
@@ -952,7 +970,23 @@
|
|
|
952
970
|
]
|
|
953
971
|
}
|
|
954
972
|
},
|
|
955
|
-
"uniqueConstraints": {
|
|
973
|
+
"uniqueConstraints": {
|
|
974
|
+
"credential_references_id_unique": {
|
|
975
|
+
"name": "credential_references_id_unique",
|
|
976
|
+
"nullsNotDistinct": false,
|
|
977
|
+
"columns": [
|
|
978
|
+
"id"
|
|
979
|
+
]
|
|
980
|
+
},
|
|
981
|
+
"credential_references_tool_user_unique": {
|
|
982
|
+
"name": "credential_references_tool_user_unique",
|
|
983
|
+
"nullsNotDistinct": false,
|
|
984
|
+
"columns": [
|
|
985
|
+
"tool_id",
|
|
986
|
+
"user_id"
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
},
|
|
956
990
|
"policies": {},
|
|
957
991
|
"checkConstraints": {},
|
|
958
992
|
"isRLSEnabled": false
|
|
@@ -989,7 +1023,7 @@
|
|
|
989
1023
|
"name": "description",
|
|
990
1024
|
"type": "text",
|
|
991
1025
|
"primaryKey": false,
|
|
992
|
-
"notNull":
|
|
1026
|
+
"notNull": false
|
|
993
1027
|
},
|
|
994
1028
|
"props": {
|
|
995
1029
|
"name": "props",
|
|
@@ -1083,7 +1117,7 @@
|
|
|
1083
1117
|
"name": "description",
|
|
1084
1118
|
"type": "text",
|
|
1085
1119
|
"primaryKey": false,
|
|
1086
|
-
"notNull":
|
|
1120
|
+
"notNull": false
|
|
1087
1121
|
},
|
|
1088
1122
|
"base_url": {
|
|
1089
1123
|
"name": "base_url",
|
|
@@ -1134,16 +1168,12 @@
|
|
|
1134
1168
|
"tableFrom": "external_agents",
|
|
1135
1169
|
"tableTo": "credential_references",
|
|
1136
1170
|
"columnsFrom": [
|
|
1137
|
-
"tenant_id",
|
|
1138
|
-
"project_id",
|
|
1139
1171
|
"credential_reference_id"
|
|
1140
1172
|
],
|
|
1141
1173
|
"columnsTo": [
|
|
1142
|
-
"tenant_id",
|
|
1143
|
-
"project_id",
|
|
1144
1174
|
"id"
|
|
1145
1175
|
],
|
|
1146
|
-
"onDelete": "
|
|
1176
|
+
"onDelete": "set null",
|
|
1147
1177
|
"onUpdate": "no action"
|
|
1148
1178
|
}
|
|
1149
1179
|
},
|
|
@@ -2045,7 +2075,7 @@
|
|
|
2045
2075
|
"name": "description",
|
|
2046
2076
|
"type": "text",
|
|
2047
2077
|
"primaryKey": false,
|
|
2048
|
-
"notNull":
|
|
2078
|
+
"notNull": false
|
|
2049
2079
|
},
|
|
2050
2080
|
"models": {
|
|
2051
2081
|
"name": "models",
|
|
@@ -2992,6 +3022,12 @@
|
|
|
2992
3022
|
"primaryKey": false,
|
|
2993
3023
|
"notNull": false
|
|
2994
3024
|
},
|
|
3025
|
+
"tool_policies": {
|
|
3026
|
+
"name": "tool_policies",
|
|
3027
|
+
"type": "jsonb",
|
|
3028
|
+
"primaryKey": false,
|
|
3029
|
+
"notNull": false
|
|
3030
|
+
},
|
|
2995
3031
|
"created_at": {
|
|
2996
3032
|
"name": "created_at",
|
|
2997
3033
|
"type": "timestamp",
|
|
@@ -3100,13 +3136,13 @@
|
|
|
3100
3136
|
"name": "description",
|
|
3101
3137
|
"type": "text",
|
|
3102
3138
|
"primaryKey": false,
|
|
3103
|
-
"notNull":
|
|
3139
|
+
"notNull": false
|
|
3104
3140
|
},
|
|
3105
3141
|
"prompt": {
|
|
3106
3142
|
"name": "prompt",
|
|
3107
3143
|
"type": "text",
|
|
3108
3144
|
"primaryKey": false,
|
|
3109
|
-
"notNull":
|
|
3145
|
+
"notNull": false
|
|
3110
3146
|
},
|
|
3111
3147
|
"conversation_history_config": {
|
|
3112
3148
|
"name": "conversation_history_config",
|
|
@@ -3417,6 +3453,13 @@
|
|
|
3417
3453
|
"primaryKey": false,
|
|
3418
3454
|
"notNull": false
|
|
3419
3455
|
},
|
|
3456
|
+
"credential_scope": {
|
|
3457
|
+
"name": "credential_scope",
|
|
3458
|
+
"type": "varchar(50)",
|
|
3459
|
+
"primaryKey": false,
|
|
3460
|
+
"notNull": true,
|
|
3461
|
+
"default": "'project'"
|
|
3462
|
+
},
|
|
3420
3463
|
"headers": {
|
|
3421
3464
|
"name": "headers",
|
|
3422
3465
|
"type": "jsonb",
|
|
@@ -3472,6 +3515,19 @@
|
|
|
3472
3515
|
],
|
|
3473
3516
|
"onDelete": "cascade",
|
|
3474
3517
|
"onUpdate": "no action"
|
|
3518
|
+
},
|
|
3519
|
+
"tools_credential_reference_fk": {
|
|
3520
|
+
"name": "tools_credential_reference_fk",
|
|
3521
|
+
"tableFrom": "tools",
|
|
3522
|
+
"tableTo": "credential_references",
|
|
3523
|
+
"columnsFrom": [
|
|
3524
|
+
"credential_reference_id"
|
|
3525
|
+
],
|
|
3526
|
+
"columnsTo": [
|
|
3527
|
+
"id"
|
|
3528
|
+
],
|
|
3529
|
+
"onDelete": "set null",
|
|
3530
|
+
"onUpdate": "no action"
|
|
3475
3531
|
}
|
|
3476
3532
|
},
|
|
3477
3533
|
"compositePrimaryKeys": {
|
|
@@ -29,6 +29,20 @@
|
|
|
29
29
|
"when": 1764060547473,
|
|
30
30
|
"tag": "0003_sweet_human_robot",
|
|
31
31
|
"breakpoints": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idx": 4,
|
|
35
|
+
"version": "7",
|
|
36
|
+
"when": 1764095962055,
|
|
37
|
+
"tag": "0004_cuddly_shooting_star",
|
|
38
|
+
"breakpoints": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"idx": 5,
|
|
42
|
+
"version": "7",
|
|
43
|
+
"when": 1765392765706,
|
|
44
|
+
"tag": "0005_reflective_starfox",
|
|
45
|
+
"breakpoints": true
|
|
32
46
|
}
|
|
33
47
|
]
|
|
34
48
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
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",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
},
|
|
73
73
|
"clean-package": "./clean-package.config.json",
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@ai-sdk/anthropic": "
|
|
76
|
-
"@ai-sdk/gateway": "
|
|
77
|
-
"@ai-sdk/google": "
|
|
78
|
-
"@ai-sdk/openai": "
|
|
79
|
-
"@ai-sdk/openai-compatible": "
|
|
75
|
+
"@ai-sdk/anthropic": "3.0.0-beta.66",
|
|
76
|
+
"@ai-sdk/gateway": "2.0.0-beta.68",
|
|
77
|
+
"@ai-sdk/google": "3.0.0-beta.62",
|
|
78
|
+
"@ai-sdk/openai": "3.0.0-beta.74",
|
|
79
|
+
"@ai-sdk/openai-compatible": "2.0.0-beta.41",
|
|
80
80
|
"@composio/core": "^0.2.4",
|
|
81
81
|
"@electric-sql/pglite": "^0.3.13",
|
|
82
82
|
"@better-auth/sso": "^1.4.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@opentelemetry/sdk-node": "^0.203.0",
|
|
95
95
|
"@opentelemetry/sdk-trace-node": "^2.0.1",
|
|
96
96
|
"@opentelemetry/semantic-conventions": "^1.34.0",
|
|
97
|
-
"ai": "
|
|
97
|
+
"ai": "6.0.0-beta.124",
|
|
98
98
|
"ajv": "^8.17.1",
|
|
99
99
|
"ajv-formats": "^3.0.1",
|
|
100
100
|
"better-auth": "^1.4.0",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"test:integration": "vitest --run src/__tests__/integration/",
|
|
158
158
|
"test:coverage": "vitest --run --coverage",
|
|
159
159
|
"test:watch": "vitest --watch",
|
|
160
|
-
"lint": "biome lint
|
|
160
|
+
"lint": "biome lint --error-on-warnings",
|
|
161
161
|
"lint:fix": "biome check --write src",
|
|
162
162
|
"format": "biome format --write src",
|
|
163
163
|
"format:check": "biome format src",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import os from 'os';
|
|
3
3
|
import path from 'path';
|
|
4
|
+
import { z } from '@hono/zod-openapi';
|
|
4
5
|
import dotenv from 'dotenv';
|
|
5
6
|
import { expand } from 'dotenv-expand';
|
|
6
7
|
import { findUpSync } from 'find-up';
|
|
7
|
-
import { z } from '@hono/zod-openapi';
|
|
8
8
|
|
|
9
9
|
// src/env.ts
|
|
10
10
|
var loadEnvironmentFiles = () => {
|