agents-bridge 0.3.6 → 0.3.10
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/README.md +14 -0
- package/config.multi-agent.example.json +4 -1
- package/dist/agents/agent-resolver.d.ts.map +1 -1
- package/dist/agents/agent-resolver.js +8 -2
- package/dist/agents/agent-resolver.js.map +1 -1
- package/dist/agents/cli-runner.d.ts +3 -3
- package/dist/agents/cli-runner.d.ts.map +1 -1
- package/dist/agents/cli-runner.js +87 -76
- package/dist/agents/cli-runner.js.map +1 -1
- package/dist/agents/cli-session-store.d.ts +3 -0
- package/dist/agents/cli-session-store.d.ts.map +1 -1
- package/dist/agents/cli-session-store.js +31 -10
- package/dist/agents/cli-session-store.js.map +1 -1
- package/dist/agents/codex-app-server-runtime.d.ts +37 -1
- package/dist/agents/codex-app-server-runtime.d.ts.map +1 -1
- package/dist/agents/codex-app-server-runtime.js +37 -14
- package/dist/agents/codex-app-server-runtime.js.map +1 -1
- package/dist/agents/managed-backend.d.ts +4 -0
- package/dist/agents/managed-backend.d.ts.map +1 -0
- package/dist/agents/managed-backend.js +18 -0
- package/dist/agents/managed-backend.js.map +1 -0
- package/dist/agents/managed-role.d.ts +17 -0
- package/dist/agents/managed-role.d.ts.map +1 -0
- package/dist/agents/managed-role.js +13 -0
- package/dist/agents/managed-role.js.map +1 -0
- package/dist/agents/model-control-files.d.ts +10 -4
- package/dist/agents/model-control-files.d.ts.map +1 -1
- package/dist/agents/model-control-files.js +127 -79
- package/dist/agents/model-control-files.js.map +1 -1
- package/dist/agents/trusted-launcher.js +5 -1
- package/dist/agents/trusted-launcher.js.map +1 -1
- package/dist/agents/windows-model-control-security.d.ts +4 -0
- package/dist/agents/windows-model-control-security.d.ts.map +1 -0
- package/dist/agents/windows-model-control-security.js +86 -0
- package/dist/agents/windows-model-control-security.js.map +1 -0
- package/dist/channels/bot-run-protocol.d.ts +13 -0
- package/dist/channels/bot-run-protocol.d.ts.map +1 -0
- package/dist/channels/bot-run-protocol.js +20 -0
- package/dist/channels/bot-run-protocol.js.map +1 -0
- package/dist/channels/bot-run-receipts.d.ts +14 -0
- package/dist/channels/bot-run-receipts.d.ts.map +1 -0
- package/dist/channels/bot-run-receipts.js +88 -0
- package/dist/channels/bot-run-receipts.js.map +1 -0
- package/dist/channels/botlink.d.ts +3 -0
- package/dist/channels/botlink.d.ts.map +1 -1
- package/dist/channels/botlink.js +95 -17
- package/dist/channels/botlink.js.map +1 -1
- package/dist/channels/managed-receipts.d.ts +14 -0
- package/dist/channels/managed-receipts.d.ts.map +1 -0
- package/dist/channels/managed-receipts.js +136 -0
- package/dist/channels/managed-receipts.js.map +1 -0
- package/dist/cli/cmd-start.d.ts.map +1 -1
- package/dist/cli/cmd-start.js +44 -5
- package/dist/cli/cmd-start.js.map +1 -1
- package/dist/cloud/main.d.ts +2 -0
- package/dist/cloud/main.d.ts.map +1 -0
- package/dist/cloud/main.js +14 -0
- package/dist/cloud/main.js.map +1 -0
- package/dist/cloud/worker.d.ts +98 -0
- package/dist/cloud/worker.d.ts.map +1 -0
- package/dist/cloud/worker.js +212 -0
- package/dist/cloud/worker.js.map +1 -0
- package/dist/config/agent-dirs.d.ts.map +1 -1
- package/dist/config/agent-dirs.js +2 -0
- package/dist/config/agent-dirs.js.map +1 -1
- package/dist/config/attachment-handoff.d.ts +5 -0
- package/dist/config/attachment-handoff.d.ts.map +1 -0
- package/dist/config/attachment-handoff.js +60 -0
- package/dist/config/attachment-handoff.js.map +1 -0
- package/dist/config/zod-schema.d.ts +281 -228
- package/dist/config/zod-schema.d.ts.map +1 -1
- package/dist/config/zod-schema.js +3 -0
- package/dist/config/zod-schema.js.map +1 -1
- package/dist/types/index.d.ts +12 -4
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ export declare const BotlinkAccountSchema: z.ZodObject<{
|
|
|
3
3
|
gateway_url: z.ZodString;
|
|
4
4
|
openapi_base_url: z.ZodOptional<z.ZodString>;
|
|
5
5
|
bot_token: z.ZodString;
|
|
6
|
+
managed_runtime: z.ZodOptional<z.ZodBoolean>;
|
|
6
7
|
poll_timeout: z.ZodDefault<z.ZodNumber>;
|
|
7
8
|
retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
8
9
|
max_retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
@@ -13,10 +14,12 @@ export declare const BotlinkAccountSchema: z.ZodObject<{
|
|
|
13
14
|
retry_interval: number;
|
|
14
15
|
max_retry_interval: number;
|
|
15
16
|
openapi_base_url?: string | undefined;
|
|
17
|
+
managed_runtime?: boolean | undefined;
|
|
16
18
|
}, {
|
|
17
19
|
gateway_url: string;
|
|
18
20
|
bot_token: string;
|
|
19
21
|
openapi_base_url?: string | undefined;
|
|
22
|
+
managed_runtime?: boolean | undefined;
|
|
20
23
|
poll_timeout?: number | undefined;
|
|
21
24
|
retry_interval?: number | undefined;
|
|
22
25
|
max_retry_interval?: number | undefined;
|
|
@@ -33,6 +36,7 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
33
36
|
gateway_url: z.ZodString;
|
|
34
37
|
openapi_base_url: z.ZodOptional<z.ZodString>;
|
|
35
38
|
bot_token: z.ZodString;
|
|
39
|
+
managed_runtime: z.ZodOptional<z.ZodBoolean>;
|
|
36
40
|
poll_timeout: z.ZodDefault<z.ZodNumber>;
|
|
37
41
|
retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
38
42
|
max_retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
@@ -43,10 +47,12 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
43
47
|
retry_interval: number;
|
|
44
48
|
max_retry_interval: number;
|
|
45
49
|
openapi_base_url?: string | undefined;
|
|
50
|
+
managed_runtime?: boolean | undefined;
|
|
46
51
|
}, {
|
|
47
52
|
gateway_url: string;
|
|
48
53
|
bot_token: string;
|
|
49
54
|
openapi_base_url?: string | undefined;
|
|
55
|
+
managed_runtime?: boolean | undefined;
|
|
50
56
|
poll_timeout?: number | undefined;
|
|
51
57
|
retry_interval?: number | undefined;
|
|
52
58
|
max_retry_interval?: number | undefined;
|
|
@@ -65,6 +71,7 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
65
71
|
retry_interval: number;
|
|
66
72
|
max_retry_interval: number;
|
|
67
73
|
openapi_base_url?: string | undefined;
|
|
74
|
+
managed_runtime?: boolean | undefined;
|
|
68
75
|
}> | undefined;
|
|
69
76
|
}, {
|
|
70
77
|
gateway_url?: string | undefined;
|
|
@@ -77,6 +84,7 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
77
84
|
gateway_url: string;
|
|
78
85
|
bot_token: string;
|
|
79
86
|
openapi_base_url?: string | undefined;
|
|
87
|
+
managed_runtime?: boolean | undefined;
|
|
80
88
|
poll_timeout?: number | undefined;
|
|
81
89
|
retry_interval?: number | undefined;
|
|
82
90
|
max_retry_interval?: number | undefined;
|
|
@@ -95,6 +103,7 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
95
103
|
retry_interval: number;
|
|
96
104
|
max_retry_interval: number;
|
|
97
105
|
openapi_base_url?: string | undefined;
|
|
106
|
+
managed_runtime?: boolean | undefined;
|
|
98
107
|
}> | undefined;
|
|
99
108
|
}, {
|
|
100
109
|
gateway_url?: string | undefined;
|
|
@@ -107,6 +116,7 @@ export declare const BotlinkChannelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
107
116
|
gateway_url: string;
|
|
108
117
|
bot_token: string;
|
|
109
118
|
openapi_base_url?: string | undefined;
|
|
119
|
+
managed_runtime?: boolean | undefined;
|
|
110
120
|
poll_timeout?: number | undefined;
|
|
111
121
|
retry_interval?: number | undefined;
|
|
112
122
|
max_retry_interval?: number | undefined;
|
|
@@ -219,26 +229,26 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
219
229
|
maxMs?: number | undefined;
|
|
220
230
|
}>>;
|
|
221
231
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
|
|
232
|
+
resume?: {
|
|
223
233
|
noOutputTimeoutMs?: number | undefined;
|
|
224
234
|
noOutputTimeoutRatio?: number | undefined;
|
|
225
235
|
minMs?: number | undefined;
|
|
226
236
|
maxMs?: number | undefined;
|
|
227
237
|
} | undefined;
|
|
228
|
-
|
|
238
|
+
fresh?: {
|
|
229
239
|
noOutputTimeoutMs?: number | undefined;
|
|
230
240
|
noOutputTimeoutRatio?: number | undefined;
|
|
231
241
|
minMs?: number | undefined;
|
|
232
242
|
maxMs?: number | undefined;
|
|
233
243
|
} | undefined;
|
|
234
244
|
}, {
|
|
235
|
-
|
|
245
|
+
resume?: {
|
|
236
246
|
noOutputTimeoutMs?: number | undefined;
|
|
237
247
|
noOutputTimeoutRatio?: number | undefined;
|
|
238
248
|
minMs?: number | undefined;
|
|
239
249
|
maxMs?: number | undefined;
|
|
240
250
|
} | undefined;
|
|
241
|
-
|
|
251
|
+
fresh?: {
|
|
242
252
|
noOutputTimeoutMs?: number | undefined;
|
|
243
253
|
noOutputTimeoutRatio?: number | undefined;
|
|
244
254
|
minMs?: number | undefined;
|
|
@@ -247,13 +257,13 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
247
257
|
}>>;
|
|
248
258
|
}, "strip", z.ZodTypeAny, {
|
|
249
259
|
watchdog?: {
|
|
250
|
-
|
|
260
|
+
resume?: {
|
|
251
261
|
noOutputTimeoutMs?: number | undefined;
|
|
252
262
|
noOutputTimeoutRatio?: number | undefined;
|
|
253
263
|
minMs?: number | undefined;
|
|
254
264
|
maxMs?: number | undefined;
|
|
255
265
|
} | undefined;
|
|
256
|
-
|
|
266
|
+
fresh?: {
|
|
257
267
|
noOutputTimeoutMs?: number | undefined;
|
|
258
268
|
noOutputTimeoutRatio?: number | undefined;
|
|
259
269
|
minMs?: number | undefined;
|
|
@@ -262,13 +272,13 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
262
272
|
} | undefined;
|
|
263
273
|
}, {
|
|
264
274
|
watchdog?: {
|
|
265
|
-
|
|
275
|
+
resume?: {
|
|
266
276
|
noOutputTimeoutMs?: number | undefined;
|
|
267
277
|
noOutputTimeoutRatio?: number | undefined;
|
|
268
278
|
minMs?: number | undefined;
|
|
269
279
|
maxMs?: number | undefined;
|
|
270
280
|
} | undefined;
|
|
271
|
-
|
|
281
|
+
fresh?: {
|
|
272
282
|
noOutputTimeoutMs?: number | undefined;
|
|
273
283
|
noOutputTimeoutRatio?: number | undefined;
|
|
274
284
|
minMs?: number | undefined;
|
|
@@ -317,13 +327,13 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
317
327
|
serialize?: boolean | undefined;
|
|
318
328
|
reliability?: {
|
|
319
329
|
watchdog?: {
|
|
320
|
-
|
|
330
|
+
resume?: {
|
|
321
331
|
noOutputTimeoutMs?: number | undefined;
|
|
322
332
|
noOutputTimeoutRatio?: number | undefined;
|
|
323
333
|
minMs?: number | undefined;
|
|
324
334
|
maxMs?: number | undefined;
|
|
325
335
|
} | undefined;
|
|
326
|
-
|
|
336
|
+
fresh?: {
|
|
327
337
|
noOutputTimeoutMs?: number | undefined;
|
|
328
338
|
noOutputTimeoutRatio?: number | undefined;
|
|
329
339
|
minMs?: number | undefined;
|
|
@@ -372,13 +382,13 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
372
382
|
serialize?: boolean | undefined;
|
|
373
383
|
reliability?: {
|
|
374
384
|
watchdog?: {
|
|
375
|
-
|
|
385
|
+
resume?: {
|
|
376
386
|
noOutputTimeoutMs?: number | undefined;
|
|
377
387
|
noOutputTimeoutRatio?: number | undefined;
|
|
378
388
|
minMs?: number | undefined;
|
|
379
389
|
maxMs?: number | undefined;
|
|
380
390
|
} | undefined;
|
|
381
|
-
|
|
391
|
+
fresh?: {
|
|
382
392
|
noOutputTimeoutMs?: number | undefined;
|
|
383
393
|
noOutputTimeoutRatio?: number | undefined;
|
|
384
394
|
minMs?: number | undefined;
|
|
@@ -387,15 +397,19 @@ export declare const CliBackendConfigSchema: z.ZodObject<{
|
|
|
387
397
|
} | undefined;
|
|
388
398
|
} | undefined;
|
|
389
399
|
}>;
|
|
400
|
+
export declare const ReasoningEffortSchema: z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>;
|
|
390
401
|
export declare const ModelRefSchema: z.ZodObject<{
|
|
391
402
|
primary: z.ZodString;
|
|
392
403
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
393
405
|
}, "strip", z.ZodTypeAny, {
|
|
394
406
|
primary: string;
|
|
395
407
|
fallbacks?: string[] | undefined;
|
|
408
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
396
409
|
}, {
|
|
397
410
|
primary: string;
|
|
398
411
|
fallbacks?: string[] | undefined;
|
|
412
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
399
413
|
}>;
|
|
400
414
|
export declare const ModelControlConfigSchema: z.ZodObject<{
|
|
401
415
|
endpoint: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -450,12 +464,15 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
450
464
|
model: z.ZodObject<{
|
|
451
465
|
primary: z.ZodString;
|
|
452
466
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
467
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
453
468
|
}, "strip", z.ZodTypeAny, {
|
|
454
469
|
primary: string;
|
|
455
470
|
fallbacks?: string[] | undefined;
|
|
471
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
456
472
|
}, {
|
|
457
473
|
primary: string;
|
|
458
474
|
fallbacks?: string[] | undefined;
|
|
475
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
459
476
|
}>;
|
|
460
477
|
cliBackends: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
461
478
|
command: z.ZodString;
|
|
@@ -557,26 +574,26 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
557
574
|
maxMs?: number | undefined;
|
|
558
575
|
}>>;
|
|
559
576
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
|
|
577
|
+
resume?: {
|
|
561
578
|
noOutputTimeoutMs?: number | undefined;
|
|
562
579
|
noOutputTimeoutRatio?: number | undefined;
|
|
563
580
|
minMs?: number | undefined;
|
|
564
581
|
maxMs?: number | undefined;
|
|
565
582
|
} | undefined;
|
|
566
|
-
|
|
583
|
+
fresh?: {
|
|
567
584
|
noOutputTimeoutMs?: number | undefined;
|
|
568
585
|
noOutputTimeoutRatio?: number | undefined;
|
|
569
586
|
minMs?: number | undefined;
|
|
570
587
|
maxMs?: number | undefined;
|
|
571
588
|
} | undefined;
|
|
572
589
|
}, {
|
|
573
|
-
|
|
590
|
+
resume?: {
|
|
574
591
|
noOutputTimeoutMs?: number | undefined;
|
|
575
592
|
noOutputTimeoutRatio?: number | undefined;
|
|
576
593
|
minMs?: number | undefined;
|
|
577
594
|
maxMs?: number | undefined;
|
|
578
595
|
} | undefined;
|
|
579
|
-
|
|
596
|
+
fresh?: {
|
|
580
597
|
noOutputTimeoutMs?: number | undefined;
|
|
581
598
|
noOutputTimeoutRatio?: number | undefined;
|
|
582
599
|
minMs?: number | undefined;
|
|
@@ -585,13 +602,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
585
602
|
}>>;
|
|
586
603
|
}, "strip", z.ZodTypeAny, {
|
|
587
604
|
watchdog?: {
|
|
588
|
-
|
|
605
|
+
resume?: {
|
|
589
606
|
noOutputTimeoutMs?: number | undefined;
|
|
590
607
|
noOutputTimeoutRatio?: number | undefined;
|
|
591
608
|
minMs?: number | undefined;
|
|
592
609
|
maxMs?: number | undefined;
|
|
593
610
|
} | undefined;
|
|
594
|
-
|
|
611
|
+
fresh?: {
|
|
595
612
|
noOutputTimeoutMs?: number | undefined;
|
|
596
613
|
noOutputTimeoutRatio?: number | undefined;
|
|
597
614
|
minMs?: number | undefined;
|
|
@@ -600,13 +617,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
600
617
|
} | undefined;
|
|
601
618
|
}, {
|
|
602
619
|
watchdog?: {
|
|
603
|
-
|
|
620
|
+
resume?: {
|
|
604
621
|
noOutputTimeoutMs?: number | undefined;
|
|
605
622
|
noOutputTimeoutRatio?: number | undefined;
|
|
606
623
|
minMs?: number | undefined;
|
|
607
624
|
maxMs?: number | undefined;
|
|
608
625
|
} | undefined;
|
|
609
|
-
|
|
626
|
+
fresh?: {
|
|
610
627
|
noOutputTimeoutMs?: number | undefined;
|
|
611
628
|
noOutputTimeoutRatio?: number | undefined;
|
|
612
629
|
minMs?: number | undefined;
|
|
@@ -655,13 +672,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
655
672
|
serialize?: boolean | undefined;
|
|
656
673
|
reliability?: {
|
|
657
674
|
watchdog?: {
|
|
658
|
-
|
|
675
|
+
resume?: {
|
|
659
676
|
noOutputTimeoutMs?: number | undefined;
|
|
660
677
|
noOutputTimeoutRatio?: number | undefined;
|
|
661
678
|
minMs?: number | undefined;
|
|
662
679
|
maxMs?: number | undefined;
|
|
663
680
|
} | undefined;
|
|
664
|
-
|
|
681
|
+
fresh?: {
|
|
665
682
|
noOutputTimeoutMs?: number | undefined;
|
|
666
683
|
noOutputTimeoutRatio?: number | undefined;
|
|
667
684
|
minMs?: number | undefined;
|
|
@@ -710,13 +727,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
710
727
|
serialize?: boolean | undefined;
|
|
711
728
|
reliability?: {
|
|
712
729
|
watchdog?: {
|
|
713
|
-
|
|
730
|
+
resume?: {
|
|
714
731
|
noOutputTimeoutMs?: number | undefined;
|
|
715
732
|
noOutputTimeoutRatio?: number | undefined;
|
|
716
733
|
minMs?: number | undefined;
|
|
717
734
|
maxMs?: number | undefined;
|
|
718
735
|
} | undefined;
|
|
719
|
-
|
|
736
|
+
fresh?: {
|
|
720
737
|
noOutputTimeoutMs?: number | undefined;
|
|
721
738
|
noOutputTimeoutRatio?: number | undefined;
|
|
722
739
|
minMs?: number | undefined;
|
|
@@ -742,7 +759,12 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
742
759
|
model: {
|
|
743
760
|
primary: string;
|
|
744
761
|
fallbacks?: string[] | undefined;
|
|
762
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
745
763
|
};
|
|
764
|
+
tools?: {
|
|
765
|
+
allow?: string[] | undefined;
|
|
766
|
+
deny?: string[] | undefined;
|
|
767
|
+
} | undefined;
|
|
746
768
|
env?: Record<string, string> | undefined;
|
|
747
769
|
clearEnv?: string[] | undefined;
|
|
748
770
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -793,13 +815,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
793
815
|
serialize?: boolean | undefined;
|
|
794
816
|
reliability?: {
|
|
795
817
|
watchdog?: {
|
|
796
|
-
|
|
818
|
+
resume?: {
|
|
797
819
|
noOutputTimeoutMs?: number | undefined;
|
|
798
820
|
noOutputTimeoutRatio?: number | undefined;
|
|
799
821
|
minMs?: number | undefined;
|
|
800
822
|
maxMs?: number | undefined;
|
|
801
823
|
} | undefined;
|
|
802
|
-
|
|
824
|
+
fresh?: {
|
|
803
825
|
noOutputTimeoutMs?: number | undefined;
|
|
804
826
|
noOutputTimeoutRatio?: number | undefined;
|
|
805
827
|
minMs?: number | undefined;
|
|
@@ -808,16 +830,17 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
808
830
|
} | undefined;
|
|
809
831
|
} | undefined;
|
|
810
832
|
}> | undefined;
|
|
811
|
-
tools?: {
|
|
812
|
-
allow?: string[] | undefined;
|
|
813
|
-
deny?: string[] | undefined;
|
|
814
|
-
} | undefined;
|
|
815
833
|
max_tokens?: number | undefined;
|
|
816
834
|
}, {
|
|
817
835
|
model: {
|
|
818
836
|
primary: string;
|
|
819
837
|
fallbacks?: string[] | undefined;
|
|
838
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
820
839
|
};
|
|
840
|
+
tools?: {
|
|
841
|
+
allow?: string[] | undefined;
|
|
842
|
+
deny?: string[] | undefined;
|
|
843
|
+
} | undefined;
|
|
821
844
|
env?: Record<string, string> | undefined;
|
|
822
845
|
clearEnv?: string[] | undefined;
|
|
823
846
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -868,13 +891,13 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
868
891
|
serialize?: boolean | undefined;
|
|
869
892
|
reliability?: {
|
|
870
893
|
watchdog?: {
|
|
871
|
-
|
|
894
|
+
resume?: {
|
|
872
895
|
noOutputTimeoutMs?: number | undefined;
|
|
873
896
|
noOutputTimeoutRatio?: number | undefined;
|
|
874
897
|
minMs?: number | undefined;
|
|
875
898
|
maxMs?: number | undefined;
|
|
876
899
|
} | undefined;
|
|
877
|
-
|
|
900
|
+
fresh?: {
|
|
878
901
|
noOutputTimeoutMs?: number | undefined;
|
|
879
902
|
noOutputTimeoutRatio?: number | undefined;
|
|
880
903
|
minMs?: number | undefined;
|
|
@@ -883,10 +906,6 @@ export declare const AgentDefaultsSchema: z.ZodObject<{
|
|
|
883
906
|
} | undefined;
|
|
884
907
|
} | undefined;
|
|
885
908
|
}> | undefined;
|
|
886
|
-
tools?: {
|
|
887
|
-
allow?: string[] | undefined;
|
|
888
|
-
deny?: string[] | undefined;
|
|
889
|
-
} | undefined;
|
|
890
909
|
max_tokens?: number | undefined;
|
|
891
910
|
}>;
|
|
892
911
|
export type AgentDefaultsConfig = z.infer<typeof AgentDefaultsSchema>;
|
|
@@ -914,12 +933,15 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
914
933
|
model: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
915
934
|
primary: z.ZodString;
|
|
916
935
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
936
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
917
937
|
}, "strip", z.ZodTypeAny, {
|
|
918
938
|
primary: string;
|
|
919
939
|
fallbacks?: string[] | undefined;
|
|
940
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
920
941
|
}, {
|
|
921
942
|
primary: string;
|
|
922
943
|
fallbacks?: string[] | undefined;
|
|
944
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
923
945
|
}>, z.ZodString]>>;
|
|
924
946
|
workspace: z.ZodOptional<z.ZodString>;
|
|
925
947
|
cliSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1024,26 +1046,26 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1024
1046
|
maxMs?: number | undefined;
|
|
1025
1047
|
}>>;
|
|
1026
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1027
|
-
|
|
1049
|
+
resume?: {
|
|
1028
1050
|
noOutputTimeoutMs?: number | undefined;
|
|
1029
1051
|
noOutputTimeoutRatio?: number | undefined;
|
|
1030
1052
|
minMs?: number | undefined;
|
|
1031
1053
|
maxMs?: number | undefined;
|
|
1032
1054
|
} | undefined;
|
|
1033
|
-
|
|
1055
|
+
fresh?: {
|
|
1034
1056
|
noOutputTimeoutMs?: number | undefined;
|
|
1035
1057
|
noOutputTimeoutRatio?: number | undefined;
|
|
1036
1058
|
minMs?: number | undefined;
|
|
1037
1059
|
maxMs?: number | undefined;
|
|
1038
1060
|
} | undefined;
|
|
1039
1061
|
}, {
|
|
1040
|
-
|
|
1062
|
+
resume?: {
|
|
1041
1063
|
noOutputTimeoutMs?: number | undefined;
|
|
1042
1064
|
noOutputTimeoutRatio?: number | undefined;
|
|
1043
1065
|
minMs?: number | undefined;
|
|
1044
1066
|
maxMs?: number | undefined;
|
|
1045
1067
|
} | undefined;
|
|
1046
|
-
|
|
1068
|
+
fresh?: {
|
|
1047
1069
|
noOutputTimeoutMs?: number | undefined;
|
|
1048
1070
|
noOutputTimeoutRatio?: number | undefined;
|
|
1049
1071
|
minMs?: number | undefined;
|
|
@@ -1052,13 +1074,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1052
1074
|
}>>;
|
|
1053
1075
|
}, "strip", z.ZodTypeAny, {
|
|
1054
1076
|
watchdog?: {
|
|
1055
|
-
|
|
1077
|
+
resume?: {
|
|
1056
1078
|
noOutputTimeoutMs?: number | undefined;
|
|
1057
1079
|
noOutputTimeoutRatio?: number | undefined;
|
|
1058
1080
|
minMs?: number | undefined;
|
|
1059
1081
|
maxMs?: number | undefined;
|
|
1060
1082
|
} | undefined;
|
|
1061
|
-
|
|
1083
|
+
fresh?: {
|
|
1062
1084
|
noOutputTimeoutMs?: number | undefined;
|
|
1063
1085
|
noOutputTimeoutRatio?: number | undefined;
|
|
1064
1086
|
minMs?: number | undefined;
|
|
@@ -1067,13 +1089,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1067
1089
|
} | undefined;
|
|
1068
1090
|
}, {
|
|
1069
1091
|
watchdog?: {
|
|
1070
|
-
|
|
1092
|
+
resume?: {
|
|
1071
1093
|
noOutputTimeoutMs?: number | undefined;
|
|
1072
1094
|
noOutputTimeoutRatio?: number | undefined;
|
|
1073
1095
|
minMs?: number | undefined;
|
|
1074
1096
|
maxMs?: number | undefined;
|
|
1075
1097
|
} | undefined;
|
|
1076
|
-
|
|
1098
|
+
fresh?: {
|
|
1077
1099
|
noOutputTimeoutMs?: number | undefined;
|
|
1078
1100
|
noOutputTimeoutRatio?: number | undefined;
|
|
1079
1101
|
minMs?: number | undefined;
|
|
@@ -1122,13 +1144,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1122
1144
|
serialize?: boolean | undefined;
|
|
1123
1145
|
reliability?: {
|
|
1124
1146
|
watchdog?: {
|
|
1125
|
-
|
|
1147
|
+
resume?: {
|
|
1126
1148
|
noOutputTimeoutMs?: number | undefined;
|
|
1127
1149
|
noOutputTimeoutRatio?: number | undefined;
|
|
1128
1150
|
minMs?: number | undefined;
|
|
1129
1151
|
maxMs?: number | undefined;
|
|
1130
1152
|
} | undefined;
|
|
1131
|
-
|
|
1153
|
+
fresh?: {
|
|
1132
1154
|
noOutputTimeoutMs?: number | undefined;
|
|
1133
1155
|
noOutputTimeoutRatio?: number | undefined;
|
|
1134
1156
|
minMs?: number | undefined;
|
|
@@ -1177,13 +1199,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1177
1199
|
serialize?: boolean | undefined;
|
|
1178
1200
|
reliability?: {
|
|
1179
1201
|
watchdog?: {
|
|
1180
|
-
|
|
1202
|
+
resume?: {
|
|
1181
1203
|
noOutputTimeoutMs?: number | undefined;
|
|
1182
1204
|
noOutputTimeoutRatio?: number | undefined;
|
|
1183
1205
|
minMs?: number | undefined;
|
|
1184
1206
|
maxMs?: number | undefined;
|
|
1185
1207
|
} | undefined;
|
|
1186
|
-
|
|
1208
|
+
fresh?: {
|
|
1187
1209
|
noOutputTimeoutMs?: number | undefined;
|
|
1188
1210
|
noOutputTimeoutRatio?: number | undefined;
|
|
1189
1211
|
minMs?: number | undefined;
|
|
@@ -1220,10 +1242,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1220
1242
|
model?: string | {
|
|
1221
1243
|
primary: string;
|
|
1222
1244
|
fallbacks?: string[] | undefined;
|
|
1245
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
1223
1246
|
} | undefined;
|
|
1224
1247
|
workspace?: string | undefined;
|
|
1225
1248
|
default?: boolean | undefined;
|
|
1226
1249
|
name?: string | undefined;
|
|
1250
|
+
systemPrompt?: string | undefined;
|
|
1251
|
+
tools?: {
|
|
1252
|
+
allow?: string[] | undefined;
|
|
1253
|
+
deny?: string[] | undefined;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
skills?: string[] | undefined;
|
|
1227
1256
|
env?: Record<string, string> | undefined;
|
|
1228
1257
|
clearEnv?: string[] | undefined;
|
|
1229
1258
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -1274,13 +1303,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1274
1303
|
serialize?: boolean | undefined;
|
|
1275
1304
|
reliability?: {
|
|
1276
1305
|
watchdog?: {
|
|
1277
|
-
|
|
1306
|
+
resume?: {
|
|
1278
1307
|
noOutputTimeoutMs?: number | undefined;
|
|
1279
1308
|
noOutputTimeoutRatio?: number | undefined;
|
|
1280
1309
|
minMs?: number | undefined;
|
|
1281
1310
|
maxMs?: number | undefined;
|
|
1282
1311
|
} | undefined;
|
|
1283
|
-
|
|
1312
|
+
fresh?: {
|
|
1284
1313
|
noOutputTimeoutMs?: number | undefined;
|
|
1285
1314
|
noOutputTimeoutRatio?: number | undefined;
|
|
1286
1315
|
minMs?: number | undefined;
|
|
@@ -1289,13 +1318,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1289
1318
|
} | undefined;
|
|
1290
1319
|
} | undefined;
|
|
1291
1320
|
}> | undefined;
|
|
1292
|
-
tools?: {
|
|
1293
|
-
allow?: string[] | undefined;
|
|
1294
|
-
deny?: string[] | undefined;
|
|
1295
|
-
} | undefined;
|
|
1296
1321
|
cliSessionId?: string | undefined;
|
|
1297
|
-
systemPrompt?: string | undefined;
|
|
1298
|
-
skills?: string[] | undefined;
|
|
1299
1322
|
identity?: {
|
|
1300
1323
|
name?: string | undefined;
|
|
1301
1324
|
emoji?: string | undefined;
|
|
@@ -1305,10 +1328,17 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1305
1328
|
model?: string | {
|
|
1306
1329
|
primary: string;
|
|
1307
1330
|
fallbacks?: string[] | undefined;
|
|
1331
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
1308
1332
|
} | undefined;
|
|
1309
1333
|
workspace?: string | undefined;
|
|
1310
1334
|
default?: boolean | undefined;
|
|
1311
1335
|
name?: string | undefined;
|
|
1336
|
+
systemPrompt?: string | undefined;
|
|
1337
|
+
tools?: {
|
|
1338
|
+
allow?: string[] | undefined;
|
|
1339
|
+
deny?: string[] | undefined;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
skills?: string[] | undefined;
|
|
1312
1342
|
env?: Record<string, string> | undefined;
|
|
1313
1343
|
clearEnv?: string[] | undefined;
|
|
1314
1344
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -1359,13 +1389,13 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1359
1389
|
serialize?: boolean | undefined;
|
|
1360
1390
|
reliability?: {
|
|
1361
1391
|
watchdog?: {
|
|
1362
|
-
|
|
1392
|
+
resume?: {
|
|
1363
1393
|
noOutputTimeoutMs?: number | undefined;
|
|
1364
1394
|
noOutputTimeoutRatio?: number | undefined;
|
|
1365
1395
|
minMs?: number | undefined;
|
|
1366
1396
|
maxMs?: number | undefined;
|
|
1367
1397
|
} | undefined;
|
|
1368
|
-
|
|
1398
|
+
fresh?: {
|
|
1369
1399
|
noOutputTimeoutMs?: number | undefined;
|
|
1370
1400
|
noOutputTimeoutRatio?: number | undefined;
|
|
1371
1401
|
minMs?: number | undefined;
|
|
@@ -1374,13 +1404,7 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
1374
1404
|
} | undefined;
|
|
1375
1405
|
} | undefined;
|
|
1376
1406
|
}> | undefined;
|
|
1377
|
-
tools?: {
|
|
1378
|
-
allow?: string[] | undefined;
|
|
1379
|
-
deny?: string[] | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
1407
|
cliSessionId?: string | undefined;
|
|
1382
|
-
systemPrompt?: string | undefined;
|
|
1383
|
-
skills?: string[] | undefined;
|
|
1384
1408
|
identity?: {
|
|
1385
1409
|
name?: string | undefined;
|
|
1386
1410
|
emoji?: string | undefined;
|
|
@@ -1453,7 +1477,6 @@ export declare const AgentBindingSchema: z.ZodObject<{
|
|
|
1453
1477
|
userId?: string | undefined;
|
|
1454
1478
|
}>;
|
|
1455
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1456
|
-
agentId: string;
|
|
1457
1480
|
match: {
|
|
1458
1481
|
accountId?: string | undefined;
|
|
1459
1482
|
channel?: string | undefined;
|
|
@@ -1463,9 +1486,9 @@ export declare const AgentBindingSchema: z.ZodObject<{
|
|
|
1463
1486
|
} | undefined;
|
|
1464
1487
|
userId?: string | undefined;
|
|
1465
1488
|
};
|
|
1489
|
+
agentId: string;
|
|
1466
1490
|
comment?: string | undefined;
|
|
1467
1491
|
}, {
|
|
1468
|
-
agentId: string;
|
|
1469
1492
|
match: {
|
|
1470
1493
|
accountId?: string | undefined;
|
|
1471
1494
|
channel?: string | undefined;
|
|
@@ -1475,6 +1498,7 @@ export declare const AgentBindingSchema: z.ZodObject<{
|
|
|
1475
1498
|
} | undefined;
|
|
1476
1499
|
userId?: string | undefined;
|
|
1477
1500
|
};
|
|
1501
|
+
agentId: string;
|
|
1478
1502
|
comment?: string | undefined;
|
|
1479
1503
|
}>;
|
|
1480
1504
|
export type AgentBinding = z.infer<typeof AgentBindingSchema>;
|
|
@@ -1493,11 +1517,11 @@ export declare const LoggingConfigSchema: z.ZodObject<{
|
|
|
1493
1517
|
pretty: z.ZodDefault<z.ZodBoolean>;
|
|
1494
1518
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
1495
1519
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
level: "
|
|
1520
|
+
level: "error" | "fatal" | "warn" | "info" | "debug" | "trace";
|
|
1497
1521
|
pretty: boolean;
|
|
1498
1522
|
retentionDays: number;
|
|
1499
1523
|
}, {
|
|
1500
|
-
level?: "
|
|
1524
|
+
level?: "error" | "fatal" | "warn" | "info" | "debug" | "trace" | undefined;
|
|
1501
1525
|
pretty?: boolean | undefined;
|
|
1502
1526
|
retentionDays?: number | undefined;
|
|
1503
1527
|
}>;
|
|
@@ -1531,6 +1555,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1531
1555
|
gateway_url: z.ZodString;
|
|
1532
1556
|
openapi_base_url: z.ZodOptional<z.ZodString>;
|
|
1533
1557
|
bot_token: z.ZodString;
|
|
1558
|
+
managed_runtime: z.ZodOptional<z.ZodBoolean>;
|
|
1534
1559
|
poll_timeout: z.ZodDefault<z.ZodNumber>;
|
|
1535
1560
|
retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
1536
1561
|
max_retry_interval: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1541,10 +1566,12 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1541
1566
|
retry_interval: number;
|
|
1542
1567
|
max_retry_interval: number;
|
|
1543
1568
|
openapi_base_url?: string | undefined;
|
|
1569
|
+
managed_runtime?: boolean | undefined;
|
|
1544
1570
|
}, {
|
|
1545
1571
|
gateway_url: string;
|
|
1546
1572
|
bot_token: string;
|
|
1547
1573
|
openapi_base_url?: string | undefined;
|
|
1574
|
+
managed_runtime?: boolean | undefined;
|
|
1548
1575
|
poll_timeout?: number | undefined;
|
|
1549
1576
|
retry_interval?: number | undefined;
|
|
1550
1577
|
max_retry_interval?: number | undefined;
|
|
@@ -1563,6 +1590,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1563
1590
|
retry_interval: number;
|
|
1564
1591
|
max_retry_interval: number;
|
|
1565
1592
|
openapi_base_url?: string | undefined;
|
|
1593
|
+
managed_runtime?: boolean | undefined;
|
|
1566
1594
|
}> | undefined;
|
|
1567
1595
|
}, {
|
|
1568
1596
|
gateway_url?: string | undefined;
|
|
@@ -1575,6 +1603,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1575
1603
|
gateway_url: string;
|
|
1576
1604
|
bot_token: string;
|
|
1577
1605
|
openapi_base_url?: string | undefined;
|
|
1606
|
+
managed_runtime?: boolean | undefined;
|
|
1578
1607
|
poll_timeout?: number | undefined;
|
|
1579
1608
|
retry_interval?: number | undefined;
|
|
1580
1609
|
max_retry_interval?: number | undefined;
|
|
@@ -1593,6 +1622,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1593
1622
|
retry_interval: number;
|
|
1594
1623
|
max_retry_interval: number;
|
|
1595
1624
|
openapi_base_url?: string | undefined;
|
|
1625
|
+
managed_runtime?: boolean | undefined;
|
|
1596
1626
|
}> | undefined;
|
|
1597
1627
|
}, {
|
|
1598
1628
|
gateway_url?: string | undefined;
|
|
@@ -1605,6 +1635,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1605
1635
|
gateway_url: string;
|
|
1606
1636
|
bot_token: string;
|
|
1607
1637
|
openapi_base_url?: string | undefined;
|
|
1638
|
+
managed_runtime?: boolean | undefined;
|
|
1608
1639
|
poll_timeout?: number | undefined;
|
|
1609
1640
|
retry_interval?: number | undefined;
|
|
1610
1641
|
max_retry_interval?: number | undefined;
|
|
@@ -1625,6 +1656,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1625
1656
|
retry_interval: number;
|
|
1626
1657
|
max_retry_interval: number;
|
|
1627
1658
|
openapi_base_url?: string | undefined;
|
|
1659
|
+
managed_runtime?: boolean | undefined;
|
|
1628
1660
|
}> | undefined;
|
|
1629
1661
|
};
|
|
1630
1662
|
}, {
|
|
@@ -1639,6 +1671,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1639
1671
|
gateway_url: string;
|
|
1640
1672
|
bot_token: string;
|
|
1641
1673
|
openapi_base_url?: string | undefined;
|
|
1674
|
+
managed_runtime?: boolean | undefined;
|
|
1642
1675
|
poll_timeout?: number | undefined;
|
|
1643
1676
|
retry_interval?: number | undefined;
|
|
1644
1677
|
max_retry_interval?: number | undefined;
|
|
@@ -1667,12 +1700,15 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1667
1700
|
model: z.ZodObject<{
|
|
1668
1701
|
primary: z.ZodString;
|
|
1669
1702
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1703
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
1670
1704
|
}, "strip", z.ZodTypeAny, {
|
|
1671
1705
|
primary: string;
|
|
1672
1706
|
fallbacks?: string[] | undefined;
|
|
1707
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
1673
1708
|
}, {
|
|
1674
1709
|
primary: string;
|
|
1675
1710
|
fallbacks?: string[] | undefined;
|
|
1711
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
1676
1712
|
}>;
|
|
1677
1713
|
cliBackends: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1678
1714
|
command: z.ZodString;
|
|
@@ -1774,26 +1810,26 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1774
1810
|
maxMs?: number | undefined;
|
|
1775
1811
|
}>>;
|
|
1776
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1777
|
-
|
|
1813
|
+
resume?: {
|
|
1778
1814
|
noOutputTimeoutMs?: number | undefined;
|
|
1779
1815
|
noOutputTimeoutRatio?: number | undefined;
|
|
1780
1816
|
minMs?: number | undefined;
|
|
1781
1817
|
maxMs?: number | undefined;
|
|
1782
1818
|
} | undefined;
|
|
1783
|
-
|
|
1819
|
+
fresh?: {
|
|
1784
1820
|
noOutputTimeoutMs?: number | undefined;
|
|
1785
1821
|
noOutputTimeoutRatio?: number | undefined;
|
|
1786
1822
|
minMs?: number | undefined;
|
|
1787
1823
|
maxMs?: number | undefined;
|
|
1788
1824
|
} | undefined;
|
|
1789
1825
|
}, {
|
|
1790
|
-
|
|
1826
|
+
resume?: {
|
|
1791
1827
|
noOutputTimeoutMs?: number | undefined;
|
|
1792
1828
|
noOutputTimeoutRatio?: number | undefined;
|
|
1793
1829
|
minMs?: number | undefined;
|
|
1794
1830
|
maxMs?: number | undefined;
|
|
1795
1831
|
} | undefined;
|
|
1796
|
-
|
|
1832
|
+
fresh?: {
|
|
1797
1833
|
noOutputTimeoutMs?: number | undefined;
|
|
1798
1834
|
noOutputTimeoutRatio?: number | undefined;
|
|
1799
1835
|
minMs?: number | undefined;
|
|
@@ -1802,13 +1838,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1802
1838
|
}>>;
|
|
1803
1839
|
}, "strip", z.ZodTypeAny, {
|
|
1804
1840
|
watchdog?: {
|
|
1805
|
-
|
|
1841
|
+
resume?: {
|
|
1806
1842
|
noOutputTimeoutMs?: number | undefined;
|
|
1807
1843
|
noOutputTimeoutRatio?: number | undefined;
|
|
1808
1844
|
minMs?: number | undefined;
|
|
1809
1845
|
maxMs?: number | undefined;
|
|
1810
1846
|
} | undefined;
|
|
1811
|
-
|
|
1847
|
+
fresh?: {
|
|
1812
1848
|
noOutputTimeoutMs?: number | undefined;
|
|
1813
1849
|
noOutputTimeoutRatio?: number | undefined;
|
|
1814
1850
|
minMs?: number | undefined;
|
|
@@ -1817,13 +1853,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1817
1853
|
} | undefined;
|
|
1818
1854
|
}, {
|
|
1819
1855
|
watchdog?: {
|
|
1820
|
-
|
|
1856
|
+
resume?: {
|
|
1821
1857
|
noOutputTimeoutMs?: number | undefined;
|
|
1822
1858
|
noOutputTimeoutRatio?: number | undefined;
|
|
1823
1859
|
minMs?: number | undefined;
|
|
1824
1860
|
maxMs?: number | undefined;
|
|
1825
1861
|
} | undefined;
|
|
1826
|
-
|
|
1862
|
+
fresh?: {
|
|
1827
1863
|
noOutputTimeoutMs?: number | undefined;
|
|
1828
1864
|
noOutputTimeoutRatio?: number | undefined;
|
|
1829
1865
|
minMs?: number | undefined;
|
|
@@ -1872,13 +1908,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1872
1908
|
serialize?: boolean | undefined;
|
|
1873
1909
|
reliability?: {
|
|
1874
1910
|
watchdog?: {
|
|
1875
|
-
|
|
1911
|
+
resume?: {
|
|
1876
1912
|
noOutputTimeoutMs?: number | undefined;
|
|
1877
1913
|
noOutputTimeoutRatio?: number | undefined;
|
|
1878
1914
|
minMs?: number | undefined;
|
|
1879
1915
|
maxMs?: number | undefined;
|
|
1880
1916
|
} | undefined;
|
|
1881
|
-
|
|
1917
|
+
fresh?: {
|
|
1882
1918
|
noOutputTimeoutMs?: number | undefined;
|
|
1883
1919
|
noOutputTimeoutRatio?: number | undefined;
|
|
1884
1920
|
minMs?: number | undefined;
|
|
@@ -1927,13 +1963,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1927
1963
|
serialize?: boolean | undefined;
|
|
1928
1964
|
reliability?: {
|
|
1929
1965
|
watchdog?: {
|
|
1930
|
-
|
|
1966
|
+
resume?: {
|
|
1931
1967
|
noOutputTimeoutMs?: number | undefined;
|
|
1932
1968
|
noOutputTimeoutRatio?: number | undefined;
|
|
1933
1969
|
minMs?: number | undefined;
|
|
1934
1970
|
maxMs?: number | undefined;
|
|
1935
1971
|
} | undefined;
|
|
1936
|
-
|
|
1972
|
+
fresh?: {
|
|
1937
1973
|
noOutputTimeoutMs?: number | undefined;
|
|
1938
1974
|
noOutputTimeoutRatio?: number | undefined;
|
|
1939
1975
|
minMs?: number | undefined;
|
|
@@ -1959,7 +1995,12 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
1959
1995
|
model: {
|
|
1960
1996
|
primary: string;
|
|
1961
1997
|
fallbacks?: string[] | undefined;
|
|
1998
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
1962
1999
|
};
|
|
2000
|
+
tools?: {
|
|
2001
|
+
allow?: string[] | undefined;
|
|
2002
|
+
deny?: string[] | undefined;
|
|
2003
|
+
} | undefined;
|
|
1963
2004
|
env?: Record<string, string> | undefined;
|
|
1964
2005
|
clearEnv?: string[] | undefined;
|
|
1965
2006
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2010,13 +2051,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2010
2051
|
serialize?: boolean | undefined;
|
|
2011
2052
|
reliability?: {
|
|
2012
2053
|
watchdog?: {
|
|
2013
|
-
|
|
2054
|
+
resume?: {
|
|
2014
2055
|
noOutputTimeoutMs?: number | undefined;
|
|
2015
2056
|
noOutputTimeoutRatio?: number | undefined;
|
|
2016
2057
|
minMs?: number | undefined;
|
|
2017
2058
|
maxMs?: number | undefined;
|
|
2018
2059
|
} | undefined;
|
|
2019
|
-
|
|
2060
|
+
fresh?: {
|
|
2020
2061
|
noOutputTimeoutMs?: number | undefined;
|
|
2021
2062
|
noOutputTimeoutRatio?: number | undefined;
|
|
2022
2063
|
minMs?: number | undefined;
|
|
@@ -2025,16 +2066,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2025
2066
|
} | undefined;
|
|
2026
2067
|
} | undefined;
|
|
2027
2068
|
}> | undefined;
|
|
2028
|
-
tools?: {
|
|
2029
|
-
allow?: string[] | undefined;
|
|
2030
|
-
deny?: string[] | undefined;
|
|
2031
|
-
} | undefined;
|
|
2032
2069
|
max_tokens?: number | undefined;
|
|
2033
2070
|
}, {
|
|
2034
2071
|
model: {
|
|
2035
2072
|
primary: string;
|
|
2036
2073
|
fallbacks?: string[] | undefined;
|
|
2074
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2037
2075
|
};
|
|
2076
|
+
tools?: {
|
|
2077
|
+
allow?: string[] | undefined;
|
|
2078
|
+
deny?: string[] | undefined;
|
|
2079
|
+
} | undefined;
|
|
2038
2080
|
env?: Record<string, string> | undefined;
|
|
2039
2081
|
clearEnv?: string[] | undefined;
|
|
2040
2082
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2085,13 +2127,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2085
2127
|
serialize?: boolean | undefined;
|
|
2086
2128
|
reliability?: {
|
|
2087
2129
|
watchdog?: {
|
|
2088
|
-
|
|
2130
|
+
resume?: {
|
|
2089
2131
|
noOutputTimeoutMs?: number | undefined;
|
|
2090
2132
|
noOutputTimeoutRatio?: number | undefined;
|
|
2091
2133
|
minMs?: number | undefined;
|
|
2092
2134
|
maxMs?: number | undefined;
|
|
2093
2135
|
} | undefined;
|
|
2094
|
-
|
|
2136
|
+
fresh?: {
|
|
2095
2137
|
noOutputTimeoutMs?: number | undefined;
|
|
2096
2138
|
noOutputTimeoutRatio?: number | undefined;
|
|
2097
2139
|
minMs?: number | undefined;
|
|
@@ -2100,10 +2142,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2100
2142
|
} | undefined;
|
|
2101
2143
|
} | undefined;
|
|
2102
2144
|
}> | undefined;
|
|
2103
|
-
tools?: {
|
|
2104
|
-
allow?: string[] | undefined;
|
|
2105
|
-
deny?: string[] | undefined;
|
|
2106
|
-
} | undefined;
|
|
2107
2145
|
max_tokens?: number | undefined;
|
|
2108
2146
|
}>;
|
|
2109
2147
|
list: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2130,12 +2168,15 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2130
2168
|
model: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2131
2169
|
primary: z.ZodString;
|
|
2132
2170
|
fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2171
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"]>>;
|
|
2133
2172
|
}, "strip", z.ZodTypeAny, {
|
|
2134
2173
|
primary: string;
|
|
2135
2174
|
fallbacks?: string[] | undefined;
|
|
2175
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2136
2176
|
}, {
|
|
2137
2177
|
primary: string;
|
|
2138
2178
|
fallbacks?: string[] | undefined;
|
|
2179
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2139
2180
|
}>, z.ZodString]>>;
|
|
2140
2181
|
workspace: z.ZodOptional<z.ZodString>;
|
|
2141
2182
|
cliSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -2240,26 +2281,26 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2240
2281
|
maxMs?: number | undefined;
|
|
2241
2282
|
}>>;
|
|
2242
2283
|
}, "strip", z.ZodTypeAny, {
|
|
2243
|
-
|
|
2284
|
+
resume?: {
|
|
2244
2285
|
noOutputTimeoutMs?: number | undefined;
|
|
2245
2286
|
noOutputTimeoutRatio?: number | undefined;
|
|
2246
2287
|
minMs?: number | undefined;
|
|
2247
2288
|
maxMs?: number | undefined;
|
|
2248
2289
|
} | undefined;
|
|
2249
|
-
|
|
2290
|
+
fresh?: {
|
|
2250
2291
|
noOutputTimeoutMs?: number | undefined;
|
|
2251
2292
|
noOutputTimeoutRatio?: number | undefined;
|
|
2252
2293
|
minMs?: number | undefined;
|
|
2253
2294
|
maxMs?: number | undefined;
|
|
2254
2295
|
} | undefined;
|
|
2255
2296
|
}, {
|
|
2256
|
-
|
|
2297
|
+
resume?: {
|
|
2257
2298
|
noOutputTimeoutMs?: number | undefined;
|
|
2258
2299
|
noOutputTimeoutRatio?: number | undefined;
|
|
2259
2300
|
minMs?: number | undefined;
|
|
2260
2301
|
maxMs?: number | undefined;
|
|
2261
2302
|
} | undefined;
|
|
2262
|
-
|
|
2303
|
+
fresh?: {
|
|
2263
2304
|
noOutputTimeoutMs?: number | undefined;
|
|
2264
2305
|
noOutputTimeoutRatio?: number | undefined;
|
|
2265
2306
|
minMs?: number | undefined;
|
|
@@ -2268,13 +2309,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2268
2309
|
}>>;
|
|
2269
2310
|
}, "strip", z.ZodTypeAny, {
|
|
2270
2311
|
watchdog?: {
|
|
2271
|
-
|
|
2312
|
+
resume?: {
|
|
2272
2313
|
noOutputTimeoutMs?: number | undefined;
|
|
2273
2314
|
noOutputTimeoutRatio?: number | undefined;
|
|
2274
2315
|
minMs?: number | undefined;
|
|
2275
2316
|
maxMs?: number | undefined;
|
|
2276
2317
|
} | undefined;
|
|
2277
|
-
|
|
2318
|
+
fresh?: {
|
|
2278
2319
|
noOutputTimeoutMs?: number | undefined;
|
|
2279
2320
|
noOutputTimeoutRatio?: number | undefined;
|
|
2280
2321
|
minMs?: number | undefined;
|
|
@@ -2283,13 +2324,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2283
2324
|
} | undefined;
|
|
2284
2325
|
}, {
|
|
2285
2326
|
watchdog?: {
|
|
2286
|
-
|
|
2327
|
+
resume?: {
|
|
2287
2328
|
noOutputTimeoutMs?: number | undefined;
|
|
2288
2329
|
noOutputTimeoutRatio?: number | undefined;
|
|
2289
2330
|
minMs?: number | undefined;
|
|
2290
2331
|
maxMs?: number | undefined;
|
|
2291
2332
|
} | undefined;
|
|
2292
|
-
|
|
2333
|
+
fresh?: {
|
|
2293
2334
|
noOutputTimeoutMs?: number | undefined;
|
|
2294
2335
|
noOutputTimeoutRatio?: number | undefined;
|
|
2295
2336
|
minMs?: number | undefined;
|
|
@@ -2338,13 +2379,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2338
2379
|
serialize?: boolean | undefined;
|
|
2339
2380
|
reliability?: {
|
|
2340
2381
|
watchdog?: {
|
|
2341
|
-
|
|
2382
|
+
resume?: {
|
|
2342
2383
|
noOutputTimeoutMs?: number | undefined;
|
|
2343
2384
|
noOutputTimeoutRatio?: number | undefined;
|
|
2344
2385
|
minMs?: number | undefined;
|
|
2345
2386
|
maxMs?: number | undefined;
|
|
2346
2387
|
} | undefined;
|
|
2347
|
-
|
|
2388
|
+
fresh?: {
|
|
2348
2389
|
noOutputTimeoutMs?: number | undefined;
|
|
2349
2390
|
noOutputTimeoutRatio?: number | undefined;
|
|
2350
2391
|
minMs?: number | undefined;
|
|
@@ -2393,13 +2434,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2393
2434
|
serialize?: boolean | undefined;
|
|
2394
2435
|
reliability?: {
|
|
2395
2436
|
watchdog?: {
|
|
2396
|
-
|
|
2437
|
+
resume?: {
|
|
2397
2438
|
noOutputTimeoutMs?: number | undefined;
|
|
2398
2439
|
noOutputTimeoutRatio?: number | undefined;
|
|
2399
2440
|
minMs?: number | undefined;
|
|
2400
2441
|
maxMs?: number | undefined;
|
|
2401
2442
|
} | undefined;
|
|
2402
|
-
|
|
2443
|
+
fresh?: {
|
|
2403
2444
|
noOutputTimeoutMs?: number | undefined;
|
|
2404
2445
|
noOutputTimeoutRatio?: number | undefined;
|
|
2405
2446
|
minMs?: number | undefined;
|
|
@@ -2436,10 +2477,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2436
2477
|
model?: string | {
|
|
2437
2478
|
primary: string;
|
|
2438
2479
|
fallbacks?: string[] | undefined;
|
|
2480
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2439
2481
|
} | undefined;
|
|
2440
2482
|
workspace?: string | undefined;
|
|
2441
2483
|
default?: boolean | undefined;
|
|
2442
2484
|
name?: string | undefined;
|
|
2485
|
+
systemPrompt?: string | undefined;
|
|
2486
|
+
tools?: {
|
|
2487
|
+
allow?: string[] | undefined;
|
|
2488
|
+
deny?: string[] | undefined;
|
|
2489
|
+
} | undefined;
|
|
2490
|
+
skills?: string[] | undefined;
|
|
2443
2491
|
env?: Record<string, string> | undefined;
|
|
2444
2492
|
clearEnv?: string[] | undefined;
|
|
2445
2493
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2490,13 +2538,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2490
2538
|
serialize?: boolean | undefined;
|
|
2491
2539
|
reliability?: {
|
|
2492
2540
|
watchdog?: {
|
|
2493
|
-
|
|
2541
|
+
resume?: {
|
|
2494
2542
|
noOutputTimeoutMs?: number | undefined;
|
|
2495
2543
|
noOutputTimeoutRatio?: number | undefined;
|
|
2496
2544
|
minMs?: number | undefined;
|
|
2497
2545
|
maxMs?: number | undefined;
|
|
2498
2546
|
} | undefined;
|
|
2499
|
-
|
|
2547
|
+
fresh?: {
|
|
2500
2548
|
noOutputTimeoutMs?: number | undefined;
|
|
2501
2549
|
noOutputTimeoutRatio?: number | undefined;
|
|
2502
2550
|
minMs?: number | undefined;
|
|
@@ -2505,13 +2553,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2505
2553
|
} | undefined;
|
|
2506
2554
|
} | undefined;
|
|
2507
2555
|
}> | undefined;
|
|
2508
|
-
tools?: {
|
|
2509
|
-
allow?: string[] | undefined;
|
|
2510
|
-
deny?: string[] | undefined;
|
|
2511
|
-
} | undefined;
|
|
2512
2556
|
cliSessionId?: string | undefined;
|
|
2513
|
-
systemPrompt?: string | undefined;
|
|
2514
|
-
skills?: string[] | undefined;
|
|
2515
2557
|
identity?: {
|
|
2516
2558
|
name?: string | undefined;
|
|
2517
2559
|
emoji?: string | undefined;
|
|
@@ -2521,10 +2563,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2521
2563
|
model?: string | {
|
|
2522
2564
|
primary: string;
|
|
2523
2565
|
fallbacks?: string[] | undefined;
|
|
2566
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2524
2567
|
} | undefined;
|
|
2525
2568
|
workspace?: string | undefined;
|
|
2526
2569
|
default?: boolean | undefined;
|
|
2527
2570
|
name?: string | undefined;
|
|
2571
|
+
systemPrompt?: string | undefined;
|
|
2572
|
+
tools?: {
|
|
2573
|
+
allow?: string[] | undefined;
|
|
2574
|
+
deny?: string[] | undefined;
|
|
2575
|
+
} | undefined;
|
|
2576
|
+
skills?: string[] | undefined;
|
|
2528
2577
|
env?: Record<string, string> | undefined;
|
|
2529
2578
|
clearEnv?: string[] | undefined;
|
|
2530
2579
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2575,13 +2624,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2575
2624
|
serialize?: boolean | undefined;
|
|
2576
2625
|
reliability?: {
|
|
2577
2626
|
watchdog?: {
|
|
2578
|
-
|
|
2627
|
+
resume?: {
|
|
2579
2628
|
noOutputTimeoutMs?: number | undefined;
|
|
2580
2629
|
noOutputTimeoutRatio?: number | undefined;
|
|
2581
2630
|
minMs?: number | undefined;
|
|
2582
2631
|
maxMs?: number | undefined;
|
|
2583
2632
|
} | undefined;
|
|
2584
|
-
|
|
2633
|
+
fresh?: {
|
|
2585
2634
|
noOutputTimeoutMs?: number | undefined;
|
|
2586
2635
|
noOutputTimeoutRatio?: number | undefined;
|
|
2587
2636
|
minMs?: number | undefined;
|
|
@@ -2590,13 +2639,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2590
2639
|
} | undefined;
|
|
2591
2640
|
} | undefined;
|
|
2592
2641
|
}> | undefined;
|
|
2593
|
-
tools?: {
|
|
2594
|
-
allow?: string[] | undefined;
|
|
2595
|
-
deny?: string[] | undefined;
|
|
2596
|
-
} | undefined;
|
|
2597
2642
|
cliSessionId?: string | undefined;
|
|
2598
|
-
systemPrompt?: string | undefined;
|
|
2599
|
-
skills?: string[] | undefined;
|
|
2600
2643
|
identity?: {
|
|
2601
2644
|
name?: string | undefined;
|
|
2602
2645
|
emoji?: string | undefined;
|
|
@@ -2607,7 +2650,12 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2607
2650
|
model: {
|
|
2608
2651
|
primary: string;
|
|
2609
2652
|
fallbacks?: string[] | undefined;
|
|
2653
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2610
2654
|
};
|
|
2655
|
+
tools?: {
|
|
2656
|
+
allow?: string[] | undefined;
|
|
2657
|
+
deny?: string[] | undefined;
|
|
2658
|
+
} | undefined;
|
|
2611
2659
|
env?: Record<string, string> | undefined;
|
|
2612
2660
|
clearEnv?: string[] | undefined;
|
|
2613
2661
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2658,13 +2706,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2658
2706
|
serialize?: boolean | undefined;
|
|
2659
2707
|
reliability?: {
|
|
2660
2708
|
watchdog?: {
|
|
2661
|
-
|
|
2709
|
+
resume?: {
|
|
2662
2710
|
noOutputTimeoutMs?: number | undefined;
|
|
2663
2711
|
noOutputTimeoutRatio?: number | undefined;
|
|
2664
2712
|
minMs?: number | undefined;
|
|
2665
2713
|
maxMs?: number | undefined;
|
|
2666
2714
|
} | undefined;
|
|
2667
|
-
|
|
2715
|
+
fresh?: {
|
|
2668
2716
|
noOutputTimeoutMs?: number | undefined;
|
|
2669
2717
|
noOutputTimeoutRatio?: number | undefined;
|
|
2670
2718
|
minMs?: number | undefined;
|
|
@@ -2673,10 +2721,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2673
2721
|
} | undefined;
|
|
2674
2722
|
} | undefined;
|
|
2675
2723
|
}> | undefined;
|
|
2676
|
-
tools?: {
|
|
2677
|
-
allow?: string[] | undefined;
|
|
2678
|
-
deny?: string[] | undefined;
|
|
2679
|
-
} | undefined;
|
|
2680
2724
|
max_tokens?: number | undefined;
|
|
2681
2725
|
};
|
|
2682
2726
|
list?: {
|
|
@@ -2684,10 +2728,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2684
2728
|
model?: string | {
|
|
2685
2729
|
primary: string;
|
|
2686
2730
|
fallbacks?: string[] | undefined;
|
|
2731
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2687
2732
|
} | undefined;
|
|
2688
2733
|
workspace?: string | undefined;
|
|
2689
2734
|
default?: boolean | undefined;
|
|
2690
2735
|
name?: string | undefined;
|
|
2736
|
+
systemPrompt?: string | undefined;
|
|
2737
|
+
tools?: {
|
|
2738
|
+
allow?: string[] | undefined;
|
|
2739
|
+
deny?: string[] | undefined;
|
|
2740
|
+
} | undefined;
|
|
2741
|
+
skills?: string[] | undefined;
|
|
2691
2742
|
env?: Record<string, string> | undefined;
|
|
2692
2743
|
clearEnv?: string[] | undefined;
|
|
2693
2744
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2738,13 +2789,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2738
2789
|
serialize?: boolean | undefined;
|
|
2739
2790
|
reliability?: {
|
|
2740
2791
|
watchdog?: {
|
|
2741
|
-
|
|
2792
|
+
resume?: {
|
|
2742
2793
|
noOutputTimeoutMs?: number | undefined;
|
|
2743
2794
|
noOutputTimeoutRatio?: number | undefined;
|
|
2744
2795
|
minMs?: number | undefined;
|
|
2745
2796
|
maxMs?: number | undefined;
|
|
2746
2797
|
} | undefined;
|
|
2747
|
-
|
|
2798
|
+
fresh?: {
|
|
2748
2799
|
noOutputTimeoutMs?: number | undefined;
|
|
2749
2800
|
noOutputTimeoutRatio?: number | undefined;
|
|
2750
2801
|
minMs?: number | undefined;
|
|
@@ -2753,13 +2804,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2753
2804
|
} | undefined;
|
|
2754
2805
|
} | undefined;
|
|
2755
2806
|
}> | undefined;
|
|
2756
|
-
tools?: {
|
|
2757
|
-
allow?: string[] | undefined;
|
|
2758
|
-
deny?: string[] | undefined;
|
|
2759
|
-
} | undefined;
|
|
2760
2807
|
cliSessionId?: string | undefined;
|
|
2761
|
-
systemPrompt?: string | undefined;
|
|
2762
|
-
skills?: string[] | undefined;
|
|
2763
2808
|
identity?: {
|
|
2764
2809
|
name?: string | undefined;
|
|
2765
2810
|
emoji?: string | undefined;
|
|
@@ -2770,7 +2815,12 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2770
2815
|
model: {
|
|
2771
2816
|
primary: string;
|
|
2772
2817
|
fallbacks?: string[] | undefined;
|
|
2818
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2773
2819
|
};
|
|
2820
|
+
tools?: {
|
|
2821
|
+
allow?: string[] | undefined;
|
|
2822
|
+
deny?: string[] | undefined;
|
|
2823
|
+
} | undefined;
|
|
2774
2824
|
env?: Record<string, string> | undefined;
|
|
2775
2825
|
clearEnv?: string[] | undefined;
|
|
2776
2826
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2821,13 +2871,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2821
2871
|
serialize?: boolean | undefined;
|
|
2822
2872
|
reliability?: {
|
|
2823
2873
|
watchdog?: {
|
|
2824
|
-
|
|
2874
|
+
resume?: {
|
|
2825
2875
|
noOutputTimeoutMs?: number | undefined;
|
|
2826
2876
|
noOutputTimeoutRatio?: number | undefined;
|
|
2827
2877
|
minMs?: number | undefined;
|
|
2828
2878
|
maxMs?: number | undefined;
|
|
2829
2879
|
} | undefined;
|
|
2830
|
-
|
|
2880
|
+
fresh?: {
|
|
2831
2881
|
noOutputTimeoutMs?: number | undefined;
|
|
2832
2882
|
noOutputTimeoutRatio?: number | undefined;
|
|
2833
2883
|
minMs?: number | undefined;
|
|
@@ -2836,10 +2886,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2836
2886
|
} | undefined;
|
|
2837
2887
|
} | undefined;
|
|
2838
2888
|
}> | undefined;
|
|
2839
|
-
tools?: {
|
|
2840
|
-
allow?: string[] | undefined;
|
|
2841
|
-
deny?: string[] | undefined;
|
|
2842
|
-
} | undefined;
|
|
2843
2889
|
max_tokens?: number | undefined;
|
|
2844
2890
|
};
|
|
2845
2891
|
list?: {
|
|
@@ -2847,10 +2893,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2847
2893
|
model?: string | {
|
|
2848
2894
|
primary: string;
|
|
2849
2895
|
fallbacks?: string[] | undefined;
|
|
2896
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
2850
2897
|
} | undefined;
|
|
2851
2898
|
workspace?: string | undefined;
|
|
2852
2899
|
default?: boolean | undefined;
|
|
2853
2900
|
name?: string | undefined;
|
|
2901
|
+
systemPrompt?: string | undefined;
|
|
2902
|
+
tools?: {
|
|
2903
|
+
allow?: string[] | undefined;
|
|
2904
|
+
deny?: string[] | undefined;
|
|
2905
|
+
} | undefined;
|
|
2906
|
+
skills?: string[] | undefined;
|
|
2854
2907
|
env?: Record<string, string> | undefined;
|
|
2855
2908
|
clearEnv?: string[] | undefined;
|
|
2856
2909
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -2901,13 +2954,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2901
2954
|
serialize?: boolean | undefined;
|
|
2902
2955
|
reliability?: {
|
|
2903
2956
|
watchdog?: {
|
|
2904
|
-
|
|
2957
|
+
resume?: {
|
|
2905
2958
|
noOutputTimeoutMs?: number | undefined;
|
|
2906
2959
|
noOutputTimeoutRatio?: number | undefined;
|
|
2907
2960
|
minMs?: number | undefined;
|
|
2908
2961
|
maxMs?: number | undefined;
|
|
2909
2962
|
} | undefined;
|
|
2910
|
-
|
|
2963
|
+
fresh?: {
|
|
2911
2964
|
noOutputTimeoutMs?: number | undefined;
|
|
2912
2965
|
noOutputTimeoutRatio?: number | undefined;
|
|
2913
2966
|
minMs?: number | undefined;
|
|
@@ -2916,13 +2969,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2916
2969
|
} | undefined;
|
|
2917
2970
|
} | undefined;
|
|
2918
2971
|
}> | undefined;
|
|
2919
|
-
tools?: {
|
|
2920
|
-
allow?: string[] | undefined;
|
|
2921
|
-
deny?: string[] | undefined;
|
|
2922
|
-
} | undefined;
|
|
2923
2972
|
cliSessionId?: string | undefined;
|
|
2924
|
-
systemPrompt?: string | undefined;
|
|
2925
|
-
skills?: string[] | undefined;
|
|
2926
2973
|
identity?: {
|
|
2927
2974
|
name?: string | undefined;
|
|
2928
2975
|
emoji?: string | undefined;
|
|
@@ -2964,7 +3011,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2964
3011
|
userId?: string | undefined;
|
|
2965
3012
|
}>;
|
|
2966
3013
|
}, "strip", z.ZodTypeAny, {
|
|
2967
|
-
agentId: string;
|
|
2968
3014
|
match: {
|
|
2969
3015
|
accountId?: string | undefined;
|
|
2970
3016
|
channel?: string | undefined;
|
|
@@ -2974,9 +3020,9 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2974
3020
|
} | undefined;
|
|
2975
3021
|
userId?: string | undefined;
|
|
2976
3022
|
};
|
|
3023
|
+
agentId: string;
|
|
2977
3024
|
comment?: string | undefined;
|
|
2978
3025
|
}, {
|
|
2979
|
-
agentId: string;
|
|
2980
3026
|
match: {
|
|
2981
3027
|
accountId?: string | undefined;
|
|
2982
3028
|
channel?: string | undefined;
|
|
@@ -2986,6 +3032,7 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
2986
3032
|
} | undefined;
|
|
2987
3033
|
userId?: string | undefined;
|
|
2988
3034
|
};
|
|
3035
|
+
agentId: string;
|
|
2989
3036
|
comment?: string | undefined;
|
|
2990
3037
|
}>, "many">>;
|
|
2991
3038
|
concurrency: z.ZodDefault<z.ZodObject<{
|
|
@@ -3020,42 +3067,33 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3020
3067
|
pretty: z.ZodDefault<z.ZodBoolean>;
|
|
3021
3068
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
3022
3069
|
}, "strip", z.ZodTypeAny, {
|
|
3023
|
-
level: "
|
|
3070
|
+
level: "error" | "fatal" | "warn" | "info" | "debug" | "trace";
|
|
3024
3071
|
pretty: boolean;
|
|
3025
3072
|
retentionDays: number;
|
|
3026
3073
|
}, {
|
|
3027
|
-
level?: "
|
|
3074
|
+
level?: "error" | "fatal" | "warn" | "info" | "debug" | "trace" | undefined;
|
|
3028
3075
|
pretty?: boolean | undefined;
|
|
3029
3076
|
retentionDays?: number | undefined;
|
|
3030
3077
|
}>>;
|
|
3031
3078
|
}, "strip", z.ZodTypeAny, {
|
|
3079
|
+
files: {
|
|
3080
|
+
temp_dir: string;
|
|
3081
|
+
max_file_size: number;
|
|
3082
|
+
};
|
|
3032
3083
|
skills: {
|
|
3033
3084
|
dirs: string[];
|
|
3034
3085
|
};
|
|
3035
|
-
channels: {
|
|
3036
|
-
botlink: {
|
|
3037
|
-
poll_timeout: number;
|
|
3038
|
-
retry_interval: number;
|
|
3039
|
-
max_retry_interval: number;
|
|
3040
|
-
gateway_url?: string | undefined;
|
|
3041
|
-
openapi_base_url?: string | undefined;
|
|
3042
|
-
bot_token?: string | undefined;
|
|
3043
|
-
accounts?: Record<string, {
|
|
3044
|
-
gateway_url: string;
|
|
3045
|
-
bot_token: string;
|
|
3046
|
-
poll_timeout: number;
|
|
3047
|
-
retry_interval: number;
|
|
3048
|
-
max_retry_interval: number;
|
|
3049
|
-
openapi_base_url?: string | undefined;
|
|
3050
|
-
}> | undefined;
|
|
3051
|
-
};
|
|
3052
|
-
};
|
|
3053
3086
|
agents: {
|
|
3054
3087
|
defaults: {
|
|
3055
3088
|
model: {
|
|
3056
3089
|
primary: string;
|
|
3057
3090
|
fallbacks?: string[] | undefined;
|
|
3091
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
3058
3092
|
};
|
|
3093
|
+
tools?: {
|
|
3094
|
+
allow?: string[] | undefined;
|
|
3095
|
+
deny?: string[] | undefined;
|
|
3096
|
+
} | undefined;
|
|
3059
3097
|
env?: Record<string, string> | undefined;
|
|
3060
3098
|
clearEnv?: string[] | undefined;
|
|
3061
3099
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -3106,13 +3144,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3106
3144
|
serialize?: boolean | undefined;
|
|
3107
3145
|
reliability?: {
|
|
3108
3146
|
watchdog?: {
|
|
3109
|
-
|
|
3147
|
+
resume?: {
|
|
3110
3148
|
noOutputTimeoutMs?: number | undefined;
|
|
3111
3149
|
noOutputTimeoutRatio?: number | undefined;
|
|
3112
3150
|
minMs?: number | undefined;
|
|
3113
3151
|
maxMs?: number | undefined;
|
|
3114
3152
|
} | undefined;
|
|
3115
|
-
|
|
3153
|
+
fresh?: {
|
|
3116
3154
|
noOutputTimeoutMs?: number | undefined;
|
|
3117
3155
|
noOutputTimeoutRatio?: number | undefined;
|
|
3118
3156
|
minMs?: number | undefined;
|
|
@@ -3121,10 +3159,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3121
3159
|
} | undefined;
|
|
3122
3160
|
} | undefined;
|
|
3123
3161
|
}> | undefined;
|
|
3124
|
-
tools?: {
|
|
3125
|
-
allow?: string[] | undefined;
|
|
3126
|
-
deny?: string[] | undefined;
|
|
3127
|
-
} | undefined;
|
|
3128
3162
|
max_tokens?: number | undefined;
|
|
3129
3163
|
};
|
|
3130
3164
|
list?: {
|
|
@@ -3132,10 +3166,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3132
3166
|
model?: string | {
|
|
3133
3167
|
primary: string;
|
|
3134
3168
|
fallbacks?: string[] | undefined;
|
|
3169
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
3135
3170
|
} | undefined;
|
|
3136
3171
|
workspace?: string | undefined;
|
|
3137
3172
|
default?: boolean | undefined;
|
|
3138
3173
|
name?: string | undefined;
|
|
3174
|
+
systemPrompt?: string | undefined;
|
|
3175
|
+
tools?: {
|
|
3176
|
+
allow?: string[] | undefined;
|
|
3177
|
+
deny?: string[] | undefined;
|
|
3178
|
+
} | undefined;
|
|
3179
|
+
skills?: string[] | undefined;
|
|
3139
3180
|
env?: Record<string, string> | undefined;
|
|
3140
3181
|
clearEnv?: string[] | undefined;
|
|
3141
3182
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -3186,13 +3227,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3186
3227
|
serialize?: boolean | undefined;
|
|
3187
3228
|
reliability?: {
|
|
3188
3229
|
watchdog?: {
|
|
3189
|
-
|
|
3230
|
+
resume?: {
|
|
3190
3231
|
noOutputTimeoutMs?: number | undefined;
|
|
3191
3232
|
noOutputTimeoutRatio?: number | undefined;
|
|
3192
3233
|
minMs?: number | undefined;
|
|
3193
3234
|
maxMs?: number | undefined;
|
|
3194
3235
|
} | undefined;
|
|
3195
|
-
|
|
3236
|
+
fresh?: {
|
|
3196
3237
|
noOutputTimeoutMs?: number | undefined;
|
|
3197
3238
|
noOutputTimeoutRatio?: number | undefined;
|
|
3198
3239
|
minMs?: number | undefined;
|
|
@@ -3201,34 +3242,42 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3201
3242
|
} | undefined;
|
|
3202
3243
|
} | undefined;
|
|
3203
3244
|
}> | undefined;
|
|
3204
|
-
tools?: {
|
|
3205
|
-
allow?: string[] | undefined;
|
|
3206
|
-
deny?: string[] | undefined;
|
|
3207
|
-
} | undefined;
|
|
3208
3245
|
cliSessionId?: string | undefined;
|
|
3209
|
-
systemPrompt?: string | undefined;
|
|
3210
|
-
skills?: string[] | undefined;
|
|
3211
3246
|
identity?: {
|
|
3212
3247
|
name?: string | undefined;
|
|
3213
3248
|
emoji?: string | undefined;
|
|
3214
3249
|
} | undefined;
|
|
3215
3250
|
}[] | undefined;
|
|
3216
3251
|
};
|
|
3252
|
+
channels: {
|
|
3253
|
+
botlink: {
|
|
3254
|
+
poll_timeout: number;
|
|
3255
|
+
retry_interval: number;
|
|
3256
|
+
max_retry_interval: number;
|
|
3257
|
+
gateway_url?: string | undefined;
|
|
3258
|
+
openapi_base_url?: string | undefined;
|
|
3259
|
+
bot_token?: string | undefined;
|
|
3260
|
+
accounts?: Record<string, {
|
|
3261
|
+
gateway_url: string;
|
|
3262
|
+
bot_token: string;
|
|
3263
|
+
poll_timeout: number;
|
|
3264
|
+
retry_interval: number;
|
|
3265
|
+
max_retry_interval: number;
|
|
3266
|
+
openapi_base_url?: string | undefined;
|
|
3267
|
+
managed_runtime?: boolean | undefined;
|
|
3268
|
+
}> | undefined;
|
|
3269
|
+
};
|
|
3270
|
+
};
|
|
3217
3271
|
concurrency: {
|
|
3218
3272
|
maxGlobal: number;
|
|
3219
3273
|
maxPerAgent: number;
|
|
3220
3274
|
};
|
|
3221
|
-
files: {
|
|
3222
|
-
temp_dir: string;
|
|
3223
|
-
max_file_size: number;
|
|
3224
|
-
};
|
|
3225
3275
|
logging: {
|
|
3226
|
-
level: "
|
|
3276
|
+
level: "error" | "fatal" | "warn" | "info" | "debug" | "trace";
|
|
3227
3277
|
pretty: boolean;
|
|
3228
3278
|
retentionDays: number;
|
|
3229
3279
|
};
|
|
3230
3280
|
bindings?: {
|
|
3231
|
-
agentId: string;
|
|
3232
3281
|
match: {
|
|
3233
3282
|
accountId?: string | undefined;
|
|
3234
3283
|
channel?: string | undefined;
|
|
@@ -3238,33 +3287,21 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3238
3287
|
} | undefined;
|
|
3239
3288
|
userId?: string | undefined;
|
|
3240
3289
|
};
|
|
3290
|
+
agentId: string;
|
|
3241
3291
|
comment?: string | undefined;
|
|
3242
3292
|
}[] | undefined;
|
|
3243
3293
|
}, {
|
|
3244
|
-
channels: {
|
|
3245
|
-
botlink: {
|
|
3246
|
-
gateway_url?: string | undefined;
|
|
3247
|
-
openapi_base_url?: string | undefined;
|
|
3248
|
-
bot_token?: string | undefined;
|
|
3249
|
-
poll_timeout?: number | undefined;
|
|
3250
|
-
retry_interval?: number | undefined;
|
|
3251
|
-
max_retry_interval?: number | undefined;
|
|
3252
|
-
accounts?: Record<string, {
|
|
3253
|
-
gateway_url: string;
|
|
3254
|
-
bot_token: string;
|
|
3255
|
-
openapi_base_url?: string | undefined;
|
|
3256
|
-
poll_timeout?: number | undefined;
|
|
3257
|
-
retry_interval?: number | undefined;
|
|
3258
|
-
max_retry_interval?: number | undefined;
|
|
3259
|
-
}> | undefined;
|
|
3260
|
-
};
|
|
3261
|
-
};
|
|
3262
3294
|
agents: {
|
|
3263
3295
|
defaults: {
|
|
3264
3296
|
model: {
|
|
3265
3297
|
primary: string;
|
|
3266
3298
|
fallbacks?: string[] | undefined;
|
|
3299
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
3267
3300
|
};
|
|
3301
|
+
tools?: {
|
|
3302
|
+
allow?: string[] | undefined;
|
|
3303
|
+
deny?: string[] | undefined;
|
|
3304
|
+
} | undefined;
|
|
3268
3305
|
env?: Record<string, string> | undefined;
|
|
3269
3306
|
clearEnv?: string[] | undefined;
|
|
3270
3307
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -3315,13 +3352,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3315
3352
|
serialize?: boolean | undefined;
|
|
3316
3353
|
reliability?: {
|
|
3317
3354
|
watchdog?: {
|
|
3318
|
-
|
|
3355
|
+
resume?: {
|
|
3319
3356
|
noOutputTimeoutMs?: number | undefined;
|
|
3320
3357
|
noOutputTimeoutRatio?: number | undefined;
|
|
3321
3358
|
minMs?: number | undefined;
|
|
3322
3359
|
maxMs?: number | undefined;
|
|
3323
3360
|
} | undefined;
|
|
3324
|
-
|
|
3361
|
+
fresh?: {
|
|
3325
3362
|
noOutputTimeoutMs?: number | undefined;
|
|
3326
3363
|
noOutputTimeoutRatio?: number | undefined;
|
|
3327
3364
|
minMs?: number | undefined;
|
|
@@ -3330,10 +3367,6 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3330
3367
|
} | undefined;
|
|
3331
3368
|
} | undefined;
|
|
3332
3369
|
}> | undefined;
|
|
3333
|
-
tools?: {
|
|
3334
|
-
allow?: string[] | undefined;
|
|
3335
|
-
deny?: string[] | undefined;
|
|
3336
|
-
} | undefined;
|
|
3337
3370
|
max_tokens?: number | undefined;
|
|
3338
3371
|
};
|
|
3339
3372
|
list?: {
|
|
@@ -3341,10 +3374,17 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3341
3374
|
model?: string | {
|
|
3342
3375
|
primary: string;
|
|
3343
3376
|
fallbacks?: string[] | undefined;
|
|
3377
|
+
reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra" | undefined;
|
|
3344
3378
|
} | undefined;
|
|
3345
3379
|
workspace?: string | undefined;
|
|
3346
3380
|
default?: boolean | undefined;
|
|
3347
3381
|
name?: string | undefined;
|
|
3382
|
+
systemPrompt?: string | undefined;
|
|
3383
|
+
tools?: {
|
|
3384
|
+
allow?: string[] | undefined;
|
|
3385
|
+
deny?: string[] | undefined;
|
|
3386
|
+
} | undefined;
|
|
3387
|
+
skills?: string[] | undefined;
|
|
3348
3388
|
env?: Record<string, string> | undefined;
|
|
3349
3389
|
clearEnv?: string[] | undefined;
|
|
3350
3390
|
allowModelSwitch?: boolean | undefined;
|
|
@@ -3395,13 +3435,13 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3395
3435
|
serialize?: boolean | undefined;
|
|
3396
3436
|
reliability?: {
|
|
3397
3437
|
watchdog?: {
|
|
3398
|
-
|
|
3438
|
+
resume?: {
|
|
3399
3439
|
noOutputTimeoutMs?: number | undefined;
|
|
3400
3440
|
noOutputTimeoutRatio?: number | undefined;
|
|
3401
3441
|
minMs?: number | undefined;
|
|
3402
3442
|
maxMs?: number | undefined;
|
|
3403
3443
|
} | undefined;
|
|
3404
|
-
|
|
3444
|
+
fresh?: {
|
|
3405
3445
|
noOutputTimeoutMs?: number | undefined;
|
|
3406
3446
|
noOutputTimeoutRatio?: number | undefined;
|
|
3407
3447
|
minMs?: number | undefined;
|
|
@@ -3410,24 +3450,40 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3410
3450
|
} | undefined;
|
|
3411
3451
|
} | undefined;
|
|
3412
3452
|
}> | undefined;
|
|
3413
|
-
tools?: {
|
|
3414
|
-
allow?: string[] | undefined;
|
|
3415
|
-
deny?: string[] | undefined;
|
|
3416
|
-
} | undefined;
|
|
3417
3453
|
cliSessionId?: string | undefined;
|
|
3418
|
-
systemPrompt?: string | undefined;
|
|
3419
|
-
skills?: string[] | undefined;
|
|
3420
3454
|
identity?: {
|
|
3421
3455
|
name?: string | undefined;
|
|
3422
3456
|
emoji?: string | undefined;
|
|
3423
3457
|
} | undefined;
|
|
3424
3458
|
}[] | undefined;
|
|
3425
3459
|
};
|
|
3460
|
+
channels: {
|
|
3461
|
+
botlink: {
|
|
3462
|
+
gateway_url?: string | undefined;
|
|
3463
|
+
openapi_base_url?: string | undefined;
|
|
3464
|
+
bot_token?: string | undefined;
|
|
3465
|
+
poll_timeout?: number | undefined;
|
|
3466
|
+
retry_interval?: number | undefined;
|
|
3467
|
+
max_retry_interval?: number | undefined;
|
|
3468
|
+
accounts?: Record<string, {
|
|
3469
|
+
gateway_url: string;
|
|
3470
|
+
bot_token: string;
|
|
3471
|
+
openapi_base_url?: string | undefined;
|
|
3472
|
+
managed_runtime?: boolean | undefined;
|
|
3473
|
+
poll_timeout?: number | undefined;
|
|
3474
|
+
retry_interval?: number | undefined;
|
|
3475
|
+
max_retry_interval?: number | undefined;
|
|
3476
|
+
}> | undefined;
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
files?: {
|
|
3480
|
+
temp_dir?: string | undefined;
|
|
3481
|
+
max_file_size?: number | undefined;
|
|
3482
|
+
} | undefined;
|
|
3426
3483
|
skills?: {
|
|
3427
3484
|
dirs?: string[] | undefined;
|
|
3428
3485
|
} | undefined;
|
|
3429
3486
|
bindings?: {
|
|
3430
|
-
agentId: string;
|
|
3431
3487
|
match: {
|
|
3432
3488
|
accountId?: string | undefined;
|
|
3433
3489
|
channel?: string | undefined;
|
|
@@ -3437,18 +3493,15 @@ export declare const AppConfigSchema: z.ZodObject<{
|
|
|
3437
3493
|
} | undefined;
|
|
3438
3494
|
userId?: string | undefined;
|
|
3439
3495
|
};
|
|
3496
|
+
agentId: string;
|
|
3440
3497
|
comment?: string | undefined;
|
|
3441
3498
|
}[] | undefined;
|
|
3442
3499
|
concurrency?: {
|
|
3443
3500
|
maxGlobal?: number | undefined;
|
|
3444
3501
|
maxPerAgent?: number | undefined;
|
|
3445
3502
|
} | undefined;
|
|
3446
|
-
files?: {
|
|
3447
|
-
temp_dir?: string | undefined;
|
|
3448
|
-
max_file_size?: number | undefined;
|
|
3449
|
-
} | undefined;
|
|
3450
3503
|
logging?: {
|
|
3451
|
-
level?: "
|
|
3504
|
+
level?: "error" | "fatal" | "warn" | "info" | "debug" | "trace" | undefined;
|
|
3452
3505
|
pretty?: boolean | undefined;
|
|
3453
3506
|
retentionDays?: number | undefined;
|
|
3454
3507
|
} | undefined;
|