@intentic/sandbox-contract 1.366.0 → 1.367.1
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/contracts/agent.contract.d.ts +9 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +2 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.d.ts +43 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.d.ts +237 -0
- package/dist/contracts/needs.contract.d.ts.map +1 -1
- package/dist/contracts/needs.contract.js +10 -1
- package/dist/contracts/needs.contract.js.map +1 -1
- package/dist/contracts/ports.contract.d.ts +25 -0
- package/dist/contracts/ports.contract.d.ts.map +1 -1
- package/dist/contracts/ports.contract.js +29 -1
- package/dist/contracts/ports.contract.js.map +1 -1
- package/dist/contracts/runner.contract.d.ts +6 -0
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/sessions.contract.d.ts +1 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +1498 -231
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +15 -3
- package/dist/contracts/system.contract.js.map +1 -1
- package/dist/events/agent-events.d.ts +5 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +1 -0
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/agent-transcript.d.ts +1 -0
- package/dist/events/agent-transcript.d.ts.map +1 -1
- package/dist/events/system-events.d.ts +1077 -142
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/system-events.js +8 -0
- package/dist/events/system-events.js.map +1 -1
- package/dist/events/transcript.d.ts +6 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +4 -0
- package/dist/events/transcript.js.map +1 -1
- package/dist/index.d.ts +1772 -231
- package/dist/index.d.ts.map +1 -1
- package/dist/netd/generated/wire.d.ts +8 -0
- package/dist/netd/generated/wire.d.ts.map +1 -1
- package/dist/protocol/raw/raw-json-routes.d.ts +3 -0
- package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
- package/dist/schemas/dev-rebuild-log.d.ts +2 -0
- package/dist/schemas/dev-rebuild-log.d.ts.map +1 -1
- package/dist/schemas/dev-rebuild-log.js +7 -1
- package/dist/schemas/dev-rebuild-log.js.map +1 -1
- package/dist/schemas/device-commands.d.ts +1 -1
- package/dist/schemas/device-commands.d.ts.map +1 -1
- package/dist/schemas/device-commands.js +1 -1
- package/dist/schemas/device-commands.js.map +1 -1
- package/dist/schemas/devices.d.ts +249 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +6 -0
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/egress.d.ts +238 -0
- package/dist/schemas/egress.d.ts.map +1 -0
- package/dist/schemas/egress.js +192 -0
- package/dist/schemas/egress.js.map +1 -0
- package/dist/schemas/hosts.d.ts +2 -0
- package/dist/schemas/hosts.d.ts.map +1 -1
- package/dist/schemas/hosts.js +2 -0
- package/dist/schemas/hosts.js.map +1 -1
- package/dist/schemas/members.d.ts +4 -0
- package/dist/schemas/members.d.ts.map +1 -1
- package/dist/schemas/members.js +1 -1
- package/dist/schemas/members.js.map +1 -1
- package/dist/schemas/needs.d.ts +8 -0
- package/dist/schemas/needs.d.ts.map +1 -1
- package/dist/schemas/needs.js +8 -1
- package/dist/schemas/needs.js.map +1 -1
- package/dist/schemas/ports.d.ts +21 -0
- package/dist/schemas/ports.d.ts.map +1 -1
- package/dist/schemas/ports.js +12 -0
- package/dist/schemas/ports.js.map +1 -1
- package/dist/state/auth-state.d.ts.map +1 -1
- package/dist/state/auth-state.js +1 -0
- package/dist/state/auth-state.js.map +1 -1
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +1 -0
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +5 -5
- package/src/contracts/needs.contract.ts +11 -0
- package/src/contracts/ports.contract.ts +42 -1
- package/src/contracts/system.contract.ts +24 -3
- package/src/events/agent-events.ts +2 -0
- package/src/events/system-events.ts +22 -1
- package/src/events/transcript.ts +5 -0
- package/src/netd/generated/netd-wire.json +44 -0
- package/src/netd/generated/wire.ts +36 -1
- package/src/schemas/dev-rebuild-log.test.ts +10 -1
- package/src/schemas/dev-rebuild-log.ts +14 -1
- package/src/schemas/device-commands.ts +1 -0
- package/src/schemas/devices.ts +14 -0
- package/src/schemas/egress-private.test.ts +17 -0
- package/src/schemas/egress.test.ts +109 -0
- package/src/schemas/egress.ts +331 -0
- package/src/schemas/hosts.ts +3 -0
- package/src/schemas/members.ts +3 -1
- package/src/schemas/needs.ts +9 -1
- package/src/schemas/ports.ts +25 -0
- package/src/state/auth-state.ts +3 -0
- package/src/state/daemon-floor.test.ts +1 -0
- package/src/text/transcript-fold.test.ts +7 -0
- package/src/text/transcript-fold.ts +1 -0
|
@@ -160,20 +160,11 @@ export declare const systemContract: {
|
|
|
160
160
|
}, z.core.$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
161
161
|
events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
162
162
|
clientId: z.ZodOptional<z.ZodString>;
|
|
163
|
+
roster: z.ZodOptional<z.ZodEnum<{
|
|
164
|
+
changes: "changes";
|
|
165
|
+
snapshots: "snapshots";
|
|
166
|
+
}>>;
|
|
163
167
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
164
|
-
kind: "heartbeat";
|
|
165
|
-
rev: number;
|
|
166
|
-
} | {
|
|
167
|
-
ready: boolean;
|
|
168
|
-
startedAt: number;
|
|
169
|
-
steps: {
|
|
170
|
-
key: string;
|
|
171
|
-
label: string;
|
|
172
|
-
state: "done" | "failed" | "pending" | "running";
|
|
173
|
-
ms?: number | undefined;
|
|
174
|
-
}[];
|
|
175
|
-
kind: "boot";
|
|
176
|
-
} | {
|
|
177
168
|
kind: "hello";
|
|
178
169
|
workspaceId: string;
|
|
179
170
|
routes?: string[] | undefined;
|
|
@@ -196,14 +187,27 @@ export declare const systemContract: {
|
|
|
196
187
|
projectDir?: string | undefined;
|
|
197
188
|
surface?: "folder" | "sandbox" | undefined;
|
|
198
189
|
} | {
|
|
199
|
-
kind: "
|
|
200
|
-
|
|
190
|
+
kind: "heartbeat";
|
|
191
|
+
rev: number;
|
|
192
|
+
} | {
|
|
193
|
+
ready: boolean;
|
|
194
|
+
startedAt: number;
|
|
195
|
+
steps: {
|
|
196
|
+
key: string;
|
|
197
|
+
label: string;
|
|
198
|
+
state: "done" | "failed" | "pending" | "running";
|
|
199
|
+
ms?: number | undefined;
|
|
200
|
+
}[];
|
|
201
|
+
kind: "boot";
|
|
201
202
|
} | {
|
|
202
203
|
kind: "workspaceChanged";
|
|
203
204
|
paths: string[];
|
|
204
205
|
} | {
|
|
205
206
|
kind: "derivedChanged";
|
|
206
207
|
paths: string[];
|
|
208
|
+
} | {
|
|
209
|
+
kind: "reposChanged";
|
|
210
|
+
repos: string[];
|
|
207
211
|
} | {
|
|
208
212
|
kind: "refsChanged";
|
|
209
213
|
repos: string[];
|
|
@@ -561,133 +565,7 @@ export declare const systemContract: {
|
|
|
561
565
|
}[];
|
|
562
566
|
rev: number;
|
|
563
567
|
} | {
|
|
564
|
-
kind: "
|
|
565
|
-
provider: string;
|
|
566
|
-
account: string;
|
|
567
|
-
usage?: {
|
|
568
|
-
windows: {
|
|
569
|
-
kind: string;
|
|
570
|
-
label?: string | undefined;
|
|
571
|
-
utilization: number;
|
|
572
|
-
resetsAt?: number | undefined;
|
|
573
|
-
gates: "all" | "none" | {
|
|
574
|
-
models: string[];
|
|
575
|
-
};
|
|
576
|
-
rounded?: boolean | undefined;
|
|
577
|
-
lapsedAt?: number | undefined;
|
|
578
|
-
missingSince?: number | undefined;
|
|
579
|
-
}[];
|
|
580
|
-
measuredAt: number;
|
|
581
|
-
unread?: {
|
|
582
|
-
since: number;
|
|
583
|
-
reason: string;
|
|
584
|
-
} | undefined;
|
|
585
|
-
uncovered?: string[] | undefined;
|
|
586
|
-
contradicted?: {
|
|
587
|
-
at: number;
|
|
588
|
-
model: string;
|
|
589
|
-
} | undefined;
|
|
590
|
-
} | undefined;
|
|
591
|
-
} | {
|
|
592
|
-
kind: "providerRefusal";
|
|
593
|
-
provider: string;
|
|
594
|
-
refusals?: {
|
|
595
|
-
at: number;
|
|
596
|
-
kind: "auth" | "entitlement" | "limit";
|
|
597
|
-
message: string;
|
|
598
|
-
account?: string | undefined;
|
|
599
|
-
model?: string | undefined;
|
|
600
|
-
resetsAt?: number | undefined;
|
|
601
|
-
poolResetsAt?: number | undefined;
|
|
602
|
-
unmetered?: true | undefined;
|
|
603
|
-
byHand?: true | undefined;
|
|
604
|
-
}[] | undefined;
|
|
605
|
-
refusal?: {
|
|
606
|
-
at: number;
|
|
607
|
-
kind: "auth" | "entitlement" | "limit";
|
|
608
|
-
message: string;
|
|
609
|
-
account?: string | undefined;
|
|
610
|
-
model?: string | undefined;
|
|
611
|
-
resetsAt?: number | undefined;
|
|
612
|
-
poolResetsAt?: number | undefined;
|
|
613
|
-
unmetered?: true | undefined;
|
|
614
|
-
byHand?: true | undefined;
|
|
615
|
-
} | undefined;
|
|
616
|
-
} | {
|
|
617
|
-
from: number;
|
|
618
|
-
generation: number;
|
|
619
|
-
dirs: {
|
|
620
|
-
path: string;
|
|
621
|
-
entries: unknown[];
|
|
622
|
-
}[];
|
|
623
|
-
barren?: string[] | undefined;
|
|
624
|
-
kind: "treeChanged";
|
|
625
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
626
|
-
kind: "heartbeat";
|
|
627
|
-
rev: number;
|
|
628
|
-
} | {
|
|
629
|
-
ready: boolean;
|
|
630
|
-
startedAt: number;
|
|
631
|
-
steps: {
|
|
632
|
-
key: string;
|
|
633
|
-
label: string;
|
|
634
|
-
state: "done" | "failed" | "pending" | "running";
|
|
635
|
-
ms?: number | undefined;
|
|
636
|
-
}[];
|
|
637
|
-
kind: "boot";
|
|
638
|
-
} | {
|
|
639
|
-
kind: "hello";
|
|
640
|
-
workspaceId: string;
|
|
641
|
-
routes?: string[] | undefined;
|
|
642
|
-
shapes?: Record<string, string> | undefined;
|
|
643
|
-
rawRoutes?: string[] | undefined;
|
|
644
|
-
rawFingerprints?: Record<string, string> | undefined;
|
|
645
|
-
uploadEncodings?: string[] | undefined;
|
|
646
|
-
voiceCodecs?: string[] | undefined;
|
|
647
|
-
build?: string | undefined;
|
|
648
|
-
boot?: {
|
|
649
|
-
ready: boolean;
|
|
650
|
-
startedAt: number;
|
|
651
|
-
steps: {
|
|
652
|
-
key: string;
|
|
653
|
-
label: string;
|
|
654
|
-
state: "done" | "failed" | "pending" | "running";
|
|
655
|
-
ms?: number | undefined;
|
|
656
|
-
}[];
|
|
657
|
-
} | undefined;
|
|
658
|
-
projectDir?: string | undefined;
|
|
659
|
-
surface?: "folder" | "sandbox" | undefined;
|
|
660
|
-
} | {
|
|
661
|
-
kind: "reposChanged";
|
|
662
|
-
repos: string[];
|
|
663
|
-
} | {
|
|
664
|
-
kind: "workspaceChanged";
|
|
665
|
-
paths: string[];
|
|
666
|
-
} | {
|
|
667
|
-
kind: "derivedChanged";
|
|
668
|
-
paths: string[];
|
|
669
|
-
} | {
|
|
670
|
-
kind: "refsChanged";
|
|
671
|
-
repos: string[];
|
|
672
|
-
} | {
|
|
673
|
-
kind: "runtimeChanged";
|
|
674
|
-
domains: string[];
|
|
675
|
-
} | {
|
|
676
|
-
kind: "presence";
|
|
677
|
-
users: {
|
|
678
|
-
clientId: string;
|
|
679
|
-
email: string;
|
|
680
|
-
name?: string | undefined;
|
|
681
|
-
picture?: string | undefined;
|
|
682
|
-
role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
|
|
683
|
-
idle: boolean;
|
|
684
|
-
away?: boolean | undefined;
|
|
685
|
-
view?: string | undefined;
|
|
686
|
-
sessionId?: string | undefined;
|
|
687
|
-
path?: string | undefined;
|
|
688
|
-
}[];
|
|
689
|
-
} | {
|
|
690
|
-
kind: "agents";
|
|
568
|
+
kind: "agentsChanged";
|
|
691
569
|
agents: {
|
|
692
570
|
id: string;
|
|
693
571
|
sessionId?: string | undefined;
|
|
@@ -1022,6 +900,7 @@ export declare const systemContract: {
|
|
|
1022
900
|
archivedAt?: number | undefined;
|
|
1023
901
|
}[];
|
|
1024
902
|
rev: number;
|
|
903
|
+
since: number;
|
|
1025
904
|
} | {
|
|
1026
905
|
kind: "accountUsage";
|
|
1027
906
|
provider: string;
|
|
@@ -1080,106 +959,1368 @@ export declare const systemContract: {
|
|
|
1080
959
|
generation: number;
|
|
1081
960
|
dirs: {
|
|
1082
961
|
path: string;
|
|
1083
|
-
entries:
|
|
962
|
+
entries: unknown[];
|
|
1084
963
|
}[];
|
|
1085
964
|
barren?: string[] | undefined;
|
|
1086
965
|
kind: "treeChanged";
|
|
1087
|
-
}, unknown, void
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
966
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
967
|
+
kind: "hello";
|
|
968
|
+
workspaceId: string;
|
|
969
|
+
routes?: string[] | undefined;
|
|
970
|
+
shapes?: Record<string, string> | undefined;
|
|
971
|
+
rawRoutes?: string[] | undefined;
|
|
972
|
+
rawFingerprints?: Record<string, string> | undefined;
|
|
973
|
+
uploadEncodings?: string[] | undefined;
|
|
974
|
+
voiceCodecs?: string[] | undefined;
|
|
975
|
+
build?: string | undefined;
|
|
976
|
+
boot?: {
|
|
977
|
+
ready: boolean;
|
|
978
|
+
startedAt: number;
|
|
979
|
+
steps: {
|
|
980
|
+
key: string;
|
|
981
|
+
label: string;
|
|
982
|
+
state: "done" | "failed" | "pending" | "running";
|
|
983
|
+
ms?: number | undefined;
|
|
984
|
+
}[];
|
|
985
|
+
} | undefined;
|
|
986
|
+
projectDir?: string | undefined;
|
|
987
|
+
surface?: "folder" | "sandbox" | undefined;
|
|
988
|
+
} | {
|
|
989
|
+
kind: "heartbeat";
|
|
990
|
+
rev: number;
|
|
991
|
+
} | {
|
|
992
|
+
ready: boolean;
|
|
993
|
+
startedAt: number;
|
|
994
|
+
steps: {
|
|
995
|
+
key: string;
|
|
996
|
+
label: string;
|
|
997
|
+
state: "done" | "failed" | "pending" | "running";
|
|
998
|
+
ms?: number | undefined;
|
|
999
|
+
}[];
|
|
1000
|
+
kind: "boot";
|
|
1001
|
+
} | {
|
|
1002
|
+
kind: "workspaceChanged";
|
|
1003
|
+
paths: string[];
|
|
1004
|
+
} | {
|
|
1005
|
+
kind: "derivedChanged";
|
|
1006
|
+
paths: string[];
|
|
1007
|
+
} | {
|
|
1008
|
+
kind: "reposChanged";
|
|
1009
|
+
repos: string[];
|
|
1010
|
+
} | {
|
|
1011
|
+
kind: "refsChanged";
|
|
1012
|
+
repos: string[];
|
|
1013
|
+
} | {
|
|
1014
|
+
kind: "runtimeChanged";
|
|
1015
|
+
domains: string[];
|
|
1016
|
+
} | {
|
|
1017
|
+
kind: "presence";
|
|
1018
|
+
users: {
|
|
1019
|
+
clientId: string;
|
|
1020
|
+
email: string;
|
|
1021
|
+
name?: string | undefined;
|
|
1022
|
+
picture?: string | undefined;
|
|
1023
|
+
role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
|
|
1024
|
+
idle: boolean;
|
|
1025
|
+
away?: boolean | undefined;
|
|
1026
|
+
view?: string | undefined;
|
|
1027
|
+
sessionId?: string | undefined;
|
|
1028
|
+
path?: string | undefined;
|
|
1029
|
+
}[];
|
|
1030
|
+
} | {
|
|
1031
|
+
kind: "agents";
|
|
1032
|
+
agents: {
|
|
1033
|
+
id: string;
|
|
1034
|
+
sessionId?: string | undefined;
|
|
1035
|
+
title?: string | undefined;
|
|
1036
|
+
titleAction?: string | undefined;
|
|
1037
|
+
status: "awaiting" | "conflict" | "dismissing" | "error" | "idle" | "interrupted" | "landed" | "landing" | "ready" | "resuming" | "running" | "stopped" | "stopping";
|
|
1038
|
+
failure?: string | undefined;
|
|
1039
|
+
failureCode?: string | undefined;
|
|
1040
|
+
failureOwn?: boolean | undefined;
|
|
1041
|
+
limitResetsAt?: number | undefined;
|
|
1042
|
+
limitHeld?: boolean | undefined;
|
|
1043
|
+
limitScheduled?: boolean | undefined;
|
|
1044
|
+
limitMoving?: string | undefined;
|
|
1045
|
+
limitNextAt?: number | undefined;
|
|
1046
|
+
next?: {
|
|
1047
|
+
kind: "rerun";
|
|
1048
|
+
at: number;
|
|
1049
|
+
onto?: string | undefined;
|
|
1050
|
+
} | {
|
|
1051
|
+
kind: "room";
|
|
1052
|
+
} | {
|
|
1053
|
+
kind: "send";
|
|
1054
|
+
at: number;
|
|
1055
|
+
count: number;
|
|
1056
|
+
} | {
|
|
1057
|
+
kind: "land";
|
|
1058
|
+
after: string;
|
|
1059
|
+
count: number;
|
|
1060
|
+
} | undefined;
|
|
1061
|
+
provider: string;
|
|
1062
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
1063
|
+
runner?: string | undefined;
|
|
1064
|
+
startIn?: string | undefined;
|
|
1065
|
+
actsAs?: string | undefined;
|
|
1066
|
+
lastActsAs?: string | undefined;
|
|
1067
|
+
model?: string | undefined;
|
|
1068
|
+
effort?: string | undefined;
|
|
1069
|
+
thinking?: boolean | undefined;
|
|
1070
|
+
fast?: boolean | undefined;
|
|
1071
|
+
account?: string | undefined;
|
|
1072
|
+
branch?: string | undefined;
|
|
1073
|
+
autoLand?: boolean | undefined;
|
|
1074
|
+
limitPolicy?: "move" | "resend" | "wait" | undefined;
|
|
1075
|
+
outagePolicy?: "retry" | "wait" | undefined;
|
|
1076
|
+
stopPolicy?: "retry" | "wait" | undefined;
|
|
1077
|
+
memoryPolicy?: "resend" | "wait" | undefined;
|
|
1078
|
+
landRequested?: {
|
|
1079
|
+
email: string;
|
|
1080
|
+
name?: string | undefined;
|
|
1081
|
+
at: number;
|
|
1082
|
+
} | undefined;
|
|
1083
|
+
reactions?: {
|
|
1084
|
+
emoji: string;
|
|
1085
|
+
by: {
|
|
1086
|
+
email: string;
|
|
1087
|
+
name?: string | undefined;
|
|
1088
|
+
at: number;
|
|
1089
|
+
}[];
|
|
1090
|
+
}[] | undefined;
|
|
1091
|
+
origin?: {
|
|
1092
|
+
automationId: string;
|
|
1093
|
+
provider: string;
|
|
1094
|
+
channelId?: string | undefined;
|
|
1095
|
+
threadId?: string | undefined;
|
|
1096
|
+
author?: string | undefined;
|
|
1097
|
+
} | undefined;
|
|
1098
|
+
startedBy?: string | undefined;
|
|
1099
|
+
areas?: string[] | undefined;
|
|
1100
|
+
owner?: {
|
|
1101
|
+
email: string;
|
|
1102
|
+
name?: string | undefined;
|
|
1103
|
+
since: number;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
forkedFrom?: {
|
|
1106
|
+
conversationId: string;
|
|
1107
|
+
index: number;
|
|
1108
|
+
files: "now" | "then";
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
fresh?: {
|
|
1111
|
+
of: string;
|
|
1112
|
+
kind: "ask" | "review" | "test";
|
|
1113
|
+
at: number;
|
|
1114
|
+
by?: string | undefined;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
home?: true | undefined;
|
|
1117
|
+
commits?: {
|
|
1118
|
+
land: string;
|
|
1119
|
+
at: number;
|
|
1120
|
+
subject: string;
|
|
1121
|
+
commits: {
|
|
1122
|
+
repo: string;
|
|
1123
|
+
sha: string;
|
|
1124
|
+
}[];
|
|
1125
|
+
}[] | undefined;
|
|
1126
|
+
freshPending?: "asked" | "cleared" | undefined;
|
|
1127
|
+
base?: string | undefined;
|
|
1128
|
+
costUsd?: number | undefined;
|
|
1129
|
+
inputTokens?: number | undefined;
|
|
1130
|
+
outputTokens?: number | undefined;
|
|
1131
|
+
contextTokens?: number | undefined;
|
|
1132
|
+
contextWindow?: number | undefined;
|
|
1133
|
+
promptCache?: {
|
|
1134
|
+
at: number;
|
|
1135
|
+
ttlMs: number;
|
|
1136
|
+
rollsAt?: number | undefined;
|
|
1137
|
+
keepableUntil?: number | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
keepWarm?: {
|
|
1140
|
+
since: number;
|
|
1141
|
+
until: number;
|
|
1142
|
+
refreshes: number;
|
|
1143
|
+
readTokens?: number | undefined;
|
|
1144
|
+
ended?: {
|
|
1145
|
+
at: number;
|
|
1146
|
+
reason: "allowance" | "changed" | "cold" | "elapsed" | "failed";
|
|
1147
|
+
detail?: string | undefined;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
} | undefined;
|
|
1150
|
+
activity?: {
|
|
1151
|
+
tool?: string | undefined;
|
|
1152
|
+
target?: string | undefined;
|
|
1153
|
+
todo?: string | undefined;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
checklist?: {
|
|
1156
|
+
done: number;
|
|
1157
|
+
total: number;
|
|
1158
|
+
} | undefined;
|
|
1159
|
+
landedMessageDraft?: {
|
|
1160
|
+
startedAt: number;
|
|
1161
|
+
steps: {
|
|
1162
|
+
provider: string;
|
|
1163
|
+
model: string;
|
|
1164
|
+
status: "answered" | "asking" | "refused" | "skipped";
|
|
1165
|
+
at?: number | undefined;
|
|
1166
|
+
ms?: number | undefined;
|
|
1167
|
+
reason?: string | undefined;
|
|
1168
|
+
}[];
|
|
1169
|
+
outcome?: "failed" | "written" | undefined;
|
|
1170
|
+
reason?: string | undefined;
|
|
1171
|
+
finishedAt?: number | undefined;
|
|
1172
|
+
} | undefined;
|
|
1173
|
+
landedMessage?: {
|
|
1174
|
+
subject: string;
|
|
1175
|
+
note?: string | undefined;
|
|
1176
|
+
breaking?: string | undefined;
|
|
1177
|
+
testNote?: string | undefined;
|
|
1178
|
+
allows?: string[] | undefined;
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
startedAt?: number | undefined;
|
|
1181
|
+
run?: string | undefined;
|
|
1182
|
+
queue?: {
|
|
1183
|
+
items: {
|
|
1184
|
+
id: string;
|
|
1185
|
+
text: string;
|
|
1186
|
+
attachments?: string[] | undefined;
|
|
1187
|
+
voice: "agent" | "person" | "sandbox";
|
|
1188
|
+
queuedAt: number;
|
|
1189
|
+
revision: number;
|
|
1190
|
+
until?: number | undefined;
|
|
1191
|
+
after?: string | undefined;
|
|
1192
|
+
reopenOf?: {
|
|
1193
|
+
agent: string;
|
|
1194
|
+
account?: string | undefined;
|
|
1195
|
+
} | undefined;
|
|
1196
|
+
serves?: {
|
|
1197
|
+
agent: string;
|
|
1198
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
1199
|
+
model?: string | undefined;
|
|
1200
|
+
effort?: string | undefined;
|
|
1201
|
+
account?: string | undefined;
|
|
1202
|
+
} | undefined;
|
|
1203
|
+
continues?: true | undefined;
|
|
1204
|
+
}[];
|
|
1205
|
+
revision: number;
|
|
1206
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
1207
|
+
until?: number | undefined;
|
|
1208
|
+
after?: string | undefined;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
updatedAt: number;
|
|
1211
|
+
seenAt?: number | undefined;
|
|
1212
|
+
unsentAt?: number | undefined;
|
|
1213
|
+
attention: {
|
|
1214
|
+
plan: boolean;
|
|
1215
|
+
question: boolean;
|
|
1216
|
+
permission: boolean;
|
|
1217
|
+
capability: boolean;
|
|
1218
|
+
credential: boolean;
|
|
1219
|
+
conflict: boolean;
|
|
1220
|
+
need?: boolean | undefined;
|
|
1221
|
+
};
|
|
1222
|
+
permissionAsk?: {
|
|
1223
|
+
requestId: string;
|
|
1224
|
+
ask: string;
|
|
1225
|
+
program?: {
|
|
1226
|
+
text: string;
|
|
1227
|
+
language: "bash" | "javascript";
|
|
1228
|
+
truncated: boolean;
|
|
1229
|
+
spans: {
|
|
1230
|
+
start: number;
|
|
1231
|
+
end: number;
|
|
1232
|
+
}[];
|
|
1233
|
+
} | undefined;
|
|
1234
|
+
} | undefined;
|
|
1235
|
+
landFailure?: {
|
|
1236
|
+
reason: string;
|
|
1237
|
+
code?: string | undefined;
|
|
1238
|
+
at: number;
|
|
1239
|
+
} | undefined;
|
|
1240
|
+
delivery?: {
|
|
1241
|
+
state: "delivered" | "failed" | "partial" | "too-large" | "waiting";
|
|
1242
|
+
at: number;
|
|
1243
|
+
project: string;
|
|
1244
|
+
folder?: string | undefined;
|
|
1245
|
+
applied: number;
|
|
1246
|
+
conflicts: {
|
|
1247
|
+
path: string;
|
|
1248
|
+
reason: "edited" | "link" | "missing-git" | "outside";
|
|
1249
|
+
}[];
|
|
1250
|
+
point?: string | undefined;
|
|
1251
|
+
reason?: string | undefined;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
conflictCauses?: ("binary" | "diverged" | "workspace")[] | undefined;
|
|
1254
|
+
unfinished?: {
|
|
1255
|
+
at: number;
|
|
1256
|
+
steps?: {
|
|
1257
|
+
open: number;
|
|
1258
|
+
total: number;
|
|
1259
|
+
next?: string | undefined;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
check?: string | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
proof?: {
|
|
1264
|
+
at: number;
|
|
1265
|
+
verification: "failing" | "no-code" | "unproven" | "verified";
|
|
1266
|
+
check?: string | undefined;
|
|
1267
|
+
unviewed?: number | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
review?: {
|
|
1270
|
+
at: number;
|
|
1271
|
+
source: "claude" | "codex";
|
|
1272
|
+
findings: number;
|
|
1273
|
+
open: number;
|
|
1274
|
+
} | undefined;
|
|
1275
|
+
reach?: {
|
|
1276
|
+
at: number;
|
|
1277
|
+
live?: {
|
|
1278
|
+
path: string;
|
|
1279
|
+
extension?: string | undefined;
|
|
1280
|
+
}[] | undefined;
|
|
1281
|
+
liveMore?: number | undefined;
|
|
1282
|
+
stranded?: {
|
|
1283
|
+
dir: string;
|
|
1284
|
+
uncommitted: number;
|
|
1285
|
+
unpushed: number;
|
|
1286
|
+
}[] | undefined;
|
|
1287
|
+
strandedMore?: number | undefined;
|
|
1288
|
+
published?: {
|
|
1289
|
+
dir?: string | undefined;
|
|
1290
|
+
remote?: string | undefined;
|
|
1291
|
+
branch?: string | undefined;
|
|
1292
|
+
command: string;
|
|
1293
|
+
}[] | undefined;
|
|
1294
|
+
publishedMore?: number | undefined;
|
|
1295
|
+
} | undefined;
|
|
1296
|
+
turns?: number | undefined;
|
|
1297
|
+
toolUses?: number | undefined;
|
|
1298
|
+
subagents?: {
|
|
1299
|
+
running: number;
|
|
1300
|
+
total: number;
|
|
1301
|
+
} | undefined;
|
|
1302
|
+
diff?: {
|
|
1303
|
+
files: number;
|
|
1304
|
+
insertions: number;
|
|
1305
|
+
deletions: number;
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
modules?: string[] | undefined;
|
|
1308
|
+
landedPresence?: {
|
|
1309
|
+
landed: number;
|
|
1310
|
+
present: number;
|
|
1311
|
+
removedBy?: {
|
|
1312
|
+
kind: "agent";
|
|
1313
|
+
id: string;
|
|
1314
|
+
title?: string | undefined;
|
|
1315
|
+
} | {
|
|
1316
|
+
kind: "person";
|
|
1317
|
+
email?: string | undefined;
|
|
1318
|
+
name?: string | undefined;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
loop?: {
|
|
1322
|
+
state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
|
|
1323
|
+
iteration: number;
|
|
1324
|
+
maxIterations: number;
|
|
1325
|
+
goal: string;
|
|
1326
|
+
} | undefined;
|
|
1327
|
+
workflow?: {
|
|
1328
|
+
runId: string;
|
|
1329
|
+
name: string;
|
|
1330
|
+
step: string;
|
|
1331
|
+
index: number;
|
|
1332
|
+
total: number;
|
|
1333
|
+
} | undefined;
|
|
1334
|
+
awaitingWake?: boolean | undefined;
|
|
1335
|
+
watches?: {
|
|
1336
|
+
id: string;
|
|
1337
|
+
note: string;
|
|
1338
|
+
intervalSeconds: number;
|
|
1339
|
+
deadlineAt: number;
|
|
1340
|
+
}[] | undefined;
|
|
1341
|
+
needs?: {
|
|
1342
|
+
id: string;
|
|
1343
|
+
kind: "automation" | "capability" | "environment" | "grant" | "release" | "secret";
|
|
1344
|
+
title: string;
|
|
1345
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
1346
|
+
}[] | undefined;
|
|
1347
|
+
jobs?: {
|
|
1348
|
+
id: string;
|
|
1349
|
+
label: string;
|
|
1350
|
+
session: string;
|
|
1351
|
+
startedAt: number;
|
|
1352
|
+
endedAt?: number | undefined;
|
|
1353
|
+
exitCode?: number | undefined;
|
|
1354
|
+
watch?: string | undefined;
|
|
1355
|
+
handed?: boolean | undefined;
|
|
1356
|
+
ports?: number[] | undefined;
|
|
1357
|
+
stoppedBy?: "agent" | "person" | "turn" | undefined;
|
|
1358
|
+
inputWait?: {
|
|
1359
|
+
since: number;
|
|
1360
|
+
program: string;
|
|
1361
|
+
} | undefined;
|
|
1362
|
+
}[] | undefined;
|
|
1363
|
+
archivedAt?: number | undefined;
|
|
1364
|
+
}[];
|
|
1365
|
+
rev: number;
|
|
1366
|
+
} | {
|
|
1367
|
+
kind: "agentsChanged";
|
|
1368
|
+
agents: {
|
|
1369
|
+
id: string;
|
|
1370
|
+
sessionId?: string | undefined;
|
|
1371
|
+
title?: string | undefined;
|
|
1372
|
+
titleAction?: string | undefined;
|
|
1373
|
+
status: "awaiting" | "conflict" | "dismissing" | "error" | "idle" | "interrupted" | "landed" | "landing" | "ready" | "resuming" | "running" | "stopped" | "stopping";
|
|
1374
|
+
failure?: string | undefined;
|
|
1375
|
+
failureCode?: string | undefined;
|
|
1376
|
+
failureOwn?: boolean | undefined;
|
|
1377
|
+
limitResetsAt?: number | undefined;
|
|
1378
|
+
limitHeld?: boolean | undefined;
|
|
1379
|
+
limitScheduled?: boolean | undefined;
|
|
1380
|
+
limitMoving?: string | undefined;
|
|
1381
|
+
limitNextAt?: number | undefined;
|
|
1382
|
+
next?: {
|
|
1383
|
+
kind: "rerun";
|
|
1384
|
+
at: number;
|
|
1385
|
+
onto?: string | undefined;
|
|
1386
|
+
} | {
|
|
1387
|
+
kind: "room";
|
|
1388
|
+
} | {
|
|
1389
|
+
kind: "send";
|
|
1390
|
+
at: number;
|
|
1391
|
+
count: number;
|
|
1392
|
+
} | {
|
|
1393
|
+
kind: "land";
|
|
1394
|
+
after: string;
|
|
1395
|
+
count: number;
|
|
1396
|
+
} | undefined;
|
|
1397
|
+
provider: string;
|
|
1398
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
1399
|
+
runner?: string | undefined;
|
|
1400
|
+
startIn?: string | undefined;
|
|
1401
|
+
actsAs?: string | undefined;
|
|
1402
|
+
lastActsAs?: string | undefined;
|
|
1403
|
+
model?: string | undefined;
|
|
1404
|
+
effort?: string | undefined;
|
|
1405
|
+
thinking?: boolean | undefined;
|
|
1406
|
+
fast?: boolean | undefined;
|
|
1407
|
+
account?: string | undefined;
|
|
1408
|
+
branch?: string | undefined;
|
|
1409
|
+
autoLand?: boolean | undefined;
|
|
1410
|
+
limitPolicy?: "move" | "resend" | "wait" | undefined;
|
|
1411
|
+
outagePolicy?: "retry" | "wait" | undefined;
|
|
1412
|
+
stopPolicy?: "retry" | "wait" | undefined;
|
|
1413
|
+
memoryPolicy?: "resend" | "wait" | undefined;
|
|
1414
|
+
landRequested?: {
|
|
1415
|
+
email: string;
|
|
1416
|
+
name?: string | undefined;
|
|
1417
|
+
at: number;
|
|
1418
|
+
} | undefined;
|
|
1419
|
+
reactions?: {
|
|
1420
|
+
emoji: string;
|
|
1421
|
+
by: {
|
|
1422
|
+
email: string;
|
|
1423
|
+
name?: string | undefined;
|
|
1424
|
+
at: number;
|
|
1425
|
+
}[];
|
|
1426
|
+
}[] | undefined;
|
|
1427
|
+
origin?: {
|
|
1428
|
+
automationId: string;
|
|
1429
|
+
provider: string;
|
|
1430
|
+
channelId?: string | undefined;
|
|
1431
|
+
threadId?: string | undefined;
|
|
1432
|
+
author?: string | undefined;
|
|
1433
|
+
} | undefined;
|
|
1434
|
+
startedBy?: string | undefined;
|
|
1435
|
+
areas?: string[] | undefined;
|
|
1436
|
+
owner?: {
|
|
1437
|
+
email: string;
|
|
1438
|
+
name?: string | undefined;
|
|
1439
|
+
since: number;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
forkedFrom?: {
|
|
1442
|
+
conversationId: string;
|
|
1443
|
+
index: number;
|
|
1444
|
+
files: "now" | "then";
|
|
1445
|
+
} | undefined;
|
|
1446
|
+
fresh?: {
|
|
1447
|
+
of: string;
|
|
1448
|
+
kind: "ask" | "review" | "test";
|
|
1449
|
+
at: number;
|
|
1450
|
+
by?: string | undefined;
|
|
1451
|
+
} | undefined;
|
|
1452
|
+
home?: true | undefined;
|
|
1453
|
+
commits?: {
|
|
1454
|
+
land: string;
|
|
1455
|
+
at: number;
|
|
1456
|
+
subject: string;
|
|
1457
|
+
commits: {
|
|
1458
|
+
repo: string;
|
|
1459
|
+
sha: string;
|
|
1460
|
+
}[];
|
|
1461
|
+
}[] | undefined;
|
|
1462
|
+
freshPending?: "asked" | "cleared" | undefined;
|
|
1463
|
+
base?: string | undefined;
|
|
1464
|
+
costUsd?: number | undefined;
|
|
1465
|
+
inputTokens?: number | undefined;
|
|
1466
|
+
outputTokens?: number | undefined;
|
|
1467
|
+
contextTokens?: number | undefined;
|
|
1468
|
+
contextWindow?: number | undefined;
|
|
1469
|
+
promptCache?: {
|
|
1470
|
+
at: number;
|
|
1471
|
+
ttlMs: number;
|
|
1472
|
+
rollsAt?: number | undefined;
|
|
1473
|
+
keepableUntil?: number | undefined;
|
|
1474
|
+
} | undefined;
|
|
1475
|
+
keepWarm?: {
|
|
1476
|
+
since: number;
|
|
1477
|
+
until: number;
|
|
1478
|
+
refreshes: number;
|
|
1479
|
+
readTokens?: number | undefined;
|
|
1480
|
+
ended?: {
|
|
1481
|
+
at: number;
|
|
1482
|
+
reason: "allowance" | "changed" | "cold" | "elapsed" | "failed";
|
|
1483
|
+
detail?: string | undefined;
|
|
1484
|
+
} | undefined;
|
|
1485
|
+
} | undefined;
|
|
1486
|
+
activity?: {
|
|
1487
|
+
tool?: string | undefined;
|
|
1488
|
+
target?: string | undefined;
|
|
1489
|
+
todo?: string | undefined;
|
|
1490
|
+
} | undefined;
|
|
1491
|
+
checklist?: {
|
|
1492
|
+
done: number;
|
|
1493
|
+
total: number;
|
|
1494
|
+
} | undefined;
|
|
1495
|
+
landedMessageDraft?: {
|
|
1496
|
+
startedAt: number;
|
|
1497
|
+
steps: {
|
|
1498
|
+
provider: string;
|
|
1499
|
+
model: string;
|
|
1500
|
+
status: "answered" | "asking" | "refused" | "skipped";
|
|
1501
|
+
at?: number | undefined;
|
|
1502
|
+
ms?: number | undefined;
|
|
1503
|
+
reason?: string | undefined;
|
|
1504
|
+
}[];
|
|
1505
|
+
outcome?: "failed" | "written" | undefined;
|
|
1506
|
+
reason?: string | undefined;
|
|
1507
|
+
finishedAt?: number | undefined;
|
|
1508
|
+
} | undefined;
|
|
1509
|
+
landedMessage?: {
|
|
1510
|
+
subject: string;
|
|
1511
|
+
note?: string | undefined;
|
|
1512
|
+
breaking?: string | undefined;
|
|
1513
|
+
testNote?: string | undefined;
|
|
1514
|
+
allows?: string[] | undefined;
|
|
1515
|
+
} | undefined;
|
|
1516
|
+
startedAt?: number | undefined;
|
|
1517
|
+
run?: string | undefined;
|
|
1518
|
+
queue?: {
|
|
1519
|
+
items: {
|
|
1520
|
+
id: string;
|
|
1521
|
+
text: string;
|
|
1522
|
+
attachments?: string[] | undefined;
|
|
1523
|
+
voice: "agent" | "person" | "sandbox";
|
|
1524
|
+
queuedAt: number;
|
|
1525
|
+
revision: number;
|
|
1526
|
+
until?: number | undefined;
|
|
1527
|
+
after?: string | undefined;
|
|
1528
|
+
reopenOf?: {
|
|
1529
|
+
agent: string;
|
|
1530
|
+
account?: string | undefined;
|
|
1531
|
+
} | undefined;
|
|
1532
|
+
serves?: {
|
|
1533
|
+
agent: string;
|
|
1534
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
1535
|
+
model?: string | undefined;
|
|
1536
|
+
effort?: string | undefined;
|
|
1537
|
+
account?: string | undefined;
|
|
1538
|
+
} | undefined;
|
|
1539
|
+
continues?: true | undefined;
|
|
1540
|
+
}[];
|
|
1541
|
+
revision: number;
|
|
1542
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
1543
|
+
until?: number | undefined;
|
|
1544
|
+
after?: string | undefined;
|
|
1545
|
+
} | undefined;
|
|
1546
|
+
updatedAt: number;
|
|
1547
|
+
seenAt?: number | undefined;
|
|
1548
|
+
unsentAt?: number | undefined;
|
|
1549
|
+
attention: {
|
|
1550
|
+
plan: boolean;
|
|
1551
|
+
question: boolean;
|
|
1552
|
+
permission: boolean;
|
|
1553
|
+
capability: boolean;
|
|
1554
|
+
credential: boolean;
|
|
1555
|
+
conflict: boolean;
|
|
1556
|
+
need?: boolean | undefined;
|
|
1557
|
+
};
|
|
1558
|
+
permissionAsk?: {
|
|
1559
|
+
requestId: string;
|
|
1560
|
+
ask: string;
|
|
1561
|
+
program?: {
|
|
1562
|
+
text: string;
|
|
1563
|
+
language: "bash" | "javascript";
|
|
1564
|
+
truncated: boolean;
|
|
1565
|
+
spans: {
|
|
1566
|
+
start: number;
|
|
1567
|
+
end: number;
|
|
1568
|
+
}[];
|
|
1569
|
+
} | undefined;
|
|
1570
|
+
} | undefined;
|
|
1571
|
+
landFailure?: {
|
|
1572
|
+
reason: string;
|
|
1573
|
+
code?: string | undefined;
|
|
1574
|
+
at: number;
|
|
1575
|
+
} | undefined;
|
|
1576
|
+
delivery?: {
|
|
1577
|
+
state: "delivered" | "failed" | "partial" | "too-large" | "waiting";
|
|
1578
|
+
at: number;
|
|
1579
|
+
project: string;
|
|
1580
|
+
folder?: string | undefined;
|
|
1581
|
+
applied: number;
|
|
1582
|
+
conflicts: {
|
|
1583
|
+
path: string;
|
|
1584
|
+
reason: "edited" | "link" | "missing-git" | "outside";
|
|
1585
|
+
}[];
|
|
1586
|
+
point?: string | undefined;
|
|
1587
|
+
reason?: string | undefined;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
conflictCauses?: ("binary" | "diverged" | "workspace")[] | undefined;
|
|
1590
|
+
unfinished?: {
|
|
1591
|
+
at: number;
|
|
1592
|
+
steps?: {
|
|
1593
|
+
open: number;
|
|
1594
|
+
total: number;
|
|
1595
|
+
next?: string | undefined;
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
check?: string | undefined;
|
|
1598
|
+
} | undefined;
|
|
1599
|
+
proof?: {
|
|
1600
|
+
at: number;
|
|
1601
|
+
verification: "failing" | "no-code" | "unproven" | "verified";
|
|
1602
|
+
check?: string | undefined;
|
|
1603
|
+
unviewed?: number | undefined;
|
|
1604
|
+
} | undefined;
|
|
1605
|
+
review?: {
|
|
1606
|
+
at: number;
|
|
1607
|
+
source: "claude" | "codex";
|
|
1608
|
+
findings: number;
|
|
1609
|
+
open: number;
|
|
1610
|
+
} | undefined;
|
|
1611
|
+
reach?: {
|
|
1612
|
+
at: number;
|
|
1613
|
+
live?: {
|
|
1614
|
+
path: string;
|
|
1615
|
+
extension?: string | undefined;
|
|
1616
|
+
}[] | undefined;
|
|
1617
|
+
liveMore?: number | undefined;
|
|
1618
|
+
stranded?: {
|
|
1619
|
+
dir: string;
|
|
1620
|
+
uncommitted: number;
|
|
1621
|
+
unpushed: number;
|
|
1622
|
+
}[] | undefined;
|
|
1623
|
+
strandedMore?: number | undefined;
|
|
1624
|
+
published?: {
|
|
1625
|
+
dir?: string | undefined;
|
|
1626
|
+
remote?: string | undefined;
|
|
1627
|
+
branch?: string | undefined;
|
|
1628
|
+
command: string;
|
|
1629
|
+
}[] | undefined;
|
|
1630
|
+
publishedMore?: number | undefined;
|
|
1631
|
+
} | undefined;
|
|
1632
|
+
turns?: number | undefined;
|
|
1633
|
+
toolUses?: number | undefined;
|
|
1634
|
+
subagents?: {
|
|
1635
|
+
running: number;
|
|
1636
|
+
total: number;
|
|
1637
|
+
} | undefined;
|
|
1638
|
+
diff?: {
|
|
1639
|
+
files: number;
|
|
1640
|
+
insertions: number;
|
|
1641
|
+
deletions: number;
|
|
1642
|
+
} | undefined;
|
|
1643
|
+
modules?: string[] | undefined;
|
|
1644
|
+
landedPresence?: {
|
|
1645
|
+
landed: number;
|
|
1646
|
+
present: number;
|
|
1647
|
+
removedBy?: {
|
|
1648
|
+
kind: "agent";
|
|
1649
|
+
id: string;
|
|
1650
|
+
title?: string | undefined;
|
|
1651
|
+
} | {
|
|
1652
|
+
kind: "person";
|
|
1653
|
+
email?: string | undefined;
|
|
1654
|
+
name?: string | undefined;
|
|
1655
|
+
} | undefined;
|
|
1656
|
+
} | undefined;
|
|
1657
|
+
loop?: {
|
|
1658
|
+
state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
|
|
1659
|
+
iteration: number;
|
|
1660
|
+
maxIterations: number;
|
|
1661
|
+
goal: string;
|
|
1662
|
+
} | undefined;
|
|
1663
|
+
workflow?: {
|
|
1664
|
+
runId: string;
|
|
1665
|
+
name: string;
|
|
1666
|
+
step: string;
|
|
1667
|
+
index: number;
|
|
1668
|
+
total: number;
|
|
1669
|
+
} | undefined;
|
|
1670
|
+
awaitingWake?: boolean | undefined;
|
|
1671
|
+
watches?: {
|
|
1672
|
+
id: string;
|
|
1673
|
+
note: string;
|
|
1674
|
+
intervalSeconds: number;
|
|
1675
|
+
deadlineAt: number;
|
|
1676
|
+
}[] | undefined;
|
|
1677
|
+
needs?: {
|
|
1678
|
+
id: string;
|
|
1679
|
+
kind: "automation" | "capability" | "environment" | "grant" | "release" | "secret";
|
|
1680
|
+
title: string;
|
|
1681
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
1682
|
+
}[] | undefined;
|
|
1683
|
+
jobs?: {
|
|
1684
|
+
id: string;
|
|
1685
|
+
label: string;
|
|
1686
|
+
session: string;
|
|
1687
|
+
startedAt: number;
|
|
1688
|
+
endedAt?: number | undefined;
|
|
1689
|
+
exitCode?: number | undefined;
|
|
1690
|
+
watch?: string | undefined;
|
|
1691
|
+
handed?: boolean | undefined;
|
|
1692
|
+
ports?: number[] | undefined;
|
|
1693
|
+
stoppedBy?: "agent" | "person" | "turn" | undefined;
|
|
1694
|
+
inputWait?: {
|
|
1695
|
+
since: number;
|
|
1696
|
+
program: string;
|
|
1697
|
+
} | undefined;
|
|
1698
|
+
}[] | undefined;
|
|
1699
|
+
archivedAt?: number | undefined;
|
|
1700
|
+
}[];
|
|
1701
|
+
rev: number;
|
|
1702
|
+
since: number;
|
|
1703
|
+
} | {
|
|
1704
|
+
kind: "accountUsage";
|
|
1705
|
+
provider: string;
|
|
1706
|
+
account: string;
|
|
1707
|
+
usage?: {
|
|
1708
|
+
windows: {
|
|
1709
|
+
kind: string;
|
|
1710
|
+
label?: string | undefined;
|
|
1711
|
+
utilization: number;
|
|
1712
|
+
resetsAt?: number | undefined;
|
|
1713
|
+
gates: "all" | "none" | {
|
|
1714
|
+
models: string[];
|
|
1715
|
+
};
|
|
1716
|
+
rounded?: boolean | undefined;
|
|
1717
|
+
lapsedAt?: number | undefined;
|
|
1718
|
+
missingSince?: number | undefined;
|
|
1719
|
+
}[];
|
|
1720
|
+
measuredAt: number;
|
|
1721
|
+
unread?: {
|
|
1722
|
+
since: number;
|
|
1723
|
+
reason: string;
|
|
1724
|
+
} | undefined;
|
|
1725
|
+
uncovered?: string[] | undefined;
|
|
1726
|
+
contradicted?: {
|
|
1727
|
+
at: number;
|
|
1728
|
+
model: string;
|
|
1729
|
+
} | undefined;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
} | {
|
|
1732
|
+
kind: "providerRefusal";
|
|
1733
|
+
provider: string;
|
|
1734
|
+
refusals?: {
|
|
1735
|
+
at: number;
|
|
1736
|
+
kind: "auth" | "entitlement" | "limit";
|
|
1737
|
+
message: string;
|
|
1738
|
+
account?: string | undefined;
|
|
1739
|
+
model?: string | undefined;
|
|
1740
|
+
resetsAt?: number | undefined;
|
|
1741
|
+
poolResetsAt?: number | undefined;
|
|
1742
|
+
unmetered?: true | undefined;
|
|
1743
|
+
byHand?: true | undefined;
|
|
1744
|
+
}[] | undefined;
|
|
1745
|
+
refusal?: {
|
|
1746
|
+
at: number;
|
|
1747
|
+
kind: "auth" | "entitlement" | "limit";
|
|
1748
|
+
message: string;
|
|
1749
|
+
account?: string | undefined;
|
|
1750
|
+
model?: string | undefined;
|
|
1751
|
+
resetsAt?: number | undefined;
|
|
1752
|
+
poolResetsAt?: number | undefined;
|
|
1753
|
+
unmetered?: true | undefined;
|
|
1754
|
+
byHand?: true | undefined;
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
} | {
|
|
1757
|
+
from: number;
|
|
1758
|
+
generation: number;
|
|
1759
|
+
dirs: {
|
|
1760
|
+
path: string;
|
|
1761
|
+
entries: import("../schemas/workspace/workspace-tree.js").WorkspaceTreeEntry[];
|
|
1762
|
+
}[];
|
|
1763
|
+
barren?: string[] | undefined;
|
|
1764
|
+
kind: "treeChanged";
|
|
1765
|
+
}, unknown, void>> & {
|
|
1766
|
+
[x: symbol]: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1767
|
+
kind: z.ZodLiteral<"hello">;
|
|
1768
|
+
workspaceId: z.ZodString;
|
|
1769
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1770
|
+
shapes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1771
|
+
rawRoutes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1772
|
+
rawFingerprints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1773
|
+
uploadEncodings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1774
|
+
voiceCodecs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1775
|
+
build: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
boot: z.ZodOptional<z.ZodObject<{
|
|
1777
|
+
ready: z.ZodBoolean;
|
|
1778
|
+
startedAt: z.ZodNumber;
|
|
1779
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1780
|
+
key: z.ZodString;
|
|
1781
|
+
label: z.ZodString;
|
|
1782
|
+
state: z.ZodEnum<{
|
|
1783
|
+
done: "done";
|
|
1784
|
+
failed: "failed";
|
|
1785
|
+
pending: "pending";
|
|
1786
|
+
running: "running";
|
|
1787
|
+
}>;
|
|
1788
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
1789
|
+
}, z.core.$strip>>;
|
|
1790
|
+
}, z.core.$strip>>;
|
|
1791
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
1793
|
+
folder: "folder";
|
|
1794
|
+
sandbox: "sandbox";
|
|
1795
|
+
}>>;
|
|
1796
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1797
|
+
kind: z.ZodLiteral<"heartbeat">;
|
|
1798
|
+
rev: z.ZodNumber;
|
|
1799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1800
|
+
ready: z.ZodBoolean;
|
|
1801
|
+
startedAt: z.ZodNumber;
|
|
1802
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
1803
|
+
key: z.ZodString;
|
|
1804
|
+
label: z.ZodString;
|
|
1805
|
+
state: z.ZodEnum<{
|
|
1806
|
+
done: "done";
|
|
1807
|
+
failed: "failed";
|
|
1808
|
+
pending: "pending";
|
|
1809
|
+
running: "running";
|
|
1810
|
+
}>;
|
|
1811
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
}, z.core.$strip>>;
|
|
1813
|
+
kind: z.ZodLiteral<"boot">;
|
|
1814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1815
|
+
kind: z.ZodLiteral<"workspaceChanged">;
|
|
1816
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1818
|
+
from: z.ZodNumber;
|
|
1819
|
+
generation: z.ZodNumber;
|
|
1820
|
+
dirs: z.ZodArray<z.ZodObject<{
|
|
1821
|
+
path: z.ZodString;
|
|
1822
|
+
entries: z.ZodArray<z.ZodType<import("../schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown, z.core.$ZodTypeInternals<import("../schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown>>>;
|
|
1823
|
+
}, z.core.$strip>>;
|
|
1824
|
+
barren: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1825
|
+
kind: z.ZodLiteral<"treeChanged">;
|
|
1826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1827
|
+
kind: z.ZodLiteral<"derivedChanged">;
|
|
1828
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1830
|
+
kind: z.ZodLiteral<"reposChanged">;
|
|
1831
|
+
repos: z.ZodArray<z.ZodString>;
|
|
1832
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1833
|
+
kind: z.ZodLiteral<"refsChanged">;
|
|
1834
|
+
repos: z.ZodArray<z.ZodString>;
|
|
1835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1836
|
+
kind: z.ZodLiteral<"runtimeChanged">;
|
|
1837
|
+
domains: z.ZodArray<z.ZodString>;
|
|
1838
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1839
|
+
kind: z.ZodLiteral<"presence">;
|
|
1840
|
+
users: z.ZodArray<z.ZodObject<{
|
|
1841
|
+
clientId: z.ZodString;
|
|
1842
|
+
email: z.ZodString;
|
|
1843
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1844
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
role: z.ZodEnum<{
|
|
1846
|
+
collaborator: "collaborator";
|
|
1847
|
+
guest: "guest";
|
|
1848
|
+
maintainer: "maintainer";
|
|
1849
|
+
owner: "owner";
|
|
1850
|
+
viewer: "viewer";
|
|
1851
|
+
writer: "writer";
|
|
1852
|
+
}>;
|
|
1853
|
+
idle: z.ZodBoolean;
|
|
1854
|
+
away: z.ZodOptional<z.ZodBoolean>;
|
|
1855
|
+
view: z.ZodOptional<z.ZodString>;
|
|
1856
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1857
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1858
|
+
}, z.core.$strip>>;
|
|
1859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1860
|
+
kind: z.ZodLiteral<"agents">;
|
|
1861
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
1862
|
+
id: z.ZodString;
|
|
1863
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
1864
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1865
|
+
titleAction: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
status: z.ZodEnum<{
|
|
1867
|
+
awaiting: "awaiting";
|
|
1868
|
+
conflict: "conflict";
|
|
1869
|
+
dismissing: "dismissing";
|
|
1870
|
+
error: "error";
|
|
1871
|
+
idle: "idle";
|
|
1872
|
+
interrupted: "interrupted";
|
|
1873
|
+
landed: "landed";
|
|
1874
|
+
landing: "landing";
|
|
1875
|
+
ready: "ready";
|
|
1876
|
+
resuming: "resuming";
|
|
1877
|
+
running: "running";
|
|
1878
|
+
stopped: "stopped";
|
|
1879
|
+
stopping: "stopping";
|
|
1880
|
+
}>;
|
|
1881
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
1882
|
+
failureCode: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
failureOwn: z.ZodOptional<z.ZodBoolean>;
|
|
1884
|
+
limitResetsAt: z.ZodOptional<z.ZodNumber>;
|
|
1885
|
+
limitHeld: z.ZodOptional<z.ZodBoolean>;
|
|
1886
|
+
limitScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
1887
|
+
limitMoving: z.ZodOptional<z.ZodString>;
|
|
1888
|
+
limitNextAt: z.ZodOptional<z.ZodNumber>;
|
|
1889
|
+
next: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1890
|
+
kind: z.ZodLiteral<"rerun">;
|
|
1891
|
+
at: z.ZodNumber;
|
|
1892
|
+
onto: z.ZodOptional<z.ZodString>;
|
|
1893
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1894
|
+
kind: z.ZodLiteral<"room">;
|
|
1895
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1896
|
+
kind: z.ZodLiteral<"send">;
|
|
1897
|
+
at: z.ZodNumber;
|
|
1898
|
+
count: z.ZodNumber;
|
|
1899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1900
|
+
kind: z.ZodLiteral<"land">;
|
|
1901
|
+
after: z.ZodString;
|
|
1902
|
+
count: z.ZodNumber;
|
|
1903
|
+
}, z.core.$strip>], "kind">>;
|
|
1904
|
+
provider: z.ZodString;
|
|
1905
|
+
harness: z.ZodEnum<{
|
|
1906
|
+
"claude-code": "claude-code";
|
|
1907
|
+
codex: "codex";
|
|
1908
|
+
muse: "muse";
|
|
1909
|
+
native: "native";
|
|
1910
|
+
opencode: "opencode";
|
|
1911
|
+
pi: "pi";
|
|
1912
|
+
vendor: "vendor";
|
|
1913
|
+
}>;
|
|
1914
|
+
runner: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
startIn: z.ZodOptional<z.ZodString>;
|
|
1916
|
+
actsAs: z.ZodOptional<z.ZodString>;
|
|
1917
|
+
lastActsAs: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
1920
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
1921
|
+
fast: z.ZodOptional<z.ZodBoolean>;
|
|
1922
|
+
account: z.ZodOptional<z.ZodString>;
|
|
1923
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
1924
|
+
autoLand: z.ZodOptional<z.ZodBoolean>;
|
|
1925
|
+
limitPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1926
|
+
move: "move";
|
|
1927
|
+
resend: "resend";
|
|
1928
|
+
wait: "wait";
|
|
1929
|
+
}>>;
|
|
1930
|
+
outagePolicy: z.ZodOptional<z.ZodEnum<{
|
|
1931
|
+
retry: "retry";
|
|
1932
|
+
wait: "wait";
|
|
1933
|
+
}>>;
|
|
1934
|
+
stopPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1935
|
+
retry: "retry";
|
|
1936
|
+
wait: "wait";
|
|
1937
|
+
}>>;
|
|
1938
|
+
memoryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1939
|
+
resend: "resend";
|
|
1940
|
+
wait: "wait";
|
|
1941
|
+
}>>;
|
|
1942
|
+
landRequested: z.ZodOptional<z.ZodObject<{
|
|
1943
|
+
email: z.ZodString;
|
|
1944
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1945
|
+
at: z.ZodNumber;
|
|
1946
|
+
}, z.core.$strip>>;
|
|
1947
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1948
|
+
emoji: z.ZodString;
|
|
1949
|
+
by: z.ZodArray<z.ZodObject<{
|
|
1950
|
+
email: z.ZodString;
|
|
1951
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1952
|
+
at: z.ZodNumber;
|
|
1953
|
+
}, z.core.$strip>>;
|
|
1954
|
+
}, z.core.$strip>>>;
|
|
1955
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
1956
|
+
automationId: z.ZodString;
|
|
1957
|
+
provider: z.ZodString;
|
|
1958
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
1959
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
1960
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1961
|
+
}, z.core.$strip>>;
|
|
1962
|
+
startedBy: z.ZodOptional<z.ZodString>;
|
|
1963
|
+
areas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1964
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
1965
|
+
email: z.ZodString;
|
|
1966
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1967
|
+
since: z.ZodNumber;
|
|
1968
|
+
}, z.core.$strip>>;
|
|
1969
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
1970
|
+
conversationId: z.ZodString;
|
|
1971
|
+
index: z.ZodNumber;
|
|
1972
|
+
files: z.ZodEnum<{
|
|
1973
|
+
now: "now";
|
|
1974
|
+
then: "then";
|
|
1975
|
+
}>;
|
|
1976
|
+
}, z.core.$strip>>;
|
|
1977
|
+
fresh: z.ZodOptional<z.ZodObject<{
|
|
1978
|
+
of: z.ZodString;
|
|
1979
|
+
kind: z.ZodEnum<{
|
|
1980
|
+
ask: "ask";
|
|
1981
|
+
review: "review";
|
|
1982
|
+
test: "test";
|
|
1983
|
+
}>;
|
|
1984
|
+
at: z.ZodNumber;
|
|
1985
|
+
by: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
}, z.core.$strip>>;
|
|
1987
|
+
home: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1988
|
+
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1989
|
+
land: z.ZodString;
|
|
1990
|
+
at: z.ZodNumber;
|
|
1991
|
+
subject: z.ZodString;
|
|
1992
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
1993
|
+
repo: z.ZodString;
|
|
1994
|
+
sha: z.ZodString;
|
|
1995
|
+
}, z.core.$strip>>;
|
|
1996
|
+
}, z.core.$strip>>>;
|
|
1997
|
+
freshPending: z.ZodOptional<z.ZodEnum<{
|
|
1998
|
+
asked: "asked";
|
|
1999
|
+
cleared: "cleared";
|
|
2000
|
+
}>>;
|
|
2001
|
+
base: z.ZodOptional<z.ZodString>;
|
|
2002
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2004
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2005
|
+
contextTokens: z.ZodOptional<z.ZodNumber>;
|
|
2006
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
2007
|
+
promptCache: z.ZodOptional<z.ZodObject<{
|
|
2008
|
+
at: z.ZodNumber;
|
|
2009
|
+
ttlMs: z.ZodNumber;
|
|
2010
|
+
rollsAt: z.ZodOptional<z.ZodNumber>;
|
|
2011
|
+
keepableUntil: z.ZodOptional<z.ZodNumber>;
|
|
2012
|
+
}, z.core.$strip>>;
|
|
2013
|
+
keepWarm: z.ZodOptional<z.ZodObject<{
|
|
2014
|
+
since: z.ZodNumber;
|
|
2015
|
+
until: z.ZodNumber;
|
|
2016
|
+
refreshes: z.ZodNumber;
|
|
2017
|
+
readTokens: z.ZodOptional<z.ZodNumber>;
|
|
2018
|
+
ended: z.ZodOptional<z.ZodObject<{
|
|
2019
|
+
at: z.ZodNumber;
|
|
2020
|
+
reason: z.ZodEnum<{
|
|
2021
|
+
allowance: "allowance";
|
|
2022
|
+
changed: "changed";
|
|
2023
|
+
cold: "cold";
|
|
2024
|
+
elapsed: "elapsed";
|
|
2025
|
+
failed: "failed";
|
|
2026
|
+
}>;
|
|
2027
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
}, z.core.$strip>>;
|
|
2029
|
+
}, z.core.$strip>>;
|
|
2030
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
2031
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2033
|
+
todo: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
}, z.core.$strip>>;
|
|
2035
|
+
checklist: z.ZodOptional<z.ZodObject<{
|
|
2036
|
+
done: z.ZodNumber;
|
|
2037
|
+
total: z.ZodNumber;
|
|
2038
|
+
}, z.core.$strip>>;
|
|
2039
|
+
landedMessageDraft: z.ZodOptional<z.ZodObject<{
|
|
2040
|
+
startedAt: z.ZodNumber;
|
|
2041
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2042
|
+
provider: z.ZodString;
|
|
2043
|
+
model: z.ZodString;
|
|
2044
|
+
status: z.ZodEnum<{
|
|
2045
|
+
answered: "answered";
|
|
2046
|
+
asking: "asking";
|
|
2047
|
+
refused: "refused";
|
|
2048
|
+
skipped: "skipped";
|
|
2049
|
+
}>;
|
|
2050
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
2051
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
2052
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
}, z.core.$strip>>;
|
|
2054
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
2055
|
+
failed: "failed";
|
|
2056
|
+
written: "written";
|
|
2057
|
+
}>>;
|
|
2058
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
finishedAt: z.ZodOptional<z.ZodNumber>;
|
|
2060
|
+
}, z.core.$strip>>;
|
|
2061
|
+
landedMessage: z.ZodOptional<z.ZodObject<{
|
|
2062
|
+
subject: z.ZodString;
|
|
2063
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
testNote: z.ZodOptional<z.ZodString>;
|
|
2066
|
+
allows: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2067
|
+
}, z.core.$strip>>;
|
|
2068
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
2069
|
+
run: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
queue: z.ZodOptional<z.ZodObject<{
|
|
2071
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2072
|
+
id: z.ZodString;
|
|
2073
|
+
text: z.ZodString;
|
|
2074
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2075
|
+
voice: z.ZodEnum<{
|
|
2076
|
+
agent: "agent";
|
|
2077
|
+
person: "person";
|
|
2078
|
+
sandbox: "sandbox";
|
|
2079
|
+
}>;
|
|
2080
|
+
queuedAt: z.ZodNumber;
|
|
2081
|
+
revision: z.ZodNumber;
|
|
2082
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
2083
|
+
after: z.ZodOptional<z.ZodString>;
|
|
2084
|
+
reopenOf: z.ZodOptional<z.ZodObject<{
|
|
2085
|
+
agent: z.ZodString;
|
|
2086
|
+
account: z.ZodOptional<z.ZodString>;
|
|
2087
|
+
}, z.core.$strip>>;
|
|
2088
|
+
serves: z.ZodOptional<z.ZodObject<{
|
|
2089
|
+
agent: z.ZodString;
|
|
2090
|
+
harness: z.ZodEnum<{
|
|
2091
|
+
"claude-code": "claude-code";
|
|
2092
|
+
codex: "codex";
|
|
2093
|
+
muse: "muse";
|
|
2094
|
+
native: "native";
|
|
2095
|
+
opencode: "opencode";
|
|
2096
|
+
pi: "pi";
|
|
2097
|
+
vendor: "vendor";
|
|
2098
|
+
}>;
|
|
2099
|
+
model: z.ZodOptional<z.ZodString>;
|
|
2100
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
account: z.ZodOptional<z.ZodString>;
|
|
2102
|
+
}, z.core.$strip>>;
|
|
2103
|
+
continues: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2104
|
+
}, z.core.$strip>>;
|
|
2105
|
+
revision: z.ZodNumber;
|
|
2106
|
+
paused: z.ZodOptional<z.ZodEnum<{
|
|
2107
|
+
refused: "refused";
|
|
2108
|
+
scheduled: "scheduled";
|
|
2109
|
+
stopped: "stopped";
|
|
2110
|
+
}>>;
|
|
2111
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
2112
|
+
after: z.ZodOptional<z.ZodString>;
|
|
2113
|
+
}, z.core.$strip>>;
|
|
2114
|
+
updatedAt: z.ZodNumber;
|
|
2115
|
+
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
2116
|
+
unsentAt: z.ZodOptional<z.ZodNumber>;
|
|
2117
|
+
attention: z.ZodObject<{
|
|
2118
|
+
plan: z.ZodBoolean;
|
|
2119
|
+
question: z.ZodBoolean;
|
|
2120
|
+
permission: z.ZodBoolean;
|
|
2121
|
+
capability: z.ZodBoolean;
|
|
2122
|
+
credential: z.ZodBoolean;
|
|
2123
|
+
conflict: z.ZodBoolean;
|
|
2124
|
+
need: z.ZodOptional<z.ZodBoolean>;
|
|
2125
|
+
}, z.core.$strip>;
|
|
2126
|
+
permissionAsk: z.ZodOptional<z.ZodObject<{
|
|
2127
|
+
requestId: z.ZodString;
|
|
2128
|
+
ask: z.ZodString;
|
|
2129
|
+
program: z.ZodOptional<z.ZodObject<{
|
|
2130
|
+
text: z.ZodString;
|
|
2131
|
+
language: z.ZodEnum<{
|
|
2132
|
+
bash: "bash";
|
|
2133
|
+
javascript: "javascript";
|
|
2134
|
+
}>;
|
|
2135
|
+
truncated: z.ZodBoolean;
|
|
2136
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
2137
|
+
start: z.ZodNumber;
|
|
2138
|
+
end: z.ZodNumber;
|
|
2139
|
+
}, z.core.$strip>>;
|
|
2140
|
+
}, z.core.$strip>>;
|
|
2141
|
+
}, z.core.$strip>>;
|
|
2142
|
+
landFailure: z.ZodOptional<z.ZodObject<{
|
|
2143
|
+
reason: z.ZodString;
|
|
2144
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2145
|
+
at: z.ZodNumber;
|
|
2146
|
+
}, z.core.$strip>>;
|
|
2147
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
2148
|
+
state: z.ZodEnum<{
|
|
2149
|
+
delivered: "delivered";
|
|
2150
|
+
failed: "failed";
|
|
2151
|
+
partial: "partial";
|
|
2152
|
+
"too-large": "too-large";
|
|
2153
|
+
waiting: "waiting";
|
|
2154
|
+
}>;
|
|
2155
|
+
at: z.ZodNumber;
|
|
2156
|
+
project: z.ZodString;
|
|
2157
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
applied: z.ZodNumber;
|
|
2159
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
2160
|
+
path: z.ZodString;
|
|
2161
|
+
reason: z.ZodEnum<{
|
|
2162
|
+
edited: "edited";
|
|
2163
|
+
link: "link";
|
|
2164
|
+
"missing-git": "missing-git";
|
|
2165
|
+
outside: "outside";
|
|
2166
|
+
}>;
|
|
2167
|
+
}, z.core.$strip>>;
|
|
2168
|
+
point: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
}, z.core.$strip>>;
|
|
2171
|
+
conflictCauses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2172
|
+
binary: "binary";
|
|
2173
|
+
diverged: "diverged";
|
|
2174
|
+
workspace: "workspace";
|
|
2175
|
+
}>>>;
|
|
2176
|
+
unfinished: z.ZodOptional<z.ZodObject<{
|
|
2177
|
+
at: z.ZodNumber;
|
|
2178
|
+
steps: z.ZodOptional<z.ZodObject<{
|
|
2179
|
+
open: z.ZodNumber;
|
|
2180
|
+
total: z.ZodNumber;
|
|
2181
|
+
next: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
}, z.core.$strip>>;
|
|
2183
|
+
check: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
}, z.core.$strip>>;
|
|
2185
|
+
proof: z.ZodOptional<z.ZodObject<{
|
|
2186
|
+
at: z.ZodNumber;
|
|
2187
|
+
verification: z.ZodEnum<{
|
|
2188
|
+
failing: "failing";
|
|
2189
|
+
"no-code": "no-code";
|
|
2190
|
+
unproven: "unproven";
|
|
2191
|
+
verified: "verified";
|
|
2192
|
+
}>;
|
|
2193
|
+
check: z.ZodOptional<z.ZodString>;
|
|
2194
|
+
unviewed: z.ZodOptional<z.ZodNumber>;
|
|
2195
|
+
}, z.core.$strip>>;
|
|
2196
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
2197
|
+
at: z.ZodNumber;
|
|
2198
|
+
source: z.ZodEnum<{
|
|
2199
|
+
claude: "claude";
|
|
2200
|
+
codex: "codex";
|
|
2201
|
+
}>;
|
|
2202
|
+
findings: z.ZodNumber;
|
|
2203
|
+
open: z.ZodNumber;
|
|
2204
|
+
}, z.core.$strip>>;
|
|
2205
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
2206
|
+
at: z.ZodNumber;
|
|
2207
|
+
live: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2208
|
+
path: z.ZodString;
|
|
2209
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
2210
|
+
}, z.core.$strip>>>;
|
|
2211
|
+
liveMore: z.ZodOptional<z.ZodNumber>;
|
|
2212
|
+
stranded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2213
|
+
dir: z.ZodString;
|
|
2214
|
+
uncommitted: z.ZodNumber;
|
|
2215
|
+
unpushed: z.ZodNumber;
|
|
2216
|
+
}, z.core.$strip>>>;
|
|
2217
|
+
strandedMore: z.ZodOptional<z.ZodNumber>;
|
|
2218
|
+
published: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2219
|
+
dir: z.ZodOptional<z.ZodString>;
|
|
2220
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
2221
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
2222
|
+
command: z.ZodString;
|
|
2223
|
+
}, z.core.$strip>>>;
|
|
2224
|
+
publishedMore: z.ZodOptional<z.ZodNumber>;
|
|
2225
|
+
}, z.core.$strip>>;
|
|
2226
|
+
turns: z.ZodOptional<z.ZodNumber>;
|
|
2227
|
+
toolUses: z.ZodOptional<z.ZodNumber>;
|
|
2228
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
2229
|
+
running: z.ZodNumber;
|
|
2230
|
+
total: z.ZodNumber;
|
|
2231
|
+
}, z.core.$strip>>;
|
|
2232
|
+
diff: z.ZodOptional<z.ZodObject<{
|
|
2233
|
+
files: z.ZodNumber;
|
|
2234
|
+
insertions: z.ZodNumber;
|
|
2235
|
+
deletions: z.ZodNumber;
|
|
2236
|
+
}, z.core.$strip>>;
|
|
2237
|
+
modules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2238
|
+
landedPresence: z.ZodOptional<z.ZodObject<{
|
|
2239
|
+
landed: z.ZodNumber;
|
|
2240
|
+
present: z.ZodNumber;
|
|
2241
|
+
removedBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2242
|
+
kind: z.ZodLiteral<"agent">;
|
|
2243
|
+
id: z.ZodString;
|
|
2244
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2246
|
+
kind: z.ZodLiteral<"person">;
|
|
2247
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2248
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
}, z.core.$strip>], "kind">>;
|
|
2250
|
+
}, z.core.$strip>>;
|
|
2251
|
+
loop: z.ZodOptional<z.ZodObject<{
|
|
1104
2252
|
state: z.ZodEnum<{
|
|
1105
2253
|
done: "done";
|
|
1106
|
-
|
|
1107
|
-
|
|
2254
|
+
error: "error";
|
|
2255
|
+
exhausted: "exhausted";
|
|
2256
|
+
overspent: "overspent";
|
|
1108
2257
|
running: "running";
|
|
2258
|
+
stalled: "stalled";
|
|
2259
|
+
stopped: "stopped";
|
|
2260
|
+
unpriced: "unpriced";
|
|
1109
2261
|
}>;
|
|
1110
|
-
|
|
2262
|
+
iteration: z.ZodNumber;
|
|
2263
|
+
maxIterations: z.ZodNumber;
|
|
2264
|
+
goal: z.ZodString;
|
|
2265
|
+
}, z.core.$strip>>;
|
|
2266
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
2267
|
+
runId: z.ZodString;
|
|
2268
|
+
name: z.ZodString;
|
|
2269
|
+
step: z.ZodString;
|
|
2270
|
+
index: z.ZodNumber;
|
|
2271
|
+
total: z.ZodNumber;
|
|
1111
2272
|
}, z.core.$strip>>;
|
|
2273
|
+
awaitingWake: z.ZodOptional<z.ZodBoolean>;
|
|
2274
|
+
watches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2275
|
+
id: z.ZodString;
|
|
2276
|
+
note: z.ZodString;
|
|
2277
|
+
intervalSeconds: z.ZodNumber;
|
|
2278
|
+
deadlineAt: z.ZodNumber;
|
|
2279
|
+
}, z.core.$strip>>>;
|
|
2280
|
+
needs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2281
|
+
id: z.ZodString;
|
|
2282
|
+
kind: z.ZodEnum<{
|
|
2283
|
+
automation: "automation";
|
|
2284
|
+
capability: "capability";
|
|
2285
|
+
environment: "environment";
|
|
2286
|
+
grant: "grant";
|
|
2287
|
+
release: "release";
|
|
2288
|
+
secret: "secret";
|
|
2289
|
+
}>;
|
|
2290
|
+
title: z.ZodString;
|
|
2291
|
+
status: z.ZodEnum<{
|
|
2292
|
+
cancelled: "cancelled";
|
|
2293
|
+
declined: "declined";
|
|
2294
|
+
met: "met";
|
|
2295
|
+
open: "open";
|
|
2296
|
+
working: "working";
|
|
2297
|
+
}>;
|
|
2298
|
+
}, z.core.$strip>>>;
|
|
2299
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2300
|
+
id: z.ZodString;
|
|
2301
|
+
label: z.ZodString;
|
|
2302
|
+
session: z.ZodString;
|
|
2303
|
+
startedAt: z.ZodNumber;
|
|
2304
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
2305
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
2306
|
+
watch: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
handed: z.ZodOptional<z.ZodBoolean>;
|
|
2308
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
2309
|
+
stoppedBy: z.ZodOptional<z.ZodEnum<{
|
|
2310
|
+
agent: "agent";
|
|
2311
|
+
person: "person";
|
|
2312
|
+
turn: "turn";
|
|
2313
|
+
}>>;
|
|
2314
|
+
inputWait: z.ZodOptional<z.ZodObject<{
|
|
2315
|
+
since: z.ZodNumber;
|
|
2316
|
+
program: z.ZodString;
|
|
2317
|
+
}, z.core.$strip>>;
|
|
2318
|
+
}, z.core.$strip>>>;
|
|
2319
|
+
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
1112
2320
|
}, z.core.$strip>>;
|
|
1113
|
-
projectDir: z.ZodOptional<z.ZodString>;
|
|
1114
|
-
surface: z.ZodOptional<z.ZodEnum<{
|
|
1115
|
-
folder: "folder";
|
|
1116
|
-
sandbox: "sandbox";
|
|
1117
|
-
}>>;
|
|
1118
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1119
|
-
kind: z.ZodLiteral<"heartbeat">;
|
|
1120
2321
|
rev: z.ZodNumber;
|
|
1121
2322
|
}, z.core.$strip>, z.ZodObject<{
|
|
1122
|
-
|
|
1123
|
-
startedAt: z.ZodNumber;
|
|
1124
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1125
|
-
key: z.ZodString;
|
|
1126
|
-
label: z.ZodString;
|
|
1127
|
-
state: z.ZodEnum<{
|
|
1128
|
-
done: "done";
|
|
1129
|
-
failed: "failed";
|
|
1130
|
-
pending: "pending";
|
|
1131
|
-
running: "running";
|
|
1132
|
-
}>;
|
|
1133
|
-
ms: z.ZodOptional<z.ZodNumber>;
|
|
1134
|
-
}, z.core.$strip>>;
|
|
1135
|
-
kind: z.ZodLiteral<"boot">;
|
|
1136
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1137
|
-
kind: z.ZodLiteral<"workspaceChanged">;
|
|
1138
|
-
paths: z.ZodArray<z.ZodString>;
|
|
1139
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1140
|
-
from: z.ZodNumber;
|
|
1141
|
-
generation: z.ZodNumber;
|
|
1142
|
-
dirs: z.ZodArray<z.ZodObject<{
|
|
1143
|
-
path: z.ZodString;
|
|
1144
|
-
entries: z.ZodArray<z.ZodType<import("../schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown, z.core.$ZodTypeInternals<import("../schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown>>>;
|
|
1145
|
-
}, z.core.$strip>>;
|
|
1146
|
-
barren: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1147
|
-
kind: z.ZodLiteral<"treeChanged">;
|
|
1148
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1149
|
-
kind: z.ZodLiteral<"derivedChanged">;
|
|
1150
|
-
paths: z.ZodArray<z.ZodString>;
|
|
1151
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1152
|
-
kind: z.ZodLiteral<"reposChanged">;
|
|
1153
|
-
repos: z.ZodArray<z.ZodString>;
|
|
1154
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1155
|
-
kind: z.ZodLiteral<"refsChanged">;
|
|
1156
|
-
repos: z.ZodArray<z.ZodString>;
|
|
1157
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1158
|
-
kind: z.ZodLiteral<"runtimeChanged">;
|
|
1159
|
-
domains: z.ZodArray<z.ZodString>;
|
|
1160
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1161
|
-
kind: z.ZodLiteral<"presence">;
|
|
1162
|
-
users: z.ZodArray<z.ZodObject<{
|
|
1163
|
-
clientId: z.ZodString;
|
|
1164
|
-
email: z.ZodString;
|
|
1165
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1166
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
1167
|
-
role: z.ZodEnum<{
|
|
1168
|
-
collaborator: "collaborator";
|
|
1169
|
-
guest: "guest";
|
|
1170
|
-
maintainer: "maintainer";
|
|
1171
|
-
owner: "owner";
|
|
1172
|
-
viewer: "viewer";
|
|
1173
|
-
writer: "writer";
|
|
1174
|
-
}>;
|
|
1175
|
-
idle: z.ZodBoolean;
|
|
1176
|
-
away: z.ZodOptional<z.ZodBoolean>;
|
|
1177
|
-
view: z.ZodOptional<z.ZodString>;
|
|
1178
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
}, z.core.$strip>>;
|
|
1181
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1182
|
-
kind: z.ZodLiteral<"agents">;
|
|
2323
|
+
kind: z.ZodLiteral<"agentsChanged">;
|
|
1183
2324
|
agents: z.ZodArray<z.ZodObject<{
|
|
1184
2325
|
id: z.ZodString;
|
|
1185
2326
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1641,6 +2782,7 @@ export declare const systemContract: {
|
|
|
1641
2782
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
1642
2783
|
}, z.core.$strip>>;
|
|
1643
2784
|
rev: z.ZodNumber;
|
|
2785
|
+
since: z.ZodNumber;
|
|
1644
2786
|
}, z.core.$strip>, z.ZodObject<{
|
|
1645
2787
|
kind: z.ZodLiteral<"accountUsage">;
|
|
1646
2788
|
provider: z.ZodString;
|
|
@@ -2349,6 +3491,60 @@ export declare const systemContract: {
|
|
|
2349
3491
|
version: z.ZodOptional<z.ZodString>;
|
|
2350
3492
|
channel: z.ZodOptional<z.ZodString>;
|
|
2351
3493
|
}, z.core.$strip>>;
|
|
3494
|
+
egress: z.ZodOptional<z.ZodObject<{
|
|
3495
|
+
policy: z.ZodObject<{
|
|
3496
|
+
profile: z.ZodEnum<{
|
|
3497
|
+
"internet-only": "internet-only";
|
|
3498
|
+
open: "open";
|
|
3499
|
+
}>;
|
|
3500
|
+
allow: z.ZodArray<z.ZodObject<{
|
|
3501
|
+
to: z.ZodString;
|
|
3502
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodInt, z.ZodString]>>>;
|
|
3503
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
3504
|
+
tcp: "tcp";
|
|
3505
|
+
udp: "udp";
|
|
3506
|
+
}>>;
|
|
3507
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3508
|
+
from: z.ZodOptional<z.ZodString>;
|
|
3509
|
+
}, z.core.$strict>>;
|
|
3510
|
+
}, z.core.$strict>;
|
|
3511
|
+
revision: z.ZodString;
|
|
3512
|
+
effectiveProfile: z.ZodEnum<{
|
|
3513
|
+
"internet-only": "internet-only";
|
|
3514
|
+
open: "open";
|
|
3515
|
+
}>;
|
|
3516
|
+
neverAllow: z.ZodArray<z.ZodString>;
|
|
3517
|
+
state: z.ZodEnum<{
|
|
3518
|
+
enforced: "enforced";
|
|
3519
|
+
failed: "failed";
|
|
3520
|
+
off: "off";
|
|
3521
|
+
pending: "pending";
|
|
3522
|
+
unsupported: "unsupported";
|
|
3523
|
+
}>;
|
|
3524
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3525
|
+
match: z.ZodOptional<z.ZodEnum<{
|
|
3526
|
+
address: "address";
|
|
3527
|
+
network: "network";
|
|
3528
|
+
}>>;
|
|
3529
|
+
advisory: z.ZodOptional<z.ZodBoolean>;
|
|
3530
|
+
hostShell: z.ZodOptional<z.ZodBoolean>;
|
|
3531
|
+
appliedAt: z.ZodOptional<z.ZodNumber>;
|
|
3532
|
+
resolved: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3533
|
+
to: z.ZodString;
|
|
3534
|
+
addresses: z.ZodArray<z.ZodString>;
|
|
3535
|
+
}, z.core.$strip>>>;
|
|
3536
|
+
blocked: z.ZodArray<z.ZodObject<{
|
|
3537
|
+
to: z.ZodString;
|
|
3538
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
3539
|
+
protocol: z.ZodEnum<{
|
|
3540
|
+
other: "other";
|
|
3541
|
+
tcp: "tcp";
|
|
3542
|
+
udp: "udp";
|
|
3543
|
+
}>;
|
|
3544
|
+
packets: z.ZodNumber;
|
|
3545
|
+
lastSeenAt: z.ZodOptional<z.ZodNumber>;
|
|
3546
|
+
}, z.core.$strip>>;
|
|
3547
|
+
}, z.core.$strip>>;
|
|
2352
3548
|
version: z.ZodOptional<z.ZodString>;
|
|
2353
3549
|
parked: z.ZodOptional<z.ZodBoolean>;
|
|
2354
3550
|
probationUntil: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2405,6 +3601,7 @@ export declare const systemContract: {
|
|
|
2405
3601
|
rollback: "rollback";
|
|
2406
3602
|
"runner-remove": "runner-remove";
|
|
2407
3603
|
"runner-up": "runner-up";
|
|
3604
|
+
"set-egress": "set-egress";
|
|
2408
3605
|
"set-shape": "set-shape";
|
|
2409
3606
|
sleep: "sleep";
|
|
2410
3607
|
start: "start";
|
|
@@ -2424,6 +3621,48 @@ export declare const systemContract: {
|
|
|
2424
3621
|
nextRestart: "nextRestart";
|
|
2425
3622
|
now: "now";
|
|
2426
3623
|
}>>;
|
|
3624
|
+
egress: z.ZodOptional<z.ZodObject<{
|
|
3625
|
+
profile: z.ZodEnum<{
|
|
3626
|
+
"internet-only": "internet-only";
|
|
3627
|
+
open: "open";
|
|
3628
|
+
}>;
|
|
3629
|
+
allow: z.ZodArray<z.ZodObject<{
|
|
3630
|
+
to: z.ZodString;
|
|
3631
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodInt, z.ZodString]>>>;
|
|
3632
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
3633
|
+
tcp: "tcp";
|
|
3634
|
+
udp: "udp";
|
|
3635
|
+
}>>;
|
|
3636
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3637
|
+
from: z.ZodOptional<z.ZodString>;
|
|
3638
|
+
}, z.core.$strict>>;
|
|
3639
|
+
}, z.core.$strict>>;
|
|
3640
|
+
egressProof: z.ZodOptional<z.ZodObject<{
|
|
3641
|
+
document: z.ZodString;
|
|
3642
|
+
assertion: z.ZodObject<{
|
|
3643
|
+
id: z.ZodString;
|
|
3644
|
+
rawId: z.ZodString;
|
|
3645
|
+
type: z.ZodLiteral<"public-key">;
|
|
3646
|
+
response: z.ZodObject<{
|
|
3647
|
+
clientDataJSON: z.ZodString;
|
|
3648
|
+
authenticatorData: z.ZodString;
|
|
3649
|
+
signature: z.ZodString;
|
|
3650
|
+
userHandle: z.ZodOptional<z.ZodString>;
|
|
3651
|
+
}, z.core.$strip>;
|
|
3652
|
+
authenticatorAttachment: z.ZodOptional<z.ZodString>;
|
|
3653
|
+
clientExtensionResults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3654
|
+
}, z.core.$strip>;
|
|
3655
|
+
}, z.core.$strict>>;
|
|
3656
|
+
egressOwnerKeys: z.ZodOptional<z.ZodObject<{
|
|
3657
|
+
rpId: z.ZodString;
|
|
3658
|
+
origins: z.ZodArray<z.ZodString>;
|
|
3659
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
3660
|
+
id: z.ZodString;
|
|
3661
|
+
alg: z.ZodUnion<readonly [z.ZodLiteral<-7>, z.ZodLiteral<-257>, z.ZodLiteral<-8>]>;
|
|
3662
|
+
jwk: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3663
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3664
|
+
}, z.core.$strict>>;
|
|
3665
|
+
}, z.core.$strict>>;
|
|
2427
3666
|
resources: z.ZodOptional<z.ZodObject<{
|
|
2428
3667
|
memoryGib: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2429
3668
|
cpus: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -2470,6 +3709,34 @@ export declare const systemContract: {
|
|
|
2470
3709
|
message: z.ZodString;
|
|
2471
3710
|
}, z.core.$strip>], "kind">;
|
|
2472
3711
|
}, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
3712
|
+
egressOwnerKeys: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
3713
|
+
ownerKeys: z.ZodOptional<z.ZodObject<{
|
|
3714
|
+
rpId: z.ZodString;
|
|
3715
|
+
origins: z.ZodArray<z.ZodString>;
|
|
3716
|
+
keys: z.ZodArray<z.ZodObject<{
|
|
3717
|
+
id: z.ZodString;
|
|
3718
|
+
alg: z.ZodUnion<readonly [z.ZodLiteral<-7>, z.ZodLiteral<-257>, z.ZodLiteral<-8>]>;
|
|
3719
|
+
jwk: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3720
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3721
|
+
}, z.core.$strict>>;
|
|
3722
|
+
}, z.core.$strict>>;
|
|
3723
|
+
credentials: z.ZodArray<z.ZodObject<{
|
|
3724
|
+
id: z.ZodString;
|
|
3725
|
+
transports: z.ZodArray<z.ZodString>;
|
|
3726
|
+
}, z.core.$strip>>;
|
|
3727
|
+
owner: z.ZodBoolean;
|
|
3728
|
+
slug: z.ZodString;
|
|
3729
|
+
suggestions: z.ZodArray<z.ZodObject<{
|
|
3730
|
+
to: z.ZodString;
|
|
3731
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodInt, z.ZodString]>>>;
|
|
3732
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
3733
|
+
tcp: "tcp";
|
|
3734
|
+
udp: "udp";
|
|
3735
|
+
}>>;
|
|
3736
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3737
|
+
from: z.ZodOptional<z.ZodString>;
|
|
3738
|
+
}, z.core.$strict>>;
|
|
3739
|
+
}, z.core.$strip>, Record<never, never>, import("../protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
2473
3740
|
runDeviceCommand: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2474
3741
|
id: z.ZodString;
|
|
2475
3742
|
command: z.ZodEnum<{
|