librechat-data-provider 0.8.522 → 0.8.524
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/{data-service-CaB7saTP.mjs → data-service-B-WUVvTH.mjs} +1044 -173
- package/dist/data-service-B-WUVvTH.mjs.map +1 -0
- package/dist/{data-service-D5kHzBt-.js → data-service-CUG1qdeC.js} +1426 -207
- package/dist/data-service-CUG1qdeC.js.map +1 -0
- package/dist/index.js +886 -74
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +780 -70
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +1 -1
- package/dist/react-query/index.mjs +1 -1
- package/dist/types/accessPermissions.d.ts +54 -1
- package/dist/types/actions.d.ts +1 -1
- package/dist/types/agentToolOptions.d.ts +1 -1
- package/dist/types/api-endpoints.d.ts +7 -0
- package/dist/types/backgroundResults.d.ts +13 -0
- package/dist/types/balance.d.ts +4 -0
- package/dist/types/bedrock.d.ts +132 -65
- package/dist/types/code/approval.d.ts +26 -0
- package/dist/types/code/worker.d.ts +10 -0
- package/dist/types/code/workspace.d.ts +50 -0
- package/dist/types/codeEnvRef.d.ts +5 -0
- package/dist/types/config.d.ts +5859 -2469
- package/dist/types/data-service.d.ts +22 -12
- package/dist/types/errors.d.ts +2 -0
- package/dist/types/file-config.d.ts +179 -12
- package/dist/types/filters.d.ts +97 -97
- package/dist/types/footer.d.ts +20 -0
- package/dist/types/generate.d.ts +48 -24
- package/dist/types/index.d.ts +11 -0
- package/dist/types/keys.d.ts +13 -2
- package/dist/types/limits.d.ts +8 -0
- package/dist/types/mcp.d.ts +683 -30
- package/dist/types/messages.d.ts +25 -1
- package/dist/types/models.d.ts +312 -183
- package/dist/types/parameterSettings.d.ts +10 -1
- package/dist/types/parsers.d.ts +25 -1
- package/dist/types/providers.d.ts +1 -0
- package/dist/types/resolve-llm-delivery-path.d.ts +161 -0
- package/dist/types/schemas.d.ts +771 -457
- package/dist/types/svg.d.ts +34 -0
- package/dist/types/types/agents.d.ts +257 -2
- package/dist/types/types/assistants.d.ts +2 -617
- package/dist/types/types/content.d.ts +286 -0
- package/dist/types/types/files.d.ts +48 -1
- package/dist/types/types/insights.d.ts +9 -0
- package/dist/types/types/mutations.d.ts +3 -2
- package/dist/types/types/queries.d.ts +8 -1
- package/dist/types/types/queuedTurns.d.ts +140 -106
- package/dist/types/types/runs.d.ts +33 -5
- package/dist/types/types/schedules.d.ts +40 -7
- package/dist/types/types/skills.d.ts +43 -0
- package/dist/types/types/tools.d.ts +132 -0
- package/dist/types/types/traces.d.ts +134 -0
- package/dist/types/types.d.ts +72 -2
- package/package.json +2 -2
- package/dist/data-service-CaB7saTP.mjs.map +0 -1
- package/dist/data-service-D5kHzBt-.js.map +0 -1
package/dist/types/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { AgentSubagentsConfig } from './types/
|
|
2
|
+
import type { AgentSubagentsConfig } from './types/agents';
|
|
3
3
|
import type { TModelSpecPreset } from './schemas';
|
|
4
4
|
import { EModelEndpoint, AuthType } from './schemas';
|
|
5
5
|
type ModelSpecSubagentsConfig = Omit<AgentSubagentsConfig, 'graphs'>;
|
|
@@ -77,22 +77,27 @@ export type TModelSpec = {
|
|
|
77
77
|
export declare const modelSpecSubagentsSchema: z.ZodEffects<z.ZodObject<{
|
|
78
78
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
79
79
|
allowSelf: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
shareFiles: z.ZodOptional<z.ZodBoolean>;
|
|
80
81
|
agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
82
|
}, "strip", z.ZodTypeAny, {
|
|
82
83
|
enabled?: boolean | undefined;
|
|
83
84
|
allowSelf?: boolean | undefined;
|
|
85
|
+
shareFiles?: boolean | undefined;
|
|
84
86
|
agent_ids?: string[] | undefined;
|
|
85
87
|
}, {
|
|
86
88
|
enabled?: boolean | undefined;
|
|
87
89
|
allowSelf?: boolean | undefined;
|
|
90
|
+
shareFiles?: boolean | undefined;
|
|
88
91
|
agent_ids?: string[] | undefined;
|
|
89
92
|
}>, {
|
|
90
93
|
enabled?: boolean | undefined;
|
|
91
94
|
allowSelf?: boolean | undefined;
|
|
95
|
+
shareFiles?: boolean | undefined;
|
|
92
96
|
agent_ids?: string[] | undefined;
|
|
93
97
|
}, {
|
|
94
98
|
enabled?: boolean | undefined;
|
|
95
99
|
allowSelf?: boolean | undefined;
|
|
100
|
+
shareFiles?: boolean | undefined;
|
|
96
101
|
agent_ids?: string[] | undefined;
|
|
97
102
|
}>;
|
|
98
103
|
/**
|
|
@@ -129,11 +134,30 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
129
134
|
name: z.ZodString;
|
|
130
135
|
label: z.ZodString;
|
|
131
136
|
preset: z.ZodEffects<z.ZodObject<{
|
|
137
|
+
system: z.ZodOptional<z.ZodString>;
|
|
138
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
140
|
+
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
141
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
142
|
+
artifacts: z.ZodOptional<z.ZodString>;
|
|
143
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
132
144
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
145
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
134
146
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
147
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
136
148
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
150
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
151
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
+
environmentId: z.ZodString;
|
|
153
|
+
workspaceId: z.ZodString;
|
|
154
|
+
}, "strict", z.ZodTypeAny, {
|
|
155
|
+
environmentId: string;
|
|
156
|
+
workspaceId: string;
|
|
157
|
+
}, {
|
|
158
|
+
environmentId: string;
|
|
159
|
+
workspaceId: string;
|
|
160
|
+
}>, "many">>;
|
|
137
161
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
138
162
|
name: z.ZodString;
|
|
139
163
|
pluginKey: z.ZodString;
|
|
@@ -147,14 +171,14 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
147
171
|
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
148
172
|
}, "strip", z.ZodTypeAny, {
|
|
149
173
|
description: string;
|
|
150
|
-
authField: string;
|
|
151
174
|
label: string;
|
|
175
|
+
authField: string;
|
|
152
176
|
optional?: boolean | undefined;
|
|
153
177
|
sensitive?: boolean | undefined;
|
|
154
178
|
}, {
|
|
155
179
|
description: string;
|
|
156
|
-
authField: string;
|
|
157
180
|
label: string;
|
|
181
|
+
authField: string;
|
|
158
182
|
optional?: boolean | undefined;
|
|
159
183
|
sensitive?: boolean | undefined;
|
|
160
184
|
}>, "many">>;
|
|
@@ -170,8 +194,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
170
194
|
icon?: string | undefined;
|
|
171
195
|
authConfig?: {
|
|
172
196
|
description: string;
|
|
173
|
-
authField: string;
|
|
174
197
|
label: string;
|
|
198
|
+
authField: string;
|
|
175
199
|
optional?: boolean | undefined;
|
|
176
200
|
sensitive?: boolean | undefined;
|
|
177
201
|
}[] | undefined;
|
|
@@ -187,8 +211,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
187
211
|
icon?: string | undefined;
|
|
188
212
|
authConfig?: {
|
|
189
213
|
description: string;
|
|
190
|
-
authField: string;
|
|
191
214
|
label: string;
|
|
215
|
+
authField: string;
|
|
192
216
|
optional?: boolean | undefined;
|
|
193
217
|
sensitive?: boolean | undefined;
|
|
194
218
|
}[] | undefined;
|
|
@@ -212,13 +236,10 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
212
236
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
213
237
|
promptCache: z.ZodOptional<z.ZodBoolean>;
|
|
214
238
|
promptCacheTtl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
215
|
-
system: z.ZodOptional<z.ZodString>;
|
|
216
239
|
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
217
240
|
thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
218
241
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingLevel>>;
|
|
219
242
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
220
|
-
artifacts: z.ZodOptional<z.ZodString>;
|
|
221
|
-
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
243
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
244
|
input: z.ZodObject<{
|
|
224
245
|
content: z.ZodString;
|
|
@@ -235,19 +256,19 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
235
256
|
content: string;
|
|
236
257
|
}>;
|
|
237
258
|
}, "strip", z.ZodTypeAny, {
|
|
238
|
-
input: {
|
|
239
|
-
content: string;
|
|
240
|
-
};
|
|
241
259
|
output: {
|
|
242
260
|
content: string;
|
|
243
261
|
};
|
|
244
|
-
}, {
|
|
245
262
|
input: {
|
|
246
263
|
content: string;
|
|
247
264
|
};
|
|
265
|
+
}, {
|
|
248
266
|
output: {
|
|
249
267
|
content: string;
|
|
250
268
|
};
|
|
269
|
+
input: {
|
|
270
|
+
content: string;
|
|
271
|
+
};
|
|
251
272
|
}>, "many">>;
|
|
252
273
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
253
274
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ImageDetail>>;
|
|
@@ -343,23 +364,32 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
343
364
|
} | null)[] | {
|
|
344
365
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
345
366
|
} | null>>;
|
|
346
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
347
|
-
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
348
367
|
append_current_datetime: z.ZodOptional<z.ZodBoolean>;
|
|
349
|
-
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
350
|
-
greeting: z.ZodOptional<z.ZodString>;
|
|
351
368
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
352
369
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
353
370
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
354
371
|
} & {
|
|
355
372
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
|
|
356
373
|
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
system?: string | undefined;
|
|
375
|
+
context?: string | null | undefined;
|
|
376
|
+
instructions?: string | undefined;
|
|
377
|
+
additional_instructions?: string | undefined;
|
|
378
|
+
greeting?: string | undefined;
|
|
379
|
+
artifacts?: string | undefined;
|
|
380
|
+
stop?: string[] | undefined;
|
|
357
381
|
model?: string | null | undefined;
|
|
358
382
|
endpoint?: string | null | undefined;
|
|
359
383
|
endpointType?: EModelEndpoint | null | undefined;
|
|
360
384
|
archivedAt?: string | null | undefined;
|
|
361
385
|
pinned?: boolean | undefined;
|
|
362
386
|
isShared?: boolean | undefined;
|
|
387
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
388
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
389
|
+
codeWorkspaces?: {
|
|
390
|
+
environmentId: string;
|
|
391
|
+
workspaceId: string;
|
|
392
|
+
}[] | undefined;
|
|
363
393
|
tools?: string[] | {
|
|
364
394
|
name: string;
|
|
365
395
|
pluginKey: string;
|
|
@@ -367,8 +397,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
367
397
|
icon?: string | undefined;
|
|
368
398
|
authConfig?: {
|
|
369
399
|
description: string;
|
|
370
|
-
authField: string;
|
|
371
400
|
label: string;
|
|
401
|
+
authField: string;
|
|
372
402
|
optional?: boolean | undefined;
|
|
373
403
|
sensitive?: boolean | undefined;
|
|
374
404
|
}[] | undefined;
|
|
@@ -392,18 +422,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
392
422
|
max_tokens?: number | undefined;
|
|
393
423
|
promptCache?: boolean | undefined;
|
|
394
424
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
395
|
-
system?: string | undefined;
|
|
396
425
|
thinking?: boolean | undefined;
|
|
397
426
|
thinkingBudget?: number | undefined;
|
|
398
427
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
399
428
|
stream?: boolean | undefined;
|
|
400
|
-
artifacts?: string | undefined;
|
|
401
|
-
context?: string | null | undefined;
|
|
402
429
|
examples?: {
|
|
403
|
-
|
|
430
|
+
output: {
|
|
404
431
|
content: string;
|
|
405
432
|
};
|
|
406
|
-
|
|
433
|
+
input: {
|
|
407
434
|
content: string;
|
|
408
435
|
};
|
|
409
436
|
}[] | undefined;
|
|
@@ -459,21 +486,30 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
459
486
|
} | null)[] | {
|
|
460
487
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
461
488
|
} | null) | undefined;
|
|
462
|
-
instructions?: string | undefined;
|
|
463
|
-
additional_instructions?: string | undefined;
|
|
464
489
|
append_current_datetime?: boolean | undefined;
|
|
465
|
-
stop?: string[] | undefined;
|
|
466
|
-
greeting?: string | undefined;
|
|
467
490
|
iconURL?: string | null | undefined;
|
|
468
491
|
isTemporary?: boolean | undefined;
|
|
469
492
|
fileTokenLimit?: number | undefined;
|
|
470
493
|
}, {
|
|
494
|
+
system?: string | undefined;
|
|
495
|
+
context?: string | null | undefined;
|
|
496
|
+
instructions?: string | undefined;
|
|
497
|
+
additional_instructions?: string | undefined;
|
|
498
|
+
greeting?: string | undefined;
|
|
499
|
+
artifacts?: string | undefined;
|
|
500
|
+
stop?: string[] | undefined;
|
|
471
501
|
model?: string | null | undefined;
|
|
472
502
|
endpoint?: string | null | undefined;
|
|
473
503
|
endpointType?: EModelEndpoint | null | undefined;
|
|
474
504
|
archivedAt?: string | null | undefined;
|
|
475
505
|
pinned?: boolean | undefined;
|
|
476
506
|
isShared?: boolean | undefined;
|
|
507
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
508
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
509
|
+
codeWorkspaces?: {
|
|
510
|
+
environmentId: string;
|
|
511
|
+
workspaceId: string;
|
|
512
|
+
}[] | undefined;
|
|
477
513
|
tools?: string[] | {
|
|
478
514
|
name: string;
|
|
479
515
|
pluginKey: string;
|
|
@@ -481,8 +517,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
481
517
|
icon?: string | undefined;
|
|
482
518
|
authConfig?: {
|
|
483
519
|
description: string;
|
|
484
|
-
authField: string;
|
|
485
520
|
label: string;
|
|
521
|
+
authField: string;
|
|
486
522
|
optional?: boolean | undefined;
|
|
487
523
|
sensitive?: boolean | undefined;
|
|
488
524
|
}[] | undefined;
|
|
@@ -506,18 +542,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
506
542
|
max_tokens?: string | number | undefined;
|
|
507
543
|
promptCache?: boolean | undefined;
|
|
508
544
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
509
|
-
system?: string | undefined;
|
|
510
545
|
thinking?: boolean | undefined;
|
|
511
546
|
thinkingBudget?: string | number | undefined;
|
|
512
547
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
513
548
|
stream?: boolean | undefined;
|
|
514
|
-
artifacts?: string | undefined;
|
|
515
|
-
context?: string | null | undefined;
|
|
516
549
|
examples?: {
|
|
517
|
-
|
|
550
|
+
output: {
|
|
518
551
|
content: string;
|
|
519
552
|
};
|
|
520
|
-
|
|
553
|
+
input: {
|
|
521
554
|
content: string;
|
|
522
555
|
};
|
|
523
556
|
}[] | undefined;
|
|
@@ -573,21 +606,30 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
573
606
|
} | null)[] | {
|
|
574
607
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
575
608
|
} | null) | undefined;
|
|
576
|
-
instructions?: string | undefined;
|
|
577
|
-
additional_instructions?: string | undefined;
|
|
578
609
|
append_current_datetime?: boolean | undefined;
|
|
579
|
-
stop?: string[] | undefined;
|
|
580
|
-
greeting?: string | undefined;
|
|
581
610
|
iconURL?: string | null | undefined;
|
|
582
611
|
isTemporary?: boolean | undefined;
|
|
583
612
|
fileTokenLimit?: string | number | undefined;
|
|
584
613
|
}>, {
|
|
614
|
+
system?: string | undefined;
|
|
615
|
+
context?: string | null | undefined;
|
|
616
|
+
instructions?: string | undefined;
|
|
617
|
+
additional_instructions?: string | undefined;
|
|
618
|
+
greeting?: string | undefined;
|
|
619
|
+
artifacts?: string | undefined;
|
|
620
|
+
stop?: string[] | undefined;
|
|
585
621
|
model?: string | null | undefined;
|
|
586
622
|
endpoint?: string | null | undefined;
|
|
587
623
|
endpointType?: EModelEndpoint | null | undefined;
|
|
588
624
|
archivedAt?: string | null | undefined;
|
|
589
625
|
pinned?: boolean | undefined;
|
|
590
626
|
isShared?: boolean | undefined;
|
|
627
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
628
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
629
|
+
codeWorkspaces?: {
|
|
630
|
+
environmentId: string;
|
|
631
|
+
workspaceId: string;
|
|
632
|
+
}[] | undefined;
|
|
591
633
|
tools?: string[] | {
|
|
592
634
|
name: string;
|
|
593
635
|
pluginKey: string;
|
|
@@ -595,8 +637,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
595
637
|
icon?: string | undefined;
|
|
596
638
|
authConfig?: {
|
|
597
639
|
description: string;
|
|
598
|
-
authField: string;
|
|
599
640
|
label: string;
|
|
641
|
+
authField: string;
|
|
600
642
|
optional?: boolean | undefined;
|
|
601
643
|
sensitive?: boolean | undefined;
|
|
602
644
|
}[] | undefined;
|
|
@@ -620,18 +662,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
620
662
|
max_tokens?: number | undefined;
|
|
621
663
|
promptCache?: boolean | undefined;
|
|
622
664
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
623
|
-
system?: string | undefined;
|
|
624
665
|
thinking?: boolean | undefined;
|
|
625
666
|
thinkingBudget?: number | undefined;
|
|
626
667
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
627
668
|
stream?: boolean | undefined;
|
|
628
|
-
artifacts?: string | undefined;
|
|
629
|
-
context?: string | null | undefined;
|
|
630
669
|
examples?: {
|
|
631
|
-
|
|
670
|
+
output: {
|
|
632
671
|
content: string;
|
|
633
672
|
};
|
|
634
|
-
|
|
673
|
+
input: {
|
|
635
674
|
content: string;
|
|
636
675
|
};
|
|
637
676
|
}[] | undefined;
|
|
@@ -687,21 +726,30 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
687
726
|
} | null)[] | {
|
|
688
727
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
689
728
|
} | null) | undefined;
|
|
690
|
-
instructions?: string | undefined;
|
|
691
|
-
additional_instructions?: string | undefined;
|
|
692
729
|
append_current_datetime?: boolean | undefined;
|
|
693
|
-
stop?: string[] | undefined;
|
|
694
|
-
greeting?: string | undefined;
|
|
695
730
|
iconURL?: string | null | undefined;
|
|
696
731
|
isTemporary?: boolean | undefined;
|
|
697
732
|
fileTokenLimit?: number | undefined;
|
|
698
733
|
}, {
|
|
734
|
+
system?: string | undefined;
|
|
735
|
+
context?: string | null | undefined;
|
|
736
|
+
instructions?: string | undefined;
|
|
737
|
+
additional_instructions?: string | undefined;
|
|
738
|
+
greeting?: string | undefined;
|
|
739
|
+
artifacts?: string | undefined;
|
|
740
|
+
stop?: string[] | undefined;
|
|
699
741
|
model?: string | null | undefined;
|
|
700
742
|
endpoint?: string | null | undefined;
|
|
701
743
|
endpointType?: EModelEndpoint | null | undefined;
|
|
702
744
|
archivedAt?: string | null | undefined;
|
|
703
745
|
pinned?: boolean | undefined;
|
|
704
746
|
isShared?: boolean | undefined;
|
|
747
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
748
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
749
|
+
codeWorkspaces?: {
|
|
750
|
+
environmentId: string;
|
|
751
|
+
workspaceId: string;
|
|
752
|
+
}[] | undefined;
|
|
705
753
|
tools?: string[] | {
|
|
706
754
|
name: string;
|
|
707
755
|
pluginKey: string;
|
|
@@ -709,8 +757,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
709
757
|
icon?: string | undefined;
|
|
710
758
|
authConfig?: {
|
|
711
759
|
description: string;
|
|
712
|
-
authField: string;
|
|
713
760
|
label: string;
|
|
761
|
+
authField: string;
|
|
714
762
|
optional?: boolean | undefined;
|
|
715
763
|
sensitive?: boolean | undefined;
|
|
716
764
|
}[] | undefined;
|
|
@@ -734,18 +782,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
734
782
|
max_tokens?: string | number | undefined;
|
|
735
783
|
promptCache?: boolean | undefined;
|
|
736
784
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
737
|
-
system?: string | undefined;
|
|
738
785
|
thinking?: boolean | undefined;
|
|
739
786
|
thinkingBudget?: string | number | undefined;
|
|
740
787
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
741
788
|
stream?: boolean | undefined;
|
|
742
|
-
artifacts?: string | undefined;
|
|
743
|
-
context?: string | null | undefined;
|
|
744
789
|
examples?: {
|
|
745
|
-
|
|
790
|
+
output: {
|
|
746
791
|
content: string;
|
|
747
792
|
};
|
|
748
|
-
|
|
793
|
+
input: {
|
|
749
794
|
content: string;
|
|
750
795
|
};
|
|
751
796
|
}[] | undefined;
|
|
@@ -801,11 +846,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
801
846
|
} | null)[] | {
|
|
802
847
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
803
848
|
} | null) | undefined;
|
|
804
|
-
instructions?: string | undefined;
|
|
805
|
-
additional_instructions?: string | undefined;
|
|
806
849
|
append_current_datetime?: boolean | undefined;
|
|
807
|
-
stop?: string[] | undefined;
|
|
808
|
-
greeting?: string | undefined;
|
|
809
850
|
iconURL?: string | null | undefined;
|
|
810
851
|
isTemporary?: boolean | undefined;
|
|
811
852
|
fileTokenLimit?: string | number | undefined;
|
|
@@ -837,34 +878,52 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
837
878
|
subagents: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
838
879
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
839
880
|
allowSelf: z.ZodOptional<z.ZodBoolean>;
|
|
881
|
+
shareFiles: z.ZodOptional<z.ZodBoolean>;
|
|
840
882
|
agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
841
883
|
}, "strip", z.ZodTypeAny, {
|
|
842
884
|
enabled?: boolean | undefined;
|
|
843
885
|
allowSelf?: boolean | undefined;
|
|
886
|
+
shareFiles?: boolean | undefined;
|
|
844
887
|
agent_ids?: string[] | undefined;
|
|
845
888
|
}, {
|
|
846
889
|
enabled?: boolean | undefined;
|
|
847
890
|
allowSelf?: boolean | undefined;
|
|
891
|
+
shareFiles?: boolean | undefined;
|
|
848
892
|
agent_ids?: string[] | undefined;
|
|
849
893
|
}>, {
|
|
850
894
|
enabled?: boolean | undefined;
|
|
851
895
|
allowSelf?: boolean | undefined;
|
|
896
|
+
shareFiles?: boolean | undefined;
|
|
852
897
|
agent_ids?: string[] | undefined;
|
|
853
898
|
}, {
|
|
854
899
|
enabled?: boolean | undefined;
|
|
855
900
|
allowSelf?: boolean | undefined;
|
|
901
|
+
shareFiles?: boolean | undefined;
|
|
856
902
|
agent_ids?: string[] | undefined;
|
|
857
903
|
}>>;
|
|
858
904
|
}, "strip", z.ZodTypeAny, {
|
|
859
905
|
name: string;
|
|
860
906
|
label: string;
|
|
861
907
|
preset: {
|
|
908
|
+
system?: string | undefined;
|
|
909
|
+
context?: string | null | undefined;
|
|
910
|
+
instructions?: string | undefined;
|
|
911
|
+
additional_instructions?: string | undefined;
|
|
912
|
+
greeting?: string | undefined;
|
|
913
|
+
artifacts?: string | undefined;
|
|
914
|
+
stop?: string[] | undefined;
|
|
862
915
|
model?: string | null | undefined;
|
|
863
916
|
endpoint?: string | null | undefined;
|
|
864
917
|
endpointType?: EModelEndpoint | null | undefined;
|
|
865
918
|
archivedAt?: string | null | undefined;
|
|
866
919
|
pinned?: boolean | undefined;
|
|
867
920
|
isShared?: boolean | undefined;
|
|
921
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
922
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
923
|
+
codeWorkspaces?: {
|
|
924
|
+
environmentId: string;
|
|
925
|
+
workspaceId: string;
|
|
926
|
+
}[] | undefined;
|
|
868
927
|
tools?: string[] | {
|
|
869
928
|
name: string;
|
|
870
929
|
pluginKey: string;
|
|
@@ -872,8 +931,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
872
931
|
icon?: string | undefined;
|
|
873
932
|
authConfig?: {
|
|
874
933
|
description: string;
|
|
875
|
-
authField: string;
|
|
876
934
|
label: string;
|
|
935
|
+
authField: string;
|
|
877
936
|
optional?: boolean | undefined;
|
|
878
937
|
sensitive?: boolean | undefined;
|
|
879
938
|
}[] | undefined;
|
|
@@ -897,18 +956,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
897
956
|
max_tokens?: number | undefined;
|
|
898
957
|
promptCache?: boolean | undefined;
|
|
899
958
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
900
|
-
system?: string | undefined;
|
|
901
959
|
thinking?: boolean | undefined;
|
|
902
960
|
thinkingBudget?: number | undefined;
|
|
903
961
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
904
962
|
stream?: boolean | undefined;
|
|
905
|
-
artifacts?: string | undefined;
|
|
906
|
-
context?: string | null | undefined;
|
|
907
963
|
examples?: {
|
|
908
|
-
|
|
964
|
+
output: {
|
|
909
965
|
content: string;
|
|
910
966
|
};
|
|
911
|
-
|
|
967
|
+
input: {
|
|
912
968
|
content: string;
|
|
913
969
|
};
|
|
914
970
|
}[] | undefined;
|
|
@@ -964,22 +1020,18 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
964
1020
|
} | null)[] | {
|
|
965
1021
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
966
1022
|
} | null) | undefined;
|
|
967
|
-
instructions?: string | undefined;
|
|
968
|
-
additional_instructions?: string | undefined;
|
|
969
1023
|
append_current_datetime?: boolean | undefined;
|
|
970
|
-
stop?: string[] | undefined;
|
|
971
|
-
greeting?: string | undefined;
|
|
972
1024
|
iconURL?: string | null | undefined;
|
|
973
1025
|
isTemporary?: boolean | undefined;
|
|
974
1026
|
fileTokenLimit?: number | undefined;
|
|
975
1027
|
};
|
|
976
1028
|
group?: string | undefined;
|
|
977
1029
|
description?: string | undefined;
|
|
978
|
-
default?: boolean | undefined;
|
|
979
1030
|
artifacts?: string | boolean | undefined;
|
|
1031
|
+
skills?: boolean | string[] | undefined;
|
|
980
1032
|
iconURL?: string | undefined;
|
|
981
1033
|
order?: number | undefined;
|
|
982
|
-
|
|
1034
|
+
default?: boolean | undefined;
|
|
983
1035
|
softDefault?: boolean | undefined;
|
|
984
1036
|
groupIcon?: string | undefined;
|
|
985
1037
|
showIconInMenu?: boolean | undefined;
|
|
@@ -1000,18 +1052,32 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
1000
1052
|
subagents?: {
|
|
1001
1053
|
enabled?: boolean | undefined;
|
|
1002
1054
|
allowSelf?: boolean | undefined;
|
|
1055
|
+
shareFiles?: boolean | undefined;
|
|
1003
1056
|
agent_ids?: string[] | undefined;
|
|
1004
1057
|
} | undefined;
|
|
1005
1058
|
}, {
|
|
1006
1059
|
name: string;
|
|
1007
1060
|
label: string;
|
|
1008
1061
|
preset: {
|
|
1062
|
+
system?: string | undefined;
|
|
1063
|
+
context?: string | null | undefined;
|
|
1064
|
+
instructions?: string | undefined;
|
|
1065
|
+
additional_instructions?: string | undefined;
|
|
1066
|
+
greeting?: string | undefined;
|
|
1067
|
+
artifacts?: string | undefined;
|
|
1068
|
+
stop?: string[] | undefined;
|
|
1009
1069
|
model?: string | null | undefined;
|
|
1010
1070
|
endpoint?: string | null | undefined;
|
|
1011
1071
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1012
1072
|
archivedAt?: string | null | undefined;
|
|
1013
1073
|
pinned?: boolean | undefined;
|
|
1014
1074
|
isShared?: boolean | undefined;
|
|
1075
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1076
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1077
|
+
codeWorkspaces?: {
|
|
1078
|
+
environmentId: string;
|
|
1079
|
+
workspaceId: string;
|
|
1080
|
+
}[] | undefined;
|
|
1015
1081
|
tools?: string[] | {
|
|
1016
1082
|
name: string;
|
|
1017
1083
|
pluginKey: string;
|
|
@@ -1019,8 +1085,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
1019
1085
|
icon?: string | undefined;
|
|
1020
1086
|
authConfig?: {
|
|
1021
1087
|
description: string;
|
|
1022
|
-
authField: string;
|
|
1023
1088
|
label: string;
|
|
1089
|
+
authField: string;
|
|
1024
1090
|
optional?: boolean | undefined;
|
|
1025
1091
|
sensitive?: boolean | undefined;
|
|
1026
1092
|
}[] | undefined;
|
|
@@ -1044,18 +1110,15 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
1044
1110
|
max_tokens?: string | number | undefined;
|
|
1045
1111
|
promptCache?: boolean | undefined;
|
|
1046
1112
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1047
|
-
system?: string | undefined;
|
|
1048
1113
|
thinking?: boolean | undefined;
|
|
1049
1114
|
thinkingBudget?: string | number | undefined;
|
|
1050
1115
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1051
1116
|
stream?: boolean | undefined;
|
|
1052
|
-
artifacts?: string | undefined;
|
|
1053
|
-
context?: string | null | undefined;
|
|
1054
1117
|
examples?: {
|
|
1055
|
-
|
|
1118
|
+
output: {
|
|
1056
1119
|
content: string;
|
|
1057
1120
|
};
|
|
1058
|
-
|
|
1121
|
+
input: {
|
|
1059
1122
|
content: string;
|
|
1060
1123
|
};
|
|
1061
1124
|
}[] | undefined;
|
|
@@ -1111,22 +1174,18 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
1111
1174
|
} | null)[] | {
|
|
1112
1175
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1113
1176
|
} | null) | undefined;
|
|
1114
|
-
instructions?: string | undefined;
|
|
1115
|
-
additional_instructions?: string | undefined;
|
|
1116
1177
|
append_current_datetime?: boolean | undefined;
|
|
1117
|
-
stop?: string[] | undefined;
|
|
1118
|
-
greeting?: string | undefined;
|
|
1119
1178
|
iconURL?: string | null | undefined;
|
|
1120
1179
|
isTemporary?: boolean | undefined;
|
|
1121
1180
|
fileTokenLimit?: string | number | undefined;
|
|
1122
1181
|
};
|
|
1123
1182
|
group?: string | undefined;
|
|
1124
1183
|
description?: string | undefined;
|
|
1125
|
-
default?: boolean | undefined;
|
|
1126
1184
|
artifacts?: string | boolean | undefined;
|
|
1185
|
+
skills?: boolean | string[] | undefined;
|
|
1127
1186
|
iconURL?: string | undefined;
|
|
1128
1187
|
order?: number | undefined;
|
|
1129
|
-
|
|
1188
|
+
default?: boolean | undefined;
|
|
1130
1189
|
softDefault?: boolean | undefined;
|
|
1131
1190
|
groupIcon?: string | undefined;
|
|
1132
1191
|
showIconInMenu?: boolean | undefined;
|
|
@@ -1147,6 +1206,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
1147
1206
|
subagents?: {
|
|
1148
1207
|
enabled?: boolean | undefined;
|
|
1149
1208
|
allowSelf?: boolean | undefined;
|
|
1209
|
+
shareFiles?: boolean | undefined;
|
|
1150
1210
|
agent_ids?: string[] | undefined;
|
|
1151
1211
|
} | undefined;
|
|
1152
1212
|
}>;
|
|
@@ -1157,11 +1217,30 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1157
1217
|
name: z.ZodString;
|
|
1158
1218
|
label: z.ZodString;
|
|
1159
1219
|
preset: z.ZodEffects<z.ZodObject<{
|
|
1220
|
+
system: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1222
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
1224
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
artifacts: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1160
1227
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1161
1228
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1162
1229
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
1230
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1164
1231
|
isShared: z.ZodOptional<z.ZodBoolean>;
|
|
1232
|
+
codeApprovalMode: z.ZodOptional<z.ZodEnum<["ask", "acceptEdits", "fullAccess"]>>;
|
|
1233
|
+
codeEnvironmentMode: z.ZodOptional<z.ZodEnum<["attached", "without_attached"]>>;
|
|
1234
|
+
codeWorkspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1235
|
+
environmentId: z.ZodString;
|
|
1236
|
+
workspaceId: z.ZodString;
|
|
1237
|
+
}, "strict", z.ZodTypeAny, {
|
|
1238
|
+
environmentId: string;
|
|
1239
|
+
workspaceId: string;
|
|
1240
|
+
}, {
|
|
1241
|
+
environmentId: string;
|
|
1242
|
+
workspaceId: string;
|
|
1243
|
+
}>, "many">>;
|
|
1165
1244
|
tools: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
1166
1245
|
name: z.ZodString;
|
|
1167
1246
|
pluginKey: z.ZodString;
|
|
@@ -1175,14 +1254,14 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1175
1254
|
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1176
1255
|
}, "strip", z.ZodTypeAny, {
|
|
1177
1256
|
description: string;
|
|
1178
|
-
authField: string;
|
|
1179
1257
|
label: string;
|
|
1258
|
+
authField: string;
|
|
1180
1259
|
optional?: boolean | undefined;
|
|
1181
1260
|
sensitive?: boolean | undefined;
|
|
1182
1261
|
}, {
|
|
1183
1262
|
description: string;
|
|
1184
|
-
authField: string;
|
|
1185
1263
|
label: string;
|
|
1264
|
+
authField: string;
|
|
1186
1265
|
optional?: boolean | undefined;
|
|
1187
1266
|
sensitive?: boolean | undefined;
|
|
1188
1267
|
}>, "many">>;
|
|
@@ -1198,8 +1277,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1198
1277
|
icon?: string | undefined;
|
|
1199
1278
|
authConfig?: {
|
|
1200
1279
|
description: string;
|
|
1201
|
-
authField: string;
|
|
1202
1280
|
label: string;
|
|
1281
|
+
authField: string;
|
|
1203
1282
|
optional?: boolean | undefined;
|
|
1204
1283
|
sensitive?: boolean | undefined;
|
|
1205
1284
|
}[] | undefined;
|
|
@@ -1215,8 +1294,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1215
1294
|
icon?: string | undefined;
|
|
1216
1295
|
authConfig?: {
|
|
1217
1296
|
description: string;
|
|
1218
|
-
authField: string;
|
|
1219
1297
|
label: string;
|
|
1298
|
+
authField: string;
|
|
1220
1299
|
optional?: boolean | undefined;
|
|
1221
1300
|
sensitive?: boolean | undefined;
|
|
1222
1301
|
}[] | undefined;
|
|
@@ -1240,13 +1319,10 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1240
1319
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1241
1320
|
promptCache: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1321
|
promptCacheTtl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
1243
|
-
system: z.ZodOptional<z.ZodString>;
|
|
1244
1322
|
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1245
1323
|
thinkingBudget: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1246
1324
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingLevel>>;
|
|
1247
1325
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1248
|
-
artifacts: z.ZodOptional<z.ZodString>;
|
|
1249
|
-
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1250
1326
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1251
1327
|
input: z.ZodObject<{
|
|
1252
1328
|
content: z.ZodString;
|
|
@@ -1263,19 +1339,19 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1263
1339
|
content: string;
|
|
1264
1340
|
}>;
|
|
1265
1341
|
}, "strip", z.ZodTypeAny, {
|
|
1266
|
-
input: {
|
|
1267
|
-
content: string;
|
|
1268
|
-
};
|
|
1269
1342
|
output: {
|
|
1270
1343
|
content: string;
|
|
1271
1344
|
};
|
|
1272
|
-
}, {
|
|
1273
1345
|
input: {
|
|
1274
1346
|
content: string;
|
|
1275
1347
|
};
|
|
1348
|
+
}, {
|
|
1276
1349
|
output: {
|
|
1277
1350
|
content: string;
|
|
1278
1351
|
};
|
|
1352
|
+
input: {
|
|
1353
|
+
content: string;
|
|
1354
|
+
};
|
|
1279
1355
|
}>, "many">>;
|
|
1280
1356
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1281
1357
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ImageDetail>>;
|
|
@@ -1371,23 +1447,32 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1371
1447
|
} | null)[] | {
|
|
1372
1448
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1373
1449
|
} | null>>;
|
|
1374
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
1376
1450
|
append_current_datetime: z.ZodOptional<z.ZodBoolean>;
|
|
1377
|
-
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1378
|
-
greeting: z.ZodOptional<z.ZodString>;
|
|
1379
1451
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1380
1452
|
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
1381
1453
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1382
1454
|
} & {
|
|
1383
1455
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>>;
|
|
1384
1456
|
}, "strip", z.ZodTypeAny, {
|
|
1457
|
+
system?: string | undefined;
|
|
1458
|
+
context?: string | null | undefined;
|
|
1459
|
+
instructions?: string | undefined;
|
|
1460
|
+
additional_instructions?: string | undefined;
|
|
1461
|
+
greeting?: string | undefined;
|
|
1462
|
+
artifacts?: string | undefined;
|
|
1463
|
+
stop?: string[] | undefined;
|
|
1385
1464
|
model?: string | null | undefined;
|
|
1386
1465
|
endpoint?: string | null | undefined;
|
|
1387
1466
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1388
1467
|
archivedAt?: string | null | undefined;
|
|
1389
1468
|
pinned?: boolean | undefined;
|
|
1390
1469
|
isShared?: boolean | undefined;
|
|
1470
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1471
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1472
|
+
codeWorkspaces?: {
|
|
1473
|
+
environmentId: string;
|
|
1474
|
+
workspaceId: string;
|
|
1475
|
+
}[] | undefined;
|
|
1391
1476
|
tools?: string[] | {
|
|
1392
1477
|
name: string;
|
|
1393
1478
|
pluginKey: string;
|
|
@@ -1395,8 +1480,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1395
1480
|
icon?: string | undefined;
|
|
1396
1481
|
authConfig?: {
|
|
1397
1482
|
description: string;
|
|
1398
|
-
authField: string;
|
|
1399
1483
|
label: string;
|
|
1484
|
+
authField: string;
|
|
1400
1485
|
optional?: boolean | undefined;
|
|
1401
1486
|
sensitive?: boolean | undefined;
|
|
1402
1487
|
}[] | undefined;
|
|
@@ -1420,18 +1505,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1420
1505
|
max_tokens?: number | undefined;
|
|
1421
1506
|
promptCache?: boolean | undefined;
|
|
1422
1507
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1423
|
-
system?: string | undefined;
|
|
1424
1508
|
thinking?: boolean | undefined;
|
|
1425
1509
|
thinkingBudget?: number | undefined;
|
|
1426
1510
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1427
1511
|
stream?: boolean | undefined;
|
|
1428
|
-
artifacts?: string | undefined;
|
|
1429
|
-
context?: string | null | undefined;
|
|
1430
1512
|
examples?: {
|
|
1431
|
-
|
|
1513
|
+
output: {
|
|
1432
1514
|
content: string;
|
|
1433
1515
|
};
|
|
1434
|
-
|
|
1516
|
+
input: {
|
|
1435
1517
|
content: string;
|
|
1436
1518
|
};
|
|
1437
1519
|
}[] | undefined;
|
|
@@ -1487,21 +1569,30 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1487
1569
|
} | null)[] | {
|
|
1488
1570
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1489
1571
|
} | null) | undefined;
|
|
1490
|
-
instructions?: string | undefined;
|
|
1491
|
-
additional_instructions?: string | undefined;
|
|
1492
1572
|
append_current_datetime?: boolean | undefined;
|
|
1493
|
-
stop?: string[] | undefined;
|
|
1494
|
-
greeting?: string | undefined;
|
|
1495
1573
|
iconURL?: string | null | undefined;
|
|
1496
1574
|
isTemporary?: boolean | undefined;
|
|
1497
1575
|
fileTokenLimit?: number | undefined;
|
|
1498
1576
|
}, {
|
|
1577
|
+
system?: string | undefined;
|
|
1578
|
+
context?: string | null | undefined;
|
|
1579
|
+
instructions?: string | undefined;
|
|
1580
|
+
additional_instructions?: string | undefined;
|
|
1581
|
+
greeting?: string | undefined;
|
|
1582
|
+
artifacts?: string | undefined;
|
|
1583
|
+
stop?: string[] | undefined;
|
|
1499
1584
|
model?: string | null | undefined;
|
|
1500
1585
|
endpoint?: string | null | undefined;
|
|
1501
1586
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1502
1587
|
archivedAt?: string | null | undefined;
|
|
1503
1588
|
pinned?: boolean | undefined;
|
|
1504
1589
|
isShared?: boolean | undefined;
|
|
1590
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1591
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1592
|
+
codeWorkspaces?: {
|
|
1593
|
+
environmentId: string;
|
|
1594
|
+
workspaceId: string;
|
|
1595
|
+
}[] | undefined;
|
|
1505
1596
|
tools?: string[] | {
|
|
1506
1597
|
name: string;
|
|
1507
1598
|
pluginKey: string;
|
|
@@ -1509,8 +1600,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1509
1600
|
icon?: string | undefined;
|
|
1510
1601
|
authConfig?: {
|
|
1511
1602
|
description: string;
|
|
1512
|
-
authField: string;
|
|
1513
1603
|
label: string;
|
|
1604
|
+
authField: string;
|
|
1514
1605
|
optional?: boolean | undefined;
|
|
1515
1606
|
sensitive?: boolean | undefined;
|
|
1516
1607
|
}[] | undefined;
|
|
@@ -1534,18 +1625,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1534
1625
|
max_tokens?: string | number | undefined;
|
|
1535
1626
|
promptCache?: boolean | undefined;
|
|
1536
1627
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1537
|
-
system?: string | undefined;
|
|
1538
1628
|
thinking?: boolean | undefined;
|
|
1539
1629
|
thinkingBudget?: string | number | undefined;
|
|
1540
1630
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1541
1631
|
stream?: boolean | undefined;
|
|
1542
|
-
artifacts?: string | undefined;
|
|
1543
|
-
context?: string | null | undefined;
|
|
1544
1632
|
examples?: {
|
|
1545
|
-
|
|
1633
|
+
output: {
|
|
1546
1634
|
content: string;
|
|
1547
1635
|
};
|
|
1548
|
-
|
|
1636
|
+
input: {
|
|
1549
1637
|
content: string;
|
|
1550
1638
|
};
|
|
1551
1639
|
}[] | undefined;
|
|
@@ -1601,21 +1689,30 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1601
1689
|
} | null)[] | {
|
|
1602
1690
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1603
1691
|
} | null) | undefined;
|
|
1604
|
-
instructions?: string | undefined;
|
|
1605
|
-
additional_instructions?: string | undefined;
|
|
1606
1692
|
append_current_datetime?: boolean | undefined;
|
|
1607
|
-
stop?: string[] | undefined;
|
|
1608
|
-
greeting?: string | undefined;
|
|
1609
1693
|
iconURL?: string | null | undefined;
|
|
1610
1694
|
isTemporary?: boolean | undefined;
|
|
1611
1695
|
fileTokenLimit?: string | number | undefined;
|
|
1612
1696
|
}>, {
|
|
1697
|
+
system?: string | undefined;
|
|
1698
|
+
context?: string | null | undefined;
|
|
1699
|
+
instructions?: string | undefined;
|
|
1700
|
+
additional_instructions?: string | undefined;
|
|
1701
|
+
greeting?: string | undefined;
|
|
1702
|
+
artifacts?: string | undefined;
|
|
1703
|
+
stop?: string[] | undefined;
|
|
1613
1704
|
model?: string | null | undefined;
|
|
1614
1705
|
endpoint?: string | null | undefined;
|
|
1615
1706
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1616
1707
|
archivedAt?: string | null | undefined;
|
|
1617
1708
|
pinned?: boolean | undefined;
|
|
1618
1709
|
isShared?: boolean | undefined;
|
|
1710
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1711
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1712
|
+
codeWorkspaces?: {
|
|
1713
|
+
environmentId: string;
|
|
1714
|
+
workspaceId: string;
|
|
1715
|
+
}[] | undefined;
|
|
1619
1716
|
tools?: string[] | {
|
|
1620
1717
|
name: string;
|
|
1621
1718
|
pluginKey: string;
|
|
@@ -1623,8 +1720,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1623
1720
|
icon?: string | undefined;
|
|
1624
1721
|
authConfig?: {
|
|
1625
1722
|
description: string;
|
|
1626
|
-
authField: string;
|
|
1627
1723
|
label: string;
|
|
1724
|
+
authField: string;
|
|
1628
1725
|
optional?: boolean | undefined;
|
|
1629
1726
|
sensitive?: boolean | undefined;
|
|
1630
1727
|
}[] | undefined;
|
|
@@ -1648,18 +1745,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1648
1745
|
max_tokens?: number | undefined;
|
|
1649
1746
|
promptCache?: boolean | undefined;
|
|
1650
1747
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1651
|
-
system?: string | undefined;
|
|
1652
1748
|
thinking?: boolean | undefined;
|
|
1653
1749
|
thinkingBudget?: number | undefined;
|
|
1654
1750
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1655
1751
|
stream?: boolean | undefined;
|
|
1656
|
-
artifacts?: string | undefined;
|
|
1657
|
-
context?: string | null | undefined;
|
|
1658
1752
|
examples?: {
|
|
1659
|
-
|
|
1753
|
+
output: {
|
|
1660
1754
|
content: string;
|
|
1661
1755
|
};
|
|
1662
|
-
|
|
1756
|
+
input: {
|
|
1663
1757
|
content: string;
|
|
1664
1758
|
};
|
|
1665
1759
|
}[] | undefined;
|
|
@@ -1715,21 +1809,30 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1715
1809
|
} | null)[] | {
|
|
1716
1810
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1717
1811
|
} | null) | undefined;
|
|
1718
|
-
instructions?: string | undefined;
|
|
1719
|
-
additional_instructions?: string | undefined;
|
|
1720
1812
|
append_current_datetime?: boolean | undefined;
|
|
1721
|
-
stop?: string[] | undefined;
|
|
1722
|
-
greeting?: string | undefined;
|
|
1723
1813
|
iconURL?: string | null | undefined;
|
|
1724
1814
|
isTemporary?: boolean | undefined;
|
|
1725
1815
|
fileTokenLimit?: number | undefined;
|
|
1726
1816
|
}, {
|
|
1817
|
+
system?: string | undefined;
|
|
1818
|
+
context?: string | null | undefined;
|
|
1819
|
+
instructions?: string | undefined;
|
|
1820
|
+
additional_instructions?: string | undefined;
|
|
1821
|
+
greeting?: string | undefined;
|
|
1822
|
+
artifacts?: string | undefined;
|
|
1823
|
+
stop?: string[] | undefined;
|
|
1727
1824
|
model?: string | null | undefined;
|
|
1728
1825
|
endpoint?: string | null | undefined;
|
|
1729
1826
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1730
1827
|
archivedAt?: string | null | undefined;
|
|
1731
1828
|
pinned?: boolean | undefined;
|
|
1732
1829
|
isShared?: boolean | undefined;
|
|
1830
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
1831
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
1832
|
+
codeWorkspaces?: {
|
|
1833
|
+
environmentId: string;
|
|
1834
|
+
workspaceId: string;
|
|
1835
|
+
}[] | undefined;
|
|
1733
1836
|
tools?: string[] | {
|
|
1734
1837
|
name: string;
|
|
1735
1838
|
pluginKey: string;
|
|
@@ -1737,8 +1840,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1737
1840
|
icon?: string | undefined;
|
|
1738
1841
|
authConfig?: {
|
|
1739
1842
|
description: string;
|
|
1740
|
-
authField: string;
|
|
1741
1843
|
label: string;
|
|
1844
|
+
authField: string;
|
|
1742
1845
|
optional?: boolean | undefined;
|
|
1743
1846
|
sensitive?: boolean | undefined;
|
|
1744
1847
|
}[] | undefined;
|
|
@@ -1762,18 +1865,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1762
1865
|
max_tokens?: string | number | undefined;
|
|
1763
1866
|
promptCache?: boolean | undefined;
|
|
1764
1867
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1765
|
-
system?: string | undefined;
|
|
1766
1868
|
thinking?: boolean | undefined;
|
|
1767
1869
|
thinkingBudget?: string | number | undefined;
|
|
1768
1870
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1769
1871
|
stream?: boolean | undefined;
|
|
1770
|
-
artifacts?: string | undefined;
|
|
1771
|
-
context?: string | null | undefined;
|
|
1772
1872
|
examples?: {
|
|
1773
|
-
|
|
1873
|
+
output: {
|
|
1774
1874
|
content: string;
|
|
1775
1875
|
};
|
|
1776
|
-
|
|
1876
|
+
input: {
|
|
1777
1877
|
content: string;
|
|
1778
1878
|
};
|
|
1779
1879
|
}[] | undefined;
|
|
@@ -1829,11 +1929,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1829
1929
|
} | null)[] | {
|
|
1830
1930
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1831
1931
|
} | null) | undefined;
|
|
1832
|
-
instructions?: string | undefined;
|
|
1833
|
-
additional_instructions?: string | undefined;
|
|
1834
1932
|
append_current_datetime?: boolean | undefined;
|
|
1835
|
-
stop?: string[] | undefined;
|
|
1836
|
-
greeting?: string | undefined;
|
|
1837
1933
|
iconURL?: string | null | undefined;
|
|
1838
1934
|
isTemporary?: boolean | undefined;
|
|
1839
1935
|
fileTokenLimit?: string | number | undefined;
|
|
@@ -1865,34 +1961,52 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1865
1961
|
subagents: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1866
1962
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1867
1963
|
allowSelf: z.ZodOptional<z.ZodBoolean>;
|
|
1964
|
+
shareFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1868
1965
|
agent_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1869
1966
|
}, "strip", z.ZodTypeAny, {
|
|
1870
1967
|
enabled?: boolean | undefined;
|
|
1871
1968
|
allowSelf?: boolean | undefined;
|
|
1969
|
+
shareFiles?: boolean | undefined;
|
|
1872
1970
|
agent_ids?: string[] | undefined;
|
|
1873
1971
|
}, {
|
|
1874
1972
|
enabled?: boolean | undefined;
|
|
1875
1973
|
allowSelf?: boolean | undefined;
|
|
1974
|
+
shareFiles?: boolean | undefined;
|
|
1876
1975
|
agent_ids?: string[] | undefined;
|
|
1877
1976
|
}>, {
|
|
1878
1977
|
enabled?: boolean | undefined;
|
|
1879
1978
|
allowSelf?: boolean | undefined;
|
|
1979
|
+
shareFiles?: boolean | undefined;
|
|
1880
1980
|
agent_ids?: string[] | undefined;
|
|
1881
1981
|
}, {
|
|
1882
1982
|
enabled?: boolean | undefined;
|
|
1883
1983
|
allowSelf?: boolean | undefined;
|
|
1984
|
+
shareFiles?: boolean | undefined;
|
|
1884
1985
|
agent_ids?: string[] | undefined;
|
|
1885
1986
|
}>>;
|
|
1886
1987
|
}, "strip", z.ZodTypeAny, {
|
|
1887
1988
|
name: string;
|
|
1888
1989
|
label: string;
|
|
1889
1990
|
preset: {
|
|
1991
|
+
system?: string | undefined;
|
|
1992
|
+
context?: string | null | undefined;
|
|
1993
|
+
instructions?: string | undefined;
|
|
1994
|
+
additional_instructions?: string | undefined;
|
|
1995
|
+
greeting?: string | undefined;
|
|
1996
|
+
artifacts?: string | undefined;
|
|
1997
|
+
stop?: string[] | undefined;
|
|
1890
1998
|
model?: string | null | undefined;
|
|
1891
1999
|
endpoint?: string | null | undefined;
|
|
1892
2000
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1893
2001
|
archivedAt?: string | null | undefined;
|
|
1894
2002
|
pinned?: boolean | undefined;
|
|
1895
2003
|
isShared?: boolean | undefined;
|
|
2004
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2005
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2006
|
+
codeWorkspaces?: {
|
|
2007
|
+
environmentId: string;
|
|
2008
|
+
workspaceId: string;
|
|
2009
|
+
}[] | undefined;
|
|
1896
2010
|
tools?: string[] | {
|
|
1897
2011
|
name: string;
|
|
1898
2012
|
pluginKey: string;
|
|
@@ -1900,8 +2014,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1900
2014
|
icon?: string | undefined;
|
|
1901
2015
|
authConfig?: {
|
|
1902
2016
|
description: string;
|
|
1903
|
-
authField: string;
|
|
1904
2017
|
label: string;
|
|
2018
|
+
authField: string;
|
|
1905
2019
|
optional?: boolean | undefined;
|
|
1906
2020
|
sensitive?: boolean | undefined;
|
|
1907
2021
|
}[] | undefined;
|
|
@@ -1925,18 +2039,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1925
2039
|
max_tokens?: number | undefined;
|
|
1926
2040
|
promptCache?: boolean | undefined;
|
|
1927
2041
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
1928
|
-
system?: string | undefined;
|
|
1929
2042
|
thinking?: boolean | undefined;
|
|
1930
2043
|
thinkingBudget?: number | undefined;
|
|
1931
2044
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
1932
2045
|
stream?: boolean | undefined;
|
|
1933
|
-
artifacts?: string | undefined;
|
|
1934
|
-
context?: string | null | undefined;
|
|
1935
2046
|
examples?: {
|
|
1936
|
-
|
|
2047
|
+
output: {
|
|
1937
2048
|
content: string;
|
|
1938
2049
|
};
|
|
1939
|
-
|
|
2050
|
+
input: {
|
|
1940
2051
|
content: string;
|
|
1941
2052
|
};
|
|
1942
2053
|
}[] | undefined;
|
|
@@ -1992,22 +2103,18 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1992
2103
|
} | null)[] | {
|
|
1993
2104
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
1994
2105
|
} | null) | undefined;
|
|
1995
|
-
instructions?: string | undefined;
|
|
1996
|
-
additional_instructions?: string | undefined;
|
|
1997
2106
|
append_current_datetime?: boolean | undefined;
|
|
1998
|
-
stop?: string[] | undefined;
|
|
1999
|
-
greeting?: string | undefined;
|
|
2000
2107
|
iconURL?: string | null | undefined;
|
|
2001
2108
|
isTemporary?: boolean | undefined;
|
|
2002
2109
|
fileTokenLimit?: number | undefined;
|
|
2003
2110
|
};
|
|
2004
2111
|
group?: string | undefined;
|
|
2005
2112
|
description?: string | undefined;
|
|
2006
|
-
default?: boolean | undefined;
|
|
2007
2113
|
artifacts?: string | boolean | undefined;
|
|
2114
|
+
skills?: boolean | string[] | undefined;
|
|
2008
2115
|
iconURL?: string | undefined;
|
|
2009
2116
|
order?: number | undefined;
|
|
2010
|
-
|
|
2117
|
+
default?: boolean | undefined;
|
|
2011
2118
|
softDefault?: boolean | undefined;
|
|
2012
2119
|
groupIcon?: string | undefined;
|
|
2013
2120
|
showIconInMenu?: boolean | undefined;
|
|
@@ -2028,18 +2135,32 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2028
2135
|
subagents?: {
|
|
2029
2136
|
enabled?: boolean | undefined;
|
|
2030
2137
|
allowSelf?: boolean | undefined;
|
|
2138
|
+
shareFiles?: boolean | undefined;
|
|
2031
2139
|
agent_ids?: string[] | undefined;
|
|
2032
2140
|
} | undefined;
|
|
2033
2141
|
}, {
|
|
2034
2142
|
name: string;
|
|
2035
2143
|
label: string;
|
|
2036
2144
|
preset: {
|
|
2145
|
+
system?: string | undefined;
|
|
2146
|
+
context?: string | null | undefined;
|
|
2147
|
+
instructions?: string | undefined;
|
|
2148
|
+
additional_instructions?: string | undefined;
|
|
2149
|
+
greeting?: string | undefined;
|
|
2150
|
+
artifacts?: string | undefined;
|
|
2151
|
+
stop?: string[] | undefined;
|
|
2037
2152
|
model?: string | null | undefined;
|
|
2038
2153
|
endpoint?: string | null | undefined;
|
|
2039
2154
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2040
2155
|
archivedAt?: string | null | undefined;
|
|
2041
2156
|
pinned?: boolean | undefined;
|
|
2042
2157
|
isShared?: boolean | undefined;
|
|
2158
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2159
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2160
|
+
codeWorkspaces?: {
|
|
2161
|
+
environmentId: string;
|
|
2162
|
+
workspaceId: string;
|
|
2163
|
+
}[] | undefined;
|
|
2043
2164
|
tools?: string[] | {
|
|
2044
2165
|
name: string;
|
|
2045
2166
|
pluginKey: string;
|
|
@@ -2047,8 +2168,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2047
2168
|
icon?: string | undefined;
|
|
2048
2169
|
authConfig?: {
|
|
2049
2170
|
description: string;
|
|
2050
|
-
authField: string;
|
|
2051
2171
|
label: string;
|
|
2172
|
+
authField: string;
|
|
2052
2173
|
optional?: boolean | undefined;
|
|
2053
2174
|
sensitive?: boolean | undefined;
|
|
2054
2175
|
}[] | undefined;
|
|
@@ -2072,18 +2193,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2072
2193
|
max_tokens?: string | number | undefined;
|
|
2073
2194
|
promptCache?: boolean | undefined;
|
|
2074
2195
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
2075
|
-
system?: string | undefined;
|
|
2076
2196
|
thinking?: boolean | undefined;
|
|
2077
2197
|
thinkingBudget?: string | number | undefined;
|
|
2078
2198
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
2079
2199
|
stream?: boolean | undefined;
|
|
2080
|
-
artifacts?: string | undefined;
|
|
2081
|
-
context?: string | null | undefined;
|
|
2082
2200
|
examples?: {
|
|
2083
|
-
|
|
2201
|
+
output: {
|
|
2084
2202
|
content: string;
|
|
2085
2203
|
};
|
|
2086
|
-
|
|
2204
|
+
input: {
|
|
2087
2205
|
content: string;
|
|
2088
2206
|
};
|
|
2089
2207
|
}[] | undefined;
|
|
@@ -2139,22 +2257,18 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2139
2257
|
} | null)[] | {
|
|
2140
2258
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
2141
2259
|
} | null) | undefined;
|
|
2142
|
-
instructions?: string | undefined;
|
|
2143
|
-
additional_instructions?: string | undefined;
|
|
2144
2260
|
append_current_datetime?: boolean | undefined;
|
|
2145
|
-
stop?: string[] | undefined;
|
|
2146
|
-
greeting?: string | undefined;
|
|
2147
2261
|
iconURL?: string | null | undefined;
|
|
2148
2262
|
isTemporary?: boolean | undefined;
|
|
2149
2263
|
fileTokenLimit?: string | number | undefined;
|
|
2150
2264
|
};
|
|
2151
2265
|
group?: string | undefined;
|
|
2152
2266
|
description?: string | undefined;
|
|
2153
|
-
default?: boolean | undefined;
|
|
2154
2267
|
artifacts?: string | boolean | undefined;
|
|
2268
|
+
skills?: boolean | string[] | undefined;
|
|
2155
2269
|
iconURL?: string | undefined;
|
|
2156
2270
|
order?: number | undefined;
|
|
2157
|
-
|
|
2271
|
+
default?: boolean | undefined;
|
|
2158
2272
|
softDefault?: boolean | undefined;
|
|
2159
2273
|
groupIcon?: string | undefined;
|
|
2160
2274
|
showIconInMenu?: boolean | undefined;
|
|
@@ -2175,6 +2289,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2175
2289
|
subagents?: {
|
|
2176
2290
|
enabled?: boolean | undefined;
|
|
2177
2291
|
allowSelf?: boolean | undefined;
|
|
2292
|
+
shareFiles?: boolean | undefined;
|
|
2178
2293
|
agent_ids?: string[] | undefined;
|
|
2179
2294
|
} | undefined;
|
|
2180
2295
|
}>, "many">>;
|
|
@@ -2184,12 +2299,25 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2184
2299
|
name: string;
|
|
2185
2300
|
label: string;
|
|
2186
2301
|
preset: {
|
|
2302
|
+
system?: string | undefined;
|
|
2303
|
+
context?: string | null | undefined;
|
|
2304
|
+
instructions?: string | undefined;
|
|
2305
|
+
additional_instructions?: string | undefined;
|
|
2306
|
+
greeting?: string | undefined;
|
|
2307
|
+
artifacts?: string | undefined;
|
|
2308
|
+
stop?: string[] | undefined;
|
|
2187
2309
|
model?: string | null | undefined;
|
|
2188
2310
|
endpoint?: string | null | undefined;
|
|
2189
2311
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2190
2312
|
archivedAt?: string | null | undefined;
|
|
2191
2313
|
pinned?: boolean | undefined;
|
|
2192
2314
|
isShared?: boolean | undefined;
|
|
2315
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2316
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2317
|
+
codeWorkspaces?: {
|
|
2318
|
+
environmentId: string;
|
|
2319
|
+
workspaceId: string;
|
|
2320
|
+
}[] | undefined;
|
|
2193
2321
|
tools?: string[] | {
|
|
2194
2322
|
name: string;
|
|
2195
2323
|
pluginKey: string;
|
|
@@ -2197,8 +2325,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2197
2325
|
icon?: string | undefined;
|
|
2198
2326
|
authConfig?: {
|
|
2199
2327
|
description: string;
|
|
2200
|
-
authField: string;
|
|
2201
2328
|
label: string;
|
|
2329
|
+
authField: string;
|
|
2202
2330
|
optional?: boolean | undefined;
|
|
2203
2331
|
sensitive?: boolean | undefined;
|
|
2204
2332
|
}[] | undefined;
|
|
@@ -2222,18 +2350,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2222
2350
|
max_tokens?: number | undefined;
|
|
2223
2351
|
promptCache?: boolean | undefined;
|
|
2224
2352
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
2225
|
-
system?: string | undefined;
|
|
2226
2353
|
thinking?: boolean | undefined;
|
|
2227
2354
|
thinkingBudget?: number | undefined;
|
|
2228
2355
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
2229
2356
|
stream?: boolean | undefined;
|
|
2230
|
-
artifacts?: string | undefined;
|
|
2231
|
-
context?: string | null | undefined;
|
|
2232
2357
|
examples?: {
|
|
2233
|
-
|
|
2358
|
+
output: {
|
|
2234
2359
|
content: string;
|
|
2235
2360
|
};
|
|
2236
|
-
|
|
2361
|
+
input: {
|
|
2237
2362
|
content: string;
|
|
2238
2363
|
};
|
|
2239
2364
|
}[] | undefined;
|
|
@@ -2289,22 +2414,18 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2289
2414
|
} | null)[] | {
|
|
2290
2415
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
2291
2416
|
} | null) | undefined;
|
|
2292
|
-
instructions?: string | undefined;
|
|
2293
|
-
additional_instructions?: string | undefined;
|
|
2294
2417
|
append_current_datetime?: boolean | undefined;
|
|
2295
|
-
stop?: string[] | undefined;
|
|
2296
|
-
greeting?: string | undefined;
|
|
2297
2418
|
iconURL?: string | null | undefined;
|
|
2298
2419
|
isTemporary?: boolean | undefined;
|
|
2299
2420
|
fileTokenLimit?: number | undefined;
|
|
2300
2421
|
};
|
|
2301
2422
|
group?: string | undefined;
|
|
2302
2423
|
description?: string | undefined;
|
|
2303
|
-
default?: boolean | undefined;
|
|
2304
2424
|
artifacts?: string | boolean | undefined;
|
|
2425
|
+
skills?: boolean | string[] | undefined;
|
|
2305
2426
|
iconURL?: string | undefined;
|
|
2306
2427
|
order?: number | undefined;
|
|
2307
|
-
|
|
2428
|
+
default?: boolean | undefined;
|
|
2308
2429
|
softDefault?: boolean | undefined;
|
|
2309
2430
|
groupIcon?: string | undefined;
|
|
2310
2431
|
showIconInMenu?: boolean | undefined;
|
|
@@ -2325,6 +2446,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2325
2446
|
subagents?: {
|
|
2326
2447
|
enabled?: boolean | undefined;
|
|
2327
2448
|
allowSelf?: boolean | undefined;
|
|
2449
|
+
shareFiles?: boolean | undefined;
|
|
2328
2450
|
agent_ids?: string[] | undefined;
|
|
2329
2451
|
} | undefined;
|
|
2330
2452
|
}[];
|
|
@@ -2336,12 +2458,25 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2336
2458
|
name: string;
|
|
2337
2459
|
label: string;
|
|
2338
2460
|
preset: {
|
|
2461
|
+
system?: string | undefined;
|
|
2462
|
+
context?: string | null | undefined;
|
|
2463
|
+
instructions?: string | undefined;
|
|
2464
|
+
additional_instructions?: string | undefined;
|
|
2465
|
+
greeting?: string | undefined;
|
|
2466
|
+
artifacts?: string | undefined;
|
|
2467
|
+
stop?: string[] | undefined;
|
|
2339
2468
|
model?: string | null | undefined;
|
|
2340
2469
|
endpoint?: string | null | undefined;
|
|
2341
2470
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2342
2471
|
archivedAt?: string | null | undefined;
|
|
2343
2472
|
pinned?: boolean | undefined;
|
|
2344
2473
|
isShared?: boolean | undefined;
|
|
2474
|
+
codeApprovalMode?: "ask" | "acceptEdits" | "fullAccess" | undefined;
|
|
2475
|
+
codeEnvironmentMode?: "attached" | "without_attached" | undefined;
|
|
2476
|
+
codeWorkspaces?: {
|
|
2477
|
+
environmentId: string;
|
|
2478
|
+
workspaceId: string;
|
|
2479
|
+
}[] | undefined;
|
|
2345
2480
|
tools?: string[] | {
|
|
2346
2481
|
name: string;
|
|
2347
2482
|
pluginKey: string;
|
|
@@ -2349,8 +2484,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2349
2484
|
icon?: string | undefined;
|
|
2350
2485
|
authConfig?: {
|
|
2351
2486
|
description: string;
|
|
2352
|
-
authField: string;
|
|
2353
2487
|
label: string;
|
|
2488
|
+
authField: string;
|
|
2354
2489
|
optional?: boolean | undefined;
|
|
2355
2490
|
sensitive?: boolean | undefined;
|
|
2356
2491
|
}[] | undefined;
|
|
@@ -2374,18 +2509,15 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2374
2509
|
max_tokens?: string | number | undefined;
|
|
2375
2510
|
promptCache?: boolean | undefined;
|
|
2376
2511
|
promptCacheTtl?: "5m" | "1h" | undefined;
|
|
2377
|
-
system?: string | undefined;
|
|
2378
2512
|
thinking?: boolean | undefined;
|
|
2379
2513
|
thinkingBudget?: string | number | undefined;
|
|
2380
2514
|
thinkingLevel?: import("./schemas").ThinkingLevel | undefined;
|
|
2381
2515
|
stream?: boolean | undefined;
|
|
2382
|
-
artifacts?: string | undefined;
|
|
2383
|
-
context?: string | null | undefined;
|
|
2384
2516
|
examples?: {
|
|
2385
|
-
|
|
2517
|
+
output: {
|
|
2386
2518
|
content: string;
|
|
2387
2519
|
};
|
|
2388
|
-
|
|
2520
|
+
input: {
|
|
2389
2521
|
content: string;
|
|
2390
2522
|
};
|
|
2391
2523
|
}[] | undefined;
|
|
@@ -2441,22 +2573,18 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2441
2573
|
} | null)[] | {
|
|
2442
2574
|
[key: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null;
|
|
2443
2575
|
} | null) | undefined;
|
|
2444
|
-
instructions?: string | undefined;
|
|
2445
|
-
additional_instructions?: string | undefined;
|
|
2446
2576
|
append_current_datetime?: boolean | undefined;
|
|
2447
|
-
stop?: string[] | undefined;
|
|
2448
|
-
greeting?: string | undefined;
|
|
2449
2577
|
iconURL?: string | null | undefined;
|
|
2450
2578
|
isTemporary?: boolean | undefined;
|
|
2451
2579
|
fileTokenLimit?: string | number | undefined;
|
|
2452
2580
|
};
|
|
2453
2581
|
group?: string | undefined;
|
|
2454
2582
|
description?: string | undefined;
|
|
2455
|
-
default?: boolean | undefined;
|
|
2456
2583
|
artifacts?: string | boolean | undefined;
|
|
2584
|
+
skills?: boolean | string[] | undefined;
|
|
2457
2585
|
iconURL?: string | undefined;
|
|
2458
2586
|
order?: number | undefined;
|
|
2459
|
-
|
|
2587
|
+
default?: boolean | undefined;
|
|
2460
2588
|
softDefault?: boolean | undefined;
|
|
2461
2589
|
groupIcon?: string | undefined;
|
|
2462
2590
|
showIconInMenu?: boolean | undefined;
|
|
@@ -2477,6 +2605,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
2477
2605
|
subagents?: {
|
|
2478
2606
|
enabled?: boolean | undefined;
|
|
2479
2607
|
allowSelf?: boolean | undefined;
|
|
2608
|
+
shareFiles?: boolean | undefined;
|
|
2480
2609
|
agent_ids?: string[] | undefined;
|
|
2481
2610
|
} | undefined;
|
|
2482
2611
|
}[] | undefined;
|