@overdeck/contracts 0.85.0 → 0.87.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
@@ -108,6 +108,7 @@ declare const AgentRuntimeSnapshot: Schema.Struct<{
108
108
  readonly lastActivity: Schema.String;
109
109
  readonly currentTool: Schema.optional<Schema.String>;
110
110
  readonly currentToolDescription: Schema.optional<Schema.String>;
111
+ readonly toolStartedAt: Schema.optional<Schema.String>;
111
112
  readonly thinking: Schema.optional<Schema.Struct<{
112
113
  readonly since: Schema.String;
113
114
  readonly lastToolAt: Schema.String;
@@ -339,6 +340,58 @@ declare const ProjectDeploySnapshot: Schema.Struct<{
339
340
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
340
341
  }>;
341
342
  type ProjectDeploySnapshot = typeof ProjectDeploySnapshot.Type;
343
+ /**
344
+ * PAN-5342 — the safe-shutdown drain, derived each tick by the dashboard's
345
+ * drain service and emitted in-memory only (`system.shutdown_changed`).
346
+ * The only stored shutdown state is `<OVERDECK_HOME>/shutdown.json`.
347
+ */
348
+ declare const ShutdownPhase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
349
+ type ShutdownPhase = typeof ShutdownPhase.Type;
350
+ declare const ShutdownPendingSession: Schema.Struct<{
351
+ readonly id: Schema.String;
352
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
353
+ readonly label: Schema.String;
354
+ readonly issueId: Schema.optional<Schema.String>;
355
+ readonly conversationName: Schema.optional<Schema.String>; /** Runtime activity, or "unknown" when the session has no runtime snapshot. */
356
+ readonly activity: Schema.String;
357
+ readonly tool: Schema.optional<Schema.String>;
358
+ readonly toolDescription: Schema.optional<Schema.String>;
359
+ readonly toolStartedAt: Schema.optional<Schema.String>;
360
+ }>;
361
+ type ShutdownPendingSession = typeof ShutdownPendingSession.Type;
362
+ declare const ShutdownWriter: Schema.Struct<{
363
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
364
+ readonly label: Schema.String;
365
+ readonly startedAt: Schema.optional<Schema.String>;
366
+ }>;
367
+ type ShutdownWriter = typeof ShutdownWriter.Type;
368
+ declare const ShutdownSnapshot: Schema.Struct<{
369
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
370
+ readonly startedAt: Schema.String;
371
+ readonly deadlineAt: Schema.String;
372
+ readonly overdue: Schema.Boolean;
373
+ readonly reboot: Schema.Boolean;
374
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
375
+ readonly pending: Schema.$Array<Schema.Struct<{
376
+ readonly id: Schema.String;
377
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
378
+ readonly label: Schema.String;
379
+ readonly issueId: Schema.optional<Schema.String>;
380
+ readonly conversationName: Schema.optional<Schema.String>; /** Runtime activity, or "unknown" when the session has no runtime snapshot. */
381
+ readonly activity: Schema.String;
382
+ readonly tool: Schema.optional<Schema.String>;
383
+ readonly toolDescription: Schema.optional<Schema.String>;
384
+ readonly toolStartedAt: Schema.optional<Schema.String>;
385
+ }>>;
386
+ readonly writers: Schema.$Array<Schema.Struct<{
387
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
388
+ readonly label: Schema.String;
389
+ readonly startedAt: Schema.optional<Schema.String>;
390
+ }>>;
391
+ readonly stoppedCount: Schema.Number;
392
+ readonly warnings: Schema.$Array<Schema.String>;
393
+ }>;
394
+ type ShutdownSnapshot = typeof ShutdownSnapshot.Type;
342
395
  /** What kind of process asked for the voluntary dashboard restart. */
343
396
  declare const RestartGateKind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
344
397
  type RestartGateKind = typeof RestartGateKind.Type;
@@ -514,6 +567,10 @@ declare const DashboardSnapshot: Schema.Struct<{
514
567
  readonly fix: Schema.String;
515
568
  readonly worktreePath: Schema.optional<Schema.String>;
516
569
  }>>;
570
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
571
+ readonly number: Schema.Number;
572
+ readonly url: Schema.String;
573
+ }>>;
517
574
  }>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
518
575
  readonly backendPanes: Schema.$Array<Schema.Struct<{
519
576
  readonly id: Schema.String;
@@ -537,6 +594,7 @@ declare const DashboardSnapshot: Schema.Struct<{
537
594
  readonly lastActivity: Schema.String;
538
595
  readonly currentTool: Schema.optional<Schema.String>;
539
596
  readonly currentToolDescription: Schema.optional<Schema.String>;
597
+ readonly toolStartedAt: Schema.optional<Schema.String>;
540
598
  readonly thinking: Schema.optional<Schema.Struct<{
541
599
  readonly since: Schema.String;
542
600
  readonly lastToolAt: Schema.String;
@@ -694,6 +752,32 @@ declare const DashboardSnapshot: Schema.Struct<{
694
752
  readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
695
753
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
696
754
  }>>>;
755
+ readonly shutdown: Schema.optional<Schema.NullOr<Schema.Struct<{
756
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
757
+ readonly startedAt: Schema.String;
758
+ readonly deadlineAt: Schema.String;
759
+ readonly overdue: Schema.Boolean;
760
+ readonly reboot: Schema.Boolean;
761
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
762
+ readonly pending: Schema.$Array<Schema.Struct<{
763
+ readonly id: Schema.String;
764
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
765
+ readonly label: Schema.String;
766
+ readonly issueId: Schema.optional<Schema.String>;
767
+ readonly conversationName: Schema.optional<Schema.String>; /** Runtime activity, or "unknown" when the session has no runtime snapshot. */
768
+ readonly activity: Schema.String;
769
+ readonly tool: Schema.optional<Schema.String>;
770
+ readonly toolDescription: Schema.optional<Schema.String>;
771
+ readonly toolStartedAt: Schema.optional<Schema.String>;
772
+ }>>;
773
+ readonly writers: Schema.$Array<Schema.Struct<{
774
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
775
+ readonly label: Schema.String;
776
+ readonly startedAt: Schema.optional<Schema.String>;
777
+ }>>;
778
+ readonly stoppedCount: Schema.Number;
779
+ readonly warnings: Schema.$Array<Schema.String>;
780
+ }>>>;
697
781
  readonly timestamp: Schema.String;
698
782
  }>;
699
783
  type DashboardSnapshot = typeof DashboardSnapshot.Type;
@@ -1278,6 +1362,45 @@ declare const ProjectDeployChangedEvent: Schema.Struct<{
1278
1362
  }>;
1279
1363
  }>;
1280
1364
  type ProjectDeployChangedEvent = typeof ProjectDeployChangedEvent.Type;
1365
+ /**
1366
+ * PAN-5342 — the safe-shutdown drain snapshot; `null` when no drain runs.
1367
+ * The dashboard's drain service emits it in-memory only (`emitOnly`), like
1368
+ * `project.deploy_changed`: never persisted, never replayed at boot.
1369
+ */
1370
+ declare const SystemShutdownChangedEvent: Schema.Struct<{
1371
+ readonly type: Schema.Literal<"system.shutdown_changed">;
1372
+ readonly sequence: Schema.Number;
1373
+ readonly timestamp: Schema.String;
1374
+ readonly payload: Schema.Struct<{
1375
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
1376
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
1377
+ readonly startedAt: Schema.String;
1378
+ readonly deadlineAt: Schema.String;
1379
+ readonly overdue: Schema.Boolean;
1380
+ readonly reboot: Schema.Boolean;
1381
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
1382
+ readonly pending: Schema.$Array<Schema.Struct<{
1383
+ readonly id: Schema.String;
1384
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
1385
+ readonly label: Schema.String;
1386
+ readonly issueId: Schema.optional<Schema.String>;
1387
+ readonly conversationName: Schema.optional<Schema.String>;
1388
+ readonly activity: Schema.String;
1389
+ readonly tool: Schema.optional<Schema.String>;
1390
+ readonly toolDescription: Schema.optional<Schema.String>;
1391
+ readonly toolStartedAt: Schema.optional<Schema.String>;
1392
+ }>>;
1393
+ readonly writers: Schema.$Array<Schema.Struct<{
1394
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
1395
+ readonly label: Schema.String;
1396
+ readonly startedAt: Schema.optional<Schema.String>;
1397
+ }>>;
1398
+ readonly stoppedCount: Schema.Number;
1399
+ readonly warnings: Schema.$Array<Schema.String>;
1400
+ }>>;
1401
+ }>;
1402
+ }>;
1403
+ type SystemShutdownChangedEvent = typeof SystemShutdownChangedEvent.Type;
1281
1404
  /** Replaces socket.io `agents:changed` (event: 'started') */
1282
1405
  declare const AgentStartedEvent: Schema.Struct<{
1283
1406
  readonly type: Schema.Literal<"agent.started">;
@@ -1803,6 +1926,7 @@ declare const AgentStateRestoredEvent: Schema.Struct<{
1803
1926
  readonly lastActivity: Schema.String;
1804
1927
  readonly currentTool: Schema.optional<Schema.String>;
1805
1928
  readonly currentToolDescription: Schema.optional<Schema.String>;
1929
+ readonly toolStartedAt: Schema.optional<Schema.String>;
1806
1930
  readonly thinking: Schema.optional<Schema.Struct<{
1807
1931
  readonly since: Schema.String;
1808
1932
  readonly lastToolAt: Schema.String;
@@ -1978,6 +2102,10 @@ declare const IssueStateChangedEvent: Schema.Struct<{
1978
2102
  readonly fix: Schema.String;
1979
2103
  readonly worktreePath: Schema.optional<Schema.String>;
1980
2104
  }>>;
2105
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
2106
+ readonly number: Schema.Number;
2107
+ readonly url: Schema.String;
2108
+ }>>;
1981
2109
  }>;
1982
2110
  }>;
1983
2111
  }>;
@@ -2744,10 +2872,11 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
2744
2872
  readonly summaries: Schema.Number;
2745
2873
  readonly sibling: Schema.Number;
2746
2874
  readonly knowledgeIndex: Schema.Number;
2875
+ readonly facts: Schema.optional<Schema.Number>;
2747
2876
  }>;
2748
2877
  readonly sources: Schema.$Array<Schema.Struct<{
2749
2878
  readonly id: Schema.String;
2750
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
2879
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
2751
2880
  readonly scope: Schema.String;
2752
2881
  readonly score: Schema.Number;
2753
2882
  readonly tokens: Schema.Number;
@@ -3133,6 +3262,38 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3133
3262
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
3134
3263
  }>>;
3135
3264
  }>;
3265
+ }>, Schema.Struct<{
3266
+ readonly type: Schema.Literal<"system.shutdown_changed">;
3267
+ readonly sequence: Schema.Number;
3268
+ readonly timestamp: Schema.String;
3269
+ readonly payload: Schema.Struct<{
3270
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
3271
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
3272
+ readonly startedAt: Schema.String;
3273
+ readonly deadlineAt: Schema.String;
3274
+ readonly overdue: Schema.Boolean;
3275
+ readonly reboot: Schema.Boolean;
3276
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
3277
+ readonly pending: Schema.$Array<Schema.Struct<{
3278
+ readonly id: Schema.String;
3279
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
3280
+ readonly label: Schema.String;
3281
+ readonly issueId: Schema.optional<Schema.String>;
3282
+ readonly conversationName: Schema.optional<Schema.String>;
3283
+ readonly activity: Schema.String;
3284
+ readonly tool: Schema.optional<Schema.String>;
3285
+ readonly toolDescription: Schema.optional<Schema.String>;
3286
+ readonly toolStartedAt: Schema.optional<Schema.String>;
3287
+ }>>;
3288
+ readonly writers: Schema.$Array<Schema.Struct<{
3289
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
3290
+ readonly label: Schema.String;
3291
+ readonly startedAt: Schema.optional<Schema.String>;
3292
+ }>>;
3293
+ readonly stoppedCount: Schema.Number;
3294
+ readonly warnings: Schema.$Array<Schema.String>;
3295
+ }>>;
3296
+ }>;
3136
3297
  }>, Schema.Struct<{
3137
3298
  readonly type: Schema.Literal<"agent.created">;
3138
3299
  readonly sequence: Schema.Number;
@@ -3592,6 +3753,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3592
3753
  readonly lastActivity: Schema.String;
3593
3754
  readonly currentTool: Schema.optional<Schema.String>;
3594
3755
  readonly currentToolDescription: Schema.optional<Schema.String>;
3756
+ readonly toolStartedAt: Schema.optional<Schema.String>;
3595
3757
  readonly thinking: Schema.optional<Schema.Struct<{
3596
3758
  readonly since: Schema.String;
3597
3759
  readonly lastToolAt: Schema.String;
@@ -3737,6 +3899,10 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3737
3899
  readonly fix: Schema.String;
3738
3900
  readonly worktreePath: Schema.optional<Schema.String>;
3739
3901
  }>>;
3902
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
3903
+ readonly number: Schema.Number;
3904
+ readonly url: Schema.String;
3905
+ }>>;
3740
3906
  }>;
3741
3907
  }>;
3742
3908
  }>, Schema.Struct<{
@@ -4268,10 +4434,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
4268
4434
  readonly summaries: Schema.Number;
4269
4435
  readonly sibling: Schema.Number;
4270
4436
  readonly knowledgeIndex: Schema.Number;
4437
+ readonly facts: Schema.optional<Schema.Number>;
4271
4438
  }>;
