@overdeck/contracts 0.60.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.d.ts CHANGED
@@ -30,7 +30,7 @@ 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;
@@ -150,7 +150,7 @@ declare const AgentSnapshot: Schema.Struct<{
150
150
  readonly costSoFar: Schema.optional<Schema.Number>;
151
151
  readonly sessionId: Schema.optional<Schema.String>;
152
152
  readonly startedBy: Schema.optional<Schema.String>;
153
- 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"]>>;
154
154
  readonly phase: Schema.optional<Schema.String>;
155
155
  readonly workType: Schema.optional<Schema.String>;
156
156
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -348,7 +348,7 @@ declare const DashboardSnapshot: Schema.Struct<{
348
348
  readonly costSoFar: Schema.optional<Schema.Number>;
349
349
  readonly sessionId: Schema.optional<Schema.String>;
350
350
  readonly startedBy: Schema.optional<Schema.String>;
351
- 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"]>>;
352
352
  readonly phase: Schema.optional<Schema.String>;
353
353
  readonly workType: Schema.optional<Schema.String>;
354
354
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -414,6 +414,7 @@ declare const DashboardSnapshot: Schema.Struct<{
414
414
  }>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
415
415
  readonly backendPanes: Schema.$Array<Schema.Struct<{
416
416
  readonly id: Schema.String;
417
+ readonly agentId: Schema.optional<Schema.String>;
417
418
  readonly issue: Schema.optional<Schema.String>;
418
419
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
419
420
  readonly harness: Schema.String;
@@ -1055,7 +1056,7 @@ declare const AgentStartedEvent: Schema.Struct<{
1055
1056
  readonly costSoFar: Schema.optional<Schema.Number>;
1056
1057
  readonly sessionId: Schema.optional<Schema.String>;
1057
1058
  readonly startedBy: Schema.optional<Schema.String>;
1058
- 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"]>>;
1059
1060
  readonly phase: Schema.optional<Schema.String>;
1060
1061
  readonly workType: Schema.optional<Schema.String>;
1061
1062
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -1149,7 +1150,7 @@ declare const AgentCompletedEvent: Schema.Struct<{
1149
1150
  readonly issueId: Schema.String;
1150
1151
  readonly workspaceId: Schema.optional<Schema.String>;
1151
1152
  readonly agentId: Schema.optional<Schema.String>;
1152
- 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"]>>;
1153
1154
  }>;
1154
1155
  }>;
1155
1156
  type AgentCompletedEvent = typeof AgentCompletedEvent.Type;
@@ -1201,7 +1202,7 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
1201
1202
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
1202
1203
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
1203
1204
  readonly hostOverride: Schema.optional<Schema.Boolean>;
1204
- 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"]>>;
1205
1206
  readonly model: Schema.optional<Schema.String>;
1206
1207
  readonly workspace: Schema.optional<Schema.String>;
1207
1208
  readonly sessionId: Schema.optional<Schema.String>;
@@ -1248,7 +1249,7 @@ declare const AgentEnrichmentChangedEvent: Schema.Struct<{
1248
1249
  readonly agentId: Schema.String;
1249
1250
  readonly issueId: Schema.optional<Schema.String>;
1250
1251
  readonly workspaceId: Schema.optional<Schema.String>;
1251
- 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"]>>;
1252
1253
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
1253
1254
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
1254
1255
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -1300,7 +1301,7 @@ declare const AgentCreatedEvent: Schema.Struct<{
1300
1301
  readonly costSoFar: Schema.optional<Schema.Number>;
1301
1302
  readonly sessionId: Schema.optional<Schema.String>;
1302
1303
  readonly startedBy: Schema.optional<Schema.String>;
1303
- 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"]>>;
1304
1305
  readonly phase: Schema.optional<Schema.String>;
1305
1306
  readonly workType: Schema.optional<Schema.String>;
1306
1307
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -1704,6 +1705,7 @@ declare const BackendPaneChangedEvent: Schema.Struct<{
1704
1705
  readonly payload: Schema.Struct<{
1705
1706
  readonly pane: Schema.Struct<{
1706
1707
  readonly id: Schema.String;
1708
+ readonly agentId: Schema.optional<Schema.String>;
1707
1709
  readonly issue: Schema.optional<Schema.String>;
1708
1710
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
1709
1711
  readonly harness: Schema.String;
@@ -2032,7 +2034,7 @@ declare const SpecialistStartedEvent: Schema.Struct<{
2032
2034
  readonly sequence: Schema.Number;
2033
2035
  readonly timestamp: Schema.String;
2034
2036
  readonly payload: Schema.Struct<{
2035
- 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"]>;
2036
2038
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
2037
2039
  readonly isRunning: Schema.Boolean;
2038
2040
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -2046,7 +2048,7 @@ declare const SpecialistCompletedEvent: Schema.Struct<{
2046
2048
  readonly sequence: Schema.Number;
2047
2049
  readonly timestamp: Schema.String;
2048
2050
  readonly payload: Schema.Struct<{
2049
- 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"]>;
2050
2052
  readonly issueId: Schema.optional<Schema.String>;
2051
2053
  readonly workspaceId: Schema.optional<Schema.String>;
2052
2054
  }>;
@@ -2058,7 +2060,7 @@ declare const SpecialistFailedEvent: Schema.Struct<{
2058
2060
  readonly sequence: Schema.Number;
2059
2061
  readonly timestamp: Schema.String;
2060
2062
  readonly payload: Schema.Struct<{
2061
- 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"]>;
2062
2064
  readonly issueId: Schema.optional<Schema.String>;
2063
2065
  readonly workspaceId: Schema.optional<Schema.String>;
2064
2066
  readonly error: Schema.String;
@@ -2334,7 +2336,7 @@ declare const MemoryObservationCreatedEvent: Schema.Struct<{
2334
2336
  readonly issueId: Schema.NullOr<Schema.String>;
2335
2337
  readonly runId: Schema.String;
2336
2338
  readonly sessionId: Schema.String;
2337
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
2339
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
2338
2340
  readonly agentHarness: Schema.String;
2339
2341
  readonly gitBranch: Schema.String;
2340
2342
  readonly sourceTranscriptOffset: Schema.Number;
@@ -2444,7 +2446,7 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
2444
2446
  readonly issueId: Schema.NullOr<Schema.String>;
2445
2447
  readonly runId: Schema.String;
2446
2448
  readonly sessionId: Schema.String;
2447
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
2449
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
2448
2450
  readonly agentHarness: Schema.String;
2449
2451
  }>;
2450
2452
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -2754,7 +2756,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2754
2756
  readonly costSoFar: Schema.optional<Schema.Number>;
2755
2757
  readonly sessionId: Schema.optional<Schema.String>;
2756
2758
  readonly startedBy: Schema.optional<Schema.String>;
2757
- 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"]>>;
2758
2760
  readonly phase: Schema.optional<Schema.String>;
2759
2761
  readonly workType: Schema.optional<Schema.String>;
2760
2762
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -2808,7 +2810,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2808
2810
  readonly agentId: Schema.String;
2809
2811
  readonly issueId: Schema.optional<Schema.String>;
2810
2812
  readonly workspaceId: Schema.optional<Schema.String>;
2811
- 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"]>>;
2812
2814
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
2813
2815
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
2814
2816
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -2857,7 +2859,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2857
2859
  readonly costSoFar: Schema.optional<Schema.Number>;
2858
2860
  readonly sessionId: Schema.optional<Schema.String>;
2859
2861
  readonly startedBy: Schema.optional<Schema.String>;
2860
- 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"]>>;
2861
2863
  readonly phase: Schema.optional<Schema.String>;
2862
2864
  readonly workType: Schema.optional<Schema.String>;
2863
2865
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -2940,7 +2942,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2940
2942
  readonly issueId: Schema.String;
2941
2943
  readonly workspaceId: Schema.optional<Schema.String>;
2942
2944
  readonly agentId: Schema.optional<Schema.String>;
2943
- 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"]>>;
2944
2946
  }>;
2945
2947
  }>, Schema.Struct<{
2946
2948
  readonly type: Schema.Literal<"review.approved">;
@@ -2983,7 +2985,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2983
2985
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
2984
2986
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
2985
2987
  readonly hostOverride: Schema.optional<Schema.Boolean>;
2986
- 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"]>>;
2987
2989
  readonly model: Schema.optional<Schema.String>;
2988
2990
  readonly workspace: Schema.optional<Schema.String>;
2989
2991
  readonly sessionId: Schema.optional<Schema.String>;
@@ -3305,6 +3307,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3305
3307
  readonly payload: Schema.Struct<{
3306
3308
  readonly pane: Schema.Struct<{
3307
3309
  readonly id: Schema.String;
3310
+ readonly agentId: Schema.optional<Schema.String>;
3308
3311
  readonly issue: Schema.optional<Schema.String>;
3309
3312
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
3310
3313
  readonly harness: Schema.String;
@@ -3545,7 +3548,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3545
3548
  readonly sequence: Schema.Number;
3546
3549
  readonly timestamp: Schema.String;
3547
3550
  readonly payload: Schema.Struct<{
3548
- 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"]>;
3549
3552
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
3550
3553
  readonly isRunning: Schema.Boolean;
3551
3554
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -3556,7 +3559,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3556
3559
  readonly sequence: Schema.Number;
3557
3560
  readonly timestamp: Schema.String;
3558
3561
  readonly payload: Schema.Struct<{
3559
- 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"]>;
3560
3563
  readonly issueId: Schema.optional<Schema.String>;
3561
3564
  readonly workspaceId: Schema.optional<Schema.String>;
3562
3565
  }>;
@@ -3565,7 +3568,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3565
3568
  readonly sequence: Schema.Number;
3566
3569
  readonly timestamp: Schema.String;
3567
3570
  readonly payload: Schema.Struct<{
3568
- 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"]>;
3569
3572
  readonly issueId: Schema.optional<Schema.String>;
3570
3573
  readonly workspaceId: Schema.optional<Schema.String>;
3571
3574
  readonly error: Schema.String;
@@ -3711,7 +3714,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3711
3714
  readonly issueId: Schema.NullOr<Schema.String>;
3712
3715
  readonly runId: Schema.String;
3713
3716
  readonly sessionId: Schema.String;
3714
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3717
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
3715
3718
  readonly agentHarness: Schema.String;
3716
3719
  readonly gitBranch: Schema.String;
3717
3720
  readonly sourceTranscriptOffset: Schema.Number;
@@ -3813,7 +3816,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3813
3816
  readonly issueId: Schema.NullOr<Schema.String>;
3814
3817
  readonly runId: Schema.String;
3815
3818
  readonly sessionId: Schema.String;
3816
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
3819
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
3817
3820
  readonly agentHarness: Schema.String;
3818
3821
  }>;
3819
3822
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -4060,7 +4063,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
4060
4063
  type DomainEvent = typeof DomainEvent.Type;
4061
4064
  //#endregion
4062
4065
  //#region src/memory.d.ts
4063
- declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
4066
+ declare const MemoryAgentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
4064
4067
  type MemoryAgentRole = typeof MemoryAgentRole.Type;
4065
4068
  declare const MemoryIdentity: Schema.Struct<{
4066
4069
  readonly projectId: Schema.String;
@@ -4068,7 +4071,7 @@ declare const MemoryIdentity: Schema.Struct<{
4068
4071
  readonly issueId: Schema.NullOr<Schema.String>;
4069
4072
  readonly runId: Schema.String;
4070
4073
  readonly sessionId: Schema.String;
4071
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
4074
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
4072
4075
  readonly agentHarness: Schema.String;
4073
4076
  }>;
4074
4077
  type MemoryIdentity = typeof MemoryIdentity.Type;
@@ -4086,7 +4089,7 @@ declare const MemoryObservation: Schema.Struct<{
4086
4089
  readonly issueId: Schema.NullOr<Schema.String>;
4087
4090
  readonly runId: Schema.String;
4088
4091
  readonly sessionId: Schema.String;
4089
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
4092
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
4090
4093
  readonly agentHarness: Schema.String;
4091
4094
  readonly gitBranch: Schema.String;
4092
4095
  readonly sourceTranscriptOffset: Schema.Number;
@@ -4129,7 +4132,7 @@ declare const PendingTurn: Schema.Struct<{
4129
4132
  readonly issueId: Schema.NullOr<Schema.String>;
4130
4133
  readonly runId: Schema.String;
4131
4134
  readonly sessionId: Schema.String;
4132
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
4135
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
4133
4136
  readonly agentHarness: Schema.String;
4134
4137
  }>;
4135
4138
  readonly trigger: Schema.Literals<readonly ["stop-hook", "poller", "reconciliation", "manual"]>;
@@ -4169,7 +4172,7 @@ declare const RagDecision: Schema.Struct<{
4169
4172
  readonly issueId: Schema.NullOr<Schema.String>;
4170
4173
  readonly runId: Schema.String;
4171
4174
  readonly sessionId: Schema.String;
4172
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
4175
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
4173
4176
  readonly agentHarness: Schema.String;
4174
4177
  }>;
4175
4178
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -4583,7 +4586,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4583
4586
  readonly costSoFar: Schema.optional<Schema.Number>;
4584
4587
  readonly sessionId: Schema.optional<Schema.String>;
4585
4588
  readonly startedBy: Schema.optional<Schema.String>;
4586
- 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"]>>;
4587
4590
  readonly phase: Schema.optional<Schema.String>;
4588
4591
  readonly workType: Schema.optional<Schema.String>;
4589
4592
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -4637,7 +4640,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4637
4640
  readonly agentId: Schema.String;
4638
4641
  readonly issueId: Schema.optional<Schema.String>;
4639
4642
  readonly workspaceId: Schema.optional<Schema.String>;
4640
- 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"]>>;
4641
4644
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
4642
4645
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
4643
4646
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -4686,7 +4689,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4686
4689
  readonly costSoFar: Schema.optional<Schema.Number>;
4687
4690
  readonly sessionId: Schema.optional<Schema.String>;
4688
4691
  readonly startedBy: Schema.optional<Schema.String>;
4689
- 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"]>>;
4690
4693
  readonly phase: Schema.optional<Schema.String>;
4691
4694
  readonly workType: Schema.optional<Schema.String>;
4692
4695
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -4769,7 +4772,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4769
4772
  readonly issueId: Schema.String;
4770
4773
  readonly workspaceId: Schema.optional<Schema.String>;
4771
4774
  readonly agentId: Schema.optional<Schema.String>;
4772
- 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"]>>;
4773
4776
  }>;
4774
4777
  }>, Schema.Struct<{
4775
4778
  readonly type: Schema.Literal<"review.approved">;
@@ -4812,7 +4815,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4812
4815
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
4813
4816
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
4814
4817
  readonly hostOverride: Schema.optional<Schema.Boolean>;
4815
- 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"]>>;
4816
4819
  readonly model: Schema.optional<Schema.String>;
4817
4820
  readonly workspace: Schema.optional<Schema.String>;
4818
4821
  readonly sessionId: Schema.optional<Schema.String>;
@@ -5134,6 +5137,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5134
5137
  readonly payload: Schema.Struct<{
5135
5138
  readonly pane: Schema.Struct<{
5136
5139
  readonly id: Schema.String;
5140
+ readonly agentId: Schema.optional<Schema.String>;
5137
5141
  readonly issue: Schema.optional<Schema.String>;
5138
5142
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
5139
5143
  readonly harness: Schema.String;
@@ -5374,7 +5378,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5374
5378
  readonly sequence: Schema.Number;
5375
5379
  readonly timestamp: Schema.String;
5376
5380
  readonly payload: Schema.Struct<{
5377
- 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"]>;
5378
5382
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
5379
5383
  readonly isRunning: Schema.Boolean;
5380
5384
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -5385,7 +5389,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5385
5389
  readonly sequence: Schema.Number;
5386
5390
  readonly timestamp: Schema.String;
5387
5391
  readonly payload: Schema.Struct<{
5388
- 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"]>;
5389
5393
  readonly issueId: Schema.optional<Schema.String>;
5390
5394
  readonly workspaceId: Schema.optional<Schema.String>;
5391
5395
  }>;
@@ -5394,7 +5398,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5394
5398
  readonly sequence: Schema.Number;
5395
5399
  readonly timestamp: Schema.String;
5396
5400
  readonly payload: Schema.Struct<{
5397
- 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"]>;
5398
5402
  readonly issueId: Schema.optional<Schema.String>;
5399
5403
  readonly workspaceId: Schema.optional<Schema.String>;
5400
5404
  readonly error: Schema.String;
@@ -5540,7 +5544,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5540
5544
  readonly issueId: Schema.NullOr<Schema.String>;
5541
5545
  readonly runId: Schema.String;
5542
5546
  readonly sessionId: Schema.String;
5543
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
5547
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
5544
5548
  readonly agentHarness: Schema.String;
5545
5549
  readonly gitBranch: Schema.String;
5546
5550
  readonly sourceTranscriptOffset: Schema.Number;
@@ -5642,7 +5646,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5642
5646
  readonly issueId: Schema.NullOr<Schema.String>;
5643
5647
  readonly runId: Schema.String;
5644
5648
  readonly sessionId: Schema.String;
5645
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
5649
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
5646
5650
  readonly agentHarness: Schema.String;
5647
5651
  }>;
5648
5652
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -5976,7 +5980,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5976
5980
  readonly costSoFar: Schema.optional<Schema.Number>;
5977
5981
  readonly sessionId: Schema.optional<Schema.String>;
5978
5982
  readonly startedBy: Schema.optional<Schema.String>;
5979
- 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"]>>;
5980
5984
  readonly phase: Schema.optional<Schema.String>;
5981
5985
  readonly workType: Schema.optional<Schema.String>;
5982
5986
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -6030,7 +6034,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6030
6034
  readonly agentId: Schema.String;
6031
6035
  readonly issueId: Schema.optional<Schema.String>;
6032
6036
  readonly workspaceId: Schema.optional<Schema.String>;
6033
- 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"]>>;
6034
6038
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
6035
6039
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
6036
6040
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -6079,7 +6083,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6079
6083
  readonly costSoFar: Schema.optional<Schema.Number>;
6080
6084
  readonly sessionId: Schema.optional<Schema.String>;
6081
6085
  readonly startedBy: Schema.optional<Schema.String>;
6082
- 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"]>>;
6083
6087
  readonly phase: Schema.optional<Schema.String>;
6084
6088
  readonly workType: Schema.optional<Schema.String>;
6085
6089
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -6162,7 +6166,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6162
6166
  readonly issueId: Schema.String;
6163
6167
  readonly workspaceId: Schema.optional<Schema.String>;
6164
6168
  readonly agentId: Schema.optional<Schema.String>;
6165
- 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"]>>;
6166
6170
  }>;
6167
6171
  }>, Schema.Struct<{
6168
6172
  readonly type: Schema.Literal<"review.approved">;
@@ -6205,7 +6209,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6205
6209
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
6206
6210
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
6207
6211
  readonly hostOverride: Schema.optional<Schema.Boolean>;
6208
- 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"]>>;
6209
6213
  readonly model: Schema.optional<Schema.String>;
6210
6214
  readonly workspace: Schema.optional<Schema.String>;
6211
6215
  readonly sessionId: Schema.optional<Schema.String>;
@@ -6527,6 +6531,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6527
6531
  readonly payload: Schema.Struct<{
6528
6532
  readonly pane: Schema.Struct<{
6529
6533
  readonly id: Schema.String;
6534
+ readonly agentId: Schema.optional<Schema.String>;
6530
6535
  readonly issue: Schema.optional<Schema.String>;
6531
6536
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
6532
6537
  readonly harness: Schema.String;
@@ -6767,7 +6772,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6767
6772
  readonly sequence: Schema.Number;
6768
6773
  readonly timestamp: Schema.String;
6769
6774
  readonly payload: Schema.Struct<{
6770
- 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"]>;
6771
6776
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
6772
6777
  readonly isRunning: Schema.Boolean;
6773
6778
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -6778,7 +6783,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6778
6783
  readonly sequence: Schema.Number;
6779
6784
  readonly timestamp: Schema.String;
6780
6785
  readonly payload: Schema.Struct<{
6781
- 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"]>;
6782
6787
  readonly issueId: Schema.optional<Schema.String>;
6783
6788
  readonly workspaceId: Schema.optional<Schema.String>;
6784
6789
  }>;
@@ -6787,7 +6792,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6787
6792
  readonly sequence: Schema.Number;
6788
6793
  readonly timestamp: Schema.String;
6789
6794
  readonly payload: Schema.Struct<{
6790
- 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"]>;
6791
6796
  readonly issueId: Schema.optional<Schema.String>;
6792
6797
  readonly workspaceId: Schema.optional<Schema.String>;
6793
6798
  readonly error: Schema.String;
@@ -6933,7 +6938,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6933
6938
  readonly issueId: Schema.NullOr<Schema.String>;
6934
6939
  readonly runId: Schema.String;
6935
6940
  readonly sessionId: Schema.String;
6936
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
6941
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
6937
6942
  readonly agentHarness: Schema.String;
6938
6943
  readonly gitBranch: Schema.String;
6939
6944
  readonly sourceTranscriptOffset: Schema.Number;
@@ -7035,7 +7040,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7035
7040
  readonly issueId: Schema.NullOr<Schema.String>;
7036
7041
  readonly runId: Schema.String;
7037
7042
  readonly sessionId: Schema.String;
7038
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
7043
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
7039
7044
  readonly agentHarness: Schema.String;
7040
7045
  }>;
7041
7046
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -7311,7 +7316,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
7311
7316
  readonly costSoFar: Schema.optional<Schema.Number>;
7312
7317
  readonly sessionId: Schema.optional<Schema.String>;
7313
7318
  readonly startedBy: Schema.optional<Schema.String>;
7314
- 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"]>>;
7315
7320
  readonly phase: Schema.optional<Schema.String>;
7316
7321
  readonly workType: Schema.optional<Schema.String>;
7317
7322
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -7377,6 +7382,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
7377
7382
  }>>;
7378
7383
  readonly backendPanes: Schema.$Array<Schema.Struct<{
7379
7384
  readonly id: Schema.String;
7385
+ readonly agentId: Schema.optional<Schema.String>;
7380
7386
  readonly issue: Schema.optional<Schema.String>;
7381
7387
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
7382
7388
  readonly harness: Schema.String;
@@ -7590,7 +7596,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7590
7596
  readonly costSoFar: Schema.optional<Schema.Number>;
7591
7597
  readonly sessionId: Schema.optional<Schema.String>;
7592
7598
  readonly startedBy: Schema.optional<Schema.String>;
7593
- 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"]>>;
7594
7600
  readonly phase: Schema.optional<Schema.String>;
7595
7601
  readonly workType: Schema.optional<Schema.String>;
7596
7602
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -7644,7 +7650,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7644
7650
  readonly agentId: Schema.String;
7645
7651
  readonly issueId: Schema.optional<Schema.String>;
7646
7652
  readonly workspaceId: Schema.optional<Schema.String>;
7647
- 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"]>>;
7648
7654
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
7649
7655
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
7650
7656
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -7693,7 +7699,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7693
7699
  readonly costSoFar: Schema.optional<Schema.Number>;
7694
7700
  readonly sessionId: Schema.optional<Schema.String>;
7695
7701
  readonly startedBy: Schema.optional<Schema.String>;
7696
- 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"]>>;
7697
7703
  readonly phase: Schema.optional<Schema.String>;
7698
7704
  readonly workType: Schema.optional<Schema.String>;
7699
7705
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -7776,7 +7782,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7776
7782
  readonly issueId: Schema.String;
7777
7783
  readonly workspaceId: Schema.optional<Schema.String>;
7778
7784
  readonly agentId: Schema.optional<Schema.String>;
7779
- 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"]>>;
7780
7786
  }>;
7781
7787
  }>, Schema.Struct<{
7782
7788
  readonly type: Schema.Literal<"review.approved">;
@@ -7819,7 +7825,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7819
7825
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
7820
7826
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
7821
7827
  readonly hostOverride: Schema.optional<Schema.Boolean>;
7822
- 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"]>>;
7823
7829
  readonly model: Schema.optional<Schema.String>;
7824
7830
  readonly workspace: Schema.optional<Schema.String>;
7825
7831
  readonly sessionId: Schema.optional<Schema.String>;
@@ -8141,6 +8147,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8141
8147
  readonly payload: Schema.Struct<{
8142
8148
  readonly pane: Schema.Struct<{
8143
8149
  readonly id: Schema.String;
8150
+ readonly agentId: Schema.optional<Schema.String>;
8144
8151
  readonly issue: Schema.optional<Schema.String>;
8145
8152
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
8146
8153
  readonly harness: Schema.String;
@@ -8381,7 +8388,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8381
8388
  readonly sequence: Schema.Number;
8382
8389
  readonly timestamp: Schema.String;
8383
8390
  readonly payload: Schema.Struct<{
8384
- 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"]>;
8385
8392
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
8386
8393
  readonly isRunning: Schema.Boolean;
8387
8394
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -8392,7 +8399,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8392
8399
  readonly sequence: Schema.Number;
8393
8400
  readonly timestamp: Schema.String;
8394
8401
  readonly payload: Schema.Struct<{
8395
- 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"]>;
8396
8403
  readonly issueId: Schema.optional<Schema.String>;
8397
8404
  readonly workspaceId: Schema.optional<Schema.String>;
8398
8405
  }>;
@@ -8401,7 +8408,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8401
8408
  readonly sequence: Schema.Number;
8402
8409
  readonly timestamp: Schema.String;
8403
8410
  readonly payload: Schema.Struct<{
8404
- 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"]>;
8405
8412
  readonly issueId: Schema.optional<Schema.String>;
8406
8413
  readonly workspaceId: Schema.optional<Schema.String>;
8407
8414
  readonly error: Schema.String;
@@ -8547,7 +8554,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8547
8554
  readonly issueId: Schema.NullOr<Schema.String>;
8548
8555
  readonly runId: Schema.String;
8549
8556
  readonly sessionId: Schema.String;
8550
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
8557
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
8551
8558
  readonly agentHarness: Schema.String;
8552
8559
  readonly gitBranch: Schema.String;
8553
8560
  readonly sourceTranscriptOffset: Schema.Number;
@@ -8649,7 +8656,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
8649
8656
  readonly issueId: Schema.NullOr<Schema.String>;
8650
8657
  readonly runId: Schema.String;
8651
8658
  readonly sessionId: Schema.String;
8652
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
8659
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
8653
8660
  readonly agentHarness: Schema.String;
8654
8661
  }>;
8655
8662
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -9677,7 +9684,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9677
9684
  readonly costSoFar: Schema.optional<Schema.Number>;
9678
9685
  readonly sessionId: Schema.optional<Schema.String>;
9679
9686
  readonly startedBy: Schema.optional<Schema.String>;
9680
- 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"]>>;
9681
9688
  readonly phase: Schema.optional<Schema.String>;
9682
9689
  readonly workType: Schema.optional<Schema.String>;
9683
9690
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -9731,7 +9738,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9731
9738
  readonly agentId: Schema.String;
9732
9739
  readonly issueId: Schema.optional<Schema.String>;
9733
9740
  readonly workspaceId: Schema.optional<Schema.String>;
9734
- 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"]>>;
9735
9742
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
9736
9743
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
9737
9744
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -9780,7 +9787,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9780
9787
  readonly costSoFar: Schema.optional<Schema.Number>;
9781
9788
  readonly sessionId: Schema.optional<Schema.String>;
9782
9789
  readonly startedBy: Schema.optional<Schema.String>;
9783
- 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"]>>;
9784
9791
  readonly phase: Schema.optional<Schema.String>;
9785
9792
  readonly workType: Schema.optional<Schema.String>;
9786
9793
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -9863,7 +9870,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9863
9870
  readonly issueId: Schema.String;
9864
9871
  readonly workspaceId: Schema.optional<Schema.String>;
9865
9872
  readonly agentId: Schema.optional<Schema.String>;
9866
- 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"]>>;
9867
9874
  }>;
9868
9875
  }>, Schema.Struct<{
9869
9876
  readonly type: Schema.Literal<"review.approved">;
@@ -9906,7 +9913,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9906
9913
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
9907
9914
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
9908
9915
  readonly hostOverride: Schema.optional<Schema.Boolean>;
9909
- 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"]>>;
9910
9917
  readonly model: Schema.optional<Schema.String>;
9911
9918
  readonly workspace: Schema.optional<Schema.String>;
9912
9919
  readonly sessionId: Schema.optional<Schema.String>;
@@ -10228,6 +10235,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10228
10235
  readonly payload: Schema.Struct<{
10229
10236
  readonly pane: Schema.Struct<{
10230
10237
  readonly id: Schema.String;
10238
+ readonly agentId: Schema.optional<Schema.String>;
10231
10239
  readonly issue: Schema.optional<Schema.String>;
10232
10240
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
10233
10241
  readonly harness: Schema.String;
@@ -10468,7 +10476,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10468
10476
  readonly sequence: Schema.Number;
10469
10477
  readonly timestamp: Schema.String;
10470
10478
  readonly payload: Schema.Struct<{
10471
- 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"]>;
10472
10480
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
10473
10481
  readonly isRunning: Schema.Boolean;
10474
10482
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -10479,7 +10487,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10479
10487
  readonly sequence: Schema.Number;
10480
10488
  readonly timestamp: Schema.String;
10481
10489
  readonly payload: Schema.Struct<{
10482
- 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"]>;
10483
10491
  readonly issueId: Schema.optional<Schema.String>;
10484
10492
  readonly workspaceId: Schema.optional<Schema.String>;
10485
10493
  }>;
@@ -10488,7 +10496,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10488
10496
  readonly sequence: Schema.Number;
10489
10497
  readonly timestamp: Schema.String;
10490
10498
  readonly payload: Schema.Struct<{
10491
- 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"]>;
10492
10500
  readonly issueId: Schema.optional<Schema.String>;
10493
10501
  readonly workspaceId: Schema.optional<Schema.String>;
10494
10502
  readonly error: Schema.String;
@@ -10634,7 +10642,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10634
10642
  readonly issueId: Schema.NullOr<Schema.String>;
10635
10643
  readonly runId: Schema.String;
10636
10644
  readonly sessionId: Schema.String;
10637
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
10645
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
10638
10646
  readonly agentHarness: Schema.String;
10639
10647
  readonly gitBranch: Schema.String;
10640
10648
  readonly sourceTranscriptOffset: Schema.Number;
@@ -10736,7 +10744,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10736
10744
  readonly issueId: Schema.NullOr<Schema.String>;
10737
10745
  readonly runId: Schema.String;
10738
10746
  readonly sessionId: Schema.String;
10739
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
10747
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
10740
10748
  readonly agentHarness: Schema.String;
10741
10749
  }>;
10742
10750
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -11068,7 +11076,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11068
11076
  readonly costSoFar: Schema.optional<Schema.Number>;
11069
11077
  readonly sessionId: Schema.optional<Schema.String>;
11070
11078
  readonly startedBy: Schema.optional<Schema.String>;
11071
- 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"]>>;
11072
11080
  readonly phase: Schema.optional<Schema.String>;
11073
11081
  readonly workType: Schema.optional<Schema.String>;
11074
11082
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -11122,7 +11130,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11122
11130
  readonly agentId: Schema.String;
11123
11131
  readonly issueId: Schema.optional<Schema.String>;
11124
11132
  readonly workspaceId: Schema.optional<Schema.String>;
11125
- 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"]>>;
11126
11134
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
11127
11135
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
11128
11136
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -11171,7 +11179,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11171
11179
  readonly costSoFar: Schema.optional<Schema.Number>;
11172
11180
  readonly sessionId: Schema.optional<Schema.String>;
11173
11181
  readonly startedBy: Schema.optional<Schema.String>;
11174
- 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"]>>;
11175
11183
  readonly phase: Schema.optional<Schema.String>;
11176
11184
  readonly workType: Schema.optional<Schema.String>;
11177
11185
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -11254,7 +11262,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11254
11262
  readonly issueId: Schema.String;
11255
11263
  readonly workspaceId: Schema.optional<Schema.String>;
11256
11264
  readonly agentId: Schema.optional<Schema.String>;
11257
- 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"]>>;
11258
11266
  }>;
11259
11267
  }>, Schema.Struct<{
11260
11268
  readonly type: Schema.Literal<"review.approved">;
@@ -11297,7 +11305,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11297
11305
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
11298
11306
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
11299
11307
  readonly hostOverride: Schema.optional<Schema.Boolean>;
11300
- 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"]>>;
11301
11309
  readonly model: Schema.optional<Schema.String>;
11302
11310
  readonly workspace: Schema.optional<Schema.String>;
11303
11311
  readonly sessionId: Schema.optional<Schema.String>;
@@ -11619,6 +11627,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11619
11627
  readonly payload: Schema.Struct<{
11620
11628
  readonly pane: Schema.Struct<{
11621
11629
  readonly id: Schema.String;
11630
+ readonly agentId: Schema.optional<Schema.String>;
11622
11631
  readonly issue: Schema.optional<Schema.String>;
11623
11632
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
11624
11633
  readonly harness: Schema.String;
@@ -11859,7 +11868,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11859
11868
  readonly sequence: Schema.Number;
11860
11869
  readonly timestamp: Schema.String;
11861
11870
  readonly payload: Schema.Struct<{
11862
- 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"]>;
11863
11872
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
11864
11873
  readonly isRunning: Schema.Boolean;
11865
11874
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -11870,7 +11879,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11870
11879
  readonly sequence: Schema.Number;
11871
11880
  readonly timestamp: Schema.String;
11872
11881
  readonly payload: Schema.Struct<{
11873
- 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"]>;
11874
11883
  readonly issueId: Schema.optional<Schema.String>;
11875
11884
  readonly workspaceId: Schema.optional<Schema.String>;
11876
11885
  }>;
@@ -11879,7 +11888,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11879
11888
  readonly sequence: Schema.Number;
11880
11889
  readonly timestamp: Schema.String;
11881
11890
  readonly payload: Schema.Struct<{
11882
- 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"]>;
11883
11892
  readonly issueId: Schema.optional<Schema.String>;
11884
11893
  readonly workspaceId: Schema.optional<Schema.String>;
11885
11894
  readonly error: Schema.String;
@@ -12025,7 +12034,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12025
12034
  readonly issueId: Schema.NullOr<Schema.String>;
12026
12035
  readonly runId: Schema.String;
12027
12036
  readonly sessionId: Schema.String;
12028
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
12037
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
12029
12038
  readonly agentHarness: Schema.String;
12030
12039
  readonly gitBranch: Schema.String;
12031
12040
  readonly sourceTranscriptOffset: Schema.Number;
@@ -12127,7 +12136,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12127
12136
  readonly issueId: Schema.NullOr<Schema.String>;
12128
12137
  readonly runId: Schema.String;
12129
12138
  readonly sessionId: Schema.String;
12130
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
12139
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
12131
12140
  readonly agentHarness: Schema.String;
12132
12141
  }>;
12133
12142
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -12397,7 +12406,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12397
12406
  readonly costSoFar: Schema.optional<Schema.Number>;
12398
12407
  readonly sessionId: Schema.optional<Schema.String>;
12399
12408
  readonly startedBy: Schema.optional<Schema.String>;
12400
- 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"]>>;
12401
12410
  readonly phase: Schema.optional<Schema.String>;
12402
12411
  readonly workType: Schema.optional<Schema.String>;
12403
12412
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -12463,6 +12472,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12463
12472
  }>>;
12464
12473
  readonly backendPanes: Schema.$Array<Schema.Struct<{
12465
12474
  readonly id: Schema.String;
12475
+ readonly agentId: Schema.optional<Schema.String>;
12466
12476
  readonly issue: Schema.optional<Schema.String>;
12467
12477
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
12468
12478
  readonly harness: Schema.String;
@@ -12674,7 +12684,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12674
12684
  readonly costSoFar: Schema.optional<Schema.Number>;
12675
12685
  readonly sessionId: Schema.optional<Schema.String>;
12676
12686
  readonly startedBy: Schema.optional<Schema.String>;
12677
- 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"]>>;
12678
12688
  readonly phase: Schema.optional<Schema.String>;
12679
12689
  readonly workType: Schema.optional<Schema.String>;
12680
12690
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -12728,7 +12738,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12728
12738
  readonly agentId: Schema.String;
12729
12739
  readonly issueId: Schema.optional<Schema.String>;
12730
12740
  readonly workspaceId: Schema.optional<Schema.String>;
12731
- 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"]>>;
12732
12742
  readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
12733
12743
  readonly pendingQuestionCount: Schema.optional<Schema.Number>;
12734
12744
  readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
@@ -12777,7 +12787,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12777
12787
  readonly costSoFar: Schema.optional<Schema.Number>;
12778
12788
  readonly sessionId: Schema.optional<Schema.String>;
12779
12789
  readonly startedBy: Schema.optional<Schema.String>;
12780
- 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"]>>;
12781
12791
  readonly phase: Schema.optional<Schema.String>;
12782
12792
  readonly workType: Schema.optional<Schema.String>;
12783
12793
  readonly roleRunHead: Schema.optional<Schema.String>;
@@ -12860,7 +12870,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12860
12870
  readonly issueId: Schema.String;
12861
12871
  readonly workspaceId: Schema.optional<Schema.String>;
12862
12872
  readonly agentId: Schema.optional<Schema.String>;
12863
- 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"]>>;
12864
12874
  }>;
12865
12875
  }>, Schema.Struct<{
12866
12876
  readonly type: Schema.Literal<"review.approved">;
@@ -12903,7 +12913,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12903
12913
  readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
12904
12914
  readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
12905
12915
  readonly hostOverride: Schema.optional<Schema.Boolean>;
12906
- 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"]>>;
12907
12917
  readonly model: Schema.optional<Schema.String>;
12908
12918
  readonly workspace: Schema.optional<Schema.String>;
12909
12919
  readonly sessionId: Schema.optional<Schema.String>;
@@ -13225,6 +13235,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13225
13235
  readonly payload: Schema.Struct<{
13226
13236
  readonly pane: Schema.Struct<{
13227
13237
  readonly id: Schema.String;
13238
+ readonly agentId: Schema.optional<Schema.String>;
13228
13239
  readonly issue: Schema.optional<Schema.String>;
13229
13240
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
13230
13241
  readonly harness: Schema.String;
@@ -13465,7 +13476,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13465
13476
  readonly sequence: Schema.Number;
13466
13477
  readonly timestamp: Schema.String;
13467
13478
  readonly payload: Schema.Struct<{
13468
- 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"]>;
13469
13480
  readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
13470
13481
  readonly isRunning: Schema.Boolean;
13471
13482
  readonly currentIssue: Schema.optional<Schema.String>;
@@ -13476,7 +13487,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13476
13487
  readonly sequence: Schema.Number;
13477
13488
  readonly timestamp: Schema.String;
13478
13489
  readonly payload: Schema.Struct<{
13479
- 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"]>;
13480
13491
  readonly issueId: Schema.optional<Schema.String>;
13481
13492
  readonly workspaceId: Schema.optional<Schema.String>;
13482
13493
  }>;
@@ -13485,7 +13496,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13485
13496
  readonly sequence: Schema.Number;
13486
13497
  readonly timestamp: Schema.String;
13487
13498
  readonly payload: Schema.Struct<{
13488
- 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"]>;
13489
13500
  readonly issueId: Schema.optional<Schema.String>;
13490
13501
  readonly workspaceId: Schema.optional<Schema.String>;
13491
13502
  readonly error: Schema.String;
@@ -13631,7 +13642,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13631
13642
  readonly issueId: Schema.NullOr<Schema.String>;
13632
13643
  readonly runId: Schema.String;
13633
13644
  readonly sessionId: Schema.String;
13634
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
13645
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
13635
13646
  readonly agentHarness: Schema.String;
13636
13647
  readonly gitBranch: Schema.String;
13637
13648
  readonly sourceTranscriptOffset: Schema.Number;
@@ -13733,7 +13744,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13733
13744
  readonly issueId: Schema.NullOr<Schema.String>;
13734
13745
  readonly runId: Schema.String;
13735
13746
  readonly sessionId: Schema.String;
13736
- readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge"]>, Schema.Literal<"conversation">]>;
13747
+ readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
13737
13748
  readonly agentHarness: Schema.String;
13738
13749
  }>;
13739
13750
  readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
@@ -14616,7 +14627,8 @@ declare function isIssueAttention(value: unknown): value is IssueAttention;
14616
14627
  //#endregion
14617
14628
  //#region src/backend-pane.d.ts
14618
14629
  declare const BackendPane: Schema.Struct<{
14619
- /** Stable pane identity: the backend-native pane handle. */readonly id: Schema.String; /** Issue the pane belongs to; absent for operator conversations. */
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. */
14620
14632
  readonly issue: Schema.optional<Schema.String>;
14621
14633
  readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
14622
14634
  readonly harness: Schema.String;
@@ -15170,465 +15182,348 @@ declare const FlywheelStatsCriterionStatus: Schema.Literals<readonly ["green", "
15170
15182
  type FlywheelStatsCriterionStatus = typeof FlywheelStatsCriterionStatus.Type;
15171
15183
  declare const FlywheelStatsTrend: Schema.Literals<readonly ["up", "down", "flat"]>;
15172
15184
  type FlywheelStatsTrend = typeof FlywheelStatsTrend.Type;
15173
- declare const FlywheelStatsCriterionValueObject: Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>;
15174
- type FlywheelStatsCriterionValueObject = typeof FlywheelStatsCriterionValueObject.Type;
15175
- declare const FlywheelStatsCriterionValue: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15176
- type FlywheelStatsCriterionValue = typeof FlywheelStatsCriterionValue.Type;
15177
- interface FlywheelStatsCriterion {
15178
- label: string;
15179
- value: FlywheelStatsCriterionValue;
15180
- target: FlywheelStatsCriterionValue;
15181
- status: FlywheelStatsCriterionStatus;
15182
- trend?: FlywheelStatsTrend | undefined;
15183
- sampleSize: number;
15184
- dataSufficient: boolean;
15185
- }
15186
- declare const FlywheelStatsCriterion: Schema.Struct<{
15187
- readonly label: Schema.String;
15188
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15189
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
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;
15190
15198
  readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15191
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15192
- readonly sampleSize: Schema.Number;
15199
+ readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
15193
15200
  readonly dataSufficient: Schema.Boolean;
15194
15201
  }>;
15195
- interface FlywheelStatsCriteria {
15196
- c1_bugRate: FlywheelStatsCriterion;
15197
- c2_p0Bugs: FlywheelStatsCriterion;
15198
- c3_passRate: FlywheelStatsCriterion;
15199
- c4_mttr: FlywheelStatsCriterion;
15200
- c5_intervention: FlywheelStatsCriterion;
15201
- c6_timeConsistency: FlywheelStatsCriterion;
15202
- c7_flake: FlywheelStatsCriterion;
15203
- }
15204
- declare const FlywheelStatsCriteria: Schema.Struct<{
15205
- readonly c1_bugRate: Schema.Struct<{
15206
- readonly label: Schema.String;
15207
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15208
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15209
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15210
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15211
- readonly sampleSize: Schema.Number;
15212
- readonly dataSufficient: Schema.Boolean;
15213
- }>;
15214
- readonly c2_p0Bugs: Schema.Struct<{
15215
- readonly label: Schema.String;
15216
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15217
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15218
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15219
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15220
- readonly sampleSize: Schema.Number;
15221
- readonly dataSufficient: Schema.Boolean;
15222
- }>;
15223
- readonly c3_passRate: Schema.Struct<{
15224
- readonly label: Schema.String;
15225
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15226
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15227
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15228
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15229
- readonly sampleSize: Schema.Number;
15230
- readonly dataSufficient: Schema.Boolean;
15231
- }>;
15232
- readonly c4_mttr: Schema.Struct<{
15233
- readonly label: Schema.String;
15234
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15235
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15236
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15237
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15238
- readonly sampleSize: Schema.Number;
15239
- readonly dataSufficient: Schema.Boolean;
15240
- }>;
15241
- readonly c5_intervention: Schema.Struct<{
15242
- readonly label: Schema.String;
15243
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15244
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15245
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15246
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15247
- readonly sampleSize: Schema.Number;
15248
- readonly dataSufficient: Schema.Boolean;
15249
- }>;
15250
- readonly c6_timeConsistency: Schema.Struct<{
15251
- readonly label: Schema.String;
15252
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15253
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15254
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15255
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15256
- readonly sampleSize: Schema.Number;
15257
- readonly dataSufficient: Schema.Boolean;
15258
- }>;
15259
- readonly c7_flake: Schema.Struct<{
15260
- readonly label: Schema.String;
15261
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15262
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15263
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15264
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15265
- readonly sampleSize: Schema.Number;
15266
- readonly dataSufficient: Schema.Boolean;
15267
- }>;
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;
15268
15209
  }>;
15269
- interface FlywheelStats {
15270
- window: string;
15271
- generatedAt: string;
15272
- criteria: FlywheelStatsCriteria;
15273
- }
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;
15274
15219
  declare const FlywheelStats: Schema.Struct<{
15275
- readonly window: Schema.String;
15220
+ readonly window: Schema.Struct<{
15221
+ readonly days: Schema.Number;
15222
+ readonly since: Schema.String;
15223
+ readonly until: Schema.String;
15224
+ }>;
15276
15225
  readonly generatedAt: Schema.String;
15277
15226
  readonly criteria: Schema.Struct<{
15278
15227
  readonly c1_bugRate: Schema.Struct<{
15279
- readonly label: Schema.String;
15280
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15281
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
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;
15282
15231
  readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15283
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15284
- readonly sampleSize: Schema.Number;
15232
+ readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
15285
15233
  readonly dataSufficient: Schema.Boolean;
15286
15234
  }>;
15287
15235
  readonly c2_p0Bugs: Schema.Struct<{
15288
- readonly label: Schema.String;
15289
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15290
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15291
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15292
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15293
- readonly sampleSize: Schema.Number;
15294
- readonly dataSufficient: Schema.Boolean;
15295
- }>;
15296
- readonly c3_passRate: Schema.Struct<{
15297
- readonly label: Schema.String;
15298
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15299
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15300
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15301
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15302
- readonly sampleSize: Schema.Number;
15303
- readonly dataSufficient: Schema.Boolean;
15304
- }>;
15305
- readonly c4_mttr: Schema.Struct<{
15306
- readonly label: Schema.String;
15307
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15308
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15236
+ readonly value: Schema.Number;
15309
15237
  readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15310
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15311
- readonly sampleSize: Schema.Number;
15312
- readonly dataSufficient: Schema.Boolean;
15313
- }>;
15314
- readonly c5_intervention: Schema.Struct<{
15315
- readonly label: Schema.String;
15316
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15317
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15318
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15319
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15320
- readonly sampleSize: Schema.Number;
15321
- readonly dataSufficient: Schema.Boolean;
15322
- }>;
15323
- readonly c6_timeConsistency: Schema.Struct<{
15324
- readonly label: Schema.String;
15325
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15326
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15327
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15328
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15329
- readonly sampleSize: Schema.Number;
15330
- readonly dataSufficient: Schema.Boolean;
15331
- }>;
15332
- readonly c7_flake: Schema.Struct<{
15333
- readonly label: Schema.String;
15334
- readonly value: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15335
- readonly target: Schema.Union<readonly [Schema.Number, Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>]>;
15336
- readonly status: Schema.Literals<readonly ["green", "yellow", "red", "insufficient_data"]>;
15337
- readonly trend: Schema.optional<Schema.Literals<readonly ["up", "down", "flat"]>>;
15338
- readonly sampleSize: Schema.Number;
15238
+ readonly trend: Schema.Literals<readonly ["up", "down", "flat"]>;
15339
15239
  readonly dataSufficient: Schema.Boolean;
15340
15240
  }>;
15341
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
+ }>>;
15342
15249
  }>;
15250
+ type FlywheelStats = typeof FlywheelStats.Type;
15343
15251
  declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
15344
- readonly window: string;
15252
+ readonly window: {
15253
+ readonly days: number;
15254
+ readonly since: string;
15255
+ readonly until: string;
15256
+ };
15345
15257
  readonly generatedAt: string;
15346
15258
  readonly criteria: {
15347
15259
  readonly c1_bugRate: {
15348
- readonly label: string;
15349
- readonly value: number | {
15350
- readonly [x: string]: Schema.Json;
15351
- };
15352
- readonly target: number | {
15353
- readonly [x: string]: Schema.Json;
15354
- };
15260
+ readonly value: number | null;
15261
+ readonly count: number;
15262
+ readonly denominator: number;
15355
15263
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15356
- readonly sampleSize: number;
15264
+ readonly trend: "flat" | "up" | "down";
15357
15265
  readonly dataSufficient: boolean;
15358
- readonly trend?: "flat" | "up" | "down" | undefined;
15359
15266
  };
15360
15267
  readonly c2_p0Bugs: {
15361
- readonly label: string;
15362
- readonly value: number | {
15363
- readonly [x: string]: Schema.Json;
15364
- };
15365
- readonly target: number | {
15366
- readonly [x: string]: Schema.Json;
15367
- };
15368
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15369
- readonly sampleSize: number;
15370
- readonly dataSufficient: boolean;
15371
- readonly trend?: "flat" | "up" | "down" | undefined;
15372
- };
15373
- readonly c3_passRate: {
15374
- readonly label: string;
15375
- readonly value: number | {
15376
- readonly [x: string]: Schema.Json;
15377
- };
15378
- readonly target: number | {
15379
- readonly [x: string]: Schema.Json;
15380
- };
15381
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15382
- readonly sampleSize: number;
15383
- readonly dataSufficient: boolean;
15384
- readonly trend?: "flat" | "up" | "down" | undefined;
15385
- };
15386
- readonly c4_mttr: {
15387
- readonly label: string;
15388
- readonly value: number | {
15389
- readonly [x: string]: Schema.Json;
15390
- };
15391
- readonly target: number | {
15392
- readonly [x: string]: Schema.Json;
15393
- };
15394
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15395
- readonly sampleSize: number;
15396
- readonly dataSufficient: boolean;
15397
- readonly trend?: "flat" | "up" | "down" | undefined;
15398
- };
15399
- readonly c5_intervention: {
15400
- readonly label: string;
15401
- readonly value: number | {
15402
- readonly [x: string]: Schema.Json;
15403
- };
15404
- readonly target: number | {
15405
- readonly [x: string]: Schema.Json;
15406
- };
15407
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15408
- readonly sampleSize: number;
15409
- readonly dataSufficient: boolean;
15410
- readonly trend?: "flat" | "up" | "down" | undefined;
15411
- };
15412
- readonly c6_timeConsistency: {
15413
- readonly label: string;
15414
- readonly value: number | {
15415
- readonly [x: string]: Schema.Json;
15416
- };
15417
- readonly target: number | {
15418
- readonly [x: string]: Schema.Json;
15419
- };
15268
+ readonly value: number;
15420
15269
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15421
- readonly sampleSize: number;
15270
+ readonly trend: "flat" | "up" | "down";
15422
15271
  readonly dataSufficient: boolean;
15423
- readonly trend?: "flat" | "up" | "down" | undefined;
15424
- };
15425
- readonly c7_flake: {
15426
- readonly label: string;
15427
- readonly value: number | {
15428
- readonly [x: string]: Schema.Json;
15429
- };
15430
- readonly target: number | {
15431
- readonly [x: string]: Schema.Json;
15432
- };
15433
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15434
- readonly sampleSize: number;
15435
- readonly dataSufficient: boolean;
15436
- readonly trend?: "flat" | "up" | "down" | undefined;
15437
15272
  };
15438
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
+ }[];
15439
15281
  };
15440
15282
  declare const encodeFlywheelStats: (input: {
15441
- readonly window: string;
15283
+ readonly window: {
15284
+ readonly days: number;
15285
+ readonly since: string;
15286
+ readonly until: string;
15287
+ };
15442
15288
  readonly generatedAt: string;
15443
15289
  readonly criteria: {
15444
15290
  readonly c1_bugRate: {
15445
- readonly label: string;
15446
- readonly value: number | {
15447
- readonly [x: string]: Schema.Json;
15448
- };
15449
- readonly target: number | {
15450
- readonly [x: string]: Schema.Json;
15451
- };
15291
+ readonly value: number | null;
15292
+ readonly count: number;
15293
+ readonly denominator: number;
15452
15294
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15453
- readonly sampleSize: number;
15295
+ readonly trend: "flat" | "up" | "down";
15454
15296
  readonly dataSufficient: boolean;
15455
- readonly trend?: "flat" | "up" | "down" | undefined;
15456
15297
  };
15457
15298
  readonly c2_p0Bugs: {
15458
- readonly label: string;
15459
- readonly value: number | {
15460
- readonly [x: string]: Schema.Json;
15461
- };
15462
- readonly target: number | {
15463
- readonly [x: string]: Schema.Json;
15464
- };
15465
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15466
- readonly sampleSize: number;
15467
- readonly dataSufficient: boolean;
15468
- readonly trend?: "flat" | "up" | "down" | undefined;
15469
- };
15470
- readonly c3_passRate: {
15471
- readonly label: string;
15472
- readonly value: number | {
15473
- readonly [x: string]: Schema.Json;
15474
- };
15475
- readonly target: number | {
15476
- readonly [x: string]: Schema.Json;
15477
- };
15478
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15479
- readonly sampleSize: number;
15480
- readonly dataSufficient: boolean;
15481
- readonly trend?: "flat" | "up" | "down" | undefined;
15482
- };
15483
- readonly c4_mttr: {
15484
- readonly label: string;
15485
- readonly value: number | {
15486
- readonly [x: string]: Schema.Json;
15487
- };
15488
- readonly target: number | {
15489
- readonly [x: string]: Schema.Json;
15490
- };
15491
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15492
- readonly sampleSize: number;
15493
- readonly dataSufficient: boolean;
15494
- readonly trend?: "flat" | "up" | "down" | undefined;
15495
- };
15496
- readonly c5_intervention: {
15497
- readonly label: string;
15498
- readonly value: number | {
15499
- readonly [x: string]: Schema.Json;
15500
- };
15501
- readonly target: number | {
15502
- readonly [x: string]: Schema.Json;
15503
- };
15299
+ readonly value: number;
15504
15300
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15505
- readonly sampleSize: number;
15301
+ readonly trend: "flat" | "up" | "down";
15506
15302
  readonly dataSufficient: boolean;
15507
- readonly trend?: "flat" | "up" | "down" | undefined;
15508
- };
15509
- readonly c6_timeConsistency: {
15510
- readonly label: string;
15511
- readonly value: number | {
15512
- readonly [x: string]: Schema.Json;
15513
- };
15514
- readonly target: number | {
15515
- readonly [x: string]: Schema.Json;
15516
- };
15517
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15518
- readonly sampleSize: number;
15519
- readonly dataSufficient: boolean;
15520
- readonly trend?: "flat" | "up" | "down" | undefined;
15521
- };
15522
- readonly c7_flake: {
15523
- readonly label: string;
15524
- readonly value: number | {
15525
- readonly [x: string]: Schema.Json;
15526
- };
15527
- readonly target: number | {
15528
- readonly [x: string]: Schema.Json;
15529
- };
15530
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15531
- readonly sampleSize: number;
15532
- readonly dataSufficient: boolean;
15533
- readonly trend?: "flat" | "up" | "down" | undefined;
15534
15303
  };
15535
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
+ }[];
15536
15312
  }, options?: _$effect_SchemaAST0.ParseOptions) => {
15537
- readonly window: string;
15313
+ readonly window: {
15314
+ readonly days: number;
15315
+ readonly since: string;
15316
+ readonly until: string;
15317
+ };
15538
15318
  readonly generatedAt: string;
15539
15319
  readonly criteria: {
15540
15320
  readonly c1_bugRate: {
15541
- readonly label: string;
15542
- readonly value: number | {
15543
- readonly [x: string]: Schema.Json;
15544
- };
15545
- readonly target: number | {
15546
- readonly [x: string]: Schema.Json;
15547
- };
15321
+ readonly value: number | null;
15322
+ readonly count: number;
15323
+ readonly denominator: number;
15548
15324
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15549
- readonly sampleSize: number;
15325
+ readonly trend: "flat" | "up" | "down";
15550
15326
  readonly dataSufficient: boolean;
15551
- readonly trend?: "flat" | "up" | "down" | undefined;
15552
15327
  };
15553
15328
  readonly c2_p0Bugs: {
15554
- readonly label: string;
15555
- readonly value: number | {
15556
- readonly [x: string]: Schema.Json;
15557
- };
15558
- readonly target: number | {
15559
- readonly [x: string]: Schema.Json;
15560
- };
15561
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15562
- readonly sampleSize: number;
15563
- readonly dataSufficient: boolean;
15564
- readonly trend?: "flat" | "up" | "down" | undefined;
15565
- };
15566
- readonly c3_passRate: {
15567
- readonly label: string;
15568
- readonly value: number | {
15569
- readonly [x: string]: Schema.Json;
15570
- };
15571
- readonly target: number | {
15572
- readonly [x: string]: Schema.Json;
15573
- };
15574
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15575
- readonly sampleSize: number;
15576
- readonly dataSufficient: boolean;
15577
- readonly trend?: "flat" | "up" | "down" | undefined;
15578
- };
15579
- readonly c4_mttr: {
15580
- readonly label: string;
15581
- readonly value: number | {
15582
- readonly [x: string]: Schema.Json;
15583
- };
15584
- readonly target: number | {
15585
- readonly [x: string]: Schema.Json;
15586
- };
15329
+ readonly value: number;
15587
15330
  readonly status: "green" | "red" | "yellow" | "insufficient_data";
15588
- readonly sampleSize: number;
15331
+ readonly trend: "flat" | "up" | "down";
15589
15332
  readonly dataSufficient: boolean;
15590
- readonly trend?: "flat" | "up" | "down" | undefined;
15591
- };
15592
- readonly c5_intervention: {
15593
- readonly label: string;
15594
- readonly value: number | {
15595
- readonly [x: string]: Schema.Json;
15596
- };
15597
- readonly target: number | {
15598
- readonly [x: string]: Schema.Json;
15599
- };
15600
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15601
- readonly sampleSize: number;
15602
- readonly dataSufficient: boolean;
15603
- readonly trend?: "flat" | "up" | "down" | undefined;
15604
- };
15605
- readonly c6_timeConsistency: {
15606
- readonly label: string;
15607
- readonly value: number | {
15608
- readonly [x: string]: Schema.Json;
15609
- };
15610
- readonly target: number | {
15611
- readonly [x: string]: Schema.Json;
15612
- };
15613
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15614
- readonly sampleSize: number;
15615
- readonly dataSufficient: boolean;
15616
- readonly trend?: "flat" | "up" | "down" | undefined;
15617
- };
15618
- readonly c7_flake: {
15619
- readonly label: string;
15620
- readonly value: number | {
15621
- readonly [x: string]: Schema.Json;
15622
- };
15623
- readonly target: number | {
15624
- readonly [x: string]: Schema.Json;
15625
- };
15626
- readonly status: "green" | "red" | "yellow" | "insufficient_data";
15627
- readonly sampleSize: number;
15628
- readonly dataSufficient: boolean;
15629
- readonly trend?: "flat" | "up" | "down" | undefined;
15630
15333
  };
15631
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;
15632
15527
  };
15633
15528
  //#endregion
15634
15529
  //#region src/orders.d.ts
@@ -17328,12 +17223,16 @@ interface PaneTokens {
17328
17223
  readonly role: AgentRole;
17329
17224
  readonly harness: string;
17330
17225
  readonly model: string;
17226
+ /** Agent or conversation that spawned this pane (PAN-3920 workers); it may prompt the pane. */
17227
+ readonly parent?: string;
17331
17228
  }
17332
17229
  /** One agent pane as the backend reports it. */
17333
17230
  interface BackendAgentSnapshot {
17334
17231
  readonly backend: TerminalBackendName;
17335
17232
  /** Backend-native pane handle (Herdr `w1:p1`, tmux session name). */
17336
17233
  readonly paneId: string;
17234
+ /** Overdeck agent id, when the pane carries one (PAN-3920). */
17235
+ readonly agentId?: string;
17337
17236
  /** Handle the terminal WebSocket attaches to. */
17338
17237
  readonly terminalId: string;
17339
17238
  /** Issue workspace the pane belongs to. */
@@ -17348,5 +17247,153 @@ declare const AGENT_ROLES: readonly AgentRole[];
17348
17247
  declare function isTerminalBackendName(value: unknown): value is TerminalBackendName;
17349
17248
  declare function isAgentRole(value: unknown): value is AgentRole;
17350
17249
  //#endregion
17351
- export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PaneTokens, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, compareIssueIds, createIssueDelta, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
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 };
17352
17399
  //# sourceMappingURL=index.d.ts.map