@overdeck/contracts 0.45.23 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -9,6 +9,14 @@ import * as _$effect_SchemaAST0 from "effect/SchemaAST";
9
9
  declare const IssueId: Schema.String;
10
10
  type IssueId = typeof IssueId.Type;
11
11
  type PipelineBucket = "in_flight" | "zombie_pr" | "post_merge_limbo" | "planned_backlog" | "clean_terminal";
12
+ declare const MEMBERSHIP_UNAVAILABLE_REASONS: readonly ["missing_issue_prefix", "repo_unavailable", "default_branch_unresolved", "forge_unavailable", "tracker_unconfigured", "gather_failed"];
13
+ type MembershipUnavailableReason = typeof MEMBERSHIP_UNAVAILABLE_REASONS[number];
14
+ interface PipelineMembershipUnavailableBody {
15
+ status: "unavailable";
16
+ reason: MembershipUnavailableReason;
17
+ message: string;
18
+ projectKey: string;
19
+ }
12
20
  /** Server-computed pipeline membership attached to dashboard issue DTOs. */
13
21
  interface IssuePipelineMembership {
14
22
  available?: boolean;
@@ -38,7 +46,7 @@ declare const ReleaseStatusValue: Schema.Literals<readonly ["pending", "releasin
38
46
  type ReleaseStatusValue = typeof ReleaseStatusValue.Type;
39
47
  declare const VerificationStatusValue: Schema.Literals<readonly ["pending", "running", "passed", "failed", "skipped"]>;
40
48
  type VerificationStatusValue = typeof VerificationStatusValue.Type;
41
- type Harness = 'claude-code' | 'ohmypi' | 'codex';
49
+ type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp';
42
50
  /**
43
51
  * Normalize a snapshot's runtime field to a known Harness value.
44
52
  * Unknown or missing values fall back to 'claude-code' (the default harness).
@@ -235,9 +243,9 @@ declare const ReviewStatusSnapshot: Schema.Struct<{
235
243
  readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
236
244
  readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
237
245
  readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
238
- readonly mergeNotes: Schema.optional<Schema.String>; /** PAN-905: GitHub-native merge blocker reasons */
246
+ readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
239
247
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
240
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
248
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
241
249
  readonly summary: Schema.String;
242
250
  readonly details: Schema.optional<Schema.String>;
243
251
  readonly detectedAt: Schema.String;
@@ -403,9 +411,9 @@ declare const DashboardSnapshot: Schema.Struct<{
403
411
  readonly queuePosition: Schema.optional<Schema.Number>; /** PAN-905: currently active specialist (e.g. 'merge-agent') */
404
412
  readonly activeSpecialist: Schema.optional<Schema.String>; /** PAN-905: number of merge retries attempted */
405
413
  readonly mergeRetryCount: Schema.optional<Schema.Number>; /** PAN-905: free-form notes about the merge attempt */
406
- readonly mergeNotes: Schema.optional<Schema.String>; /** PAN-905: GitHub-native merge blocker reasons */
414
+ readonly mergeNotes: Schema.optional<Schema.String>; /** Merge blocker reasons surfaced to operators. */
407
415
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
408
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
416
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
409
417
  readonly summary: Schema.String;
410
418
  readonly details: Schema.optional<Schema.String>;
411
419
  readonly detectedAt: Schema.String;
@@ -608,7 +616,7 @@ declare const SessionNode: Schema.Struct<{
608
616
  readonly summary: Schema.optional<Schema.String>;
609
617
  }>>;
610
618
  }>>;
611
- readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux"]>>;
619
+ readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
612
620
  readonly paused: Schema.optional<Schema.Boolean>;
613
621
  readonly pausedReason: Schema.optional<Schema.String>;
614
622
  readonly pausedAt: Schema.optional<Schema.String>;
@@ -671,7 +679,7 @@ declare const FeatureNode: Schema.Struct<{
671
679
  readonly summary: Schema.optional<Schema.String>;
672
680
  }>>;
673
681
  }>>;
674
- readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux"]>>;
682
+ readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
675
683
  readonly paused: Schema.optional<Schema.Boolean>;
676
684
  readonly pausedReason: Schema.optional<Schema.String>;
677
685
  readonly pausedAt: Schema.optional<Schema.String>;
@@ -737,7 +745,7 @@ declare const ProjectSessionTree: Schema.Struct<{
737
745
  readonly summary: Schema.optional<Schema.String>;
738
746
  }>>;
739
747
  }>>;
740
- readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux"]>>;
748
+ readonly deliveryMethod: Schema.optional<Schema.Literals<readonly ["auto", "channels", "tmux", "supervisor"]>>;
741
749
  readonly paused: Schema.optional<Schema.Boolean>;
742
750
  readonly pausedReason: Schema.optional<Schema.String>;
743
751
  readonly pausedAt: Schema.optional<Schema.String>;