4272
4439
  readonly sources: Schema.$Array<Schema.Struct<{
4273
4440
  readonly id: Schema.String;
4274
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4441
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4275
4442
  readonly scope: Schema.String;
4276
4443
  readonly score: Schema.Number;
4277
4444
  readonly tokens: Schema.Number;
@@ -4637,7 +4804,7 @@ declare const ResetMarker: Schema.Struct<{
4637
4804
  type ResetMarker = typeof ResetMarker.Type;
4638
4805
  declare const RagDecisionSource: Schema.Struct<{
4639
4806
  readonly id: Schema.String;
4640
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4807
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4641
4808
  readonly scope: Schema.String;
4642
4809
  readonly score: Schema.Number;
4643
4810
  readonly tokens: Schema.Number;
@@ -4665,10 +4832,11 @@ declare const RagDecision: Schema.Struct<{
4665
4832
  readonly summaries: Schema.Number;
4666
4833
  readonly sibling: Schema.Number;
4667
4834
  readonly knowledgeIndex: Schema.Number;
4835
+ readonly facts: Schema.optional<Schema.Number>;
4668
4836
  }>;
4669
4837
  readonly sources: Schema.$Array<Schema.Struct<{
4670
4838
  readonly id: Schema.String;
4671
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4839
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4672
4840
  readonly scope: Schema.String;
4673
4841
  readonly score: Schema.Number;
4674
4842
  readonly tokens: Schema.Number;
@@ -4713,6 +4881,7 @@ declare const WS_METHODS: {
4713
4881
  readonly subscribeAgentOutput: "pan.subscribeAgentOutput";
4714
4882
  readonly subscribeConversationMessages: "pan.subscribeConversationMessages";
4715
4883
  readonly subscribeProjectSessionTree: "pan.subscribeProjectSessionTree";
4884
+ readonly subscribeUiCommands: "pan.subscribeUiCommands";
4716
4885
  readonly getSnapshot: "pan.getSnapshot";
4717
4886
  readonly replayEvents: "pan.replayEvents";
4718
4887
  readonly readWorkspaceFile: "pan.readWorkspaceFile";
@@ -5191,6 +5360,38 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5191
5360
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
5192
5361
  }>>;
5193
5362
  }>;
5363
+ }>, Schema.Struct<{
5364
+ readonly type: Schema.Literal<"system.shutdown_changed">;
5365
+ readonly sequence: Schema.Number;
5366
+ readonly timestamp: Schema.String;
5367
+ readonly payload: Schema.Struct<{
5368
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
5369
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
5370
+ readonly startedAt: Schema.String;
5371
+ readonly deadlineAt: Schema.String;
5372
+ readonly overdue: Schema.Boolean;
5373
+ readonly reboot: Schema.Boolean;
5374
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
5375
+ readonly pending: Schema.$Array<Schema.Struct<{
5376
+ readonly id: Schema.String;
5377
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
5378
+ readonly label: Schema.String;
5379
+ readonly issueId: Schema.optional<Schema.String>;
5380
+ readonly conversationName: Schema.optional<Schema.String>;
5381
+ readonly activity: Schema.String;
5382
+ readonly tool: Schema.optional<Schema.String>;
5383
+ readonly toolDescription: Schema.optional<Schema.String>;
5384
+ readonly toolStartedAt: Schema.optional<Schema.String>;
5385
+ }>>;
5386
+ readonly writers: Schema.$Array<Schema.Struct<{
5387
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
5388
+ readonly label: Schema.String;
5389
+ readonly startedAt: Schema.optional<Schema.String>;
5390
+ }>>;
5391
+ readonly stoppedCount: Schema.Number;
5392
+ readonly warnings: Schema.$Array<Schema.String>;
5393
+ }>>;
5394
+ }>;
5194
5395
  }>, Schema.Struct<{
5195
5396
  readonly type: Schema.Literal<"agent.created">;
5196
5397
  readonly sequence: Schema.Number;
@@ -5650,6 +5851,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5650
5851
  readonly lastActivity: Schema.String;
5651
5852
  readonly currentTool: Schema.optional<Schema.String>;
5652
5853
  readonly currentToolDescription: Schema.optional<Schema.String>;
5854
+ readonly toolStartedAt: Schema.optional<Schema.String>;
5653
5855
  readonly thinking: Schema.optional<Schema.Struct<{
5654
5856
  readonly since: Schema.String;
5655
5857
  readonly lastToolAt: Schema.String;
@@ -5795,6 +5997,10 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5795
5997
  readonly fix: Schema.String;
5796
5998
  readonly worktreePath: Schema.optional<Schema.String>;
5797
5999
  }>>;
6000
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
6001
+ readonly number: Schema.Number;
6002
+ readonly url: Schema.String;
6003
+ }>>;
5798
6004
  }>;
5799
6005
  }>;
5800
6006
  }>, Schema.Struct<{
@@ -6326,10 +6532,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
6326
6532
  readonly summaries: Schema.Number;
6327
6533
  readonly sibling: Schema.Number;
6328
6534
  readonly knowledgeIndex: Schema.Number;
6535
+ readonly facts: Schema.optional<Schema.Number>;
6329
6536
  }>;
6330
6537
  readonly sources: Schema.$Array<Schema.Struct<{
6331
6538
  readonly id: Schema.String;
6332
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
6539
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
6333
6540
  readonly scope: Schema.String;
6334
6541
  readonly score: Schema.Number;
6335
6542
  readonly tokens: Schema.Number;
@@ -6598,6 +6805,20 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
6598
6805
  readonly agentId: Schema.optional<Schema.String>;
6599
6806
  }>;
6600
6807
  }>]>, Schema.Never>, Schema.Never, never, never>;
6808
+ /** 1a. Subscribe to transient UI commands such as "open this path" (stream, PAN-5349) */
6809
+ declare const SubscribeUiCommandsRpc: Rpc.Rpc<"pan.subscribeUiCommands", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Struct<{
6810
+ readonly id: Schema.String;
6811
+ readonly type: Schema.Literal<"open-path">;
6812
+ readonly resolution: Schema.Struct<{
6813
+ readonly projectKey: Schema.String;
6814
+ readonly deckKey: Schema.String;
6815
+ readonly rootId: Schema.String;
6816
+ readonly relPath: Schema.String;
6817
+ readonly kind: Schema.Literals<readonly ["file", "dir"]>;
6818
+ readonly line: Schema.optional<Schema.Number>;
6819
+ readonly column: Schema.optional<Schema.Number>;
6820
+ }>;
6821
+ }>, Schema.Never>, Schema.Never, never, never>;
6601
6822
  /** 1b. Subscribe to the live domain event stream for one issue (stream) */
6602
6823
  declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
6603
6824
  readonly issueId: Schema.String;
@@ -6731,6 +6952,38 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6731
6952
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
6732
6953
  }>>;
6733
6954
  }>;
6955
+ }>, Schema.Struct<{
6956
+ readonly type: Schema.Literal<"system.shutdown_changed">;
6957
+ readonly sequence: Schema.Number;
6958
+ readonly timestamp: Schema.String;
6959
+ readonly payload: Schema.Struct<{
6960
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
6961
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
6962
+ readonly startedAt: Schema.String;
6963
+ readonly deadlineAt: Schema.String;
6964
+ readonly overdue: Schema.Boolean;
6965
+ readonly reboot: Schema.Boolean;
6966
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
6967
+ readonly pending: Schema.$Array<Schema.Struct<{
6968
+ readonly id: Schema.String;
6969
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
6970
+ readonly label: Schema.String;
6971
+ readonly issueId: Schema.optional<Schema.String>;
6972
+ readonly conversationName: Schema.optional<Schema.String>;
6973
+ readonly activity: Schema.String;
6974
+ readonly tool: Schema.optional<Schema.String>;
6975
+ readonly toolDescription: Schema.optional<Schema.String>;
6976
+ readonly toolStartedAt: Schema.optional<Schema.String>;
6977
+ }>>;
6978
+ readonly writers: Schema.$Array<Schema.Struct<{
6979
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
6980
+ readonly label: Schema.String;
6981
+ readonly startedAt: Schema.optional<Schema.String>;
6982
+ }>>;
6983
+ readonly stoppedCount: Schema.Number;
6984
+ readonly warnings: Schema.$Array<Schema.String>;
6985
+ }>>;
6986
+ }>;
6734
6987
  }>, Schema.Struct<{
6735
6988
  readonly type: Schema.Literal<"agent.created">;
6736
6989
  readonly sequence: Schema.Number;
@@ -7190,6 +7443,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7190
7443
  readonly lastActivity: Schema.String;
7191
7444
  readonly currentTool: Schema.optional<Schema.String>;
7192
7445
  readonly currentToolDescription: Schema.optional<Schema.String>;
7446
+ readonly toolStartedAt: Schema.optional<Schema.String>;
7193
7447
  readonly thinking: Schema.optional<Schema.Struct<{
7194
7448
  readonly since: Schema.String;
7195
7449
  readonly lastToolAt: Schema.String;
@@ -7335,6 +7589,10 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7335
7589
  readonly fix: Schema.String;
7336
7590
  readonly worktreePath: Schema.optional<Schema.String>;
7337
7591
  }>>;
7592
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
7593
+ readonly number: Schema.Number;
7594
+ readonly url: Schema.String;
7595
+ }>>;
7338
7596
  }>;
7339
7597
  }>;
7340
7598
  }>, Schema.Struct<{
@@ -7866,10 +8124,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7866
8124
  readonly summaries: Schema.Number;
7867
8125
  readonly sibling: Schema.Number;
7868
8126
  readonly knowledgeIndex: Schema.Number;
8127
+ readonly facts: Schema.optional<Schema.Number>;
7869
8128
  }>;
7870
8129
  readonly sources: Schema.$Array<Schema.Struct<{
7871
8130
  readonly id: Schema.String;
7872
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
8131
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
7873
8132
  readonly scope: Schema.String;
7874
8133
  readonly score: Schema.Number;
7875
8134
  readonly tokens: Schema.Number;
@@ -8254,6 +8513,10 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
8254
8513
  readonly fix: Schema.String;
8255
8514
  readonly worktreePath: Schema.optional<Schema.String>;
8256
8515
  }>>;
8516
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
8517
+ readonly number: Schema.Number;
8518
+ readonly url: Schema.String;
8519
+ }>>;
8257
8520
  }>>;
8258
8521
  readonly backendPanes: Schema.$Array<Schema.Struct<{
8259
8522
  readonly id: Schema.String;
@@ -8277,6 +8540,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
8277
8540
  readonly lastActivity: Schema.String;
8278
8541
  readonly currentTool: Schema.optional<Schema.String>;
8279
8542
  readonly currentToolDescription: Schema.optional<Schema.String>;
8543
+ readonly toolStartedAt: Schema.optional<Schema.String>;
8280
8544
  readonly thinking: Schema.optional<Schema.Struct<{
8281
8545
  readonly since: Schema.String;
8282
8546
  readonly lastToolAt: Schema.String;
@@ -8434,6 +8698,32 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
8434
8698
  readonly logPath: Schema.optional<Schema.String>;
8435
8699
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
8436
8700
  }>>>;
8701
+ readonly shutdown: Schema.optional<Schema.NullOr<Schema.Struct<{
8702
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
8703
+ readonly startedAt: Schema.String;
8704
+ readonly deadlineAt: Schema.String;
8705
+ readonly overdue: Schema.Boolean;
8706
+ readonly reboot: Schema.Boolean;
8707
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
8708
+ readonly pending: Schema.$Array<Schema.Struct<{
8709
+ readonly id: Schema.String;
8710
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
8711
+ readonly label: Schema.String;
8712
+ readonly issueId: Schema.optional<Schema.String>;
8713
+ readonly conversationName: Schema.optional<Schema.String>;
8714
+ readonly activity: Schema.String;
8715
+ readonly tool: Schema.optional<Schema.String>;
8716
+ readonly toolDescription: Schema.optional<Schema.String>;
8717
+ readonly toolStartedAt: Schema.optional<Schema.String>;
8718
+ }>>;
8719
+ readonly writers: Schema.$Array<Schema.Struct<{
8720
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
8721
+ readonly label: Schema.String;
8722
+ readonly startedAt: Schema.optional<Schema.String>;
8723
+ }>>;
8724
+ readonly stoppedCount: Schema.Number;
8725
+ readonly warnings: Schema.$Array<Schema.String>;
8726
+ }>>>;
8437
8727
  readonly timestamp: Schema.String;
8438
8728
  }>, typeof PanRpcError, never, never>;
