@maudecode/talaria-web-contracts 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkpoint.d.ts +78 -0
- package/dist/checkpoint.js +16 -0
- package/dist/checkpoint.js.map +1 -0
- package/dist/context-detail.d.ts +75 -0
- package/dist/context-detail.js +18 -0
- package/dist/context-detail.js.map +1 -0
- package/dist/gateway-session.d.ts +412 -9
- package/dist/gateway-session.js +85 -3
- package/dist/gateway-session.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-cost-policy.d.ts +110 -0
- package/dist/mcp-cost-policy.js +24 -0
- package/dist/mcp-cost-policy.js.map +1 -0
- package/dist/outbound-drafts.d.ts +114 -0
- package/dist/outbound-drafts.js +20 -0
- package/dist/outbound-drafts.js.map +1 -0
- package/dist/prompt-queue.d.ts +96 -0
- package/dist/prompt-queue.js +19 -0
- package/dist/prompt-queue.js.map +1 -0
- package/dist/router.d.ts +3677 -156
- package/dist/routes/automation.d.ts +323 -2
- package/dist/routes/automation.js +17 -3
- package/dist/routes/automation.js.map +1 -1
- package/dist/routes/chat.d.ts +776 -26
- package/dist/routes/chat.js +4 -3
- package/dist/routes/chat.js.map +1 -1
- package/dist/routes/core.d.ts +6 -6
- package/dist/routes/git.d.ts +59 -0
- package/dist/routes/git.js +9 -3
- package/dist/routes/git.js.map +1 -1
- package/dist/routes/raw.js +9 -5
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +2215 -87
- package/dist/routes/sessions.js +11 -0
- package/dist/routes/sessions.js.map +1 -1
- package/dist/routes/settings.d.ts +29 -13
- package/dist/routes/settings.js +3 -2
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +825 -37
- package/dist/routes/tools.js +33 -5
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +49 -4
- package/dist/routes/workspaces.js +5 -4
- package/dist/routes/workspaces.js.map +1 -1
- package/dist/sidecar/methods.d.ts +1122 -25
- package/dist/sidecar/methods.js +2 -2
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +1292 -39
- package/dist/sidecar/namespaces.js +120 -14
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +1 -0
- package/dist/sidecar/rpc.js +2 -0
- package/dist/sidecar/rpc.js.map +1 -1
- package/dist/sidecar/runtime.d.ts +56 -0
- package/dist/sidecar/runtime.js +21 -2
- package/dist/sidecar/runtime.js.map +1 -1
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +199 -10
- package/dist/sse.js +15 -4
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +1597 -86
- package/dist/views.js +106 -21
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/aux.json +8 -0
- package/fixtures/sidecar/chat.json +14 -0
- package/fixtures/sidecar/checkpoints.json +7 -2
- package/fixtures/sidecar/context-detail.json +77 -0
- package/fixtures/sidecar/cron.json +3 -1
- package/fixtures/sidecar/dashboard_plugins.json +59 -0
- package/fixtures/sidecar/gateway.json +208 -0
- package/fixtures/sidecar/kanban.json +197 -0
- package/fixtures/sidecar/managed-buffers.json +16 -0
- package/fixtures/sidecar/mcp.json +12 -0
- package/fixtures/sidecar/outbound-drafts.json +1 -0
- package/fixtures/sidecar/plugin-catalog.json +4 -0
- package/fixtures/sidecar/plugins.json +56 -1
- package/fixtures/sidecar/process.json +32 -0
- package/fixtures/sidecar/rpc.json +4 -0
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/state_db.json +10 -0
- package/package.json +1 -1
|
@@ -105,6 +105,15 @@ export declare const SIDECAR_METHODS: {
|
|
|
105
105
|
tid: z.ZodOptional<z.ZodString>;
|
|
106
106
|
is_error: z.ZodOptional<z.ZodBoolean>;
|
|
107
107
|
}, z.core.$catchall<z.ZodUnknown>>;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
event: z.ZodLiteral<"tool_progress">;
|
|
110
|
+
data: z.ZodObject<{
|
|
111
|
+
tool_call_id: z.ZodString;
|
|
112
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
+
progress: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
114
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
115
|
+
percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
116
|
+
}, z.core.$strip>;
|
|
108
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
118
|
event: z.ZodLiteral<"tool_complete">;
|
|
110
119
|
data: z.ZodObject<{
|
|
@@ -139,11 +148,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
139
148
|
kind: z.ZodString;
|
|
140
149
|
state: z.ZodEnum<{
|
|
141
150
|
pending: "pending";
|
|
151
|
+
expired: "expired";
|
|
142
152
|
skipped: "skipped";
|
|
153
|
+
failed: "failed";
|
|
143
154
|
initiated: "initiated";
|
|
144
155
|
connected: "connected";
|
|
145
|
-
failed: "failed";
|
|
146
|
-
expired: "expired";
|
|
147
156
|
not_connected: "not_connected";
|
|
148
157
|
}>;
|
|
149
158
|
detail: z.ZodString;
|
|
@@ -260,8 +269,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
260
269
|
redirected: z.ZodBoolean;
|
|
261
270
|
withdrawn: z.ZodBoolean;
|
|
262
271
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
263
|
-
redirect: "redirect";
|
|
264
272
|
steer: "steer";
|
|
273
|
+
redirect: "redirect";
|
|
265
274
|
}>>;
|
|
266
275
|
requeued: z.ZodOptional<z.ZodEnum<{
|
|
267
276
|
kept: "kept";
|
|
@@ -301,6 +310,76 @@ export declare const SIDECAR_METHODS: {
|
|
|
301
310
|
commit_token: z.ZodNullable<z.ZodString>;
|
|
302
311
|
}, z.core.$strip>;
|
|
303
312
|
};
|
|
313
|
+
readonly 'chat.context_detail': {
|
|
314
|
+
readonly params: z.ZodObject<{
|
|
315
|
+
profile_home: z.ZodString;
|
|
316
|
+
session_id: z.ZodString;
|
|
317
|
+
model: z.ZodNullable<z.ZodString>;
|
|
318
|
+
model_provider: z.ZodNullable<z.ZodString>;
|
|
319
|
+
workspace: z.ZodNullable<z.ZodString>;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
readonly result: z.ZodObject<{
|
|
322
|
+
available: z.ZodBoolean;
|
|
323
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
324
|
+
not_built: "not_built";
|
|
325
|
+
unsupported: "unsupported";
|
|
326
|
+
changed: "changed";
|
|
327
|
+
unavailable: "unavailable";
|
|
328
|
+
}>>;
|
|
329
|
+
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
330
|
+
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
331
|
+
estimated_total: z.ZodNullable<z.ZodNumber>;
|
|
332
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
333
|
+
local_estimate: "local_estimate";
|
|
334
|
+
provider_usage: "provider_usage";
|
|
335
|
+
provider_usage_plus_estimate: "provider_usage_plus_estimate";
|
|
336
|
+
}>>;
|
|
337
|
+
estimated: z.ZodNullable<z.ZodBoolean>;
|
|
338
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
339
|
+
id: z.ZodEnum<{
|
|
340
|
+
system_prompt: "system_prompt";
|
|
341
|
+
tool_definitions: "tool_definitions";
|
|
342
|
+
rules: "rules";
|
|
343
|
+
skills: "skills";
|
|
344
|
+
mcp: "mcp";
|
|
345
|
+
subagent_definitions: "subagent_definitions";
|
|
346
|
+
memory: "memory";
|
|
347
|
+
conversation: "conversation";
|
|
348
|
+
}>;
|
|
349
|
+
tokens: z.ZodNumber;
|
|
350
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
351
|
+
estimated: z.ZodLiteral<true>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
files: z.ZodArray<z.ZodObject<{
|
|
354
|
+
label: z.ZodEnum<{
|
|
355
|
+
"AGENTS.md": "AGENTS.md";
|
|
356
|
+
"SOUL.md": "SOUL.md";
|
|
357
|
+
".hermes.md": ".hermes.md";
|
|
358
|
+
"CLAUDE.md": "CLAUDE.md";
|
|
359
|
+
"GEMINI.md": "GEMINI.md";
|
|
360
|
+
"CONTEXT.md": "CONTEXT.md";
|
|
361
|
+
"Context file": "Context file";
|
|
362
|
+
}>;
|
|
363
|
+
characters: z.ZodNullable<z.ZodNumber>;
|
|
364
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
365
|
+
status: z.ZodEnum<{
|
|
366
|
+
truncated: "truncated";
|
|
367
|
+
unknown: "unknown";
|
|
368
|
+
loaded: "loaded";
|
|
369
|
+
flagged: "flagged";
|
|
370
|
+
shadowed: "shadowed";
|
|
371
|
+
blocked: "blocked";
|
|
372
|
+
empty: "empty";
|
|
373
|
+
unreadable: "unreadable";
|
|
374
|
+
suppressed: "suppressed";
|
|
375
|
+
}>;
|
|
376
|
+
loaded: z.ZodNullable<z.ZodBoolean>;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
truncated: z.ZodBoolean;
|
|
379
|
+
current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
380
|
+
last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
};
|
|
304
383
|
readonly 'chat.compress_finalize': {
|
|
305
384
|
readonly params: z.ZodObject<{
|
|
306
385
|
commit_token: z.ZodString;
|
|
@@ -315,9 +394,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
315
394
|
profile_home: z.ZodString;
|
|
316
395
|
session_id: z.ZodString;
|
|
317
396
|
reason: z.ZodEnum<{
|
|
397
|
+
archive: "archive";
|
|
318
398
|
delete: "delete";
|
|
319
399
|
clear: "clear";
|
|
320
400
|
}>;
|
|
401
|
+
lineage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
321
402
|
}, z.core.$strip>;
|
|
322
403
|
readonly result: z.ZodObject<{
|
|
323
404
|
messages: z.ZodArray<z.ZodString>;
|
|
@@ -500,10 +581,15 @@ export declare const SIDECAR_METHODS: {
|
|
|
500
581
|
profile_home: z.ZodString;
|
|
501
582
|
workspace: z.ZodString;
|
|
502
583
|
checkpoint: z.ZodString;
|
|
584
|
+
all: z.ZodOptional<z.ZodBoolean>;
|
|
503
585
|
}, z.core.$strip>;
|
|
504
586
|
readonly result: z.ZodObject<{
|
|
505
587
|
restored_to: z.ZodString;
|
|
506
588
|
reason: z.ZodString;
|
|
589
|
+
restored_files: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
590
|
+
kept_user_edits: z.ZodArray<z.ZodString>;
|
|
591
|
+
skipped_oversize: z.ZodArray<z.ZodString>;
|
|
592
|
+
failed_deletes: z.ZodArray<z.ZodString>;
|
|
507
593
|
}, z.core.$strip>;
|
|
508
594
|
};
|
|
509
595
|
readonly 'write_approval.pending': {
|
|
@@ -615,6 +701,18 @@ export declare const SIDECAR_METHODS: {
|
|
|
615
701
|
base: z.ZodNullable<z.ZodString>;
|
|
616
702
|
}, z.core.$strip>;
|
|
617
703
|
};
|
|
704
|
+
readonly 'worktree.retain': {
|
|
705
|
+
readonly params: z.ZodObject<{
|
|
706
|
+
paths: z.ZodArray<z.ZodString>;
|
|
707
|
+
}, z.core.$strip>;
|
|
708
|
+
readonly result: z.ZodObject<{
|
|
709
|
+
results: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
710
|
+
retained: "retained";
|
|
711
|
+
missing: "missing";
|
|
712
|
+
foreign_lock: "foreign_lock";
|
|
713
|
+
}>>;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
};
|
|
618
716
|
readonly 'gateway.session': {
|
|
619
717
|
readonly params: z.ZodObject<{
|
|
620
718
|
profile_home: z.ZodString;
|
|
@@ -622,17 +720,46 @@ export declare const SIDECAR_METHODS: {
|
|
|
622
720
|
action: z.ZodEnum<{
|
|
623
721
|
snapshot: "snapshot";
|
|
624
722
|
receipt: "receipt";
|
|
723
|
+
context_detail: "context_detail";
|
|
724
|
+
export: "export";
|
|
725
|
+
checkpoint_diff: "checkpoint_diff";
|
|
625
726
|
watch: "watch";
|
|
626
727
|
submit: "submit";
|
|
627
728
|
cancel: "cancel";
|
|
729
|
+
steer_queued: "steer_queued";
|
|
730
|
+
replace_queued: "replace_queued";
|
|
628
731
|
interrupt: "interrupt";
|
|
629
732
|
approval: "approval";
|
|
630
733
|
clarify: "clarify";
|
|
734
|
+
clarify_lock: "clarify_lock";
|
|
631
735
|
discard: "discard";
|
|
632
736
|
mutate: "mutate";
|
|
737
|
+
terminal_info: "terminal_info";
|
|
738
|
+
shell_exec: "shell_exec";
|
|
739
|
+
react: "react";
|
|
633
740
|
}>;
|
|
741
|
+
row_id: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
emoji: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
743
|
+
"\uD83D\uDC4D": "👍";
|
|
744
|
+
"\uD83D\uDC4E": "👎";
|
|
745
|
+
"\u2764\uFE0F": "❤️";
|
|
746
|
+
"\uD83D\uDE02": "😂";
|
|
747
|
+
"\uD83D\uDE2E": "😮";
|
|
748
|
+
"\uD83C\uDF89": "🎉";
|
|
749
|
+
}>>>;
|
|
750
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
751
|
+
json: "json";
|
|
752
|
+
markdown: "markdown";
|
|
753
|
+
html: "html";
|
|
754
|
+
}>>;
|
|
755
|
+
redact: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
+
command: z.ZodOptional<z.ZodString>;
|
|
757
|
+
authority_epoch: z.ZodOptional<z.ZodNumber>;
|
|
758
|
+
replay_epoch: z.ZodOptional<z.ZodString>;
|
|
634
759
|
request_id: z.ZodOptional<z.ZodString>;
|
|
635
760
|
text: z.ZodOptional<z.ZodString>;
|
|
761
|
+
submission_id: z.ZodOptional<z.ZodString>;
|
|
762
|
+
show_reasoning: z.ZodOptional<z.ZodBoolean>;
|
|
636
763
|
admission_id: z.ZodOptional<z.ZodString>;
|
|
637
764
|
execution_generation: z.ZodOptional<z.ZodNumber>;
|
|
638
765
|
prompt_id: z.ZodOptional<z.ZodString>;
|
|
@@ -642,8 +769,12 @@ export declare const SIDECAR_METHODS: {
|
|
|
642
769
|
always: "always";
|
|
643
770
|
deny: "deny";
|
|
644
771
|
}>>;
|
|
772
|
+
question_id: z.ZodOptional<z.ZodString>;
|
|
773
|
+
answer: z.ZodOptional<z.ZodString>;
|
|
645
774
|
expected_revision: z.ZodOptional<z.ZodNumber>;
|
|
646
775
|
operation: z.ZodOptional<z.ZodEnum<{
|
|
776
|
+
workspace: "workspace";
|
|
777
|
+
model: "model";
|
|
647
778
|
rename: "rename";
|
|
648
779
|
archive: "archive";
|
|
649
780
|
sidebar: "sidebar";
|
|
@@ -651,19 +782,17 @@ export declare const SIDECAR_METHODS: {
|
|
|
651
782
|
delete: "delete";
|
|
652
783
|
rewind: "rewind";
|
|
653
784
|
reset: "reset";
|
|
654
|
-
model: "model";
|
|
655
|
-
workspace: "workspace";
|
|
656
785
|
compress: "compress";
|
|
657
786
|
}>>;
|
|
658
787
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
659
788
|
}, z.core.$strip>;
|
|
660
789
|
readonly result: z.ZodObject<{
|
|
661
790
|
state: z.ZodEnum<{
|
|
791
|
+
unavailable: "unavailable";
|
|
792
|
+
refused: "refused";
|
|
662
793
|
attached: "attached";
|
|
663
794
|
stopped: "stopped";
|
|
664
|
-
unavailable: "unavailable";
|
|
665
795
|
incompatible: "incompatible";
|
|
666
|
-
refused: "refused";
|
|
667
796
|
}>;
|
|
668
797
|
reason: z.ZodNullable<z.ZodString>;
|
|
669
798
|
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -679,6 +808,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
679
808
|
subscription_id: z.ZodString;
|
|
680
809
|
revision: z.ZodNumber;
|
|
681
810
|
execution_generation: z.ZodNumber;
|
|
811
|
+
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
682
812
|
pending: z.ZodArray<z.ZodObject<{
|
|
683
813
|
admission_id: z.ZodString;
|
|
684
814
|
sequence: z.ZodNumber;
|
|
@@ -691,13 +821,15 @@ export declare const SIDECAR_METHODS: {
|
|
|
691
821
|
outcome: z.ZodNullable<z.ZodString>;
|
|
692
822
|
authority_epoch: z.ZodNumber;
|
|
693
823
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
824
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
825
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
694
826
|
text: z.ZodOptional<z.ZodString>;
|
|
695
827
|
input_id: z.ZodOptional<z.ZodString>;
|
|
696
828
|
}, z.core.$strip>>;
|
|
697
829
|
prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
698
830
|
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
699
831
|
}, z.core.$strip>>;
|
|
700
|
-
receipt: z.ZodNullable<z.ZodObject<{
|
|
832
|
+
receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
701
833
|
admission_id: z.ZodString;
|
|
702
834
|
sequence: z.ZodNumber;
|
|
703
835
|
status: z.ZodEnum<{
|
|
@@ -709,21 +841,560 @@ export declare const SIDECAR_METHODS: {
|
|
|
709
841
|
outcome: z.ZodNullable<z.ZodString>;
|
|
710
842
|
authority_epoch: z.ZodNumber;
|
|
711
843
|
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
844
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
845
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
712
846
|
text: z.ZodOptional<z.ZodString>;
|
|
713
847
|
input_id: z.ZodOptional<z.ZodString>;
|
|
848
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
849
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
850
|
+
operation: z.ZodString;
|
|
851
|
+
status: z.ZodOptional<z.ZodString>;
|
|
852
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
853
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
854
|
+
voice_stopped: z.ZodLiteral<true>;
|
|
855
|
+
}, z.core.$strict>]>>;
|
|
856
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
857
|
+
state: z.ZodEnum<{
|
|
858
|
+
applied: "applied";
|
|
859
|
+
deferred: "deferred";
|
|
860
|
+
confirmation_required: "confirmation_required";
|
|
861
|
+
refused: "refused";
|
|
862
|
+
}>;
|
|
863
|
+
message: z.ZodOptional<z.ZodString>;
|
|
864
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
865
|
+
model: z.ZodOptional<z.ZodString>;
|
|
866
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
context_detail: z.ZodOptional<z.ZodObject<{
|
|
869
|
+
available: z.ZodBoolean;
|
|
870
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
871
|
+
not_built: "not_built";
|
|
872
|
+
unsupported: "unsupported";
|
|
873
|
+
changed: "changed";
|
|
874
|
+
unavailable: "unavailable";
|
|
875
|
+
}>>;
|
|
876
|
+
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
877
|
+
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
878
|
+
estimated_total: z.ZodNullable<z.ZodNumber>;
|
|
879
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
880
|
+
local_estimate: "local_estimate";
|
|
881
|
+
provider_usage: "provider_usage";
|
|
882
|
+
provider_usage_plus_estimate: "provider_usage_plus_estimate";
|
|
883
|
+
}>>;
|
|
884
|
+
estimated: z.ZodNullable<z.ZodBoolean>;
|
|
885
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
886
|
+
id: z.ZodEnum<{
|
|
887
|
+
system_prompt: "system_prompt";
|
|
888
|
+
tool_definitions: "tool_definitions";
|
|
889
|
+
rules: "rules";
|
|
890
|
+
skills: "skills";
|
|
891
|
+
mcp: "mcp";
|
|
892
|
+
subagent_definitions: "subagent_definitions";
|
|
893
|
+
memory: "memory";
|
|
894
|
+
conversation: "conversation";
|
|
895
|
+
}>;
|
|
896
|
+
tokens: z.ZodNumber;
|
|
897
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
898
|
+
estimated: z.ZodLiteral<true>;
|
|
899
|
+
}, z.core.$strip>>;
|
|
900
|
+
files: z.ZodArray<z.ZodObject<{
|
|
901
|
+
label: z.ZodEnum<{
|
|
902
|
+
"AGENTS.md": "AGENTS.md";
|
|
903
|
+
"SOUL.md": "SOUL.md";
|
|
904
|
+
".hermes.md": ".hermes.md";
|
|
905
|
+
"CLAUDE.md": "CLAUDE.md";
|
|
906
|
+
"GEMINI.md": "GEMINI.md";
|
|
907
|
+
"CONTEXT.md": "CONTEXT.md";
|
|
908
|
+
"Context file": "Context file";
|
|
909
|
+
}>;
|
|
910
|
+
characters: z.ZodNullable<z.ZodNumber>;
|
|
911
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
912
|
+
status: z.ZodEnum<{
|
|
913
|
+
truncated: "truncated";
|
|
914
|
+
unknown: "unknown";
|
|
915
|
+
loaded: "loaded";
|
|
916
|
+
flagged: "flagged";
|
|
917
|
+
shadowed: "shadowed";
|
|
918
|
+
blocked: "blocked";
|
|
919
|
+
empty: "empty";
|
|
920
|
+
unreadable: "unreadable";
|
|
921
|
+
suppressed: "suppressed";
|
|
922
|
+
}>;
|
|
923
|
+
loaded: z.ZodNullable<z.ZodBoolean>;
|
|
924
|
+
}, z.core.$strip>>;
|
|
925
|
+
truncated: z.ZodBoolean;
|
|
926
|
+
current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
927
|
+
last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
928
|
+
}, z.core.$strip>>;
|
|
929
|
+
export: z.ZodOptional<z.ZodObject<{
|
|
930
|
+
format: z.ZodEnum<{
|
|
931
|
+
json: "json";
|
|
932
|
+
markdown: "markdown";
|
|
933
|
+
html: "html";
|
|
934
|
+
}>;
|
|
935
|
+
filename: z.ZodString;
|
|
936
|
+
content: z.ZodString;
|
|
937
|
+
}, z.core.$strip>>;
|
|
938
|
+
checkpoint_diff: z.ZodOptional<z.ZodObject<{
|
|
939
|
+
diff: z.ZodString;
|
|
940
|
+
stat: z.ZodString;
|
|
941
|
+
comparison: z.ZodObject<{
|
|
942
|
+
provenance: z.ZodEnum<{
|
|
943
|
+
native_owner: "native_owner";
|
|
944
|
+
direct_workspace: "direct_workspace";
|
|
945
|
+
}>;
|
|
946
|
+
baseline: z.ZodEnum<{
|
|
947
|
+
earliest_retained_project_checkpoint: "earliest_retained_project_checkpoint";
|
|
948
|
+
selected_checkpoint: "selected_checkpoint";
|
|
949
|
+
}>;
|
|
950
|
+
available: z.ZodBoolean;
|
|
951
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
952
|
+
checkpoints_disabled: "checkpoints_disabled";
|
|
953
|
+
no_baseline: "no_baseline";
|
|
954
|
+
checkpoint_unavailable: "checkpoint_unavailable";
|
|
955
|
+
payload_too_large: "payload_too_large";
|
|
956
|
+
invalid_payload: "invalid_payload";
|
|
957
|
+
owner_unavailable: "owner_unavailable";
|
|
958
|
+
}>>;
|
|
959
|
+
truncated: z.ZodBoolean;
|
|
960
|
+
}, z.core.$strip>;
|
|
961
|
+
}, z.core.$strip>>;
|
|
962
|
+
shell: z.ZodOptional<z.ZodObject<{
|
|
963
|
+
stdout: z.ZodString;
|
|
964
|
+
stderr: z.ZodString;
|
|
965
|
+
code: z.ZodNumber;
|
|
966
|
+
}, z.core.$strip>>;
|
|
967
|
+
restarting: z.ZodOptional<z.ZodBoolean>;
|
|
968
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
969
|
+
status: z.ZodEnum<{
|
|
970
|
+
ok: "ok";
|
|
971
|
+
expired: "expired";
|
|
972
|
+
}>;
|
|
973
|
+
remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
714
974
|
}, z.core.$strip>>;
|
|
715
975
|
}, z.core.$strip>;
|
|
716
|
-
readonly stream: z.ZodObject<{
|
|
717
|
-
event: z.
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
976
|
+
readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
977
|
+
event: z.ZodLiteral<"snapshot">;
|
|
978
|
+
data: z.ZodObject<{
|
|
979
|
+
state: z.ZodEnum<{
|
|
980
|
+
unavailable: "unavailable";
|
|
981
|
+
refused: "refused";
|
|
982
|
+
attached: "attached";
|
|
983
|
+
stopped: "stopped";
|
|
984
|
+
incompatible: "incompatible";
|
|
985
|
+
}>;
|
|
986
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
987
|
+
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
988
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
989
|
+
session_id: z.ZodString;
|
|
990
|
+
stored_session_id: z.ZodString;
|
|
991
|
+
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
992
|
+
message_count: z.ZodNumber;
|
|
993
|
+
running: z.ZodBoolean;
|
|
994
|
+
authority_epoch: z.ZodNumber;
|
|
995
|
+
replay_epoch: z.ZodString;
|
|
996
|
+
last_sequence: z.ZodNumber;
|
|
997
|
+
subscription_id: z.ZodString;
|
|
998
|
+
revision: z.ZodNumber;
|
|
999
|
+
execution_generation: z.ZodNumber;
|
|
1000
|
+
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
1001
|
+
pending: z.ZodArray<z.ZodObject<{
|
|
1002
|
+
admission_id: z.ZodString;
|
|
1003
|
+
sequence: z.ZodNumber;
|
|
1004
|
+
status: z.ZodEnum<{
|
|
1005
|
+
unknown: "unknown";
|
|
1006
|
+
queued: "queued";
|
|
1007
|
+
started: "started";
|
|
1008
|
+
terminal: "terminal";
|
|
1009
|
+
}>;
|
|
1010
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1011
|
+
authority_epoch: z.ZodNumber;
|
|
1012
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1013
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1014
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1015
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1016
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
}, z.core.$strip>>;
|
|
1018
|
+
prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1019
|
+
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1020
|
+
}, z.core.$strip>>;
|
|
1021
|
+
receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
1022
|
+
admission_id: z.ZodString;
|
|
1023
|
+
sequence: z.ZodNumber;
|
|
1024
|
+
status: z.ZodEnum<{
|
|
1025
|
+
unknown: "unknown";
|
|
1026
|
+
queued: "queued";
|
|
1027
|
+
started: "started";
|
|
1028
|
+
terminal: "terminal";
|
|
1029
|
+
}>;
|
|
1030
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1031
|
+
authority_epoch: z.ZodNumber;
|
|
1032
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1033
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1034
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1035
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
1038
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1039
|
+
operation: z.ZodString;
|
|
1040
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
1042
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1043
|
+
voice_stopped: z.ZodLiteral<true>;
|
|
1044
|
+
}, z.core.$strict>]>>;
|
|
1045
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
1046
|
+
state: z.ZodEnum<{
|
|
1047
|
+
applied: "applied";
|
|
1048
|
+
deferred: "deferred";
|
|
1049
|
+
confirmation_required: "confirmation_required";
|
|
1050
|
+
refused: "refused";
|
|
1051
|
+
}>;
|
|
1052
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1056
|
+
}, z.core.$strip>>;
|
|
1057
|
+
context_detail: z.ZodOptional<z.ZodObject<{
|
|
1058
|
+
available: z.ZodBoolean;
|
|
1059
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1060
|
+
not_built: "not_built";
|
|
1061
|
+
unsupported: "unsupported";
|
|
1062
|
+
changed: "changed";
|
|
1063
|
+
unavailable: "unavailable";
|
|
1064
|
+
}>>;
|
|
1065
|
+
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1066
|
+
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1067
|
+
estimated_total: z.ZodNullable<z.ZodNumber>;
|
|
1068
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1069
|
+
local_estimate: "local_estimate";
|
|
1070
|
+
provider_usage: "provider_usage";
|
|
1071
|
+
provider_usage_plus_estimate: "provider_usage_plus_estimate";
|
|
1072
|
+
}>>;
|
|
1073
|
+
estimated: z.ZodNullable<z.ZodBoolean>;
|
|
1074
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1075
|
+
id: z.ZodEnum<{
|
|
1076
|
+
system_prompt: "system_prompt";
|
|
1077
|
+
tool_definitions: "tool_definitions";
|
|
1078
|
+
rules: "rules";
|
|
1079
|
+
skills: "skills";
|
|
1080
|
+
mcp: "mcp";
|
|
1081
|
+
subagent_definitions: "subagent_definitions";
|
|
1082
|
+
memory: "memory";
|
|
1083
|
+
conversation: "conversation";
|
|
1084
|
+
}>;
|
|
1085
|
+
tokens: z.ZodNumber;
|
|
1086
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1087
|
+
estimated: z.ZodLiteral<true>;
|
|
1088
|
+
}, z.core.$strip>>;
|
|
1089
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1090
|
+
label: z.ZodEnum<{
|
|
1091
|
+
"AGENTS.md": "AGENTS.md";
|
|
1092
|
+
"SOUL.md": "SOUL.md";
|
|
1093
|
+
".hermes.md": ".hermes.md";
|
|
1094
|
+
"CLAUDE.md": "CLAUDE.md";
|
|
1095
|
+
"GEMINI.md": "GEMINI.md";
|
|
1096
|
+
"CONTEXT.md": "CONTEXT.md";
|
|
1097
|
+
"Context file": "Context file";
|
|
1098
|
+
}>;
|
|
1099
|
+
characters: z.ZodNullable<z.ZodNumber>;
|
|
1100
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
1101
|
+
status: z.ZodEnum<{
|
|
1102
|
+
truncated: "truncated";
|
|
1103
|
+
unknown: "unknown";
|
|
1104
|
+
loaded: "loaded";
|
|
1105
|
+
flagged: "flagged";
|
|
1106
|
+
shadowed: "shadowed";
|
|
1107
|
+
blocked: "blocked";
|
|
1108
|
+
empty: "empty";
|
|
1109
|
+
unreadable: "unreadable";
|
|
1110
|
+
suppressed: "suppressed";
|
|
1111
|
+
}>;
|
|
1112
|
+
loaded: z.ZodNullable<z.ZodBoolean>;
|
|
1113
|
+
}, z.core.$strip>>;
|
|
1114
|
+
truncated: z.ZodBoolean;
|
|
1115
|
+
current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1116
|
+
last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1117
|
+
}, z.core.$strip>>;
|
|
1118
|
+
export: z.ZodOptional<z.ZodObject<{
|
|
1119
|
+
format: z.ZodEnum<{
|
|
1120
|
+
json: "json";
|
|
1121
|
+
markdown: "markdown";
|
|
1122
|
+
html: "html";
|
|
1123
|
+
}>;
|
|
1124
|
+
filename: z.ZodString;
|
|
1125
|
+
content: z.ZodString;
|
|
1126
|
+
}, z.core.$strip>>;
|
|
1127
|
+
checkpoint_diff: z.ZodOptional<z.ZodObject<{
|
|
1128
|
+
diff: z.ZodString;
|
|
1129
|
+
stat: z.ZodString;
|
|
1130
|
+
comparison: z.ZodObject<{
|
|
1131
|
+
provenance: z.ZodEnum<{
|
|
1132
|
+
native_owner: "native_owner";
|
|
1133
|
+
direct_workspace: "direct_workspace";
|
|
1134
|
+
}>;
|
|
1135
|
+
baseline: z.ZodEnum<{
|
|
1136
|
+
earliest_retained_project_checkpoint: "earliest_retained_project_checkpoint";
|
|
1137
|
+
selected_checkpoint: "selected_checkpoint";
|
|
1138
|
+
}>;
|
|
1139
|
+
available: z.ZodBoolean;
|
|
1140
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1141
|
+
checkpoints_disabled: "checkpoints_disabled";
|
|
1142
|
+
no_baseline: "no_baseline";
|
|
1143
|
+
checkpoint_unavailable: "checkpoint_unavailable";
|
|
1144
|
+
payload_too_large: "payload_too_large";
|
|
1145
|
+
invalid_payload: "invalid_payload";
|
|
1146
|
+
owner_unavailable: "owner_unavailable";
|
|
1147
|
+
}>>;
|
|
1148
|
+
truncated: z.ZodBoolean;
|
|
1149
|
+
}, z.core.$strip>;
|
|
1150
|
+
}, z.core.$strip>>;
|
|
1151
|
+
shell: z.ZodOptional<z.ZodObject<{
|
|
1152
|
+
stdout: z.ZodString;
|
|
1153
|
+
stderr: z.ZodString;
|
|
1154
|
+
code: z.ZodNumber;
|
|
1155
|
+
}, z.core.$strip>>;
|
|
1156
|
+
restarting: z.ZodOptional<z.ZodBoolean>;
|
|
1157
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1158
|
+
status: z.ZodEnum<{
|
|
1159
|
+
ok: "ok";
|
|
1160
|
+
expired: "expired";
|
|
1161
|
+
}>;
|
|
1162
|
+
remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1163
|
+
}, z.core.$strip>>;
|
|
1164
|
+
replaying: z.ZodOptional<z.ZodBoolean>;
|
|
1165
|
+
reaction_only: z.ZodOptional<z.ZodBoolean>;
|
|
1166
|
+
}, z.core.$strip>;
|
|
1167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1168
|
+
event: z.ZodLiteral<"event">;
|
|
721
1169
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1171
|
+
event: z.ZodLiteral<"replay_complete">;
|
|
1172
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1174
|
+
event: z.ZodLiteral<"clarify_batch">;
|
|
1175
|
+
data: z.ZodObject<{
|
|
1176
|
+
request_id: z.ZodString;
|
|
1177
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
1178
|
+
qid: z.ZodString;
|
|
1179
|
+
question: z.ZodString;
|
|
1180
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1181
|
+
multi_select: z.ZodOptional<z.ZodBoolean>;
|
|
1182
|
+
}, z.core.$strip>>;
|
|
1183
|
+
}, z.core.$strip>;
|
|
1184
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1185
|
+
event: z.ZodLiteral<"restarting">;
|
|
1186
|
+
data: z.ZodObject<{
|
|
1187
|
+
restarting: z.ZodLiteral<true>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
}, z.core.$strip>], "event">;
|
|
1190
|
+
};
|
|
1191
|
+
readonly 'gateway.create': {
|
|
1192
|
+
readonly params: z.ZodObject<{
|
|
1193
|
+
profile_home: z.ZodString;
|
|
1194
|
+
probe: z.ZodOptional<z.ZodBoolean>;
|
|
1195
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
execution_mode: z.ZodOptional<z.ZodEnum<{
|
|
1197
|
+
ignore_config: "ignore_config";
|
|
1198
|
+
safe: "safe";
|
|
1199
|
+
}>>;
|
|
1200
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1203
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
toolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1205
|
+
}, z.core.$strip>;
|
|
1206
|
+
readonly result: z.ZodObject<{
|
|
1207
|
+
state: z.ZodEnum<{
|
|
1208
|
+
unavailable: "unavailable";
|
|
1209
|
+
refused: "refused";
|
|
1210
|
+
attached: "attached";
|
|
1211
|
+
stopped: "stopped";
|
|
1212
|
+
incompatible: "incompatible";
|
|
1213
|
+
}>;
|
|
1214
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
1215
|
+
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
1216
|
+
snapshot: z.ZodNullable<z.ZodObject<{
|
|
1217
|
+
session_id: z.ZodString;
|
|
1218
|
+
stored_session_id: z.ZodString;
|
|
1219
|
+
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1220
|
+
message_count: z.ZodNumber;
|
|
1221
|
+
running: z.ZodBoolean;
|
|
1222
|
+
authority_epoch: z.ZodNumber;
|
|
1223
|
+
replay_epoch: z.ZodString;
|
|
1224
|
+
last_sequence: z.ZodNumber;
|
|
1225
|
+
subscription_id: z.ZodString;
|
|
1226
|
+
revision: z.ZodNumber;
|
|
1227
|
+
execution_generation: z.ZodNumber;
|
|
1228
|
+
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
1229
|
+
pending: z.ZodArray<z.ZodObject<{
|
|
1230
|
+
admission_id: z.ZodString;
|
|
1231
|
+
sequence: z.ZodNumber;
|
|
1232
|
+
status: z.ZodEnum<{
|
|
1233
|
+
unknown: "unknown";
|
|
1234
|
+
queued: "queued";
|
|
1235
|
+
started: "started";
|
|
1236
|
+
terminal: "terminal";
|
|
1237
|
+
}>;
|
|
1238
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1239
|
+
authority_epoch: z.ZodNumber;
|
|
1240
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1241
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1242
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1243
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
}, z.core.$strip>>;
|
|
1246
|
+
prompts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1247
|
+
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1248
|
+
}, z.core.$strip>>;
|
|
1249
|
+
receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
1250
|
+
admission_id: z.ZodString;
|
|
1251
|
+
sequence: z.ZodNumber;
|
|
1252
|
+
status: z.ZodEnum<{
|
|
1253
|
+
unknown: "unknown";
|
|
1254
|
+
queued: "queued";
|
|
1255
|
+
started: "started";
|
|
1256
|
+
terminal: "terminal";
|
|
1257
|
+
}>;
|
|
1258
|
+
outcome: z.ZodNullable<z.ZodString>;
|
|
1259
|
+
authority_epoch: z.ZodNumber;
|
|
1260
|
+
execution_generation: z.ZodNullable<z.ZodNumber>;
|
|
1261
|
+
controls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1262
|
+
steering: z.ZodOptional<z.ZodBoolean>;
|
|
1263
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
input_id: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
1266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1267
|
+
operation: z.ZodString;
|
|
1268
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1269
|
+
voice_stopped: z.ZodOptional<z.ZodNever>;
|
|
1270
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1271
|
+
voice_stopped: z.ZodLiteral<true>;
|
|
1272
|
+
}, z.core.$strict>]>>;
|
|
1273
|
+
model_change: z.ZodOptional<z.ZodObject<{
|
|
1274
|
+
state: z.ZodEnum<{
|
|
1275
|
+
applied: "applied";
|
|
1276
|
+
deferred: "deferred";
|
|
1277
|
+
confirmation_required: "confirmation_required";
|
|
1278
|
+
refused: "refused";
|
|
1279
|
+
}>;
|
|
1280
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1281
|
+
confirm: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1284
|
+
}, z.core.$strip>>;
|
|
1285
|
+
context_detail: z.ZodOptional<z.ZodObject<{
|
|
1286
|
+
available: z.ZodBoolean;
|
|
1287
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1288
|
+
not_built: "not_built";
|
|
1289
|
+
unsupported: "unsupported";
|
|
1290
|
+
changed: "changed";
|
|
1291
|
+
unavailable: "unavailable";
|
|
1292
|
+
}>>;
|
|
1293
|
+
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1294
|
+
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1295
|
+
estimated_total: z.ZodNullable<z.ZodNumber>;
|
|
1296
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
1297
|
+
local_estimate: "local_estimate";
|
|
1298
|
+
provider_usage: "provider_usage";
|
|
1299
|
+
provider_usage_plus_estimate: "provider_usage_plus_estimate";
|
|
1300
|
+
}>>;
|
|
1301
|
+
estimated: z.ZodNullable<z.ZodBoolean>;
|
|
1302
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1303
|
+
id: z.ZodEnum<{
|
|
1304
|
+
system_prompt: "system_prompt";
|
|
1305
|
+
tool_definitions: "tool_definitions";
|
|
1306
|
+
rules: "rules";
|
|
1307
|
+
skills: "skills";
|
|
1308
|
+
mcp: "mcp";
|
|
1309
|
+
subagent_definitions: "subagent_definitions";
|
|
1310
|
+
memory: "memory";
|
|
1311
|
+
conversation: "conversation";
|
|
1312
|
+
}>;
|
|
1313
|
+
tokens: z.ZodNumber;
|
|
1314
|
+
percent: z.ZodNullable<z.ZodNumber>;
|
|
1315
|
+
estimated: z.ZodLiteral<true>;
|
|
1316
|
+
}, z.core.$strip>>;
|
|
1317
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1318
|
+
label: z.ZodEnum<{
|
|
1319
|
+
"AGENTS.md": "AGENTS.md";
|
|
1320
|
+
"SOUL.md": "SOUL.md";
|
|
1321
|
+
".hermes.md": ".hermes.md";
|
|
1322
|
+
"CLAUDE.md": "CLAUDE.md";
|
|
1323
|
+
"GEMINI.md": "GEMINI.md";
|
|
1324
|
+
"CONTEXT.md": "CONTEXT.md";
|
|
1325
|
+
"Context file": "Context file";
|
|
1326
|
+
}>;
|
|
1327
|
+
characters: z.ZodNullable<z.ZodNumber>;
|
|
1328
|
+
tokens: z.ZodNullable<z.ZodNumber>;
|
|
1329
|
+
status: z.ZodEnum<{
|
|
1330
|
+
truncated: "truncated";
|
|
1331
|
+
unknown: "unknown";
|
|
1332
|
+
loaded: "loaded";
|
|
1333
|
+
flagged: "flagged";
|
|
1334
|
+
shadowed: "shadowed";
|
|
1335
|
+
blocked: "blocked";
|
|
1336
|
+
empty: "empty";
|
|
1337
|
+
unreadable: "unreadable";
|
|
1338
|
+
suppressed: "suppressed";
|
|
1339
|
+
}>;
|
|
1340
|
+
loaded: z.ZodNullable<z.ZodBoolean>;
|
|
1341
|
+
}, z.core.$strip>>;
|
|
1342
|
+
truncated: z.ZodBoolean;
|
|
1343
|
+
current_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1344
|
+
last_turn_output_tokens: z.ZodNullable<z.ZodNumber>;
|
|
1345
|
+
}, z.core.$strip>>;
|
|
1346
|
+
export: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
format: z.ZodEnum<{
|
|
1348
|
+
json: "json";
|
|
1349
|
+
markdown: "markdown";
|
|
1350
|
+
html: "html";
|
|
1351
|
+
}>;
|
|
1352
|
+
filename: z.ZodString;
|
|
1353
|
+
content: z.ZodString;
|
|
1354
|
+
}, z.core.$strip>>;
|
|
1355
|
+
checkpoint_diff: z.ZodOptional<z.ZodObject<{
|
|
1356
|
+
diff: z.ZodString;
|
|
1357
|
+
stat: z.ZodString;
|
|
1358
|
+
comparison: z.ZodObject<{
|
|
1359
|
+
provenance: z.ZodEnum<{
|
|
1360
|
+
native_owner: "native_owner";
|
|
1361
|
+
direct_workspace: "direct_workspace";
|
|
1362
|
+
}>;
|
|
1363
|
+
baseline: z.ZodEnum<{
|
|
1364
|
+
earliest_retained_project_checkpoint: "earliest_retained_project_checkpoint";
|
|
1365
|
+
selected_checkpoint: "selected_checkpoint";
|
|
1366
|
+
}>;
|
|
1367
|
+
available: z.ZodBoolean;
|
|
1368
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1369
|
+
checkpoints_disabled: "checkpoints_disabled";
|
|
1370
|
+
no_baseline: "no_baseline";
|
|
1371
|
+
checkpoint_unavailable: "checkpoint_unavailable";
|
|
1372
|
+
payload_too_large: "payload_too_large";
|
|
1373
|
+
invalid_payload: "invalid_payload";
|
|
1374
|
+
owner_unavailable: "owner_unavailable";
|
|
1375
|
+
}>>;
|
|
1376
|
+
truncated: z.ZodBoolean;
|
|
1377
|
+
}, z.core.$strip>;
|
|
1378
|
+
}, z.core.$strip>>;
|
|
1379
|
+
shell: z.ZodOptional<z.ZodObject<{
|
|
1380
|
+
stdout: z.ZodString;
|
|
1381
|
+
stderr: z.ZodString;
|
|
1382
|
+
code: z.ZodNumber;
|
|
1383
|
+
}, z.core.$strip>>;
|
|
1384
|
+
restarting: z.ZodOptional<z.ZodBoolean>;
|
|
1385
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1386
|
+
status: z.ZodEnum<{
|
|
1387
|
+
ok: "ok";
|
|
1388
|
+
expired: "expired";
|
|
1389
|
+
}>;
|
|
1390
|
+
remaining: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1391
|
+
}, z.core.$strip>>;
|
|
722
1392
|
}, z.core.$strip>;
|
|
723
1393
|
};
|
|
724
1394
|
readonly 'gateway.control': {
|
|
725
1395
|
readonly params: z.ZodObject<{
|
|
726
1396
|
profile_home: z.ZodString;
|
|
1397
|
+
interrupt: z.ZodOptional<z.ZodBoolean>;
|
|
727
1398
|
cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
728
1399
|
quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
|
|
729
1400
|
background_wait_seconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -738,6 +1409,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
738
1409
|
failed: "failed";
|
|
739
1410
|
completed: "completed";
|
|
740
1411
|
busy: "busy";
|
|
1412
|
+
busy_live_work: "busy_live_work";
|
|
741
1413
|
}>;
|
|
742
1414
|
message: z.ZodString;
|
|
743
1415
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -758,6 +1430,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
758
1430
|
readonly 'gateway.restart': {
|
|
759
1431
|
readonly params: z.ZodObject<{
|
|
760
1432
|
profile_home: z.ZodString;
|
|
1433
|
+
interrupt: z.ZodOptional<z.ZodBoolean>;
|
|
761
1434
|
cli_profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
762
1435
|
quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
|
|
763
1436
|
background_wait_seconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -767,6 +1440,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
767
1440
|
failed: "failed";
|
|
768
1441
|
completed: "completed";
|
|
769
1442
|
busy: "busy";
|
|
1443
|
+
busy_live_work: "busy_live_work";
|
|
770
1444
|
}>;
|
|
771
1445
|
message: z.ZodString;
|
|
772
1446
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -1018,6 +1692,20 @@ export declare const SIDECAR_METHODS: {
|
|
|
1018
1692
|
text: z.ZodString;
|
|
1019
1693
|
}, z.core.$strip>;
|
|
1020
1694
|
};
|
|
1695
|
+
readonly 'process.stop': {
|
|
1696
|
+
readonly params: z.ZodObject<{
|
|
1697
|
+
profile_home: z.ZodString;
|
|
1698
|
+
session_id: z.ZodString;
|
|
1699
|
+
process_id: z.ZodString;
|
|
1700
|
+
}, z.core.$strip>;
|
|
1701
|
+
readonly result: z.ZodObject<{
|
|
1702
|
+
outcome: z.ZodEnum<{
|
|
1703
|
+
stopped: "stopped";
|
|
1704
|
+
not_running: "not_running";
|
|
1705
|
+
not_found: "not_found";
|
|
1706
|
+
}>;
|
|
1707
|
+
}, z.core.$strip>;
|
|
1708
|
+
};
|
|
1021
1709
|
readonly 'process.list': {
|
|
1022
1710
|
readonly params: z.ZodObject<{
|
|
1023
1711
|
profile_home: z.ZodString;
|
|
@@ -1176,10 +1864,13 @@ export declare const SIDECAR_METHODS: {
|
|
|
1176
1864
|
flow_id: z.ZodString;
|
|
1177
1865
|
provider: z.ZodString;
|
|
1178
1866
|
status: z.ZodLiteral<"pending">;
|
|
1179
|
-
user_code: z.ZodString
|
|
1867
|
+
user_code: z.ZodOptional<z.ZodString>;
|
|
1180
1868
|
verification_url: z.ZodString;
|
|
1181
1869
|
expires_in: z.ZodNumber;
|
|
1182
1870
|
interval: z.ZodNumber;
|
|
1871
|
+
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
authorize_host: z.ZodOptional<z.ZodString>;
|
|
1873
|
+
token_host: z.ZodOptional<z.ZodString>;
|
|
1183
1874
|
}, z.core.$strip>;
|
|
1184
1875
|
};
|
|
1185
1876
|
readonly 'oauth.poll': {
|
|
@@ -1193,8 +1884,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1193
1884
|
status: z.ZodEnum<{
|
|
1194
1885
|
error: "error";
|
|
1195
1886
|
pending: "pending";
|
|
1196
|
-
cancelled: "cancelled";
|
|
1197
1887
|
expired: "expired";
|
|
1888
|
+
cancelled: "cancelled";
|
|
1198
1889
|
approved: "approved";
|
|
1199
1890
|
denied: "denied";
|
|
1200
1891
|
}>;
|
|
@@ -1212,8 +1903,28 @@ export declare const SIDECAR_METHODS: {
|
|
|
1212
1903
|
status: z.ZodEnum<{
|
|
1213
1904
|
error: "error";
|
|
1214
1905
|
pending: "pending";
|
|
1906
|
+
expired: "expired";
|
|
1215
1907
|
cancelled: "cancelled";
|
|
1908
|
+
approved: "approved";
|
|
1909
|
+
denied: "denied";
|
|
1910
|
+
}>;
|
|
1911
|
+
error: z.ZodNullable<z.ZodString>;
|
|
1912
|
+
}, z.core.$strip>;
|
|
1913
|
+
};
|
|
1914
|
+
readonly 'oauth.submit_redirect': {
|
|
1915
|
+
readonly params: z.ZodObject<{
|
|
1916
|
+
profile_home: z.ZodString;
|
|
1917
|
+
flow_id: z.ZodString;
|
|
1918
|
+
url: z.ZodString;
|
|
1919
|
+
}, z.core.$strip>;
|
|
1920
|
+
readonly result: z.ZodObject<{
|
|
1921
|
+
flow_id: z.ZodString;
|
|
1922
|
+
provider: z.ZodString;
|
|
1923
|
+
status: z.ZodEnum<{
|
|
1924
|
+
error: "error";
|
|
1925
|
+
pending: "pending";
|
|
1216
1926
|
expired: "expired";
|
|
1927
|
+
cancelled: "cancelled";
|
|
1217
1928
|
approved: "approved";
|
|
1218
1929
|
denied: "denied";
|
|
1219
1930
|
}>;
|
|
@@ -1630,7 +2341,9 @@ export declare const SIDECAR_METHODS: {
|
|
|
1630
2341
|
}, z.core.$strip>;
|
|
1631
2342
|
};
|
|
1632
2343
|
readonly 'cron.delivery_options': {
|
|
1633
|
-
readonly params: z.ZodObject<{
|
|
2344
|
+
readonly params: z.ZodObject<{
|
|
2345
|
+
profile_home: z.ZodString;
|
|
2346
|
+
}, z.core.$strip>;
|
|
1634
2347
|
readonly result: z.ZodObject<{
|
|
1635
2348
|
platforms: z.ZodArray<z.ZodObject<{
|
|
1636
2349
|
value: z.ZodString;
|
|
@@ -1854,11 +2567,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
1854
2567
|
kind: z.ZodString;
|
|
1855
2568
|
state: z.ZodEnum<{
|
|
1856
2569
|
pending: "pending";
|
|
2570
|
+
expired: "expired";
|
|
1857
2571
|
skipped: "skipped";
|
|
2572
|
+
failed: "failed";
|
|
1858
2573
|
initiated: "initiated";
|
|
1859
2574
|
connected: "connected";
|
|
1860
|
-
failed: "failed";
|
|
1861
|
-
expired: "expired";
|
|
1862
2575
|
not_connected: "not_connected";
|
|
1863
2576
|
}>;
|
|
1864
2577
|
detail: z.ZodString;
|
|
@@ -1890,11 +2603,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
1890
2603
|
kind: z.ZodString;
|
|
1891
2604
|
state: z.ZodEnum<{
|
|
1892
2605
|
pending: "pending";
|
|
2606
|
+
expired: "expired";
|
|
1893
2607
|
skipped: "skipped";
|
|
2608
|
+
failed: "failed";
|
|
1894
2609
|
initiated: "initiated";
|
|
1895
2610
|
connected: "connected";
|
|
1896
|
-
failed: "failed";
|
|
1897
|
-
expired: "expired";
|
|
1898
2611
|
not_connected: "not_connected";
|
|
1899
2612
|
}>;
|
|
1900
2613
|
detail: z.ZodString;
|
|
@@ -1914,8 +2627,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
1914
2627
|
op_id: z.ZodString;
|
|
1915
2628
|
action: z.ZodEnum<{
|
|
1916
2629
|
retry: "retry";
|
|
1917
|
-
skip: "skip";
|
|
1918
2630
|
approve: "approve";
|
|
2631
|
+
skip: "skip";
|
|
1919
2632
|
continue: "continue";
|
|
1920
2633
|
}>;
|
|
1921
2634
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -1934,11 +2647,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
1934
2647
|
kind: z.ZodString;
|
|
1935
2648
|
state: z.ZodEnum<{
|
|
1936
2649
|
pending: "pending";
|
|
2650
|
+
expired: "expired";
|
|
1937
2651
|
skipped: "skipped";
|
|
2652
|
+
failed: "failed";
|
|
1938
2653
|
initiated: "initiated";
|
|
1939
2654
|
connected: "connected";
|
|
1940
|
-
failed: "failed";
|
|
1941
|
-
expired: "expired";
|
|
1942
2655
|
not_connected: "not_connected";
|
|
1943
2656
|
}>;
|
|
1944
2657
|
detail: z.ZodString;
|
|
@@ -1952,6 +2665,61 @@ export declare const SIDECAR_METHODS: {
|
|
|
1952
2665
|
}, z.core.$strip>>;
|
|
1953
2666
|
}, z.core.$strip>;
|
|
1954
2667
|
};
|
|
2668
|
+
readonly 'mcp.cost_policies': {
|
|
2669
|
+
readonly params: z.ZodObject<{
|
|
2670
|
+
profile_home: z.ZodString;
|
|
2671
|
+
servers: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2672
|
+
}, z.core.$strip>;
|
|
2673
|
+
readonly result: z.ZodObject<{
|
|
2674
|
+
supported: z.ZodBoolean;
|
|
2675
|
+
policies: z.ZodArray<z.ZodObject<{
|
|
2676
|
+
name: z.ZodString;
|
|
2677
|
+
source: z.ZodEnum<{
|
|
2678
|
+
native: "native";
|
|
2679
|
+
package: "package";
|
|
2680
|
+
native_override: "native_override";
|
|
2681
|
+
}>;
|
|
2682
|
+
valid: z.ZodBoolean;
|
|
2683
|
+
can_edit: z.ZodBoolean;
|
|
2684
|
+
error: z.ZodNullable<z.ZodString>;
|
|
2685
|
+
package_revision: z.ZodString;
|
|
2686
|
+
overrides: z.ZodObject<{
|
|
2687
|
+
tool_costs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>, z.ZodObject<{
|
|
2688
|
+
credits: z.ZodUnion<readonly [z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>;
|
|
2689
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
}, z.core.$strict>]>>>;
|
|
2691
|
+
spend_limit: z.ZodNullable<z.ZodNumber>;
|
|
2692
|
+
cost_unit: z.ZodNullable<z.ZodString>;
|
|
2693
|
+
}, z.core.$strip>;
|
|
2694
|
+
tool_costs: z.ZodArray<z.ZodObject<{
|
|
2695
|
+
name: z.ZodString;
|
|
2696
|
+
low: z.ZodNumber;
|
|
2697
|
+
high: z.ZodNumber;
|
|
2698
|
+
note: z.ZodString;
|
|
2699
|
+
}, z.core.$strip>>;
|
|
2700
|
+
spend_limit: z.ZodNumber;
|
|
2701
|
+
cost_unit: z.ZodString;
|
|
2702
|
+
budget_enabled: z.ZodBoolean;
|
|
2703
|
+
field_sources: z.ZodObject<{
|
|
2704
|
+
tool_costs: z.ZodEnum<{
|
|
2705
|
+
default: "default";
|
|
2706
|
+
native: "native";
|
|
2707
|
+
package: "package";
|
|
2708
|
+
}>;
|
|
2709
|
+
spend_limit: z.ZodEnum<{
|
|
2710
|
+
default: "default";
|
|
2711
|
+
native: "native";
|
|
2712
|
+
package: "package";
|
|
2713
|
+
}>;
|
|
2714
|
+
cost_unit: z.ZodEnum<{
|
|
2715
|
+
default: "default";
|
|
2716
|
+
native: "native";
|
|
2717
|
+
package: "package";
|
|
2718
|
+
}>;
|
|
2719
|
+
}, z.core.$strip>;
|
|
2720
|
+
}, z.core.$strip>>;
|
|
2721
|
+
}, z.core.$strip>;
|
|
2722
|
+
};
|
|
1955
2723
|
readonly 'mcp.status': {
|
|
1956
2724
|
readonly params: z.ZodObject<{
|
|
1957
2725
|
profile_home: z.ZodString;
|
|
@@ -2013,9 +2781,9 @@ export declare const SIDECAR_METHODS: {
|
|
|
2013
2781
|
load_name: z.ZodOptional<z.ZodString>;
|
|
2014
2782
|
declared_name: z.ZodOptional<z.ZodString>;
|
|
2015
2783
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2784
|
+
shadowed: "shadowed";
|
|
2016
2785
|
unique: "unique";
|
|
2017
2786
|
ambiguous: "ambiguous";
|
|
2018
|
-
shadowed: "shadowed";
|
|
2019
2787
|
}>>;
|
|
2020
2788
|
tier: z.ZodOptional<z.ZodNumber>;
|
|
2021
2789
|
name: z.ZodString;
|
|
@@ -2232,6 +3000,47 @@ export declare const SIDECAR_METHODS: {
|
|
|
2232
3000
|
ok: z.ZodBoolean;
|
|
2233
3001
|
}, z.core.$strip>;
|
|
2234
3002
|
};
|
|
3003
|
+
readonly 'state_db.prune_advice': {
|
|
3004
|
+
readonly params: z.ZodObject<{
|
|
3005
|
+
profile_home: z.ZodString;
|
|
3006
|
+
}, z.core.$strip>;
|
|
3007
|
+
readonly result: z.ZodObject<{
|
|
3008
|
+
advice: z.ZodNullable<z.ZodObject<{
|
|
3009
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3010
|
+
}, z.core.$strip>>;
|
|
3011
|
+
}, z.core.$strip>;
|
|
3012
|
+
};
|
|
3013
|
+
readonly 'kanban.inspection': {
|
|
3014
|
+
readonly params: z.ZodObject<{
|
|
3015
|
+
profile_home: z.ZodString;
|
|
3016
|
+
board: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3017
|
+
include_archived: z.ZodOptional<z.ZodBoolean>;
|
|
3018
|
+
}, z.core.$strip>;
|
|
3019
|
+
readonly result: z.ZodObject<{
|
|
3020
|
+
nodes: z.ZodArray<z.ZodObject<{
|
|
3021
|
+
key: z.ZodString;
|
|
3022
|
+
board: z.ZodString;
|
|
3023
|
+
board_name: z.ZodString;
|
|
3024
|
+
task: z.ZodObject<{
|
|
3025
|
+
id: z.ZodString;
|
|
3026
|
+
title: z.ZodString;
|
|
3027
|
+
status: z.ZodString;
|
|
3028
|
+
priority: z.ZodNumber;
|
|
3029
|
+
claim_live: z.ZodBoolean;
|
|
3030
|
+
has_completion_evidence: z.ZodBoolean;
|
|
3031
|
+
agent_move_targets: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
3032
|
+
current_run_started_at: z.ZodNullable<z.ZodNumber>;
|
|
3033
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3034
|
+
}, z.core.$strip>>;
|
|
3035
|
+
edges: z.ZodArray<z.ZodObject<{
|
|
3036
|
+
source: z.ZodString;
|
|
3037
|
+
target: z.ZodString;
|
|
3038
|
+
}, z.core.$strip>>;
|
|
3039
|
+
generated_at: z.ZodNumber;
|
|
3040
|
+
truncated: z.ZodBoolean;
|
|
3041
|
+
read_only: z.ZodBoolean;
|
|
3042
|
+
}, z.core.$strip>;
|
|
3043
|
+
};
|
|
2235
3044
|
readonly 'kanban.board': {
|
|
2236
3045
|
readonly params: z.ZodObject<{
|
|
2237
3046
|
profile_home: z.ZodString;
|
|
@@ -2595,6 +3404,65 @@ export declare const SIDECAR_METHODS: {
|
|
|
2595
3404
|
}, z.core.$strip>;
|
|
2596
3405
|
readonly result: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2597
3406
|
};
|
|
3407
|
+
readonly 'drafts.review': {
|
|
3408
|
+
readonly params: z.ZodObject<{
|
|
3409
|
+
draft_id: z.ZodString;
|
|
3410
|
+
card: z.ZodNumber;
|
|
3411
|
+
profile_home: z.ZodString;
|
|
3412
|
+
session_id: z.ZodString;
|
|
3413
|
+
action: z.ZodEnum<{
|
|
3414
|
+
edit: "edit";
|
|
3415
|
+
approve: "approve";
|
|
3416
|
+
read: "read";
|
|
3417
|
+
}>;
|
|
3418
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
3419
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
3420
|
+
fields: z.ZodOptional<z.ZodObject<{
|
|
3421
|
+
from: z.ZodString;
|
|
3422
|
+
to: z.ZodArray<z.ZodString>;
|
|
3423
|
+
cc: z.ZodArray<z.ZodString>;
|
|
3424
|
+
bcc: z.ZodArray<z.ZodString>;
|
|
3425
|
+
subject: z.ZodString;
|
|
3426
|
+
body: z.ZodString;
|
|
3427
|
+
}, z.core.$strip>>;
|
|
3428
|
+
}, z.core.$strip>;
|
|
3429
|
+
readonly result: z.ZodObject<{
|
|
3430
|
+
draft: z.ZodNullable<z.ZodObject<{
|
|
3431
|
+
draft_id: z.ZodString;
|
|
3432
|
+
card: z.ZodNumber;
|
|
3433
|
+
producer: z.ZodLiteral<"draft-cards">;
|
|
3434
|
+
producer_revision: z.ZodString;
|
|
3435
|
+
kind: z.ZodEnum<{
|
|
3436
|
+
message: "message";
|
|
3437
|
+
email: "email";
|
|
3438
|
+
}>;
|
|
3439
|
+
platform: z.ZodString;
|
|
3440
|
+
version: z.ZodNumber;
|
|
3441
|
+
revision: z.ZodString;
|
|
3442
|
+
fields: z.ZodObject<{
|
|
3443
|
+
from: z.ZodString;
|
|
3444
|
+
to: z.ZodArray<z.ZodString>;
|
|
3445
|
+
cc: z.ZodArray<z.ZodString>;
|
|
3446
|
+
bcc: z.ZodArray<z.ZodString>;
|
|
3447
|
+
subject: z.ZodString;
|
|
3448
|
+
body: z.ZodString;
|
|
3449
|
+
}, z.core.$strip>;
|
|
3450
|
+
state: z.ZodEnum<{
|
|
3451
|
+
unavailable: "unavailable";
|
|
3452
|
+
draft: "draft";
|
|
3453
|
+
approved: "approved";
|
|
3454
|
+
sent: "sent";
|
|
3455
|
+
saved: "saved";
|
|
3456
|
+
failed: "failed";
|
|
3457
|
+
discarded: "discarded";
|
|
3458
|
+
superseded: "superseded";
|
|
3459
|
+
}>;
|
|
3460
|
+
can_edit: z.ZodBoolean;
|
|
3461
|
+
can_approve: z.ZodBoolean;
|
|
3462
|
+
masked: z.ZodBoolean;
|
|
3463
|
+
}, z.core.$strip>>;
|
|
3464
|
+
}, z.core.$strip>;
|
|
3465
|
+
};
|
|
2598
3466
|
readonly 'commands.registry': {
|
|
2599
3467
|
readonly params: z.ZodObject<{
|
|
2600
3468
|
profile_home: z.ZodString;
|
|
@@ -2611,8 +3479,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
2611
3479
|
gateway_only: z.ZodBoolean;
|
|
2612
3480
|
exec: z.ZodBoolean;
|
|
2613
3481
|
prompt: z.ZodNullable<z.ZodEnum<{
|
|
2614
|
-
expand: "expand";
|
|
2615
3482
|
unsupported: "unsupported";
|
|
3483
|
+
expand: "expand";
|
|
2616
3484
|
}>>;
|
|
2617
3485
|
}, z.core.$strip>>;
|
|
2618
3486
|
}, z.core.$strip>;
|
|
@@ -2636,6 +3504,7 @@ export declare const SIDECAR_METHODS: {
|
|
|
2636
3504
|
readonly params: z.ZodObject<{
|
|
2637
3505
|
profile_home: z.ZodString;
|
|
2638
3506
|
command: z.ZodString;
|
|
3507
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2639
3508
|
workspace: z.ZodString;
|
|
2640
3509
|
enabled_toolsets: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2641
3510
|
}, z.core.$strip>;
|
|
@@ -2679,6 +3548,88 @@ export declare const SIDECAR_METHODS: {
|
|
|
2679
3548
|
moa: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2680
3549
|
}, z.core.$strip>;
|
|
2681
3550
|
};
|
|
3551
|
+
readonly 'plugins.buffers': {
|
|
3552
|
+
readonly params: z.ZodObject<{
|
|
3553
|
+
profile_home: z.ZodString;
|
|
3554
|
+
action: z.ZodEnum<{
|
|
3555
|
+
read: "read";
|
|
3556
|
+
list: "list";
|
|
3557
|
+
save: "save";
|
|
3558
|
+
}>;
|
|
3559
|
+
session_id: z.ZodString;
|
|
3560
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3562
|
+
}, z.core.$strip>;
|
|
3563
|
+
readonly result: z.ZodObject<{
|
|
3564
|
+
supported: z.ZodBoolean;
|
|
3565
|
+
buffers: z.ZodArray<z.ZodObject<{
|
|
3566
|
+
name: z.ZodString;
|
|
3567
|
+
size: z.ZodNumber;
|
|
3568
|
+
read_only: z.ZodBoolean;
|
|
3569
|
+
}, z.core.$strip>>;
|
|
3570
|
+
content: z.ZodOptional<z.ZodString>;
|
|
3571
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
3572
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
3573
|
+
write_semantics: z.ZodLiteral<"unconditional">;
|
|
3574
|
+
}, z.core.$strip>;
|
|
3575
|
+
};
|
|
3576
|
+
readonly 'plugins.dashboard_list': {
|
|
3577
|
+
readonly params: z.ZodObject<{
|
|
3578
|
+
profile_home: z.ZodString;
|
|
3579
|
+
}, z.core.$strip>;
|
|
3580
|
+
readonly result: z.ZodObject<{
|
|
3581
|
+
supported: z.ZodBoolean;
|
|
3582
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
3583
|
+
name: z.ZodString;
|
|
3584
|
+
label: z.ZodString;
|
|
3585
|
+
version: z.ZodString;
|
|
3586
|
+
description: z.ZodString;
|
|
3587
|
+
enabled: z.ZodBoolean;
|
|
3588
|
+
panel: z.ZodNullable<z.ZodString>;
|
|
3589
|
+
has_api: z.ZodBoolean;
|
|
3590
|
+
}, z.core.$strip>>;
|
|
3591
|
+
}, z.core.$strip>;
|
|
3592
|
+
};
|
|
3593
|
+
readonly 'plugins.dashboard_toggle': {
|
|
3594
|
+
readonly params: z.ZodObject<{
|
|
3595
|
+
profile_home: z.ZodString;
|
|
3596
|
+
name: z.ZodString;
|
|
3597
|
+
enabled: z.ZodBoolean;
|
|
3598
|
+
}, z.core.$strip>;
|
|
3599
|
+
readonly result: z.ZodObject<{
|
|
3600
|
+
ok: z.ZodLiteral<true>;
|
|
3601
|
+
}, z.core.$strip>;
|
|
3602
|
+
};
|
|
3603
|
+
readonly 'plugins.dashboard_asset': {
|
|
3604
|
+
readonly params: z.ZodObject<{
|
|
3605
|
+
profile_home: z.ZodString;
|
|
3606
|
+
name: z.ZodString;
|
|
3607
|
+
path: z.ZodString;
|
|
3608
|
+
}, z.core.$strip>;
|
|
3609
|
+
readonly result: z.ZodObject<{
|
|
3610
|
+
status: z.ZodNumber;
|
|
3611
|
+
body: z.ZodString;
|
|
3612
|
+
content_type: z.ZodString;
|
|
3613
|
+
}, z.core.$strip>;
|
|
3614
|
+
};
|
|
3615
|
+
readonly 'plugins.dashboard_request': {
|
|
3616
|
+
readonly params: z.ZodObject<{
|
|
3617
|
+
profile_home: z.ZodString;
|
|
3618
|
+
name: z.ZodString;
|
|
3619
|
+
path: z.ZodString;
|
|
3620
|
+
method: z.ZodString;
|
|
3621
|
+
query: z.ZodString;
|
|
3622
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3623
|
+
body: z.ZodString;
|
|
3624
|
+
authenticated: z.ZodBoolean;
|
|
3625
|
+
websocket: z.ZodBoolean;
|
|
3626
|
+
}, z.core.$strip>;
|
|
3627
|
+
readonly result: z.ZodObject<{
|
|
3628
|
+
status: z.ZodNumber;
|
|
3629
|
+
body: z.ZodString;
|
|
3630
|
+
content_type: z.ZodString;
|
|
3631
|
+
}, z.core.$strip>;
|
|
3632
|
+
};
|
|
2682
3633
|
readonly 'plugins.providers': {
|
|
2683
3634
|
readonly params: z.ZodObject<{
|
|
2684
3635
|
profile_home: z.ZodString;
|
|
@@ -2714,10 +3665,85 @@ export declare const SIDECAR_METHODS: {
|
|
|
2714
3665
|
activation: z.ZodString;
|
|
2715
3666
|
hooks: z.ZodArray<z.ZodString>;
|
|
2716
3667
|
is_active_provider: z.ZodOptional<z.ZodBoolean>;
|
|
3668
|
+
update_available: z.ZodOptional<z.ZodBoolean>;
|
|
3669
|
+
latest_revision: z.ZodOptional<z.ZodString>;
|
|
2717
3670
|
}, z.core.$strip>>;
|
|
2718
3671
|
supported_hooks: z.ZodArray<z.ZodString>;
|
|
2719
3672
|
}, z.core.$strip>;
|
|
2720
3673
|
};
|
|
3674
|
+
readonly 'plugins.catalog': {
|
|
3675
|
+
readonly params: z.ZodObject<{
|
|
3676
|
+
profile_home: z.ZodString;
|
|
3677
|
+
query: z.ZodDefault<z.ZodString>;
|
|
3678
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3679
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
3680
|
+
}, z.core.$strip>;
|
|
3681
|
+
readonly result: z.ZodObject<{
|
|
3682
|
+
supported: z.ZodBoolean;
|
|
3683
|
+
read_only: z.ZodOptional<z.ZodBoolean>;
|
|
3684
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
3685
|
+
name: z.ZodString;
|
|
3686
|
+
title: z.ZodString;
|
|
3687
|
+
description: z.ZodString;
|
|
3688
|
+
repo: z.ZodString;
|
|
3689
|
+
sha: z.ZodString;
|
|
3690
|
+
tier: z.ZodString;
|
|
3691
|
+
category: z.ZodString;
|
|
3692
|
+
requirements: z.ZodArray<z.ZodString>;
|
|
3693
|
+
installed_key: z.ZodNullable<z.ZodString>;
|
|
3694
|
+
installed_sha: z.ZodNullable<z.ZodString>;
|
|
3695
|
+
can_install: z.ZodBoolean;
|
|
3696
|
+
refusal: z.ZodNullable<z.ZodString>;
|
|
3697
|
+
}, z.core.$strip>>;
|
|
3698
|
+
total: z.ZodNumber;
|
|
3699
|
+
next_offset: z.ZodNullable<z.ZodNumber>;
|
|
3700
|
+
}, z.core.$strip>;
|
|
3701
|
+
};
|
|
3702
|
+
readonly 'plugins.install': {
|
|
3703
|
+
readonly params: z.ZodObject<{
|
|
3704
|
+
profile_home: z.ZodString;
|
|
3705
|
+
name: z.ZodString;
|
|
3706
|
+
consent_token: z.ZodOptional<z.ZodString>;
|
|
3707
|
+
}, z.core.$strip>;
|
|
3708
|
+
readonly result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3709
|
+
name: z.ZodString;
|
|
3710
|
+
key: z.ZodString;
|
|
3711
|
+
status: z.ZodLiteral<"installed">;
|
|
3712
|
+
enabled: z.ZodLiteral<false>;
|
|
3713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3714
|
+
name: z.ZodString;
|
|
3715
|
+
status: z.ZodLiteral<"needs_consent">;
|
|
3716
|
+
findings: z.ZodString;
|
|
3717
|
+
consent_token: z.ZodString;
|
|
3718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3719
|
+
name: z.ZodString;
|
|
3720
|
+
status: z.ZodLiteral<"blocked">;
|
|
3721
|
+
findings: z.ZodString;
|
|
3722
|
+
}, z.core.$strip>], "status">;
|
|
3723
|
+
};
|
|
3724
|
+
readonly 'plugins.update': {
|
|
3725
|
+
readonly params: z.ZodObject<{
|
|
3726
|
+
profile_home: z.ZodString;
|
|
3727
|
+
key: z.ZodString;
|
|
3728
|
+
accept_caution: z.ZodOptional<z.ZodBoolean>;
|
|
3729
|
+
consent_token: z.ZodOptional<z.ZodString>;
|
|
3730
|
+
}, z.core.$strip>;
|
|
3731
|
+
readonly result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3732
|
+
key: z.ZodString;
|
|
3733
|
+
status: z.ZodLiteral<"updated">;
|
|
3734
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3735
|
+
key: z.ZodString;
|
|
3736
|
+
status: z.ZodLiteral<"needs_consent">;
|
|
3737
|
+
verdict: z.ZodLiteral<"caution">;
|
|
3738
|
+
findings: z.ZodString;
|
|
3739
|
+
consent_token: z.ZodString;
|
|
3740
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3741
|
+
key: z.ZodString;
|
|
3742
|
+
status: z.ZodLiteral<"blocked">;
|
|
3743
|
+
verdict: z.ZodString;
|
|
3744
|
+
findings: z.ZodString;
|
|
3745
|
+
}, z.core.$strip>], "status">;
|
|
3746
|
+
};
|
|
2721
3747
|
readonly 'plugins.isolation': {
|
|
2722
3748
|
readonly params: z.ZodObject<{
|
|
2723
3749
|
base_home: z.ZodString;
|
|
@@ -2763,6 +3789,40 @@ export declare const SIDECAR_METHODS: {
|
|
|
2763
3789
|
}, z.core.$strip>>;
|
|
2764
3790
|
}, z.core.$strip>;
|
|
2765
3791
|
};
|
|
3792
|
+
readonly 'plugins.oauth_status': {
|
|
3793
|
+
readonly params: z.ZodObject<{
|
|
3794
|
+
profile_home: z.ZodString;
|
|
3795
|
+
}, z.core.$strip>;
|
|
3796
|
+
readonly result: z.ZodObject<{
|
|
3797
|
+
supported: z.ZodBoolean;
|
|
3798
|
+
plugins: z.ZodArray<z.ZodObject<{
|
|
3799
|
+
key: z.ZodString;
|
|
3800
|
+
clients: z.ZodArray<z.ZodObject<{
|
|
3801
|
+
id: z.ZodString;
|
|
3802
|
+
state: z.ZodEnum<{
|
|
3803
|
+
signed_in: "signed_in";
|
|
3804
|
+
sign_in_needed: "sign_in_needed";
|
|
3805
|
+
revoked: "revoked";
|
|
3806
|
+
logged_out: "logged_out";
|
|
3807
|
+
}>;
|
|
3808
|
+
authorize_host: z.ZodString;
|
|
3809
|
+
token_host: z.ZodString;
|
|
3810
|
+
}, z.core.$strip>>;
|
|
3811
|
+
}, z.core.$strip>>;
|
|
3812
|
+
}, z.core.$strip>;
|
|
3813
|
+
};
|
|
3814
|
+
readonly 'plugins.oauth_logout': {
|
|
3815
|
+
readonly params: z.ZodObject<{
|
|
3816
|
+
profile_home: z.ZodString;
|
|
3817
|
+
key: z.ZodString;
|
|
3818
|
+
id: z.ZodString;
|
|
3819
|
+
}, z.core.$strip>;
|
|
3820
|
+
readonly result: z.ZodObject<{
|
|
3821
|
+
key: z.ZodString;
|
|
3822
|
+
id: z.ZodString;
|
|
3823
|
+
removed: z.ZodBoolean;
|
|
3824
|
+
}, z.core.$strip>;
|
|
3825
|
+
};
|
|
2766
3826
|
readonly 'plugins.settings_save': {
|
|
2767
3827
|
readonly params: z.ZodObject<{
|
|
2768
3828
|
profile_home: z.ZodString;
|
|
@@ -2792,6 +3852,11 @@ export declare const SIDECAR_METHODS: {
|
|
|
2792
3852
|
env: z.ZodOptional<z.ZodString>;
|
|
2793
3853
|
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
2794
3854
|
}, z.core.$strip>>;
|
|
3855
|
+
runtime_application: z.ZodOptional<z.ZodEnum<{
|
|
3856
|
+
unknown: "unknown";
|
|
3857
|
+
applied: "applied";
|
|
3858
|
+
restart_required: "restart_required";
|
|
3859
|
+
}>>;
|
|
2795
3860
|
}, z.core.$strip>;
|
|
2796
3861
|
};
|
|
2797
3862
|
readonly 'goals.get': {
|
|
@@ -3015,6 +4080,8 @@ export declare const SIDECAR_METHODS: {
|
|
|
3015
4080
|
agent_dir: z.ZodString;
|
|
3016
4081
|
revision: z.ZodString;
|
|
3017
4082
|
homes: z.ZodArray<z.ZodString>;
|
|
4083
|
+
operation_id: z.ZodOptional<z.ZodUUID>;
|
|
4084
|
+
baseline_revision: z.ZodOptional<z.ZodString>;
|
|
3018
4085
|
intent: z.ZodOptional<z.ZodString>;
|
|
3019
4086
|
refresh_token: z.ZodOptional<z.ZodString>;
|
|
3020
4087
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3035,12 +4102,21 @@ export declare const SIDECAR_METHODS: {
|
|
|
3035
4102
|
ok: z.ZodBoolean;
|
|
3036
4103
|
skipped: z.ZodBoolean;
|
|
3037
4104
|
detail: z.ZodString;
|
|
4105
|
+
recovery_required: z.ZodOptional<z.ZodBoolean>;
|
|
3038
4106
|
token: z.ZodOptional<z.ZodString>;
|
|
3039
4107
|
refresh_confirmation: z.ZodOptional<z.ZodObject<{
|
|
3040
4108
|
token: z.ZodString;
|
|
3041
4109
|
services: z.ZodArray<z.ZodString>;
|
|
3042
4110
|
}, z.core.$strip>>;
|
|
3043
4111
|
}, z.core.$strip>;
|
|
4112
|
+
readonly stream: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4113
|
+
event: z.ZodLiteral<"progress">;
|
|
4114
|
+
data: z.ZodObject<{
|
|
4115
|
+
phase: z.ZodLiteral<"gateway_drain">;
|
|
4116
|
+
deadline_seconds: z.ZodNumber;
|
|
4117
|
+
services: z.ZodArray<z.ZodString>;
|
|
4118
|
+
}, z.core.$strip>;
|
|
4119
|
+
}, z.core.$strip>], "event">;
|
|
3044
4120
|
};
|
|
3045
4121
|
readonly 'runtime.agent_recovery': {
|
|
3046
4122
|
readonly params: z.ZodObject<{
|
|
@@ -3055,6 +4131,27 @@ export declare const SIDECAR_METHODS: {
|
|
|
3055
4131
|
local_restore: z.ZodOptional<z.ZodBoolean>;
|
|
3056
4132
|
revision: z.ZodOptional<z.ZodString>;
|
|
3057
4133
|
runtime_pending: z.ZodOptional<z.ZodBoolean>;
|
|
4134
|
+
operation: z.ZodOptional<z.ZodObject<{
|
|
4135
|
+
operation_id: z.ZodUUID;
|
|
4136
|
+
baseline_revision: z.ZodString;
|
|
4137
|
+
target_revision: z.ZodString;
|
|
4138
|
+
stage: z.ZodEnum<{
|
|
4139
|
+
install: "install";
|
|
4140
|
+
gateway_restart: "gateway_restart";
|
|
4141
|
+
agent_ready: "agent_ready";
|
|
4142
|
+
}>;
|
|
4143
|
+
recovered_revision: z.ZodOptional<z.ZodString>;
|
|
4144
|
+
source_moved: z.ZodOptional<z.ZodBoolean>;
|
|
4145
|
+
attempt_error: z.ZodOptional<z.ZodString>;
|
|
4146
|
+
failed_stage: z.ZodOptional<z.ZodEnum<{
|
|
4147
|
+
install: "install";
|
|
4148
|
+
gateway_restart: "gateway_restart";
|
|
4149
|
+
agent_ready: "agent_ready";
|
|
4150
|
+
}>>;
|
|
4151
|
+
}, z.core.$strip>>;
|
|
4152
|
+
runtime_revision: z.ZodOptional<z.ZodString>;
|
|
4153
|
+
verified_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4154
|
+
draining: z.ZodOptional<z.ZodBoolean>;
|
|
3058
4155
|
}, z.core.$strip>;
|
|
3059
4156
|
};
|
|
3060
4157
|
};
|