@overdeck/contracts 0.68.0 → 0.70.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 +704 -68
- package/dist/index.d.ts +1946 -198
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +674 -69
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -226,7 +226,6 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
226
226
|
readonly needsAnswer: Schema.Boolean;
|
|
227
227
|
readonly model: Schema.String;
|
|
228
228
|
}>>;
|
|
229
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
230
229
|
}>;
|
|
231
230
|
type AgentSnapshot = typeof AgentSnapshot.Type;
|
|
232
231
|
/** PAN-3151: A recorded cycle in the review convergence tracking series */
|
|
@@ -461,13 +460,12 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
461
460
|
readonly needsAnswer: Schema.Boolean;
|
|
462
461
|
readonly model: Schema.String;
|
|
463
462
|
}>>;
|
|
464
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
465
463
|
}>>;
|
|
466
464
|
readonly specialists: Schema.$Array<Schema.Unknown>; /** PAN-3917 FR-6: the derived pipeline state of every known issue. */
|
|
467
465
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
468
466
|
readonly issueId: Schema.String;
|
|
469
467
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
470
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
468
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
471
469
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
472
470
|
readonly url: Schema.String;
|
|
473
471
|
readonly number: Schema.Number;
|
|
@@ -489,6 +487,11 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
489
487
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
490
488
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
491
489
|
}>>;
|
|
490
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
491
|
+
readonly prNumber: Schema.Number;
|
|
492
|
+
readonly fix: Schema.String;
|
|
493
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
494
|
+
}>>;
|
|
492
495
|
}>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
|
|
493
496
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
494
497
|
readonly id: Schema.String;
|
|
@@ -619,7 +622,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
619
622
|
readonly generatedAt: Schema.String;
|
|
620
623
|
readonly login: Schema.NullOr<Schema.String>;
|
|
621
624
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
622
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
625
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
623
626
|
readonly graphql: Schema.Struct<{
|
|
624
627
|
readonly points: Schema.Number;
|
|
625
628
|
readonly calls: Schema.Number;
|
|
@@ -642,7 +645,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
642
645
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
643
646
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
644
647
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
645
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
648
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
646
649
|
readonly since: Schema.String;
|
|
647
650
|
readonly until: Schema.String;
|
|
648
651
|
}>>;
|
|
@@ -1076,7 +1079,8 @@ type BeadsFreshnessChangedEvent = typeof BeadsFreshnessChangedEvent.Type;
|
|
|
1076
1079
|
* (PAN-3537).
|
|
1077
1080
|
*
|
|
1078
1081
|
* Emitted by the `check_suite` webhook handler for live updates, only after an
|
|
1079
|
-
* independent
|
|
1082
|
+
* independent lookup verifies the payload SHA is still the current CI head
|
|
1083
|
+
* (the newest push run of the CI workflow, PAN-4618).
|
|
1080
1084
|
* `suiteId` is the check suite id — for GitHub Actions that is one suite per
|
|
1081
1085
|
* workflow run. The webhook payload does not carry `htmlUrl`.
|
|
1082
1086
|
*
|
|
@@ -1098,16 +1102,17 @@ declare const ProjectCiSuiteObservedEvent: Schema.Struct<{
|
|
|
1098
1102
|
readonly status: Schema.String;
|
|
1099
1103
|
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
1100
1104
|
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
1101
|
-
readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the
|
|
1105
|
+
readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the current CI head. */
|
|
1102
1106
|
readonly authoritativeHead: Schema.optional<Schema.Boolean>;
|
|
1103
1107
|
}>;
|
|
1104
1108
|
}>;
|
|
1105
1109
|
type ProjectCiSuiteObservedEvent = typeof ProjectCiSuiteObservedEvent.Type;
|
|
1106
1110
|
/**
|
|
1107
|
-
* Complete GitHub Actions projection for the verified
|
|
1108
|
-
*
|
|
1109
|
-
*
|
|
1110
|
-
*
|
|
1111
|
+
* Complete GitHub Actions projection for the verified current CI head (the
|
|
1112
|
+
* newest push run of the CI workflow, PAN-4618). The REST seed/repair emits
|
|
1113
|
+
* one event after paginating every run and verifying the CI head a second
|
|
1114
|
+
* time. An empty suites record explicitly clears stale CI when the current
|
|
1115
|
+
* commit has no Actions runs.
|
|
1111
1116
|
*/
|
|
1112
1117
|
declare const ProjectCiHeadObservedEvent: Schema.Struct<{
|
|
1113
1118
|
readonly type: Schema.Literal<"project.ci_head_observed">;
|
|
@@ -1177,7 +1182,7 @@ declare const GitHubQuotaChangedEvent: Schema.Struct<{
|
|
|
1177
1182
|
readonly generatedAt: Schema.String;
|
|
1178
1183
|
readonly login: Schema.NullOr<Schema.String>;
|
|
1179
1184
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
1180
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
1185
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
1181
1186
|
readonly graphql: Schema.Struct<{
|
|
1182
1187
|
readonly points: Schema.Number;
|
|
1183
1188
|
readonly calls: Schema.Number;
|
|
@@ -1200,7 +1205,7 @@ declare const GitHubQuotaChangedEvent: Schema.Struct<{
|
|
|
1200
1205
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
1201
1206
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
1202
1207
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
1203
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
1208
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
1204
1209
|
readonly since: Schema.String;
|
|
1205
1210
|
readonly until: Schema.String;
|
|
1206
1211
|
}>>;
|
|
@@ -1311,7 +1316,6 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1311
1316
|
readonly needsAnswer: Schema.Boolean;
|
|
1312
1317
|
readonly model: Schema.String;
|
|
1313
1318
|
}>>;
|
|
1314
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1315
1319
|
}>;
|
|
1316
1320
|
}>;
|
|
1317
1321
|
}>;
|
|
@@ -1570,7 +1574,6 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1570
1574
|
readonly needsAnswer: Schema.Boolean;
|
|
1571
1575
|
readonly model: Schema.String;
|
|
1572
1576
|
}>>;
|
|
1573
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1574
1577
|
}>;
|
|
1575
1578
|
}>;
|
|
1576
1579
|
}>;
|
|
@@ -1907,7 +1910,7 @@ declare const IssueStateChangedEvent: Schema.Struct<{
|
|
|
1907
1910
|
readonly issueState: Schema.Struct<{
|
|
1908
1911
|
readonly issueId: Schema.String;
|
|
1909
1912
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
1910
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
1913
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
1911
1914
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
1912
1915
|
readonly url: Schema.String;
|
|
1913
1916
|
readonly number: Schema.Number;
|
|
@@ -1929,6 +1932,11 @@ declare const IssueStateChangedEvent: Schema.Struct<{
|
|
|
1929
1932
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
1930
1933
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
1931
1934
|
}>>;
|
|
1935
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
1936
|
+
readonly prNumber: Schema.Number;
|
|
1937
|
+
readonly fix: Schema.String;
|
|
1938
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
1939
|
+
}>>;
|
|
1932
1940
|
}>;
|
|
1933
1941
|
}>;
|
|
1934
1942
|
}>;
|
|
@@ -2971,7 +2979,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2971
2979
|
readonly status: Schema.String;
|
|
2972
2980
|
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
2973
2981
|
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
2974
|
-
readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the
|
|
2982
|
+
readonly observedAt: Schema.String; /** True only after the emitter verified headSha against the current CI head. */
|
|
2975
2983
|
readonly authoritativeHead: Schema.optional<Schema.Boolean>;
|
|
2976
2984
|
}>;
|
|
2977
2985
|
}>, Schema.Struct<{
|
|
@@ -3017,7 +3025,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3017
3025
|
readonly generatedAt: Schema.String;
|
|
3018
3026
|
readonly login: Schema.NullOr<Schema.String>;
|
|
3019
3027
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
3020
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
3028
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
3021
3029
|
readonly graphql: Schema.Struct<{
|
|
3022
3030
|
readonly points: Schema.Number;
|
|
3023
3031
|
readonly calls: Schema.Number;
|
|
@@ -3040,7 +3048,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3040
3048
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
3041
3049
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
3042
3050
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
3043
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
3051
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
3044
3052
|
readonly since: Schema.String;
|
|
3045
3053
|
readonly until: Schema.String;
|
|
3046
3054
|
}>>;
|
|
@@ -3138,7 +3146,6 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3138
3146
|
readonly needsAnswer: Schema.Boolean;
|
|
3139
3147
|
readonly model: Schema.String;
|
|
3140
3148
|
}>>;
|
|
3141
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3142
3149
|
}>;
|
|
3143
3150
|
}>;
|
|
3144
3151
|
}>, Schema.Struct<{
|
|
@@ -3254,7 +3261,6 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3254
3261
|
readonly needsAnswer: Schema.Boolean;
|
|
3255
3262
|
readonly model: Schema.String;
|
|
3256
3263
|
}>>;
|
|
3257
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3258
3264
|
}>;
|
|
3259
3265
|
}>;
|
|
3260
3266
|
}>, Schema.Struct<{
|
|
@@ -3639,7 +3645,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3639
3645
|
readonly issueState: Schema.Struct<{
|
|
3640
3646
|
readonly issueId: Schema.String;
|
|
3641
3647
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
3642
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
3648
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
3643
3649
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
3644
3650
|
readonly url: Schema.String;
|
|
3645
3651
|
readonly number: Schema.Number;
|
|
@@ -3661,6 +3667,11 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3661
3667
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
3662
3668
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
3663
3669
|
}>>;
|
|
3670
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
3671
|
+
readonly prNumber: Schema.Number;
|
|
3672
|
+
readonly fix: Schema.String;
|
|
3673
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
3674
|
+
}>>;
|
|
3664
3675
|
}>;
|
|
3665
3676
|
}>;
|
|
3666
3677
|
}>, Schema.Struct<{
|
|
@@ -4721,7 +4732,9 @@ declare const WorkLogEntry: Schema.Struct<{
|
|
|
4721
4732
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4722
4733
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4723
4734
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4724
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4735
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4736
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4737
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4725
4738
|
}>;
|
|
4726
4739
|
type WorkLogEntry = typeof WorkLogEntry.Type;
|
|
4727
4740
|
/** A human-origin message read from a subagent's own sidechain transcript (PAN-4247). */
|
|
@@ -4746,6 +4759,20 @@ declare const SubagentSummary: Schema.Struct<{
|
|
|
4746
4759
|
}>>>;
|
|
4747
4760
|
}>;
|
|
4748
4761
|
type SubagentSummary = typeof SubagentSummary.Type;
|
|
4762
|
+
/** PAN-4558: where a windowed response or page sits in the whole transcript. */
|
|
4763
|
+
declare const ConversationWindow: Schema.Struct<{
|
|
4764
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4765
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4766
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4767
|
+
}>;
|
|
4768
|
+
type ConversationWindow = typeof ConversationWindow.Type;
|
|
4769
|
+
/** PAN-4558: what a resubscribing client already holds. */
|
|
4770
|
+
declare const ConversationResume: Schema.Struct<{
|
|
4771
|
+
readonly afterSequence: Schema.Number;
|
|
4772
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
4773
|
+
readonly transcript: Schema.String;
|
|
4774
|
+
}>;
|
|
4775
|
+
type ConversationResume = typeof ConversationResume.Type;
|
|
4749
4776
|
/**
|
|
4750
4777
|
* Response shape for GET /api/agents/:id/conversation.
|
|
4751
4778
|
* Shared between the dashboard server route and the frontend TerminalPanel.
|
|
@@ -4772,7 +4799,9 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4772
4799
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4773
4800
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4774
4801
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4775
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4802
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4803
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4804
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4776
4805
|
}>>;
|
|
4777
4806
|
readonly streaming: Schema.Boolean;
|
|
4778
4807
|
readonly totalCost: Schema.Number; /** Total token throughput (input + output + cache read + cache write). */
|
|
@@ -4829,7 +4858,12 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4829
4858
|
readonly effortResolution: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
4830
4859
|
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
4831
4860
|
readonly source: Schema.String;
|
|
4832
|
-
}>>>;
|
|
4861
|
+
}>>>; /** PAN-4558: present on windowed and paged responses only. */
|
|
4862
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
4863
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4864
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4865
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4866
|
+
}>>;
|
|
4833
4867
|
}>;
|
|
4834
4868
|
type ConversationResponse = typeof ConversationResponse.Type;
|
|
4835
4869
|
declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -4855,7 +4889,9 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4855
4889
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4856
4890
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4857
4891
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4858
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4892
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4893
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4894
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4859
4895
|
}>>;
|
|
4860
4896
|
readonly streaming: Schema.Boolean;
|
|
4861
4897
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -4894,7 +4930,12 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4894
4930
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
4895
4931
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
4896
4932
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4897
|
-
}>>>;
|
|
4933
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
4934
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
4935
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4936
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4937
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4938
|
+
}>>;
|
|
4898
4939
|
}>, Schema.Struct<{
|
|
4899
4940
|
readonly kind: Schema.Literal<"discovering">;
|
|
4900
4941
|
}>, Schema.Struct<{
|
|
@@ -5003,7 +5044,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5003
5044
|
readonly generatedAt: Schema.String;
|
|
5004
5045
|
readonly login: Schema.NullOr<Schema.String>;
|
|
5005
5046
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
5006
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
5047
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
5007
5048
|
readonly graphql: Schema.Struct<{
|
|
5008
5049
|
readonly points: Schema.Number;
|
|
5009
5050
|
readonly calls: Schema.Number;
|
|
@@ -5026,7 +5067,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5026
5067
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
5027
5068
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
5028
5069
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
5029
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
5070
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
5030
5071
|
readonly since: Schema.String;
|
|
5031
5072
|
readonly until: Schema.String;
|
|
5032
5073
|
}>>;
|
|
@@ -5124,7 +5165,6 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5124
5165
|
readonly needsAnswer: Schema.Boolean;
|
|
5125
5166
|
readonly model: Schema.String;
|
|
5126
5167
|
}>>;
|
|
5127
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5128
5168
|
}>;
|
|
5129
5169
|
}>;
|
|
5130
5170
|
}>, Schema.Struct<{
|
|
@@ -5240,7 +5280,6 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5240
5280
|
readonly needsAnswer: Schema.Boolean;
|
|
5241
5281
|
readonly model: Schema.String;
|
|
5242
5282
|
}>>;
|
|
5243
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5244
5283
|
}>;
|
|
5245
5284
|
}>;
|
|
5246
5285
|
}>, Schema.Struct<{
|
|
@@ -5625,7 +5664,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5625
5664
|
readonly issueState: Schema.Struct<{
|
|
5626
5665
|
readonly issueId: Schema.String;
|
|
5627
5666
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
5628
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
5667
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
5629
5668
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
5630
5669
|
readonly url: Schema.String;
|
|
5631
5670
|
readonly number: Schema.Number;
|
|
@@ -5647,6 +5686,11 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5647
5686
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
5648
5687
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
5649
5688
|
}>>;
|
|
5689
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
5690
|
+
readonly prNumber: Schema.Number;
|
|
5691
|
+
readonly fix: Schema.String;
|
|
5692
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
5693
|
+
}>>;
|
|
5650
5694
|
}>;
|
|
5651
5695
|
}>;
|
|
5652
5696
|
}>, Schema.Struct<{
|
|
@@ -6520,7 +6564,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6520
6564
|
readonly generatedAt: Schema.String;
|
|
6521
6565
|
readonly login: Schema.NullOr<Schema.String>;
|
|
6522
6566
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
6523
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
6567
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
6524
6568
|
readonly graphql: Schema.Struct<{
|
|
6525
6569
|
readonly points: Schema.Number;
|
|
6526
6570
|
readonly calls: Schema.Number;
|
|
@@ -6543,7 +6587,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6543
6587
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
6544
6588
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
6545
6589
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
6546
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
6590
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
6547
6591
|
readonly since: Schema.String;
|
|
6548
6592
|
readonly until: Schema.String;
|
|
6549
6593
|
}>>;
|
|
@@ -6641,7 +6685,6 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6641
6685
|
readonly needsAnswer: Schema.Boolean;
|
|
6642
6686
|
readonly model: Schema.String;
|
|
6643
6687
|
}>>;
|
|
6644
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6645
6688
|
}>;
|
|
6646
6689
|
}>;
|
|
6647
6690
|
}>, Schema.Struct<{
|
|
@@ -6757,7 +6800,6 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6757
6800
|
readonly needsAnswer: Schema.Boolean;
|
|
6758
6801
|
readonly model: Schema.String;
|
|
6759
6802
|
}>>;
|
|
6760
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6761
6803
|
}>;
|
|
6762
6804
|
}>;
|
|
6763
6805
|
}>, Schema.Struct<{
|
|
@@ -7142,7 +7184,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7142
7184
|
readonly issueState: Schema.Struct<{
|
|
7143
7185
|
readonly issueId: Schema.String;
|
|
7144
7186
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
7145
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
7187
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
7146
7188
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
7147
7189
|
readonly url: Schema.String;
|
|
7148
7190
|
readonly number: Schema.Number;
|
|
@@ -7164,6 +7206,11 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7164
7206
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
7165
7207
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
7166
7208
|
}>>;
|
|
7209
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
7210
|
+
readonly prNumber: Schema.Number;
|
|
7211
|
+
readonly fix: Schema.String;
|
|
7212
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
7213
|
+
}>>;
|
|
7167
7214
|
}>;
|
|
7168
7215
|
}>;
|
|
7169
7216
|
}>, Schema.Struct<{
|
|
@@ -8042,13 +8089,12 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
8042
8089
|
readonly needsAnswer: Schema.Boolean;
|
|
8043
8090
|
readonly model: Schema.String;
|
|
8044
8091
|
}>>;
|
|
8045
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8046
8092
|
}>>;
|
|
8047
8093
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
8048
8094
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
8049
8095
|
readonly issueId: Schema.String;
|
|
8050
8096
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
8051
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
8097
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
8052
8098
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
8053
8099
|
readonly url: Schema.String;
|
|
8054
8100
|
readonly number: Schema.Number;
|
|
@@ -8070,6 +8116,11 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
8070
8116
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
8071
8117
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
8072
8118
|
}>>;
|
|
8119
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
8120
|
+
readonly prNumber: Schema.Number;
|
|
8121
|
+
readonly fix: Schema.String;
|
|
8122
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
8123
|
+
}>>;
|
|
8073
8124
|
}>>;
|
|
8074
8125
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
8075
8126
|
readonly id: Schema.String;
|
|
@@ -8115,141 +8166,1670 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
8115
8166
|
readonly uri: Schema.String;
|
|
8116
8167
|
readonly label: Schema.optional<Schema.String>;
|
|
8117
8168
|
}>>;
|
|
8118
|
-
readonly reportedAt: Schema.String;
|
|
8169
|
+
readonly reportedAt: Schema.String;
|
|
8170
|
+
}>>;
|
|
8171
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8172
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8173
|
+
readonly resolutionUpdatedAt: Schema.optional<Schema.String>;
|
|
8174
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8175
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8176
|
+
readonly updatedAtSequence: Schema.Number;
|
|
8177
|
+
}>>>;
|
|
8178
|
+
readonly channelPermissionRequests: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8179
|
+
readonly requestId: Schema.String;
|
|
8180
|
+
readonly agentId: Schema.String;
|
|
8181
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8182
|
+
readonly toolName: Schema.String;
|
|
8183
|
+
readonly description: Schema.String;
|
|
8184
|
+
readonly inputPreview: Schema.String;
|
|
8185
|
+
readonly createdAt: Schema.String;
|
|
8186
|
+
}>>>;
|
|
8187
|
+
readonly scanProgress: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8188
|
+
readonly active: Schema.Boolean;
|
|
8189
|
+
readonly mode: Schema.Literals<readonly ["targeted", "watched", "system"]>;
|
|
8190
|
+
readonly dirs: Schema.$Array<Schema.String>;
|
|
8191
|
+
readonly dirsProcessed: Schema.Number;
|
|
8192
|
+
readonly dirsTotal: Schema.Number;
|
|
8193
|
+
readonly sessionsFound: Schema.Number;
|
|
8194
|
+
readonly elapsedMs: Schema.Number;
|
|
8195
|
+
readonly inserted: Schema.Number;
|
|
8196
|
+
readonly updated: Schema.Number;
|
|
8197
|
+
readonly skipped: Schema.Number;
|
|
8198
|
+
readonly errors: Schema.Number;
|
|
8199
|
+
readonly durationMs: Schema.Number;
|
|
8200
|
+
}>>>;
|
|
8201
|
+
readonly enrichStats: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8202
|
+
readonly processed: Schema.Number;
|
|
8203
|
+
readonly totalCost: Schema.Number;
|
|
8204
|
+
readonly failures: Schema.Number;
|
|
8205
|
+
readonly durationMs: Schema.Number;
|
|
8206
|
+
}>>>;
|
|
8207
|
+
readonly enrichProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8208
|
+
readonly sessionId: Schema.Number;
|
|
8209
|
+
readonly level: Schema.Number;
|
|
8210
|
+
readonly model: Schema.String;
|
|
8211
|
+
readonly cost: Schema.Number;
|
|
8212
|
+
readonly success: Schema.Boolean;
|
|
8213
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8214
|
+
readonly timestamp: Schema.String;
|
|
8215
|
+
}>>>;
|
|
8216
|
+
readonly embedProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8217
|
+
readonly sessionId: Schema.Number;
|
|
8218
|
+
readonly model: Schema.String;
|
|
8219
|
+
readonly success: Schema.Boolean;
|
|
8220
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8221
|
+
readonly timestamp: Schema.String;
|
|
8222
|
+
}>>>;
|
|
8223
|
+
readonly ciByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8224
|
+
readonly projectKey: Schema.String;
|
|
8225
|
+
readonly repo: Schema.String;
|
|
8226
|
+
readonly branch: Schema.String;
|
|
8227
|
+
readonly headSha: Schema.String;
|
|
8228
|
+
readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8229
|
+
readonly status: Schema.String;
|
|
8230
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8231
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8232
|
+
readonly observedAt: Schema.optional<Schema.String>;
|
|
8233
|
+
}>>;
|
|
8234
|
+
readonly updatedAt: Schema.String;
|
|
8235
|
+
}>>>;
|
|
8236
|
+
readonly restartGate: Schema.optional<Schema.Struct<{
|
|
8237
|
+
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8238
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8239
|
+
readonly requesterId: Schema.String;
|
|
8240
|
+
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8241
|
+
readonly reason: Schema.String;
|
|
8242
|
+
readonly builtSha: Schema.optional<Schema.String>;
|
|
8243
|
+
readonly requestedAt: Schema.String;
|
|
8244
|
+
}>>;
|
|
8245
|
+
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8246
|
+
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8247
|
+
readonly at: Schema.String;
|
|
8248
|
+
}>>;
|
|
8249
|
+
}>>;
|
|
8250
|
+
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
8251
|
+
readonly generatedAt: Schema.String;
|
|
8252
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8253
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8254
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8255
|
+
readonly graphql: Schema.Struct<{
|
|
8256
|
+
readonly points: Schema.Number;
|
|
8257
|
+
readonly calls: Schema.Number;
|
|
8258
|
+
}>;
|
|
8259
|
+
readonly rest: Schema.Struct<{
|
|
8260
|
+
readonly points: Schema.Number;
|
|
8261
|
+
readonly calls: Schema.Number;
|
|
8262
|
+
}>;
|
|
8263
|
+
readonly estimated: Schema.Boolean;
|
|
8264
|
+
}>>;
|
|
8265
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8266
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8267
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8268
|
+
readonly ts: Schema.String;
|
|
8269
|
+
readonly remaining: Schema.Number;
|
|
8270
|
+
readonly limit: Schema.Number;
|
|
8271
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8272
|
+
}>>;
|
|
8273
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8274
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8275
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8276
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8277
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8278
|
+
readonly since: Schema.String;
|
|
8279
|
+
readonly until: Schema.String;
|
|
8280
|
+
}>>;
|
|
8281
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8282
|
+
readonly unattributed: Schema.Number;
|
|
8283
|
+
readonly refusals: Schema.Struct<{
|
|
8284
|
+
readonly primary: Schema.Number;
|
|
8285
|
+
readonly secondary: Schema.Number;
|
|
8286
|
+
}>;
|
|
8287
|
+
}>>;
|
|
8288
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8289
|
+
readonly projectKey: Schema.String;
|
|
8290
|
+
readonly trigger: Schema.String;
|
|
8291
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8292
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
8293
|
+
readonly startedAt: Schema.String;
|
|
8294
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8295
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
8296
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8297
|
+
}>>>;
|
|
8298
|
+
readonly timestamp: Schema.String;
|
|
8299
|
+
}>, typeof PanRpcError, never, never>;
|
|
8300
|
+
/**
|
|
8301
|
+
* PAN-4559: the server answers this instead of events when the gap after
|
|
8302
|
+
* fromSequence exceeds its replay cap; the client re-bootstraps via getSnapshot.
|
|
8303
|
+
*/
|
|
8304
|
+
declare const ReplayTooFarBehind: Schema.Struct<{
|
|
8305
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
8306
|
+
}>;
|
|
8307
|
+
type ReplayTooFarBehind = typeof ReplayTooFarBehind.Type;
|
|
8308
|
+
/** Replay result: the missed events (unchanged array shape), or ReplayTooFarBehind. */
|
|
8309
|
+
declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
8310
|
+
readonly type: Schema.Literal<"system.heartbeat">;
|
|
8311
|
+
readonly timestamp: Schema.String;
|
|
8312
|
+
readonly payload: Schema.Struct<{
|
|
8313
|
+
readonly ts: Schema.Number;
|
|
8314
|
+
}>;
|
|
8315
|
+
}>, Schema.Struct<{
|
|
8316
|
+
readonly type: Schema.Literal<"beads.freshness_changed">;
|
|
8317
|
+
readonly sequence: Schema.Number;
|
|
8318
|
+
readonly timestamp: Schema.String;
|
|
8319
|
+
readonly payload: Schema.Struct<{
|
|
8320
|
+
readonly projectKey: Schema.String;
|
|
8321
|
+
readonly localHead: Schema.String;
|
|
8322
|
+
readonly lastSyncedAt: Schema.String;
|
|
8323
|
+
}>;
|
|
8324
|
+
}>, Schema.Struct<{
|
|
8325
|
+
readonly type: Schema.Literal<"project.ci_suite_observed">;
|
|
8326
|
+
readonly sequence: Schema.Number;
|
|
8327
|
+
readonly timestamp: Schema.String;
|
|
8328
|
+
readonly payload: Schema.Struct<{
|
|
8329
|
+
readonly projectKey: Schema.String;
|
|
8330
|
+
readonly repo: Schema.String;
|
|
8331
|
+
readonly branch: Schema.String;
|
|
8332
|
+
readonly headSha: Schema.String;
|
|
8333
|
+
readonly suiteId: Schema.String;
|
|
8334
|
+
readonly status: Schema.String;
|
|
8335
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8336
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8337
|
+
readonly observedAt: Schema.String;
|
|
8338
|
+
readonly authoritativeHead: Schema.optional<Schema.Boolean>;
|
|
8339
|
+
}>;
|
|
8340
|
+
}>, Schema.Struct<{
|
|
8341
|
+
readonly type: Schema.Literal<"project.ci_head_observed">;
|
|
8342
|
+
readonly sequence: Schema.Number;
|
|
8343
|
+
readonly timestamp: Schema.String;
|
|
8344
|
+
readonly payload: Schema.Struct<{
|
|
8345
|
+
readonly projectKey: Schema.String;
|
|
8346
|
+
readonly repo: Schema.String;
|
|
8347
|
+
readonly branch: Schema.String;
|
|
8348
|
+
readonly headSha: Schema.String;
|
|
8349
|
+
readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8350
|
+
readonly status: Schema.String;
|
|
8351
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8352
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8353
|
+
readonly observedAt: Schema.optional<Schema.String>;
|
|
8354
|
+
}>>;
|
|
8355
|
+
readonly observedAt: Schema.String;
|
|
8356
|
+
}>;
|
|
8357
|
+
}>, Schema.Struct<{
|
|
8358
|
+
readonly type: Schema.Literal<"restart_gate.changed">;
|
|
8359
|
+
readonly sequence: Schema.Number;
|
|
8360
|
+
readonly timestamp: Schema.String;
|
|
8361
|
+
readonly payload: Schema.Struct<{
|
|
8362
|
+
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8363
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8364
|
+
readonly requesterId: Schema.String;
|
|
8365
|
+
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8366
|
+
readonly reason: Schema.String;
|
|
8367
|
+
readonly builtSha: Schema.optional<Schema.String>;
|
|
8368
|
+
readonly requestedAt: Schema.String;
|
|
8369
|
+
}>>;
|
|
8370
|
+
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8371
|
+
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8372
|
+
readonly at: Schema.String;
|
|
8373
|
+
}>>;
|
|
8374
|
+
}>;
|
|
8375
|
+
}>, Schema.Struct<{
|
|
8376
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
8377
|
+
readonly sequence: Schema.Number;
|
|
8378
|
+
readonly timestamp: Schema.String;
|
|
8379
|
+
readonly payload: Schema.Struct<{
|
|
8380
|
+
readonly generatedAt: Schema.String;
|
|
8381
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8382
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8383
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8384
|
+
readonly graphql: Schema.Struct<{
|
|
8385
|
+
readonly points: Schema.Number;
|
|
8386
|
+
readonly calls: Schema.Number;
|
|
8387
|
+
}>;
|
|
8388
|
+
readonly rest: Schema.Struct<{
|
|
8389
|
+
readonly points: Schema.Number;
|
|
8390
|
+
readonly calls: Schema.Number;
|
|
8391
|
+
}>;
|
|
8392
|
+
readonly estimated: Schema.Boolean;
|
|
8393
|
+
}>>;
|
|
8394
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8395
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8396
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8397
|
+
readonly ts: Schema.String;
|
|
8398
|
+
readonly remaining: Schema.Number;
|
|
8399
|
+
readonly limit: Schema.Number;
|
|
8400
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8401
|
+
}>>;
|
|
8402
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8403
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8404
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8405
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8406
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8407
|
+
readonly since: Schema.String;
|
|
8408
|
+
readonly until: Schema.String;
|
|
8409
|
+
}>>;
|
|
8410
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8411
|
+
readonly unattributed: Schema.Number;
|
|
8412
|
+
readonly refusals: Schema.Struct<{
|
|
8413
|
+
readonly primary: Schema.Number;
|
|
8414
|
+
readonly secondary: Schema.Number;
|
|
8415
|
+
}>;
|
|
8416
|
+
}>;
|
|
8417
|
+
}>, Schema.Struct<{
|
|
8418
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
8419
|
+
readonly sequence: Schema.Number;
|
|
8420
|
+
readonly timestamp: Schema.String;
|
|
8421
|
+
readonly payload: Schema.Struct<{
|
|
8422
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8423
|
+
readonly projectKey: Schema.String;
|
|
8424
|
+
readonly trigger: Schema.String;
|
|
8425
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8426
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
8427
|
+
readonly startedAt: Schema.String;
|
|
8428
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8429
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
8430
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8431
|
+
}>>;
|
|
8432
|
+
}>;
|
|
8433
|
+
}>, Schema.Struct<{
|
|
8434
|
+
readonly type: Schema.Literal<"agent.created">;
|
|
8435
|
+
readonly sequence: Schema.Number;
|
|
8436
|
+
readonly timestamp: Schema.String;
|
|
8437
|
+
readonly payload: Schema.Struct<{
|
|
8438
|
+
readonly agentId: Schema.String;
|
|
8439
|
+
readonly issueId: Schema.String;
|
|
8440
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8441
|
+
readonly agent: Schema.Struct<{
|
|
8442
|
+
readonly id: Schema.String;
|
|
8443
|
+
readonly issueId: Schema.String;
|
|
8444
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8445
|
+
readonly runtime: Schema.optional<Schema.String>;
|
|
8446
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8447
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8448
|
+
readonly startedAt: Schema.optional<Schema.String>;
|
|
8449
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8450
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8451
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8452
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8453
|
+
readonly startedBy: Schema.optional<Schema.String>;
|
|
8454
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8455
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8456
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8457
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8458
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8459
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8460
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8461
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8462
|
+
readonly pausedReason: Schema.optional<Schema.String>;
|
|
8463
|
+
readonly pausedAt: Schema.optional<Schema.String>;
|
|
8464
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8465
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
8466
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8467
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.String>;
|
|
8468
|
+
readonly lastFailureAt: Schema.optional<Schema.String>;
|
|
8469
|
+
readonly lastFailureReason: Schema.optional<Schema.String>;
|
|
8470
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.String>;
|
|
8471
|
+
readonly runtimeState: Schema.optional<Schema.String>;
|
|
8472
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8473
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8474
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8475
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8476
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8477
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8478
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8479
|
+
readonly toolUseId: Schema.String;
|
|
8480
|
+
readonly askedAt: Schema.String;
|
|
8481
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8482
|
+
readonly question: Schema.String;
|
|
8483
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8484
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8485
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8486
|
+
readonly label: Schema.String;
|
|
8487
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8488
|
+
}>>;
|
|
8489
|
+
}>>;
|
|
8490
|
+
}>>;
|
|
8491
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8492
|
+
readonly toolUseId: Schema.String;
|
|
8493
|
+
readonly askedAt: Schema.String;
|
|
8494
|
+
readonly plan: Schema.String;
|
|
8495
|
+
}>>;
|
|
8496
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8497
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8498
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8499
|
+
readonly kind: Schema.String;
|
|
8500
|
+
readonly confidence: Schema.Number;
|
|
8501
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8502
|
+
readonly model: Schema.String;
|
|
8503
|
+
}>>;
|
|
8504
|
+
}>;
|
|
8505
|
+
}>;
|
|
8506
|
+
}>, Schema.Struct<{
|
|
8507
|
+
readonly type: Schema.Literal<"agent.enrichment_changed">;
|
|
8508
|
+
readonly sequence: Schema.Number;
|
|
8509
|
+
readonly timestamp: Schema.String;
|
|
8510
|
+
readonly payload: Schema.Struct<{
|
|
8511
|
+
readonly agentId: Schema.String;
|
|
8512
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8513
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8514
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8515
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8516
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8517
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8518
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8519
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8520
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8521
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8522
|
+
readonly toolUseId: Schema.String;
|
|
8523
|
+
readonly askedAt: Schema.String;
|
|
8524
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8525
|
+
readonly question: Schema.String;
|
|
8526
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8527
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8528
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8529
|
+
readonly label: Schema.String;
|
|
8530
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8531
|
+
}>>;
|
|
8532
|
+
}>>;
|
|
8533
|
+
}>>;
|
|
8534
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8535
|
+
readonly toolUseId: Schema.String;
|
|
8536
|
+
readonly askedAt: Schema.String;
|
|
8537
|
+
readonly plan: Schema.String;
|
|
8538
|
+
}>>;
|
|
8539
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8540
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8541
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8542
|
+
readonly kind: Schema.String;
|
|
8543
|
+
readonly confidence: Schema.Number;
|
|
8544
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8545
|
+
readonly model: Schema.String;
|
|
8546
|
+
}>>;
|
|
8547
|
+
}>;
|
|
8548
|
+
}>, Schema.Struct<{
|
|
8549
|
+
readonly type: Schema.Literal<"agent.started">;
|
|
8550
|
+
readonly sequence: Schema.Number;
|
|
8551
|
+
readonly timestamp: Schema.String;
|
|
8552
|
+
readonly payload: Schema.Struct<{
|
|
8553
|
+
readonly agentId: Schema.String;
|
|
8554
|
+
readonly issueId: Schema.String;
|
|
8555
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8556
|
+
readonly agent: Schema.Struct<{
|
|
8557
|
+
readonly id: Schema.String;
|
|
8558
|
+
readonly issueId: Schema.String;
|
|
8559
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8560
|
+
readonly runtime: Schema.optional<Schema.String>;
|
|
8561
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8562
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8563
|
+
readonly startedAt: Schema.optional<Schema.String>;
|
|
8564
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8565
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8566
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8567
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8568
|
+
readonly startedBy: Schema.optional<Schema.String>;
|
|
8569
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8570
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8571
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8572
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8573
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8574
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8575
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8576
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8577
|
+
readonly pausedReason: Schema.optional<Schema.String>;
|
|
8578
|
+
readonly pausedAt: Schema.optional<Schema.String>;
|
|
8579
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8580
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
8581
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8582
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.String>;
|
|
8583
|
+
readonly lastFailureAt: Schema.optional<Schema.String>;
|
|
8584
|
+
readonly lastFailureReason: Schema.optional<Schema.String>;
|
|
8585
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.String>;
|
|
8586
|
+
readonly runtimeState: Schema.optional<Schema.String>;
|
|
8587
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8588
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8589
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8590
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8591
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8592
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8593
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8594
|
+
readonly toolUseId: Schema.String;
|
|
8595
|
+
readonly askedAt: Schema.String;
|
|
8596
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8597
|
+
readonly question: Schema.String;
|
|
8598
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8599
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8600
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8601
|
+
readonly label: Schema.String;
|
|
8602
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8603
|
+
}>>;
|
|
8604
|
+
}>>;
|
|
8605
|
+
}>>;
|
|
8606
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8607
|
+
readonly toolUseId: Schema.String;
|
|
8608
|
+
readonly askedAt: Schema.String;
|
|
8609
|
+
readonly plan: Schema.String;
|
|
8610
|
+
}>>;
|
|
8611
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8612
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8613
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8614
|
+
readonly kind: Schema.String;
|
|
8615
|
+
readonly confidence: Schema.Number;
|
|
8616
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8617
|
+
readonly model: Schema.String;
|
|
8618
|
+
}>>;
|
|
8619
|
+
}>;
|
|
8620
|
+
}>;
|
|
8621
|
+
}>, Schema.Struct<{
|
|
8622
|
+
readonly type: Schema.Literal<"agent.stopped">;
|
|
8623
|
+
readonly sequence: Schema.Number;
|
|
8624
|
+
readonly timestamp: Schema.String;
|
|
8625
|
+
readonly payload: Schema.Struct<{
|
|
8626
|
+
readonly agentId: Schema.String;
|
|
8627
|
+
readonly issueId: Schema.String;
|
|
8628
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8629
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8630
|
+
}>;
|
|
8631
|
+
}>, Schema.Struct<{
|
|
8632
|
+
readonly type: Schema.Literal<"agent.heartbeat_dead">;
|
|
8633
|
+
readonly sequence: Schema.Number;
|
|
8634
|
+
readonly timestamp: Schema.String;
|
|
8635
|
+
readonly payload: Schema.Struct<{
|
|
8636
|
+
readonly agentId: Schema.String;
|
|
8637
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8638
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8639
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8640
|
+
}>;
|
|
8641
|
+
}>, Schema.Struct<{
|
|
8642
|
+
readonly type: Schema.Literal<"work.completed">;
|
|
8643
|
+
readonly sequence: Schema.Number;
|
|
8644
|
+
readonly timestamp: Schema.String;
|
|
8645
|
+
readonly payload: Schema.Struct<{
|
|
8646
|
+
readonly issueId: Schema.String;
|
|
8647
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8648
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8649
|
+
}>;
|
|
8650
|
+
}>, Schema.Struct<{
|
|
8651
|
+
readonly type: Schema.Literal<"agent.completed">;
|
|
8652
|
+
readonly sequence: Schema.Number;
|
|
8653
|
+
readonly timestamp: Schema.String;
|
|
8654
|
+
readonly payload: Schema.Struct<{
|
|
8655
|
+
readonly issueId: Schema.String;
|
|
8656
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8657
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8658
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8659
|
+
}>;
|
|
8660
|
+
}>, Schema.Struct<{
|
|
8661
|
+
readonly type: Schema.Literal<"review.approved">;
|
|
8662
|
+
readonly sequence: Schema.Number;
|
|
8663
|
+
readonly timestamp: Schema.String;
|
|
8664
|
+
readonly payload: Schema.Struct<{
|
|
8665
|
+
readonly issueId: Schema.String;
|
|
8666
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8667
|
+
}>;
|
|
8668
|
+
}>, Schema.Struct<{
|
|
8669
|
+
readonly type: Schema.Literal<"test.passed">;
|
|
8670
|
+
readonly sequence: Schema.Number;
|
|
8671
|
+
readonly timestamp: Schema.String;
|
|
8672
|
+
readonly payload: Schema.Struct<{
|
|
8673
|
+
readonly issueId: Schema.String;
|
|
8674
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8675
|
+
}>;
|
|
8676
|
+
}>, Schema.Struct<{
|
|
8677
|
+
readonly type: Schema.Literal<"agent.status_changed">;
|
|
8678
|
+
readonly sequence: Schema.Number;
|
|
8679
|
+
readonly timestamp: Schema.String;
|
|
8680
|
+
readonly payload: Schema.Struct<{
|
|
8681
|
+
readonly agentId: Schema.String;
|
|
8682
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8683
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8684
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8685
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
8686
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8687
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8688
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8689
|
+
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
8690
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8691
|
+
readonly pausedReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8692
|
+
readonly pausedAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8693
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8694
|
+
readonly troubledAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8695
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8696
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8697
|
+
readonly lastFailureAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8698
|
+
readonly lastFailureReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8699
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8700
|
+
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
8701
|
+
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
8702
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8703
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8704
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8705
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8706
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8707
|
+
readonly lastResumeAt: Schema.optional<Schema.String>;
|
|
8708
|
+
readonly stoppedAt: Schema.optional<Schema.String>;
|
|
8709
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8710
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8711
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8712
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8713
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8714
|
+
readonly flywheelRunId: Schema.optional<Schema.String>;
|
|
8715
|
+
readonly reviewSubRole: Schema.optional<Schema.String>;
|
|
8716
|
+
readonly reviewRunId: Schema.optional<Schema.String>;
|
|
8717
|
+
readonly reviewOutputPath: Schema.optional<Schema.String>;
|
|
8718
|
+
readonly reviewSynthesisAgentId: Schema.optional<Schema.String>;
|
|
8719
|
+
readonly reviewDeadlineAt: Schema.optional<Schema.String>;
|
|
8720
|
+
readonly reviewMonitorSignaled: Schema.optional<Schema.String>;
|
|
8721
|
+
readonly reviewRetryAttempt: Schema.optional<Schema.Number>;
|
|
8722
|
+
readonly inspectSubRole: Schema.optional<Schema.String>;
|
|
8723
|
+
readonly deliveryMethod: Schema.optional<Schema.String>;
|
|
8724
|
+
readonly supervisorEnabled: Schema.optional<Schema.Boolean>;
|
|
8725
|
+
readonly channelsEnabled: Schema.optional<Schema.Boolean>;
|
|
8726
|
+
}>;
|
|
8727
|
+
}>, Schema.Struct<{
|
|
8728
|
+
readonly type: Schema.Literal<"agent.output_received">;
|
|
8729
|
+
readonly sequence: Schema.Number;
|
|
8730
|
+
readonly timestamp: Schema.String;
|
|
8731
|
+
readonly payload: Schema.Struct<{
|
|
8732
|
+
readonly agentId: Schema.String;
|
|
8733
|
+
readonly lines: Schema.$Array<Schema.String>;
|
|
8734
|
+
}>;
|
|
8735
|
+
}>, Schema.Struct<{
|
|
8736
|
+
readonly type: Schema.Literal<"agent.activity_changed">;
|
|
8737
|
+
readonly sequence: Schema.Number;
|
|
8738
|
+
readonly timestamp: Schema.String;
|
|
8739
|
+
readonly payload: Schema.Struct<{
|
|
8740
|
+
readonly agentId: Schema.String;
|
|
8741
|
+
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8742
|
+
readonly currentTool: Schema.optional<Schema.String>;
|
|
8743
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
8744
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
8745
|
+
}>;
|
|
8746
|
+
}>, Schema.Struct<{
|
|
8747
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
8748
|
+
readonly sequence: Schema.Number;
|
|
8749
|
+
readonly timestamp: Schema.String;
|
|
8750
|
+
readonly payload: Schema.Struct<{
|
|
8751
|
+
readonly agentId: Schema.String;
|
|
8752
|
+
readonly hookName: Schema.String;
|
|
8753
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
8754
|
+
}>;
|
|
8755
|
+
}>, Schema.Struct<{
|
|
8756
|
+
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
8757
|
+
readonly sequence: Schema.Number;
|
|
8758
|
+
readonly timestamp: Schema.String;
|
|
8759
|
+
readonly payload: Schema.Struct<{
|
|
8760
|
+
readonly agentId: Schema.String;
|
|
8761
|
+
readonly lastToolAt: Schema.String;
|
|
8762
|
+
}>;
|
|
8763
|
+
}>, Schema.Struct<{
|
|
8764
|
+
readonly type: Schema.Literal<"agent.thinking_stopped">;
|
|
8765
|
+
readonly sequence: Schema.Number;
|
|
8766
|
+
readonly timestamp: Schema.String;
|
|
8767
|
+
readonly payload: Schema.Struct<{
|
|
8768
|
+
readonly agentId: Schema.String;
|
|
8769
|
+
readonly resolvedBy: Schema.Literals<readonly ["tool", "waiting", "idle", "stopped"]>;
|
|
8770
|
+
}>;
|
|
8771
|
+
}>, Schema.Struct<{
|
|
8772
|
+
readonly type: Schema.Literal<"agent.waiting_started">;
|
|
8773
|
+
readonly sequence: Schema.Number;
|
|
8774
|
+
readonly timestamp: Schema.String;
|
|
8775
|
+
readonly payload: Schema.Struct<{
|
|
8776
|
+
readonly agentId: Schema.String;
|
|
8777
|
+
readonly reason: Schema.Literals<readonly ["tool_permission", "user_question", "disambiguation", "other"]>;
|
|
8778
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8779
|
+
}>;
|
|
8780
|
+
}>, Schema.Struct<{
|
|
8781
|
+
readonly type: Schema.Literal<"agent.waiting_cleared">;
|
|
8782
|
+
readonly sequence: Schema.Number;
|
|
8783
|
+
readonly timestamp: Schema.String;
|
|
8784
|
+
readonly payload: Schema.Struct<{
|
|
8785
|
+
readonly agentId: Schema.String;
|
|
8786
|
+
readonly clearedBy: Schema.Literals<readonly ["user_response", "timeout", "stopped", "tool_resumed"]>;
|
|
8787
|
+
}>;
|
|
8788
|
+
}>, Schema.Struct<{
|
|
8789
|
+
readonly type: Schema.Literal<"agent.permission_requested">;
|
|
8790
|
+
readonly sequence: Schema.Number;
|
|
8791
|
+
readonly timestamp: Schema.String;
|
|
8792
|
+
readonly payload: Schema.Struct<{
|
|
8793
|
+
readonly requestId: Schema.String;
|
|
8794
|
+
readonly agentId: Schema.String;
|
|
8795
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8796
|
+
readonly toolName: Schema.String;
|
|
8797
|
+
readonly description: Schema.String;
|
|
8798
|
+
readonly inputPreview: Schema.String;
|
|
8799
|
+
readonly createdAt: Schema.String;
|
|
8800
|
+
}>;
|
|
8801
|
+
}>, Schema.Struct<{
|
|
8802
|
+
readonly type: Schema.Literal<"agent.permission_resolved">;
|
|
8803
|
+
readonly sequence: Schema.Number;
|
|
8804
|
+
readonly timestamp: Schema.String;
|
|
8805
|
+
readonly payload: Schema.Struct<{
|
|
8806
|
+
readonly requestId: Schema.String;
|
|
8807
|
+
readonly agentId: Schema.String;
|
|
8808
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8809
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8810
|
+
readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
|
|
8811
|
+
}>;
|
|
8812
|
+
}>, Schema.Struct<{
|
|
8813
|
+
readonly type: Schema.Literal<"agent.message_received">;
|
|
8814
|
+
readonly sequence: Schema.Number;
|
|
8815
|
+
readonly timestamp: Schema.String;
|
|
8816
|
+
readonly payload: Schema.Struct<{
|
|
8817
|
+
readonly agentId: Schema.String;
|
|
8818
|
+
readonly direction: Schema.Literals<readonly ["to_agent", "from_agent"]>;
|
|
8819
|
+
readonly source: Schema.Literals<readonly ["user", "cloister", "specialist", "automated"]>;
|
|
8820
|
+
}>;
|
|
8821
|
+
}>, Schema.Struct<{
|
|
8822
|
+
readonly type: Schema.Literal<"agent.channel_reply">;
|
|
8823
|
+
readonly sequence: Schema.Number;
|
|
8824
|
+
readonly timestamp: Schema.String;
|
|
8825
|
+
readonly payload: Schema.Struct<{
|
|
8826
|
+
readonly agentId: Schema.String;
|
|
8827
|
+
readonly reply: Schema.Struct<{
|
|
8828
|
+
readonly kind: Schema.Literals<readonly ["status", "done", "needs_input"]>;
|
|
8829
|
+
readonly summary: Schema.String;
|
|
8830
|
+
readonly artifactRefs: Schema.$Array<Schema.Struct<{
|
|
8831
|
+
readonly uri: Schema.String;
|
|
8832
|
+
readonly label: Schema.optional<Schema.String>;
|
|
8833
|
+
}>>;
|
|
8834
|
+
readonly reportedAt: Schema.String;
|
|
8835
|
+
}>;
|
|
8836
|
+
}>;
|
|
8837
|
+
}>, Schema.Struct<{
|
|
8838
|
+
readonly type: Schema.Literal<"agent.model_set">;
|
|
8839
|
+
readonly sequence: Schema.Number;
|
|
8840
|
+
readonly timestamp: Schema.String;
|
|
8841
|
+
readonly payload: Schema.Struct<{
|
|
8842
|
+
readonly agentId: Schema.String;
|
|
8843
|
+
readonly model: Schema.String;
|
|
8844
|
+
readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8845
|
+
readonly sessionModel: Schema.optional<Schema.String>;
|
|
8846
|
+
readonly sessionHarness: Schema.optional<Schema.String>;
|
|
8847
|
+
}>;
|
|
8848
|
+
}>, Schema.Struct<{
|
|
8849
|
+
readonly type: Schema.Literal<"agent.current_issue_set">;
|
|
8850
|
+
readonly sequence: Schema.Number;
|
|
8851
|
+
readonly timestamp: Schema.String;
|
|
8852
|
+
readonly payload: Schema.Struct<{
|
|
8853
|
+
readonly agentId: Schema.String;
|
|
8854
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8855
|
+
}>;
|
|
8856
|
+
}>, Schema.Struct<{
|
|
8857
|
+
readonly type: Schema.Literal<"agent.context_saturation_changed">;
|
|
8858
|
+
readonly sequence: Schema.Number;
|
|
8859
|
+
readonly timestamp: Schema.String;
|
|
8860
|
+
readonly payload: Schema.Struct<{
|
|
8861
|
+
readonly agentId: Schema.String;
|
|
8862
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8863
|
+
}>;
|
|
8864
|
+
}>, Schema.Struct<{
|
|
8865
|
+
readonly type: Schema.Literal<"agent.resolution_changed">;
|
|
8866
|
+
readonly sequence: Schema.Number;
|
|
8867
|
+
readonly timestamp: Schema.String;
|
|
8868
|
+
readonly payload: Schema.Struct<{
|
|
8869
|
+
readonly agentId: Schema.String;
|
|
8870
|
+
readonly resolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
|
|
8871
|
+
readonly resolutionCount: Schema.Number;
|
|
8872
|
+
}>;
|
|
8873
|
+
}>, Schema.Struct<{
|
|
8874
|
+
readonly type: Schema.Literal<"agent.state_restored">;
|
|
8875
|
+
readonly sequence: Schema.Number;
|
|
8876
|
+
readonly timestamp: Schema.String;
|
|
8877
|
+
readonly payload: Schema.Struct<{
|
|
8878
|
+
readonly agentId: Schema.String;
|
|
8879
|
+
readonly snapshot: Schema.Struct<{
|
|
8880
|
+
readonly id: Schema.String;
|
|
8881
|
+
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8882
|
+
readonly lastActivity: Schema.String;
|
|
8883
|
+
readonly currentTool: Schema.optional<Schema.String>;
|
|
8884
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
8885
|
+
readonly thinking: Schema.optional<Schema.Struct<{
|
|
8886
|
+
readonly since: Schema.String;
|
|
8887
|
+
readonly lastToolAt: Schema.String;
|
|
8888
|
+
}>>;
|
|
8889
|
+
readonly waiting: Schema.optional<Schema.Struct<{
|
|
8890
|
+
readonly reason: Schema.Literals<readonly ["tool_permission", "user_question", "disambiguation", "other"]>;
|
|
8891
|
+
readonly startedAt: Schema.String;
|
|
8892
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8893
|
+
readonly notificationSent: Schema.optional<Schema.Boolean>;
|
|
8894
|
+
}>>;
|
|
8895
|
+
readonly claudeSessionId: Schema.optional<Schema.String>;
|
|
8896
|
+
readonly sessionModel: Schema.optional<Schema.String>;
|
|
8897
|
+
readonly sessionHarness: Schema.optional<Schema.String>;
|
|
8898
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8899
|
+
readonly lastMessageAt: Schema.optional<Schema.String>;
|
|
8900
|
+
readonly channelReply: Schema.optional<Schema.Struct<{
|
|
8901
|
+
readonly kind: Schema.Literals<readonly ["status", "done", "needs_input"]>;
|
|
8902
|
+
readonly summary: Schema.String;
|
|
8903
|
+
readonly artifactRefs: Schema.$Array<Schema.Struct<{
|
|
8904
|
+
readonly uri: Schema.String;
|
|
8905
|
+
readonly label: Schema.optional<Schema.String>;
|
|
8906
|
+
}>>;
|
|
8907
|
+
readonly reportedAt: Schema.String;
|
|
8908
|
+
}>>;
|
|
8909
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8910
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8911
|
+
readonly resolutionUpdatedAt: Schema.optional<Schema.String>;
|
|
8912
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8913
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8914
|
+
readonly updatedAtSequence: Schema.Number;
|
|
8915
|
+
}>;
|
|
8916
|
+
}>;
|
|
8917
|
+
}>, Schema.Struct<{
|
|
8918
|
+
readonly type: Schema.Literal<"agent.turn_diff_completed">;
|
|
8919
|
+
readonly sequence: Schema.Number;
|
|
8920
|
+
readonly timestamp: Schema.String;
|
|
8921
|
+
readonly payload: Schema.Struct<{
|
|
8922
|
+
readonly agentId: Schema.String;
|
|
8923
|
+
readonly turnId: Schema.String;
|
|
8924
|
+
readonly completedAt: Schema.String;
|
|
8925
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
8926
|
+
readonly path: Schema.String;
|
|
8927
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
8928
|
+
readonly additions: Schema.optional<Schema.Number>;
|
|
8929
|
+
readonly deletions: Schema.optional<Schema.Number>;
|
|
8930
|
+
}>>;
|
|
8931
|
+
readonly checkpointRef: Schema.optional<Schema.String>;
|
|
8932
|
+
readonly assistantMessageId: Schema.optional<Schema.String>;
|
|
8933
|
+
readonly checkpointTurnCount: Schema.optional<Schema.Number>;
|
|
8934
|
+
}>;
|
|
8935
|
+
}>, Schema.Struct<{
|
|
8936
|
+
readonly type: Schema.Literal<"planning.started">;
|
|
8937
|
+
readonly sequence: Schema.Number;
|
|
8938
|
+
readonly timestamp: Schema.String;
|
|
8939
|
+
readonly payload: Schema.Struct<{
|
|
8940
|
+
readonly issueId: Schema.String;
|
|
8941
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8942
|
+
readonly sessionName: Schema.String;
|
|
8943
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
8944
|
+
}>;
|
|
8945
|
+
}>, Schema.Struct<{
|
|
8946
|
+
readonly type: Schema.Literal<"planning.failed">;
|
|
8947
|
+
readonly sequence: Schema.Number;
|
|
8948
|
+
readonly timestamp: Schema.String;
|
|
8949
|
+
readonly payload: Schema.Struct<{
|
|
8950
|
+
readonly issueId: Schema.String;
|
|
8951
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8952
|
+
readonly error: Schema.String;
|
|
8953
|
+
}>;
|
|
8954
|
+
}>, Schema.Struct<{
|
|
8955
|
+
readonly type: Schema.Literal<"planning.sync">;
|
|
8956
|
+
readonly sequence: Schema.Number;
|
|
8957
|
+
readonly timestamp: Schema.String;
|
|
8958
|
+
readonly payload: Schema.Struct<{
|
|
8959
|
+
readonly issueId: Schema.String;
|
|
8960
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8961
|
+
readonly status: Schema.String;
|
|
8962
|
+
readonly progress: Schema.optional<Schema.Number>;
|
|
8963
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8964
|
+
}>;
|
|
8965
|
+
}>, Schema.Struct<{
|
|
8966
|
+
readonly type: Schema.Literal<"plan.item_status_changed">;
|
|
8967
|
+
readonly sequence: Schema.Number;
|
|
8968
|
+
readonly timestamp: Schema.String;
|
|
8969
|
+
readonly payload: Schema.Struct<{
|
|
8970
|
+
readonly issueId: Schema.String;
|
|
8971
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8972
|
+
readonly itemId: Schema.String;
|
|
8973
|
+
readonly status: Schema.String;
|
|
8974
|
+
}>;
|
|
8975
|
+
}>, Schema.Struct<{
|
|
8976
|
+
readonly type: Schema.Literal<"plan.subitem_status_changed">;
|
|
8977
|
+
readonly sequence: Schema.Number;
|
|
8978
|
+
readonly timestamp: Schema.String;
|
|
8979
|
+
readonly payload: Schema.Struct<{
|
|
8980
|
+
readonly issueId: Schema.String;
|
|
8981
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8982
|
+
readonly itemId: Schema.String;
|
|
8983
|
+
readonly subItemId: Schema.String;
|
|
8984
|
+
readonly status: Schema.String;
|
|
8985
|
+
}>;
|
|
8986
|
+
}>, Schema.Struct<{
|
|
8987
|
+
readonly type: Schema.Literal<"plan.items_unblocked">;
|
|
8988
|
+
readonly sequence: Schema.Number;
|
|
8989
|
+
readonly timestamp: Schema.String;
|
|
8990
|
+
readonly payload: Schema.Struct<{
|
|
8991
|
+
readonly issueId: Schema.String;
|
|
8992
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8993
|
+
readonly items: Schema.$Array<Schema.String>;
|
|
8994
|
+
}>;
|
|
8995
|
+
}>, Schema.Struct<{
|
|
8996
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
8997
|
+
readonly sequence: Schema.Number;
|
|
8998
|
+
readonly timestamp: Schema.String;
|
|
8999
|
+
readonly payload: Schema.Struct<{
|
|
9000
|
+
readonly issueState: Schema.Struct<{
|
|
9001
|
+
readonly issueId: Schema.String;
|
|
9002
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
9003
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
9004
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
9005
|
+
readonly url: Schema.String;
|
|
9006
|
+
readonly number: Schema.Number;
|
|
9007
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
9008
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
9009
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
9010
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
9011
|
+
}>>;
|
|
9012
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
9013
|
+
readonly name: Schema.String;
|
|
9014
|
+
readonly aheadOfMain: Schema.Number;
|
|
9015
|
+
readonly pushed: Schema.Boolean;
|
|
9016
|
+
}>>;
|
|
9017
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
9018
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
9019
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
9020
|
+
readonly at: Schema.String;
|
|
9021
|
+
readonly error: Schema.optional<Schema.String>;
|
|
9022
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
9023
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
9024
|
+
}>>;
|
|
9025
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
9026
|
+
readonly prNumber: Schema.Number;
|
|
9027
|
+
readonly fix: Schema.String;
|
|
9028
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
9029
|
+
}>>;
|
|
9030
|
+
}>;
|
|
9031
|
+
}>;
|
|
9032
|
+
}>, Schema.Struct<{
|
|
9033
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
9034
|
+
readonly sequence: Schema.Number;
|
|
9035
|
+
readonly timestamp: Schema.String;
|
|
9036
|
+
readonly payload: Schema.Struct<{
|
|
9037
|
+
readonly pane: Schema.Struct<{
|
|
9038
|
+
readonly id: Schema.String;
|
|
9039
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
9040
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
9041
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
9042
|
+
readonly harness: Schema.String;
|
|
9043
|
+
readonly model: Schema.String;
|
|
9044
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
9045
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
9046
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
9047
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
9048
|
+
}>;
|
|
9049
|
+
}>;
|
|
9050
|
+
}>, Schema.Struct<{
|
|
9051
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
9052
|
+
readonly sequence: Schema.Number;
|
|
9053
|
+
readonly timestamp: Schema.String;
|
|
9054
|
+
readonly payload: Schema.Struct<{
|
|
9055
|
+
readonly paneId: Schema.String;
|
|
9056
|
+
}>;
|
|
9057
|
+
}>, Schema.Struct<{
|
|
9058
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
9059
|
+
readonly sequence: Schema.Number;
|
|
9060
|
+
readonly timestamp: Schema.String;
|
|
9061
|
+
readonly payload: Schema.Struct<{
|
|
9062
|
+
readonly issueId: Schema.String;
|
|
9063
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9064
|
+
}>;
|
|
9065
|
+
}>, Schema.Struct<{
|
|
9066
|
+
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
9067
|
+
readonly sequence: Schema.Number;
|
|
9068
|
+
readonly timestamp: Schema.String;
|
|
9069
|
+
readonly payload: Schema.Struct<{
|
|
9070
|
+
readonly issueId: Schema.String;
|
|
9071
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9072
|
+
}>;
|
|
9073
|
+
}>, Schema.Struct<{
|
|
9074
|
+
readonly type: Schema.Literal<"pipeline.review-completed">;
|
|
9075
|
+
readonly sequence: Schema.Number;
|
|
9076
|
+
readonly timestamp: Schema.String;
|
|
9077
|
+
readonly payload: Schema.Struct<{
|
|
9078
|
+
readonly issueId: Schema.String;
|
|
9079
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9080
|
+
readonly passed: Schema.Boolean;
|
|
9081
|
+
}>;
|
|
9082
|
+
}>, Schema.Struct<{
|
|
9083
|
+
readonly type: Schema.Literal<"pipeline.test-started">;
|
|
9084
|
+
readonly sequence: Schema.Number;
|
|
9085
|
+
readonly timestamp: Schema.String;
|
|
9086
|
+
readonly payload: Schema.Struct<{
|
|
9087
|
+
readonly issueId: Schema.String;
|
|
9088
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9089
|
+
}>;
|
|
9090
|
+
}>, Schema.Struct<{
|
|
9091
|
+
readonly type: Schema.Literal<"pipeline.test-completed">;
|
|
9092
|
+
readonly sequence: Schema.Number;
|
|
9093
|
+
readonly timestamp: Schema.String;
|
|
9094
|
+
readonly payload: Schema.Struct<{
|
|
9095
|
+
readonly issueId: Schema.String;
|
|
9096
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9097
|
+
readonly passed: Schema.Boolean;
|
|
9098
|
+
}>;
|
|
9099
|
+
}>, Schema.Struct<{
|
|
9100
|
+
readonly type: Schema.Literal<"pipeline.verification-started">;
|
|
9101
|
+
readonly sequence: Schema.Number;
|
|
9102
|
+
readonly timestamp: Schema.String;
|
|
9103
|
+
readonly payload: Schema.Struct<{
|
|
9104
|
+
readonly issueId: Schema.String;
|
|
9105
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9106
|
+
}>;
|
|
9107
|
+
}>, Schema.Struct<{
|
|
9108
|
+
readonly type: Schema.Literal<"pipeline.verification-failed">;
|
|
9109
|
+
readonly sequence: Schema.Number;
|
|
9110
|
+
readonly timestamp: Schema.String;
|
|
9111
|
+
readonly payload: Schema.Struct<{
|
|
9112
|
+
readonly issueId: Schema.String;
|
|
9113
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9114
|
+
readonly failedCheck: Schema.optional<Schema.String>;
|
|
9115
|
+
readonly message: Schema.optional<Schema.String>;
|
|
9116
|
+
}>;
|
|
9117
|
+
}>, Schema.Struct<{
|
|
9118
|
+
readonly type: Schema.Literal<"issue.transitioned">;
|
|
9119
|
+
readonly sequence: Schema.Number;
|
|
9120
|
+
readonly timestamp: Schema.String;
|
|
9121
|
+
readonly payload: Schema.Struct<{
|
|
9122
|
+
readonly issueId: Schema.String;
|
|
9123
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9124
|
+
readonly state: Schema.String;
|
|
9125
|
+
}>;
|
|
9126
|
+
}>, Schema.Struct<{
|
|
9127
|
+
readonly type: Schema.Literal<"operator.intervention">;
|
|
9128
|
+
readonly sequence: Schema.Number;
|
|
9129
|
+
readonly timestamp: Schema.String;
|
|
9130
|
+
readonly payload: Schema.Struct<{
|
|
9131
|
+
readonly issueId: Schema.String;
|
|
9132
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9133
|
+
readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
|
|
9134
|
+
readonly source: Schema.String;
|
|
9135
|
+
}>;
|
|
9136
|
+
}>, Schema.Struct<{
|
|
9137
|
+
readonly type: Schema.Literal<"linear_mcp_auth.required">;
|
|
9138
|
+
readonly sequence: Schema.Number;
|
|
9139
|
+
readonly timestamp: Schema.String;
|
|
9140
|
+
readonly payload: Schema.Struct<{
|
|
9141
|
+
readonly agentId: Schema.String;
|
|
9142
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9143
|
+
readonly authUrl: Schema.NullOr<Schema.String>;
|
|
9144
|
+
readonly expiresAt: Schema.NullOr<Schema.String>;
|
|
9145
|
+
}>;
|
|
9146
|
+
}>, Schema.Struct<{
|
|
9147
|
+
readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
|
|
9148
|
+
readonly sequence: Schema.Number;
|
|
9149
|
+
readonly timestamp: Schema.String;
|
|
9150
|
+
readonly payload: Schema.Struct<{
|
|
9151
|
+
readonly agentId: Schema.String;
|
|
9152
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9153
|
+
readonly source: Schema.Literals<readonly ["hook", "operator"]>;
|
|
9154
|
+
}>;
|
|
9155
|
+
}>, Schema.Struct<{
|
|
9156
|
+
readonly type: Schema.Literal<"linear_mcp_auth.notified">;
|
|
9157
|
+
readonly sequence: Schema.Number;
|
|
9158
|
+
readonly timestamp: Schema.String;
|
|
9159
|
+
readonly payload: Schema.Struct<{
|
|
9160
|
+
readonly agentId: Schema.String;
|
|
9161
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9162
|
+
readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
|
|
9163
|
+
readonly lifecycleId: Schema.optional<Schema.String>;
|
|
9164
|
+
}>;
|
|
9165
|
+
}>, Schema.Struct<{
|
|
9166
|
+
readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
|
|
9167
|
+
readonly sequence: Schema.Number;
|
|
9168
|
+
readonly timestamp: Schema.String;
|
|
9169
|
+
readonly payload: Schema.Struct<{
|
|
9170
|
+
readonly agentId: Schema.String;
|
|
9171
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9172
|
+
}>;
|
|
9173
|
+
}>, Schema.Struct<{
|
|
9174
|
+
readonly type: Schema.Literal<"substrate.bug_filed">;
|
|
9175
|
+
readonly sequence: Schema.Number;
|
|
9176
|
+
readonly timestamp: Schema.String;
|
|
9177
|
+
readonly payload: Schema.Struct<{
|
|
9178
|
+
readonly issueId: Schema.String;
|
|
9179
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9180
|
+
readonly runId: Schema.optional<Schema.String>;
|
|
9181
|
+
readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
|
|
9182
|
+
readonly discoveredIn: Schema.optional<Schema.String>;
|
|
9183
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2"]>;
|
|
9184
|
+
}>;
|
|
9185
|
+
}>, Schema.Struct<{
|
|
9186
|
+
readonly type: Schema.Literal<"review.reviewer_started">;
|
|
9187
|
+
readonly sequence: Schema.Number;
|
|
9188
|
+
readonly timestamp: Schema.String;
|
|
9189
|
+
readonly payload: Schema.Struct<{
|
|
9190
|
+
readonly issueId: Schema.String;
|
|
9191
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9192
|
+
readonly role: Schema.String;
|
|
9193
|
+
readonly sessionName: Schema.String;
|
|
9194
|
+
}>;
|
|
9195
|
+
}>, Schema.Struct<{
|
|
9196
|
+
readonly type: Schema.Literal<"review.reviewer_completed">;
|
|
9197
|
+
readonly sequence: Schema.Number;
|
|
9198
|
+
readonly timestamp: Schema.String;
|
|
9199
|
+
readonly payload: Schema.Struct<{
|
|
9200
|
+
readonly issueId: Schema.String;
|
|
9201
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9202
|
+
readonly role: Schema.String;
|
|
9203
|
+
}>;
|
|
9204
|
+
}>, Schema.Struct<{
|
|
9205
|
+
readonly type: Schema.Literal<"review.specialist.timed_out">;
|
|
9206
|
+
readonly sequence: Schema.Number;
|
|
9207
|
+
readonly timestamp: Schema.String;
|
|
9208
|
+
readonly payload: Schema.Struct<{
|
|
9209
|
+
readonly issueId: Schema.String;
|
|
9210
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9211
|
+
readonly role: Schema.String;
|
|
9212
|
+
readonly sessionName: Schema.String;
|
|
9213
|
+
readonly attempt: Schema.Number;
|
|
9214
|
+
readonly maxRetries: Schema.Number;
|
|
9215
|
+
readonly willRetry: Schema.Boolean;
|
|
9216
|
+
}>;
|
|
9217
|
+
}>, Schema.Struct<{
|
|
9218
|
+
readonly type: Schema.Literal<"review.coordinator_started">;
|
|
9219
|
+
readonly sequence: Schema.Number;
|
|
9220
|
+
readonly timestamp: Schema.String;
|
|
9221
|
+
readonly payload: Schema.Struct<{
|
|
9222
|
+
readonly issueId: Schema.String;
|
|
9223
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9224
|
+
readonly sessionName: Schema.String;
|
|
9225
|
+
}>;
|
|
9226
|
+
}>, Schema.Struct<{
|
|
9227
|
+
readonly type: Schema.Literal<"review.coordinator.died">;
|
|
9228
|
+
readonly sequence: Schema.Number;
|
|
9229
|
+
readonly timestamp: Schema.String;
|
|
9230
|
+
readonly payload: Schema.Struct<{
|
|
9231
|
+
readonly issueId: Schema.String;
|
|
9232
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9233
|
+
readonly sessionName: Schema.String;
|
|
9234
|
+
readonly reason: Schema.String;
|
|
9235
|
+
}>;
|
|
9236
|
+
}>, Schema.Struct<{
|
|
9237
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
9238
|
+
readonly sequence: Schema.Number;
|
|
9239
|
+
readonly timestamp: Schema.String;
|
|
9240
|
+
readonly payload: Schema.Struct<{
|
|
9241
|
+
readonly issueId: Schema.String;
|
|
9242
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9243
|
+
readonly writer: Schema.String;
|
|
9244
|
+
readonly verdict: Schema.String;
|
|
9245
|
+
readonly evidenceHead: Schema.String;
|
|
9246
|
+
readonly rowHead: Schema.String;
|
|
9247
|
+
readonly reason: Schema.String;
|
|
9248
|
+
}>;
|
|
9249
|
+
}>, Schema.Struct<{
|
|
9250
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
9251
|
+
readonly sequence: Schema.Number;
|
|
9252
|
+
readonly timestamp: Schema.String;
|
|
9253
|
+
readonly payload: Schema.Struct<{
|
|
9254
|
+
readonly issueId: Schema.String;
|
|
9255
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9256
|
+
readonly writer: Schema.String;
|
|
9257
|
+
readonly verdict: Schema.String;
|
|
9258
|
+
readonly evidenceHead: Schema.String;
|
|
9259
|
+
readonly rowHead: Schema.String;
|
|
9260
|
+
readonly classification: Schema.String;
|
|
9261
|
+
readonly testGateReset: Schema.Boolean;
|
|
9262
|
+
}>;
|
|
9263
|
+
}>, Schema.Struct<{
|
|
9264
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
9265
|
+
readonly sequence: Schema.Number;
|
|
9266
|
+
readonly timestamp: Schema.String;
|
|
9267
|
+
readonly payload: Schema.Struct<{
|
|
9268
|
+
readonly issueId: Schema.String;
|
|
9269
|
+
readonly caller: Schema.String;
|
|
9270
|
+
readonly verdict: Schema.String;
|
|
9271
|
+
readonly artifactHead: Schema.String;
|
|
9272
|
+
readonly rowHead: Schema.String;
|
|
9273
|
+
readonly reason: Schema.String;
|
|
9274
|
+
}>;
|
|
9275
|
+
}>, Schema.Struct<{
|
|
9276
|
+
readonly type: Schema.Literal<"specialist.started">;
|
|
9277
|
+
readonly sequence: Schema.Number;
|
|
9278
|
+
readonly timestamp: Schema.String;
|
|
9279
|
+
readonly payload: Schema.Struct<{
|
|
9280
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9281
|
+
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
9282
|
+
readonly isRunning: Schema.Boolean;
|
|
9283
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
9284
|
+
readonly lastWake: Schema.optional<Schema.String>;
|
|
9285
|
+
}>;
|
|
9286
|
+
}>, Schema.Struct<{
|
|
9287
|
+
readonly type: Schema.Literal<"specialist.completed">;
|
|
9288
|
+
readonly sequence: Schema.Number;
|
|
9289
|
+
readonly timestamp: Schema.String;
|
|
9290
|
+
readonly payload: Schema.Struct<{
|
|
9291
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9292
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9293
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9294
|
+
}>;
|
|
9295
|
+
}>, Schema.Struct<{
|
|
9296
|
+
readonly type: Schema.Literal<"specialist.failed">;
|
|
9297
|
+
readonly sequence: Schema.Number;
|
|
9298
|
+
readonly timestamp: Schema.String;
|
|
9299
|
+
readonly payload: Schema.Struct<{
|
|
9300
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9301
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9302
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9303
|
+
readonly error: Schema.String;
|
|
9304
|
+
}>;
|
|
9305
|
+
}>, Schema.Struct<{
|
|
9306
|
+
readonly type: Schema.Literal<"resources.updated">;
|
|
9307
|
+
readonly sequence: Schema.Number;
|
|
9308
|
+
readonly timestamp: Schema.String;
|
|
9309
|
+
readonly payload: Schema.Struct<{
|
|
9310
|
+
readonly resources: Schema.Struct<{
|
|
9311
|
+
readonly containers: Schema.$Array<Schema.Struct<{
|
|
9312
|
+
readonly name: Schema.String;
|
|
9313
|
+
readonly cpu: Schema.optional<Schema.String>;
|
|
9314
|
+
readonly mem: Schema.optional<Schema.String>;
|
|
9315
|
+
readonly status: Schema.optional<Schema.String>;
|
|
9316
|
+
}>>;
|
|
9317
|
+
}>;
|
|
9318
|
+
}>;
|
|
9319
|
+
}>, Schema.Struct<{
|
|
9320
|
+
readonly type: Schema.Literal<"system.health_severity_changed">;
|
|
9321
|
+
readonly sequence: Schema.Number;
|
|
9322
|
+
readonly timestamp: Schema.String;
|
|
9323
|
+
readonly payload: Schema.Struct<{
|
|
9324
|
+
readonly previousSeverity: Schema.String;
|
|
9325
|
+
readonly severity: Schema.String;
|
|
9326
|
+
readonly reasons: Schema.$Array<Schema.String>;
|
|
9327
|
+
readonly leakedSpecialistCount: Schema.Number;
|
|
9328
|
+
readonly version: Schema.optional<Schema.Literal<2>>;
|
|
9329
|
+
readonly transitionVersion: Schema.optional<Schema.Number>;
|
|
9330
|
+
readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
|
|
9331
|
+
readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
|
|
9332
|
+
readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9333
|
+
readonly acceptedAt: Schema.optional<Schema.String>;
|
|
9334
|
+
}>;
|
|
9335
|
+
}>, Schema.Struct<{
|
|
9336
|
+
readonly type: Schema.Literal<"issues.snapshot">;
|
|
9337
|
+
readonly sequence: Schema.Number;
|
|
9338
|
+
readonly timestamp: Schema.String;
|
|
9339
|
+
readonly payload: Schema.Struct<{
|
|
9340
|
+
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
9341
|
+
}>;
|
|
9342
|
+
}>, Schema.Struct<{
|
|
9343
|
+
readonly type: Schema.Literal<"issues.delta">;
|
|
9344
|
+
readonly sequence: Schema.Number;
|
|
9345
|
+
readonly timestamp: Schema.String;
|
|
9346
|
+
readonly payload: Schema.Struct<{
|
|
9347
|
+
readonly length: Schema.Number;
|
|
9348
|
+
readonly changes: Schema.$Array<Schema.Struct<{
|
|
9349
|
+
readonly index: Schema.Number;
|
|
9350
|
+
readonly issue: Schema.Unknown;
|
|
9351
|
+
}>>;
|
|
9352
|
+
}>;
|
|
9353
|
+
}>, Schema.Struct<{
|
|
9354
|
+
readonly type: Schema.Literal<"issues.updated">;
|
|
9355
|
+
readonly sequence: Schema.Number;
|
|
9356
|
+
readonly timestamp: Schema.String;
|
|
9357
|
+
readonly payload: Schema.Struct<{
|
|
9358
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9359
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9360
|
+
}>;
|
|
9361
|
+
}>, Schema.Struct<{
|
|
9362
|
+
readonly type: Schema.Literal<"issue.statusChanged">;
|
|
9363
|
+
readonly sequence: Schema.Number;
|
|
9364
|
+
readonly timestamp: Schema.String;
|
|
9365
|
+
readonly payload: Schema.Struct<{
|
|
9366
|
+
readonly issueId: Schema.String;
|
|
9367
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9368
|
+
readonly status: Schema.String;
|
|
9369
|
+
readonly canonicalStatus: Schema.String;
|
|
9370
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9371
|
+
}>;
|
|
9372
|
+
}>, Schema.Struct<{
|
|
9373
|
+
readonly type: Schema.Literal<"activity.updated">;
|
|
9374
|
+
readonly sequence: Schema.Number;
|
|
9375
|
+
readonly timestamp: Schema.String;
|
|
9376
|
+
readonly payload: Schema.Struct<{
|
|
9377
|
+
readonly events: Schema.$Array<Schema.Unknown>;
|
|
9378
|
+
}>;
|
|
9379
|
+
}>, Schema.Struct<{
|
|
9380
|
+
readonly type: Schema.Literal<"activity.entry">;
|
|
9381
|
+
readonly sequence: Schema.Number;
|
|
9382
|
+
readonly timestamp: Schema.String;
|
|
9383
|
+
readonly payload: Schema.Struct<{
|
|
9384
|
+
readonly id: Schema.String;
|
|
9385
|
+
readonly source: Schema.String;
|
|
9386
|
+
readonly level: Schema.String;
|
|
9387
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
|
|
9388
|
+
readonly command: Schema.optional<Schema.String>;
|
|
9389
|
+
readonly message: Schema.String;
|
|
9390
|
+
readonly details: Schema.optional<Schema.String>;
|
|
9391
|
+
readonly output: Schema.optional<Schema.String>;
|
|
9392
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9393
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9394
|
+
readonly link: Schema.optional<Schema.String>;
|
|
9395
|
+
readonly desktop: Schema.optional<Schema.Boolean>;
|
|
9396
|
+
}>;
|
|
9397
|
+
}>, Schema.Struct<{
|
|
9398
|
+
readonly type: Schema.Literal<"activity.detailed">;
|
|
9399
|
+
readonly sequence: Schema.Number;
|
|
9400
|
+
readonly timestamp: Schema.String;
|
|
9401
|
+
readonly payload: Schema.Struct<{
|
|
9402
|
+
readonly id: Schema.String;
|
|
9403
|
+
readonly source: Schema.String;
|
|
9404
|
+
readonly level: Schema.String;
|
|
9405
|
+
readonly message: Schema.String;
|
|
9406
|
+
readonly details: Schema.optional<Schema.String>;
|
|
9407
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9408
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9409
|
+
readonly triggeringEvent: Schema.optional<Schema.String>;
|
|
9410
|
+
}>;
|
|
9411
|
+
}>, Schema.Struct<{
|
|
9412
|
+
readonly type: Schema.Literal<"activity.tts">;
|
|
9413
|
+
readonly sequence: Schema.Number;
|
|
9414
|
+
readonly timestamp: Schema.String;
|
|
9415
|
+
readonly payload: Schema.Struct<{
|
|
9416
|
+
readonly id: Schema.String;
|
|
9417
|
+
readonly utterance: Schema.String;
|
|
9418
|
+
readonly priority: Schema.optional<Schema.Number>;
|
|
9419
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9420
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9421
|
+
readonly source: Schema.optional<Schema.String>;
|
|
9422
|
+
readonly eventType: Schema.optional<Schema.String>;
|
|
9423
|
+
}>;
|
|
9424
|
+
}>, Schema.Struct<{
|
|
9425
|
+
readonly type: Schema.Literal<"shadow.inference_update">;
|
|
9426
|
+
readonly sequence: Schema.Number;
|
|
9427
|
+
readonly timestamp: Schema.String;
|
|
9428
|
+
readonly payload: Schema.Struct<{
|
|
9429
|
+
readonly issueId: Schema.String;
|
|
9430
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9431
|
+
readonly content: Schema.String;
|
|
9432
|
+
}>;
|
|
9433
|
+
}>, Schema.Struct<{
|
|
9434
|
+
readonly type: Schema.Literal<"memory.observation_created">;
|
|
9435
|
+
readonly sequence: Schema.Number;
|
|
9436
|
+
readonly timestamp: Schema.String;
|
|
9437
|
+
readonly payload: Schema.Struct<{
|
|
9438
|
+
readonly observation: Schema.Struct<{
|
|
9439
|
+
readonly id: Schema.String;
|
|
9440
|
+
readonly timestamp: Schema.String;
|
|
9441
|
+
readonly projectId: Schema.String;
|
|
9442
|
+
readonly workspaceId: Schema.String;
|
|
9443
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9444
|
+
readonly runId: Schema.String;
|
|
9445
|
+
readonly sessionId: Schema.String;
|
|
9446
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9447
|
+
readonly agentHarness: Schema.String;
|
|
9448
|
+
readonly gitBranch: Schema.String;
|
|
9449
|
+
readonly sourceTranscriptOffset: Schema.Number;
|
|
9450
|
+
readonly actionStatus: Schema.NullOr<Schema.String>;
|
|
9451
|
+
readonly narrative: Schema.String;
|
|
9452
|
+
readonly summary: Schema.String;
|
|
9453
|
+
readonly files: Schema.$Array<Schema.String>;
|
|
9454
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9455
|
+
readonly tokens: Schema.Struct<{
|
|
9456
|
+
readonly prompt: Schema.Number;
|
|
9457
|
+
readonly completion: Schema.Number;
|
|
9458
|
+
readonly total: Schema.Number;
|
|
9459
|
+
}>;
|
|
9460
|
+
readonly model: Schema.String;
|
|
9461
|
+
}>;
|
|
9462
|
+
}>;
|
|
9463
|
+
}>, Schema.Struct<{
|
|
9464
|
+
readonly type: Schema.Literal<"memory.status_updated">;
|
|
9465
|
+
readonly sequence: Schema.Number;
|
|
9466
|
+
readonly timestamp: Schema.String;
|
|
9467
|
+
readonly payload: Schema.Struct<{
|
|
9468
|
+
readonly identity: Schema.Struct<{
|
|
9469
|
+
readonly projectId: Schema.String;
|
|
9470
|
+
readonly workspaceId: Schema.String;
|
|
9471
|
+
readonly issueId: Schema.String;
|
|
9472
|
+
}>;
|
|
9473
|
+
readonly status: Schema.Struct<{
|
|
9474
|
+
readonly name: Schema.String;
|
|
9475
|
+
readonly headline: Schema.String;
|
|
9476
|
+
readonly summary: Schema.String;
|
|
9477
|
+
readonly goal: Schema.NullOr<Schema.String>;
|
|
9478
|
+
readonly phase: Schema.Literals<readonly ["exploring", "planning", "building", "verifying", "cleaning", "shipping"]>;
|
|
9479
|
+
readonly accomplished: Schema.$Array<Schema.String>;
|
|
9480
|
+
readonly decided: Schema.$Array<Schema.String>;
|
|
9481
|
+
readonly open: Schema.$Array<Schema.String>;
|
|
9482
|
+
readonly nextSteps: Schema.$Array<Schema.String>;
|
|
9483
|
+
readonly confidence: Schema.Number;
|
|
9484
|
+
readonly workingSet: Schema.$Array<Schema.String>;
|
|
9485
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9486
|
+
}>;
|
|
9487
|
+
readonly previousStatus: Schema.optional<Schema.Struct<{
|
|
9488
|
+
readonly name: Schema.String;
|
|
9489
|
+
readonly headline: Schema.String;
|
|
9490
|
+
readonly summary: Schema.String;
|
|
9491
|
+
readonly goal: Schema.NullOr<Schema.String>;
|
|
9492
|
+
readonly phase: Schema.Literals<readonly ["exploring", "planning", "building", "verifying", "cleaning", "shipping"]>;
|
|
9493
|
+
readonly accomplished: Schema.$Array<Schema.String>;
|
|
9494
|
+
readonly decided: Schema.$Array<Schema.String>;
|
|
9495
|
+
readonly open: Schema.$Array<Schema.String>;
|
|
9496
|
+
readonly nextSteps: Schema.$Array<Schema.String>;
|
|
9497
|
+
readonly confidence: Schema.Number;
|
|
9498
|
+
readonly workingSet: Schema.$Array<Schema.String>;
|
|
9499
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9500
|
+
}>>;
|
|
9501
|
+
}>;
|
|
9502
|
+
}>, Schema.Struct<{
|
|
9503
|
+
readonly type: Schema.Literal<"memory.rollup_triggered">;
|
|
9504
|
+
readonly sequence: Schema.Number;
|
|
9505
|
+
readonly timestamp: Schema.String;
|
|
9506
|
+
readonly payload: Schema.Struct<{
|
|
9507
|
+
readonly projectId: Schema.String;
|
|
9508
|
+
readonly workspaceId: Schema.String;
|
|
9509
|
+
readonly issueId: Schema.String;
|
|
9510
|
+
readonly pendingCount: Schema.Number;
|
|
9511
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
9512
|
+
readonly threshold: Schema.Number;
|
|
9513
|
+
}>;
|
|
9514
|
+
}>, Schema.Struct<{
|
|
9515
|
+
readonly type: Schema.Literal<"memory.reset_marker_created">;
|
|
9516
|
+
readonly sequence: Schema.Number;
|
|
9517
|
+
readonly timestamp: Schema.String;
|
|
9518
|
+
readonly payload: Schema.Struct<{
|
|
9519
|
+
readonly marker: Schema.Struct<{
|
|
9520
|
+
readonly id: Schema.String;
|
|
9521
|
+
readonly scope: Schema.Literals<readonly ["project", "workspace", "issue", "session"]>;
|
|
9522
|
+
readonly scopeId: Schema.String;
|
|
9523
|
+
readonly fromTimestamp: Schema.String;
|
|
9524
|
+
readonly reason: Schema.String;
|
|
9525
|
+
readonly createdAt: Schema.String;
|
|
9526
|
+
}>;
|
|
9527
|
+
}>;
|
|
9528
|
+
}>, Schema.Struct<{
|
|
9529
|
+
readonly type: Schema.Literal<"memory.health_changed">;
|
|
9530
|
+
readonly sequence: Schema.Number;
|
|
9531
|
+
readonly timestamp: Schema.String;
|
|
9532
|
+
readonly payload: Schema.Struct<{
|
|
9533
|
+
readonly projectId: Schema.String;
|
|
9534
|
+
readonly issueId: Schema.String;
|
|
9535
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9536
|
+
readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
|
|
9537
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
9538
|
+
readonly detail: Schema.optional<Schema.String>;
|
|
9539
|
+
readonly ragDecision: Schema.optional<Schema.Struct<{
|
|
9540
|
+
readonly id: Schema.String;
|
|
9541
|
+
readonly timestamp: Schema.String;
|
|
9542
|
+
readonly identity: Schema.Struct<{
|
|
9543
|
+
readonly projectId: Schema.String;
|
|
9544
|
+
readonly workspaceId: Schema.String;
|
|
9545
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9546
|
+
readonly runId: Schema.String;
|
|
9547
|
+
readonly sessionId: Schema.String;
|
|
9548
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9549
|
+
readonly agentHarness: Schema.String;
|
|
9550
|
+
}>;
|
|
9551
|
+
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
9552
|
+
readonly outcome: Schema.Literals<readonly ["injected", "skipped", "no-hits", "expansion-failed", "context-too-large", "budget-truncated"]>;
|
|
9553
|
+
readonly query: Schema.String;
|
|
9554
|
+
readonly expandedTerms: Schema.$Array<Schema.String>;
|
|
9555
|
+
readonly allocations: Schema.Struct<{
|
|
9556
|
+
readonly status: Schema.Number;
|
|
9557
|
+
readonly observations: Schema.Number;
|
|
9558
|
+
readonly summaries: Schema.Number;
|
|
9559
|
+
readonly sibling: Schema.Number;
|
|
9560
|
+
readonly knowledgeIndex: Schema.Number;
|
|
9561
|
+
}>;
|
|
9562
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
9563
|
+
readonly id: Schema.String;
|
|
9564
|
+
readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
|
|
9565
|
+
readonly scope: Schema.String;
|
|
9566
|
+
readonly score: Schema.Number;
|
|
9567
|
+
readonly tokens: Schema.Number;
|
|
9568
|
+
}>>;
|
|
9569
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
9570
|
+
}>>;
|
|
9571
|
+
}>;
|
|
9572
|
+
}>, Schema.Struct<{
|
|
9573
|
+
readonly type: Schema.Literal<"cost.event_recorded">;
|
|
9574
|
+
readonly sequence: Schema.Number;
|
|
9575
|
+
readonly timestamp: Schema.String;
|
|
9576
|
+
readonly payload: Schema.Struct<{
|
|
9577
|
+
readonly agentId: Schema.String;
|
|
9578
|
+
readonly issueId: Schema.String;
|
|
9579
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9580
|
+
readonly cost: Schema.Number;
|
|
9581
|
+
readonly inputTokens: Schema.Number;
|
|
9582
|
+
readonly outputTokens: Schema.Number;
|
|
9583
|
+
}>;
|
|
9584
|
+
}>, Schema.Struct<{
|
|
9585
|
+
readonly type: Schema.Literal<"workspace.created">;
|
|
9586
|
+
readonly sequence: Schema.Number;
|
|
9587
|
+
readonly timestamp: Schema.String;
|
|
9588
|
+
readonly payload: Schema.Struct<{
|
|
9589
|
+
readonly issueId: Schema.String;
|
|
9590
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9591
|
+
readonly workspacePath: Schema.String;
|
|
9592
|
+
}>;
|
|
9593
|
+
}>, Schema.Struct<{
|
|
9594
|
+
readonly type: Schema.Literal<"workspace.wipe_started">;
|
|
9595
|
+
readonly sequence: Schema.Number;
|
|
9596
|
+
readonly timestamp: Schema.String;
|
|
9597
|
+
readonly payload: Schema.Struct<{
|
|
9598
|
+
readonly issueId: Schema.String;
|
|
9599
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9600
|
+
}>;
|
|
9601
|
+
}>, Schema.Struct<{
|
|
9602
|
+
readonly type: Schema.Literal<"workspace.destroyed">;
|
|
9603
|
+
readonly sequence: Schema.Number;
|
|
9604
|
+
readonly timestamp: Schema.String;
|
|
9605
|
+
readonly payload: Schema.Struct<{
|
|
9606
|
+
readonly issueId: Schema.String;
|
|
9607
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9608
|
+
}>;
|
|
9609
|
+
}>, Schema.Struct<{
|
|
9610
|
+
readonly type: Schema.Literal<"workspace.deleted">;
|
|
9611
|
+
readonly sequence: Schema.Number;
|
|
9612
|
+
readonly timestamp: Schema.String;
|
|
9613
|
+
readonly payload: Schema.Struct<{
|
|
9614
|
+
readonly issueId: Schema.String;
|
|
9615
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9616
|
+
}>;
|
|
9617
|
+
}>, Schema.Struct<{
|
|
9618
|
+
readonly type: Schema.Literal<"workspace.aborted">;
|
|
9619
|
+
readonly sequence: Schema.Number;
|
|
9620
|
+
readonly timestamp: Schema.String;
|
|
9621
|
+
readonly payload: Schema.Struct<{
|
|
9622
|
+
readonly issueId: Schema.String;
|
|
9623
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9624
|
+
readonly sessionName: Schema.optional<Schema.String>;
|
|
9625
|
+
}>;
|
|
9626
|
+
}>, Schema.Struct<{
|
|
9627
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_started">;
|
|
9628
|
+
readonly sequence: Schema.Number;
|
|
9629
|
+
readonly timestamp: Schema.String;
|
|
9630
|
+
readonly payload: Schema.Struct<{
|
|
9631
|
+
readonly reason: Schema.String;
|
|
9632
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9633
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9634
|
+
readonly trigger: Schema.String;
|
|
9635
|
+
}>;
|
|
9636
|
+
}>, Schema.Struct<{
|
|
9637
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_completed">;
|
|
9638
|
+
readonly sequence: Schema.Number;
|
|
9639
|
+
readonly timestamp: Schema.String;
|
|
9640
|
+
readonly payload: Schema.Struct<{
|
|
9641
|
+
readonly reason: Schema.String;
|
|
9642
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9643
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9644
|
+
readonly durationMs: Schema.Number;
|
|
9645
|
+
}>;
|
|
9646
|
+
}>, Schema.Struct<{
|
|
9647
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_failed">;
|
|
9648
|
+
readonly sequence: Schema.Number;
|
|
9649
|
+
readonly timestamp: Schema.String;
|
|
9650
|
+
readonly payload: Schema.Struct<{
|
|
9651
|
+
readonly reason: Schema.String;
|
|
9652
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9653
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9654
|
+
readonly error: Schema.String;
|
|
9655
|
+
}>;
|
|
9656
|
+
}>, Schema.Struct<{
|
|
9657
|
+
readonly type: Schema.Literal<"conversation.compacting_changed">;
|
|
9658
|
+
readonly sequence: Schema.Number;
|
|
9659
|
+
readonly timestamp: Schema.String;
|
|
9660
|
+
readonly payload: Schema.Struct<{
|
|
9661
|
+
readonly conversationName: Schema.String;
|
|
9662
|
+
readonly compacting: Schema.Boolean;
|
|
9663
|
+
}>;
|
|
9664
|
+
}>, Schema.Struct<{
|
|
9665
|
+
readonly type: Schema.Literal<"conversation.created">;
|
|
9666
|
+
readonly sequence: Schema.Number;
|
|
9667
|
+
readonly timestamp: Schema.String;
|
|
9668
|
+
readonly payload: Schema.Struct<{
|
|
9669
|
+
readonly conversationName: Schema.String;
|
|
9670
|
+
}>;
|
|
9671
|
+
}>, Schema.Struct<{
|
|
9672
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
9673
|
+
readonly sequence: Schema.Number;
|
|
9674
|
+
readonly timestamp: Schema.String;
|
|
9675
|
+
readonly payload: Schema.Struct<{
|
|
9676
|
+
readonly conversationName: Schema.String;
|
|
9677
|
+
readonly projectKey: Schema.String;
|
|
9678
|
+
}>;
|
|
9679
|
+
}>, Schema.Struct<{
|
|
9680
|
+
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
9681
|
+
readonly sequence: Schema.Number;
|
|
9682
|
+
readonly timestamp: Schema.String;
|
|
9683
|
+
readonly payload: Schema.Struct<{
|
|
9684
|
+
readonly conversationName: Schema.String;
|
|
9685
|
+
readonly title: Schema.String;
|
|
9686
|
+
readonly titleSource: Schema.String;
|
|
9687
|
+
}>;
|
|
9688
|
+
}>, Schema.Struct<{
|
|
9689
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
9690
|
+
readonly sequence: Schema.Number;
|
|
9691
|
+
readonly timestamp: Schema.String;
|
|
9692
|
+
readonly payload: Schema.Struct<{
|
|
9693
|
+
readonly conversationName: Schema.String;
|
|
9694
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
9695
|
+
readonly url: Schema.String;
|
|
9696
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
9697
|
+
readonly linkedAt: Schema.String;
|
|
9698
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
9699
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
9700
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
9701
|
+
readonly isDraft: Schema.Boolean;
|
|
9702
|
+
readonly title: Schema.String;
|
|
9703
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
9704
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
9705
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
9706
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
9707
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
9708
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
9709
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
9710
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
9711
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
9712
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
9713
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
9714
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
9715
|
+
readonly syncedAt: Schema.String;
|
|
9716
|
+
}>>;
|
|
9717
|
+
readonly host: Schema.String;
|
|
9718
|
+
readonly repository: Schema.String;
|
|
9719
|
+
readonly number: Schema.Number;
|
|
8119
9720
|
}>>;
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
readonly
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
}>>>;
|
|
8136
|
-
readonly scanProgress: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8137
|
-
readonly active: Schema.Boolean;
|
|
9721
|
+
}>;
|
|
9722
|
+
}>, Schema.Struct<{
|
|
9723
|
+
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
9724
|
+
readonly sequence: Schema.Number;
|
|
9725
|
+
readonly timestamp: Schema.String;
|
|
9726
|
+
readonly payload: Schema.Struct<{
|
|
9727
|
+
readonly conversationName: Schema.String;
|
|
9728
|
+
readonly waiting: Schema.Boolean;
|
|
9729
|
+
readonly toolName: Schema.optional<Schema.String>;
|
|
9730
|
+
}>;
|
|
9731
|
+
}>, Schema.Struct<{
|
|
9732
|
+
readonly type: Schema.Literal<"scan.started">;
|
|
9733
|
+
readonly sequence: Schema.Number;
|
|
9734
|
+
readonly timestamp: Schema.String;
|
|
9735
|
+
readonly payload: Schema.Struct<{
|
|
8138
9736
|
readonly mode: Schema.Literals<readonly ["targeted", "watched", "system"]>;
|
|
8139
9737
|
readonly dirs: Schema.$Array<Schema.String>;
|
|
9738
|
+
}>;
|
|
9739
|
+
}>, Schema.Struct<{
|
|
9740
|
+
readonly type: Schema.Literal<"scan.progress">;
|
|
9741
|
+
readonly sequence: Schema.Number;
|
|
9742
|
+
readonly timestamp: Schema.String;
|
|
9743
|
+
readonly payload: Schema.Struct<{
|
|
8140
9744
|
readonly dirsProcessed: Schema.Number;
|
|
8141
9745
|
readonly dirsTotal: Schema.Number;
|
|
8142
9746
|
readonly sessionsFound: Schema.Number;
|
|
8143
9747
|
readonly elapsedMs: Schema.Number;
|
|
9748
|
+
}>;
|
|
9749
|
+
}>, Schema.Struct<{
|
|
9750
|
+
readonly type: Schema.Literal<"scan.complete">;
|
|
9751
|
+
readonly sequence: Schema.Number;
|
|
9752
|
+
readonly timestamp: Schema.String;
|
|
9753
|
+
readonly payload: Schema.Struct<{
|
|
8144
9754
|
readonly inserted: Schema.Number;
|
|
8145
9755
|
readonly updated: Schema.Number;
|
|
8146
9756
|
readonly skipped: Schema.Number;
|
|
8147
9757
|
readonly errors: Schema.Number;
|
|
8148
9758
|
readonly durationMs: Schema.Number;
|
|
8149
|
-
}
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
}>>>;
|
|
8156
|
-
readonly enrichProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
9759
|
+
}>;
|
|
9760
|
+
}>, Schema.Struct<{
|
|
9761
|
+
readonly type: Schema.Literal<"enrich.progress">;
|
|
9762
|
+
readonly sequence: Schema.Number;
|
|
9763
|
+
readonly timestamp: Schema.String;
|
|
9764
|
+
readonly payload: Schema.Struct<{
|
|
8157
9765
|
readonly sessionId: Schema.Number;
|
|
8158
9766
|
readonly level: Schema.Number;
|
|
8159
9767
|
readonly model: Schema.String;
|
|
8160
9768
|
readonly cost: Schema.Number;
|
|
8161
9769
|
readonly success: Schema.Boolean;
|
|
8162
9770
|
readonly error: Schema.optional<Schema.String>;
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
readonly
|
|
9771
|
+
}>;
|
|
9772
|
+
}>, Schema.Struct<{
|
|
9773
|
+
readonly type: Schema.Literal<"enrich.complete">;
|
|
9774
|
+
readonly sequence: Schema.Number;
|
|
9775
|
+
readonly timestamp: Schema.String;
|
|
9776
|
+
readonly payload: Schema.Struct<{
|
|
9777
|
+
readonly processed: Schema.Number;
|
|
9778
|
+
readonly totalCost: Schema.Number;
|
|
9779
|
+
readonly failures: Schema.Number;
|
|
9780
|
+
readonly durationMs: Schema.Number;
|
|
9781
|
+
}>;
|
|
9782
|
+
}>, Schema.Struct<{
|
|
9783
|
+
readonly type: Schema.Literal<"embed.progress">;
|
|
9784
|
+
readonly sequence: Schema.Number;
|
|
9785
|
+
readonly timestamp: Schema.String;
|
|
9786
|
+
readonly payload: Schema.Struct<{
|
|
8166
9787
|
readonly sessionId: Schema.Number;
|
|
8167
9788
|
readonly model: Schema.String;
|
|
8168
9789
|
readonly success: Schema.Boolean;
|
|
8169
9790
|
readonly error: Schema.optional<Schema.String>;
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
readonly
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
readonly
|
|
8177
|
-
readonly
|
|
8178
|
-
|
|
8179
|
-
readonly
|
|
8180
|
-
readonly
|
|
8181
|
-
readonly
|
|
8182
|
-
}>>;
|
|
8183
|
-
readonly updatedAt: Schema.String;
|
|
8184
|
-
}>>>;
|
|
8185
|
-
readonly restartGate: Schema.optional<Schema.Struct<{
|
|
8186
|
-
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8187
|
-
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8188
|
-
readonly requesterId: Schema.String;
|
|
8189
|
-
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8190
|
-
readonly reason: Schema.String;
|
|
8191
|
-
readonly builtSha: Schema.optional<Schema.String>;
|
|
8192
|
-
readonly requestedAt: Schema.String;
|
|
8193
|
-
}>>;
|
|
8194
|
-
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8195
|
-
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8196
|
-
readonly at: Schema.String;
|
|
8197
|
-
}>>;
|
|
8198
|
-
}>>;
|
|
8199
|
-
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
8200
|
-
readonly generatedAt: Schema.String;
|
|
8201
|
-
readonly login: Schema.NullOr<Schema.String>;
|
|
8202
|
-
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8203
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8204
|
-
readonly graphql: Schema.Struct<{
|
|
8205
|
-
readonly points: Schema.Number;
|
|
8206
|
-
readonly calls: Schema.Number;
|
|
8207
|
-
}>;
|
|
8208
|
-
readonly rest: Schema.Struct<{
|
|
8209
|
-
readonly points: Schema.Number;
|
|
8210
|
-
readonly calls: Schema.Number;
|
|
8211
|
-
}>;
|
|
8212
|
-
readonly estimated: Schema.Boolean;
|
|
8213
|
-
}>>;
|
|
8214
|
-
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8215
|
-
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8216
|
-
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8217
|
-
readonly ts: Schema.String;
|
|
8218
|
-
readonly remaining: Schema.Number;
|
|
8219
|
-
readonly limit: Schema.Number;
|
|
8220
|
-
readonly resetAt: Schema.optional<Schema.String>;
|
|
8221
|
-
}>>;
|
|
8222
|
-
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8223
|
-
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8224
|
-
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8225
|
-
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8226
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8227
|
-
readonly since: Schema.String;
|
|
8228
|
-
readonly until: Schema.String;
|
|
9791
|
+
}>;
|
|
9792
|
+
}>, Schema.Struct<{
|
|
9793
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
9794
|
+
readonly sequence: Schema.Number;
|
|
9795
|
+
readonly timestamp: Schema.String;
|
|
9796
|
+
readonly payload: Schema.Struct<{
|
|
9797
|
+
readonly issueCount: Schema.Number;
|
|
9798
|
+
readonly rowCount: Schema.Number;
|
|
9799
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
9800
|
+
readonly issueId: Schema.String;
|
|
9801
|
+
readonly orbit: Schema.String;
|
|
9802
|
+
readonly parkedAt: Schema.String;
|
|
8229
9803
|
}>>;
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
readonly secondary: Schema.Number;
|
|
8235
|
-
}>;
|
|
8236
|
-
}>>;
|
|
8237
|
-
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8238
|
-
readonly projectKey: Schema.String;
|
|
8239
|
-
readonly trigger: Schema.String;
|
|
8240
|
-
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8241
|
-
readonly pid: Schema.optional<Schema.Number>;
|
|
8242
|
-
readonly startedAt: Schema.String;
|
|
8243
|
-
readonly error: Schema.optional<Schema.String>;
|
|
8244
|
-
readonly logPath: Schema.optional<Schema.String>;
|
|
8245
|
-
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8246
|
-
}>>>;
|
|
9804
|
+
}>;
|
|
9805
|
+
}>, Schema.Struct<{
|
|
9806
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
9807
|
+
readonly sequence: Schema.Number;
|
|
8247
9808
|
readonly timestamp: Schema.String;
|
|
8248
|
-
|
|
9809
|
+
readonly payload: Schema.Struct<{
|
|
9810
|
+
readonly issueId: Schema.String;
|
|
9811
|
+
readonly orbit: Schema.String;
|
|
9812
|
+
readonly reason: Schema.String;
|
|
9813
|
+
}>;
|
|
9814
|
+
}>, Schema.Struct<{
|
|
9815
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
9816
|
+
readonly sequence: Schema.Number;
|
|
9817
|
+
readonly timestamp: Schema.String;
|
|
9818
|
+
readonly payload: Schema.Struct<{
|
|
9819
|
+
readonly issueId: Schema.String;
|
|
9820
|
+
readonly orbit: Schema.String;
|
|
9821
|
+
readonly recommendation: Schema.String;
|
|
9822
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
9823
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
9824
|
+
}>;
|
|
9825
|
+
}>]>>, Schema.Struct<{
|
|
9826
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
9827
|
+
}>]>;
|
|
9828
|
+
type ReplayEventsResult = typeof ReplayEventsResult.Type;
|
|
8249
9829
|
/** 5. Replay events since a given sequence number (unary) */
|
|
8250
9830
|
declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
8251
9831
|
readonly fromSequence: Schema.Number;
|
|
8252
|
-
}>, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
9832
|
+
}>, Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
8253
9833
|
readonly type: Schema.Literal<"system.heartbeat">;
|
|
8254
9834
|
readonly timestamp: Schema.String;
|
|
8255
9835
|
readonly payload: Schema.Struct<{
|
|
@@ -8323,7 +9903,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8323
9903
|
readonly generatedAt: Schema.String;
|
|
8324
9904
|
readonly login: Schema.NullOr<Schema.String>;
|
|
8325
9905
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8326
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
9906
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8327
9907
|
readonly graphql: Schema.Struct<{
|
|
8328
9908
|
readonly points: Schema.Number;
|
|
8329
9909
|
readonly calls: Schema.Number;
|
|
@@ -8346,7 +9926,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8346
9926
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8347
9927
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8348
9928
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8349
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
9929
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
8350
9930
|
readonly since: Schema.String;
|
|
8351
9931
|
readonly until: Schema.String;
|
|
8352
9932
|
}>>;
|
|
@@ -8444,7 +10024,6 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8444
10024
|
readonly needsAnswer: Schema.Boolean;
|
|
8445
10025
|
readonly model: Schema.String;
|
|
8446
10026
|
}>>;
|
|
8447
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8448
10027
|
}>;
|
|
8449
10028
|
}>;
|
|
8450
10029
|
}>, Schema.Struct<{
|
|
@@ -8560,7 +10139,6 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8560
10139
|
readonly needsAnswer: Schema.Boolean;
|
|
8561
10140
|
readonly model: Schema.String;
|
|
8562
10141
|
}>>;
|
|
8563
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8564
10142
|
}>;
|
|
8565
10143
|
}>;
|
|
8566
10144
|
}>, Schema.Struct<{
|
|
@@ -8945,7 +10523,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8945
10523
|
readonly issueState: Schema.Struct<{
|
|
8946
10524
|
readonly issueId: Schema.String;
|
|
8947
10525
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
8948
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
10526
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
8949
10527
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
8950
10528
|
readonly url: Schema.String;
|
|
8951
10529
|
readonly number: Schema.Number;
|
|
@@ -8967,6 +10545,11 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8967
10545
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
8968
10546
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
8969
10547
|
}>>;
|
|
10548
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
10549
|
+
readonly prNumber: Schema.Number;
|
|
10550
|
+
readonly fix: Schema.String;
|
|
10551
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
10552
|
+
}>>;
|
|
8970
10553
|
}>;
|
|
8971
10554
|
}>;
|
|
8972
10555
|
}>, Schema.Struct<{
|
|
@@ -9762,7 +11345,9 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
9762
11345
|
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
9763
11346
|
readonly agentId: Schema.optional<Schema.String>;
|
|
9764
11347
|
}>;
|
|
9765
|
-
}>]>>,
|
|
11348
|
+
}>]>>, Schema.Struct<{
|
|
11349
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
11350
|
+
}>]>, typeof PanRpcError, never, never>;
|
|
9766
11351
|
/** 6. Open a terminal session / attach PTY (unary) */
|
|
9767
11352
|
declare const TerminalOpenRpc: Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
9768
11353
|
readonly sessionName: Schema.String;
|
|
@@ -9820,7 +11405,8 @@ declare const ReadFileAtPathResult: Schema.Struct<{
|
|
|
9820
11405
|
readonly text: Schema.String;
|
|
9821
11406
|
readonly lang: Schema.String;
|
|
9822
11407
|
readonly mtimeMs: Schema.Number;
|
|
9823
|
-
readonly totalLines: Schema.Number;
|
|
11408
|
+
readonly totalLines: Schema.Number; /** True when the resolved file is inside a registered project root or OVERDECK_HOME, so writeFileAtPath will accept it (PAN-4583). */
|
|
11409
|
+
readonly writable: Schema.Boolean;
|
|
9824
11410
|
}>;
|
|
9825
11411
|
type ReadFileAtPathResult = typeof ReadFileAtPathResult.Type;
|
|
9826
11412
|
/**
|
|
@@ -9828,8 +11414,11 @@ type ReadFileAtPathResult = typeof ReadFileAtPathResult.Type;
|
|
|
9828
11414
|
*
|
|
9829
11415
|
* Unlike ReadWorkspaceFileRpc this takes no issueId — the internal markdown
|
|
9830
11416
|
* editor pane opens files reached from surfaces with no workspace context
|
|
9831
|
-
* (e.g. a repo-root file chip inside a conversation). The server
|
|
9832
|
-
*
|
|
11417
|
+
* (e.g. a repo-root file chip inside a conversation). The server reads any
|
|
11418
|
+
* existing markdown file whose realpath is inside the operator's home
|
|
11419
|
+
* directory or a write root (registered project roots + OVERDECK_HOME), and
|
|
11420
|
+
* sets `writable` to whether it is inside a write root (PAN-4583). Writes
|
|
11421
|
+
* stay limited to the write roots — see WriteFileAtPathRpc.
|
|
9833
11422
|
*/
|
|
9834
11423
|
declare const ReadFileAtPathRpc: Rpc.Rpc<"pan.readFileAtPath", Schema.Struct<{
|
|
9835
11424
|
readonly path: Schema.String;
|
|
@@ -9837,7 +11426,8 @@ declare const ReadFileAtPathRpc: Rpc.Rpc<"pan.readFileAtPath", Schema.Struct<{
|
|
|
9837
11426
|
readonly text: Schema.String;
|
|
9838
11427
|
readonly lang: Schema.String;
|
|
9839
11428
|
readonly mtimeMs: Schema.Number;
|
|
9840
|
-
readonly totalLines: Schema.Number;
|
|
11429
|
+
readonly totalLines: Schema.Number; /** True when the resolved file is inside a registered project root or OVERDECK_HOME, so writeFileAtPath will accept it (PAN-4583). */
|
|
11430
|
+
readonly writable: Schema.Boolean;
|
|
9841
11431
|
}>, typeof PanRpcError, never, never>;
|
|
9842
11432
|
declare const WriteFileAtPathInput: Schema.Struct<{
|
|
9843
11433
|
readonly path: Schema.String;
|
|
@@ -9855,6 +11445,8 @@ type WriteFileAtPathResult = typeof WriteFileAtPathResult.Type;
|
|
|
9855
11445
|
* `expectedMtimeMs` enables optimistic concurrency: a stale value is
|
|
9856
11446
|
* rejected with a PanRpcError code of WRITE_CONFLICT and nothing is
|
|
9857
11447
|
* written. Omitting it (e.g. an explicit Overwrite action) skips the check.
|
|
11448
|
+
* The path must resolve inside a registered project root or OVERDECK_HOME;
|
|
11449
|
+
* anything else rejects with PATH_NOT_ALLOWED.
|
|
9858
11450
|
*/
|
|
9859
11451
|
declare const WriteFileAtPathRpc: Rpc.Rpc<"pan.writeFileAtPath", Schema.Struct<{
|
|
9860
11452
|
readonly path: Schema.String;
|
|
@@ -9931,7 +11523,12 @@ declare const ResizeTerminalRpc: Rpc.Rpc<"pan.resizeTerminal", Schema.Struct<{
|
|
|
9931
11523
|
/** 16. Subscribe to structured conversation messages from a JSONL session file (stream, PAN-451) */
|
|
9932
11524
|
declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversationMessages", Schema.Struct<{
|
|
9933
11525
|
readonly conversationName: Schema.String;
|
|
9934
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
11526
|
+
readonly agentId: Schema.optional<Schema.String>; /** PAN-4558: what the client already holds; the server sends only newer or newly settled rows. */
|
|
11527
|
+
readonly resume: Schema.optional<Schema.Struct<{
|
|
11528
|
+
readonly afterSequence: Schema.Number;
|
|
11529
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
11530
|
+
readonly transcript: Schema.String;
|
|
11531
|
+
}>>;
|
|
9935
11532
|
}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
|
|
9936
11533
|
readonly kind: Schema.Literal<"messages">;
|
|
9937
11534
|
readonly messages: Schema.$Array<Schema.Struct<{
|
|
@@ -9955,7 +11552,9 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9955
11552
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
9956
11553
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
9957
11554
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
9958
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
11555
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
11556
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
11557
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
9959
11558
|
}>>;
|
|
9960
11559
|
readonly streaming: Schema.Boolean;
|
|
9961
11560
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -9994,7 +11593,12 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9994
11593
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
9995
11594
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
9996
11595
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
9997
|
-
}>>>;
|
|
11596
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
11597
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
11598
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
11599
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
11600
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
11601
|
+
}>>;
|
|
9998
11602
|
}>, Schema.Struct<{
|
|
9999
11603
|
readonly kind: Schema.Literal<"discovering">;
|
|
10000
11604
|
}>, Schema.Struct<{
|
|
@@ -10541,7 +12145,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10541
12145
|
readonly generatedAt: Schema.String;
|
|
10542
12146
|
readonly login: Schema.NullOr<Schema.String>;
|
|
10543
12147
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
10544
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
12148
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
10545
12149
|
readonly graphql: Schema.Struct<{
|
|
10546
12150
|
readonly points: Schema.Number;
|
|
10547
12151
|
readonly calls: Schema.Number;
|
|
@@ -10564,7 +12168,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10564
12168
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
10565
12169
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
10566
12170
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
10567
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
12171
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
10568
12172
|
readonly since: Schema.String;
|
|
10569
12173
|
readonly until: Schema.String;
|
|
10570
12174
|
}>>;
|
|
@@ -10662,7 +12266,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10662
12266
|
readonly needsAnswer: Schema.Boolean;
|
|
10663
12267
|
readonly model: Schema.String;
|
|
10664
12268
|
}>>;
|
|
10665
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10666
12269
|
}>;
|
|
10667
12270
|
}>;
|
|
10668
12271
|
}>, Schema.Struct<{
|
|
@@ -10778,7 +12381,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10778
12381
|
readonly needsAnswer: Schema.Boolean;
|
|
10779
12382
|
readonly model: Schema.String;
|
|
10780
12383
|
}>>;
|
|
10781
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10782
12384
|
}>;
|
|
10783
12385
|
}>;
|
|
10784
12386
|
}>, Schema.Struct<{
|
|
@@ -11163,7 +12765,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11163
12765
|
readonly issueState: Schema.Struct<{
|
|
11164
12766
|
readonly issueId: Schema.String;
|
|
11165
12767
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
11166
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
12768
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
11167
12769
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
11168
12770
|
readonly url: Schema.String;
|
|
11169
12771
|
readonly number: Schema.Number;
|
|
@@ -11185,6 +12787,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11185
12787
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
11186
12788
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
11187
12789
|
}>>;
|
|
12790
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
12791
|
+
readonly prNumber: Schema.Number;
|
|
12792
|
+
readonly fix: Schema.String;
|
|
12793
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
12794
|
+
}>>;
|
|
11188
12795
|
}>;
|
|
11189
12796
|
}>;
|
|
11190
12797
|
}>, Schema.Struct<{
|
|
@@ -12056,7 +13663,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12056
13663
|
readonly generatedAt: Schema.String;
|
|
12057
13664
|
readonly login: Schema.NullOr<Schema.String>;
|
|
12058
13665
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
12059
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13666
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
12060
13667
|
readonly graphql: Schema.Struct<{
|
|
12061
13668
|
readonly points: Schema.Number;
|
|
12062
13669
|
readonly calls: Schema.Number;
|
|
@@ -12079,7 +13686,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12079
13686
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
12080
13687
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
12081
13688
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
12082
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13689
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
12083
13690
|
readonly since: Schema.String;
|
|
12084
13691
|
readonly until: Schema.String;
|
|
12085
13692
|
}>>;
|
|
@@ -12177,7 +13784,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12177
13784
|
readonly needsAnswer: Schema.Boolean;
|
|
12178
13785
|
readonly model: Schema.String;
|
|
12179
13786
|
}>>;
|
|
12180
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
12181
13787
|
}>;
|
|
12182
13788
|
}>;
|
|
12183
13789
|
}>, Schema.Struct<{
|
|
@@ -12293,7 +13899,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12293
13899
|
readonly needsAnswer: Schema.Boolean;
|
|
12294
13900
|
readonly model: Schema.String;
|
|
12295
13901
|
}>>;
|
|
12296
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
12297
13902
|
}>;
|
|
12298
13903
|
}>;
|
|
12299
13904
|
}>, Schema.Struct<{
|
|
@@ -12678,7 +14283,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12678
14283
|
readonly issueState: Schema.Struct<{
|
|
12679
14284
|
readonly issueId: Schema.String;
|
|
12680
14285
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
12681
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
14286
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
12682
14287
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
12683
14288
|
readonly url: Schema.String;
|
|
12684
14289
|
readonly number: Schema.Number;
|
|
@@ -12700,6 +14305,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12700
14305
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
12701
14306
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
12702
14307
|
}>>;
|
|
14308
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
14309
|
+
readonly prNumber: Schema.Number;
|
|
14310
|
+
readonly fix: Schema.String;
|
|
14311
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
14312
|
+
}>>;
|
|
12703
14313
|
}>;
|
|
12704
14314
|
}>;
|
|
12705
14315
|
}>, Schema.Struct<{
|
|
@@ -13572,13 +15182,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13572
15182
|
readonly needsAnswer: Schema.Boolean;
|
|
13573
15183
|
readonly model: Schema.String;
|
|
13574
15184
|
}>>;
|
|
13575
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13576
15185
|
}>>;
|
|
13577
15186
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
13578
15187
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
13579
15188
|
readonly issueId: Schema.String;
|
|
13580
15189
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
13581
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
15190
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
13582
15191
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
13583
15192
|
readonly url: Schema.String;
|
|
13584
15193
|
readonly number: Schema.Number;
|
|
@@ -13600,6 +15209,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13600
15209
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
13601
15210
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
13602
15211
|
}>>;
|
|
15212
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
15213
|
+
readonly prNumber: Schema.Number;
|
|
15214
|
+
readonly fix: Schema.String;
|
|
15215
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
15216
|
+
}>>;
|
|
13603
15217
|
}>>;
|
|
13604
15218
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
13605
15219
|
readonly id: Schema.String;
|
|
@@ -13730,7 +15344,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13730
15344
|
readonly generatedAt: Schema.String;
|
|
13731
15345
|
readonly login: Schema.NullOr<Schema.String>;
|
|
13732
15346
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
13733
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15347
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
13734
15348
|
readonly graphql: Schema.Struct<{
|
|
13735
15349
|
readonly points: Schema.Number;
|
|
13736
15350
|
readonly calls: Schema.Number;
|
|
@@ -13753,7 +15367,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13753
15367
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13754
15368
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13755
15369
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
13756
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15370
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
13757
15371
|
readonly since: Schema.String;
|
|
13758
15372
|
readonly until: Schema.String;
|
|
13759
15373
|
}>>;
|
|
@@ -13777,7 +15391,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13777
15391
|
readonly timestamp: Schema.String;
|
|
13778
15392
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
13779
15393
|
readonly fromSequence: Schema.Number;
|
|
13780
|
-
}>, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
15394
|
+
}>, Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
13781
15395
|
readonly type: Schema.Literal<"system.heartbeat">;
|
|
13782
15396
|
readonly timestamp: Schema.String;
|
|
13783
15397
|
readonly payload: Schema.Struct<{
|
|
@@ -13851,7 +15465,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13851
15465
|
readonly generatedAt: Schema.String;
|
|
13852
15466
|
readonly login: Schema.NullOr<Schema.String>;
|
|
13853
15467
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
13854
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15468
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
13855
15469
|
readonly graphql: Schema.Struct<{
|
|
13856
15470
|
readonly points: Schema.Number;
|
|
13857
15471
|
readonly calls: Schema.Number;
|
|
@@ -13874,7 +15488,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13874
15488
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13875
15489
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13876
15490
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
13877
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15491
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
13878
15492
|
readonly since: Schema.String;
|
|
13879
15493
|
readonly until: Schema.String;
|
|
13880
15494
|
}>>;
|
|
@@ -13972,7 +15586,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13972
15586
|
readonly needsAnswer: Schema.Boolean;
|
|
13973
15587
|
readonly model: Schema.String;
|
|
13974
15588
|
}>>;
|
|
13975
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13976
15589
|
}>;
|
|
13977
15590
|
}>;
|
|
13978
15591
|
}>, Schema.Struct<{
|
|
@@ -14088,7 +15701,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14088
15701
|
readonly needsAnswer: Schema.Boolean;
|
|
14089
15702
|
readonly model: Schema.String;
|
|
14090
15703
|
}>>;
|
|
14091
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
14092
15704
|
}>;
|
|
14093
15705
|
}>;
|
|
14094
15706
|
}>, Schema.Struct<{
|
|
@@ -14473,7 +16085,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14473
16085
|
readonly issueState: Schema.Struct<{
|
|
14474
16086
|
readonly issueId: Schema.String;
|
|
14475
16087
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
14476
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
16088
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
14477
16089
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
14478
16090
|
readonly url: Schema.String;
|
|
14479
16091
|
readonly number: Schema.Number;
|
|
@@ -14495,6 +16107,11 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14495
16107
|
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
14496
16108
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
14497
16109
|
}>>;
|
|
16110
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
16111
|
+
readonly prNumber: Schema.Number;
|
|
16112
|
+
readonly fix: Schema.String;
|
|
16113
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
16114
|
+
}>>;
|
|
14498
16115
|
}>;
|
|
14499
16116
|
}>;
|
|
14500
16117
|
}>, Schema.Struct<{
|
|
@@ -15290,7 +16907,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15290
16907
|
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
15291
16908
|
readonly agentId: Schema.optional<Schema.String>;
|
|
15292
16909
|
}>;
|
|
15293
|
-
}>]>>,
|
|
16910
|
+
}>]>>, Schema.Struct<{
|
|
16911
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
16912
|
+
}>]>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
15294
16913
|
readonly sessionName: Schema.String;
|
|
15295
16914
|
readonly cols: Schema.Number;
|
|
15296
16915
|
readonly rows: Schema.Number;
|
|
@@ -15321,7 +16940,8 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15321
16940
|
readonly text: Schema.String;
|
|
15322
16941
|
readonly lang: Schema.String;
|
|
15323
16942
|
readonly mtimeMs: Schema.Number;
|
|
15324
|
-
readonly totalLines: Schema.Number;
|
|
16943
|
+
readonly totalLines: Schema.Number; /** True when the resolved file is inside a registered project root or OVERDECK_HOME, so writeFileAtPath will accept it (PAN-4583). */
|
|
16944
|
+
readonly writable: Schema.Boolean;
|
|
15325
16945
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.writeFileAtPath", Schema.Struct<{
|
|
15326
16946
|
readonly path: Schema.String;
|
|
15327
16947
|
readonly content: Schema.String;
|
|
@@ -15358,7 +16978,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15358
16978
|
readonly rows: Schema.Number;
|
|
15359
16979
|
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.subscribeConversationMessages", Schema.Struct<{
|
|
15360
16980
|
readonly conversationName: Schema.String;
|
|
15361
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
16981
|
+
readonly agentId: Schema.optional<Schema.String>; /** PAN-4558: what the client already holds; the server sends only newer or newly settled rows. */
|
|
16982
|
+
readonly resume: Schema.optional<Schema.Struct<{
|
|
16983
|
+
readonly afterSequence: Schema.Number;
|
|
16984
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
16985
|
+
readonly transcript: Schema.String;
|
|
16986
|
+
}>>;
|
|
15362
16987
|
}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
|
|
15363
16988
|
readonly kind: Schema.Literal<"messages">;
|
|
15364
16989
|
readonly messages: Schema.$Array<Schema.Struct<{
|
|
@@ -15382,7 +17007,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15382
17007
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
15383
17008
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
15384
17009
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
15385
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
17010
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
17011
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
17012
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
15386
17013
|
}>>;
|
|
15387
17014
|
readonly streaming: Schema.Boolean;
|
|
15388
17015
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -15421,7 +17048,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15421
17048
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
15422
17049
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
15423
17050
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
15424
|
-
}>>>;
|
|
17051
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
17052
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
17053
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
17054
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
17055
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
17056
|
+
}>>;
|
|
15425
17057
|
}>, Schema.Struct<{
|
|
15426
17058
|
readonly kind: Schema.Literal<"discovering">;
|
|
15427
17059
|
}>, Schema.Struct<{
|
|
@@ -15879,7 +17511,7 @@ type PanRpcGroup = typeof PanRpcGroup;
|
|
|
15879
17511
|
declare const IssueState: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15880
17512
|
type IssueState = typeof IssueState.Type;
|
|
15881
17513
|
/** Something the operator has to look at. Orthogonal to `IssueState`. */
|
|
15882
|
-
declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>;
|
|
17514
|
+
declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>;
|
|
15883
17515
|
type IssueAttention = typeof IssueAttention.Type;
|
|
15884
17516
|
/** Latest review decision on the PR, as the forge reports it. */
|
|
15885
17517
|
declare const PrReviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
@@ -15913,11 +17545,18 @@ declare const DerivedWorkStart: Schema.Struct<{
|
|
|
15913
17545
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
15914
17546
|
}>;
|
|
15915
17547
|
type DerivedWorkStart = typeof DerivedWorkStart.Type;
|
|
17548
|
+
/** An open pull request the pipeline never picked up (PAN-4605). */
|
|
17549
|
+
declare const DerivedPrOutsidePipeline: Schema.Struct<{
|
|
17550
|
+
readonly prNumber: Schema.Number; /** One operator-facing paragraph naming the PR, the reason and the exact commands. */
|
|
17551
|
+
readonly fix: Schema.String; /** The other worktree that has the branch checked out, when that is the reason. */
|
|
17552
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
17553
|
+
}>;
|
|
17554
|
+
type DerivedPrOutsidePipeline = typeof DerivedPrOutsidePipeline.Type;
|
|
15916
17555
|
/** Everything the dashboard needs to render an issue's pipeline position. */
|
|
15917
17556
|
declare const DerivedIssueState: Schema.Struct<{
|
|
15918
17557
|
readonly issueId: Schema.String;
|
|
15919
17558
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15920
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
17559
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
15921
17560
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
15922
17561
|
readonly url: Schema.String;
|
|
15923
17562
|
readonly number: Schema.Number;
|
|
@@ -15943,6 +17582,11 @@ declare const DerivedIssueState: Schema.Struct<{
|
|
|
15943
17582
|
readonly error: Schema.optional<Schema.String>;
|
|
15944
17583
|
readonly nextRetryAt: Schema.optional<Schema.String>; /** The retry is journaled but not actually running because the Deacon is frozen (PAN-4210). Present only when true. */
|
|
15945
17584
|
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
17585
|
+
}>>; /** An outside PR the pipeline never picked up (PAN-4605). */
|
|
17586
|
+
readonly prOutsidePipeline: Schema.optional<Schema.Struct<{
|
|
17587
|
+
readonly prNumber: Schema.Number; /** One operator-facing paragraph naming the PR, the reason and the exact commands. */
|
|
17588
|
+
readonly fix: Schema.String; /** The other worktree that has the branch checked out, when that is the reason. */
|
|
17589
|
+
readonly worktreePath: Schema.optional<Schema.String>;
|
|
15946
17590
|
}>>;
|
|
15947
17591
|
}>;
|
|
15948
17592
|
type DerivedIssueState = typeof DerivedIssueState.Type;
|
|
@@ -15959,8 +17603,8 @@ declare function isIssueAttention(value: unknown): value is IssueAttention;
|
|
|
15959
17603
|
* `withGitHubCaller` context is recorded as `other` (or `app-rest` when it
|
|
15960
17604
|
* goes through the GitHub App REST door).
|
|
15961
17605
|
*/
|
|
15962
|
-
declare const GITHUB_QUOTA_CALLERS: readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"];
|
|
15963
|
-
declare const GitHubQuotaCaller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
17606
|
+
declare const GITHUB_QUOTA_CALLERS: readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"];
|
|
17607
|
+
declare const GitHubQuotaCaller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
15964
17608
|
type GitHubQuotaCaller = typeof GitHubQuotaCaller.Type;
|
|
15965
17609
|
/**
|
|
15966
17610
|
* Read-model pollers whose data can be stale for minutes without harm. Only
|
|
@@ -15992,7 +17636,7 @@ declare const GitHubQuotaUsage: Schema.Struct<{
|
|
|
15992
17636
|
type GitHubQuotaUsage = typeof GitHubQuotaUsage.Type;
|
|
15993
17637
|
/** One caller's metered usage over the last hour. */
|
|
15994
17638
|
declare const GitHubQuotaCallerUsage: Schema.Struct<{
|
|
15995
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
17639
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
15996
17640
|
readonly graphql: Schema.Struct<{
|
|
15997
17641
|
readonly points: Schema.Number;
|
|
15998
17642
|
readonly calls: Schema.Number;
|
|
@@ -16019,7 +17663,7 @@ declare const GitHubQuotaPause: Schema.Struct<{
|
|
|
16019
17663
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
16020
17664
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
16021
17665
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>; /** The caller whose refused call started the pause. */
|
|
16022
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>; /** ISO time the pause started. */
|
|
17666
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>; /** ISO time the pause started. */
|
|
16023
17667
|
readonly since: Schema.String; /** ISO time the pause ends. */
|
|
16024
17668
|
readonly until: Schema.String;
|
|
16025
17669
|
}>;
|
|
@@ -16033,7 +17677,7 @@ declare const GitHubQuotaSnapshot: Schema.Struct<{
|
|
|
16033
17677
|
/** ISO time the snapshot was built. */readonly generatedAt: Schema.String; /** The `gh` account login. Local display only; never sent to telemetry. */
|
|
16034
17678
|
readonly login: Schema.NullOr<Schema.String>; /** Per-caller usage in the last hour, highest total points first. */
|
|
16035
17679
|
readonly callers: Schema.$Array<Schema.Struct<{
|
|
16036
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
17680
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>;
|
|
16037
17681
|
readonly graphql: Schema.Struct<{
|
|
16038
17682
|
readonly points: Schema.Number;
|
|
16039
17683
|
readonly calls: Schema.Number;
|
|
@@ -16056,7 +17700,7 @@ declare const GitHubQuotaSnapshot: Schema.Struct<{
|
|
|
16056
17700
|
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
16057
17701
|
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
16058
17702
|
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>; /** The caller whose refused call started the pause. */
|
|
16059
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>; /** ISO time the pause started. */
|
|
17703
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "pr-adoption", "other"]>; /** ISO time the pause started. */
|
|
16060
17704
|
readonly since: Schema.String; /** ISO time the pause ends. */
|
|
16061
17705
|
readonly until: Schema.String;
|
|
16062
17706
|
}>>; /** True when this machine's own metered usage cannot explain a primary limit. */
|
|
@@ -16894,7 +18538,7 @@ declare const FlywheelInFlightRow: Schema.Struct<{
|
|
|
16894
18538
|
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16895
18539
|
readonly title: Schema.NullOr<Schema.String>;
|
|
16896
18540
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
16897
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
18541
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
16898
18542
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
16899
18543
|
readonly url: Schema.String;
|
|
16900
18544
|
readonly number: Schema.Number;
|
|
@@ -16951,7 +18595,7 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
|
16951
18595
|
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16952
18596
|
readonly title: Schema.NullOr<Schema.String>;
|
|
16953
18597
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
16954
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
18598
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started", "pr-outside-pipeline"]>>;
|
|
16955
18599
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
16956
18600
|
readonly url: Schema.String;
|
|
16957
18601
|
readonly number: Schema.Number;
|
|
@@ -17030,7 +18674,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
17030
18674
|
readonly type: string;
|
|
17031
18675
|
readonly source?: string | undefined;
|
|
17032
18676
|
} | null;
|
|
17033
|
-
readonly attention?: "stuck" | "needs-you" | "api-error" | "work-not-started" | undefined;
|
|
18677
|
+
readonly attention?: "stuck" | "needs-you" | "api-error" | "work-not-started" | "pr-outside-pipeline" | undefined;
|
|
17034
18678
|
readonly pr?: {
|
|
17035
18679
|
readonly url: string;
|
|
17036
18680
|
readonly number: number;
|
|
@@ -17892,6 +19536,58 @@ interface FeatureRegistryOwnershipUpdate {
|
|
|
17892
19536
|
now?: string;
|
|
17893
19537
|
}
|
|
17894
19538
|
//#endregion
|
|
19539
|
+
//#region src/harness-capabilities.d.ts
|
|
19540
|
+
/** How the launcher delivers Overdeck's context layer to the harness (recorded in the context receipt). */
|
|
19541
|
+
type HarnessContextChannel = "append-system-prompt-file" | "append-system-prompt" | "developer_instructions" | "initial-message-envelope" | "acp-initial-context" | "prime-agent-append-system-prompt";
|
|
19542
|
+
type HarnessAttachmentDelivery = "native" | "inline-paths";
|
|
19543
|
+
type HarnessBinaryConfigKey = "acp.kimi.binaryPath" | "kimiCode.binaryPath";
|
|
19544
|
+
type HarnessLaunchPreflight = "claude-code-model-minimum";
|
|
19545
|
+
/** claude-project-hash = resolve via HashResolver; agent-dir = first-message cwd, else the agent dir; first-message-only = first-message cwd, else null. */
|
|
19546
|
+
type HarnessWorkspaceResolution = "claude-project-hash" | "agent-dir" | "first-message-only";
|
|
19547
|
+
interface HarnessCapabilities {
|
|
19548
|
+
/** Channel the launcher delivers the context layer through. */
|
|
19549
|
+
readonly contextChannel: HarnessContextChannel;
|
|
19550
|
+
/** A conversation start fails unless the initial prompt is confirmed delivered. */
|
|
19551
|
+
readonly initialPromptMustLand: boolean;
|
|
19552
|
+
/** A failed conversation start stops the runtime it launched. */
|
|
19553
|
+
readonly stopRuntimeOnStartFailure: boolean;
|
|
19554
|
+
/** A resume fails unless the resume contract message is confirmed delivered. */
|
|
19555
|
+
readonly resumeContractMustLand: boolean;
|
|
19556
|
+
/** Stopping a conversation also reaps the harness's private daemon. */
|
|
19557
|
+
readonly reapsPrivateDaemonOnStop: boolean;
|
|
19558
|
+
/** native = the harness takes attachments itself; inline-paths = attachment paths are inlined into the message. */
|
|
19559
|
+
readonly attachmentDelivery: HarnessAttachmentDelivery;
|
|
19560
|
+
/** The harness has a native manual /compact command. */
|
|
19561
|
+
readonly nativeManualCompact: boolean;
|
|
19562
|
+
/** Message sends check the pane for a pending input prompt before pasting. */
|
|
19563
|
+
readonly paneInputGuard: boolean;
|
|
19564
|
+
/** Message delivery is confirmed by reading the transcript for the sent turn. */
|
|
19565
|
+
readonly transcriptDeliveryReceipt: boolean;
|
|
19566
|
+
/** The launch host accepts an effort flag for the harness. */
|
|
19567
|
+
readonly hostEffortFlag: boolean;
|
|
19568
|
+
/** Human label used in binary-resolution messages. */
|
|
19569
|
+
readonly binaryLabel: string;
|
|
19570
|
+
/** Install command shown when the binary is missing, or null for none. */
|
|
19571
|
+
readonly installHint: string | null;
|
|
19572
|
+
/** Config key holding an operator-configured binary path, or null for none. */
|
|
19573
|
+
readonly binaryConfigKey: HarnessBinaryConfigKey | null;
|
|
19574
|
+
/** Preflight check run before a launch, or null for none. */
|
|
19575
|
+
readonly launchPreflight: HarnessLaunchPreflight | null;
|
|
19576
|
+
/** How the conversation scanner resolves a transcript's workspace. */
|
|
19577
|
+
readonly workspaceResolution: HarnessWorkspaceResolution;
|
|
19578
|
+
/** The conversation scanner correlates transcripts to agents by session id. */
|
|
19579
|
+
readonly correlatesBySessionId: boolean;
|
|
19580
|
+
}
|
|
19581
|
+
declare const HARNESS_CAPABILITY_KEYS: readonly ["contextChannel", "initialPromptMustLand", "stopRuntimeOnStartFailure", "resumeContractMustLand", "reapsPrivateDaemonOnStop", "attachmentDelivery", "nativeManualCompact", "paneInputGuard", "transcriptDeliveryReceipt", "hostEffortFlag", "binaryLabel", "installHint", "binaryConfigKey", "launchPreflight", "workspaceResolution", "correlatesBySessionId"];
|
|
19582
|
+
declare const CLAUDE_CODE_CAPABILITIES: HarnessCapabilities;
|
|
19583
|
+
declare const OHMYPI_CAPABILITIES: HarnessCapabilities;
|
|
19584
|
+
declare const CODEX_CAPABILITIES: HarnessCapabilities;
|
|
19585
|
+
declare const ACP_CAPABILITIES: HarnessCapabilities;
|
|
19586
|
+
declare const KIMI_CODE_CAPABILITIES: HarnessCapabilities;
|
|
19587
|
+
declare const OPENCODE_CAPABILITIES: HarnessCapabilities;
|
|
19588
|
+
declare const MUSE_CAPABILITIES: HarnessCapabilities;
|
|
19589
|
+
declare const PRIME_AGENT_CAPABILITIES: HarnessCapabilities;
|
|
19590
|
+
//#endregion
|
|
17895
19591
|
//#region src/harness-behavior.d.ts
|
|
17896
19592
|
type RuntimeName = Harness;
|
|
17897
19593
|
type HarnessName = RuntimeName | "pi";
|
|
@@ -17936,6 +19632,8 @@ interface HarnessBehavior {
|
|
|
17936
19632
|
readonly steerKind: HarnessSteerKind;
|
|
17937
19633
|
/** Effort levels this harness accepts, when narrower than the full {@link EFFORT_LEVELS} set. Undefined = no known restriction. */
|
|
17938
19634
|
readonly effortLevels?: readonly EffortLevel[];
|
|
19635
|
+
/** Declared behavior decisions consumers read instead of comparing harness names (PAN-4562). */
|
|
19636
|
+
readonly capabilities: HarnessCapabilities;
|
|
17939
19637
|
}
|
|
17940
19638
|
declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
|
|
17941
19639
|
declare const OHMYPI_BEHAVIOR: HarnessBehavior;
|
|
@@ -17945,6 +19643,10 @@ declare const KIMI_CODE_BEHAVIOR: HarnessBehavior;
|
|
|
17945
19643
|
declare const OPENCODE_BEHAVIOR: HarnessBehavior;
|
|
17946
19644
|
declare const MUSE_BEHAVIOR: HarnessBehavior;
|
|
17947
19645
|
declare const PRIME_AGENT_BEHAVIOR: HarnessBehavior;
|
|
19646
|
+
/** True for the legacy stored harness alias `pi` (PAN-1989), which now means ohmypi. */
|
|
19647
|
+
declare function isLegacyPiHarnessName(raw: unknown): boolean;
|
|
19648
|
+
/** Map a stored or requested harness string to a RuntimeName; legacy `pi` → `ohmypi`; anything else → null. */
|
|
19649
|
+
declare function normalizeHarnessName(raw: unknown): RuntimeName | null;
|
|
17948
19650
|
declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
|
|
17949
19651
|
declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
|
|
17950
19652
|
//#endregion
|
|
@@ -18405,7 +20107,7 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
|
|
|
18405
20107
|
readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
|
|
18406
20108
|
readonly forge: readonly ["github", "gitlab"];
|
|
18407
20109
|
readonly fork_kind: readonly ["summary", "handoff", "plain"];
|
|
18408
|
-
readonly github_caller: readonly ["pipeline_membership", "pr_cache", "pr_sync", "ci_repair", "issue_poller", "close_out", "tracker_client", "app_rest", "quota_sampler", "agent", "other"];
|
|
20110
|
+
readonly github_caller: readonly ["pipeline_membership", "pr_cache", "pr_sync", "ci_repair", "issue_poller", "close_out", "tracker_client", "app_rest", "quota_sampler", "agent", "pr_adoption", "other"];
|
|
18409
20111
|
readonly harness: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"];
|
|
18410
20112
|
readonly merge_kind: readonly ["pipeline"];
|
|
18411
20113
|
readonly model_family: readonly ["claude", "gpt", "gemini", "kimi", "minimax", "glm", "mimo", "other"];
|
|
@@ -18448,6 +20150,7 @@ declare const TELEMETRY_EVENT_CATALOG: {
|
|
|
18448
20150
|
readonly fork_mode: "fork_kind";
|
|
18449
20151
|
readonly fast_summary: "boolean";
|
|
18450
20152
|
readonly launch_harness: "harness";
|
|
20153
|
+
readonly fresh_start: "boolean";
|
|
18451
20154
|
};
|
|
18452
20155
|
readonly plan_approved: {
|
|
18453
20156
|
readonly subject_kind: "decision_subject";
|
|
@@ -19277,6 +20980,51 @@ interface LaneActivityInput {
|
|
|
19277
20980
|
/** D10, first match wins. */
|
|
19278
20981
|
declare function laneActivityOf(row: LaneActivityInput, now: number): LaneActivity;
|
|
19279
20982
|
//#endregion
|
|
20983
|
+
//#region src/conversation-window.d.ts
|
|
20984
|
+
/**
|
|
20985
|
+
* Conversation window contract shared by the dashboard server and the
|
|
20986
|
+
* frontend (PAN-4558). A cold open carries only the newest slice of a
|
|
20987
|
+
* transcript; older history is paged in by cursor. The constants bound every
|
|
20988
|
+
* open, and the timeline key gives entries one total order on both sides.
|
|
20989
|
+
*/
|
|
20990
|
+
/** Most timeline rows a window or page carries. */
|
|
20991
|
+
declare const CONVERSATION_WINDOW_MAX_ROWS = 75;
|
|
20992
|
+
/** Most encoded entry bytes a window carries (960 KiB, leaving 64 KiB for metadata). */
|
|
20993
|
+
declare const CONVERSATION_WINDOW_MAX_BYTES = 983040;
|
|
20994
|
+
/** Whole-payload ceiling for an initial HTTP body or first WS event. */
|
|
20995
|
+
declare const CONVERSATION_PAYLOAD_BUDGET_BYTES = 1048576;
|
|
20996
|
+
/** Default `limit` for a paged read. */
|
|
20997
|
+
declare const CONVERSATION_PAGE_DEFAULT_LIMIT = 75;
|
|
20998
|
+
/** Largest `limit` a paged read accepts; larger values clamp to it. */
|
|
20999
|
+
declare const CONVERSATION_PAGE_MAX_LIMIT = 200;
|
|
21000
|
+
/** A tool `result` (or `detail`/`toolInput` string) above this many UTF-8 bytes leaves the wire. */
|
|
21001
|
+
declare const TOOL_BODY_INLINE_MAX_BYTES = 4096;
|
|
21002
|
+
/** Characters kept from an oversized `detail`/`toolInput` string. */
|
|
21003
|
+
declare const TOOL_BODY_PREVIEW_CHARS = 512;
|
|
21004
|
+
/** Most open entry ids a resume may name. */
|
|
21005
|
+
declare const RESUME_OPEN_IDS_MAX = 200;
|
|
21006
|
+
/** Most open tool calls pinned into a window beyond its contiguous slice. */
|
|
21007
|
+
declare const WINDOW_PINNED_OPEN_TOOLS_MAX = 10;
|
|
21008
|
+
/** `[createdAt, sequence ?? 0, kindRank, id]`; kindRank is 0 for a message, 1 for a work entry. */
|
|
21009
|
+
type TimelineKey = readonly [createdAt: string, sequence: number, kindRank: 0 | 1, id: string];
|
|
21010
|
+
interface TimelineEntryLike {
|
|
21011
|
+
createdAt: string;
|
|
21012
|
+
sequence?: number;
|
|
21013
|
+
id: string;
|
|
21014
|
+
}
|
|
21015
|
+
declare function timelineKeyOfMessage(m: TimelineEntryLike): TimelineKey;
|
|
21016
|
+
declare function timelineKeyOfWork(e: TimelineEntryLike): TimelineKey;
|
|
21017
|
+
/** Total order: createdAt (string compare), then sequence, then message before work, then id. */
|
|
21018
|
+
declare function compareTimelineKeys(a: TimelineKey, b: TimelineKey): number;
|
|
21019
|
+
declare function encodeTimelineCursor(key: TimelineKey): string;
|
|
21020
|
+
/** Returns null for anything that is not an encoded 4-tuple of string, finite number, 0|1, string. */
|
|
21021
|
+
declare function decodeTimelineCursor(cursor: string): TimelineKey | null;
|
|
21022
|
+
/** A tool entry has a result when it carries one inline or the wire projection elided it. */
|
|
21023
|
+
declare function hasToolResult(e: {
|
|
21024
|
+
result?: string;
|
|
21025
|
+
resultBytes?: number;
|
|
21026
|
+
}): boolean;
|
|
21027
|
+
//#endregion
|
|
19280
21028
|
//#region src/environment.d.ts
|
|
19281
21029
|
/** Wire protocol version a client and server must agree on. */
|
|
19282
21030
|
declare const ENVIRONMENT_PROTOCOL_VERSION = 1;
|
|
@@ -19463,5 +21211,5 @@ type ServiceToViewerFrame = {
|
|
|
19463
21211
|
/** WebSocket close codes the share service uses. */
|
|
19464
21212
|
type ShareCloseCode = 1000 | 4001 | 4003 | 4004 | 4008 | 4009 | 4010 | 4011 | 4013;
|
|
19465
21213
|
//#endregion
|
|
19466
|
-
export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, CreateRoomRequest, CreateRoomResponse, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RuntimeName, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareErrorCode, ShareIdentity, ShareProtocolVersion, ShareScope, ShellOpenInEditorRpc, SignalData, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
21214
|
+
export { ACP_BEHAVIOR, ACP_CAPABILITIES, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, CreateRoomRequest, CreateRoomResponse, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrOutsidePipeline, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, Harness, HarnessAttachmentDelivery, HarnessBehavior, HarnessBinaryConfigKey, HarnessCapabilities, HarnessContextChannel, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessLaunchPreflight, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HarnessWorkspaceResolution, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MUSE_CAPABILITIES, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RESUME_OPEN_IDS_MAX, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RuntimeName, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareErrorCode, ShareIdentity, ShareProtocolVersion, ShareScope, ShellOpenInEditorRpc, SignalData, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TimelineKey, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WINDOW_PINNED_OPEN_TOOLS_MAX, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, encodeFlywheelStats, encodeTimelineCursor, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isLegacyPiHarnessName, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, normalizeHarnessName, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
19467
21215
|
//# sourceMappingURL=index.d.ts.map
|