8439
8729
  /**
@@ -8575,6 +8865,38 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
8575
8865
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
8576
8866
  }>>;
8577
8867
  }>;
8868
+ }>, Schema.Struct<{
8869
+ readonly type: Schema.Literal<"system.shutdown_changed">;
8870
+ readonly sequence: Schema.Number;
8871
+ readonly timestamp: Schema.String;
8872
+ readonly payload: Schema.Struct<{
8873
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
8874
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
8875
+ readonly startedAt: Schema.String;
8876
+ readonly deadlineAt: Schema.String;
8877
+ readonly overdue: Schema.Boolean;
8878
+ readonly reboot: Schema.Boolean;
8879
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
8880
+ readonly pending: Schema.$Array<Schema.Struct<{
8881
+ readonly id: Schema.String;
8882
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
8883
+ readonly label: Schema.String;
8884
+ readonly issueId: Schema.optional<Schema.String>;
8885
+ readonly conversationName: Schema.optional<Schema.String>;
8886
+ readonly activity: Schema.String;
8887
+ readonly tool: Schema.optional<Schema.String>;
8888
+ readonly toolDescription: Schema.optional<Schema.String>;
8889
+ readonly toolStartedAt: Schema.optional<Schema.String>;
8890
+ }>>;
8891
+ readonly writers: Schema.$Array<Schema.Struct<{
8892
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
8893
+ readonly label: Schema.String;
8894
+ readonly startedAt: Schema.optional<Schema.String>;
8895
+ }>>;
8896
+ readonly stoppedCount: Schema.Number;
8897
+ readonly warnings: Schema.$Array<Schema.String>;
8898
+ }>>;
8899
+ }>;
8578
8900
  }>, Schema.Struct<{
8579
8901
  readonly type: Schema.Literal<"agent.created">;
8580
8902
  readonly sequence: Schema.Number;
@@ -9034,6 +9356,7 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
9034
9356
  readonly lastActivity: Schema.String;
9035
9357
  readonly currentTool: Schema.optional<Schema.String>;
9036
9358
  readonly currentToolDescription: Schema.optional<Schema.String>;
9359
+ readonly toolStartedAt: Schema.optional<Schema.String>;
9037
9360
  readonly thinking: Schema.optional<Schema.Struct<{
9038
9361
  readonly since: Schema.String;
9039
9362
  readonly lastToolAt: Schema.String;
@@ -9179,6 +9502,10 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
9179
9502
  readonly fix: Schema.String;
9180
9503
  readonly worktreePath: Schema.optional<Schema.String>;
9181
9504
  }>>;
9505
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
9506
+ readonly number: Schema.Number;
9507
+ readonly url: Schema.String;
9508
+ }>>;
9182
9509
  }>;
9183
9510
  }>;
9184
9511
  }>, Schema.Struct<{
@@ -9710,10 +10037,11 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
9710
10037
  readonly summaries: Schema.Number;
9711
10038
  readonly sibling: Schema.Number;
9712
10039
  readonly knowledgeIndex: Schema.Number;
10040
+ readonly facts: Schema.optional<Schema.Number>;
9713
10041
  }>;
9714
10042
  readonly sources: Schema.$Array<Schema.Struct<{
9715
10043
  readonly id: Schema.String;
9716
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
10044
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
9717
10045
  readonly scope: Schema.String;
9718
10046
  readonly score: Schema.Number;
9719
10047
  readonly tokens: Schema.Number;
@@ -10118,6 +10446,38 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
10118
10446
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
10119
10447
  }>>;
10120
10448
  }>;
10449
+ }>, Schema.Struct<{
10450
+ readonly type: Schema.Literal<"system.shutdown_changed">;
10451
+ readonly sequence: Schema.Number;
10452
+ readonly timestamp: Schema.String;
10453
+ readonly payload: Schema.Struct<{
10454
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
10455
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
10456
+ readonly startedAt: Schema.String;
10457
+ readonly deadlineAt: Schema.String;
10458
+ readonly overdue: Schema.Boolean;
10459
+ readonly reboot: Schema.Boolean;
10460
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
10461
+ readonly pending: Schema.$Array<Schema.Struct<{
10462
+ readonly id: Schema.String;
10463
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
10464
+ readonly label: Schema.String;
10465
+ readonly issueId: Schema.optional<Schema.String>;
10466
+ readonly conversationName: Schema.optional<Schema.String>;
10467
+ readonly activity: Schema.String;
10468
+ readonly tool: Schema.optional<Schema.String>;
10469
+ readonly toolDescription: Schema.optional<Schema.String>;
10470
+ readonly toolStartedAt: Schema.optional<Schema.String>;
10471
+ }>>;
10472
+ readonly writers: Schema.$Array<Schema.Struct<{
10473
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
10474
+ readonly label: Schema.String;
10475
+ readonly startedAt: Schema.optional<Schema.String>;
10476
+ }>>;
10477
+ readonly stoppedCount: Schema.Number;
10478
+ readonly warnings: Schema.$Array<Schema.String>;
10479
+ }>>;
10480
+ }>;
10121
10481
  }>, Schema.Struct<{
10122
10482
  readonly type: Schema.Literal<"agent.created">;
10123
10483
  readonly sequence: Schema.Number;
@@ -10577,6 +10937,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
10577
10937
  readonly lastActivity: Schema.String;
10578
10938
  readonly currentTool: Schema.optional<Schema.String>;
10579
10939
  readonly currentToolDescription: Schema.optional<Schema.String>;
10940
+ readonly toolStartedAt: Schema.optional<Schema.String>;
10580
10941
  readonly thinking: Schema.optional<Schema.Struct<{
10581
10942
  readonly since: Schema.String;
10582
10943
  readonly lastToolAt: Schema.String;
@@ -10722,6 +11083,10 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
10722
11083
  readonly fix: Schema.String;
10723
11084
  readonly worktreePath: Schema.optional<Schema.String>;
10724
11085
  }>>;
11086
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
11087
+ readonly number: Schema.Number;
11088
+ readonly url: Schema.String;
11089
+ }>>;
10725
11090
  }>;
10726
11091
  }>;
10727
11092
  }>, Schema.Struct<{
@@ -11253,10 +11618,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
11253
11618
  readonly summaries: Schema.Number;
11254
11619
  readonly sibling: Schema.Number;
11255
11620
  readonly knowledgeIndex: Schema.Number;
11621
+ readonly facts: Schema.optional<Schema.Number>;
11256
11622
  }>;
11257
11623
  readonly sources: Schema.$Array<Schema.Struct<{
11258
11624
  readonly id: Schema.String;
11259
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
11625
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
11260
11626
  readonly scope: Schema.String;
11261
11627
  readonly score: Schema.Number;
11262
11628
  readonly tokens: Schema.Number;
@@ -12549,6 +12915,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12549
12915
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
12550
12916
  }>>;
12551
12917
  }>;
12918
+ }>, Schema.Struct<{
12919
+ readonly type: Schema.Literal<"system.shutdown_changed">;
12920
+ readonly sequence: Schema.Number;
12921
+ readonly timestamp: Schema.String;
12922
+ readonly payload: Schema.Struct<{
12923
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
12924
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
12925
+ readonly startedAt: Schema.String;
12926
+ readonly deadlineAt: Schema.String;
12927
+ readonly overdue: Schema.Boolean;
12928
+ readonly reboot: Schema.Boolean;
12929
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
12930
+ readonly pending: Schema.$Array<Schema.Struct<{
12931
+ readonly id: Schema.String;
12932
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
12933
+ readonly label: Schema.String;
12934
+ readonly issueId: Schema.optional<Schema.String>;
12935
+ readonly conversationName: Schema.optional<Schema.String>;
12936
+ readonly activity: Schema.String;
12937
+ readonly tool: Schema.optional<Schema.String>;
12938
+ readonly toolDescription: Schema.optional<Schema.String>;
12939
+ readonly toolStartedAt: Schema.optional<Schema.String>;
12940
+ }>>;
12941
+ readonly writers: Schema.$Array<Schema.Struct<{
12942
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
12943
+ readonly label: Schema.String;
12944
+ readonly startedAt: Schema.optional<Schema.String>;
12945
+ }>>;
12946
+ readonly stoppedCount: Schema.Number;
12947
+ readonly warnings: Schema.$Array<Schema.String>;
12948
+ }>>;
12949
+ }>;
12552
12950
  }>, Schema.Struct<{
12553
12951
  readonly type: Schema.Literal<"agent.created">;
12554
12952
  readonly sequence: Schema.Number;
@@ -13008,6 +13406,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13008
13406
  readonly lastActivity: Schema.String;
13009
13407
  readonly currentTool: Schema.optional<Schema.String>;
13010
13408
  readonly currentToolDescription: Schema.optional<Schema.String>;
13409
+ readonly toolStartedAt: Schema.optional<Schema.String>;
13011
13410
  readonly thinking: Schema.optional<Schema.Struct<{
13012
13411
  readonly since: Schema.String;
13013
13412
  readonly lastToolAt: Schema.String;
@@ -13153,6 +13552,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13153
13552
  readonly fix: Schema.String;
13154
13553
  readonly worktreePath: Schema.optional<Schema.String>;
13155
13554
  }>>;
13555
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
13556
+ readonly number: Schema.Number;
13557
+ readonly url: Schema.String;
13558
+ }>>;
13156
13559
  }>;
13157
13560
  }>;
13158
13561
  }>, Schema.Struct<{
@@ -13684,10 +14087,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13684
14087
  readonly summaries: Schema.Number;
13685
14088
  readonly sibling: Schema.Number;
13686
14089
  readonly knowledgeIndex: Schema.Number;
14090
+ readonly facts: Schema.optional<Schema.Number>;
13687
14091
  }>;
13688
14092
  readonly sources: Schema.$Array<Schema.Struct<{
13689
14093
  readonly id: Schema.String;
13690
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
14094
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
13691
14095
  readonly scope: Schema.String;
13692
14096
  readonly score: Schema.Number;
13693
14097
  readonly tokens: Schema.Number;
@@ -13955,7 +14359,19 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13955
14359
  readonly recurring: Schema.optional<Schema.Boolean>;
13956
14360
  readonly agentId: Schema.optional<Schema.String>;
13957
14361
  }>;
13958
- }>]>, Schema.Never>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
14362
+ }>]>, Schema.Never>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeUiCommands", Schema.Struct<{}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Struct<{
14363
+ readonly id: Schema.String;
14364
+ readonly type: Schema.Literal<"open-path">;
14365
+ readonly resolution: Schema.Struct<{
14366
+ readonly projectKey: Schema.String;
14367
+ readonly deckKey: Schema.String;
14368
+ readonly rootId: Schema.String;
14369
+ readonly relPath: Schema.String;
14370
+ readonly kind: Schema.Literals<readonly ["file", "dir"]>;
14371
+ readonly line: Schema.optional<Schema.Number>;
14372
+ readonly column: Schema.optional<Schema.Number>;
14373
+ }>;
14374
+ }>, Schema.Never>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
13959
14375
  readonly issueId: Schema.String;
13960
14376
  }>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
13961
14377
  readonly type: Schema.Literal<"system.heartbeat">;
@@ -14087,6 +14503,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14087
14503
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
14088
14504
  }>>;
14089
14505
  }>;
14506
+ }>, Schema.Struct<{
14507
+ readonly type: Schema.Literal<"system.shutdown_changed">;
14508
+ readonly sequence: Schema.Number;
14509
+ readonly timestamp: Schema.String;
14510
+ readonly payload: Schema.Struct<{
14511
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
14512
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
14513
+ readonly startedAt: Schema.String;
14514
+ readonly deadlineAt: Schema.String;
14515
+ readonly overdue: Schema.Boolean;
14516
+ readonly reboot: Schema.Boolean;
14517
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
14518
+ readonly pending: Schema.$Array<Schema.Struct<{
14519
+ readonly id: Schema.String;
14520
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
14521
+ readonly label: Schema.String;
14522
+ readonly issueId: Schema.optional<Schema.String>;
14523
+ readonly conversationName: Schema.optional<Schema.String>;
14524
+ readonly activity: Schema.String;
14525
+ readonly tool: Schema.optional<Schema.String>;
14526
+ readonly toolDescription: Schema.optional<Schema.String>;
14527
+ readonly toolStartedAt: Schema.optional<Schema.String>;
14528
+ }>>;
14529
+ readonly writers: Schema.$Array<Schema.Struct<{
14530
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
14531
+ readonly label: Schema.String;
14532
+ readonly startedAt: Schema.optional<Schema.String>;
14533
+ }>>;
14534
+ readonly stoppedCount: Schema.Number;
14535
+ readonly warnings: Schema.$Array<Schema.String>;
14536
+ }>>;
14537
+ }>;
14090
14538
  }>, Schema.Struct<{
14091
14539
  readonly type: Schema.Literal<"agent.created">;
14092
14540
  readonly sequence: Schema.Number;
@@ -14546,6 +14994,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14546
14994
  readonly lastActivity: Schema.String;
14547
14995
  readonly currentTool: Schema.optional<Schema.String>;
14548
14996
  readonly currentToolDescription: Schema.optional<Schema.String>;
14997
+ readonly toolStartedAt: Schema.optional<Schema.String>;
14549
14998
  readonly thinking: Schema.optional<Schema.Struct<{
14550
14999
  readonly since: Schema.String;
14551
15000
  readonly lastToolAt: Schema.String;
@@ -14691,6 +15140,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14691
15140
  readonly fix: Schema.String;
14692
15141
  readonly worktreePath: Schema.optional<Schema.String>;
14693
15142
  }>>;
15143
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
15144
+ readonly number: Schema.Number;
15145
+ readonly url: Schema.String;
15146
+ }>>;
14694
15147
  }>;
14695
15148
  }>;
14696
15149
  }>, Schema.Struct<{
@@ -15222,10 +15675,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15222
15675
  readonly summaries: Schema.Number;
15223
15676
  readonly sibling: Schema.Number;
15224
15677
  readonly knowledgeIndex: Schema.Number;
15678
+ readonly facts: Schema.optional<Schema.Number>;
15225
15679
  }>;
15226
15680
  readonly sources: Schema.$Array<Schema.Struct<{
15227
15681
  readonly id: Schema.String;
15228
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
15682
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
15229
15683
  readonly scope: Schema.String;
15230
15684
  readonly score: Schema.Number;
15231
15685
  readonly tokens: Schema.Number;
@@ -15604,6 +16058,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15604
16058
  readonly fix: Schema.String;
15605
16059
  readonly worktreePath: Schema.optional<Schema.String>;
15606
16060
  }>>;
16061
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
16062
+ readonly number: Schema.Number;
16063
+ readonly url: Schema.String;
16064
+ }>>;
15607
16065
  }>>;
15608
16066
  readonly backendPanes: Schema.$Array<Schema.Struct<{
15609
16067
  readonly id: Schema.String;
@@ -15627,6 +16085,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15627
16085
  readonly lastActivity: Schema.String;
15628
16086
  readonly currentTool: Schema.optional<Schema.String>;
15629
16087
  readonly currentToolDescription: Schema.optional<Schema.String>;
16088
+ readonly toolStartedAt: Schema.optional<Schema.String>;
15630
16089
  readonly thinking: Schema.optional<Schema.Struct<{
15631
16090
  readonly since: Schema.String;
15632
16091
  readonly lastToolAt: Schema.String;
@@ -15784,6 +16243,32 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15784
16243
  readonly logPath: Schema.optional<Schema.String>;
15785
16244
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
15786
16245
  }>>>;
16246
+ readonly shutdown: Schema.optional<Schema.NullOr<Schema.Struct<{
16247
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
16248
+ readonly startedAt: Schema.String;
16249
+ readonly deadlineAt: Schema.String;
16250
+ readonly overdue: Schema.Boolean;
16251
+ readonly reboot: Schema.Boolean;
16252
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
16253
+ readonly pending: Schema.$Array<Schema.Struct<{
16254
+ readonly id: Schema.String;
16255
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
16256
+ readonly label: Schema.String;
16257
+ readonly issueId: Schema.optional<Schema.String>;
16258
+ readonly conversationName: Schema.optional<Schema.String>;
16259
+ readonly activity: Schema.String;
16260
+ readonly tool: Schema.optional<Schema.String>;
16261
+ readonly toolDescription: Schema.optional<Schema.String>;
16262
+ readonly toolStartedAt: Schema.optional<Schema.String>;
16263
+ }>>;
16264
+ readonly writers: Schema.$Array<Schema.Struct<{
16265
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
16266
+ readonly label: Schema.String;
16267
+ readonly startedAt: Schema.optional<Schema.String>;
16268
+ }>>;
16269
+ readonly stoppedCount: Schema.Number;
16270
+ readonly warnings: Schema.$Array<Schema.String>;
16271
+ }>>>;
15787
16272
  readonly timestamp: Schema.String;
15788
16273
  }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
15789
16274
  readonly fromSequence: Schema.Number;
@@ -15917,6 +16402,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15917
16402
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
15918
16403
  }>>;
15919
16404
  }>;
16405
+ }>, Schema.Struct<{
16406
+ readonly type: Schema.Literal<"system.shutdown_changed">;
16407
+ readonly sequence: Schema.Number;
16408
+ readonly timestamp: Schema.String;
16409
+ readonly payload: Schema.Struct<{
16410
+ readonly shutdown: Schema.NullOr<Schema.Struct<{
16411
+ readonly phase: Schema.Literals<readonly ["draining", "waiting-for-writers", "verifying", "complete"]>;
16412
+ readonly startedAt: Schema.String;
16413
+ readonly deadlineAt: Schema.String;
16414
+ readonly overdue: Schema.Boolean;
16415
+ readonly reboot: Schema.Boolean;
16416
+ readonly force: Schema.Literals<readonly ["never", "at-deadline", "now"]>;
16417
+ readonly pending: Schema.$Array<Schema.Struct<{
16418
+ readonly id: Schema.String;
16419
+ readonly kind: Schema.Literals<readonly ["agent", "conversation"]>;
16420
+ readonly label: Schema.String;
16421
+ readonly issueId: Schema.optional<Schema.String>;
16422
+ readonly conversationName: Schema.optional<Schema.String>;
16423
+ readonly activity: Schema.String;
16424
+ readonly tool: Schema.optional<Schema.String>;
16425
+ readonly toolDescription: Schema.optional<Schema.String>;
16426
+ readonly toolStartedAt: Schema.optional<Schema.String>;
16427
+ }>>;
16428
+ readonly writers: Schema.$Array<Schema.Struct<{
16429
+ readonly kind: Schema.Literals<readonly ["auto-merge", "post-merge", "verification"]>;
16430
+ readonly label: Schema.String;
16431
+ readonly startedAt: Schema.optional<Schema.String>;
16432
+ }>>;
16433
+ readonly stoppedCount: Schema.Number;
16434
+ readonly warnings: Schema.$Array<Schema.String>;
16435
+ }>>;
16436
+ }>;
15920
16437
  }>, Schema.Struct<{
15921
16438
  readonly type: Schema.Literal<"agent.created">;
15922
16439
  readonly sequence: Schema.Number;
@@ -16376,6 +16893,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
16376
16893
  readonly lastActivity: Schema.String;
16377
16894
  readonly currentTool: Schema.optional<Schema.String>;
16378
16895
  readonly currentToolDescription: Schema.optional<Schema.String>;
16896
+ readonly toolStartedAt: Schema.optional<Schema.String>;
16379
16897
  readonly thinking: Schema.optional<Schema.Struct<{
16380
16898
  readonly since: Schema.String;
16381
16899
  readonly lastToolAt: Schema.String;
@@ -16521,6 +17039,10 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
16521
17039
  readonly fix: Schema.String;
16522
17040
  readonly worktreePath: Schema.optional<Schema.String>;
16523
17041
  }>>;
17042
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
17043
+ readonly number: Schema.Number;
17044
+ readonly url: Schema.String;
17045
+ }>>;
16524
17046
  }>;
16525
17047
  }>;
16526
17048
  }>, Schema.Struct<{
@@ -17052,10 +17574,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
17052
17574
  readonly summaries: Schema.Number;
17053
17575
  readonly sibling: Schema.Number;
17054
17576
  readonly knowledgeIndex: Schema.Number;
17577
+ readonly facts: Schema.optional<Schema.Number>;
17055
17578
  }>;
17056
17579
  readonly sources: Schema.$Array<Schema.Struct<{
17057
17580
  readonly id: Schema.String;
17058
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
17581
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
17059
17582
  readonly scope: Schema.String;
17060
17583
  readonly score: Schema.Number;
17061
17584
  readonly tokens: Schema.Number;
@@ -18323,6 +18846,11 @@ interface EditWorkspacePr {
18323
18846
  canMerge: boolean;
18324
18847
  /** D-F7 text; null when canMerge. */
