@overdeck/contracts 0.45.24 → 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.cjs +6888 -14
- package/dist/index.d.ts +663 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6876 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -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>; /**
|
|
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>; /**
|
|
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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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>;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -8033,6 +8249,7 @@ declare const SubscribeFlywheelStatusRpc: Rpc.Rpc<"pan.subscribeFlywheelStatus",
|
|
|
8033
8249
|
readonly laneBInFlight: Schema.optional<Schema.String>;
|
|
8034
8250
|
readonly drained: Schema.Boolean;
|
|
8035
8251
|
}>>;
|
|
8252
|
+
readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
|
|
8036
8253
|
readonly ticks: Schema.Number;
|
|
8037
8254
|
readonly lastTickAt: Schema.String;
|
|
8038
8255
|
}>>, typeof PanRpcError>, Schema.Never, never, never>;
|
|
@@ -9045,7 +9262,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9045
9262
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
9046
9263
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
9047
9264
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
9048
|
-
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"]>;
|
|
9049
9266
|
readonly summary: Schema.String;
|
|
9050
9267
|
readonly details: Schema.optional<Schema.String>;
|
|
9051
9268
|
readonly detectedAt: Schema.String;
|
|
@@ -9104,7 +9321,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9104
9321
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
9105
9322
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
9106
9323
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
9107
|
-
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"]>;
|
|
9108
9325
|
readonly summary: Schema.String;
|
|
9109
9326
|
readonly details: Schema.optional<Schema.String>;
|
|
9110
9327
|
readonly detectedAt: Schema.String;
|
|
@@ -9174,6 +9391,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9174
9391
|
readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
|
|
9175
9392
|
readonly source: Schema.String;
|
|
9176
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
|
+
}>;
|
|
9177
9431
|
}>, Schema.Struct<{
|
|
9178
9432
|
readonly type: Schema.Literal<"substrate.bug_filed">;
|
|
9179
9433
|
readonly sequence: Schema.Number;
|
|
@@ -9328,8 +9582,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9328
9582
|
readonly id: Schema.String;
|
|
9329
9583
|
readonly source: Schema.String;
|
|
9330
9584
|
readonly level: Schema.String;
|
|
9585
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
|
|
9586
|
+
readonly command: Schema.optional<Schema.String>;
|
|
9331
9587
|
readonly message: Schema.String;
|
|
9332
9588
|
readonly details: Schema.optional<Schema.String>;
|
|
9589
|
+
readonly output: Schema.optional<Schema.String>;
|
|
9333
9590
|
readonly issueId: Schema.optional<Schema.String>;
|
|
9334
9591
|
readonly link: Schema.optional<Schema.String>;
|
|
9335
9592
|
readonly desktop: Schema.optional<Schema.Boolean>;
|
|
@@ -10247,7 +10504,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10247
10504
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
10248
10505
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
10249
10506
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10250
|
-
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"]>;
|
|
10251
10508
|
readonly summary: Schema.String;
|
|
10252
10509
|
readonly details: Schema.optional<Schema.String>;
|
|
10253
10510
|
readonly detectedAt: Schema.String;
|
|
@@ -10306,7 +10563,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10306
10563
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
10307
10564
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
10308
10565
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10309
|
-
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"]>;
|
|
10310
10567
|
readonly summary: Schema.String;
|
|
10311
10568
|
readonly details: Schema.optional<Schema.String>;
|
|
10312
10569
|
readonly detectedAt: Schema.String;
|
|
@@ -10376,6 +10633,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10376
10633
|
readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
|
|
10377
10634
|
readonly source: Schema.String;
|
|
10378
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
|
+
}>;
|
|
10379
10673
|
}>, Schema.Struct<{
|
|
10380
10674
|
readonly type: Schema.Literal<"substrate.bug_filed">;
|
|
10381
10675
|
readonly sequence: Schema.Number;
|
|
@@ -10530,8 +10824,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10530
10824
|
readonly id: Schema.String;
|
|
10531
10825
|
readonly source: Schema.String;
|
|
10532
10826
|
readonly level: Schema.String;
|
|
10827
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
|
|
10828
|
+
readonly command: Schema.optional<Schema.String>;
|
|
10533
10829
|
readonly message: Schema.String;
|
|
10534
10830
|
readonly details: Schema.optional<Schema.String>;
|
|
10831
|
+
readonly output: Schema.optional<Schema.String>;
|
|
10535
10832
|
readonly issueId: Schema.optional<Schema.String>;
|
|
10536
10833
|
readonly link: Schema.optional<Schema.String>;
|
|
10537
10834
|
readonly desktop: Schema.optional<Schema.Boolean>;
|
|
@@ -10987,7 +11284,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10987
11284
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
10988
11285
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
10989
11286
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
10990
|
-
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"]>;
|
|
10991
11288
|
readonly summary: Schema.String;
|
|
10992
11289
|
readonly details: Schema.optional<Schema.String>;
|
|
10993
11290
|
readonly detectedAt: Schema.String;
|
|
@@ -11652,7 +11949,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11652
11949
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
11653
11950
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
11654
11951
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
11655
|
-
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"]>;
|
|
11656
11953
|
readonly summary: Schema.String;
|
|
11657
11954
|
readonly details: Schema.optional<Schema.String>;
|
|
11658
11955
|
readonly detectedAt: Schema.String;
|
|
@@ -11711,7 +12008,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11711
12008
|
readonly mergeRetryCount: Schema.optional<Schema.Number>;
|
|
11712
12009
|
readonly mergeNotes: Schema.optional<Schema.String>;
|
|
11713
12010
|
readonly blockerReasons: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
11714
|
-
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"]>;
|
|
11715
12012
|
readonly summary: Schema.String;
|
|
11716
12013
|
readonly details: Schema.optional<Schema.String>;
|
|
11717
12014
|
readonly detectedAt: Schema.String;
|
|
@@ -11781,6 +12078,43 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11781
12078
|
readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
|
|
11782
12079
|
readonly source: Schema.String;
|
|
11783
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
|
+
}>;
|
|
11784
12118
|
}>, Schema.Struct<{
|
|
11785
12119
|
readonly type: Schema.Literal<"substrate.bug_filed">;
|
|
11786
12120
|
readonly sequence: Schema.Number;
|
|
@@ -11935,8 +12269,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11935
12269
|
readonly id: Schema.String;
|
|
11936
12270
|
readonly source: Schema.String;
|
|
11937
12271
|
readonly level: Schema.String;
|
|
12272
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
|
|
12273
|
+
readonly command: Schema.optional<Schema.String>;
|
|
11938
12274
|
readonly message: Schema.String;
|
|
11939
12275
|
readonly details: Schema.optional<Schema.String>;
|
|
12276
|
+
readonly output: Schema.optional<Schema.String>;
|
|
11940
12277
|
readonly issueId: Schema.optional<Schema.String>;
|
|
11941
12278
|
readonly link: Schema.optional<Schema.String>;
|
|
11942
12279
|
readonly desktop: Schema.optional<Schema.Boolean>;
|
|
@@ -12493,6 +12830,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12493
12830
|
readonly laneBInFlight: Schema.optional<Schema.String>;
|
|
12494
12831
|
readonly drained: Schema.Boolean;
|
|
12495
12832
|
}>>;
|
|
12833
|
+
readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
|
|
12496
12834
|
readonly ticks: Schema.Number;
|
|
12497
12835
|
readonly lastTickAt: Schema.String;
|
|
12498
12836
|
}>>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.shellOpenInEditor", Schema.Struct<{
|
|
@@ -13151,6 +13489,13 @@ declare const FlywheelOrchestrator: Schema.Struct<{
|
|
|
13151
13489
|
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
13152
13490
|
readonly ctxPercent: Schema.Number;
|
|
13153
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"]>;
|
|
13154
13499
|
interface FlywheelHeadline {
|
|
13155
13500
|
bugsFixed: number;
|
|
13156
13501
|
swarmItemsMerged: number;
|
|
@@ -13166,17 +13511,21 @@ declare const FlywheelHeadline: Schema.Struct<{
|
|
|
13166
13511
|
readonly awaitingUat: Schema.Number;
|
|
13167
13512
|
}>;
|
|
13168
13513
|
/**
|
|
13169
|
-
* Pipeline verbs
|
|
13514
|
+
* Pipeline verbs — display state only. They no longer gate the merge queue.
|
|
13170
13515
|
*
|
|
13171
|
-
*
|
|
13172
|
-
*
|
|
13173
|
-
*
|
|
13174
|
-
*
|
|
13175
|
-
*
|
|
13176
|
-
*
|
|
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.
|
|
13177
13522
|
*
|
|
13178
|
-
*
|
|
13179
|
-
*
|
|
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.
|
|
13180
13529
|
*/
|
|
13181
13530
|
declare const FlywheelPipelineVerb: Schema.Literals<readonly ["planning", "working", "reviewing", "testing", "shipping", "merging", "blocked", "parked"]>;
|
|
13182
13531
|
declare const FlywheelPipelineStatus: Schema.Literals<readonly ["queued", "running", "blocked", "passed", "failed", "merged", "parked"]>;
|
|
@@ -13322,6 +13671,14 @@ interface FlywheelStatus {
|
|
|
13322
13671
|
system: FlywheelSystemStatus;
|
|
13323
13672
|
openQuestions: ReadonlyArray<string>;
|
|
13324
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;
|
|
13325
13682
|
ticks: number;
|
|
13326
13683
|
lastTickAt: string;
|
|
13327
13684
|
}
|
|
@@ -13404,6 +13761,7 @@ declare const FlywheelStatus: Schema.Struct<{
|
|
|
13404
13761
|
readonly laneBInFlight: Schema.optional<Schema.String>;
|
|
13405
13762
|
readonly drained: Schema.Boolean;
|
|
13406
13763
|
}>>;
|
|
13764
|
+
readonly scope: Schema.optional<Schema.Literals<readonly ["pan-only", "all-tracked-projects"]>>;
|
|
13407
13765
|
readonly ticks: Schema.Number;
|
|
13408
13766
|
readonly lastTickAt: Schema.String;
|
|
13409
13767
|
}>;
|
|
@@ -13598,7 +13956,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13598
13956
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13599
13957
|
readonly sampleSize: number;
|
|
13600
13958
|
readonly dataSufficient: boolean;
|
|
13601
|
-
readonly trend?: "flat" | "
|
|
13959
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13602
13960
|
};
|
|
13603
13961
|
readonly c2_p0Bugs: {
|
|
13604
13962
|
readonly label: string;
|
|
@@ -13611,7 +13969,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13611
13969
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13612
13970
|
readonly sampleSize: number;
|
|
13613
13971
|
readonly dataSufficient: boolean;
|
|
13614
|
-
readonly trend?: "flat" | "
|
|
13972
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13615
13973
|
};
|
|
13616
13974
|
readonly c3_passRate: {
|
|
13617
13975
|
readonly label: string;
|
|
@@ -13624,7 +13982,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13624
13982
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13625
13983
|
readonly sampleSize: number;
|
|
13626
13984
|
readonly dataSufficient: boolean;
|
|
13627
|
-
readonly trend?: "flat" | "
|
|
13985
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13628
13986
|
};
|
|
13629
13987
|
readonly c4_mttr: {
|
|
13630
13988
|
readonly label: string;
|
|
@@ -13637,7 +13995,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13637
13995
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13638
13996
|
readonly sampleSize: number;
|
|
13639
13997
|
readonly dataSufficient: boolean;
|
|
13640
|
-
readonly trend?: "flat" | "
|
|
13998
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13641
13999
|
};
|
|
13642
14000
|
readonly c5_intervention: {
|
|
13643
14001
|
readonly label: string;
|
|
@@ -13650,7 +14008,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13650
14008
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13651
14009
|
readonly sampleSize: number;
|
|
13652
14010
|
readonly dataSufficient: boolean;
|
|
13653
|
-
readonly trend?: "flat" | "
|
|
14011
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13654
14012
|
};
|
|
13655
14013
|
readonly c6_timeConsistency: {
|
|
13656
14014
|
readonly label: string;
|
|
@@ -13663,7 +14021,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13663
14021
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13664
14022
|
readonly sampleSize: number;
|
|
13665
14023
|
readonly dataSufficient: boolean;
|
|
13666
|
-
readonly trend?: "flat" | "
|
|
14024
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13667
14025
|
};
|
|
13668
14026
|
readonly c7_flake: {
|
|
13669
14027
|
readonly label: string;
|
|
@@ -13676,7 +14034,7 @@ declare const decodeFlywheelStats: (input: unknown, options?: _$effect_SchemaAST
|
|
|
13676
14034
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13677
14035
|
readonly sampleSize: number;
|
|
13678
14036
|
readonly dataSufficient: boolean;
|
|
13679
|
-
readonly trend?: "flat" | "
|
|
14037
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13680
14038
|
};
|
|
13681
14039
|
};
|
|
13682
14040
|
};
|
|
@@ -13695,7 +14053,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13695
14053
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13696
14054
|
readonly sampleSize: number;
|
|
13697
14055
|
readonly dataSufficient: boolean;
|
|
13698
|
-
readonly trend?: "flat" | "
|
|
14056
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13699
14057
|
};
|
|
13700
14058
|
readonly c2_p0Bugs: {
|
|
13701
14059
|
readonly label: string;
|
|
@@ -13708,7 +14066,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13708
14066
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13709
14067
|
readonly sampleSize: number;
|
|
13710
14068
|
readonly dataSufficient: boolean;
|
|
13711
|
-
readonly trend?: "flat" | "
|
|
14069
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13712
14070
|
};
|
|
13713
14071
|
readonly c3_passRate: {
|
|
13714
14072
|
readonly label: string;
|
|
@@ -13721,7 +14079,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13721
14079
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13722
14080
|
readonly sampleSize: number;
|
|
13723
14081
|
readonly dataSufficient: boolean;
|
|
13724
|
-
readonly trend?: "flat" | "
|
|
14082
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13725
14083
|
};
|
|
13726
14084
|
readonly c4_mttr: {
|
|
13727
14085
|
readonly label: string;
|
|
@@ -13734,7 +14092,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13734
14092
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13735
14093
|
readonly sampleSize: number;
|
|
13736
14094
|
readonly dataSufficient: boolean;
|
|
13737
|
-
readonly trend?: "flat" | "
|
|
14095
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13738
14096
|
};
|
|
13739
14097
|
readonly c5_intervention: {
|
|
13740
14098
|
readonly label: string;
|
|
@@ -13747,7 +14105,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13747
14105
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13748
14106
|
readonly sampleSize: number;
|
|
13749
14107
|
readonly dataSufficient: boolean;
|
|
13750
|
-
readonly trend?: "flat" | "
|
|
14108
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13751
14109
|
};
|
|
13752
14110
|
readonly c6_timeConsistency: {
|
|
13753
14111
|
readonly label: string;
|
|
@@ -13760,7 +14118,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13760
14118
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13761
14119
|
readonly sampleSize: number;
|
|
13762
14120
|
readonly dataSufficient: boolean;
|
|
13763
|
-
readonly trend?: "flat" | "
|
|
14121
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13764
14122
|
};
|
|
13765
14123
|
readonly c7_flake: {
|
|
13766
14124
|
readonly label: string;
|
|
@@ -13773,7 +14131,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13773
14131
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13774
14132
|
readonly sampleSize: number;
|
|
13775
14133
|
readonly dataSufficient: boolean;
|
|
13776
|
-
readonly trend?: "flat" | "
|
|
14134
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13777
14135
|
};
|
|
13778
14136
|
};
|
|
13779
14137
|
}, options?: _$effect_SchemaAST0.ParseOptions) => {
|
|
@@ -13791,7 +14149,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13791
14149
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13792
14150
|
readonly sampleSize: number;
|
|
13793
14151
|
readonly dataSufficient: boolean;
|
|
13794
|
-
readonly trend?: "flat" | "
|
|
14152
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13795
14153
|
};
|
|
13796
14154
|
readonly c2_p0Bugs: {
|
|
13797
14155
|
readonly label: string;
|
|
@@ -13804,7 +14162,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13804
14162
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13805
14163
|
readonly sampleSize: number;
|
|
13806
14164
|
readonly dataSufficient: boolean;
|
|
13807
|
-
readonly trend?: "flat" | "
|
|
14165
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13808
14166
|
};
|
|
13809
14167
|
readonly c3_passRate: {
|
|
13810
14168
|
readonly label: string;
|
|
@@ -13817,7 +14175,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13817
14175
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13818
14176
|
readonly sampleSize: number;
|
|
13819
14177
|
readonly dataSufficient: boolean;
|
|
13820
|
-
readonly trend?: "flat" | "
|
|
14178
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13821
14179
|
};
|
|
13822
14180
|
readonly c4_mttr: {
|
|
13823
14181
|
readonly label: string;
|
|
@@ -13830,7 +14188,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13830
14188
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13831
14189
|
readonly sampleSize: number;
|
|
13832
14190
|
readonly dataSufficient: boolean;
|
|
13833
|
-
readonly trend?: "flat" | "
|
|
14191
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13834
14192
|
};
|
|
13835
14193
|
readonly c5_intervention: {
|
|
13836
14194
|
readonly label: string;
|
|
@@ -13843,7 +14201,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13843
14201
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13844
14202
|
readonly sampleSize: number;
|
|
13845
14203
|
readonly dataSufficient: boolean;
|
|
13846
|
-
readonly trend?: "flat" | "
|
|
14204
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13847
14205
|
};
|
|
13848
14206
|
readonly c6_timeConsistency: {
|
|
13849
14207
|
readonly label: string;
|
|
@@ -13856,7 +14214,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13856
14214
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13857
14215
|
readonly sampleSize: number;
|
|
13858
14216
|
readonly dataSufficient: boolean;
|
|
13859
|
-
readonly trend?: "flat" | "
|
|
14217
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13860
14218
|
};
|
|
13861
14219
|
readonly c7_flake: {
|
|
13862
14220
|
readonly label: string;
|
|
@@ -13869,7 +14227,7 @@ declare const encodeFlywheelStats: (input: {
|
|
|
13869
14227
|
readonly status: "green" | "yellow" | "red" | "insufficient_data";
|
|
13870
14228
|
readonly sampleSize: number;
|
|
13871
14229
|
readonly dataSufficient: boolean;
|
|
13872
|
-
readonly trend?: "flat" | "
|
|
14230
|
+
readonly trend?: "flat" | "down" | "up" | undefined;
|
|
13873
14231
|
};
|
|
13874
14232
|
};
|
|
13875
14233
|
};
|
|
@@ -14709,8 +15067,14 @@ type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-js
|
|
|
14709
15067
|
type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id";
|
|
14710
15068
|
type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp";
|
|
14711
15069
|
type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp";
|
|
15070
|
+
interface HarnessNativeCommand {
|
|
15071
|
+
readonly name: string;
|
|
15072
|
+
readonly description: string;
|
|
15073
|
+
readonly insert: string;
|
|
15074
|
+
}
|
|
14712
15075
|
interface HarnessBehavior {
|
|
14713
15076
|
readonly displayName: string;
|
|
15077
|
+
readonly nativeCommands?: readonly HarnessNativeCommand[];
|
|
14714
15078
|
readonly executableName: string;
|
|
14715
15079
|
readonly processNames: readonly string[];
|
|
14716
15080
|
readonly launchCommandKind: HarnessLaunchCommandKind;
|
|
@@ -14870,6 +15234,9 @@ declare const HostHealthMetrics: Schema.Struct<{
|
|
|
14870
15234
|
readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
|
|
14871
15235
|
readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
|
|
14872
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>>;
|
|
14873
15240
|
}>;
|
|
14874
15241
|
type HostHealthMetrics = typeof HostHealthMetrics.Type;
|
|
14875
15242
|
declare const AdmissionState: Schema.decodeTo<Schema.Literals<readonly ["open", "soft", "blocked", "unavailable"]>, Schema.String, never, never>;
|
|
@@ -15020,6 +15387,9 @@ declare const SystemHealthSnapshot: Schema.Struct<{
|
|
|
15020
15387
|
readonly committedMemoryBytes: Schema.NullOr<Schema.Number>;
|
|
15021
15388
|
readonly commitLimitBytes: Schema.NullOr<Schema.Number>;
|
|
15022
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>>;
|
|
15023
15393
|
}>;
|
|
15024
15394
|
}>;
|
|
15025
15395
|
readonly admission: Schema.Struct<{
|
|
@@ -15157,5 +15527,242 @@ type DeployStalenessSnapshot = typeof DeployStalenessSnapshot.Type;
|
|
|
15157
15527
|
*/
|
|
15158
15528
|
declare function compareIssueIds(a: string, b: string): number;
|
|
15159
15529
|
//#endregion
|
|
15160
|
-
|
|
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 };
|
|
15161
15768
|
//# sourceMappingURL=index.d.ts.map
|