@overdeck/contracts 0.60.0 → 0.62.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/index.cjs +1058 -138
- package/dist/index.d.ts +1314 -520
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1010 -135
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import * as _$effect_SchemaAST0 from "effect/SchemaAST";
|
|
|
9
9
|
declare const IssueId: Schema.String;
|
|
10
10
|
type IssueId = typeof IssueId.Type;
|
|
11
11
|
type PipelineBucket = "in_flight" | "zombie_pr" | "post_merge_limbo" | "planned_backlog" | "clean_terminal";
|
|
12
|
-
declare const MEMBERSHIP_UNAVAILABLE_REASONS: readonly ["missing_issue_prefix", "repo_unavailable", "default_branch_unresolved", "forge_unavailable", "tracker_unconfigured", "gather_failed"];
|
|
12
|
+
declare const MEMBERSHIP_UNAVAILABLE_REASONS: readonly ["missing_issue_prefix", "repo_unavailable", "default_branch_unresolved", "forge_unavailable", "forge_transient", "tracker_unconfigured", "gather_failed"];
|
|
13
13
|
type MembershipUnavailableReason = typeof MEMBERSHIP_UNAVAILABLE_REASONS[number];
|
|
14
14
|
interface PipelineMembershipUnavailableBody {
|
|
15
15
|
status: "unavailable";
|
|
@@ -17,6 +17,19 @@ interface PipelineMembershipUnavailableBody {
|
|
|
17
17
|
message: string;
|
|
18
18
|
projectKey: string;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* PAN-3527 — the membership snapshot has not been gathered yet (a freshly
|
|
22
|
+
* restarted server warming its cache). Sent with HTTP 503 and a `Retry-After`
|
|
23
|
+
* header. Unlike `PipelineMembershipUnavailableBody` (a settled answer about
|
|
24
|
+
* the project), this is a temporary state: callers retry it.
|
|
25
|
+
*/
|
|
26
|
+
declare const PIPELINE_MEMBERSHIP_LOADING_CODE: "snapshot_loading";
|
|
27
|
+
interface PipelineMembershipLoadingBody {
|
|
28
|
+
status: "loading";
|
|
29
|
+
code: typeof PIPELINE_MEMBERSHIP_LOADING_CODE;
|
|
30
|
+
error: string;
|
|
31
|
+
projectKey: string;
|
|
32
|
+
}
|
|
20
33
|
/** Server-computed pipeline membership attached to dashboard issue DTOs. */
|
|
21
34
|
interface IssuePipelineMembership {
|
|
22
35
|
available?: boolean;
|
|
@@ -30,7 +43,7 @@ declare const SequenceNumber: Schema.Number;
|
|
|
30
43
|
type SequenceNumber = typeof SequenceNumber.Type;
|
|
31
44
|
declare const AgentStatus: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
32
45
|
type AgentStatus = typeof AgentStatus.Type;
|
|
33
|
-
declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
46
|
+
declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
34
47
|
type Role = typeof Role.Type;
|
|
35
48
|
declare const AgentResolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
|
|
36
49
|
type AgentResolution = typeof AgentResolution.Type;
|
|
@@ -150,10 +163,15 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
150
163
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
151
164
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
152
165
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
153
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
166
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
154
167
|
readonly phase: Schema.optional<Schema.String>;
|
|
155
168
|
readonly workType: Schema.optional<Schema.String>;
|
|
156
|
-
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
169
|
+
readonly roleRunHead: Schema.optional<Schema.String>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
170
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
171
|
+
/**
|
|
172
|
+
* @deprecated Misnamed alias of `hasLivePane`: true for a live pane on either
|
|
173
|
+
* backend, not only a tmux session. Still populated for compatibility (#4105).
|
|
174
|
+
*/
|
|
157
175
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
158
176
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
159
177
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -280,6 +298,32 @@ declare const ProjectCiSnapshot: Schema.Struct<{
|
|
|
280
298
|
readonly updatedAt: Schema.String;
|
|
281
299
|
}>;
|
|
282
300
|
type ProjectCiSnapshot = typeof ProjectCiSnapshot.Type;
|
|
301
|
+
/**
|
|
302
|
+
* Where an in-flight dashboard self-deploy (`pan reload`) stands.
|
|
303
|
+
*
|
|
304
|
+
* `building` the reload holds the restart lock and is building from origin/main;
|
|
305
|
+
* `awaiting-approval` the build is ready and the reload waits on the restart gate;
|
|
306
|
+
* `restarting` the operator approved and the old dashboard is being replaced;
|
|
307
|
+
* `failed` the last reload recorded a failure (visible for a short window).
|
|
308
|
+
*/
|
|
309
|
+
declare const ProjectDeployPhase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
310
|
+
type ProjectDeployPhase = typeof ProjectDeployPhase.Type;
|
|
311
|
+
/**
|
|
312
|
+
* One project's deploy, derived on the server from live runtime files: the
|
|
313
|
+
* restart lock, the restart gate, the restart-status journal and the reload
|
|
314
|
+
* process's own stdout. Nothing here is stored; a server restart re-derives it.
|
|
315
|
+
*/
|
|
316
|
+
declare const ProjectDeploySnapshot: Schema.Struct<{
|
|
317
|
+
readonly projectKey: Schema.String;
|
|
318
|
+
readonly trigger: Schema.String;
|
|
319
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>; /** The deploying process, while it is alive. */
|
|
320
|
+
readonly pid: Schema.optional<Schema.Number>; /** When the server first observed this deploy (for `failed`, when it failed). */
|
|
321
|
+
readonly startedAt: Schema.String;
|
|
322
|
+
readonly error: Schema.optional<Schema.String>; /** The reload's output file, when its stdout is a regular file. */
|
|
323
|
+
readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
|
|
324
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
325
|
+
}>;
|
|
326
|
+
type ProjectDeploySnapshot = typeof ProjectDeploySnapshot.Type;
|
|
283
327
|
/** What kind of process asked for the voluntary dashboard restart. */
|
|
284
328
|
declare const RestartGateKind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
285
329
|
type RestartGateKind = typeof RestartGateKind.Type;
|
|
@@ -348,10 +392,15 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
348
392
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
349
393
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
350
394
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
351
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
395
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
352
396
|
readonly phase: Schema.optional<Schema.String>;
|
|
353
397
|
readonly workType: Schema.optional<Schema.String>;
|
|
354
|
-
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
398
|
+
readonly roleRunHead: Schema.optional<Schema.String>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
399
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
400
|
+
/**
|
|
401
|
+
* @deprecated Misnamed alias of `hasLivePane`: true for a live pane on either
|
|
402
|
+
* backend, not only a tmux session. Still populated for compatibility (#4105).
|
|
403
|
+
*/
|
|
355
404
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
356
405
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
357
406
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -414,8 +463,9 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
414
463
|
}>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
|
|
415
464
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
416
465
|
readonly id: Schema.String;
|
|
466
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
417
467
|
readonly issue: Schema.optional<Schema.String>;
|
|
418
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
468
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
419
469
|
readonly harness: Schema.String;
|
|
420
470
|
readonly model: Schema.String;
|
|
421
471
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -534,7 +584,17 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
534
584
|
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
535
585
|
readonly at: Schema.String;
|
|
536
586
|
}>>;
|
|
537
|
-
}>>;
|
|
587
|
+
}>>; /** PAN-3751 — in-flight deploys keyed by project key. */
|
|
588
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
589
|
+
readonly projectKey: Schema.String;
|
|
590
|
+
readonly trigger: Schema.String;
|
|
591
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>; /** The deploying process, while it is alive. */
|
|
592
|
+
readonly pid: Schema.optional<Schema.Number>; /** When the server first observed this deploy (for `failed`, when it failed). */
|
|
593
|
+
readonly startedAt: Schema.String;
|
|
594
|
+
readonly error: Schema.optional<Schema.String>; /** The reload's output file, when its stdout is a regular file. */
|
|
595
|
+
readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
|
|
596
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
597
|
+
}>>>;
|
|
538
598
|
readonly timestamp: Schema.String;
|
|
539
599
|
}>;
|
|
540
600
|
type DashboardSnapshot = typeof DashboardSnapshot.Type;
|
|
@@ -1033,6 +1093,32 @@ declare const RestartGateChangedEvent: Schema.Struct<{
|
|
|
1033
1093
|
}>;
|
|
1034
1094
|
}>;
|
|
1035
1095
|
type RestartGateChangedEvent = typeof RestartGateChangedEvent.Type;
|
|
1096
|
+
/**
|
|
1097
|
+
* The set of in-flight project deploys changed (PAN-3751).
|
|
1098
|
+
*
|
|
1099
|
+
* The payload is the COMPLETE projection keyed by project key, so the reducer
|
|
1100
|
+
* is a plain replace. The server derives it from runtime files (restart lock,
|
|
1101
|
+
* restart gate, restart-status journal) and emits it in-memory only, like
|
|
1102
|
+
* `restart_gate.changed`: it is never persisted and never replayed at boot.
|
|
1103
|
+
*/
|
|
1104
|
+
declare const ProjectDeployChangedEvent: Schema.Struct<{
|
|
1105
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
1106
|
+
readonly sequence: Schema.Number;
|
|
1107
|
+
readonly timestamp: Schema.String;
|
|
1108
|
+
readonly payload: Schema.Struct<{
|
|
1109
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
1110
|
+
readonly projectKey: Schema.String;
|
|
1111
|
+
readonly trigger: Schema.String;
|
|
1112
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
1113
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
1114
|
+
readonly startedAt: Schema.String;
|
|
1115
|
+
readonly error: Schema.optional<Schema.String>;
|
|
1116
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
1117
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1118
|
+
}>>;
|
|
1119
|
+
}>;
|
|
1120
|
+
}>;
|
|
1121
|
+
type ProjectDeployChangedEvent = typeof ProjectDeployChangedEvent.Type;
|
|
1036
1122
|
/** Replaces socket.io `agents:changed` (event: 'started') */
|
|
1037
1123
|
declare const AgentStartedEvent: Schema.Struct<{
|
|
1038
1124
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -1055,10 +1141,11 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1055
1141
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
1056
1142
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
1057
1143
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
1058
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1144
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1059
1145
|
readonly phase: Schema.optional<Schema.String>;
|
|
1060
1146
|
readonly workType: Schema.optional<Schema.String>;
|
|
1061
1147
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
1148
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
1062
1149
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1063
1150
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1064
1151
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -1149,7 +1236,7 @@ declare const AgentCompletedEvent: Schema.Struct<{
|
|
|
1149
1236
|
readonly issueId: Schema.String;
|
|
1150
1237
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1151
1238
|
readonly agentId: Schema.optional<Schema.String>;
|
|
1152
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1239
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1153
1240
|
}>;
|
|
1154
1241
|
}>;
|
|
1155
1242
|
type AgentCompletedEvent = typeof AgentCompletedEvent.Type;
|
|
@@ -1185,7 +1272,8 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
|
|
|
1185
1272
|
readonly issueId: Schema.optional<Schema.String>;
|
|
1186
1273
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1187
1274
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
1188
|
-
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
1275
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
1276
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane`, kept for events written before it existed (#4105). */
|
|
1189
1277
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1190
1278
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1191
1279
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -1201,7 +1289,7 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
|
|
|
1201
1289
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1202
1290
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
1203
1291
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
1204
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1292
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1205
1293
|
readonly model: Schema.optional<Schema.String>;
|
|
1206
1294
|
readonly workspace: Schema.optional<Schema.String>;
|
|
1207
1295
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -1248,7 +1336,7 @@ declare const AgentEnrichmentChangedEvent: Schema.Struct<{
|
|
|
1248
1336
|
readonly agentId: Schema.String;
|
|
1249
1337
|
readonly issueId: Schema.optional<Schema.String>;
|
|
1250
1338
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1251
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1339
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1252
1340
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
1253
1341
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
1254
1342
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -1300,10 +1388,11 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1300
1388
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
1301
1389
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
1302
1390
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
1303
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1391
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1304
1392
|
readonly phase: Schema.optional<Schema.String>;
|
|
1305
1393
|
readonly workType: Schema.optional<Schema.String>;
|
|
1306
1394
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
1395
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
1307
1396
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1308
1397
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1309
1398
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -1704,8 +1793,9 @@ declare const BackendPaneChangedEvent: Schema.Struct<{
|
|
|
1704
1793
|
readonly payload: Schema.Struct<{
|
|
1705
1794
|
readonly pane: Schema.Struct<{
|
|
1706
1795
|
readonly id: Schema.String;
|
|
1796
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
1707
1797
|
readonly issue: Schema.optional<Schema.String>;
|
|
1708
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
1798
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
1709
1799
|
readonly harness: Schema.String;
|
|
1710
1800
|
readonly model: Schema.String;
|
|
1711
1801
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -2032,7 +2122,7 @@ declare const SpecialistStartedEvent: Schema.Struct<{
|
|
|
2032
2122
|
readonly sequence: Schema.Number;
|
|
2033
2123
|
readonly timestamp: Schema.String;
|
|
2034
2124
|
readonly payload: Schema.Struct<{
|
|
2035
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2125
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2036
2126
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
2037
2127
|
readonly isRunning: Schema.Boolean;
|
|
2038
2128
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -2046,7 +2136,7 @@ declare const SpecialistCompletedEvent: Schema.Struct<{
|
|
|
2046
2136
|
readonly sequence: Schema.Number;
|
|
2047
2137
|
readonly timestamp: Schema.String;
|
|
2048
2138
|
readonly payload: Schema.Struct<{
|
|
2049
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2139
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2050
2140
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2051
2141
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2052
2142
|
}>;
|
|
@@ -2058,7 +2148,7 @@ declare const SpecialistFailedEvent: Schema.Struct<{
|
|
|
2058
2148
|
readonly sequence: Schema.Number;
|
|
2059
2149
|
readonly timestamp: Schema.String;
|
|
2060
2150
|
readonly payload: Schema.Struct<{
|
|
2061
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2151
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2062
2152
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2063
2153
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2064
2154
|
readonly error: Schema.String;
|
|
@@ -2334,7 +2424,7 @@ declare const MemoryObservationCreatedEvent: Schema.Struct<{
|
|
|
2334
2424
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
2335
2425
|
readonly runId: Schema.String;
|
|
2336
2426
|
readonly sessionId: Schema.String;
|
|
2337
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
2427
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
2338
2428
|
readonly agentHarness: Schema.String;
|
|
2339
2429
|
readonly gitBranch: Schema.String;
|
|
2340
2430
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -2444,7 +2534,7 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
|
|
|
2444
2534
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
2445
2535
|
readonly runId: Schema.String;
|
|
2446
2536
|
readonly sessionId: Schema.String;
|
|
2447
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
2537
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
2448
2538
|
readonly agentHarness: Schema.String;
|
|
2449
2539
|
}>;
|
|
2450
2540
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -2533,6 +2623,44 @@ declare const ConversationTitleChangedEvent: Schema.Struct<{
|
|
|
2533
2623
|
}>;
|
|
2534
2624
|
}>;
|
|
2535
2625
|
type ConversationTitleChangedEvent = typeof ConversationTitleChangedEvent.Type;
|
|
2626
|
+
/** Emitted (in-memory only) when a conversation's pull-request links or their
|
|
2627
|
+
* snapshots change (PAN-3822), so the list and open panel refresh the badge. */
|
|
2628
|
+
declare const ConversationPullRequestsChangedEvent: Schema.Struct<{
|
|
2629
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
2630
|
+
readonly sequence: Schema.Number;
|
|
2631
|
+
readonly timestamp: Schema.String;
|
|
2632
|
+
readonly payload: Schema.Struct<{
|
|
2633
|
+
readonly conversationName: Schema.String;
|
|
2634
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
2635
|
+
readonly url: Schema.String;
|
|
2636
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
2637
|
+
readonly linkedAt: Schema.String;
|
|
2638
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
2639
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
2640
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
2641
|
+
readonly isDraft: Schema.Boolean;
|
|
2642
|
+
readonly title: Schema.String;
|
|
2643
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
2644
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
2645
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
2646
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
2647
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
2648
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
2649
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
2650
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
2651
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
2652
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
2653
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
2654
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
2655
|
+
readonly syncedAt: Schema.String;
|
|
2656
|
+
}>>;
|
|
2657
|
+
readonly host: Schema.String;
|
|
2658
|
+
readonly repository: Schema.String;
|
|
2659
|
+
readonly number: Schema.Number;
|
|
2660
|
+
}>>;
|
|
2661
|
+
}>;
|
|
2662
|
+
}>;
|
|
2663
|
+
type ConversationPullRequestsChangedEvent = typeof ConversationPullRequestsChangedEvent.Type;
|
|
2536
2664
|
/** Emitted (in-memory only) when a PermissionRequest hook fires or resolves for a conversation. */
|
|
2537
2665
|
declare const ConversationPermissionChangedEvent: Schema.Struct<{
|
|
2538
2666
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
@@ -2733,6 +2861,22 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2733
2861
|
readonly at: Schema.String;
|
|
2734
2862
|
}>>;
|
|
2735
2863
|
}>;
|
|
2864
|
+
}>, Schema.Struct<{
|
|
2865
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
2866
|
+
readonly sequence: Schema.Number;
|
|
2867
|
+
readonly timestamp: Schema.String;
|
|
2868
|
+
readonly payload: Schema.Struct<{
|
|
2869
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
2870
|
+
readonly projectKey: Schema.String;
|
|
2871
|
+
readonly trigger: Schema.String;
|
|
2872
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
2873
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
2874
|
+
readonly startedAt: Schema.String;
|
|
2875
|
+
readonly error: Schema.optional<Schema.String>;
|
|
2876
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
2877
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
2878
|
+
}>>;
|
|
2879
|
+
}>;
|
|
2736
2880
|
}>, Schema.Struct<{
|
|
2737
2881
|
readonly type: Schema.Literal<"agent.created">;
|
|
2738
2882
|
readonly sequence: Schema.Number;
|
|
@@ -2754,10 +2898,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2754
2898
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
2755
2899
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
2756
2900
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
2757
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2901
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2758
2902
|
readonly phase: Schema.optional<Schema.String>;
|
|
2759
2903
|
readonly workType: Schema.optional<Schema.String>;
|
|
2760
2904
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
2905
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
2761
2906
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2762
2907
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2763
2908
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -2808,7 +2953,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2808
2953
|
readonly agentId: Schema.String;
|
|
2809
2954
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2810
2955
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2811
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2956
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2812
2957
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
2813
2958
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
2814
2959
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -2857,10 +3002,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2857
3002
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
2858
3003
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
2859
3004
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
2860
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
3005
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2861
3006
|
readonly phase: Schema.optional<Schema.String>;
|
|
2862
3007
|
readonly workType: Schema.optional<Schema.String>;
|
|
2863
3008
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
3009
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
2864
3010
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2865
3011
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2866
3012
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -2940,7 +3086,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2940
3086
|
readonly issueId: Schema.String;
|
|
2941
3087
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2942
3088
|
readonly agentId: Schema.optional<Schema.String>;
|
|
2943
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
3089
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2944
3090
|
}>;
|
|
2945
3091
|
}>, Schema.Struct<{
|
|
2946
3092
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -2967,7 +3113,8 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2967
3113
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2968
3114
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2969
3115
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
2970
|
-
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
3116
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
3117
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane`, kept for events written before it existed (#4105). */
|
|
2971
3118
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2972
3119
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2973
3120
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -2983,7 +3130,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2983
3130
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
2984
3131
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
2985
3132
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
2986
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
3133
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2987
3134
|
readonly model: Schema.optional<Schema.String>;
|
|
2988
3135
|
readonly workspace: Schema.optional<Schema.String>;
|
|
2989
3136
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -3305,8 +3452,9 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3305
3452
|
readonly payload: Schema.Struct<{
|
|
3306
3453
|
readonly pane: Schema.Struct<{
|
|
3307
3454
|
readonly id: Schema.String;
|
|
3455
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
3308
3456
|
readonly issue: Schema.optional<Schema.String>;
|
|
3309
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
3457
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
3310
3458
|
readonly harness: Schema.String;
|
|
3311
3459
|
readonly model: Schema.String;
|
|
3312
3460
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -3545,7 +3693,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3545
3693
|
readonly sequence: Schema.Number;
|
|
3546
3694
|
readonly timestamp: Schema.String;
|
|
3547
3695
|
readonly payload: Schema.Struct<{
|
|
3548
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3696
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3549
3697
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
3550
3698
|
readonly isRunning: Schema.Boolean;
|
|
3551
3699
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -3556,7 +3704,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3556
3704
|
readonly sequence: Schema.Number;
|
|
3557
3705
|
readonly timestamp: Schema.String;
|
|
3558
3706
|
readonly payload: Schema.Struct<{
|
|
3559
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3707
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3560
3708
|
readonly issueId: Schema.optional<Schema.String>;
|
|
3561
3709
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3562
3710
|
}>;
|
|
@@ -3565,7 +3713,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3565
3713
|
readonly sequence: Schema.Number;
|
|
3566
3714
|
readonly timestamp: Schema.String;
|
|
3567
3715
|
readonly payload: Schema.Struct<{
|
|
3568
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3716
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3569
3717
|
readonly issueId: Schema.optional<Schema.String>;
|
|
3570
3718
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3571
3719
|
readonly error: Schema.String;
|
|
@@ -3711,7 +3859,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3711
3859
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
3712
3860
|
readonly runId: Schema.String;
|
|
3713
3861
|
readonly sessionId: Schema.String;
|
|
3714
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
3862
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
3715
3863
|
readonly agentHarness: Schema.String;
|
|
3716
3864
|
readonly gitBranch: Schema.String;
|
|
3717
3865
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -3813,7 +3961,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3813
3961
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
3814
3962
|
readonly runId: Schema.String;
|
|
3815
3963
|
readonly sessionId: Schema.String;
|
|
3816
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
3964
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
3817
3965
|
readonly agentHarness: Schema.String;
|
|
3818
3966
|
}>;
|
|
3819
3967
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -3953,6 +4101,40 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3953
4101
|
readonly title: Schema.String;
|
|
3954
4102
|
readonly titleSource: Schema.String;
|
|
3955
4103
|
}>;
|
|
4104
|
+
}>, Schema.Struct<{
|
|
4105
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
4106
|
+
readonly sequence: Schema.Number;
|
|
4107
|
+
readonly timestamp: Schema.String;
|
|
4108
|
+
readonly payload: Schema.Struct<{
|
|
4109
|
+
readonly conversationName: Schema.String;
|
|
4110
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
4111
|
+
readonly url: Schema.String;
|
|
4112
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
4113
|
+
readonly linkedAt: Schema.String;
|
|
4114
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
4115
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
4116
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
4117
|
+
readonly isDraft: Schema.Boolean;
|
|
4118
|
+
readonly title: Schema.String;
|
|
4119
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
4120
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
4121
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
4122
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
4123
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
4124
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
4125
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
4126
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
4127
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
4128
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
4129
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
4130
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
4131
|
+
readonly syncedAt: Schema.String;
|
|
4132
|
+
}>>;
|
|
4133
|
+
readonly host: Schema.String;
|
|
4134
|
+
readonly repository: Schema.String;
|
|
4135
|
+
readonly number: Schema.Number;
|
|
4136
|
+
}>>;
|
|
4137
|
+
}>;
|
|
3956
4138
|
}>, Schema.Struct<{
|
|
3957
4139
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
3958
4140
|
readonly sequence: Schema.Number;
|
|
@@ -4060,7 +4242,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4060
4242
|
type DomainEvent = typeof DomainEvent.Type;
|
|
4061
4243
|
//#endregion
|
|
4062
4244
|
//#region src/memory.d.ts
|
|
4063
|
-
declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4245
|
+
declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4064
4246
|
type MemoryAgentRole = typeof MemoryAgentRole.Type;
|
|
4065
4247
|
declare const MemoryIdentity: Schema.Struct<{
|
|
4066
4248
|
readonly projectId: Schema.String;
|
|
@@ -4068,7 +4250,7 @@ declare const MemoryIdentity: Schema.Struct<{
|
|
|
4068
4250
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4069
4251
|
readonly runId: Schema.String;
|
|
4070
4252
|
readonly sessionId: Schema.String;
|
|
4071
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4253
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4072
4254
|
readonly agentHarness: Schema.String;
|
|
4073
4255
|
}>;
|
|
4074
4256
|
type MemoryIdentity = typeof MemoryIdentity.Type;
|
|
@@ -4086,7 +4268,7 @@ declare const MemoryObservation: Schema.Struct<{
|
|
|
4086
4268
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4087
4269
|
readonly runId: Schema.String;
|
|
4088
4270
|
readonly sessionId: Schema.String;
|
|
4089
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4271
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4090
4272
|
readonly agentHarness: Schema.String;
|
|
4091
4273
|
readonly gitBranch: Schema.String;
|
|
4092
4274
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -4129,7 +4311,7 @@ declare const PendingTurn: Schema.Struct<{
|
|
|
4129
4311
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4130
4312
|
readonly runId: Schema.String;
|
|
4131
4313
|
readonly sessionId: Schema.String;
|
|
4132
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4314
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4133
4315
|
readonly agentHarness: Schema.String;
|
|
4134
4316
|
}>;
|
|
4135
4317
|
readonly trigger: Schema.Literals<readonly ["stop-hook", "poller", "reconciliation", "manual"]>;
|
|
@@ -4169,7 +4351,7 @@ declare const RagDecision: Schema.Struct<{
|
|
|
4169
4351
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4170
4352
|
readonly runId: Schema.String;
|
|
4171
4353
|
readonly sessionId: Schema.String;
|
|
4172
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4354
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4173
4355
|
readonly agentHarness: Schema.String;
|
|
4174
4356
|
}>;
|
|
4175
4357
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -4562,6 +4744,22 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4562
4744
|
readonly at: Schema.String;
|
|
4563
4745
|
}>>;
|
|
4564
4746
|
}>;
|
|
4747
|
+
}>, Schema.Struct<{
|
|
4748
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
4749
|
+
readonly sequence: Schema.Number;
|
|
4750
|
+
readonly timestamp: Schema.String;
|
|
4751
|
+
readonly payload: Schema.Struct<{
|
|
4752
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
4753
|
+
readonly projectKey: Schema.String;
|
|
4754
|
+
readonly trigger: Schema.String;
|
|
4755
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
4756
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
4757
|
+
readonly startedAt: Schema.String;
|
|
4758
|
+
readonly error: Schema.optional<Schema.String>;
|
|
4759
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
4760
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
4761
|
+
}>>;
|
|
4762
|
+
}>;
|
|
4565
4763
|
}>, Schema.Struct<{
|
|
4566
4764
|
readonly type: Schema.Literal<"agent.created">;
|
|
4567
4765
|
readonly sequence: Schema.Number;
|
|
@@ -4583,10 +4781,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4583
4781
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
4584
4782
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
4585
4783
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
4586
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4784
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4587
4785
|
readonly phase: Schema.optional<Schema.String>;
|
|
4588
4786
|
readonly workType: Schema.optional<Schema.String>;
|
|
4589
4787
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
4788
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4590
4789
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4591
4790
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4592
4791
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -4637,7 +4836,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4637
4836
|
readonly agentId: Schema.String;
|
|
4638
4837
|
readonly issueId: Schema.optional<Schema.String>;
|
|
4639
4838
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
4640
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4839
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4641
4840
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
4642
4841
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
4643
4842
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -4686,10 +4885,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4686
4885
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
4687
4886
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
4688
4887
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
4689
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4888
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4690
4889
|
readonly phase: Schema.optional<Schema.String>;
|
|
4691
4890
|
readonly workType: Schema.optional<Schema.String>;
|
|
4692
4891
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
4892
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4693
4893
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4694
4894
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4695
4895
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -4769,7 +4969,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4769
4969
|
readonly issueId: Schema.String;
|
|
4770
4970
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
4771
4971
|
readonly agentId: Schema.optional<Schema.String>;
|
|
4772
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4972
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4773
4973
|
}>;
|
|
4774
4974
|
}>, Schema.Struct<{
|
|
4775
4975
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -4797,6 +4997,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4797
4997
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
4798
4998
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
4799
4999
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
5000
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4800
5001
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4801
5002
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4802
5003
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -4812,7 +5013,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4812
5013
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4813
5014
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
4814
5015
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
4815
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
5016
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4816
5017
|
readonly model: Schema.optional<Schema.String>;
|
|
4817
5018
|
readonly workspace: Schema.optional<Schema.String>;
|
|
4818
5019
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -5134,8 +5335,9 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5134
5335
|
readonly payload: Schema.Struct<{
|
|
5135
5336
|
readonly pane: Schema.Struct<{
|
|
5136
5337
|
readonly id: Schema.String;
|
|
5338
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
5137
5339
|
readonly issue: Schema.optional<Schema.String>;
|
|
5138
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
5340
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
5139
5341
|
readonly harness: Schema.String;
|
|
5140
5342
|
readonly model: Schema.String;
|
|
5141
5343
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -5374,7 +5576,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5374
5576
|
readonly sequence: Schema.Number;
|
|
5375
5577
|
readonly timestamp: Schema.String;
|
|
5376
5578
|
readonly payload: Schema.Struct<{
|
|
5377
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5579
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5378
5580
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
5379
5581
|
readonly isRunning: Schema.Boolean;
|
|
5380
5582
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -5385,7 +5587,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5385
5587
|
readonly sequence: Schema.Number;
|
|
5386
5588
|
readonly timestamp: Schema.String;
|
|
5387
5589
|
readonly payload: Schema.Struct<{
|
|
5388
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5590
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5389
5591
|
readonly issueId: Schema.optional<Schema.String>;
|
|
5390
5592
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5391
5593
|
}>;
|
|
@@ -5394,7 +5596,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5394
5596
|
readonly sequence: Schema.Number;
|
|
5395
5597
|
readonly timestamp: Schema.String;
|
|
5396
5598
|
readonly payload: Schema.Struct<{
|
|
5397
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5599
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5398
5600
|
readonly issueId: Schema.optional<Schema.String>;
|
|
5399
5601
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5400
5602
|
readonly error: Schema.String;
|
|
@@ -5540,7 +5742,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5540
5742
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
5541
5743
|
readonly runId: Schema.String;
|
|
5542
5744
|
readonly sessionId: Schema.String;
|
|
5543
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
5745
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
5544
5746
|
readonly agentHarness: Schema.String;
|
|
5545
5747
|
readonly gitBranch: Schema.String;
|
|
5546
5748
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -5642,7 +5844,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5642
5844
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
5643
5845
|
readonly runId: Schema.String;
|
|
5644
5846
|
readonly sessionId: Schema.String;
|
|
5645
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
5847
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
5646
5848
|
readonly agentHarness: Schema.String;
|
|
5647
5849
|
}>;
|
|
5648
5850
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -5782,6 +5984,40 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5782
5984
|
readonly title: Schema.String;
|
|
5783
5985
|
readonly titleSource: Schema.String;
|
|
5784
5986
|
}>;
|
|
5987
|
+
}>, Schema.Struct<{
|
|
5988
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
5989
|
+
readonly sequence: Schema.Number;
|
|
5990
|
+
readonly timestamp: Schema.String;
|
|
5991
|
+
readonly payload: Schema.Struct<{
|
|
5992
|
+
readonly conversationName: Schema.String;
|
|
5993
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
5994
|
+
readonly url: Schema.String;
|
|
5995
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
5996
|
+
readonly linkedAt: Schema.String;
|
|
5997
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
5998
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
5999
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
6000
|
+
readonly isDraft: Schema.Boolean;
|
|
6001
|
+
readonly title: Schema.String;
|
|
6002
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
6003
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
6004
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
6005
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
6006
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
6007
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
6008
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
6009
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
6010
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
6011
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
6012
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
6013
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
6014
|
+
readonly syncedAt: Schema.String;
|
|
6015
|
+
}>>;
|
|
6016
|
+
readonly host: Schema.String;
|
|
6017
|
+
readonly repository: Schema.String;
|
|
6018
|
+
readonly number: Schema.Number;
|
|
6019
|
+
}>>;
|
|
6020
|
+
}>;
|
|
5785
6021
|
}>, Schema.Struct<{
|
|
5786
6022
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
5787
6023
|
readonly sequence: Schema.Number;
|
|
@@ -5955,6 +6191,22 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
5955
6191
|
readonly at: Schema.String;
|
|
5956
6192
|
}>>;
|
|
5957
6193
|
}>;
|
|
6194
|
+
}>, Schema.Struct<{
|
|
6195
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
6196
|
+
readonly sequence: Schema.Number;
|
|
6197
|
+
readonly timestamp: Schema.String;
|
|
6198
|
+
readonly payload: Schema.Struct<{
|
|
6199
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
6200
|
+
readonly projectKey: Schema.String;
|
|
6201
|
+
readonly trigger: Schema.String;
|
|
6202
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
6203
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
6204
|
+
readonly startedAt: Schema.String;
|
|
6205
|
+
readonly error: Schema.optional<Schema.String>;
|
|
6206
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
6207
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
6208
|
+
}>>;
|
|
6209
|
+
}>;
|
|
5958
6210
|
}>, Schema.Struct<{
|
|
5959
6211
|
readonly type: Schema.Literal<"agent.created">;
|
|
5960
6212
|
readonly sequence: Schema.Number;
|
|
@@ -5976,10 +6228,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
5976
6228
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
5977
6229
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
5978
6230
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
5979
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6231
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
5980
6232
|
readonly phase: Schema.optional<Schema.String>;
|
|
5981
6233
|
readonly workType: Schema.optional<Schema.String>;
|
|
5982
6234
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
6235
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
5983
6236
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
5984
6237
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
5985
6238
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -6030,7 +6283,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6030
6283
|
readonly agentId: Schema.String;
|
|
6031
6284
|
readonly issueId: Schema.optional<Schema.String>;
|
|
6032
6285
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6033
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6286
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6034
6287
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
6035
6288
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
6036
6289
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -6079,10 +6332,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6079
6332
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
6080
6333
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
6081
6334
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
6082
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6335
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6083
6336
|
readonly phase: Schema.optional<Schema.String>;
|
|
6084
6337
|
readonly workType: Schema.optional<Schema.String>;
|
|
6085
6338
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
6339
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
6086
6340
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
6087
6341
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
6088
6342
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -6162,7 +6416,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6162
6416
|
readonly issueId: Schema.String;
|
|
6163
6417
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6164
6418
|
readonly agentId: Schema.optional<Schema.String>;
|
|
6165
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6419
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6166
6420
|
}>;
|
|
6167
6421
|
}>, Schema.Struct<{
|
|
6168
6422
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -6190,6 +6444,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6190
6444
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6191
6445
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
6192
6446
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
6447
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
6193
6448
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
6194
6449
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
6195
6450
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -6205,7 +6460,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6205
6460
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
6206
6461
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
6207
6462
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
6208
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6463
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6209
6464
|
readonly model: Schema.optional<Schema.String>;
|
|
6210
6465
|
readonly workspace: Schema.optional<Schema.String>;
|
|
6211
6466
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -6527,8 +6782,9 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6527
6782
|
readonly payload: Schema.Struct<{
|
|
6528
6783
|
readonly pane: Schema.Struct<{
|
|
6529
6784
|
readonly id: Schema.String;
|
|
6785
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
6530
6786
|
readonly issue: Schema.optional<Schema.String>;
|
|
6531
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
6787
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
6532
6788
|
readonly harness: Schema.String;
|
|
6533
6789
|
readonly model: Schema.String;
|
|
6534
6790
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -6767,7 +7023,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6767
7023
|
readonly sequence: Schema.Number;
|
|
6768
7024
|
readonly timestamp: Schema.String;
|
|
6769
7025
|
readonly payload: Schema.Struct<{
|
|
6770
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
7026
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
6771
7027
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
6772
7028
|
readonly isRunning: Schema.Boolean;
|
|
6773
7029
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -6778,7 +7034,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6778
7034
|
readonly sequence: Schema.Number;
|
|
6779
7035
|
readonly timestamp: Schema.String;
|
|
6780
7036
|
readonly payload: Schema.Struct<{
|
|
6781
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
7037
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
6782
7038
|
readonly issueId: Schema.optional<Schema.String>;
|
|
6783
7039
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6784
7040
|
}>;
|
|
@@ -6787,7 +7043,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6787
7043
|
readonly sequence: Schema.Number;
|
|
6788
7044
|
readonly timestamp: Schema.String;
|
|
6789
7045
|
readonly payload: Schema.Struct<{
|
|
6790
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
7046
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
6791
7047
|
readonly issueId: Schema.optional<Schema.String>;
|
|
6792
7048
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6793
7049
|
readonly error: Schema.String;
|
|
@@ -6933,7 +7189,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6933
7189
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
6934
7190
|
readonly runId: Schema.String;
|
|
6935
7191
|
readonly sessionId: Schema.String;
|
|
6936
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
7192
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
6937
7193
|
readonly agentHarness: Schema.String;
|
|
6938
7194
|
readonly gitBranch: Schema.String;
|
|
6939
7195
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -7035,7 +7291,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7035
7291
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
7036
7292
|
readonly runId: Schema.String;
|
|
7037
7293
|
readonly sessionId: Schema.String;
|
|
7038
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
7294
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
7039
7295
|
readonly agentHarness: Schema.String;
|
|
7040
7296
|
}>;
|
|
7041
7297
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -7175,6 +7431,40 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7175
7431
|
readonly title: Schema.String;
|
|
7176
7432
|
readonly titleSource: Schema.String;
|
|
7177
7433
|
}>;
|
|
7434
|
+
}>, Schema.Struct<{
|
|
7435
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
7436
|
+
readonly sequence: Schema.Number;
|
|
7437
|
+
readonly timestamp: Schema.String;
|
|
7438
|
+
readonly payload: Schema.Struct<{
|
|
7439
|
+
readonly conversationName: Schema.String;
|
|
7440
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
7441
|
+
readonly url: Schema.String;
|
|
7442
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
7443
|
+
readonly linkedAt: Schema.String;
|
|
7444
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
7445
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
7446
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
7447
|
+
readonly isDraft: Schema.Boolean;
|
|
7448
|
+
readonly title: Schema.String;
|
|
7449
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
7450
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
7451
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
7452
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
7453
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
7454
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
7455
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
7456
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
7457
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
7458
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
7459
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
7460
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
7461
|
+
readonly syncedAt: Schema.String;
|
|
7462
|
+
}>>;
|
|
7463
|
+
readonly host: Schema.String;
|
|
7464
|
+
readonly repository: Schema.String;
|
|
7465
|
+
readonly number: Schema.Number;
|
|
7466
|
+
}>>;
|
|
7467
|
+
}>;
|
|
7178
7468
|
}>, Schema.Struct<{
|
|
7179
7469
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
7180
7470
|
readonly sequence: Schema.Number;
|
|
@@ -7311,10 +7601,11 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7311
7601
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
7312
7602
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7313
7603
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
7314
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7604
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7315
7605
|
readonly phase: Schema.optional<Schema.String>;
|
|
7316
7606
|
readonly workType: Schema.optional<Schema.String>;
|
|
7317
7607
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
7608
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7318
7609
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7319
7610
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7320
7611
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7377,8 +7668,9 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7377
7668
|
}>>;
|
|
7378
7669
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
7379
7670
|
readonly id: Schema.String;
|
|
7671
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
7380
7672
|
readonly issue: Schema.optional<Schema.String>;
|
|
7381
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
7673
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
7382
7674
|
readonly harness: Schema.String;
|
|
7383
7675
|
readonly model: Schema.String;
|
|
7384
7676
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -7498,6 +7790,16 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7498
7790
|
readonly at: Schema.String;
|
|
7499
7791
|
}>>;
|
|
7500
7792
|
}>>;
|
|
7793
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
7794
|
+
readonly projectKey: Schema.String;
|
|
7795
|
+
readonly trigger: Schema.String;
|
|
7796
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
7797
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
7798
|
+
readonly startedAt: Schema.String;
|
|
7799
|
+
readonly error: Schema.optional<Schema.String>;
|
|
7800
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
7801
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7802
|
+
}>>>;
|
|
7501
7803
|
readonly timestamp: Schema.String;
|
|
7502
7804
|
}>, typeof PanRpcError, never, never>;
|
|
7503
7805
|
/** 5. Replay events since a given sequence number (unary) */
|
|
@@ -7569,6 +7871,22 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7569
7871
|
readonly at: Schema.String;
|
|
7570
7872
|
}>>;
|
|
7571
7873
|
}>;
|
|
7874
|
+
}>, Schema.Struct<{
|
|
7875
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
7876
|
+
readonly sequence: Schema.Number;
|
|
7877
|
+
readonly timestamp: Schema.String;
|
|
7878
|
+
readonly payload: Schema.Struct<{
|
|
7879
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
7880
|
+
readonly projectKey: Schema.String;
|
|
7881
|
+
readonly trigger: Schema.String;
|
|
7882
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
7883
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
7884
|
+
readonly startedAt: Schema.String;
|
|
7885
|
+
readonly error: Schema.optional<Schema.String>;
|
|
7886
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
7887
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7888
|
+
}>>;
|
|
7889
|
+
}>;
|
|
7572
7890
|
}>, Schema.Struct<{
|
|
7573
7891
|
readonly type: Schema.Literal<"agent.created">;
|
|
7574
7892
|
readonly sequence: Schema.Number;
|
|
@@ -7590,10 +7908,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7590
7908
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
7591
7909
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7592
7910
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
7593
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7911
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7594
7912
|
readonly phase: Schema.optional<Schema.String>;
|
|
7595
7913
|
readonly workType: Schema.optional<Schema.String>;
|
|
7596
7914
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
7915
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7597
7916
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7598
7917
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7599
7918
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7644,7 +7963,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7644
7963
|
readonly agentId: Schema.String;
|
|
7645
7964
|
readonly issueId: Schema.optional<Schema.String>;
|
|
7646
7965
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7647
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7966
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7648
7967
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
7649
7968
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
7650
7969
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -7693,10 +8012,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7693
8012
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
7694
8013
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7695
8014
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
7696
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
8015
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7697
8016
|
readonly phase: Schema.optional<Schema.String>;
|
|
7698
8017
|
readonly workType: Schema.optional<Schema.String>;
|
|
7699
8018
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8019
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7700
8020
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7701
8021
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7702
8022
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7776,7 +8096,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7776
8096
|
readonly issueId: Schema.String;
|
|
7777
8097
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7778
8098
|
readonly agentId: Schema.optional<Schema.String>;
|
|
7779
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
8099
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7780
8100
|
}>;
|
|
7781
8101
|
}>, Schema.Struct<{
|
|
7782
8102
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -7804,6 +8124,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7804
8124
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7805
8125
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
7806
8126
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
8127
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7807
8128
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7808
8129
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7809
8130
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -7819,7 +8140,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7819
8140
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
7820
8141
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
7821
8142
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
7822
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
8143
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7823
8144
|
readonly model: Schema.optional<Schema.String>;
|
|
7824
8145
|
readonly workspace: Schema.optional<Schema.String>;
|
|
7825
8146
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -8141,8 +8462,9 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8141
8462
|
readonly payload: Schema.Struct<{
|
|
8142
8463
|
readonly pane: Schema.Struct<{
|
|
8143
8464
|
readonly id: Schema.String;
|
|
8465
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8144
8466
|
readonly issue: Schema.optional<Schema.String>;
|
|
8145
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
8467
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
8146
8468
|
readonly harness: Schema.String;
|
|
8147
8469
|
readonly model: Schema.String;
|
|
8148
8470
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -8381,7 +8703,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8381
8703
|
readonly sequence: Schema.Number;
|
|
8382
8704
|
readonly timestamp: Schema.String;
|
|
8383
8705
|
readonly payload: Schema.Struct<{
|
|
8384
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8706
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8385
8707
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
8386
8708
|
readonly isRunning: Schema.Boolean;
|
|
8387
8709
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -8392,7 +8714,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8392
8714
|
readonly sequence: Schema.Number;
|
|
8393
8715
|
readonly timestamp: Schema.String;
|
|
8394
8716
|
readonly payload: Schema.Struct<{
|
|
8395
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8717
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8396
8718
|
readonly issueId: Schema.optional<Schema.String>;
|
|
8397
8719
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8398
8720
|
}>;
|
|
@@ -8401,7 +8723,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8401
8723
|
readonly sequence: Schema.Number;
|
|
8402
8724
|
readonly timestamp: Schema.String;
|
|
8403
8725
|
readonly payload: Schema.Struct<{
|
|
8404
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8726
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8405
8727
|
readonly issueId: Schema.optional<Schema.String>;
|
|
8406
8728
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8407
8729
|
readonly error: Schema.String;
|
|
@@ -8547,7 +8869,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8547
8869
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
8548
8870
|
readonly runId: Schema.String;
|
|
8549
8871
|
readonly sessionId: Schema.String;
|
|
8550
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
8872
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
8551
8873
|
readonly agentHarness: Schema.String;
|
|
8552
8874
|
readonly gitBranch: Schema.String;
|
|
8553
8875
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -8649,7 +8971,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8649
8971
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
8650
8972
|
readonly runId: Schema.String;
|
|
8651
8973
|
readonly sessionId: Schema.String;
|
|
8652
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
8974
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
8653
8975
|
readonly agentHarness: Schema.String;
|
|
8654
8976
|
}>;
|
|
8655
8977
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -8789,6 +9111,40 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8789
9111
|
readonly title: Schema.String;
|
|
8790
9112
|
readonly titleSource: Schema.String;
|
|
8791
9113
|
}>;
|
|
9114
|
+
}>, Schema.Struct<{
|
|
9115
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
9116
|
+
readonly sequence: Schema.Number;
|
|
9117
|
+
readonly timestamp: Schema.String;
|
|
9118
|
+
readonly payload: Schema.Struct<{
|
|
9119
|
+
readonly conversationName: Schema.String;
|
|
9120
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
9121
|
+
readonly url: Schema.String;
|
|
9122
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
9123
|
+
readonly linkedAt: Schema.String;
|
|
9124
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
9125
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
9126
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
9127
|
+
readonly isDraft: Schema.Boolean;
|
|
9128
|
+
readonly title: Schema.String;
|
|
9129
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
9130
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
9131
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
9132
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
9133
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
9134
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
9135
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
9136
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
9137
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
9138
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
9139
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
9140
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
9141
|
+
readonly syncedAt: Schema.String;
|
|
9142
|
+
}>>;
|
|
9143
|
+
readonly host: Schema.String;
|
|
9144
|
+
readonly repository: Schema.String;
|
|
9145
|
+
readonly number: Schema.Number;
|
|
9146
|
+
}>>;
|
|
9147
|
+
}>;
|
|
8792
9148
|
}>, Schema.Struct<{
|
|
8793
9149
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
8794
9150
|
readonly sequence: Schema.Number;
|
|
@@ -9656,6 +10012,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9656
10012
|
readonly at: Schema.String;
|
|
9657
10013
|
}>>;
|
|
9658
10014
|
}>;
|
|
10015
|
+
}>, Schema.Struct<{
|
|
10016
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
10017
|
+
readonly sequence: Schema.Number;
|
|
10018
|
+
readonly timestamp: Schema.String;
|
|
10019
|
+
readonly payload: Schema.Struct<{
|
|
10020
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
10021
|
+
readonly projectKey: Schema.String;
|
|
10022
|
+
readonly trigger: Schema.String;
|
|
10023
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
10024
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
10025
|
+
readonly startedAt: Schema.String;
|
|
10026
|
+
readonly error: Schema.optional<Schema.String>;
|
|
10027
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
10028
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
10029
|
+
}>>;
|
|
10030
|
+
}>;
|
|
9659
10031
|
}>, Schema.Struct<{
|
|
9660
10032
|
readonly type: Schema.Literal<"agent.created">;
|
|
9661
10033
|
readonly sequence: Schema.Number;
|
|
@@ -9677,10 +10049,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9677
10049
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
9678
10050
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
9679
10051
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
9680
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
10052
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
9681
10053
|
readonly phase: Schema.optional<Schema.String>;
|
|
9682
10054
|
readonly workType: Schema.optional<Schema.String>;
|
|
9683
10055
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
10056
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9684
10057
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9685
10058
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9686
10059
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -9731,7 +10104,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9731
10104
|
readonly agentId: Schema.String;
|
|
9732
10105
|
readonly issueId: Schema.optional<Schema.String>;
|
|
9733
10106
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9734
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
10107
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
9735
10108
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
9736
10109
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
9737
10110
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -9780,10 +10153,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9780
10153
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
9781
10154
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
9782
10155
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
9783
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
10156
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
9784
10157
|
readonly phase: Schema.optional<Schema.String>;
|
|
9785
10158
|
readonly workType: Schema.optional<Schema.String>;
|
|
9786
10159
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
10160
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9787
10161
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9788
10162
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9789
10163
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -9863,7 +10237,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9863
10237
|
readonly issueId: Schema.String;
|
|
9864
10238
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9865
10239
|
readonly agentId: Schema.optional<Schema.String>;
|
|
9866
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
10240
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
9867
10241
|
}>;
|
|
9868
10242
|
}>, Schema.Struct<{
|
|
9869
10243
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -9891,6 +10265,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9891
10265
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9892
10266
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
9893
10267
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
10268
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9894
10269
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9895
10270
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9896
10271
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -9906,7 +10281,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9906
10281
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
9907
10282
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
9908
10283
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
9909
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
10284
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
9910
10285
|
readonly model: Schema.optional<Schema.String>;
|
|
9911
10286
|
readonly workspace: Schema.optional<Schema.String>;
|
|
9912
10287
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -10228,8 +10603,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10228
10603
|
readonly payload: Schema.Struct<{
|
|
10229
10604
|
readonly pane: Schema.Struct<{
|
|
10230
10605
|
readonly id: Schema.String;
|
|
10606
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
10231
10607
|
readonly issue: Schema.optional<Schema.String>;
|
|
10232
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
10608
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
10233
10609
|
readonly harness: Schema.String;
|
|
10234
10610
|
readonly model: Schema.String;
|
|
10235
10611
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -10468,7 +10844,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10468
10844
|
readonly sequence: Schema.Number;
|
|
10469
10845
|
readonly timestamp: Schema.String;
|
|
10470
10846
|
readonly payload: Schema.Struct<{
|
|
10471
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10847
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
10472
10848
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
10473
10849
|
readonly isRunning: Schema.Boolean;
|
|
10474
10850
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -10479,7 +10855,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10479
10855
|
readonly sequence: Schema.Number;
|
|
10480
10856
|
readonly timestamp: Schema.String;
|
|
10481
10857
|
readonly payload: Schema.Struct<{
|
|
10482
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10858
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
10483
10859
|
readonly issueId: Schema.optional<Schema.String>;
|
|
10484
10860
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10485
10861
|
}>;
|
|
@@ -10488,7 +10864,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10488
10864
|
readonly sequence: Schema.Number;
|
|
10489
10865
|
readonly timestamp: Schema.String;
|
|
10490
10866
|
readonly payload: Schema.Struct<{
|
|
10491
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10867
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
10492
10868
|
readonly issueId: Schema.optional<Schema.String>;
|
|
10493
10869
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10494
10870
|
readonly error: Schema.String;
|
|
@@ -10634,7 +11010,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10634
11010
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
10635
11011
|
readonly runId: Schema.String;
|
|
10636
11012
|
readonly sessionId: Schema.String;
|
|
10637
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
11013
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
10638
11014
|
readonly agentHarness: Schema.String;
|
|
10639
11015
|
readonly gitBranch: Schema.String;
|
|
10640
11016
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -10736,7 +11112,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10736
11112
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
10737
11113
|
readonly runId: Schema.String;
|
|
10738
11114
|
readonly sessionId: Schema.String;
|
|
10739
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
11115
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
10740
11116
|
readonly agentHarness: Schema.String;
|
|
10741
11117
|
}>;
|
|
10742
11118
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -10876,6 +11252,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10876
11252
|
readonly title: Schema.String;
|
|
10877
11253
|
readonly titleSource: Schema.String;
|
|
10878
11254
|
}>;
|
|
11255
|
+
}>, Schema.Struct<{
|
|
11256
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
11257
|
+
readonly sequence: Schema.Number;
|
|
11258
|
+
readonly timestamp: Schema.String;
|
|
11259
|
+
readonly payload: Schema.Struct<{
|
|
11260
|
+
readonly conversationName: Schema.String;
|
|
11261
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
11262
|
+
readonly url: Schema.String;
|
|
11263
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
11264
|
+
readonly linkedAt: Schema.String;
|
|
11265
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
11266
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
11267
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
11268
|
+
readonly isDraft: Schema.Boolean;
|
|
11269
|
+
readonly title: Schema.String;
|
|
11270
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
11271
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
11272
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
11273
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
11274
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
11275
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
11276
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
11277
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
11278
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
11279
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
11280
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
11281
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
11282
|
+
readonly syncedAt: Schema.String;
|
|
11283
|
+
}>>;
|
|
11284
|
+
readonly host: Schema.String;
|
|
11285
|
+
readonly repository: Schema.String;
|
|
11286
|
+
readonly number: Schema.Number;
|
|
11287
|
+
}>>;
|
|
11288
|
+
}>;
|
|
10879
11289
|
}>, Schema.Struct<{
|
|
10880
11290
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
10881
11291
|
readonly sequence: Schema.Number;
|
|
@@ -11047,6 +11457,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11047
11457
|
readonly at: Schema.String;
|
|
11048
11458
|
}>>;
|
|
11049
11459
|
}>;
|
|
11460
|
+
}>, Schema.Struct<{
|
|
11461
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
11462
|
+
readonly sequence: Schema.Number;
|
|
11463
|
+
readonly timestamp: Schema.String;
|
|
11464
|
+
readonly payload: Schema.Struct<{
|
|
11465
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
11466
|
+
readonly projectKey: Schema.String;
|
|
11467
|
+
readonly trigger: Schema.String;
|
|
11468
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
11469
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
11470
|
+
readonly startedAt: Schema.String;
|
|
11471
|
+
readonly error: Schema.optional<Schema.String>;
|
|
11472
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
11473
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
11474
|
+
}>>;
|
|
11475
|
+
}>;
|
|
11050
11476
|
}>, Schema.Struct<{
|
|
11051
11477
|
readonly type: Schema.Literal<"agent.created">;
|
|
11052
11478
|
readonly sequence: Schema.Number;
|
|
@@ -11068,10 +11494,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11068
11494
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
11069
11495
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11070
11496
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
11071
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11497
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11072
11498
|
readonly phase: Schema.optional<Schema.String>;
|
|
11073
11499
|
readonly workType: Schema.optional<Schema.String>;
|
|
11074
11500
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
11501
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11075
11502
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11076
11503
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11077
11504
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -11122,7 +11549,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11122
11549
|
readonly agentId: Schema.String;
|
|
11123
11550
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11124
11551
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11125
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11552
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11126
11553
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
11127
11554
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
11128
11555
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -11171,10 +11598,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11171
11598
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
11172
11599
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11173
11600
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
11174
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11601
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11175
11602
|
readonly phase: Schema.optional<Schema.String>;
|
|
11176
11603
|
readonly workType: Schema.optional<Schema.String>;
|
|
11177
11604
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
11605
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11178
11606
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11179
11607
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11180
11608
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -11254,7 +11682,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11254
11682
|
readonly issueId: Schema.String;
|
|
11255
11683
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11256
11684
|
readonly agentId: Schema.optional<Schema.String>;
|
|
11257
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11685
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11258
11686
|
}>;
|
|
11259
11687
|
}>, Schema.Struct<{
|
|
11260
11688
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -11282,6 +11710,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11282
11710
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11283
11711
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
11284
11712
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
11713
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11285
11714
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11286
11715
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11287
11716
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -11297,7 +11726,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11297
11726
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
11298
11727
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
11299
11728
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
11300
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11729
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11301
11730
|
readonly model: Schema.optional<Schema.String>;
|
|
11302
11731
|
readonly workspace: Schema.optional<Schema.String>;
|
|
11303
11732
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -11619,8 +12048,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11619
12048
|
readonly payload: Schema.Struct<{
|
|
11620
12049
|
readonly pane: Schema.Struct<{
|
|
11621
12050
|
readonly id: Schema.String;
|
|
12051
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
11622
12052
|
readonly issue: Schema.optional<Schema.String>;
|
|
11623
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
12053
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
11624
12054
|
readonly harness: Schema.String;
|
|
11625
12055
|
readonly model: Schema.String;
|
|
11626
12056
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -11859,7 +12289,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11859
12289
|
readonly sequence: Schema.Number;
|
|
11860
12290
|
readonly timestamp: Schema.String;
|
|
11861
12291
|
readonly payload: Schema.Struct<{
|
|
11862
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
12292
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11863
12293
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
11864
12294
|
readonly isRunning: Schema.Boolean;
|
|
11865
12295
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -11870,7 +12300,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11870
12300
|
readonly sequence: Schema.Number;
|
|
11871
12301
|
readonly timestamp: Schema.String;
|
|
11872
12302
|
readonly payload: Schema.Struct<{
|
|
11873
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
12303
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11874
12304
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11875
12305
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11876
12306
|
}>;
|
|
@@ -11879,7 +12309,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11879
12309
|
readonly sequence: Schema.Number;
|
|
11880
12310
|
readonly timestamp: Schema.String;
|
|
11881
12311
|
readonly payload: Schema.Struct<{
|
|
11882
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
12312
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11883
12313
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11884
12314
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11885
12315
|
readonly error: Schema.String;
|
|
@@ -12025,7 +12455,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12025
12455
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
12026
12456
|
readonly runId: Schema.String;
|
|
12027
12457
|
readonly sessionId: Schema.String;
|
|
12028
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
12458
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
12029
12459
|
readonly agentHarness: Schema.String;
|
|
12030
12460
|
readonly gitBranch: Schema.String;
|
|
12031
12461
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -12127,7 +12557,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12127
12557
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
12128
12558
|
readonly runId: Schema.String;
|
|
12129
12559
|
readonly sessionId: Schema.String;
|
|
12130
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
12560
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
12131
12561
|
readonly agentHarness: Schema.String;
|
|
12132
12562
|
}>;
|
|
12133
12563
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -12267,6 +12697,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12267
12697
|
readonly title: Schema.String;
|
|
12268
12698
|
readonly titleSource: Schema.String;
|
|
12269
12699
|
}>;
|
|
12700
|
+
}>, Schema.Struct<{
|
|
12701
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
12702
|
+
readonly sequence: Schema.Number;
|
|
12703
|
+
readonly timestamp: Schema.String;
|
|
12704
|
+
readonly payload: Schema.Struct<{
|
|
12705
|
+
readonly conversationName: Schema.String;
|
|
12706
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
12707
|
+
readonly url: Schema.String;
|
|
12708
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
12709
|
+
readonly linkedAt: Schema.String;
|
|
12710
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
12711
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
12712
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
12713
|
+
readonly isDraft: Schema.Boolean;
|
|
12714
|
+
readonly title: Schema.String;
|
|
12715
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
12716
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
12717
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
12718
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
12719
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
12720
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
12721
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
12722
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
12723
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
12724
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
12725
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
12726
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
12727
|
+
readonly syncedAt: Schema.String;
|
|
12728
|
+
}>>;
|
|
12729
|
+
readonly host: Schema.String;
|
|
12730
|
+
readonly repository: Schema.String;
|
|
12731
|
+
readonly number: Schema.Number;
|
|
12732
|
+
}>>;
|
|
12733
|
+
}>;
|
|
12270
12734
|
}>, Schema.Struct<{
|
|
12271
12735
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
12272
12736
|
readonly sequence: Schema.Number;
|
|
@@ -12397,10 +12861,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12397
12861
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
12398
12862
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
12399
12863
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
12400
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12864
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12401
12865
|
readonly phase: Schema.optional<Schema.String>;
|
|
12402
12866
|
readonly workType: Schema.optional<Schema.String>;
|
|
12403
12867
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
12868
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12404
12869
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12405
12870
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12406
12871
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12463,8 +12928,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12463
12928
|
}>>;
|
|
12464
12929
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
12465
12930
|
readonly id: Schema.String;
|
|
12931
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
12466
12932
|
readonly issue: Schema.optional<Schema.String>;
|
|
12467
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
12933
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
12468
12934
|
readonly harness: Schema.String;
|
|
12469
12935
|
readonly model: Schema.String;
|
|
12470
12936
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -12584,6 +13050,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12584
13050
|
readonly at: Schema.String;
|
|
12585
13051
|
}>>;
|
|
12586
13052
|
}>>;
|
|
13053
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
13054
|
+
readonly projectKey: Schema.String;
|
|
13055
|
+
readonly trigger: Schema.String;
|
|
13056
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
13057
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
13058
|
+
readonly startedAt: Schema.String;
|
|
13059
|
+
readonly error: Schema.optional<Schema.String>;
|
|
13060
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
13061
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13062
|
+
}>>>;
|
|
12587
13063
|
readonly timestamp: Schema.String;
|
|
12588
13064
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
12589
13065
|
readonly fromSequence: Schema.Number;
|
|
@@ -12653,6 +13129,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12653
13129
|
readonly at: Schema.String;
|
|
12654
13130
|
}>>;
|
|
12655
13131
|
}>;
|
|
13132
|
+
}>, Schema.Struct<{
|
|
13133
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
13134
|
+
readonly sequence: Schema.Number;
|
|
13135
|
+
readonly timestamp: Schema.String;
|
|
13136
|
+
readonly payload: Schema.Struct<{
|
|
13137
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
13138
|
+
readonly projectKey: Schema.String;
|
|
13139
|
+
readonly trigger: Schema.String;
|
|
13140
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
13141
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
13142
|
+
readonly startedAt: Schema.String;
|
|
13143
|
+
readonly error: Schema.optional<Schema.String>;
|
|
13144
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
13145
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13146
|
+
}>>;
|
|
13147
|
+
}>;
|
|
12656
13148
|
}>, Schema.Struct<{
|
|
12657
13149
|
readonly type: Schema.Literal<"agent.created">;
|
|
12658
13150
|
readonly sequence: Schema.Number;
|
|
@@ -12674,10 +13166,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12674
13166
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
12675
13167
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
12676
13168
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
12677
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
13169
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12678
13170
|
readonly phase: Schema.optional<Schema.String>;
|
|
12679
13171
|
readonly workType: Schema.optional<Schema.String>;
|
|
12680
13172
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
13173
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12681
13174
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12682
13175
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12683
13176
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12728,7 +13221,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12728
13221
|
readonly agentId: Schema.String;
|
|
12729
13222
|
readonly issueId: Schema.optional<Schema.String>;
|
|
12730
13223
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12731
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
13224
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12732
13225
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
12733
13226
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
12734
13227
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -12777,10 +13270,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12777
13270
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
12778
13271
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
12779
13272
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
12780
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
13273
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12781
13274
|
readonly phase: Schema.optional<Schema.String>;
|
|
12782
13275
|
readonly workType: Schema.optional<Schema.String>;
|
|
12783
13276
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
13277
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12784
13278
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12785
13279
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12786
13280
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12860,7 +13354,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12860
13354
|
readonly issueId: Schema.String;
|
|
12861
13355
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12862
13356
|
readonly agentId: Schema.optional<Schema.String>;
|
|
12863
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
13357
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12864
13358
|
}>;
|
|
12865
13359
|
}>, Schema.Struct<{
|
|
12866
13360
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -12888,6 +13382,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12888
13382
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12889
13383
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
12890
13384
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
13385
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12891
13386
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12892
13387
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12893
13388
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -12903,7 +13398,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12903
13398
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
12904
13399
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
12905
13400
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
12906
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
13401
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
12907
13402
|
readonly model: Schema.optional<Schema.String>;
|
|
12908
13403
|
readonly workspace: Schema.optional<Schema.String>;
|
|
12909
13404
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -13225,8 +13720,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13225
13720
|
readonly payload: Schema.Struct<{
|
|
13226
13721
|
readonly pane: Schema.Struct<{
|
|
13227
13722
|
readonly id: Schema.String;
|
|
13723
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
13228
13724
|
readonly issue: Schema.optional<Schema.String>;
|
|
13229
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
13725
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
13230
13726
|
readonly harness: Schema.String;
|
|
13231
13727
|
readonly model: Schema.String;
|
|
13232
13728
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -13465,7 +13961,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13465
13961
|
readonly sequence: Schema.Number;
|
|
13466
13962
|
readonly timestamp: Schema.String;
|
|
13467
13963
|
readonly payload: Schema.Struct<{
|
|
13468
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13964
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
13469
13965
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
13470
13966
|
readonly isRunning: Schema.Boolean;
|
|
13471
13967
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -13476,7 +13972,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13476
13972
|
readonly sequence: Schema.Number;
|
|
13477
13973
|
readonly timestamp: Schema.String;
|
|
13478
13974
|
readonly payload: Schema.Struct<{
|
|
13479
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13975
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
13480
13976
|
readonly issueId: Schema.optional<Schema.String>;
|
|
13481
13977
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13482
13978
|
}>;
|
|
@@ -13485,7 +13981,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13485
13981
|
readonly sequence: Schema.Number;
|
|
13486
13982
|
readonly timestamp: Schema.String;
|
|
13487
13983
|
readonly payload: Schema.Struct<{
|
|
13488
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13984
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
13489
13985
|
readonly issueId: Schema.optional<Schema.String>;
|
|
13490
13986
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13491
13987
|
readonly error: Schema.String;
|
|
@@ -13631,7 +14127,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13631
14127
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
13632
14128
|
readonly runId: Schema.String;
|
|
13633
14129
|
readonly sessionId: Schema.String;
|
|
13634
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
14130
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
13635
14131
|
readonly agentHarness: Schema.String;
|
|
13636
14132
|
readonly gitBranch: Schema.String;
|
|
13637
14133
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -13733,7 +14229,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13733
14229
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
13734
14230
|
readonly runId: Schema.String;
|
|
13735
14231
|
readonly sessionId: Schema.String;
|
|
13736
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
14232
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
13737
14233
|
readonly agentHarness: Schema.String;
|
|
13738
14234
|
}>;
|
|
13739
14235
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -13873,6 +14369,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13873
14369
|
readonly title: Schema.String;
|
|
13874
14370
|
readonly titleSource: Schema.String;
|
|
13875
14371
|
}>;
|
|
14372
|
+
}>, Schema.Struct<{
|
|
14373
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
14374
|
+
readonly sequence: Schema.Number;
|
|
14375
|
+
readonly timestamp: Schema.String;
|
|
14376
|
+
readonly payload: Schema.Struct<{
|
|
14377
|
+
readonly conversationName: Schema.String;
|
|
14378
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
14379
|
+
readonly url: Schema.String;
|
|
14380
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
14381
|
+
readonly linkedAt: Schema.String;
|
|
14382
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
14383
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
14384
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
14385
|
+
readonly isDraft: Schema.Boolean;
|
|
14386
|
+
readonly title: Schema.String;
|
|
14387
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
14388
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
14389
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
14390
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
14391
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
14392
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
14393
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
14394
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
14395
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
14396
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
14397
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
14398
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
14399
|
+
readonly syncedAt: Schema.String;
|
|
14400
|
+
}>>;
|
|
14401
|
+
readonly host: Schema.String;
|
|
14402
|
+
readonly repository: Schema.String;
|
|
14403
|
+
readonly number: Schema.Number;
|
|
14404
|
+
}>>;
|
|
14405
|
+
}>;
|
|
13876
14406
|
}>, Schema.Struct<{
|
|
13877
14407
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
13878
14408
|
readonly sequence: Schema.Number;
|
|
@@ -14616,9 +15146,10 @@ declare function isIssueAttention(value: unknown): value is IssueAttention;
|
|
|
14616
15146
|
//#endregion
|
|
14617
15147
|
//#region src/backend-pane.d.ts
|
|
14618
15148
|
declare const BackendPane: Schema.Struct<{
|
|
14619
|
-
/** Stable pane identity: the backend-native pane handle. */readonly id: Schema.String; /**
|
|
15149
|
+
/** Stable pane identity: the backend-native pane handle. */readonly id: Schema.String; /** Overdeck agent id: Herdr `agentId` token or live agent name; tmux session name (PAN-3920). */
|
|
15150
|
+
readonly agentId: Schema.optional<Schema.String>; /** Issue the pane belongs to; absent for operator conversations. */
|
|
14620
15151
|
readonly issue: Schema.optional<Schema.String>;
|
|
14621
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
15152
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
14622
15153
|
readonly harness: Schema.String;
|
|
14623
15154
|
readonly model: Schema.String;
|
|
14624
15155
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>; /** Epoch millis the pane entered `state`; drives the `stuck` attention. */
|
|
@@ -14711,6 +15242,8 @@ interface ReadModelState {
|
|
|
14711
15242
|
ciByProjectKey: Record<string, ProjectCiSnapshot>;
|
|
14712
15243
|
/** PAN-3729 — voluntary-restart approval gate; null until the gate first reports. */
|
|
14713
15244
|
restartGate: RestartGateSnapshot | null;
|
|
15245
|
+
/** PAN-3751 — in-flight deploys keyed by project key; derived, never stored. */
|
|
15246
|
+
deployByProjectKey: Record<string, ProjectDeploySnapshot>;
|
|
14714
15247
|
/** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
|
|
14715
15248
|
agentIdBySessionId: Record<string, string>;
|
|
14716
15249
|
}
|
|
@@ -14734,6 +15267,12 @@ declare function isTerminalTurnDiffSummaryStatus(status: unknown): boolean;
|
|
|
14734
15267
|
declare function trimTurnDiffSummaries(summaries: TurnDiffSummary[]): TurnDiffSummary[];
|
|
14735
15268
|
declare function omitTurnDiffSummariesForAgent(turnDiffSummariesByAgentId: ReadModelState['turnDiffSummariesByAgentId'] | undefined, agentId: string): ReadModelState['turnDiffSummariesByAgentId'];
|
|
14736
15269
|
declare function syncSnapshot(state: ReadModelState, snapshot: DashboardSnapshot): ReadModelState;
|
|
15270
|
+
/**
|
|
15271
|
+
* #4105 — `hasLivePane` and its deprecated alias `hasLiveTmuxSession` carry one
|
|
15272
|
+
* fact. An agent snapshot from a stored event may carry only the old name; fill
|
|
15273
|
+
* whichever one is missing so readers of either name agree.
|
|
15274
|
+
*/
|
|
15275
|
+
declare function withPaneLivenessAlias(agent: AgentSnapshot): AgentSnapshot;
|
|
14737
15276
|
declare function applyEvent(state: ReadModelState, event: DomainEvent): ReadModelState;
|
|
14738
15277
|
declare function applyEvents(state: ReadModelState, events: DomainEvent[]): ReadModelState;
|
|
14739
15278
|
//#endregion
|
|
@@ -15170,465 +15709,348 @@ declare const FlywheelStatsCriterionStatus: Schema.Literals<readonly ["green", "
|
|
|
15170
15709
|
type FlywheelStatsCriterionStatus = typeof FlywheelStatsCriterionStatus.Type;
|
|
15171
15710
|
declare const FlywheelStatsTrend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15172
15711
|
type FlywheelStatsTrend = typeof FlywheelStatsTrend.Type;
|
|
15173
|
-
declare const
|
|
15174
|
-
type
|
|
15175
|
-
declare const
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
declare const FlywheelStatsCriterion: Schema.Struct<{
|
|
15187
|
-
readonly label: Schema.String;
|
|
15188
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15189
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15712
|
+
declare const FlywheelSubstrateSeverity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15713
|
+
type FlywheelSubstrateSeverity = typeof FlywheelSubstrateSeverity.Type;
|
|
15714
|
+
declare const FlywheelStatsWindow: Schema.Struct<{
|
|
15715
|
+
readonly days: Schema.Number;
|
|
15716
|
+
readonly since: Schema.String;
|
|
15717
|
+
readonly until: Schema.String;
|
|
15718
|
+
}>;
|
|
15719
|
+
type FlywheelStatsWindow = typeof FlywheelStatsWindow.Type;
|
|
15720
|
+
/** c1: substrate bugs filed per merged PR in the window. */
|
|
15721
|
+
declare const FlywheelBugRateCriterion: Schema.Struct<{
|
|
15722
|
+
/** `null` when no PR merged in the window (the rate is undefined). */readonly value: Schema.NullOr<Schema.Number>;
|
|
15723
|
+
readonly count: Schema.Number;
|
|
15724
|
+
readonly denominator: Schema.Number;
|
|
15190
15725
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15191
|
-
readonly trend: Schema.
|
|
15192
|
-
readonly sampleSize: Schema.Number;
|
|
15726
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15193
15727
|
readonly dataSufficient: Schema.Boolean;
|
|
15194
15728
|
}>;
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
c7_flake: FlywheelStatsCriterion;
|
|
15203
|
-
}
|
|
15204
|
-
declare const FlywheelStatsCriteria: Schema.Struct<{
|
|
15205
|
-
readonly c1_bugRate: Schema.Struct<{
|
|
15206
|
-
readonly label: Schema.String;
|
|
15207
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15208
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15209
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15210
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15211
|
-
readonly sampleSize: Schema.Number;
|
|
15212
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15213
|
-
}>;
|
|
15214
|
-
readonly c2_p0Bugs: Schema.Struct<{
|
|
15215
|
-
readonly label: Schema.String;
|
|
15216
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15217
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15218
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15219
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15220
|
-
readonly sampleSize: Schema.Number;
|
|
15221
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15222
|
-
}>;
|
|
15223
|
-
readonly c3_passRate: Schema.Struct<{
|
|
15224
|
-
readonly label: Schema.String;
|
|
15225
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15226
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15227
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15228
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15229
|
-
readonly sampleSize: Schema.Number;
|
|
15230
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15231
|
-
}>;
|
|
15232
|
-
readonly c4_mttr: Schema.Struct<{
|
|
15233
|
-
readonly label: Schema.String;
|
|
15234
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15235
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15236
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15237
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15238
|
-
readonly sampleSize: Schema.Number;
|
|
15239
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15240
|
-
}>;
|
|
15241
|
-
readonly c5_intervention: Schema.Struct<{
|
|
15242
|
-
readonly label: Schema.String;
|
|
15243
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15244
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15245
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15246
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15247
|
-
readonly sampleSize: Schema.Number;
|
|
15248
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15249
|
-
}>;
|
|
15250
|
-
readonly c6_timeConsistency: Schema.Struct<{
|
|
15251
|
-
readonly label: Schema.String;
|
|
15252
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15253
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15254
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15255
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15256
|
-
readonly sampleSize: Schema.Number;
|
|
15257
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15258
|
-
}>;
|
|
15259
|
-
readonly c7_flake: Schema.Struct<{
|
|
15260
|
-
readonly label: Schema.String;
|
|
15261
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15262
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15263
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15264
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15265
|
-
readonly sampleSize: Schema.Number;
|
|
15266
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15267
|
-
}>;
|
|
15729
|
+
type FlywheelBugRateCriterion = typeof FlywheelBugRateCriterion.Type;
|
|
15730
|
+
/** c2: P0 substrate bugs filed in the window. */
|
|
15731
|
+
declare const FlywheelP0Criterion: Schema.Struct<{
|
|
15732
|
+
readonly value: Schema.Number;
|
|
15733
|
+
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15734
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15735
|
+
readonly dataSufficient: Schema.Boolean;
|
|
15268
15736
|
}>;
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15737
|
+
type FlywheelP0Criterion = typeof FlywheelP0Criterion.Type;
|
|
15738
|
+
declare const FlywheelSubstrateBugRow: Schema.Struct<{
|
|
15739
|
+
readonly number: Schema.Number;
|
|
15740
|
+
readonly title: Schema.String;
|
|
15741
|
+
readonly createdAt: Schema.String;
|
|
15742
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
15743
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15744
|
+
}>;
|
|
15745
|
+
type FlywheelSubstrateBugRow = typeof FlywheelSubstrateBugRow.Type;
|
|
15274
15746
|
declare const FlywheelStats: Schema.Struct<{
|
|
15275
|
-
readonly window: Schema.
|
|
15747
|
+
readonly window: Schema.Struct<{
|
|
15748
|
+
readonly days: Schema.Number;
|
|
15749
|
+
readonly since: Schema.String;
|
|
15750
|
+
readonly until: Schema.String;
|
|
15751
|
+
}>;
|
|
15276
15752
|
readonly generatedAt: Schema.String;
|
|
15277
15753
|
readonly criteria: Schema.Struct<{
|
|
15278
15754
|
readonly c1_bugRate: Schema.Struct<{
|
|
15279
|
-
readonly
|
|
15280
|
-
readonly
|
|
15281
|
-
readonly
|
|
15755
|
+
/** `null` when no PR merged in the window (the rate is undefined). */readonly value: Schema.NullOr<Schema.Number>;
|
|
15756
|
+
readonly count: Schema.Number;
|
|
15757
|
+
readonly denominator: Schema.Number;
|
|
15282
15758
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15283
|
-
readonly trend: Schema.
|
|
15284
|
-
readonly sampleSize: Schema.Number;
|
|
15759
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15285
15760
|
readonly dataSufficient: Schema.Boolean;
|
|
15286
15761
|
}>;
|
|
15287
15762
|
readonly c2_p0Bugs: Schema.Struct<{
|
|
15288
|
-
readonly
|
|
15289
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15290
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15291
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15292
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15293
|
-
readonly sampleSize: Schema.Number;
|
|
15294
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15295
|
-
}>;
|
|
15296
|
-
readonly c3_passRate: Schema.Struct<{
|
|
15297
|
-
readonly label: Schema.String;
|
|
15298
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15299
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15300
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15301
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15302
|
-
readonly sampleSize: Schema.Number;
|
|
15303
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15304
|
-
}>;
|
|
15305
|
-
readonly c4_mttr: Schema.Struct<{
|
|
15306
|
-
readonly label: Schema.String;
|
|
15307
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15308
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15309
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15310
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15311
|
-
readonly sampleSize: Schema.Number;
|
|
15312
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15313
|
-
}>;
|
|
15314
|
-
readonly c5_intervention: Schema.Struct<{
|
|
15315
|
-
readonly label: Schema.String;
|
|
15316
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15317
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15318
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15319
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15320
|
-
readonly sampleSize: Schema.Number;
|
|
15321
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15322
|
-
}>;
|
|
15323
|
-
readonly c6_timeConsistency: Schema.Struct<{
|
|
15324
|
-
readonly label: Schema.String;
|
|
15325
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15326
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15763
|
+
readonly value: Schema.Number;
|
|
15327
15764
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15328
|
-
readonly trend: Schema.
|
|
15329
|
-
readonly sampleSize: Schema.Number;
|
|
15330
|
-
readonly dataSufficient: Schema.Boolean;
|
|
15331
|
-
}>;
|
|
15332
|
-
readonly c7_flake: Schema.Struct<{
|
|
15333
|
-
readonly label: Schema.String;
|
|
15334
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15335
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15336
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15337
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
15338
|
-
readonly sampleSize: Schema.Number;
|
|
15765
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15339
15766
|
readonly dataSufficient: Schema.Boolean;
|
|
15340
15767
|
}>;
|
|
15341
15768
|
}>;
|
|
15769
|
+
readonly bugs: Schema.$Array<Schema.Struct<{
|
|
15770
|
+
readonly number: Schema.Number;
|
|
15771
|
+
readonly title: Schema.String;
|
|
15772
|
+
readonly createdAt: Schema.String;
|
|
15773
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
15774
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15775
|
+
}>>;
|
|
15342
15776
|
}>;
|
|
15777
|
+
type FlywheelStats = typeof FlywheelStats.Type;
|
|
15343
15778
|
declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
15344
|
-
readonly window:
|
|
15779
|
+
readonly window: {
|
|
15780
|
+
readonly days: number;
|
|
15781
|
+
readonly since: string;
|
|
15782
|
+
readonly until: string;
|
|
15783
|
+
};
|
|
15345
15784
|
readonly generatedAt: string;
|
|
15346
15785
|
readonly criteria: {
|
|
15347
15786
|
readonly c1_bugRate: {
|
|
15348
|
-
readonly
|
|
15349
|
-
readonly
|
|
15350
|
-
|
|
15351
|
-
};
|
|
15352
|
-
readonly target: number | {
|
|
15353
|
-
readonly [x: string]: Schema.Json;
|
|
15354
|
-
};
|
|
15787
|
+
readonly value: number | null;
|
|
15788
|
+
readonly count: number;
|
|
15789
|
+
readonly denominator: number;
|
|
15355
15790
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15356
|
-
readonly
|
|
15791
|
+
readonly trend: "flat" | "up" | "down";
|
|
15357
15792
|
readonly dataSufficient: boolean;
|
|
15358
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15359
15793
|
};
|
|
15360
15794
|
readonly c2_p0Bugs: {
|
|
15361
|
-
readonly
|
|
15362
|
-
readonly value: number | {
|
|
15363
|
-
readonly [x: string]: Schema.Json;
|
|
15364
|
-
};
|
|
15365
|
-
readonly target: number | {
|
|
15366
|
-
readonly [x: string]: Schema.Json;
|
|
15367
|
-
};
|
|
15368
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15369
|
-
readonly sampleSize: number;
|
|
15370
|
-
readonly dataSufficient: boolean;
|
|
15371
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15372
|
-
};
|
|
15373
|
-
readonly c3_passRate: {
|
|
15374
|
-
readonly label: string;
|
|
15375
|
-
readonly value: number | {
|
|
15376
|
-
readonly [x: string]: Schema.Json;
|
|
15377
|
-
};
|
|
15378
|
-
readonly target: number | {
|
|
15379
|
-
readonly [x: string]: Schema.Json;
|
|
15380
|
-
};
|
|
15795
|
+
readonly value: number;
|
|
15381
15796
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15382
|
-
readonly
|
|
15797
|
+
readonly trend: "flat" | "up" | "down";
|
|
15383
15798
|
readonly dataSufficient: boolean;
|
|
15384
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15385
|
-
};
|
|
15386
|
-
readonly c4_mttr: {
|
|
15387
|
-
readonly label: string;
|
|
15388
|
-
readonly value: number | {
|
|
15389
|
-
readonly [x: string]: Schema.Json;
|
|
15390
|
-
};
|
|
15391
|
-
readonly target: number | {
|
|
15392
|
-
readonly [x: string]: Schema.Json;
|
|
15393
|
-
};
|
|
15394
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15395
|
-
readonly sampleSize: number;
|
|
15396
|
-
readonly dataSufficient: boolean;
|
|
15397
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15398
|
-
};
|
|
15399
|
-
readonly c5_intervention: {
|
|
15400
|
-
readonly label: string;
|
|
15401
|
-
readonly value: number | {
|
|
15402
|
-
readonly [x: string]: Schema.Json;
|
|
15403
|
-
};
|
|
15404
|
-
readonly target: number | {
|
|
15405
|
-
readonly [x: string]: Schema.Json;
|
|
15406
|
-
};
|
|
15407
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15408
|
-
readonly sampleSize: number;
|
|
15409
|
-
readonly dataSufficient: boolean;
|
|
15410
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15411
|
-
};
|
|
15412
|
-
readonly c6_timeConsistency: {
|
|
15413
|
-
readonly label: string;
|
|
15414
|
-
readonly value: number | {
|
|
15415
|
-
readonly [x: string]: Schema.Json;
|
|
15416
|
-
};
|
|
15417
|
-
readonly target: number | {
|
|
15418
|
-
readonly [x: string]: Schema.Json;
|
|
15419
|
-
};
|
|
15420
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15421
|
-
readonly sampleSize: number;
|
|
15422
|
-
readonly dataSufficient: boolean;
|
|
15423
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15424
|
-
};
|
|
15425
|
-
readonly c7_flake: {
|
|
15426
|
-
readonly label: string;
|
|
15427
|
-
readonly value: number | {
|
|
15428
|
-
readonly [x: string]: Schema.Json;
|
|
15429
|
-
};
|
|
15430
|
-
readonly target: number | {
|
|
15431
|
-
readonly [x: string]: Schema.Json;
|
|
15432
|
-
};
|
|
15433
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15434
|
-
readonly sampleSize: number;
|
|
15435
|
-
readonly dataSufficient: boolean;
|
|
15436
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15437
15799
|
};
|
|
15438
15800
|
};
|
|
15801
|
+
readonly bugs: readonly {
|
|
15802
|
+
readonly number: number;
|
|
15803
|
+
readonly title: string;
|
|
15804
|
+
readonly createdAt: string;
|
|
15805
|
+
readonly closedAt: string | null;
|
|
15806
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15807
|
+
}[];
|
|
15439
15808
|
};
|
|
15440
15809
|
declare const encodeFlywheelStats: (input: {
|
|
15441
|
-
readonly window:
|
|
15810
|
+
readonly window: {
|
|
15811
|
+
readonly days: number;
|
|
15812
|
+
readonly since: string;
|
|
15813
|
+
readonly until: string;
|
|
15814
|
+
};
|
|
15442
15815
|
readonly generatedAt: string;
|
|
15443
15816
|
readonly criteria: {
|
|
15444
15817
|
readonly c1_bugRate: {
|
|
15445
|
-
readonly
|
|
15446
|
-
readonly
|
|
15447
|
-
|
|
15448
|
-
};
|
|
15449
|
-
readonly target: number | {
|
|
15450
|
-
readonly [x: string]: Schema.Json;
|
|
15451
|
-
};
|
|
15818
|
+
readonly value: number | null;
|
|
15819
|
+
readonly count: number;
|
|
15820
|
+
readonly denominator: number;
|
|
15452
15821
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15453
|
-
readonly
|
|
15822
|
+
readonly trend: "flat" | "up" | "down";
|
|
15454
15823
|
readonly dataSufficient: boolean;
|
|
15455
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15456
15824
|
};
|
|
15457
15825
|
readonly c2_p0Bugs: {
|
|
15458
|
-
readonly
|
|
15459
|
-
readonly value: number | {
|
|
15460
|
-
readonly [x: string]: Schema.Json;
|
|
15461
|
-
};
|
|
15462
|
-
readonly target: number | {
|
|
15463
|
-
readonly [x: string]: Schema.Json;
|
|
15464
|
-
};
|
|
15826
|
+
readonly value: number;
|
|
15465
15827
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15466
|
-
readonly
|
|
15828
|
+
readonly trend: "flat" | "up" | "down";
|
|
15467
15829
|
readonly dataSufficient: boolean;
|
|
15468
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15469
|
-
};
|
|
15470
|
-
readonly c3_passRate: {
|
|
15471
|
-
readonly label: string;
|
|
15472
|
-
readonly value: number | {
|
|
15473
|
-
readonly [x: string]: Schema.Json;
|
|
15474
|
-
};
|
|
15475
|
-
readonly target: number | {
|
|
15476
|
-
readonly [x: string]: Schema.Json;
|
|
15477
|
-
};
|
|
15478
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15479
|
-
readonly sampleSize: number;
|
|
15480
|
-
readonly dataSufficient: boolean;
|
|
15481
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15482
|
-
};
|
|
15483
|
-
readonly c4_mttr: {
|
|
15484
|
-
readonly label: string;
|
|
15485
|
-
readonly value: number | {
|
|
15486
|
-
readonly [x: string]: Schema.Json;
|
|
15487
|
-
};
|
|
15488
|
-
readonly target: number | {
|
|
15489
|
-
readonly [x: string]: Schema.Json;
|
|
15490
|
-
};
|
|
15491
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15492
|
-
readonly sampleSize: number;
|
|
15493
|
-
readonly dataSufficient: boolean;
|
|
15494
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15495
|
-
};
|
|
15496
|
-
readonly c5_intervention: {
|
|
15497
|
-
readonly label: string;
|
|
15498
|
-
readonly value: number | {
|
|
15499
|
-
readonly [x: string]: Schema.Json;
|
|
15500
|
-
};
|
|
15501
|
-
readonly target: number | {
|
|
15502
|
-
readonly [x: string]: Schema.Json;
|
|
15503
|
-
};
|
|
15504
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15505
|
-
readonly sampleSize: number;
|
|
15506
|
-
readonly dataSufficient: boolean;
|
|
15507
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15508
|
-
};
|
|
15509
|
-
readonly c6_timeConsistency: {
|
|
15510
|
-
readonly label: string;
|
|
15511
|
-
readonly value: number | {
|
|
15512
|
-
readonly [x: string]: Schema.Json;
|
|
15513
|
-
};
|
|
15514
|
-
readonly target: number | {
|
|
15515
|
-
readonly [x: string]: Schema.Json;
|
|
15516
|
-
};
|
|
15517
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15518
|
-
readonly sampleSize: number;
|
|
15519
|
-
readonly dataSufficient: boolean;
|
|
15520
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15521
|
-
};
|
|
15522
|
-
readonly c7_flake: {
|
|
15523
|
-
readonly label: string;
|
|
15524
|
-
readonly value: number | {
|
|
15525
|
-
readonly [x: string]: Schema.Json;
|
|
15526
|
-
};
|
|
15527
|
-
readonly target: number | {
|
|
15528
|
-
readonly [x: string]: Schema.Json;
|
|
15529
|
-
};
|
|
15530
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15531
|
-
readonly sampleSize: number;
|
|
15532
|
-
readonly dataSufficient: boolean;
|
|
15533
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15534
15830
|
};
|
|
15535
15831
|
};
|
|
15832
|
+
readonly bugs: readonly {
|
|
15833
|
+
readonly number: number;
|
|
15834
|
+
readonly title: string;
|
|
15835
|
+
readonly createdAt: string;
|
|
15836
|
+
readonly closedAt: string | null;
|
|
15837
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15838
|
+
}[];
|
|
15536
15839
|
}, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
15537
|
-
readonly window:
|
|
15840
|
+
readonly window: {
|
|
15841
|
+
readonly days: number;
|
|
15842
|
+
readonly since: string;
|
|
15843
|
+
readonly until: string;
|
|
15844
|
+
};
|
|
15538
15845
|
readonly generatedAt: string;
|
|
15539
15846
|
readonly criteria: {
|
|
15540
15847
|
readonly c1_bugRate: {
|
|
15541
|
-
readonly
|
|
15542
|
-
readonly
|
|
15543
|
-
|
|
15544
|
-
};
|
|
15545
|
-
readonly target: number | {
|
|
15546
|
-
readonly [x: string]: Schema.Json;
|
|
15547
|
-
};
|
|
15848
|
+
readonly value: number | null;
|
|
15849
|
+
readonly count: number;
|
|
15850
|
+
readonly denominator: number;
|
|
15548
15851
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15549
|
-
readonly
|
|
15852
|
+
readonly trend: "flat" | "up" | "down";
|
|
15550
15853
|
readonly dataSufficient: boolean;
|
|
15551
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15552
15854
|
};
|
|
15553
15855
|
readonly c2_p0Bugs: {
|
|
15554
|
-
readonly
|
|
15555
|
-
readonly value: number | {
|
|
15556
|
-
readonly [x: string]: Schema.Json;
|
|
15557
|
-
};
|
|
15558
|
-
readonly target: number | {
|
|
15559
|
-
readonly [x: string]: Schema.Json;
|
|
15560
|
-
};
|
|
15856
|
+
readonly value: number;
|
|
15561
15857
|
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15562
|
-
readonly
|
|
15858
|
+
readonly trend: "flat" | "up" | "down";
|
|
15563
15859
|
readonly dataSufficient: boolean;
|
|
15564
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15565
|
-
};
|
|
15566
|
-
readonly c3_passRate: {
|
|
15567
|
-
readonly label: string;
|
|
15568
|
-
readonly value: number | {
|
|
15569
|
-
readonly [x: string]: Schema.Json;
|
|
15570
|
-
};
|
|
15571
|
-
readonly target: number | {
|
|
15572
|
-
readonly [x: string]: Schema.Json;
|
|
15573
|
-
};
|
|
15574
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15575
|
-
readonly sampleSize: number;
|
|
15576
|
-
readonly dataSufficient: boolean;
|
|
15577
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15578
|
-
};
|
|
15579
|
-
readonly c4_mttr: {
|
|
15580
|
-
readonly label: string;
|
|
15581
|
-
readonly value: number | {
|
|
15582
|
-
readonly [x: string]: Schema.Json;
|
|
15583
|
-
};
|
|
15584
|
-
readonly target: number | {
|
|
15585
|
-
readonly [x: string]: Schema.Json;
|
|
15586
|
-
};
|
|
15587
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15588
|
-
readonly sampleSize: number;
|
|
15589
|
-
readonly dataSufficient: boolean;
|
|
15590
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15591
|
-
};
|
|
15592
|
-
readonly c5_intervention: {
|
|
15593
|
-
readonly label: string;
|
|
15594
|
-
readonly value: number | {
|
|
15595
|
-
readonly [x: string]: Schema.Json;
|
|
15596
|
-
};
|
|
15597
|
-
readonly target: number | {
|
|
15598
|
-
readonly [x: string]: Schema.Json;
|
|
15599
|
-
};
|
|
15600
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15601
|
-
readonly sampleSize: number;
|
|
15602
|
-
readonly dataSufficient: boolean;
|
|
15603
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15604
|
-
};
|
|
15605
|
-
readonly c6_timeConsistency: {
|
|
15606
|
-
readonly label: string;
|
|
15607
|
-
readonly value: number | {
|
|
15608
|
-
readonly [x: string]: Schema.Json;
|
|
15609
|
-
};
|
|
15610
|
-
readonly target: number | {
|
|
15611
|
-
readonly [x: string]: Schema.Json;
|
|
15612
|
-
};
|
|
15613
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15614
|
-
readonly sampleSize: number;
|
|
15615
|
-
readonly dataSufficient: boolean;
|
|
15616
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15617
|
-
};
|
|
15618
|
-
readonly c7_flake: {
|
|
15619
|
-
readonly label: string;
|
|
15620
|
-
readonly value: number | {
|
|
15621
|
-
readonly [x: string]: Schema.Json;
|
|
15622
|
-
};
|
|
15623
|
-
readonly target: number | {
|
|
15624
|
-
readonly [x: string]: Schema.Json;
|
|
15625
|
-
};
|
|
15626
|
-
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15627
|
-
readonly sampleSize: number;
|
|
15628
|
-
readonly dataSufficient: boolean;
|
|
15629
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
15630
15860
|
};
|
|
15631
15861
|
};
|
|
15862
|
+
readonly bugs: readonly {
|
|
15863
|
+
readonly number: number;
|
|
15864
|
+
readonly title: string;
|
|
15865
|
+
readonly createdAt: string;
|
|
15866
|
+
readonly closedAt: string | null;
|
|
15867
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15868
|
+
}[];
|
|
15869
|
+
};
|
|
15870
|
+
//#endregion
|
|
15871
|
+
//#region src/flywheel-derived.d.ts
|
|
15872
|
+
/** The loop's phases, as the skill reports them in its tick marker. */
|
|
15873
|
+
declare const TickMarkerPhase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15874
|
+
type TickMarkerPhase = typeof TickMarkerPhase.Type;
|
|
15875
|
+
/**
|
|
15876
|
+
* One parsed tick marker line:
|
|
15877
|
+
* `flywheel-tick: tick=<n> pick=<ID|none> phase=<phase> in-flight=<ID,…|none> needs-you=<text|none>`.
|
|
15878
|
+
*/
|
|
15879
|
+
declare const TickMarker: Schema.Struct<{
|
|
15880
|
+
readonly tick: Schema.Number;
|
|
15881
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15882
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15883
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15884
|
+
readonly needsYou: Schema.NullOr<Schema.String>;
|
|
15885
|
+
}>;
|
|
15886
|
+
type TickMarker = typeof TickMarker.Type;
|
|
15887
|
+
/** `running` = row + live session; `paused` = row, no live session; `idle` = no row. */
|
|
15888
|
+
declare const FlywheelRunState: Schema.Literals<readonly ["running", "paused", "idle"]>;
|
|
15889
|
+
type FlywheelRunState = typeof FlywheelRunState.Type;
|
|
15890
|
+
/** Age of the last tick: ≤ 60 s live, ≤ 20 min breathing, older stalled. */
|
|
15891
|
+
declare const FlywheelFreshness: Schema.Literals<readonly ["live", "breathing", "stalled"]>;
|
|
15892
|
+
type FlywheelFreshness = typeof FlywheelFreshness.Type;
|
|
15893
|
+
declare const FlywheelConversationSummary: Schema.Struct<{
|
|
15894
|
+
readonly name: Schema.String;
|
|
15895
|
+
readonly id: Schema.Number;
|
|
15896
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15897
|
+
readonly model: Schema.NullOr<Schema.String>;
|
|
15898
|
+
readonly harness: Schema.NullOr<Schema.String>;
|
|
15899
|
+
readonly cwd: Schema.String;
|
|
15900
|
+
readonly sessionAlive: Schema.Boolean;
|
|
15901
|
+
}>;
|
|
15902
|
+
type FlywheelConversationSummary = typeof FlywheelConversationSummary.Type;
|
|
15903
|
+
declare const FlywheelLastTick: Schema.Struct<{
|
|
15904
|
+
readonly tick: Schema.Number;
|
|
15905
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15906
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15907
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15908
|
+
readonly needsYou: Schema.NullOr<Schema.String>; /** The assistant message's `createdAt`. */
|
|
15909
|
+
readonly at: Schema.String;
|
|
15910
|
+
}>;
|
|
15911
|
+
type FlywheelLastTick = typeof FlywheelLastTick.Type;
|
|
15912
|
+
declare const FlywheelPolicies: Schema.Struct<{
|
|
15913
|
+
readonly auto_pickup_backlog: Schema.Boolean;
|
|
15914
|
+
readonly require_uat_before_merge: Schema.Boolean;
|
|
15915
|
+
readonly merge_train_enabled: Schema.Boolean;
|
|
15916
|
+
}>;
|
|
15917
|
+
type FlywheelPolicies = typeof FlywheelPolicies.Type;
|
|
15918
|
+
declare const FlywheelJournalSummary: Schema.Struct<{
|
|
15919
|
+
readonly at: Schema.String;
|
|
15920
|
+
readonly type: Schema.String;
|
|
15921
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15922
|
+
}>;
|
|
15923
|
+
type FlywheelJournalSummary = typeof FlywheelJournalSummary.Type;
|
|
15924
|
+
declare const FlywheelInFlightRow: Schema.Struct<{
|
|
15925
|
+
readonly issueId: Schema.String;
|
|
15926
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15927
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15928
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
15929
|
+
readonly url: Schema.String;
|
|
15930
|
+
readonly number: Schema.Number;
|
|
15931
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15932
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15933
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15934
|
+
}>>;
|
|
15935
|
+
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15936
|
+
readonly at: Schema.String;
|
|
15937
|
+
readonly type: Schema.String;
|
|
15938
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15939
|
+
}>>;
|
|
15940
|
+
}>;
|
|
15941
|
+
type FlywheelInFlightRow = typeof FlywheelInFlightRow.Type;
|
|
15942
|
+
declare const FlywheelOrderBookSummary: Schema.Struct<{
|
|
15943
|
+
readonly id: Schema.String;
|
|
15944
|
+
readonly name: Schema.String;
|
|
15945
|
+
readonly status: Schema.String;
|
|
15946
|
+
readonly landed: Schema.Number;
|
|
15947
|
+
readonly total: Schema.Number;
|
|
15948
|
+
}>;
|
|
15949
|
+
type FlywheelOrderBookSummary = typeof FlywheelOrderBookSummary.Type;
|
|
15950
|
+
declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
15951
|
+
readonly run: Schema.Literals<readonly ["running", "paused", "idle"]>;
|
|
15952
|
+
readonly conversation: Schema.NullOr<Schema.Struct<{
|
|
15953
|
+
readonly name: Schema.String;
|
|
15954
|
+
readonly id: Schema.Number;
|
|
15955
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15956
|
+
readonly model: Schema.NullOr<Schema.String>;
|
|
15957
|
+
readonly harness: Schema.NullOr<Schema.String>;
|
|
15958
|
+
readonly cwd: Schema.String;
|
|
15959
|
+
readonly sessionAlive: Schema.Boolean;
|
|
15960
|
+
}>>;
|
|
15961
|
+
readonly lastTick: Schema.NullOr<Schema.Struct<{
|
|
15962
|
+
readonly tick: Schema.Number;
|
|
15963
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15964
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15965
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15966
|
+
readonly needsYou: Schema.NullOr<Schema.String>; /** The assistant message's `createdAt`. */
|
|
15967
|
+
readonly at: Schema.String;
|
|
15968
|
+
}>>;
|
|
15969
|
+
readonly freshness: Schema.NullOr<Schema.Literals<readonly ["live", "breathing", "stalled"]>>;
|
|
15970
|
+
readonly policies: Schema.Struct<{
|
|
15971
|
+
readonly auto_pickup_backlog: Schema.Boolean;
|
|
15972
|
+
readonly require_uat_before_merge: Schema.Boolean;
|
|
15973
|
+
readonly merge_train_enabled: Schema.Boolean;
|
|
15974
|
+
}>;
|
|
15975
|
+
readonly inFlight: Schema.$Array<Schema.Struct<{
|
|
15976
|
+
readonly issueId: Schema.String;
|
|
15977
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15978
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15979
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
15980
|
+
readonly url: Schema.String;
|
|
15981
|
+
readonly number: Schema.Number;
|
|
15982
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15983
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15984
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15985
|
+
}>>;
|
|
15986
|
+
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15987
|
+
readonly at: Schema.String;
|
|
15988
|
+
readonly type: Schema.String;
|
|
15989
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15990
|
+
}>>;
|
|
15991
|
+
}>>;
|
|
15992
|
+
readonly orderBook: Schema.NullOr<Schema.Struct<{
|
|
15993
|
+
readonly id: Schema.String;
|
|
15994
|
+
readonly name: Schema.String;
|
|
15995
|
+
readonly status: Schema.String;
|
|
15996
|
+
readonly landed: Schema.Number;
|
|
15997
|
+
readonly total: Schema.Number;
|
|
15998
|
+
}>>;
|
|
15999
|
+
readonly projectRoot: Schema.String;
|
|
16000
|
+
readonly generatedAt: Schema.String;
|
|
16001
|
+
}>;
|
|
16002
|
+
type FlywheelDerivedStatus = typeof FlywheelDerivedStatus.Type;
|
|
16003
|
+
declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
16004
|
+
readonly run: "running" | "idle" | "paused";
|
|
16005
|
+
readonly conversation: {
|
|
16006
|
+
readonly name: string;
|
|
16007
|
+
readonly id: number;
|
|
16008
|
+
readonly title: string | null;
|
|
16009
|
+
readonly model: string | null;
|
|
16010
|
+
readonly harness: string | null;
|
|
16011
|
+
readonly cwd: string;
|
|
16012
|
+
readonly sessionAlive: boolean;
|
|
16013
|
+
} | null;
|
|
16014
|
+
readonly lastTick: {
|
|
16015
|
+
readonly tick: number;
|
|
16016
|
+
readonly pick: string | null;
|
|
16017
|
+
readonly phase: "idle" | "park" | "orient" | "pick" | "launch" | "watch" | "stopping";
|
|
16018
|
+
readonly inFlight: readonly string[];
|
|
16019
|
+
readonly needsYou: string | null;
|
|
16020
|
+
readonly at: string;
|
|
16021
|
+
} | null;
|
|
16022
|
+
readonly freshness: "live" | "breathing" | "stalled" | null;
|
|
16023
|
+
readonly policies: {
|
|
16024
|
+
readonly auto_pickup_backlog: boolean;
|
|
16025
|
+
readonly require_uat_before_merge: boolean;
|
|
16026
|
+
readonly merge_train_enabled: boolean;
|
|
16027
|
+
};
|
|
16028
|
+
readonly inFlight: readonly {
|
|
16029
|
+
readonly issueId: string;
|
|
16030
|
+
readonly state: "working" | "backlog" | "parked" | "planned" | "in-review" | "changes-requested" | "ready" | "merged" | "closed";
|
|
16031
|
+
readonly lastJournal: {
|
|
16032
|
+
readonly at: string;
|
|
16033
|
+
readonly type: string;
|
|
16034
|
+
readonly source?: string | undefined;
|
|
16035
|
+
} | null;
|
|
16036
|
+
readonly attention?: "stuck" | "needs-you" | "api-error" | undefined;
|
|
16037
|
+
readonly pr?: {
|
|
16038
|
+
readonly url: string;
|
|
16039
|
+
readonly number: number;
|
|
16040
|
+
readonly reviewState: "approved" | "changes-requested" | "review-requested" | "commented" | "none";
|
|
16041
|
+
readonly checks: "pending" | "green" | "red";
|
|
16042
|
+
readonly mergeable: boolean | null;
|
|
16043
|
+
} | undefined;
|
|
16044
|
+
}[];
|
|
16045
|
+
readonly orderBook: {
|
|
16046
|
+
readonly id: string;
|
|
16047
|
+
readonly name: string;
|
|
16048
|
+
readonly status: string;
|
|
16049
|
+
readonly landed: number;
|
|
16050
|
+
readonly total: number;
|
|
16051
|
+
} | null;
|
|
16052
|
+
readonly projectRoot: string;
|
|
16053
|
+
readonly generatedAt: string;
|
|
15632
16054
|
};
|
|
15633
16055
|
//#endregion
|
|
15634
16056
|
//#region src/orders.d.ts
|
|
@@ -16661,7 +17083,8 @@ declare const AgentHealthSnapshot: Schema.Struct<{
|
|
|
16661
17083
|
readonly role: Schema.optional<Schema.String>;
|
|
16662
17084
|
readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
|
|
16663
17085
|
readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
|
|
16664
|
-
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
|
|
17086
|
+
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>; /** The agent has a live pane on the selected terminal backend (Herdr or tmux). */
|
|
17087
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane` kept for existing readers; true on either backend, not only tmux. */
|
|
16665
17088
|
readonly tmuxActive: Schema.optional<Schema.Boolean>;
|
|
16666
17089
|
readonly memoryBytes: Schema.optional<Schema.Number>;
|
|
16667
17090
|
readonly memoryGb: Schema.optional<Schema.Number>;
|
|
@@ -16820,7 +17243,8 @@ declare const SystemHealthSnapshot: Schema.Struct<{
|
|
|
16820
17243
|
readonly role: Schema.optional<Schema.String>;
|
|
16821
17244
|
readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
|
|
16822
17245
|
readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
|
|
16823
|
-
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
|
|
17246
|
+
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>; /** The agent has a live pane on the selected terminal backend (Herdr or tmux). */
|
|
17247
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane` kept for existing readers; true on either backend, not only tmux. */
|
|
16824
17248
|
readonly tmuxActive: Schema.optional<Schema.Boolean>;
|
|
16825
17249
|
readonly memoryBytes: Schema.optional<Schema.Number>;
|
|
16826
17250
|
readonly memoryGb: Schema.optional<Schema.Number>;
|
|
@@ -17316,11 +17740,13 @@ type TerminalBackendName = "herdr" | "tmux";
|
|
|
17316
17740
|
*/
|
|
17317
17741
|
type AgentState = "idle" | "working" | "blocked" | "done" | "exited" | "unknown";
|
|
17318
17742
|
/** Pane role, stamped as a metadata token by every launcher (FR-5). */
|
|
17319
|
-
type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan";
|
|
17743
|
+
type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan" | "conversation";
|
|
17320
17744
|
/**
|
|
17321
17745
|
* Metadata tokens stamped on every agent pane. An operator conversation
|
|
17322
|
-
* carries no `issue` token (FR-5), which is also what
|
|
17323
|
-
* recognize an operator sender (FR-17).
|
|
17746
|
+
* carries role `conversation` and no `issue` token (FR-5), which is also what
|
|
17747
|
+
* the prompt guard uses to recognize an operator sender (FR-17). An
|
|
17748
|
+
* issue-scoped conversation carries role `conversation` plus the issue; it is
|
|
17749
|
+
* not the issue's work pane.
|
|
17324
17750
|
*/
|
|
17325
17751
|
interface PaneTokens {
|
|
17326
17752
|
/** Issue id (e.g. `PAN-3917`); absent for operator conversations. */
|
|
@@ -17328,12 +17754,16 @@ interface PaneTokens {
|
|
|
17328
17754
|
readonly role: AgentRole;
|
|
17329
17755
|
readonly harness: string;
|
|
17330
17756
|
readonly model: string;
|
|
17757
|
+
/** Agent or conversation that spawned this pane (PAN-3920 workers); it may prompt the pane. */
|
|
17758
|
+
readonly parent?: string;
|
|
17331
17759
|
}
|
|
17332
17760
|
/** One agent pane as the backend reports it. */
|
|
17333
17761
|
interface BackendAgentSnapshot {
|
|
17334
17762
|
readonly backend: TerminalBackendName;
|
|
17335
17763
|
/** Backend-native pane handle (Herdr `w1:p1`, tmux session name). */
|
|
17336
17764
|
readonly paneId: string;
|
|
17765
|
+
/** Overdeck agent id, when the pane carries one (PAN-3920). */
|
|
17766
|
+
readonly agentId?: string;
|
|
17337
17767
|
/** Handle the terminal WebSocket attaches to. */
|
|
17338
17768
|
readonly terminalId: string;
|
|
17339
17769
|
/** Issue workspace the pane belongs to. */
|
|
@@ -17348,5 +17778,369 @@ declare const AGENT_ROLES: readonly AgentRole[];
|
|
|
17348
17778
|
declare function isTerminalBackendName(value: unknown): value is TerminalBackendName;
|
|
17349
17779
|
declare function isAgentRole(value: unknown): value is AgentRole;
|
|
17350
17780
|
//#endregion
|
|
17351
|
-
export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PaneTokens, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, compareIssueIds, createIssueDelta, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
|
|
17781
|
+
//#region src/agent-directory.d.ts
|
|
17782
|
+
declare const DirectoryEntryKind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17783
|
+
type DirectoryEntryKind = typeof DirectoryEntryKind.Type;
|
|
17784
|
+
declare const DirectoryEntryState: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17785
|
+
type DirectoryEntryState = typeof DirectoryEntryState.Type;
|
|
17786
|
+
declare const DirectoryEntrySource: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17787
|
+
type DirectoryEntrySource = typeof DirectoryEntrySource.Type;
|
|
17788
|
+
declare const DirectoryTranscriptRef: Schema.Union<readonly [Schema.Struct<{
|
|
17789
|
+
readonly route: Schema.Literal<"agent">;
|
|
17790
|
+
readonly agentId: Schema.String;
|
|
17791
|
+
}>, Schema.Struct<{
|
|
17792
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17793
|
+
readonly agentId: Schema.String;
|
|
17794
|
+
readonly subagentId: Schema.String;
|
|
17795
|
+
}>, Schema.Struct<{
|
|
17796
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17797
|
+
readonly conversationName: Schema.String;
|
|
17798
|
+
}>, Schema.Struct<{
|
|
17799
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17800
|
+
readonly conversationName: Schema.String;
|
|
17801
|
+
readonly subagentId: Schema.String;
|
|
17802
|
+
}>]>;
|
|
17803
|
+
type DirectoryTranscriptRef = typeof DirectoryTranscriptRef.Type;
|
|
17804
|
+
declare const DirectoryEntryLocation: Schema.Literals<readonly ["local", "remote"]>;
|
|
17805
|
+
type DirectoryEntryLocation = typeof DirectoryEntryLocation.Type;
|
|
17806
|
+
declare const DirectoryPauseBy: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17807
|
+
type DirectoryPauseBy = typeof DirectoryPauseBy.Type;
|
|
17808
|
+
declare const DirectoryPause: Schema.Struct<{
|
|
17809
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17810
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17811
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17812
|
+
}>;
|
|
17813
|
+
type DirectoryPause = typeof DirectoryPause.Type;
|
|
17814
|
+
declare const DirectoryEntry: Schema.Struct<{
|
|
17815
|
+
readonly id: Schema.String;
|
|
17816
|
+
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17817
|
+
readonly label: Schema.String;
|
|
17818
|
+
readonly location: Schema.Literals<readonly ["local", "remote"]>; /** projects.yaml key; `unassigned` when none (D5). */
|
|
17819
|
+
readonly projectKey: Schema.String; /** Uppercase issue id, e.g. `PAN-3920`. */
|
|
17820
|
+
readonly issueId: Schema.NullOr<Schema.String>; /** The issue's title from the dashboard's tracker cache; null when unknown. */
|
|
17821
|
+
readonly issueTitle: Schema.NullOr<Schema.String>;
|
|
17822
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
17823
|
+
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
17824
|
+
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
17825
|
+
readonly model: Schema.String;
|
|
17826
|
+
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17827
|
+
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
17828
|
+
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
17829
|
+
readonly costUsd: Schema.NullOr<Schema.Number>;
|
|
17830
|
+
readonly source: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17831
|
+
readonly transcript: Schema.NullOr<Schema.Union<readonly [Schema.Struct<{
|
|
17832
|
+
readonly route: Schema.Literal<"agent">;
|
|
17833
|
+
readonly agentId: Schema.String;
|
|
17834
|
+
}>, Schema.Struct<{
|
|
17835
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17836
|
+
readonly agentId: Schema.String;
|
|
17837
|
+
readonly subagentId: Schema.String;
|
|
17838
|
+
}>, Schema.Struct<{
|
|
17839
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17840
|
+
readonly conversationName: Schema.String;
|
|
17841
|
+
}>, Schema.Struct<{
|
|
17842
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17843
|
+
readonly conversationName: Schema.String;
|
|
17844
|
+
readonly subagentId: Schema.String;
|
|
17845
|
+
}>]>>; /** The pause gate from state.json, native agents only (PAN-4197). */
|
|
17846
|
+
readonly pause: Schema.optional<Schema.Struct<{
|
|
17847
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17848
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17849
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17850
|
+
}>>;
|
|
17851
|
+
}>;
|
|
17852
|
+
type DirectoryEntry = typeof DirectoryEntry.Type;
|
|
17853
|
+
/**
|
|
17854
|
+
* `window`: live entries plus finished ones active inside `windowHours`.
|
|
17855
|
+
* `live` (PAN-4197): what is running or waiting now; `windowHours` is 0.
|
|
17856
|
+
*/
|
|
17857
|
+
declare const DirectoryScope: Schema.Literals<readonly ["window", "live"]>;
|
|
17858
|
+
type DirectoryScope = typeof DirectoryScope.Type;
|
|
17859
|
+
declare const AgentDirectoryResponse: Schema.Struct<{
|
|
17860
|
+
readonly generatedAt: Schema.String;
|
|
17861
|
+
readonly windowHours: Schema.Number;
|
|
17862
|
+
readonly scope: Schema.optional<Schema.Literals<readonly ["window", "live"]>>;
|
|
17863
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
17864
|
+
readonly id: Schema.String;
|
|
17865
|
+
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17866
|
+
readonly label: Schema.String;
|
|
17867
|
+
readonly location: Schema.Literals<readonly ["local", "remote"]>; /** projects.yaml key; `unassigned` when none (D5). */
|
|
17868
|
+
readonly projectKey: Schema.String; /** Uppercase issue id, e.g. `PAN-3920`. */
|
|
17869
|
+
readonly issueId: Schema.NullOr<Schema.String>; /** The issue's title from the dashboard's tracker cache; null when unknown. */
|
|
17870
|
+
readonly issueTitle: Schema.NullOr<Schema.String>;
|
|
17871
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
17872
|
+
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
17873
|
+
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
17874
|
+
readonly model: Schema.String;
|
|
17875
|
+
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17876
|
+
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
17877
|
+
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
17878
|
+
readonly costUsd: Schema.NullOr<Schema.Number>;
|
|
17879
|
+
readonly source: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17880
|
+
readonly transcript: Schema.NullOr<Schema.Union<readonly [Schema.Struct<{
|
|
17881
|
+
readonly route: Schema.Literal<"agent">;
|
|
17882
|
+
readonly agentId: Schema.String;
|
|
17883
|
+
}>, Schema.Struct<{
|
|
17884
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17885
|
+
readonly agentId: Schema.String;
|
|
17886
|
+
readonly subagentId: Schema.String;
|
|
17887
|
+
}>, Schema.Struct<{
|
|
17888
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17889
|
+
readonly conversationName: Schema.String;
|
|
17890
|
+
}>, Schema.Struct<{
|
|
17891
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17892
|
+
readonly conversationName: Schema.String;
|
|
17893
|
+
readonly subagentId: Schema.String;
|
|
17894
|
+
}>]>>; /** The pause gate from state.json, native agents only (PAN-4197). */
|
|
17895
|
+
readonly pause: Schema.optional<Schema.Struct<{
|
|
17896
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17897
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17898
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17899
|
+
}>>;
|
|
17900
|
+
}>>;
|
|
17901
|
+
}>;
|
|
17902
|
+
type AgentDirectoryResponse = typeof AgentDirectoryResponse.Type;
|
|
17903
|
+
//#endregion
|
|
17904
|
+
//#region src/companion-terminal.d.ts
|
|
17905
|
+
/**
|
|
17906
|
+
* Companion terminal seam (PAN-3974, reused by PAN-3835).
|
|
17907
|
+
*
|
|
17908
|
+
* A companion terminal is a second terminal session, separate from the
|
|
17909
|
+
* conversation's own (owner) session, running a harness's native interactive
|
|
17910
|
+
* client attached to the owner's live runtime and exact session. Dashboard
|
|
17911
|
+
* delivery never goes through it; it exists so the operator can drive the
|
|
17912
|
+
* native CLI from the conversation TERMINAL view.
|
|
17913
|
+
*
|
|
17914
|
+
* This module is the shared vocabulary between the dashboard server lifecycle
|
|
17915
|
+
* (`src/lib/overdeck/companion-terminal/`) and the conversation UI
|
|
17916
|
+
* (`ConversationTerminalView.tsx`). Adding a harness means adding a kind here,
|
|
17917
|
+
* mapping it in `companionTerminalKindFor`, and registering a server adapter —
|
|
17918
|
+
* the lifecycle, routes, and UI stay unchanged.
|
|
17919
|
+
*/
|
|
17920
|
+
/** The native-client attach strategies Overdeck knows how to run. */
|
|
17921
|
+
type CompanionTerminalKind = /** `opencode attach <url> --session <id>` (PAN-3974). */"opencode-attach" /** `codex resume --remote unix://<socket> <threadId>` (PAN-3835). */ | "codex-resume-remote";
|
|
17922
|
+
/** Why a companion cannot be opened right now. */
|
|
17923
|
+
type CompanionTerminalUnavailableReason = /** The conversation predates the recorded server port; restart it to attach. */"restart-required" /** The owner conversation is not running. */ | "owner-not-running" /** The owner is starting or its server is not answering yet. */ | "owner-starting" /** The owner's server does not know the recorded session. */ | "session-missing" /** The native client binary is not installed. */ | "binary-missing" /** The installed CLI is too old to attach its native client. */ | "cli-unsupported" /** The conversation has no saved harness session yet; send a message first. */ | "session-not-started" /** The owner restarted while the companion was being opened. */ | "owner-changed" /** This conversation's harness has no companion terminal. */ | "unsupported";
|
|
17924
|
+
type CompanionTerminalState = {
|
|
17925
|
+
readonly status: "attached";
|
|
17926
|
+
readonly kind: CompanionTerminalKind; /** The terminal session to stream through `/ws/terminal?session=`. */
|
|
17927
|
+
readonly sessionName: string; /** Owner generation the companion was created for; required by Close. */
|
|
17928
|
+
readonly generation: string; /** True when an existing companion for this generation was reused. */
|
|
17929
|
+
readonly reused: boolean;
|
|
17930
|
+
} | {
|
|
17931
|
+
readonly status: "closed";
|
|
17932
|
+
readonly kind: CompanionTerminalKind;
|
|
17933
|
+
} | {
|
|
17934
|
+
readonly status: "unavailable";
|
|
17935
|
+
readonly kind: CompanionTerminalKind | null;
|
|
17936
|
+
readonly reason: CompanionTerminalUnavailableReason;
|
|
17937
|
+
readonly message: string;
|
|
17938
|
+
};
|
|
17939
|
+
/** The conversation fields the mapping reads. */
|
|
17940
|
+
interface CompanionTerminalOwnerShape {
|
|
17941
|
+
readonly harness?: string | null;
|
|
17942
|
+
}
|
|
17943
|
+
/**
|
|
17944
|
+
* Which companion terminal a conversation gets, or `null` for "keep the
|
|
17945
|
+
* owner pane as TERMINAL". A Codex conversation still on the legacy
|
|
17946
|
+
* `codex.transport: tui` runs the native TUI in its owner pane; the server
|
|
17947
|
+
* adapter reports that as `unsupported` and points at the runtime pane.
|
|
17948
|
+
*/
|
|
17949
|
+
declare function companionTerminalKindFor(conversation: CompanionTerminalOwnerShape): CompanionTerminalKind | null;
|
|
17950
|
+
/** Body keys each mutation accepts. Anything else is rejected as target injection. */
|
|
17951
|
+
declare const COMPANION_TERMINAL_OPEN_BODY_KEYS: ReadonlyArray<string>;
|
|
17952
|
+
declare const COMPANION_TERMINAL_CLOSE_BODY_KEYS: ReadonlyArray<string>;
|
|
17953
|
+
//#endregion
|
|
17954
|
+
//#region src/pull-request-links.d.ts
|
|
17955
|
+
declare const PullRequestLinkSource: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
17956
|
+
type PullRequestLinkSource = typeof PullRequestLinkSource.Type;
|
|
17957
|
+
declare const PullRequestKey: Schema.Struct<{
|
|
17958
|
+
readonly host: Schema.String;
|
|
17959
|
+
readonly repository: Schema.String;
|
|
17960
|
+
readonly number: Schema.Number;
|
|
17961
|
+
}>;
|
|
17962
|
+
type PullRequestKey = typeof PullRequestKey.Type;
|
|
17963
|
+
declare const PullRequestState: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17964
|
+
type PullRequestState = typeof PullRequestState.Type;
|
|
17965
|
+
declare const PullRequestSnapshot: Schema.Struct<{
|
|
17966
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17967
|
+
readonly isDraft: Schema.Boolean;
|
|
17968
|
+
readonly title: Schema.String;
|
|
17969
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
17970
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
17971
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
17972
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
17973
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
17974
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
17975
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
17976
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
17977
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
17978
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
17979
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
17980
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
17981
|
+
readonly syncedAt: Schema.String;
|
|
17982
|
+
}>;
|
|
17983
|
+
type PullRequestSnapshot = typeof PullRequestSnapshot.Type;
|
|
17984
|
+
declare const PullRequestLink: Schema.Struct<{
|
|
17985
|
+
readonly url: Schema.String;
|
|
17986
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
17987
|
+
readonly linkedAt: Schema.String;
|
|
17988
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
17989
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
17990
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17991
|
+
readonly isDraft: Schema.Boolean;
|
|
17992
|
+
readonly title: Schema.String;
|
|
17993
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
17994
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
17995
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
17996
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
17997
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
17998
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
17999
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18000
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18001
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18002
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18003
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18004
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18005
|
+
readonly syncedAt: Schema.String;
|
|
18006
|
+
}>>;
|
|
18007
|
+
readonly host: Schema.String;
|
|
18008
|
+
readonly repository: Schema.String;
|
|
18009
|
+
readonly number: Schema.Number;
|
|
18010
|
+
}>;
|
|
18011
|
+
type PullRequestLink = typeof PullRequestLink.Type;
|
|
18012
|
+
declare const ConversationPullRequests: Schema.Struct<{
|
|
18013
|
+
readonly links: Schema.$Array<Schema.Struct<{
|
|
18014
|
+
readonly url: Schema.String;
|
|
18015
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18016
|
+
readonly linkedAt: Schema.String;
|
|
18017
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18018
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18019
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18020
|
+
readonly isDraft: Schema.Boolean;
|
|
18021
|
+
readonly title: Schema.String;
|
|
18022
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18023
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18024
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18025
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18026
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18027
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18028
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18029
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18030
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18031
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18032
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18033
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18034
|
+
readonly syncedAt: Schema.String;
|
|
18035
|
+
}>>;
|
|
18036
|
+
readonly host: Schema.String;
|
|
18037
|
+
readonly repository: Schema.String;
|
|
18038
|
+
readonly number: Schema.Number;
|
|
18039
|
+
}>>;
|
|
18040
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
18041
|
+
readonly url: Schema.String;
|
|
18042
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18043
|
+
readonly linkedAt: Schema.String;
|
|
18044
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18045
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18046
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18047
|
+
readonly isDraft: Schema.Boolean;
|
|
18048
|
+
readonly title: Schema.String;
|
|
18049
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18050
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18051
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18052
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18053
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18054
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18055
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18056
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18057
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18058
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18059
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18060
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18061
|
+
readonly syncedAt: Schema.String;
|
|
18062
|
+
}>>;
|
|
18063
|
+
readonly host: Schema.String;
|
|
18064
|
+
readonly repository: Schema.String;
|
|
18065
|
+
readonly number: Schema.Number;
|
|
18066
|
+
}>>;
|
|
18067
|
+
}>;
|
|
18068
|
+
type ConversationPullRequests = typeof ConversationPullRequests.Type;
|
|
18069
|
+
/** One conversation linked to a PR — the reverse index (PR → conversations). */
|
|
18070
|
+
declare const PullRequestLinkedConversation: Schema.Struct<{
|
|
18071
|
+
/** The /conv/<id> number. */readonly id: Schema.Number;
|
|
18072
|
+
readonly name: Schema.String;
|
|
18073
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
18074
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18075
|
+
readonly linkedAt: Schema.String;
|
|
18076
|
+
}>;
|
|
18077
|
+
type PullRequestLinkedConversation = typeof PullRequestLinkedConversation.Type;
|
|
18078
|
+
/** One live link across all conversations, for the Pull requests list. */
|
|
18079
|
+
declare const PullRequestLinkListing: Schema.Struct<{
|
|
18080
|
+
readonly conversationId: Schema.Number;
|
|
18081
|
+
readonly conversationName: Schema.String;
|
|
18082
|
+
readonly conversationTitle: Schema.NullOr<Schema.String>; /** The conversation's effective project, or null when none resolves. */
|
|
18083
|
+
readonly projectKey: Schema.NullOr<Schema.String>;
|
|
18084
|
+
readonly url: Schema.String;
|
|
18085
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18086
|
+
readonly linkedAt: Schema.String;
|
|
18087
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18088
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18089
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18090
|
+
readonly isDraft: Schema.Boolean;
|
|
18091
|
+
readonly title: Schema.String;
|
|
18092
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18093
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18094
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18095
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18096
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18097
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18098
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18099
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18100
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18101
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18102
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18103
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18104
|
+
readonly syncedAt: Schema.String;
|
|
18105
|
+
}>>;
|
|
18106
|
+
readonly host: Schema.String;
|
|
18107
|
+
readonly repository: Schema.String;
|
|
18108
|
+
readonly number: Schema.Number;
|
|
18109
|
+
}>;
|
|
18110
|
+
type PullRequestLinkListing = typeof PullRequestLinkListing.Type;
|
|
18111
|
+
/**
|
|
18112
|
+
* The one PR shown on a conversation: explicit links before branch links,
|
|
18113
|
+
* open before merged before closed, most recently updated among equals.
|
|
18114
|
+
* Dismissed links never count.
|
|
18115
|
+
*/
|
|
18116
|
+
declare function resolveEffectivePullRequest(links: readonly PullRequestLink[]): PullRequestLink | null;
|
|
18117
|
+
//#endregion
|
|
18118
|
+
//#region src/pull-request-ref.d.ts
|
|
18119
|
+
type PullRequestForge = 'github' | 'gitlab';
|
|
18120
|
+
/** A repository PRs can be linked from. */
|
|
18121
|
+
interface PullRequestRepo {
|
|
18122
|
+
readonly host: string;
|
|
18123
|
+
readonly repository: string;
|
|
18124
|
+
readonly forge: PullRequestForge;
|
|
18125
|
+
}
|
|
18126
|
+
interface ParsedPullRequestRef extends PullRequestKey {
|
|
18127
|
+
readonly url: string;
|
|
18128
|
+
readonly forge: PullRequestForge;
|
|
18129
|
+
}
|
|
18130
|
+
declare function canonicalPullRequestUrl(key: PullRequestKey, forge: PullRequestForge): string;
|
|
18131
|
+
/**
|
|
18132
|
+
* Accepts a full PR/MR URL, `#42`, or `owner/repo#42` (`!42` for GitLab MRs).
|
|
18133
|
+
* The short forms need `defaultRepo` for host and forge (`#42` for the
|
|
18134
|
+
* repository too) and return null without it. Anything else returns null.
|
|
18135
|
+
*/
|
|
18136
|
+
declare function parsePullRequestRef(input: string, defaultRepo?: PullRequestRepo | null): ParsedPullRequestRef | null;
|
|
18137
|
+
/**
|
|
18138
|
+
* The repository behind a git remote URL (https, ssh://, or scp-style), or null
|
|
18139
|
+
* when the host names neither GitHub nor GitLab.
|
|
18140
|
+
*/
|
|
18141
|
+
declare function repoFromRemoteUrl(remote: string | null | undefined): PullRequestRepo | null;
|
|
18142
|
+
/** True when the ref's host and repository match one of the configured repos. */
|
|
18143
|
+
declare function isConfiguredPullRequestRepo(ref: PullRequestKey, repos: readonly PullRequestRepo[]): boolean;
|
|
18144
|
+
//#endregion
|
|
18145
|
+
export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, canonicalPullRequestUrl, companionTerminalKindFor, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
17352
18146
|
//# sourceMappingURL=index.d.ts.map
|