@overdeck/contracts 0.86.0 → 0.87.1

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;
@@ -541,6 +594,7 @@ declare const DashboardSnapshot: Schema.Struct<{
541
594
  readonly lastActivity: Schema.String;
542
595
  readonly currentTool: Schema.optional<Schema.String>;
543
596
  readonly currentToolDescription: Schema.optional<Schema.String>;
597
+ readonly toolStartedAt: Schema.optional<Schema.String>;
544
598
  readonly thinking: Schema.optional<Schema.Struct<{
545
599
  readonly since: Schema.String;
546
600
  readonly lastToolAt: Schema.String;
@@ -698,6 +752,32 @@ declare const DashboardSnapshot: Schema.Struct<{
698
752
  readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
699
753
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
700
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
+ }>>>;
701
781
  readonly timestamp: Schema.String;
702
782
  }>;
703
783
  type DashboardSnapshot = typeof DashboardSnapshot.Type;
@@ -1282,6 +1362,45 @@ declare const ProjectDeployChangedEvent: Schema.Struct<{
1282
1362
  }>;
1283
1363
  }>;
1284
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;
1285
1404
  /** Replaces socket.io `agents:changed` (event: 'started') */
1286
1405
  declare const AgentStartedEvent: Schema.Struct<{
1287
1406
  readonly type: Schema.Literal<"agent.started">;
@@ -1807,6 +1926,7 @@ declare const AgentStateRestoredEvent: Schema.Struct<{
1807
1926
  readonly lastActivity: Schema.String;
1808
1927
  readonly currentTool: Schema.optional<Schema.String>;
1809
1928
  readonly currentToolDescription: Schema.optional<Schema.String>;
1929
+ readonly toolStartedAt: Schema.optional<Schema.String>;
1810
1930
  readonly thinking: Schema.optional<Schema.Struct<{
1811
1931
  readonly since: Schema.String;
1812
1932
  readonly lastToolAt: Schema.String;
@@ -2752,10 +2872,11 @@ declare const MemoryHealthChangedEvent: Schema.Struct<{
2752
2872
  readonly summaries: Schema.Number;
2753
2873
  readonly sibling: Schema.Number;
2754
2874
  readonly knowledgeIndex: Schema.Number;
2875
+ readonly facts: Schema.optional<Schema.Number>;
2755
2876
  }>;
2756
2877
  readonly sources: Schema.$Array<Schema.Struct<{
2757
2878
  readonly id: Schema.String;
2758
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
2879
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
2759
2880
  readonly scope: Schema.String;
2760
2881
  readonly score: Schema.Number;
2761
2882
  readonly tokens: Schema.Number;
@@ -3141,6 +3262,38 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3141
3262
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
3142
3263
  }>>;
3143
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
+ }>;
3144
3297
  }>, Schema.Struct<{
3145
3298
  readonly type: Schema.Literal<"agent.created">;
3146
3299
  readonly sequence: Schema.Number;
@@ -3600,6 +3753,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3600
3753
  readonly lastActivity: Schema.String;
3601
3754
  readonly currentTool: Schema.optional<Schema.String>;
3602
3755
  readonly currentToolDescription: Schema.optional<Schema.String>;
3756
+ readonly toolStartedAt: Schema.optional<Schema.String>;
3603
3757
  readonly thinking: Schema.optional<Schema.Struct<{
3604
3758
  readonly since: Schema.String;
3605
3759
  readonly lastToolAt: Schema.String;
@@ -4280,10 +4434,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
4280
4434
  readonly summaries: Schema.Number;
4281
4435
  readonly sibling: Schema.Number;
4282
4436
  readonly knowledgeIndex: Schema.Number;
4437
+ readonly facts: Schema.optional<Schema.Number>;
4283
4438
  }>;
4284
4439
  readonly sources: Schema.$Array<Schema.Struct<{
4285
4440
  readonly id: Schema.String;
4286
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4441
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4287
4442
  readonly scope: Schema.String;
4288
4443
  readonly score: Schema.Number;
4289
4444
  readonly tokens: Schema.Number;
@@ -4649,7 +4804,7 @@ declare const ResetMarker: Schema.Struct<{
4649
4804
  type ResetMarker = typeof ResetMarker.Type;
4650
4805
  declare const RagDecisionSource: Schema.Struct<{
4651
4806
  readonly id: Schema.String;
4652
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4807
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4653
4808
  readonly scope: Schema.String;
4654
4809
  readonly score: Schema.Number;
4655
4810
  readonly tokens: Schema.Number;
@@ -4677,10 +4832,11 @@ declare const RagDecision: Schema.Struct<{
4677
4832
  readonly summaries: Schema.Number;
4678
4833
  readonly sibling: Schema.Number;
4679
4834
  readonly knowledgeIndex: Schema.Number;
4835
+ readonly facts: Schema.optional<Schema.Number>;
4680
4836
  }>;
4681
4837
  readonly sources: Schema.$Array<Schema.Struct<{
4682
4838
  readonly id: Schema.String;
4683
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
4839
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
4684
4840
  readonly scope: Schema.String;
4685
4841
  readonly score: Schema.Number;
4686
4842
  readonly tokens: Schema.Number;
@@ -4725,6 +4881,7 @@ declare const WS_METHODS: {
4725
4881
  readonly subscribeAgentOutput: "pan.subscribeAgentOutput";
4726
4882
  readonly subscribeConversationMessages: "pan.subscribeConversationMessages";
4727
4883
  readonly subscribeProjectSessionTree: "pan.subscribeProjectSessionTree";
4884
+ readonly subscribeUiCommands: "pan.subscribeUiCommands";
4728
4885
  readonly getSnapshot: "pan.getSnapshot";
4729
4886
  readonly replayEvents: "pan.replayEvents";
4730
4887
  readonly readWorkspaceFile: "pan.readWorkspaceFile";
@@ -5203,6 +5360,38 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5203
5360
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
5204
5361
  }>>;
5205
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
+ }>;
5206
5395
  }>, Schema.Struct<{
5207
5396
  readonly type: Schema.Literal<"agent.created">;
5208
5397
  readonly sequence: Schema.Number;
@@ -5662,6 +5851,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
5662
5851
  readonly lastActivity: Schema.String;
5663
5852
  readonly currentTool: Schema.optional<Schema.String>;
5664
5853
  readonly currentToolDescription: Schema.optional<Schema.String>;
5854
+ readonly toolStartedAt: Schema.optional<Schema.String>;
5665
5855
  readonly thinking: Schema.optional<Schema.Struct<{
5666
5856
  readonly since: Schema.String;
5667
5857
  readonly lastToolAt: Schema.String;
@@ -6342,10 +6532,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
6342
6532
  readonly summaries: Schema.Number;
6343
6533
  readonly sibling: Schema.Number;
6344
6534
  readonly knowledgeIndex: Schema.Number;
6535
+ readonly facts: Schema.optional<Schema.Number>;
6345
6536
  }>;
6346
6537
  readonly sources: Schema.$Array<Schema.Struct<{
6347
6538
  readonly id: Schema.String;
6348
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
6539
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
6349
6540
  readonly scope: Schema.String;
6350
6541
  readonly score: Schema.Number;
6351
6542
  readonly tokens: Schema.Number;
@@ -6614,6 +6805,20 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
6614
6805
  readonly agentId: Schema.optional<Schema.String>;
6615
6806
  }>;
6616
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>;
6617
6822
  /** 1b. Subscribe to the live domain event stream for one issue (stream) */
6618
6823
  declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schema.Struct<{
6619
6824
  readonly issueId: Schema.String;
@@ -6747,6 +6952,38 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
6747
6952
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
6748
6953
  }>>;
6749
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
+ }>;
6750
6987
  }>, Schema.Struct<{
6751
6988
  readonly type: Schema.Literal<"agent.created">;
6752
6989
  readonly sequence: Schema.Number;
@@ -7206,6 +7443,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7206
7443
  readonly lastActivity: Schema.String;
7207
7444
  readonly currentTool: Schema.optional<Schema.String>;
7208
7445
  readonly currentToolDescription: Schema.optional<Schema.String>;
7446
+ readonly toolStartedAt: Schema.optional<Schema.String>;
7209
7447
  readonly thinking: Schema.optional<Schema.Struct<{
7210
7448
  readonly since: Schema.String;
7211
7449
  readonly lastToolAt: Schema.String;
@@ -7886,10 +8124,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
7886
8124
  readonly summaries: Schema.Number;
7887
8125
  readonly sibling: Schema.Number;
7888
8126
  readonly knowledgeIndex: Schema.Number;
8127
+ readonly facts: Schema.optional<Schema.Number>;
7889
8128
  }>;
7890
8129
  readonly sources: Schema.$Array<Schema.Struct<{
7891
8130
  readonly id: Schema.String;
7892
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
8131
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
7893
8132
  readonly scope: Schema.String;
7894
8133
  readonly score: Schema.Number;
7895
8134
  readonly tokens: Schema.Number;
@@ -8301,6 +8540,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
8301
8540
  readonly lastActivity: Schema.String;
8302
8541
  readonly currentTool: Schema.optional<Schema.String>;
8303
8542
  readonly currentToolDescription: Schema.optional<Schema.String>;
8543
+ readonly toolStartedAt: Schema.optional<Schema.String>;
8304
8544
  readonly thinking: Schema.optional<Schema.Struct<{
8305
8545
  readonly since: Schema.String;
8306
8546
  readonly lastToolAt: Schema.String;
@@ -8458,6 +8698,32 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
8458
8698
  readonly logPath: Schema.optional<Schema.String>;
8459
8699
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
8460
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
+ }>>>;
8461
8727
  readonly timestamp: Schema.String;
8462
8728
  }>, typeof PanRpcError, never, never>;
8463
8729
  /**
@@ -8599,6 +8865,38 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
8599
8865
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
8600
8866
  }>>;
8601
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
+ }>;
8602
8900
  }>, Schema.Struct<{
8603
8901
  readonly type: Schema.Literal<"agent.created">;
8604
8902
  readonly sequence: Schema.Number;
@@ -9058,6 +9356,7 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
9058
9356
  readonly lastActivity: Schema.String;
9059
9357
  readonly currentTool: Schema.optional<Schema.String>;
9060
9358
  readonly currentToolDescription: Schema.optional<Schema.String>;
9359
+ readonly toolStartedAt: Schema.optional<Schema.String>;
9061
9360
  readonly thinking: Schema.optional<Schema.Struct<{
9062
9361
  readonly since: Schema.String;
9063
9362
  readonly lastToolAt: Schema.String;
@@ -9738,10 +10037,11 @@ declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Un
9738
10037
  readonly summaries: Schema.Number;
9739
10038
  readonly sibling: Schema.Number;
9740
10039
  readonly knowledgeIndex: Schema.Number;
10040
+ readonly facts: Schema.optional<Schema.Number>;
9741
10041
  }>;
9742
10042
  readonly sources: Schema.$Array<Schema.Struct<{
9743
10043
  readonly id: Schema.String;
9744
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
10044
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
9745
10045
  readonly scope: Schema.String;
9746
10046
  readonly score: Schema.Number;
9747
10047
  readonly tokens: Schema.Number;
@@ -10146,6 +10446,38 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
10146
10446
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
10147
10447
  }>>;
10148
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
+ }>;
10149
10481
  }>, Schema.Struct<{
10150
10482
  readonly type: Schema.Literal<"agent.created">;
10151
10483
  readonly sequence: Schema.Number;
@@ -10605,6 +10937,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
10605
10937
  readonly lastActivity: Schema.String;
10606
10938
  readonly currentTool: Schema.optional<Schema.String>;
10607
10939
  readonly currentToolDescription: Schema.optional<Schema.String>;
10940
+ readonly toolStartedAt: Schema.optional<Schema.String>;
10608
10941
  readonly thinking: Schema.optional<Schema.Struct<{
10609
10942
  readonly since: Schema.String;
10610
10943
  readonly lastToolAt: Schema.String;
@@ -11285,10 +11618,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
11285
11618
  readonly summaries: Schema.Number;
11286
11619
  readonly sibling: Schema.Number;
11287
11620
  readonly knowledgeIndex: Schema.Number;
11621
+ readonly facts: Schema.optional<Schema.Number>;
11288
11622
  }>;
11289
11623
  readonly sources: Schema.$Array<Schema.Struct<{
11290
11624
  readonly id: Schema.String;
11291
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
11625
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
11292
11626
  readonly scope: Schema.String;
11293
11627
  readonly score: Schema.Number;
11294
11628
  readonly tokens: Schema.Number;
@@ -12581,6 +12915,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12581
12915
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
12582
12916
  }>>;
12583
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
+ }>;
12584
12950
  }>, Schema.Struct<{
12585
12951
  readonly type: Schema.Literal<"agent.created">;
12586
12952
  readonly sequence: Schema.Number;
@@ -13040,6 +13406,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13040
13406
  readonly lastActivity: Schema.String;
13041
13407
  readonly currentTool: Schema.optional<Schema.String>;
13042
13408
  readonly currentToolDescription: Schema.optional<Schema.String>;
13409
+ readonly toolStartedAt: Schema.optional<Schema.String>;
13043
13410
  readonly thinking: Schema.optional<Schema.Struct<{
13044
13411
  readonly since: Schema.String;
13045
13412
  readonly lastToolAt: Schema.String;
@@ -13720,10 +14087,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13720
14087
  readonly summaries: Schema.Number;
13721
14088
  readonly sibling: Schema.Number;
13722
14089
  readonly knowledgeIndex: Schema.Number;
14090
+ readonly facts: Schema.optional<Schema.Number>;
13723
14091
  }>;
13724
14092
  readonly sources: Schema.$Array<Schema.Struct<{
13725
14093
  readonly id: Schema.String;
13726
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
14094
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
13727
14095
  readonly scope: Schema.String;
13728
14096
  readonly score: Schema.Number;
13729
14097
  readonly tokens: Schema.Number;
@@ -13991,7 +14359,19 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
13991
14359
  readonly recurring: Schema.optional<Schema.Boolean>;
13992
14360
  readonly agentId: Schema.optional<Schema.String>;
13993
14361
  }>;
13994
- }>]>, 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<{
13995
14375
  readonly issueId: Schema.String;
13996
14376
  }>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
13997
14377
  readonly type: Schema.Literal<"system.heartbeat">;
@@ -14123,6 +14503,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14123
14503
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
14124
14504
  }>>;
14125
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
+ }>;
14126
14538
  }>, Schema.Struct<{
14127
14539
  readonly type: Schema.Literal<"agent.created">;
14128
14540
  readonly sequence: Schema.Number;
@@ -14582,6 +14994,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
14582
14994
  readonly lastActivity: Schema.String;
14583
14995
  readonly currentTool: Schema.optional<Schema.String>;
14584
14996
  readonly currentToolDescription: Schema.optional<Schema.String>;
14997
+ readonly toolStartedAt: Schema.optional<Schema.String>;
14585
14998
  readonly thinking: Schema.optional<Schema.Struct<{
14586
14999
  readonly since: Schema.String;
14587
15000
  readonly lastToolAt: Schema.String;
@@ -15262,10 +15675,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15262
15675
  readonly summaries: Schema.Number;
15263
15676
  readonly sibling: Schema.Number;
15264
15677
  readonly knowledgeIndex: Schema.Number;
15678
+ readonly facts: Schema.optional<Schema.Number>;
15265
15679
  }>;
15266
15680
  readonly sources: Schema.$Array<Schema.Struct<{
15267
15681
  readonly id: Schema.String;
15268
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
15682
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
15269
15683
  readonly scope: Schema.String;
15270
15684
  readonly score: Schema.Number;
15271
15685
  readonly tokens: Schema.Number;
@@ -15671,6 +16085,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15671
16085
  readonly lastActivity: Schema.String;
15672
16086
  readonly currentTool: Schema.optional<Schema.String>;
15673
16087
  readonly currentToolDescription: Schema.optional<Schema.String>;
16088
+ readonly toolStartedAt: Schema.optional<Schema.String>;
15674
16089
  readonly thinking: Schema.optional<Schema.Struct<{
15675
16090
  readonly since: Schema.String;
15676
16091
  readonly lastToolAt: Schema.String;
@@ -15828,6 +16243,32 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15828
16243
  readonly logPath: Schema.optional<Schema.String>;
15829
16244
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
15830
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
+ }>>>;
15831
16272
  readonly timestamp: Schema.String;
15832
16273
  }>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
15833
16274
  readonly fromSequence: Schema.Number;
@@ -15961,6 +16402,38 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
15961
16402
  readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
15962
16403
  }>>;
15963
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
+ }>;
15964
16437
  }>, Schema.Struct<{
15965
16438
  readonly type: Schema.Literal<"agent.created">;
15966
16439
  readonly sequence: Schema.Number;
@@ -16420,6 +16893,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
16420
16893
  readonly lastActivity: Schema.String;
16421
16894
  readonly currentTool: Schema.optional<Schema.String>;
16422
16895
  readonly currentToolDescription: Schema.optional<Schema.String>;
16896
+ readonly toolStartedAt: Schema.optional<Schema.String>;
16423
16897
  readonly thinking: Schema.optional<Schema.Struct<{
16424
16898
  readonly since: Schema.String;
16425
16899
  readonly lastToolAt: Schema.String;
@@ -17100,10 +17574,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
17100
17574
  readonly summaries: Schema.Number;
17101
17575
  readonly sibling: Schema.Number;
17102
17576
  readonly knowledgeIndex: Schema.Number;
17577
+ readonly facts: Schema.optional<Schema.Number>;
17103
17578
  }>;
17104
17579
  readonly sources: Schema.$Array<Schema.Struct<{
17105
17580
  readonly id: Schema.String;
17106
- readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
17581
+ readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge", "fact"]>;
17107
17582
  readonly scope: Schema.String;
17108
17583
  readonly score: Schema.Number;
17109
17584
  readonly tokens: Schema.Number;
@@ -18371,6 +18846,11 @@ interface EditWorkspacePr {
18371
18846
  canMerge: boolean;
18372
18847
  /** D-F7 text; null when canMerge. */
18373
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;
18374
18854
  }
18375
18855
  interface EditWorkspaceStatus {
18376
18856
  workspace: EditWorkspaceInfo;
@@ -18398,6 +18878,24 @@ type EditWorkspaceCreatePrResult = {
18398
18878
  prUrl: string;
18399
18879
  prNumber: number;
18400
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
+ }
18401
18899
  /** Values of PanRpcError.code that explorer methods return. */
18402
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"];
18403
18901
  type ExplorerErrorCode = (typeof EXPLORER_ERROR_CODES)[number];
@@ -18753,6 +19251,8 @@ interface ReadModelState {
18753
19251
  githubQuota: GitHubQuotaSnapshot | null;
18754
19252
  /** PAN-3751 — in-flight deploys keyed by project key; derived, never stored. */
18755
19253
  deployByProjectKey: Record<string, ProjectDeploySnapshot>;
19254
+ /** PAN-5342 — the safe-shutdown drain; derived, never stored; null when none runs. */
19255
+ shutdown: ShutdownSnapshot | null;
18756
19256
  /** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
18757
19257
  agentIdBySessionId: Record<string, string>;
18758
19258
  }
@@ -20998,8 +21498,10 @@ interface HarnessCapabilities {
20998
21498
  readonly runsOnFlyMachine: boolean;
20999
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). */
21000
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;
21001
21503
  }
21002
- 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"];
21003
21505
  declare const CLAUDE_CODE_CAPABILITIES: HarnessCapabilities;
21004
21506
  declare const OHMYPI_CAPABILITIES: HarnessCapabilities;
21005
21507
  /**
@@ -21541,8 +22043,8 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
21541
22043
  readonly channel_error_class: readonly ["none", "unreachable", "identity_refused", "unknown_peer", "unsupported", "no_relay_plan", "descriptor_failed", "wrong_machine", "heartbeat_failed", "revoked"];
21542
22044
  readonly channel_route: readonly ["lan", "tailnet", "ssh", "public", "direct", "relay", "stored"];
21543
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"];
21544
- 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"];
21545
- 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"];
21546
22048
  readonly close_out_variant: readonly ["card", "inspector"];
21547
22049
  readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
21548
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"];
@@ -24535,6 +25037,11 @@ interface BackendRestartConversation {
24535
25037
  readonly name: string;
24536
25038
  readonly title: string | null;
24537
25039
  }
25040
+ interface BackendRestartAgent {
25041
+ readonly id: string;
25042
+ readonly issueId: string | null;
25043
+ readonly label: string;
25044
+ }
24538
25045
  type BackendRestartResumeOutcome = "resumed" | "already-running" | "skipped" | "failed";
24539
25046
  interface BackendRestartResumeResult {
24540
25047
  readonly name: string;
@@ -24551,7 +25058,9 @@ interface BackendRestartResumeRun {
24551
25058
  }
24552
25059
  interface BackendRestartRecoverySnapshot {
24553
25060
  readonly lostAt: string | null;
25061
+ readonly cause: "backend-restart" | "shutdown";
24554
25062
  readonly conversations: readonly BackendRestartConversation[];
25063
+ readonly agents: readonly BackendRestartAgent[];
24555
25064
  readonly run: BackendRestartResumeRun | null;
24556
25065
  }
24557
25066
  //#endregion
@@ -24638,6 +25147,75 @@ interface ProjectChanges {
24638
25147
  branch: string;
24639
25148
  commits: ProjectCommit[];
24640
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;
24641
25219
  //#endregion
24642
- 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, 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, 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, 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, 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, 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, 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, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolveTrackerIssueId, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
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 };
24643
25221
  //# sourceMappingURL=index.d.ts.map