@@ -1353,7 +1361,7 @@ declare const AgentModelSetEvent: Schema.Struct<{
1353
1361
  readonly payload: Schema.Struct<{
1354
1362
  readonly agentId: Schema.String;
1355
1363
  readonly model: Schema.String;
1356
- readonly claudeSessionId: Schema.optional<Schema.String>;
1364
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
1357
1365
  readonly sessionModel: Schema.optional<Schema.String>;
1358
1366
  readonly sessionHarness: Schema.optional<Schema.String>;
1359
1367
  }>;
@@ -1579,7 +1587,7 @@ declare const PipelineStatusChangedEvent: Schema.Struct<{
1579
1587
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
1580
1588
  readonly mergeNotes: Schema.optional<Schema.String>;
1581
1589
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
1582
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
1590
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
1583
1591
  readonly summary: Schema.String;
1584
1592
  readonly details: Schema.optional<Schema.String>;
1585
1593
  readonly detectedAt: Schema.String;
@@ -1644,7 +1652,7 @@ declare const ReviewStatusChangedEvent: Schema.Struct<{
1644
1652
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
1645
1653
  readonly mergeNotes: Schema.optional<Schema.String>;
1646
1654
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
1647
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
1655
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
1648
1656
  readonly summary: Schema.String;
1649
1657
  readonly details: Schema.optional<Schema.String>;
1650
1658
  readonly detectedAt: Schema.String;
@@ -1741,6 +1749,51 @@ declare const OperatorInterventionEvent: Schema.Struct<{
1741
1749
  }>;
1742
1750
  }>;
1743
1751
  type OperatorInterventionEvent = typeof OperatorInterventionEvent.Type;
1752
+ declare const LinearMcpAuthRequiredEvent: Schema.Struct<{
1753
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
1754
+ readonly sequence: Schema.Number;
1755
+ readonly timestamp: Schema.String;
1756
+ readonly payload: Schema.Struct<{
1757
+ readonly agentId: Schema.String;
1758
+ readonly issueId: Schema.NullOr<Schema.String>;
1759
+ readonly authUrl: Schema.NullOr<Schema.String>;
1760
+ readonly expiresAt: Schema.NullOr<Schema.String>;
1761
+ }>;
1762
+ }>;
1763
+ type LinearMcpAuthRequiredEvent = typeof LinearMcpAuthRequiredEvent.Type;
1764
+ declare const LinearMcpAuthHealthyEvent: Schema.Struct<{
1765
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
1766
+ readonly sequence: Schema.Number;
1767
+ readonly timestamp: Schema.String;
1768
+ readonly payload: Schema.Struct<{
1769
+ readonly agentId: Schema.String;
1770
+ readonly issueId: Schema.NullOr<Schema.String>;
1771
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
1772
+ }>;
1773
+ }>;
1774
+ type LinearMcpAuthHealthyEvent = typeof LinearMcpAuthHealthyEvent.Type;
1775
+ declare const LinearMcpAuthNotifiedEvent: Schema.Struct<{
1776
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
1777
+ readonly sequence: Schema.Number;
1778
+ readonly timestamp: Schema.String;
1779
+ readonly payload: Schema.Struct<{
1780
+ readonly agentId: Schema.String;
1781
+ readonly issueId: Schema.NullOr<Schema.String>;
1782
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
1783
+ readonly lifecycleId: Schema.optional<Schema.String>;
1784
+ }>;
1785
+ }>;
1786
+ type LinearMcpAuthNotifiedEvent = typeof LinearMcpAuthNotifiedEvent.Type;
1787
+ declare const LinearMcpAuthCallbackRelayedEvent: Schema.Struct<{
1788
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
1789
+ readonly sequence: Schema.Number;
1790
+ readonly timestamp: Schema.String;
1791
+ readonly payload: Schema.Struct<{
1792
+ readonly agentId: Schema.String;
1793
+ readonly issueId: Schema.NullOr<Schema.String>;
1794
+ }>;
1795
+ }>;
1796
+ type LinearMcpAuthCallbackRelayedEvent = typeof LinearMcpAuthCallbackRelayedEvent.Type;
1744
1797
  declare const SubstrateBugFiledEvent: Schema.Struct<{
1745
1798
  readonly type: Schema.Literal<"substrate.bug_filed">;
1746
1799
  readonly sequence: Schema.Number;
@@ -1954,8 +2007,11 @@ declare const ActivityEntryEvent: Schema.Struct<{
1954
2007
  readonly id: Schema.String;
1955
2008
  readonly source: Schema.String;
1956
2009
  readonly level: Schema.String;
2010
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
2011
+ readonly command: Schema.optional<Schema.String>;
1957
2012
  readonly message: Schema.String;
1958
2013
  readonly details: Schema.optional<Schema.String>;
2014
+ readonly output: Schema.optional<Schema.String>;
1959
2015
  readonly issueId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
1960
2016
  readonly link: Schema.optional<Schema.String>; /** PAN-1862 (FR-12): fire a desktop notification for this entry (operator-facing warnings). */
1961
2017
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -2763,7 +2819,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2763
2819
  readonly payload: Schema.Struct<{
2764
2820
  readonly agentId: Schema.String;
2765
2821
  readonly model: Schema.String;
2766
- readonly claudeSessionId: Schema.optional<Schema.String>;
2822
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
2767
2823
  readonly sessionModel: Schema.optional<Schema.String>;
2768
2824
  readonly sessionHarness: Schema.optional<Schema.String>;
2769
2825
  }>;
@@ -2952,7 +3008,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
2952
3008
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
2953
3009
  readonly mergeNotes: Schema.optional<Schema.String>;
2954
3010
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
2955
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
3011
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
2956
3012
  readonly summary: Schema.String;
2957
3013
  readonly details: Schema.optional<Schema.String>;
2958
3014
  readonly detectedAt: Schema.String;
@@ -3011,7 +3067,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3011
3067
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
3012
3068
  readonly mergeNotes: Schema.optional<Schema.String>;
3013
3069
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
3014
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
3070
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
3015
3071
  readonly summary: Schema.String;
3016
3072
  readonly details: Schema.optional<Schema.String>;
3017
3073
  readonly detectedAt: Schema.String;
@@ -3081,6 +3137,43 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3081
3137
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
3082
3138
  readonly source: Schema.String;
3083
3139
  }>;
3140
+ }>, Schema.Struct<{
3141
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
3142
+ readonly sequence: Schema.Number;
3143
+ readonly timestamp: Schema.String;
3144
+ readonly payload: Schema.Struct<{
3145
+ readonly agentId: Schema.String;
3146
+ readonly issueId: Schema.NullOr<Schema.String>;
3147
+ readonly authUrl: Schema.NullOr<Schema.String>;
3148
+ readonly expiresAt: Schema.NullOr<Schema.String>;
3149
+ }>;
3150
+ }>, Schema.Struct<{
3151
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
3152
+ readonly sequence: Schema.Number;
3153
+ readonly timestamp: Schema.String;
3154
+ readonly payload: Schema.Struct<{
3155
+ readonly agentId: Schema.String;
3156
+ readonly issueId: Schema.NullOr<Schema.String>;
3157
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
3158
+ }>;
3159
+ }>, Schema.Struct<{
3160
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
3161
+ readonly sequence: Schema.Number;
3162
+ readonly timestamp: Schema.String;
3163
+ readonly payload: Schema.Struct<{
3164
+ readonly agentId: Schema.String;
3165
+ readonly issueId: Schema.NullOr<Schema.String>;
3166
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
3167
+ readonly lifecycleId: Schema.optional<Schema.String>;
3168
+ }>;
3169
+ }>, Schema.Struct<{
3170
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
3171
+ readonly sequence: Schema.Number;
3172
+ readonly timestamp: Schema.String;
3173
+ readonly payload: Schema.Struct<{
3174
+ readonly agentId: Schema.String;
3175
+ readonly issueId: Schema.NullOr<Schema.String>;
3176
+ }>;
3084
3177
  }>, Schema.Struct<{
3085
3178
  readonly type: Schema.Literal<"substrate.bug_filed">;
3086
3179
  readonly sequence: Schema.Number;
@@ -3235,8 +3328,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
3235
3328
  readonly id: Schema.String;
3236
3329
  readonly source: Schema.String;
3237
3330
  readonly level: Schema.String;
3331
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
3332
+ readonly command: Schema.optional<Schema.String>;
3238
3333
  readonly message: Schema.String;
3239
3334
  readonly details: Schema.optional<Schema.String>;
3335
+ readonly output: Schema.optional<Schema.String>;
3240
3336
  readonly issueId: Schema.optional<Schema.String>; /** Dashboard route the feed navigates to on click (e.g. /conv/<name>, /flywheel). */
3241
3337
  readonly link: Schema.optional<Schema.String>; /** PAN-1862 (FR-12): fire a desktop notification for this entry (operator-facing warnings). */
3242
3338
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -4317,7 +4413,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4317
4413
  readonly payload: Schema.Struct<{
4318
4414
  readonly agentId: Schema.String;
4319
4415
  readonly model: Schema.String;
4320
- readonly claudeSessionId: Schema.optional<Schema.String>;
4416
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
4321
4417
  readonly sessionModel: Schema.optional<Schema.String>;
4322
4418
  readonly sessionHarness: Schema.optional<Schema.String>;
4323
4419
  }>;
@@ -4506,7 +4602,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4506
4602
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
4507
4603
  readonly mergeNotes: Schema.optional<Schema.String>;
4508
4604
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
4509
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
4605
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
4510
4606
  readonly summary: Schema.String;
4511
4607
  readonly details: Schema.optional<Schema.String>;
4512
4608
  readonly detectedAt: Schema.String;
@@ -4565,7 +4661,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4565
4661
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
4566
4662
  readonly mergeNotes: Schema.optional<Schema.String>;
4567
4663
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
4568
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
4664
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
4569
4665
  readonly summary: Schema.String;
4570
4666
  readonly details: Schema.optional<Schema.String>;
4571
4667
  readonly detectedAt: Schema.String;
@@ -4635,6 +4731,43 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4635
4731
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
4636
4732
  readonly source: Schema.String;
4637
4733
  }>;
4734
+ }>, Schema.Struct<{
4735
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
4736
+ readonly sequence: Schema.Number;
4737
+ readonly timestamp: Schema.String;
4738
+ readonly payload: Schema.Struct<{
4739
+ readonly agentId: Schema.String;
4740
+ readonly issueId: Schema.NullOr<Schema.String>;
4741
+ readonly authUrl: Schema.NullOr<Schema.String>;
4742
+ readonly expiresAt: Schema.NullOr<Schema.String>;
4743
+ }>;
4744
+ }>, Schema.Struct<{
4745
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
4746
+ readonly sequence: Schema.Number;
4747
+ readonly timestamp: Schema.String;
4748
+ readonly payload: Schema.Struct<{
4749
+ readonly agentId: Schema.String;
4750
+ readonly issueId: Schema.NullOr<Schema.String>;
4751
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
4752
+ }>;
4753
+ }>, Schema.Struct<{
4754
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
4755
+ readonly sequence: Schema.Number;
4756
+ readonly timestamp: Schema.String;
4757
+ readonly payload: Schema.Struct<{
4758
+ readonly agentId: Schema.String;
4759
+ readonly issueId: Schema.NullOr<Schema.String>;
4760
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
4761
+ readonly lifecycleId: Schema.optional<Schema.String>;
4762
+ }>;
4763
+ }>, Schema.Struct<{
4764
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
4765
+ readonly sequence: Schema.Number;
4766
+ readonly timestamp: Schema.String;
4767
+ readonly payload: Schema.Struct<{
4768
+ readonly agentId: Schema.String;
4769
+ readonly issueId: Schema.NullOr<Schema.String>;
4770
+ }>;
4638
4771
  }>, Schema.Struct<{
4639
4772
  readonly type: Schema.Literal<"substrate.bug_filed">;
4640
4773
  readonly sequence: Schema.Number;
@@ -4789,8 +4922,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
4789
4922
  readonly id: Schema.String;
4790
4923
  readonly source: Schema.String;
4791
4924
  readonly level: Schema.String;
4925
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
4926
+ readonly command: Schema.optional<Schema.String>;
4792
4927
  readonly message: Schema.String;
4793
4928
  readonly details: Schema.optional<Schema.String>;
4929
+ readonly output: Schema.optional<Schema.String>;
4794
4930
  readonly issueId: Schema.optional<Schema.String>;
4795
4931
  readonly link: Schema.optional<Schema.String>;
4796
4932
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -5521,7 +5657,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5521
5657
  readonly payload: Schema.Struct<{
5522
5658
  readonly agentId: Schema.String;
5523
5659
  readonly model: Schema.String;
5524
- readonly claudeSessionId: Schema.optional<Schema.String>;
5660
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
5525
5661
  readonly sessionModel: Schema.optional<Schema.String>;
5526
5662
  readonly sessionHarness: Schema.optional<Schema.String>;
5527
5663
  }>;
@@ -5710,7 +5846,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5710
5846
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
5711
5847
  readonly mergeNotes: Schema.optional<Schema.String>;
5712
5848
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
5713
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
5849
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
5714
5850
  readonly summary: Schema.String;
5715
5851
  readonly details: Schema.optional<Schema.String>;
5716
5852
  readonly detectedAt: Schema.String;
@@ -5769,7 +5905,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5769
5905
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
5770
5906
  readonly mergeNotes: Schema.optional<Schema.String>;
5771
5907
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
5772
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
5908
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
5773
5909
  readonly summary: Schema.String;
5774
5910
  readonly details: Schema.optional<Schema.String>;
5775
5911
  readonly detectedAt: Schema.String;
@@ -5839,6 +5975,43 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5839
5975
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
5840
5976
  readonly source: Schema.String;
5841
5977
  }>;
5978
+ }>, Schema.Struct<{
5979
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
5980
+ readonly sequence: Schema.Number;
5981
+ readonly timestamp: Schema.String;
5982
+ readonly payload: Schema.Struct<{
5983
+ readonly agentId: Schema.String;
5984
+ readonly issueId: Schema.NullOr<Schema.String>;
5985
+ readonly authUrl: Schema.NullOr<Schema.String>;
5986
+ readonly expiresAt: Schema.NullOr<Schema.String>;
5987
+ }>;
5988
+ }>, Schema.Struct<{
5989
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
5990
+ readonly sequence: Schema.Number;
5991
+ readonly timestamp: Schema.String;
5992
+ readonly payload: Schema.Struct<{
5993
+ readonly agentId: Schema.String;
5994
+ readonly issueId: Schema.NullOr<Schema.String>;
5995
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
5996
+ }>;
5997
+ }>, Schema.Struct<{
5998
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
5999
+ readonly sequence: Schema.Number;
6000
+ readonly timestamp: Schema.String;
6001
+ readonly payload: Schema.Struct<{
6002
+ readonly agentId: Schema.String;
6003
+ readonly issueId: Schema.NullOr<Schema.String>;
6004
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
6005
+ readonly lifecycleId: Schema.optional<Schema.String>;
6006
+ }>;
6007
+ }>, Schema.Struct<{
6008
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
6009
+ readonly sequence: Schema.Number;
6010
+ readonly timestamp: Schema.String;
6011
+ readonly payload: Schema.Struct<{
6012
+ readonly agentId: Schema.String;
6013
+ readonly issueId: Schema.NullOr<Schema.String>;
6014
+ }>;
5842
6015
  }>, Schema.Struct<{
5843
6016
  readonly type: Schema.Literal<"substrate.bug_filed">;
5844
6017
  readonly sequence: Schema.Number;
@@ -5993,8 +6166,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
5993
6166
  readonly id: Schema.String;
5994
6167
  readonly source: Schema.String;
5995
6168
  readonly level: Schema.String;
6169
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
6170
+ readonly command: Schema.optional<Schema.String>;
5996
6171
  readonly message: Schema.String;
5997
6172
  readonly details: Schema.optional<Schema.String>;
6173
+ readonly output: Schema.optional<Schema.String>;
5998
6174
  readonly issueId: Schema.optional<Schema.String>;
5999
6175
  readonly link: Schema.optional<Schema.String>;
6000
6176
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -6456,7 +6632,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
6456
6632
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
6457
6633
  readonly mergeNotes: Schema.optional<Schema.String>;
6458
6634
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
6459
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
6635
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
6460
6636
  readonly summary: Schema.String;
6461
6637
  readonly details: Schema.optional<Schema.String>;
6462
6638
  readonly detectedAt: Schema.String;
@@ -6934,7 +7110,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
6934
7110
  readonly payload: Schema.Struct<{
6935
7111
  readonly agentId: Schema.String;
6936
7112
  readonly model: Schema.String;
6937
- readonly claudeSessionId: Schema.optional<Schema.String>;
7113
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
6938
7114
  readonly sessionModel: Schema.optional<Schema.String>;
6939
7115
  readonly sessionHarness: Schema.optional<Schema.String>;
6940
7116
  }>;
@@ -7123,7 +7299,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7123
7299
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
7124
7300
  readonly mergeNotes: Schema.optional<Schema.String>;
7125
7301
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
7126
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
7302
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
7127
7303
  readonly summary: Schema.String;
7128
7304
  readonly details: Schema.optional<Schema.String>;
7129
7305
  readonly detectedAt: Schema.String;
@@ -7182,7 +7358,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7182
7358
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
7183
7359
  readonly mergeNotes: Schema.optional<Schema.String>;
7184
7360
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
7185
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
7361
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
7186
7362
  readonly summary: Schema.String;
7187
7363
  readonly details: Schema.optional<Schema.String>;
7188
7364
  readonly detectedAt: Schema.String;
@@ -7252,6 +7428,43 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7252
7428
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
7253
7429
  readonly source: Schema.String;
7254
7430
  }>;
