@n8n/api-types 1.30.3 → 1.31.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-interactive.d.ts +5 -182
- package/dist/agent-builder-interactive.js +6 -50
- package/dist/agent-builder-interactive.js.map +1 -1
- package/dist/agents/agent-interaction.schema.d.ts +262 -0
- package/dist/agents/agent-interaction.schema.js +56 -0
- package/dist/agents/agent-interaction.schema.js.map +1 -0
- package/dist/agents/agent-json-config.schema.d.ts +1878 -752
- package/dist/agents/agent-json-config.schema.js +82 -1
- package/dist/agents/agent-json-config.schema.js.map +1 -1
- package/dist/agents/dto.d.ts +232 -103
- package/dist/agents/dto.js +8 -3
- package/dist/agents/dto.js.map +1 -1
- package/dist/agents/index.d.ts +2 -1
- package/dist/agents/index.js +2 -11
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/rich-card.schema.d.ts +108 -108
- package/dist/agents/types.d.ts +39 -8
- package/dist/agents/types.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat-hub.d.ts +85 -85
- package/dist/dto/ai/ai-ask-request.dto.d.ts +13 -13
- package/dist/dto/ai/ai-build-request.dto.d.ts +3 -3
- package/dist/dto/ai/ai-truncate-messages-request.dto.d.ts +1 -1
- package/dist/dto/api-keys/list-api-keys-query.dto.d.ts +1 -1
- package/dist/dto/data-table/list-data-table-query.dto.d.ts +4 -4
- package/dist/dto/dynamic-node-parameters/action-result-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/base-dynamic-parameters-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/options-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
- package/dist/dto/dynamic-node-parameters/resource-mapper-fields-request.dto.d.ts +1 -1
- package/dist/dto/evaluations/evaluation-config.dto.d.ts +78 -78
- package/dist/dto/folders/list-folder-query.dto.d.ts +2 -2
- package/dist/dto/index.d.ts +2 -0
- package/dist/dto/index.js +7 -3
- package/dist/dto/index.js.map +1 -1
- package/dist/dto/insights/list-workflow-query.dto.d.ts +1 -1
- package/dist/dto/instance-ai/instance-ai-confirm-request.dto.d.ts +8 -8
- package/dist/dto/instance-ai/instance-ai-rename-thread-request.dto.d.ts +1 -1
- package/dist/dto/oauth/oauth-client.dto.d.ts +4 -4
- package/dist/dto/oidc/config.dto.d.ts +1 -1
- package/dist/dto/packages/import-package-request.dto.d.ts +11 -5
- package/dist/dto/packages/import-package-request.dto.js +19 -19
- package/dist/dto/packages/import-package-request.dto.js.map +1 -1
- package/dist/dto/project/update-project.dto.d.ts +2 -2
- package/dist/dto/roles/role-member.schema.d.ts +2 -2
- package/dist/dto/roles/role-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/role-project-members-response.dto.d.ts +3 -3
- package/dist/dto/roles/update-role.dto.d.ts +1 -1
- package/dist/dto/security-settings/security-policy.dto.d.ts +32 -0
- package/dist/dto/security-settings/security-policy.dto.js +17 -0
- package/dist/dto/security-settings/security-policy.dto.js.map +1 -0
- package/dist/dto/security-settings/security-settings.dto.d.ts +20 -0
- package/dist/dto/security-settings/security-settings.dto.js +4 -0
- package/dist/dto/security-settings/security-settings.dto.js.map +1 -1
- package/dist/dto/source-control/push-work-folder-request.dto.d.ts +9 -9
- package/dist/dto/variables/update-variable-request.dto.d.ts +1 -1
- package/dist/dto/workflow-history/update-workflow-history-version.dto.d.ts +1 -1
- package/dist/dto/workflows/activate-workflow.dto.d.ts +1 -1
- package/dist/dto/workflows/base-workflow.dto.d.ts +7 -7
- package/dist/dto/workflows/create-workflow.dto.d.ts +8 -8
- package/dist/dto/workflows/get-resource-dependencies.dto.d.ts +1 -1
- package/dist/dto/workflows/get-resource-dependency-counts.dto.d.ts +1 -1
- package/dist/dto/workflows/manual-run.dto.d.ts +112 -0
- package/dist/dto/workflows/manual-run.dto.js +51 -0
- package/dist/dto/workflows/manual-run.dto.js.map +1 -0
- package/dist/dto/workflows/update-workflow.dto.d.ts +8 -8
- package/dist/frontend-settings.d.ts +4 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/instance-registry-types.d.ts +16 -16
- package/dist/schemas/agent-run-reducer.js +61 -1
- package/dist/schemas/agent-run-reducer.js.map +1 -1
- package/dist/schemas/breaking-changes.schema.d.ts +128 -128
- package/dist/schemas/credential-resolver.schema.d.ts +8 -8
- package/dist/schemas/credential-response.schema.d.ts +2 -2
- package/dist/schemas/data-table.schema.d.ts +6 -6
- package/dist/schemas/encryption-key.schema.d.ts +6 -6
- package/dist/schemas/eval-collections.schema.d.ts +3 -3
- package/dist/schemas/favorites.schema.d.ts +2 -2
- package/dist/schemas/favorites.schema.js +7 -1
- package/dist/schemas/favorites.schema.js.map +1 -1
- package/dist/schemas/insights.schema.d.ts +22 -22
- package/dist/schemas/instance-ai.schema.d.ts +599 -419
- package/dist/schemas/instance-ai.schema.js +55 -8
- package/dist/schemas/instance-ai.schema.js.map +1 -1
- package/dist/schemas/secrets-provider.schema.d.ts +16 -16
- package/dist/schemas/source-controlled-file.schema.d.ts +6 -6
- package/dist/schemas/user.schema.d.ts +18 -18
- package/dist/schemas/workflow-execution-status.schema.d.ts +4 -4
- package/dist/schemas/workflow-publication-status.schema.d.ts +2 -2
- package/dist/workflow-reviews-policy.d.ts +9 -0
- package/dist/workflow-reviews-policy.js +8 -0
- package/dist/workflow-reviews-policy.js.map +1 -0
- package/package.json +9 -8
|
@@ -11,21 +11,21 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
11
11
|
model: z.ZodString;
|
|
12
12
|
credential: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
model: string;
|
|
15
14
|
credential: string;
|
|
16
|
-
}, {
|
|
17
15
|
model: string;
|
|
16
|
+
}, {
|
|
18
17
|
credential: string;
|
|
18
|
+
model: string;
|
|
19
19
|
}>>;
|
|
20
20
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
21
21
|
model: z.ZodString;
|
|
22
22
|
credential: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
model: string;
|
|
25
24
|
credential: string;
|
|
26
|
-
}, {
|
|
27
25
|
model: string;
|
|
26
|
+
}, {
|
|
28
27
|
credential: string;
|
|
28
|
+
model: string;
|
|
29
29
|
}>>;
|
|
30
30
|
observerThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
reflectorThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -35,12 +35,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
enabled?: boolean | undefined;
|
|
37
37
|
observerModel?: {
|
|
38
|
-
model: string;
|
|
39
38
|
credential: string;
|
|
39
|
+
model: string;
|
|
40
40
|
} | undefined;
|
|
41
41
|
reflectorModel?: {
|
|
42
|
-
model: string;
|
|
43
42
|
credential: string;
|
|
43
|
+
model: string;
|
|
44
44
|
} | undefined;
|
|
45
45
|
observerThresholdTokens?: number | undefined;
|
|
46
46
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -50,12 +50,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
50
50
|
}, {
|
|
51
51
|
enabled?: boolean | undefined;
|
|
52
52
|
observerModel?: {
|
|
53
|
-
model: string;
|
|
54
53
|
credential: string;
|
|
54
|
+
model: string;
|
|
55
55
|
} | undefined;
|
|
56
56
|
reflectorModel?: {
|
|
57
|
-
model: string;
|
|
58
57
|
credential: string;
|
|
58
|
+
model: string;
|
|
59
59
|
} | undefined;
|
|
60
60
|
observerThresholdTokens?: number | undefined;
|
|
61
61
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -76,21 +76,21 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
76
76
|
model: z.ZodString;
|
|
77
77
|
credential: z.ZodString;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
model: string;
|
|
80
79
|
credential: string;
|
|
81
|
-
}, {
|
|
82
80
|
model: string;
|
|
81
|
+
}, {
|
|
83
82
|
credential: string;
|
|
83
|
+
model: string;
|
|
84
84
|
}>>;
|
|
85
85
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
86
86
|
model: z.ZodString;
|
|
87
87
|
credential: z.ZodString;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
model: string;
|
|
90
89
|
credential: string;
|
|
91
|
-
}, {
|
|
92
90
|
model: string;
|
|
91
|
+
}, {
|
|
93
92
|
credential: string;
|
|
93
|
+
model: string;
|
|
94
94
|
}>>;
|
|
95
95
|
topK: z.ZodOptional<z.ZodNumber>;
|
|
96
96
|
maxEntriesPerRun: z.ZodOptional<z.ZodNumber>;
|
|
@@ -98,12 +98,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
98
98
|
credential: string;
|
|
99
99
|
enabled: true;
|
|
100
100
|
reflectorModel?: {
|
|
101
|
-
model: string;
|
|
102
101
|
credential: string;
|
|
102
|
+
model: string;
|
|
103
103
|
} | undefined;
|
|
104
104
|
extractorModel?: {
|
|
105
|
-
model: string;
|
|
106
105
|
credential: string;
|
|
106
|
+
model: string;
|
|
107
107
|
} | undefined;
|
|
108
108
|
topK?: number | undefined;
|
|
109
109
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -111,12 +111,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
111
111
|
credential: string;
|
|
112
112
|
enabled: true;
|
|
113
113
|
reflectorModel?: {
|
|
114
|
-
model: string;
|
|
115
114
|
credential: string;
|
|
115
|
+
model: string;
|
|
116
116
|
} | undefined;
|
|
117
117
|
extractorModel?: {
|
|
118
|
-
model: string;
|
|
119
118
|
credential: string;
|
|
119
|
+
model: string;
|
|
120
120
|
} | undefined;
|
|
121
121
|
topK?: number | undefined;
|
|
122
122
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -127,12 +127,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
127
127
|
observationalMemory?: {
|
|
128
128
|
enabled?: boolean | undefined;
|
|
129
129
|
observerModel?: {
|
|
130
|
-
model: string;
|
|
131
130
|
credential: string;
|
|
131
|
+
model: string;
|
|
132
132
|
} | undefined;
|
|
133
133
|
reflectorModel?: {
|
|
134
|
-
model: string;
|
|
135
134
|
credential: string;
|
|
135
|
+
model: string;
|
|
136
136
|
} | undefined;
|
|
137
137
|
observerThresholdTokens?: number | undefined;
|
|
138
138
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -146,12 +146,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
146
146
|
credential: string;
|
|
147
147
|
enabled: true;
|
|
148
148
|
reflectorModel?: {
|
|
149
|
-
model: string;
|
|
150
149
|
credential: string;
|
|
150
|
+
model: string;
|
|
151
151
|
} | undefined;
|
|
152
152
|
extractorModel?: {
|
|
153
|
-
model: string;
|
|
154
153
|
credential: string;
|
|
154
|
+
model: string;
|
|
155
155
|
} | undefined;
|
|
156
156
|
topK?: number | undefined;
|
|
157
157
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -162,12 +162,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
162
162
|
observationalMemory?: {
|
|
163
163
|
enabled?: boolean | undefined;
|
|
164
164
|
observerModel?: {
|
|
165
|
-
model: string;
|
|
166
165
|
credential: string;
|
|
166
|
+
model: string;
|
|
167
167
|
} | undefined;
|
|
168
168
|
reflectorModel?: {
|
|
169
|
-
model: string;
|
|
170
169
|
credential: string;
|
|
170
|
+
model: string;
|
|
171
171
|
} | undefined;
|
|
172
172
|
observerThresholdTokens?: number | undefined;
|
|
173
173
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -181,12 +181,12 @@ declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
181
181
|
credential: string;
|
|
182
182
|
enabled: true;
|
|
183
183
|
reflectorModel?: {
|
|
184
|
-
model: string;
|
|
185
184
|
credential: string;
|
|
185
|
+
model: string;
|
|
186
186
|
} | undefined;
|
|
187
187
|
extractorModel?: {
|
|
188
|
-
model: string;
|
|
189
188
|
credential: string;
|
|
189
|
+
model: string;
|
|
190
190
|
} | undefined;
|
|
191
191
|
topK?: number | undefined;
|
|
192
192
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -273,28 +273,28 @@ export declare const NodeConfigSchema: z.ZodObject<{
|
|
|
273
273
|
id: z.ZodString;
|
|
274
274
|
name: z.ZodString;
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
name: string;
|
|
277
276
|
id: string;
|
|
278
|
-
}, {
|
|
279
277
|
name: string;
|
|
278
|
+
}, {
|
|
280
279
|
id: string;
|
|
280
|
+
name: string;
|
|
281
281
|
}>>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
nodeType: string;
|
|
284
284
|
nodeTypeVersion: number;
|
|
285
285
|
nodeParameters: Record<string, unknown>;
|
|
286
286
|
credentials?: Record<string, {
|
|
287
|
-
name: string;
|
|
288
287
|
id: string;
|
|
288
|
+
name: string;
|
|
289
289
|
}> | undefined;
|
|
290
290
|
}, {
|
|
291
291
|
nodeType: string;
|
|
292
292
|
nodeTypeVersion: number;
|
|
293
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
294
293
|
credentials?: Record<string, {
|
|
295
|
-
name: string;
|
|
296
294
|
id: string;
|
|
295
|
+
name: string;
|
|
297
296
|
}> | undefined;
|
|
297
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
298
298
|
}>;
|
|
299
299
|
declare const AgentJsonSkillConfigSchema: z.ZodObject<{
|
|
300
300
|
type: z.ZodLiteral<"skill">;
|
|
@@ -312,12 +312,12 @@ declare const AgentJsonTaskConfigSchema: z.ZodObject<{
|
|
|
312
312
|
enabled: z.ZodBoolean;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
314
|
type: "task";
|
|
315
|
-
enabled: boolean;
|
|
316
315
|
id: string;
|
|
316
|
+
enabled: boolean;
|
|
317
317
|
}, {
|
|
318
318
|
type: "task";
|
|
319
|
-
enabled: boolean;
|
|
320
319
|
id: string;
|
|
320
|
+
enabled: boolean;
|
|
321
321
|
}>;
|
|
322
322
|
export declare const McpAuthenticationSchemaTypes: z.ZodEnum<["none", "bearerAuth", "headerAuth", "multipleHeadersAuth", "mcpOAuth2Api"]>;
|
|
323
323
|
export declare const McpServerConfigSchema: z.ZodObject<{
|
|
@@ -371,18 +371,18 @@ export declare const McpServerConfigSchema: z.ZodObject<{
|
|
|
371
371
|
}>]>>;
|
|
372
372
|
connectionTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
373
373
|
}, "strict", z.ZodTypeAny, {
|
|
374
|
-
name: string;
|
|
375
374
|
url: string;
|
|
375
|
+
name: string;
|
|
376
376
|
transport: "sse" | "streamableHttp";
|
|
377
377
|
authentication: string;
|
|
378
|
+
credential?: string | undefined;
|
|
379
|
+
description?: string | undefined;
|
|
378
380
|
approval?: {
|
|
379
381
|
mode: "global";
|
|
380
382
|
} | {
|
|
381
383
|
tools: string[];
|
|
382
384
|
mode: "selected";
|
|
383
385
|
} | undefined;
|
|
384
|
-
description?: string | undefined;
|
|
385
|
-
credential?: string | undefined;
|
|
386
386
|
metadata?: {
|
|
387
387
|
nodeTypeName?: string | undefined;
|
|
388
388
|
} | undefined;
|
|
@@ -395,16 +395,16 @@ export declare const McpServerConfigSchema: z.ZodObject<{
|
|
|
395
395
|
} | undefined;
|
|
396
396
|
connectionTimeoutMs?: number | undefined;
|
|
397
397
|
}, {
|
|
398
|
-
name: string;
|
|
399
398
|
url: string;
|
|
399
|
+
name: string;
|
|
400
|
+
credential?: string | undefined;
|
|
401
|
+
description?: string | undefined;
|
|
400
402
|
approval?: {
|
|
401
403
|
mode: "global";
|
|
402
404
|
} | {
|
|
403
405
|
tools: string[];
|
|
404
406
|
mode: "selected";
|
|
405
407
|
} | undefined;
|
|
406
|
-
description?: string | undefined;
|
|
407
|
-
credential?: string | undefined;
|
|
408
408
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
409
409
|
authentication?: string | undefined;
|
|
410
410
|
metadata?: {
|
|
@@ -419,6 +419,166 @@ export declare const McpServerConfigSchema: z.ZodObject<{
|
|
|
419
419
|
} | undefined;
|
|
420
420
|
connectionTimeoutMs?: number | undefined;
|
|
421
421
|
}>;
|
|
422
|
+
export declare const AGENT_VECTOR_STORE_PROVIDERS: readonly ["pinecone", "supabase", "qdrant", "postgres"];
|
|
423
|
+
export declare const AGENT_VECTOR_STORE_CREDENTIAL_TYPES: {
|
|
424
|
+
readonly pinecone: "pineconeApi";
|
|
425
|
+
readonly supabase: "supabaseApi";
|
|
426
|
+
readonly qdrant: "qdrantApi";
|
|
427
|
+
readonly postgres: "postgres";
|
|
428
|
+
};
|
|
429
|
+
export declare const VECTOR_STORE_USE_WHEN_MAX_LENGTH = 512;
|
|
430
|
+
export declare const VECTOR_STORE_NAME_REGEX: RegExp;
|
|
431
|
+
export declare const AgentVectorStoreConfigSchema: z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
432
|
+
indexName: z.ZodString;
|
|
433
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
434
|
+
name: z.ZodString;
|
|
435
|
+
credential: z.ZodString;
|
|
436
|
+
useWhen: z.ZodString;
|
|
437
|
+
embedding: z.ZodObject<{
|
|
438
|
+
model: z.ZodString;
|
|
439
|
+
credential: z.ZodString;
|
|
440
|
+
}, "strict", z.ZodTypeAny, {
|
|
441
|
+
credential: string;
|
|
442
|
+
model: string;
|
|
443
|
+
}, {
|
|
444
|
+
credential: string;
|
|
445
|
+
model: string;
|
|
446
|
+
}>;
|
|
447
|
+
provider: z.ZodLiteral<"pinecone">;
|
|
448
|
+
}, "strict", z.ZodTypeAny, {
|
|
449
|
+
credential: string;
|
|
450
|
+
name: string;
|
|
451
|
+
provider: "pinecone";
|
|
452
|
+
useWhen: string;
|
|
453
|
+
indexName: string;
|
|
454
|
+
embedding: {
|
|
455
|
+
credential: string;
|
|
456
|
+
model: string;
|
|
457
|
+
};
|
|
458
|
+
namespace?: string | undefined;
|
|
459
|
+
}, {
|
|
460
|
+
credential: string;
|
|
461
|
+
name: string;
|
|
462
|
+
provider: "pinecone";
|
|
463
|
+
useWhen: string;
|
|
464
|
+
indexName: string;
|
|
465
|
+
embedding: {
|
|
466
|
+
credential: string;
|
|
467
|
+
model: string;
|
|
468
|
+
};
|
|
469
|
+
namespace?: string | undefined;
|
|
470
|
+
}>, z.ZodObject<{
|
|
471
|
+
collectionName: z.ZodString;
|
|
472
|
+
name: z.ZodString;
|
|
473
|
+
credential: z.ZodString;
|
|
474
|
+
useWhen: z.ZodString;
|
|
475
|
+
embedding: z.ZodObject<{
|
|
476
|
+
model: z.ZodString;
|
|
477
|
+
credential: z.ZodString;
|
|
478
|
+
}, "strict", z.ZodTypeAny, {
|
|
479
|
+
credential: string;
|
|
480
|
+
model: string;
|
|
481
|
+
}, {
|
|
482
|
+
credential: string;
|
|
483
|
+
model: string;
|
|
484
|
+
}>;
|
|
485
|
+
provider: z.ZodLiteral<"qdrant">;
|
|
486
|
+
}, "strict", z.ZodTypeAny, {
|
|
487
|
+
credential: string;
|
|
488
|
+
name: string;
|
|
489
|
+
provider: "qdrant";
|
|
490
|
+
useWhen: string;
|
|
491
|
+
embedding: {
|
|
492
|
+
credential: string;
|
|
493
|
+
model: string;
|
|
494
|
+
};
|
|
495
|
+
collectionName: string;
|
|
496
|
+
}, {
|
|
497
|
+
credential: string;
|
|
498
|
+
name: string;
|
|
499
|
+
provider: "qdrant";
|
|
500
|
+
useWhen: string;
|
|
501
|
+
embedding: {
|
|
502
|
+
credential: string;
|
|
503
|
+
model: string;
|
|
504
|
+
};
|
|
505
|
+
collectionName: string;
|
|
506
|
+
}>, z.ZodObject<{
|
|
507
|
+
tableName: z.ZodString;
|
|
508
|
+
queryName: z.ZodOptional<z.ZodString>;
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
credential: z.ZodString;
|
|
511
|
+
useWhen: z.ZodString;
|
|
512
|
+
embedding: z.ZodObject<{
|
|
513
|
+
model: z.ZodString;
|
|
514
|
+
credential: z.ZodString;
|
|
515
|
+
}, "strict", z.ZodTypeAny, {
|
|
516
|
+
credential: string;
|
|
517
|
+
model: string;
|
|
518
|
+
}, {
|
|
519
|
+
credential: string;
|
|
520
|
+
model: string;
|
|
521
|
+
}>;
|
|
522
|
+
provider: z.ZodLiteral<"supabase">;
|
|
523
|
+
}, "strict", z.ZodTypeAny, {
|
|
524
|
+
credential: string;
|
|
525
|
+
name: string;
|
|
526
|
+
provider: "supabase";
|
|
527
|
+
useWhen: string;
|
|
528
|
+
embedding: {
|
|
529
|
+
credential: string;
|
|
530
|
+
model: string;
|
|
531
|
+
};
|
|
532
|
+
tableName: string;
|
|
533
|
+
queryName?: string | undefined;
|
|
534
|
+
}, {
|
|
535
|
+
credential: string;
|
|
536
|
+
name: string;
|
|
537
|
+
provider: "supabase";
|
|
538
|
+
useWhen: string;
|
|
539
|
+
embedding: {
|
|
540
|
+
credential: string;
|
|
541
|
+
model: string;
|
|
542
|
+
};
|
|
543
|
+
tableName: string;
|
|
544
|
+
queryName?: string | undefined;
|
|
545
|
+
}>, z.ZodObject<{
|
|
546
|
+
tableName: z.ZodString;
|
|
547
|
+
name: z.ZodString;
|
|
548
|
+
credential: z.ZodString;
|
|
549
|
+
useWhen: z.ZodString;
|
|
550
|
+
embedding: z.ZodObject<{
|
|
551
|
+
model: z.ZodString;
|
|
552
|
+
credential: z.ZodString;
|
|
553
|
+
}, "strict", z.ZodTypeAny, {
|
|
554
|
+
credential: string;
|
|
555
|
+
model: string;
|
|
556
|
+
}, {
|
|
557
|
+
credential: string;
|
|
558
|
+
model: string;
|
|
559
|
+
}>;
|
|
560
|
+
provider: z.ZodLiteral<"postgres">;
|
|
561
|
+
}, "strict", z.ZodTypeAny, {
|
|
562
|
+
credential: string;
|
|
563
|
+
name: string;
|
|
564
|
+
provider: "postgres";
|
|
565
|
+
useWhen: string;
|
|
566
|
+
embedding: {
|
|
567
|
+
credential: string;
|
|
568
|
+
model: string;
|
|
569
|
+
};
|
|
570
|
+
tableName: string;
|
|
571
|
+
}, {
|
|
572
|
+
credential: string;
|
|
573
|
+
name: string;
|
|
574
|
+
provider: "postgres";
|
|
575
|
+
useWhen: string;
|
|
576
|
+
embedding: {
|
|
577
|
+
credential: string;
|
|
578
|
+
model: string;
|
|
579
|
+
};
|
|
580
|
+
tableName: string;
|
|
581
|
+
}>]>;
|
|
422
582
|
declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
423
583
|
type: z.ZodLiteral<"custom">;
|
|
424
584
|
id: z.ZodString;
|
|
@@ -441,15 +601,15 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
441
601
|
}, "strict", z.ZodTypeAny, {
|
|
442
602
|
type: "workflow";
|
|
443
603
|
workflow: string;
|
|
444
|
-
description?: string | undefined;
|
|
445
604
|
name?: string | undefined;
|
|
605
|
+
description?: string | undefined;
|
|
446
606
|
requireApproval?: boolean | undefined;
|
|
447
607
|
allOutputs?: boolean | undefined;
|
|
448
608
|
}, {
|
|
449
609
|
type: "workflow";
|
|
450
610
|
workflow: string;
|
|
451
|
-
description?: string | undefined;
|
|
452
611
|
name?: string | undefined;
|
|
612
|
+
description?: string | undefined;
|
|
453
613
|
requireApproval?: boolean | undefined;
|
|
454
614
|
allOutputs?: boolean | undefined;
|
|
455
615
|
}>, z.ZodObject<{
|
|
@@ -465,28 +625,28 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
465
625
|
id: z.ZodString;
|
|
466
626
|
name: z.ZodString;
|
|
467
627
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
name: string;
|
|
469
628
|
id: string;
|
|
470
|
-
}, {
|
|
471
629
|
name: string;
|
|
630
|
+
}, {
|
|
472
631
|
id: string;
|
|
632
|
+
name: string;
|
|
473
633
|
}>>>;
|
|
474
634
|
}, "strip", z.ZodTypeAny, {
|
|
475
635
|
nodeType: string;
|
|
476
636
|
nodeTypeVersion: number;
|
|
477
637
|
nodeParameters: Record<string, unknown>;
|
|
478
638
|
credentials?: Record<string, {
|
|
479
|
-
name: string;
|
|
480
639
|
id: string;
|
|
640
|
+
name: string;
|
|
481
641
|
}> | undefined;
|
|
482
642
|
}, {
|
|
483
643
|
nodeType: string;
|
|
484
644
|
nodeTypeVersion: number;
|
|
485
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
486
645
|
credentials?: Record<string, {
|
|
487
|
-
name: string;
|
|
488
646
|
id: string;
|
|
647
|
+
name: string;
|
|
489
648
|
}> | undefined;
|
|
649
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
490
650
|
}>;
|
|
491
651
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
492
652
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -497,28 +657,28 @@ declare const AgentJsonToolConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
497
657
|
nodeTypeVersion: number;
|
|
498
658
|
nodeParameters: Record<string, unknown>;
|
|
499
659
|
credentials?: Record<string, {
|
|
500
|
-
name: string;
|
|
501
660
|
id: string;
|
|
661
|
+
name: string;
|
|
502
662
|
}> | undefined;
|
|
503
663
|
};
|
|
504
664
|
description?: string | undefined;
|
|
505
|
-
requireApproval?: boolean | undefined;
|
|
506
665
|
inputSchema?: undefined;
|
|
666
|
+
requireApproval?: boolean | undefined;
|
|
507
667
|
}, {
|
|
508
668
|
type: "node";
|
|
509
669
|
name: string;
|
|
510
670
|
node: {
|
|
511
671
|
nodeType: string;
|
|
512
672
|
nodeTypeVersion: number;
|
|
513
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
514
673
|
credentials?: Record<string, {
|
|
515
|
-
name: string;
|
|
516
674
|
id: string;
|
|
675
|
+
name: string;
|
|
517
676
|
}> | undefined;
|
|
677
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
518
678
|
};
|
|
519
679
|
description?: string | undefined;
|
|
520
|
-
requireApproval?: boolean | undefined;
|
|
521
680
|
inputSchema?: undefined;
|
|
681
|
+
requireApproval?: boolean | undefined;
|
|
522
682
|
}>]>;
|
|
523
683
|
export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
524
684
|
name: z.ZodString;
|
|
@@ -574,21 +734,21 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
574
734
|
model: z.ZodString;
|
|
575
735
|
credential: z.ZodString;
|
|
576
736
|
}, "strip", z.ZodTypeAny, {
|
|
577
|
-
model: string;
|
|
578
737
|
credential: string;
|
|
579
|
-
}, {
|
|
580
738
|
model: string;
|
|
739
|
+
}, {
|
|
581
740
|
credential: string;
|
|
741
|
+
model: string;
|
|
582
742
|
}>>;
|
|
583
743
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
584
744
|
model: z.ZodString;
|
|
585
745
|
credential: z.ZodString;
|
|
586
746
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
-
model: string;
|
|
588
747
|
credential: string;
|
|
589
|
-
}, {
|
|
590
748
|
model: string;
|
|
749
|
+
}, {
|
|
591
750
|
credential: string;
|
|
751
|
+
model: string;
|
|
592
752
|
}>>;
|
|
593
753
|
observerThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
594
754
|
reflectorThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -598,12 +758,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
598
758
|
}, "strip", z.ZodTypeAny, {
|
|
599
759
|
enabled?: boolean | undefined;
|
|
600
760
|
observerModel?: {
|
|
601
|
-
model: string;
|
|
602
761
|
credential: string;
|
|
762
|
+
model: string;
|
|
603
763
|
} | undefined;
|
|
604
764
|
reflectorModel?: {
|
|
605
|
-
model: string;
|
|
606
765
|
credential: string;
|
|
766
|
+
model: string;
|
|
607
767
|
} | undefined;
|
|
608
768
|
observerThresholdTokens?: number | undefined;
|
|
609
769
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -613,12 +773,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
613
773
|
}, {
|
|
614
774
|
enabled?: boolean | undefined;
|
|
615
775
|
observerModel?: {
|
|
616
|
-
model: string;
|
|
617
776
|
credential: string;
|
|
777
|
+
model: string;
|
|
618
778
|
} | undefined;
|
|
619
779
|
reflectorModel?: {
|
|
620
|
-
model: string;
|
|
621
780
|
credential: string;
|
|
781
|
+
model: string;
|
|
622
782
|
} | undefined;
|
|
623
783
|
observerThresholdTokens?: number | undefined;
|
|
624
784
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -639,21 +799,21 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
639
799
|
model: z.ZodString;
|
|
640
800
|
credential: z.ZodString;
|
|
641
801
|
}, "strip", z.ZodTypeAny, {
|
|
642
|
-
model: string;
|
|
643
802
|
credential: string;
|
|
644
|
-
}, {
|
|
645
803
|
model: string;
|
|
804
|
+
}, {
|
|
646
805
|
credential: string;
|
|
806
|
+
model: string;
|
|
647
807
|
}>>;
|
|
648
808
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
649
809
|
model: z.ZodString;
|
|
650
810
|
credential: z.ZodString;
|
|
651
811
|
}, "strip", z.ZodTypeAny, {
|
|
652
|
-
model: string;
|
|
653
812
|
credential: string;
|
|
654
|
-
}, {
|
|
655
813
|
model: string;
|
|
814
|
+
}, {
|
|
656
815
|
credential: string;
|
|
816
|
+
model: string;
|
|
657
817
|
}>>;
|
|
658
818
|
topK: z.ZodOptional<z.ZodNumber>;
|
|
659
819
|
maxEntriesPerRun: z.ZodOptional<z.ZodNumber>;
|
|
@@ -661,12 +821,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
661
821
|
credential: string;
|
|
662
822
|
enabled: true;
|
|
663
823
|
reflectorModel?: {
|
|
664
|
-
model: string;
|
|
665
824
|
credential: string;
|
|
825
|
+
model: string;
|
|
666
826
|
} | undefined;
|
|
667
827
|
extractorModel?: {
|
|
668
|
-
model: string;
|
|
669
828
|
credential: string;
|
|
829
|
+
model: string;
|
|
670
830
|
} | undefined;
|
|
671
831
|
topK?: number | undefined;
|
|
672
832
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -674,12 +834,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
674
834
|
credential: string;
|
|
675
835
|
enabled: true;
|
|
676
836
|
reflectorModel?: {
|
|
677
|
-
model: string;
|
|
678
837
|
credential: string;
|
|
838
|
+
model: string;
|
|
679
839
|
} | undefined;
|
|
680
840
|
extractorModel?: {
|
|
681
|
-
model: string;
|
|
682
841
|
credential: string;
|
|
842
|
+
model: string;
|
|
683
843
|
} | undefined;
|
|
684
844
|
topK?: number | undefined;
|
|
685
845
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -690,12 +850,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
690
850
|
observationalMemory?: {
|
|
691
851
|
enabled?: boolean | undefined;
|
|
692
852
|
observerModel?: {
|
|
693
|
-
model: string;
|
|
694
853
|
credential: string;
|
|
854
|
+
model: string;
|
|
695
855
|
} | undefined;
|
|
696
856
|
reflectorModel?: {
|
|
697
|
-
model: string;
|
|
698
857
|
credential: string;
|
|
858
|
+
model: string;
|
|
699
859
|
} | undefined;
|
|
700
860
|
observerThresholdTokens?: number | undefined;
|
|
701
861
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -709,12 +869,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
709
869
|
credential: string;
|
|
710
870
|
enabled: true;
|
|
711
871
|
reflectorModel?: {
|
|
712
|
-
model: string;
|
|
713
872
|
credential: string;
|
|
873
|
+
model: string;
|
|
714
874
|
} | undefined;
|
|
715
875
|
extractorModel?: {
|
|
716
|
-
model: string;
|
|
717
876
|
credential: string;
|
|
877
|
+
model: string;
|
|
718
878
|
} | undefined;
|
|
719
879
|
topK?: number | undefined;
|
|
720
880
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -725,12 +885,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
725
885
|
observationalMemory?: {
|
|
726
886
|
enabled?: boolean | undefined;
|
|
727
887
|
observerModel?: {
|
|
728
|
-
model: string;
|
|
729
888
|
credential: string;
|
|
889
|
+
model: string;
|
|
730
890
|
} | undefined;
|
|
731
891
|
reflectorModel?: {
|
|
732
|
-
model: string;
|
|
733
892
|
credential: string;
|
|
893
|
+
model: string;
|
|
734
894
|
} | undefined;
|
|
735
895
|
observerThresholdTokens?: number | undefined;
|
|
736
896
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -744,12 +904,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
744
904
|
credential: string;
|
|
745
905
|
enabled: true;
|
|
746
906
|
reflectorModel?: {
|
|
747
|
-
model: string;
|
|
748
907
|
credential: string;
|
|
908
|
+
model: string;
|
|
749
909
|
} | undefined;
|
|
750
910
|
extractorModel?: {
|
|
751
|
-
model: string;
|
|
752
911
|
credential: string;
|
|
912
|
+
model: string;
|
|
753
913
|
} | undefined;
|
|
754
914
|
topK?: number | undefined;
|
|
755
915
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -772,57 +932,57 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
772
932
|
model: z.ZodString;
|
|
773
933
|
credential: z.ZodString;
|
|
774
934
|
}, "strict", z.ZodTypeAny, {
|
|
775
|
-
model: string;
|
|
776
935
|
credential: string;
|
|
777
|
-
}, {
|
|
778
936
|
model: string;
|
|
937
|
+
}, {
|
|
779
938
|
credential: string;
|
|
939
|
+
model: string;
|
|
780
940
|
}>>;
|
|
781
941
|
medium: z.ZodOptional<z.ZodObject<{
|
|
782
942
|
model: z.ZodString;
|
|
783
943
|
credential: z.ZodString;
|
|
784
944
|
}, "strict", z.ZodTypeAny, {
|
|
785
|
-
model: string;
|
|
786
945
|
credential: string;
|
|
787
|
-
}, {
|
|
788
946
|
model: string;
|
|
947
|
+
}, {
|
|
789
948
|
credential: string;
|
|
949
|
+
model: string;
|
|
790
950
|
}>>;
|
|
791
951
|
high: z.ZodOptional<z.ZodObject<{
|
|
792
952
|
model: z.ZodString;
|
|
793
953
|
credential: z.ZodString;
|
|
794
954
|
}, "strict", z.ZodTypeAny, {
|
|
795
|
-
model: string;
|
|
796
955
|
credential: string;
|
|
797
|
-
}, {
|
|
798
956
|
model: string;
|
|
957
|
+
}, {
|
|
799
958
|
credential: string;
|
|
959
|
+
model: string;
|
|
800
960
|
}>>;
|
|
801
961
|
}, "strict", z.ZodTypeAny, {
|
|
802
962
|
low?: {
|
|
803
|
-
model: string;
|
|
804
963
|
credential: string;
|
|
964
|
+
model: string;
|
|
805
965
|
} | undefined;
|
|
806
966
|
medium?: {
|
|
807
|
-
model: string;
|
|
808
967
|
credential: string;
|
|
968
|
+
model: string;
|
|
809
969
|
} | undefined;
|
|
810
970
|
high?: {
|
|
811
|
-
model: string;
|
|
812
971
|
credential: string;
|
|
972
|
+
model: string;
|
|
813
973
|
} | undefined;
|
|
814
974
|
}, {
|
|
815
975
|
low?: {
|
|
816
|
-
model: string;
|
|
817
976
|
credential: string;
|
|
977
|
+
model: string;
|
|
818
978
|
} | undefined;
|
|
819
979
|
medium?: {
|
|
820
|
-
model: string;
|
|
821
980
|
credential: string;
|
|
981
|
+
model: string;
|
|
822
982
|
} | undefined;
|
|
823
983
|
high?: {
|
|
824
|
-
model: string;
|
|
825
984
|
credential: string;
|
|
985
|
+
model: string;
|
|
826
986
|
} | undefined;
|
|
827
987
|
}>>;
|
|
828
988
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -833,16 +993,16 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
833
993
|
}[] | undefined;
|
|
834
994
|
modelsByDifficulty?: {
|
|
835
995
|
low?: {
|
|
836
|
-
model: string;
|
|
837
996
|
credential: string;
|
|
997
|
+
model: string;
|
|
838
998
|
} | undefined;
|
|
839
999
|
medium?: {
|
|
840
|
-
model: string;
|
|
841
1000
|
credential: string;
|
|
1001
|
+
model: string;
|
|
842
1002
|
} | undefined;
|
|
843
1003
|
high?: {
|
|
844
|
-
model: string;
|
|
845
1004
|
credential: string;
|
|
1005
|
+
model: string;
|
|
846
1006
|
} | undefined;
|
|
847
1007
|
} | undefined;
|
|
848
1008
|
}, {
|
|
@@ -853,16 +1013,16 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
853
1013
|
}[] | undefined;
|
|
854
1014
|
modelsByDifficulty?: {
|
|
855
1015
|
low?: {
|
|
856
|
-
model: string;
|
|
857
1016
|
credential: string;
|
|
1017
|
+
model: string;
|
|
858
1018
|
} | undefined;
|
|
859
1019
|
medium?: {
|
|
860
|
-
model: string;
|
|
861
1020
|
credential: string;
|
|
1021
|
+
model: string;
|
|
862
1022
|
} | undefined;
|
|
863
1023
|
high?: {
|
|
864
|
-
model: string;
|
|
865
1024
|
credential: string;
|
|
1025
|
+
model: string;
|
|
866
1026
|
} | undefined;
|
|
867
1027
|
} | undefined;
|
|
868
1028
|
}>>;
|
|
@@ -888,15 +1048,15 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
888
1048
|
}, "strict", z.ZodTypeAny, {
|
|
889
1049
|
type: "workflow";
|
|
890
1050
|
workflow: string;
|
|
891
|
-
description?: string | undefined;
|
|
892
1051
|
name?: string | undefined;
|
|
1052
|
+
description?: string | undefined;
|
|
893
1053
|
requireApproval?: boolean | undefined;
|
|
894
1054
|
allOutputs?: boolean | undefined;
|
|
895
1055
|
}, {
|
|
896
1056
|
type: "workflow";
|
|
897
1057
|
workflow: string;
|
|
898
|
-
description?: string | undefined;
|
|
899
1058
|
name?: string | undefined;
|
|
1059
|
+
description?: string | undefined;
|
|
900
1060
|
requireApproval?: boolean | undefined;
|
|
901
1061
|
allOutputs?: boolean | undefined;
|
|
902
1062
|
}>, z.ZodObject<{
|
|
@@ -912,28 +1072,28 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
912
1072
|
id: z.ZodString;
|
|
913
1073
|
name: z.ZodString;
|
|
914
1074
|
}, "strip", z.ZodTypeAny, {
|
|
915
|
-
name: string;
|
|
916
1075
|
id: string;
|
|
917
|
-
}, {
|
|
918
1076
|
name: string;
|
|
1077
|
+
}, {
|
|
919
1078
|
id: string;
|
|
1079
|
+
name: string;
|
|
920
1080
|
}>>>;
|
|
921
1081
|
}, "strip", z.ZodTypeAny, {
|
|
922
1082
|
nodeType: string;
|
|
923
1083
|
nodeTypeVersion: number;
|
|
924
1084
|
nodeParameters: Record<string, unknown>;
|
|
925
1085
|
credentials?: Record<string, {
|
|
926
|
-
name: string;
|
|
927
1086
|
id: string;
|
|
1087
|
+
name: string;
|
|
928
1088
|
}> | undefined;
|
|
929
1089
|
}, {
|
|
930
1090
|
nodeType: string;
|
|
931
1091
|
nodeTypeVersion: number;
|
|
932
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
933
1092
|
credentials?: Record<string, {
|
|
934
|
-
name: string;
|
|
935
1093
|
id: string;
|
|
1094
|
+
name: string;
|
|
936
1095
|
}> | undefined;
|
|
1096
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
937
1097
|
}>;
|
|
938
1098
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
939
1099
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -944,28 +1104,28 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
944
1104
|
nodeTypeVersion: number;
|
|
945
1105
|
nodeParameters: Record<string, unknown>;
|
|
946
1106
|
credentials?: Record<string, {
|
|
947
|
-
name: string;
|
|
948
1107
|
id: string;
|
|
1108
|
+
name: string;
|
|
949
1109
|
}> | undefined;
|
|
950
1110
|
};
|
|
951
1111
|
description?: string | undefined;
|
|
952
|
-
requireApproval?: boolean | undefined;
|
|
953
1112
|
inputSchema?: undefined;
|
|
1113
|
+
requireApproval?: boolean | undefined;
|
|
954
1114
|
}, {
|
|
955
1115
|
type: "node";
|
|
956
1116
|
name: string;
|
|
957
1117
|
node: {
|
|
958
1118
|
nodeType: string;
|
|
959
1119
|
nodeTypeVersion: number;
|
|
960
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
961
1120
|
credentials?: Record<string, {
|
|
962
|
-
name: string;
|
|
963
1121
|
id: string;
|
|
1122
|
+
name: string;
|
|
964
1123
|
}> | undefined;
|
|
1124
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
965
1125
|
};
|
|
966
1126
|
description?: string | undefined;
|
|
967
|
-
requireApproval?: boolean | undefined;
|
|
968
1127
|
inputSchema?: undefined;
|
|
1128
|
+
requireApproval?: boolean | undefined;
|
|
969
1129
|
}>]>, "many">, ({
|
|
970
1130
|
type: "custom";
|
|
971
1131
|
id: string;
|
|
@@ -973,8 +1133,8 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
973
1133
|
} | {
|
|
974
1134
|
type: "workflow";
|
|
975
1135
|
workflow: string;
|
|
976
|
-
description?: string | undefined;
|
|
977
1136
|
name?: string | undefined;
|
|
1137
|
+
description?: string | undefined;
|
|
978
1138
|
requireApproval?: boolean | undefined;
|
|
979
1139
|
allOutputs?: boolean | undefined;
|
|
980
1140
|
} | {
|
|
@@ -985,13 +1145,13 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
985
1145
|
nodeTypeVersion: number;
|
|
986
1146
|
nodeParameters: Record<string, unknown>;
|
|
987
1147
|
credentials?: Record<string, {
|
|
988
|
-
name: string;
|
|
989
1148
|
id: string;
|
|
1149
|
+
name: string;
|
|
990
1150
|
}> | undefined;
|
|
991
1151
|
};
|
|
992
1152
|
description?: string | undefined;
|
|
993
|
-
requireApproval?: boolean | undefined;
|
|
994
1153
|
inputSchema?: undefined;
|
|
1154
|
+
requireApproval?: boolean | undefined;
|
|
995
1155
|
})[], ({
|
|
996
1156
|
type: "custom";
|
|
997
1157
|
id: string;
|
|
@@ -999,8 +1159,8 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
999
1159
|
} | {
|
|
1000
1160
|
type: "workflow";
|
|
1001
1161
|
workflow: string;
|
|
1002
|
-
description?: string | undefined;
|
|
1003
1162
|
name?: string | undefined;
|
|
1163
|
+
description?: string | undefined;
|
|
1004
1164
|
requireApproval?: boolean | undefined;
|
|
1005
1165
|
allOutputs?: boolean | undefined;
|
|
1006
1166
|
} | {
|
|
@@ -1009,15 +1169,15 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1009
1169
|
node: {
|
|
1010
1170
|
nodeType: string;
|
|
1011
1171
|
nodeTypeVersion: number;
|
|
1012
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
1013
1172
|
credentials?: Record<string, {
|
|
1014
|
-
name: string;
|
|
1015
1173
|
id: string;
|
|
1174
|
+
name: string;
|
|
1016
1175
|
}> | undefined;
|
|
1176
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
1017
1177
|
};
|
|
1018
1178
|
description?: string | undefined;
|
|
1019
|
-
requireApproval?: boolean | undefined;
|
|
1020
1179
|
inputSchema?: undefined;
|
|
1180
|
+
requireApproval?: boolean | undefined;
|
|
1021
1181
|
})[]>>;
|
|
1022
1182
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1023
1183
|
type: z.ZodLiteral<"skill">;
|
|
@@ -1041,12 +1201,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1041
1201
|
enabled: z.ZodBoolean;
|
|
1042
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1043
1203
|
type: "task";
|
|
1044
|
-
enabled: boolean;
|
|
1045
1204
|
id: string;
|
|
1205
|
+
enabled: boolean;
|
|
1046
1206
|
}, {
|
|
1047
1207
|
type: "task";
|
|
1048
|
-
enabled: boolean;
|
|
1049
1208
|
id: string;
|
|
1209
|
+
enabled: boolean;
|
|
1050
1210
|
}>, "many">>;
|
|
1051
1211
|
providerTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1052
1212
|
integrations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
|
|
@@ -1153,18 +1313,18 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1153
1313
|
}>]>>;
|
|
1154
1314
|
connectionTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1155
1315
|
}, "strict", z.ZodTypeAny, {
|
|
1156
|
-
name: string;
|
|
1157
1316
|
url: string;
|
|
1317
|
+
name: string;
|
|
1158
1318
|
transport: "sse" | "streamableHttp";
|
|
1159
1319
|
authentication: string;
|
|
1320
|
+
credential?: string | undefined;
|
|
1321
|
+
description?: string | undefined;
|
|
1160
1322
|
approval?: {
|
|
1161
1323
|
mode: "global";
|
|
1162
1324
|
} | {
|
|
1163
1325
|
tools: string[];
|
|
1164
1326
|
mode: "selected";
|
|
1165
1327
|
} | undefined;
|
|
1166
|
-
description?: string | undefined;
|
|
1167
|
-
credential?: string | undefined;
|
|
1168
1328
|
metadata?: {
|
|
1169
1329
|
nodeTypeName?: string | undefined;
|
|
1170
1330
|
} | undefined;
|
|
@@ -1177,16 +1337,16 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1177
1337
|
} | undefined;
|
|
1178
1338
|
connectionTimeoutMs?: number | undefined;
|
|
1179
1339
|
}, {
|
|
1180
|
-
name: string;
|
|
1181
1340
|
url: string;
|
|
1341
|
+
name: string;
|
|
1342
|
+
credential?: string | undefined;
|
|
1343
|
+
description?: string | undefined;
|
|
1182
1344
|
approval?: {
|
|
1183
1345
|
mode: "global";
|
|
1184
1346
|
} | {
|
|
1185
1347
|
tools: string[];
|
|
1186
1348
|
mode: "selected";
|
|
1187
1349
|
} | undefined;
|
|
1188
|
-
description?: string | undefined;
|
|
1189
|
-
credential?: string | undefined;
|
|
1190
1350
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
1191
1351
|
authentication?: string | undefined;
|
|
1192
1352
|
metadata?: {
|
|
@@ -1201,18 +1361,18 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1201
1361
|
} | undefined;
|
|
1202
1362
|
connectionTimeoutMs?: number | undefined;
|
|
1203
1363
|
}>, "many">, {
|
|
1204
|
-
name: string;
|
|
1205
1364
|
url: string;
|
|
1365
|
+
name: string;
|
|
1206
1366
|
transport: "sse" | "streamableHttp";
|
|
1207
1367
|
authentication: string;
|
|
1368
|
+
credential?: string | undefined;
|
|
1369
|
+
description?: string | undefined;
|
|
1208
1370
|
approval?: {
|
|
1209
1371
|
mode: "global";
|
|
1210
1372
|
} | {
|
|
1211
1373
|
tools: string[];
|
|
1212
1374
|
mode: "selected";
|
|
1213
1375
|
} | undefined;
|
|
1214
|
-
description?: string | undefined;
|
|
1215
|
-
credential?: string | undefined;
|
|
1216
1376
|
metadata?: {
|
|
1217
1377
|
nodeTypeName?: string | undefined;
|
|
1218
1378
|
} | undefined;
|
|
@@ -1225,16 +1385,16 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1225
1385
|
} | undefined;
|
|
1226
1386
|
connectionTimeoutMs?: number | undefined;
|
|
1227
1387
|
}[], {
|
|
1228
|
-
name: string;
|
|
1229
1388
|
url: string;
|
|
1389
|
+
name: string;
|
|
1390
|
+
credential?: string | undefined;
|
|
1391
|
+
description?: string | undefined;
|
|
1230
1392
|
approval?: {
|
|
1231
1393
|
mode: "global";
|
|
1232
1394
|
} | {
|
|
1233
1395
|
tools: string[];
|
|
1234
1396
|
mode: "selected";
|
|
1235
1397
|
} | undefined;
|
|
1236
|
-
description?: string | undefined;
|
|
1237
|
-
credential?: string | undefined;
|
|
1238
1398
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
1239
1399
|
authentication?: string | undefined;
|
|
1240
1400
|
metadata?: {
|
|
@@ -1249,6 +1409,241 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1249
1409
|
} | undefined;
|
|
1250
1410
|
connectionTimeoutMs?: number | undefined;
|
|
1251
1411
|
}[]>>;
|
|
1412
|
+
vectorStores: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
1413
|
+
indexName: z.ZodString;
|
|
1414
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
name: z.ZodString;
|
|
1416
|
+
credential: z.ZodString;
|
|
1417
|
+
useWhen: z.ZodString;
|
|
1418
|
+
embedding: z.ZodObject<{
|
|
1419
|
+
model: z.ZodString;
|
|
1420
|
+
credential: z.ZodString;
|
|
1421
|
+
}, "strict", z.ZodTypeAny, {
|
|
1422
|
+
credential: string;
|
|
1423
|
+
model: string;
|
|
1424
|
+
}, {
|
|
1425
|
+
credential: string;
|
|
1426
|
+
model: string;
|
|
1427
|
+
}>;
|
|
1428
|
+
provider: z.ZodLiteral<"pinecone">;
|
|
1429
|
+
}, "strict", z.ZodTypeAny, {
|
|
1430
|
+
credential: string;
|
|
1431
|
+
name: string;
|
|
1432
|
+
provider: "pinecone";
|
|
1433
|
+
useWhen: string;
|
|
1434
|
+
indexName: string;
|
|
1435
|
+
embedding: {
|
|
1436
|
+
credential: string;
|
|
1437
|
+
model: string;
|
|
1438
|
+
};
|
|
1439
|
+
namespace?: string | undefined;
|
|
1440
|
+
}, {
|
|
1441
|
+
credential: string;
|
|
1442
|
+
name: string;
|
|
1443
|
+
provider: "pinecone";
|
|
1444
|
+
useWhen: string;
|
|
1445
|
+
indexName: string;
|
|
1446
|
+
embedding: {
|
|
1447
|
+
credential: string;
|
|
1448
|
+
model: string;
|
|
1449
|
+
};
|
|
1450
|
+
namespace?: string | undefined;
|
|
1451
|
+
}>, z.ZodObject<{
|
|
1452
|
+
collectionName: z.ZodString;
|
|
1453
|
+
name: z.ZodString;
|
|
1454
|
+
credential: z.ZodString;
|
|
1455
|
+
useWhen: z.ZodString;
|
|
1456
|
+
embedding: z.ZodObject<{
|
|
1457
|
+
model: z.ZodString;
|
|
1458
|
+
credential: z.ZodString;
|
|
1459
|
+
}, "strict", z.ZodTypeAny, {
|
|
1460
|
+
credential: string;
|
|
1461
|
+
model: string;
|
|
1462
|
+
}, {
|
|
1463
|
+
credential: string;
|
|
1464
|
+
model: string;
|
|
1465
|
+
}>;
|
|
1466
|
+
provider: z.ZodLiteral<"qdrant">;
|
|
1467
|
+
}, "strict", z.ZodTypeAny, {
|
|
1468
|
+
credential: string;
|
|
1469
|
+
name: string;
|
|
1470
|
+
provider: "qdrant";
|
|
1471
|
+
useWhen: string;
|
|
1472
|
+
embedding: {
|
|
1473
|
+
credential: string;
|
|
1474
|
+
model: string;
|
|
1475
|
+
};
|
|
1476
|
+
collectionName: string;
|
|
1477
|
+
}, {
|
|
1478
|
+
credential: string;
|
|
1479
|
+
name: string;
|
|
1480
|
+
provider: "qdrant";
|
|
1481
|
+
useWhen: string;
|
|
1482
|
+
embedding: {
|
|
1483
|
+
credential: string;
|
|
1484
|
+
model: string;
|
|
1485
|
+
};
|
|
1486
|
+
collectionName: string;
|
|
1487
|
+
}>, z.ZodObject<{
|
|
1488
|
+
tableName: z.ZodString;
|
|
1489
|
+
queryName: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
name: z.ZodString;
|
|
1491
|
+
credential: z.ZodString;
|
|
1492
|
+
useWhen: z.ZodString;
|
|
1493
|
+
embedding: z.ZodObject<{
|
|
1494
|
+
model: z.ZodString;
|
|
1495
|
+
credential: z.ZodString;
|
|
1496
|
+
}, "strict", z.ZodTypeAny, {
|
|
1497
|
+
credential: string;
|
|
1498
|
+
model: string;
|
|
1499
|
+
}, {
|
|
1500
|
+
credential: string;
|
|
1501
|
+
model: string;
|
|
1502
|
+
}>;
|
|
1503
|
+
provider: z.ZodLiteral<"supabase">;
|
|
1504
|
+
}, "strict", z.ZodTypeAny, {
|
|
1505
|
+
credential: string;
|
|
1506
|
+
name: string;
|
|
1507
|
+
provider: "supabase";
|
|
1508
|
+
useWhen: string;
|
|
1509
|
+
embedding: {
|
|
1510
|
+
credential: string;
|
|
1511
|
+
model: string;
|
|
1512
|
+
};
|
|
1513
|
+
tableName: string;
|
|
1514
|
+
queryName?: string | undefined;
|
|
1515
|
+
}, {
|
|
1516
|
+
credential: string;
|
|
1517
|
+
name: string;
|
|
1518
|
+
provider: "supabase";
|
|
1519
|
+
useWhen: string;
|
|
1520
|
+
embedding: {
|
|
1521
|
+
credential: string;
|
|
1522
|
+
model: string;
|
|
1523
|
+
};
|
|
1524
|
+
tableName: string;
|
|
1525
|
+
queryName?: string | undefined;
|
|
1526
|
+
}>, z.ZodObject<{
|
|
1527
|
+
tableName: z.ZodString;
|
|
1528
|
+
name: z.ZodString;
|
|
1529
|
+
credential: z.ZodString;
|
|
1530
|
+
useWhen: z.ZodString;
|
|
1531
|
+
embedding: z.ZodObject<{
|
|
1532
|
+
model: z.ZodString;
|
|
1533
|
+
credential: z.ZodString;
|
|
1534
|
+
}, "strict", z.ZodTypeAny, {
|
|
1535
|
+
credential: string;
|
|
1536
|
+
model: string;
|
|
1537
|
+
}, {
|
|
1538
|
+
credential: string;
|
|
1539
|
+
model: string;
|
|
1540
|
+
}>;
|
|
1541
|
+
provider: z.ZodLiteral<"postgres">;
|
|
1542
|
+
}, "strict", z.ZodTypeAny, {
|
|
1543
|
+
credential: string;
|
|
1544
|
+
name: string;
|
|
1545
|
+
provider: "postgres";
|
|
1546
|
+
useWhen: string;
|
|
1547
|
+
embedding: {
|
|
1548
|
+
credential: string;
|
|
1549
|
+
model: string;
|
|
1550
|
+
};
|
|
1551
|
+
tableName: string;
|
|
1552
|
+
}, {
|
|
1553
|
+
credential: string;
|
|
1554
|
+
name: string;
|
|
1555
|
+
provider: "postgres";
|
|
1556
|
+
useWhen: string;
|
|
1557
|
+
embedding: {
|
|
1558
|
+
credential: string;
|
|
1559
|
+
model: string;
|
|
1560
|
+
};
|
|
1561
|
+
tableName: string;
|
|
1562
|
+
}>]>, "many">, ({
|
|
1563
|
+
credential: string;
|
|
1564
|
+
name: string;
|
|
1565
|
+
provider: "pinecone";
|
|
1566
|
+
useWhen: string;
|
|
1567
|
+
indexName: string;
|
|
1568
|
+
embedding: {
|
|
1569
|
+
credential: string;
|
|
1570
|
+
model: string;
|
|
1571
|
+
};
|
|
1572
|
+
namespace?: string | undefined;
|
|
1573
|
+
} | {
|
|
1574
|
+
credential: string;
|
|
1575
|
+
name: string;
|
|
1576
|
+
provider: "qdrant";
|
|
1577
|
+
useWhen: string;
|
|
1578
|
+
embedding: {
|
|
1579
|
+
credential: string;
|
|
1580
|
+
model: string;
|
|
1581
|
+
};
|
|
1582
|
+
collectionName: string;
|
|
1583
|
+
} | {
|
|
1584
|
+
credential: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
provider: "supabase";
|
|
1587
|
+
useWhen: string;
|
|
1588
|
+
embedding: {
|
|
1589
|
+
credential: string;
|
|
1590
|
+
model: string;
|
|
1591
|
+
};
|
|
1592
|
+
tableName: string;
|
|
1593
|
+
queryName?: string | undefined;
|
|
1594
|
+
} | {
|
|
1595
|
+
credential: string;
|
|
1596
|
+
name: string;
|
|
1597
|
+
provider: "postgres";
|
|
1598
|
+
useWhen: string;
|
|
1599
|
+
embedding: {
|
|
1600
|
+
credential: string;
|
|
1601
|
+
model: string;
|
|
1602
|
+
};
|
|
1603
|
+
tableName: string;
|
|
1604
|
+
})[], ({
|
|
1605
|
+
credential: string;
|
|
1606
|
+
name: string;
|
|
1607
|
+
provider: "pinecone";
|
|
1608
|
+
useWhen: string;
|
|
1609
|
+
indexName: string;
|
|
1610
|
+
embedding: {
|
|
1611
|
+
credential: string;
|
|
1612
|
+
model: string;
|
|
1613
|
+
};
|
|
1614
|
+
namespace?: string | undefined;
|
|
1615
|
+
} | {
|
|
1616
|
+
credential: string;
|
|
1617
|
+
name: string;
|
|
1618
|
+
provider: "qdrant";
|
|
1619
|
+
useWhen: string;
|
|
1620
|
+
embedding: {
|
|
1621
|
+
credential: string;
|
|
1622
|
+
model: string;
|
|
1623
|
+
};
|
|
1624
|
+
collectionName: string;
|
|
1625
|
+
} | {
|
|
1626
|
+
credential: string;
|
|
1627
|
+
name: string;
|
|
1628
|
+
provider: "supabase";
|
|
1629
|
+
useWhen: string;
|
|
1630
|
+
embedding: {
|
|
1631
|
+
credential: string;
|
|
1632
|
+
model: string;
|
|
1633
|
+
};
|
|
1634
|
+
tableName: string;
|
|
1635
|
+
queryName?: string | undefined;
|
|
1636
|
+
} | {
|
|
1637
|
+
credential: string;
|
|
1638
|
+
name: string;
|
|
1639
|
+
provider: "postgres";
|
|
1640
|
+
useWhen: string;
|
|
1641
|
+
embedding: {
|
|
1642
|
+
credential: string;
|
|
1643
|
+
model: string;
|
|
1644
|
+
};
|
|
1645
|
+
tableName: string;
|
|
1646
|
+
})[]>>;
|
|
1252
1647
|
config: z.ZodOptional<z.ZodObject<{
|
|
1253
1648
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
1254
1649
|
provider: z.ZodEnum<["anthropic", "openai"]>;
|
|
@@ -1289,16 +1684,21 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1289
1684
|
credential: z.ZodOptional<z.ZodString>;
|
|
1290
1685
|
}, "strip", z.ZodTypeAny, {
|
|
1291
1686
|
enabled: boolean;
|
|
1292
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1293
1687
|
credential?: string | undefined;
|
|
1688
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1294
1689
|
}, {
|
|
1295
1690
|
enabled: boolean;
|
|
1296
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1297
1691
|
credential?: string | undefined;
|
|
1692
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1298
1693
|
}>>;
|
|
1299
1694
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
1300
1695
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
1301
1696
|
}, "strip", z.ZodTypeAny, {
|
|
1697
|
+
webSearch?: {
|
|
1698
|
+
enabled: boolean;
|
|
1699
|
+
credential?: string | undefined;
|
|
1700
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1701
|
+
} | undefined;
|
|
1302
1702
|
thinking?: {
|
|
1303
1703
|
provider: "anthropic" | "openai";
|
|
1304
1704
|
budgetTokens?: number | undefined;
|
|
@@ -1310,14 +1710,14 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1310
1710
|
ttl?: "5m" | "1h" | undefined;
|
|
1311
1711
|
} | undefined;
|
|
1312
1712
|
} | undefined;
|
|
1713
|
+
toolCallConcurrency?: number | undefined;
|
|
1714
|
+
maxIterations?: number | undefined;
|
|
1715
|
+
}, {
|
|
1313
1716
|
webSearch?: {
|
|
1314
1717
|
enabled: boolean;
|
|
1315
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1316
1718
|
credential?: string | undefined;
|
|
1719
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1317
1720
|
} | undefined;
|
|
1318
|
-
toolCallConcurrency?: number | undefined;
|
|
1319
|
-
maxIterations?: number | undefined;
|
|
1320
|
-
}, {
|
|
1321
1721
|
thinking?: {
|
|
1322
1722
|
provider: "anthropic" | "openai";
|
|
1323
1723
|
budgetTokens?: number | undefined;
|
|
@@ -1329,41 +1729,93 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1329
1729
|
ttl?: "5m" | "1h" | undefined;
|
|
1330
1730
|
} | undefined;
|
|
1331
1731
|
} | undefined;
|
|
1332
|
-
webSearch?: {
|
|
1333
|
-
enabled: boolean;
|
|
1334
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1335
|
-
credential?: string | undefined;
|
|
1336
|
-
} | undefined;
|
|
1337
1732
|
toolCallConcurrency?: number | undefined;
|
|
1338
1733
|
maxIterations?: number | undefined;
|
|
1339
1734
|
}>>;
|
|
1340
1735
|
}, "strip", z.ZodTypeAny, {
|
|
1341
|
-
model: string;
|
|
1342
1736
|
name: string;
|
|
1737
|
+
model: string;
|
|
1343
1738
|
instructions: string;
|
|
1344
1739
|
credential?: string | undefined;
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1740
|
+
tools?: ({
|
|
1741
|
+
type: "custom";
|
|
1742
|
+
id: string;
|
|
1743
|
+
requireApproval?: boolean | undefined;
|
|
1744
|
+
} | {
|
|
1745
|
+
type: "workflow";
|
|
1746
|
+
workflow: string;
|
|
1747
|
+
name?: string | undefined;
|
|
1748
|
+
description?: string | undefined;
|
|
1749
|
+
requireApproval?: boolean | undefined;
|
|
1750
|
+
allOutputs?: boolean | undefined;
|
|
1751
|
+
} | {
|
|
1752
|
+
type: "node";
|
|
1753
|
+
name: string;
|
|
1754
|
+
node: {
|
|
1755
|
+
nodeType: string;
|
|
1756
|
+
nodeTypeVersion: number;
|
|
1757
|
+
nodeParameters: Record<string, unknown>;
|
|
1758
|
+
credentials?: Record<string, {
|
|
1759
|
+
id: string;
|
|
1760
|
+
name: string;
|
|
1761
|
+
}> | undefined;
|
|
1353
1762
|
};
|
|
1354
|
-
|
|
1763
|
+
description?: string | undefined;
|
|
1764
|
+
inputSchema?: undefined;
|
|
1765
|
+
requireApproval?: boolean | undefined;
|
|
1766
|
+
})[] | undefined;
|
|
1767
|
+
tasks?: {
|
|
1768
|
+
type: "task";
|
|
1769
|
+
id: string;
|
|
1770
|
+
enabled: boolean;
|
|
1771
|
+
}[] | undefined;
|
|
1772
|
+
mcpServers?: {
|
|
1773
|
+
url: string;
|
|
1774
|
+
name: string;
|
|
1775
|
+
transport: "sse" | "streamableHttp";
|
|
1776
|
+
authentication: string;
|
|
1777
|
+
credential?: string | undefined;
|
|
1778
|
+
description?: string | undefined;
|
|
1779
|
+
approval?: {
|
|
1780
|
+
mode: "global";
|
|
1781
|
+
} | {
|
|
1782
|
+
tools: string[];
|
|
1783
|
+
mode: "selected";
|
|
1784
|
+
} | undefined;
|
|
1785
|
+
metadata?: {
|
|
1786
|
+
nodeTypeName?: string | undefined;
|
|
1787
|
+
} | undefined;
|
|
1788
|
+
toolFilter?: {
|
|
1789
|
+
tools: string[];
|
|
1790
|
+
mode: "allow";
|
|
1791
|
+
} | {
|
|
1792
|
+
tools: string[];
|
|
1793
|
+
mode: "exclude";
|
|
1794
|
+
} | undefined;
|
|
1795
|
+
connectionTimeoutMs?: number | undefined;
|
|
1796
|
+
}[] | undefined;
|
|
1797
|
+
personalisation?: {
|
|
1798
|
+
icon: string;
|
|
1799
|
+
gradient: {
|
|
1800
|
+
from: string;
|
|
1801
|
+
to: string;
|
|
1802
|
+
angle: number;
|
|
1803
|
+
fromStop: number;
|
|
1804
|
+
toStop: number;
|
|
1805
|
+
};
|
|
1806
|
+
} | undefined;
|
|
1355
1807
|
memory?: {
|
|
1356
1808
|
enabled: boolean;
|
|
1357
1809
|
storage: "n8n";
|
|
1358
1810
|
observationalMemory?: {
|
|
1359
1811
|
enabled?: boolean | undefined;
|
|
1360
1812
|
observerModel?: {
|
|
1361
|
-
model: string;
|
|
1362
1813
|
credential: string;
|
|
1814
|
+
model: string;
|
|
1363
1815
|
} | undefined;
|
|
1364
1816
|
reflectorModel?: {
|
|
1365
|
-
model: string;
|
|
1366
1817
|
credential: string;
|
|
1818
|
+
model: string;
|
|
1367
1819
|
} | undefined;
|
|
1368
1820
|
observerThresholdTokens?: number | undefined;
|
|
1369
1821
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1377,12 +1829,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1377
1829
|
credential: string;
|
|
1378
1830
|
enabled: true;
|
|
1379
1831
|
reflectorModel?: {
|
|
1380
|
-
model: string;
|
|
1381
1832
|
credential: string;
|
|
1833
|
+
model: string;
|
|
1382
1834
|
} | undefined;
|
|
1383
1835
|
extractorModel?: {
|
|
1384
|
-
model: string;
|
|
1385
1836
|
credential: string;
|
|
1837
|
+
model: string;
|
|
1386
1838
|
} | undefined;
|
|
1387
1839
|
topK?: number | undefined;
|
|
1388
1840
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1396,19 +1848,106 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1396
1848
|
}[] | undefined;
|
|
1397
1849
|
modelsByDifficulty?: {
|
|
1398
1850
|
low?: {
|
|
1399
|
-
model: string;
|
|
1400
1851
|
credential: string;
|
|
1852
|
+
model: string;
|
|
1401
1853
|
} | undefined;
|
|
1402
1854
|
medium?: {
|
|
1403
|
-
model: string;
|
|
1404
1855
|
credential: string;
|
|
1856
|
+
model: string;
|
|
1405
1857
|
} | undefined;
|
|
1406
1858
|
high?: {
|
|
1407
|
-
model: string;
|
|
1408
1859
|
credential: string;
|
|
1860
|
+
model: string;
|
|
1861
|
+
} | undefined;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
skills?: {
|
|
1865
|
+
type: "skill";
|
|
1866
|
+
id: string;
|
|
1867
|
+
}[] | undefined;
|
|
1868
|
+
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
1869
|
+
integrations?: ({
|
|
1870
|
+
type: "telegram";
|
|
1871
|
+
credentialId: string;
|
|
1872
|
+
settings?: {
|
|
1873
|
+
accessMode: "private" | "public";
|
|
1874
|
+
allowedUsers: string[];
|
|
1875
|
+
} | undefined;
|
|
1876
|
+
} | {
|
|
1877
|
+
type: "slack";
|
|
1878
|
+
credentialId: string;
|
|
1879
|
+
} | {
|
|
1880
|
+
type: "linear";
|
|
1881
|
+
credentialId: string;
|
|
1882
|
+
})[] | undefined;
|
|
1883
|
+
vectorStores?: ({
|
|
1884
|
+
credential: string;
|
|
1885
|
+
name: string;
|
|
1886
|
+
provider: "pinecone";
|
|
1887
|
+
useWhen: string;
|
|
1888
|
+
indexName: string;
|
|
1889
|
+
embedding: {
|
|
1890
|
+
credential: string;
|
|
1891
|
+
model: string;
|
|
1892
|
+
};
|
|
1893
|
+
namespace?: string | undefined;
|
|
1894
|
+
} | {
|
|
1895
|
+
credential: string;
|
|
1896
|
+
name: string;
|
|
1897
|
+
provider: "qdrant";
|
|
1898
|
+
useWhen: string;
|
|
1899
|
+
embedding: {
|
|
1900
|
+
credential: string;
|
|
1901
|
+
model: string;
|
|
1902
|
+
};
|
|
1903
|
+
collectionName: string;
|
|
1904
|
+
} | {
|
|
1905
|
+
credential: string;
|
|
1906
|
+
name: string;
|
|
1907
|
+
provider: "supabase";
|
|
1908
|
+
useWhen: string;
|
|
1909
|
+
embedding: {
|
|
1910
|
+
credential: string;
|
|
1911
|
+
model: string;
|
|
1912
|
+
};
|
|
1913
|
+
tableName: string;
|
|
1914
|
+
queryName?: string | undefined;
|
|
1915
|
+
} | {
|
|
1916
|
+
credential: string;
|
|
1917
|
+
name: string;
|
|
1918
|
+
provider: "postgres";
|
|
1919
|
+
useWhen: string;
|
|
1920
|
+
embedding: {
|
|
1921
|
+
credential: string;
|
|
1922
|
+
model: string;
|
|
1923
|
+
};
|
|
1924
|
+
tableName: string;
|
|
1925
|
+
})[] | undefined;
|
|
1926
|
+
config?: {
|
|
1927
|
+
webSearch?: {
|
|
1928
|
+
enabled: boolean;
|
|
1929
|
+
credential?: string | undefined;
|
|
1930
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1931
|
+
} | undefined;
|
|
1932
|
+
thinking?: {
|
|
1933
|
+
provider: "anthropic" | "openai";
|
|
1934
|
+
budgetTokens?: number | undefined;
|
|
1935
|
+
reasoningEffort?: string | undefined;
|
|
1936
|
+
} | undefined;
|
|
1937
|
+
promptCaching?: {
|
|
1938
|
+
enabled: boolean;
|
|
1939
|
+
anthropic?: {
|
|
1940
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1409
1941
|
} | undefined;
|
|
1410
1942
|
} | undefined;
|
|
1943
|
+
toolCallConcurrency?: number | undefined;
|
|
1944
|
+
maxIterations?: number | undefined;
|
|
1411
1945
|
} | undefined;
|
|
1946
|
+
}, {
|
|
1947
|
+
name: string;
|
|
1948
|
+
model: string;
|
|
1949
|
+
instructions: string;
|
|
1950
|
+
credential?: string | undefined;
|
|
1412
1951
|
tools?: ({
|
|
1413
1952
|
type: "custom";
|
|
1414
1953
|
id: string;
|
|
@@ -1416,8 +1955,8 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1416
1955
|
} | {
|
|
1417
1956
|
type: "workflow";
|
|
1418
1957
|
workflow: string;
|
|
1419
|
-
description?: string | undefined;
|
|
1420
1958
|
name?: string | undefined;
|
|
1959
|
+
description?: string | undefined;
|
|
1421
1960
|
requireApproval?: boolean | undefined;
|
|
1422
1961
|
allOutputs?: boolean | undefined;
|
|
1423
1962
|
} | {
|
|
@@ -1426,90 +1965,46 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1426
1965
|
node: {
|
|
1427
1966
|
nodeType: string;
|
|
1428
1967
|
nodeTypeVersion: number;
|
|
1429
|
-
nodeParameters: Record<string, unknown>;
|
|
1430
1968
|
credentials?: Record<string, {
|
|
1431
|
-
name: string;
|
|
1432
1969
|
id: string;
|
|
1970
|
+
name: string;
|
|
1433
1971
|
}> | undefined;
|
|
1972
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
1434
1973
|
};
|
|
1435
1974
|
description?: string | undefined;
|
|
1436
|
-
requireApproval?: boolean | undefined;
|
|
1437
1975
|
inputSchema?: undefined;
|
|
1976
|
+
requireApproval?: boolean | undefined;
|
|
1438
1977
|
})[] | undefined;
|
|
1439
|
-
skills?: {
|
|
1440
|
-
type: "skill";
|
|
1441
|
-
id: string;
|
|
1442
|
-
}[] | undefined;
|
|
1443
1978
|
tasks?: {
|
|
1444
1979
|
type: "task";
|
|
1445
|
-
enabled: boolean;
|
|
1446
1980
|
id: string;
|
|
1981
|
+
enabled: boolean;
|
|
1447
1982
|
}[] | undefined;
|
|
1448
|
-
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
1449
|
-
integrations?: ({
|
|
1450
|
-
type: "telegram";
|
|
1451
|
-
credentialId: string;
|
|
1452
|
-
settings?: {
|
|
1453
|
-
accessMode: "private" | "public";
|
|
1454
|
-
allowedUsers: string[];
|
|
1455
|
-
} | undefined;
|
|
1456
|
-
} | {
|
|
1457
|
-
type: "slack";
|
|
1458
|
-
credentialId: string;
|
|
1459
|
-
} | {
|
|
1460
|
-
type: "linear";
|
|
1461
|
-
credentialId: string;
|
|
1462
|
-
})[] | undefined;
|
|
1463
1983
|
mcpServers?: {
|
|
1464
|
-
name: string;
|
|
1465
1984
|
url: string;
|
|
1466
|
-
|
|
1467
|
-
|
|
1985
|
+
name: string;
|
|
1986
|
+
credential?: string | undefined;
|
|
1987
|
+
description?: string | undefined;
|
|
1468
1988
|
approval?: {
|
|
1469
1989
|
mode: "global";
|
|
1470
1990
|
} | {
|
|
1471
1991
|
tools: string[];
|
|
1472
1992
|
mode: "selected";
|
|
1473
1993
|
} | undefined;
|
|
1474
|
-
|
|
1475
|
-
|
|
1994
|
+
transport?: "sse" | "streamableHttp" | undefined;
|
|
1995
|
+
authentication?: string | undefined;
|
|
1476
1996
|
metadata?: {
|
|
1477
1997
|
nodeTypeName?: string | undefined;
|
|
1478
1998
|
} | undefined;
|
|
1479
1999
|
toolFilter?: {
|
|
1480
|
-
tools: string[];
|
|
1481
2000
|
mode: "allow";
|
|
2001
|
+
tools?: string[] | undefined;
|
|
1482
2002
|
} | {
|
|
1483
|
-
tools: string[];
|
|
1484
2003
|
mode: "exclude";
|
|
2004
|
+
tools?: string[] | undefined;
|
|
1485
2005
|
} | undefined;
|
|
1486
2006
|
connectionTimeoutMs?: number | undefined;
|
|
1487
2007
|
}[] | undefined;
|
|
1488
|
-
config?: {
|
|
1489
|
-
thinking?: {
|
|
1490
|
-
provider: "anthropic" | "openai";
|
|
1491
|
-
budgetTokens?: number | undefined;
|
|
1492
|
-
reasoningEffort?: string | undefined;
|
|
1493
|
-
} | undefined;
|
|
1494
|
-
promptCaching?: {
|
|
1495
|
-
enabled: boolean;
|
|
1496
|
-
anthropic?: {
|
|
1497
|
-
ttl?: "5m" | "1h" | undefined;
|
|
1498
|
-
} | undefined;
|
|
1499
|
-
} | undefined;
|
|
1500
|
-
webSearch?: {
|
|
1501
|
-
enabled: boolean;
|
|
1502
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1503
|
-
credential?: string | undefined;
|
|
1504
|
-
} | undefined;
|
|
1505
|
-
toolCallConcurrency?: number | undefined;
|
|
1506
|
-
maxIterations?: number | undefined;
|
|
1507
|
-
} | undefined;
|
|
1508
|
-
}, {
|
|
1509
|
-
model: string;
|
|
1510
|
-
name: string;
|
|
1511
|
-
instructions: string;
|
|
1512
|
-
credential?: string | undefined;
|
|
1513
2008
|
personalisation?: {
|
|
1514
2009
|
icon: string;
|
|
1515
2010
|
gradient?: {
|
|
@@ -1526,12 +2021,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1526
2021
|
observationalMemory?: {
|
|
1527
2022
|
enabled?: boolean | undefined;
|
|
1528
2023
|
observerModel?: {
|
|
1529
|
-
model: string;
|
|
1530
2024
|
credential: string;
|
|
2025
|
+
model: string;
|
|
1531
2026
|
} | undefined;
|
|
1532
2027
|
reflectorModel?: {
|
|
1533
|
-
model: string;
|
|
1534
2028
|
credential: string;
|
|
2029
|
+
model: string;
|
|
1535
2030
|
} | undefined;
|
|
1536
2031
|
observerThresholdTokens?: number | undefined;
|
|
1537
2032
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1545,12 +2040,12 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1545
2040
|
credential: string;
|
|
1546
2041
|
enabled: true;
|
|
1547
2042
|
reflectorModel?: {
|
|
1548
|
-
model: string;
|
|
1549
2043
|
credential: string;
|
|
2044
|
+
model: string;
|
|
1550
2045
|
} | undefined;
|
|
1551
2046
|
extractorModel?: {
|
|
1552
|
-
model: string;
|
|
1553
2047
|
credential: string;
|
|
2048
|
+
model: string;
|
|
1554
2049
|
} | undefined;
|
|
1555
2050
|
topK?: number | undefined;
|
|
1556
2051
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1564,55 +2059,23 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1564
2059
|
}[] | undefined;
|
|
1565
2060
|
modelsByDifficulty?: {
|
|
1566
2061
|
low?: {
|
|
1567
|
-
model: string;
|
|
1568
2062
|
credential: string;
|
|
2063
|
+
model: string;
|
|
1569
2064
|
} | undefined;
|
|
1570
2065
|
medium?: {
|
|
1571
|
-
model: string;
|
|
1572
2066
|
credential: string;
|
|
2067
|
+
model: string;
|
|
1573
2068
|
} | undefined;
|
|
1574
2069
|
high?: {
|
|
1575
|
-
model: string;
|
|
1576
2070
|
credential: string;
|
|
2071
|
+
model: string;
|
|
1577
2072
|
} | undefined;
|
|
1578
2073
|
} | undefined;
|
|
1579
2074
|
} | undefined;
|
|
1580
|
-
tools?: ({
|
|
1581
|
-
type: "custom";
|
|
1582
|
-
id: string;
|
|
1583
|
-
requireApproval?: boolean | undefined;
|
|
1584
|
-
} | {
|
|
1585
|
-
type: "workflow";
|
|
1586
|
-
workflow: string;
|
|
1587
|
-
description?: string | undefined;
|
|
1588
|
-
name?: string | undefined;
|
|
1589
|
-
requireApproval?: boolean | undefined;
|
|
1590
|
-
allOutputs?: boolean | undefined;
|
|
1591
|
-
} | {
|
|
1592
|
-
type: "node";
|
|
1593
|
-
name: string;
|
|
1594
|
-
node: {
|
|
1595
|
-
nodeType: string;
|
|
1596
|
-
nodeTypeVersion: number;
|
|
1597
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
1598
|
-
credentials?: Record<string, {
|
|
1599
|
-
name: string;
|
|
1600
|
-
id: string;
|
|
1601
|
-
}> | undefined;
|
|
1602
|
-
};
|
|
1603
|
-
description?: string | undefined;
|
|
1604
|
-
requireApproval?: boolean | undefined;
|
|
1605
|
-
inputSchema?: undefined;
|
|
1606
|
-
})[] | undefined;
|
|
1607
2075
|
skills?: {
|
|
1608
2076
|
type: "skill";
|
|
1609
2077
|
id: string;
|
|
1610
2078
|
}[] | undefined;
|
|
1611
|
-
tasks?: {
|
|
1612
|
-
type: "task";
|
|
1613
|
-
enabled: boolean;
|
|
1614
|
-
id: string;
|
|
1615
|
-
}[] | undefined;
|
|
1616
2079
|
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
1617
2080
|
integrations?: ({
|
|
1618
2081
|
type: "telegram";
|
|
@@ -1628,32 +2091,55 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1628
2091
|
type: "linear";
|
|
1629
2092
|
credentialId: string;
|
|
1630
2093
|
})[] | undefined;
|
|
1631
|
-
|
|
2094
|
+
vectorStores?: ({
|
|
2095
|
+
credential: string;
|
|
1632
2096
|
name: string;
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
2097
|
+
provider: "pinecone";
|
|
2098
|
+
useWhen: string;
|
|
2099
|
+
indexName: string;
|
|
2100
|
+
embedding: {
|
|
2101
|
+
credential: string;
|
|
2102
|
+
model: string;
|
|
2103
|
+
};
|
|
2104
|
+
namespace?: string | undefined;
|
|
2105
|
+
} | {
|
|
2106
|
+
credential: string;
|
|
2107
|
+
name: string;
|
|
2108
|
+
provider: "qdrant";
|
|
2109
|
+
useWhen: string;
|
|
2110
|
+
embedding: {
|
|
2111
|
+
credential: string;
|
|
2112
|
+
model: string;
|
|
2113
|
+
};
|
|
2114
|
+
collectionName: string;
|
|
2115
|
+
} | {
|
|
2116
|
+
credential: string;
|
|
2117
|
+
name: string;
|
|
2118
|
+
provider: "supabase";
|
|
2119
|
+
useWhen: string;
|
|
2120
|
+
embedding: {
|
|
2121
|
+
credential: string;
|
|
2122
|
+
model: string;
|
|
2123
|
+
};
|
|
2124
|
+
tableName: string;
|
|
2125
|
+
queryName?: string | undefined;
|
|
2126
|
+
} | {
|
|
2127
|
+
credential: string;
|
|
2128
|
+
name: string;
|
|
2129
|
+
provider: "postgres";
|
|
2130
|
+
useWhen: string;
|
|
2131
|
+
embedding: {
|
|
2132
|
+
credential: string;
|
|
2133
|
+
model: string;
|
|
2134
|
+
};
|
|
2135
|
+
tableName: string;
|
|
2136
|
+
})[] | undefined;
|
|
1656
2137
|
config?: {
|
|
2138
|
+
webSearch?: {
|
|
2139
|
+
enabled: boolean;
|
|
2140
|
+
credential?: string | undefined;
|
|
2141
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2142
|
+
} | undefined;
|
|
1657
2143
|
thinking?: {
|
|
1658
2144
|
provider: "anthropic" | "openai";
|
|
1659
2145
|
budgetTokens?: number | undefined;
|
|
@@ -1665,11 +2151,6 @@ export declare const AgentJsonConfigSchema: z.ZodObject<{
|
|
|
1665
2151
|
ttl?: "5m" | "1h" | undefined;
|
|
1666
2152
|
} | undefined;
|
|
1667
2153
|
} | undefined;
|
|
1668
|
-
webSearch?: {
|
|
1669
|
-
enabled: boolean;
|
|
1670
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
1671
|
-
credential?: string | undefined;
|
|
1672
|
-
} | undefined;
|
|
1673
2154
|
toolCallConcurrency?: number | undefined;
|
|
1674
2155
|
maxIterations?: number | undefined;
|
|
1675
2156
|
} | undefined;
|
|
@@ -1726,21 +2207,21 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1726
2207
|
model: z.ZodString;
|
|
1727
2208
|
credential: z.ZodString;
|
|
1728
2209
|
}, "strip", z.ZodTypeAny, {
|
|
1729
|
-
model: string;
|
|
1730
2210
|
credential: string;
|
|
1731
|
-
}, {
|
|
1732
2211
|
model: string;
|
|
2212
|
+
}, {
|
|
1733
2213
|
credential: string;
|
|
2214
|
+
model: string;
|
|
1734
2215
|
}>>;
|
|
1735
2216
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
1736
2217
|
model: z.ZodString;
|
|
1737
2218
|
credential: z.ZodString;
|
|
1738
2219
|
}, "strip", z.ZodTypeAny, {
|
|
1739
|
-
model: string;
|
|
1740
2220
|
credential: string;
|
|
1741
|
-
}, {
|
|
1742
2221
|
model: string;
|
|
2222
|
+
}, {
|
|
1743
2223
|
credential: string;
|
|
2224
|
+
model: string;
|
|
1744
2225
|
}>>;
|
|
1745
2226
|
observerThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
1746
2227
|
reflectorThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1750,12 +2231,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1750
2231
|
}, "strip", z.ZodTypeAny, {
|
|
1751
2232
|
enabled?: boolean | undefined;
|
|
1752
2233
|
observerModel?: {
|
|
1753
|
-
model: string;
|
|
1754
2234
|
credential: string;
|
|
2235
|
+
model: string;
|
|
1755
2236
|
} | undefined;
|
|
1756
2237
|
reflectorModel?: {
|
|
1757
|
-
model: string;
|
|
1758
2238
|
credential: string;
|
|
2239
|
+
model: string;
|
|
1759
2240
|
} | undefined;
|
|
1760
2241
|
observerThresholdTokens?: number | undefined;
|
|
1761
2242
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1765,12 +2246,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1765
2246
|
}, {
|
|
1766
2247
|
enabled?: boolean | undefined;
|
|
1767
2248
|
observerModel?: {
|
|
1768
|
-
model: string;
|
|
1769
2249
|
credential: string;
|
|
2250
|
+
model: string;
|
|
1770
2251
|
} | undefined;
|
|
1771
2252
|
reflectorModel?: {
|
|
1772
|
-
model: string;
|
|
1773
2253
|
credential: string;
|
|
2254
|
+
model: string;
|
|
1774
2255
|
} | undefined;
|
|
1775
2256
|
observerThresholdTokens?: number | undefined;
|
|
1776
2257
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1791,21 +2272,21 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1791
2272
|
model: z.ZodString;
|
|
1792
2273
|
credential: z.ZodString;
|
|
1793
2274
|
}, "strip", z.ZodTypeAny, {
|
|
1794
|
-
model: string;
|
|
1795
2275
|
credential: string;
|
|
1796
|
-
}, {
|
|
1797
2276
|
model: string;
|
|
2277
|
+
}, {
|
|
1798
2278
|
credential: string;
|
|
2279
|
+
model: string;
|
|
1799
2280
|
}>>;
|
|
1800
2281
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
1801
2282
|
model: z.ZodString;
|
|
1802
2283
|
credential: z.ZodString;
|
|
1803
2284
|
}, "strip", z.ZodTypeAny, {
|
|
1804
|
-
model: string;
|
|
1805
2285
|
credential: string;
|
|
1806
|
-
}, {
|
|
1807
2286
|
model: string;
|
|
2287
|
+
}, {
|
|
1808
2288
|
credential: string;
|
|
2289
|
+
model: string;
|
|
1809
2290
|
}>>;
|
|
1810
2291
|
topK: z.ZodOptional<z.ZodNumber>;
|
|
1811
2292
|
maxEntriesPerRun: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1813,12 +2294,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1813
2294
|
credential: string;
|
|
1814
2295
|
enabled: true;
|
|
1815
2296
|
reflectorModel?: {
|
|
1816
|
-
model: string;
|
|
1817
2297
|
credential: string;
|
|
2298
|
+
model: string;
|
|
1818
2299
|
} | undefined;
|
|
1819
2300
|
extractorModel?: {
|
|
1820
|
-
model: string;
|
|
1821
2301
|
credential: string;
|
|
2302
|
+
model: string;
|
|
1822
2303
|
} | undefined;
|
|
1823
2304
|
topK?: number | undefined;
|
|
1824
2305
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1826,12 +2307,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1826
2307
|
credential: string;
|
|
1827
2308
|
enabled: true;
|
|
1828
2309
|
reflectorModel?: {
|
|
1829
|
-
model: string;
|
|
1830
2310
|
credential: string;
|
|
2311
|
+
model: string;
|
|
1831
2312
|
} | undefined;
|
|
1832
2313
|
extractorModel?: {
|
|
1833
|
-
model: string;
|
|
1834
2314
|
credential: string;
|
|
2315
|
+
model: string;
|
|
1835
2316
|
} | undefined;
|
|
1836
2317
|
topK?: number | undefined;
|
|
1837
2318
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1842,12 +2323,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1842
2323
|
observationalMemory?: {
|
|
1843
2324
|
enabled?: boolean | undefined;
|
|
1844
2325
|
observerModel?: {
|
|
1845
|
-
model: string;
|
|
1846
2326
|
credential: string;
|
|
2327
|
+
model: string;
|
|
1847
2328
|
} | undefined;
|
|
1848
2329
|
reflectorModel?: {
|
|
1849
|
-
model: string;
|
|
1850
2330
|
credential: string;
|
|
2331
|
+
model: string;
|
|
1851
2332
|
} | undefined;
|
|
1852
2333
|
observerThresholdTokens?: number | undefined;
|
|
1853
2334
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1861,12 +2342,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1861
2342
|
credential: string;
|
|
1862
2343
|
enabled: true;
|
|
1863
2344
|
reflectorModel?: {
|
|
1864
|
-
model: string;
|
|
1865
2345
|
credential: string;
|
|
2346
|
+
model: string;
|
|
1866
2347
|
} | undefined;
|
|
1867
2348
|
extractorModel?: {
|
|
1868
|
-
model: string;
|
|
1869
2349
|
credential: string;
|
|
2350
|
+
model: string;
|
|
1870
2351
|
} | undefined;
|
|
1871
2352
|
topK?: number | undefined;
|
|
1872
2353
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1877,12 +2358,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1877
2358
|
observationalMemory?: {
|
|
1878
2359
|
enabled?: boolean | undefined;
|
|
1879
2360
|
observerModel?: {
|
|
1880
|
-
model: string;
|
|
1881
2361
|
credential: string;
|
|
2362
|
+
model: string;
|
|
1882
2363
|
} | undefined;
|
|
1883
2364
|
reflectorModel?: {
|
|
1884
|
-
model: string;
|
|
1885
2365
|
credential: string;
|
|
2366
|
+
model: string;
|
|
1886
2367
|
} | undefined;
|
|
1887
2368
|
observerThresholdTokens?: number | undefined;
|
|
1888
2369
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -1896,12 +2377,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1896
2377
|
credential: string;
|
|
1897
2378
|
enabled: true;
|
|
1898
2379
|
reflectorModel?: {
|
|
1899
|
-
model: string;
|
|
1900
2380
|
credential: string;
|
|
2381
|
+
model: string;
|
|
1901
2382
|
} | undefined;
|
|
1902
2383
|
extractorModel?: {
|
|
1903
|
-
model: string;
|
|
1904
2384
|
credential: string;
|
|
2385
|
+
model: string;
|
|
1905
2386
|
} | undefined;
|
|
1906
2387
|
topK?: number | undefined;
|
|
1907
2388
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -1924,57 +2405,57 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1924
2405
|
model: z.ZodString;
|
|
1925
2406
|
credential: z.ZodString;
|
|
1926
2407
|
}, "strict", z.ZodTypeAny, {
|
|
1927
|
-
model: string;
|
|
1928
2408
|
credential: string;
|
|
1929
|
-
}, {
|
|
1930
2409
|
model: string;
|
|
2410
|
+
}, {
|
|
1931
2411
|
credential: string;
|
|
2412
|
+
model: string;
|
|
1932
2413
|
}>>;
|
|
1933
2414
|
medium: z.ZodOptional<z.ZodObject<{
|
|
1934
2415
|
model: z.ZodString;
|
|
1935
2416
|
credential: z.ZodString;
|
|
1936
2417
|
}, "strict", z.ZodTypeAny, {
|
|
1937
|
-
model: string;
|
|
1938
2418
|
credential: string;
|
|
1939
|
-
}, {
|
|
1940
2419
|
model: string;
|
|
2420
|
+
}, {
|
|
1941
2421
|
credential: string;
|
|
2422
|
+
model: string;
|
|
1942
2423
|
}>>;
|
|
1943
2424
|
high: z.ZodOptional<z.ZodObject<{
|
|
1944
2425
|
model: z.ZodString;
|
|
1945
2426
|
credential: z.ZodString;
|
|
1946
2427
|
}, "strict", z.ZodTypeAny, {
|
|
1947
|
-
model: string;
|
|
1948
2428
|
credential: string;
|
|
1949
|
-
}, {
|
|
1950
2429
|
model: string;
|
|
2430
|
+
}, {
|
|
1951
2431
|
credential: string;
|
|
2432
|
+
model: string;
|
|
1952
2433
|
}>>;
|
|
1953
2434
|
}, "strict", z.ZodTypeAny, {
|
|
1954
2435
|
low?: {
|
|
1955
|
-
model: string;
|
|
1956
2436
|
credential: string;
|
|
2437
|
+
model: string;
|
|
1957
2438
|
} | undefined;
|
|
1958
2439
|
medium?: {
|
|
1959
|
-
model: string;
|
|
1960
2440
|
credential: string;
|
|
2441
|
+
model: string;
|
|
1961
2442
|
} | undefined;
|
|
1962
2443
|
high?: {
|
|
1963
|
-
model: string;
|
|
1964
2444
|
credential: string;
|
|
2445
|
+
model: string;
|
|
1965
2446
|
} | undefined;
|
|
1966
2447
|
}, {
|
|
1967
2448
|
low?: {
|
|
1968
|
-
model: string;
|
|
1969
2449
|
credential: string;
|
|
2450
|
+
model: string;
|
|
1970
2451
|
} | undefined;
|
|
1971
2452
|
medium?: {
|
|
1972
|
-
model: string;
|
|
1973
2453
|
credential: string;
|
|
2454
|
+
model: string;
|
|
1974
2455
|
} | undefined;
|
|
1975
2456
|
high?: {
|
|
1976
|
-
model: string;
|
|
1977
2457
|
credential: string;
|
|
2458
|
+
model: string;
|
|
1978
2459
|
} | undefined;
|
|
1979
2460
|
}>>;
|
|
1980
2461
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1985,16 +2466,16 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
1985
2466
|
}[] | undefined;
|
|
1986
2467
|
modelsByDifficulty?: {
|
|
1987
2468
|
low?: {
|
|
1988
|
-
model: string;
|
|
1989
2469
|
credential: string;
|
|
2470
|
+
model: string;
|
|
1990
2471
|
} | undefined;
|
|
1991
2472
|
medium?: {
|
|
1992
|
-
model: string;
|
|
1993
2473
|
credential: string;
|
|
2474
|
+
model: string;
|
|
1994
2475
|
} | undefined;
|
|
1995
2476
|
high?: {
|
|
1996
|
-
model: string;
|
|
1997
2477
|
credential: string;
|
|
2478
|
+
model: string;
|
|
1998
2479
|
} | undefined;
|
|
1999
2480
|
} | undefined;
|
|
2000
2481
|
}, {
|
|
@@ -2005,16 +2486,16 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2005
2486
|
}[] | undefined;
|
|
2006
2487
|
modelsByDifficulty?: {
|
|
2007
2488
|
low?: {
|
|
2008
|
-
model: string;
|
|
2009
2489
|
credential: string;
|
|
2490
|
+
model: string;
|
|
2010
2491
|
} | undefined;
|
|
2011
2492
|
medium?: {
|
|
2012
|
-
model: string;
|
|
2013
2493
|
credential: string;
|
|
2494
|
+
model: string;
|
|
2014
2495
|
} | undefined;
|
|
2015
2496
|
high?: {
|
|
2016
|
-
model: string;
|
|
2017
2497
|
credential: string;
|
|
2498
|
+
model: string;
|
|
2018
2499
|
} | undefined;
|
|
2019
2500
|
} | undefined;
|
|
2020
2501
|
}>>;
|
|
@@ -2040,15 +2521,15 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2040
2521
|
}, "strict", z.ZodTypeAny, {
|
|
2041
2522
|
type: "workflow";
|
|
2042
2523
|
workflow: string;
|
|
2043
|
-
description?: string | undefined;
|
|
2044
2524
|
name?: string | undefined;
|
|
2525
|
+
description?: string | undefined;
|
|
2045
2526
|
requireApproval?: boolean | undefined;
|
|
2046
2527
|
allOutputs?: boolean | undefined;
|
|
2047
2528
|
}, {
|
|
2048
2529
|
type: "workflow";
|
|
2049
2530
|
workflow: string;
|
|
2050
|
-
description?: string | undefined;
|
|
2051
2531
|
name?: string | undefined;
|
|
2532
|
+
description?: string | undefined;
|
|
2052
2533
|
requireApproval?: boolean | undefined;
|
|
2053
2534
|
allOutputs?: boolean | undefined;
|
|
2054
2535
|
}>, z.ZodObject<{
|
|
@@ -2064,28 +2545,28 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2064
2545
|
id: z.ZodString;
|
|
2065
2546
|
name: z.ZodString;
|
|
2066
2547
|
}, "strip", z.ZodTypeAny, {
|
|
2067
|
-
name: string;
|
|
2068
2548
|
id: string;
|
|
2069
|
-
}, {
|
|
2070
2549
|
name: string;
|
|
2550
|
+
}, {
|
|
2071
2551
|
id: string;
|
|
2552
|
+
name: string;
|
|
2072
2553
|
}>>>;
|
|
2073
2554
|
}, "strip", z.ZodTypeAny, {
|
|
2074
2555
|
nodeType: string;
|
|
2075
2556
|
nodeTypeVersion: number;
|
|
2076
2557
|
nodeParameters: Record<string, unknown>;
|
|
2077
2558
|
credentials?: Record<string, {
|
|
2078
|
-
name: string;
|
|
2079
2559
|
id: string;
|
|
2560
|
+
name: string;
|
|
2080
2561
|
}> | undefined;
|
|
2081
2562
|
}, {
|
|
2082
2563
|
nodeType: string;
|
|
2083
2564
|
nodeTypeVersion: number;
|
|
2084
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
2085
2565
|
credentials?: Record<string, {
|
|
2086
|
-
name: string;
|
|
2087
2566
|
id: string;
|
|
2567
|
+
name: string;
|
|
2088
2568
|
}> | undefined;
|
|
2569
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
2089
2570
|
}>;
|
|
2090
2571
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
2091
2572
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2096,28 +2577,28 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2096
2577
|
nodeTypeVersion: number;
|
|
2097
2578
|
nodeParameters: Record<string, unknown>;
|
|
2098
2579
|
credentials?: Record<string, {
|
|
2099
|
-
name: string;
|
|
2100
2580
|
id: string;
|
|
2581
|
+
name: string;
|
|
2101
2582
|
}> | undefined;
|
|
2102
2583
|
};
|
|
2103
2584
|
description?: string | undefined;
|
|
2104
|
-
requireApproval?: boolean | undefined;
|
|
2105
2585
|
inputSchema?: undefined;
|
|
2586
|
+
requireApproval?: boolean | undefined;
|
|
2106
2587
|
}, {
|
|
2107
2588
|
type: "node";
|
|
2108
2589
|
name: string;
|
|
2109
2590
|
node: {
|
|
2110
2591
|
nodeType: string;
|
|
2111
2592
|
nodeTypeVersion: number;
|
|
2112
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
2113
2593
|
credentials?: Record<string, {
|
|
2114
|
-
name: string;
|
|
2115
2594
|
id: string;
|
|
2595
|
+
name: string;
|
|
2116
2596
|
}> | undefined;
|
|
2597
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
2117
2598
|
};
|
|
2118
2599
|
description?: string | undefined;
|
|
2119
|
-
requireApproval?: boolean | undefined;
|
|
2120
2600
|
inputSchema?: undefined;
|
|
2601
|
+
requireApproval?: boolean | undefined;
|
|
2121
2602
|
}>]>, "many">, ({
|
|
2122
2603
|
type: "custom";
|
|
2123
2604
|
id: string;
|
|
@@ -2125,8 +2606,8 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2125
2606
|
} | {
|
|
2126
2607
|
type: "workflow";
|
|
2127
2608
|
workflow: string;
|
|
2128
|
-
description?: string | undefined;
|
|
2129
2609
|
name?: string | undefined;
|
|
2610
|
+
description?: string | undefined;
|
|
2130
2611
|
requireApproval?: boolean | undefined;
|
|
2131
2612
|
allOutputs?: boolean | undefined;
|
|
2132
2613
|
} | {
|
|
@@ -2137,13 +2618,13 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2137
2618
|
nodeTypeVersion: number;
|
|
2138
2619
|
nodeParameters: Record<string, unknown>;
|
|
2139
2620
|
credentials?: Record<string, {
|
|
2140
|
-
name: string;
|
|
2141
2621
|
id: string;
|
|
2622
|
+
name: string;
|
|
2142
2623
|
}> | undefined;
|
|
2143
2624
|
};
|
|
2144
2625
|
description?: string | undefined;
|
|
2145
|
-
requireApproval?: boolean | undefined;
|
|
2146
2626
|
inputSchema?: undefined;
|
|
2627
|
+
requireApproval?: boolean | undefined;
|
|
2147
2628
|
})[], ({
|
|
2148
2629
|
type: "custom";
|
|
2149
2630
|
id: string;
|
|
@@ -2151,8 +2632,8 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2151
2632
|
} | {
|
|
2152
2633
|
type: "workflow";
|
|
2153
2634
|
workflow: string;
|
|
2154
|
-
description?: string | undefined;
|
|
2155
2635
|
name?: string | undefined;
|
|
2636
|
+
description?: string | undefined;
|
|
2156
2637
|
requireApproval?: boolean | undefined;
|
|
2157
2638
|
allOutputs?: boolean | undefined;
|
|
2158
2639
|
} | {
|
|
@@ -2161,15 +2642,15 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2161
2642
|
node: {
|
|
2162
2643
|
nodeType: string;
|
|
2163
2644
|
nodeTypeVersion: number;
|
|
2164
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
2165
2645
|
credentials?: Record<string, {
|
|
2166
|
-
name: string;
|
|
2167
2646
|
id: string;
|
|
2647
|
+
name: string;
|
|
2168
2648
|
}> | undefined;
|
|
2649
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
2169
2650
|
};
|
|
2170
2651
|
description?: string | undefined;
|
|
2171
|
-
requireApproval?: boolean | undefined;
|
|
2172
2652
|
inputSchema?: undefined;
|
|
2653
|
+
requireApproval?: boolean | undefined;
|
|
2173
2654
|
})[]>>;
|
|
2174
2655
|
skills: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
2175
2656
|
type: z.ZodLiteral<"skill">;
|
|
@@ -2193,12 +2674,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2193
2674
|
enabled: z.ZodBoolean;
|
|
2194
2675
|
}, "strip", z.ZodTypeAny, {
|
|
2195
2676
|
type: "task";
|
|
2196
|
-
enabled: boolean;
|
|
2197
2677
|
id: string;
|
|
2678
|
+
enabled: boolean;
|
|
2198
2679
|
}, {
|
|
2199
2680
|
type: "task";
|
|
2200
|
-
enabled: boolean;
|
|
2201
2681
|
id: string;
|
|
2682
|
+
enabled: boolean;
|
|
2202
2683
|
}>, "many">>;
|
|
2203
2684
|
providerTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2204
2685
|
integrations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
|
|
@@ -2305,18 +2786,18 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2305
2786
|
}>]>>;
|
|
2306
2787
|
connectionTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2307
2788
|
}, "strict", z.ZodTypeAny, {
|
|
2308
|
-
name: string;
|
|
2309
2789
|
url: string;
|
|
2790
|
+
name: string;
|
|
2310
2791
|
transport: "sse" | "streamableHttp";
|
|
2311
2792
|
authentication: string;
|
|
2793
|
+
credential?: string | undefined;
|
|
2794
|
+
description?: string | undefined;
|
|
2312
2795
|
approval?: {
|
|
2313
2796
|
mode: "global";
|
|
2314
2797
|
} | {
|
|
2315
2798
|
tools: string[];
|
|
2316
2799
|
mode: "selected";
|
|
2317
2800
|
} | undefined;
|
|
2318
|
-
description?: string | undefined;
|
|
2319
|
-
credential?: string | undefined;
|
|
2320
2801
|
metadata?: {
|
|
2321
2802
|
nodeTypeName?: string | undefined;
|
|
2322
2803
|
} | undefined;
|
|
@@ -2329,16 +2810,16 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2329
2810
|
} | undefined;
|
|
2330
2811
|
connectionTimeoutMs?: number | undefined;
|
|
2331
2812
|
}, {
|
|
2332
|
-
name: string;
|
|
2333
2813
|
url: string;
|
|
2814
|
+
name: string;
|
|
2815
|
+
credential?: string | undefined;
|
|
2816
|
+
description?: string | undefined;
|
|
2334
2817
|
approval?: {
|
|
2335
2818
|
mode: "global";
|
|
2336
2819
|
} | {
|
|
2337
2820
|
tools: string[];
|
|
2338
2821
|
mode: "selected";
|
|
2339
2822
|
} | undefined;
|
|
2340
|
-
description?: string | undefined;
|
|
2341
|
-
credential?: string | undefined;
|
|
2342
2823
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
2343
2824
|
authentication?: string | undefined;
|
|
2344
2825
|
metadata?: {
|
|
@@ -2353,18 +2834,18 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2353
2834
|
} | undefined;
|
|
2354
2835
|
connectionTimeoutMs?: number | undefined;
|
|
2355
2836
|
}>, "many">, {
|
|
2356
|
-
name: string;
|
|
2357
2837
|
url: string;
|
|
2838
|
+
name: string;
|
|
2358
2839
|
transport: "sse" | "streamableHttp";
|
|
2359
2840
|
authentication: string;
|
|
2841
|
+
credential?: string | undefined;
|
|
2842
|
+
description?: string | undefined;
|
|
2360
2843
|
approval?: {
|
|
2361
2844
|
mode: "global";
|
|
2362
2845
|
} | {
|
|
2363
2846
|
tools: string[];
|
|
2364
2847
|
mode: "selected";
|
|
2365
2848
|
} | undefined;
|
|
2366
|
-
description?: string | undefined;
|
|
2367
|
-
credential?: string | undefined;
|
|
2368
2849
|
metadata?: {
|
|
2369
2850
|
nodeTypeName?: string | undefined;
|
|
2370
2851
|
} | undefined;
|
|
@@ -2377,16 +2858,16 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2377
2858
|
} | undefined;
|
|
2378
2859
|
connectionTimeoutMs?: number | undefined;
|
|
2379
2860
|
}[], {
|
|
2380
|
-
name: string;
|
|
2381
2861
|
url: string;
|
|
2862
|
+
name: string;
|
|
2863
|
+
credential?: string | undefined;
|
|
2864
|
+
description?: string | undefined;
|
|
2382
2865
|
approval?: {
|
|
2383
2866
|
mode: "global";
|
|
2384
2867
|
} | {
|
|
2385
2868
|
tools: string[];
|
|
2386
2869
|
mode: "selected";
|
|
2387
2870
|
} | undefined;
|
|
2388
|
-
description?: string | undefined;
|
|
2389
|
-
credential?: string | undefined;
|
|
2390
2871
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
2391
2872
|
authentication?: string | undefined;
|
|
2392
2873
|
metadata?: {
|
|
@@ -2401,56 +2882,296 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2401
2882
|
} | undefined;
|
|
2402
2883
|
connectionTimeoutMs?: number | undefined;
|
|
2403
2884
|
}[]>>;
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2885
|
+
vectorStores: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
2886
|
+
indexName: z.ZodString;
|
|
2887
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
2888
|
+
name: z.ZodString;
|
|
2889
|
+
credential: z.ZodString;
|
|
2890
|
+
useWhen: z.ZodString;
|
|
2891
|
+
embedding: z.ZodObject<{
|
|
2892
|
+
model: z.ZodString;
|
|
2893
|
+
credential: z.ZodString;
|
|
2894
|
+
}, "strict", z.ZodTypeAny, {
|
|
2895
|
+
credential: string;
|
|
2896
|
+
model: string;
|
|
2413
2897
|
}, {
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2898
|
+
credential: string;
|
|
2899
|
+
model: string;
|
|
2900
|
+
}>;
|
|
2901
|
+
provider: z.ZodLiteral<"pinecone">;
|
|
2902
|
+
}, "strict", z.ZodTypeAny, {
|
|
2903
|
+
credential: string;
|
|
2904
|
+
name: string;
|
|
2905
|
+
provider: "pinecone";
|
|
2906
|
+
useWhen: string;
|
|
2907
|
+
indexName: string;
|
|
2908
|
+
embedding: {
|
|
2909
|
+
credential: string;
|
|
2910
|
+
model: string;
|
|
2911
|
+
};
|
|
2912
|
+
namespace?: string | undefined;
|
|
2913
|
+
}, {
|
|
2914
|
+
credential: string;
|
|
2915
|
+
name: string;
|
|
2916
|
+
provider: "pinecone";
|
|
2917
|
+
useWhen: string;
|
|
2918
|
+
indexName: string;
|
|
2919
|
+
embedding: {
|
|
2920
|
+
credential: string;
|
|
2921
|
+
model: string;
|
|
2922
|
+
};
|
|
2923
|
+
namespace?: string | undefined;
|
|
2924
|
+
}>, z.ZodObject<{
|
|
2925
|
+
collectionName: z.ZodString;
|
|
2926
|
+
name: z.ZodString;
|
|
2927
|
+
credential: z.ZodString;
|
|
2928
|
+
useWhen: z.ZodString;
|
|
2929
|
+
embedding: z.ZodObject<{
|
|
2930
|
+
model: z.ZodString;
|
|
2931
|
+
credential: z.ZodString;
|
|
2932
|
+
}, "strict", z.ZodTypeAny, {
|
|
2933
|
+
credential: string;
|
|
2934
|
+
model: string;
|
|
2432
2935
|
}, {
|
|
2936
|
+
credential: string;
|
|
2937
|
+
model: string;
|
|
2938
|
+
}>;
|
|
2939
|
+
provider: z.ZodLiteral<"qdrant">;
|
|
2940
|
+
}, "strict", z.ZodTypeAny, {
|
|
2941
|
+
credential: string;
|
|
2942
|
+
name: string;
|
|
2943
|
+
provider: "qdrant";
|
|
2944
|
+
useWhen: string;
|
|
2945
|
+
embedding: {
|
|
2946
|
+
credential: string;
|
|
2947
|
+
model: string;
|
|
2948
|
+
};
|
|
2949
|
+
collectionName: string;
|
|
2950
|
+
}, {
|
|
2951
|
+
credential: string;
|
|
2952
|
+
name: string;
|
|
2953
|
+
provider: "qdrant";
|
|
2954
|
+
useWhen: string;
|
|
2955
|
+
embedding: {
|
|
2956
|
+
credential: string;
|
|
2957
|
+
model: string;
|
|
2958
|
+
};
|
|
2959
|
+
collectionName: string;
|
|
2960
|
+
}>, z.ZodObject<{
|
|
2961
|
+
tableName: z.ZodString;
|
|
2962
|
+
queryName: z.ZodOptional<z.ZodString>;
|
|
2963
|
+
name: z.ZodString;
|
|
2964
|
+
credential: z.ZodString;
|
|
2965
|
+
useWhen: z.ZodString;
|
|
2966
|
+
embedding: z.ZodObject<{
|
|
2967
|
+
model: z.ZodString;
|
|
2968
|
+
credential: z.ZodString;
|
|
2969
|
+
}, "strict", z.ZodTypeAny, {
|
|
2970
|
+
credential: string;
|
|
2971
|
+
model: string;
|
|
2972
|
+
}, {
|
|
2973
|
+
credential: string;
|
|
2974
|
+
model: string;
|
|
2975
|
+
}>;
|
|
2976
|
+
provider: z.ZodLiteral<"supabase">;
|
|
2977
|
+
}, "strict", z.ZodTypeAny, {
|
|
2978
|
+
credential: string;
|
|
2979
|
+
name: string;
|
|
2980
|
+
provider: "supabase";
|
|
2981
|
+
useWhen: string;
|
|
2982
|
+
embedding: {
|
|
2983
|
+
credential: string;
|
|
2984
|
+
model: string;
|
|
2985
|
+
};
|
|
2986
|
+
tableName: string;
|
|
2987
|
+
queryName?: string | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
credential: string;
|
|
2990
|
+
name: string;
|
|
2991
|
+
provider: "supabase";
|
|
2992
|
+
useWhen: string;
|
|
2993
|
+
embedding: {
|
|
2994
|
+
credential: string;
|
|
2995
|
+
model: string;
|
|
2996
|
+
};
|
|
2997
|
+
tableName: string;
|
|
2998
|
+
queryName?: string | undefined;
|
|
2999
|
+
}>, z.ZodObject<{
|
|
3000
|
+
tableName: z.ZodString;
|
|
3001
|
+
name: z.ZodString;
|
|
3002
|
+
credential: z.ZodString;
|
|
3003
|
+
useWhen: z.ZodString;
|
|
3004
|
+
embedding: z.ZodObject<{
|
|
3005
|
+
model: z.ZodString;
|
|
3006
|
+
credential: z.ZodString;
|
|
3007
|
+
}, "strict", z.ZodTypeAny, {
|
|
3008
|
+
credential: string;
|
|
3009
|
+
model: string;
|
|
3010
|
+
}, {
|
|
3011
|
+
credential: string;
|
|
3012
|
+
model: string;
|
|
3013
|
+
}>;
|
|
3014
|
+
provider: z.ZodLiteral<"postgres">;
|
|
3015
|
+
}, "strict", z.ZodTypeAny, {
|
|
3016
|
+
credential: string;
|
|
3017
|
+
name: string;
|
|
3018
|
+
provider: "postgres";
|
|
3019
|
+
useWhen: string;
|
|
3020
|
+
embedding: {
|
|
3021
|
+
credential: string;
|
|
3022
|
+
model: string;
|
|
3023
|
+
};
|
|
3024
|
+
tableName: string;
|
|
3025
|
+
}, {
|
|
3026
|
+
credential: string;
|
|
3027
|
+
name: string;
|
|
3028
|
+
provider: "postgres";
|
|
3029
|
+
useWhen: string;
|
|
3030
|
+
embedding: {
|
|
3031
|
+
credential: string;
|
|
3032
|
+
model: string;
|
|
3033
|
+
};
|
|
3034
|
+
tableName: string;
|
|
3035
|
+
}>]>, "many">, ({
|
|
3036
|
+
credential: string;
|
|
3037
|
+
name: string;
|
|
3038
|
+
provider: "pinecone";
|
|
3039
|
+
useWhen: string;
|
|
3040
|
+
indexName: string;
|
|
3041
|
+
embedding: {
|
|
3042
|
+
credential: string;
|
|
3043
|
+
model: string;
|
|
3044
|
+
};
|
|
3045
|
+
namespace?: string | undefined;
|
|
3046
|
+
} | {
|
|
3047
|
+
credential: string;
|
|
3048
|
+
name: string;
|
|
3049
|
+
provider: "qdrant";
|
|
3050
|
+
useWhen: string;
|
|
3051
|
+
embedding: {
|
|
3052
|
+
credential: string;
|
|
3053
|
+
model: string;
|
|
3054
|
+
};
|
|
3055
|
+
collectionName: string;
|
|
3056
|
+
} | {
|
|
3057
|
+
credential: string;
|
|
3058
|
+
name: string;
|
|
3059
|
+
provider: "supabase";
|
|
3060
|
+
useWhen: string;
|
|
3061
|
+
embedding: {
|
|
3062
|
+
credential: string;
|
|
3063
|
+
model: string;
|
|
3064
|
+
};
|
|
3065
|
+
tableName: string;
|
|
3066
|
+
queryName?: string | undefined;
|
|
3067
|
+
} | {
|
|
3068
|
+
credential: string;
|
|
3069
|
+
name: string;
|
|
3070
|
+
provider: "postgres";
|
|
3071
|
+
useWhen: string;
|
|
3072
|
+
embedding: {
|
|
3073
|
+
credential: string;
|
|
3074
|
+
model: string;
|
|
3075
|
+
};
|
|
3076
|
+
tableName: string;
|
|
3077
|
+
})[], ({
|
|
3078
|
+
credential: string;
|
|
3079
|
+
name: string;
|
|
3080
|
+
provider: "pinecone";
|
|
3081
|
+
useWhen: string;
|
|
3082
|
+
indexName: string;
|
|
3083
|
+
embedding: {
|
|
3084
|
+
credential: string;
|
|
3085
|
+
model: string;
|
|
3086
|
+
};
|
|
3087
|
+
namespace?: string | undefined;
|
|
3088
|
+
} | {
|
|
3089
|
+
credential: string;
|
|
3090
|
+
name: string;
|
|
3091
|
+
provider: "qdrant";
|
|
3092
|
+
useWhen: string;
|
|
3093
|
+
embedding: {
|
|
3094
|
+
credential: string;
|
|
3095
|
+
model: string;
|
|
3096
|
+
};
|
|
3097
|
+
collectionName: string;
|
|
3098
|
+
} | {
|
|
3099
|
+
credential: string;
|
|
3100
|
+
name: string;
|
|
3101
|
+
provider: "supabase";
|
|
3102
|
+
useWhen: string;
|
|
3103
|
+
embedding: {
|
|
3104
|
+
credential: string;
|
|
3105
|
+
model: string;
|
|
3106
|
+
};
|
|
3107
|
+
tableName: string;
|
|
3108
|
+
queryName?: string | undefined;
|
|
3109
|
+
} | {
|
|
3110
|
+
credential: string;
|
|
3111
|
+
name: string;
|
|
3112
|
+
provider: "postgres";
|
|
3113
|
+
useWhen: string;
|
|
3114
|
+
embedding: {
|
|
3115
|
+
credential: string;
|
|
3116
|
+
model: string;
|
|
3117
|
+
};
|
|
3118
|
+
tableName: string;
|
|
3119
|
+
})[]>>;
|
|
3120
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
3121
|
+
thinking: z.ZodOptional<z.ZodObject<{
|
|
3122
|
+
provider: z.ZodEnum<["anthropic", "openai"]>;
|
|
3123
|
+
budgetTokens: z.ZodOptional<z.ZodNumber>;
|
|
3124
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
3125
|
+
}, "strip", z.ZodTypeAny, {
|
|
3126
|
+
provider: "anthropic" | "openai";
|
|
3127
|
+
budgetTokens?: number | undefined;
|
|
3128
|
+
reasoningEffort?: string | undefined;
|
|
3129
|
+
}, {
|
|
3130
|
+
provider: "anthropic" | "openai";
|
|
3131
|
+
budgetTokens?: number | undefined;
|
|
3132
|
+
reasoningEffort?: string | undefined;
|
|
3133
|
+
}>>;
|
|
3134
|
+
promptCaching: z.ZodOptional<z.ZodObject<{
|
|
3135
|
+
enabled: z.ZodBoolean;
|
|
3136
|
+
anthropic: z.ZodOptional<z.ZodObject<{
|
|
3137
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
3138
|
+
}, "strip", z.ZodTypeAny, {
|
|
3139
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3140
|
+
}, {
|
|
3141
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3142
|
+
}>>;
|
|
3143
|
+
}, "strip", z.ZodTypeAny, {
|
|
2433
3144
|
enabled: boolean;
|
|
2434
|
-
anthropic?: {
|
|
2435
|
-
ttl?: "5m" | "1h" | undefined;
|
|
2436
|
-
} | undefined;
|
|
2437
|
-
}>>;
|
|
2438
|
-
webSearch: z.ZodOptional<z.ZodObject<{
|
|
2439
|
-
enabled: z.ZodBoolean;
|
|
2440
|
-
provider: z.ZodOptional<z.ZodEnum<["auto", "native", "brave", "searxng"]>>;
|
|
2441
|
-
credential: z.ZodOptional<z.ZodString>;
|
|
2442
|
-
}, "strip", z.ZodTypeAny, {
|
|
2443
|
-
enabled: boolean;
|
|
2444
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2445
|
-
credential?: string | undefined;
|
|
3145
|
+
anthropic?: {
|
|
3146
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3147
|
+
} | undefined;
|
|
2446
3148
|
}, {
|
|
2447
3149
|
enabled: boolean;
|
|
3150
|
+
anthropic?: {
|
|
3151
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3152
|
+
} | undefined;
|
|
3153
|
+
}>>;
|
|
3154
|
+
webSearch: z.ZodOptional<z.ZodObject<{
|
|
3155
|
+
enabled: z.ZodBoolean;
|
|
3156
|
+
provider: z.ZodOptional<z.ZodEnum<["auto", "native", "brave", "searxng"]>>;
|
|
3157
|
+
credential: z.ZodOptional<z.ZodString>;
|
|
3158
|
+
}, "strip", z.ZodTypeAny, {
|
|
3159
|
+
enabled: boolean;
|
|
3160
|
+
credential?: string | undefined;
|
|
2448
3161
|
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3162
|
+
}, {
|
|
3163
|
+
enabled: boolean;
|
|
2449
3164
|
credential?: string | undefined;
|
|
3165
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2450
3166
|
}>>;
|
|
2451
3167
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
2452
3168
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
2453
3169
|
}, "strip", z.ZodTypeAny, {
|
|
3170
|
+
webSearch?: {
|
|
3171
|
+
enabled: boolean;
|
|
3172
|
+
credential?: string | undefined;
|
|
3173
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3174
|
+
} | undefined;
|
|
2454
3175
|
thinking?: {
|
|
2455
3176
|
provider: "anthropic" | "openai";
|
|
2456
3177
|
budgetTokens?: number | undefined;
|
|
@@ -2462,14 +3183,14 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2462
3183
|
ttl?: "5m" | "1h" | undefined;
|
|
2463
3184
|
} | undefined;
|
|
2464
3185
|
} | undefined;
|
|
3186
|
+
toolCallConcurrency?: number | undefined;
|
|
3187
|
+
maxIterations?: number | undefined;
|
|
3188
|
+
}, {
|
|
2465
3189
|
webSearch?: {
|
|
2466
3190
|
enabled: boolean;
|
|
2467
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2468
3191
|
credential?: string | undefined;
|
|
3192
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2469
3193
|
} | undefined;
|
|
2470
|
-
toolCallConcurrency?: number | undefined;
|
|
2471
|
-
maxIterations?: number | undefined;
|
|
2472
|
-
}, {
|
|
2473
3194
|
thinking?: {
|
|
2474
3195
|
provider: "anthropic" | "openai";
|
|
2475
3196
|
budgetTokens?: number | undefined;
|
|
@@ -2481,11 +3202,6 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2481
3202
|
ttl?: "5m" | "1h" | undefined;
|
|
2482
3203
|
} | undefined;
|
|
2483
3204
|
} | undefined;
|
|
2484
|
-
webSearch?: {
|
|
2485
|
-
enabled: boolean;
|
|
2486
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2487
|
-
credential?: string | undefined;
|
|
2488
|
-
} | undefined;
|
|
2489
3205
|
toolCallConcurrency?: number | undefined;
|
|
2490
3206
|
maxIterations?: number | undefined;
|
|
2491
3207
|
}>>;
|
|
@@ -2493,10 +3209,67 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2493
3209
|
model: z.ZodString;
|
|
2494
3210
|
credential: z.ZodEffects<z.ZodString, string, string>;
|
|
2495
3211
|
}, "strip", z.ZodTypeAny, {
|
|
2496
|
-
model: string;
|
|
2497
|
-
name: string;
|
|
2498
3212
|
credential: string;
|
|
3213
|
+
name: string;
|
|
3214
|
+
model: string;
|
|
2499
3215
|
instructions: string;
|
|
3216
|
+
tools?: ({
|
|
3217
|
+
type: "custom";
|
|
3218
|
+
id: string;
|
|
3219
|
+
requireApproval?: boolean | undefined;
|
|
3220
|
+
} | {
|
|
3221
|
+
type: "workflow";
|
|
3222
|
+
workflow: string;
|
|
3223
|
+
name?: string | undefined;
|
|
3224
|
+
description?: string | undefined;
|
|
3225
|
+
requireApproval?: boolean | undefined;
|
|
3226
|
+
allOutputs?: boolean | undefined;
|
|
3227
|
+
} | {
|
|
3228
|
+
type: "node";
|
|
3229
|
+
name: string;
|
|
3230
|
+
node: {
|
|
3231
|
+
nodeType: string;
|
|
3232
|
+
nodeTypeVersion: number;
|
|
3233
|
+
nodeParameters: Record<string, unknown>;
|
|
3234
|
+
credentials?: Record<string, {
|
|
3235
|
+
id: string;
|
|
3236
|
+
name: string;
|
|
3237
|
+
}> | undefined;
|
|
3238
|
+
};
|
|
3239
|
+
description?: string | undefined;
|
|
3240
|
+
inputSchema?: undefined;
|
|
3241
|
+
requireApproval?: boolean | undefined;
|
|
3242
|
+
})[] | undefined;
|
|
3243
|
+
tasks?: {
|
|
3244
|
+
type: "task";
|
|
3245
|
+
id: string;
|
|
3246
|
+
enabled: boolean;
|
|
3247
|
+
}[] | undefined;
|
|
3248
|
+
mcpServers?: {
|
|
3249
|
+
url: string;
|
|
3250
|
+
name: string;
|
|
3251
|
+
transport: "sse" | "streamableHttp";
|
|
3252
|
+
authentication: string;
|
|
3253
|
+
credential?: string | undefined;
|
|
3254
|
+
description?: string | undefined;
|
|
3255
|
+
approval?: {
|
|
3256
|
+
mode: "global";
|
|
3257
|
+
} | {
|
|
3258
|
+
tools: string[];
|
|
3259
|
+
mode: "selected";
|
|
3260
|
+
} | undefined;
|
|
3261
|
+
metadata?: {
|
|
3262
|
+
nodeTypeName?: string | undefined;
|
|
3263
|
+
} | undefined;
|
|
3264
|
+
toolFilter?: {
|
|
3265
|
+
tools: string[];
|
|
3266
|
+
mode: "allow";
|
|
3267
|
+
} | {
|
|
3268
|
+
tools: string[];
|
|
3269
|
+
mode: "exclude";
|
|
3270
|
+
} | undefined;
|
|
3271
|
+
connectionTimeoutMs?: number | undefined;
|
|
3272
|
+
}[] | undefined;
|
|
2500
3273
|
personalisation?: {
|
|
2501
3274
|
icon: string;
|
|
2502
3275
|
gradient: {
|
|
@@ -2513,12 +3286,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2513
3286
|
observationalMemory?: {
|
|
2514
3287
|
enabled?: boolean | undefined;
|
|
2515
3288
|
observerModel?: {
|
|
2516
|
-
model: string;
|
|
2517
3289
|
credential: string;
|
|
3290
|
+
model: string;
|
|
2518
3291
|
} | undefined;
|
|
2519
3292
|
reflectorModel?: {
|
|
2520
|
-
model: string;
|
|
2521
3293
|
credential: string;
|
|
3294
|
+
model: string;
|
|
2522
3295
|
} | undefined;
|
|
2523
3296
|
observerThresholdTokens?: number | undefined;
|
|
2524
3297
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -2532,12 +3305,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2532
3305
|
credential: string;
|
|
2533
3306
|
enabled: true;
|
|
2534
3307
|
reflectorModel?: {
|
|
2535
|
-
model: string;
|
|
2536
3308
|
credential: string;
|
|
3309
|
+
model: string;
|
|
2537
3310
|
} | undefined;
|
|
2538
3311
|
extractorModel?: {
|
|
2539
|
-
model: string;
|
|
2540
3312
|
credential: string;
|
|
3313
|
+
model: string;
|
|
2541
3314
|
} | undefined;
|
|
2542
3315
|
topK?: number | undefined;
|
|
2543
3316
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -2551,19 +3324,106 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2551
3324
|
}[] | undefined;
|
|
2552
3325
|
modelsByDifficulty?: {
|
|
2553
3326
|
low?: {
|
|
2554
|
-
model: string;
|
|
2555
3327
|
credential: string;
|
|
3328
|
+
model: string;
|
|
2556
3329
|
} | undefined;
|
|
2557
3330
|
medium?: {
|
|
2558
|
-
model: string;
|
|
2559
3331
|
credential: string;
|
|
3332
|
+
model: string;
|
|
2560
3333
|
} | undefined;
|
|
2561
3334
|
high?: {
|
|
2562
|
-
model: string;
|
|
2563
3335
|
credential: string;
|
|
3336
|
+
model: string;
|
|
3337
|
+
} | undefined;
|
|
3338
|
+
} | undefined;
|
|
3339
|
+
} | undefined;
|
|
3340
|
+
skills?: {
|
|
3341
|
+
type: "skill";
|
|
3342
|
+
id: string;
|
|
3343
|
+
}[] | undefined;
|
|
3344
|
+
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
3345
|
+
integrations?: ({
|
|
3346
|
+
type: "telegram";
|
|
3347
|
+
credentialId: string;
|
|
3348
|
+
settings?: {
|
|
3349
|
+
accessMode: "private" | "public";
|
|
3350
|
+
allowedUsers: string[];
|
|
3351
|
+
} | undefined;
|
|
3352
|
+
} | {
|
|
3353
|
+
type: "slack";
|
|
3354
|
+
credentialId: string;
|
|
3355
|
+
} | {
|
|
3356
|
+
type: "linear";
|
|
3357
|
+
credentialId: string;
|
|
3358
|
+
})[] | undefined;
|
|
3359
|
+
vectorStores?: ({
|
|
3360
|
+
credential: string;
|
|
3361
|
+
name: string;
|
|
3362
|
+
provider: "pinecone";
|
|
3363
|
+
useWhen: string;
|
|
3364
|
+
indexName: string;
|
|
3365
|
+
embedding: {
|
|
3366
|
+
credential: string;
|
|
3367
|
+
model: string;
|
|
3368
|
+
};
|
|
3369
|
+
namespace?: string | undefined;
|
|
3370
|
+
} | {
|
|
3371
|
+
credential: string;
|
|
3372
|
+
name: string;
|
|
3373
|
+
provider: "qdrant";
|
|
3374
|
+
useWhen: string;
|
|
3375
|
+
embedding: {
|
|
3376
|
+
credential: string;
|
|
3377
|
+
model: string;
|
|
3378
|
+
};
|
|
3379
|
+
collectionName: string;
|
|
3380
|
+
} | {
|
|
3381
|
+
credential: string;
|
|
3382
|
+
name: string;
|
|
3383
|
+
provider: "supabase";
|
|
3384
|
+
useWhen: string;
|
|
3385
|
+
embedding: {
|
|
3386
|
+
credential: string;
|
|
3387
|
+
model: string;
|
|
3388
|
+
};
|
|
3389
|
+
tableName: string;
|
|
3390
|
+
queryName?: string | undefined;
|
|
3391
|
+
} | {
|
|
3392
|
+
credential: string;
|
|
3393
|
+
name: string;
|
|
3394
|
+
provider: "postgres";
|
|
3395
|
+
useWhen: string;
|
|
3396
|
+
embedding: {
|
|
3397
|
+
credential: string;
|
|
3398
|
+
model: string;
|
|
3399
|
+
};
|
|
3400
|
+
tableName: string;
|
|
3401
|
+
})[] | undefined;
|
|
3402
|
+
config?: {
|
|
3403
|
+
webSearch?: {
|
|
3404
|
+
enabled: boolean;
|
|
3405
|
+
credential?: string | undefined;
|
|
3406
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3407
|
+
} | undefined;
|
|
3408
|
+
thinking?: {
|
|
3409
|
+
provider: "anthropic" | "openai";
|
|
3410
|
+
budgetTokens?: number | undefined;
|
|
3411
|
+
reasoningEffort?: string | undefined;
|
|
3412
|
+
} | undefined;
|
|
3413
|
+
promptCaching?: {
|
|
3414
|
+
enabled: boolean;
|
|
3415
|
+
anthropic?: {
|
|
3416
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2564
3417
|
} | undefined;
|
|
2565
3418
|
} | undefined;
|
|
3419
|
+
toolCallConcurrency?: number | undefined;
|
|
3420
|
+
maxIterations?: number | undefined;
|
|
2566
3421
|
} | undefined;
|
|
3422
|
+
}, {
|
|
3423
|
+
credential: string;
|
|
3424
|
+
name: string;
|
|
3425
|
+
model: string;
|
|
3426
|
+
instructions: string;
|
|
2567
3427
|
tools?: ({
|
|
2568
3428
|
type: "custom";
|
|
2569
3429
|
id: string;
|
|
@@ -2571,8 +3431,8 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2571
3431
|
} | {
|
|
2572
3432
|
type: "workflow";
|
|
2573
3433
|
workflow: string;
|
|
2574
|
-
description?: string | undefined;
|
|
2575
3434
|
name?: string | undefined;
|
|
3435
|
+
description?: string | undefined;
|
|
2576
3436
|
requireApproval?: boolean | undefined;
|
|
2577
3437
|
allOutputs?: boolean | undefined;
|
|
2578
3438
|
} | {
|
|
@@ -2581,90 +3441,46 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2581
3441
|
node: {
|
|
2582
3442
|
nodeType: string;
|
|
2583
3443
|
nodeTypeVersion: number;
|
|
2584
|
-
nodeParameters: Record<string, unknown>;
|
|
2585
3444
|
credentials?: Record<string, {
|
|
2586
|
-
name: string;
|
|
2587
3445
|
id: string;
|
|
3446
|
+
name: string;
|
|
2588
3447
|
}> | undefined;
|
|
3448
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
2589
3449
|
};
|
|
2590
3450
|
description?: string | undefined;
|
|
2591
|
-
requireApproval?: boolean | undefined;
|
|
2592
3451
|
inputSchema?: undefined;
|
|
3452
|
+
requireApproval?: boolean | undefined;
|
|
2593
3453
|
})[] | undefined;
|
|
2594
|
-
skills?: {
|
|
2595
|
-
type: "skill";
|
|
2596
|
-
id: string;
|
|
2597
|
-
}[] | undefined;
|
|
2598
3454
|
tasks?: {
|
|
2599
|
-
type: "task";
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
}[] | undefined;
|
|
2603
|
-
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
2604
|
-
integrations?: ({
|
|
2605
|
-
type: "telegram";
|
|
2606
|
-
credentialId: string;
|
|
2607
|
-
settings?: {
|
|
2608
|
-
accessMode: "private" | "public";
|
|
2609
|
-
allowedUsers: string[];
|
|
2610
|
-
} | undefined;
|
|
2611
|
-
} | {
|
|
2612
|
-
type: "slack";
|
|
2613
|
-
credentialId: string;
|
|
2614
|
-
} | {
|
|
2615
|
-
type: "linear";
|
|
2616
|
-
credentialId: string;
|
|
2617
|
-
})[] | undefined;
|
|
3455
|
+
type: "task";
|
|
3456
|
+
id: string;
|
|
3457
|
+
enabled: boolean;
|
|
3458
|
+
}[] | undefined;
|
|
2618
3459
|
mcpServers?: {
|
|
2619
|
-
name: string;
|
|
2620
3460
|
url: string;
|
|
2621
|
-
|
|
2622
|
-
|
|
3461
|
+
name: string;
|
|
3462
|
+
credential?: string | undefined;
|
|
3463
|
+
description?: string | undefined;
|
|
2623
3464
|
approval?: {
|
|
2624
3465
|
mode: "global";
|
|
2625
3466
|
} | {
|
|
2626
3467
|
tools: string[];
|
|
2627
3468
|
mode: "selected";
|
|
2628
3469
|
} | undefined;
|
|
2629
|
-
|
|
2630
|
-
|
|
3470
|
+
transport?: "sse" | "streamableHttp" | undefined;
|
|
3471
|
+
authentication?: string | undefined;
|
|
2631
3472
|
metadata?: {
|
|
2632
3473
|
nodeTypeName?: string | undefined;
|
|
2633
3474
|
} | undefined;
|
|
2634
3475
|
toolFilter?: {
|
|
2635
|
-
tools: string[];
|
|
2636
3476
|
mode: "allow";
|
|
3477
|
+
tools?: string[] | undefined;
|
|
2637
3478
|
} | {
|
|
2638
|
-
tools: string[];
|
|
2639
3479
|
mode: "exclude";
|
|
3480
|
+
tools?: string[] | undefined;
|
|
2640
3481
|
} | undefined;
|
|
2641
3482
|
connectionTimeoutMs?: number | undefined;
|
|
2642
3483
|
}[] | undefined;
|
|
2643
|
-
config?: {
|
|
2644
|
-
thinking?: {
|
|
2645
|
-
provider: "anthropic" | "openai";
|
|
2646
|
-
budgetTokens?: number | undefined;
|
|
2647
|
-
reasoningEffort?: string | undefined;
|
|
2648
|
-
} | undefined;
|
|
2649
|
-
promptCaching?: {
|
|
2650
|
-
enabled: boolean;
|
|
2651
|
-
anthropic?: {
|
|
2652
|
-
ttl?: "5m" | "1h" | undefined;
|
|
2653
|
-
} | undefined;
|
|
2654
|
-
} | undefined;
|
|
2655
|
-
webSearch?: {
|
|
2656
|
-
enabled: boolean;
|
|
2657
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2658
|
-
credential?: string | undefined;
|
|
2659
|
-
} | undefined;
|
|
2660
|
-
toolCallConcurrency?: number | undefined;
|
|
2661
|
-
maxIterations?: number | undefined;
|
|
2662
|
-
} | undefined;
|
|
2663
|
-
}, {
|
|
2664
|
-
model: string;
|
|
2665
|
-
name: string;
|
|
2666
|
-
credential: string;
|
|
2667
|
-
instructions: string;
|
|
2668
3484
|
personalisation?: {
|
|
2669
3485
|
icon: string;
|
|
2670
3486
|
gradient?: {
|
|
@@ -2681,12 +3497,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2681
3497
|
observationalMemory?: {
|
|
2682
3498
|
enabled?: boolean | undefined;
|
|
2683
3499
|
observerModel?: {
|
|
2684
|
-
model: string;
|
|
2685
3500
|
credential: string;
|
|
3501
|
+
model: string;
|
|
2686
3502
|
} | undefined;
|
|
2687
3503
|
reflectorModel?: {
|
|
2688
|
-
model: string;
|
|
2689
3504
|
credential: string;
|
|
3505
|
+
model: string;
|
|
2690
3506
|
} | undefined;
|
|
2691
3507
|
observerThresholdTokens?: number | undefined;
|
|
2692
3508
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -2700,12 +3516,12 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2700
3516
|
credential: string;
|
|
2701
3517
|
enabled: true;
|
|
2702
3518
|
reflectorModel?: {
|
|
2703
|
-
model: string;
|
|
2704
3519
|
credential: string;
|
|
3520
|
+
model: string;
|
|
2705
3521
|
} | undefined;
|
|
2706
3522
|
extractorModel?: {
|
|
2707
|
-
model: string;
|
|
2708
3523
|
credential: string;
|
|
3524
|
+
model: string;
|
|
2709
3525
|
} | undefined;
|
|
2710
3526
|
topK?: number | undefined;
|
|
2711
3527
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -2719,55 +3535,23 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2719
3535
|
}[] | undefined;
|
|
2720
3536
|
modelsByDifficulty?: {
|
|
2721
3537
|
low?: {
|
|
2722
|
-
model: string;
|
|
2723
3538
|
credential: string;
|
|
3539
|
+
model: string;
|
|
2724
3540
|
} | undefined;
|
|
2725
3541
|
medium?: {
|
|
2726
|
-
model: string;
|
|
2727
3542
|
credential: string;
|
|
3543
|
+
model: string;
|
|
2728
3544
|
} | undefined;
|
|
2729
3545
|
high?: {
|
|
2730
|
-
model: string;
|
|
2731
3546
|
credential: string;
|
|
3547
|
+
model: string;
|
|
2732
3548
|
} | undefined;
|
|
2733
3549
|
} | undefined;
|
|
2734
3550
|
} | undefined;
|
|
2735
|
-
tools?: ({
|
|
2736
|
-
type: "custom";
|
|
2737
|
-
id: string;
|
|
2738
|
-
requireApproval?: boolean | undefined;
|
|
2739
|
-
} | {
|
|
2740
|
-
type: "workflow";
|
|
2741
|
-
workflow: string;
|
|
2742
|
-
description?: string | undefined;
|
|
2743
|
-
name?: string | undefined;
|
|
2744
|
-
requireApproval?: boolean | undefined;
|
|
2745
|
-
allOutputs?: boolean | undefined;
|
|
2746
|
-
} | {
|
|
2747
|
-
type: "node";
|
|
2748
|
-
name: string;
|
|
2749
|
-
node: {
|
|
2750
|
-
nodeType: string;
|
|
2751
|
-
nodeTypeVersion: number;
|
|
2752
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
2753
|
-
credentials?: Record<string, {
|
|
2754
|
-
name: string;
|
|
2755
|
-
id: string;
|
|
2756
|
-
}> | undefined;
|
|
2757
|
-
};
|
|
2758
|
-
description?: string | undefined;
|
|
2759
|
-
requireApproval?: boolean | undefined;
|
|
2760
|
-
inputSchema?: undefined;
|
|
2761
|
-
})[] | undefined;
|
|
2762
3551
|
skills?: {
|
|
2763
3552
|
type: "skill";
|
|
2764
3553
|
id: string;
|
|
2765
3554
|
}[] | undefined;
|
|
2766
|
-
tasks?: {
|
|
2767
|
-
type: "task";
|
|
2768
|
-
enabled: boolean;
|
|
2769
|
-
id: string;
|
|
2770
|
-
}[] | undefined;
|
|
2771
3555
|
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
2772
3556
|
integrations?: ({
|
|
2773
3557
|
type: "telegram";
|
|
@@ -2783,32 +3567,55 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2783
3567
|
type: "linear";
|
|
2784
3568
|
credentialId: string;
|
|
2785
3569
|
})[] | undefined;
|
|
2786
|
-
|
|
3570
|
+
vectorStores?: ({
|
|
3571
|
+
credential: string;
|
|
2787
3572
|
name: string;
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
}
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
3573
|
+
provider: "pinecone";
|
|
3574
|
+
useWhen: string;
|
|
3575
|
+
indexName: string;
|
|
3576
|
+
embedding: {
|
|
3577
|
+
credential: string;
|
|
3578
|
+
model: string;
|
|
3579
|
+
};
|
|
3580
|
+
namespace?: string | undefined;
|
|
3581
|
+
} | {
|
|
3582
|
+
credential: string;
|
|
3583
|
+
name: string;
|
|
3584
|
+
provider: "qdrant";
|
|
3585
|
+
useWhen: string;
|
|
3586
|
+
embedding: {
|
|
3587
|
+
credential: string;
|
|
3588
|
+
model: string;
|
|
3589
|
+
};
|
|
3590
|
+
collectionName: string;
|
|
3591
|
+
} | {
|
|
3592
|
+
credential: string;
|
|
3593
|
+
name: string;
|
|
3594
|
+
provider: "supabase";
|
|
3595
|
+
useWhen: string;
|
|
3596
|
+
embedding: {
|
|
3597
|
+
credential: string;
|
|
3598
|
+
model: string;
|
|
3599
|
+
};
|
|
3600
|
+
tableName: string;
|
|
3601
|
+
queryName?: string | undefined;
|
|
3602
|
+
} | {
|
|
3603
|
+
credential: string;
|
|
3604
|
+
name: string;
|
|
3605
|
+
provider: "postgres";
|
|
3606
|
+
useWhen: string;
|
|
3607
|
+
embedding: {
|
|
3608
|
+
credential: string;
|
|
3609
|
+
model: string;
|
|
3610
|
+
};
|
|
3611
|
+
tableName: string;
|
|
3612
|
+
})[] | undefined;
|
|
2811
3613
|
config?: {
|
|
3614
|
+
webSearch?: {
|
|
3615
|
+
enabled: boolean;
|
|
3616
|
+
credential?: string | undefined;
|
|
3617
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3618
|
+
} | undefined;
|
|
2812
3619
|
thinking?: {
|
|
2813
3620
|
provider: "anthropic" | "openai";
|
|
2814
3621
|
budgetTokens?: number | undefined;
|
|
@@ -2820,11 +3627,6 @@ export declare const RunnableAgentJsonConfigSchema: z.ZodObject<{
|
|
|
2820
3627
|
ttl?: "5m" | "1h" | undefined;
|
|
2821
3628
|
} | undefined;
|
|
2822
3629
|
} | undefined;
|
|
2823
|
-
webSearch?: {
|
|
2824
|
-
enabled: boolean;
|
|
2825
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
2826
|
-
credential?: string | undefined;
|
|
2827
|
-
} | undefined;
|
|
2828
3630
|
toolCallConcurrency?: number | undefined;
|
|
2829
3631
|
maxIterations?: number | undefined;
|
|
2830
3632
|
} | undefined;
|
|
@@ -2883,21 +3685,21 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2883
3685
|
model: z.ZodString;
|
|
2884
3686
|
credential: z.ZodString;
|
|
2885
3687
|
}, "strip", z.ZodTypeAny, {
|
|
2886
|
-
model: string;
|
|
2887
3688
|
credential: string;
|
|
2888
|
-
}, {
|
|
2889
3689
|
model: string;
|
|
3690
|
+
}, {
|
|
2890
3691
|
credential: string;
|
|
3692
|
+
model: string;
|
|
2891
3693
|
}>>;
|
|
2892
3694
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
2893
3695
|
model: z.ZodString;
|
|
2894
3696
|
credential: z.ZodString;
|
|
2895
3697
|
}, "strip", z.ZodTypeAny, {
|
|
2896
|
-
model: string;
|
|
2897
3698
|
credential: string;
|
|
2898
|
-
}, {
|
|
2899
3699
|
model: string;
|
|
3700
|
+
}, {
|
|
2900
3701
|
credential: string;
|
|
3702
|
+
model: string;
|
|
2901
3703
|
}>>;
|
|
2902
3704
|
observerThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
2903
3705
|
reflectorThresholdTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2907,12 +3709,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2907
3709
|
}, "strip", z.ZodTypeAny, {
|
|
2908
3710
|
enabled?: boolean | undefined;
|
|
2909
3711
|
observerModel?: {
|
|
2910
|
-
model: string;
|
|
2911
3712
|
credential: string;
|
|
3713
|
+
model: string;
|
|
2912
3714
|
} | undefined;
|
|
2913
3715
|
reflectorModel?: {
|
|
2914
|
-
model: string;
|
|
2915
3716
|
credential: string;
|
|
3717
|
+
model: string;
|
|
2916
3718
|
} | undefined;
|
|
2917
3719
|
observerThresholdTokens?: number | undefined;
|
|
2918
3720
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -2922,12 +3724,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2922
3724
|
}, {
|
|
2923
3725
|
enabled?: boolean | undefined;
|
|
2924
3726
|
observerModel?: {
|
|
2925
|
-
model: string;
|
|
2926
3727
|
credential: string;
|
|
3728
|
+
model: string;
|
|
2927
3729
|
} | undefined;
|
|
2928
3730
|
reflectorModel?: {
|
|
2929
|
-
model: string;
|
|
2930
3731
|
credential: string;
|
|
3732
|
+
model: string;
|
|
2931
3733
|
} | undefined;
|
|
2932
3734
|
observerThresholdTokens?: number | undefined;
|
|
2933
3735
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -2948,21 +3750,21 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2948
3750
|
model: z.ZodString;
|
|
2949
3751
|
credential: z.ZodString;
|
|
2950
3752
|
}, "strip", z.ZodTypeAny, {
|
|
2951
|
-
model: string;
|
|
2952
3753
|
credential: string;
|
|
2953
|
-
}, {
|
|
2954
3754
|
model: string;
|
|
3755
|
+
}, {
|
|
2955
3756
|
credential: string;
|
|
3757
|
+
model: string;
|
|
2956
3758
|
}>>;
|
|
2957
3759
|
reflectorModel: z.ZodOptional<z.ZodObject<{
|
|
2958
3760
|
model: z.ZodString;
|
|
2959
3761
|
credential: z.ZodString;
|
|
2960
3762
|
}, "strip", z.ZodTypeAny, {
|
|
2961
|
-
model: string;
|
|
2962
3763
|
credential: string;
|
|
2963
|
-
}, {
|
|
2964
3764
|
model: string;
|
|
3765
|
+
}, {
|
|
2965
3766
|
credential: string;
|
|
3767
|
+
model: string;
|
|
2966
3768
|
}>>;
|
|
2967
3769
|
topK: z.ZodOptional<z.ZodNumber>;
|
|
2968
3770
|
maxEntriesPerRun: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2970,12 +3772,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2970
3772
|
credential: string;
|
|
2971
3773
|
enabled: true;
|
|
2972
3774
|
reflectorModel?: {
|
|
2973
|
-
model: string;
|
|
2974
3775
|
credential: string;
|
|
3776
|
+
model: string;
|
|
2975
3777
|
} | undefined;
|
|
2976
3778
|
extractorModel?: {
|
|
2977
|
-
model: string;
|
|
2978
3779
|
credential: string;
|
|
3780
|
+
model: string;
|
|
2979
3781
|
} | undefined;
|
|
2980
3782
|
topK?: number | undefined;
|
|
2981
3783
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -2983,12 +3785,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2983
3785
|
credential: string;
|
|
2984
3786
|
enabled: true;
|
|
2985
3787
|
reflectorModel?: {
|
|
2986
|
-
model: string;
|
|
2987
3788
|
credential: string;
|
|
3789
|
+
model: string;
|
|
2988
3790
|
} | undefined;
|
|
2989
3791
|
extractorModel?: {
|
|
2990
|
-
model: string;
|
|
2991
3792
|
credential: string;
|
|
3793
|
+
model: string;
|
|
2992
3794
|
} | undefined;
|
|
2993
3795
|
topK?: number | undefined;
|
|
2994
3796
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -2999,12 +3801,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
2999
3801
|
observationalMemory?: {
|
|
3000
3802
|
enabled?: boolean | undefined;
|
|
3001
3803
|
observerModel?: {
|
|
3002
|
-
model: string;
|
|
3003
3804
|
credential: string;
|
|
3805
|
+
model: string;
|
|
3004
3806
|
} | undefined;
|
|
3005
3807
|
reflectorModel?: {
|
|
3006
|
-
model: string;
|
|
3007
3808
|
credential: string;
|
|
3809
|
+
model: string;
|
|
3008
3810
|
} | undefined;
|
|
3009
3811
|
observerThresholdTokens?: number | undefined;
|
|
3010
3812
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -3018,12 +3820,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3018
3820
|
credential: string;
|
|
3019
3821
|
enabled: true;
|
|
3020
3822
|
reflectorModel?: {
|
|
3021
|
-
model: string;
|
|
3022
3823
|
credential: string;
|
|
3824
|
+
model: string;
|
|
3023
3825
|
} | undefined;
|
|
3024
3826
|
extractorModel?: {
|
|
3025
|
-
model: string;
|
|
3026
3827
|
credential: string;
|
|
3828
|
+
model: string;
|
|
3027
3829
|
} | undefined;
|
|
3028
3830
|
topK?: number | undefined;
|
|
3029
3831
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -3034,12 +3836,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3034
3836
|
observationalMemory?: {
|
|
3035
3837
|
enabled?: boolean | undefined;
|
|
3036
3838
|
observerModel?: {
|
|
3037
|
-
model: string;
|
|
3038
3839
|
credential: string;
|
|
3840
|
+
model: string;
|
|
3039
3841
|
} | undefined;
|
|
3040
3842
|
reflectorModel?: {
|
|
3041
|
-
model: string;
|
|
3042
3843
|
credential: string;
|
|
3844
|
+
model: string;
|
|
3043
3845
|
} | undefined;
|
|
3044
3846
|
observerThresholdTokens?: number | undefined;
|
|
3045
3847
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -3053,12 +3855,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3053
3855
|
credential: string;
|
|
3054
3856
|
enabled: true;
|
|
3055
3857
|
reflectorModel?: {
|
|
3056
|
-
model: string;
|
|
3057
3858
|
credential: string;
|
|
3859
|
+
model: string;
|
|
3058
3860
|
} | undefined;
|
|
3059
3861
|
extractorModel?: {
|
|
3060
|
-
model: string;
|
|
3061
3862
|
credential: string;
|
|
3863
|
+
model: string;
|
|
3062
3864
|
} | undefined;
|
|
3063
3865
|
topK?: number | undefined;
|
|
3064
3866
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -3081,57 +3883,57 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3081
3883
|
model: z.ZodString;
|
|
3082
3884
|
credential: z.ZodString;
|
|
3083
3885
|
}, "strict", z.ZodTypeAny, {
|
|
3084
|
-
model: string;
|
|
3085
3886
|
credential: string;
|
|
3086
|
-
}, {
|
|
3087
3887
|
model: string;
|
|
3888
|
+
}, {
|
|
3088
3889
|
credential: string;
|
|
3890
|
+
model: string;
|
|
3089
3891
|
}>>;
|
|
3090
3892
|
medium: z.ZodOptional<z.ZodObject<{
|
|
3091
3893
|
model: z.ZodString;
|
|
3092
3894
|
credential: z.ZodString;
|
|
3093
3895
|
}, "strict", z.ZodTypeAny, {
|
|
3094
|
-
model: string;
|
|
3095
3896
|
credential: string;
|
|
3096
|
-
}, {
|
|
3097
3897
|
model: string;
|
|
3898
|
+
}, {
|
|
3098
3899
|
credential: string;
|
|
3900
|
+
model: string;
|
|
3099
3901
|
}>>;
|
|
3100
3902
|
high: z.ZodOptional<z.ZodObject<{
|
|
3101
3903
|
model: z.ZodString;
|
|
3102
3904
|
credential: z.ZodString;
|
|
3103
3905
|
}, "strict", z.ZodTypeAny, {
|
|
3104
|
-
model: string;
|
|
3105
3906
|
credential: string;
|
|
3106
|
-
}, {
|
|
3107
3907
|
model: string;
|
|
3908
|
+
}, {
|
|
3108
3909
|
credential: string;
|
|
3910
|
+
model: string;
|
|
3109
3911
|
}>>;
|
|
3110
3912
|
}, "strict", z.ZodTypeAny, {
|
|
3111
3913
|
low?: {
|
|
3112
|
-
model: string;
|
|
3113
3914
|
credential: string;
|
|
3915
|
+
model: string;
|
|
3114
3916
|
} | undefined;
|
|
3115
3917
|
medium?: {
|
|
3116
|
-
model: string;
|
|
3117
3918
|
credential: string;
|
|
3919
|
+
model: string;
|
|
3118
3920
|
} | undefined;
|
|
3119
3921
|
high?: {
|
|
3120
|
-
model: string;
|
|
3121
3922
|
credential: string;
|
|
3923
|
+
model: string;
|
|
3122
3924
|
} | undefined;
|
|
3123
3925
|
}, {
|
|
3124
3926
|
low?: {
|
|
3125
|
-
model: string;
|
|
3126
3927
|
credential: string;
|
|
3928
|
+
model: string;
|
|
3127
3929
|
} | undefined;
|
|
3128
3930
|
medium?: {
|
|
3129
|
-
model: string;
|
|
3130
3931
|
credential: string;
|
|
3932
|
+
model: string;
|
|
3131
3933
|
} | undefined;
|
|
3132
3934
|
high?: {
|
|
3133
|
-
model: string;
|
|
3134
3935
|
credential: string;
|
|
3936
|
+
model: string;
|
|
3135
3937
|
} | undefined;
|
|
3136
3938
|
}>>;
|
|
3137
3939
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3142,16 +3944,16 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3142
3944
|
}[] | undefined;
|
|
3143
3945
|
modelsByDifficulty?: {
|
|
3144
3946
|
low?: {
|
|
3145
|
-
model: string;
|
|
3146
3947
|
credential: string;
|
|
3948
|
+
model: string;
|
|
3147
3949
|
} | undefined;
|
|
3148
3950
|
medium?: {
|
|
3149
|
-
model: string;
|
|
3150
3951
|
credential: string;
|
|
3952
|
+
model: string;
|
|
3151
3953
|
} | undefined;
|
|
3152
3954
|
high?: {
|
|
3153
|
-
model: string;
|
|
3154
3955
|
credential: string;
|
|
3956
|
+
model: string;
|
|
3155
3957
|
} | undefined;
|
|
3156
3958
|
} | undefined;
|
|
3157
3959
|
}, {
|
|
@@ -3162,16 +3964,16 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3162
3964
|
}[] | undefined;
|
|
3163
3965
|
modelsByDifficulty?: {
|
|
3164
3966
|
low?: {
|
|
3165
|
-
model: string;
|
|
3166
3967
|
credential: string;
|
|
3968
|
+
model: string;
|
|
3167
3969
|
} | undefined;
|
|
3168
3970
|
medium?: {
|
|
3169
|
-
model: string;
|
|
3170
3971
|
credential: string;
|
|
3972
|
+
model: string;
|
|
3171
3973
|
} | undefined;
|
|
3172
3974
|
high?: {
|
|
3173
|
-
model: string;
|
|
3174
3975
|
credential: string;
|
|
3976
|
+
model: string;
|
|
3175
3977
|
} | undefined;
|
|
3176
3978
|
} | undefined;
|
|
3177
3979
|
}>>>;
|
|
@@ -3197,15 +3999,15 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3197
3999
|
}, "strict", z.ZodTypeAny, {
|
|
3198
4000
|
type: "workflow";
|
|
3199
4001
|
workflow: string;
|
|
3200
|
-
description?: string | undefined;
|
|
3201
4002
|
name?: string | undefined;
|
|
4003
|
+
description?: string | undefined;
|
|
3202
4004
|
requireApproval?: boolean | undefined;
|
|
3203
4005
|
allOutputs?: boolean | undefined;
|
|
3204
4006
|
}, {
|
|
3205
4007
|
type: "workflow";
|
|
3206
4008
|
workflow: string;
|
|
3207
|
-
description?: string | undefined;
|
|
3208
4009
|
name?: string | undefined;
|
|
4010
|
+
description?: string | undefined;
|
|
3209
4011
|
requireApproval?: boolean | undefined;
|
|
3210
4012
|
allOutputs?: boolean | undefined;
|
|
3211
4013
|
}>, z.ZodObject<{
|
|
@@ -3221,28 +4023,28 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3221
4023
|
id: z.ZodString;
|
|
3222
4024
|
name: z.ZodString;
|
|
3223
4025
|
}, "strip", z.ZodTypeAny, {
|
|
3224
|
-
name: string;
|
|
3225
4026
|
id: string;
|
|
3226
|
-
}, {
|
|
3227
4027
|
name: string;
|
|
4028
|
+
}, {
|
|
3228
4029
|
id: string;
|
|
4030
|
+
name: string;
|
|
3229
4031
|
}>>>;
|
|
3230
4032
|
}, "strip", z.ZodTypeAny, {
|
|
3231
4033
|
nodeType: string;
|
|
3232
4034
|
nodeTypeVersion: number;
|
|
3233
4035
|
nodeParameters: Record<string, unknown>;
|
|
3234
4036
|
credentials?: Record<string, {
|
|
3235
|
-
name: string;
|
|
3236
4037
|
id: string;
|
|
4038
|
+
name: string;
|
|
3237
4039
|
}> | undefined;
|
|
3238
4040
|
}, {
|
|
3239
4041
|
nodeType: string;
|
|
3240
4042
|
nodeTypeVersion: number;
|
|
3241
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
3242
4043
|
credentials?: Record<string, {
|
|
3243
|
-
name: string;
|
|
3244
4044
|
id: string;
|
|
4045
|
+
name: string;
|
|
3245
4046
|
}> | undefined;
|
|
4047
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
3246
4048
|
}>;
|
|
3247
4049
|
requireApproval: z.ZodOptional<z.ZodBoolean>;
|
|
3248
4050
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3253,28 +4055,28 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3253
4055
|
nodeTypeVersion: number;
|
|
3254
4056
|
nodeParameters: Record<string, unknown>;
|
|
3255
4057
|
credentials?: Record<string, {
|
|
3256
|
-
name: string;
|
|
3257
4058
|
id: string;
|
|
4059
|
+
name: string;
|
|
3258
4060
|
}> | undefined;
|
|
3259
4061
|
};
|
|
3260
4062
|
description?: string | undefined;
|
|
3261
|
-
requireApproval?: boolean | undefined;
|
|
3262
4063
|
inputSchema?: undefined;
|
|
4064
|
+
requireApproval?: boolean | undefined;
|
|
3263
4065
|
}, {
|
|
3264
4066
|
type: "node";
|
|
3265
4067
|
name: string;
|
|
3266
4068
|
node: {
|
|
3267
4069
|
nodeType: string;
|
|
3268
4070
|
nodeTypeVersion: number;
|
|
3269
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
3270
4071
|
credentials?: Record<string, {
|
|
3271
|
-
name: string;
|
|
3272
4072
|
id: string;
|
|
4073
|
+
name: string;
|
|
3273
4074
|
}> | undefined;
|
|
4075
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
3274
4076
|
};
|
|
3275
4077
|
description?: string | undefined;
|
|
3276
|
-
requireApproval?: boolean | undefined;
|
|
3277
4078
|
inputSchema?: undefined;
|
|
4079
|
+
requireApproval?: boolean | undefined;
|
|
3278
4080
|
}>]>, "many">, ({
|
|
3279
4081
|
type: "custom";
|
|
3280
4082
|
id: string;
|
|
@@ -3282,8 +4084,8 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3282
4084
|
} | {
|
|
3283
4085
|
type: "workflow";
|
|
3284
4086
|
workflow: string;
|
|
3285
|
-
description?: string | undefined;
|
|
3286
4087
|
name?: string | undefined;
|
|
4088
|
+
description?: string | undefined;
|
|
3287
4089
|
requireApproval?: boolean | undefined;
|
|
3288
4090
|
allOutputs?: boolean | undefined;
|
|
3289
4091
|
} | {
|
|
@@ -3294,13 +4096,13 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3294
4096
|
nodeTypeVersion: number;
|
|
3295
4097
|
nodeParameters: Record<string, unknown>;
|
|
3296
4098
|
credentials?: Record<string, {
|
|
3297
|
-
name: string;
|
|
3298
4099
|
id: string;
|
|
4100
|
+
name: string;
|
|
3299
4101
|
}> | undefined;
|
|
3300
4102
|
};
|
|
3301
4103
|
description?: string | undefined;
|
|
3302
|
-
requireApproval?: boolean | undefined;
|
|
3303
4104
|
inputSchema?: undefined;
|
|
4105
|
+
requireApproval?: boolean | undefined;
|
|
3304
4106
|
})[], ({
|
|
3305
4107
|
type: "custom";
|
|
3306
4108
|
id: string;
|
|
@@ -3308,8 +4110,8 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3308
4110
|
} | {
|
|
3309
4111
|
type: "workflow";
|
|
3310
4112
|
workflow: string;
|
|
3311
|
-
description?: string | undefined;
|
|
3312
4113
|
name?: string | undefined;
|
|
4114
|
+
description?: string | undefined;
|
|
3313
4115
|
requireApproval?: boolean | undefined;
|
|
3314
4116
|
allOutputs?: boolean | undefined;
|
|
3315
4117
|
} | {
|
|
@@ -3318,15 +4120,15 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3318
4120
|
node: {
|
|
3319
4121
|
nodeType: string;
|
|
3320
4122
|
nodeTypeVersion: number;
|
|
3321
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
3322
4123
|
credentials?: Record<string, {
|
|
3323
|
-
name: string;
|
|
3324
4124
|
id: string;
|
|
4125
|
+
name: string;
|
|
3325
4126
|
}> | undefined;
|
|
4127
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
3326
4128
|
};
|
|
3327
4129
|
description?: string | undefined;
|
|
3328
|
-
requireApproval?: boolean | undefined;
|
|
3329
4130
|
inputSchema?: undefined;
|
|
4131
|
+
requireApproval?: boolean | undefined;
|
|
3330
4132
|
})[]>>>;
|
|
3331
4133
|
skills: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
3332
4134
|
type: z.ZodLiteral<"skill">;
|
|
@@ -3350,12 +4152,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3350
4152
|
enabled: z.ZodBoolean;
|
|
3351
4153
|
}, "strip", z.ZodTypeAny, {
|
|
3352
4154
|
type: "task";
|
|
3353
|
-
enabled: boolean;
|
|
3354
4155
|
id: string;
|
|
4156
|
+
enabled: boolean;
|
|
3355
4157
|
}, {
|
|
3356
4158
|
type: "task";
|
|
3357
|
-
enabled: boolean;
|
|
3358
4159
|
id: string;
|
|
4160
|
+
enabled: boolean;
|
|
3359
4161
|
}>, "many">>>;
|
|
3360
4162
|
providerTools: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
3361
4163
|
integrations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
|
|
@@ -3462,18 +4264,18 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3462
4264
|
}>]>>;
|
|
3463
4265
|
connectionTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3464
4266
|
}, "strict", z.ZodTypeAny, {
|
|
3465
|
-
name: string;
|
|
3466
4267
|
url: string;
|
|
4268
|
+
name: string;
|
|
3467
4269
|
transport: "sse" | "streamableHttp";
|
|
3468
4270
|
authentication: string;
|
|
4271
|
+
credential?: string | undefined;
|
|
4272
|
+
description?: string | undefined;
|
|
3469
4273
|
approval?: {
|
|
3470
4274
|
mode: "global";
|
|
3471
4275
|
} | {
|
|
3472
4276
|
tools: string[];
|
|
3473
4277
|
mode: "selected";
|
|
3474
4278
|
} | undefined;
|
|
3475
|
-
description?: string | undefined;
|
|
3476
|
-
credential?: string | undefined;
|
|
3477
4279
|
metadata?: {
|
|
3478
4280
|
nodeTypeName?: string | undefined;
|
|
3479
4281
|
} | undefined;
|
|
@@ -3486,16 +4288,16 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3486
4288
|
} | undefined;
|
|
3487
4289
|
connectionTimeoutMs?: number | undefined;
|
|
3488
4290
|
}, {
|
|
3489
|
-
name: string;
|
|
3490
4291
|
url: string;
|
|
4292
|
+
name: string;
|
|
4293
|
+
credential?: string | undefined;
|
|
4294
|
+
description?: string | undefined;
|
|
3491
4295
|
approval?: {
|
|
3492
4296
|
mode: "global";
|
|
3493
4297
|
} | {
|
|
3494
4298
|
tools: string[];
|
|
3495
4299
|
mode: "selected";
|
|
3496
4300
|
} | undefined;
|
|
3497
|
-
description?: string | undefined;
|
|
3498
|
-
credential?: string | undefined;
|
|
3499
4301
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
3500
4302
|
authentication?: string | undefined;
|
|
3501
4303
|
metadata?: {
|
|
@@ -3510,18 +4312,18 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3510
4312
|
} | undefined;
|
|
3511
4313
|
connectionTimeoutMs?: number | undefined;
|
|
3512
4314
|
}>, "many">, {
|
|
3513
|
-
name: string;
|
|
3514
4315
|
url: string;
|
|
4316
|
+
name: string;
|
|
3515
4317
|
transport: "sse" | "streamableHttp";
|
|
3516
4318
|
authentication: string;
|
|
4319
|
+
credential?: string | undefined;
|
|
4320
|
+
description?: string | undefined;
|
|
3517
4321
|
approval?: {
|
|
3518
4322
|
mode: "global";
|
|
3519
4323
|
} | {
|
|
3520
4324
|
tools: string[];
|
|
3521
4325
|
mode: "selected";
|
|
3522
4326
|
} | undefined;
|
|
3523
|
-
description?: string | undefined;
|
|
3524
|
-
credential?: string | undefined;
|
|
3525
4327
|
metadata?: {
|
|
3526
4328
|
nodeTypeName?: string | undefined;
|
|
3527
4329
|
} | undefined;
|
|
@@ -3534,16 +4336,16 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3534
4336
|
} | undefined;
|
|
3535
4337
|
connectionTimeoutMs?: number | undefined;
|
|
3536
4338
|
}[], {
|
|
3537
|
-
name: string;
|
|
3538
4339
|
url: string;
|
|
4340
|
+
name: string;
|
|
4341
|
+
credential?: string | undefined;
|
|
4342
|
+
description?: string | undefined;
|
|
3539
4343
|
approval?: {
|
|
3540
4344
|
mode: "global";
|
|
3541
4345
|
} | {
|
|
3542
4346
|
tools: string[];
|
|
3543
4347
|
mode: "selected";
|
|
3544
4348
|
} | undefined;
|
|
3545
|
-
description?: string | undefined;
|
|
3546
|
-
credential?: string | undefined;
|
|
3547
4349
|
transport?: "sse" | "streamableHttp" | undefined;
|
|
3548
4350
|
authentication?: string | undefined;
|
|
3549
4351
|
metadata?: {
|
|
@@ -3558,6 +4360,241 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3558
4360
|
} | undefined;
|
|
3559
4361
|
connectionTimeoutMs?: number | undefined;
|
|
3560
4362
|
}[]>>>;
|
|
4363
|
+
vectorStores: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
|
|
4364
|
+
indexName: z.ZodString;
|
|
4365
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
4366
|
+
name: z.ZodString;
|
|
4367
|
+
credential: z.ZodString;
|
|
4368
|
+
useWhen: z.ZodString;
|
|
4369
|
+
embedding: z.ZodObject<{
|
|
4370
|
+
model: z.ZodString;
|
|
4371
|
+
credential: z.ZodString;
|
|
4372
|
+
}, "strict", z.ZodTypeAny, {
|
|
4373
|
+
credential: string;
|
|
4374
|
+
model: string;
|
|
4375
|
+
}, {
|
|
4376
|
+
credential: string;
|
|
4377
|
+
model: string;
|
|
4378
|
+
}>;
|
|
4379
|
+
provider: z.ZodLiteral<"pinecone">;
|
|
4380
|
+
}, "strict", z.ZodTypeAny, {
|
|
4381
|
+
credential: string;
|
|
4382
|
+
name: string;
|
|
4383
|
+
provider: "pinecone";
|
|
4384
|
+
useWhen: string;
|
|
4385
|
+
indexName: string;
|
|
4386
|
+
embedding: {
|
|
4387
|
+
credential: string;
|
|
4388
|
+
model: string;
|
|
4389
|
+
};
|
|
4390
|
+
namespace?: string | undefined;
|
|
4391
|
+
}, {
|
|
4392
|
+
credential: string;
|
|
4393
|
+
name: string;
|
|
4394
|
+
provider: "pinecone";
|
|
4395
|
+
useWhen: string;
|
|
4396
|
+
indexName: string;
|
|
4397
|
+
embedding: {
|
|
4398
|
+
credential: string;
|
|
4399
|
+
model: string;
|
|
4400
|
+
};
|
|
4401
|
+
namespace?: string | undefined;
|
|
4402
|
+
}>, z.ZodObject<{
|
|
4403
|
+
collectionName: z.ZodString;
|
|
4404
|
+
name: z.ZodString;
|
|
4405
|
+
credential: z.ZodString;
|
|
4406
|
+
useWhen: z.ZodString;
|
|
4407
|
+
embedding: z.ZodObject<{
|
|
4408
|
+
model: z.ZodString;
|
|
4409
|
+
credential: z.ZodString;
|
|
4410
|
+
}, "strict", z.ZodTypeAny, {
|
|
4411
|
+
credential: string;
|
|
4412
|
+
model: string;
|
|
4413
|
+
}, {
|
|
4414
|
+
credential: string;
|
|
4415
|
+
model: string;
|
|
4416
|
+
}>;
|
|
4417
|
+
provider: z.ZodLiteral<"qdrant">;
|
|
4418
|
+
}, "strict", z.ZodTypeAny, {
|
|
4419
|
+
credential: string;
|
|
4420
|
+
name: string;
|
|
4421
|
+
provider: "qdrant";
|
|
4422
|
+
useWhen: string;
|
|
4423
|
+
embedding: {
|
|
4424
|
+
credential: string;
|
|
4425
|
+
model: string;
|
|
4426
|
+
};
|
|
4427
|
+
collectionName: string;
|
|
4428
|
+
}, {
|
|
4429
|
+
credential: string;
|
|
4430
|
+
name: string;
|
|
4431
|
+
provider: "qdrant";
|
|
4432
|
+
useWhen: string;
|
|
4433
|
+
embedding: {
|
|
4434
|
+
credential: string;
|
|
4435
|
+
model: string;
|
|
4436
|
+
};
|
|
4437
|
+
collectionName: string;
|
|
4438
|
+
}>, z.ZodObject<{
|
|
4439
|
+
tableName: z.ZodString;
|
|
4440
|
+
queryName: z.ZodOptional<z.ZodString>;
|
|
4441
|
+
name: z.ZodString;
|
|
4442
|
+
credential: z.ZodString;
|
|
4443
|
+
useWhen: z.ZodString;
|
|
4444
|
+
embedding: z.ZodObject<{
|
|
4445
|
+
model: z.ZodString;
|
|
4446
|
+
credential: z.ZodString;
|
|
4447
|
+
}, "strict", z.ZodTypeAny, {
|
|
4448
|
+
credential: string;
|
|
4449
|
+
model: string;
|
|
4450
|
+
}, {
|
|
4451
|
+
credential: string;
|
|
4452
|
+
model: string;
|
|
4453
|
+
}>;
|
|
4454
|
+
provider: z.ZodLiteral<"supabase">;
|
|
4455
|
+
}, "strict", z.ZodTypeAny, {
|
|
4456
|
+
credential: string;
|
|
4457
|
+
name: string;
|
|
4458
|
+
provider: "supabase";
|
|
4459
|
+
useWhen: string;
|
|
4460
|
+
embedding: {
|
|
4461
|
+
credential: string;
|
|
4462
|
+
model: string;
|
|
4463
|
+
};
|
|
4464
|
+
tableName: string;
|
|
4465
|
+
queryName?: string | undefined;
|
|
4466
|
+
}, {
|
|
4467
|
+
credential: string;
|
|
4468
|
+
name: string;
|
|
4469
|
+
provider: "supabase";
|
|
4470
|
+
useWhen: string;
|
|
4471
|
+
embedding: {
|
|
4472
|
+
credential: string;
|
|
4473
|
+
model: string;
|
|
4474
|
+
};
|
|
4475
|
+
tableName: string;
|
|
4476
|
+
queryName?: string | undefined;
|
|
4477
|
+
}>, z.ZodObject<{
|
|
4478
|
+
tableName: z.ZodString;
|
|
4479
|
+
name: z.ZodString;
|
|
4480
|
+
credential: z.ZodString;
|
|
4481
|
+
useWhen: z.ZodString;
|
|
4482
|
+
embedding: z.ZodObject<{
|
|
4483
|
+
model: z.ZodString;
|
|
4484
|
+
credential: z.ZodString;
|
|
4485
|
+
}, "strict", z.ZodTypeAny, {
|
|
4486
|
+
credential: string;
|
|
4487
|
+
model: string;
|
|
4488
|
+
}, {
|
|
4489
|
+
credential: string;
|
|
4490
|
+
model: string;
|
|
4491
|
+
}>;
|
|
4492
|
+
provider: z.ZodLiteral<"postgres">;
|
|
4493
|
+
}, "strict", z.ZodTypeAny, {
|
|
4494
|
+
credential: string;
|
|
4495
|
+
name: string;
|
|
4496
|
+
provider: "postgres";
|
|
4497
|
+
useWhen: string;
|
|
4498
|
+
embedding: {
|
|
4499
|
+
credential: string;
|
|
4500
|
+
model: string;
|
|
4501
|
+
};
|
|
4502
|
+
tableName: string;
|
|
4503
|
+
}, {
|
|
4504
|
+
credential: string;
|
|
4505
|
+
name: string;
|
|
4506
|
+
provider: "postgres";
|
|
4507
|
+
useWhen: string;
|
|
4508
|
+
embedding: {
|
|
4509
|
+
credential: string;
|
|
4510
|
+
model: string;
|
|
4511
|
+
};
|
|
4512
|
+
tableName: string;
|
|
4513
|
+
}>]>, "many">, ({
|
|
4514
|
+
credential: string;
|
|
4515
|
+
name: string;
|
|
4516
|
+
provider: "pinecone";
|
|
4517
|
+
useWhen: string;
|
|
4518
|
+
indexName: string;
|
|
4519
|
+
embedding: {
|
|
4520
|
+
credential: string;
|
|
4521
|
+
model: string;
|
|
4522
|
+
};
|
|
4523
|
+
namespace?: string | undefined;
|
|
4524
|
+
} | {
|
|
4525
|
+
credential: string;
|
|
4526
|
+
name: string;
|
|
4527
|
+
provider: "qdrant";
|
|
4528
|
+
useWhen: string;
|
|
4529
|
+
embedding: {
|
|
4530
|
+
credential: string;
|
|
4531
|
+
model: string;
|
|
4532
|
+
};
|
|
4533
|
+
collectionName: string;
|
|
4534
|
+
} | {
|
|
4535
|
+
credential: string;
|
|
4536
|
+
name: string;
|
|
4537
|
+
provider: "supabase";
|
|
4538
|
+
useWhen: string;
|
|
4539
|
+
embedding: {
|
|
4540
|
+
credential: string;
|
|
4541
|
+
model: string;
|
|
4542
|
+
};
|
|
4543
|
+
tableName: string;
|
|
4544
|
+
queryName?: string | undefined;
|
|
4545
|
+
} | {
|
|
4546
|
+
credential: string;
|
|
4547
|
+
name: string;
|
|
4548
|
+
provider: "postgres";
|
|
4549
|
+
useWhen: string;
|
|
4550
|
+
embedding: {
|
|
4551
|
+
credential: string;
|
|
4552
|
+
model: string;
|
|
4553
|
+
};
|
|
4554
|
+
tableName: string;
|
|
4555
|
+
})[], ({
|
|
4556
|
+
credential: string;
|
|
4557
|
+
name: string;
|
|
4558
|
+
provider: "pinecone";
|
|
4559
|
+
useWhen: string;
|
|
4560
|
+
indexName: string;
|
|
4561
|
+
embedding: {
|
|
4562
|
+
credential: string;
|
|
4563
|
+
model: string;
|
|
4564
|
+
};
|
|
4565
|
+
namespace?: string | undefined;
|
|
4566
|
+
} | {
|
|
4567
|
+
credential: string;
|
|
4568
|
+
name: string;
|
|
4569
|
+
provider: "qdrant";
|
|
4570
|
+
useWhen: string;
|
|
4571
|
+
embedding: {
|
|
4572
|
+
credential: string;
|
|
4573
|
+
model: string;
|
|
4574
|
+
};
|
|
4575
|
+
collectionName: string;
|
|
4576
|
+
} | {
|
|
4577
|
+
credential: string;
|
|
4578
|
+
name: string;
|
|
4579
|
+
provider: "supabase";
|
|
4580
|
+
useWhen: string;
|
|
4581
|
+
embedding: {
|
|
4582
|
+
credential: string;
|
|
4583
|
+
model: string;
|
|
4584
|
+
};
|
|
4585
|
+
tableName: string;
|
|
4586
|
+
queryName?: string | undefined;
|
|
4587
|
+
} | {
|
|
4588
|
+
credential: string;
|
|
4589
|
+
name: string;
|
|
4590
|
+
provider: "postgres";
|
|
4591
|
+
useWhen: string;
|
|
4592
|
+
embedding: {
|
|
4593
|
+
credential: string;
|
|
4594
|
+
model: string;
|
|
4595
|
+
};
|
|
4596
|
+
tableName: string;
|
|
4597
|
+
})[]>>>;
|
|
3561
4598
|
config: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3562
4599
|
thinking: z.ZodOptional<z.ZodObject<{
|
|
3563
4600
|
provider: z.ZodEnum<["anthropic", "openai"]>;
|
|
@@ -3598,16 +4635,21 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3598
4635
|
credential: z.ZodOptional<z.ZodString>;
|
|
3599
4636
|
}, "strip", z.ZodTypeAny, {
|
|
3600
4637
|
enabled: boolean;
|
|
3601
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3602
4638
|
credential?: string | undefined;
|
|
4639
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3603
4640
|
}, {
|
|
3604
4641
|
enabled: boolean;
|
|
3605
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3606
4642
|
credential?: string | undefined;
|
|
4643
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3607
4644
|
}>>;
|
|
3608
4645
|
toolCallConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
3609
4646
|
maxIterations: z.ZodOptional<z.ZodNumber>;
|
|
3610
4647
|
}, "strip", z.ZodTypeAny, {
|
|
4648
|
+
webSearch?: {
|
|
4649
|
+
enabled: boolean;
|
|
4650
|
+
credential?: string | undefined;
|
|
4651
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
4652
|
+
} | undefined;
|
|
3611
4653
|
thinking?: {
|
|
3612
4654
|
provider: "anthropic" | "openai";
|
|
3613
4655
|
budgetTokens?: number | undefined;
|
|
@@ -3619,14 +4661,14 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3619
4661
|
ttl?: "5m" | "1h" | undefined;
|
|
3620
4662
|
} | undefined;
|
|
3621
4663
|
} | undefined;
|
|
4664
|
+
toolCallConcurrency?: number | undefined;
|
|
4665
|
+
maxIterations?: number | undefined;
|
|
4666
|
+
}, {
|
|
3622
4667
|
webSearch?: {
|
|
3623
4668
|
enabled: boolean;
|
|
3624
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3625
4669
|
credential?: string | undefined;
|
|
4670
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3626
4671
|
} | undefined;
|
|
3627
|
-
toolCallConcurrency?: number | undefined;
|
|
3628
|
-
maxIterations?: number | undefined;
|
|
3629
|
-
}, {
|
|
3630
4672
|
thinking?: {
|
|
3631
4673
|
provider: "anthropic" | "openai";
|
|
3632
4674
|
budgetTokens?: number | undefined;
|
|
@@ -3638,18 +4680,70 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3638
4680
|
ttl?: "5m" | "1h" | undefined;
|
|
3639
4681
|
} | undefined;
|
|
3640
4682
|
} | undefined;
|
|
3641
|
-
webSearch?: {
|
|
3642
|
-
enabled: boolean;
|
|
3643
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3644
|
-
credential?: string | undefined;
|
|
3645
|
-
} | undefined;
|
|
3646
4683
|
toolCallConcurrency?: number | undefined;
|
|
3647
4684
|
maxIterations?: number | undefined;
|
|
3648
4685
|
}>>>;
|
|
3649
4686
|
}, "strip", z.ZodTypeAny, {
|
|
4687
|
+
credential?: string | undefined;
|
|
4688
|
+
name?: string | undefined;
|
|
4689
|
+
tools?: ({
|
|
4690
|
+
type: "custom";
|
|
4691
|
+
id: string;
|
|
4692
|
+
requireApproval?: boolean | undefined;
|
|
4693
|
+
} | {
|
|
4694
|
+
type: "workflow";
|
|
4695
|
+
workflow: string;
|
|
4696
|
+
name?: string | undefined;
|
|
4697
|
+
description?: string | undefined;
|
|
4698
|
+
requireApproval?: boolean | undefined;
|
|
4699
|
+
allOutputs?: boolean | undefined;
|
|
4700
|
+
} | {
|
|
4701
|
+
type: "node";
|
|
4702
|
+
name: string;
|
|
4703
|
+
node: {
|
|
4704
|
+
nodeType: string;
|
|
4705
|
+
nodeTypeVersion: number;
|
|
4706
|
+
nodeParameters: Record<string, unknown>;
|
|
4707
|
+
credentials?: Record<string, {
|
|
4708
|
+
id: string;
|
|
4709
|
+
name: string;
|
|
4710
|
+
}> | undefined;
|
|
4711
|
+
};
|
|
4712
|
+
description?: string | undefined;
|
|
4713
|
+
inputSchema?: undefined;
|
|
4714
|
+
requireApproval?: boolean | undefined;
|
|
4715
|
+
})[] | undefined;
|
|
4716
|
+
tasks?: {
|
|
4717
|
+
type: "task";
|
|
4718
|
+
id: string;
|
|
4719
|
+
enabled: boolean;
|
|
4720
|
+
}[] | undefined;
|
|
4721
|
+
mcpServers?: {
|
|
4722
|
+
url: string;
|
|
4723
|
+
name: string;
|
|
4724
|
+
transport: "sse" | "streamableHttp";
|
|
4725
|
+
authentication: string;
|
|
4726
|
+
credential?: string | undefined;
|
|
4727
|
+
description?: string | undefined;
|
|
4728
|
+
approval?: {
|
|
4729
|
+
mode: "global";
|
|
4730
|
+
} | {
|
|
4731
|
+
tools: string[];
|
|
4732
|
+
mode: "selected";
|
|
4733
|
+
} | undefined;
|
|
4734
|
+
metadata?: {
|
|
4735
|
+
nodeTypeName?: string | undefined;
|
|
4736
|
+
} | undefined;
|
|
4737
|
+
toolFilter?: {
|
|
4738
|
+
tools: string[];
|
|
4739
|
+
mode: "allow";
|
|
4740
|
+
} | {
|
|
4741
|
+
tools: string[];
|
|
4742
|
+
mode: "exclude";
|
|
4743
|
+
} | undefined;
|
|
4744
|
+
connectionTimeoutMs?: number | undefined;
|
|
4745
|
+
}[] | undefined;
|
|
3650
4746
|
model?: string | undefined;
|
|
3651
|
-
name?: string | undefined;
|
|
3652
|
-
credential?: string | undefined;
|
|
3653
4747
|
instructions?: string | undefined;
|
|
3654
4748
|
personalisation?: {
|
|
3655
4749
|
icon: string;
|
|
@@ -3667,12 +4761,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3667
4761
|
observationalMemory?: {
|
|
3668
4762
|
enabled?: boolean | undefined;
|
|
3669
4763
|
observerModel?: {
|
|
3670
|
-
model: string;
|
|
3671
4764
|
credential: string;
|
|
4765
|
+
model: string;
|
|
3672
4766
|
} | undefined;
|
|
3673
4767
|
reflectorModel?: {
|
|
3674
|
-
model: string;
|
|
3675
4768
|
credential: string;
|
|
4769
|
+
model: string;
|
|
3676
4770
|
} | undefined;
|
|
3677
4771
|
observerThresholdTokens?: number | undefined;
|
|
3678
4772
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -3686,12 +4780,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3686
4780
|
credential: string;
|
|
3687
4781
|
enabled: true;
|
|
3688
4782
|
reflectorModel?: {
|
|
3689
|
-
model: string;
|
|
3690
4783
|
credential: string;
|
|
4784
|
+
model: string;
|
|
3691
4785
|
} | undefined;
|
|
3692
4786
|
extractorModel?: {
|
|
3693
|
-
model: string;
|
|
3694
4787
|
credential: string;
|
|
4788
|
+
model: string;
|
|
3695
4789
|
} | undefined;
|
|
3696
4790
|
topK?: number | undefined;
|
|
3697
4791
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -3705,19 +4799,104 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3705
4799
|
}[] | undefined;
|
|
3706
4800
|
modelsByDifficulty?: {
|
|
3707
4801
|
low?: {
|
|
3708
|
-
model: string;
|
|
3709
4802
|
credential: string;
|
|
4803
|
+
model: string;
|
|
3710
4804
|
} | undefined;
|
|
3711
4805
|
medium?: {
|
|
3712
|
-
model: string;
|
|
3713
4806
|
credential: string;
|
|
4807
|
+
model: string;
|
|
3714
4808
|
} | undefined;
|
|
3715
4809
|
high?: {
|
|
3716
|
-
model: string;
|
|
3717
4810
|
credential: string;
|
|
4811
|
+
model: string;
|
|
4812
|
+
} | undefined;
|
|
4813
|
+
} | undefined;
|
|
4814
|
+
} | undefined;
|
|
4815
|
+
skills?: {
|
|
4816
|
+
type: "skill";
|
|
4817
|
+
id: string;
|
|
4818
|
+
}[] | undefined;
|
|
4819
|
+
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
4820
|
+
integrations?: ({
|
|
4821
|
+
type: "telegram";
|
|
4822
|
+
credentialId: string;
|
|
4823
|
+
settings?: {
|
|
4824
|
+
accessMode: "private" | "public";
|
|
4825
|
+
allowedUsers: string[];
|
|
4826
|
+
} | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
type: "slack";
|
|
4829
|
+
credentialId: string;
|
|
4830
|
+
} | {
|
|
4831
|
+
type: "linear";
|
|
4832
|
+
credentialId: string;
|
|
4833
|
+
})[] | undefined;
|
|
4834
|
+
vectorStores?: ({
|
|
4835
|
+
credential: string;
|
|
4836
|
+
name: string;
|
|
4837
|
+
provider: "pinecone";
|
|
4838
|
+
useWhen: string;
|
|
4839
|
+
indexName: string;
|
|
4840
|
+
embedding: {
|
|
4841
|
+
credential: string;
|
|
4842
|
+
model: string;
|
|
4843
|
+
};
|
|
4844
|
+
namespace?: string | undefined;
|
|
4845
|
+
} | {
|
|
4846
|
+
credential: string;
|
|
4847
|
+
name: string;
|
|
4848
|
+
provider: "qdrant";
|
|
4849
|
+
useWhen: string;
|
|
4850
|
+
embedding: {
|
|
4851
|
+
credential: string;
|
|
4852
|
+
model: string;
|
|
4853
|
+
};
|
|
4854
|
+
collectionName: string;
|
|
4855
|
+
} | {
|
|
4856
|
+
credential: string;
|
|
4857
|
+
name: string;
|
|
4858
|
+
provider: "supabase";
|
|
4859
|
+
useWhen: string;
|
|
4860
|
+
embedding: {
|
|
4861
|
+
credential: string;
|
|
4862
|
+
model: string;
|
|
4863
|
+
};
|
|
4864
|
+
tableName: string;
|
|
4865
|
+
queryName?: string | undefined;
|
|
4866
|
+
} | {
|
|
4867
|
+
credential: string;
|
|
4868
|
+
name: string;
|
|
4869
|
+
provider: "postgres";
|
|
4870
|
+
useWhen: string;
|
|
4871
|
+
embedding: {
|
|
4872
|
+
credential: string;
|
|
4873
|
+
model: string;
|
|
4874
|
+
};
|
|
4875
|
+
tableName: string;
|
|
4876
|
+
})[] | undefined;
|
|
4877
|
+
config?: {
|
|
4878
|
+
webSearch?: {
|
|
4879
|
+
enabled: boolean;
|
|
4880
|
+
credential?: string | undefined;
|
|
4881
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
4882
|
+
} | undefined;
|
|
4883
|
+
thinking?: {
|
|
4884
|
+
provider: "anthropic" | "openai";
|
|
4885
|
+
budgetTokens?: number | undefined;
|
|
4886
|
+
reasoningEffort?: string | undefined;
|
|
4887
|
+
} | undefined;
|
|
4888
|
+
promptCaching?: {
|
|
4889
|
+
enabled: boolean;
|
|
4890
|
+
anthropic?: {
|
|
4891
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3718
4892
|
} | undefined;
|
|
3719
4893
|
} | undefined;
|
|
4894
|
+
toolCallConcurrency?: number | undefined;
|
|
4895
|
+
maxIterations?: number | undefined;
|
|
3720
4896
|
} | undefined;
|
|
4897
|
+
}, {
|
|
4898
|
+
credential?: string | undefined;
|
|
4899
|
+
name?: string | undefined;
|
|
3721
4900
|
tools?: ({
|
|
3722
4901
|
type: "custom";
|
|
3723
4902
|
id: string;
|
|
@@ -3725,8 +4904,8 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3725
4904
|
} | {
|
|
3726
4905
|
type: "workflow";
|
|
3727
4906
|
workflow: string;
|
|
3728
|
-
description?: string | undefined;
|
|
3729
4907
|
name?: string | undefined;
|
|
4908
|
+
description?: string | undefined;
|
|
3730
4909
|
requireApproval?: boolean | undefined;
|
|
3731
4910
|
allOutputs?: boolean | undefined;
|
|
3732
4911
|
} | {
|
|
@@ -3735,89 +4914,47 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3735
4914
|
node: {
|
|
3736
4915
|
nodeType: string;
|
|
3737
4916
|
nodeTypeVersion: number;
|
|
3738
|
-
nodeParameters: Record<string, unknown>;
|
|
3739
4917
|
credentials?: Record<string, {
|
|
3740
|
-
name: string;
|
|
3741
4918
|
id: string;
|
|
4919
|
+
name: string;
|
|
3742
4920
|
}> | undefined;
|
|
4921
|
+
nodeParameters?: Record<string, unknown> | undefined;
|
|
3743
4922
|
};
|
|
3744
4923
|
description?: string | undefined;
|
|
3745
|
-
requireApproval?: boolean | undefined;
|
|
3746
4924
|
inputSchema?: undefined;
|
|
4925
|
+
requireApproval?: boolean | undefined;
|
|
3747
4926
|
})[] | undefined;
|
|
3748
|
-
skills?: {
|
|
3749
|
-
type: "skill";
|
|
3750
|
-
id: string;
|
|
3751
|
-
}[] | undefined;
|
|
3752
4927
|
tasks?: {
|
|
3753
4928
|
type: "task";
|
|
3754
|
-
enabled: boolean;
|
|
3755
4929
|
id: string;
|
|
4930
|
+
enabled: boolean;
|
|
3756
4931
|
}[] | undefined;
|
|
3757
|
-
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
3758
|
-
integrations?: ({
|
|
3759
|
-
type: "telegram";
|
|
3760
|
-
credentialId: string;
|
|
3761
|
-
settings?: {
|
|
3762
|
-
accessMode: "private" | "public";
|
|
3763
|
-
allowedUsers: string[];
|
|
3764
|
-
} | undefined;
|
|
3765
|
-
} | {
|
|
3766
|
-
type: "slack";
|
|
3767
|
-
credentialId: string;
|
|
3768
|
-
} | {
|
|
3769
|
-
type: "linear";
|
|
3770
|
-
credentialId: string;
|
|
3771
|
-
})[] | undefined;
|
|
3772
4932
|
mcpServers?: {
|
|
3773
|
-
name: string;
|
|
3774
4933
|
url: string;
|
|
3775
|
-
|
|
3776
|
-
|
|
4934
|
+
name: string;
|
|
4935
|
+
credential?: string | undefined;
|
|
4936
|
+
description?: string | undefined;
|
|
3777
4937
|
approval?: {
|
|
3778
4938
|
mode: "global";
|
|
3779
4939
|
} | {
|
|
3780
4940
|
tools: string[];
|
|
3781
4941
|
mode: "selected";
|
|
3782
4942
|
} | undefined;
|
|
3783
|
-
|
|
3784
|
-
|
|
4943
|
+
transport?: "sse" | "streamableHttp" | undefined;
|
|
4944
|
+
authentication?: string | undefined;
|
|
3785
4945
|
metadata?: {
|
|
3786
4946
|
nodeTypeName?: string | undefined;
|
|
3787
4947
|
} | undefined;
|
|
3788
4948
|
toolFilter?: {
|
|
3789
|
-
tools: string[];
|
|
3790
4949
|
mode: "allow";
|
|
4950
|
+
tools?: string[] | undefined;
|
|
3791
4951
|
} | {
|
|
3792
|
-
tools: string[];
|
|
3793
4952
|
mode: "exclude";
|
|
4953
|
+
tools?: string[] | undefined;
|
|
3794
4954
|
} | undefined;
|
|
3795
4955
|
connectionTimeoutMs?: number | undefined;
|
|
3796
4956
|
}[] | undefined;
|
|
3797
|
-
config?: {
|
|
3798
|
-
thinking?: {
|
|
3799
|
-
provider: "anthropic" | "openai";
|
|
3800
|
-
budgetTokens?: number | undefined;
|
|
3801
|
-
reasoningEffort?: string | undefined;
|
|
3802
|
-
} | undefined;
|
|
3803
|
-
promptCaching?: {
|
|
3804
|
-
enabled: boolean;
|
|
3805
|
-
anthropic?: {
|
|
3806
|
-
ttl?: "5m" | "1h" | undefined;
|
|
3807
|
-
} | undefined;
|
|
3808
|
-
} | undefined;
|
|
3809
|
-
webSearch?: {
|
|
3810
|
-
enabled: boolean;
|
|
3811
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3812
|
-
credential?: string | undefined;
|
|
3813
|
-
} | undefined;
|
|
3814
|
-
toolCallConcurrency?: number | undefined;
|
|
3815
|
-
maxIterations?: number | undefined;
|
|
3816
|
-
} | undefined;
|
|
3817
|
-
}, {
|
|
3818
4957
|
model?: string | undefined;
|
|
3819
|
-
name?: string | undefined;
|
|
3820
|
-
credential?: string | undefined;
|
|
3821
4958
|
instructions?: string | undefined;
|
|
3822
4959
|
personalisation?: {
|
|
3823
4960
|
icon: string;
|
|
@@ -3835,12 +4972,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3835
4972
|
observationalMemory?: {
|
|
3836
4973
|
enabled?: boolean | undefined;
|
|
3837
4974
|
observerModel?: {
|
|
3838
|
-
model: string;
|
|
3839
4975
|
credential: string;
|
|
4976
|
+
model: string;
|
|
3840
4977
|
} | undefined;
|
|
3841
4978
|
reflectorModel?: {
|
|
3842
|
-
model: string;
|
|
3843
4979
|
credential: string;
|
|
4980
|
+
model: string;
|
|
3844
4981
|
} | undefined;
|
|
3845
4982
|
observerThresholdTokens?: number | undefined;
|
|
3846
4983
|
reflectorThresholdTokens?: number | undefined;
|
|
@@ -3854,12 +4991,12 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3854
4991
|
credential: string;
|
|
3855
4992
|
enabled: true;
|
|
3856
4993
|
reflectorModel?: {
|
|
3857
|
-
model: string;
|
|
3858
4994
|
credential: string;
|
|
4995
|
+
model: string;
|
|
3859
4996
|
} | undefined;
|
|
3860
4997
|
extractorModel?: {
|
|
3861
|
-
model: string;
|
|
3862
4998
|
credential: string;
|
|
4999
|
+
model: string;
|
|
3863
5000
|
} | undefined;
|
|
3864
5001
|
topK?: number | undefined;
|
|
3865
5002
|
maxEntriesPerRun?: number | undefined;
|
|
@@ -3873,55 +5010,23 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3873
5010
|
}[] | undefined;
|
|
3874
5011
|
modelsByDifficulty?: {
|
|
3875
5012
|
low?: {
|
|
3876
|
-
model: string;
|
|
3877
5013
|
credential: string;
|
|
5014
|
+
model: string;
|
|
3878
5015
|
} | undefined;
|
|
3879
5016
|
medium?: {
|
|
3880
|
-
model: string;
|
|
3881
5017
|
credential: string;
|
|
5018
|
+
model: string;
|
|
3882
5019
|
} | undefined;
|
|
3883
5020
|
high?: {
|
|
3884
|
-
model: string;
|
|
3885
5021
|
credential: string;
|
|
5022
|
+
model: string;
|
|
3886
5023
|
} | undefined;
|
|
3887
5024
|
} | undefined;
|
|
3888
5025
|
} | undefined;
|
|
3889
|
-
tools?: ({
|
|
3890
|
-
type: "custom";
|
|
3891
|
-
id: string;
|
|
3892
|
-
requireApproval?: boolean | undefined;
|
|
3893
|
-
} | {
|
|
3894
|
-
type: "workflow";
|
|
3895
|
-
workflow: string;
|
|
3896
|
-
description?: string | undefined;
|
|
3897
|
-
name?: string | undefined;
|
|
3898
|
-
requireApproval?: boolean | undefined;
|
|
3899
|
-
allOutputs?: boolean | undefined;
|
|
3900
|
-
} | {
|
|
3901
|
-
type: "node";
|
|
3902
|
-
name: string;
|
|
3903
|
-
node: {
|
|
3904
|
-
nodeType: string;
|
|
3905
|
-
nodeTypeVersion: number;
|
|
3906
|
-
nodeParameters?: Record<string, unknown> | undefined;
|
|
3907
|
-
credentials?: Record<string, {
|
|
3908
|
-
name: string;
|
|
3909
|
-
id: string;
|
|
3910
|
-
}> | undefined;
|
|
3911
|
-
};
|
|
3912
|
-
description?: string | undefined;
|
|
3913
|
-
requireApproval?: boolean | undefined;
|
|
3914
|
-
inputSchema?: undefined;
|
|
3915
|
-
})[] | undefined;
|
|
3916
5026
|
skills?: {
|
|
3917
5027
|
type: "skill";
|
|
3918
5028
|
id: string;
|
|
3919
5029
|
}[] | undefined;
|
|
3920
|
-
tasks?: {
|
|
3921
|
-
type: "task";
|
|
3922
|
-
enabled: boolean;
|
|
3923
|
-
id: string;
|
|
3924
|
-
}[] | undefined;
|
|
3925
5030
|
providerTools?: Record<string, Record<string, unknown>> | undefined;
|
|
3926
5031
|
integrations?: ({
|
|
3927
5032
|
type: "telegram";
|
|
@@ -3937,32 +5042,55 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3937
5042
|
type: "linear";
|
|
3938
5043
|
credentialId: string;
|
|
3939
5044
|
})[] | undefined;
|
|
3940
|
-
|
|
5045
|
+
vectorStores?: ({
|
|
5046
|
+
credential: string;
|
|
3941
5047
|
name: string;
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
}
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
5048
|
+
provider: "pinecone";
|
|
5049
|
+
useWhen: string;
|
|
5050
|
+
indexName: string;
|
|
5051
|
+
embedding: {
|
|
5052
|
+
credential: string;
|
|
5053
|
+
model: string;
|
|
5054
|
+
};
|
|
5055
|
+
namespace?: string | undefined;
|
|
5056
|
+
} | {
|
|
5057
|
+
credential: string;
|
|
5058
|
+
name: string;
|
|
5059
|
+
provider: "qdrant";
|
|
5060
|
+
useWhen: string;
|
|
5061
|
+
embedding: {
|
|
5062
|
+
credential: string;
|
|
5063
|
+
model: string;
|
|
5064
|
+
};
|
|
5065
|
+
collectionName: string;
|
|
5066
|
+
} | {
|
|
5067
|
+
credential: string;
|
|
5068
|
+
name: string;
|
|
5069
|
+
provider: "supabase";
|
|
5070
|
+
useWhen: string;
|
|
5071
|
+
embedding: {
|
|
5072
|
+
credential: string;
|
|
5073
|
+
model: string;
|
|
5074
|
+
};
|
|
5075
|
+
tableName: string;
|
|
5076
|
+
queryName?: string | undefined;
|
|
5077
|
+
} | {
|
|
5078
|
+
credential: string;
|
|
5079
|
+
name: string;
|
|
5080
|
+
provider: "postgres";
|
|
5081
|
+
useWhen: string;
|
|
5082
|
+
embedding: {
|
|
5083
|
+
credential: string;
|
|
5084
|
+
model: string;
|
|
5085
|
+
};
|
|
5086
|
+
tableName: string;
|
|
5087
|
+
})[] | undefined;
|
|
3965
5088
|
config?: {
|
|
5089
|
+
webSearch?: {
|
|
5090
|
+
enabled: boolean;
|
|
5091
|
+
credential?: string | undefined;
|
|
5092
|
+
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
5093
|
+
} | undefined;
|
|
3966
5094
|
thinking?: {
|
|
3967
5095
|
provider: "anthropic" | "openai";
|
|
3968
5096
|
budgetTokens?: number | undefined;
|
|
@@ -3974,11 +5102,6 @@ export declare const AgentJsonConfigPartialSchema: z.ZodObject<{
|
|
|
3974
5102
|
ttl?: "5m" | "1h" | undefined;
|
|
3975
5103
|
} | undefined;
|
|
3976
5104
|
} | undefined;
|
|
3977
|
-
webSearch?: {
|
|
3978
|
-
enabled: boolean;
|
|
3979
|
-
provider?: "auto" | "native" | "brave" | "searxng" | undefined;
|
|
3980
|
-
credential?: string | undefined;
|
|
3981
|
-
} | undefined;
|
|
3982
5105
|
toolCallConcurrency?: number | undefined;
|
|
3983
5106
|
maxIterations?: number | undefined;
|
|
3984
5107
|
} | undefined;
|
|
@@ -4003,6 +5126,8 @@ export type NodeToolConfig = z.infer<typeof NodeConfigSchema>;
|
|
|
4003
5126
|
export type AgentJsonMcpServerConfig = z.infer<typeof McpServerConfigSchema>;
|
|
4004
5127
|
export type McpAuthenticationSchemaType = z.infer<typeof McpAuthenticationSchemaTypes>;
|
|
4005
5128
|
export type SubAgentTaskDifficulty = z.infer<typeof SubAgentTaskDifficultySchema>;
|
|
5129
|
+
export type AgentVectorStoreProvider = (typeof AGENT_VECTOR_STORE_PROVIDERS)[number];
|
|
5130
|
+
export type AgentJsonVectorStoreConfig = z.infer<typeof AgentVectorStoreConfigSchema>;
|
|
4006
5131
|
export interface ConfigValidationError {
|
|
4007
5132
|
path: string;
|
|
4008
5133
|
message: string;
|
|
@@ -4016,5 +5141,6 @@ export declare function tryParseConfigJson(raw: string): {
|
|
|
4016
5141
|
ok: false;
|
|
4017
5142
|
errors: ConfigValidationError[];
|
|
4018
5143
|
};
|
|
5144
|
+
export declare function findVectorStoreToolNameCollisions(config: Pick<AgentJsonConfig, 'tools' | 'vectorStores'>): string[];
|
|
4019
5145
|
export declare function formatZodErrors(error: ZodError): ConfigValidationError[];
|
|
4020
5146
|
export {};
|