18325
18848
  reason: string | null;
18849
+ /**
18850
+ * True when canMerge and GitHub reports CLEAN or HAS_HOOKS. False for UNSTABLE
18851
+ * (a pending or failing non-required check) and whenever canMerge is false (PAN-5391).
18852
+ */
18853
+ checksPassing: boolean;
18326
18854
  }
18327
18855
  interface EditWorkspaceStatus {
18328
18856
  workspace: EditWorkspaceInfo;
@@ -18350,6 +18878,24 @@ type EditWorkspaceCreatePrResult = {
18350
18878
  prUrl: string;
18351
18879
  prNumber: number;
18352
18880
  };
18881
+ /** One file of what an edit workspace will land (PAN-5290 C-D5). Binary files count 0/0 with binary: true. */
18882
+ interface EditWorkspaceChangedFile {
18883
+ path: string;
18884
+ status: 'A' | 'M' | 'D';
18885
+ additions: number;
18886
+ deletions: number;
18887
+ binary: boolean;
18888
+ }
18889
+ /** GET /api/explorer/edit-workspaces/:workspaceId/changes (PAN-5290 C-D5). */
18890
+ interface EditWorkspaceChanges {
18891
+ /** The merge base with origin/<default branch>, or 'HEAD' when there is none. */
18892
+ base: string;
18893
+ files: EditWorkspaceChangedFile[];
18894
+ additions: number;
18895
+ deletions: number;
18896
+ /** Paths with uncommitted changes (untracked included). */
18897
+ uncommittedPaths: string[];
18898
+ }
18353
18899
  /** Values of PanRpcError.code that explorer methods return. */
18354
18900
  declare const EXPLORER_ERROR_CODES: readonly ["ROOT_NOT_FOUND", "PATH_OUTSIDE_ROOT", "PATH_IN_GIT_DIR", "NOT_FOUND", "ALREADY_EXISTS", "DISK_CONFLICT", "EDIT_WORKSPACE_REQUIRED", "FILE_TOO_LARGE", "NOT_A_GIT_REPO", "NOTHING_TO_COMMIT", "NOT_IMPLEMENTED", "INVALID_QUERY", "INVALID_TARGET", "EXPLORER_FAILED"];
18355
18901
  type ExplorerErrorCode = (typeof EXPLORER_ERROR_CODES)[number];
@@ -18407,6 +18953,15 @@ declare const DerivedPrOutsidePipeline: Schema.Struct<{
18407
18953
  readonly worktreePath: Schema.optional<Schema.String>;
18408
18954
  }>;
18409
18955
  type DerivedPrOutsidePipeline = typeof DerivedPrOutsidePipeline.Type;
18956
+ /**
18957
+ * PAN-5279: a merged PR on an open epic's feature branch. An epic lands in
18958
+ * slices, so a merged slice is progress, never the epic shipping.
18959
+ */
18960
+ declare const DerivedMergedSlice: Schema.Struct<{
18961
+ readonly number: Schema.Number;
18962
+ readonly url: Schema.String;
18963
+ }>;
18964
+ type DerivedMergedSlice = typeof DerivedMergedSlice.Type;
18410
18965
  /** Everything the dashboard needs to render an issue's pipeline position. */
18411
18966
  declare const DerivedIssueState: Schema.Struct<{
18412
18967
  readonly issueId: Schema.String;
@@ -18443,6 +18998,15 @@ declare const DerivedIssueState: Schema.Struct<{
18443
18998
  readonly fix: Schema.String; /** The other worktree that has the branch checked out, when that is the reason. */
18444
18999
  readonly worktreePath: Schema.optional<Schema.String>;
18445
19000
  }>>;
19001
+ /**
19002
+ * PAN-5279: the issue is an open epic and this merged PR is one of its
19003
+ * slices. Present instead of `pr`, so no reader takes slice 1's review,
19004
+ * checks or merge for the epic's own.
19005
+ */
19006
+ readonly mergedSlice: Schema.optional<Schema.Struct<{
19007
+ readonly number: Schema.Number;
19008
+ readonly url: Schema.String;
19009
+ }>>;
18446
19010
  }>;
18447
19011
  type DerivedIssueState = typeof DerivedIssueState.Type;
18448
19012
  declare const ISSUE_STATES: readonly IssueState[];
@@ -18687,6 +19251,8 @@ interface ReadModelState {
18687
19251
  githubQuota: GitHubQuotaSnapshot | null;
18688
19252
  /** PAN-3751 — in-flight deploys keyed by project key; derived, never stored. */
18689
19253
  deployByProjectKey: Record<string, ProjectDeploySnapshot>;
19254
+ /** PAN-5342 — the safe-shutdown drain; derived, never stored; null when none runs. */
19255
+ shutdown: ShutdownSnapshot | null;
18690
19256
  /** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
18691
19257
  agentIdBySessionId: Record<string, string>;
18692
19258
  }
@@ -19418,7 +19984,8 @@ declare const FlywheelNeedsYouItem: Schema.Struct<{
19418
19984
  readonly text: Schema.String;
19419
19985
  readonly firstRaisedTick: Schema.Number; /** The first-raised tick message's `createdAt`. */
19420
19986
  readonly firstRaisedAt: Schema.String; /** The first-raised tick message's id, when the harness records one. */
19421
- readonly firstRaisedMessageId: Schema.optional<Schema.String>;
19987
+ readonly firstRaisedMessageId: Schema.optional<Schema.String>; /** The first-raised message's prose without its tick line (PAN-5283 D18). */
19988
+ readonly context: Schema.optional<Schema.String>;
19422
19989
  }>;
19423
19990
  type FlywheelNeedsYouItem = typeof FlywheelNeedsYouItem.Type;
19424
19991
  /**
@@ -19445,7 +20012,8 @@ declare const FlywheelLastTick: Schema.Struct<{
19445
20012
  readonly text: Schema.String;
19446
20013
  readonly firstRaisedTick: Schema.Number; /** The first-raised tick message's `createdAt`. */
19447
20014
  readonly firstRaisedAt: Schema.String; /** The first-raised tick message's id, when the harness records one. */
19448
- readonly firstRaisedMessageId: Schema.optional<Schema.String>;
20015
+ readonly firstRaisedMessageId: Schema.optional<Schema.String>; /** The first-raised message's prose without its tick line (PAN-5283 D18). */
20016
+ readonly context: Schema.optional<Schema.String>;
19449
20017
  }>>>;
19450
20018
  }>;
19451
20019
  type FlywheelLastTick = typeof FlywheelLastTick.Type;
@@ -19471,6 +20039,46 @@ declare const FlywheelAgentSummary: Schema.Struct<{
19471
20039
  readonly agentId: Schema.optional<Schema.String>;
19472
20040
  }>;
19473
20041
  type FlywheelAgentSummary = typeof FlywheelAgentSummary.Type;
20042
+ /** The lane an in-flight card sits in (PAN-5283 D1). */
20043
+ declare const FlywheelStage: Schema.Literals<readonly ["plan", "build", "checks", "review", "merge"]>;
20044
+ type FlywheelStage = typeof FlywheelStage.Type;
20045
+ /** Who drives an issue (PAN-5283 D3). */
20046
+ declare const FlywheelOwner: Schema.Union<readonly [Schema.Struct<{
20047
+ readonly kind: Schema.Literal<"flywheel">;
20048
+ }>, Schema.Struct<{
20049
+ readonly kind: Schema.Literal<"conversation">;
20050
+ readonly name: Schema.String;
20051
+ readonly title: Schema.NullOr<Schema.String>;
20052
+ }>, Schema.Struct<{
20053
+ readonly kind: Schema.Literal<"operator">;
20054
+ }>]>;
20055
+ type FlywheelOwner = typeof FlywheelOwner.Type;
20056
+ /** The agent a card shows (PAN-5283 D4): a live pane, or a handoff conversation. */
20057
+ declare const FlywheelCardAgent: Schema.Struct<{
20058
+ /** The pane role, or `handoff` for a handoff conversation. */readonly role: Schema.String;
20059
+ readonly model: Schema.NullOr<Schema.String>;
20060
+ readonly harness: Schema.NullOr<Schema.String>;
20061
+ readonly state: Schema.Literals<readonly ["working", "blocked", "idle", "waiting", "unknown"]>;
20062
+ readonly agentId: Schema.optional<Schema.String>;
20063
+ readonly conversationName: Schema.optional<Schema.String>;
20064
+ }>;
20065
+ type FlywheelCardAgent = typeof FlywheelCardAgent.Type;
20066
+ declare const FlywheelBlockerKind: Schema.Literals<readonly ["gate-queue", "agent-question", "agent-error", "start-failed", "pr-outside-pipeline", "agent-stuck", "test-removal-waiver", "verification-failed", "ci-failed", "feedback-undelivered", "merge-failed", "auto-merge-scheduled", "auto-merge-blocked", "train-batch", "train-paused", "ci-red", "merge-conflict", "declared-blocked", "review-stalled", "no-agent"]>;
20067
+ type FlywheelBlockerKind = typeof FlywheelBlockerKind.Type;
20068
+ /** One plain-language sentence on why a card is not moving (PAN-5283 D11). */
20069
+ declare const FlywheelBlocker: Schema.Struct<{
20070
+ readonly kind: Schema.Literals<readonly ["gate-queue", "agent-question", "agent-error", "start-failed", "pr-outside-pipeline", "agent-stuck", "test-removal-waiver", "verification-failed", "ci-failed", "feedback-undelivered", "merge-failed", "auto-merge-scheduled", "auto-merge-blocked", "train-batch", "train-paused", "ci-red", "merge-conflict", "declared-blocked", "review-stalled", "no-agent"]>;
20071
+ readonly severity: Schema.Literals<readonly ["waiting", "stuck", "needs-you"]>;
20072
+ readonly text: Schema.String;
20073
+ readonly action: Schema.optional<Schema.Literals<readonly ["waive-test-removal", "start-issue", "answer-agent"]>>;
20074
+ }>;
20075
+ type FlywheelBlocker = typeof FlywheelBlocker.Type;
20076
+ /** The newest journal entry, as a plain-text label. */
20077
+ declare const FlywheelActivity: Schema.Struct<{
20078
+ readonly at: Schema.String;
20079
+ readonly label: Schema.String;
20080
+ }>;
20081
+ type FlywheelActivity = typeof FlywheelActivity.Type;
19474
20082
  declare const FlywheelInFlightRow: Schema.Struct<{
19475
20083
  readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
19476
20084
  readonly title: Schema.NullOr<Schema.String>;
@@ -19493,6 +20101,36 @@ declare const FlywheelInFlightRow: Schema.Struct<{
19493
20101
  readonly type: Schema.String;
19494
20102
  readonly source: Schema.optional<Schema.String>;
19495
20103
  }>>;
20104
+ readonly stage: Schema.optional<Schema.Literals<readonly ["plan", "build", "checks", "review", "merge"]>>;
20105
+ readonly stageSince: Schema.optional<Schema.NullOr<Schema.String>>;
20106
+ readonly owner: Schema.optional<Schema.Union<readonly [Schema.Struct<{
20107
+ readonly kind: Schema.Literal<"flywheel">;
20108
+ }>, Schema.Struct<{
20109
+ readonly kind: Schema.Literal<"conversation">;
20110
+ readonly name: Schema.String;
20111
+ readonly title: Schema.NullOr<Schema.String>;
20112
+ }>, Schema.Struct<{
20113
+ readonly kind: Schema.Literal<"operator">;
20114
+ }>]>>;
20115
+ readonly agent: Schema.optional<Schema.NullOr<Schema.Struct<{
20116
+ /** The pane role, or `handoff` for a handoff conversation. */readonly role: Schema.String;
20117
+ readonly model: Schema.NullOr<Schema.String>;
20118
+ readonly harness: Schema.NullOr<Schema.String>;
20119
+ readonly state: Schema.Literals<readonly ["working", "blocked", "idle", "waiting", "unknown"]>;
20120
+ readonly agentId: Schema.optional<Schema.String>;
20121
+ readonly conversationName: Schema.optional<Schema.String>;
20122
+ }>>>;
20123
+ readonly blocker: Schema.optional<Schema.NullOr<Schema.Struct<{
20124
+ readonly kind: Schema.Literals<readonly ["gate-queue", "agent-question", "agent-error", "start-failed", "pr-outside-pipeline", "agent-stuck", "test-removal-waiver", "verification-failed", "ci-failed", "feedback-undelivered", "merge-failed", "auto-merge-scheduled", "auto-merge-blocked", "train-batch", "train-paused", "ci-red", "merge-conflict", "declared-blocked", "review-stalled", "no-agent"]>;
20125
+ readonly severity: Schema.Literals<readonly ["waiting", "stuck", "needs-you"]>;
20126
+ readonly text: Schema.String;
20127
+ readonly action: Schema.optional<Schema.Literals<readonly ["waive-test-removal", "start-issue", "answer-agent"]>>;
20128
+ }>>>; /** USD spent on the issue, or `null` when unknown. */
20129
+ readonly cost: Schema.optional<Schema.NullOr<Schema.Number>>;
20130
+ readonly lastActivity: Schema.optional<Schema.NullOr<Schema.Struct<{
20131
+ readonly at: Schema.String;
20132
+ readonly label: Schema.String;
20133
+ }>>>;
19496
20134
  }>;
