@n8n/api-types 1.32.1 → 1.33.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/agent-sse.d.ts +7 -0
- package/dist/agents/agent-config-lifecycle.d.ts +6 -0
- package/dist/agents/agent-config-lifecycle.js +11 -0
- package/dist/agents/agent-config-lifecycle.js.map +1 -0
- package/dist/agents/agent-config-validation.schema.d.ts +16 -16
- package/dist/agents/agent-config-validation.schema.js +1 -0
- package/dist/agents/agent-config-validation.schema.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +469 -46
- package/dist/agents/agent-json-config.schema.js +31 -11
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/agent-node-tool-operations.d.ts +1 -0
- package/dist/agents/agent-node-tool-operations.js +8 -0
- package/dist/agents/agent-node-tool-operations.js.map +1 -0
- package/dist/agents/dto.js +1 -1
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -0
- package/dist/agents/index.js +2 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +17 -17
- package/dist/agents/inline-agent-config.schema.js +2 -2
- package/dist/agents/inline-agent-config.schema.js.map +1 -1
- package/dist/agents/sanitize-agent-json-config.js +2 -2
- package/dist/agents/sanitize-agent-json-config.js.map +1 -1
- package/dist/agents/types.d.ts +1 -0
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/dto/credentials/create-credential.dto.d.ts +2 -0
- package/dist/dto/credentials/create-credential.dto.js +1 -0
- package/dist/dto/credentials/create-credential.dto.js.map +1 -1
- package/dist/dto/index.d.ts +10 -1
- package/dist/dto/index.js +23 -4
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/otel/{test-otel-connection.dto.d.ts → test-otel-trace.dto.d.ts} +2 -2
- package/dist/dto/otel/{test-otel-connection.dto.js → test-otel-trace.dto.js} +4 -4
- package/dist/dto/otel/test-otel-trace.dto.js.map +1 -0
- package/dist/dto/packages/import-package-request.dto.d.ts +14 -10
- package/dist/dto/packages/import-package-request.dto.js +14 -21
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/roles/role-delete-query.dto.d.ts +9 -0
- package/dist/dto/roles/role-delete-query.dto.js +11 -0
- package/dist/dto/roles/role-delete-query.dto.js.map +1 -0
- package/dist/dto/workflow-history/list-workflow-history-query.dto.d.ts +13 -0
- package/dist/dto/workflow-history/list-workflow-history-query.dto.js +13 -0
- package/dist/dto/workflow-history/list-workflow-history-query.dto.js.map +1 -0
- package/dist/dto/workflow-history/workflow-history-list-item.dto.d.ts +51 -0
- package/dist/dto/workflow-history/workflow-history-list-item.dto.js +19 -0
- package/dist/dto/workflow-history/workflow-history-list-item.dto.js.map +1 -0
- package/dist/dto/workflow-history/workflow-version-history-public.dto.d.ts +70 -0
- package/dist/dto/workflow-history/workflow-version-history-public.dto.js +16 -0
- package/dist/dto/workflow-history/workflow-version-history-public.dto.js.map +1 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.d.ts +27 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js +20 -0
- package/dist/dto/workflow-reviews/create-workflow-review-request.dto.js.map +1 -0
- package/dist/dto/workflow-reviews/get-eligible-reviewers-query.dto.d.ts +8 -0
- package/dist/dto/workflow-reviews/get-eligible-reviewers-query.dto.js +11 -0
- package/dist/dto/workflow-reviews/get-eligible-reviewers-query.dto.js.map +1 -0
- package/dist/dto/workflow-reviews/list-workflow-review-inbox.dto.d.ts +31 -0
- package/dist/dto/workflow-reviews/list-workflow-review-inbox.dto.js +14 -0
- package/dist/dto/workflow-reviews/list-workflow-review-inbox.dto.js.map +1 -0
- package/dist/dto/workflow-reviews/list-workflow-review-requests-query.dto.d.ts +14 -0
- package/dist/dto/workflow-reviews/list-workflow-review-requests-query.dto.js +15 -0
- package/dist/dto/workflow-reviews/list-workflow-review-requests-query.dto.js.map +1 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.d.ts +10 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js +12 -0
- package/dist/dto/workflow-reviews/update-workflow-review-request-version.dto.js.map +1 -0
- package/dist/frontend-settings.d.ts +2 -0
- package/dist/index.d.ts +9 -5
- package/dist/index.js +22 -6
- package/dist/index.js.map +1 -1
- package/dist/push/index.d.ts +2 -1
- package/dist/push/workflow-review.d.ts +7 -0
- package/dist/push/workflow-review.js +3 -0
- package/dist/push/workflow-review.js.map +1 -0
- package/dist/schemas/agent-evals.schema.d.ts +1 -0
- package/dist/schemas/agent-evals.schema.js +5 -0
- package/dist/schemas/agent-evals.schema.js.map +1 -0
- package/dist/schemas/eval-collections.schema.d.ts +10 -1
- package/dist/schemas/eval-collections.schema.js +58 -4
- package/dist/schemas/eval-collections.schema.js.map +1 -1
- package/dist/schemas/eval-insights.schema.js +14 -10
- package/dist/schemas/eval-insights.schema.js.map +1 -1
- package/dist/schemas/id.schema.d.ts +2 -0
- package/dist/schemas/id.schema.js +6 -0
- package/dist/schemas/id.schema.js.map +1 -0
- package/dist/schemas/instance-ai.schema.d.ts +126 -9
- package/dist/schemas/instance-ai.schema.js +44 -12
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp.schema.d.ts +1 -0
- package/dist/schemas/mcp.schema.js +2 -1
- package/dist/schemas/mcp.schema.js.map +1 -1
- package/dist/schemas/user.schema.d.ts +100 -0
- package/dist/schemas/user.schema.js +2 -0
- package/dist/schemas/user.schema.js.map +1 -1
- package/dist/workflow-review-eligible-reviewer.d.ts +10 -0
- package/dist/workflow-review-eligible-reviewer.js +3 -0
- package/dist/workflow-review-eligible-reviewer.js.map +1 -0
- package/dist/workflow-review-request-summary.d.ts +18 -0
- package/dist/workflow-review-request-summary.js +11 -0
- package/dist/workflow-review-request-summary.js.map +1 -0
- package/package.json +4 -4
- package/dist/dto/otel/test-otel-connection.dto.js.map +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateWorkflowReviewRequestDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const id_schema_1 = require("../../schemas/id.schema");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class CreateWorkflowReviewRequestDto extends zod_class_1.Z.class({
|
|
8
|
+
title: zod_1.z.string().trim().min(1).max(128),
|
|
9
|
+
description: zod_1.z.string().max(512).optional(),
|
|
10
|
+
workflows: zod_1.z
|
|
11
|
+
.array(zod_1.z.object({
|
|
12
|
+
workflowId: id_schema_1.n8nIdSchema,
|
|
13
|
+
workflowVersionId: id_schema_1.n8nIdSchema,
|
|
14
|
+
}))
|
|
15
|
+
.length(1),
|
|
16
|
+
reviewerUserIds: zod_1.z.array(id_schema_1.n8nIdSchema).max(10).optional(),
|
|
17
|
+
}) {
|
|
18
|
+
}
|
|
19
|
+
exports.CreateWorkflowReviewRequestDto = CreateWorkflowReviewRequestDto;
|
|
20
|
+
//# sourceMappingURL=create-workflow-review-request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-workflow-review-request.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-reviews/create-workflow-review-request.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,uDAAsD;AACtD,+CAAoC;AAEpC,oCAA4C,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC3D,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACxC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,OAAC;SACV,KAAK,CACL,OAAC,CAAC,MAAM,CAAC;QACR,UAAU,EAAE,uBAAW;QACvB,iBAAiB,EAAE,uBAAW;KAC9B,CAAC,CACF;SACA,MAAM,CAAC,CAAC,CAAC;IAEX,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,uBAAW,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxD,CAAC;CAAG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const GetWorkflowReviewEligibleReviewersQueryDto_base: import("../../zod-class").ZodClass<{
|
|
2
|
+
workflowId: string;
|
|
3
|
+
}, {
|
|
4
|
+
workflowId: import("zod").ZodString;
|
|
5
|
+
}>;
|
|
6
|
+
export declare class GetWorkflowReviewEligibleReviewersQueryDto extends GetWorkflowReviewEligibleReviewersQueryDto_base {
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetWorkflowReviewEligibleReviewersQueryDto = void 0;
|
|
4
|
+
const id_schema_1 = require("../../schemas/id.schema");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
class GetWorkflowReviewEligibleReviewersQueryDto extends zod_class_1.Z.class({
|
|
7
|
+
workflowId: id_schema_1.n8nIdSchema,
|
|
8
|
+
}) {
|
|
9
|
+
}
|
|
10
|
+
exports.GetWorkflowReviewEligibleReviewersQueryDto = GetWorkflowReviewEligibleReviewersQueryDto;
|
|
11
|
+
//# sourceMappingURL=get-eligible-reviewers-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-eligible-reviewers-query.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-reviews/get-eligible-reviewers-query.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AACtD,+CAAoC;AAEpC,gDAAwD,SAAQ,aAAC,CAAC,KAAK,CAAC;IACvE,UAAU,EAAE,uBAAW;CACvB,CAAC;CAAG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { WorkflowReviewEligibleReviewer } from '../../workflow-review-eligible-reviewer';
|
|
3
|
+
import { type WorkflowReviewRequestSummary } from '../../workflow-review-request-summary';
|
|
4
|
+
export interface WorkflowReviewInboxItem extends WorkflowReviewRequestSummary {
|
|
5
|
+
projectId: string;
|
|
6
|
+
title: string;
|
|
7
|
+
workflowName: string | null;
|
|
8
|
+
requester: WorkflowReviewEligibleReviewer | null;
|
|
9
|
+
reviewers: WorkflowReviewEligibleReviewer[];
|
|
10
|
+
}
|
|
11
|
+
declare const ListWorkflowReviewInboxQueryDto_base: import("../../zod-class").ZodClass<{
|
|
12
|
+
limit: number;
|
|
13
|
+
cursor?: string | undefined;
|
|
14
|
+
state?: "closed" | "open" | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
18
|
+
state: z.ZodOptional<z.ZodEnum<["open", "closed"]>>;
|
|
19
|
+
}>;
|
|
20
|
+
export declare class ListWorkflowReviewInboxQueryDto extends ListWorkflowReviewInboxQueryDto_base {
|
|
21
|
+
}
|
|
22
|
+
export interface ListWorkflowReviewInboxResponse {
|
|
23
|
+
data: WorkflowReviewInboxItem[];
|
|
24
|
+
nextCursor: string | null;
|
|
25
|
+
hasMore: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface GetWorkflowReviewInboxSummaryResponse {
|
|
28
|
+
open: number;
|
|
29
|
+
closed: number;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListWorkflowReviewInboxQueryDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const workflow_review_request_summary_1 = require("../../workflow-review-request-summary");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
class ListWorkflowReviewInboxQueryDto extends zod_class_1.Z.class({
|
|
8
|
+
limit: zod_1.z.coerce.number().int().min(1).max(100).default(15),
|
|
9
|
+
cursor: zod_1.z.string().min(1).max(256).optional(),
|
|
10
|
+
state: workflow_review_request_summary_1.workflowReviewRequestStateSchema.optional(),
|
|
11
|
+
}) {
|
|
12
|
+
}
|
|
13
|
+
exports.ListWorkflowReviewInboxQueryDto = ListWorkflowReviewInboxQueryDto;
|
|
14
|
+
//# sourceMappingURL=list-workflow-review-inbox.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflow-review-inbox.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-reviews/list-workflow-review-inbox.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGxB,2FAG+C;AAC/C,+CAAoC;AAkBpC,qCAA6C,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC5D,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAE1D,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,kEAAgC,CAAC,QAAQ,EAAE;CAClD,CAAC;CAAG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const ListWorkflowReviewRequestsQueryDto_base: import("../../zod-class").ZodClass<{
|
|
2
|
+
skip: number;
|
|
3
|
+
take: number;
|
|
4
|
+
workflowId: string;
|
|
5
|
+
state?: "closed" | "open" | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
skip: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
8
|
+
take: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
|
|
9
|
+
workflowId: import("zod").ZodString;
|
|
10
|
+
state: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
11
|
+
}>;
|
|
12
|
+
export declare class ListWorkflowReviewRequestsQueryDto extends ListWorkflowReviewRequestsQueryDto_base {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListWorkflowReviewRequestsQueryDto = void 0;
|
|
4
|
+
const id_schema_1 = require("../../schemas/id.schema");
|
|
5
|
+
const workflow_review_request_summary_1 = require("../../workflow-review-request-summary");
|
|
6
|
+
const zod_class_1 = require("../../zod-class");
|
|
7
|
+
const pagination_dto_1 = require("../pagination/pagination.dto");
|
|
8
|
+
class ListWorkflowReviewRequestsQueryDto extends zod_class_1.Z.class({
|
|
9
|
+
...pagination_dto_1.paginationSchema,
|
|
10
|
+
workflowId: id_schema_1.n8nIdSchema,
|
|
11
|
+
state: workflow_review_request_summary_1.workflowReviewRequestStateSchema.optional(),
|
|
12
|
+
}) {
|
|
13
|
+
}
|
|
14
|
+
exports.ListWorkflowReviewRequestsQueryDto = ListWorkflowReviewRequestsQueryDto;
|
|
15
|
+
//# sourceMappingURL=list-workflow-review-requests-query.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-workflow-review-requests-query.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-reviews/list-workflow-review-requests-query.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AACtD,2FAAyF;AACzF,+CAAoC;AACpC,iEAAgE;AAEhE,wCAAgD,SAAQ,aAAC,CAAC,KAAK,CAAC;IAC/D,GAAG,iCAAgB;IAEnB,UAAU,EAAE,uBAAW;IACvB,KAAK,EAAE,kEAAgC,CAAC,QAAQ,EAAE;CAClD,CAAC;CAAG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const UpdateWorkflowReviewRequestVersionDto_base: import("../../zod-class").ZodClass<{
|
|
2
|
+
workflowId: string;
|
|
3
|
+
workflowVersionId: string;
|
|
4
|
+
}, {
|
|
5
|
+
workflowId: import("zod").ZodString;
|
|
6
|
+
workflowVersionId: import("zod").ZodString;
|
|
7
|
+
}>;
|
|
8
|
+
export declare class UpdateWorkflowReviewRequestVersionDto extends UpdateWorkflowReviewRequestVersionDto_base {
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateWorkflowReviewRequestVersionDto = void 0;
|
|
4
|
+
const id_schema_1 = require("../../schemas/id.schema");
|
|
5
|
+
const zod_class_1 = require("../../zod-class");
|
|
6
|
+
class UpdateWorkflowReviewRequestVersionDto extends zod_class_1.Z.class({
|
|
7
|
+
workflowId: id_schema_1.n8nIdSchema,
|
|
8
|
+
workflowVersionId: id_schema_1.n8nIdSchema,
|
|
9
|
+
}) {
|
|
10
|
+
}
|
|
11
|
+
exports.UpdateWorkflowReviewRequestVersionDto = UpdateWorkflowReviewRequestVersionDto;
|
|
12
|
+
//# sourceMappingURL=update-workflow-review-request-version.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-workflow-review-request-version.dto.js","sourceRoot":"","sources":["../../../src/dto/workflow-reviews/update-workflow-review-request-version.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AACtD,+CAAoC;AAEpC,2CAAmD,SAAQ,aAAC,CAAC,KAAK,CAAC;IAClE,UAAU,EAAE,uBAAW;IACvB,iBAAiB,EAAE,uBAAW;CAC9B,CAAC;CAAG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export * from './instance-registry-types';
|
|
|
13
13
|
export * from './redaction-enforcement';
|
|
14
14
|
export * from './redaction-enforcement-floor';
|
|
15
15
|
export * from './workflow-reviews-policy';
|
|
16
|
+
export type * from './workflow-review-eligible-reviewer';
|
|
17
|
+
export * from './workflow-review-request-summary';
|
|
16
18
|
export { chatHubConversationModelSchema, type ChatModelDto, type ChatModelMetadataDto, type ChatHubOpenAIModel, type ChatHubAnthropicModel, type ChatHubGoogleModel, type ChatHubBaseLLMModel, type ChatHubN8nModel, type ChatHubCustomAgentModel, type ChatHubConversationModel, type ChatHubModuleSettings, chatHubProviderSchema, chatHubLLMProviderSchema, chatHubSessionTypeSchema, type ChatHubProvider, type ChatHubLLMProvider, type ChatHubSessionType, type ChatHubMessageType, type ChatHubMessageStatus, PROVIDER_CREDENTIAL_TYPE_MAP, chatModelsRequestSchema, emptyChatModelsResponse, type ChatModelsRequest, type ChatModelsResponse, chatAttachmentSchema, type ChatAttachment, ChatHubSendMessageRequest, ChatHubManualSendMessageRequest, ChatHubRegenerateMessageRequest, ChatHubManualRegenerateMessageRequest, ChatHubEditMessageRequest, ChatHubManualEditMessageRequest, ChatHubUpdateConversationRequest, ChatHubConversationsRequest, type ChatMessageId, type ChatSessionId, type ChatHubMessageDto, type ChatHubSessionDto, type ChatHubConversationDto, type ChatHubConversationResponse, type ChatHubConversationsResponse, type ChatHubAgentDto, type ChatHubAgentKnowledgeItem, type ChatHubAgentKnowledgeItemStatus, ChatHubCreateAgentRequest, ChatHubUpdateAgentRequest, type AgentIconOrEmoji, agentIconOrEmojiSchema, type SuggestedPrompt, suggestedPromptsSchema, type MessageChunk, UpdateChatSettingsRequest, UpdateChatEnabledRequest, ChatHubSemanticSearchSettings, type ChatProviderSettingsDto, type ChatSendMessageResponse, type ChatReconnectResponse, ChatReconnectRequest, type ChatArtifact, type ChatArtifactCreateCommand, type ChatArtifactEditCommand, type ChatMessageContentChunk, type ChatHubMessageButton, chatHubMessageWithButtonsSchema, type ChatHubMessageWithButtons, type ChatHubToolDto, ChatHubCreateToolRequest, ChatHubUpdateToolRequest, ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES, CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES, chatHubVectorStoreProviderSchema, type ChatHubVectorStoreProvider, VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP, } from './chat-hub';
|
|
17
19
|
export { isValidTimeZone, StrictTimeZoneSchema, TimeZoneSchema } from './schemas/timezone.schema';
|
|
18
20
|
export type { ChatHubPushMessage, ChatHubStreamEvent, ChatHubStreamBegin, ChatHubStreamChunk, ChatHubStreamEnd, ChatHubStreamError, ChatHubStreamMetadata, ChatHubExecutionEvent, ChatHubExecutionBegin, ChatHubExecutionEnd, ChatHubHumanMessageCreated, ChatHubMessageEdited, ChatHubAttachmentInfo, } from './push/chat-hub';
|
|
@@ -26,6 +28,7 @@ export { FAVORITE_RESOURCE_TYPES } from './schemas/favorites.schema';
|
|
|
26
28
|
export type { BannerName } from './schemas/banner-name.schema';
|
|
27
29
|
export { ViewableMimeTypes } from './schemas/binary-data.schema';
|
|
28
30
|
export { passwordSchema, createPasswordSchema } from './schemas/password.schema';
|
|
31
|
+
export { n8nIdSchema } from './schemas/id.schema';
|
|
29
32
|
export { SYSTEM_RESOLVER_ID, credentialResolverSchema, credentialResolversSchema, credentialResolverTypeSchema, credentialResolverTypesSchema, credentialResolverAffectedWorkflowsSchema, type CredentialResolver, type CredentialResolverType, type CredentialResolverAffectedWorkflow, } from './schemas/credential-resolver.schema';
|
|
30
33
|
export { WORKFLOW_VERSION_NAME_MAX_LENGTH, WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH, } from './schemas/workflow-version.schema';
|
|
31
34
|
export type { DependencyType, DependencyResourceType, ResolvedDependency, ResolvedDependenciesResult, DependenciesBatchResponse, } from './schemas/dependency.schema';
|
|
@@ -33,7 +36,7 @@ export type { DependencyTypeCounts, DependencyCountsBatchResponse, } from './sch
|
|
|
33
36
|
export type { ProjectType, ProjectIcon, ProjectRelation, } from './schemas/project.schema';
|
|
34
37
|
export { isSourceControlledFileStatus, type SourceControlledFileStatus, type SourceControlledFile, SOURCE_CONTROL_FILE_LOCATION, SOURCE_CONTROL_FILE_STATUS, SOURCE_CONTROL_FILE_TYPE, } from './schemas/source-controlled-file.schema';
|
|
35
38
|
export { insightsSummarySchema, type InsightsSummaryType, type InsightsSummaryUnit, type InsightsSummary, type InsightsByWorkflow, type InsightsByTime, type InsightsDateRange, type RestrictedInsightsByTime, } from './schemas/insights.schema';
|
|
36
|
-
export { ROLE, type Role, type User, type UsersList, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
|
|
39
|
+
export { ROLE, type Role, type User, type UsersList, type UserProject, usersListSchema, userBaseSchema, userDetailSchema, } from './schemas/user.schema';
|
|
37
40
|
export { encryptionKeySchema, encryptionKeysListSchema, type EncryptionKey, type EncryptionKeysList, } from './schemas/encryption-key.schema';
|
|
38
41
|
export { DATA_TABLE_COLUMN_REGEX, DATA_TABLE_COLUMN_MAX_LENGTH, DATA_TABLE_COLUMN_ERROR_MESSAGE, type DataTable, type DataTableColumn, type DataTableCreateColumnSchema, type DataTableListFilter, type DataTableListOptions, type DataTableListSortBy, dateTimeSchema, dataTableColumnNameSchema, dataTableColumnTypeSchema, dataTableIdSchema, dataTableNameSchema, } from './schemas/data-table.schema';
|
|
39
42
|
export type { DataTableFilter, DataTableFilterConditionType, } from './schemas/data-table-filter.schema';
|
|
@@ -47,17 +50,18 @@ export type { SecretsProviderType, SecretsProviderState, SecretsProviderConnecti
|
|
|
47
50
|
export { SECRETS_PROVIDER_KEY_PATTERN, SECRETS_PROVIDER_KEY_REGEX, testSecretProviderConnectionResponseSchema, reloadSecretProviderConnectionResponseSchema, } from './schemas/secrets-provider.schema';
|
|
48
51
|
export { communityPackageResponseSchema, type CommunityPackageResponse, } from './schemas/community-package.schema';
|
|
49
52
|
export { publicApiCredentialResponseSchema, type PublicApiCredentialResponse, } from './schemas/credential-response.schema';
|
|
50
|
-
export { buildRunWorkflowSessionGrantKey, buildFetchUrlGrantKey, FETCH_URL_ALLOW_ALL_GRANT_KEY, WEB_SEARCH_GRANT_KEY, parseDomainAccessGrants, instanceAiEventTypeSchema, INSTANCE_AI_EPHEMERAL_EVENT_TYPES, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, channelConfigSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, EVAL_VENDOR_SDK_INTERCEPTION_FLAG, CONFIG_EVALUATIONS_FLAG, CONFIG_EVALUATIONS_ENABLED_VARIANT, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, instanceAiCredentialHandoffContextSchema, instanceAiAgentPreviewHandoffContextSchema, instanceAiHandoffContextSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, instanceAiSandboxProviderSchema, isInstanceAiSandboxProvider, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalCredentialAllowlistRequest, INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS, AI_GATEWAY_MANAGED_TAG, InstanceAiEvalRestoreThreadRequest, InstanceAiEvalSeedDataTableRowsRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, instanceAiAgentAttachmentSchema, instanceAiAttachmentSchema, instanceAiFileAttachmentSchema, instanceAiResourceAttachmentSchema, instanceAiWorkflowAttachmentSchema, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiGatewayCreateCredentialDto, InstanceAiFilesystemResponseDto, instanceAiEvalSeedDataTableSchema, applyBranchReadOnlyOverrides,
|
|
53
|
+
export { buildRunWorkflowSessionGrantKey, buildFetchUrlGrantKey, FETCH_URL_ALLOW_ALL_GRANT_KEY, WEB_SEARCH_GRANT_KEY, parseDomainAccessGrants, instanceAiEventTypeSchema, INSTANCE_AI_EPHEMERAL_EVENT_TYPES, instanceAiRunStatusSchema, instanceAiConfirmationSeveritySchema, instanceAiAgentStatusSchema, instanceAiAgentKindSchema, instanceAiEventSchema, taskItemSchema, taskListSchema, plannedTaskArgSchema, runStartPayloadSchema, runFinishPayloadSchema, agentSpawnedPayloadSchema, agentCompletedPayloadSchema, textDeltaPayloadSchema, reasoningDeltaPayloadSchema, toolCallPayloadSchema, toolResultPayloadSchema, toolErrorPayloadSchema, confirmationRequestPayloadSchema, confirmationInputTypeSchema, channelConfigSchema, credentialRequestSchema, workflowSetupNodeSchema, errorPayloadSchema, filesystemRequestPayloadSchema, mcpToolSchema, mcpToolCallRequestSchema, mcpToolCallResultSchema, getRenderHint, isDisplayableConfirmationRequest, isSafeObjectKey, DEFAULT_INSTANCE_AI_PERMISSIONS, UNLIMITED_CREDITS, EVAL_VENDOR_SDK_INTERCEPTION_FLAG, CONFIG_EVALUATIONS_FLAG, CONFIG_EVALUATIONS_ENABLED_VARIANT, domainAccessActionSchema, domainAccessMetaSchema, webSearchMetaSchema, credentialFlowSchema, instanceAiCredentialHandoffContextSchema, instanceAiAgentPreviewHandoffContextSchema, instanceAiHandoffContextSchema, gatewayConfirmationRequiredWirePayloadSchema, gatewayConfirmationRequiredPayloadSchema, instanceGatewayResourceDecisionSchema, instanceAiSandboxProviderSchema, instanceAiConnectionSchema, isInstanceAiSandboxProvider, INSTANCE_AI_MODEL_CREDENTIAL_TYPES, INSTANCE_AI_SEARCH_CREDENTIAL_TYPES, GATEWAY_CONFIRMATION_REQUIRED_PREFIX, InstanceAiSendMessageRequest, InstanceAiEvalExecutionRequest, InstanceAiEvalAgentExecutionRequest, InstanceAiEvalCredentialAllowlistRequest, INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS, AI_GATEWAY_MANAGED_TAG, InstanceAiEvalRestoreThreadRequest, InstanceAiEvalSeedDataTableRowsRequest, instanceAiGatewayKeySchema, InstanceAiGatewayEventsQuery, InstanceAiEventsQuery, InstanceAiCorrectTaskRequest, InstanceAiEnsureThreadRequest, instanceAiAgentAttachmentSchema, instanceAiAttachmentSchema, instanceAiFileAttachmentSchema, instanceAiResourceAttachmentSchema, instanceAiWorkflowAttachmentSchema, InstanceAiThreadMessagesQuery, InstanceAiAdminSettingsUpdateRequest, InstanceAiUserPreferencesUpdateRequest, InstanceAiGatewayCapabilitiesDto, InstanceAiGatewayCreateCredentialDto, InstanceAiFilesystemResponseDto, instanceAiEvalSeedDataTableSchema, applyBranchReadOnlyOverrides, INSTANCE_AI_THREAD_SOURCES, INSTANCE_AI_THREAD_SOURCE_FALLBACK, } from './schemas/instance-ai.schema';
|
|
51
54
|
export type { InstanceAiThreadSource, InstanceAiThreadSourcePersisted, InstanceAiThreadOrigin, } from './schemas/instance-ai.schema';
|
|
52
|
-
export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiChannelConfig, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAgentAttachment, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRunDebugSummary, InstanceAiRunDebugStep, InstanceAiRunDebugWorkflowCodeSnapshot, InstanceAiRunDebugResponse, InstanceAiThreadDebugRunsResponse, InstanceAiRichMessagesResponse, InstanceAiMemoryTaskKind, InstanceAiMemoryTaskStatus, InstanceAiMemoryTaskSnapshot, InstanceAiThreadStatusResponse, InstanceAiConfirmResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse,
|
|
55
|
+
export type { RunId, AgentId, ThreadId, ToolCallId, InstanceAiEventType, InstanceAiRunStatus, InstanceAiConfirmation, InstanceAiConfirmationInputType, InstanceAiChannelConfig, InstanceAiConfirmationRequestPayload, InstanceAiConfirmationSeverity, InstanceAiCredentialRequest, InstanceAiAgentStatus, InstanceAiAgentKind, TaskItem, TaskList, InstanceAiRunStartEvent, InstanceAiRunFinishEvent, InstanceAiAgentSpawnedEvent, InstanceAiAgentCompletedEvent, InstanceAiTextDeltaEvent, InstanceAiReasoningDeltaEvent, InstanceAiToolCallEvent, InstanceAiToolResultEvent, InstanceAiToolErrorEvent, InstanceAiConfirmationRequestEvent, InstanceAiErrorEvent, InstanceAiFilesystemRequestEvent, InstanceAiFilesystemResponse, InstanceAiGatewayCapabilities, McpTool, McpToolAnnotations, McpToolCallRequest, McpToolCallResult, InstanceAiEvent, InstanceAiAgentAttachment, InstanceAiAttachment, InstanceAiSendMessageResponse, InstanceAiToolCallState, InstanceAiAgentNode, InstanceAiTimelineEntry, InstanceAiMessage, InstanceAiThreadSummary, InstanceAiSSEConnectionState, InstanceAiThreadInfo, InstanceAiThreadListResponse, InstanceAiEnsureThreadResponse, InstanceAiStoredMessage, InstanceAiThreadMessagesResponse, InstanceAiRunDebugSummary, InstanceAiRunDebugStep, InstanceAiRunDebugWorkflowCodeSnapshot, InstanceAiRunDebugResponse, InstanceAiThreadDebugRunsResponse, InstanceAiRichMessagesResponse, InstanceAiMemoryTaskKind, InstanceAiMemoryTaskStatus, InstanceAiMemoryTaskSnapshot, InstanceAiThreadStatusResponse, InstanceAiConfirmResponse, InstanceAiAdminSettingsResponse, InstanceAiUserPreferencesResponse, InstanceAiProviderConnection, InstanceAiSandboxProvider, InstanceAiConnectionUpdate, InstanceAiMcpConnectionResponse, InstanceAiMcpConnectionToolFilterResponse, InstanceAiMcpConnectionToolResponse, InstanceAiPermissionMode, InstanceAiPermissions, InstanceAiTargetResource, InstanceAiFileAttachment, InstanceAiResourceAttachment, InstanceAiWorkflowAttachment, DomainAccessAction, DomainAccessGrants, DomainAccessMeta, WebSearchMeta, InstanceAiCredentialFlow, InstanceAiCredentialHandoffContext, InstanceAiAgentPreviewHandoffContext, InstanceAiHandoffContext, GatewayConfirmationRequiredWirePayload, GatewayConfirmationRequiredPayload, InstanceGatewayResourceDecision, InstanceAiBrowserCreateLinkResponse, InstanceAiBrowserStatusResponse, ToolCategory, InstanceAiWorkflowSetupNode, PlannedTaskArg, InstanceAiEvalNodeExecutionMode, InstanceAiEvalInterceptedRequest, InstanceAiEvalNodeResult, InstanceAiEvalMockHints, InstanceAiEvalMockedCredential, InstanceAiEvalRewrittenCredential, InstanceAiEvalExecutionResult, InstanceAiEvalAgentToolCallRecord, InstanceAiEvalAgentModelTurnRecord, InstanceAiEvalAgentScenarioSeed, InstanceAiEvalAgentSkippedFeature, InstanceAiEvalAgentExecutionResult, InstanceAiEvalSeedWorkflow, InstanceAiEvalSeedDataTable, } from './schemas/instance-ai.schema';
|
|
53
56
|
export type { McpRegistryServerStatus, McpRegistryServerIconResponse, McpRegistryServerToolResponse, McpRegistryServerResponse, } from './schemas/mcp-registry.schema';
|
|
54
57
|
export { createInitialState, reduceEvent, findAgent, toAgentTree, stateFromAgentTree, normalizeLegacyReasoningTimeline, normalizeAgentTree, } from './schemas/agent-run-reducer';
|
|
55
58
|
export type { AgentRunState } from './schemas/agent-run-reducer';
|
|
56
59
|
export { formatDebugJson, summarizeJsonValue, parseSystemPromptForDisplay, parseMessageBlocks, parseUsageSummary, parseInputExtras, parseOutputDisplayBlocks, parseOutputExtras, parseStepSummary, } from './schemas/llm-step-display';
|
|
57
60
|
export type { ReadableContentBlock, ReadableSegment } from './schemas/llm-step-display';
|
|
58
61
|
export { startTestRunPayloadSchema, StartTestRunRequestDto, type StartTestRunPayload, } from './schemas/evaluations.schema';
|
|
59
|
-
export { MCP_APPS_FLAG, MCP_APPS_VARIANT_CONTROL, MCP_APPS_VARIANT_ENABLED, MCP_INSTANCE_SCOPES, MCP_CLIENT_BRAND_MATCHERS, MCP_CLIENT_TYPE_FILTERS, MCP_CLIENT_TYPE_FILTER_BUCKETS, MCP_CLIENT_CONNECTED_PERIODS, getMcpClientType, type McpScope, type McpClientType, type McpClientBrandName, type McpClientTypeFilter, type McpClientConnectedPeriod, } from './schemas/mcp.schema';
|
|
60
|
-
export { EVAL_COLLECTIONS_FLAG, RESERVED_METRIC_KEYS, ONE_TO_FIVE_METRIC_KEYS, normalizeMetricScore, evalCollectionVersionEntrySchema, createEvaluationCollectionSchema, CreateEvaluationCollectionDto, updateEvaluationCollectionSchema, UpdateEvaluationCollectionDto, addRunToCollectionSchema, AddRunToCollectionDto, type EvalCollectionVersionEntry, type CreateEvaluationCollectionPayload, type UpdateEvaluationCollectionPayload, type AddRunToCollectionPayload, type EvalCollectionRunStatus, type EvaluationCollectionRecord, type EvaluationCollectionRunSummary, type EvaluationCollectionDetail, type EvalVersionEntry, type EvalVersionsResponse, } from './schemas/eval-collections.schema';
|
|
62
|
+
export { MCP_APPS_FLAG, MCP_APPS_VARIANT_CONTROL, MCP_APPS_VARIANT_ENABLED, MCP_CANVAS_GROUPS_FLAG, MCP_INSTANCE_SCOPES, MCP_CLIENT_BRAND_MATCHERS, MCP_CLIENT_TYPE_FILTERS, MCP_CLIENT_TYPE_FILTER_BUCKETS, MCP_CLIENT_CONNECTED_PERIODS, getMcpClientType, type McpScope, type McpClientType, type McpClientBrandName, type McpClientTypeFilter, type McpClientConnectedPeriod, } from './schemas/mcp.schema';
|
|
63
|
+
export { EVAL_COLLECTIONS_FLAG, RESERVED_METRIC_KEYS, ONE_TO_FIVE_METRIC_KEYS, normalizeMetricScore, normalizedScores, averageNormalizedScore, metricScaleFromConfig, metricScalesFromConfig, metricScalesFromSnapshot, type MetricScale, evalCollectionVersionEntrySchema, createEvaluationCollectionSchema, CreateEvaluationCollectionDto, updateEvaluationCollectionSchema, UpdateEvaluationCollectionDto, addRunToCollectionSchema, AddRunToCollectionDto, type EvalCollectionVersionEntry, type CreateEvaluationCollectionPayload, type UpdateEvaluationCollectionPayload, type AddRunToCollectionPayload, type EvalCollectionRunStatus, type EvaluationCollectionRecord, type EvaluationCollectionRunSummary, type EvaluationCollectionDetail, type EvalVersionEntry, type EvalVersionsResponse, } from './schemas/eval-collections.schema';
|
|
64
|
+
export { AGENT_EVALS_FLAG } from './schemas/agent-evals.schema';
|
|
61
65
|
export { aiInsightsStatusSchema, aiInsightsPayloadSchema, aiInsightsResponseSchema, generateInsightsSchema, GenerateInsightsDto, type AiInsightsStatus, type AiInsightsWinner, type AiInsightsRegression, type AiInsightsSuggestedNext, type AiInsightsPayload, type AiInsightsResponse, type GenerateInsightsPayload, } from './schemas/eval-insights.schema';
|
|
62
66
|
export { ALLOWED_DOMAINS, isAllowedDomain } from './utils/allowed-domains';
|
|
63
67
|
export type { PublishTimelineEvent } from './schemas/workflow-publish-timeline.schema';
|
package/dist/index.js
CHANGED
|
@@ -14,11 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.buildProxyHeaders = exports.N8N_PROXY_FEATURES = exports.X_N8N_VERSION_HEADER = exports.X_N8N_FEATURE_HEADER = exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.GenerateInsightsDto = void 0;
|
|
17
|
+
exports.WORKFLOW_VERSION_DESCRIPTION_MAX_LENGTH = exports.WORKFLOW_VERSION_NAME_MAX_LENGTH = exports.credentialResolverAffectedWorkflowsSchema = exports.credentialResolverTypesSchema = exports.credentialResolverTypeSchema = exports.credentialResolversSchema = exports.credentialResolverSchema = exports.SYSTEM_RESOLVER_ID = exports.n8nIdSchema = exports.createPasswordSchema = exports.passwordSchema = exports.ViewableMimeTypes = exports.FAVORITE_RESOURCE_TYPES = exports.heartbeatMessageSchema = exports.createHeartbeatMessage = exports.TimeZoneSchema = exports.StrictTimeZoneSchema = exports.isValidTimeZone = exports.VECTOR_STORE_PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubVectorStoreProviderSchema = exports.CHAT_USER_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ALWAYS_BLOCKED_CHAT_HUB_TOOL_TYPES = exports.ChatHubUpdateToolRequest = exports.ChatHubCreateToolRequest = exports.chatHubMessageWithButtonsSchema = exports.ChatReconnectRequest = exports.ChatHubSemanticSearchSettings = exports.UpdateChatEnabledRequest = exports.UpdateChatSettingsRequest = exports.suggestedPromptsSchema = exports.agentIconOrEmojiSchema = exports.ChatHubUpdateAgentRequest = exports.ChatHubCreateAgentRequest = exports.ChatHubConversationsRequest = exports.ChatHubUpdateConversationRequest = exports.ChatHubManualEditMessageRequest = exports.ChatHubEditMessageRequest = exports.ChatHubManualRegenerateMessageRequest = exports.ChatHubRegenerateMessageRequest = exports.ChatHubManualSendMessageRequest = exports.ChatHubSendMessageRequest = exports.chatAttachmentSchema = exports.emptyChatModelsResponse = exports.chatModelsRequestSchema = exports.PROVIDER_CREDENTIAL_TYPE_MAP = exports.chatHubSessionTypeSchema = exports.chatHubLLMProviderSchema = exports.chatHubProviderSchema = exports.chatHubConversationModelSchema = exports.Z = void 0;
|
|
18
|
+
exports.toolCallPayloadSchema = exports.reasoningDeltaPayloadSchema = exports.textDeltaPayloadSchema = exports.agentCompletedPayloadSchema = exports.agentSpawnedPayloadSchema = exports.runFinishPayloadSchema = exports.runStartPayloadSchema = exports.plannedTaskArgSchema = exports.taskListSchema = exports.taskItemSchema = exports.instanceAiEventSchema = exports.instanceAiAgentKindSchema = exports.instanceAiAgentStatusSchema = exports.instanceAiConfirmationSeveritySchema = exports.instanceAiRunStatusSchema = exports.INSTANCE_AI_EPHEMERAL_EVENT_TYPES = exports.instanceAiEventTypeSchema = exports.parseDomainAccessGrants = exports.WEB_SEARCH_GRANT_KEY = exports.FETCH_URL_ALLOW_ALL_GRANT_KEY = exports.buildFetchUrlGrantKey = exports.buildRunWorkflowSessionGrantKey = exports.publicApiCredentialResponseSchema = exports.communityPackageResponseSchema = exports.reloadSecretProviderConnectionResponseSchema = exports.testSecretProviderConnectionResponseSchema = exports.SECRETS_PROVIDER_KEY_REGEX = exports.SECRETS_PROVIDER_KEY_PATTERN = exports.MIGRATION_REPORT_TARGET_VERSION = exports.WorkflowPublicationStatusSchema = exports.WorkflowExecutionStatusSchema = exports.dataTableNameSchema = exports.dataTableIdSchema = exports.dataTableColumnTypeSchema = exports.dataTableColumnNameSchema = exports.dateTimeSchema = exports.DATA_TABLE_COLUMN_ERROR_MESSAGE = exports.DATA_TABLE_COLUMN_MAX_LENGTH = exports.DATA_TABLE_COLUMN_REGEX = exports.encryptionKeysListSchema = exports.encryptionKeySchema = exports.userDetailSchema = exports.userBaseSchema = exports.usersListSchema = exports.ROLE = exports.insightsSummarySchema = exports.SOURCE_CONTROL_FILE_TYPE = exports.SOURCE_CONTROL_FILE_STATUS = exports.SOURCE_CONTROL_FILE_LOCATION = exports.isSourceControlledFileStatus = void 0;
|
|
19
|
+
exports.instanceAiAgentAttachmentSchema = exports.InstanceAiEnsureThreadRequest = exports.InstanceAiCorrectTaskRequest = exports.InstanceAiEventsQuery = exports.InstanceAiGatewayEventsQuery = exports.instanceAiGatewayKeySchema = exports.InstanceAiEvalSeedDataTableRowsRequest = exports.InstanceAiEvalRestoreThreadRequest = exports.AI_GATEWAY_MANAGED_TAG = exports.INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS = exports.InstanceAiEvalCredentialAllowlistRequest = exports.InstanceAiEvalAgentExecutionRequest = exports.InstanceAiEvalExecutionRequest = exports.InstanceAiSendMessageRequest = exports.GATEWAY_CONFIRMATION_REQUIRED_PREFIX = exports.INSTANCE_AI_SEARCH_CREDENTIAL_TYPES = exports.INSTANCE_AI_MODEL_CREDENTIAL_TYPES = exports.isInstanceAiSandboxProvider = exports.instanceAiConnectionSchema = exports.instanceAiSandboxProviderSchema = exports.instanceGatewayResourceDecisionSchema = exports.gatewayConfirmationRequiredPayloadSchema = exports.gatewayConfirmationRequiredWirePayloadSchema = exports.instanceAiHandoffContextSchema = exports.instanceAiAgentPreviewHandoffContextSchema = exports.instanceAiCredentialHandoffContextSchema = exports.credentialFlowSchema = exports.webSearchMetaSchema = exports.domainAccessMetaSchema = exports.domainAccessActionSchema = exports.CONFIG_EVALUATIONS_ENABLED_VARIANT = exports.CONFIG_EVALUATIONS_FLAG = exports.EVAL_VENDOR_SDK_INTERCEPTION_FLAG = exports.UNLIMITED_CREDITS = exports.DEFAULT_INSTANCE_AI_PERMISSIONS = exports.isSafeObjectKey = exports.isDisplayableConfirmationRequest = exports.getRenderHint = exports.mcpToolCallResultSchema = exports.mcpToolCallRequestSchema = exports.mcpToolSchema = exports.filesystemRequestPayloadSchema = exports.errorPayloadSchema = exports.workflowSetupNodeSchema = exports.credentialRequestSchema = exports.channelConfigSchema = exports.confirmationInputTypeSchema = exports.confirmationRequestPayloadSchema = exports.toolErrorPayloadSchema = exports.toolResultPayloadSchema = void 0;
|
|
20
|
+
exports.metricScalesFromConfig = exports.metricScaleFromConfig = exports.averageNormalizedScore = exports.normalizedScores = exports.normalizeMetricScore = exports.ONE_TO_FIVE_METRIC_KEYS = exports.RESERVED_METRIC_KEYS = exports.EVAL_COLLECTIONS_FLAG = exports.getMcpClientType = exports.MCP_CLIENT_CONNECTED_PERIODS = exports.MCP_CLIENT_TYPE_FILTER_BUCKETS = exports.MCP_CLIENT_TYPE_FILTERS = exports.MCP_CLIENT_BRAND_MATCHERS = exports.MCP_INSTANCE_SCOPES = exports.MCP_CANVAS_GROUPS_FLAG = exports.MCP_APPS_VARIANT_ENABLED = exports.MCP_APPS_VARIANT_CONTROL = exports.MCP_APPS_FLAG = exports.StartTestRunRequestDto = exports.startTestRunPayloadSchema = exports.parseStepSummary = exports.parseOutputExtras = exports.parseOutputDisplayBlocks = exports.parseInputExtras = exports.parseUsageSummary = exports.parseMessageBlocks = exports.parseSystemPromptForDisplay = exports.summarizeJsonValue = exports.formatDebugJson = exports.normalizeAgentTree = exports.normalizeLegacyReasoningTimeline = exports.stateFromAgentTree = exports.toAgentTree = exports.findAgent = exports.reduceEvent = exports.createInitialState = exports.INSTANCE_AI_THREAD_SOURCE_FALLBACK = exports.INSTANCE_AI_THREAD_SOURCES = exports.applyBranchReadOnlyOverrides = exports.instanceAiEvalSeedDataTableSchema = exports.InstanceAiFilesystemResponseDto = exports.InstanceAiGatewayCreateCredentialDto = exports.InstanceAiGatewayCapabilitiesDto = exports.InstanceAiUserPreferencesUpdateRequest = exports.InstanceAiAdminSettingsUpdateRequest = exports.InstanceAiThreadMessagesQuery = exports.instanceAiWorkflowAttachmentSchema = exports.instanceAiResourceAttachmentSchema = exports.instanceAiFileAttachmentSchema = exports.instanceAiAttachmentSchema = void 0;
|
|
21
|
+
exports.buildProxyHeaders = exports.N8N_PROXY_FEATURES = exports.X_N8N_VERSION_HEADER = exports.X_N8N_FEATURE_HEADER = exports.isAllowedDomain = exports.ALLOWED_DOMAINS = exports.GenerateInsightsDto = exports.generateInsightsSchema = exports.aiInsightsResponseSchema = exports.aiInsightsPayloadSchema = exports.aiInsightsStatusSchema = exports.AGENT_EVALS_FLAG = exports.AddRunToCollectionDto = exports.addRunToCollectionSchema = exports.UpdateEvaluationCollectionDto = exports.updateEvaluationCollectionSchema = exports.CreateEvaluationCollectionDto = exports.createEvaluationCollectionSchema = exports.evalCollectionVersionEntrySchema = exports.metricScalesFromSnapshot = void 0;
|
|
22
22
|
var zod_class_1 = require("./zod-class");
|
|
23
23
|
Object.defineProperty(exports, "Z", { enumerable: true, get: function () { return zod_class_1.Z; } });
|
|
24
24
|
__exportStar(require("./dto"), exports);
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./instance-registry-types"), exports);
|
|
|
28
28
|
__exportStar(require("./redaction-enforcement"), exports);
|
|
29
29
|
__exportStar(require("./redaction-enforcement-floor"), exports);
|
|
30
30
|
__exportStar(require("./workflow-reviews-policy"), exports);
|
|
31
|
+
__exportStar(require("./workflow-review-request-summary"), exports);
|
|
31
32
|
var chat_hub_1 = require("./chat-hub");
|
|
32
33
|
Object.defineProperty(exports, "chatHubConversationModelSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubConversationModelSchema; } });
|
|
33
34
|
Object.defineProperty(exports, "chatHubProviderSchema", { enumerable: true, get: function () { return chat_hub_1.chatHubProviderSchema; } });
|
|
@@ -74,6 +75,8 @@ Object.defineProperty(exports, "ViewableMimeTypes", { enumerable: true, get: fun
|
|
|
74
75
|
var password_schema_1 = require("./schemas/password.schema");
|
|
75
76
|
Object.defineProperty(exports, "passwordSchema", { enumerable: true, get: function () { return password_schema_1.passwordSchema; } });
|
|
76
77
|
Object.defineProperty(exports, "createPasswordSchema", { enumerable: true, get: function () { return password_schema_1.createPasswordSchema; } });
|
|
78
|
+
var id_schema_1 = require("./schemas/id.schema");
|
|
79
|
+
Object.defineProperty(exports, "n8nIdSchema", { enumerable: true, get: function () { return id_schema_1.n8nIdSchema; } });
|
|
77
80
|
var credential_resolver_schema_1 = require("./schemas/credential-resolver.schema");
|
|
78
81
|
Object.defineProperty(exports, "SYSTEM_RESOLVER_ID", { enumerable: true, get: function () { return credential_resolver_schema_1.SYSTEM_RESOLVER_ID; } });
|
|
79
82
|
Object.defineProperty(exports, "credentialResolverSchema", { enumerable: true, get: function () { return credential_resolver_schema_1.credentialResolverSchema; } });
|
|
@@ -177,10 +180,14 @@ Object.defineProperty(exports, "gatewayConfirmationRequiredWirePayloadSchema", {
|
|
|
177
180
|
Object.defineProperty(exports, "gatewayConfirmationRequiredPayloadSchema", { enumerable: true, get: function () { return instance_ai_schema_1.gatewayConfirmationRequiredPayloadSchema; } });
|
|
178
181
|
Object.defineProperty(exports, "instanceGatewayResourceDecisionSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceGatewayResourceDecisionSchema; } });
|
|
179
182
|
Object.defineProperty(exports, "instanceAiSandboxProviderSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiSandboxProviderSchema; } });
|
|
183
|
+
Object.defineProperty(exports, "instanceAiConnectionSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiConnectionSchema; } });
|
|
180
184
|
Object.defineProperty(exports, "isInstanceAiSandboxProvider", { enumerable: true, get: function () { return instance_ai_schema_1.isInstanceAiSandboxProvider; } });
|
|
185
|
+
Object.defineProperty(exports, "INSTANCE_AI_MODEL_CREDENTIAL_TYPES", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_MODEL_CREDENTIAL_TYPES; } });
|
|
186
|
+
Object.defineProperty(exports, "INSTANCE_AI_SEARCH_CREDENTIAL_TYPES", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_SEARCH_CREDENTIAL_TYPES; } });
|
|
181
187
|
Object.defineProperty(exports, "GATEWAY_CONFIRMATION_REQUIRED_PREFIX", { enumerable: true, get: function () { return instance_ai_schema_1.GATEWAY_CONFIRMATION_REQUIRED_PREFIX; } });
|
|
182
188
|
Object.defineProperty(exports, "InstanceAiSendMessageRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiSendMessageRequest; } });
|
|
183
189
|
Object.defineProperty(exports, "InstanceAiEvalExecutionRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEvalExecutionRequest; } });
|
|
190
|
+
Object.defineProperty(exports, "InstanceAiEvalAgentExecutionRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEvalAgentExecutionRequest; } });
|
|
184
191
|
Object.defineProperty(exports, "InstanceAiEvalCredentialAllowlistRequest", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiEvalCredentialAllowlistRequest; } });
|
|
185
192
|
Object.defineProperty(exports, "INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_MEMORY_TASK_WAIT_TIMEOUT_MS; } });
|
|
186
193
|
Object.defineProperty(exports, "AI_GATEWAY_MANAGED_TAG", { enumerable: true, get: function () { return instance_ai_schema_1.AI_GATEWAY_MANAGED_TAG; } });
|
|
@@ -204,7 +211,8 @@ Object.defineProperty(exports, "InstanceAiGatewayCreateCredentialDto", { enumera
|
|
|
204
211
|
Object.defineProperty(exports, "InstanceAiFilesystemResponseDto", { enumerable: true, get: function () { return instance_ai_schema_1.InstanceAiFilesystemResponseDto; } });
|
|
205
212
|
Object.defineProperty(exports, "instanceAiEvalSeedDataTableSchema", { enumerable: true, get: function () { return instance_ai_schema_1.instanceAiEvalSeedDataTableSchema; } });
|
|
206
213
|
Object.defineProperty(exports, "applyBranchReadOnlyOverrides", { enumerable: true, get: function () { return instance_ai_schema_1.applyBranchReadOnlyOverrides; } });
|
|
207
|
-
Object.defineProperty(exports, "
|
|
214
|
+
Object.defineProperty(exports, "INSTANCE_AI_THREAD_SOURCES", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_THREAD_SOURCES; } });
|
|
215
|
+
Object.defineProperty(exports, "INSTANCE_AI_THREAD_SOURCE_FALLBACK", { enumerable: true, get: function () { return instance_ai_schema_1.INSTANCE_AI_THREAD_SOURCE_FALLBACK; } });
|
|
208
216
|
var agent_run_reducer_1 = require("./schemas/agent-run-reducer");
|
|
209
217
|
Object.defineProperty(exports, "createInitialState", { enumerable: true, get: function () { return agent_run_reducer_1.createInitialState; } });
|
|
210
218
|
Object.defineProperty(exports, "reduceEvent", { enumerable: true, get: function () { return agent_run_reducer_1.reduceEvent; } });
|
|
@@ -230,6 +238,7 @@ var mcp_schema_1 = require("./schemas/mcp.schema");
|
|
|
230
238
|
Object.defineProperty(exports, "MCP_APPS_FLAG", { enumerable: true, get: function () { return mcp_schema_1.MCP_APPS_FLAG; } });
|
|
231
239
|
Object.defineProperty(exports, "MCP_APPS_VARIANT_CONTROL", { enumerable: true, get: function () { return mcp_schema_1.MCP_APPS_VARIANT_CONTROL; } });
|
|
232
240
|
Object.defineProperty(exports, "MCP_APPS_VARIANT_ENABLED", { enumerable: true, get: function () { return mcp_schema_1.MCP_APPS_VARIANT_ENABLED; } });
|
|
241
|
+
Object.defineProperty(exports, "MCP_CANVAS_GROUPS_FLAG", { enumerable: true, get: function () { return mcp_schema_1.MCP_CANVAS_GROUPS_FLAG; } });
|
|
233
242
|
Object.defineProperty(exports, "MCP_INSTANCE_SCOPES", { enumerable: true, get: function () { return mcp_schema_1.MCP_INSTANCE_SCOPES; } });
|
|
234
243
|
Object.defineProperty(exports, "MCP_CLIENT_BRAND_MATCHERS", { enumerable: true, get: function () { return mcp_schema_1.MCP_CLIENT_BRAND_MATCHERS; } });
|
|
235
244
|
Object.defineProperty(exports, "MCP_CLIENT_TYPE_FILTERS", { enumerable: true, get: function () { return mcp_schema_1.MCP_CLIENT_TYPE_FILTERS; } });
|
|
@@ -241,6 +250,11 @@ Object.defineProperty(exports, "EVAL_COLLECTIONS_FLAG", { enumerable: true, get:
|
|
|
241
250
|
Object.defineProperty(exports, "RESERVED_METRIC_KEYS", { enumerable: true, get: function () { return eval_collections_schema_1.RESERVED_METRIC_KEYS; } });
|
|
242
251
|
Object.defineProperty(exports, "ONE_TO_FIVE_METRIC_KEYS", { enumerable: true, get: function () { return eval_collections_schema_1.ONE_TO_FIVE_METRIC_KEYS; } });
|
|
243
252
|
Object.defineProperty(exports, "normalizeMetricScore", { enumerable: true, get: function () { return eval_collections_schema_1.normalizeMetricScore; } });
|
|
253
|
+
Object.defineProperty(exports, "normalizedScores", { enumerable: true, get: function () { return eval_collections_schema_1.normalizedScores; } });
|
|
254
|
+
Object.defineProperty(exports, "averageNormalizedScore", { enumerable: true, get: function () { return eval_collections_schema_1.averageNormalizedScore; } });
|
|
255
|
+
Object.defineProperty(exports, "metricScaleFromConfig", { enumerable: true, get: function () { return eval_collections_schema_1.metricScaleFromConfig; } });
|
|
256
|
+
Object.defineProperty(exports, "metricScalesFromConfig", { enumerable: true, get: function () { return eval_collections_schema_1.metricScalesFromConfig; } });
|
|
257
|
+
Object.defineProperty(exports, "metricScalesFromSnapshot", { enumerable: true, get: function () { return eval_collections_schema_1.metricScalesFromSnapshot; } });
|
|
244
258
|
Object.defineProperty(exports, "evalCollectionVersionEntrySchema", { enumerable: true, get: function () { return eval_collections_schema_1.evalCollectionVersionEntrySchema; } });
|
|
245
259
|
Object.defineProperty(exports, "createEvaluationCollectionSchema", { enumerable: true, get: function () { return eval_collections_schema_1.createEvaluationCollectionSchema; } });
|
|
246
260
|
Object.defineProperty(exports, "CreateEvaluationCollectionDto", { enumerable: true, get: function () { return eval_collections_schema_1.CreateEvaluationCollectionDto; } });
|
|
@@ -248,6 +262,8 @@ Object.defineProperty(exports, "updateEvaluationCollectionSchema", { enumerable:
|
|
|
248
262
|
Object.defineProperty(exports, "UpdateEvaluationCollectionDto", { enumerable: true, get: function () { return eval_collections_schema_1.UpdateEvaluationCollectionDto; } });
|
|
249
263
|
Object.defineProperty(exports, "addRunToCollectionSchema", { enumerable: true, get: function () { return eval_collections_schema_1.addRunToCollectionSchema; } });
|
|
250
264
|
Object.defineProperty(exports, "AddRunToCollectionDto", { enumerable: true, get: function () { return eval_collections_schema_1.AddRunToCollectionDto; } });
|
|
265
|
+
var agent_evals_schema_1 = require("./schemas/agent-evals.schema");
|
|
266
|
+
Object.defineProperty(exports, "AGENT_EVALS_FLAG", { enumerable: true, get: function () { return agent_evals_schema_1.AGENT_EVALS_FLAG; } });
|
|
251
267
|
var eval_insights_schema_1 = require("./schemas/eval-insights.schema");
|
|
252
268
|
Object.defineProperty(exports, "aiInsightsStatusSchema", { enumerable: true, get: function () { return eval_insights_schema_1.aiInsightsStatusSchema; } });
|
|
253
269
|
Object.defineProperty(exports, "aiInsightsPayloadSchema", { enumerable: true, get: function () { return eval_insights_schema_1.aiInsightsPayloadSchema; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,yCAA+C;AAAtC,8FAAA,CAAC,OAAA;AAEV,wCAAsB;AAGtB,sDAAoC;AAKpC,iDAA+B;AAC/B,4DAA0C;AAC1C,0DAAwC;AACxC,gEAA8C;AAC9C,4DAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,yCAA+C;AAAtC,8FAAA,CAAC,OAAA;AAEV,wCAAsB;AAGtB,sDA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AA6B,OAAA;AAC7B,2IAAA,gCAAgC,OAAA;AAChC,wIAAA,6BAA6B,OAAA;AAC7B,mIAAA,wBAAwB,OAAA;AACxB,gIAAA,qBAAqB,OAAA;AAatB,mEAAgE;AAAvD,sHAAA,gBAAgB,OAAA;AAEzB,uEAawC;AAZvC,8HAAA,sBAAsB,OAAA;AACtB,+HAAA,uBAAuB,OAAA;AACvB,gIAAA,wBAAwB,OAAA;AACxB,8HAAA,sBAAsB,OAAA;AACtB,2HAAA,mBAAmB,OAAA;AAUpB,2DAA2E;AAAlE,kHAAA,eAAe,OAAA;AAAE,kHAAA,eAAe,OAAA;AAGzC,2DAOmC;AANlC,qHAAA,oBAAoB,OAAA;AACpB,qHAAA,oBAAoB,OAAA;AACpB,mHAAA,kBAAkB,OAAA;AAClB,kHAAA,iBAAiB,OAAA"}
|
package/dist/push/index.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ import type { InstanceAiPushMessage } from './instance-ai';
|
|
|
8
8
|
import type { WebhookPushMessage } from './webhook';
|
|
9
9
|
import type { WorkerPushMessage } from './worker';
|
|
10
10
|
import type { WorkflowPushMessage } from './workflow';
|
|
11
|
-
|
|
11
|
+
import type { WorkflowReviewPushMessage } from './workflow-review';
|
|
12
|
+
export type PushMessage = ExecutionPushMessage | WorkflowPushMessage | HotReloadPushMessage | WebhookPushMessage | WorkerPushMessage | CollaborationPushMessage | DebugPushMessage | BuilderCreditsPushMessage | ChatHubPushMessage | InstanceAiPushMessage | WorkflowReviewPushMessage;
|
|
12
13
|
export type PushType = PushMessage['type'];
|
|
13
14
|
export type PushPayload<T extends PushType> = Extract<PushMessage, {
|
|
14
15
|
type: T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-review.js","sourceRoot":"","sources":["../../src/push/workflow-review.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AGENT_EVALS_FLAG = "101_agent_evals";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-evals.schema.js","sourceRoot":"","sources":["../../src/schemas/agent-evals.schema.ts"],"names":[],"mappings":";;;AAMa,QAAA,gBAAgB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { type EvaluationMetric } from '../dto/evaluations/evaluation-config.dto';
|
|
2
3
|
export type EvalCollectionRunStatus = 'new' | 'running' | 'completed' | 'error' | 'cancelled';
|
|
3
4
|
export declare const EVAL_COLLECTIONS_FLAG = "084_eval_collections";
|
|
4
5
|
export declare const RESERVED_METRIC_KEYS: readonly ['promptTokens', 'completionTokens', 'totalTokens', 'executionTime'];
|
|
5
6
|
export declare const ONE_TO_FIVE_METRIC_KEYS: readonly ['correctness', 'helpfulness'];
|
|
6
|
-
export
|
|
7
|
+
export type MetricScale = 'unit' | 'oneToFive' | 'boolean';
|
|
8
|
+
export declare function metricScaleFromConfig(metric: EvaluationMetric): MetricScale;
|
|
9
|
+
export declare function metricScalesFromConfig(metrics: EvaluationMetric[]): Record<string, MetricScale>;
|
|
10
|
+
export declare function metricScalesFromSnapshot(snapshot: unknown): Record<string, MetricScale> | null;
|
|
11
|
+
export declare function normalizeMetricScore(key: string, value: number, scale?: MetricScale): number | null;
|
|
12
|
+
export declare function normalizedScores(metrics: Record<string, number | boolean> | null | undefined, scaleByMetric?: Record<string, MetricScale>): Record<string, number>;
|
|
13
|
+
export declare function averageNormalizedScore(metrics: Record<string, number | boolean> | null | undefined, scaleByMetric?: Record<string, MetricScale>): number | null;
|
|
7
14
|
export declare const evalCollectionVersionEntrySchema: z.ZodObject<{
|
|
8
15
|
workflowVersionId: z.ZodNullable<z.ZodString>;
|
|
9
16
|
existingTestRunId: z.ZodOptional<z.ZodString>;
|
|
@@ -143,9 +150,11 @@ export type EvaluationCollectionRunSummary = {
|
|
|
143
150
|
completedAt: string | null;
|
|
144
151
|
avgScore: number | null;
|
|
145
152
|
metrics: Record<string, number> | null;
|
|
153
|
+
metricScales?: Record<string, MetricScale>;
|
|
146
154
|
};
|
|
147
155
|
export type EvaluationCollectionDetail = EvaluationCollectionRecord & {
|
|
148
156
|
runs: EvaluationCollectionRunSummary[];
|
|
157
|
+
metricScales?: Record<string, MetricScale>;
|
|
149
158
|
};
|
|
150
159
|
export type EvalVersionEntry = {
|
|
151
160
|
workflowVersionId: string | null;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AddRunToCollectionDto = exports.addRunToCollectionSchema = exports.UpdateEvaluationCollectionDto = exports.updateEvaluationCollectionSchema = exports.CreateEvaluationCollectionDto = exports.createEvaluationCollectionSchema = exports.evalCollectionVersionEntrySchema = exports.ONE_TO_FIVE_METRIC_KEYS = exports.RESERVED_METRIC_KEYS = exports.EVAL_COLLECTIONS_FLAG = void 0;
|
|
4
|
+
exports.metricScaleFromConfig = metricScaleFromConfig;
|
|
5
|
+
exports.metricScalesFromConfig = metricScalesFromConfig;
|
|
6
|
+
exports.metricScalesFromSnapshot = metricScalesFromSnapshot;
|
|
4
7
|
exports.normalizeMetricScore = normalizeMetricScore;
|
|
8
|
+
exports.normalizedScores = normalizedScores;
|
|
9
|
+
exports.averageNormalizedScore = averageNormalizedScore;
|
|
5
10
|
const zod_1 = require("zod");
|
|
11
|
+
const evaluation_config_dto_1 = require("../dto/evaluations/evaluation-config.dto");
|
|
6
12
|
const zod_class_1 = require("../zod-class");
|
|
7
13
|
exports.EVAL_COLLECTIONS_FLAG = '084_eval_collections';
|
|
8
14
|
exports.RESERVED_METRIC_KEYS = [
|
|
@@ -12,16 +18,64 @@ exports.RESERVED_METRIC_KEYS = [
|
|
|
12
18
|
'executionTime',
|
|
13
19
|
];
|
|
14
20
|
exports.ONE_TO_FIVE_METRIC_KEYS = ['correctness', 'helpfulness'];
|
|
15
|
-
function
|
|
21
|
+
function metricScaleFromConfig(metric) {
|
|
22
|
+
if (metric.type === 'llm_judge')
|
|
23
|
+
return 'oneToFive';
|
|
24
|
+
if (metric.type === 'expression' && metric.config.outputType === 'boolean')
|
|
25
|
+
return 'boolean';
|
|
26
|
+
return 'unit';
|
|
27
|
+
}
|
|
28
|
+
function metricScalesFromConfig(metrics) {
|
|
29
|
+
const scaleByMetric = {};
|
|
30
|
+
for (const metric of metrics) {
|
|
31
|
+
scaleByMetric[metric.name] = metricScaleFromConfig(metric);
|
|
32
|
+
}
|
|
33
|
+
return scaleByMetric;
|
|
34
|
+
}
|
|
35
|
+
function metricScalesFromSnapshot(snapshot) {
|
|
36
|
+
const parsed = zod_1.z.object({ metrics: zod_1.z.array(evaluation_config_dto_1.evaluationMetricSchema) }).safeParse(snapshot);
|
|
37
|
+
return parsed.success ? metricScalesFromConfig(parsed.data.metrics) : null;
|
|
38
|
+
}
|
|
39
|
+
function normalizeMetricScore(key, value, scale) {
|
|
16
40
|
if (exports.RESERVED_METRIC_KEYS.includes(key))
|
|
17
41
|
return null;
|
|
18
42
|
if (Number.isNaN(value))
|
|
19
43
|
return null;
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
44
|
+
const resolvedScale = scale ?? (exports.ONE_TO_FIVE_METRIC_KEYS.includes(key) ? 'oneToFive' : 'unit');
|
|
45
|
+
let normalized;
|
|
46
|
+
switch (resolvedScale) {
|
|
47
|
+
case 'oneToFive':
|
|
48
|
+
normalized = value / 5;
|
|
49
|
+
break;
|
|
50
|
+
case 'boolean':
|
|
51
|
+
normalized = Math.min(1, Math.max(0, value));
|
|
52
|
+
break;
|
|
53
|
+
case 'unit':
|
|
54
|
+
normalized = value;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
23
57
|
return normalized >= 0 && normalized <= 1 ? normalized : null;
|
|
24
58
|
}
|
|
59
|
+
function normalizedScores(metrics, scaleByMetric = {}) {
|
|
60
|
+
const out = {};
|
|
61
|
+
if (!metrics)
|
|
62
|
+
return out;
|
|
63
|
+
for (const [key, raw] of Object.entries(metrics)) {
|
|
64
|
+
const value = typeof raw === 'boolean' ? (raw ? 1 : 0) : raw;
|
|
65
|
+
if (typeof value !== 'number')
|
|
66
|
+
continue;
|
|
67
|
+
const score = normalizeMetricScore(key, value, scaleByMetric[key]);
|
|
68
|
+
if (score !== null)
|
|
69
|
+
out[key] = score;
|
|
70
|
+
}
|
|
71
|
+
return out;
|
|
72
|
+
}
|
|
73
|
+
function averageNormalizedScore(metrics, scaleByMetric = {}) {
|
|
74
|
+
const values = Object.values(normalizedScores(metrics, scaleByMetric));
|
|
75
|
+
if (values.length === 0)
|
|
76
|
+
return null;
|
|
77
|
+
return values.reduce((sum, value) => sum + value, 0) / values.length;
|
|
78
|
+
}
|
|
25
79
|
exports.evalCollectionVersionEntrySchema = zod_1.z.object({
|
|
26
80
|
workflowVersionId: zod_1.z.string().min(1).nullable(),
|
|
27
81
|
existingTestRunId: zod_1.z.string().min(1).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval-collections.schema.js","sourceRoot":"","sources":["../../src/schemas/eval-collections.schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eval-collections.schema.js","sourceRoot":"","sources":["../../src/schemas/eval-collections.schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,6BAAwB;AAExB,oFAGkD;AAClD,4CAAiC;AAQpB,QAAA,qBAAqB,GAAG,sBAAsB,CAAC;AAI/C,QAAA,oBAAoB,GAAG;IACnC,cAAc;IACd,kBAAkB;IAClB,aAAa;IACb,eAAe;CACN,CAAC;AAIE,QAAA,uBAAuB,GAAG,CAAC,aAAa,EAAE,aAAa,CAAU,CAAC;AAU/E,+BAAsC,MAAwB;IAI7D,IAAI,MAAM,CAAC,IAAI,KAAK,WAAW;QAAE,OAAO,WAAW,CAAC;IACpD,IAAI,MAAM,CAAC,IAAI,KAAK,YAAY,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;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