@n8n/api-types 1.32.2 → 1.34.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-builder-tool-node-types.d.ts +0 -1
- package/dist/agent-builder-tool-node-types.js +9 -7
- package/dist/agent-builder-tool-node-types.js.map +1 -1
- package/dist/agent-sse.d.ts +42 -0
- package/dist/agents/agent-chat-attachments.constants.d.ts +6 -0
- package/dist/agents/agent-chat-attachments.constants.js +10 -0
- package/dist/agents/agent-chat-attachments.constants.js.map +1 -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-interaction.schema.js.map +1 -1
- package/dist/agents/agent-json-config.schema.d.ts +471 -140
- package/dist/agents/agent-json-config.schema.js +34 -20
- 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/agent-personalisation.d.ts +6 -0
- package/dist/agents/agent-personalisation.js +79 -0
- package/dist/agents/agent-personalisation.js.map +1 -0
- package/dist/agents/agent-task.schema.js +5 -1
- package/dist/agents/agent-task.schema.js.map +1 -1
- package/dist/agents/child-trace.d.ts +5 -0
- package/dist/agents/child-trace.js +67 -0
- package/dist/agents/child-trace.js.map +1 -0
- package/dist/agents/dto.d.ts +125 -0
- package/dist/agents/dto.js +47 -5
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +8 -2
- package/dist/agents/index.js +7 -2
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/inline-agent-config.schema.d.ts +18 -58
- package/dist/agents/inline-agent-config.schema.js +2 -2
- package/dist/agents/inline-agent-config.schema.js.map +1 -1
- package/dist/agents/model-providers.d.ts +19 -1
- package/dist/agents/model-providers.js +21 -1
- package/dist/agents/model-providers.js.map +1 -1
- package/dist/agents/provider-capabilities.d.ts +7 -0
- package/dist/agents/provider-capabilities.js +68 -7
- package/dist/agents/provider-capabilities.js.map +1 -1
- package/dist/agents/reasoning.d.ts +2 -0
- package/dist/agents/reasoning.js +5 -0
- package/dist/agents/reasoning.js.map +1 -0
- 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 +26 -2
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/constants/role-mapping.d.ts +1 -0
- package/dist/constants/role-mapping.js +5 -0
- package/dist/constants/role-mapping.js.map +1 -0
- 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 +16 -2
- package/dist/dto/index.js +31 -5
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/ldap/ldap-configuration-response.dto.d.ts +2 -0
- package/dist/dto/ldap/ldap-configuration-response.dto.js +3 -0
- package/dist/dto/ldap/ldap-configuration-response.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-configuration.dto.d.ts +47 -0
- package/dist/dto/ldap/ldap-configuration.dto.js +31 -0
- package/dist/dto/ldap/ldap-configuration.dto.js.map +1 -0
- package/dist/dto/ldap/ldap-sync.dto.d.ts +9 -0
- package/dist/dto/ldap/ldap-sync.dto.js +9 -0
- package/dist/dto/ldap/ldap-sync.dto.js.map +1 -0
- package/dist/dto/oidc/config.dto.d.ts +35 -0
- package/dist/dto/oidc/config.dto.js +11 -1
- package/dist/dto/oidc/config.dto.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/export-package-request.dto.d.ts +2 -0
- package/dist/dto/packages/export-package-request.dto.js +1 -0
- package/dist/dto/packages/export-package-request.dto.js.map +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +20 -10
- package/dist/dto/packages/import-package-request.dto.js +21 -21
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/provisioning/config.dto.d.ts +4 -0
- package/dist/dto/provisioning/config.dto.js +2 -0
- package/dist/dto/provisioning/config.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/source-control/push-work-folder-request.dto.d.ts +22 -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/decide-workflow-review-request.dto.d.ts +8 -0
- package/dist/dto/workflow-reviews/decide-workflow-review-request.dto.js +11 -0
- package/dist/dto/workflow-reviews/decide-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/get-workflow-review-request-detail.dto.d.ts +21 -0
- package/dist/dto/workflow-reviews/get-workflow-review-request-detail.dto.js +3 -0
- package/dist/dto/workflow-reviews/get-workflow-review-request-detail.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 +25 -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 +3 -0
- package/dist/index.d.ts +13 -6
- package/dist/index.js +41 -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 +343 -0
- package/dist/schemas/agent-evals.schema.js +84 -0
- package/dist/schemas/agent-evals.schema.js.map +1 -0
- package/dist/schemas/agent-run-reducer.js +1 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +57 -0
- package/dist/schemas/breaking-changes.schema.js +9 -0
- package/dist/schemas/breaking-changes.schema.js.map +1 -1
- 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 +136 -9
- package/dist/schemas/instance-ai.schema.js +46 -12
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/mcp.schema.d.ts +3 -1
- package/dist/schemas/mcp.schema.js +4 -1
- package/dist/schemas/mcp.schema.js.map +1 -1
- package/dist/schemas/source-controlled-file.schema.d.ts +18 -0
- package/dist/schemas/source-controlled-file.schema.js +2 -0
- package/dist/schemas/source-controlled-file.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-publish-blocked-details.d.ts +14 -0
- package/dist/workflow-publish-blocked-details.js +15 -0
- package/dist/workflow-publish-blocked-details.js.map +1 -0
- 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 +23 -0
- package/dist/workflow-review-request-summary.js +11 -0
- package/dist/workflow-review-request-summary.js.map +1 -0
- package/package.json +6 -6
- package/dist/dto/otel/test-otel-connection.dto.js.map +0 -1
|
@@ -1,2 +1 @@
|
|
|
1
1
|
export declare const AGENT_BUILDER_HIDDEN_AVAILABLE_TOOL_NODE_TYPES: readonly string[];
|
|
2
|
-
export declare const AGENT_BUILDER_AVAILABLE_AI_UTILITY_TOOL_NODE_TYPES: readonly ['toolCalculator', 'toolThink', '@n8n/n8n-nodes-langchain.toolCalculator', '@n8n/n8n-nodes-langchain.toolThink'];
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AGENT_BUILDER_HIDDEN_AVAILABLE_TOOL_NODE_TYPES = void 0;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
-
|
|
6
|
-
...n8n_workflow_1.AI_VENDOR_NODE_TYPES.map((nodeType) => `${nodeType}Tool`),
|
|
7
|
-
n8n_workflow_1.CHAT_TOOL_NODE_TYPE,
|
|
8
|
-
n8n_workflow_1.WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE,
|
|
9
|
-
];
|
|
10
|
-
exports.AGENT_BUILDER_AVAILABLE_AI_UTILITY_TOOL_NODE_TYPES = [
|
|
5
|
+
const AGENT_BUILDER_AI_UTILITY_TOOL_NODE_TYPES = [
|
|
11
6
|
'toolCalculator',
|
|
12
7
|
'toolThink',
|
|
13
8
|
'@n8n/n8n-nodes-langchain.toolCalculator',
|
|
14
9
|
'@n8n/n8n-nodes-langchain.toolThink',
|
|
15
10
|
];
|
|
11
|
+
exports.AGENT_BUILDER_HIDDEN_AVAILABLE_TOOL_NODE_TYPES = [
|
|
12
|
+
...n8n_workflow_1.AI_VENDOR_NODE_TYPES.map((nodeType) => `${nodeType}Tool`),
|
|
13
|
+
n8n_workflow_1.CHAT_TOOL_NODE_TYPE,
|
|
14
|
+
n8n_workflow_1.WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE,
|
|
15
|
+
...AGENT_BUILDER_AI_UTILITY_TOOL_NODE_TYPES,
|
|
16
|
+
...n8n_workflow_1.AI_VENDOR_NODE_TYPES,
|
|
17
|
+
];
|
|
16
18
|
//# sourceMappingURL=agent-builder-tool-node-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-builder-tool-node-types.js","sourceRoot":"","sources":["../src/agent-builder-tool-node-types.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;
|
|
1
|
+
{"version":3,"file":"agent-builder-tool-node-types.js","sourceRoot":"","sources":["../src/agent-builder-tool-node-types.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,MAAM,wCAAwC,GAAG;IAChD,gBAAgB;IAChB,WAAW;IACX,yCAAyC;IACzC,oCAAoC;CAC3B,CAAC;AAOE,QAAA,8CAA8C,GAAsB;IAChF,GAAG,mCAAoB,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,GAAG,QAAQ,MAAM,CAAC;IAC5D,kCAAmB;IAEnB,gDAAiC;IAEjC,GAAG,wCAAwC;IAE3C,GAAG,mCAAoB;CACvB,CAAC"}
|
package/dist/agent-sse.d.ts
CHANGED
|
@@ -9,6 +9,36 @@ export interface AgentSseMessage {
|
|
|
9
9
|
role: string;
|
|
10
10
|
content: AgentPersistedMessageContentPart[];
|
|
11
11
|
}
|
|
12
|
+
export type ForwardedChildChunkWire = {
|
|
13
|
+
type: 'text-delta';
|
|
14
|
+
id: string;
|
|
15
|
+
delta: string;
|
|
16
|
+
} | {
|
|
17
|
+
type: 'reasoning-start';
|
|
18
|
+
id: string;
|
|
19
|
+
} | {
|
|
20
|
+
type: 'reasoning-delta';
|
|
21
|
+
id: string;
|
|
22
|
+
delta: string;
|
|
23
|
+
} | {
|
|
24
|
+
type: 'reasoning-end';
|
|
25
|
+
id: string;
|
|
26
|
+
} | {
|
|
27
|
+
type: 'tool-input-start';
|
|
28
|
+
toolCallId: string;
|
|
29
|
+
toolName: string;
|
|
30
|
+
} | {
|
|
31
|
+
type: 'tool-execution-start';
|
|
32
|
+
toolCallId: string;
|
|
33
|
+
toolName: string;
|
|
34
|
+
startTime: number;
|
|
35
|
+
} | {
|
|
36
|
+
type: 'tool-execution-end';
|
|
37
|
+
toolCallId: string;
|
|
38
|
+
toolName: string;
|
|
39
|
+
isError: boolean;
|
|
40
|
+
endTime: number;
|
|
41
|
+
};
|
|
12
42
|
export type AgentSseEvent = {
|
|
13
43
|
type: 'start-step';
|
|
14
44
|
} | {
|
|
@@ -67,9 +97,20 @@ export type AgentSseEvent = {
|
|
|
67
97
|
} | {
|
|
68
98
|
type: 'tool-call-suspended';
|
|
69
99
|
payload: ToolSuspendedPayload;
|
|
100
|
+
} | {
|
|
101
|
+
type: 'subagent-chunk';
|
|
102
|
+
parentToolCallId: string;
|
|
103
|
+
taskPath: string;
|
|
104
|
+
chunk: ForwardedChildChunkWire;
|
|
70
105
|
} | {
|
|
71
106
|
type: 'message';
|
|
72
107
|
message: AgentSseMessage;
|
|
108
|
+
} | {
|
|
109
|
+
type: 'warning';
|
|
110
|
+
message: string;
|
|
111
|
+
code?: string;
|
|
112
|
+
source?: 'mcp';
|
|
113
|
+
server?: string;
|
|
73
114
|
} | {
|
|
74
115
|
type: 'error';
|
|
75
116
|
message: string;
|
|
@@ -78,4 +119,5 @@ export type AgentSseEvent = {
|
|
|
78
119
|
} | {
|
|
79
120
|
type: 'done';
|
|
80
121
|
sessionId?: string;
|
|
122
|
+
executionId?: string;
|
|
81
123
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENT_SIZE_MB = 10;
|
|
2
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENT_SIZE_BYTES: number;
|
|
3
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENT_BASE64_LENGTH: number;
|
|
4
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENTS_PER_MESSAGE = 10;
|
|
5
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENT_FILENAME_LENGTH = 255;
|
|
6
|
+
export declare const MAX_AGENT_CHAT_ATTACHMENT_MIMETYPE_LENGTH = 100;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_MIMETYPE_LENGTH = exports.MAX_AGENT_CHAT_ATTACHMENT_FILENAME_LENGTH = exports.MAX_AGENT_CHAT_ATTACHMENTS_PER_MESSAGE = exports.MAX_AGENT_CHAT_ATTACHMENT_BASE64_LENGTH = exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_BYTES = exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_MB = void 0;
|
|
4
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_MB = 10;
|
|
5
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_BYTES = exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_MB * 1024 * 1024;
|
|
6
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_BASE64_LENGTH = Math.ceil(exports.MAX_AGENT_CHAT_ATTACHMENT_SIZE_BYTES / 3) * 4;
|
|
7
|
+
exports.MAX_AGENT_CHAT_ATTACHMENTS_PER_MESSAGE = 10;
|
|
8
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_FILENAME_LENGTH = 255;
|
|
9
|
+
exports.MAX_AGENT_CHAT_ATTACHMENT_MIMETYPE_LENGTH = 100;
|
|
10
|
+
//# sourceMappingURL=agent-chat-attachments.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-chat-attachments.constants.js","sourceRoot":"","sources":["../../src/agents/agent-chat-attachments.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG,EAAE,CAAC;AACvC,QAAA,oCAAoC,GAAG,QAAA,iCAAiC,GAAG,IAAI,GAAG,IAAI,CAAC;AAMvF,QAAA,uCAAuC,GACnD,IAAI,CAAC,IAAI,CAAC,QAAA,oCAAoC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;AAC5C,QAAA,sCAAsC,GAAG,EAAE,CAAC;AAE5C,QAAA,yCAAyC,GAAG,GAAG,CAAC;AAChD,QAAA,yCAAyC,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isDraftAgentConfig = isDraftAgentConfig;
|
|
4
|
+
exports.isDraftIntegration = isDraftIntegration;
|
|
5
|
+
function isDraftAgentConfig(config) {
|
|
6
|
+
return typeof config?.model !== 'string' || config.model.trim() === '';
|
|
7
|
+
}
|
|
8
|
+
function isDraftIntegration(integration) {
|
|
9
|
+
return integration.credentialId.trim() === '';
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=agent-config-lifecycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-config-lifecycle.js","sourceRoot":"","sources":["../../src/agents/agent-config-lifecycle.ts"],"names":[],"mappings":";;;;AAOA,4BAAmC,MAA6C;IAC/E,OAAO,OAAO,MAAM,EAAE,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AACxE,CAAC;AAGD,4BAAmC,WAAqC;IACvE,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAC/C,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const agentCapabilityKindSchema: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent"]>;
|
|
2
|
+
export declare const agentCapabilityKindSchema: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent", "vectorStore"]>;
|
|
3
3
|
export type AgentCapabilityKind = z.infer<typeof agentCapabilityKindSchema>;
|
|
4
4
|
export declare const agentConfigValidationIssueCodeSchema: z.ZodEnum<["missing_required", "invalid_value", "missing_credential", "invalid_credential", "incompatible_credential", "missing_reference", "incompatible_reference"]>;
|
|
5
5
|
export type AgentConfigValidationIssueCode = z.infer<typeof agentConfigValidationIssueCodeSchema>;
|
|
6
6
|
export declare const agentConfigValidationCapabilityRefSchema: z.ZodObject<{
|
|
7
|
-
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent"]>;
|
|
7
|
+
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent", "vectorStore"]>;
|
|
8
8
|
id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
index: z.ZodOptional<z.ZodNumber>;
|
|
10
10
|
toolType: z.ZodOptional<z.ZodEnum<["custom", "workflow", "node"]>>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
12
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
13
13
|
id?: string | undefined;
|
|
14
14
|
index?: number | undefined;
|
|
15
15
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
17
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
18
18
|
id?: string | undefined;
|
|
19
19
|
index?: number | undefined;
|
|
20
20
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -24,17 +24,17 @@ export declare const agentConfigValidationIssueSchema: z.ZodObject<{
|
|
|
24
24
|
code: z.ZodEnum<["missing_required", "invalid_value", "missing_credential", "invalid_credential", "incompatible_credential", "missing_reference", "incompatible_reference"]>;
|
|
25
25
|
path: z.ZodString;
|
|
26
26
|
capability: z.ZodObject<{
|
|
27
|
-
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent"]>;
|
|
27
|
+
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent", "vectorStore"]>;
|
|
28
28
|
id: z.ZodOptional<z.ZodString>;
|
|
29
29
|
index: z.ZodOptional<z.ZodNumber>;
|
|
30
30
|
toolType: z.ZodOptional<z.ZodEnum<["custom", "workflow", "node"]>>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
32
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
33
33
|
id?: string | undefined;
|
|
34
34
|
index?: number | undefined;
|
|
35
35
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
37
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
38
38
|
id?: string | undefined;
|
|
39
39
|
index?: number | undefined;
|
|
40
40
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -43,7 +43,7 @@ export declare const agentConfigValidationIssueSchema: z.ZodObject<{
|
|
|
43
43
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
44
44
|
path: string;
|
|
45
45
|
capability: {
|
|
46
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
46
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
47
47
|
id?: string | undefined;
|
|
48
48
|
index?: number | undefined;
|
|
49
49
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -52,7 +52,7 @@ export declare const agentConfigValidationIssueSchema: z.ZodObject<{
|
|
|
52
52
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
53
53
|
path: string;
|
|
54
54
|
capability: {
|
|
55
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
55
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
56
56
|
id?: string | undefined;
|
|
57
57
|
index?: number | undefined;
|
|
58
58
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -65,17 +65,17 @@ export declare const agentConfigValidationResponseSchema: z.ZodObject<{
|
|
|
65
65
|
code: z.ZodEnum<["missing_required", "invalid_value", "missing_credential", "invalid_credential", "incompatible_credential", "missing_reference", "incompatible_reference"]>;
|
|
66
66
|
path: z.ZodString;
|
|
67
67
|
capability: z.ZodObject<{
|
|
68
|
-
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent"]>;
|
|
68
|
+
kind: z.ZodEnum<["agent", "channel", "tool", "mcpServer", "skill", "task", "subAgent", "vectorStore"]>;
|
|
69
69
|
id: z.ZodOptional<z.ZodString>;
|
|
70
70
|
index: z.ZodOptional<z.ZodNumber>;
|
|
71
71
|
toolType: z.ZodOptional<z.ZodEnum<["custom", "workflow", "node"]>>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
73
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
index?: number | undefined;
|
|
76
76
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
78
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
79
79
|
id?: string | undefined;
|
|
80
80
|
index?: number | undefined;
|
|
81
81
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -84,7 +84,7 @@ export declare const agentConfigValidationResponseSchema: z.ZodObject<{
|
|
|
84
84
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
85
85
|
path: string;
|
|
86
86
|
capability: {
|
|
87
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
87
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
88
88
|
id?: string | undefined;
|
|
89
89
|
index?: number | undefined;
|
|
90
90
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -93,7 +93,7 @@ export declare const agentConfigValidationResponseSchema: z.ZodObject<{
|
|
|
93
93
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
94
94
|
path: string;
|
|
95
95
|
capability: {
|
|
96
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
96
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
97
97
|
id?: string | undefined;
|
|
98
98
|
index?: number | undefined;
|
|
99
99
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const agentConfigValidationResponseSchema: z.ZodObject<{
|
|
|
105
105
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
106
106
|
path: string;
|
|
107
107
|
capability: {
|
|
108
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
108
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
109
109
|
id?: string | undefined;
|
|
110
110
|
index?: number | undefined;
|
|
111
111
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -117,7 +117,7 @@ export declare const agentConfigValidationResponseSchema: z.ZodObject<{
|
|
|
117
117
|
code: "incompatible_credential" | "incompatible_reference" | "invalid_credential" | "invalid_value" | "missing_credential" | "missing_reference" | "missing_required";
|
|
118
118
|
path: string;
|
|
119
119
|
capability: {
|
|
120
|
-
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool";
|
|
120
|
+
kind: "agent" | "channel" | "mcpServer" | "skill" | "subAgent" | "task" | "tool" | "vectorStore";
|
|
121
121
|
id?: string | undefined;
|
|
122
122
|
index?: number | undefined;
|
|
123
123
|
toolType?: "custom" | "node" | "workflow" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-config-validation.schema.js","sourceRoot":"","sources":["../../src/agents/agent-config-validation.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAQX,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/C,OAAO;IACP,SAAS;IACT,MAAM;IACN,WAAW;IACX,OAAO;IACP,MAAM;IACN,UAAU;
|
|
1
|
+
{"version":3,"file":"agent-config-validation.schema.js","sourceRoot":"","sources":["../../src/agents/agent-config-validation.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAQX,QAAA,yBAAyB,GAAG,OAAC,CAAC,IAAI,CAAC;IAC/C,OAAO;IACP,SAAS;IACT,MAAM;IACN,WAAW;IACX,OAAO;IACP,MAAM;IACN,UAAU;IACV,aAAa;CACb,CAAC,CAAC;AAIU,QAAA,oCAAoC,GAAG,OAAC,CAAC,IAAI,CAAC;IAC1D,kBAAkB;IAClB,eAAe;IACf,oBAAoB;IACpB,oBAAoB;IACpB,yBAAyB;IACzB,mBAAmB;IACnB,wBAAwB;CACxB,CAAC,CAAC;AAGU,QAAA,wCAAwC,GAAG,OAAC,CAAC,MAAM,CAAC;IAChE,IAAI,EAAE,QAAA,yBAAyB;IAE/B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAEzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAEzC,QAAQ,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC;AAKU,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,IAAI,EAAE,QAAA,oCAAoC;IAE1C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,QAAA,wCAAwC;CACpD,CAAC,CAAC;AAGU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACpC,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,QAAA,gCAAgC,CAAC;CACjD,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-interaction.schema.js","sourceRoot":"","sources":["../../src/agents/agent-interaction.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sEAA6F;AAehF,QAAA,uBAAuB,GAAG,eAAwB,CAAC;AACnD,QAAA,2BAA2B,GAAG,mBAA4B,CAAC;AAO3D,QAAA,2BAA2B,GAAG,wBAAiC,CAAC;AAUhE,QAAA,mCAAmC,GAAG,gCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"agent-interaction.schema.js","sourceRoot":"","sources":["../../src/agents/agent-interaction.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sEAA6F;AAehF,QAAA,uBAAuB,GAAG,eAAwB,CAAC;AACnD,QAAA,2BAA2B,GAAG,mBAA4B,CAAC;AAO3D,QAAA,2BAA2B,GAAG,wBAAiC,CAAC;AAUhE,QAAA,mCAAmC,GAAG,gCAAyC,CAAC;AAQhF,QAAA,0BAA0B,GAAG;IACzC,cAAc;IACd,cAAc;IACd,eAAe;IACf,iBAAiB;CACR,CAAC;AAME,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,EAA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