19497
20135
  type FlywheelInFlightRow = typeof FlywheelInFlightRow.Type;
19498
20136
  declare const FlywheelOrderBookSummary: Schema.Struct<{
@@ -19503,6 +20141,114 @@ declare const FlywheelOrderBookSummary: Schema.Struct<{
19503
20141
  readonly total: Schema.Number;
19504
20142
  }>;
19505
20143
  type FlywheelOrderBookSummary = typeof FlywheelOrderBookSummary.Type;
20144
+ /** One PR merge on the default branch since local midnight (PAN-5283 D12). */
20145
+ declare const FlywheelShippedMerge: Schema.Struct<{
20146
+ readonly sha: Schema.String;
20147
+ readonly at: Schema.String;
20148
+ readonly subject: Schema.String;
20149
+ readonly prNumber: Schema.Number;
20150
+ readonly prUrl: Schema.NullOr<Schema.String>;
20151
+ readonly issueId: Schema.NullOr<Schema.String>;
20152
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20153
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20154
+ }>;
20155
+ type FlywheelShippedMerge = typeof FlywheelShippedMerge.Type;
20156
+ declare const FlywheelShippedEvent: Schema.Union<readonly [Schema.Struct<{
20157
+ readonly kind: Schema.Literal<"merge">;
20158
+ readonly at: Schema.String;
20159
+ readonly merge: Schema.Struct<{
20160
+ readonly sha: Schema.String;
20161
+ readonly at: Schema.String;
20162
+ readonly subject: Schema.String;
20163
+ readonly prNumber: Schema.Number;
20164
+ readonly prUrl: Schema.NullOr<Schema.String>;
20165
+ readonly issueId: Schema.NullOr<Schema.String>;
20166
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20167
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20168
+ }>;
20169
+ }>, Schema.Struct<{
20170
+ readonly kind: Schema.Literal<"deploy">;
20171
+ readonly at: Schema.String;
20172
+ readonly trigger: Schema.String;
20173
+ readonly issueId: Schema.NullOr<Schema.String>;
20174
+ readonly initiator: Schema.NullOr<Schema.String>;
20175
+ }>, Schema.Struct<{
20176
+ readonly kind: Schema.Literal<"release">;
20177
+ readonly at: Schema.String;
20178
+ readonly tag: Schema.String;
20179
+ readonly url: Schema.NullOr<Schema.String>;
20180
+ }>]>;
20181
+ type FlywheelShippedEvent = typeof FlywheelShippedEvent.Type;
20182
+ declare const FlywheelShipped: Schema.Struct<{
20183
+ readonly merges: Schema.$Array<Schema.Struct<{
20184
+ readonly sha: Schema.String;
20185
+ readonly at: Schema.String;
20186
+ readonly subject: Schema.String;
20187
+ readonly prNumber: Schema.Number;
20188
+ readonly prUrl: Schema.NullOr<Schema.String>;
20189
+ readonly issueId: Schema.NullOr<Schema.String>;
20190
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20191
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20192
+ }>>;
20193
+ readonly events: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
20194
+ readonly kind: Schema.Literal<"merge">;
20195
+ readonly at: Schema.String;
20196
+ readonly merge: Schema.Struct<{
20197
+ readonly sha: Schema.String;
20198
+ readonly at: Schema.String;
20199
+ readonly subject: Schema.String;
20200
+ readonly prNumber: Schema.Number;
20201
+ readonly prUrl: Schema.NullOr<Schema.String>;
20202
+ readonly issueId: Schema.NullOr<Schema.String>;
20203
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20204
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20205
+ }>;
20206
+ }>, Schema.Struct<{
20207
+ readonly kind: Schema.Literal<"deploy">;
20208
+ readonly at: Schema.String;
20209
+ readonly trigger: Schema.String;
20210
+ readonly issueId: Schema.NullOr<Schema.String>;
20211
+ readonly initiator: Schema.NullOr<Schema.String>;
20212
+ }>, Schema.Struct<{
20213
+ readonly kind: Schema.Literal<"release">;
20214
+ readonly at: Schema.String;
20215
+ readonly tag: Schema.String;
20216
+ readonly url: Schema.NullOr<Schema.String>;
20217
+ }>]>>;
20218
+ }>;
20219
+ type FlywheelShipped = typeof FlywheelShipped.Type;
20220
+ /** Facts the global header does not show (PAN-5283 FR-9). Server route only. */
20221
+ declare const FlywheelHealth: Schema.Struct<{
20222
+ readonly mainCi: Schema.NullOr<Schema.Struct<{
20223
+ readonly conclusion: Schema.String;
20224
+ readonly sha: Schema.String;
20225
+ readonly url: Schema.NullOr<Schema.String>;
20226
+ readonly at: Schema.String;
20227
+ }>>;
20228
+ readonly deployed: Schema.NullOr<Schema.Struct<{
20229
+ readonly buildCommit: Schema.String;
20230
+ readonly behindVerdict: Schema.NullOr<Schema.Number>;
20231
+ }>>;
20232
+ readonly gateQueue: Schema.Struct<{
20233
+ readonly running: Schema.Number;
20234
+ readonly queued: Schema.Number;
20235
+ readonly slots: Schema.Number;
20236
+ readonly oldestWaitSince: Schema.NullOr<Schema.String>;
20237
+ }>;
20238
+ readonly nextBatch: Schema.NullOr<Schema.Struct<{
20239
+ readonly name: Schema.String;
20240
+ readonly status: Schema.String;
20241
+ readonly members: Schema.$Array<Schema.String>;
20242
+ readonly createdAt: Schema.String;
20243
+ }>>;
20244
+ readonly batchingPausedUntil: Schema.NullOr<Schema.String>;
20245
+ readonly lastRelease: Schema.NullOr<Schema.Struct<{
20246
+ readonly tag: Schema.String;
20247
+ readonly at: Schema.String;
20248
+ readonly url: Schema.NullOr<Schema.String>;
20249
+ }>>;
20250
+ }>;
20251
+ type FlywheelHealth = typeof FlywheelHealth.Type;
19506
20252
  declare const FlywheelDerivedStatus: Schema.Struct<{
19507
20253
  readonly run: Schema.Literals<readonly ["running", "paused", "idle"]>;
19508
20254
  readonly conversation: Schema.NullOr<Schema.Struct<{
@@ -19527,7 +20273,8 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
19527
20273
  readonly text: Schema.String;
19528
20274
  readonly firstRaisedTick: Schema.Number; /** The first-raised tick message's `createdAt`. */
19529
20275
  readonly firstRaisedAt: Schema.String; /** The first-raised tick message's id, when the harness records one. */
19530
- readonly firstRaisedMessageId: Schema.optional<Schema.String>;
20276
+ readonly firstRaisedMessageId: Schema.optional<Schema.String>; /** The first-raised message's prose without its tick line (PAN-5283 D18). */
20277
+ readonly context: Schema.optional<Schema.String>;
19531
20278
  }>>>;
19532
20279
  }>>;
19533
20280
  readonly freshness: Schema.NullOr<Schema.Literals<readonly ["live", "breathing", "stalled"]>>;
@@ -19558,6 +20305,36 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
19558
20305
  readonly type: Schema.String;
19559
20306
  readonly source: Schema.optional<Schema.String>;
19560
20307
  }>>;
20308
+ readonly stage: Schema.optional<Schema.Literals<readonly ["plan", "build", "checks", "review", "merge"]>>;
20309
+ readonly stageSince: Schema.optional<Schema.NullOr<Schema.String>>;
20310
+ readonly owner: Schema.optional<Schema.Union<readonly [Schema.Struct<{
20311
+ readonly kind: Schema.Literal<"flywheel">;
20312
+ }>, Schema.Struct<{
20313
+ readonly kind: Schema.Literal<"conversation">;
20314
+ readonly name: Schema.String;
20315
+ readonly title: Schema.NullOr<Schema.String>;
20316
+ }>, Schema.Struct<{
20317
+ readonly kind: Schema.Literal<"operator">;
20318
+ }>]>>;
20319
+ readonly agent: Schema.optional<Schema.NullOr<Schema.Struct<{
20320
+ /** The pane role, or `handoff` for a handoff conversation. */readonly role: Schema.String;
20321
+ readonly model: Schema.NullOr<Schema.String>;
20322
+ readonly harness: Schema.NullOr<Schema.String>;
20323
+ readonly state: Schema.Literals<readonly ["working", "blocked", "idle", "waiting", "unknown"]>;
20324
+ readonly agentId: Schema.optional<Schema.String>;
20325
+ readonly conversationName: Schema.optional<Schema.String>;
20326
+ }>>>;
20327
+ readonly blocker: Schema.optional<Schema.NullOr<Schema.Struct<{
20328
+ readonly kind: Schema.Literals<readonly ["gate-queue", "agent-question", "agent-error", "start-failed", "pr-outside-pipeline", "agent-stuck", "test-removal-waiver", "verification-failed", "ci-failed", "feedback-undelivered", "merge-failed", "auto-merge-scheduled", "auto-merge-blocked", "train-batch", "train-paused", "ci-red", "merge-conflict", "declared-blocked", "review-stalled", "no-agent"]>;
20329
+ readonly severity: Schema.Literals<readonly ["waiting", "stuck", "needs-you"]>;
20330
+ readonly text: Schema.String;
20331
+ readonly action: Schema.optional<Schema.Literals<readonly ["waive-test-removal", "start-issue", "answer-agent"]>>;
20332
+ }>>>; /** USD spent on the issue, or `null` when unknown. */
20333
+ readonly cost: Schema.optional<Schema.NullOr<Schema.Number>>;
20334
+ readonly lastActivity: Schema.optional<Schema.NullOr<Schema.Struct<{
20335
+ readonly at: Schema.String;
20336
+ readonly label: Schema.String;
20337
+ }>>>;
19561
20338
  }>>; /** Every live agent on an in-flight issue, by issue then role. */
19562
20339
  readonly agents: Schema.$Array<Schema.Struct<{
19563
20340
  readonly issueId: Schema.String;
@@ -19580,11 +20357,80 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
19580
20357
  readonly total: Schema.Number;
19581
20358
  }>>;
19582
20359
  readonly projectRoot: Schema.String;
19583
- readonly generatedAt: Schema.String;
20360
+ readonly generatedAt: Schema.String; /** Added by the status route, never by `pan flywheel status` (PAN-5283 D7). */
20361
+ readonly health: Schema.optional<Schema.Struct<{
20362
+ readonly mainCi: Schema.NullOr<Schema.Struct<{
20363
+ readonly conclusion: Schema.String;
20364
+ readonly sha: Schema.String;
20365
+ readonly url: Schema.NullOr<Schema.String>;
20366
+ readonly at: Schema.String;
20367
+ }>>;
20368
+ readonly deployed: Schema.NullOr<Schema.Struct<{
20369
+ readonly buildCommit: Schema.String;
20370
+ readonly behindVerdict: Schema.NullOr<Schema.Number>;
20371
+ }>>;
20372
+ readonly gateQueue: Schema.Struct<{
20373
+ readonly running: Schema.Number;
20374
+ readonly queued: Schema.Number;
20375
+ readonly slots: Schema.Number;
20376
+ readonly oldestWaitSince: Schema.NullOr<Schema.String>;
20377
+ }>;
20378
+ readonly nextBatch: Schema.NullOr<Schema.Struct<{
20379
+ readonly name: Schema.String;
20380
+ readonly status: Schema.String;
20381
+ readonly members: Schema.$Array<Schema.String>;
20382
+ readonly createdAt: Schema.String;
20383
+ }>>;
20384
+ readonly batchingPausedUntil: Schema.NullOr<Schema.String>;
20385
+ readonly lastRelease: Schema.NullOr<Schema.Struct<{
20386
+ readonly tag: Schema.String;
20387
+ readonly at: Schema.String;
20388
+ readonly url: Schema.NullOr<Schema.String>;
20389
+ }>>;
20390
+ }>>;
20391
+ readonly shipped: Schema.optional<Schema.Struct<{
20392
+ readonly merges: Schema.$Array<Schema.Struct<{
20393
+ readonly sha: Schema.String;
20394
+ readonly at: Schema.String;
20395
+ readonly subject: Schema.String;
20396
+ readonly prNumber: Schema.Number;
20397
+ readonly prUrl: Schema.NullOr<Schema.String>;
20398
+ readonly issueId: Schema.NullOr<Schema.String>;
20399
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20400
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20401
+ }>>;
20402
+ readonly events: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
20403
+ readonly kind: Schema.Literal<"merge">;
20404
+ readonly at: Schema.String;
20405
+ readonly merge: Schema.Struct<{
20406
+ readonly sha: Schema.String;
20407
+ readonly at: Schema.String;
20408
+ readonly subject: Schema.String;
20409
+ readonly prNumber: Schema.Number;
20410
+ readonly prUrl: Schema.NullOr<Schema.String>;
20411
+ readonly issueId: Schema.NullOr<Schema.String>;
20412
+ readonly title: Schema.NullOr<Schema.String>; /** `null` when deploy does not apply to this project (PAN-5283 D13). */
20413
+ readonly deployed: Schema.NullOr<Schema.Boolean>;
20414
+ }>;
20415
+ }>, Schema.Struct<{
20416
+ readonly kind: Schema.Literal<"deploy">;
20417
+ readonly at: Schema.String;
20418
+ readonly trigger: Schema.String;
20419
+ readonly issueId: Schema.NullOr<Schema.String>;
20420
+ readonly initiator: Schema.NullOr<Schema.String>;
20421
+ }>, Schema.Struct<{
20422
+ readonly kind: Schema.Literal<"release">;
20423
+ readonly at: Schema.String;
20424
+ readonly tag: Schema.String;
20425
+ readonly url: Schema.NullOr<Schema.String>;
20426
+ }>]>>;
20427
+ }>>;
19584
20428
  }>;