7431
+ }>, Schema.Struct<{
7432
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
7433
+ readonly sequence: Schema.Number;
7434
+ readonly timestamp: Schema.String;
7435
+ readonly payload: Schema.Struct<{
7436
+ readonly agentId: Schema.String;
7437
+ readonly issueId: Schema.NullOr<Schema.String>;
7438
+ readonly authUrl: Schema.NullOr<Schema.String>;
7439
+ readonly expiresAt: Schema.NullOr<Schema.String>;
7440
+ }>;
7441
+ }>, Schema.Struct<{
7442
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
7443
+ readonly sequence: Schema.Number;
7444
+ readonly timestamp: Schema.String;
7445
+ readonly payload: Schema.Struct<{
7446
+ readonly agentId: Schema.String;
7447
+ readonly issueId: Schema.NullOr<Schema.String>;
7448
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
7449
+ }>;
7450
+ }>, Schema.Struct<{
7451
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
7452
+ readonly sequence: Schema.Number;
7453
+ readonly timestamp: Schema.String;
7454
+ readonly payload: Schema.Struct<{
7455
+ readonly agentId: Schema.String;
7456
+ readonly issueId: Schema.NullOr<Schema.String>;
7457
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
7458
+ readonly lifecycleId: Schema.optional<Schema.String>;
7459
+ }>;
7460
+ }>, Schema.Struct<{
7461
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
7462
+ readonly sequence: Schema.Number;
7463
+ readonly timestamp: Schema.String;
7464
+ readonly payload: Schema.Struct<{
7465
+ readonly agentId: Schema.String;
7466
+ readonly issueId: Schema.NullOr<Schema.String>;
7467
+ }>;
7255
7468
  }>, Schema.Struct<{
7256
7469
  readonly type: Schema.Literal<"substrate.bug_filed">;
7257
7470
  readonly sequence: Schema.Number;
@@ -7406,8 +7619,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
7406
7619
  readonly id: Schema.String;
7407
7620
  readonly source: Schema.String;
7408
7621
  readonly level: Schema.String;
7622
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
7623
+ readonly command: Schema.optional<Schema.String>;
7409
7624
  readonly message: Schema.String;
7410
7625
  readonly details: Schema.optional<Schema.String>;
7626
+ readonly output: Schema.optional<Schema.String>;
7411
7627
  readonly issueId: Schema.optional<Schema.String>;
7412
7628
  readonly link: Schema.optional<Schema.String>;
7413
7629
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -7959,7 +8175,7 @@ declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus",
7959
8175
  readonly startedAt: Schema.String;
7960
8176
  readonly elapsedMs: Schema.Number;
7961
8177
  readonly orchestrator: Schema.Struct<{
7962
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex"]>;
8178
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
7963
8179
  readonly model: Schema.String;
7964
8180
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
7965
8181
  readonly ctxPercent: Schema.Number;
@@ -8024,6 +8240,16 @@ declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus",
8024
8240
  readonly agentsCap: Schema.Number;
8025
8241
  }>;
8026
8242
  readonly openQuestions: Schema.$Array<Schema.String>;
8243
+ readonly orders: Schema.optional<Schema.Struct<{
8244
+ readonly bookId: Schema.String;
8245
+ readonly bookName: Schema.String;
8246
+ readonly landed: Schema.Number;
8247
+ readonly total: Schema.Number;
8248
+ readonly laneAInFlight: Schema.$Array<Schema.String>;
8249
+ readonly laneBInFlight: Schema.optional<Schema.String>;
8250
+ readonly drained: Schema.Boolean;
8251
+ }>>;
8252
+ readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
8027
8253
  readonly ticks: Schema.Number;
8028
8254
  readonly lastTickAt: Schema.String;
8029
8255
  }>>, typeof PanRpcError>, Schema.Never, never, never>;
@@ -8847,7 +9073,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
8847
9073
  readonly payload: Schema.Struct<{
8848
9074
  readonly agentId: Schema.String;
8849
9075
  readonly model: Schema.String;
8850
- readonly claudeSessionId: Schema.optional<Schema.String>;
9076
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
8851
9077
  readonly sessionModel: Schema.optional<Schema.String>;
8852
9078
  readonly sessionHarness: Schema.optional<Schema.String>;
8853
9079
  }>;
@@ -9036,7 +9262,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9036
9262
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
9037
9263
  readonly mergeNotes: Schema.optional<Schema.String>;
9038
9264
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
9039
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
9265
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
9040
9266
  readonly summary: Schema.String;
9041
9267
  readonly details: Schema.optional<Schema.String>;
9042
9268
  readonly detectedAt: Schema.String;
@@ -9095,7 +9321,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9095
9321
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
9096
9322
  readonly mergeNotes: Schema.optional<Schema.String>;
9097
9323
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
9098
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
9324
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
9099
9325
  readonly summary: Schema.String;
9100
9326
  readonly details: Schema.optional<Schema.String>;
9101
9327
  readonly detectedAt: Schema.String;
@@ -9165,6 +9391,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9165
9391
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
9166
9392
  readonly source: Schema.String;
9167
9393
  }>;
9394
+ }>, Schema.Struct<{
9395
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
9396
+ readonly sequence: Schema.Number;
9397
+ readonly timestamp: Schema.String;
9398
+ readonly payload: Schema.Struct<{
9399
+ readonly agentId: Schema.String;
9400
+ readonly issueId: Schema.NullOr<Schema.String>;
9401
+ readonly authUrl: Schema.NullOr<Schema.String>;
9402
+ readonly expiresAt: Schema.NullOr<Schema.String>;
9403
+ }>;
9404
+ }>, Schema.Struct<{
9405
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
9406
+ readonly sequence: Schema.Number;
9407
+ readonly timestamp: Schema.String;
9408
+ readonly payload: Schema.Struct<{
9409
+ readonly agentId: Schema.String;
9410
+ readonly issueId: Schema.NullOr<Schema.String>;
9411
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
9412
+ }>;
9413
+ }>, Schema.Struct<{
9414
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
9415
+ readonly sequence: Schema.Number;
9416
+ readonly timestamp: Schema.String;
9417
+ readonly payload: Schema.Struct<{
9418
+ readonly agentId: Schema.String;
9419
+ readonly issueId: Schema.NullOr<Schema.String>;
9420
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
9421
+ readonly lifecycleId: Schema.optional<Schema.String>;
9422
+ }>;
9423
+ }>, Schema.Struct<{
9424
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
9425
+ readonly sequence: Schema.Number;
9426
+ readonly timestamp: Schema.String;
9427
+ readonly payload: Schema.Struct<{
9428
+ readonly agentId: Schema.String;
9429
+ readonly issueId: Schema.NullOr<Schema.String>;
9430
+ }>;
9168
9431
  }>, Schema.Struct<{
9169
9432
  readonly type: Schema.Literal<"substrate.bug_filed">;
9170
9433
  readonly sequence: Schema.Number;
@@ -9319,8 +9582,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
9319
9582
  readonly id: Schema.String;
9320
9583
  readonly source: Schema.String;
9321
9584
  readonly level: Schema.String;
9585
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
9586
+ readonly command: Schema.optional<Schema.String>;
9322
9587
  readonly message: Schema.String;
9323
9588
  readonly details: Schema.optional<Schema.String>;
9589
+ readonly output: Schema.optional<Schema.String>;
9324
9590
  readonly issueId: Schema.optional<Schema.String>;
9325
9591
  readonly link: Schema.optional<Schema.String>;
9326
9592
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -10049,7 +10315,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10049
10315
  readonly payload: Schema.Struct<{
10050
10316
  readonly agentId: Schema.String;
10051
10317
  readonly model: Schema.String;
10052
- readonly claudeSessionId: Schema.optional<Schema.String>;
10318
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
10053
10319
  readonly sessionModel: Schema.optional<Schema.String>;
10054
10320
  readonly sessionHarness: Schema.optional<Schema.String>;
10055
10321
  }>;
@@ -10238,7 +10504,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10238
10504
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
10239
10505
  readonly mergeNotes: Schema.optional<Schema.String>;
10240
10506
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
10241
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
10507
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
10242
10508
  readonly summary: Schema.String;
10243
10509
  readonly details: Schema.optional<Schema.String>;
10244
10510
  readonly detectedAt: Schema.String;
@@ -10297,7 +10563,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10297
10563
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
10298
10564
  readonly mergeNotes: Schema.optional<Schema.String>;
10299
10565
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
10300
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
10566
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
10301
10567
  readonly summary: Schema.String;
10302
10568
  readonly details: Schema.optional<Schema.String>;
10303
10569
  readonly detectedAt: Schema.String;
@@ -10367,6 +10633,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10367
10633
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
10368
10634
  readonly source: Schema.String;
10369
10635
  }>;
