@intentic/sandbox-contract 1.367.0 → 1.368.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/contracts/system.contract.d.ts +1366 -224
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.js +6 -3
- package/dist/contracts/system.contract.js.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/index.d.ts +1396 -254
- package/dist/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/contracts/system.contract.ts +12 -3
- package/src/events/system-events.ts +22 -1
- package/src/state/daemon-floor.test.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -28189,6 +28189,10 @@ export declare const sandboxContract: {
|
|
|
28189
28189
|
}, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
|
|
28190
28190
|
events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
28191
28191
|
clientId: z.ZodOptional<z.ZodString>;
|
|
28192
|
+
roster: z.ZodOptional<z.ZodEnum<{
|
|
28193
|
+
changes: "changes";
|
|
28194
|
+
snapshots: "snapshots";
|
|
28195
|
+
}>>;
|
|
28192
28196
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
28193
28197
|
kind: "heartbeat";
|
|
28194
28198
|
rev: number;
|
|
@@ -28590,133 +28594,7 @@ export declare const sandboxContract: {
|
|
|
28590
28594
|
}[];
|
|
28591
28595
|
rev: number;
|
|
28592
28596
|
} | {
|
|
28593
|
-
kind: "
|
|
28594
|
-
provider: string;
|
|
28595
|
-
account: string;
|
|
28596
|
-
usage?: {
|
|
28597
|
-
windows: {
|
|
28598
|
-
kind: string;
|
|
28599
|
-
label?: string | undefined;
|
|
28600
|
-
utilization: number;
|
|
28601
|
-
resetsAt?: number | undefined;
|
|
28602
|
-
gates: "all" | "none" | {
|
|
28603
|
-
models: string[];
|
|
28604
|
-
};
|
|
28605
|
-
rounded?: boolean | undefined;
|
|
28606
|
-
lapsedAt?: number | undefined;
|
|
28607
|
-
missingSince?: number | undefined;
|
|
28608
|
-
}[];
|
|
28609
|
-
measuredAt: number;
|
|
28610
|
-
unread?: {
|
|
28611
|
-
since: number;
|
|
28612
|
-
reason: string;
|
|
28613
|
-
} | undefined;
|
|
28614
|
-
uncovered?: string[] | undefined;
|
|
28615
|
-
contradicted?: {
|
|
28616
|
-
at: number;
|
|
28617
|
-
model: string;
|
|
28618
|
-
} | undefined;
|
|
28619
|
-
} | undefined;
|
|
28620
|
-
} | {
|
|
28621
|
-
kind: "providerRefusal";
|
|
28622
|
-
provider: string;
|
|
28623
|
-
refusals?: {
|
|
28624
|
-
at: number;
|
|
28625
|
-
kind: "auth" | "entitlement" | "limit";
|
|
28626
|
-
message: string;
|
|
28627
|
-
account?: string | undefined;
|
|
28628
|
-
model?: string | undefined;
|
|
28629
|
-
resetsAt?: number | undefined;
|
|
28630
|
-
poolResetsAt?: number | undefined;
|
|
28631
|
-
unmetered?: true | undefined;
|
|
28632
|
-
byHand?: true | undefined;
|
|
28633
|
-
}[] | undefined;
|
|
28634
|
-
refusal?: {
|
|
28635
|
-
at: number;
|
|
28636
|
-
kind: "auth" | "entitlement" | "limit";
|
|
28637
|
-
message: string;
|
|
28638
|
-
account?: string | undefined;
|
|
28639
|
-
model?: string | undefined;
|
|
28640
|
-
resetsAt?: number | undefined;
|
|
28641
|
-
poolResetsAt?: number | undefined;
|
|
28642
|
-
unmetered?: true | undefined;
|
|
28643
|
-
byHand?: true | undefined;
|
|
28644
|
-
} | undefined;
|
|
28645
|
-
} | {
|
|
28646
|
-
from: number;
|
|
28647
|
-
generation: number;
|
|
28648
|
-
dirs: {
|
|
28649
|
-
path: string;
|
|
28650
|
-
entries: unknown[];
|
|
28651
|
-
}[];
|
|
28652
|
-
barren?: string[] | undefined;
|
|
28653
|
-
kind: "treeChanged";
|
|
28654
|
-
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
28655
|
-
kind: "heartbeat";
|
|
28656
|
-
rev: number;
|
|
28657
|
-
} | {
|
|
28658
|
-
ready: boolean;
|
|
28659
|
-
startedAt: number;
|
|
28660
|
-
steps: {
|
|
28661
|
-
key: string;
|
|
28662
|
-
label: string;
|
|
28663
|
-
state: "done" | "failed" | "pending" | "running";
|
|
28664
|
-
ms?: number | undefined;
|
|
28665
|
-
}[];
|
|
28666
|
-
kind: "boot";
|
|
28667
|
-
} | {
|
|
28668
|
-
kind: "hello";
|
|
28669
|
-
workspaceId: string;
|
|
28670
|
-
routes?: string[] | undefined;
|
|
28671
|
-
shapes?: Record<string, string> | undefined;
|
|
28672
|
-
rawRoutes?: string[] | undefined;
|
|
28673
|
-
rawFingerprints?: Record<string, string> | undefined;
|
|
28674
|
-
uploadEncodings?: string[] | undefined;
|
|
28675
|
-
voiceCodecs?: string[] | undefined;
|
|
28676
|
-
build?: string | undefined;
|
|
28677
|
-
boot?: {
|
|
28678
|
-
ready: boolean;
|
|
28679
|
-
startedAt: number;
|
|
28680
|
-
steps: {
|
|
28681
|
-
key: string;
|
|
28682
|
-
label: string;
|
|
28683
|
-
state: "done" | "failed" | "pending" | "running";
|
|
28684
|
-
ms?: number | undefined;
|
|
28685
|
-
}[];
|
|
28686
|
-
} | undefined;
|
|
28687
|
-
projectDir?: string | undefined;
|
|
28688
|
-
surface?: "folder" | "sandbox" | undefined;
|
|
28689
|
-
} | {
|
|
28690
|
-
kind: "reposChanged";
|
|
28691
|
-
repos: string[];
|
|
28692
|
-
} | {
|
|
28693
|
-
kind: "workspaceChanged";
|
|
28694
|
-
paths: string[];
|
|
28695
|
-
} | {
|
|
28696
|
-
kind: "derivedChanged";
|
|
28697
|
-
paths: string[];
|
|
28698
|
-
} | {
|
|
28699
|
-
kind: "refsChanged";
|
|
28700
|
-
repos: string[];
|
|
28701
|
-
} | {
|
|
28702
|
-
kind: "runtimeChanged";
|
|
28703
|
-
domains: string[];
|
|
28704
|
-
} | {
|
|
28705
|
-
kind: "presence";
|
|
28706
|
-
users: {
|
|
28707
|
-
clientId: string;
|
|
28708
|
-
email: string;
|
|
28709
|
-
name?: string | undefined;
|
|
28710
|
-
picture?: string | undefined;
|
|
28711
|
-
role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
|
|
28712
|
-
idle: boolean;
|
|
28713
|
-
away?: boolean | undefined;
|
|
28714
|
-
view?: string | undefined;
|
|
28715
|
-
sessionId?: string | undefined;
|
|
28716
|
-
path?: string | undefined;
|
|
28717
|
-
}[];
|
|
28718
|
-
} | {
|
|
28719
|
-
kind: "agents";
|
|
28597
|
+
kind: "agentsChanged";
|
|
28720
28598
|
agents: {
|
|
28721
28599
|
id: string;
|
|
28722
28600
|
sessionId?: string | undefined;
|
|
@@ -29051,6 +28929,7 @@ export declare const sandboxContract: {
|
|
|
29051
28929
|
archivedAt?: number | undefined;
|
|
29052
28930
|
}[];
|
|
29053
28931
|
rev: number;
|
|
28932
|
+
since: number;
|
|
29054
28933
|
} | {
|
|
29055
28934
|
kind: "accountUsage";
|
|
29056
28935
|
provider: string;
|
|
@@ -29109,136 +28988,1398 @@ export declare const sandboxContract: {
|
|
|
29109
28988
|
generation: number;
|
|
29110
28989
|
dirs: {
|
|
29111
28990
|
path: string;
|
|
29112
|
-
entries:
|
|
28991
|
+
entries: unknown[];
|
|
29113
28992
|
}[];
|
|
29114
28993
|
barren?: string[] | undefined;
|
|
29115
28994
|
kind: "treeChanged";
|
|
29116
|
-
}, unknown, void
|
|
29117
|
-
|
|
29118
|
-
|
|
29119
|
-
|
|
29120
|
-
|
|
29121
|
-
|
|
29122
|
-
|
|
29123
|
-
|
|
29124
|
-
|
|
29125
|
-
|
|
29126
|
-
|
|
29127
|
-
|
|
29128
|
-
|
|
29129
|
-
|
|
29130
|
-
|
|
29131
|
-
|
|
29132
|
-
|
|
29133
|
-
|
|
29134
|
-
|
|
29135
|
-
|
|
29136
|
-
|
|
29137
|
-
|
|
29138
|
-
|
|
29139
|
-
|
|
29140
|
-
|
|
29141
|
-
|
|
29142
|
-
|
|
29143
|
-
|
|
29144
|
-
|
|
29145
|
-
|
|
29146
|
-
|
|
29147
|
-
|
|
29148
|
-
|
|
29149
|
-
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29154
|
-
|
|
29155
|
-
|
|
29156
|
-
|
|
29157
|
-
|
|
29158
|
-
|
|
29159
|
-
|
|
29160
|
-
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29164
|
-
|
|
29165
|
-
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
29174
|
-
|
|
29175
|
-
|
|
29176
|
-
|
|
29177
|
-
|
|
29178
|
-
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29188
|
-
|
|
29189
|
-
|
|
29190
|
-
|
|
29191
|
-
|
|
29192
|
-
|
|
29193
|
-
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
|
|
29197
|
-
|
|
29198
|
-
|
|
29199
|
-
|
|
29200
|
-
|
|
29201
|
-
|
|
29202
|
-
|
|
29203
|
-
|
|
29204
|
-
|
|
29205
|
-
|
|
29206
|
-
|
|
29207
|
-
|
|
29208
|
-
|
|
29209
|
-
|
|
29210
|
-
|
|
29211
|
-
|
|
29212
|
-
|
|
29213
|
-
|
|
29214
|
-
|
|
29215
|
-
|
|
29216
|
-
|
|
29217
|
-
|
|
29218
|
-
|
|
29219
|
-
|
|
29220
|
-
|
|
29221
|
-
|
|
29222
|
-
|
|
29223
|
-
|
|
29224
|
-
|
|
29225
|
-
|
|
29226
|
-
|
|
29227
|
-
|
|
29228
|
-
|
|
29229
|
-
|
|
29230
|
-
|
|
29231
|
-
|
|
29232
|
-
|
|
29233
|
-
|
|
29234
|
-
|
|
29235
|
-
|
|
29236
|
-
|
|
29237
|
-
|
|
29238
|
-
|
|
29239
|
-
|
|
29240
|
-
|
|
29241
|
-
|
|
28995
|
+
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
28996
|
+
kind: "heartbeat";
|
|
28997
|
+
rev: number;
|
|
28998
|
+
} | {
|
|
28999
|
+
ready: boolean;
|
|
29000
|
+
startedAt: number;
|
|
29001
|
+
steps: {
|
|
29002
|
+
key: string;
|
|
29003
|
+
label: string;
|
|
29004
|
+
state: "done" | "failed" | "pending" | "running";
|
|
29005
|
+
ms?: number | undefined;
|
|
29006
|
+
}[];
|
|
29007
|
+
kind: "boot";
|
|
29008
|
+
} | {
|
|
29009
|
+
kind: "hello";
|
|
29010
|
+
workspaceId: string;
|
|
29011
|
+
routes?: string[] | undefined;
|
|
29012
|
+
shapes?: Record<string, string> | undefined;
|
|
29013
|
+
rawRoutes?: string[] | undefined;
|
|
29014
|
+
rawFingerprints?: Record<string, string> | undefined;
|
|
29015
|
+
uploadEncodings?: string[] | undefined;
|
|
29016
|
+
voiceCodecs?: string[] | undefined;
|
|
29017
|
+
build?: string | undefined;
|
|
29018
|
+
boot?: {
|
|
29019
|
+
ready: boolean;
|
|
29020
|
+
startedAt: number;
|
|
29021
|
+
steps: {
|
|
29022
|
+
key: string;
|
|
29023
|
+
label: string;
|
|
29024
|
+
state: "done" | "failed" | "pending" | "running";
|
|
29025
|
+
ms?: number | undefined;
|
|
29026
|
+
}[];
|
|
29027
|
+
} | undefined;
|
|
29028
|
+
projectDir?: string | undefined;
|
|
29029
|
+
surface?: "folder" | "sandbox" | undefined;
|
|
29030
|
+
} | {
|
|
29031
|
+
kind: "reposChanged";
|
|
29032
|
+
repos: string[];
|
|
29033
|
+
} | {
|
|
29034
|
+
kind: "workspaceChanged";
|
|
29035
|
+
paths: string[];
|
|
29036
|
+
} | {
|
|
29037
|
+
kind: "derivedChanged";
|
|
29038
|
+
paths: string[];
|
|
29039
|
+
} | {
|
|
29040
|
+
kind: "refsChanged";
|
|
29041
|
+
repos: string[];
|
|
29042
|
+
} | {
|
|
29043
|
+
kind: "runtimeChanged";
|
|
29044
|
+
domains: string[];
|
|
29045
|
+
} | {
|
|
29046
|
+
kind: "presence";
|
|
29047
|
+
users: {
|
|
29048
|
+
clientId: string;
|
|
29049
|
+
email: string;
|
|
29050
|
+
name?: string | undefined;
|
|
29051
|
+
picture?: string | undefined;
|
|
29052
|
+
role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
|
|
29053
|
+
idle: boolean;
|
|
29054
|
+
away?: boolean | undefined;
|
|
29055
|
+
view?: string | undefined;
|
|
29056
|
+
sessionId?: string | undefined;
|
|
29057
|
+
path?: string | undefined;
|
|
29058
|
+
}[];
|
|
29059
|
+
} | {
|
|
29060
|
+
kind: "agents";
|
|
29061
|
+
agents: {
|
|
29062
|
+
id: string;
|
|
29063
|
+
sessionId?: string | undefined;
|
|
29064
|
+
title?: string | undefined;
|
|
29065
|
+
titleAction?: string | undefined;
|
|
29066
|
+
status: "awaiting" | "conflict" | "dismissing" | "error" | "idle" | "interrupted" | "landed" | "landing" | "ready" | "resuming" | "running" | "stopped" | "stopping";
|
|
29067
|
+
failure?: string | undefined;
|
|
29068
|
+
failureCode?: string | undefined;
|
|
29069
|
+
failureOwn?: boolean | undefined;
|
|
29070
|
+
limitResetsAt?: number | undefined;
|
|
29071
|
+
limitHeld?: boolean | undefined;
|
|
29072
|
+
limitScheduled?: boolean | undefined;
|
|
29073
|
+
limitMoving?: string | undefined;
|
|
29074
|
+
limitNextAt?: number | undefined;
|
|
29075
|
+
next?: {
|
|
29076
|
+
kind: "rerun";
|
|
29077
|
+
at: number;
|
|
29078
|
+
onto?: string | undefined;
|
|
29079
|
+
} | {
|
|
29080
|
+
kind: "room";
|
|
29081
|
+
} | {
|
|
29082
|
+
kind: "send";
|
|
29083
|
+
at: number;
|
|
29084
|
+
count: number;
|
|
29085
|
+
} | {
|
|
29086
|
+
kind: "land";
|
|
29087
|
+
after: string;
|
|
29088
|
+
count: number;
|
|
29089
|
+
} | undefined;
|
|
29090
|
+
provider: string;
|
|
29091
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
29092
|
+
runner?: string | undefined;
|
|
29093
|
+
startIn?: string | undefined;
|
|
29094
|
+
actsAs?: string | undefined;
|
|
29095
|
+
lastActsAs?: string | undefined;
|
|
29096
|
+
model?: string | undefined;
|
|
29097
|
+
effort?: string | undefined;
|
|
29098
|
+
thinking?: boolean | undefined;
|
|
29099
|
+
fast?: boolean | undefined;
|
|
29100
|
+
account?: string | undefined;
|
|
29101
|
+
branch?: string | undefined;
|
|
29102
|
+
autoLand?: boolean | undefined;
|
|
29103
|
+
limitPolicy?: "move" | "resend" | "wait" | undefined;
|
|
29104
|
+
outagePolicy?: "retry" | "wait" | undefined;
|
|
29105
|
+
stopPolicy?: "retry" | "wait" | undefined;
|
|
29106
|
+
memoryPolicy?: "resend" | "wait" | undefined;
|
|
29107
|
+
landRequested?: {
|
|
29108
|
+
email: string;
|
|
29109
|
+
name?: string | undefined;
|
|
29110
|
+
at: number;
|
|
29111
|
+
} | undefined;
|
|
29112
|
+
reactions?: {
|
|
29113
|
+
emoji: string;
|
|
29114
|
+
by: {
|
|
29115
|
+
email: string;
|
|
29116
|
+
name?: string | undefined;
|
|
29117
|
+
at: number;
|
|
29118
|
+
}[];
|
|
29119
|
+
}[] | undefined;
|
|
29120
|
+
origin?: {
|
|
29121
|
+
automationId: string;
|
|
29122
|
+
provider: string;
|
|
29123
|
+
channelId?: string | undefined;
|
|
29124
|
+
threadId?: string | undefined;
|
|
29125
|
+
author?: string | undefined;
|
|
29126
|
+
} | undefined;
|
|
29127
|
+
startedBy?: string | undefined;
|
|
29128
|
+
areas?: string[] | undefined;
|
|
29129
|
+
owner?: {
|
|
29130
|
+
email: string;
|
|
29131
|
+
name?: string | undefined;
|
|
29132
|
+
since: number;
|
|
29133
|
+
} | undefined;
|
|
29134
|
+
forkedFrom?: {
|
|
29135
|
+
conversationId: string;
|
|
29136
|
+
index: number;
|
|
29137
|
+
files: "now" | "then";
|
|
29138
|
+
} | undefined;
|
|
29139
|
+
fresh?: {
|
|
29140
|
+
of: string;
|
|
29141
|
+
kind: "ask" | "review" | "test";
|
|
29142
|
+
at: number;
|
|
29143
|
+
by?: string | undefined;
|
|
29144
|
+
} | undefined;
|
|
29145
|
+
home?: true | undefined;
|
|
29146
|
+
commits?: {
|
|
29147
|
+
land: string;
|
|
29148
|
+
at: number;
|
|
29149
|
+
subject: string;
|
|
29150
|
+
commits: {
|
|
29151
|
+
repo: string;
|
|
29152
|
+
sha: string;
|
|
29153
|
+
}[];
|
|
29154
|
+
}[] | undefined;
|
|
29155
|
+
freshPending?: "asked" | "cleared" | undefined;
|
|
29156
|
+
base?: string | undefined;
|
|
29157
|
+
costUsd?: number | undefined;
|
|
29158
|
+
inputTokens?: number | undefined;
|
|
29159
|
+
outputTokens?: number | undefined;
|
|
29160
|
+
contextTokens?: number | undefined;
|
|
29161
|
+
contextWindow?: number | undefined;
|
|
29162
|
+
promptCache?: {
|
|
29163
|
+
at: number;
|
|
29164
|
+
ttlMs: number;
|
|
29165
|
+
rollsAt?: number | undefined;
|
|
29166
|
+
keepableUntil?: number | undefined;
|
|
29167
|
+
} | undefined;
|
|
29168
|
+
keepWarm?: {
|
|
29169
|
+
since: number;
|
|
29170
|
+
until: number;
|
|
29171
|
+
refreshes: number;
|
|
29172
|
+
readTokens?: number | undefined;
|
|
29173
|
+
ended?: {
|
|
29174
|
+
at: number;
|
|
29175
|
+
reason: "allowance" | "changed" | "cold" | "elapsed" | "failed";
|
|
29176
|
+
detail?: string | undefined;
|
|
29177
|
+
} | undefined;
|
|
29178
|
+
} | undefined;
|
|
29179
|
+
activity?: {
|
|
29180
|
+
tool?: string | undefined;
|
|
29181
|
+
target?: string | undefined;
|
|
29182
|
+
todo?: string | undefined;
|
|
29183
|
+
} | undefined;
|
|
29184
|
+
checklist?: {
|
|
29185
|
+
done: number;
|
|
29186
|
+
total: number;
|
|
29187
|
+
} | undefined;
|
|
29188
|
+
landedMessageDraft?: {
|
|
29189
|
+
startedAt: number;
|
|
29190
|
+
steps: {
|
|
29191
|
+
provider: string;
|
|
29192
|
+
model: string;
|
|
29193
|
+
status: "answered" | "asking" | "refused" | "skipped";
|
|
29194
|
+
at?: number | undefined;
|
|
29195
|
+
ms?: number | undefined;
|
|
29196
|
+
reason?: string | undefined;
|
|
29197
|
+
}[];
|
|
29198
|
+
outcome?: "failed" | "written" | undefined;
|
|
29199
|
+
reason?: string | undefined;
|
|
29200
|
+
finishedAt?: number | undefined;
|
|
29201
|
+
} | undefined;
|
|
29202
|
+
landedMessage?: {
|
|
29203
|
+
subject: string;
|
|
29204
|
+
note?: string | undefined;
|
|
29205
|
+
breaking?: string | undefined;
|
|
29206
|
+
testNote?: string | undefined;
|
|
29207
|
+
allows?: string[] | undefined;
|
|
29208
|
+
} | undefined;
|
|
29209
|
+
startedAt?: number | undefined;
|
|
29210
|
+
run?: string | undefined;
|
|
29211
|
+
queue?: {
|
|
29212
|
+
items: {
|
|
29213
|
+
id: string;
|
|
29214
|
+
text: string;
|
|
29215
|
+
attachments?: string[] | undefined;
|
|
29216
|
+
voice: "agent" | "person" | "sandbox";
|
|
29217
|
+
queuedAt: number;
|
|
29218
|
+
revision: number;
|
|
29219
|
+
until?: number | undefined;
|
|
29220
|
+
after?: string | undefined;
|
|
29221
|
+
reopenOf?: {
|
|
29222
|
+
agent: string;
|
|
29223
|
+
account?: string | undefined;
|
|
29224
|
+
} | undefined;
|
|
29225
|
+
serves?: {
|
|
29226
|
+
agent: string;
|
|
29227
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
29228
|
+
model?: string | undefined;
|
|
29229
|
+
effort?: string | undefined;
|
|
29230
|
+
account?: string | undefined;
|
|
29231
|
+
} | undefined;
|
|
29232
|
+
continues?: true | undefined;
|
|
29233
|
+
}[];
|
|
29234
|
+
revision: number;
|
|
29235
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
29236
|
+
until?: number | undefined;
|
|
29237
|
+
after?: string | undefined;
|
|
29238
|
+
} | undefined;
|
|
29239
|
+
updatedAt: number;
|
|
29240
|
+
seenAt?: number | undefined;
|
|
29241
|
+
unsentAt?: number | undefined;
|
|
29242
|
+
attention: {
|
|
29243
|
+
plan: boolean;
|
|
29244
|
+
question: boolean;
|
|
29245
|
+
permission: boolean;
|
|
29246
|
+
capability: boolean;
|
|
29247
|
+
credential: boolean;
|
|
29248
|
+
conflict: boolean;
|
|
29249
|
+
need?: boolean | undefined;
|
|
29250
|
+
};
|
|
29251
|
+
permissionAsk?: {
|
|
29252
|
+
requestId: string;
|
|
29253
|
+
ask: string;
|
|
29254
|
+
program?: {
|
|
29255
|
+
text: string;
|
|
29256
|
+
language: "bash" | "javascript";
|
|
29257
|
+
truncated: boolean;
|
|
29258
|
+
spans: {
|
|
29259
|
+
start: number;
|
|
29260
|
+
end: number;
|
|
29261
|
+
}[];
|
|
29262
|
+
} | undefined;
|
|
29263
|
+
} | undefined;
|
|
29264
|
+
landFailure?: {
|
|
29265
|
+
reason: string;
|
|
29266
|
+
code?: string | undefined;
|
|
29267
|
+
at: number;
|
|
29268
|
+
} | undefined;
|
|
29269
|
+
delivery?: {
|
|
29270
|
+
state: "delivered" | "failed" | "partial" | "too-large" | "waiting";
|
|
29271
|
+
at: number;
|
|
29272
|
+
project: string;
|
|
29273
|
+
folder?: string | undefined;
|
|
29274
|
+
applied: number;
|
|
29275
|
+
conflicts: {
|
|
29276
|
+
path: string;
|
|
29277
|
+
reason: "edited" | "link" | "missing-git" | "outside";
|
|
29278
|
+
}[];
|
|
29279
|
+
point?: string | undefined;
|
|
29280
|
+
reason?: string | undefined;
|
|
29281
|
+
} | undefined;
|
|
29282
|
+
conflictCauses?: ("binary" | "diverged" | "workspace")[] | undefined;
|
|
29283
|
+
unfinished?: {
|
|
29284
|
+
at: number;
|
|
29285
|
+
steps?: {
|
|
29286
|
+
open: number;
|
|
29287
|
+
total: number;
|
|
29288
|
+
next?: string | undefined;
|
|
29289
|
+
} | undefined;
|
|
29290
|
+
check?: string | undefined;
|
|
29291
|
+
} | undefined;
|
|
29292
|
+
proof?: {
|
|
29293
|
+
at: number;
|
|
29294
|
+
verification: "failing" | "no-code" | "unproven" | "verified";
|
|
29295
|
+
check?: string | undefined;
|
|
29296
|
+
unviewed?: number | undefined;
|
|
29297
|
+
} | undefined;
|
|
29298
|
+
review?: {
|
|
29299
|
+
at: number;
|
|
29300
|
+
source: "claude" | "codex";
|
|
29301
|
+
findings: number;
|
|
29302
|
+
open: number;
|
|
29303
|
+
} | undefined;
|
|
29304
|
+
reach?: {
|
|
29305
|
+
at: number;
|
|
29306
|
+
live?: {
|
|
29307
|
+
path: string;
|
|
29308
|
+
extension?: string | undefined;
|
|
29309
|
+
}[] | undefined;
|
|
29310
|
+
liveMore?: number | undefined;
|
|
29311
|
+
stranded?: {
|
|
29312
|
+
dir: string;
|
|
29313
|
+
uncommitted: number;
|
|
29314
|
+
unpushed: number;
|
|
29315
|
+
}[] | undefined;
|
|
29316
|
+
strandedMore?: number | undefined;
|
|
29317
|
+
published?: {
|
|
29318
|
+
dir?: string | undefined;
|
|
29319
|
+
remote?: string | undefined;
|
|
29320
|
+
branch?: string | undefined;
|
|
29321
|
+
command: string;
|
|
29322
|
+
}[] | undefined;
|
|
29323
|
+
publishedMore?: number | undefined;
|
|
29324
|
+
} | undefined;
|
|
29325
|
+
turns?: number | undefined;
|
|
29326
|
+
toolUses?: number | undefined;
|
|
29327
|
+
subagents?: {
|
|
29328
|
+
running: number;
|
|
29329
|
+
total: number;
|
|
29330
|
+
} | undefined;
|
|
29331
|
+
diff?: {
|
|
29332
|
+
files: number;
|
|
29333
|
+
insertions: number;
|
|
29334
|
+
deletions: number;
|
|
29335
|
+
} | undefined;
|
|
29336
|
+
modules?: string[] | undefined;
|
|
29337
|
+
landedPresence?: {
|
|
29338
|
+
landed: number;
|
|
29339
|
+
present: number;
|
|
29340
|
+
removedBy?: {
|
|
29341
|
+
kind: "agent";
|
|
29342
|
+
id: string;
|
|
29343
|
+
title?: string | undefined;
|
|
29344
|
+
} | {
|
|
29345
|
+
kind: "person";
|
|
29346
|
+
email?: string | undefined;
|
|
29347
|
+
name?: string | undefined;
|
|
29348
|
+
} | undefined;
|
|
29349
|
+
} | undefined;
|
|
29350
|
+
loop?: {
|
|
29351
|
+
state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
|
|
29352
|
+
iteration: number;
|
|
29353
|
+
maxIterations: number;
|
|
29354
|
+
goal: string;
|
|
29355
|
+
} | undefined;
|
|
29356
|
+
workflow?: {
|
|
29357
|
+
runId: string;
|
|
29358
|
+
name: string;
|
|
29359
|
+
step: string;
|
|
29360
|
+
index: number;
|
|
29361
|
+
total: number;
|
|
29362
|
+
} | undefined;
|
|
29363
|
+
awaitingWake?: boolean | undefined;
|
|
29364
|
+
watches?: {
|
|
29365
|
+
id: string;
|
|
29366
|
+
note: string;
|
|
29367
|
+
intervalSeconds: number;
|
|
29368
|
+
deadlineAt: number;
|
|
29369
|
+
}[] | undefined;
|
|
29370
|
+
needs?: {
|
|
29371
|
+
id: string;
|
|
29372
|
+
kind: "automation" | "capability" | "environment" | "grant" | "release" | "secret";
|
|
29373
|
+
title: string;
|
|
29374
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
29375
|
+
}[] | undefined;
|
|
29376
|
+
jobs?: {
|
|
29377
|
+
id: string;
|
|
29378
|
+
label: string;
|
|
29379
|
+
session: string;
|
|
29380
|
+
startedAt: number;
|
|
29381
|
+
endedAt?: number | undefined;
|
|
29382
|
+
exitCode?: number | undefined;
|
|
29383
|
+
watch?: string | undefined;
|
|
29384
|
+
handed?: boolean | undefined;
|
|
29385
|
+
ports?: number[] | undefined;
|
|
29386
|
+
stoppedBy?: "agent" | "person" | "turn" | undefined;
|
|
29387
|
+
inputWait?: {
|
|
29388
|
+
since: number;
|
|
29389
|
+
program: string;
|
|
29390
|
+
} | undefined;
|
|
29391
|
+
}[] | undefined;
|
|
29392
|
+
archivedAt?: number | undefined;
|
|
29393
|
+
}[];
|
|
29394
|
+
rev: number;
|
|
29395
|
+
} | {
|
|
29396
|
+
kind: "agentsChanged";
|
|
29397
|
+
agents: {
|
|
29398
|
+
id: string;
|
|
29399
|
+
sessionId?: string | undefined;
|
|
29400
|
+
title?: string | undefined;
|
|
29401
|
+
titleAction?: string | undefined;
|
|
29402
|
+
status: "awaiting" | "conflict" | "dismissing" | "error" | "idle" | "interrupted" | "landed" | "landing" | "ready" | "resuming" | "running" | "stopped" | "stopping";
|
|
29403
|
+
failure?: string | undefined;
|
|
29404
|
+
failureCode?: string | undefined;
|
|
29405
|
+
failureOwn?: boolean | undefined;
|
|
29406
|
+
limitResetsAt?: number | undefined;
|
|
29407
|
+
limitHeld?: boolean | undefined;
|
|
29408
|
+
limitScheduled?: boolean | undefined;
|
|
29409
|
+
limitMoving?: string | undefined;
|
|
29410
|
+
limitNextAt?: number | undefined;
|
|
29411
|
+
next?: {
|
|
29412
|
+
kind: "rerun";
|
|
29413
|
+
at: number;
|
|
29414
|
+
onto?: string | undefined;
|
|
29415
|
+
} | {
|
|
29416
|
+
kind: "room";
|
|
29417
|
+
} | {
|
|
29418
|
+
kind: "send";
|
|
29419
|
+
at: number;
|
|
29420
|
+
count: number;
|
|
29421
|
+
} | {
|
|
29422
|
+
kind: "land";
|
|
29423
|
+
after: string;
|
|
29424
|
+
count: number;
|
|
29425
|
+
} | undefined;
|
|
29426
|
+
provider: string;
|
|
29427
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
29428
|
+
runner?: string | undefined;
|
|
29429
|
+
startIn?: string | undefined;
|
|
29430
|
+
actsAs?: string | undefined;
|
|
29431
|
+
lastActsAs?: string | undefined;
|
|
29432
|
+
model?: string | undefined;
|
|
29433
|
+
effort?: string | undefined;
|
|
29434
|
+
thinking?: boolean | undefined;
|
|
29435
|
+
fast?: boolean | undefined;
|
|
29436
|
+
account?: string | undefined;
|
|
29437
|
+
branch?: string | undefined;
|
|
29438
|
+
autoLand?: boolean | undefined;
|
|
29439
|
+
limitPolicy?: "move" | "resend" | "wait" | undefined;
|
|
29440
|
+
outagePolicy?: "retry" | "wait" | undefined;
|
|
29441
|
+
stopPolicy?: "retry" | "wait" | undefined;
|
|
29442
|
+
memoryPolicy?: "resend" | "wait" | undefined;
|
|
29443
|
+
landRequested?: {
|
|
29444
|
+
email: string;
|
|
29445
|
+
name?: string | undefined;
|
|
29446
|
+
at: number;
|
|
29447
|
+
} | undefined;
|
|
29448
|
+
reactions?: {
|
|
29449
|
+
emoji: string;
|
|
29450
|
+
by: {
|
|
29451
|
+
email: string;
|
|
29452
|
+
name?: string | undefined;
|
|
29453
|
+
at: number;
|
|
29454
|
+
}[];
|
|
29455
|
+
}[] | undefined;
|
|
29456
|
+
origin?: {
|
|
29457
|
+
automationId: string;
|
|
29458
|
+
provider: string;
|
|
29459
|
+
channelId?: string | undefined;
|
|
29460
|
+
threadId?: string | undefined;
|
|
29461
|
+
author?: string | undefined;
|
|
29462
|
+
} | undefined;
|
|
29463
|
+
startedBy?: string | undefined;
|
|
29464
|
+
areas?: string[] | undefined;
|
|
29465
|
+
owner?: {
|
|
29466
|
+
email: string;
|
|
29467
|
+
name?: string | undefined;
|
|
29468
|
+
since: number;
|
|
29469
|
+
} | undefined;
|
|
29470
|
+
forkedFrom?: {
|
|
29471
|
+
conversationId: string;
|
|
29472
|
+
index: number;
|
|
29473
|
+
files: "now" | "then";
|
|
29474
|
+
} | undefined;
|
|
29475
|
+
fresh?: {
|
|
29476
|
+
of: string;
|
|
29477
|
+
kind: "ask" | "review" | "test";
|
|
29478
|
+
at: number;
|
|
29479
|
+
by?: string | undefined;
|
|
29480
|
+
} | undefined;
|
|
29481
|
+
home?: true | undefined;
|
|
29482
|
+
commits?: {
|
|
29483
|
+
land: string;
|
|
29484
|
+
at: number;
|
|
29485
|
+
subject: string;
|
|
29486
|
+
commits: {
|
|
29487
|
+
repo: string;
|
|
29488
|
+
sha: string;
|
|
29489
|
+
}[];
|
|
29490
|
+
}[] | undefined;
|
|
29491
|
+
freshPending?: "asked" | "cleared" | undefined;
|
|
29492
|
+
base?: string | undefined;
|
|
29493
|
+
costUsd?: number | undefined;
|
|
29494
|
+
inputTokens?: number | undefined;
|
|
29495
|
+
outputTokens?: number | undefined;
|
|
29496
|
+
contextTokens?: number | undefined;
|
|
29497
|
+
contextWindow?: number | undefined;
|
|
29498
|
+
promptCache?: {
|
|
29499
|
+
at: number;
|
|
29500
|
+
ttlMs: number;
|
|
29501
|
+
rollsAt?: number | undefined;
|
|
29502
|
+
keepableUntil?: number | undefined;
|
|
29503
|
+
} | undefined;
|
|
29504
|
+
keepWarm?: {
|
|
29505
|
+
since: number;
|
|
29506
|
+
until: number;
|
|
29507
|
+
refreshes: number;
|
|
29508
|
+
readTokens?: number | undefined;
|
|
29509
|
+
ended?: {
|
|
29510
|
+
at: number;
|
|
29511
|
+
reason: "allowance" | "changed" | "cold" | "elapsed" | "failed";
|
|
29512
|
+
detail?: string | undefined;
|
|
29513
|
+
} | undefined;
|
|
29514
|
+
} | undefined;
|
|
29515
|
+
activity?: {
|
|
29516
|
+
tool?: string | undefined;
|
|
29517
|
+
target?: string | undefined;
|
|
29518
|
+
todo?: string | undefined;
|
|
29519
|
+
} | undefined;
|
|
29520
|
+
checklist?: {
|
|
29521
|
+
done: number;
|
|
29522
|
+
total: number;
|
|
29523
|
+
} | undefined;
|
|
29524
|
+
landedMessageDraft?: {
|
|
29525
|
+
startedAt: number;
|
|
29526
|
+
steps: {
|
|
29527
|
+
provider: string;
|
|
29528
|
+
model: string;
|
|
29529
|
+
status: "answered" | "asking" | "refused" | "skipped";
|
|
29530
|
+
at?: number | undefined;
|
|
29531
|
+
ms?: number | undefined;
|
|
29532
|
+
reason?: string | undefined;
|
|
29533
|
+
}[];
|
|
29534
|
+
outcome?: "failed" | "written" | undefined;
|
|
29535
|
+
reason?: string | undefined;
|
|
29536
|
+
finishedAt?: number | undefined;
|
|
29537
|
+
} | undefined;
|
|
29538
|
+
landedMessage?: {
|
|
29539
|
+
subject: string;
|
|
29540
|
+
note?: string | undefined;
|
|
29541
|
+
breaking?: string | undefined;
|
|
29542
|
+
testNote?: string | undefined;
|
|
29543
|
+
allows?: string[] | undefined;
|
|
29544
|
+
} | undefined;
|
|
29545
|
+
startedAt?: number | undefined;
|
|
29546
|
+
run?: string | undefined;
|
|
29547
|
+
queue?: {
|
|
29548
|
+
items: {
|
|
29549
|
+
id: string;
|
|
29550
|
+
text: string;
|
|
29551
|
+
attachments?: string[] | undefined;
|
|
29552
|
+
voice: "agent" | "person" | "sandbox";
|
|
29553
|
+
queuedAt: number;
|
|
29554
|
+
revision: number;
|
|
29555
|
+
until?: number | undefined;
|
|
29556
|
+
after?: string | undefined;
|
|
29557
|
+
reopenOf?: {
|
|
29558
|
+
agent: string;
|
|
29559
|
+
account?: string | undefined;
|
|
29560
|
+
} | undefined;
|
|
29561
|
+
serves?: {
|
|
29562
|
+
agent: string;
|
|
29563
|
+
harness: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor";
|
|
29564
|
+
model?: string | undefined;
|
|
29565
|
+
effort?: string | undefined;
|
|
29566
|
+
account?: string | undefined;
|
|
29567
|
+
} | undefined;
|
|
29568
|
+
continues?: true | undefined;
|
|
29569
|
+
}[];
|
|
29570
|
+
revision: number;
|
|
29571
|
+
paused?: "refused" | "scheduled" | "stopped" | undefined;
|
|
29572
|
+
until?: number | undefined;
|
|
29573
|
+
after?: string | undefined;
|
|
29574
|
+
} | undefined;
|
|
29575
|
+
updatedAt: number;
|
|
29576
|
+
seenAt?: number | undefined;
|
|
29577
|
+
unsentAt?: number | undefined;
|
|
29578
|
+
attention: {
|
|
29579
|
+
plan: boolean;
|
|
29580
|
+
question: boolean;
|
|
29581
|
+
permission: boolean;
|
|
29582
|
+
capability: boolean;
|
|
29583
|
+
credential: boolean;
|
|
29584
|
+
conflict: boolean;
|
|
29585
|
+
need?: boolean | undefined;
|
|
29586
|
+
};
|
|
29587
|
+
permissionAsk?: {
|
|
29588
|
+
requestId: string;
|
|
29589
|
+
ask: string;
|
|
29590
|
+
program?: {
|
|
29591
|
+
text: string;
|
|
29592
|
+
language: "bash" | "javascript";
|
|
29593
|
+
truncated: boolean;
|
|
29594
|
+
spans: {
|
|
29595
|
+
start: number;
|
|
29596
|
+
end: number;
|
|
29597
|
+
}[];
|
|
29598
|
+
} | undefined;
|
|
29599
|
+
} | undefined;
|
|
29600
|
+
landFailure?: {
|
|
29601
|
+
reason: string;
|
|
29602
|
+
code?: string | undefined;
|
|
29603
|
+
at: number;
|
|
29604
|
+
} | undefined;
|
|
29605
|
+
delivery?: {
|
|
29606
|
+
state: "delivered" | "failed" | "partial" | "too-large" | "waiting";
|
|
29607
|
+
at: number;
|
|
29608
|
+
project: string;
|
|
29609
|
+
folder?: string | undefined;
|
|
29610
|
+
applied: number;
|
|
29611
|
+
conflicts: {
|
|
29612
|
+
path: string;
|
|
29613
|
+
reason: "edited" | "link" | "missing-git" | "outside";
|
|
29614
|
+
}[];
|
|
29615
|
+
point?: string | undefined;
|
|
29616
|
+
reason?: string | undefined;
|
|
29617
|
+
} | undefined;
|
|
29618
|
+
conflictCauses?: ("binary" | "diverged" | "workspace")[] | undefined;
|
|
29619
|
+
unfinished?: {
|
|
29620
|
+
at: number;
|
|
29621
|
+
steps?: {
|
|
29622
|
+
open: number;
|
|
29623
|
+
total: number;
|
|
29624
|
+
next?: string | undefined;
|
|
29625
|
+
} | undefined;
|
|
29626
|
+
check?: string | undefined;
|
|
29627
|
+
} | undefined;
|
|
29628
|
+
proof?: {
|
|
29629
|
+
at: number;
|
|
29630
|
+
verification: "failing" | "no-code" | "unproven" | "verified";
|
|
29631
|
+
check?: string | undefined;
|
|
29632
|
+
unviewed?: number | undefined;
|
|
29633
|
+
} | undefined;
|
|
29634
|
+
review?: {
|
|
29635
|
+
at: number;
|
|
29636
|
+
source: "claude" | "codex";
|
|
29637
|
+
findings: number;
|
|
29638
|
+
open: number;
|
|
29639
|
+
} | undefined;
|
|
29640
|
+
reach?: {
|
|
29641
|
+
at: number;
|
|
29642
|
+
live?: {
|
|
29643
|
+
path: string;
|
|
29644
|
+
extension?: string | undefined;
|
|
29645
|
+
}[] | undefined;
|
|
29646
|
+
liveMore?: number | undefined;
|
|
29647
|
+
stranded?: {
|
|
29648
|
+
dir: string;
|
|
29649
|
+
uncommitted: number;
|
|
29650
|
+
unpushed: number;
|
|
29651
|
+
}[] | undefined;
|
|
29652
|
+
strandedMore?: number | undefined;
|
|
29653
|
+
published?: {
|
|
29654
|
+
dir?: string | undefined;
|
|
29655
|
+
remote?: string | undefined;
|
|
29656
|
+
branch?: string | undefined;
|
|
29657
|
+
command: string;
|
|
29658
|
+
}[] | undefined;
|
|
29659
|
+
publishedMore?: number | undefined;
|
|
29660
|
+
} | undefined;
|
|
29661
|
+
turns?: number | undefined;
|
|
29662
|
+
toolUses?: number | undefined;
|
|
29663
|
+
subagents?: {
|
|
29664
|
+
running: number;
|
|
29665
|
+
total: number;
|
|
29666
|
+
} | undefined;
|
|
29667
|
+
diff?: {
|
|
29668
|
+
files: number;
|
|
29669
|
+
insertions: number;
|
|
29670
|
+
deletions: number;
|
|
29671
|
+
} | undefined;
|
|
29672
|
+
modules?: string[] | undefined;
|
|
29673
|
+
landedPresence?: {
|
|
29674
|
+
landed: number;
|
|
29675
|
+
present: number;
|
|
29676
|
+
removedBy?: {
|
|
29677
|
+
kind: "agent";
|
|
29678
|
+
id: string;
|
|
29679
|
+
title?: string | undefined;
|
|
29680
|
+
} | {
|
|
29681
|
+
kind: "person";
|
|
29682
|
+
email?: string | undefined;
|
|
29683
|
+
name?: string | undefined;
|
|
29684
|
+
} | undefined;
|
|
29685
|
+
} | undefined;
|
|
29686
|
+
loop?: {
|
|
29687
|
+
state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
|
|
29688
|
+
iteration: number;
|
|
29689
|
+
maxIterations: number;
|
|
29690
|
+
goal: string;
|
|
29691
|
+
} | undefined;
|
|
29692
|
+
workflow?: {
|
|
29693
|
+
runId: string;
|
|
29694
|
+
name: string;
|
|
29695
|
+
step: string;
|
|
29696
|
+
index: number;
|
|
29697
|
+
total: number;
|
|
29698
|
+
} | undefined;
|
|
29699
|
+
awaitingWake?: boolean | undefined;
|
|
29700
|
+
watches?: {
|
|
29701
|
+
id: string;
|
|
29702
|
+
note: string;
|
|
29703
|
+
intervalSeconds: number;
|
|
29704
|
+
deadlineAt: number;
|
|
29705
|
+
}[] | undefined;
|
|
29706
|
+
needs?: {
|
|
29707
|
+
id: string;
|
|
29708
|
+
kind: "automation" | "capability" | "environment" | "grant" | "release" | "secret";
|
|
29709
|
+
title: string;
|
|
29710
|
+
status: "cancelled" | "declined" | "met" | "open" | "working";
|
|
29711
|
+
}[] | undefined;
|
|
29712
|
+
jobs?: {
|
|
29713
|
+
id: string;
|
|
29714
|
+
label: string;
|
|
29715
|
+
session: string;
|
|
29716
|
+
startedAt: number;
|
|
29717
|
+
endedAt?: number | undefined;
|
|
29718
|
+
exitCode?: number | undefined;
|
|
29719
|
+
watch?: string | undefined;
|
|
29720
|
+
handed?: boolean | undefined;
|
|
29721
|
+
ports?: number[] | undefined;
|
|
29722
|
+
stoppedBy?: "agent" | "person" | "turn" | undefined;
|
|
29723
|
+
inputWait?: {
|
|
29724
|
+
since: number;
|
|
29725
|
+
program: string;
|
|
29726
|
+
} | undefined;
|
|
29727
|
+
}[] | undefined;
|
|
29728
|
+
archivedAt?: number | undefined;
|
|
29729
|
+
}[];
|
|
29730
|
+
rev: number;
|
|
29731
|
+
since: number;
|
|
29732
|
+
} | {
|
|
29733
|
+
kind: "accountUsage";
|
|
29734
|
+
provider: string;
|
|
29735
|
+
account: string;
|
|
29736
|
+
usage?: {
|
|
29737
|
+
windows: {
|
|
29738
|
+
kind: string;
|
|
29739
|
+
label?: string | undefined;
|
|
29740
|
+
utilization: number;
|
|
29741
|
+
resetsAt?: number | undefined;
|
|
29742
|
+
gates: "all" | "none" | {
|
|
29743
|
+
models: string[];
|
|
29744
|
+
};
|
|
29745
|
+
rounded?: boolean | undefined;
|
|
29746
|
+
lapsedAt?: number | undefined;
|
|
29747
|
+
missingSince?: number | undefined;
|
|
29748
|
+
}[];
|
|
29749
|
+
measuredAt: number;
|
|
29750
|
+
unread?: {
|
|
29751
|
+
since: number;
|
|
29752
|
+
reason: string;
|
|
29753
|
+
} | undefined;
|
|
29754
|
+
uncovered?: string[] | undefined;
|
|
29755
|
+
contradicted?: {
|
|
29756
|
+
at: number;
|
|
29757
|
+
model: string;
|
|
29758
|
+
} | undefined;
|
|
29759
|
+
} | undefined;
|
|
29760
|
+
} | {
|
|
29761
|
+
kind: "providerRefusal";
|
|
29762
|
+
provider: string;
|
|
29763
|
+
refusals?: {
|
|
29764
|
+
at: number;
|
|
29765
|
+
kind: "auth" | "entitlement" | "limit";
|
|
29766
|
+
message: string;
|
|
29767
|
+
account?: string | undefined;
|
|
29768
|
+
model?: string | undefined;
|
|
29769
|
+
resetsAt?: number | undefined;
|
|
29770
|
+
poolResetsAt?: number | undefined;
|
|
29771
|
+
unmetered?: true | undefined;
|
|
29772
|
+
byHand?: true | undefined;
|
|
29773
|
+
}[] | undefined;
|
|
29774
|
+
refusal?: {
|
|
29775
|
+
at: number;
|
|
29776
|
+
kind: "auth" | "entitlement" | "limit";
|
|
29777
|
+
message: string;
|
|
29778
|
+
account?: string | undefined;
|
|
29779
|
+
model?: string | undefined;
|
|
29780
|
+
resetsAt?: number | undefined;
|
|
29781
|
+
poolResetsAt?: number | undefined;
|
|
29782
|
+
unmetered?: true | undefined;
|
|
29783
|
+
byHand?: true | undefined;
|
|
29784
|
+
} | undefined;
|
|
29785
|
+
} | {
|
|
29786
|
+
from: number;
|
|
29787
|
+
generation: number;
|
|
29788
|
+
dirs: {
|
|
29789
|
+
path: string;
|
|
29790
|
+
entries: import("./schemas/workspace/workspace-tree.js").WorkspaceTreeEntry[];
|
|
29791
|
+
}[];
|
|
29792
|
+
barren?: string[] | undefined;
|
|
29793
|
+
kind: "treeChanged";
|
|
29794
|
+
}, unknown, void>> & {
|
|
29795
|
+
[x: symbol]: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29796
|
+
kind: z.ZodLiteral<"hello">;
|
|
29797
|
+
workspaceId: z.ZodString;
|
|
29798
|
+
routes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29799
|
+
shapes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29800
|
+
rawRoutes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29801
|
+
rawFingerprints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29802
|
+
uploadEncodings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29803
|
+
voiceCodecs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29804
|
+
build: z.ZodOptional<z.ZodString>;
|
|
29805
|
+
boot: z.ZodOptional<z.ZodObject<{
|
|
29806
|
+
ready: z.ZodBoolean;
|
|
29807
|
+
startedAt: z.ZodNumber;
|
|
29808
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
29809
|
+
key: z.ZodString;
|
|
29810
|
+
label: z.ZodString;
|
|
29811
|
+
state: z.ZodEnum<{
|
|
29812
|
+
done: "done";
|
|
29813
|
+
failed: "failed";
|
|
29814
|
+
pending: "pending";
|
|
29815
|
+
running: "running";
|
|
29816
|
+
}>;
|
|
29817
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
29818
|
+
}, z.core.$strip>>;
|
|
29819
|
+
}, z.core.$strip>>;
|
|
29820
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
29821
|
+
surface: z.ZodOptional<z.ZodEnum<{
|
|
29822
|
+
folder: "folder";
|
|
29823
|
+
sandbox: "sandbox";
|
|
29824
|
+
}>>;
|
|
29825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29826
|
+
kind: z.ZodLiteral<"heartbeat">;
|
|
29827
|
+
rev: z.ZodNumber;
|
|
29828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29829
|
+
ready: z.ZodBoolean;
|
|
29830
|
+
startedAt: z.ZodNumber;
|
|
29831
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
29832
|
+
key: z.ZodString;
|
|
29833
|
+
label: z.ZodString;
|
|
29834
|
+
state: z.ZodEnum<{
|
|
29835
|
+
done: "done";
|
|
29836
|
+
failed: "failed";
|
|
29837
|
+
pending: "pending";
|
|
29838
|
+
running: "running";
|
|
29839
|
+
}>;
|
|
29840
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
29841
|
+
}, z.core.$strip>>;
|
|
29842
|
+
kind: z.ZodLiteral<"boot">;
|
|
29843
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29844
|
+
kind: z.ZodLiteral<"workspaceChanged">;
|
|
29845
|
+
paths: z.ZodArray<z.ZodString>;
|
|
29846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29847
|
+
from: z.ZodNumber;
|
|
29848
|
+
generation: z.ZodNumber;
|
|
29849
|
+
dirs: z.ZodArray<z.ZodObject<{
|
|
29850
|
+
path: z.ZodString;
|
|
29851
|
+
entries: z.ZodArray<z.ZodType<import("./schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown, z.core.$ZodTypeInternals<import("./schemas/workspace/workspace-tree.js").WorkspaceTreeEntry, unknown>>>;
|
|
29852
|
+
}, z.core.$strip>>;
|
|
29853
|
+
barren: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29854
|
+
kind: z.ZodLiteral<"treeChanged">;
|
|
29855
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29856
|
+
kind: z.ZodLiteral<"derivedChanged">;
|
|
29857
|
+
paths: z.ZodArray<z.ZodString>;
|
|
29858
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29859
|
+
kind: z.ZodLiteral<"reposChanged">;
|
|
29860
|
+
repos: z.ZodArray<z.ZodString>;
|
|
29861
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29862
|
+
kind: z.ZodLiteral<"refsChanged">;
|
|
29863
|
+
repos: z.ZodArray<z.ZodString>;
|
|
29864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29865
|
+
kind: z.ZodLiteral<"runtimeChanged">;
|
|
29866
|
+
domains: z.ZodArray<z.ZodString>;
|
|
29867
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29868
|
+
kind: z.ZodLiteral<"presence">;
|
|
29869
|
+
users: z.ZodArray<z.ZodObject<{
|
|
29870
|
+
clientId: z.ZodString;
|
|
29871
|
+
email: z.ZodString;
|
|
29872
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29873
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
29874
|
+
role: z.ZodEnum<{
|
|
29875
|
+
collaborator: "collaborator";
|
|
29876
|
+
guest: "guest";
|
|
29877
|
+
maintainer: "maintainer";
|
|
29878
|
+
owner: "owner";
|
|
29879
|
+
viewer: "viewer";
|
|
29880
|
+
writer: "writer";
|
|
29881
|
+
}>;
|
|
29882
|
+
idle: z.ZodBoolean;
|
|
29883
|
+
away: z.ZodOptional<z.ZodBoolean>;
|
|
29884
|
+
view: z.ZodOptional<z.ZodString>;
|
|
29885
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
29886
|
+
path: z.ZodOptional<z.ZodString>;
|
|
29887
|
+
}, z.core.$strip>>;
|
|
29888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29889
|
+
kind: z.ZodLiteral<"agents">;
|
|
29890
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
29891
|
+
id: z.ZodString;
|
|
29892
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
29893
|
+
title: z.ZodOptional<z.ZodString>;
|
|
29894
|
+
titleAction: z.ZodOptional<z.ZodString>;
|
|
29895
|
+
status: z.ZodEnum<{
|
|
29896
|
+
awaiting: "awaiting";
|
|
29897
|
+
conflict: "conflict";
|
|
29898
|
+
dismissing: "dismissing";
|
|
29899
|
+
error: "error";
|
|
29900
|
+
idle: "idle";
|
|
29901
|
+
interrupted: "interrupted";
|
|
29902
|
+
landed: "landed";
|
|
29903
|
+
landing: "landing";
|
|
29904
|
+
ready: "ready";
|
|
29905
|
+
resuming: "resuming";
|
|
29906
|
+
running: "running";
|
|
29907
|
+
stopped: "stopped";
|
|
29908
|
+
stopping: "stopping";
|
|
29909
|
+
}>;
|
|
29910
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
29911
|
+
failureCode: z.ZodOptional<z.ZodString>;
|
|
29912
|
+
failureOwn: z.ZodOptional<z.ZodBoolean>;
|
|
29913
|
+
limitResetsAt: z.ZodOptional<z.ZodNumber>;
|
|
29914
|
+
limitHeld: z.ZodOptional<z.ZodBoolean>;
|
|
29915
|
+
limitScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
29916
|
+
limitMoving: z.ZodOptional<z.ZodString>;
|
|
29917
|
+
limitNextAt: z.ZodOptional<z.ZodNumber>;
|
|
29918
|
+
next: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29919
|
+
kind: z.ZodLiteral<"rerun">;
|
|
29920
|
+
at: z.ZodNumber;
|
|
29921
|
+
onto: z.ZodOptional<z.ZodString>;
|
|
29922
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29923
|
+
kind: z.ZodLiteral<"room">;
|
|
29924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29925
|
+
kind: z.ZodLiteral<"send">;
|
|
29926
|
+
at: z.ZodNumber;
|
|
29927
|
+
count: z.ZodNumber;
|
|
29928
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29929
|
+
kind: z.ZodLiteral<"land">;
|
|
29930
|
+
after: z.ZodString;
|
|
29931
|
+
count: z.ZodNumber;
|
|
29932
|
+
}, z.core.$strip>], "kind">>;
|
|
29933
|
+
provider: z.ZodString;
|
|
29934
|
+
harness: z.ZodEnum<{
|
|
29935
|
+
"claude-code": "claude-code";
|
|
29936
|
+
codex: "codex";
|
|
29937
|
+
muse: "muse";
|
|
29938
|
+
native: "native";
|
|
29939
|
+
opencode: "opencode";
|
|
29940
|
+
pi: "pi";
|
|
29941
|
+
vendor: "vendor";
|
|
29942
|
+
}>;
|
|
29943
|
+
runner: z.ZodOptional<z.ZodString>;
|
|
29944
|
+
startIn: z.ZodOptional<z.ZodString>;
|
|
29945
|
+
actsAs: z.ZodOptional<z.ZodString>;
|
|
29946
|
+
lastActsAs: z.ZodOptional<z.ZodString>;
|
|
29947
|
+
model: z.ZodOptional<z.ZodString>;
|
|
29948
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
29949
|
+
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
29950
|
+
fast: z.ZodOptional<z.ZodBoolean>;
|
|
29951
|
+
account: z.ZodOptional<z.ZodString>;
|
|
29952
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
29953
|
+
autoLand: z.ZodOptional<z.ZodBoolean>;
|
|
29954
|
+
limitPolicy: z.ZodOptional<z.ZodEnum<{
|
|
29955
|
+
move: "move";
|
|
29956
|
+
resend: "resend";
|
|
29957
|
+
wait: "wait";
|
|
29958
|
+
}>>;
|
|
29959
|
+
outagePolicy: z.ZodOptional<z.ZodEnum<{
|
|
29960
|
+
retry: "retry";
|
|
29961
|
+
wait: "wait";
|
|
29962
|
+
}>>;
|
|
29963
|
+
stopPolicy: z.ZodOptional<z.ZodEnum<{
|
|
29964
|
+
retry: "retry";
|
|
29965
|
+
wait: "wait";
|
|
29966
|
+
}>>;
|
|
29967
|
+
memoryPolicy: z.ZodOptional<z.ZodEnum<{
|
|
29968
|
+
resend: "resend";
|
|
29969
|
+
wait: "wait";
|
|
29970
|
+
}>>;
|
|
29971
|
+
landRequested: z.ZodOptional<z.ZodObject<{
|
|
29972
|
+
email: z.ZodString;
|
|
29973
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29974
|
+
at: z.ZodNumber;
|
|
29975
|
+
}, z.core.$strip>>;
|
|
29976
|
+
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29977
|
+
emoji: z.ZodString;
|
|
29978
|
+
by: z.ZodArray<z.ZodObject<{
|
|
29979
|
+
email: z.ZodString;
|
|
29980
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29981
|
+
at: z.ZodNumber;
|
|
29982
|
+
}, z.core.$strip>>;
|
|
29983
|
+
}, z.core.$strip>>>;
|
|
29984
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
29985
|
+
automationId: z.ZodString;
|
|
29986
|
+
provider: z.ZodString;
|
|
29987
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
29988
|
+
threadId: z.ZodOptional<z.ZodString>;
|
|
29989
|
+
author: z.ZodOptional<z.ZodString>;
|
|
29990
|
+
}, z.core.$strip>>;
|
|
29991
|
+
startedBy: z.ZodOptional<z.ZodString>;
|
|
29992
|
+
areas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29993
|
+
owner: z.ZodOptional<z.ZodObject<{
|
|
29994
|
+
email: z.ZodString;
|
|
29995
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29996
|
+
since: z.ZodNumber;
|
|
29997
|
+
}, z.core.$strip>>;
|
|
29998
|
+
forkedFrom: z.ZodOptional<z.ZodObject<{
|
|
29999
|
+
conversationId: z.ZodString;
|
|
30000
|
+
index: z.ZodNumber;
|
|
30001
|
+
files: z.ZodEnum<{
|
|
30002
|
+
now: "now";
|
|
30003
|
+
then: "then";
|
|
30004
|
+
}>;
|
|
30005
|
+
}, z.core.$strip>>;
|
|
30006
|
+
fresh: z.ZodOptional<z.ZodObject<{
|
|
30007
|
+
of: z.ZodString;
|
|
30008
|
+
kind: z.ZodEnum<{
|
|
30009
|
+
ask: "ask";
|
|
30010
|
+
review: "review";
|
|
30011
|
+
test: "test";
|
|
30012
|
+
}>;
|
|
30013
|
+
at: z.ZodNumber;
|
|
30014
|
+
by: z.ZodOptional<z.ZodString>;
|
|
30015
|
+
}, z.core.$strip>>;
|
|
30016
|
+
home: z.ZodOptional<z.ZodLiteral<true>>;
|
|
30017
|
+
commits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30018
|
+
land: z.ZodString;
|
|
30019
|
+
at: z.ZodNumber;
|
|
30020
|
+
subject: z.ZodString;
|
|
30021
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
30022
|
+
repo: z.ZodString;
|
|
30023
|
+
sha: z.ZodString;
|
|
30024
|
+
}, z.core.$strip>>;
|
|
30025
|
+
}, z.core.$strip>>>;
|
|
30026
|
+
freshPending: z.ZodOptional<z.ZodEnum<{
|
|
30027
|
+
asked: "asked";
|
|
30028
|
+
cleared: "cleared";
|
|
30029
|
+
}>>;
|
|
30030
|
+
base: z.ZodOptional<z.ZodString>;
|
|
30031
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
30032
|
+
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
30033
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
30034
|
+
contextTokens: z.ZodOptional<z.ZodNumber>;
|
|
30035
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
30036
|
+
promptCache: z.ZodOptional<z.ZodObject<{
|
|
30037
|
+
at: z.ZodNumber;
|
|
30038
|
+
ttlMs: z.ZodNumber;
|
|
30039
|
+
rollsAt: z.ZodOptional<z.ZodNumber>;
|
|
30040
|
+
keepableUntil: z.ZodOptional<z.ZodNumber>;
|
|
30041
|
+
}, z.core.$strip>>;
|
|
30042
|
+
keepWarm: z.ZodOptional<z.ZodObject<{
|
|
30043
|
+
since: z.ZodNumber;
|
|
30044
|
+
until: z.ZodNumber;
|
|
30045
|
+
refreshes: z.ZodNumber;
|
|
30046
|
+
readTokens: z.ZodOptional<z.ZodNumber>;
|
|
30047
|
+
ended: z.ZodOptional<z.ZodObject<{
|
|
30048
|
+
at: z.ZodNumber;
|
|
30049
|
+
reason: z.ZodEnum<{
|
|
30050
|
+
allowance: "allowance";
|
|
30051
|
+
changed: "changed";
|
|
30052
|
+
cold: "cold";
|
|
30053
|
+
elapsed: "elapsed";
|
|
30054
|
+
failed: "failed";
|
|
30055
|
+
}>;
|
|
30056
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
30057
|
+
}, z.core.$strip>>;
|
|
30058
|
+
}, z.core.$strip>>;
|
|
30059
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
30060
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
30061
|
+
target: z.ZodOptional<z.ZodString>;
|
|
30062
|
+
todo: z.ZodOptional<z.ZodString>;
|
|
30063
|
+
}, z.core.$strip>>;
|
|
30064
|
+
checklist: z.ZodOptional<z.ZodObject<{
|
|
30065
|
+
done: z.ZodNumber;
|
|
30066
|
+
total: z.ZodNumber;
|
|
30067
|
+
}, z.core.$strip>>;
|
|
30068
|
+
landedMessageDraft: z.ZodOptional<z.ZodObject<{
|
|
30069
|
+
startedAt: z.ZodNumber;
|
|
30070
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
30071
|
+
provider: z.ZodString;
|
|
30072
|
+
model: z.ZodString;
|
|
30073
|
+
status: z.ZodEnum<{
|
|
30074
|
+
answered: "answered";
|
|
30075
|
+
asking: "asking";
|
|
30076
|
+
refused: "refused";
|
|
30077
|
+
skipped: "skipped";
|
|
30078
|
+
}>;
|
|
30079
|
+
at: z.ZodOptional<z.ZodNumber>;
|
|
30080
|
+
ms: z.ZodOptional<z.ZodNumber>;
|
|
30081
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
30082
|
+
}, z.core.$strip>>;
|
|
30083
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
30084
|
+
failed: "failed";
|
|
30085
|
+
written: "written";
|
|
30086
|
+
}>>;
|
|
30087
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
30088
|
+
finishedAt: z.ZodOptional<z.ZodNumber>;
|
|
30089
|
+
}, z.core.$strip>>;
|
|
30090
|
+
landedMessage: z.ZodOptional<z.ZodObject<{
|
|
30091
|
+
subject: z.ZodString;
|
|
30092
|
+
note: z.ZodOptional<z.ZodString>;
|
|
30093
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
30094
|
+
testNote: z.ZodOptional<z.ZodString>;
|
|
30095
|
+
allows: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30096
|
+
}, z.core.$strip>>;
|
|
30097
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
30098
|
+
run: z.ZodOptional<z.ZodString>;
|
|
30099
|
+
queue: z.ZodOptional<z.ZodObject<{
|
|
30100
|
+
items: z.ZodArray<z.ZodObject<{
|
|
30101
|
+
id: z.ZodString;
|
|
30102
|
+
text: z.ZodString;
|
|
30103
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30104
|
+
voice: z.ZodEnum<{
|
|
30105
|
+
agent: "agent";
|
|
30106
|
+
person: "person";
|
|
30107
|
+
sandbox: "sandbox";
|
|
30108
|
+
}>;
|
|
30109
|
+
queuedAt: z.ZodNumber;
|
|
30110
|
+
revision: z.ZodNumber;
|
|
30111
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
30112
|
+
after: z.ZodOptional<z.ZodString>;
|
|
30113
|
+
reopenOf: z.ZodOptional<z.ZodObject<{
|
|
30114
|
+
agent: z.ZodString;
|
|
30115
|
+
account: z.ZodOptional<z.ZodString>;
|
|
30116
|
+
}, z.core.$strip>>;
|
|
30117
|
+
serves: z.ZodOptional<z.ZodObject<{
|
|
30118
|
+
agent: z.ZodString;
|
|
30119
|
+
harness: z.ZodEnum<{
|
|
30120
|
+
"claude-code": "claude-code";
|
|
30121
|
+
codex: "codex";
|
|
30122
|
+
muse: "muse";
|
|
30123
|
+
native: "native";
|
|
30124
|
+
opencode: "opencode";
|
|
30125
|
+
pi: "pi";
|
|
30126
|
+
vendor: "vendor";
|
|
30127
|
+
}>;
|
|
30128
|
+
model: z.ZodOptional<z.ZodString>;
|
|
30129
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
30130
|
+
account: z.ZodOptional<z.ZodString>;
|
|
30131
|
+
}, z.core.$strip>>;
|
|
30132
|
+
continues: z.ZodOptional<z.ZodLiteral<true>>;
|
|
30133
|
+
}, z.core.$strip>>;
|
|
30134
|
+
revision: z.ZodNumber;
|
|
30135
|
+
paused: z.ZodOptional<z.ZodEnum<{
|
|
30136
|
+
refused: "refused";
|
|
30137
|
+
scheduled: "scheduled";
|
|
30138
|
+
stopped: "stopped";
|
|
30139
|
+
}>>;
|
|
30140
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
30141
|
+
after: z.ZodOptional<z.ZodString>;
|
|
30142
|
+
}, z.core.$strip>>;
|
|
30143
|
+
updatedAt: z.ZodNumber;
|
|
30144
|
+
seenAt: z.ZodOptional<z.ZodNumber>;
|
|
30145
|
+
unsentAt: z.ZodOptional<z.ZodNumber>;
|
|
30146
|
+
attention: z.ZodObject<{
|
|
30147
|
+
plan: z.ZodBoolean;
|
|
30148
|
+
question: z.ZodBoolean;
|
|
30149
|
+
permission: z.ZodBoolean;
|
|
30150
|
+
capability: z.ZodBoolean;
|
|
30151
|
+
credential: z.ZodBoolean;
|
|
30152
|
+
conflict: z.ZodBoolean;
|
|
30153
|
+
need: z.ZodOptional<z.ZodBoolean>;
|
|
30154
|
+
}, z.core.$strip>;
|
|
30155
|
+
permissionAsk: z.ZodOptional<z.ZodObject<{
|
|
30156
|
+
requestId: z.ZodString;
|
|
30157
|
+
ask: z.ZodString;
|
|
30158
|
+
program: z.ZodOptional<z.ZodObject<{
|
|
30159
|
+
text: z.ZodString;
|
|
30160
|
+
language: z.ZodEnum<{
|
|
30161
|
+
bash: "bash";
|
|
30162
|
+
javascript: "javascript";
|
|
30163
|
+
}>;
|
|
30164
|
+
truncated: z.ZodBoolean;
|
|
30165
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
30166
|
+
start: z.ZodNumber;
|
|
30167
|
+
end: z.ZodNumber;
|
|
30168
|
+
}, z.core.$strip>>;
|
|
30169
|
+
}, z.core.$strip>>;
|
|
30170
|
+
}, z.core.$strip>>;
|
|
30171
|
+
landFailure: z.ZodOptional<z.ZodObject<{
|
|
30172
|
+
reason: z.ZodString;
|
|
30173
|
+
code: z.ZodOptional<z.ZodString>;
|
|
30174
|
+
at: z.ZodNumber;
|
|
30175
|
+
}, z.core.$strip>>;
|
|
30176
|
+
delivery: z.ZodOptional<z.ZodObject<{
|
|
30177
|
+
state: z.ZodEnum<{
|
|
30178
|
+
delivered: "delivered";
|
|
30179
|
+
failed: "failed";
|
|
30180
|
+
partial: "partial";
|
|
30181
|
+
"too-large": "too-large";
|
|
30182
|
+
waiting: "waiting";
|
|
30183
|
+
}>;
|
|
30184
|
+
at: z.ZodNumber;
|
|
30185
|
+
project: z.ZodString;
|
|
30186
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
30187
|
+
applied: z.ZodNumber;
|
|
30188
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
30189
|
+
path: z.ZodString;
|
|
30190
|
+
reason: z.ZodEnum<{
|
|
30191
|
+
edited: "edited";
|
|
30192
|
+
link: "link";
|
|
30193
|
+
"missing-git": "missing-git";
|
|
30194
|
+
outside: "outside";
|
|
30195
|
+
}>;
|
|
30196
|
+
}, z.core.$strip>>;
|
|
30197
|
+
point: z.ZodOptional<z.ZodString>;
|
|
30198
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
30199
|
+
}, z.core.$strip>>;
|
|
30200
|
+
conflictCauses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
30201
|
+
binary: "binary";
|
|
30202
|
+
diverged: "diverged";
|
|
30203
|
+
workspace: "workspace";
|
|
30204
|
+
}>>>;
|
|
30205
|
+
unfinished: z.ZodOptional<z.ZodObject<{
|
|
30206
|
+
at: z.ZodNumber;
|
|
30207
|
+
steps: z.ZodOptional<z.ZodObject<{
|
|
30208
|
+
open: z.ZodNumber;
|
|
30209
|
+
total: z.ZodNumber;
|
|
30210
|
+
next: z.ZodOptional<z.ZodString>;
|
|
30211
|
+
}, z.core.$strip>>;
|
|
30212
|
+
check: z.ZodOptional<z.ZodString>;
|
|
30213
|
+
}, z.core.$strip>>;
|
|
30214
|
+
proof: z.ZodOptional<z.ZodObject<{
|
|
30215
|
+
at: z.ZodNumber;
|
|
30216
|
+
verification: z.ZodEnum<{
|
|
30217
|
+
failing: "failing";
|
|
30218
|
+
"no-code": "no-code";
|
|
30219
|
+
unproven: "unproven";
|
|
30220
|
+
verified: "verified";
|
|
30221
|
+
}>;
|
|
30222
|
+
check: z.ZodOptional<z.ZodString>;
|
|
30223
|
+
unviewed: z.ZodOptional<z.ZodNumber>;
|
|
30224
|
+
}, z.core.$strip>>;
|
|
30225
|
+
review: z.ZodOptional<z.ZodObject<{
|
|
30226
|
+
at: z.ZodNumber;
|
|
30227
|
+
source: z.ZodEnum<{
|
|
30228
|
+
claude: "claude";
|
|
30229
|
+
codex: "codex";
|
|
30230
|
+
}>;
|
|
30231
|
+
findings: z.ZodNumber;
|
|
30232
|
+
open: z.ZodNumber;
|
|
30233
|
+
}, z.core.$strip>>;
|
|
30234
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
30235
|
+
at: z.ZodNumber;
|
|
30236
|
+
live: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30237
|
+
path: z.ZodString;
|
|
30238
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
30239
|
+
}, z.core.$strip>>>;
|
|
30240
|
+
liveMore: z.ZodOptional<z.ZodNumber>;
|
|
30241
|
+
stranded: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30242
|
+
dir: z.ZodString;
|
|
30243
|
+
uncommitted: z.ZodNumber;
|
|
30244
|
+
unpushed: z.ZodNumber;
|
|
30245
|
+
}, z.core.$strip>>>;
|
|
30246
|
+
strandedMore: z.ZodOptional<z.ZodNumber>;
|
|
30247
|
+
published: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30248
|
+
dir: z.ZodOptional<z.ZodString>;
|
|
30249
|
+
remote: z.ZodOptional<z.ZodString>;
|
|
30250
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
30251
|
+
command: z.ZodString;
|
|
30252
|
+
}, z.core.$strip>>>;
|
|
30253
|
+
publishedMore: z.ZodOptional<z.ZodNumber>;
|
|
30254
|
+
}, z.core.$strip>>;
|
|
30255
|
+
turns: z.ZodOptional<z.ZodNumber>;
|
|
30256
|
+
toolUses: z.ZodOptional<z.ZodNumber>;
|
|
30257
|
+
subagents: z.ZodOptional<z.ZodObject<{
|
|
30258
|
+
running: z.ZodNumber;
|
|
30259
|
+
total: z.ZodNumber;
|
|
30260
|
+
}, z.core.$strip>>;
|
|
30261
|
+
diff: z.ZodOptional<z.ZodObject<{
|
|
30262
|
+
files: z.ZodNumber;
|
|
30263
|
+
insertions: z.ZodNumber;
|
|
30264
|
+
deletions: z.ZodNumber;
|
|
30265
|
+
}, z.core.$strip>>;
|
|
30266
|
+
modules: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30267
|
+
landedPresence: z.ZodOptional<z.ZodObject<{
|
|
30268
|
+
landed: z.ZodNumber;
|
|
30269
|
+
present: z.ZodNumber;
|
|
30270
|
+
removedBy: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30271
|
+
kind: z.ZodLiteral<"agent">;
|
|
30272
|
+
id: z.ZodString;
|
|
30273
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30275
|
+
kind: z.ZodLiteral<"person">;
|
|
30276
|
+
email: z.ZodOptional<z.ZodString>;
|
|
30277
|
+
name: z.ZodOptional<z.ZodString>;
|
|
30278
|
+
}, z.core.$strip>], "kind">>;
|
|
30279
|
+
}, z.core.$strip>>;
|
|
30280
|
+
loop: z.ZodOptional<z.ZodObject<{
|
|
30281
|
+
state: z.ZodEnum<{
|
|
30282
|
+
done: "done";
|
|
30283
|
+
error: "error";
|
|
30284
|
+
exhausted: "exhausted";
|
|
30285
|
+
overspent: "overspent";
|
|
30286
|
+
running: "running";
|
|
30287
|
+
stalled: "stalled";
|
|
30288
|
+
stopped: "stopped";
|
|
30289
|
+
unpriced: "unpriced";
|
|
30290
|
+
}>;
|
|
30291
|
+
iteration: z.ZodNumber;
|
|
30292
|
+
maxIterations: z.ZodNumber;
|
|
30293
|
+
goal: z.ZodString;
|
|
30294
|
+
}, z.core.$strip>>;
|
|
30295
|
+
workflow: z.ZodOptional<z.ZodObject<{
|
|
30296
|
+
runId: z.ZodString;
|
|
30297
|
+
name: z.ZodString;
|
|
30298
|
+
step: z.ZodString;
|
|
30299
|
+
index: z.ZodNumber;
|
|
30300
|
+
total: z.ZodNumber;
|
|
30301
|
+
}, z.core.$strip>>;
|
|
30302
|
+
awaitingWake: z.ZodOptional<z.ZodBoolean>;
|
|
30303
|
+
watches: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30304
|
+
id: z.ZodString;
|
|
30305
|
+
note: z.ZodString;
|
|
30306
|
+
intervalSeconds: z.ZodNumber;
|
|
30307
|
+
deadlineAt: z.ZodNumber;
|
|
30308
|
+
}, z.core.$strip>>>;
|
|
30309
|
+
needs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30310
|
+
id: z.ZodString;
|
|
30311
|
+
kind: z.ZodEnum<{
|
|
30312
|
+
automation: "automation";
|
|
30313
|
+
capability: "capability";
|
|
30314
|
+
environment: "environment";
|
|
30315
|
+
grant: "grant";
|
|
30316
|
+
release: "release";
|
|
30317
|
+
secret: "secret";
|
|
30318
|
+
}>;
|
|
30319
|
+
title: z.ZodString;
|
|
30320
|
+
status: z.ZodEnum<{
|
|
30321
|
+
cancelled: "cancelled";
|
|
30322
|
+
declined: "declined";
|
|
30323
|
+
met: "met";
|
|
30324
|
+
open: "open";
|
|
30325
|
+
working: "working";
|
|
30326
|
+
}>;
|
|
30327
|
+
}, z.core.$strip>>>;
|
|
30328
|
+
jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30329
|
+
id: z.ZodString;
|
|
30330
|
+
label: z.ZodString;
|
|
30331
|
+
session: z.ZodString;
|
|
30332
|
+
startedAt: z.ZodNumber;
|
|
30333
|
+
endedAt: z.ZodOptional<z.ZodNumber>;
|
|
30334
|
+
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
30335
|
+
watch: z.ZodOptional<z.ZodString>;
|
|
30336
|
+
handed: z.ZodOptional<z.ZodBoolean>;
|
|
30337
|
+
ports: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
30338
|
+
stoppedBy: z.ZodOptional<z.ZodEnum<{
|
|
30339
|
+
agent: "agent";
|
|
30340
|
+
person: "person";
|
|
30341
|
+
turn: "turn";
|
|
30342
|
+
}>>;
|
|
30343
|
+
inputWait: z.ZodOptional<z.ZodObject<{
|
|
30344
|
+
since: z.ZodNumber;
|
|
30345
|
+
program: z.ZodString;
|
|
30346
|
+
}, z.core.$strip>>;
|
|
30347
|
+
}, z.core.$strip>>>;
|
|
30348
|
+
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
30349
|
+
}, z.core.$strip>>;
|
|
30350
|
+
rev: z.ZodNumber;
|
|
30351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30352
|
+
kind: z.ZodLiteral<"agentsChanged">;
|
|
30353
|
+
agents: z.ZodArray<z.ZodObject<{
|
|
30354
|
+
id: z.ZodString;
|
|
30355
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
30356
|
+
title: z.ZodOptional<z.ZodString>;
|
|
30357
|
+
titleAction: z.ZodOptional<z.ZodString>;
|
|
30358
|
+
status: z.ZodEnum<{
|
|
30359
|
+
awaiting: "awaiting";
|
|
30360
|
+
conflict: "conflict";
|
|
30361
|
+
dismissing: "dismissing";
|
|
30362
|
+
error: "error";
|
|
30363
|
+
idle: "idle";
|
|
30364
|
+
interrupted: "interrupted";
|
|
30365
|
+
landed: "landed";
|
|
30366
|
+
landing: "landing";
|
|
30367
|
+
ready: "ready";
|
|
30368
|
+
resuming: "resuming";
|
|
30369
|
+
running: "running";
|
|
30370
|
+
stopped: "stopped";
|
|
30371
|
+
stopping: "stopping";
|
|
30372
|
+
}>;
|
|
30373
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
30374
|
+
failureCode: z.ZodOptional<z.ZodString>;
|
|
30375
|
+
failureOwn: z.ZodOptional<z.ZodBoolean>;
|
|
30376
|
+
limitResetsAt: z.ZodOptional<z.ZodNumber>;
|
|
30377
|
+
limitHeld: z.ZodOptional<z.ZodBoolean>;
|
|
30378
|
+
limitScheduled: z.ZodOptional<z.ZodBoolean>;
|
|
30379
|
+
limitMoving: z.ZodOptional<z.ZodString>;
|
|
30380
|
+
limitNextAt: z.ZodOptional<z.ZodNumber>;
|
|
30381
|
+
next: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30382
|
+
kind: z.ZodLiteral<"rerun">;
|
|
29242
30383
|
at: z.ZodNumber;
|
|
29243
30384
|
onto: z.ZodOptional<z.ZodString>;
|
|
29244
30385
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -29670,6 +30811,7 @@ export declare const sandboxContract: {
|
|
|
29670
30811
|
archivedAt: z.ZodOptional<z.ZodNumber>;
|
|
29671
30812
|
}, z.core.$strip>>;
|
|
29672
30813
|
rev: z.ZodNumber;
|
|
30814
|
+
since: z.ZodNumber;
|
|
29673
30815
|
}, z.core.$strip>, z.ZodObject<{
|
|
29674
30816
|
kind: z.ZodLiteral<"accountUsage">;
|
|
29675
30817
|
provider: z.ZodString;
|