19585
20429
  type FlywheelDerivedStatus = typeof FlywheelDerivedStatus.Type;
20430
+ /** Cards on the Deploy and Done-today lanes. */
20431
+ declare function shippedCardCount(status: Pick<FlywheelDerivedStatus, "shipped">): number;
19586
20432
  declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_SchemaAST0.ParseOptions) => {
19587
- readonly run: "running" | "idle" | "paused";
20433
+ readonly run: "idle" | "running" | "paused";
19588
20434
  readonly conversation: {
19589
20435
  readonly name: string;
19590
20436
  readonly id: number;
@@ -19608,6 +20454,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
19608
20454
  readonly firstRaisedTick: number;
19609
20455
  readonly firstRaisedAt: string;
19610
20456
  readonly firstRaisedMessageId?: string | undefined;
20457
+ readonly context?: string | undefined;
19611
20458
  }[] | undefined;
19612
20459
  } | null;
19613
20460
  readonly freshness: "live" | "breathing" | "stalled" | null;
@@ -19619,7 +20466,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
19619
20466
  readonly inFlight: readonly {
19620
20467
  readonly issueId: string;
19621
20468
  readonly title: string | null;
19622
- readonly state: "working" | "backlog" | "parked" | "planned" | "in-review" | "changes-requested" | "ready" | "merged" | "closed";
20469
+ readonly state: "backlog" | "parked" | "planned" | "working" | "in-review" | "changes-requested" | "ready" | "merged" | "closed";
19623
20470
  readonly liveAgents: number;
19624
20471
  readonly inTick: boolean;
19625
20472
  readonly lastJournal: {
@@ -19627,17 +20474,47 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
19627
20474
  readonly type: string;
19628
20475
  readonly source?: string | undefined;
19629
20476
  } | null;
19630
- readonly attention?: "stuck" | "needs-you" | "api-error" | "work-not-started" | "pr-outside-pipeline" | undefined;
20477
+ readonly attention?: "needs-you" | "stuck" | "api-error" | "work-not-started" | "pr-outside-pipeline" | undefined;
19631
20478
  readonly pr?: {
19632
20479
  readonly url: string;
19633
20480
  readonly number: number;
19634
- readonly reviewState: "approved" | "changes-requested" | "review-requested" | "commented" | "none";
19635
- readonly checks: "pending" | "green" | "red";
20481
+ readonly reviewState: "changes-requested" | "approved" | "review-requested" | "commented" | "none";
20482
+ readonly checks: "green" | "red" | "pending";
19636
20483
  readonly mergeable: boolean | null;
19637
20484
  readonly merged?: boolean | undefined;
19638
20485
  } | undefined;
19639
20486
  readonly trackerUnknown?: true | undefined;
19640
20487
  readonly strike?: true | undefined;
20488
+ readonly stage?: "checks" | "plan" | "review" | "merge" | "build" | undefined;
20489
+ readonly stageSince?: string | null | undefined;
20490
+ readonly owner?: {
20491
+ readonly kind: "flywheel";
20492
+ } | {
20493
+ readonly kind: "conversation";
20494
+ readonly name: string;
20495
+ readonly title: string | null;
20496
+ } | {
20497
+ readonly kind: "operator";
20498
+ } | undefined;
20499
+ readonly agent?: {
20500
+ readonly role: string;
20501
+ readonly model: string | null;
20502
+ readonly harness: string | null;
20503
+ readonly state: "working" | "idle" | "unknown" | "waiting" | "blocked";
20504
+ readonly agentId?: string | undefined;
20505
+ readonly conversationName?: string | undefined;
20506
+ } | null | undefined;
20507
+ readonly blocker?: {
20508
+ readonly kind: "pr-outside-pipeline" | "gate-queue" | "agent-question" | "agent-error" | "start-failed" | "agent-stuck" | "test-removal-waiver" | "verification-failed" | "ci-failed" | "feedback-undelivered" | "merge-failed" | "auto-merge-scheduled" | "auto-merge-blocked" | "train-batch" | "train-paused" | "ci-red" | "merge-conflict" | "declared-blocked" | "review-stalled" | "no-agent";
20509
+ readonly severity: "needs-you" | "stuck" | "waiting";
20510
+ readonly text: string;
20511
+ readonly action?: "waive-test-removal" | "start-issue" | "answer-agent" | undefined;
20512
+ } | null | undefined;
20513
+ readonly cost?: number | null | undefined;
20514
+ readonly lastActivity?: {
20515
+ readonly at: string;
20516
+ readonly label: string;
20517
+ } | null | undefined;
19641
20518
  }[];
19642
20519
  readonly agents: readonly {
19643
20520
  readonly issueId: string;
@@ -19657,6 +20534,73 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
19657
20534
  } | null;
19658
20535
  readonly projectRoot: string;
19659
20536
  readonly generatedAt: string;
20537
+ readonly health?: {
20538
+ readonly mainCi: {
20539
+ readonly conclusion: string;
20540
+ readonly sha: string;
20541
+ readonly url: string | null;
20542
+ readonly at: string;
20543
+ } | null;
20544
+ readonly deployed: {
20545
+ readonly buildCommit: string;
20546
+ readonly behindVerdict: number | null;
20547
+ } | null;
20548
+ readonly gateQueue: {
20549
+ readonly running: number;
20550
+ readonly queued: number;
20551
+ readonly slots: number;
20552
+ readonly oldestWaitSince: string | null;
20553
+ };
20554
+ readonly nextBatch: {
20555
+ readonly name: string;
20556
+ readonly status: string;
20557
+ readonly members: readonly string[];
20558
+ readonly createdAt: string;
20559
+ } | null;
20560
+ readonly batchingPausedUntil: string | null;
20561
+ readonly lastRelease: {
20562
+ readonly tag: string;
20563
+ readonly at: string;
20564
+ readonly url: string | null;
20565
+ } | null;
20566
+ } | undefined;
20567
+ readonly shipped?: {
20568
+ readonly merges: readonly {
20569
+ readonly sha: string;
20570
+ readonly at: string;
20571
+ readonly subject: string;
20572
+ readonly prNumber: number;
20573
+ readonly prUrl: string | null;
20574
+ readonly issueId: string | null;
20575
+ readonly title: string | null;
20576
+ readonly deployed: boolean | null;
20577
+ }[];
20578
+ readonly events: readonly ({
20579
+ readonly kind: "merge";
20580
+ readonly at: string;
20581
+ readonly merge: {
20582
+ readonly sha: string;
20583
+ readonly at: string;
20584
+ readonly subject: string;
20585
+ readonly prNumber: number;
20586
+ readonly prUrl: string | null;
20587
+ readonly issueId: string | null;
20588
+ readonly title: string | null;
20589
+ readonly deployed: boolean | null;
20590
+ };
20591
+ } | {
20592
+ readonly kind: "deploy";
20593
+ readonly at: string;
20594
+ readonly trigger: string;
20595
+ readonly issueId: string | null;
20596
+ readonly initiator: string | null;
20597
+ } | {
20598
+ readonly kind: "release";
20599
+ readonly at: string;
20600
+ readonly tag: string;
20601
+ readonly url: string | null;
20602
+ })[];
20603
+ } | undefined;
19660
20604
  };
19661
20605
  //#endregion
19662
20606
  //#region src/orders.d.ts
@@ -20554,8 +21498,10 @@ interface HarnessCapabilities {
20554
21498
  readonly runsOnFlyMachine: boolean;
20555
21499
  /** Launches get the `overdeck` MCP server with a per-agent token (PAN-4927 D-13): Claude Code (PAN-4932), Codex (PAN-4933 W-INJ2) and the ACP harnesses (PAN-4934). */
20556
21500
  readonly overdeckMcp: boolean;
21501
+ /** The composer / menu lists skills as /<name> because the harness runs a typed /<skill> (PAN-5347). */
21502
+ readonly skillSlashCommands: boolean;
20557
21503
  }
20558
- declare const HARNESS_CAPABILITY_KEYS: readonly ["contextChannel", "initialPromptMustLand", "stopRuntimeOnStartFailure", "resumeContractMustLand", "reapsPrivateDaemonOnStop", "attachmentDelivery", "nativeManualCompact", "paneInputGuard", "transcriptDeliveryReceipt", "hostEffortFlag", "binaryLabel", "installHint", "updateArgs", "npmPackage", "binaryConfigKey", "launchPreflight", "workspaceResolution", "correlatesBySessionId", "answersQuestionByMessage", "askAnswerDelivery", "runsOnFlyMachine", "overdeckMcp"];
21504
+ declare const HARNESS_CAPABILITY_KEYS: readonly ["contextChannel", "initialPromptMustLand", "stopRuntimeOnStartFailure", "resumeContractMustLand", "reapsPrivateDaemonOnStop", "attachmentDelivery", "nativeManualCompact", "paneInputGuard", "transcriptDeliveryReceipt", "hostEffortFlag", "binaryLabel", "installHint", "updateArgs", "npmPackage", "binaryConfigKey", "launchPreflight", "workspaceResolution", "correlatesBySessionId", "answersQuestionByMessage", "askAnswerDelivery", "runsOnFlyMachine", "overdeckMcp", "skillSlashCommands"];
20559
21505
  declare const CLAUDE_CODE_CAPABILITIES: HarnessCapabilities;
20560
21506
  declare const OHMYPI_CAPABILITIES: HarnessCapabilities;