10636
+ }>, Schema.Struct<{
10637
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
10638
+ readonly sequence: Schema.Number;
10639
+ readonly timestamp: Schema.String;
10640
+ readonly payload: Schema.Struct<{
10641
+ readonly agentId: Schema.String;
10642
+ readonly issueId: Schema.NullOr<Schema.String>;
10643
+ readonly authUrl: Schema.NullOr<Schema.String>;
10644
+ readonly expiresAt: Schema.NullOr<Schema.String>;
10645
+ }>;
10646
+ }>, Schema.Struct<{
10647
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
10648
+ readonly sequence: Schema.Number;
10649
+ readonly timestamp: Schema.String;
10650
+ readonly payload: Schema.Struct<{
10651
+ readonly agentId: Schema.String;
10652
+ readonly issueId: Schema.NullOr<Schema.String>;
10653
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
10654
+ }>;
10655
+ }>, Schema.Struct<{
10656
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
10657
+ readonly sequence: Schema.Number;
10658
+ readonly timestamp: Schema.String;
10659
+ readonly payload: Schema.Struct<{
10660
+ readonly agentId: Schema.String;
10661
+ readonly issueId: Schema.NullOr<Schema.String>;
10662
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
10663
+ readonly lifecycleId: Schema.optional<Schema.String>;
10664
+ }>;
10665
+ }>, Schema.Struct<{
10666
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
10667
+ readonly sequence: Schema.Number;
10668
+ readonly timestamp: Schema.String;
10669
+ readonly payload: Schema.Struct<{
10670
+ readonly agentId: Schema.String;
10671
+ readonly issueId: Schema.NullOr<Schema.String>;
10672
+ }>;
10370
10673
  }>, Schema.Struct<{
10371
10674
  readonly type: Schema.Literal<"substrate.bug_filed">;
10372
10675
  readonly sequence: Schema.Number;
@@ -10521,8 +10824,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10521
10824
  readonly id: Schema.String;
10522
10825
  readonly source: Schema.String;
10523
10826
  readonly level: Schema.String;
10827
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
10828
+ readonly command: Schema.optional<Schema.String>;
10524
10829
  readonly message: Schema.String;
10525
10830
  readonly details: Schema.optional<Schema.String>;
10831
+ readonly output: Schema.optional<Schema.String>;
10526
10832
  readonly issueId: Schema.optional<Schema.String>;
10527
10833
  readonly link: Schema.optional<Schema.String>;
10528
10834
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -10978,7 +11284,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
10978
11284
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
10979
11285
  readonly mergeNotes: Schema.optional<Schema.String>;
10980
11286
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
10981
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
11287
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
10982
11288
  readonly summary: Schema.String;
10983
11289
  readonly details: Schema.optional<Schema.String>;
10984
11290
  readonly detectedAt: Schema.String;
@@ -11454,7 +11760,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11454
11760
  readonly payload: Schema.Struct<{
11455
11761
  readonly agentId: Schema.String;
11456
11762
  readonly model: Schema.String;
11457
- readonly claudeSessionId: Schema.optional<Schema.String>;
11763
+ readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
11458
11764
  readonly sessionModel: Schema.optional<Schema.String>;
11459
11765
  readonly sessionHarness: Schema.optional<Schema.String>;
11460
11766
  }>;
@@ -11643,7 +11949,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11643
11949
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
11644
11950
  readonly mergeNotes: Schema.optional<Schema.String>;
11645
11951
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
11646
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
11952
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
11647
11953
  readonly summary: Schema.String;
11648
11954
  readonly details: Schema.optional<Schema.String>;
11649
11955
  readonly detectedAt: Schema.String;
@@ -11702,7 +12008,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11702
12008
  readonly mergeRetryCount: Schema.optional<Schema.Number>;
11703
12009
  readonly mergeNotes: Schema.optional<Schema.String>;
11704
12010
  readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
11705
- readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable"]>;
12011
+ readonly type: Schema.Literals<readonly ["failing_checks", "merge_conflict", "unresolved_conversations", "changes_requested", "draft_pr", "not_mergeable", "unmerged_sibling_repo"]>;
11706
12012
  readonly summary: Schema.String;
11707
12013
  readonly details: Schema.optional<Schema.String>;
11708
12014
  readonly detectedAt: Schema.String;
@@ -11772,6 +12078,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11772
12078
  readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
11773
12079
  readonly source: Schema.String;
11774
12080
  }>;
12081
+ }>, Schema.Struct<{
12082
+ readonly type: Schema.Literal<"linear_mcp_auth.required">;
12083
+ readonly sequence: Schema.Number;
12084
+ readonly timestamp: Schema.String;
12085
+ readonly payload: Schema.Struct<{
12086
+ readonly agentId: Schema.String;
12087
+ readonly issueId: Schema.NullOr<Schema.String>;
12088
+ readonly authUrl: Schema.NullOr<Schema.String>;
12089
+ readonly expiresAt: Schema.NullOr<Schema.String>;
12090
+ }>;
12091
+ }>, Schema.Struct<{
12092
+ readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
12093
+ readonly sequence: Schema.Number;
12094
+ readonly timestamp: Schema.String;
12095
+ readonly payload: Schema.Struct<{
12096
+ readonly agentId: Schema.String;
12097
+ readonly issueId: Schema.NullOr<Schema.String>;
12098
+ readonly source: Schema.Literals<readonly ["hook", "operator"]>;
12099
+ }>;
12100
+ }>, Schema.Struct<{
12101
+ readonly type: Schema.Literal<"linear_mcp_auth.notified">;
12102
+ readonly sequence: Schema.Number;
12103
+ readonly timestamp: Schema.String;
12104
+ readonly payload: Schema.Struct<{
12105
+ readonly agentId: Schema.String;
12106
+ readonly issueId: Schema.NullOr<Schema.String>;
12107
+ readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
12108
+ readonly lifecycleId: Schema.optional<Schema.String>;
12109
+ }>;
12110
+ }>, Schema.Struct<{
12111
+ readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
12112
+ readonly sequence: Schema.Number;
12113
+ readonly timestamp: Schema.String;
12114
+ readonly payload: Schema.Struct<{
12115
+ readonly agentId: Schema.String;
12116
+ readonly issueId: Schema.NullOr<Schema.String>;
12117
+ }>;
11775
12118
  }>, Schema.Struct<{
11776
12119
  readonly type: Schema.Literal<"substrate.bug_filed">;
11777
12120
  readonly sequence: Schema.Number;
@@ -11926,8 +12269,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
11926
12269
  readonly id: Schema.String;
11927
12270
  readonly source: Schema.String;
11928
12271
  readonly level: Schema.String;
12272
+ readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
12273
+ readonly command: Schema.optional<Schema.String>;
11929
12274
  readonly message: Schema.String;
11930
12275
  readonly details: Schema.optional<Schema.String>;
12276
+ readonly output: Schema.optional<Schema.String>;
11931
12277
  readonly issueId: Schema.optional<Schema.String>;
11932
12278
  readonly link: Schema.optional<Schema.String>;
11933
12279
  readonly desktop: Schema.optional<Schema.Boolean>;
@@ -12410,7 +12756,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12410
12756
  readonly startedAt: Schema.String;
12411
12757
  readonly elapsedMs: Schema.Number;
12412
12758
  readonly orchestrator: Schema.Struct<{
12413
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex"]>;
12759
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
12414
12760
  readonly model: Schema.String;
12415
12761
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
12416
12762
  readonly ctxPercent: Schema.Number;
@@ -12475,6 +12821,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
12475
12821
  readonly agentsCap: Schema.Number;
12476
12822
  }>;
12477
12823
  readonly openQuestions: Schema.$Array<Schema.String>;
12824
+ readonly orders: Schema.optional<Schema.Struct<{
12825
+ readonly bookId: Schema.String;
12826
+ readonly bookName: Schema.String;
12827
+ readonly landed: Schema.Number;
12828
+ readonly total: Schema.Number;
12829
+ readonly laneAInFlight: Schema.$Array<Schema.String>;
12830
+ readonly laneBInFlight: Schema.optional<Schema.String>;
12831
+ readonly drained: Schema.Boolean;
12832
+ }>>;
12833
+ readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
12478
12834
  readonly ticks: Schema.Number;
12479
12835
  readonly lastTickAt: Schema.String;
12480
12836
  }>>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
@@ -13119,7 +13475,7 @@ declare const FlywheelRunId: Schema.String;
13119
13475
  type FlywheelRunId = typeof FlywheelRunId.Type;
13120
13476
  declare const FlywheelHttpUrl: Schema.String;
13121
13477
  type FlywheelHttpUrl = typeof FlywheelHttpUrl.Type;
