@overdeck/contracts 0.51.0 → 0.61.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 +1234 -1450
- package/dist/index.d.ts +1080 -1838
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1187 -1434
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,22 +30,10 @@ declare const SequenceNumber: Schema.Number;
|
|
|
30
30
|
type SequenceNumber = typeof SequenceNumber.Type;
|
|
31
31
|
declare const AgentStatus: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
32
32
|
type AgentStatus = typeof AgentStatus.Type;
|
|
33
|
-
declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
33
|
+
declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
34
34
|
type Role = typeof Role.Type;
|
|
35
35
|
declare const AgentResolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
|
|
36
36
|
type AgentResolution = typeof AgentResolution.Type;
|
|
37
|
-
declare const ReviewStatusValue: Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>;
|
|
38
|
-
type ReviewStatusValue = typeof ReviewStatusValue.Type;
|
|
39
|
-
declare const TestStatusValue: Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>;
|
|
40
|
-
type TestStatusValue = typeof TestStatusValue.Type;
|
|
41
|
-
declare const UatStatusValue: Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>;
|
|
42
|
-
type UatStatusValue = typeof UatStatusValue.Type;
|
|
43
|
-
declare const MergeStatusValue: Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>;
|
|
44
|
-
type MergeStatusValue = typeof MergeStatusValue.Type;
|
|
45
|
-
declare const ReleaseStatusValue: Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>;
|
|
46
|
-
type ReleaseStatusValue = typeof ReleaseStatusValue.Type;
|
|
47
|
-
declare const VerificationStatusValue: Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>;
|
|
48
|
-
type VerificationStatusValue = typeof VerificationStatusValue.Type;
|
|
49
37
|
type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp' | 'kimi-code' | 'opencode' | 'muse';
|
|
50
38
|
declare const KNOWN_HARNESSES: ReadonlySet<string>;
|
|
51
39
|
/**
|
|
@@ -162,7 +150,7 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
162
150
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
163
151
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
164
152
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
165
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
153
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
166
154
|
readonly phase: Schema.optional<Schema.String>;
|
|
167
155
|
readonly workType: Schema.optional<Schema.String>;
|
|
168
156
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -209,67 +197,6 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
209
197
|
}>;
|
|
210
198
|
type AgentSnapshot = typeof AgentSnapshot.Type;
|
|
211
199
|
/** PAN-3151: A recorded cycle in the review convergence tracking series */
|
|
212
|
-
declare const ReviewCycleEntry: Schema.Struct<{
|
|
213
|
-
readonly cycle: Schema.Number;
|
|
214
|
-
readonly runId: Schema.String;
|
|
215
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
216
|
-
readonly blockingCount: Schema.Number;
|
|
217
|
-
readonly recordedAt: Schema.String;
|
|
218
|
-
}>;
|
|
219
|
-
type ReviewCycleEntry = typeof ReviewCycleEntry.Type;
|
|
220
|
-
declare const ReviewStatusSnapshot: Schema.Struct<{
|
|
221
|
-
readonly issueId: Schema.String;
|
|
222
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
223
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
224
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
225
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
226
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
227
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
228
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
229
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
230
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
231
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
232
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
233
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
234
|
-
readonly prUrl: Schema.optional<Schema.String>; /** Persistent stuck flag — set by divergence guard, cleared by /unstick */
|
|
235
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
236
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
237
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
238
|
-
readonly stuckDetails: Schema.optional<Schema.String>; /** PAN-3151: review cycle history for convergence detection */
|
|
239
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
240
|
-
readonly cycle: Schema.Number;
|
|
241
|
-
readonly runId: Schema.String;
|
|
242
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
243
|
-
readonly blockingCount: Schema.Number;
|
|
244
|
-
readonly recordedAt: Schema.String;
|
|
245
|
-
}>>>; /** Commit SHA at which review passed; deacon uses this to detect new pushes after review */
|
|
246
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>; /** Commit SHA at which the pre-review verification gate last passed */
|
|
247
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>; /** Current merge pipeline step (granular visibility for the merge step tracker) */
|
|
248
|
-
readonly mergeStep: Schema.optional<Schema.String>; /** PAN-699: timestamp when review agents were dispatched */
|
|
249
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>; /** PAN-699: number of test-agent dispatch retries */
|
|
250
|
-
readonly testRetryCount: Schema.optional<Schema.Number>; /** PAN-794: parallel-review re-dispatch retry counter (current recovery cycle) */
|
|
251
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>; /** PAN-796: review auto-requeue count (circuit breaker threshold) */
|
|
252
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>; /** PAN-794: ISO timestamp marking the start of the current recovery cycle */
|
|
253
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>; /** Human-requested patrol opt-out — when true, Deacon ignores this issue. */
|
|
254
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
255
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
256
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>; /** PAN-1691: per-issue auto-merge routing key. undefined = project default, true = auto-merge (fast lane), false = hold for UAT. */
|
|
257
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>; /** Active review orchestrator tmux session name (e.g. agent-pan-540-review). */
|
|
258
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>; /** Active review sub-role tmux session names (e.g. agent-pan-540-review-correctness). Discovered at emission time. */
|
|
259
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>; /** Per-role review completion status (keyed by role: 'correctness' | 'security' | ...) */
|
|
260
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>; /** PAN-905: queue position in the merge queue */
|
|
261
|
-
readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
|
|
262
|
-
readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
|
|
263
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
|
|
264
|
-
readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
|
|
265
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
266
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
267
|
-
readonly summary: Schema.String;
|
|
268
|
-
readonly details: Schema.optional<Schema.String>;
|
|
269
|
-
readonly detectedAt: Schema.String;
|
|
270
|
-
}>>>;
|
|
271
|
-
}>;
|
|
272
|
-
type ReviewStatusSnapshot = typeof ReviewStatusSnapshot.Type;
|
|
273
200
|
declare const TurnDiffFileChange: Schema.Struct<{
|
|
274
201
|
readonly path: Schema.String;
|
|
275
202
|
readonly kind: Schema.optional<Schema.String>;
|
|
@@ -421,7 +348,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
421
348
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
422
349
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
423
350
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
424
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
351
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
425
352
|
readonly phase: Schema.optional<Schema.String>;
|
|
426
353
|
readonly workType: Schema.optional<Schema.String>;
|
|
427
354
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -466,58 +393,36 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
466
393
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
467
394
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
468
395
|
}>>;
|
|
469
|
-
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
470
|
-
readonly
|
|
471
|
-
readonly issueId: Schema.String;
|
|
472
|
-
readonly
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
readonly
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
readonly
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
readonly
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
readonly
|
|
497
|
-
readonly
|
|
498
|
-
readonly
|
|
499
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>; /** PAN-699: number of test-agent dispatch retries */
|
|
500
|
-
readonly testRetryCount: Schema.optional<Schema.Number>; /** PAN-794: parallel-review re-dispatch retry counter (current recovery cycle) */
|
|
501
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>; /** PAN-796: review auto-requeue count (circuit breaker threshold) */
|
|
502
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>; /** PAN-794: ISO timestamp marking the start of the current recovery cycle */
|
|
503
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>; /** Human-requested patrol opt-out — when true, Deacon ignores this issue. */
|
|
504
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
505
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
506
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>; /** PAN-1691: per-issue auto-merge routing key. undefined = project default, true = auto-merge (fast lane), false = hold for UAT. */
|
|
507
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>; /** Active review orchestrator tmux session name (e.g. agent-pan-540-review). */
|
|
508
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>; /** Active review sub-role tmux session names (e.g. agent-pan-540-review-correctness). Discovered at emission time. */
|
|
509
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>; /** Per-role review completion status (keyed by role: 'correctness' | 'security' | ...) */
|
|
510
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>; /** PAN-905: queue position in the merge queue */
|
|
511
|
-
readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
|
|
512
|
-
readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
|
|
513
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
|
|
514
|
-
readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
|
|
515
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
516
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
517
|
-
readonly summary: Schema.String;
|
|
518
|
-
readonly details: Schema.optional<Schema.String>;
|
|
519
|
-
readonly detectedAt: Schema.String;
|
|
520
|
-
}>>>;
|
|
396
|
+
readonly specialists: Schema.$Array<Schema.Unknown>; /** PAN-3917 FR-6: the derived pipeline state of every known issue. */
|
|
397
|
+
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
398
|
+
readonly issueId: Schema.String;
|
|
399
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
400
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
401
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
402
|
+
readonly url: Schema.String;
|
|
403
|
+
readonly number: Schema.Number;
|
|
404
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
405
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
406
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
407
|
+
}>>;
|
|
408
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
409
|
+
readonly name: Schema.String;
|
|
410
|
+
readonly aheadOfMain: Schema.Number;
|
|
411
|
+
readonly pushed: Schema.Boolean;
|
|
412
|
+
}>>;
|
|
413
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
414
|
+
}>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
|
|
415
|
+
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
416
|
+
readonly id: Schema.String;
|
|
417
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
418
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
419
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
420
|
+
readonly harness: Schema.String;
|
|
421
|
+
readonly model: Schema.String;
|
|
422
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
423
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
424
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
425
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
521
426
|
}>>;
|
|
522
427
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
523
428
|
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
@@ -634,14 +539,6 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
634
539
|
readonly timestamp: Schema.String;
|
|
635
540
|
}>;
|
|
636
541
|
type DashboardSnapshot = typeof DashboardSnapshot.Type;
|
|
637
|
-
declare const WorkspaceDetail: Schema.Struct<{
|
|
638
|
-
readonly workspace: Schema.Unknown;
|
|
639
|
-
readonly reviewStatus: Schema.Unknown;
|
|
640
|
-
readonly planning: Schema.Unknown;
|
|
641
|
-
readonly costs: Schema.Unknown;
|
|
642
|
-
readonly agentOutput: Schema.$Array<Schema.String>;
|
|
643
|
-
}>;
|
|
644
|
-
type WorkspaceDetail = typeof WorkspaceDetail.Type;
|
|
645
542
|
declare const ResourceStats: Schema.Struct<{
|
|
646
543
|
readonly containers: Schema.$Array<Schema.Struct<{
|
|
647
544
|
readonly name: Schema.String;
|
|
@@ -744,14 +641,6 @@ declare const SessionNode: Schema.Struct<{
|
|
|
744
641
|
}>>;
|
|
745
642
|
}>>;
|
|
746
643
|
readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
|
|
747
|
-
readonly paused: Schema.optional<Schema.Boolean>;
|
|
748
|
-
readonly pausedReason: Schema.optional<Schema.String>;
|
|
749
|
-
readonly pausedAt: Schema.optional<Schema.String>;
|
|
750
|
-
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
751
|
-
readonly troubledAt: Schema.optional<Schema.String>;
|
|
752
|
-
readonly troubledReason: Schema.optional<Schema.String>;
|
|
753
|
-
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
754
|
-
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
755
644
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
756
645
|
readonly spawnKey: Schema.String;
|
|
757
646
|
readonly resolved: Schema.String;
|
|
@@ -807,14 +696,6 @@ declare const FeatureNode: Schema.Struct<{
|
|
|
807
696
|
}>>;
|
|
808
697
|
}>>;
|
|
809
698
|
readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
|
|
810
|
-
readonly paused: Schema.optional<Schema.Boolean>;
|
|
811
|
-
readonly pausedReason: Schema.optional<Schema.String>;
|
|
812
|
-
readonly pausedAt: Schema.optional<Schema.String>;
|
|
813
|
-
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
814
|
-
readonly troubledAt: Schema.optional<Schema.String>;
|
|
815
|
-
readonly troubledReason: Schema.optional<Schema.String>;
|
|
816
|
-
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
817
|
-
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
818
699
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
819
700
|
readonly spawnKey: Schema.String;
|
|
820
701
|
readonly resolved: Schema.String;
|
|
@@ -873,14 +754,6 @@ declare const ProjectSessionTree: Schema.Struct<{
|
|
|
873
754
|
}>>;
|
|
874
755
|
}>>;
|
|
875
756
|
readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
|
|
876
|
-
readonly paused: Schema.optional<Schema.Boolean>;
|
|
877
|
-
readonly pausedReason: Schema.optional<Schema.String>;
|
|
878
|
-
readonly pausedAt: Schema.optional<Schema.String>;
|
|
879
|
-
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
880
|
-
readonly troubledAt: Schema.optional<Schema.String>;
|
|
881
|
-
readonly troubledReason: Schema.optional<Schema.String>;
|
|
882
|
-
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
883
|
-
readonly queuedMailCount: Schema.optional<Schema.Number>;
|
|
884
757
|
readonly modelOrigin: Schema.optional<Schema.Struct<{
|
|
885
758
|
readonly spawnKey: Schema.String;
|
|
886
759
|
readonly resolved: Schema.String;
|
|
@@ -1183,7 +1056,7 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1183
1056
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
1184
1057
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
1185
1058
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
1186
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1059
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1187
1060
|
readonly phase: Schema.optional<Schema.String>;
|
|
1188
1061
|
readonly workType: Schema.optional<Schema.String>;
|
|
1189
1062
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -1277,7 +1150,7 @@ declare const AgentCompletedEvent: Schema.Struct<{
|
|
|
1277
1150
|
readonly issueId: Schema.String;
|
|
1278
1151
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1279
1152
|
readonly agentId: Schema.optional<Schema.String>;
|
|
1280
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1153
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1281
1154
|
}>;
|
|
1282
1155
|
}>;
|
|
1283
1156
|
type AgentCompletedEvent = typeof AgentCompletedEvent.Type;
|
|
@@ -1329,7 +1202,7 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
|
|
|
1329
1202
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
1330
1203
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
1331
1204
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
1332
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1205
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1333
1206
|
readonly model: Schema.optional<Schema.String>;
|
|
1334
1207
|
readonly workspace: Schema.optional<Schema.String>;
|
|
1335
1208
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -1376,7 +1249,7 @@ declare const AgentEnrichmentChangedEvent: Schema.Struct<{
|
|
|
1376
1249
|
readonly agentId: Schema.String;
|
|
1377
1250
|
readonly issueId: Schema.optional<Schema.String>;
|
|
1378
1251
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1379
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1252
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1380
1253
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
1381
1254
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
1382
1255
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -1428,7 +1301,7 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1428
1301
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
1429
1302
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
1430
1303
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
1431
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
1304
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
1432
1305
|
readonly phase: Schema.optional<Schema.String>;
|
|
1433
1306
|
readonly workType: Schema.optional<Schema.String>;
|
|
1434
1307
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -1791,143 +1664,81 @@ declare const PlanItemsUnblockedEvent: Schema.Struct<{
|
|
|
1791
1664
|
}>;
|
|
1792
1665
|
}>;
|
|
1793
1666
|
type PlanItemsUnblockedEvent = typeof PlanItemsUnblockedEvent.Type;
|
|
1794
|
-
/**
|
|
1795
|
-
|
|
1796
|
-
|
|
1667
|
+
/**
|
|
1668
|
+
* PAN-3917 FR-6 — an issue's derived pipeline state changed.
|
|
1669
|
+
*
|
|
1670
|
+
* Emitted with `emitOnly`: derived state is recomputed from the tracker, the
|
|
1671
|
+
* forge and the terminal backend on every boot, so persisting it would be
|
|
1672
|
+
* storing a status Overdeck can derive.
|
|
1673
|
+
*/
|
|
1674
|
+
declare const IssueStateChangedEvent: Schema.Struct<{
|
|
1675
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
1797
1676
|
readonly sequence: Schema.Number;
|
|
1798
1677
|
readonly timestamp: Schema.String;
|
|
1799
1678
|
readonly payload: Schema.Struct<{
|
|
1800
|
-
readonly
|
|
1801
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1802
|
-
readonly status: Schema.Struct<{
|
|
1679
|
+
readonly issueState: Schema.Struct<{
|
|
1803
1680
|
readonly issueId: Schema.String;
|
|
1804
|
-
readonly
|
|
1805
|
-
readonly
|
|
1806
|
-
readonly
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
readonly
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
readonly
|
|
1819
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
1820
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
1821
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1822
|
-
readonly cycle: Schema.Number;
|
|
1823
|
-
readonly runId: Schema.String;
|
|
1824
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
1825
|
-
readonly blockingCount: Schema.Number;
|
|
1826
|
-
readonly recordedAt: Schema.String;
|
|
1827
|
-
}>>>;
|
|
1828
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
1829
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
1830
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
1831
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
1832
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
1833
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
1834
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
1835
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
1836
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
1837
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
1838
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
1839
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
1840
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
1841
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1842
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
1843
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
1844
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
1845
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
1846
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
1847
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1848
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
1849
|
-
readonly summary: Schema.String;
|
|
1850
|
-
readonly details: Schema.optional<Schema.String>;
|
|
1851
|
-
readonly detectedAt: Schema.String;
|
|
1852
|
-
}>>>;
|
|
1681
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
1682
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
1683
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
1684
|
+
readonly url: Schema.String;
|
|
1685
|
+
readonly number: Schema.Number;
|
|
1686
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
1687
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
1688
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
1689
|
+
}>>;
|
|
1690
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
1691
|
+
readonly name: Schema.String;
|
|
1692
|
+
readonly aheadOfMain: Schema.Number;
|
|
1693
|
+
readonly pushed: Schema.Boolean;
|
|
1694
|
+
}>>;
|
|
1695
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
1853
1696
|
}>;
|
|
1854
1697
|
}>;
|
|
1855
1698
|
}>;
|
|
1856
|
-
type
|
|
1857
|
-
/**
|
|
1858
|
-
declare const
|
|
1859
|
-
readonly type: Schema.Literal<"
|
|
1699
|
+
type IssueStateChangedEvent = typeof IssueStateChangedEvent.Type;
|
|
1700
|
+
/** PAN-3917 FR-12 — a live agent pane appeared or changed. `emitOnly`. */
|
|
1701
|
+
declare const BackendPaneChangedEvent: Schema.Struct<{
|
|
1702
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
1860
1703
|
readonly sequence: Schema.Number;
|
|
1861
1704
|
readonly timestamp: Schema.String;
|
|
1862
1705
|
readonly payload: Schema.Struct<{
|
|
1863
|
-
readonly
|
|
1864
|
-
|
|
1706
|
+
readonly pane: Schema.Struct<{
|
|
1707
|
+
readonly id: Schema.String;
|
|
1708
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
1709
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
1710
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
1711
|
+
readonly harness: Schema.String;
|
|
1712
|
+
readonly model: Schema.String;
|
|
1713
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
1714
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
1715
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
1716
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
1717
|
+
}>;
|
|
1865
1718
|
}>;
|
|
1866
1719
|
}>;
|
|
1867
|
-
type
|
|
1868
|
-
/**
|
|
1869
|
-
declare const
|
|
1870
|
-
readonly type: Schema.Literal<"
|
|
1720
|
+
type BackendPaneChangedEvent = typeof BackendPaneChangedEvent.Type;
|
|
1721
|
+
/** PAN-3917 FR-12 — a pane left the backend inventory. `emitOnly`. */
|
|
1722
|
+
declare const BackendPaneRemovedEvent: Schema.Struct<{
|
|
1723
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
1724
|
+
readonly sequence: Schema.Number;
|
|
1725
|
+
readonly timestamp: Schema.String;
|
|
1726
|
+
readonly payload: Schema.Struct<{
|
|
1727
|
+
readonly paneId: Schema.String;
|
|
1728
|
+
}>;
|
|
1729
|
+
}>;
|
|
1730
|
+
type BackendPaneRemovedEvent = typeof BackendPaneRemovedEvent.Type;
|
|
1731
|
+
/** Replaces socket.io `merge:ready` */
|
|
1732
|
+
declare const MergeReadyEvent: Schema.Struct<{
|
|
1733
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
1871
1734
|
readonly sequence: Schema.Number;
|
|
1872
1735
|
readonly timestamp: Schema.String;
|
|
1873
1736
|
readonly payload: Schema.Struct<{
|
|
1874
1737
|
readonly issueId: Schema.String;
|
|
1875
1738
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1876
|
-
readonly status: Schema.Struct<{
|
|
1877
|
-
readonly issueId: Schema.String;
|
|
1878
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
1879
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
1880
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
1881
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
1882
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
1883
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
1884
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
1885
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
1886
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
1887
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
1888
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
1889
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
1890
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
1891
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
1892
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
1893
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
1894
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
1895
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1896
|
-
readonly cycle: Schema.Number;
|
|
1897
|
-
readonly runId: Schema.String;
|
|
1898
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
1899
|
-
readonly blockingCount: Schema.Number;
|
|
1900
|
-
readonly recordedAt: Schema.String;
|
|
1901
|
-
}>>>;
|
|
1902
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
1903
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
1904
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
1905
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
1906
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
1907
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
1908
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
1909
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
1910
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
1911
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
1912
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
1913
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
1914
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
1915
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1916
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
1917
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
1918
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
1919
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
1920
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
1921
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1922
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
1923
|
-
readonly summary: Schema.String;
|
|
1924
|
-
readonly details: Schema.optional<Schema.String>;
|
|
1925
|
-
readonly detectedAt: Schema.String;
|
|
1926
|
-
}>>>;
|
|
1927
|
-
}>;
|
|
1928
1739
|
}>;
|
|
1929
1740
|
}>;
|
|
1930
|
-
type
|
|
1741
|
+
type MergeReadyEvent = typeof MergeReadyEvent.Type;
|
|
1931
1742
|
/** New — review specialist dispatched */
|
|
1932
1743
|
declare const PipelineReviewStartedEvent: Schema.Struct<{
|
|
1933
1744
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -2223,7 +2034,7 @@ declare const SpecialistStartedEvent: Schema.Struct<{
|
|
|
2223
2034
|
readonly sequence: Schema.Number;
|
|
2224
2035
|
readonly timestamp: Schema.String;
|
|
2225
2036
|
readonly payload: Schema.Struct<{
|
|
2226
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2037
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2227
2038
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
2228
2039
|
readonly isRunning: Schema.Boolean;
|
|
2229
2040
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -2237,7 +2048,7 @@ declare const SpecialistCompletedEvent: Schema.Struct<{
|
|
|
2237
2048
|
readonly sequence: Schema.Number;
|
|
2238
2049
|
readonly timestamp: Schema.String;
|
|
2239
2050
|
readonly payload: Schema.Struct<{
|
|
2240
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2051
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2241
2052
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2242
2053
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2243
2054
|
}>;
|
|
@@ -2249,7 +2060,7 @@ declare const SpecialistFailedEvent: Schema.Struct<{
|
|
|
2249
2060
|
readonly sequence: Schema.Number;
|
|
2250
2061
|
readonly timestamp: Schema.String;
|
|
2251
2062
|
readonly payload: Schema.Struct<{
|
|
2252
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
2063
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
2253
2064
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2254
2065
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2255
2066
|
readonly error: Schema.String;
|
|
@@ -2525,7 +2336,7 @@ declare const MemoryObservationCreatedEvent: Schema.Struct<{
|
|
|
2525
2336
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
2526
2337
|
readonly runId: Schema.String;
|
|
2527
2338
|
readonly sessionId: Schema.String;
|
|
2528
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
2339
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
2529
2340
|
readonly agentHarness: Schema.String;
|
|
2530
2341
|
readonly gitBranch: Schema.String;
|
|
2531
2342
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -2635,7 +2446,7 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
|
|
|
2635
2446
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
2636
2447
|
readonly runId: Schema.String;
|
|
2637
2448
|
readonly sessionId: Schema.String;
|
|
2638
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
2449
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
2639
2450
|
readonly agentHarness: Schema.String;
|
|
2640
2451
|
}>;
|
|
2641
2452
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -2945,7 +2756,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2945
2756
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
2946
2757
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
2947
2758
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
2948
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2759
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
2949
2760
|
readonly phase: Schema.optional<Schema.String>;
|
|
2950
2761
|
readonly workType: Schema.optional<Schema.String>;
|
|
2951
2762
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -2999,7 +2810,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2999
2810
|
readonly agentId: Schema.String;
|
|
3000
2811
|
readonly issueId: Schema.optional<Schema.String>;
|
|
3001
2812
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3002
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2813
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
3003
2814
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
3004
2815
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
3005
2816
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -3048,7 +2859,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3048
2859
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
3049
2860
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
3050
2861
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
3051
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2862
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
3052
2863
|
readonly phase: Schema.optional<Schema.String>;
|
|
3053
2864
|
readonly workType: Schema.optional<Schema.String>;
|
|
3054
2865
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -3131,7 +2942,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3131
2942
|
readonly issueId: Schema.String;
|
|
3132
2943
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3133
2944
|
readonly agentId: Schema.optional<Schema.String>;
|
|
3134
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2945
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
3135
2946
|
}>;
|
|
3136
2947
|
}>, Schema.Struct<{
|
|
3137
2948
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -3174,7 +2985,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3174
2985
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
3175
2986
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
3176
2987
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
3177
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
2988
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
3178
2989
|
readonly model: Schema.optional<Schema.String>;
|
|
3179
2990
|
readonly workspace: Schema.optional<Schema.String>;
|
|
3180
2991
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -3466,132 +3277,61 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3466
3277
|
readonly items: Schema.$Array<Schema.String>;
|
|
3467
3278
|
}>;
|
|
3468
3279
|
}>, Schema.Struct<{
|
|
3469
|
-
readonly type: Schema.Literal<"
|
|
3280
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
3470
3281
|
readonly sequence: Schema.Number;
|
|
3471
3282
|
readonly timestamp: Schema.String;
|
|
3472
3283
|
readonly payload: Schema.Struct<{
|
|
3473
|
-
readonly
|
|
3474
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3475
|
-
readonly status: Schema.Struct<{
|
|
3284
|
+
readonly issueState: Schema.Struct<{
|
|
3476
3285
|
readonly issueId: Schema.String;
|
|
3477
|
-
readonly
|
|
3478
|
-
readonly
|
|
3479
|
-
readonly
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
readonly
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
readonly
|
|
3492
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
3493
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
3494
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3495
|
-
readonly cycle: Schema.Number;
|
|
3496
|
-
readonly runId: Schema.String;
|
|
3497
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
3498
|
-
readonly blockingCount: Schema.Number;
|
|
3499
|
-
readonly recordedAt: Schema.String;
|
|
3500
|
-
}>>>;
|
|
3501
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
3502
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
3503
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
3504
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
3505
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
3506
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
3507
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
3508
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
3509
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
3510
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
3511
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
3512
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
3513
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
3514
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
3515
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
3516
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
3517
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
3518
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
3519
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
3520
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3521
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
3522
|
-
readonly summary: Schema.String;
|
|
3523
|
-
readonly details: Schema.optional<Schema.String>;
|
|
3524
|
-
readonly detectedAt: Schema.String;
|
|
3525
|
-
}>>>;
|
|
3286
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
3287
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
3288
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
3289
|
+
readonly url: Schema.String;
|
|
3290
|
+
readonly number: Schema.Number;
|
|
3291
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
3292
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
3293
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
3294
|
+
}>>;
|
|
3295
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
3296
|
+
readonly name: Schema.String;
|
|
3297
|
+
readonly aheadOfMain: Schema.Number;
|
|
3298
|
+
readonly pushed: Schema.Boolean;
|
|
3299
|
+
}>>;
|
|
3300
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
3526
3301
|
}>;
|
|
3527
3302
|
}>;
|
|
3528
3303
|
}>, Schema.Struct<{
|
|
3529
|
-
readonly type: Schema.Literal<"
|
|
3304
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
3530
3305
|
readonly sequence: Schema.Number;
|
|
3531
3306
|
readonly timestamp: Schema.String;
|
|
3532
3307
|
readonly payload: Schema.Struct<{
|
|
3533
|
-
readonly
|
|
3534
|
-
|
|
3308
|
+
readonly pane: Schema.Struct<{
|
|
3309
|
+
readonly id: Schema.String;
|
|
3310
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
3311
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
3312
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
3313
|
+
readonly harness: Schema.String;
|
|
3314
|
+
readonly model: Schema.String;
|
|
3315
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
3316
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
3317
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
3318
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
3319
|
+
}>;
|
|
3320
|
+
}>;
|
|
3321
|
+
}>, Schema.Struct<{
|
|
3322
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
3323
|
+
readonly sequence: Schema.Number;
|
|
3324
|
+
readonly timestamp: Schema.String;
|
|
3325
|
+
readonly payload: Schema.Struct<{
|
|
3326
|
+
readonly paneId: Schema.String;
|
|
3535
3327
|
}>;
|
|
3536
3328
|
}>, Schema.Struct<{
|
|
3537
|
-
readonly type: Schema.Literal<"
|
|
3329
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
3538
3330
|
readonly sequence: Schema.Number;
|
|
3539
3331
|
readonly timestamp: Schema.String;
|
|
3540
3332
|
readonly payload: Schema.Struct<{
|
|
3541
3333
|
readonly issueId: Schema.String;
|
|
3542
3334
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3543
|
-
readonly status: Schema.Struct<{
|
|
3544
|
-
readonly issueId: Schema.String;
|
|
3545
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
3546
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
3547
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
3548
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
3549
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
3550
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
3551
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
3552
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
3553
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
3554
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
3555
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
3556
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
3557
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
3558
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
3559
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
3560
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
3561
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
3562
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3563
|
-
readonly cycle: Schema.Number;
|
|
3564
|
-
readonly runId: Schema.String;
|
|
3565
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
3566
|
-
readonly blockingCount: Schema.Number;
|
|
3567
|
-
readonly recordedAt: Schema.String;
|
|
3568
|
-
}>>>;
|
|
3569
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
3570
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
3571
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
3572
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
3573
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
3574
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
3575
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
3576
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
3577
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
3578
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
3579
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
3580
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
3581
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
3582
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
3583
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
3584
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
3585
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
3586
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
3587
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
3588
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3589
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
3590
|
-
readonly summary: Schema.String;
|
|
3591
|
-
readonly details: Schema.optional<Schema.String>;
|
|
3592
|
-
readonly detectedAt: Schema.String;
|
|
3593
|
-
}>>>;
|
|
3594
|
-
}>;
|
|
3595
3335
|
}>;
|
|
3596
3336
|
}>, Schema.Struct<{
|
|
3597
3337
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -3808,7 +3548,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3808
3548
|
readonly sequence: Schema.Number;
|
|
3809
3549
|
readonly timestamp: Schema.String;
|
|
3810
3550
|
readonly payload: Schema.Struct<{
|
|
3811
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3551
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3812
3552
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
3813
3553
|
readonly isRunning: Schema.Boolean;
|
|
3814
3554
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -3819,7 +3559,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3819
3559
|
readonly sequence: Schema.Number;
|
|
3820
3560
|
readonly timestamp: Schema.String;
|
|
3821
3561
|
readonly payload: Schema.Struct<{
|
|
3822
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3562
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3823
3563
|
readonly issueId: Schema.optional<Schema.String>;
|
|
3824
3564
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3825
3565
|
}>;
|
|
@@ -3828,7 +3568,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3828
3568
|
readonly sequence: Schema.Number;
|
|
3829
3569
|
readonly timestamp: Schema.String;
|
|
3830
3570
|
readonly payload: Schema.Struct<{
|
|
3831
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
3571
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
3832
3572
|
readonly issueId: Schema.optional<Schema.String>;
|
|
3833
3573
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
3834
3574
|
readonly error: Schema.String;
|
|
@@ -3974,7 +3714,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3974
3714
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
3975
3715
|
readonly runId: Schema.String;
|
|
3976
3716
|
readonly sessionId: Schema.String;
|
|
3977
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
3717
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
3978
3718
|
readonly agentHarness: Schema.String;
|
|
3979
3719
|
readonly gitBranch: Schema.String;
|
|
3980
3720
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -4076,7 +3816,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4076
3816
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4077
3817
|
readonly runId: Schema.String;
|
|
4078
3818
|
readonly sessionId: Schema.String;
|
|
4079
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
3819
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4080
3820
|
readonly agentHarness: Schema.String;
|
|
4081
3821
|
}>;
|
|
4082
3822
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -4323,7 +4063,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4323
4063
|
type DomainEvent = typeof DomainEvent.Type;
|
|
4324
4064
|
//#endregion
|
|
4325
4065
|
//#region src/memory.d.ts
|
|
4326
|
-
declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4066
|
+
declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4327
4067
|
type MemoryAgentRole = typeof MemoryAgentRole.Type;
|
|
4328
4068
|
declare const MemoryIdentity: Schema.Struct<{
|
|
4329
4069
|
readonly projectId: Schema.String;
|
|
@@ -4331,7 +4071,7 @@ declare const MemoryIdentity: Schema.Struct<{
|
|
|
4331
4071
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4332
4072
|
readonly runId: Schema.String;
|
|
4333
4073
|
readonly sessionId: Schema.String;
|
|
4334
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4074
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4335
4075
|
readonly agentHarness: Schema.String;
|
|
4336
4076
|
}>;
|
|
4337
4077
|
type MemoryIdentity = typeof MemoryIdentity.Type;
|
|
@@ -4349,7 +4089,7 @@ declare const MemoryObservation: Schema.Struct<{
|
|
|
4349
4089
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4350
4090
|
readonly runId: Schema.String;
|
|
4351
4091
|
readonly sessionId: Schema.String;
|
|
4352
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4092
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4353
4093
|
readonly agentHarness: Schema.String;
|
|
4354
4094
|
readonly gitBranch: Schema.String;
|
|
4355
4095
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -4392,7 +4132,7 @@ declare const PendingTurn: Schema.Struct<{
|
|
|
4392
4132
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4393
4133
|
readonly runId: Schema.String;
|
|
4394
4134
|
readonly sessionId: Schema.String;
|
|
4395
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4135
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4396
4136
|
readonly agentHarness: Schema.String;
|
|
4397
4137
|
}>;
|
|
4398
4138
|
readonly trigger: Schema.Literals<readonly ["stop-hook", "poller", "reconciliation", "manual"]>;
|
|
@@ -4432,7 +4172,7 @@ declare const RagDecision: Schema.Struct<{
|
|
|
4432
4172
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
4433
4173
|
readonly runId: Schema.String;
|
|
4434
4174
|
readonly sessionId: Schema.String;
|
|
4435
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
4175
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
4436
4176
|
readonly agentHarness: Schema.String;
|
|
4437
4177
|
}>;
|
|
4438
4178
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -4493,10 +4233,8 @@ declare const WS_METHODS: {
|
|
|
4493
4233
|
readonly subscribeAgentOutput: "pan.subscribeAgentOutput";
|
|
4494
4234
|
readonly subscribeConversationMessages: "pan.subscribeConversationMessages";
|
|
4495
4235
|
readonly subscribeProjectSessionTree: "pan.subscribeProjectSessionTree";
|
|
4496
|
-
readonly subscribeFlywheelStatus: "pan.subscribeFlywheelStatus";
|
|
4497
4236
|
readonly getSnapshot: "pan.getSnapshot";
|
|
4498
4237
|
readonly replayEvents: "pan.replayEvents";
|
|
4499
|
-
readonly getWorkspaceDetail: "pan.getWorkspaceDetail";
|
|
4500
4238
|
readonly readWorkspaceFile: "pan.readWorkspaceFile";
|
|
4501
4239
|
readonly readFileAtPath: "pan.readFileAtPath";
|
|
4502
4240
|
readonly writeFileAtPath: "pan.writeFileAtPath";
|
|
@@ -4848,7 +4586,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4848
4586
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
4849
4587
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
4850
4588
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
4851
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4589
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4852
4590
|
readonly phase: Schema.optional<Schema.String>;
|
|
4853
4591
|
readonly workType: Schema.optional<Schema.String>;
|
|
4854
4592
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -4902,7 +4640,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4902
4640
|
readonly agentId: Schema.String;
|
|
4903
4641
|
readonly issueId: Schema.optional<Schema.String>;
|
|
4904
4642
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
4905
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4643
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4906
4644
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
4907
4645
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
4908
4646
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -4951,7 +4689,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4951
4689
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
4952
4690
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
4953
4691
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
4954
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4692
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
4955
4693
|
readonly phase: Schema.optional<Schema.String>;
|
|
4956
4694
|
readonly workType: Schema.optional<Schema.String>;
|
|
4957
4695
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -5034,7 +4772,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5034
4772
|
readonly issueId: Schema.String;
|
|
5035
4773
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5036
4774
|
readonly agentId: Schema.optional<Schema.String>;
|
|
5037
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4775
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
5038
4776
|
}>;
|
|
5039
4777
|
}>, Schema.Struct<{
|
|
5040
4778
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -5077,7 +4815,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5077
4815
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
5078
4816
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
5079
4817
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
5080
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
4818
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
5081
4819
|
readonly model: Schema.optional<Schema.String>;
|
|
5082
4820
|
readonly workspace: Schema.optional<Schema.String>;
|
|
5083
4821
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -5369,132 +5107,61 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5369
5107
|
readonly items: Schema.$Array<Schema.String>;
|
|
5370
5108
|
}>;
|
|
5371
5109
|
}>, Schema.Struct<{
|
|
5372
|
-
readonly type: Schema.Literal<"
|
|
5110
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
5373
5111
|
readonly sequence: Schema.Number;
|
|
5374
5112
|
readonly timestamp: Schema.String;
|
|
5375
5113
|
readonly payload: Schema.Struct<{
|
|
5376
|
-
readonly
|
|
5377
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5378
|
-
readonly status: Schema.Struct<{
|
|
5114
|
+
readonly issueState: Schema.Struct<{
|
|
5379
5115
|
readonly issueId: Schema.String;
|
|
5380
|
-
readonly
|
|
5381
|
-
readonly
|
|
5382
|
-
readonly
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
readonly
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
readonly
|
|
5395
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
5396
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
5397
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
5398
|
-
readonly cycle: Schema.Number;
|
|
5399
|
-
readonly runId: Schema.String;
|
|
5400
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
5401
|
-
readonly blockingCount: Schema.Number;
|
|
5402
|
-
readonly recordedAt: Schema.String;
|
|
5403
|
-
}>>>;
|
|
5404
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
5405
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
5406
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
5407
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
5408
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
5409
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
5410
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
5411
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
5412
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
5413
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
5414
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
5415
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
5416
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
5417
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
5418
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
5419
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
5420
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
5421
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
5422
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
5423
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
5424
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
5425
|
-
readonly summary: Schema.String;
|
|
5426
|
-
readonly details: Schema.optional<Schema.String>;
|
|
5427
|
-
readonly detectedAt: Schema.String;
|
|
5428
|
-
}>>>;
|
|
5116
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
5117
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
5118
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
5119
|
+
readonly url: Schema.String;
|
|
5120
|
+
readonly number: Schema.Number;
|
|
5121
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
5122
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
5123
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
5124
|
+
}>>;
|
|
5125
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
5126
|
+
readonly name: Schema.String;
|
|
5127
|
+
readonly aheadOfMain: Schema.Number;
|
|
5128
|
+
readonly pushed: Schema.Boolean;
|
|
5129
|
+
}>>;
|
|
5130
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
5429
5131
|
}>;
|
|
5430
5132
|
}>;
|
|
5431
5133
|
}>, Schema.Struct<{
|
|
5432
|
-
readonly type: Schema.Literal<"
|
|
5134
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
5433
5135
|
readonly sequence: Schema.Number;
|
|
5434
5136
|
readonly timestamp: Schema.String;
|
|
5435
5137
|
readonly payload: Schema.Struct<{
|
|
5436
|
-
readonly
|
|
5437
|
-
|
|
5138
|
+
readonly pane: Schema.Struct<{
|
|
5139
|
+
readonly id: Schema.String;
|
|
5140
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
5141
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
5142
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
5143
|
+
readonly harness: Schema.String;
|
|
5144
|
+
readonly model: Schema.String;
|
|
5145
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
5146
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
5147
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
5148
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
5149
|
+
}>;
|
|
5150
|
+
}>;
|
|
5151
|
+
}>, Schema.Struct<{
|
|
5152
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
5153
|
+
readonly sequence: Schema.Number;
|
|
5154
|
+
readonly timestamp: Schema.String;
|
|
5155
|
+
readonly payload: Schema.Struct<{
|
|
5156
|
+
readonly paneId: Schema.String;
|
|
5438
5157
|
}>;
|
|
5439
5158
|
}>, Schema.Struct<{
|
|
5440
|
-
readonly type: Schema.Literal<"
|
|
5159
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
5441
5160
|
readonly sequence: Schema.Number;
|
|
5442
5161
|
readonly timestamp: Schema.String;
|
|
5443
5162
|
readonly payload: Schema.Struct<{
|
|
5444
5163
|
readonly issueId: Schema.String;
|
|
5445
5164
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5446
|
-
readonly status: Schema.Struct<{
|
|
5447
|
-
readonly issueId: Schema.String;
|
|
5448
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
5449
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
5450
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
5451
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
5452
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
5453
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
5454
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
5455
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
5456
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
5457
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
5458
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
5459
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
5460
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
5461
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
5462
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
5463
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
5464
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
5465
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
5466
|
-
readonly cycle: Schema.Number;
|
|
5467
|
-
readonly runId: Schema.String;
|
|
5468
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
5469
|
-
readonly blockingCount: Schema.Number;
|
|
5470
|
-
readonly recordedAt: Schema.String;
|
|
5471
|
-
}>>>;
|
|
5472
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
5473
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
5474
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
5475
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
5476
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
5477
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
5478
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
5479
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
5480
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
5481
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
5482
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
5483
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
5484
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
5485
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
5486
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
5487
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
5488
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
5489
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
5490
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
5491
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
5492
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
5493
|
-
readonly summary: Schema.String;
|
|
5494
|
-
readonly details: Schema.optional<Schema.String>;
|
|
5495
|
-
readonly detectedAt: Schema.String;
|
|
5496
|
-
}>>>;
|
|
5497
|
-
}>;
|
|
5498
5165
|
}>;
|
|
5499
5166
|
}>, Schema.Struct<{
|
|
5500
5167
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -5711,7 +5378,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5711
5378
|
readonly sequence: Schema.Number;
|
|
5712
5379
|
readonly timestamp: Schema.String;
|
|
5713
5380
|
readonly payload: Schema.Struct<{
|
|
5714
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5381
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5715
5382
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
5716
5383
|
readonly isRunning: Schema.Boolean;
|
|
5717
5384
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -5722,7 +5389,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5722
5389
|
readonly sequence: Schema.Number;
|
|
5723
5390
|
readonly timestamp: Schema.String;
|
|
5724
5391
|
readonly payload: Schema.Struct<{
|
|
5725
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5392
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5726
5393
|
readonly issueId: Schema.optional<Schema.String>;
|
|
5727
5394
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5728
5395
|
}>;
|
|
@@ -5731,7 +5398,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5731
5398
|
readonly sequence: Schema.Number;
|
|
5732
5399
|
readonly timestamp: Schema.String;
|
|
5733
5400
|
readonly payload: Schema.Struct<{
|
|
5734
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
5401
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
5735
5402
|
readonly issueId: Schema.optional<Schema.String>;
|
|
5736
5403
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
5737
5404
|
readonly error: Schema.String;
|
|
@@ -5877,7 +5544,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5877
5544
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
5878
5545
|
readonly runId: Schema.String;
|
|
5879
5546
|
readonly sessionId: Schema.String;
|
|
5880
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
5547
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
5881
5548
|
readonly agentHarness: Schema.String;
|
|
5882
5549
|
readonly gitBranch: Schema.String;
|
|
5883
5550
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -5979,7 +5646,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5979
5646
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
5980
5647
|
readonly runId: Schema.String;
|
|
5981
5648
|
readonly sessionId: Schema.String;
|
|
5982
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
5649
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
5983
5650
|
readonly agentHarness: Schema.String;
|
|
5984
5651
|
}>;
|
|
5985
5652
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -6313,7 +5980,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6313
5980
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
6314
5981
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
6315
5982
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
6316
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
5983
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6317
5984
|
readonly phase: Schema.optional<Schema.String>;
|
|
6318
5985
|
readonly workType: Schema.optional<Schema.String>;
|
|
6319
5986
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -6367,7 +6034,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6367
6034
|
readonly agentId: Schema.String;
|
|
6368
6035
|
readonly issueId: Schema.optional<Schema.String>;
|
|
6369
6036
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6370
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6037
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6371
6038
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
6372
6039
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
6373
6040
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -6416,7 +6083,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6416
6083
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
6417
6084
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
6418
6085
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
6419
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6086
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6420
6087
|
readonly phase: Schema.optional<Schema.String>;
|
|
6421
6088
|
readonly workType: Schema.optional<Schema.String>;
|
|
6422
6089
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -6499,7 +6166,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6499
6166
|
readonly issueId: Schema.String;
|
|
6500
6167
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6501
6168
|
readonly agentId: Schema.optional<Schema.String>;
|
|
6502
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6169
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6503
6170
|
}>;
|
|
6504
6171
|
}>, Schema.Struct<{
|
|
6505
6172
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -6542,7 +6209,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6542
6209
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
6543
6210
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
6544
6211
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
6545
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
6212
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
6546
6213
|
readonly model: Schema.optional<Schema.String>;
|
|
6547
6214
|
readonly workspace: Schema.optional<Schema.String>;
|
|
6548
6215
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -6834,132 +6501,61 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6834
6501
|
readonly items: Schema.$Array<Schema.String>;
|
|
6835
6502
|
}>;
|
|
6836
6503
|
}>, Schema.Struct<{
|
|
6837
|
-
readonly type: Schema.Literal<"
|
|
6504
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
6838
6505
|
readonly sequence: Schema.Number;
|
|
6839
6506
|
readonly timestamp: Schema.String;
|
|
6840
6507
|
readonly payload: Schema.Struct<{
|
|
6841
|
-
readonly
|
|
6842
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6843
|
-
readonly status: Schema.Struct<{
|
|
6508
|
+
readonly issueState: Schema.Struct<{
|
|
6844
6509
|
readonly issueId: Schema.String;
|
|
6845
|
-
readonly
|
|
6846
|
-
readonly
|
|
6847
|
-
readonly
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
readonly
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
readonly
|
|
6860
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
6861
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
6862
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6863
|
-
readonly cycle: Schema.Number;
|
|
6864
|
-
readonly runId: Schema.String;
|
|
6865
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
6866
|
-
readonly blockingCount: Schema.Number;
|
|
6867
|
-
readonly recordedAt: Schema.String;
|
|
6868
|
-
}>>>;
|
|
6869
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
6870
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
6871
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
6872
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
6873
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
6874
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
6875
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
6876
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
6877
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
6878
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
6879
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
6880
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
6881
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
6882
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
6883
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
6884
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
6885
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
6886
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
6887
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
6888
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6889
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
6890
|
-
readonly summary: Schema.String;
|
|
6891
|
-
readonly details: Schema.optional<Schema.String>;
|
|
6892
|
-
readonly detectedAt: Schema.String;
|
|
6893
|
-
}>>>;
|
|
6510
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
6511
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
6512
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
6513
|
+
readonly url: Schema.String;
|
|
6514
|
+
readonly number: Schema.Number;
|
|
6515
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
6516
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
6517
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
6518
|
+
}>>;
|
|
6519
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
6520
|
+
readonly name: Schema.String;
|
|
6521
|
+
readonly aheadOfMain: Schema.Number;
|
|
6522
|
+
readonly pushed: Schema.Boolean;
|
|
6523
|
+
}>>;
|
|
6524
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
6894
6525
|
}>;
|
|
6895
6526
|
}>;
|
|
6896
6527
|
}>, Schema.Struct<{
|
|
6897
|
-
readonly type: Schema.Literal<"
|
|
6528
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
6898
6529
|
readonly sequence: Schema.Number;
|
|
6899
6530
|
readonly timestamp: Schema.String;
|
|
6900
6531
|
readonly payload: Schema.Struct<{
|
|
6901
|
-
readonly
|
|
6902
|
-
|
|
6532
|
+
readonly pane: Schema.Struct<{
|
|
6533
|
+
readonly id: Schema.String;
|
|
6534
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
6535
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
6536
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
6537
|
+
readonly harness: Schema.String;
|
|
6538
|
+
readonly model: Schema.String;
|
|
6539
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
6540
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
6541
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
6542
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
6543
|
+
}>;
|
|
6544
|
+
}>;
|
|
6545
|
+
}>, Schema.Struct<{
|
|
6546
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
6547
|
+
readonly sequence: Schema.Number;
|
|
6548
|
+
readonly timestamp: Schema.String;
|
|
6549
|
+
readonly payload: Schema.Struct<{
|
|
6550
|
+
readonly paneId: Schema.String;
|
|
6903
6551
|
}>;
|
|
6904
6552
|
}>, Schema.Struct<{
|
|
6905
|
-
readonly type: Schema.Literal<"
|
|
6553
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
6906
6554
|
readonly sequence: Schema.Number;
|
|
6907
6555
|
readonly timestamp: Schema.String;
|
|
6908
6556
|
readonly payload: Schema.Struct<{
|
|
6909
6557
|
readonly issueId: Schema.String;
|
|
6910
6558
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6911
|
-
readonly status: Schema.Struct<{
|
|
6912
|
-
readonly issueId: Schema.String;
|
|
6913
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
6914
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
6915
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
6916
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
6917
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
6918
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
6919
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
6920
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
6921
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
6922
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
6923
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
6924
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
6925
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
6926
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
6927
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
6928
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
6929
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
6930
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6931
|
-
readonly cycle: Schema.Number;
|
|
6932
|
-
readonly runId: Schema.String;
|
|
6933
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
6934
|
-
readonly blockingCount: Schema.Number;
|
|
6935
|
-
readonly recordedAt: Schema.String;
|
|
6936
|
-
}>>>;
|
|
6937
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
6938
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
6939
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
6940
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
6941
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
6942
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
6943
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
6944
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
6945
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
6946
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
6947
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
6948
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
6949
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
6950
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
6951
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
6952
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
6953
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
6954
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
6955
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
6956
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
6957
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
6958
|
-
readonly summary: Schema.String;
|
|
6959
|
-
readonly details: Schema.optional<Schema.String>;
|
|
6960
|
-
readonly detectedAt: Schema.String;
|
|
6961
|
-
}>>>;
|
|
6962
|
-
}>;
|
|
6963
6559
|
}>;
|
|
6964
6560
|
}>, Schema.Struct<{
|
|
6965
6561
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -7176,7 +6772,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7176
6772
|
readonly sequence: Schema.Number;
|
|
7177
6773
|
readonly timestamp: Schema.String;
|
|
7178
6774
|
readonly payload: Schema.Struct<{
|
|
7179
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
6775
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
7180
6776
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
7181
6777
|
readonly isRunning: Schema.Boolean;
|
|
7182
6778
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -7187,7 +6783,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7187
6783
|
readonly sequence: Schema.Number;
|
|
7188
6784
|
readonly timestamp: Schema.String;
|
|
7189
6785
|
readonly payload: Schema.Struct<{
|
|
7190
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
6786
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
7191
6787
|
readonly issueId: Schema.optional<Schema.String>;
|
|
7192
6788
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7193
6789
|
}>;
|
|
@@ -7196,7 +6792,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7196
6792
|
readonly sequence: Schema.Number;
|
|
7197
6793
|
readonly timestamp: Schema.String;
|
|
7198
6794
|
readonly payload: Schema.Struct<{
|
|
7199
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
6795
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
7200
6796
|
readonly issueId: Schema.optional<Schema.String>;
|
|
7201
6797
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7202
6798
|
readonly error: Schema.String;
|
|
@@ -7342,7 +6938,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7342
6938
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
7343
6939
|
readonly runId: Schema.String;
|
|
7344
6940
|
readonly sessionId: Schema.String;
|
|
7345
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
6941
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
7346
6942
|
readonly agentHarness: Schema.String;
|
|
7347
6943
|
readonly gitBranch: Schema.String;
|
|
7348
6944
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -7444,7 +7040,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7444
7040
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
7445
7041
|
readonly runId: Schema.String;
|
|
7446
7042
|
readonly sessionId: Schema.String;
|
|
7447
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
7043
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
7448
7044
|
readonly agentHarness: Schema.String;
|
|
7449
7045
|
}>;
|
|
7450
7046
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -7720,7 +7316,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7720
7316
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
7721
7317
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
7722
7318
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
7723
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7319
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
7724
7320
|
readonly phase: Schema.optional<Schema.String>;
|
|
7725
7321
|
readonly workType: Schema.optional<Schema.String>;
|
|
7726
7322
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -7766,57 +7362,35 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7766
7362
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
7767
7363
|
}>>;
|
|
7768
7364
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
7769
|
-
readonly
|
|
7770
|
-
readonly issueId: Schema.String;
|
|
7771
|
-
readonly
|
|
7772
|
-
readonly
|
|
7773
|
-
readonly
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
readonly
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
readonly
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
readonly
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
readonly
|
|
7796
|
-
readonly
|
|
7797
|
-
readonly
|
|
7798
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
7799
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
7800
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
7801
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
7802
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
7803
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
7804
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
7805
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
7806
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
7807
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
7808
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7809
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
7810
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
7811
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
7812
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
7813
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
7814
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
7815
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
7816
|
-
readonly summary: Schema.String;
|
|
7817
|
-
readonly details: Schema.optional<Schema.String>;
|
|
7818
|
-
readonly detectedAt: Schema.String;
|
|
7819
|
-
}>>>;
|
|
7365
|
+
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
7366
|
+
readonly issueId: Schema.String;
|
|
7367
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
7368
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
7369
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
7370
|
+
readonly url: Schema.String;
|
|
7371
|
+
readonly number: Schema.Number;
|
|
7372
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
7373
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
7374
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
7375
|
+
}>>;
|
|
7376
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
7377
|
+
readonly name: Schema.String;
|
|
7378
|
+
readonly aheadOfMain: Schema.Number;
|
|
7379
|
+
readonly pushed: Schema.Boolean;
|
|
7380
|
+
}>>;
|
|
7381
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
7382
|
+
}>>;
|
|
7383
|
+
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
7384
|
+
readonly id: Schema.String;
|
|
7385
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
7386
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
7387
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
7388
|
+
readonly harness: Schema.String;
|
|
7389
|
+
readonly model: Schema.String;
|
|
7390
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
7391
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
7392
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
7393
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
7820
7394
|
}>>;
|
|
7821
7395
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
7822
7396
|
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
@@ -8022,7 +7596,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8022
7596
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8023
7597
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
8024
7598
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
8025
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7599
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8026
7600
|
readonly phase: Schema.optional<Schema.String>;
|
|
8027
7601
|
readonly workType: Schema.optional<Schema.String>;
|
|
8028
7602
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -8076,7 +7650,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8076
7650
|
readonly agentId: Schema.String;
|
|
8077
7651
|
readonly issueId: Schema.optional<Schema.String>;
|
|
8078
7652
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8079
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7653
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8080
7654
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8081
7655
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8082
7656
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -8125,7 +7699,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8125
7699
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8126
7700
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
8127
7701
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
8128
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7702
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8129
7703
|
readonly phase: Schema.optional<Schema.String>;
|
|
8130
7704
|
readonly workType: Schema.optional<Schema.String>;
|
|
8131
7705
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -8208,7 +7782,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8208
7782
|
readonly issueId: Schema.String;
|
|
8209
7783
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8210
7784
|
readonly agentId: Schema.optional<Schema.String>;
|
|
8211
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7785
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8212
7786
|
}>;
|
|
8213
7787
|
}>, Schema.Struct<{
|
|
8214
7788
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -8251,7 +7825,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8251
7825
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8252
7826
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
8253
7827
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
8254
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
7828
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8255
7829
|
readonly model: Schema.optional<Schema.String>;
|
|
8256
7830
|
readonly workspace: Schema.optional<Schema.String>;
|
|
8257
7831
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -8543,132 +8117,61 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8543
8117
|
readonly items: Schema.$Array<Schema.String>;
|
|
8544
8118
|
}>;
|
|
8545
8119
|
}>, Schema.Struct<{
|
|
8546
|
-
readonly type: Schema.Literal<"
|
|
8120
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
8547
8121
|
readonly sequence: Schema.Number;
|
|
8548
8122
|
readonly timestamp: Schema.String;
|
|
8549
8123
|
readonly payload: Schema.Struct<{
|
|
8550
|
-
readonly
|
|
8551
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8552
|
-
readonly status: Schema.Struct<{
|
|
8124
|
+
readonly issueState: Schema.Struct<{
|
|
8553
8125
|
readonly issueId: Schema.String;
|
|
8554
|
-
readonly
|
|
8555
|
-
readonly
|
|
8556
|
-
readonly
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
readonly
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
readonly
|
|
8569
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
8570
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
8571
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8572
|
-
readonly cycle: Schema.Number;
|
|
8573
|
-
readonly runId: Schema.String;
|
|
8574
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
8575
|
-
readonly blockingCount: Schema.Number;
|
|
8576
|
-
readonly recordedAt: Schema.String;
|
|
8577
|
-
}>>>;
|
|
8578
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
8579
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
8580
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
8581
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
8582
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
8583
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
8584
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
8585
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
8586
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
8587
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
8588
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
8589
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
8590
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
8591
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8592
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
8593
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
8594
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
8595
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
8596
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
8597
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8598
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
8599
|
-
readonly summary: Schema.String;
|
|
8600
|
-
readonly details: Schema.optional<Schema.String>;
|
|
8601
|
-
readonly detectedAt: Schema.String;
|
|
8602
|
-
}>>>;
|
|
8126
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
8127
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
8128
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
8129
|
+
readonly url: Schema.String;
|
|
8130
|
+
readonly number: Schema.Number;
|
|
8131
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
8132
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
8133
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
8134
|
+
}>>;
|
|
8135
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
8136
|
+
readonly name: Schema.String;
|
|
8137
|
+
readonly aheadOfMain: Schema.Number;
|
|
8138
|
+
readonly pushed: Schema.Boolean;
|
|
8139
|
+
}>>;
|
|
8140
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
8603
8141
|
}>;
|
|
8604
8142
|
}>;
|
|
8605
8143
|
}>, Schema.Struct<{
|
|
8606
|
-
readonly type: Schema.Literal<"
|
|
8144
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
8607
8145
|
readonly sequence: Schema.Number;
|
|
8608
8146
|
readonly timestamp: Schema.String;
|
|
8609
8147
|
readonly payload: Schema.Struct<{
|
|
8610
|
-
readonly
|
|
8611
|
-
|
|
8148
|
+
readonly pane: Schema.Struct<{
|
|
8149
|
+
readonly id: Schema.String;
|
|
8150
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8151
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
8152
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
8153
|
+
readonly harness: Schema.String;
|
|
8154
|
+
readonly model: Schema.String;
|
|
8155
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
8156
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
8157
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
8158
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8159
|
+
}>;
|
|
8160
|
+
}>;
|
|
8161
|
+
}>, Schema.Struct<{
|
|
8162
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
8163
|
+
readonly sequence: Schema.Number;
|
|
8164
|
+
readonly timestamp: Schema.String;
|
|
8165
|
+
readonly payload: Schema.Struct<{
|
|
8166
|
+
readonly paneId: Schema.String;
|
|
8612
8167
|
}>;
|
|
8613
8168
|
}>, Schema.Struct<{
|
|
8614
|
-
readonly type: Schema.Literal<"
|
|
8169
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
8615
8170
|
readonly sequence: Schema.Number;
|
|
8616
8171
|
readonly timestamp: Schema.String;
|
|
8617
8172
|
readonly payload: Schema.Struct<{
|
|
8618
8173
|
readonly issueId: Schema.String;
|
|
8619
8174
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8620
|
-
readonly status: Schema.Struct<{
|
|
8621
|
-
readonly issueId: Schema.String;
|
|
8622
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
8623
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
8624
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
8625
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
8626
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
8627
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
8628
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
8629
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
8630
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
8631
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
8632
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
8633
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
8634
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
8635
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
8636
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
8637
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
8638
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
8639
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8640
|
-
readonly cycle: Schema.Number;
|
|
8641
|
-
readonly runId: Schema.String;
|
|
8642
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
8643
|
-
readonly blockingCount: Schema.Number;
|
|
8644
|
-
readonly recordedAt: Schema.String;
|
|
8645
|
-
}>>>;
|
|
8646
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
8647
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
8648
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
8649
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
8650
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
8651
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
8652
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
8653
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
8654
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
8655
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
8656
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
8657
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
8658
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
8659
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8660
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
8661
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
8662
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
8663
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
8664
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
8665
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8666
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
8667
|
-
readonly summary: Schema.String;
|
|
8668
|
-
readonly details: Schema.optional<Schema.String>;
|
|
8669
|
-
readonly detectedAt: Schema.String;
|
|
8670
|
-
}>>>;
|
|
8671
|
-
}>;
|
|
8672
8175
|
}>;
|
|
8673
8176
|
}>, Schema.Struct<{
|
|
8674
8177
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -8885,7 +8388,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8885
8388
|
readonly sequence: Schema.Number;
|
|
8886
8389
|
readonly timestamp: Schema.String;
|
|
8887
8390
|
readonly payload: Schema.Struct<{
|
|
8888
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8391
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8889
8392
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
8890
8393
|
readonly isRunning: Schema.Boolean;
|
|
8891
8394
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -8896,7 +8399,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8896
8399
|
readonly sequence: Schema.Number;
|
|
8897
8400
|
readonly timestamp: Schema.String;
|
|
8898
8401
|
readonly payload: Schema.Struct<{
|
|
8899
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8402
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8900
8403
|
readonly issueId: Schema.optional<Schema.String>;
|
|
8901
8404
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8902
8405
|
}>;
|
|
@@ -8905,7 +8408,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8905
8408
|
readonly sequence: Schema.Number;
|
|
8906
8409
|
readonly timestamp: Schema.String;
|
|
8907
8410
|
readonly payload: Schema.Struct<{
|
|
8908
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
8411
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
8909
8412
|
readonly issueId: Schema.optional<Schema.String>;
|
|
8910
8413
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8911
8414
|
readonly error: Schema.String;
|
|
@@ -9051,7 +8554,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
9051
8554
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9052
8555
|
readonly runId: Schema.String;
|
|
9053
8556
|
readonly sessionId: Schema.String;
|
|
9054
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
8557
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9055
8558
|
readonly agentHarness: Schema.String;
|
|
9056
8559
|
readonly gitBranch: Schema.String;
|
|
9057
8560
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -9153,7 +8656,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
9153
8656
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9154
8657
|
readonly runId: Schema.String;
|
|
9155
8658
|
readonly sessionId: Schema.String;
|
|
9156
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
8659
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9157
8660
|
readonly agentHarness: Schema.String;
|
|
9158
8661
|
}>;
|
|
9159
8662
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -9420,16 +8923,6 @@ declare const TerminalResizeRpc: Rpc.Rpc<"pan.terminalResize", Schema.Struct<{
|
|
|
9420
8923
|
declare const TerminalCloseRpc: Rpc.Rpc<"pan.terminalClose", Schema.Struct<{
|
|
9421
8924
|
readonly sessionName: Schema.String;
|
|
9422
8925
|
}>, Schema.Void, typeof PanRpcError, never, never>;
|
|
9423
|
-
/** 10. Get batched workspace detail (unary) — replaces 5 separate HTTP calls */
|
|
9424
|
-
declare const GetWorkspaceDetailRpc: Rpc.Rpc<"pan.getWorkspaceDetail", Schema.Struct<{
|
|
9425
|
-
readonly issueId: Schema.String;
|
|
9426
|
-
}>, Schema.Struct<{
|
|
9427
|
-
readonly workspace: Schema.Unknown;
|
|
9428
|
-
readonly reviewStatus: Schema.Unknown;
|
|
9429
|
-
readonly planning: Schema.Unknown;
|
|
9430
|
-
readonly costs: Schema.Unknown;
|
|
9431
|
-
readonly agentOutput: Schema.$Array<Schema.String>;
|
|
9432
|
-
}>, typeof PanRpcError, never, never>;
|
|
9433
8926
|
declare const ReadWorkspaceFileInput: Schema.Struct<{
|
|
9434
8927
|
readonly issueId: Schema.String;
|
|
9435
8928
|
readonly relativePath: Schema.String;
|
|
@@ -9666,90 +9159,6 @@ declare const SubscribeProjectSessionTreeRpc: Rpc.Rpc<"pan.subscribeProjectSessi
|
|
|
9666
9159
|
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9667
9160
|
readonly timestamp: Schema.String;
|
|
9668
9161
|
}>, typeof PanRpcError>, Schema.Never, never, never>;
|
|
9669
|
-
/** 18. Subscribe to latest Flywheel status snapshots (stream) */
|
|
9670
|
-
declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.NullOr<Schema.Struct<{
|
|
9671
|
-
readonly runId: Schema.String;
|
|
9672
|
-
readonly startedAt: Schema.String;
|
|
9673
|
-
readonly elapsedMs: Schema.Number;
|
|
9674
|
-
readonly orchestrator: Schema.Struct<{
|
|
9675
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
9676
|
-
readonly model: Schema.String;
|
|
9677
|
-
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
9678
|
-
readonly ctxPercent: Schema.Number;
|
|
9679
|
-
}>;
|
|
9680
|
-
readonly headline: Schema.Struct<{
|
|
9681
|
-
readonly bugsFixed: Schema.Number;
|
|
9682
|
-
readonly swarmItemsMerged: Schema.Number;
|
|
9683
|
-
readonly swarmItemsTotal: Schema.Number;
|
|
9684
|
-
readonly prsMerged: Schema.Number;
|
|
9685
|
-
readonly awaitingUat: Schema.Number;
|
|
9686
|
-
}>;
|
|
9687
|
-
readonly activePipeline: Schema.$Array<Schema.Struct<{
|
|
9688
|
-
readonly issueId: Schema.String;
|
|
9689
|
-
readonly title: Schema.String;
|
|
9690
|
-
readonly verb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
|
|
9691
|
-
readonly status: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
|
|
9692
|
-
readonly progressPercent: Schema.optional<Schema.Number>;
|
|
9693
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
9694
|
-
readonly pr: Schema.optional<Schema.Number>;
|
|
9695
|
-
readonly mergeOrder: Schema.optional<Schema.Number>;
|
|
9696
|
-
readonly conflictsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9697
|
-
}>>;
|
|
9698
|
-
readonly substrateBugs: Schema.$Array<Schema.Struct<{
|
|
9699
|
-
readonly issueId: Schema.String;
|
|
9700
|
-
readonly title: Schema.String;
|
|
9701
|
-
readonly status: Schema.Literals<readonly ["filed", "fixed", "workaround"]>;
|
|
9702
|
-
readonly commitSha: Schema.optional<Schema.String>;
|
|
9703
|
-
readonly url: Schema.optional<Schema.String>;
|
|
9704
|
-
}>>;
|
|
9705
|
-
readonly agents: Schema.$Array<Schema.Struct<{
|
|
9706
|
-
readonly id: Schema.String;
|
|
9707
|
-
readonly label: Schema.String;
|
|
9708
|
-
readonly status: Schema.Literals<readonly ["starting", "running", "waiting", "idle", "stopped", "error"]>;
|
|
9709
|
-
readonly issueId: Schema.optional<Schema.String>;
|
|
9710
|
-
readonly role: Schema.optional<Schema.String>;
|
|
9711
|
-
readonly model: Schema.optional<Schema.String>;
|
|
9712
|
-
readonly ctxPercent: Schema.optional<Schema.Number>;
|
|
9713
|
-
readonly currentAction: Schema.optional<Schema.String>;
|
|
9714
|
-
}>>;
|
|
9715
|
-
readonly parked: Schema.$Array<Schema.Struct<{
|
|
9716
|
-
readonly issueId: Schema.String;
|
|
9717
|
-
readonly title: Schema.String;
|
|
9718
|
-
readonly reason: Schema.String;
|
|
9719
|
-
readonly parkedAt: Schema.optional<Schema.String>;
|
|
9720
|
-
}>>;
|
|
9721
|
-
readonly suggestions: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
|
|
9722
|
-
readonly action: Schema.Literals<readonly ["start", "resume", "plan", "review", "merge", "unblock", "park", "investigate", "wait"]>;
|
|
9723
|
-
readonly issueId: Schema.optional<Schema.String>;
|
|
9724
|
-
readonly rationale: Schema.String;
|
|
9725
|
-
readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
|
|
9726
|
-
readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
|
|
9727
|
-
readonly weight: Schema.optional<Schema.Number>;
|
|
9728
|
-
readonly weightReason: Schema.optional<Schema.String>;
|
|
9729
|
-
}>>, never>;
|
|
9730
|
-
readonly system: Schema.Struct<{
|
|
9731
|
-
readonly mainHead: Schema.String;
|
|
9732
|
-
readonly ramUsedMb: Schema.Number;
|
|
9733
|
-
readonly ramTotalMb: Schema.Number;
|
|
9734
|
-
readonly swapUsedMb: Schema.Number;
|
|
9735
|
-
readonly swapTotalMb: Schema.Number;
|
|
9736
|
-
readonly agentsActive: Schema.Number;
|
|
9737
|
-
readonly agentsCap: Schema.Number;
|
|
9738
|
-
}>;
|
|
9739
|
-
readonly openQuestions: Schema.$Array<Schema.String>;
|
|
9740
|
-
readonly orders: Schema.optional<Schema.Struct<{
|
|
9741
|
-
readonly bookId: Schema.String;
|
|
9742
|
-
readonly bookName: Schema.String;
|
|
9743
|
-
readonly landed: Schema.Number;
|
|
9744
|
-
readonly total: Schema.Number;
|
|
9745
|
-
readonly laneAInFlight: Schema.$Array<Schema.String>;
|
|
9746
|
-
readonly laneBInFlight: Schema.optional<Schema.String>;
|
|
9747
|
-
readonly drained: Schema.Boolean;
|
|
9748
|
-
}>>;
|
|
9749
|
-
readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
|
|
9750
|
-
readonly ticks: Schema.Number;
|
|
9751
|
-
readonly lastTickAt: Schema.String;
|
|
9752
|
-
}>>, typeof PanRpcError>, Schema.Never, never, never>;
|
|
9753
9162
|
/** 19. Open a workspace in an editor (PAN-966) */
|
|
9754
9163
|
declare const ShellOpenInEditorRpc: Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
|
|
9755
9164
|
readonly cwd: Schema.String;
|
|
@@ -10275,7 +9684,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10275
9684
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
10276
9685
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
10277
9686
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
10278
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
9687
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
10279
9688
|
readonly phase: Schema.optional<Schema.String>;
|
|
10280
9689
|
readonly workType: Schema.optional<Schema.String>;
|
|
10281
9690
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -10329,7 +9738,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10329
9738
|
readonly agentId: Schema.String;
|
|
10330
9739
|
readonly issueId: Schema.optional<Schema.String>;
|
|
10331
9740
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10332
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
9741
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
10333
9742
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
10334
9743
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
10335
9744
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -10378,7 +9787,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10378
9787
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
10379
9788
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
10380
9789
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
10381
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
9790
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
10382
9791
|
readonly phase: Schema.optional<Schema.String>;
|
|
10383
9792
|
readonly workType: Schema.optional<Schema.String>;
|
|
10384
9793
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -10461,7 +9870,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10461
9870
|
readonly issueId: Schema.String;
|
|
10462
9871
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10463
9872
|
readonly agentId: Schema.optional<Schema.String>;
|
|
10464
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
9873
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
10465
9874
|
}>;
|
|
10466
9875
|
}>, Schema.Struct<{
|
|
10467
9876
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -10504,7 +9913,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10504
9913
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
10505
9914
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
10506
9915
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
10507
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
9916
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
10508
9917
|
readonly model: Schema.optional<Schema.String>;
|
|
10509
9918
|
readonly workspace: Schema.optional<Schema.String>;
|
|
10510
9919
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -10796,132 +10205,61 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10796
10205
|
readonly items: Schema.$Array<Schema.String>;
|
|
10797
10206
|
}>;
|
|
10798
10207
|
}>, Schema.Struct<{
|
|
10799
|
-
readonly type: Schema.Literal<"
|
|
10208
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
10800
10209
|
readonly sequence: Schema.Number;
|
|
10801
10210
|
readonly timestamp: Schema.String;
|
|
10802
10211
|
readonly payload: Schema.Struct<{
|
|
10803
|
-
readonly
|
|
10804
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10805
|
-
readonly status: Schema.Struct<{
|
|
10212
|
+
readonly issueState: Schema.Struct<{
|
|
10806
10213
|
readonly issueId: Schema.String;
|
|
10807
|
-
readonly
|
|
10808
|
-
readonly
|
|
10809
|
-
readonly
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
readonly
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
readonly
|
|
10822
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
10823
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
10824
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10825
|
-
readonly cycle: Schema.Number;
|
|
10826
|
-
readonly runId: Schema.String;
|
|
10827
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
10828
|
-
readonly blockingCount: Schema.Number;
|
|
10829
|
-
readonly recordedAt: Schema.String;
|
|
10830
|
-
}>>>;
|
|
10831
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
10832
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
10833
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
10834
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
10835
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
10836
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
10837
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
10838
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
10839
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
10840
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
10841
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
10842
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
10843
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
10844
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
10845
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
10846
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
10847
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
10848
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
10849
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
10850
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10851
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
10852
|
-
readonly summary: Schema.String;
|
|
10853
|
-
readonly details: Schema.optional<Schema.String>;
|
|
10854
|
-
readonly detectedAt: Schema.String;
|
|
10855
|
-
}>>>;
|
|
10214
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
10215
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
10216
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
10217
|
+
readonly url: Schema.String;
|
|
10218
|
+
readonly number: Schema.Number;
|
|
10219
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
10220
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
10221
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
10222
|
+
}>>;
|
|
10223
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
10224
|
+
readonly name: Schema.String;
|
|
10225
|
+
readonly aheadOfMain: Schema.Number;
|
|
10226
|
+
readonly pushed: Schema.Boolean;
|
|
10227
|
+
}>>;
|
|
10228
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
10856
10229
|
}>;
|
|
10857
10230
|
}>;
|
|
10858
10231
|
}>, Schema.Struct<{
|
|
10859
|
-
readonly type: Schema.Literal<"
|
|
10232
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
10860
10233
|
readonly sequence: Schema.Number;
|
|
10861
10234
|
readonly timestamp: Schema.String;
|
|
10862
10235
|
readonly payload: Schema.Struct<{
|
|
10863
|
-
readonly
|
|
10864
|
-
|
|
10236
|
+
readonly pane: Schema.Struct<{
|
|
10237
|
+
readonly id: Schema.String;
|
|
10238
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
10239
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
10240
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
10241
|
+
readonly harness: Schema.String;
|
|
10242
|
+
readonly model: Schema.String;
|
|
10243
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
10244
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
10245
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
10246
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
10247
|
+
}>;
|
|
10248
|
+
}>;
|
|
10249
|
+
}>, Schema.Struct<{
|
|
10250
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
10251
|
+
readonly sequence: Schema.Number;
|
|
10252
|
+
readonly timestamp: Schema.String;
|
|
10253
|
+
readonly payload: Schema.Struct<{
|
|
10254
|
+
readonly paneId: Schema.String;
|
|
10865
10255
|
}>;
|
|
10866
10256
|
}>, Schema.Struct<{
|
|
10867
|
-
readonly type: Schema.Literal<"
|
|
10257
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
10868
10258
|
readonly sequence: Schema.Number;
|
|
10869
10259
|
readonly timestamp: Schema.String;
|
|
10870
10260
|
readonly payload: Schema.Struct<{
|
|
10871
10261
|
readonly issueId: Schema.String;
|
|
10872
10262
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
10873
|
-
readonly status: Schema.Struct<{
|
|
10874
|
-
readonly issueId: Schema.String;
|
|
10875
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
10876
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
10877
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
10878
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
10879
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
10880
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
10881
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
10882
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
10883
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
10884
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
10885
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
10886
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
10887
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
10888
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
10889
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
10890
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
10891
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
10892
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10893
|
-
readonly cycle: Schema.Number;
|
|
10894
|
-
readonly runId: Schema.String;
|
|
10895
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
10896
|
-
readonly blockingCount: Schema.Number;
|
|
10897
|
-
readonly recordedAt: Schema.String;
|
|
10898
|
-
}>>>;
|
|
10899
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
10900
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
10901
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
10902
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
10903
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
10904
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
10905
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
10906
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
10907
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
10908
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
10909
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
10910
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
10911
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
10912
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
10913
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
10914
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
10915
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
10916
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
10917
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
10918
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10919
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
10920
|
-
readonly summary: Schema.String;
|
|
10921
|
-
readonly details: Schema.optional<Schema.String>;
|
|
10922
|
-
readonly detectedAt: Schema.String;
|
|
10923
|
-
}>>>;
|
|
10924
|
-
}>;
|
|
10925
10263
|
}>;
|
|
10926
10264
|
}>, Schema.Struct<{
|
|
10927
10265
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -11138,7 +10476,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11138
10476
|
readonly sequence: Schema.Number;
|
|
11139
10477
|
readonly timestamp: Schema.String;
|
|
11140
10478
|
readonly payload: Schema.Struct<{
|
|
11141
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10479
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11142
10480
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
11143
10481
|
readonly isRunning: Schema.Boolean;
|
|
11144
10482
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -11149,7 +10487,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11149
10487
|
readonly sequence: Schema.Number;
|
|
11150
10488
|
readonly timestamp: Schema.String;
|
|
11151
10489
|
readonly payload: Schema.Struct<{
|
|
11152
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10490
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11153
10491
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11154
10492
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11155
10493
|
}>;
|
|
@@ -11158,7 +10496,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11158
10496
|
readonly sequence: Schema.Number;
|
|
11159
10497
|
readonly timestamp: Schema.String;
|
|
11160
10498
|
readonly payload: Schema.Struct<{
|
|
11161
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
10499
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
11162
10500
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11163
10501
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11164
10502
|
readonly error: Schema.String;
|
|
@@ -11304,7 +10642,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11304
10642
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
11305
10643
|
readonly runId: Schema.String;
|
|
11306
10644
|
readonly sessionId: Schema.String;
|
|
11307
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
10645
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
11308
10646
|
readonly agentHarness: Schema.String;
|
|
11309
10647
|
readonly gitBranch: Schema.String;
|
|
11310
10648
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -11406,7 +10744,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11406
10744
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
11407
10745
|
readonly runId: Schema.String;
|
|
11408
10746
|
readonly sessionId: Schema.String;
|
|
11409
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
10747
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
11410
10748
|
readonly agentHarness: Schema.String;
|
|
11411
10749
|
}>;
|
|
11412
10750
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -11738,7 +11076,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11738
11076
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
11739
11077
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11740
11078
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
11741
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11079
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11742
11080
|
readonly phase: Schema.optional<Schema.String>;
|
|
11743
11081
|
readonly workType: Schema.optional<Schema.String>;
|
|
11744
11082
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -11792,7 +11130,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11792
11130
|
readonly agentId: Schema.String;
|
|
11793
11131
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11794
11132
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11795
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11133
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11796
11134
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
11797
11135
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
11798
11136
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -11841,7 +11179,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11841
11179
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
11842
11180
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
11843
11181
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
11844
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11182
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11845
11183
|
readonly phase: Schema.optional<Schema.String>;
|
|
11846
11184
|
readonly workType: Schema.optional<Schema.String>;
|
|
11847
11185
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -11924,7 +11262,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11924
11262
|
readonly issueId: Schema.String;
|
|
11925
11263
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11926
11264
|
readonly agentId: Schema.optional<Schema.String>;
|
|
11927
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11265
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11928
11266
|
}>;
|
|
11929
11267
|
}>, Schema.Struct<{
|
|
11930
11268
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -11967,7 +11305,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11967
11305
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
11968
11306
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
11969
11307
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
11970
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
11308
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
11971
11309
|
readonly model: Schema.optional<Schema.String>;
|
|
11972
11310
|
readonly workspace: Schema.optional<Schema.String>;
|
|
11973
11311
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -12259,132 +11597,61 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12259
11597
|
readonly items: Schema.$Array<Schema.String>;
|
|
12260
11598
|
}>;
|
|
12261
11599
|
}>, Schema.Struct<{
|
|
12262
|
-
readonly type: Schema.Literal<"
|
|
11600
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
12263
11601
|
readonly sequence: Schema.Number;
|
|
12264
11602
|
readonly timestamp: Schema.String;
|
|
12265
11603
|
readonly payload: Schema.Struct<{
|
|
12266
|
-
readonly
|
|
12267
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12268
|
-
readonly status: Schema.Struct<{
|
|
11604
|
+
readonly issueState: Schema.Struct<{
|
|
12269
11605
|
readonly issueId: Schema.String;
|
|
12270
|
-
readonly
|
|
12271
|
-
readonly
|
|
12272
|
-
readonly
|
|
12273
|
-
|
|
12274
|
-
|
|
12275
|
-
|
|
12276
|
-
|
|
12277
|
-
|
|
12278
|
-
|
|
12279
|
-
readonly
|
|
12280
|
-
|
|
12281
|
-
|
|
12282
|
-
|
|
12283
|
-
|
|
12284
|
-
readonly
|
|
12285
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
12286
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
12287
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
12288
|
-
readonly cycle: Schema.Number;
|
|
12289
|
-
readonly runId: Schema.String;
|
|
12290
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
12291
|
-
readonly blockingCount: Schema.Number;
|
|
12292
|
-
readonly recordedAt: Schema.String;
|
|
12293
|
-
}>>>;
|
|
12294
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
12295
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
12296
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
12297
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
12298
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
12299
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
12300
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
12301
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
12302
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
12303
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
12304
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
12305
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
12306
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
12307
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12308
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
12309
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
12310
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
12311
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
12312
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
12313
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
12314
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
12315
|
-
readonly summary: Schema.String;
|
|
12316
|
-
readonly details: Schema.optional<Schema.String>;
|
|
12317
|
-
readonly detectedAt: Schema.String;
|
|
12318
|
-
}>>>;
|
|
11606
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
11607
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
11608
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
11609
|
+
readonly url: Schema.String;
|
|
11610
|
+
readonly number: Schema.Number;
|
|
11611
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
11612
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
11613
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
11614
|
+
}>>;
|
|
11615
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
11616
|
+
readonly name: Schema.String;
|
|
11617
|
+
readonly aheadOfMain: Schema.Number;
|
|
11618
|
+
readonly pushed: Schema.Boolean;
|
|
11619
|
+
}>>;
|
|
11620
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
12319
11621
|
}>;
|
|
12320
11622
|
}>;
|
|
12321
11623
|
}>, Schema.Struct<{
|
|
12322
|
-
readonly type: Schema.Literal<"
|
|
11624
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
12323
11625
|
readonly sequence: Schema.Number;
|
|
12324
11626
|
readonly timestamp: Schema.String;
|
|
12325
11627
|
readonly payload: Schema.Struct<{
|
|
12326
|
-
readonly
|
|
12327
|
-
|
|
11628
|
+
readonly pane: Schema.Struct<{
|
|
11629
|
+
readonly id: Schema.String;
|
|
11630
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
11631
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
11632
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
11633
|
+
readonly harness: Schema.String;
|
|
11634
|
+
readonly model: Schema.String;
|
|
11635
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
11636
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
11637
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
11638
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
11639
|
+
}>;
|
|
12328
11640
|
}>;
|
|
12329
11641
|
}>, Schema.Struct<{
|
|
12330
|
-
readonly type: Schema.Literal<"
|
|
11642
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
11643
|
+
readonly sequence: Schema.Number;
|
|
11644
|
+
readonly timestamp: Schema.String;
|
|
11645
|
+
readonly payload: Schema.Struct<{
|
|
11646
|
+
readonly paneId: Schema.String;
|
|
11647
|
+
}>;
|
|
11648
|
+
}>, Schema.Struct<{
|
|
11649
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
12331
11650
|
readonly sequence: Schema.Number;
|
|
12332
11651
|
readonly timestamp: Schema.String;
|
|
12333
11652
|
readonly payload: Schema.Struct<{
|
|
12334
11653
|
readonly issueId: Schema.String;
|
|
12335
11654
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12336
|
-
readonly status: Schema.Struct<{
|
|
12337
|
-
readonly issueId: Schema.String;
|
|
12338
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
12339
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
12340
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
12341
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
12342
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
12343
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
12344
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
12345
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
12346
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
12347
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
12348
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
12349
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
12350
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
12351
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
12352
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
12353
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
12354
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
12355
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
12356
|
-
readonly cycle: Schema.Number;
|
|
12357
|
-
readonly runId: Schema.String;
|
|
12358
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
12359
|
-
readonly blockingCount: Schema.Number;
|
|
12360
|
-
readonly recordedAt: Schema.String;
|
|
12361
|
-
}>>>;
|
|
12362
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
12363
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
12364
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
12365
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
12366
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
12367
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
12368
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
12369
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
12370
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
12371
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
12372
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
12373
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
12374
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
12375
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
12376
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
12377
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
12378
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
12379
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
12380
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
12381
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
12382
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
12383
|
-
readonly summary: Schema.String;
|
|
12384
|
-
readonly details: Schema.optional<Schema.String>;
|
|
12385
|
-
readonly detectedAt: Schema.String;
|
|
12386
|
-
}>>>;
|
|
12387
|
-
}>;
|
|
12388
11655
|
}>;
|
|
12389
11656
|
}>, Schema.Struct<{
|
|
12390
11657
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -12601,7 +11868,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12601
11868
|
readonly sequence: Schema.Number;
|
|
12602
11869
|
readonly timestamp: Schema.String;
|
|
12603
11870
|
readonly payload: Schema.Struct<{
|
|
12604
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
11871
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
12605
11872
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
12606
11873
|
readonly isRunning: Schema.Boolean;
|
|
12607
11874
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -12612,7 +11879,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12612
11879
|
readonly sequence: Schema.Number;
|
|
12613
11880
|
readonly timestamp: Schema.String;
|
|
12614
11881
|
readonly payload: Schema.Struct<{
|
|
12615
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
11882
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
12616
11883
|
readonly issueId: Schema.optional<Schema.String>;
|
|
12617
11884
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12618
11885
|
}>;
|
|
@@ -12621,7 +11888,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12621
11888
|
readonly sequence: Schema.Number;
|
|
12622
11889
|
readonly timestamp: Schema.String;
|
|
12623
11890
|
readonly payload: Schema.Struct<{
|
|
12624
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
11891
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
12625
11892
|
readonly issueId: Schema.optional<Schema.String>;
|
|
12626
11893
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12627
11894
|
readonly error: Schema.String;
|
|
@@ -12767,7 +12034,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12767
12034
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
12768
12035
|
readonly runId: Schema.String;
|
|
12769
12036
|
readonly sessionId: Schema.String;
|
|
12770
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
12037
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
12771
12038
|
readonly agentHarness: Schema.String;
|
|
12772
12039
|
readonly gitBranch: Schema.String;
|
|
12773
12040
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -12869,7 +12136,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12869
12136
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
12870
12137
|
readonly runId: Schema.String;
|
|
12871
12138
|
readonly sessionId: Schema.String;
|
|
12872
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
12139
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
12873
12140
|
readonly agentHarness: Schema.String;
|
|
12874
12141
|
}>;
|
|
12875
12142
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -13139,7 +12406,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13139
12406
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
13140
12407
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
13141
12408
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
13142
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12409
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13143
12410
|
readonly phase: Schema.optional<Schema.String>;
|
|
13144
12411
|
readonly workType: Schema.optional<Schema.String>;
|
|
13145
12412
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -13185,57 +12452,35 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13185
12452
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13186
12453
|
}>>;
|
|
13187
12454
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
13188
|
-
readonly
|
|
13189
|
-
readonly issueId: Schema.String;
|
|
13190
|
-
readonly
|
|
13191
|
-
readonly
|
|
13192
|
-
readonly
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
readonly
|
|
13200
|
-
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13204
|
-
readonly
|
|
13205
|
-
|
|
13206
|
-
|
|
13207
|
-
readonly
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
readonly
|
|
13215
|
-
readonly
|
|
13216
|
-
readonly
|
|
13217
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
13218
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
13219
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
13220
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
13221
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
13222
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
13223
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
13224
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
13225
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
13226
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
13227
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13228
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
13229
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
13230
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
13231
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
13232
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
13233
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
13234
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
13235
|
-
readonly summary: Schema.String;
|
|
13236
|
-
readonly details: Schema.optional<Schema.String>;
|
|
13237
|
-
readonly detectedAt: Schema.String;
|
|
13238
|
-
}>>>;
|
|
12455
|
+
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
12456
|
+
readonly issueId: Schema.String;
|
|
12457
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
12458
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
12459
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
12460
|
+
readonly url: Schema.String;
|
|
12461
|
+
readonly number: Schema.Number;
|
|
12462
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
12463
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
12464
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
12465
|
+
}>>;
|
|
12466
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
12467
|
+
readonly name: Schema.String;
|
|
12468
|
+
readonly aheadOfMain: Schema.Number;
|
|
12469
|
+
readonly pushed: Schema.Boolean;
|
|
12470
|
+
}>>;
|
|
12471
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
12472
|
+
}>>;
|
|
12473
|
+
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
12474
|
+
readonly id: Schema.String;
|
|
12475
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
12476
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
12477
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
12478
|
+
readonly harness: Schema.String;
|
|
12479
|
+
readonly model: Schema.String;
|
|
12480
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
12481
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
12482
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
12483
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
13239
12484
|
}>>;
|
|
13240
12485
|
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
13241
12486
|
readonly recentActivity: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
@@ -13439,7 +12684,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13439
12684
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
13440
12685
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
13441
12686
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
13442
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12687
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13443
12688
|
readonly phase: Schema.optional<Schema.String>;
|
|
13444
12689
|
readonly workType: Schema.optional<Schema.String>;
|
|
13445
12690
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -13493,7 +12738,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13493
12738
|
readonly agentId: Schema.String;
|
|
13494
12739
|
readonly issueId: Schema.optional<Schema.String>;
|
|
13495
12740
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13496
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12741
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13497
12742
|
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
13498
12743
|
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
13499
12744
|
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
@@ -13542,7 +12787,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13542
12787
|
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
13543
12788
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
13544
12789
|
readonly startedBy: Schema.optional<Schema.String>;
|
|
13545
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12790
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13546
12791
|
readonly phase: Schema.optional<Schema.String>;
|
|
13547
12792
|
readonly workType: Schema.optional<Schema.String>;
|
|
13548
12793
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
@@ -13625,7 +12870,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13625
12870
|
readonly issueId: Schema.String;
|
|
13626
12871
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13627
12872
|
readonly agentId: Schema.optional<Schema.String>;
|
|
13628
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12873
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13629
12874
|
}>;
|
|
13630
12875
|
}>, Schema.Struct<{
|
|
13631
12876
|
readonly type: Schema.Literal<"review.approved">;
|
|
@@ -13668,7 +12913,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13668
12913
|
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
13669
12914
|
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
13670
12915
|
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
13671
|
-
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>>;
|
|
12916
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
13672
12917
|
readonly model: Schema.optional<Schema.String>;
|
|
13673
12918
|
readonly workspace: Schema.optional<Schema.String>;
|
|
13674
12919
|
readonly sessionId: Schema.optional<Schema.String>;
|
|
@@ -13960,132 +13205,61 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13960
13205
|
readonly items: Schema.$Array<Schema.String>;
|
|
13961
13206
|
}>;
|
|
13962
13207
|
}>, Schema.Struct<{
|
|
13963
|
-
readonly type: Schema.Literal<"
|
|
13208
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
13964
13209
|
readonly sequence: Schema.Number;
|
|
13965
13210
|
readonly timestamp: Schema.String;
|
|
13966
13211
|
readonly payload: Schema.Struct<{
|
|
13967
|
-
readonly
|
|
13968
|
-
readonly workspaceId: Schema.optional<Schema.String>;
|
|
13969
|
-
readonly status: Schema.Struct<{
|
|
13212
|
+
readonly issueState: Schema.Struct<{
|
|
13970
13213
|
readonly issueId: Schema.String;
|
|
13971
|
-
readonly
|
|
13972
|
-
readonly
|
|
13973
|
-
readonly
|
|
13974
|
-
|
|
13975
|
-
|
|
13976
|
-
|
|
13977
|
-
|
|
13978
|
-
|
|
13979
|
-
|
|
13980
|
-
readonly
|
|
13981
|
-
|
|
13982
|
-
|
|
13983
|
-
|
|
13984
|
-
|
|
13985
|
-
readonly
|
|
13986
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
13987
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
13988
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
13989
|
-
readonly cycle: Schema.Number;
|
|
13990
|
-
readonly runId: Schema.String;
|
|
13991
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
13992
|
-
readonly blockingCount: Schema.Number;
|
|
13993
|
-
readonly recordedAt: Schema.String;
|
|
13994
|
-
}>>>;
|
|
13995
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
13996
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
13997
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
13998
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
13999
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
14000
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
14001
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
14002
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
14003
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
14004
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
14005
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
14006
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
14007
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
14008
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
14009
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
14010
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
14011
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
14012
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
14013
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
14014
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
14015
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
14016
|
-
readonly summary: Schema.String;
|
|
14017
|
-
readonly details: Schema.optional<Schema.String>;
|
|
14018
|
-
readonly detectedAt: Schema.String;
|
|
14019
|
-
}>>>;
|
|
13214
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
13215
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
13216
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
13217
|
+
readonly url: Schema.String;
|
|
13218
|
+
readonly number: Schema.Number;
|
|
13219
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
13220
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
13221
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
13222
|
+
}>>;
|
|
13223
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
13224
|
+
readonly name: Schema.String;
|
|
13225
|
+
readonly aheadOfMain: Schema.Number;
|
|
13226
|
+
readonly pushed: Schema.Boolean;
|
|
13227
|
+
}>>;
|
|
13228
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
14020
13229
|
}>;
|
|
14021
13230
|
}>;
|
|
14022
13231
|
}>, Schema.Struct<{
|
|
14023
|
-
readonly type: Schema.Literal<"
|
|
13232
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
14024
13233
|
readonly sequence: Schema.Number;
|
|
14025
13234
|
readonly timestamp: Schema.String;
|
|
14026
13235
|
readonly payload: Schema.Struct<{
|
|
14027
|
-
readonly
|
|
14028
|
-
|
|
13236
|
+
readonly pane: Schema.Struct<{
|
|
13237
|
+
readonly id: Schema.String;
|
|
13238
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
13239
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
13240
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
13241
|
+
readonly harness: Schema.String;
|
|
13242
|
+
readonly model: Schema.String;
|
|
13243
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
13244
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
13245
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
13246
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
13247
|
+
}>;
|
|
14029
13248
|
}>;
|
|
14030
13249
|
}>, Schema.Struct<{
|
|
14031
|
-
readonly type: Schema.Literal<"
|
|
13250
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
13251
|
+
readonly sequence: Schema.Number;
|
|
13252
|
+
readonly timestamp: Schema.String;
|
|
13253
|
+
readonly payload: Schema.Struct<{
|
|
13254
|
+
readonly paneId: Schema.String;
|
|
13255
|
+
}>;
|
|
13256
|
+
}>, Schema.Struct<{
|
|
13257
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
14032
13258
|
readonly sequence: Schema.Number;
|
|
14033
13259
|
readonly timestamp: Schema.String;
|
|
14034
13260
|
readonly payload: Schema.Struct<{
|
|
14035
13261
|
readonly issueId: Schema.String;
|
|
14036
13262
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
14037
|
-
readonly status: Schema.Struct<{
|
|
14038
|
-
readonly issueId: Schema.String;
|
|
14039
|
-
readonly reviewStatus: Schema.optional<Schema.Literals<readonly ["pending", "reviewing", "passed", "failed", "blocked", "skipped"]>>;
|
|
14040
|
-
readonly testStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed", "skipped", "dispatch_failed"]>>;
|
|
14041
|
-
readonly uatStatus: Schema.optional<Schema.Literals<readonly ["pending", "testing", "passed", "failed"]>>;
|
|
14042
|
-
readonly uatNotes: Schema.optional<Schema.String>;
|
|
14043
|
-
readonly mergeStatus: Schema.optional<Schema.Literals<readonly ["pending", "queued", "merging", "verifying", "merged", "failed"]>>;
|
|
14044
|
-
readonly releaseStatus: Schema.optional<Schema.Literals<readonly ["pending", "releasing", "passed", "failed", "partial", "rolled_back", "skipped"]>>;
|
|
14045
|
-
readonly releaseNotes: Schema.optional<Schema.String>;
|
|
14046
|
-
readonly verificationStatus: Schema.optional<Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>>;
|
|
14047
|
-
readonly verificationNotes: Schema.optional<Schema.String>;
|
|
14048
|
-
readonly verificationCycleCount: Schema.optional<Schema.Number>;
|
|
14049
|
-
readonly readyForMerge: Schema.optional<Schema.Boolean>;
|
|
14050
|
-
readonly updatedAt: Schema.optional<Schema.String>;
|
|
14051
|
-
readonly prUrl: Schema.optional<Schema.String>;
|
|
14052
|
-
readonly stuck: Schema.optional<Schema.Boolean>;
|
|
14053
|
-
readonly stuckReason: Schema.optional<Schema.String>;
|
|
14054
|
-
readonly stuckAt: Schema.optional<Schema.String>;
|
|
14055
|
-
readonly stuckDetails: Schema.optional<Schema.String>;
|
|
14056
|
-
readonly reviewCycleHistory: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
14057
|
-
readonly cycle: Schema.Number;
|
|
14058
|
-
readonly runId: Schema.String;
|
|
14059
|
-
readonly atCommit: Schema.optional<Schema.String>;
|
|
14060
|
-
readonly blockingCount: Schema.Number;
|
|
14061
|
-
readonly recordedAt: Schema.String;
|
|
14062
|
-
}>>>;
|
|
14063
|
-
readonly reviewedAtCommit: Schema.optional<Schema.String>;
|
|
14064
|
-
readonly lastVerifiedCommit: Schema.optional<Schema.String>;
|
|
14065
|
-
readonly mergeStep: Schema.optional<Schema.String>;
|
|
14066
|
-
readonly reviewSpawnedAt: Schema.optional<Schema.String>;
|
|
14067
|
-
readonly testRetryCount: Schema.optional<Schema.Number>;
|
|
14068
|
-
readonly reviewRetryCount: Schema.optional<Schema.Number>;
|
|
14069
|
-
readonly autoRequeueCount: Schema.optional<Schema.Number>;
|
|
14070
|
-
readonly recoveryStartedAt: Schema.optional<Schema.String>;
|
|
14071
|
-
readonly deaconIgnored: Schema.optional<Schema.Boolean>;
|
|
14072
|
-
readonly deaconIgnoredAt: Schema.optional<Schema.String>;
|
|
14073
|
-
readonly deaconIgnoredReason: Schema.optional<Schema.String>;
|
|
14074
|
-
readonly autoMerge: Schema.optional<Schema.Boolean>;
|
|
14075
|
-
readonly reviewCoordinatorSessionName: Schema.optional<Schema.String>;
|
|
14076
|
-
readonly reviewSessionNames: Schema.optional<Schema.$Array<Schema.String>>;
|
|
14077
|
-
readonly reviewSubStatuses: Schema.optional<Schema.$Record<Schema.String, Schema.Literals<readonly ["running", "done"]>>>;
|
|
14078
|
-
readonly queuePosition: Schema.optional<Schema.Number>;
|
|
14079
|
-
readonly activeSpecialist: Schema.optional<Schema.String>;
|
|
14080
|
-
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
14081
|
-
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
14082
|
-
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
14083
|
-
readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
|
|
14084
|
-
readonly summary: Schema.String;
|
|
14085
|
-
readonly details: Schema.optional<Schema.String>;
|
|
14086
|
-
readonly detectedAt: Schema.String;
|
|
14087
|
-
}>>>;
|
|
14088
|
-
}>;
|
|
14089
13263
|
}>;
|
|
14090
13264
|
}>, Schema.Struct<{
|
|
14091
13265
|
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
@@ -14302,7 +13476,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14302
13476
|
readonly sequence: Schema.Number;
|
|
14303
13477
|
readonly timestamp: Schema.String;
|
|
14304
13478
|
readonly payload: Schema.Struct<{
|
|
14305
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13479
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
14306
13480
|
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
14307
13481
|
readonly isRunning: Schema.Boolean;
|
|
14308
13482
|
readonly currentIssue: Schema.optional<Schema.String>;
|
|
@@ -14313,7 +13487,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14313
13487
|
readonly sequence: Schema.Number;
|
|
14314
13488
|
readonly timestamp: Schema.String;
|
|
14315
13489
|
readonly payload: Schema.Struct<{
|
|
14316
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13490
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
14317
13491
|
readonly issueId: Schema.optional<Schema.String>;
|
|
14318
13492
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
14319
13493
|
}>;
|
|
@@ -14322,7 +13496,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14322
13496
|
readonly sequence: Schema.Number;
|
|
14323
13497
|
readonly timestamp: Schema.String;
|
|
14324
13498
|
readonly payload: Schema.Struct<{
|
|
14325
|
-
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>;
|
|
13499
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
14326
13500
|
readonly issueId: Schema.optional<Schema.String>;
|
|
14327
13501
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
14328
13502
|
readonly error: Schema.String;
|
|
@@ -14468,7 +13642,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14468
13642
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
14469
13643
|
readonly runId: Schema.String;
|
|
14470
13644
|
readonly sessionId: Schema.String;
|
|
14471
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
13645
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
14472
13646
|
readonly agentHarness: Schema.String;
|
|
14473
13647
|
readonly gitBranch: Schema.String;
|
|
14474
13648
|
readonly sourceTranscriptOffset: Schema.Number;
|
|
@@ -14570,7 +13744,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14570
13744
|
readonly issueId: Schema.NullOr<Schema.String>;
|
|
14571
13745
|
readonly runId: Schema.String;
|
|
14572
13746
|
readonly sessionId: Schema.String;
|
|
14573
|
-
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
|
|
13747
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
14574
13748
|
readonly agentHarness: Schema.String;
|
|
14575
13749
|
}>;
|
|
14576
13750
|
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
@@ -14828,15 +14002,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14828
14002
|
readonly rows: Schema.Number;
|
|
14829
14003
|
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.terminalClose", Schema.Struct<{
|
|
14830
14004
|
readonly sessionName: Schema.String;
|
|
14831
|
-
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.
|
|
14832
|
-
readonly issueId: Schema.String;
|
|
14833
|
-
}>, Schema.Struct<{
|
|
14834
|
-
readonly workspace: Schema.Unknown;
|
|
14835
|
-
readonly reviewStatus: Schema.Unknown;
|
|
14836
|
-
readonly planning: Schema.Unknown;
|
|
14837
|
-
readonly costs: Schema.Unknown;
|
|
14838
|
-
readonly agentOutput: Schema.$Array<Schema.String>;
|
|
14839
|
-
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.readWorkspaceFile", Schema.Struct<{
|
|
14005
|
+
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.readWorkspaceFile", Schema.Struct<{
|
|
14840
14006
|
readonly issueId: Schema.String;
|
|
14841
14007
|
readonly relativePath: Schema.String;
|
|
14842
14008
|
readonly line: Schema.optional<Schema.Number>;
|
|
@@ -14977,89 +14143,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14977
14143
|
readonly awaitingInputReason: Schema.optional<Schema.String>;
|
|
14978
14144
|
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
14979
14145
|
readonly timestamp: Schema.String;
|
|
14980
|
-
}>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.
|
|
14981
|
-
readonly runId: Schema.String;
|
|
14982
|
-
readonly startedAt: Schema.String;
|
|
14983
|
-
readonly elapsedMs: Schema.Number;
|
|
14984
|
-
readonly orchestrator: Schema.Struct<{
|
|
14985
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
14986
|
-
readonly model: Schema.String;
|
|
14987
|
-
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
14988
|
-
readonly ctxPercent: Schema.Number;
|
|
14989
|
-
}>;
|
|
14990
|
-
readonly headline: Schema.Struct<{
|
|
14991
|
-
readonly bugsFixed: Schema.Number;
|
|
14992
|
-
readonly swarmItemsMerged: Schema.Number;
|
|
14993
|
-
readonly swarmItemsTotal: Schema.Number;
|
|
14994
|
-
readonly prsMerged: Schema.Number;
|
|
14995
|
-
readonly awaitingUat: Schema.Number;
|
|
14996
|
-
}>;
|
|
14997
|
-
readonly activePipeline: Schema.$Array<Schema.Struct<{
|
|
14998
|
-
readonly issueId: Schema.String;
|
|
14999
|
-
readonly title: Schema.String;
|
|
15000
|
-
readonly verb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
|
|
15001
|
-
readonly status: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
|
|
15002
|
-
readonly progressPercent: Schema.optional<Schema.Number>;
|
|
15003
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
15004
|
-
readonly pr: Schema.optional<Schema.Number>;
|
|
15005
|
-
readonly mergeOrder: Schema.optional<Schema.Number>;
|
|
15006
|
-
readonly conflictsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
15007
|
-
}>>;
|
|
15008
|
-
readonly substrateBugs: Schema.$Array<Schema.Struct<{
|
|
15009
|
-
readonly issueId: Schema.String;
|
|
15010
|
-
readonly title: Schema.String;
|
|
15011
|
-
readonly status: Schema.Literals<readonly ["filed", "fixed", "workaround"]>;
|
|
15012
|
-
readonly commitSha: Schema.optional<Schema.String>;
|
|
15013
|
-
readonly url: Schema.optional<Schema.String>;
|
|
15014
|
-
}>>;
|
|
15015
|
-
readonly agents: Schema.$Array<Schema.Struct<{
|
|
15016
|
-
readonly id: Schema.String;
|
|
15017
|
-
readonly label: Schema.String;
|
|
15018
|
-
readonly status: Schema.Literals<readonly ["starting", "running", "waiting", "idle", "stopped", "error"]>;
|
|
15019
|
-
readonly issueId: Schema.optional<Schema.String>;
|
|
15020
|
-
readonly role: Schema.optional<Schema.String>;
|
|
15021
|
-
readonly model: Schema.optional<Schema.String>;
|
|
15022
|
-
readonly ctxPercent: Schema.optional<Schema.Number>;
|
|
15023
|
-
readonly currentAction: Schema.optional<Schema.String>;
|
|
15024
|
-
}>>;
|
|
15025
|
-
readonly parked: Schema.$Array<Schema.Struct<{
|
|
15026
|
-
readonly issueId: Schema.String;
|
|
15027
|
-
readonly title: Schema.String;
|
|
15028
|
-
readonly reason: Schema.String;
|
|
15029
|
-
readonly parkedAt: Schema.optional<Schema.String>;
|
|
15030
|
-
}>>;
|
|
15031
|
-
readonly suggestions: Schema.withDecodingDefaultKey<Schema.$Array<Schema.Struct<{
|
|
15032
|
-
readonly action: Schema.Literals<readonly ["start", "resume", "plan", "review", "merge", "unblock", "park", "investigate", "wait"]>;
|
|
15033
|
-
readonly issueId: Schema.optional<Schema.String>;
|
|
15034
|
-
readonly rationale: Schema.String;
|
|
15035
|
-
readonly priority: Schema.Literals<readonly ["urgent", "high", "medium", "low"]>;
|
|
15036
|
-
readonly filedBy: Schema.optional<Schema.Literals<readonly ["agent", "operator"]>>;
|
|
15037
|
-
readonly weight: Schema.optional<Schema.Number>;
|
|
15038
|
-
readonly weightReason: Schema.optional<Schema.String>;
|
|
15039
|
-
}>>, never>;
|
|
15040
|
-
readonly system: Schema.Struct<{
|
|
15041
|
-
readonly mainHead: Schema.String;
|
|
15042
|
-
readonly ramUsedMb: Schema.Number;
|
|
15043
|
-
readonly ramTotalMb: Schema.Number;
|
|
15044
|
-
readonly swapUsedMb: Schema.Number;
|
|
15045
|
-
readonly swapTotalMb: Schema.Number;
|
|
15046
|
-
readonly agentsActive: Schema.Number;
|
|
15047
|
-
readonly agentsCap: Schema.Number;
|
|
15048
|
-
}>;
|
|
15049
|
-
readonly openQuestions: Schema.$Array<Schema.String>;
|
|
15050
|
-
readonly orders: Schema.optional<Schema.Struct<{
|
|
15051
|
-
readonly bookId: Schema.String;
|
|
15052
|
-
readonly bookName: Schema.String;
|
|
15053
|
-
readonly landed: Schema.Number;
|
|
15054
|
-
readonly total: Schema.Number;
|
|
15055
|
-
readonly laneAInFlight: Schema.$Array<Schema.String>;
|
|
15056
|
-
readonly laneBInFlight: Schema.optional<Schema.String>;
|
|
15057
|
-
readonly drained: Schema.Boolean;
|
|
15058
|
-
}>>;
|
|
15059
|
-
readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
|
|
15060
|
-
readonly ticks: Schema.Number;
|
|
15061
|
-
readonly lastTickAt: Schema.String;
|
|
15062
|
-
}>>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
|
|
14146
|
+
}>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
|
|
15063
14147
|
readonly cwd: Schema.String;
|
|
15064
14148
|
readonly editor: Schema.Literals<["cursor" | "windsurf" | "trae" | "kiro" | "vscode" | "vscode-insiders" | "vscodium" | "zed" | "antigravity" | "idea" | "aqua" | "clion" | "datagrip" | "dataspell" | "goland" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "webstorm" | "file-manager", ...("cursor" | "windsurf" | "trae" | "kiro" | "vscode" | "vscode-insiders" | "vscodium" | "zed" | "antigravity" | "idea" | "aqua" | "clion" | "datagrip" | "dataspell" | "goland" | "phpstorm" | "pycharm" | "rider" | "rubymine" | "rustrover" | "webstorm" | "file-manager")[]]>;
|
|
15065
14149
|
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.getAvailableEditors", Schema.Void, Schema.Struct<{
|
|
@@ -15473,6 +14557,89 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15473
14557
|
}>, typeof PanRpcError, never, never>>;
|
|
15474
14558
|
type PanRpcGroup = typeof PanRpcGroup;
|
|
15475
14559
|
//#endregion
|
|
14560
|
+
//#region src/derived-issue-state.d.ts
|
|
14561
|
+
/**
|
|
14562
|
+
* The nine pipeline states of the FR-6 table. They are mutually exclusive and
|
|
14563
|
+
* resolved in this precedence (highest first), because the underlying facts
|
|
14564
|
+
* overlap:
|
|
14565
|
+
*
|
|
14566
|
+
* closed > merged > ready > changes-requested > in-review > working >
|
|
14567
|
+
* parked > planned > backlog
|
|
14568
|
+
*/
|
|
14569
|
+
declare const IssueState: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
14570
|
+
type IssueState = typeof IssueState.Type;
|
|
14571
|
+
/** Something the operator has to look at. Orthogonal to `IssueState`. */
|
|
14572
|
+
declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>;
|
|
14573
|
+
type IssueAttention = typeof IssueAttention.Type;
|
|
14574
|
+
/** Latest review decision on the PR, as the forge reports it. */
|
|
14575
|
+
declare const PrReviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
14576
|
+
type PrReviewState = typeof PrReviewState.Type;
|
|
14577
|
+
/** Aggregate check-run conclusion for the PR head. */
|
|
14578
|
+
declare const PrChecksState: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
14579
|
+
type PrChecksState = typeof PrChecksState.Type;
|
|
14580
|
+
/** The pull request (or merge request) backing an issue. */
|
|
14581
|
+
declare const DerivedPrState: Schema.Struct<{
|
|
14582
|
+
readonly url: Schema.String;
|
|
14583
|
+
readonly number: Schema.Number;
|
|
14584
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
14585
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
|
|
14586
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
14587
|
+
}>;
|
|
14588
|
+
type DerivedPrState = typeof DerivedPrState.Type;
|
|
14589
|
+
/** The issue's feature branch as git reports it. */
|
|
14590
|
+
declare const DerivedBranchState: Schema.Struct<{
|
|
14591
|
+
readonly name: Schema.String;
|
|
14592
|
+
readonly aheadOfMain: Schema.Number;
|
|
14593
|
+
readonly pushed: Schema.Boolean;
|
|
14594
|
+
}>;
|
|
14595
|
+
type DerivedBranchState = typeof DerivedBranchState.Type;
|
|
14596
|
+
/** Everything the dashboard needs to render an issue's pipeline position. */
|
|
14597
|
+
declare const DerivedIssueState: Schema.Struct<{
|
|
14598
|
+
readonly issueId: Schema.String;
|
|
14599
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
14600
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
14601
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
14602
|
+
readonly url: Schema.String;
|
|
14603
|
+
readonly number: Schema.Number;
|
|
14604
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
14605
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
|
|
14606
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
14607
|
+
}>>;
|
|
14608
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
14609
|
+
readonly name: Schema.String;
|
|
14610
|
+
readonly aheadOfMain: Schema.Number;
|
|
14611
|
+
readonly pushed: Schema.Boolean;
|
|
14612
|
+
}>>;
|
|
14613
|
+
/**
|
|
14614
|
+
* No tracker answered for this issue, so `closed` — the top of the
|
|
14615
|
+
* precedence — could not be ruled in or out. Present only in that case; an
|
|
14616
|
+
* unresolved tracker read is never reported as an open issue.
|
|
14617
|
+
*/
|
|
14618
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
14619
|
+
}>;
|
|
14620
|
+
type DerivedIssueState = typeof DerivedIssueState.Type;
|
|
14621
|
+
declare const ISSUE_STATES: readonly IssueState[];
|
|
14622
|
+
/** Highest precedence first — the order `deriveIssueState` resolves in. */
|
|
14623
|
+
declare const ISSUE_STATE_PRECEDENCE: readonly IssueState[];
|
|
14624
|
+
declare const ISSUE_ATTENTIONS: readonly IssueAttention[];
|
|
14625
|
+
declare function isIssueState(value: unknown): value is IssueState;
|
|
14626
|
+
declare function isIssueAttention(value: unknown): value is IssueAttention;
|
|
14627
|
+
//#endregion
|
|
14628
|
+
//#region src/backend-pane.d.ts
|
|
14629
|
+
declare const BackendPane: Schema.Struct<{
|
|
14630
|
+
/** 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). */
|
|
14631
|
+
readonly agentId: Schema.optional<Schema.String>; /** Issue the pane belongs to; absent for operator conversations. */
|
|
14632
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
14633
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
14634
|
+
readonly harness: Schema.String;
|
|
14635
|
+
readonly model: Schema.String;
|
|
14636
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>; /** Epoch millis the pane entered `state`; drives the `stuck` attention. */
|
|
14637
|
+
readonly stateSince: Schema.optional<Schema.Number>; /** Handle the terminal WebSocket attaches to. */
|
|
14638
|
+
readonly terminalId: Schema.optional<Schema.String>; /** Working directory of the pane (the issue workspace path). */
|
|
14639
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
14640
|
+
}>;
|
|
14641
|
+
type BackendPane = typeof BackendPane.Type;
|
|
14642
|
+
//#endregion
|
|
15476
14643
|
//#region src/event-reducers.d.ts
|
|
15477
14644
|
interface ResolvedChannelPermissionDecision {
|
|
15478
14645
|
requestId: string;
|
|
@@ -15515,7 +14682,10 @@ interface ReadModelState {
|
|
|
15515
14682
|
* would cause the whole AgentSnapshot to re-diff on the frontend.
|
|
15516
14683
|
*/
|
|
15517
14684
|
agentRuntimeById: Record<string, AgentRuntimeSnapshot>;
|
|
15518
|
-
|
|
14685
|
+
/** PAN-3917 FR-6 — derived pipeline state, keyed by issue id. Never persisted. */
|
|
14686
|
+
derivedIssueStateByIssueId: Record<string, DerivedIssueState>;
|
|
14687
|
+
/** PAN-3917 FR-12 — live agent panes the terminal backend reports, by pane id. */
|
|
14688
|
+
backendPanesById: Record<string, BackendPane>;
|
|
15519
14689
|
resources: ResourceStats | null;
|
|
15520
14690
|
agentOutputById: Record<string, string[]>;
|
|
15521
14691
|
issuesRaw: unknown[];
|
|
@@ -16012,465 +15182,348 @@ declare const FlywheelStatsCriterionStatus: Schema.Literals<readonly ["green", "
|
|
|
16012
15182
|
type FlywheelStatsCriterionStatus = typeof FlywheelStatsCriterionStatus.Type;
|
|
16013
15183
|
declare const FlywheelStatsTrend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
16014
15184
|
type FlywheelStatsTrend = typeof FlywheelStatsTrend.Type;
|
|
16015
|
-
declare const
|
|
16016
|
-
type
|
|
16017
|
-
declare const
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
declare const FlywheelStatsCriterion: Schema.Struct<{
|
|
16029
|
-
readonly label: Schema.String;
|
|
16030
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16031
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15185
|
+
declare const FlywheelSubstrateSeverity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15186
|
+
type FlywheelSubstrateSeverity = typeof FlywheelSubstrateSeverity.Type;
|
|
15187
|
+
declare const FlywheelStatsWindow: Schema.Struct<{
|
|
15188
|
+
readonly days: Schema.Number;
|
|
15189
|
+
readonly since: Schema.String;
|
|
15190
|
+
readonly until: Schema.String;
|
|
15191
|
+
}>;
|
|
15192
|
+
type FlywheelStatsWindow = typeof FlywheelStatsWindow.Type;
|
|
15193
|
+
/** c1: substrate bugs filed per merged PR in the window. */
|
|
15194
|
+
declare const FlywheelBugRateCriterion: Schema.Struct<{
|
|
15195
|
+
/** `null` when no PR merged in the window (the rate is undefined). */readonly value: Schema.NullOr<Schema.Number>;
|
|
15196
|
+
readonly count: Schema.Number;
|
|
15197
|
+
readonly denominator: Schema.Number;
|
|
16032
15198
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16033
|
-
readonly trend: Schema.
|
|
16034
|
-
readonly sampleSize: Schema.Number;
|
|
15199
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
16035
15200
|
readonly dataSufficient: Schema.Boolean;
|
|
16036
15201
|
}>;
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
c7_flake: FlywheelStatsCriterion;
|
|
16045
|
-
}
|
|
16046
|
-
declare const FlywheelStatsCriteria: Schema.Struct<{
|
|
16047
|
-
readonly c1_bugRate: Schema.Struct<{
|
|
16048
|
-
readonly label: Schema.String;
|
|
16049
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16050
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16051
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16052
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16053
|
-
readonly sampleSize: Schema.Number;
|
|
16054
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16055
|
-
}>;
|
|
16056
|
-
readonly c2_p0Bugs: Schema.Struct<{
|
|
16057
|
-
readonly label: Schema.String;
|
|
16058
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16059
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16060
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16061
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16062
|
-
readonly sampleSize: Schema.Number;
|
|
16063
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16064
|
-
}>;
|
|
16065
|
-
readonly c3_passRate: Schema.Struct<{
|
|
16066
|
-
readonly label: Schema.String;
|
|
16067
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16068
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16069
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16070
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16071
|
-
readonly sampleSize: Schema.Number;
|
|
16072
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16073
|
-
}>;
|
|
16074
|
-
readonly c4_mttr: Schema.Struct<{
|
|
16075
|
-
readonly label: Schema.String;
|
|
16076
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16077
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16078
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16079
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16080
|
-
readonly sampleSize: Schema.Number;
|
|
16081
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16082
|
-
}>;
|
|
16083
|
-
readonly c5_intervention: Schema.Struct<{
|
|
16084
|
-
readonly label: Schema.String;
|
|
16085
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16086
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16087
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16088
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16089
|
-
readonly sampleSize: Schema.Number;
|
|
16090
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16091
|
-
}>;
|
|
16092
|
-
readonly c6_timeConsistency: Schema.Struct<{
|
|
16093
|
-
readonly label: Schema.String;
|
|
16094
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16095
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16096
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16097
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16098
|
-
readonly sampleSize: Schema.Number;
|
|
16099
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16100
|
-
}>;
|
|
16101
|
-
readonly c7_flake: Schema.Struct<{
|
|
16102
|
-
readonly label: Schema.String;
|
|
16103
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16104
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16105
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16106
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16107
|
-
readonly sampleSize: Schema.Number;
|
|
16108
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16109
|
-
}>;
|
|
15202
|
+
type FlywheelBugRateCriterion = typeof FlywheelBugRateCriterion.Type;
|
|
15203
|
+
/** c2: P0 substrate bugs filed in the window. */
|
|
15204
|
+
declare const FlywheelP0Criterion: Schema.Struct<{
|
|
15205
|
+
readonly value: Schema.Number;
|
|
15206
|
+
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
15207
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
15208
|
+
readonly dataSufficient: Schema.Boolean;
|
|
16110
15209
|
}>;
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
15210
|
+
type FlywheelP0Criterion = typeof FlywheelP0Criterion.Type;
|
|
15211
|
+
declare const FlywheelSubstrateBugRow: Schema.Struct<{
|
|
15212
|
+
readonly number: Schema.Number;
|
|
15213
|
+
readonly title: Schema.String;
|
|
15214
|
+
readonly createdAt: Schema.String;
|
|
15215
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
15216
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15217
|
+
}>;
|
|
15218
|
+
type FlywheelSubstrateBugRow = typeof FlywheelSubstrateBugRow.Type;
|
|
16116
15219
|
declare const FlywheelStats: Schema.Struct<{
|
|
16117
|
-
readonly window: Schema.
|
|
15220
|
+
readonly window: Schema.Struct<{
|
|
15221
|
+
readonly days: Schema.Number;
|
|
15222
|
+
readonly since: Schema.String;
|
|
15223
|
+
readonly until: Schema.String;
|
|
15224
|
+
}>;
|
|
16118
15225
|
readonly generatedAt: Schema.String;
|
|
16119
15226
|
readonly criteria: Schema.Struct<{
|
|
16120
15227
|
readonly c1_bugRate: Schema.Struct<{
|
|
16121
|
-
readonly
|
|
16122
|
-
readonly
|
|
16123
|
-
readonly
|
|
15228
|
+
/** `null` when no PR merged in the window (the rate is undefined). */readonly value: Schema.NullOr<Schema.Number>;
|
|
15229
|
+
readonly count: Schema.Number;
|
|
15230
|
+
readonly denominator: Schema.Number;
|
|
16124
15231
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16125
|
-
readonly trend: Schema.
|
|
16126
|
-
readonly sampleSize: Schema.Number;
|
|
15232
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
16127
15233
|
readonly dataSufficient: Schema.Boolean;
|
|
16128
15234
|
}>;
|
|
16129
15235
|
readonly c2_p0Bugs: Schema.Struct<{
|
|
16130
|
-
readonly
|
|
16131
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16132
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16133
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16134
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16135
|
-
readonly sampleSize: Schema.Number;
|
|
16136
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16137
|
-
}>;
|
|
16138
|
-
readonly c3_passRate: Schema.Struct<{
|
|
16139
|
-
readonly label: Schema.String;
|
|
16140
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16141
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16142
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16143
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16144
|
-
readonly sampleSize: Schema.Number;
|
|
16145
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16146
|
-
}>;
|
|
16147
|
-
readonly c4_mttr: Schema.Struct<{
|
|
16148
|
-
readonly label: Schema.String;
|
|
16149
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16150
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16151
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16152
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16153
|
-
readonly sampleSize: Schema.Number;
|
|
16154
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16155
|
-
}>;
|
|
16156
|
-
readonly c5_intervention: Schema.Struct<{
|
|
16157
|
-
readonly label: Schema.String;
|
|
16158
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16159
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16160
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16161
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16162
|
-
readonly sampleSize: Schema.Number;
|
|
16163
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16164
|
-
}>;
|
|
16165
|
-
readonly c6_timeConsistency: Schema.Struct<{
|
|
16166
|
-
readonly label: Schema.String;
|
|
16167
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16168
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
15236
|
+
readonly value: Schema.Number;
|
|
16169
15237
|
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16170
|
-
readonly trend: Schema.
|
|
16171
|
-
readonly sampleSize: Schema.Number;
|
|
16172
|
-
readonly dataSufficient: Schema.Boolean;
|
|
16173
|
-
}>;
|
|
16174
|
-
readonly c7_flake: Schema.Struct<{
|
|
16175
|
-
readonly label: Schema.String;
|
|
16176
|
-
readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16177
|
-
readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
|
|
16178
|
-
readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
|
|
16179
|
-
readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
|
|
16180
|
-
readonly sampleSize: Schema.Number;
|
|
15238
|
+
readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
|
|
16181
15239
|
readonly dataSufficient: Schema.Boolean;
|
|
16182
15240
|
}>;
|
|
16183
15241
|
}>;
|
|
15242
|
+
readonly bugs: Schema.$Array<Schema.Struct<{
|
|
15243
|
+
readonly number: Schema.Number;
|
|
15244
|
+
readonly title: Schema.String;
|
|
15245
|
+
readonly createdAt: Schema.String;
|
|
15246
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
15247
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2", "unknown"]>;
|
|
15248
|
+
}>>;
|
|
16184
15249
|
}>;
|
|
15250
|
+
type FlywheelStats = typeof FlywheelStats.Type;
|
|
16185
15251
|
declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
16186
|
-
readonly window:
|
|
15252
|
+
readonly window: {
|
|
15253
|
+
readonly days: number;
|
|
15254
|
+
readonly since: string;
|
|
15255
|
+
readonly until: string;
|
|
15256
|
+
};
|
|
16187
15257
|
readonly generatedAt: string;
|
|
16188
15258
|
readonly criteria: {
|
|
16189
15259
|
readonly c1_bugRate: {
|
|
16190
|
-
readonly
|
|
16191
|
-
readonly
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
readonly
|
|
16195
|
-
readonly [x: string]: Schema.Json;
|
|
16196
|
-
};
|
|
16197
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16198
|
-
readonly sampleSize: number;
|
|
15260
|
+
readonly value: number | null;
|
|
15261
|
+
readonly count: number;
|
|
15262
|
+
readonly denominator: number;
|
|
15263
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15264
|
+
readonly trend: "flat" | "up" | "down";
|
|
16199
15265
|
readonly dataSufficient: boolean;
|
|
16200
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16201
15266
|
};
|
|
16202
15267
|
readonly c2_p0Bugs: {
|
|
16203
|
-
readonly
|
|
16204
|
-
readonly
|
|
16205
|
-
|
|
16206
|
-
};
|
|
16207
|
-
readonly target: number | {
|
|
16208
|
-
readonly [x: string]: Schema.Json;
|
|
16209
|
-
};
|
|
16210
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16211
|
-
readonly sampleSize: number;
|
|
16212
|
-
readonly dataSufficient: boolean;
|
|
16213
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16214
|
-
};
|
|
16215
|
-
readonly c3_passRate: {
|
|
16216
|
-
readonly label: string;
|
|
16217
|
-
readonly value: number | {
|
|
16218
|
-
readonly [x: string]: Schema.Json;
|
|
16219
|
-
};
|
|
16220
|
-
readonly target: number | {
|
|
16221
|
-
readonly [x: string]: Schema.Json;
|
|
16222
|
-
};
|
|
16223
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16224
|
-
readonly sampleSize: number;
|
|
16225
|
-
readonly dataSufficient: boolean;
|
|
16226
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16227
|
-
};
|
|
16228
|
-
readonly c4_mttr: {
|
|
16229
|
-
readonly label: string;
|
|
16230
|
-
readonly value: number | {
|
|
16231
|
-
readonly [x: string]: Schema.Json;
|
|
16232
|
-
};
|
|
16233
|
-
readonly target: number | {
|
|
16234
|
-
readonly [x: string]: Schema.Json;
|
|
16235
|
-
};
|
|
16236
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16237
|
-
readonly sampleSize: number;
|
|
16238
|
-
readonly dataSufficient: boolean;
|
|
16239
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16240
|
-
};
|
|
16241
|
-
readonly c5_intervention: {
|
|
16242
|
-
readonly label: string;
|
|
16243
|
-
readonly value: number | {
|
|
16244
|
-
readonly [x: string]: Schema.Json;
|
|
16245
|
-
};
|
|
16246
|
-
readonly target: number | {
|
|
16247
|
-
readonly [x: string]: Schema.Json;
|
|
16248
|
-
};
|
|
16249
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16250
|
-
readonly sampleSize: number;
|
|
16251
|
-
readonly dataSufficient: boolean;
|
|
16252
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16253
|
-
};
|
|
16254
|
-
readonly c6_timeConsistency: {
|
|
16255
|
-
readonly label: string;
|
|
16256
|
-
readonly value: number | {
|
|
16257
|
-
readonly [x: string]: Schema.Json;
|
|
16258
|
-
};
|
|
16259
|
-
readonly target: number | {
|
|
16260
|
-
readonly [x: string]: Schema.Json;
|
|
16261
|
-
};
|
|
16262
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16263
|
-
readonly sampleSize: number;
|
|
16264
|
-
readonly dataSufficient: boolean;
|
|
16265
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16266
|
-
};
|
|
16267
|
-
readonly c7_flake: {
|
|
16268
|
-
readonly label: string;
|
|
16269
|
-
readonly value: number | {
|
|
16270
|
-
readonly [x: string]: Schema.Json;
|
|
16271
|
-
};
|
|
16272
|
-
readonly target: number | {
|
|
16273
|
-
readonly [x: string]: Schema.Json;
|
|
16274
|
-
};
|
|
16275
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16276
|
-
readonly sampleSize: number;
|
|
15268
|
+
readonly value: number;
|
|
15269
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15270
|
+
readonly trend: "flat" | "up" | "down";
|
|
16277
15271
|
readonly dataSufficient: boolean;
|
|
16278
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16279
15272
|
};
|
|
16280
15273
|
};
|
|
15274
|
+
readonly bugs: readonly {
|
|
15275
|
+
readonly number: number;
|
|
15276
|
+
readonly title: string;
|
|
15277
|
+
readonly createdAt: string;
|
|
15278
|
+
readonly closedAt: string | null;
|
|
15279
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15280
|
+
}[];
|
|
16281
15281
|
};
|
|
16282
15282
|
declare const encodeFlywheelStats: (input: {
|
|
16283
|
-
readonly window:
|
|
15283
|
+
readonly window: {
|
|
15284
|
+
readonly days: number;
|
|
15285
|
+
readonly since: string;
|
|
15286
|
+
readonly until: string;
|
|
15287
|
+
};
|
|
16284
15288
|
readonly generatedAt: string;
|
|
16285
15289
|
readonly criteria: {
|
|
16286
15290
|
readonly c1_bugRate: {
|
|
16287
|
-
readonly
|
|
16288
|
-
readonly
|
|
16289
|
-
|
|
16290
|
-
|
|
16291
|
-
readonly
|
|
16292
|
-
readonly [x: string]: Schema.Json;
|
|
16293
|
-
};
|
|
16294
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16295
|
-
readonly sampleSize: number;
|
|
15291
|
+
readonly value: number | null;
|
|
15292
|
+
readonly count: number;
|
|
15293
|
+
readonly denominator: number;
|
|
15294
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15295
|
+
readonly trend: "flat" | "up" | "down";
|
|
16296
15296
|
readonly dataSufficient: boolean;
|
|
16297
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16298
15297
|
};
|
|
16299
15298
|
readonly c2_p0Bugs: {
|
|
16300
|
-
readonly
|
|
16301
|
-
readonly
|
|
16302
|
-
|
|
16303
|
-
};
|
|
16304
|
-
readonly target: number | {
|
|
16305
|
-
readonly [x: string]: Schema.Json;
|
|
16306
|
-
};
|
|
16307
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16308
|
-
readonly sampleSize: number;
|
|
16309
|
-
readonly dataSufficient: boolean;
|
|
16310
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16311
|
-
};
|
|
16312
|
-
readonly c3_passRate: {
|
|
16313
|
-
readonly label: string;
|
|
16314
|
-
readonly value: number | {
|
|
16315
|
-
readonly [x: string]: Schema.Json;
|
|
16316
|
-
};
|
|
16317
|
-
readonly target: number | {
|
|
16318
|
-
readonly [x: string]: Schema.Json;
|
|
16319
|
-
};
|
|
16320
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16321
|
-
readonly sampleSize: number;
|
|
16322
|
-
readonly dataSufficient: boolean;
|
|
16323
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16324
|
-
};
|
|
16325
|
-
readonly c4_mttr: {
|
|
16326
|
-
readonly label: string;
|
|
16327
|
-
readonly value: number | {
|
|
16328
|
-
readonly [x: string]: Schema.Json;
|
|
16329
|
-
};
|
|
16330
|
-
readonly target: number | {
|
|
16331
|
-
readonly [x: string]: Schema.Json;
|
|
16332
|
-
};
|
|
16333
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16334
|
-
readonly sampleSize: number;
|
|
16335
|
-
readonly dataSufficient: boolean;
|
|
16336
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16337
|
-
};
|
|
16338
|
-
readonly c5_intervention: {
|
|
16339
|
-
readonly label: string;
|
|
16340
|
-
readonly value: number | {
|
|
16341
|
-
readonly [x: string]: Schema.Json;
|
|
16342
|
-
};
|
|
16343
|
-
readonly target: number | {
|
|
16344
|
-
readonly [x: string]: Schema.Json;
|
|
16345
|
-
};
|
|
16346
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16347
|
-
readonly sampleSize: number;
|
|
16348
|
-
readonly dataSufficient: boolean;
|
|
16349
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16350
|
-
};
|
|
16351
|
-
readonly c6_timeConsistency: {
|
|
16352
|
-
readonly label: string;
|
|
16353
|
-
readonly value: number | {
|
|
16354
|
-
readonly [x: string]: Schema.Json;
|
|
16355
|
-
};
|
|
16356
|
-
readonly target: number | {
|
|
16357
|
-
readonly [x: string]: Schema.Json;
|
|
16358
|
-
};
|
|
16359
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16360
|
-
readonly sampleSize: number;
|
|
15299
|
+
readonly value: number;
|
|
15300
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15301
|
+
readonly trend: "flat" | "up" | "down";
|
|
16361
15302
|
readonly dataSufficient: boolean;
|
|
16362
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16363
|
-
};
|
|
16364
|
-
readonly c7_flake: {
|
|
16365
|
-
readonly label: string;
|
|
16366
|
-
readonly value: number | {
|
|
16367
|
-
readonly [x: string]: Schema.Json;
|
|
16368
|
-
};
|
|
16369
|
-
readonly target: number | {
|
|
16370
|
-
readonly [x: string]: Schema.Json;
|
|
16371
|
-
};
|
|
16372
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16373
|
-
readonly sampleSize: number;
|
|
16374
|
-
readonly dataSufficient: boolean;
|
|
16375
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16376
15303
|
};
|
|
16377
15304
|
};
|
|
15305
|
+
readonly bugs: readonly {
|
|
15306
|
+
readonly number: number;
|
|
15307
|
+
readonly title: string;
|
|
15308
|
+
readonly createdAt: string;
|
|
15309
|
+
readonly closedAt: string | null;
|
|
15310
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15311
|
+
}[];
|
|
16378
15312
|
}, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
16379
|
-
readonly window:
|
|
15313
|
+
readonly window: {
|
|
15314
|
+
readonly days: number;
|
|
15315
|
+
readonly since: string;
|
|
15316
|
+
readonly until: string;
|
|
15317
|
+
};
|
|
16380
15318
|
readonly generatedAt: string;
|
|
16381
15319
|
readonly criteria: {
|
|
16382
15320
|
readonly c1_bugRate: {
|
|
16383
|
-
readonly
|
|
16384
|
-
readonly
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
readonly
|
|
16388
|
-
readonly [x: string]: Schema.Json;
|
|
16389
|
-
};
|
|
16390
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16391
|
-
readonly sampleSize: number;
|
|
15321
|
+
readonly value: number | null;
|
|
15322
|
+
readonly count: number;
|
|
15323
|
+
readonly denominator: number;
|
|
15324
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15325
|
+
readonly trend: "flat" | "up" | "down";
|
|
16392
15326
|
readonly dataSufficient: boolean;
|
|
16393
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16394
15327
|
};
|
|
16395
15328
|
readonly c2_p0Bugs: {
|
|
16396
|
-
readonly
|
|
16397
|
-
readonly
|
|
16398
|
-
|
|
16399
|
-
};
|
|
16400
|
-
readonly target: number | {
|
|
16401
|
-
readonly [x: string]: Schema.Json;
|
|
16402
|
-
};
|
|
16403
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16404
|
-
readonly sampleSize: number;
|
|
15329
|
+
readonly value: number;
|
|
15330
|
+
readonly status: "green" | "red" | "yellow" | "insufficient_data";
|
|
15331
|
+
readonly trend: "flat" | "up" | "down";
|
|
16405
15332
|
readonly dataSufficient: boolean;
|
|
16406
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16407
|
-
};
|
|
16408
|
-
readonly c3_passRate: {
|
|
16409
|
-
readonly label: string;
|
|
16410
|
-
readonly value: number | {
|
|
16411
|
-
readonly [x: string]: Schema.Json;
|
|
16412
|
-
};
|
|
16413
|
-
readonly target: number | {
|
|
16414
|
-
readonly [x: string]: Schema.Json;
|
|
16415
|
-
};
|
|
16416
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16417
|
-
readonly sampleSize: number;
|
|
16418
|
-
readonly dataSufficient: boolean;
|
|
16419
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16420
|
-
};
|
|
16421
|
-
readonly c4_mttr: {
|
|
16422
|
-
readonly label: string;
|
|
16423
|
-
readonly value: number | {
|
|
16424
|
-
readonly [x: string]: Schema.Json;
|
|
16425
|
-
};
|
|
16426
|
-
readonly target: number | {
|
|
16427
|
-
readonly [x: string]: Schema.Json;
|
|
16428
|
-
};
|
|
16429
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16430
|
-
readonly sampleSize: number;
|
|
16431
|
-
readonly dataSufficient: boolean;
|
|
16432
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16433
|
-
};
|
|
16434
|
-
readonly c5_intervention: {
|
|
16435
|
-
readonly label: string;
|
|
16436
|
-
readonly value: number | {
|
|
16437
|
-
readonly [x: string]: Schema.Json;
|
|
16438
|
-
};
|
|
16439
|
-
readonly target: number | {
|
|
16440
|
-
readonly [x: string]: Schema.Json;
|
|
16441
|
-
};
|
|
16442
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16443
|
-
readonly sampleSize: number;
|
|
16444
|
-
readonly dataSufficient: boolean;
|
|
16445
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16446
|
-
};
|
|
16447
|
-
readonly c6_timeConsistency: {
|
|
16448
|
-
readonly label: string;
|
|
16449
|
-
readonly value: number | {
|
|
16450
|
-
readonly [x: string]: Schema.Json;
|
|
16451
|
-
};
|
|
16452
|
-
readonly target: number | {
|
|
16453
|
-
readonly [x: string]: Schema.Json;
|
|
16454
|
-
};
|
|
16455
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16456
|
-
readonly sampleSize: number;
|
|
16457
|
-
readonly dataSufficient: boolean;
|
|
16458
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16459
|
-
};
|
|
16460
|
-
readonly c7_flake: {
|
|
16461
|
-
readonly label: string;
|
|
16462
|
-
readonly value: number | {
|
|
16463
|
-
readonly [x: string]: Schema.Json;
|
|
16464
|
-
};
|
|
16465
|
-
readonly target: number | {
|
|
16466
|
-
readonly [x: string]: Schema.Json;
|
|
16467
|
-
};
|
|
16468
|
-
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
16469
|
-
readonly sampleSize: number;
|
|
16470
|
-
readonly dataSufficient: boolean;
|
|
16471
|
-
readonly trend?: "flat" | "up" | "down" | undefined;
|
|
16472
15333
|
};
|
|
16473
15334
|
};
|
|
15335
|
+
readonly bugs: readonly {
|
|
15336
|
+
readonly number: number;
|
|
15337
|
+
readonly title: string;
|
|
15338
|
+
readonly createdAt: string;
|
|
15339
|
+
readonly closedAt: string | null;
|
|
15340
|
+
readonly severity: "unknown" | "P0" | "P1" | "P2";
|
|
15341
|
+
}[];
|
|
15342
|
+
};
|
|
15343
|
+
//#endregion
|
|
15344
|
+
//#region src/flywheel-derived.d.ts
|
|
15345
|
+
/** The loop's phases, as the skill reports them in its tick marker. */
|
|
15346
|
+
declare const TickMarkerPhase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15347
|
+
type TickMarkerPhase = typeof TickMarkerPhase.Type;
|
|
15348
|
+
/**
|
|
15349
|
+
* One parsed tick marker line:
|
|
15350
|
+
* `flywheel-tick: tick=<n> pick=<ID|none> phase=<phase> in-flight=<ID,…|none> needs-you=<text|none>`.
|
|
15351
|
+
*/
|
|
15352
|
+
declare const TickMarker: Schema.Struct<{
|
|
15353
|
+
readonly tick: Schema.Number;
|
|
15354
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15355
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15356
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15357
|
+
readonly needsYou: Schema.NullOr<Schema.String>;
|
|
15358
|
+
}>;
|
|
15359
|
+
type TickMarker = typeof TickMarker.Type;
|
|
15360
|
+
/** `running` = row + live session; `paused` = row, no live session; `idle` = no row. */
|
|
15361
|
+
declare const FlywheelRunState: Schema.Literals<readonly ["running", "paused", "idle"]>;
|
|
15362
|
+
type FlywheelRunState = typeof FlywheelRunState.Type;
|
|
15363
|
+
/** Age of the last tick: ≤ 60 s live, ≤ 20 min breathing, older stalled. */
|
|
15364
|
+
declare const FlywheelFreshness: Schema.Literals<readonly ["live", "breathing", "stalled"]>;
|
|
15365
|
+
type FlywheelFreshness = typeof FlywheelFreshness.Type;
|
|
15366
|
+
declare const FlywheelConversationSummary: Schema.Struct<{
|
|
15367
|
+
readonly name: Schema.String;
|
|
15368
|
+
readonly id: Schema.Number;
|
|
15369
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15370
|
+
readonly model: Schema.NullOr<Schema.String>;
|
|
15371
|
+
readonly harness: Schema.NullOr<Schema.String>;
|
|
15372
|
+
readonly cwd: Schema.String;
|
|
15373
|
+
readonly sessionAlive: Schema.Boolean;
|
|
15374
|
+
}>;
|
|
15375
|
+
type FlywheelConversationSummary = typeof FlywheelConversationSummary.Type;
|
|
15376
|
+
declare const FlywheelLastTick: Schema.Struct<{
|
|
15377
|
+
readonly tick: Schema.Number;
|
|
15378
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15379
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15380
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15381
|
+
readonly needsYou: Schema.NullOr<Schema.String>; /** The assistant message's `createdAt`. */
|
|
15382
|
+
readonly at: Schema.String;
|
|
15383
|
+
}>;
|
|
15384
|
+
type FlywheelLastTick = typeof FlywheelLastTick.Type;
|
|
15385
|
+
declare const FlywheelPolicies: Schema.Struct<{
|
|
15386
|
+
readonly auto_pickup_backlog: Schema.Boolean;
|
|
15387
|
+
readonly require_uat_before_merge: Schema.Boolean;
|
|
15388
|
+
readonly merge_train_enabled: Schema.Boolean;
|
|
15389
|
+
}>;
|
|
15390
|
+
type FlywheelPolicies = typeof FlywheelPolicies.Type;
|
|
15391
|
+
declare const FlywheelJournalSummary: Schema.Struct<{
|
|
15392
|
+
readonly at: Schema.String;
|
|
15393
|
+
readonly type: Schema.String;
|
|
15394
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15395
|
+
}>;
|
|
15396
|
+
type FlywheelJournalSummary = typeof FlywheelJournalSummary.Type;
|
|
15397
|
+
declare const FlywheelInFlightRow: Schema.Struct<{
|
|
15398
|
+
readonly issueId: Schema.String;
|
|
15399
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15400
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15401
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
15402
|
+
readonly url: Schema.String;
|
|
15403
|
+
readonly number: Schema.Number;
|
|
15404
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15405
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15406
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15407
|
+
}>>;
|
|
15408
|
+
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15409
|
+
readonly at: Schema.String;
|
|
15410
|
+
readonly type: Schema.String;
|
|
15411
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15412
|
+
}>>;
|
|
15413
|
+
}>;
|
|
15414
|
+
type FlywheelInFlightRow = typeof FlywheelInFlightRow.Type;
|
|
15415
|
+
declare const FlywheelOrderBookSummary: Schema.Struct<{
|
|
15416
|
+
readonly id: Schema.String;
|
|
15417
|
+
readonly name: Schema.String;
|
|
15418
|
+
readonly status: Schema.String;
|
|
15419
|
+
readonly landed: Schema.Number;
|
|
15420
|
+
readonly total: Schema.Number;
|
|
15421
|
+
}>;
|
|
15422
|
+
type FlywheelOrderBookSummary = typeof FlywheelOrderBookSummary.Type;
|
|
15423
|
+
declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
15424
|
+
readonly run: Schema.Literals<readonly ["running", "paused", "idle"]>;
|
|
15425
|
+
readonly conversation: Schema.NullOr<Schema.Struct<{
|
|
15426
|
+
readonly name: Schema.String;
|
|
15427
|
+
readonly id: Schema.Number;
|
|
15428
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15429
|
+
readonly model: Schema.NullOr<Schema.String>;
|
|
15430
|
+
readonly harness: Schema.NullOr<Schema.String>;
|
|
15431
|
+
readonly cwd: Schema.String;
|
|
15432
|
+
readonly sessionAlive: Schema.Boolean;
|
|
15433
|
+
}>>;
|
|
15434
|
+
readonly lastTick: Schema.NullOr<Schema.Struct<{
|
|
15435
|
+
readonly tick: Schema.Number;
|
|
15436
|
+
readonly pick: Schema.NullOr<Schema.String>;
|
|
15437
|
+
readonly phase: Schema.Literals<readonly ["orient", "pick", "launch", "watch", "park", "idle", "stopping"]>;
|
|
15438
|
+
readonly inFlight: Schema.$Array<Schema.String>;
|
|
15439
|
+
readonly needsYou: Schema.NullOr<Schema.String>; /** The assistant message's `createdAt`. */
|
|
15440
|
+
readonly at: Schema.String;
|
|
15441
|
+
}>>;
|
|
15442
|
+
readonly freshness: Schema.NullOr<Schema.Literals<readonly ["live", "breathing", "stalled"]>>;
|
|
15443
|
+
readonly policies: Schema.Struct<{
|
|
15444
|
+
readonly auto_pickup_backlog: Schema.Boolean;
|
|
15445
|
+
readonly require_uat_before_merge: Schema.Boolean;
|
|
15446
|
+
readonly merge_train_enabled: Schema.Boolean;
|
|
15447
|
+
}>;
|
|
15448
|
+
readonly inFlight: Schema.$Array<Schema.Struct<{
|
|
15449
|
+
readonly issueId: Schema.String;
|
|
15450
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15451
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15452
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
15453
|
+
readonly url: Schema.String;
|
|
15454
|
+
readonly number: Schema.Number;
|
|
15455
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15456
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15457
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15458
|
+
}>>;
|
|
15459
|
+
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15460
|
+
readonly at: Schema.String;
|
|
15461
|
+
readonly type: Schema.String;
|
|
15462
|
+
readonly source: Schema.optional<Schema.String>;
|
|
15463
|
+
}>>;
|
|
15464
|
+
}>>;
|
|
15465
|
+
readonly orderBook: Schema.NullOr<Schema.Struct<{
|
|
15466
|
+
readonly id: Schema.String;
|
|
15467
|
+
readonly name: Schema.String;
|
|
15468
|
+
readonly status: Schema.String;
|
|
15469
|
+
readonly landed: Schema.Number;
|
|
15470
|
+
readonly total: Schema.Number;
|
|
15471
|
+
}>>;
|
|
15472
|
+
readonly projectRoot: Schema.String;
|
|
15473
|
+
readonly generatedAt: Schema.String;
|
|
15474
|
+
}>;
|
|
15475
|
+
type FlywheelDerivedStatus = typeof FlywheelDerivedStatus.Type;
|
|
15476
|
+
declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
15477
|
+
readonly run: "running" | "idle" | "paused";
|
|
15478
|
+
readonly conversation: {
|
|
15479
|
+
readonly name: string;
|
|
15480
|
+
readonly id: number;
|
|
15481
|
+
readonly title: string | null;
|
|
15482
|
+
readonly model: string | null;
|
|
15483
|
+
readonly harness: string | null;
|
|
15484
|
+
readonly cwd: string;
|
|
15485
|
+
readonly sessionAlive: boolean;
|
|
15486
|
+
} | null;
|
|
15487
|
+
readonly lastTick: {
|
|
15488
|
+
readonly tick: number;
|
|
15489
|
+
readonly pick: string | null;
|
|
15490
|
+
readonly phase: "idle" | "park" | "orient" | "pick" | "launch" | "watch" | "stopping";
|
|
15491
|
+
readonly inFlight: readonly string[];
|
|
15492
|
+
readonly needsYou: string | null;
|
|
15493
|
+
readonly at: string;
|
|
15494
|
+
} | null;
|
|
15495
|
+
readonly freshness: "live" | "breathing" | "stalled" | null;
|
|
15496
|
+
readonly policies: {
|
|
15497
|
+
readonly auto_pickup_backlog: boolean;
|
|
15498
|
+
readonly require_uat_before_merge: boolean;
|
|
15499
|
+
readonly merge_train_enabled: boolean;
|
|
15500
|
+
};
|
|
15501
|
+
readonly inFlight: readonly {
|
|
15502
|
+
readonly issueId: string;
|
|
15503
|
+
readonly state: "working" | "backlog" | "parked" | "planned" | "in-review" | "changes-requested" | "ready" | "merged" | "closed";
|
|
15504
|
+
readonly lastJournal: {
|
|
15505
|
+
readonly at: string;
|
|
15506
|
+
readonly type: string;
|
|
15507
|
+
readonly source?: string | undefined;
|
|
15508
|
+
} | null;
|
|
15509
|
+
readonly attention?: "stuck" | "needs-you" | "api-error" | undefined;
|
|
15510
|
+
readonly pr?: {
|
|
15511
|
+
readonly url: string;
|
|
15512
|
+
readonly number: number;
|
|
15513
|
+
readonly reviewState: "approved" | "changes-requested" | "review-requested" | "commented" | "none";
|
|
15514
|
+
readonly checks: "pending" | "green" | "red";
|
|
15515
|
+
readonly mergeable: boolean | null;
|
|
15516
|
+
} | undefined;
|
|
15517
|
+
}[];
|
|
15518
|
+
readonly orderBook: {
|
|
15519
|
+
readonly id: string;
|
|
15520
|
+
readonly name: string;
|
|
15521
|
+
readonly status: string;
|
|
15522
|
+
readonly landed: number;
|
|
15523
|
+
readonly total: number;
|
|
15524
|
+
} | null;
|
|
15525
|
+
readonly projectRoot: string;
|
|
15526
|
+
readonly generatedAt: string;
|
|
16474
15527
|
};
|
|
16475
15528
|
//#endregion
|
|
16476
15529
|
//#region src/orders.d.ts
|
|
@@ -17312,6 +16365,8 @@ type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-js
|
|
|
17312
16365
|
type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id" | "kimi-session-newest" | "muse-session-log";
|
|
17313
16366
|
type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp" | "kimi-code" | "opencode" | "muse";
|
|
17314
16367
|
type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp" | "kimi_code" | "muse";
|
|
16368
|
+
/** Canonical synthetic agent-session identity shared by dashboard client/server. */
|
|
16369
|
+
declare function isAgentSessionName(name: string): boolean;
|
|
17315
16370
|
interface HarnessNativeCommand {
|
|
17316
16371
|
readonly name: string;
|
|
17317
16372
|
readonly description: string;
|
|
@@ -17927,13 +16982,6 @@ declare const COMPOSER_COMMAND_VARIANTS: readonly [{
|
|
|
17927
16982
|
readonly description: "Auto-plan the issue, then auto-start the work agent";
|
|
17928
16983
|
readonly insert: "/pan plan --auto --auto-start ";
|
|
17929
16984
|
readonly category: "Lifecycle";
|
|
17930
|
-
}, {
|
|
17931
|
-
readonly id: "pan-review-reset-session";
|
|
17932
|
-
readonly path: readonly ["review", "reset"];
|
|
17933
|
-
readonly display: "/pan review reset --session";
|
|
17934
|
-
readonly description: "Reset review and clear saved Claude session";
|
|
17935
|
-
readonly insert: "/pan review reset --session";
|
|
17936
|
-
readonly category: "Review";
|
|
17937
16985
|
}, {
|
|
17938
16986
|
readonly id: "pan-fork-plain";
|
|
17939
16987
|
readonly path: readonly ["fork"];
|
|
@@ -18153,5 +17201,199 @@ declare const WIRED_HOOK_INVENTORY: ({
|
|
|
18153
17201
|
})[];
|
|
18154
17202
|
declare const WIRED_HOOK_NAMES: ("PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "Stop" | "SessionStart" | "Notification" | "UserPromptSubmit" | "PreCompact" | "PostCompact" | "PermissionRequest")[];
|
|
18155
17203
|
//#endregion
|
|
18156
|
-
export { ACP_BEHAVIOR, 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, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, 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, 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, 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, GetWorkspaceDetailRpc, 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, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, 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, MergeStatusValue, 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, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewCycleEntry, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, 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, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, compareIssueIds, createIssueDelta, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
|
|
17204
|
+
//#region src/terminal-backend.d.ts
|
|
17205
|
+
/** Adapter that owns agent terminals. */
|
|
17206
|
+
type TerminalBackendName = "herdr" | "tmux";
|
|
17207
|
+
/**
|
|
17208
|
+
* Agent lifecycle state. `idle | working | blocked | done | unknown` are
|
|
17209
|
+
* Herdr's states verbatim; `exited` is the tmux adapter's dead-pane state and
|
|
17210
|
+
* Herdr's `pane_exited`.
|
|
17211
|
+
*/
|
|
17212
|
+
type AgentState = "idle" | "working" | "blocked" | "done" | "exited" | "unknown";
|
|
17213
|
+
/** Pane role, stamped as a metadata token by every launcher (FR-5). */
|
|
17214
|
+
type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan";
|
|
17215
|
+
/**
|
|
17216
|
+
* Metadata tokens stamped on every agent pane. An operator conversation
|
|
17217
|
+
* carries no `issue` token (FR-5), which is also what the prompt guard uses to
|
|
17218
|
+
* recognize an operator sender (FR-17).
|
|
17219
|
+
*/
|
|
17220
|
+
interface PaneTokens {
|
|
17221
|
+
/** Issue id (e.g. `PAN-3917`); absent for operator conversations. */
|
|
17222
|
+
readonly issue?: string;
|
|
17223
|
+
readonly role: AgentRole;
|
|
17224
|
+
readonly harness: string;
|
|
17225
|
+
readonly model: string;
|
|
17226
|
+
/** Agent or conversation that spawned this pane (PAN-3920 workers); it may prompt the pane. */
|
|
17227
|
+
readonly parent?: string;
|
|
17228
|
+
}
|
|
17229
|
+
/** One agent pane as the backend reports it. */
|
|
17230
|
+
interface BackendAgentSnapshot {
|
|
17231
|
+
readonly backend: TerminalBackendName;
|
|
17232
|
+
/** Backend-native pane handle (Herdr `w1:p1`, tmux session name). */
|
|
17233
|
+
readonly paneId: string;
|
|
17234
|
+
/** Overdeck agent id, when the pane carries one (PAN-3920). */
|
|
17235
|
+
readonly agentId?: string;
|
|
17236
|
+
/** Handle the terminal WebSocket attaches to. */
|
|
17237
|
+
readonly terminalId: string;
|
|
17238
|
+
/** Issue workspace the pane belongs to. */
|
|
17239
|
+
readonly workspaceId: string;
|
|
17240
|
+
readonly state: AgentState;
|
|
17241
|
+
readonly tokens: Partial<PaneTokens>;
|
|
17242
|
+
readonly cwd?: string;
|
|
17243
|
+
readonly title?: string;
|
|
17244
|
+
}
|
|
17245
|
+
declare const TERMINAL_BACKEND_NAMES: readonly TerminalBackendName[];
|
|
17246
|
+
declare const AGENT_ROLES: readonly AgentRole[];
|
|
17247
|
+
declare function isTerminalBackendName(value: unknown): value is TerminalBackendName;
|
|
17248
|
+
declare function isAgentRole(value: unknown): value is AgentRole;
|
|
17249
|
+
//#endregion
|
|
17250
|
+
//#region src/agent-directory.d.ts
|
|
17251
|
+
declare const DirectoryEntryKind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17252
|
+
type DirectoryEntryKind = typeof DirectoryEntryKind.Type;
|
|
17253
|
+
declare const DirectoryEntryState: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17254
|
+
type DirectoryEntryState = typeof DirectoryEntryState.Type;
|
|
17255
|
+
declare const DirectoryEntrySource: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17256
|
+
type DirectoryEntrySource = typeof DirectoryEntrySource.Type;
|
|
17257
|
+
declare const DirectoryTranscriptRef: Schema.Union<readonly [Schema.Struct<{
|
|
17258
|
+
readonly route: Schema.Literal<"agent">;
|
|
17259
|
+
readonly agentId: Schema.String;
|
|
17260
|
+
}>, Schema.Struct<{
|
|
17261
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17262
|
+
readonly agentId: Schema.String;
|
|
17263
|
+
readonly subagentId: Schema.String;
|
|
17264
|
+
}>, Schema.Struct<{
|
|
17265
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17266
|
+
readonly conversationName: Schema.String;
|
|
17267
|
+
}>, Schema.Struct<{
|
|
17268
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17269
|
+
readonly conversationName: Schema.String;
|
|
17270
|
+
readonly subagentId: Schema.String;
|
|
17271
|
+
}>]>;
|
|
17272
|
+
type DirectoryTranscriptRef = typeof DirectoryTranscriptRef.Type;
|
|
17273
|
+
declare const DirectoryEntryLocation: Schema.Literals<readonly ["local", "remote"]>;
|
|
17274
|
+
type DirectoryEntryLocation = typeof DirectoryEntryLocation.Type;
|
|
17275
|
+
declare const DirectoryEntry: Schema.Struct<{
|
|
17276
|
+
readonly id: Schema.String;
|
|
17277
|
+
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17278
|
+
readonly label: Schema.String;
|
|
17279
|
+
readonly location: Schema.Literals<readonly ["local", "remote"]>; /** projects.yaml key; `unassigned` when none (D5). */
|
|
17280
|
+
readonly projectKey: Schema.String; /** Uppercase issue id, e.g. `PAN-3920`. */
|
|
17281
|
+
readonly issueId: Schema.NullOr<Schema.String>; /** The issue's title from the dashboard's tracker cache; null when unknown. */
|
|
17282
|
+
readonly issueTitle: Schema.NullOr<Schema.String>;
|
|
17283
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
17284
|
+
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
17285
|
+
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
17286
|
+
readonly model: Schema.String;
|
|
17287
|
+
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17288
|
+
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
17289
|
+
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
17290
|
+
readonly costUsd: Schema.NullOr<Schema.Number>;
|
|
17291
|
+
readonly source: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17292
|
+
readonly transcript: Schema.NullOr<Schema.Union<readonly [Schema.Struct<{
|
|
17293
|
+
readonly route: Schema.Literal<"agent">;
|
|
17294
|
+
readonly agentId: Schema.String;
|
|
17295
|
+
}>, Schema.Struct<{
|
|
17296
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17297
|
+
readonly agentId: Schema.String;
|
|
17298
|
+
readonly subagentId: Schema.String;
|
|
17299
|
+
}>, Schema.Struct<{
|
|
17300
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17301
|
+
readonly conversationName: Schema.String;
|
|
17302
|
+
}>, Schema.Struct<{
|
|
17303
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17304
|
+
readonly conversationName: Schema.String;
|
|
17305
|
+
readonly subagentId: Schema.String;
|
|
17306
|
+
}>]>>;
|
|
17307
|
+
}>;
|
|
17308
|
+
type DirectoryEntry = typeof DirectoryEntry.Type;
|
|
17309
|
+
declare const AgentDirectoryResponse: Schema.Struct<{
|
|
17310
|
+
readonly generatedAt: Schema.String;
|
|
17311
|
+
readonly windowHours: Schema.Number;
|
|
17312
|
+
readonly entries: Schema.$Array<Schema.Struct<{
|
|
17313
|
+
readonly id: Schema.String;
|
|
17314
|
+
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
17315
|
+
readonly label: Schema.String;
|
|
17316
|
+
readonly location: Schema.Literals<readonly ["local", "remote"]>; /** projects.yaml key; `unassigned` when none (D5). */
|
|
17317
|
+
readonly projectKey: Schema.String; /** Uppercase issue id, e.g. `PAN-3920`. */
|
|
17318
|
+
readonly issueId: Schema.NullOr<Schema.String>; /** The issue's title from the dashboard's tracker cache; null when unknown. */
|
|
17319
|
+
readonly issueTitle: Schema.NullOr<Schema.String>;
|
|
17320
|
+
readonly parentId: Schema.NullOr<Schema.String>;
|
|
17321
|
+
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
17322
|
+
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
17323
|
+
readonly model: Schema.String;
|
|
17324
|
+
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
17325
|
+
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
17326
|
+
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
17327
|
+
readonly costUsd: Schema.NullOr<Schema.Number>;
|
|
17328
|
+
readonly source: Schema.Literals<readonly ["overdeck", "pane", "conversation", "claude-subagent", "codex-subagent", "registered", "codex-plugin"]>;
|
|
17329
|
+
readonly transcript: Schema.NullOr<Schema.Union<readonly [Schema.Struct<{
|
|
17330
|
+
readonly route: Schema.Literal<"agent">;
|
|
17331
|
+
readonly agentId: Schema.String;
|
|
17332
|
+
}>, Schema.Struct<{
|
|
17333
|
+
readonly route: Schema.Literal<"agent-subagent">;
|
|
17334
|
+
readonly agentId: Schema.String;
|
|
17335
|
+
readonly subagentId: Schema.String;
|
|
17336
|
+
}>, Schema.Struct<{
|
|
17337
|
+
readonly route: Schema.Literal<"conversation">;
|
|
17338
|
+
readonly conversationName: Schema.String;
|
|
17339
|
+
}>, Schema.Struct<{
|
|
17340
|
+
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17341
|
+
readonly conversationName: Schema.String;
|
|
17342
|
+
readonly subagentId: Schema.String;
|
|
17343
|
+
}>]>>;
|
|
17344
|
+
}>>;
|
|
17345
|
+
}>;
|
|
17346
|
+
type AgentDirectoryResponse = typeof AgentDirectoryResponse.Type;
|
|
17347
|
+
//#endregion
|
|
17348
|
+
//#region src/companion-terminal.d.ts
|
|
17349
|
+
/**
|
|
17350
|
+
* Companion terminal seam (PAN-3974, reused by PAN-3835).
|
|
17351
|
+
*
|
|
17352
|
+
* A companion terminal is a second terminal session, separate from the
|
|
17353
|
+
* conversation's own (owner) session, running a harness's native interactive
|
|
17354
|
+
* client attached to the owner's live runtime and exact session. Dashboard
|
|
17355
|
+
* delivery never goes through it; it exists so the operator can drive the
|
|
17356
|
+
* native CLI from the conversation TERMINAL view.
|
|
17357
|
+
*
|
|
17358
|
+
* This module is the shared vocabulary between the dashboard server lifecycle
|
|
17359
|
+
* (`src/lib/overdeck/companion-terminal/`) and the conversation UI
|
|
17360
|
+
* (`ConversationTerminalView.tsx`). Adding a harness means adding a kind here,
|
|
17361
|
+
* mapping it in `companionTerminalKindFor`, and registering a server adapter —
|
|
17362
|
+
* the lifecycle, routes, and UI stay unchanged.
|
|
17363
|
+
*/
|
|
17364
|
+
/** The native-client attach strategies Overdeck knows how to run. */
|
|
17365
|
+
type CompanionTerminalKind = /** `opencode attach <url> --session <id>` (PAN-3974). */"opencode-attach" /** `codex resume --remote unix://<socket> <threadId>` (PAN-3835). */ | "codex-resume-remote";
|
|
17366
|
+
/** Why a companion cannot be opened right now. */
|
|
17367
|
+
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";
|
|
17368
|
+
type CompanionTerminalState = {
|
|
17369
|
+
readonly status: "attached";
|
|
17370
|
+
readonly kind: CompanionTerminalKind; /** The terminal session to stream through `/ws/terminal?session=`. */
|
|
17371
|
+
readonly sessionName: string; /** Owner generation the companion was created for; required by Close. */
|
|
17372
|
+
readonly generation: string; /** True when an existing companion for this generation was reused. */
|
|
17373
|
+
readonly reused: boolean;
|
|
17374
|
+
} | {
|
|
17375
|
+
readonly status: "closed";
|
|
17376
|
+
readonly kind: CompanionTerminalKind;
|
|
17377
|
+
} | {
|
|
17378
|
+
readonly status: "unavailable";
|
|
17379
|
+
readonly kind: CompanionTerminalKind | null;
|
|
17380
|
+
readonly reason: CompanionTerminalUnavailableReason;
|
|
17381
|
+
readonly message: string;
|
|
17382
|
+
};
|
|
17383
|
+
/** The conversation fields the mapping reads. */
|
|
17384
|
+
interface CompanionTerminalOwnerShape {
|
|
17385
|
+
readonly harness?: string | null;
|
|
17386
|
+
}
|
|
17387
|
+
/**
|
|
17388
|
+
* Which companion terminal a conversation gets, or `null` for "keep the
|
|
17389
|
+
* owner pane as TERMINAL". A Codex conversation still on the legacy
|
|
17390
|
+
* `codex.transport: tui` runs the native TUI in its owner pane; the server
|
|
17391
|
+
* adapter reports that as `unsupported` and points at the runtime pane.
|
|
17392
|
+
*/
|
|
17393
|
+
declare function companionTerminalKindFor(conversation: CompanionTerminalOwnerShape): CompanionTerminalKind | null;
|
|
17394
|
+
/** Body keys each mutation accepts. Anything else is rejected as target injection. */
|
|
17395
|
+
declare const COMPANION_TERMINAL_OPEN_BODY_KEYS: ReadonlyArray<string>;
|
|
17396
|
+
declare const COMPANION_TERMINAL_CLOSE_BODY_KEYS: ReadonlyArray<string>;
|
|
17397
|
+
//#endregion
|
|
17398
|
+
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, 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, 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, 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, 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, companionTerminalKindFor, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
|
|
18157
17399
|
//# sourceMappingURL=index.d.ts.map
|