20561
21507
  /**
@@ -21097,8 +22043,8 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
21097
22043
  readonly channel_error_class: readonly ["none", "unreachable", "identity_refused", "unknown_peer", "unsupported", "no_relay_plan", "descriptor_failed", "wrong_machine", "heartbeat_failed", "revoked"];
21098
22044
  readonly channel_route: readonly ["lan", "tailnet", "ssh", "public", "direct", "relay", "stored"];
21099
22045
  readonly cli_verb: readonly ["abort", "approve", "backlog", "backup", "clean", "context", "destroy", "dev", "diff", "doctor", "done", "down", "edit", "finalize", "fork", "handoff", "health", "init", "issues", "kill", "list", "migrate", "mode", "open", "pause", "pending", "plan", "project", "projects", "recover", "reload", "reopen", "request", "reset", "restart", "restore", "resume", "review", "scope", "serve", "show", "skills", "spawn-reviewer", "staffing", "start", "status", "strike", "sync", "sync-main", "tell", "unarchive-conversation", "unpause", "untroubled", "up", "update", "validate", "wipe", "write-sequence", "other"];
21100
- readonly client_route: readonly ["/api/activity", "/api/agent-directory", "/api/agent-requests", "/api/agents", "/api/agents/:id/answer-question", "/api/agents/:id/message", "/api/agents/:id/permissions/:requestId/respond", "/api/agents/:id/plan-action", "/api/agents/:id/tell", "/api/backend-restart-recovery", "/api/backend-restart-recovery/dismiss", "/api/backend-restart-recovery/resume-all", "/api/connectors/self", "/api/conversations", "/api/conversations/:id", "/api/conversations/:id/codex-approval", "/api/conversations/:id/pane-choice", "/api/conversations/:id/permission", "/api/conversations/:id/pi-ask-answer", "/api/conversations/:name/abort", "/api/conversations/:name/about", "/api/conversations/:name/attachments/:file", "/api/conversations/:name/bookmarks", "/api/conversations/:name/compact", "/api/conversations/:name/delete-image", "/api/conversations/:name/diffs", "/api/conversations/:name/diffs/:turnId", "/api/conversations/:name/kickoff", "/api/conversations/:name/message", "/api/conversations/:name/message-locator", "/api/conversations/:name/message/cancel", "/api/conversations/:name/messages", "/api/conversations/:name/plan-action", "/api/conversations/:name/preview-ports", "/api/conversations/:name/pull-requests", "/api/conversations/:name/pull-requests/sync", "/api/conversations/:name/release", "/api/conversations/:name/release/complete", "/api/conversations/:name/release/transfer/:transferId", "/api/conversations/:name/release/undo", "/api/conversations/:name/resume", "/api/conversations/:name/scheduled-messages", "/api/conversations/:name/scheduled-messages/:id", "/api/conversations/:name/schedules", "/api/conversations/:name/schedules/:id", "/api/conversations/:name/stop", "/api/conversations/:name/switch-model", "/api/conversations/:name/thinking-level", "/api/conversations/:name/tool-body/:toolUseId", "/api/conversations/:name/upload-image", "/api/conversations/pending-input", "/api/costs/request-digest", "/api/costs/summary", "/api/disk-alert", "/api/explorer/download", "/api/explorer/edit-workspaces/:workspaceId", "/api/explorer/edit-workspaces/:workspaceId/discard", "/api/explorer/edit-workspaces/:workspaceId/merge", "/api/explorer/edit-workspaces/:workspaceId/pr", "/api/explorer/upload", "/api/fleet/conversations", "/api/fleet/issues/:id/activity", "/api/fleet/issues/:id/start", "/api/fleet/machines", "/api/fleet/needs-you", "/api/fleet/placement", "/api/fleet/search", "/api/fleet/workers", "/api/fleet/workers/:id/stop", "/api/flywheel/status", "/api/github/identities", "/api/harness-auto-update", "/api/issues", "/api/issues/:id", "/api/issues/:id/check-runs", "/api/issues/:id/costs", "/api/issues/resource-allocated", "/api/lanes", "/api/lanes/:name", "/api/lanes/:name/stop", "/api/machines/conversations", "/api/machines/heartbeat", "/api/machines/issue-activity", "/api/machines/needs-you", "/api/machines/projects", "/api/machines/projects/:key/file", "/api/machines/projects/:key/source", "/api/machines/self", "/api/machines/work/conversations", "/api/machines/work/issues/:id/start", "/api/machines/work/lanes", "/api/machines/work/lanes/:name/reap", "/api/machines/work/lanes/:name/status", "/api/machines/work/projects", "/api/machines/work/projects/:jobId", "/api/machines/work/workers", "/api/needs-you", "/api/palette/search", "/api/phones/self", "/api/phones/self/notification-preferences", "/api/phones/self/push-key", "/api/pipeline/membership", "/api/pull-requests", "/api/pull-requests/conversations", "/api/push/history", "/api/registered-projects", "/api/self/done", "/api/self/handoff", "/api/self/jobs/:id", "/api/self/jobs/:id/wait", "/api/self/lanes", "/api/self/lanes/report", "/api/self/lanes/wait", "/api/self/machine-link-requests", "/api/self/machine-link-requests/:id/wait", "/api/self/memory/facts", "/api/self/memory/search", "/api/self/pull-request-watches", "/api/self/pull-request-watches/:id", "/api/self/pull-requests", "/api/self/secret-requests", "/api/self/secret-requests/:id/wait", "/api/self/tasks/block", "/api/self/tasks/claim", "/api/self/tasks/done", "/api/self/worker-report", "/api/self/workers", "/api/self/workers/:id", "/api/self/workers/:id/wait", "/api/settings/resolved", "/api/telemetry/client-config", "/api/versions/self", "/api/versions/self/update", "/api/workers", "/api/workers/:id/status", "/api/workers/:id/stop", "/events/stream", "/events/version", "other"];
21101
- readonly client_route_area: readonly ["access-tokens", "account", "activity", "admin", "agent-directory", "agent-requests", "agents", "anywhere", "artifacts", "autopreso", "backend-restart-recovery", "backlog", "boot-reconciliation", "cache", "cache-status", "claude-code", "cliproxy", "cloister", "color-themes", "command-deck", "commands", "confirmations", "connectors", "context", "conversations", "costs", "dashboard", "deacon", "deft", "deploy", "dev", "devices", "diffs", "directory", "discovered-sessions", "disk-alert", "effort", "environment", "events", "explorer", "fleet", "flywheel", "fs", "git-activity", "github", "github-quota", "godview", "harness-auto-update", "health", "hooks", "internal", "issues", "jev", "joins", "knowledge-viewer", "lanes", "linear-mcp-auth", "linked-conversations", "machines", "mcp", "mcp-oauth", "memory", "merge-queue", "merge-train", "metrics", "model-presets", "models", "needs-you", "no-resume-mode", "orders", "pairing", "palette", "parked", "phones", "pipeline", "planning", "prereqs", "project-mappings", "projects", "pull-requests", "push", "rally", "registered-projects", "registry", "remote", "resources", "restart-gate", "resume-all", "review", "self", "session-trees", "settings", "shadow", "share-probe", "shares", "show", "skills", "specialists", "system", "tailscale", "telemetry", "terminals", "tiered", "tracker-status", "trackers", "triggers", "tts", "update", "vault", "velocity", "version", "versions", "voice", "webhooks", "workers", "workspace-registry", "workspace-stack-health", "workspaces", "other"];
22046
+ readonly client_route: readonly ["/api/activity", "/api/agent-directory", "/api/agent-requests", "/api/agents", "/api/agents/:id/answer-question", "/api/agents/:id/message", "/api/agents/:id/permissions/:requestId/respond", "/api/agents/:id/plan-action", "/api/agents/:id/send-now", "/api/agents/:id/tell", "/api/backend-restart-recovery", "/api/backend-restart-recovery/dismiss", "/api/backend-restart-recovery/resume-all", "/api/connectors/self", "/api/conversations", "/api/conversations/:id", "/api/conversations/:id/codex-approval", "/api/conversations/:id/pane-choice", "/api/conversations/:id/permission", "/api/conversations/:id/pi-ask-answer", "/api/conversations/:name/abort", "/api/conversations/:name/about", "/api/conversations/:name/attachments/:file", "/api/conversations/:name/bookmarks", "/api/conversations/:name/changes", "/api/conversations/:name/changes/lines", "/api/conversations/:name/compact", "/api/conversations/:name/delete-image", "/api/conversations/:name/diffs", "/api/conversations/:name/diffs/:turnId", "/api/conversations/:name/kickoff", "/api/conversations/:name/message", "/api/conversations/:name/message-locator", "/api/conversations/:name/message/cancel", "/api/conversations/:name/messages", "/api/conversations/:name/plan-action", "/api/conversations/:name/preview-ports", "/api/conversations/:name/pull-requests", "/api/conversations/:name/pull-requests/sync", "/api/conversations/:name/release", "/api/conversations/:name/release/complete", "/api/conversations/:name/release/transfer/:transferId", "/api/conversations/:name/release/undo", "/api/conversations/:name/resume", "/api/conversations/:name/scheduled-messages", "/api/conversations/:name/scheduled-messages/:id", "/api/conversations/:name/schedules", "/api/conversations/:name/schedules/:id", "/api/conversations/:name/send-now", "/api/conversations/:name/stop", "/api/conversations/:name/switch-model", "/api/conversations/:name/thinking-level", "/api/conversations/:name/tool-body/:toolUseId", "/api/conversations/:name/upload-image", "/api/conversations/pending-input", "/api/costs/request-digest", "/api/costs/summary", "/api/disk-alert", "/api/explorer/download", "/api/explorer/edit-workspaces/:workspaceId", "/api/explorer/edit-workspaces/:workspaceId/changes", "/api/explorer/edit-workspaces/:workspaceId/discard", "/api/explorer/edit-workspaces/:workspaceId/merge", "/api/explorer/edit-workspaces/:workspaceId/pr", "/api/explorer/upload", "/api/fleet/conversations", "/api/fleet/issues/:id/activity", "/api/fleet/issues/:id/start", "/api/fleet/machines", "/api/fleet/needs-you", "/api/fleet/placement", "/api/fleet/search", "/api/fleet/workers", "/api/fleet/workers/:id/stop", "/api/flywheel/status", "/api/github/identities", "/api/harness-auto-update", "/api/issues", "/api/issues/:id", "/api/issues/:id/check-runs", "/api/issues/:id/costs", "/api/issues/resource-allocated", "/api/lanes", "/api/lanes/:name", "/api/lanes/:name/stop", "/api/machines/conversations", "/api/machines/heartbeat", "/api/machines/issue-activity", "/api/machines/needs-you", "/api/machines/projects", "/api/machines/projects/:key/file", "/api/machines/projects/:key/source", "/api/machines/self", "/api/machines/work/conversations", "/api/machines/work/issues/:id/start", "/api/machines/work/lanes", "/api/machines/work/lanes/:name/reap", "/api/machines/work/lanes/:name/status", "/api/machines/work/projects", "/api/machines/work/projects/:jobId", "/api/machines/work/workers", "/api/needs-you", "/api/palette/search", "/api/phones/self", "/api/phones/self/notification-preferences", "/api/phones/self/push-key", "/api/pipeline/membership", "/api/pull-requests", "/api/pull-requests/conversations", "/api/push/history", "/api/registered-projects", "/api/self/done", "/api/self/handoff", "/api/self/jobs/:id", "/api/self/jobs/:id/wait", "/api/self/lanes", "/api/self/lanes/report", "/api/self/lanes/wait", "/api/self/machine-link-requests", "/api/self/machine-link-requests/:id/wait", "/api/self/memory/facts", "/api/self/memory/search", "/api/self/pull-request-watches", "/api/self/pull-request-watches/:id", "/api/self/pull-requests", "/api/self/secret-requests", "/api/self/secret-requests/:id/wait", "/api/self/tasks/block", "/api/self/tasks/claim", "/api/self/tasks/done", "/api/self/worker-report", "/api/self/workers", "/api/self/workers/:id", "/api/self/workers/:id/wait", "/api/settings/resolved", "/api/shutdown", "/api/shutdown/cancel", "/api/shutdown/force-all", "/api/shutdown/force-stop", "/api/shutdown/preview", "/api/telemetry/client-config", "/api/ui/open", "/api/versions/self", "/api/versions/self/update", "/api/workers", "/api/workers/:id/status", "/api/workers/:id/stop", "/events/stream", "/events/version", "other"];
22047
+ readonly client_route_area: readonly ["access-tokens", "account", "activity", "admin", "agent-directory", "agent-requests", "agents", "anywhere", "artifacts", "autopreso", "backend-restart-recovery", "backlog", "boot-reconciliation", "cache", "cache-status", "claude-code", "cliproxy", "cloister", "color-themes", "command-deck", "commands", "confirmations", "connectors", "context", "conversations", "costs", "dashboard", "deacon", "deft", "deploy", "dev", "devices", "diffs", "directory", "discovered-sessions", "disk-alert", "effort", "environment", "events", "explorer", "fleet", "flywheel", "fs", "git-activity", "github", "github-quota", "godview", "harness-auto-update", "health", "hooks", "internal", "issues", "jev", "joins", "knowledge-viewer", "lanes", "linear-mcp-auth", "linked-conversations", "machines", "mcp", "mcp-oauth", "memory", "merge-queue", "merge-train", "metrics", "model-presets", "models", "needs-you", "no-resume-mode", "orders", "pairing", "palette", "parked", "phones", "pipeline", "planning", "prereqs", "project-mappings", "projects", "pull-requests", "push", "rally", "registered-projects", "registry", "remote", "resources", "restart-gate", "resume-all", "review", "self", "session-trees", "settings", "shadow", "share-probe", "shares", "show", "shutdown", "skills", "specialists", "system", "tailscale", "telemetry", "terminals", "tiered", "tracker-status", "trackers", "triggers", "tts", "ui", "update", "vault", "velocity", "version", "versions", "voice", "webhooks", "workers", "workspace-registry", "workspace-stack-health", "workspaces", "other"];
21102
22048
  readonly close_out_variant: readonly ["card", "inspector"];
21103
22049
  readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
21104
22050
  readonly dashboard_tab: readonly ["home", "pipeline", "kanban", "command-deck", "agents", "flywheel", "orders", "backlog", "resources", "knowledge", "skills", "context", "health", "activity", "metrics", "costs", "autopreso", "settings", "god-view", "deacon", "sessions", "awaiting-merge", "workspace-new", "project-new", "workspace"];
@@ -24091,6 +25037,11 @@ interface BackendRestartConversation {
24091
25037
  readonly name: string;
24092
25038
  readonly title: string | null;
24093
25039
  }
25040
+ interface BackendRestartAgent {
25041
+ readonly id: string;
25042
+ readonly issueId: string | null;
25043
+ readonly label: string;
25044
+ }
24094
25045
  type BackendRestartResumeOutcome = "resumed" | "already-running" | "skipped" | "failed";
24095
25046
  interface BackendRestartResumeResult {
24096
25047
  readonly name: string;
@@ -24107,9 +25058,164 @@ interface BackendRestartResumeRun {
24107
25058
  }
24108
25059
  interface BackendRestartRecoverySnapshot {
24109
25060
  readonly lostAt: string | null;
25061
+ readonly cause: "backend-restart" | "shutdown";
24110
25062
  readonly conversations: readonly BackendRestartConversation[];
25063
+ readonly agents: readonly BackendRestartAgent[];
24111
25064
  readonly run: BackendRestartResumeRun | null;
24112
25065
  }
24113
25066
  //#endregion
24114
- export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, 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, AnywhereChannelOpenedProperties, ApsEnvironment, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BROWSERS, BUILTIN_COLOR_THEMES, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BackendRestartConversation, BackendRestartRecoverySnapshot, BackendRestartResumeOutcome, BackendRestartResumeResult, BackendRestartResumeRun, BeadsFreshnessChangedEvent, BrowserEntry, BrowserId, BrowserIdSchema, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PROTOCOL_VERSION, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, ClientPlatform, ClientRequestFailedProperties, ClientToDirectoryFrame, ColorTheme, ColorThemeFile, ColorThemeImportPreviewResponse, ColorThemeSource, ColorThemeSyntax, ColorThemeType, ColorThemeUi, ColorThemesListResponse, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ConnectCloseCode, ConnectErrorCode, ConnectPlan, ConnectProtocolVersion, ConnectorPairLinkInput, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ControlPayload, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPayload, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationSchedulesChangedEvent, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, CreateJoinRequest, CreateRoomRequest, CreateRoomResponse, CreateShareRequest, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeftApprovedScope, DeftCleanRecord, DeftDecisionRecord, DeftEscalation, DeftEscalationType, DeftExitField, DeftFinishLoopEntry, DeftGateRun, DeftHeartbeat, DeftIssueState, DeftIssueSummary, DeftPolicy, DeftReviewCycle, DeftReviewRound, DeftReviewVerdict, DeftScope, DeftScopeFolder, DeftScopeItem, DeftSeverityCounts, DeftSpecDrift, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrOutsidePipeline, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEndpoint, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachine, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryToClientFrame, DirectoryToMachineFrame, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DiskAlertHolders, DiskAlertLevel, DiskAlertSnapshot, DiskSpaceHolder, DomainEvent, DraftPayload, DraftUpdate, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditWorkspaceCreatePrInput, EditWorkspaceCreatePrResult, EditWorkspaceInfo, EditWorkspacePr, EditWorkspaceStatus, EditWorkspaceSupport, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerErrorCode, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FleetComponent, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJob, FleetUpdateJobSchema, FleetUpdateMode, FleetUpdateResponse, FleetVersionRow, FleetVersionsResponse, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, 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, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, Harness, HarnessAskAnswerDelivery, HarnessAttachmentDelivery, HarnessAutoUpdateFailure, HarnessAutoUpdateOutcomeKind, HarnessAutoUpdateSnapshot, HarnessBehavior, HarnessBinaryConfigKey, HarnessCapabilities, HarnessContextChannel, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessLaunchPreflight, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HarnessVersionView, HarnessWorkspaceResolution, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InboundMachineView, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, JoinEvent, JoinIceServersResponse, JoinState, JoinView, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, LinkedConversationFields, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, ListSharesResponse, LiveActivityCounts, LoadSample, 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, MUSE_CAPABILITIES, MachineLinkApprovedProperties, MachineLinkFailedProperties, MachineLinkStartedProperties, MachineLinkView, MachinePlacementMode, MachineProject, MachineToDirectoryFrame, MachineVersionsReport, MachineVersionsReportSchema, MachinesResponse, McpSessionSeenProperties, McpToolCalledProperties, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PhoneIssueEvent, PhoneLinkStateProperties, PhoneNotificationCategory, PhoneNotificationPreferences, PhonePairLinkInput, PhonePairedProperties, PhonePlatform, PhonePushPayload, PhoneRemovedProperties, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, PresenceParticipant, PresencePayload, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, PushResultError, PushUrgency, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatus, RelayStatusView, RelayUsageSampledProperties, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RouteKind, RouteSource, RuntimeName, SCHEDULE_PRESET_DAYS, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SchedulePreset, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendSharePromptRequest, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareCommand, ShareConnection, ShareDraftView, ShareErrorCode, ShareIdentity, ShareLastError, ShareProtocolVersion, ShareQueueItemView, ShareQueueView, ShareScope, ShareView, SharedChannel, SharedChannelReader, SharedChunk, SharedCommandRefusal, SharedControllerCommand, SharedConversationRow, SharedConversationsResponse, SharedEnvelope, SharedHello, SharedHelloError, SharedMessage, SharedReadResult, SharedStream, SharedSubmitReason, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, SignalData, SignalPurpose, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, 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_INSTALL_KINDS, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TelemetryChannelErrorClass, TelemetryChannelRoute, TelemetryCliVerb, TelemetryClient, TelemetryClientConfig, TelemetryClientRoute, TelemetryClientRouteArea, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryHttpMethod, TelemetryInstallKind, TelemetryLinkFailureReason, TelemetryLinkMethod, TelemetryLinkReason, TelemetryLinkRoute, TelemetryLinkSide, TelemetryLinkState, TelemetryMcpAuth, TelemetryMcpClient, TelemetryMcpProtocol, TelemetryMcpSurface, TelemetryMcpTool, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TelemetryRecoveryBucket, TelemetryRelayBytesBucket, TelemetryRequestStatus, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalPalette, TerminalPayload, TerminalResizeRpc, TerminalUnavailableReason, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TimelineKey, TokenColorEntry, TokenColorSettings, TrackerIssueProject, TrackerIssueUrlRef, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WINDOW_PINNED_OPEN_TOOLS_MAX, 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, bucketQuotaPoints, bucketQuotaRemaining, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, needsYouItemKey, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, presenceForPaneState, presetToCron, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolveTrackerIssueId, sharedPromptRefusal, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
25067
+ //#region src/conversation-changes.d.ts
25068
+ type ChangeScope = "conversation" | "turn" | "uncommitted" | "main";
25069
+ interface ChangedFile {
25070
+ path: string;
25071
+ status: "A" | "M" | "D" | "R";
25072
+ additions: number;
25073
+ deletions: number;
25074
+ oldPath?: string;
25075
+ }
25076
+ interface UncommittedFile extends ChangedFile {
25077
+ /** 'lines' when edit records attribute specific lines; 'file' when only the file is known. */
25078
+ attribution: "lines" | "file";
25079
+ /** Assistant message ids of the turns that edited this file (lets one response feed every turn card). */
25080
+ turnIds: string[];
25081
+ /** Lines in the working-tree diff of this file that this conversation did NOT write (only when attribution === 'lines'). */
25082
+ otherLines?: number;
25083
+ /** Other conversations whose edit records match the other lines (Claude Code only; may be empty). */
25084
+ otherConversations?: {
25085
+ name: string;
25086
+ title: string;
25087
+ }[];
25088
+ }
25089
+ interface ChangeCommit {
25090
+ sha: string;
25091
+ shortSha: string;
25092
+ subject: string;
25093
+ authoredAt: string;
25094
+ pushed: boolean;
25095
+ /** How the commit was tied to the conversation. */
25096
+ attribution: "trailer" | "tool-output";
25097
+ files: ChangedFile[];
25098
+ /** Assistant message id of the turn that made it, when known. */
25099
+ turnId?: string;
25100
+ /** Set in scope 'main': who made the commit. */
25101
+ by?: {
25102
+ kind: "conversation" | "agent" | "unattributed";
25103
+ id?: string;
25104
+ title?: string;
25105
+ isThisConversation?: boolean;
25106
+ };
25107
+ }
25108
+ /** Added to each row of GET /api/conversations for conversations whose transcript changed in the last 24 h (from the changes cache; absent otherwise). */
25109
+ interface ConversationChangeTotals {
25110
+ files: number;
25111
+ additions: number;
25112
+ deletions: number;
25113
+ uncommittedFiles: number;
25114
+ commitsLocal: number;
25115
+ }
25116
+ interface ConversationChanges {
25117
+ conversation: string;
25118
+ repoRoot: string;
25119
+ rootId: string | null;
25120
+ branch: string | null;
25121
+ scope: ChangeScope;
25122
+ turnId?: string;
25123
+ uncommitted: UncommittedFile[];
25124
+ commits: ChangeCommit[];
25125
+ totals: {
25126
+ files: number;
25127
+ additions: number;
25128
+ deletions: number;
25129
+ commitsPushed: number;
25130
+ commitsLocal: number;
25131
+ uncommittedFiles: number;
25132
+ };
25133
+ }
25134
+ interface ProjectCommit {
25135
+ sha: string;
25136
+ shortSha: string;
25137
+ subject: string;
25138
+ authoredAt: string;
25139
+ by: {
25140
+ kind: "conversation" | "agent" | "unattributed";
25141
+ id?: string;
25142
+ title?: string;
25143
+ };
25144
+ }
25145
+ interface ProjectChanges {
25146
+ projectKey: string;
25147
+ branch: string;
25148
+ commits: ProjectCommit[];
25149
+ }
25150
+ /** GET /api/conversations/:name/changes/lines (PAN-5290): working-tree line numbers (1-based, ascending) the conversation changed in `path`. */
25151
+ interface ConversationChangedLines {
25152
+ path: string;
25153
+ lines: number[];
25154
+ }
25155
+ //#endregion
25156
+ //#region src/path-root.d.ts
25157
+ type PathRootResult = {
25158
+ readonly kind: "root";
25159
+ readonly projectKey: string;
25160
+ readonly rootId: string;
25161
+ } | {
25162
+ readonly kind: "no-root";
25163
+ readonly projectKey: string;
25164
+ } | {
25165
+ readonly kind: "outside";
25166
+ };
25167
+ interface PathRootProject {
25168
+ readonly key: string;
25169
+ readonly path: string;
25170
+ }
25171
+ interface PathRootScratch {
25172
+ readonly id: string;
25173
+ readonly path: string;
25174
+ }
25175
+ /**
25176
+ * Map an absolute path to its explorer root, first match wins:
25177
+ * 1. a scratch workspace path containing it (longest first) → `workspace:<id>`;
25178
+ * 2. `<projectPath>/workspaces/feature-<x>/…` → `issue:<X>`;
25179
+ * 3. any other folder under `<projectPath>/workspaces/` → `no-root`;
25180
+ * 4. the longest project path containing it → `project:<key>`;
25181
+ * 5. otherwise `outside`.
25182
+ */
25183
+ declare function resolvePathRoot(absPath: string, projects: readonly PathRootProject[], scratch: readonly PathRootScratch[]): PathRootResult;
25184
+ //#endregion
25185
+ //#region src/ui-commands.d.ts
25186
+ /** The server's answer for a path: which deck, root and file or folder to show. */
25187
+ declare const UiOpenResolution: Schema.Struct<{
25188
+ /** The registered project key (`projects.yaml`), as root ids use it. */readonly projectKey: Schema.String; /** The deck the dashboard keys this project by: its name, or its key when it has none (PAN-5398). */
25189
+ readonly deckKey: Schema.String;
25190
+ readonly rootId: Schema.String; /** POSIX path relative to the root folder; `''` for the root itself. */
25191
+ readonly relPath: Schema.String;
25192
+ readonly kind: Schema.Literals<readonly ["file", "dir"]>;
25193
+ readonly line: Schema.optional<Schema.Number>;
25194
+ readonly column: Schema.optional<Schema.Number>;
25195
+ }>;
25196
+ type UiOpenResolution = typeof UiOpenResolution.Type;
25197
+ /** The deck key the project switcher selects for a registered project: its name, or its key (PAN-5398). */
25198
+ declare function projectDeckKey(project: {
25199
+ readonly key: string;
25200
+ readonly name?: string | null;
25201
+ }): string;
25202
+ /** The sentence `pan open` prints and the dashboard toasts after an open (PAN-5398). */
25203
+ declare function uiOpenSummary(resolution: Pick<UiOpenResolution, "deckKey" | "rootId" | "relPath">): string;
25204
+ /** One UI command. `id` is a random UUID that tabs use to dedupe handling. */
25205
+ declare const UiCommand: Schema.Struct<{
25206
+ readonly id: Schema.String;
25207
+ readonly type: Schema.Literal<"open-path">;
25208
+ readonly resolution: Schema.Struct<{
25209
+ /** The registered project key (`projects.yaml`), as root ids use it. */readonly projectKey: Schema.String; /** The deck the dashboard keys this project by: its name, or its key when it has none (PAN-5398). */
25210
+ readonly deckKey: Schema.String;
25211
+ readonly rootId: Schema.String; /** POSIX path relative to the root folder; `''` for the root itself. */
25212
+ readonly relPath: Schema.String;
25213
+ readonly kind: Schema.Literals<readonly ["file", "dir"]>;
25214
+ readonly line: Schema.optional<Schema.Number>;
25215
+ readonly column: Schema.optional<Schema.Number>;
25216
+ }>;
25217
+ }>;
25218
+ type UiCommand = typeof UiCommand.Type;
25219
+ //#endregion
25220
+ export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, 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, AnywhereChannelOpenedProperties, ApsEnvironment, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BROWSERS, BUILTIN_COLOR_THEMES, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BackendRestartAgent, BackendRestartConversation, BackendRestartRecoverySnapshot, BackendRestartResumeOutcome, BackendRestartResumeResult, BackendRestartResumeRun, BeadsFreshnessChangedEvent, BrowserEntry, BrowserId, BrowserIdSchema, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PROTOCOL_VERSION, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, ChangeCommit, ChangeScope, ChangedFile, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, ClientPlatform, ClientRequestFailedProperties, ClientToDirectoryFrame, ColorTheme, ColorThemeFile, ColorThemeImportPreviewResponse, ColorThemeSource, ColorThemeSyntax, ColorThemeType, ColorThemeUi, ColorThemesListResponse, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ConnectCloseCode, ConnectErrorCode, ConnectPlan, ConnectProtocolVersion, ConnectorPairLinkInput, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ControlPayload, ConversationChangeTotals, ConversationChangedLines, ConversationChanges, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPayload, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationSchedulesChangedEvent, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, CreateJoinRequest, CreateRoomRequest, CreateRoomResponse, CreateShareRequest, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeftApprovedScope, DeftCleanRecord, DeftDecisionRecord, DeftEscalation, DeftEscalationType, DeftExitField, DeftFinishLoopEntry, DeftGateRun, DeftHeartbeat, DeftIssueState, DeftIssueSummary, DeftPolicy, DeftReviewCycle, DeftReviewRound, DeftReviewVerdict, DeftScope, DeftScopeFolder, DeftScopeItem, DeftSeverityCounts, DeftSpecDrift, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedMergedSlice, DerivedPrOutsidePipeline, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEndpoint, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachine, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryToClientFrame, DirectoryToMachineFrame, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DiskAlertHolders, DiskAlertLevel, DiskAlertSnapshot, DiskSpaceHolder, DomainEvent, DraftPayload, DraftUpdate, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditWorkspaceChangedFile, EditWorkspaceChanges, EditWorkspaceCreatePrInput, EditWorkspaceCreatePrResult, EditWorkspaceInfo, EditWorkspacePr, EditWorkspaceStatus, EditWorkspaceSupport, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerErrorCode, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FleetComponent, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJob, FleetUpdateJobSchema, FleetUpdateMode, FleetUpdateResponse, FleetVersionRow, FleetVersionsResponse, FlywheelActivity, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBlocker, FlywheelBlockerKind, FlywheelBugRateCriterion, FlywheelCardAgent, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHealth, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelOwner, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelShipped, FlywheelShippedEvent, FlywheelShippedMerge, FlywheelStage, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, Harness, HarnessAskAnswerDelivery, HarnessAttachmentDelivery, HarnessAutoUpdateFailure, HarnessAutoUpdateOutcomeKind, HarnessAutoUpdateSnapshot, HarnessBehavior, HarnessBinaryConfigKey, HarnessCapabilities, HarnessContextChannel, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessLaunchPreflight, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HarnessVersionView, HarnessWorkspaceResolution, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InboundMachineView, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, JoinEvent, JoinIceServersResponse, JoinState, JoinView, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, LinkedConversationFields, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, ListSharesResponse, LiveActivityCounts, LoadSample, 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, MUSE_CAPABILITIES, MachineLinkApprovedProperties, MachineLinkFailedProperties, MachineLinkStartedProperties, MachineLinkView, MachinePlacementMode, MachineProject, MachineToDirectoryFrame, MachineVersionsReport, MachineVersionsReportSchema, MachinesResponse, McpSessionSeenProperties, McpToolCalledProperties, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PathRootProject, PathRootResult, PathRootScratch, PendingTurn, PhoneIssueEvent, PhoneLinkStateProperties, PhoneNotificationCategory, PhoneNotificationPreferences, PhonePairLinkInput, PhonePairedProperties, PhonePlatform, PhonePushPayload, PhoneRemovedProperties, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, PresenceParticipant, PresencePayload, ProjectChanges, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectCommit, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, PushResultError, PushUrgency, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatus, RelayStatusView, RelayUsageSampledProperties, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RouteKind, RouteSource, RuntimeName, SCHEDULE_PRESET_DAYS, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SchedulePreset, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendSharePromptRequest, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareCommand, ShareConnection, ShareDraftView, ShareErrorCode, ShareIdentity, ShareLastError, ShareProtocolVersion, ShareQueueItemView, ShareQueueView, ShareScope, ShareView, SharedChannel, SharedChannelReader, SharedChunk, SharedCommandRefusal, SharedControllerCommand, SharedConversationRow, SharedConversationsResponse, SharedEnvelope, SharedHello, SharedHelloError, SharedMessage, SharedReadResult, SharedStream, SharedSubmitReason, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, ShutdownPendingSession, ShutdownPhase, ShutdownSnapshot, ShutdownWriter, SignalData, SignalPurpose, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubscribeUiCommandsRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, SystemShutdownChangedEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_INSTALL_KINDS, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TelemetryChannelErrorClass, TelemetryChannelRoute, TelemetryCliVerb, TelemetryClient, TelemetryClientConfig, TelemetryClientRoute, TelemetryClientRouteArea, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryHttpMethod, TelemetryInstallKind, TelemetryLinkFailureReason, TelemetryLinkMethod, TelemetryLinkReason, TelemetryLinkRoute, TelemetryLinkSide, TelemetryLinkState, TelemetryMcpAuth, TelemetryMcpClient, TelemetryMcpProtocol, TelemetryMcpSurface, TelemetryMcpTool, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TelemetryRecoveryBucket, TelemetryRelayBytesBucket, TelemetryRequestStatus, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalPalette, TerminalPayload, TerminalResizeRpc, TerminalUnavailableReason, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TimelineKey, TokenColorEntry, TokenColorSettings, TrackerIssueProject, TrackerIssueUrlRef, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UiCommand, UiOpenResolution, UncommittedFile, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WINDOW_PINNED_OPEN_TOOLS_MAX, 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, bucketQuotaPoints, bucketQuotaRemaining, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, needsYouItemKey, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, presenceForPaneState, presetToCron, projectDeckKey, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolvePathRoot, resolveTrackerIssueId, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, uiOpenSummary, withPaneLivenessAlias };
24115
25221
  //# sourceMappingURL=index.d.ts.map