13122
- declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex"]>;
13478
+ declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
13123
13479
  interface FlywheelOrchestrator {
13124
13480
  harness: typeof FlywheelHarness.Type;
13125
13481
  model: string;
@@ -13128,11 +13484,18 @@ interface FlywheelOrchestrator {
13128
13484
  }
13129
13485
  declare const FlywheelEffort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13130
13486
  declare const FlywheelOrchestrator: Schema.Struct<{
13131
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex"]>;
13487
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
13132
13488
  readonly model: Schema.String;
13133
13489
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13134
13490
  readonly ctxPercent: Schema.Number;
13135
13491
  }>;
13492
+ /**
13493
+ * Which projects the Flywheel orchestrator inventories. PAN-1696: this is the
13494
+ * ORCHESTRATOR's scope, not the merge/UAT trains' — those assemble per project
13495
+ * independent of it. Mirrors FlywheelScope in src/lib/config-yaml/schema.ts.
13496
+ */
13497
+ type FlywheelScopeValue = 'pan-only' | 'all-tracked-projects';
13498
+ declare const FlywheelScope: Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>;
13136
13499
  interface FlywheelHeadline {
13137
13500
  bugsFixed: number;
13138
13501
  swarmItemsMerged: number;
@@ -13148,17 +13511,21 @@ declare const FlywheelHeadline: Schema.Struct<{
13148
13511
  readonly awaitingUat: Schema.Number;
13149
13512
  }>;
13150
13513
  /**
13151
- * Pipeline verbs and the merge-queue contract (PAN-1736):
13514
+ * Pipeline verbs — display state only. They no longer gate the merge queue.
13152
13515
  *
13153
- * `computeMergeQueue` treats an item as AT THE MERGE GATE when its verb is
13154
- * "shipping" OR "merging" — both are natural emissions for a merge-ready
13155
- * issue, and orchestrators have used each. Emitting any OTHER verb for an
13156
- * issue that is ready_for_merge in the review DB silently drops it from the
13157
- * merge queue and from UAT batch assembly (PAN-1737). RUN-18 shipped an
13158
- * empty queue with five ready issues exactly this way.
13516
+ * History worth keeping (PAN-1736 / PAN-1759): the merge queue used to be
13517
+ * derived by filtering these verbs, treating only "shipping" or "merging" as
13518
+ * "at the merge gate". Any other verb on an issue that was ready_for_merge in
13519
+ * the review DB silently dropped it from the queue and from UAT batch
13520
+ * assembly — RUN-18 shipped an empty queue with five ready issues exactly that
13521
+ * way — and the queue existed only while a run was emitting a pipeline at all.
13159
13522
  *
13160
- * If you add a verb that can describe a merge-ready issue, extend
13161
- * MERGE_GATE_VERBS in src/lib/flywheel-merge-order.ts in the same change.
13523
+ * PAN-1696 removed that coupling. The ready set is now sourced from the
13524
+ * review-status records per project (`listEligibleCandidatesByProject` +
13525
+ * `computeMergeQueueFromCandidates` in src/lib/flywheel-merge-order.ts), which
13526
+ * needs no flywheel run and cannot be affected by which verb an orchestrator
13527
+ * chose to report. Adding a verb here therefore has no merge-queue consequence;
13528
+ * it only changes what the dashboard displays.
13162
13529
  */
13163
13530
  declare const FlywheelPipelineVerb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
13164
13531
  declare const FlywheelPipelineStatus: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
@@ -13272,6 +13639,24 @@ declare const FlywheelSystemStatus: Schema.Struct<{
13272
13639
  readonly agentsActive: Schema.Number;
13273
13640
  readonly agentsCap: Schema.Number;
13274
13641
  }>;
13642
+ interface FlywheelOrders {
13643
+ bookId: string;
13644
+ bookName: string;
13645
+ landed: number;
13646
+ total: number;
13647
+ laneAInFlight: ReadonlyArray<string>;
13648
+ laneBInFlight?: string | undefined;
13649
+ drained: boolean;
13650
+ }
13651
+ declare const FlywheelOrders: Schema.Struct<{
13652
+ readonly bookId: Schema.String;
13653
+ readonly bookName: Schema.String;
13654
+ readonly landed: Schema.Number;
13655
+ readonly total: Schema.Number;
13656
+ readonly laneAInFlight: Schema.$Array<Schema.String>;
13657
+ readonly laneBInFlight: Schema.optional<Schema.String>;
13658
+ readonly drained: Schema.Boolean;
13659
+ }>;
13275
13660
  interface FlywheelStatus {
13276
13661
  runId: FlywheelRunId;
13277
13662
  startedAt: string;
@@ -13285,6 +13670,15 @@ interface FlywheelStatus {
13285
13670
  suggestions: ReadonlyArray<FlywheelSuggestion>;
13286
13671
  system: FlywheelSystemStatus;
13287
13672
  openQuestions: ReadonlyArray<string>;
13673
+ orders?: FlywheelOrders | undefined;
13674
+ /**
13675
+ * PAN-1696: the orchestrator scope this run was actually STARTED or RESUMED
13676
+ * with, stamped server-side from the run's launch metadata. It is deliberately
13677
+ * not the live settings value: scope is baked into the run prompt at spawn, so
13678
+ * a settings change does not reach a running orchestrator until the next start
13679
+ * or resume. Optional because runs recorded before PAN-1696 have none.
13680
+ */
13681
+ scope?: FlywheelScopeValue | undefined;
13288
13682
  ticks: number;
13289
13683
  lastTickAt: string;
13290
13684
  }
@@ -13293,7 +13687,7 @@ declare const FlywheelStatus: Schema.Struct<{
13293
13687
  readonly startedAt: Schema.String;
13294
13688
  readonly elapsedMs: Schema.Number;
13295
13689
  readonly orchestrator: Schema.Struct<{
13296
- readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex"]>;
13690
+ readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp"]>;
13297
13691
  readonly model: Schema.String;
13298
13692
  readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
13299
13693
  readonly ctxPercent: Schema.Number;
@@ -13358,6 +13752,16 @@ declare const FlywheelStatus: Schema.Struct<{
13358
13752
  readonly agentsCap: Schema.Number;
13359
13753
  }>;
13360
13754
  readonly openQuestions: Schema.$Array<Schema.String>;
13755
+ readonly orders: Schema.optional<Schema.Struct<{
13756
+ readonly bookId: Schema.String;
13757
+ readonly bookName: Schema.String;
13758
+ readonly landed: Schema.Number;
13759
+ readonly total: Schema.Number;
13760
+ readonly laneAInFlight: Schema.$Array<Schema.String>;
13761
+ readonly laneBInFlight: Schema.optional<Schema.String>;
13762
+ readonly drained: Schema.Boolean;
13763
+ }>>;
13764
+ readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
13361
13765
  readonly ticks: Schema.Number;
13362
13766
  readonly lastTickAt: Schema.String;
13363
13767
  }>;
@@ -13552,7 +13956,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13552
13956
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13553
13957
  readonly sampleSize: number;
13554
13958
  readonly dataSufficient: boolean;
13555
- readonly trend?: "flat" | "up" | "down" | undefined;
13959
+ readonly trend?: "flat" | "down" | "up" | undefined;
13556
13960
  };
13557
13961
  readonly c2_p0Bugs: {
13558
13962
  readonly label: string;
@@ -13565,7 +13969,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13565
13969
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13566
13970
  readonly sampleSize: number;
13567
13971
  readonly dataSufficient: boolean;
13568
- readonly trend?: "flat" | "up" | "down" | undefined;
13972
+ readonly trend?: "flat" | "down" | "up" | undefined;
13569
13973
  };
13570
13974
  readonly c3_passRate: {
13571
13975
  readonly label: string;
@@ -13578,7 +13982,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13578
13982
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13579
13983
  readonly sampleSize: number;
13580
13984
  readonly dataSufficient: boolean;
13581
- readonly trend?: "flat" | "up" | "down" | undefined;
13985
+ readonly trend?: "flat" | "down" | "up" | undefined;
13582
13986
  };
13583
13987
  readonly c4_mttr: {
13584
13988
  readonly label: string;
@@ -13591,7 +13995,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13591
13995
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13592
13996
  readonly sampleSize: number;
13593
13997
  readonly dataSufficient: boolean;
13594
- readonly trend?: "flat" | "up" | "down" | undefined;
13998
+ readonly trend?: "flat" | "down" | "up" | undefined;
13595
13999
  };
13596
14000
  readonly c5_intervention: {
13597
14001
  readonly label: string;
@@ -13604,7 +14008,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13604
14008
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13605
14009
  readonly sampleSize: number;
13606
14010
  readonly dataSufficient: boolean;
13607
- readonly trend?: "flat" | "up" | "down" | undefined;
14011
+ readonly trend?: "flat" | "down" | "up" | undefined;
13608
14012
  };
13609
14013
  readonly c6_timeConsistency: {
13610
14014
  readonly label: string;
@@ -13617,7 +14021,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13617
14021
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13618
14022
  readonly sampleSize: number;
13619
14023
  readonly dataSufficient: boolean;
13620
- readonly trend?: "flat" | "up" | "down" | undefined;
14024
+ readonly trend?: "flat" | "down" | "up" | undefined;
13621
14025
  };
13622
14026
  readonly c7_flake: {
13623
14027
  readonly label: string;
@@ -13630,7 +14034,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
13630
14034
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13631
14035
  readonly sampleSize: number;
13632
14036
  readonly dataSufficient: boolean;
13633
- readonly trend?: "flat" | "up" | "down" | undefined;
14037
+ readonly trend?: "flat" | "down" | "up" | undefined;
13634
14038
  };
13635
14039
  };
13636
14040
  };
@@ -13649,7 +14053,7 @@ declare const encodeFlywheelStats: (input: {
13649
14053
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13650
14054
  readonly sampleSize: number;
13651
14055
  readonly dataSufficient: boolean;
13652
- readonly trend?: "flat" | "up" | "down" | undefined;
14056
+ readonly trend?: "flat" | "down" | "up" | undefined;
13653
14057
  };
13654
14058
  readonly c2_p0Bugs: {
13655
14059
  readonly label: string;
@@ -13662,7 +14066,7 @@ declare const encodeFlywheelStats: (input: {
13662
14066
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13663
14067
  readonly sampleSize: number;
13664
14068
  readonly dataSufficient: boolean;
13665
- readonly trend?: "flat" | "up" | "down" | undefined;
14069
+ readonly trend?: "flat" | "down" | "up" | undefined;
13666
14070
  };
13667
14071
  readonly c3_passRate: {
13668
14072
  readonly label: string;
@@ -13675,7 +14079,7 @@ declare const encodeFlywheelStats: (input: {
13675
14079
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13676
14080
  readonly sampleSize: number;
13677
14081
  readonly dataSufficient: boolean;
13678
- readonly trend?: "flat" | "up" | "down" | undefined;
14082
+ readonly trend?: "flat" | "down" | "up" | undefined;
13679
14083
  };
13680
14084
  readonly c4_mttr: {
13681
14085
  readonly label: string;
@@ -13688,7 +14092,7 @@ declare const encodeFlywheelStats: (input: {
13688
14092
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13689
14093
  readonly sampleSize: number;
13690
14094
  readonly dataSufficient: boolean;
13691
- readonly trend?: "flat" | "up" | "down" | undefined;
14095
+ readonly trend?: "flat" | "down" | "up" | undefined;
13692
14096
  };
13693
14097
  readonly c5_intervention: {
13694
14098
  readonly label: string;
@@ -13701,7 +14105,7 @@ declare const encodeFlywheelStats: (input: {
13701
14105
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13702
14106
  readonly sampleSize: number;
13703
14107
  readonly dataSufficient: boolean;
13704
- readonly trend?: "flat" | "up" | "down" | undefined;
14108
+ readonly trend?: "flat" | "down" | "up" | undefined;
13705
14109
  };
13706
14110
  readonly c6_timeConsistency: {
13707
14111
  readonly label: string;
@@ -13714,7 +14118,7 @@ declare const encodeFlywheelStats: (input: {
13714
14118
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13715
14119
  readonly sampleSize: number;
13716
14120
  readonly dataSufficient: boolean;
13717
- readonly trend?: "flat" | "up" | "down" | undefined;
14121
+ readonly trend?: "flat" | "down" | "up" | undefined;
13718
14122
  };
13719
14123
  readonly c7_flake: {
13720
14124
  readonly label: string;
@@ -13727,7 +14131,7 @@ declare const encodeFlywheelStats: (input: {
13727
14131
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13728
14132
  readonly sampleSize: number;
13729
14133
  readonly dataSufficient: boolean;
13730
- readonly trend?: "flat" | "up" | "down" | undefined;
14134
+ readonly trend?: "flat" | "down" | "up" | undefined;
13731
14135
  };
13732
14136
  };
13733
14137
  }, options?: _$effect_SchemaAST0.ParseOptions) => {
@@ -13745,7 +14149,7 @@ declare const encodeFlywheelStats: (input: {
13745
14149
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13746
14150
  readonly sampleSize: number;
13747
14151
  readonly dataSufficient: boolean;
13748
- readonly trend?: "flat" | "up" | "down" | undefined;
14152
+ readonly trend?: "flat" | "down" | "up" | undefined;
13749
14153
  };
13750
14154
  readonly c2_p0Bugs: {
13751
14155
  readonly label: string;
@@ -13758,7 +14162,7 @@ declare const encodeFlywheelStats: (input: {
13758
14162
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13759
14163
  readonly sampleSize: number;
13760
14164
  readonly dataSufficient: boolean;
13761
- readonly trend?: "flat" | "up" | "down" | undefined;
14165
+ readonly trend?: "flat" | "down" | "up" | undefined;
13762
14166
  };
13763
14167
  readonly c3_passRate: {
13764
14168
  readonly label: string;
@@ -13771,7 +14175,7 @@ declare const encodeFlywheelStats: (input: {
13771
14175
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13772
14176
  readonly sampleSize: number;
13773
14177
  readonly dataSufficient: boolean;
13774
- readonly trend?: "flat" | "up" | "down" | undefined;
14178
+ readonly trend?: "flat" | "down" | "up" | undefined;
13775
14179
  };
13776
14180
  readonly c4_mttr: {
13777
14181
  readonly label: string;
@@ -13784,7 +14188,7 @@ declare const encodeFlywheelStats: (input: {
13784
14188
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13785
14189
  readonly sampleSize: number;
13786
14190
  readonly dataSufficient: boolean;
13787
- readonly trend?: "flat" | "up" | "down" | undefined;
14191
+ readonly trend?: "flat" | "down" | "up" | undefined;
13788
14192
  };
13789
14193
  readonly c5_intervention: {
13790
14194
  readonly label: string;
@@ -13797,7 +14201,7 @@ declare const encodeFlywheelStats: (input: {
13797
14201
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13798
14202
  readonly sampleSize: number;
13799
14203
  readonly dataSufficient: boolean;
13800
- readonly trend?: "flat" | "up" | "down" | undefined;
14204
+ readonly trend?: "flat" | "down" | "up" | undefined;
13801
14205
  };
13802
14206
  readonly c6_timeConsistency: {
13803
14207
  readonly label: string;
@@ -13810,7 +14214,7 @@ declare const encodeFlywheelStats: (input: {
13810
14214
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13811
14215
  readonly sampleSize: number;
13812
14216
  readonly dataSufficient: boolean;
13813
- readonly trend?: "flat" | "up" | "down" | undefined;
14217
+ readonly trend?: "flat" | "down" | "up" | undefined;
13814
14218
  };
13815
14219
  readonly c7_flake: {
13816
14220
  readonly label: string;
@@ -13823,17 +14227,111 @@ declare const encodeFlywheelStats: (input: {
13823
14227
  readonly status: "green" | "yellow" | "red" | "insufficient_data";
13824
14228
  readonly sampleSize: number;
13825
14229
  readonly dataSufficient: boolean;
13826
- readonly trend?: "flat" | "up" | "down" | undefined;
14230
+ readonly trend?: "flat" | "down" | "up" | undefined;
13827
14231
  };
13828
14232
  };
13829
14233
  };
13830
14234
  //#endregion
14235
+ //#region src/orders.d.ts
14236
+ declare const OrderBookLane: Schema.Literals<readonly ["A", "B"]>;
14237
+ type OrderBookLane = typeof OrderBookLane.Type;
14238
+ declare const OrderBookStatus: Schema.Literals<readonly ["draft", "ready", "running", "drained", "complete"]>;
14239
+ type OrderBookStatus = typeof OrderBookStatus.Type;
14240
+ declare const OrderBookPosture: Schema.Literals<readonly ["open", "drain"]>;
14241
+ type OrderBookPosture = typeof OrderBookPosture.Type;
14242
+ interface OrderBookItem {
14243
+ issue: string;
14244
+ lane: OrderBookLane;
14245
+ order: number;
14246
+ prereqs: ReadonlyArray<string>;
14247
+ reVerify: boolean;
14248
+ planAtPickup?: boolean | undefined;
14249
+ addedAt: string;
14250
+ addedBy: string;
14251
+ }
14252
+ declare const OrderBookItem: Schema.Struct<{
14253
+ readonly issue: Schema.String;
14254
+ readonly lane: Schema.Literals<readonly ["A", "B"]>;
14255
+ readonly order: Schema.Number;
14256
+ readonly prereqs: Schema.$Array<Schema.String>;
14257
+ readonly reVerify: Schema.Boolean;
14258
+ readonly planAtPickup: Schema.optional<Schema.Boolean>;
14259
+ readonly addedAt: Schema.String;
14260
+ readonly addedBy: Schema.String;
14261
+ }>;
14262
+ interface OrderBookSettings {
14263
+ laneAConcurrency: number;
14264
+ briefOverlay?: string | undefined;
14265
+ posture: OrderBookPosture;
14266
+ postureSetAt?: string | undefined;
14267
+ postureSetBy?: string | undefined;
14268
+ postureReason?: string | undefined;
14269
+ }
14270
+ declare const OrderBookSettings: Schema.Struct<{
14271
+ readonly laneAConcurrency: Schema.Number;
14272
+ readonly briefOverlay: Schema.optional<Schema.String>;
14273
+ readonly posture: Schema.Literals<readonly ["open", "drain"]>;
14274
+ readonly postureSetAt: Schema.optional<Schema.String>;
14275
+ readonly postureSetBy: Schema.optional<Schema.String>;
14276
+ readonly postureReason: Schema.optional<Schema.String>;
14277
+ }>;
14278
+ interface OrderBook {
14279
+ id: string;
14280
+ name: string;
14281
+ status: OrderBookStatus;
14282
+ settings: OrderBookSettings;
14283
+ items: ReadonlyArray<OrderBookItem>;
14284
+ runId?: string | undefined;
14285
+ createdAt: string;
14286
+ updatedAt: string;
14287
+ }
14288
+ declare const OrderBook: Schema.Struct<{
14289
+ readonly id: Schema.String;
14290
+ readonly name: Schema.String;
14291
+ readonly status: Schema.Literals<readonly ["draft", "ready", "running", "drained", "complete"]>;
14292
+ readonly settings: Schema.Struct<{
14293
+ readonly laneAConcurrency: Schema.Number;
14294
+ readonly briefOverlay: Schema.optional<Schema.String>;
14295
+ readonly posture: Schema.Literals<readonly ["open", "drain"]>;
14296
+ readonly postureSetAt: Schema.optional<Schema.String>;
14297
+ readonly postureSetBy: Schema.optional<Schema.String>;
14298
+ readonly postureReason: Schema.optional<Schema.String>;
14299
+ }>;
14300
+ readonly items: Schema.$Array<Schema.Struct<{
14301
+ readonly issue: Schema.String;
14302
+ readonly lane: Schema.Literals<readonly ["A", "B"]>;
14303
+ readonly order: Schema.Number;
14304
+ readonly prereqs: Schema.$Array<Schema.String>;
14305
+ readonly reVerify: Schema.Boolean;
14306
+ readonly planAtPickup: Schema.optional<Schema.Boolean>;
14307
+ readonly addedAt: Schema.String;
14308
+ readonly addedBy: Schema.String;
14309
+ }>>;
14310
+ readonly runId: Schema.optional<Schema.String>;
14311
+ readonly createdAt: Schema.String;
14312
+ readonly updatedAt: Schema.String;
14313
+ }>;
14314
+ interface OrderBookIndexEntry {
14315
+ id: string;
14316
+ name: string;
14317
+ status: OrderBookStatus;
14318
+ runId?: string | undefined;
14319
+ updatedAt: string;
14320
+ }
14321
+ declare const OrderBookIndexEntry: Schema.Struct<{
14322
+ readonly id: Schema.String;
14323
+ readonly name: Schema.String;
14324
+ readonly status: Schema.Literals<readonly ["draft", "ready", "running", "drained", "complete"]>;
14325
+ readonly runId: Schema.optional<Schema.String>;
14326
+ readonly updatedAt: Schema.String;
14327
+ }>;
14328
+ //#endregion
13831
14329
  //#region src/context-layers.d.ts
13832
14330
  declare const CONTEXT_LAYER_KINDS: readonly ["global", "project", "workspace"];
13833
- declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex"];
14331
+ declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex", "acp"];
13834
14332
  declare const ContextLayerKind: Schema.Literals<readonly ["global", "project", "workspace"]>;
13835
14333
  type ContextLayerKind = typeof ContextLayerKind.Type;
13836
- declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex"]>;
14334
+ declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
13837
14335
  type ContextPreviewHarness = typeof ContextPreviewHarness.Type;
13838
14336
  declare const ContextProjectSummary: Schema.Struct<{
13839
14337
  readonly projectKey: Schema.String;
@@ -13950,7 +14448,7 @@ type ContextLayerDraft = typeof ContextLayerDraft.Type;
13950
14448
  * their own content is preserved.
13951
14449
  */
13952
14450
  declare const ContextSyncTarget: Schema.Struct<{
13953
- readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex"]>;
14451
+ readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
13954
14452
  readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
13955
14453
  readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
13956
14454
  readonly label: Schema.String; /** Resolved absolute path of the target file. */
@@ -14000,7 +14498,7 @@ declare const ContextLayersResponse: Schema.Struct<{
14000
14498
  readonly workspacePath: Schema.String;
14001
14499
  }>]>>; /** Injection targets `pan sync` writes managed regions into. */
14002
14500
  readonly targets: Schema.$Array<Schema.Struct<{
14003
- readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex"]>;
14501
+ readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp"]>;
14004
14502
  readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
14005
14503
  readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
14006
14504
  readonly label: Schema.String; /** Resolved absolute path of the target file. */
@@ -14042,6 +14540,7 @@ declare const ContextHarnessPreviews: Schema.Struct<{
14042
14540
  readonly "claude-code": Schema.String;
14043
14541
  readonly ohmypi: Schema.String;
14044
14542
  readonly codex: Schema.String;
14543
+ readonly acp: Schema.String;
14045
14544
  readonly fullPrompt: Schema.String;
14046
14545
  }>;
14047
14546
  type ContextHarnessPreviews = typeof ContextHarnessPreviews.Type;
@@ -14066,6 +14565,7 @@ declare const ContextPreviewResponse: Schema.Struct<{
14066
14565
  readonly "claude-code": Schema.String;
14067
14566
  readonly ohmypi: Schema.String;
14068
14567
  readonly codex: Schema.String;
14568
+ readonly acp: Schema.String;
14069
14569
  readonly fullPrompt: Schema.String;
14070
14570
  }>;
14071
14571
  readonly diagnostics: Schema.$Array<Schema.Struct<{
@@ -14149,7 +14649,7 @@ declare const ArtifactHash: Schema.String;
14149
14649
  type ArtifactHash = typeof ArtifactHash.Type;
14150
14650
  declare const ArtifactAgentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>;
14151
14651
  type ArtifactAgentRole = typeof ArtifactAgentRole.Type;
14152
- declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>;
14652
+ declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>;
14153
14653
  type ArtifactAgentHarness = typeof ArtifactAgentHarness.Type;
14154
14654
  declare const ArtifactLifecycleState: Schema.Literals<readonly ["published", "pending_changes", "unshared"]>;
14155
14655
  type ArtifactLifecycleState = typeof ArtifactLifecycleState.Type;
@@ -14194,7 +14694,7 @@ declare const ArtifactMetadata: Schema.Struct<{
14194
14694
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14195
14695
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14196
14696
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14197
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14697
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14198
14698
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14199
14699
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14200
14700
  readonly filePath: Schema.String;
@@ -14220,7 +14720,7 @@ declare const ArtifactStatusResponse: Schema.Struct<{
14220
14720
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14221
14721
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14222
14722
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14223
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14723
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14224
14724
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14225
14725
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14226
14726
  readonly filePath: Schema.String;
@@ -14269,7 +14769,7 @@ declare const ArtifactCreateResponse: Schema.Struct<{
14269
14769
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14270
14770
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14271
14771
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14272
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14772
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14273
14773
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14274
14774
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14275
14775
  readonly filePath: Schema.String;
@@ -14319,7 +14819,7 @@ declare const ArtifactPublishResponse: Schema.Struct<{
14319
14819
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14320
14820
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14321
14821
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14322
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14822
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14323
14823
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14324
14824
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14325
14825
  readonly filePath: Schema.String;
@@ -14370,7 +14870,7 @@ declare const ArtifactUnshareResponse: Schema.Struct<{
14370
14870
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14371
14871
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14372
14872
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14373
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14873
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14374
14874
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14375
14875
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14376
14876
  readonly filePath: Schema.String;
@@ -14393,7 +14893,7 @@ declare const ArtifactListEntry: Schema.Struct<{
14393
14893
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14394
14894
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14395
14895
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14396
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14896
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14397
14897
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14398
14898
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14399
14899
  readonly filePath: Schema.String;
@@ -14423,7 +14923,7 @@ declare const ArtifactListResponse: Schema.Struct<{
14423
14923
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14424
14924
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14425
14925
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14426
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14926
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14427
14927
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14428
14928
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14429
14929
  readonly filePath: Schema.String;
@@ -14453,7 +14953,7 @@ declare const ArtifactDetailResponse: Schema.Struct<{
14453
14953
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14454
14954
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14455
14955
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14456
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14956
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14457
14957
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14458
14958
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14459
14959
  readonly filePath: Schema.String;
@@ -14484,7 +14984,7 @@ declare const WorkspaceArtifactsResponse: Schema.Struct<{
14484
14984
  readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
14485
14985
  readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
14486
14986
  readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
14487
- readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "user"]>>>;
14987
+ readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "user"]>>>;
14488
14988
  readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
14489
14989
  readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
14490
14990
  readonly filePath: Schema.String;
@@ -14560,15 +15060,21 @@ interface FeatureRegistryOwnershipUpdate {
14560
15060
  //#region src/harness-behavior.d.ts
14561
15061
  type RuntimeName = Harness;
14562
15062
  type HarnessName = RuntimeName | "pi";
14563
- type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server";
14564
- type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "codex-app-server-rpc" | "tmux-paste";
14565
- type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready";
14566
- type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl";
14567
- type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id";
14568
- type HarnessContextLayerKind = "claude" | "pi" | "codex";
14569
- type HarnessFeedKind = "claude_code" | "pi" | "codex";
15063
+ type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host";
15064
+ type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "codex-app-server-rpc" | "acp-host-rpc" | "tmux-paste";
15065
+ type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready" | "acp-host-ready";
15066
+ type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl" | "acp-jsonl";
15067
+ type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id";
15068
+ type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp";
15069
+ type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp";
15070
+ interface HarnessNativeCommand {
15071
+ readonly name: string;
15072
+ readonly description: string;
15073
+ readonly insert: string;
15074
+ }
14570
15075
  interface HarnessBehavior {
14571
15076
  readonly displayName: string;
15077
+ readonly nativeCommands?: readonly HarnessNativeCommand[];
14572
15078
  readonly executableName: string;
14573
15079
  readonly processNames: readonly string[];
14574
15080
  readonly launchCommandKind: HarnessLaunchCommandKind;
@@ -14585,12 +15091,13 @@ interface HarnessBehavior {
14585
15091
  readonly usesRpcFifo: boolean;
14586
15092
  readonly usesCodexHome: boolean;
14587
15093
  readonly injectsPromptTimeMemory: boolean;
14588
- readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server";
15094
+ readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host";
14589
15095
  readonly readyTimeoutSeconds: number;
14590
15096
  }
14591
15097
  declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
14592
15098
  declare const OHMYPI_BEHAVIOR: HarnessBehavior;
14593
15099
  declare const CODEX_BEHAVIOR: HarnessBehavior;
15100
+ declare const ACP_BEHAVIOR: HarnessBehavior;
14594
15101
  declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
14595
15102
  declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
14596
15103
  //#endregion
@@ -14727,6 +15234,9 @@ declare const HostHealthMetrics: Schema.Struct<{
14727
15234
  readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
14728
15235
  readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
14729
15236
  readonly virtualCommitmentPercent: Schema.NullOr<Schema.Number>;
15237
+ readonly inotifyWatchesUsed: Schema.optional<Schema.NullOr<Schema.Number>>;
15238
+ readonly inotifyWatchesMax: Schema.optional<Schema.NullOr<Schema.Number>>;
15239
+ readonly inotifyWatchesUsedPercent: Schema.optional<Schema.NullOr<Schema.Number>>;
14730
15240
  }>;
14731
15241
  type HostHealthMetrics = typeof HostHealthMetrics.Type;
14732
15242
  declare const AdmissionState: Schema.decodeTo<Schema.Literals<readonly ["open", "soft", "blocked", "unavailable"]>, Schema.String, never, never>;
@@ -14877,6 +15387,9 @@ declare const SystemHealthSnapshot: Schema.Struct<{
14877
15387
  readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
14878
15388
  readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
14879
15389
  readonly virtualCommitmentPercent: Schema.NullOr<Schema.Number>;
15390
+ readonly inotifyWatchesUsed: Schema.optional<Schema.NullOr<Schema.Number>>;
15391
+ readonly inotifyWatchesMax: Schema.optional<Schema.NullOr<Schema.Number>>;
15392
+ readonly inotifyWatchesUsedPercent: Schema.optional<Schema.NullOr<Schema.Number>>;
14880
15393
  }>;
14881
15394
  }>;
14882
15395
  readonly admission: Schema.Struct<{
@@ -15014,5 +15527,242 @@ type DeployStalenessSnapshot = typeof DeployStalenessSnapshot.Type;
15014
15527
  */
15015
15528
  declare function compareIssueIds(a: string, b: string): number;
15016
15529
  //#endregion
15017
- export { Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, BeadsFreshnessChangedEvent, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueId, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, LegacySystemHealthSummary, LegacyWebhookRelaySummary, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
15530
+ //#region src/telemetry.d.ts
15531
+ declare const TELEMETRY_EVENT_NAMES: readonly ["dashboard_tab_viewed", "agent_spawned", "project_created", "issue_merged", "force_merge_triggered", "issue_closed_out", "bulk_close_out_initiated", "auto_merge_toggled", "conversation_forked", "plan_approved", "plan_changes_requested", "agent_question_answered", "server_boot", "cli_command_run", "pipeline_stage_changed"];
15532
+ type TelemetryEventName = typeof TELEMETRY_EVENT_NAMES[number];
15533
+ declare const TELEMETRY_CLI_VERBS: 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"];
15534
+ declare const TELEMETRY_PROPERTY_DOMAINS: {
15535
+ readonly agent_spawn_mode: readonly ["spawn-and-send", "spawn-work-and-send"];
15536
+ readonly answer_type: readonly ["custom", "selection"];
15537
+ readonly auto_merge_variant: readonly ["segmented", "badge"];
15538
+ readonly boolean: readonly [false, true];
15539
+ 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"];
15540
+ readonly close_out_variant: readonly ["card", "inspector"];
15541
+ readonly count_bucket: readonly ["0", "1-2", "3-5", "6-10", "11+"];
15542
+ 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"];
15543
+ readonly decision_subject: readonly ["agent", "conversation"];
15544
+ readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
15545
+ readonly forge: readonly ["github", "gitlab"];
15546
+ readonly fork_kind: readonly ["summary", "handoff", "plain"];
15547
+ readonly harness: readonly ["claude-code", "ohmypi", "codex", "acp"];
15548
+ readonly merge_kind: readonly ["pipeline"];
15549
+ readonly model_family: readonly ["claude", "gpt", "gemini", "kimi", "minimax", "glm", "mimo", "other"];
15550
+ readonly pipeline_stage: readonly ["work_done", "review_passed", "verification_passed", "merged", "closed_out"];
15551
+ readonly project_mode: readonly ["existing", "new"];
15552
+ };
15553
+ type TelemetryPropertyDomainName = keyof typeof TELEMETRY_PROPERTY_DOMAINS;
15554
+ declare const TELEMETRY_EVENT_CATALOG: {
15555
+ readonly dashboard_tab_viewed: {
15556
+ readonly tab: "dashboard_tab";
15557
+ };
15558
+ readonly agent_spawned: {
15559
+ readonly spawn_mode: "agent_spawn_mode";
15560
+ readonly has_message: "boolean";
15561
+ };
15562
+ readonly project_created: {
15563
+ readonly mode: "project_mode";
15564
+ };
15565
+ readonly issue_merged: {
15566
+ readonly merge_kind: "merge_kind";
15567
+ };
15568
+ readonly force_merge_triggered: {
15569
+ readonly forge: "forge";
15570
+ };
15571
+ readonly issue_closed_out: {
15572
+ readonly variant: "close_out_variant";
15573
+ };
15574
+ readonly bulk_close_out_initiated: {
15575
+ readonly issue_count: "count_bucket";
15576
+ };
15577
+ readonly auto_merge_toggled: {
15578
+ readonly auto_merge: "boolean";
15579
+ readonly variant: "auto_merge_variant";
15580
+ };
15581
+ readonly conversation_forked: {
15582
+ readonly fork_intent: "fork_kind";
15583
+ readonly fork_mode: "fork_kind";
15584
+ readonly fast_summary: "boolean";
15585
+ readonly launch_harness: "harness";
15586
+ };
15587
+ readonly plan_approved: {
15588
+ readonly subject_kind: "decision_subject";
15589
+ };
15590
+ readonly plan_changes_requested: {
15591
+ readonly subject_kind: "decision_subject";
15592
+ };
15593
+ readonly agent_question_answered: {
15594
+ readonly subject_kind: "decision_subject";
15595
+ readonly answer_type: "answer_type";
15596
+ readonly question_count: "count_bucket";
15597
+ };
15598
+ readonly server_boot: {
15599
+ readonly project_count: "count_bucket";
15600
+ readonly active_agent_count: "count_bucket";
15601
+ };
15602
+ readonly cli_command_run: {
15603
+ readonly verb: "cli_verb";
15604
+ readonly ok: "boolean";
15605
+ readonly duration_ms: "duration_bucket";
15606
+ };
15607
+ readonly pipeline_stage_changed: {
15608
+ readonly stage: "pipeline_stage";
15609
+ readonly harness: "harness";
15610
+ readonly model: "model_family";
15611
+ };
15612
+ };
15613
+ type TelemetryPropertyValue<Domain extends TelemetryPropertyDomainName> = (typeof TELEMETRY_PROPERTY_DOMAINS)[Domain][number];
15614
+ type EventProperties<Event extends TelemetryEventName> = { readonly [Property in keyof (typeof TELEMETRY_EVENT_CATALOG)[Event]]: TelemetryPropertyValue<(typeof TELEMETRY_EVENT_CATALOG)[Event][Property] & TelemetryPropertyDomainName> };
15615
+ type TelemetryCountBucket = TelemetryPropertyValue<"count_bucket">;
15616
+ type TelemetryDurationBucket = TelemetryPropertyValue<"duration_bucket">;
15617
+ type TelemetryDecisionSubjectKind = TelemetryPropertyValue<"decision_subject">;
15618
+ type TelemetryModelFamily = TelemetryPropertyValue<"model_family">;
15619
+ type TelemetryCliVerb = TelemetryPropertyValue<"cli_verb">;
15620
+ type TelemetryDashboardTab = TelemetryPropertyValue<"dashboard_tab">;
15621
+ type DashboardTabViewedProperties = EventProperties<"dashboard_tab_viewed">;
15622
+ type AgentSpawnedProperties = EventProperties<"agent_spawned">;
15623
+ type ProjectCreatedProperties = EventProperties<"project_created">;
15624
+ type IssueMergedProperties = EventProperties<"issue_merged">;
15625
+ type ForceMergeTriggeredProperties = EventProperties<"force_merge_triggered">;
15626
+ type IssueClosedOutProperties = EventProperties<"issue_closed_out">;
15627
+ type BulkCloseOutInitiatedProperties = EventProperties<"bulk_close_out_initiated">;
15628
+ type AutoMergeToggledProperties = EventProperties<"auto_merge_toggled">;
15629
+ type ConversationForkedProperties = EventProperties<"conversation_forked">;
15630
+ type PlanApprovedProperties = EventProperties<"plan_approved">;
15631
+ type PlanChangesRequestedProperties = EventProperties<"plan_changes_requested">;
15632
+ type AgentQuestionAnsweredProperties = EventProperties<"agent_question_answered">;
15633
+ type ServerBootProperties = EventProperties<"server_boot">;
15634
+ type CliCommandRunProperties = EventProperties<"cli_command_run">;
15635
+ type PipelineStageChangedProperties = EventProperties<"pipeline_stage_changed">;
15636
+ type TelemetryEventProperties = { readonly [Event in TelemetryEventName]: EventProperties<Event> };
15637
+ type TelemetryPropertiesFor<Event extends TelemetryEventName> = TelemetryEventProperties[Event];
15638
+ //#endregion
15639
+ //#region src/composer-commands.generated.d.ts
15640
+ declare const COMPOSER_COMMAND_MANIFEST: ComposerCommandManifestEntry[];
15641
+ declare const COMPOSER_COMMAND_INSERT_OVERRIDES: Readonly<Record<string, string>>;
15642
+ declare const COMPOSER_COMMAND_VARIANTS: readonly [{
15643
+ readonly id: "pan-show-cv";
15644
+ readonly path: readonly ["show"];
15645
+ readonly display: "/pan show --cv";
15646
+ readonly description: "Show agent work history (CV)";
15647
+ readonly insert: "/pan show --cv";
15648
+ readonly category: "Observation";
15649
+ }, {
15650
+ readonly id: "pan-show-context";
15651
+ readonly path: readonly ["show"];
15652
+ readonly display: "/pan show --context";
15653
+ readonly description: "Show context engineering state";
15654
+ readonly insert: "/pan show --context";
15655
+ readonly category: "Observation";
15656
+ }, {
15657
+ readonly id: "pan-show-health";
15658
+ readonly path: readonly ["show"];
15659
+ readonly display: "/pan show --health";
15660
+ readonly description: "Show health + heartbeat status";
15661
+ readonly insert: "/pan show --health";
15662
+ readonly category: "Observation";
15663
+ }, {
15664
+ readonly id: "pan-plan-auto-start";
15665
+ readonly path: readonly ["plan"];
15666
+ readonly display: "/pan plan --auto --auto-start";
15667
+ readonly description: "Auto-plan the issue, then auto-start the work agent";
15668
+ readonly insert: "/pan plan --auto --auto-start ";
15669
+ readonly category: "Lifecycle";
15670
+ }, {
15671
+ readonly id: "pan-review-reset-session";
15672
+ readonly path: readonly ["review", "reset"];
15673
+ readonly display: "/pan review reset --session";
15674
+ readonly description: "Reset review and clear saved Claude session";
15675
+ readonly insert: "/pan review reset --session";
15676
+ readonly category: "Review";
15677
+ }, {
15678
+ readonly id: "pan-fork-plain";
15679
+ readonly path: readonly ["fork"];
15680
+ readonly display: "/pan fork --plain";
15681
+ readonly description: "Plain fork — copy raw history, skip summary";
15682
+ readonly insert: "/pan fork --plain";
15683
+ readonly category: "Conversation";
15684
+ }, {
15685
+ readonly id: "pan-handoff-model";
15686
+ readonly path: readonly ["handoff"];
15687
+ readonly display: "/pan handoff --model";
15688
+ readonly description: "Model for the new conversation";
15689
+ readonly insert: "/pan handoff --model ";
15690
+ readonly category: "Conversation";
15691
+ }, {
15692
+ readonly id: "pan-handoff-harness";
15693
+ readonly path: readonly ["handoff"];
15694
+ readonly display: "/pan handoff --harness";
15695
+ readonly description: "Harness for the new conversation (claude-code|pi)";
15696
+ readonly insert: "/pan handoff --harness ";
15697
+ readonly category: "Conversation";
15698
+ }, {
15699
+ readonly id: "pan-handoff-cwd";
15700
+ readonly path: readonly ["handoff"];
15701
+ readonly display: "/pan handoff --cwd";
15702
+ readonly description: "Working directory for the new conversation";
15703
+ readonly insert: "/pan handoff --cwd ";
15704
+ readonly category: "Conversation";
15705
+ }];
15706
+ //#endregion
15707
+ //#region src/composer-commands.d.ts
15708
+ interface ComposerCommandArgument {
15709
+ readonly name: string;
15710
+ readonly required: boolean;
15711
+ readonly variadic: boolean;
15712
+ }
15713
+ interface ComposerCommandOption {
15714
+ readonly flags: string;
15715
+ readonly description: string;
15716
+ readonly required: boolean;
15717
+ readonly valueHint: string | null;
15718
+ }
15719
+ interface ComposerCommandManifestEntry {
15720
+ readonly id: string;
15721
+ readonly path: readonly string[];
15722
+ readonly display: string;
15723
+ readonly description: string;
15724
+ readonly args: readonly ComposerCommandArgument[];
15725
+ readonly options: readonly ComposerCommandOption[];
15726
+ readonly aliases: readonly string[];
15727
+ readonly category: string;
15728
+ }
15729
+ type ComposerExecutionMode = "captured" | "detached" | "ui" | "terminal-only";
15730
+ type ComposerSafety = "safe" | "dialog" | "destructive";
15731
+ interface ComposerCommandPolicy {
15732
+ readonly mode: ComposerExecutionMode;
15733
+ readonly safety: ComposerSafety;
15734
+ readonly confirmationText?: string;
15735
+ readonly typedConfirmation?: string;
15736
+ readonly uiAction?: "handoff" | "fork";
15737
+ }
15738
+ type ComposerCommandResult = {
15739
+ readonly kind: "captured";
15740
+ readonly status: "completed" | "failed";
15741
+ readonly command: string;
15742
+ readonly output: string;
15743
+ readonly truncated: boolean;
15744
+ } | {
15745
+ readonly kind: "activity";
15746
+ readonly status: "accepted";
15747
+ readonly command: string;
15748
+ readonly activityId: string;
15749
+ readonly message: string;
15750
+ } | {
15751
+ readonly kind: "ui";
15752
+ readonly status: "requires_ui";
15753
+ readonly action: "handoff" | "fork";
15754
+ readonly args: Readonly<Record<string, string>>;
15755
+ } | {
15756
+ readonly kind: "confirmation";
15757
+ readonly status: "confirmation_required";
15758
+ readonly nonce: string;
15759
+ readonly consequence: string;
15760
+ readonly typedText?: string;
15761
+ } | {
15762
+ readonly kind: "terminal-only";
15763
+ readonly status: "rejected";
15764
+ readonly message: string;
15765
+ };
15766
+ //#endregion
15767
+ export { ACP_BEHAVIOR, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationPermissionChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelEffort, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelOrchestrator, FlywheelOrders, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelRunId, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriteria, FlywheelStatsCriterion, FlywheelStatsCriterionStatus, FlywheelStatsCriterionValue, FlywheelStatsCriterionValueObject, FlywheelStatsTrend, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugStatus, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GetWorkspaceDetailRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, IssueClosedOutProperties, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MembershipUnavailableReason, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, MergeStatusValue, ModelOrigin, ModelOriginEntry, OHMYPI_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PendingTurn, PipelineBucket, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineStatusChangedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectSessionTree, ProposedPlan, RagDecision, RagDecisionSource, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReleaseStatusValue, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewStatusChangedEvent, ReviewStatusSnapshot, ReviewStatusValue, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeFlywheelStatusRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, TestStatusValue, ThinkingState, TurnDiffFileChange, TurnDiffSummary, UatStatusValue, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, VerificationStatusValue, WS_METHODS, WaitingReason, WaitingState, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceDetail, WorkspaceWipeStartedEvent, applyEvent, applyEvents, compareIssueIds, decodeFlywheelStats, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isChannelReplyKind, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
15018
15768
  //# sourceMappingURL=index.d.ts.map