@overdeck/contracts 0.61.0 → 0.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +439 -95
- package/dist/index.d.ts +773 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +418 -96
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import * as _$effect_SchemaAST0 from "effect/SchemaAST";
|
|
|
9
9
|
declare const IssueId: Schema.String;
|
|
10
10
|
type IssueId = typeof IssueId.Type;
|
|
11
11
|
type PipelineBucket = "in_flight" | "zombie_pr" | "post_merge_limbo" | "planned_backlog" | "clean_terminal";
|
|
12
|
-
declare const MEMBERSHIP_UNAVAILABLE_REASONS: readonly ["missing_issue_prefix", "repo_unavailable", "default_branch_unresolved", "forge_unavailable", "tracker_unconfigured", "gather_failed"];
|
|
12
|
+
declare const MEMBERSHIP_UNAVAILABLE_REASONS: readonly ["missing_issue_prefix", "repo_unavailable", "default_branch_unresolved", "forge_unavailable", "forge_transient", "tracker_unconfigured", "gather_failed"];
|
|
13
13
|
type MembershipUnavailableReason = typeof MEMBERSHIP_UNAVAILABLE_REASONS[number];
|
|
14
14
|
interface PipelineMembershipUnavailableBody {
|
|
15
15
|
status: "unavailable";
|
|
@@ -17,6 +17,19 @@ interface PipelineMembershipUnavailableBody {
|
|
|
17
17
|
message: string;
|
|
18
18
|
projectKey: string;
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* PAN-3527 — the membership snapshot has not been gathered yet (a freshly
|
|
22
|
+
* restarted server warming its cache). Sent with HTTP 503 and a `Retry-After`
|
|
23
|
+
* header. Unlike `PipelineMembershipUnavailableBody` (a settled answer about
|
|
24
|
+
* the project), this is a temporary state: callers retry it.
|
|
25
|
+
*/
|
|
26
|
+
declare const PIPELINE_MEMBERSHIP_LOADING_CODE: "snapshot_loading";
|
|
27
|
+
interface PipelineMembershipLoadingBody {
|
|
28
|
+
status: "loading";
|
|
29
|
+
code: typeof PIPELINE_MEMBERSHIP_LOADING_CODE;
|
|
30
|
+
error: string;
|
|
31
|
+
projectKey: string;
|
|
32
|
+
}
|
|
20
33
|
/** Server-computed pipeline membership attached to dashboard issue DTOs. */
|
|
21
34
|
interface IssuePipelineMembership {
|
|
22
35
|
available?: boolean;
|
|
@@ -153,7 +166,12 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
153
166
|
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
154
167
|
readonly phase: Schema.optional<Schema.String>;
|
|
155
168
|
readonly workType: Schema.optional<Schema.String>;
|
|
156
|
-
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
169
|
+
readonly roleRunHead: Schema.optional<Schema.String>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
170
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
171
|
+
/**
|
|
172
|
+
* @deprecated Misnamed alias of `hasLivePane`: true for a live pane on either
|
|
173
|
+
* backend, not only a tmux session. Still populated for compatibility (#4105).
|
|
174
|
+
*/
|
|
157
175
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
158
176
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
159
177
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -280,6 +298,32 @@ declare const ProjectCiSnapshot: Schema.Struct<{
|
|
|
280
298
|
readonly updatedAt: Schema.String;
|
|
281
299
|
}>;
|
|
282
300
|
type ProjectCiSnapshot = typeof ProjectCiSnapshot.Type;
|
|
301
|
+
/**
|
|
302
|
+
* Where an in-flight dashboard self-deploy (`pan reload`) stands.
|
|
303
|
+
*
|
|
304
|
+
* `building` the reload holds the restart lock and is building from origin/main;
|
|
305
|
+
* `awaiting-approval` the build is ready and the reload waits on the restart gate;
|
|
306
|
+
* `restarting` the operator approved and the old dashboard is being replaced;
|
|
307
|
+
* `failed` the last reload recorded a failure (visible for a short window).
|
|
308
|
+
*/
|
|
309
|
+
declare const ProjectDeployPhase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
310
|
+
type ProjectDeployPhase = typeof ProjectDeployPhase.Type;
|
|
311
|
+
/**
|
|
312
|
+
* One project's deploy, derived on the server from live runtime files: the
|
|
313
|
+
* restart lock, the restart gate, the restart-status journal and the reload
|
|
314
|
+
* process's own stdout. Nothing here is stored; a server restart re-derives it.
|
|
315
|
+
*/
|
|
316
|
+
declare const ProjectDeploySnapshot: Schema.Struct<{
|
|
317
|
+
readonly projectKey: Schema.String;
|
|
318
|
+
readonly trigger: Schema.String;
|
|
319
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>; /** The deploying process, while it is alive. */
|
|
320
|
+
readonly pid: Schema.optional<Schema.Number>; /** When the server first observed this deploy (for `failed`, when it failed). */
|
|
321
|
+
readonly startedAt: Schema.String;
|
|
322
|
+
readonly error: Schema.optional<Schema.String>; /** The reload's output file, when its stdout is a regular file. */
|
|
323
|
+
readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
|
|
324
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
325
|
+
}>;
|
|
326
|
+
type ProjectDeploySnapshot = typeof ProjectDeploySnapshot.Type;
|
|
283
327
|
/** What kind of process asked for the voluntary dashboard restart. */
|
|
284
328
|
declare const RestartGateKind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
285
329
|
type RestartGateKind = typeof RestartGateKind.Type;
|
|
@@ -351,7 +395,12 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
351
395
|
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
352
396
|
readonly phase: Schema.optional<Schema.String>;
|
|
353
397
|
readonly workType: Schema.optional<Schema.String>;
|
|
354
|
-
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
398
|
+
readonly roleRunHead: Schema.optional<Schema.String>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
399
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
400
|
+
/**
|
|
401
|
+
* @deprecated Misnamed alias of `hasLivePane`: true for a live pane on either
|
|
402
|
+
* backend, not only a tmux session. Still populated for compatibility (#4105).
|
|
403
|
+
*/
|
|
355
404
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
356
405
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
357
406
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -416,7 +465,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
416
465
|
readonly id: Schema.String;
|
|
417
466
|
readonly agentId: Schema.optional<Schema.String>;
|
|
418
467
|
readonly issue: Schema.optional<Schema.String>;
|
|
419
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
468
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
420
469
|
readonly harness: Schema.String;
|
|
421
470
|
readonly model: Schema.String;
|
|
422
471
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -535,7 +584,17 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
535
584
|
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
536
585
|
readonly at: Schema.String;
|
|
537
586
|
}>>;
|
|
538
|
-
}>>;
|
|
587
|
+
}>>; /** PAN-3751 — in-flight deploys keyed by project key. */
|
|
588
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
589
|
+
readonly projectKey: Schema.String;
|
|
590
|
+
readonly trigger: Schema.String;
|
|
591
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>; /** The deploying process, while it is alive. */
|
|
592
|
+
readonly pid: Schema.optional<Schema.Number>; /** When the server first observed this deploy (for `failed`, when it failed). */
|
|
593
|
+
readonly startedAt: Schema.String;
|
|
594
|
+
readonly error: Schema.optional<Schema.String>; /** The reload's output file, when its stdout is a regular file. */
|
|
595
|
+
readonly logPath: Schema.optional<Schema.String>; /** Last lines of `logPath`. */
|
|
596
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
597
|
+
}>>>;
|
|
539
598
|
readonly timestamp: Schema.String;
|
|
540
599
|
}>;
|
|
541
600
|
type DashboardSnapshot = typeof DashboardSnapshot.Type;
|
|
@@ -1034,6 +1093,32 @@ declare const RestartGateChangedEvent: Schema.Struct<{
|
|
|
1034
1093
|
}>;
|
|
1035
1094
|
}>;
|
|
1036
1095
|
type RestartGateChangedEvent = typeof RestartGateChangedEvent.Type;
|
|
1096
|
+
/**
|
|
1097
|
+
* The set of in-flight project deploys changed (PAN-3751).
|
|
1098
|
+
*
|
|
1099
|
+
* The payload is the COMPLETE projection keyed by project key, so the reducer
|
|
1100
|
+
* is a plain replace. The server derives it from runtime files (restart lock,
|
|
1101
|
+
* restart gate, restart-status journal) and emits it in-memory only, like
|
|
1102
|
+
* `restart_gate.changed`: it is never persisted and never replayed at boot.
|
|
1103
|
+
*/
|
|
1104
|
+
declare const ProjectDeployChangedEvent: Schema.Struct<{
|
|
1105
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
1106
|
+
readonly sequence: Schema.Number;
|
|
1107
|
+
readonly timestamp: Schema.String;
|
|
1108
|
+
readonly payload: Schema.Struct<{
|
|
1109
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
1110
|
+
readonly projectKey: Schema.String;
|
|
1111
|
+
readonly trigger: Schema.String;
|
|
1112
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
1113
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
1114
|
+
readonly startedAt: Schema.String;
|
|
1115
|
+
readonly error: Schema.optional<Schema.String>;
|
|
1116
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
1117
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1118
|
+
}>>;
|
|
1119
|
+
}>;
|
|
1120
|
+
}>;
|
|
1121
|
+
type ProjectDeployChangedEvent = typeof ProjectDeployChangedEvent.Type;
|
|
1037
1122
|
/** Replaces socket.io `agents:changed` (event: 'started') */
|
|
1038
1123
|
declare const AgentStartedEvent: Schema.Struct<{
|
|
1039
1124
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -1060,6 +1145,7 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1060
1145
|
readonly phase: Schema.optional<Schema.String>;
|
|
1061
1146
|
readonly workType: Schema.optional<Schema.String>;
|
|
1062
1147
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
1148
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
1063
1149
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1064
1150
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1065
1151
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -1186,7 +1272,8 @@ declare const AgentStatusChangedEvent: Schema.Struct<{
|
|
|
1186
1272
|
readonly issueId: Schema.optional<Schema.String>;
|
|
1187
1273
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
1188
1274
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
1189
|
-
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
1275
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
1276
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane`, kept for events written before it existed (#4105). */
|
|
1190
1277
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1191
1278
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1192
1279
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -1305,6 +1392,7 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1305
1392
|
readonly phase: Schema.optional<Schema.String>;
|
|
1306
1393
|
readonly workType: Schema.optional<Schema.String>;
|
|
1307
1394
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
1395
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
1308
1396
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
1309
1397
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
1310
1398
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -1707,7 +1795,7 @@ declare const BackendPaneChangedEvent: Schema.Struct<{
|
|
|
1707
1795
|
readonly id: Schema.String;
|
|
1708
1796
|
readonly agentId: Schema.optional<Schema.String>;
|
|
1709
1797
|
readonly issue: Schema.optional<Schema.String>;
|
|
1710
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
1798
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
1711
1799
|
readonly harness: Schema.String;
|
|
1712
1800
|
readonly model: Schema.String;
|
|
1713
1801
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -2535,6 +2623,44 @@ declare const ConversationTitleChangedEvent: Schema.Struct<{
|
|
|
2535
2623
|
}>;
|
|
2536
2624
|
}>;
|
|
2537
2625
|
type ConversationTitleChangedEvent = typeof ConversationTitleChangedEvent.Type;
|
|
2626
|
+
/** Emitted (in-memory only) when a conversation's pull-request links or their
|
|
2627
|
+
* snapshots change (PAN-3822), so the list and open panel refresh the badge. */
|
|
2628
|
+
declare const ConversationPullRequestsChangedEvent: Schema.Struct<{
|
|
2629
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
2630
|
+
readonly sequence: Schema.Number;
|
|
2631
|
+
readonly timestamp: Schema.String;
|
|
2632
|
+
readonly payload: Schema.Struct<{
|
|
2633
|
+
readonly conversationName: Schema.String;
|
|
2634
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
2635
|
+
readonly url: Schema.String;
|
|
2636
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
2637
|
+
readonly linkedAt: Schema.String;
|
|
2638
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
2639
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
2640
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
2641
|
+
readonly isDraft: Schema.Boolean;
|
|
2642
|
+
readonly title: Schema.String;
|
|
2643
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
2644
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
2645
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
2646
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
2647
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
2648
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
2649
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
2650
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
2651
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
2652
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
2653
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
2654
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
2655
|
+
readonly syncedAt: Schema.String;
|
|
2656
|
+
}>>;
|
|
2657
|
+
readonly host: Schema.String;
|
|
2658
|
+
readonly repository: Schema.String;
|
|
2659
|
+
readonly number: Schema.Number;
|
|
2660
|
+
}>>;
|
|
2661
|
+
}>;
|
|
2662
|
+
}>;
|
|
2663
|
+
type ConversationPullRequestsChangedEvent = typeof ConversationPullRequestsChangedEvent.Type;
|
|
2538
2664
|
/** Emitted (in-memory only) when a PermissionRequest hook fires or resolves for a conversation. */
|
|
2539
2665
|
declare const ConversationPermissionChangedEvent: Schema.Struct<{
|
|
2540
2666
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
@@ -2735,6 +2861,22 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2735
2861
|
readonly at: Schema.String;
|
|
2736
2862
|
}>>;
|
|
2737
2863
|
}>;
|
|
2864
|
+
}>, Schema.Struct<{
|
|
2865
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
2866
|
+
readonly sequence: Schema.Number;
|
|
2867
|
+
readonly timestamp: Schema.String;
|
|
2868
|
+
readonly payload: Schema.Struct<{
|
|
2869
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
2870
|
+
readonly projectKey: Schema.String;
|
|
2871
|
+
readonly trigger: Schema.String;
|
|
2872
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
2873
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
2874
|
+
readonly startedAt: Schema.String;
|
|
2875
|
+
readonly error: Schema.optional<Schema.String>;
|
|
2876
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
2877
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
2878
|
+
}>>;
|
|
2879
|
+
}>;
|
|
2738
2880
|
}>, Schema.Struct<{
|
|
2739
2881
|
readonly type: Schema.Literal<"agent.created">;
|
|
2740
2882
|
readonly sequence: Schema.Number;
|
|
@@ -2760,6 +2902,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2760
2902
|
readonly phase: Schema.optional<Schema.String>;
|
|
2761
2903
|
readonly workType: Schema.optional<Schema.String>;
|
|
2762
2904
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
2905
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
2763
2906
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2764
2907
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2765
2908
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -2863,6 +3006,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2863
3006
|
readonly phase: Schema.optional<Schema.String>;
|
|
2864
3007
|
readonly workType: Schema.optional<Schema.String>;
|
|
2865
3008
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
3009
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
2866
3010
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2867
3011
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2868
3012
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -2969,7 +3113,8 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2969
3113
|
readonly issueId: Schema.optional<Schema.String>;
|
|
2970
3114
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
2971
3115
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
2972
|
-
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
3116
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>; /** The agent has a live pane on its terminal backend (Herdr or tmux). */
|
|
3117
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane`, kept for events written before it existed (#4105). */
|
|
2973
3118
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
2974
3119
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
2975
3120
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -3309,7 +3454,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3309
3454
|
readonly id: Schema.String;
|
|
3310
3455
|
readonly agentId: Schema.optional<Schema.String>;
|
|
3311
3456
|
readonly issue: Schema.optional<Schema.String>;
|
|
3312
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
3457
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
3313
3458
|
readonly harness: Schema.String;
|
|
3314
3459
|
readonly model: Schema.String;
|
|
3315
3460
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -3956,6 +4101,40 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3956
4101
|
readonly title: Schema.String;
|
|
3957
4102
|
readonly titleSource: Schema.String;
|
|
3958
4103
|
}>;
|
|
4104
|
+
}>, Schema.Struct<{
|
|
4105
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
4106
|
+
readonly sequence: Schema.Number;
|
|
4107
|
+
readonly timestamp: Schema.String;
|
|
4108
|
+
readonly payload: Schema.Struct<{
|
|
4109
|
+
readonly conversationName: Schema.String;
|
|
4110
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
4111
|
+
readonly url: Schema.String;
|
|
4112
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
4113
|
+
readonly linkedAt: Schema.String;
|
|
4114
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
4115
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
4116
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
4117
|
+
readonly isDraft: Schema.Boolean;
|
|
4118
|
+
readonly title: Schema.String;
|
|
4119
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
4120
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
4121
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
4122
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
4123
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
4124
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
4125
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
4126
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
4127
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
4128
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
4129
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
4130
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
4131
|
+
readonly syncedAt: Schema.String;
|
|
4132
|
+
}>>;
|
|
4133
|
+
readonly host: Schema.String;
|
|
4134
|
+
readonly repository: Schema.String;
|
|
4135
|
+
readonly number: Schema.Number;
|
|
4136
|
+
}>>;
|
|
4137
|
+
}>;
|
|
3959
4138
|
}>, Schema.Struct<{
|
|
3960
4139
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
3961
4140
|
readonly sequence: Schema.Number;
|
|
@@ -4565,6 +4744,22 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4565
4744
|
readonly at: Schema.String;
|
|
4566
4745
|
}>>;
|
|
4567
4746
|
}>;
|
|
4747
|
+
}>, Schema.Struct<{
|
|
4748
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
4749
|
+
readonly sequence: Schema.Number;
|
|
4750
|
+
readonly timestamp: Schema.String;
|
|
4751
|
+
readonly payload: Schema.Struct<{
|
|
4752
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
4753
|
+
readonly projectKey: Schema.String;
|
|
4754
|
+
readonly trigger: Schema.String;
|
|
4755
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
4756
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
4757
|
+
readonly startedAt: Schema.String;
|
|
4758
|
+
readonly error: Schema.optional<Schema.String>;
|
|
4759
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
4760
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
4761
|
+
}>>;
|
|
4762
|
+
}>;
|
|
4568
4763
|
}>, Schema.Struct<{
|
|
4569
4764
|
readonly type: Schema.Literal<"agent.created">;
|
|
4570
4765
|
readonly sequence: Schema.Number;
|
|
@@ -4590,6 +4785,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4590
4785
|
readonly phase: Schema.optional<Schema.String>;
|
|
4591
4786
|
readonly workType: Schema.optional<Schema.String>;
|
|
4592
4787
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
4788
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4593
4789
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4594
4790
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4595
4791
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -4693,6 +4889,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4693
4889
|
readonly phase: Schema.optional<Schema.String>;
|
|
4694
4890
|
readonly workType: Schema.optional<Schema.String>;
|
|
4695
4891
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
4892
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4696
4893
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4697
4894
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4698
4895
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -4800,6 +4997,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4800
4997
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
4801
4998
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
4802
4999
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
5000
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
4803
5001
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
4804
5002
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
4805
5003
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -5139,7 +5337,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5139
5337
|
readonly id: Schema.String;
|
|
5140
5338
|
readonly agentId: Schema.optional<Schema.String>;
|
|
5141
5339
|
readonly issue: Schema.optional<Schema.String>;
|
|
5142
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
5340
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
5143
5341
|
readonly harness: Schema.String;
|
|
5144
5342
|
readonly model: Schema.String;
|
|
5145
5343
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -5786,6 +5984,40 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5786
5984
|
readonly title: Schema.String;
|
|
5787
5985
|
readonly titleSource: Schema.String;
|
|
5788
5986
|
}>;
|
|
5987
|
+
}>, Schema.Struct<{
|
|
5988
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
5989
|
+
readonly sequence: Schema.Number;
|
|
5990
|
+
readonly timestamp: Schema.String;
|
|
5991
|
+
readonly payload: Schema.Struct<{
|
|
5992
|
+
readonly conversationName: Schema.String;
|
|
5993
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
5994
|
+
readonly url: Schema.String;
|
|
5995
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
5996
|
+
readonly linkedAt: Schema.String;
|
|
5997
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
5998
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
5999
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
6000
|
+
readonly isDraft: Schema.Boolean;
|
|
6001
|
+
readonly title: Schema.String;
|
|
6002
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
6003
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
6004
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
6005
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
6006
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
6007
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
6008
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
6009
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
6010
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
6011
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
6012
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
6013
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
6014
|
+
readonly syncedAt: Schema.String;
|
|
6015
|
+
}>>;
|
|
6016
|
+
readonly host: Schema.String;
|
|
6017
|
+
readonly repository: Schema.String;
|
|
6018
|
+
readonly number: Schema.Number;
|
|
6019
|
+
}>>;
|
|
6020
|
+
}>;
|
|
5789
6021
|
}>, Schema.Struct<{
|
|
5790
6022
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
5791
6023
|
readonly sequence: Schema.Number;
|
|
@@ -5959,6 +6191,22 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
5959
6191
|
readonly at: Schema.String;
|
|
5960
6192
|
}>>;
|
|
5961
6193
|
}>;
|
|
6194
|
+
}>, Schema.Struct<{
|
|
6195
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
6196
|
+
readonly sequence: Schema.Number;
|
|
6197
|
+
readonly timestamp: Schema.String;
|
|
6198
|
+
readonly payload: Schema.Struct<{
|
|
6199
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
6200
|
+
readonly projectKey: Schema.String;
|
|
6201
|
+
readonly trigger: Schema.String;
|
|
6202
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
6203
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
6204
|
+
readonly startedAt: Schema.String;
|
|
6205
|
+
readonly error: Schema.optional<Schema.String>;
|
|
6206
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
6207
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
6208
|
+
}>>;
|
|
6209
|
+
}>;
|
|
5962
6210
|
}>, Schema.Struct<{
|
|
5963
6211
|
readonly type: Schema.Literal<"agent.created">;
|
|
5964
6212
|
readonly sequence: Schema.Number;
|
|
@@ -5984,6 +6232,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
5984
6232
|
readonly phase: Schema.optional<Schema.String>;
|
|
5985
6233
|
readonly workType: Schema.optional<Schema.String>;
|
|
5986
6234
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
6235
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
5987
6236
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
5988
6237
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
5989
6238
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -6087,6 +6336,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6087
6336
|
readonly phase: Schema.optional<Schema.String>;
|
|
6088
6337
|
readonly workType: Schema.optional<Schema.String>;
|
|
6089
6338
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
6339
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
6090
6340
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
6091
6341
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
6092
6342
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -6194,6 +6444,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6194
6444
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
6195
6445
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
6196
6446
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
6447
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
6197
6448
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
6198
6449
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
6199
6450
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -6533,7 +6784,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6533
6784
|
readonly id: Schema.String;
|
|
6534
6785
|
readonly agentId: Schema.optional<Schema.String>;
|
|
6535
6786
|
readonly issue: Schema.optional<Schema.String>;
|
|
6536
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
6787
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
6537
6788
|
readonly harness: Schema.String;
|
|
6538
6789
|
readonly model: Schema.String;
|
|
6539
6790
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -7180,6 +7431,40 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7180
7431
|
readonly title: Schema.String;
|
|
7181
7432
|
readonly titleSource: Schema.String;
|
|
7182
7433
|
}>;
|
|
7434
|
+
}>, Schema.Struct<{
|
|
7435
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
7436
|
+
readonly sequence: Schema.Number;
|
|
7437
|
+
readonly timestamp: Schema.String;
|
|
7438
|
+
readonly payload: Schema.Struct<{
|
|
7439
|
+
readonly conversationName: Schema.String;
|
|
7440
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
7441
|
+
readonly url: Schema.String;
|
|
7442
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
7443
|
+
readonly linkedAt: Schema.String;
|
|
7444
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
7445
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
7446
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
7447
|
+
readonly isDraft: Schema.Boolean;
|
|
7448
|
+
readonly title: Schema.String;
|
|
7449
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
7450
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
7451
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
7452
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
7453
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
7454
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
7455
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
7456
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
7457
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
7458
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
7459
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
7460
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
7461
|
+
readonly syncedAt: Schema.String;
|
|
7462
|
+
}>>;
|
|
7463
|
+
readonly host: Schema.String;
|
|
7464
|
+
readonly repository: Schema.String;
|
|
7465
|
+
readonly number: Schema.Number;
|
|
7466
|
+
}>>;
|
|
7467
|
+
}>;
|
|
7183
7468
|
}>, Schema.Struct<{
|
|
7184
7469
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
7185
7470
|
readonly sequence: Schema.Number;
|
|
@@ -7320,6 +7605,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7320
7605
|
readonly phase: Schema.optional<Schema.String>;
|
|
7321
7606
|
readonly workType: Schema.optional<Schema.String>;
|
|
7322
7607
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
7608
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7323
7609
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7324
7610
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7325
7611
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7384,7 +7670,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7384
7670
|
readonly id: Schema.String;
|
|
7385
7671
|
readonly agentId: Schema.optional<Schema.String>;
|
|
7386
7672
|
readonly issue: Schema.optional<Schema.String>;
|
|
7387
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
7673
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
7388
7674
|
readonly harness: Schema.String;
|
|
7389
7675
|
readonly model: Schema.String;
|
|
7390
7676
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -7504,6 +7790,16 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7504
7790
|
readonly at: Schema.String;
|
|
7505
7791
|
}>>;
|
|
7506
7792
|
}>>;
|
|
7793
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
7794
|
+
readonly projectKey: Schema.String;
|
|
7795
|
+
readonly trigger: Schema.String;
|
|
7796
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
7797
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
7798
|
+
readonly startedAt: Schema.String;
|
|
7799
|
+
readonly error: Schema.optional<Schema.String>;
|
|
7800
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
7801
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7802
|
+
}>>>;
|
|
7507
7803
|
readonly timestamp: Schema.String;
|
|
7508
7804
|
}>, typeof PanRpcError, never, never>;
|
|
7509
7805
|
/** 5. Replay events since a given sequence number (unary) */
|
|
@@ -7575,6 +7871,22 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7575
7871
|
readonly at: Schema.String;
|
|
7576
7872
|
}>>;
|
|
7577
7873
|
}>;
|
|
7874
|
+
}>, Schema.Struct<{
|
|
7875
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
7876
|
+
readonly sequence: Schema.Number;
|
|
7877
|
+
readonly timestamp: Schema.String;
|
|
7878
|
+
readonly payload: Schema.Struct<{
|
|
7879
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
7880
|
+
readonly projectKey: Schema.String;
|
|
7881
|
+
readonly trigger: Schema.String;
|
|
7882
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
7883
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
7884
|
+
readonly startedAt: Schema.String;
|
|
7885
|
+
readonly error: Schema.optional<Schema.String>;
|
|
7886
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
7887
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
7888
|
+
}>>;
|
|
7889
|
+
}>;
|
|
7578
7890
|
}>, Schema.Struct<{
|
|
7579
7891
|
readonly type: Schema.Literal<"agent.created">;
|
|
7580
7892
|
readonly sequence: Schema.Number;
|
|
@@ -7600,6 +7912,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7600
7912
|
readonly phase: Schema.optional<Schema.String>;
|
|
7601
7913
|
readonly workType: Schema.optional<Schema.String>;
|
|
7602
7914
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
7915
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7603
7916
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7604
7917
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7605
7918
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7703,6 +8016,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7703
8016
|
readonly phase: Schema.optional<Schema.String>;
|
|
7704
8017
|
readonly workType: Schema.optional<Schema.String>;
|
|
7705
8018
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8019
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7706
8020
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7707
8021
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7708
8022
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -7810,6 +8124,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7810
8124
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
7811
8125
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
7812
8126
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
8127
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
7813
8128
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
7814
8129
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
7815
8130
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -8149,7 +8464,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8149
8464
|
readonly id: Schema.String;
|
|
8150
8465
|
readonly agentId: Schema.optional<Schema.String>;
|
|
8151
8466
|
readonly issue: Schema.optional<Schema.String>;
|
|
8152
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
8467
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
8153
8468
|
readonly harness: Schema.String;
|
|
8154
8469
|
readonly model: Schema.String;
|
|
8155
8470
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -8796,6 +9111,40 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8796
9111
|
readonly title: Schema.String;
|
|
8797
9112
|
readonly titleSource: Schema.String;
|
|
8798
9113
|
}>;
|
|
9114
|
+
}>, Schema.Struct<{
|
|
9115
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
9116
|
+
readonly sequence: Schema.Number;
|
|
9117
|
+
readonly timestamp: Schema.String;
|
|
9118
|
+
readonly payload: Schema.Struct<{
|
|
9119
|
+
readonly conversationName: Schema.String;
|
|
9120
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
9121
|
+
readonly url: Schema.String;
|
|
9122
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
9123
|
+
readonly linkedAt: Schema.String;
|
|
9124
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
9125
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
9126
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
9127
|
+
readonly isDraft: Schema.Boolean;
|
|
9128
|
+
readonly title: Schema.String;
|
|
9129
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
9130
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
9131
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
9132
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
9133
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
9134
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
9135
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
9136
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
9137
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
9138
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
9139
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
9140
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
9141
|
+
readonly syncedAt: Schema.String;
|
|
9142
|
+
}>>;
|
|
9143
|
+
readonly host: Schema.String;
|
|
9144
|
+
readonly repository: Schema.String;
|
|
9145
|
+
readonly number: Schema.Number;
|
|
9146
|
+
}>>;
|
|
9147
|
+
}>;
|
|
8799
9148
|
}>, Schema.Struct<{
|
|
8800
9149
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
8801
9150
|
readonly sequence: Schema.Number;
|
|
@@ -9663,6 +10012,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9663
10012
|
readonly at: Schema.String;
|
|
9664
10013
|
}>>;
|
|
9665
10014
|
}>;
|
|
10015
|
+
}>, Schema.Struct<{
|
|
10016
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
10017
|
+
readonly sequence: Schema.Number;
|
|
10018
|
+
readonly timestamp: Schema.String;
|
|
10019
|
+
readonly payload: Schema.Struct<{
|
|
10020
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
10021
|
+
readonly projectKey: Schema.String;
|
|
10022
|
+
readonly trigger: Schema.String;
|
|
10023
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
10024
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
10025
|
+
readonly startedAt: Schema.String;
|
|
10026
|
+
readonly error: Schema.optional<Schema.String>;
|
|
10027
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
10028
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
10029
|
+
}>>;
|
|
10030
|
+
}>;
|
|
9666
10031
|
}>, Schema.Struct<{
|
|
9667
10032
|
readonly type: Schema.Literal<"agent.created">;
|
|
9668
10033
|
readonly sequence: Schema.Number;
|
|
@@ -9688,6 +10053,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9688
10053
|
readonly phase: Schema.optional<Schema.String>;
|
|
9689
10054
|
readonly workType: Schema.optional<Schema.String>;
|
|
9690
10055
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
10056
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9691
10057
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9692
10058
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9693
10059
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -9791,6 +10157,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9791
10157
|
readonly phase: Schema.optional<Schema.String>;
|
|
9792
10158
|
readonly workType: Schema.optional<Schema.String>;
|
|
9793
10159
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
10160
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9794
10161
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9795
10162
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9796
10163
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -9898,6 +10265,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
9898
10265
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9899
10266
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
9900
10267
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
10268
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
9901
10269
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
9902
10270
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
9903
10271
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -10237,7 +10605,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10237
10605
|
readonly id: Schema.String;
|
|
10238
10606
|
readonly agentId: Schema.optional<Schema.String>;
|
|
10239
10607
|
readonly issue: Schema.optional<Schema.String>;
|
|
10240
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
10608
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
10241
10609
|
readonly harness: Schema.String;
|
|
10242
10610
|
readonly model: Schema.String;
|
|
10243
10611
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -10884,6 +11252,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10884
11252
|
readonly title: Schema.String;
|
|
10885
11253
|
readonly titleSource: Schema.String;
|
|
10886
11254
|
}>;
|
|
11255
|
+
}>, Schema.Struct<{
|
|
11256
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
11257
|
+
readonly sequence: Schema.Number;
|
|
11258
|
+
readonly timestamp: Schema.String;
|
|
11259
|
+
readonly payload: Schema.Struct<{
|
|
11260
|
+
readonly conversationName: Schema.String;
|
|
11261
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
11262
|
+
readonly url: Schema.String;
|
|
11263
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
11264
|
+
readonly linkedAt: Schema.String;
|
|
11265
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
11266
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
11267
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
11268
|
+
readonly isDraft: Schema.Boolean;
|
|
11269
|
+
readonly title: Schema.String;
|
|
11270
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
11271
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
11272
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
11273
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
11274
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
11275
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
11276
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
11277
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
11278
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
11279
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
11280
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
11281
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
11282
|
+
readonly syncedAt: Schema.String;
|
|
11283
|
+
}>>;
|
|
11284
|
+
readonly host: Schema.String;
|
|
11285
|
+
readonly repository: Schema.String;
|
|
11286
|
+
readonly number: Schema.Number;
|
|
11287
|
+
}>>;
|
|
11288
|
+
}>;
|
|
10887
11289
|
}>, Schema.Struct<{
|
|
10888
11290
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
10889
11291
|
readonly sequence: Schema.Number;
|
|
@@ -11055,6 +11457,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11055
11457
|
readonly at: Schema.String;
|
|
11056
11458
|
}>>;
|
|
11057
11459
|
}>;
|
|
11460
|
+
}>, Schema.Struct<{
|
|
11461
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
11462
|
+
readonly sequence: Schema.Number;
|
|
11463
|
+
readonly timestamp: Schema.String;
|
|
11464
|
+
readonly payload: Schema.Struct<{
|
|
11465
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
11466
|
+
readonly projectKey: Schema.String;
|
|
11467
|
+
readonly trigger: Schema.String;
|
|
11468
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
11469
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
11470
|
+
readonly startedAt: Schema.String;
|
|
11471
|
+
readonly error: Schema.optional<Schema.String>;
|
|
11472
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
11473
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
11474
|
+
}>>;
|
|
11475
|
+
}>;
|
|
11058
11476
|
}>, Schema.Struct<{
|
|
11059
11477
|
readonly type: Schema.Literal<"agent.created">;
|
|
11060
11478
|
readonly sequence: Schema.Number;
|
|
@@ -11080,6 +11498,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11080
11498
|
readonly phase: Schema.optional<Schema.String>;
|
|
11081
11499
|
readonly workType: Schema.optional<Schema.String>;
|
|
11082
11500
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
11501
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11083
11502
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11084
11503
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11085
11504
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -11183,6 +11602,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11183
11602
|
readonly phase: Schema.optional<Schema.String>;
|
|
11184
11603
|
readonly workType: Schema.optional<Schema.String>;
|
|
11185
11604
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
11605
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11186
11606
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11187
11607
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11188
11608
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -11290,6 +11710,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11290
11710
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
11291
11711
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
11292
11712
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
11713
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
11293
11714
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
11294
11715
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
11295
11716
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -11629,7 +12050,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11629
12050
|
readonly id: Schema.String;
|
|
11630
12051
|
readonly agentId: Schema.optional<Schema.String>;
|
|
11631
12052
|
readonly issue: Schema.optional<Schema.String>;
|
|
11632
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
12053
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
11633
12054
|
readonly harness: Schema.String;
|
|
11634
12055
|
readonly model: Schema.String;
|
|
11635
12056
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -12276,6 +12697,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12276
12697
|
readonly title: Schema.String;
|
|
12277
12698
|
readonly titleSource: Schema.String;
|
|
12278
12699
|
}>;
|
|
12700
|
+
}>, Schema.Struct<{
|
|
12701
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
12702
|
+
readonly sequence: Schema.Number;
|
|
12703
|
+
readonly timestamp: Schema.String;
|
|
12704
|
+
readonly payload: Schema.Struct<{
|
|
12705
|
+
readonly conversationName: Schema.String;
|
|
12706
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
12707
|
+
readonly url: Schema.String;
|
|
12708
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
12709
|
+
readonly linkedAt: Schema.String;
|
|
12710
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
12711
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
12712
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
12713
|
+
readonly isDraft: Schema.Boolean;
|
|
12714
|
+
readonly title: Schema.String;
|
|
12715
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
12716
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
12717
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
12718
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
12719
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
12720
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
12721
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
12722
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
12723
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
12724
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
12725
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
12726
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
12727
|
+
readonly syncedAt: Schema.String;
|
|
12728
|
+
}>>;
|
|
12729
|
+
readonly host: Schema.String;
|
|
12730
|
+
readonly repository: Schema.String;
|
|
12731
|
+
readonly number: Schema.Number;
|
|
12732
|
+
}>>;
|
|
12733
|
+
}>;
|
|
12279
12734
|
}>, Schema.Struct<{
|
|
12280
12735
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
12281
12736
|
readonly sequence: Schema.Number;
|
|
@@ -12410,6 +12865,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12410
12865
|
readonly phase: Schema.optional<Schema.String>;
|
|
12411
12866
|
readonly workType: Schema.optional<Schema.String>;
|
|
12412
12867
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
12868
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12413
12869
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12414
12870
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12415
12871
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12474,7 +12930,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12474
12930
|
readonly id: Schema.String;
|
|
12475
12931
|
readonly agentId: Schema.optional<Schema.String>;
|
|
12476
12932
|
readonly issue: Schema.optional<Schema.String>;
|
|
12477
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
12933
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
12478
12934
|
readonly harness: Schema.String;
|
|
12479
12935
|
readonly model: Schema.String;
|
|
12480
12936
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -12594,6 +13050,16 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12594
13050
|
readonly at: Schema.String;
|
|
12595
13051
|
}>>;
|
|
12596
13052
|
}>>;
|
|
13053
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
13054
|
+
readonly projectKey: Schema.String;
|
|
13055
|
+
readonly trigger: Schema.String;
|
|
13056
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
13057
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
13058
|
+
readonly startedAt: Schema.String;
|
|
13059
|
+
readonly error: Schema.optional<Schema.String>;
|
|
13060
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
13061
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13062
|
+
}>>>;
|
|
12597
13063
|
readonly timestamp: Schema.String;
|
|
12598
13064
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
12599
13065
|
readonly fromSequence: Schema.Number;
|
|
@@ -12663,6 +13129,22 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12663
13129
|
readonly at: Schema.String;
|
|
12664
13130
|
}>>;
|
|
12665
13131
|
}>;
|
|
13132
|
+
}>, Schema.Struct<{
|
|
13133
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
13134
|
+
readonly sequence: Schema.Number;
|
|
13135
|
+
readonly timestamp: Schema.String;
|
|
13136
|
+
readonly payload: Schema.Struct<{
|
|
13137
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
13138
|
+
readonly projectKey: Schema.String;
|
|
13139
|
+
readonly trigger: Schema.String;
|
|
13140
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
13141
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
13142
|
+
readonly startedAt: Schema.String;
|
|
13143
|
+
readonly error: Schema.optional<Schema.String>;
|
|
13144
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
13145
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
13146
|
+
}>>;
|
|
13147
|
+
}>;
|
|
12666
13148
|
}>, Schema.Struct<{
|
|
12667
13149
|
readonly type: Schema.Literal<"agent.created">;
|
|
12668
13150
|
readonly sequence: Schema.Number;
|
|
@@ -12688,6 +13170,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12688
13170
|
readonly phase: Schema.optional<Schema.String>;
|
|
12689
13171
|
readonly workType: Schema.optional<Schema.String>;
|
|
12690
13172
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
13173
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12691
13174
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12692
13175
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12693
13176
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12791,6 +13274,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12791
13274
|
readonly phase: Schema.optional<Schema.String>;
|
|
12792
13275
|
readonly workType: Schema.optional<Schema.String>;
|
|
12793
13276
|
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
13277
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12794
13278
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12795
13279
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12796
13280
|
readonly paused: Schema.optional<Schema.Boolean>;
|
|
@@ -12898,6 +13382,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12898
13382
|
readonly workspaceId: Schema.optional<Schema.String>;
|
|
12899
13383
|
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
12900
13384
|
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
13385
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
12901
13386
|
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
12902
13387
|
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
12903
13388
|
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
@@ -13237,7 +13722,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13237
13722
|
readonly id: Schema.String;
|
|
13238
13723
|
readonly agentId: Schema.optional<Schema.String>;
|
|
13239
13724
|
readonly issue: Schema.optional<Schema.String>;
|
|
13240
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
13725
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
13241
13726
|
readonly harness: Schema.String;
|
|
13242
13727
|
readonly model: Schema.String;
|
|
13243
13728
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
@@ -13884,6 +14369,40 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13884
14369
|
readonly title: Schema.String;
|
|
13885
14370
|
readonly titleSource: Schema.String;
|
|
13886
14371
|
}>;
|
|
14372
|
+
}>, Schema.Struct<{
|
|
14373
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
14374
|
+
readonly sequence: Schema.Number;
|
|
14375
|
+
readonly timestamp: Schema.String;
|
|
14376
|
+
readonly payload: Schema.Struct<{
|
|
14377
|
+
readonly conversationName: Schema.String;
|
|
14378
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
14379
|
+
readonly url: Schema.String;
|
|
14380
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
14381
|
+
readonly linkedAt: Schema.String;
|
|
14382
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
14383
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
14384
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
14385
|
+
readonly isDraft: Schema.Boolean;
|
|
14386
|
+
readonly title: Schema.String;
|
|
14387
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
14388
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
14389
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
14390
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
14391
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
14392
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
14393
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
14394
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
14395
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
14396
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
14397
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
14398
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
14399
|
+
readonly syncedAt: Schema.String;
|
|
14400
|
+
}>>;
|
|
14401
|
+
readonly host: Schema.String;
|
|
14402
|
+
readonly repository: Schema.String;
|
|
14403
|
+
readonly number: Schema.Number;
|
|
14404
|
+
}>>;
|
|
14405
|
+
}>;
|
|
13887
14406
|
}>, Schema.Struct<{
|
|
13888
14407
|
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
13889
14408
|
readonly sequence: Schema.Number;
|
|
@@ -14630,7 +15149,7 @@ declare const BackendPane: Schema.Struct<{
|
|
|
14630
15149
|
/** Stable pane identity: the backend-native pane handle. */readonly id: Schema.String; /** Overdeck agent id: Herdr `agentId` token or live agent name; tmux session name (PAN-3920). */
|
|
14631
15150
|
readonly agentId: Schema.optional<Schema.String>; /** Issue the pane belongs to; absent for operator conversations. */
|
|
14632
15151
|
readonly issue: Schema.optional<Schema.String>;
|
|
14633
|
-
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan"]>;
|
|
15152
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
14634
15153
|
readonly harness: Schema.String;
|
|
14635
15154
|
readonly model: Schema.String;
|
|
14636
15155
|
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>; /** Epoch millis the pane entered `state`; drives the `stuck` attention. */
|
|
@@ -14723,6 +15242,8 @@ interface ReadModelState {
|
|
|
14723
15242
|
ciByProjectKey: Record<string, ProjectCiSnapshot>;
|
|
14724
15243
|
/** PAN-3729 — voluntary-restart approval gate; null until the gate first reports. */
|
|
14725
15244
|
restartGate: RestartGateSnapshot | null;
|
|
15245
|
+
/** PAN-3751 — in-flight deploys keyed by project key; derived, never stored. */
|
|
15246
|
+
deployByProjectKey: Record<string, ProjectDeploySnapshot>;
|
|
14726
15247
|
/** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
|
|
14727
15248
|
agentIdBySessionId: Record<string, string>;
|
|
14728
15249
|
}
|
|
@@ -14746,6 +15267,12 @@ declare function isTerminalTurnDiffSummaryStatus(status: unknown): boolean;
|
|
|
14746
15267
|
declare function trimTurnDiffSummaries(summaries: TurnDiffSummary[]): TurnDiffSummary[];
|
|
14747
15268
|
declare function omitTurnDiffSummariesForAgent(turnDiffSummariesByAgentId: ReadModelState['turnDiffSummariesByAgentId'] | undefined, agentId: string): ReadModelState['turnDiffSummariesByAgentId'];
|
|
14748
15269
|
declare function syncSnapshot(state: ReadModelState, snapshot: DashboardSnapshot): ReadModelState;
|
|
15270
|
+
/**
|
|
15271
|
+
* #4105 — `hasLivePane` and its deprecated alias `hasLiveTmuxSession` carry one
|
|
15272
|
+
* fact. An agent snapshot from a stored event may carry only the old name; fill
|
|
15273
|
+
* whichever one is missing so readers of either name agree.
|
|
15274
|
+
*/
|
|
15275
|
+
declare function withPaneLivenessAlias(agent: AgentSnapshot): AgentSnapshot;
|
|
14749
15276
|
declare function applyEvent(state: ReadModelState, event: DomainEvent): ReadModelState;
|
|
14750
15277
|
declare function applyEvents(state: ReadModelState, events: DomainEvent[]): ReadModelState;
|
|
14751
15278
|
//#endregion
|
|
@@ -16556,7 +17083,8 @@ declare const AgentHealthSnapshot: Schema.Struct<{
|
|
|
16556
17083
|
readonly role: Schema.optional<Schema.String>;
|
|
16557
17084
|
readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
|
|
16558
17085
|
readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
|
|
16559
|
-
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
|
|
17086
|
+
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>; /** The agent has a live pane on the selected terminal backend (Herdr or tmux). */
|
|
17087
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane` kept for existing readers; true on either backend, not only tmux. */
|
|
16560
17088
|
readonly tmuxActive: Schema.optional<Schema.Boolean>;
|
|
16561
17089
|
readonly memoryBytes: Schema.optional<Schema.Number>;
|
|
16562
17090
|
readonly memoryGb: Schema.optional<Schema.Number>;
|
|
@@ -16715,7 +17243,8 @@ declare const SystemHealthSnapshot: Schema.Struct<{
|
|
|
16715
17243
|
readonly role: Schema.optional<Schema.String>;
|
|
16716
17244
|
readonly kind: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["work", "planning", "specialist", "conversation", "other"]>, Schema.String, never, never>>;
|
|
16717
17245
|
readonly status: Schema.decodeTo<Schema.Literals<readonly ["healthy", "idle", "waiting", "warning", "stalled", "wedged", "dead", "unavailable"]>, Schema.String, never, never>;
|
|
16718
|
-
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>;
|
|
17246
|
+
readonly lifecycle: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["active", "warm", "orphaned", "unknown"]>, Schema.String, never, never>>; /** The agent has a live pane on the selected terminal backend (Herdr or tmux). */
|
|
17247
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>; /** @deprecated Alias of `hasLivePane` kept for existing readers; true on either backend, not only tmux. */
|
|
16719
17248
|
readonly tmuxActive: Schema.optional<Schema.Boolean>;
|
|
16720
17249
|
readonly memoryBytes: Schema.optional<Schema.Number>;
|
|
16721
17250
|
readonly memoryGb: Schema.optional<Schema.Number>;
|
|
@@ -17211,11 +17740,13 @@ type TerminalBackendName = "herdr" | "tmux";
|
|
|
17211
17740
|
*/
|
|
17212
17741
|
type AgentState = "idle" | "working" | "blocked" | "done" | "exited" | "unknown";
|
|
17213
17742
|
/** Pane role, stamped as a metadata token by every launcher (FR-5). */
|
|
17214
|
-
type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan";
|
|
17743
|
+
type AgentRole = "work" | "worker" | "review" | "test" | "uat" | "strike" | "plan" | "conversation";
|
|
17215
17744
|
/**
|
|
17216
17745
|
* Metadata tokens stamped on every agent pane. An operator conversation
|
|
17217
|
-
* carries no `issue` token (FR-5), which is also what
|
|
17218
|
-
* recognize an operator sender (FR-17).
|
|
17746
|
+
* carries role `conversation` and no `issue` token (FR-5), which is also what
|
|
17747
|
+
* the prompt guard uses to recognize an operator sender (FR-17). An
|
|
17748
|
+
* issue-scoped conversation carries role `conversation` plus the issue; it is
|
|
17749
|
+
* not the issue's work pane.
|
|
17219
17750
|
*/
|
|
17220
17751
|
interface PaneTokens {
|
|
17221
17752
|
/** Issue id (e.g. `PAN-3917`); absent for operator conversations. */
|
|
@@ -17272,6 +17803,14 @@ declare const DirectoryTranscriptRef: Schema.Union<readonly [Schema.Struct<{
|
|
|
17272
17803
|
type DirectoryTranscriptRef = typeof DirectoryTranscriptRef.Type;
|
|
17273
17804
|
declare const DirectoryEntryLocation: Schema.Literals<readonly ["local", "remote"]>;
|
|
17274
17805
|
type DirectoryEntryLocation = typeof DirectoryEntryLocation.Type;
|
|
17806
|
+
declare const DirectoryPauseBy: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17807
|
+
type DirectoryPauseBy = typeof DirectoryPauseBy.Type;
|
|
17808
|
+
declare const DirectoryPause: Schema.Struct<{
|
|
17809
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17810
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17811
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17812
|
+
}>;
|
|
17813
|
+
type DirectoryPause = typeof DirectoryPause.Type;
|
|
17275
17814
|
declare const DirectoryEntry: Schema.Struct<{
|
|
17276
17815
|
readonly id: Schema.String;
|
|
17277
17816
|
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
@@ -17303,12 +17842,24 @@ declare const DirectoryEntry: Schema.Struct<{
|
|
|
17303
17842
|
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17304
17843
|
readonly conversationName: Schema.String;
|
|
17305
17844
|
readonly subagentId: Schema.String;
|
|
17306
|
-
}>]>>;
|
|
17845
|
+
}>]>>; /** The pause gate from state.json, native agents only (PAN-4197). */
|
|
17846
|
+
readonly pause: Schema.optional<Schema.Struct<{
|
|
17847
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17848
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17849
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17850
|
+
}>>;
|
|
17307
17851
|
}>;
|
|
17308
17852
|
type DirectoryEntry = typeof DirectoryEntry.Type;
|
|
17853
|
+
/**
|
|
17854
|
+
* `window`: live entries plus finished ones active inside `windowHours`.
|
|
17855
|
+
* `live` (PAN-4197): what is running or waiting now; `windowHours` is 0.
|
|
17856
|
+
*/
|
|
17857
|
+
declare const DirectoryScope: Schema.Literals<readonly ["window", "live"]>;
|
|
17858
|
+
type DirectoryScope = typeof DirectoryScope.Type;
|
|
17309
17859
|
declare const AgentDirectoryResponse: Schema.Struct<{
|
|
17310
17860
|
readonly generatedAt: Schema.String;
|
|
17311
17861
|
readonly windowHours: Schema.Number;
|
|
17862
|
+
readonly scope: Schema.optional<Schema.Literals<readonly ["window", "live"]>>;
|
|
17312
17863
|
readonly entries: Schema.$Array<Schema.Struct<{
|
|
17313
17864
|
readonly id: Schema.String;
|
|
17314
17865
|
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
@@ -17340,7 +17891,12 @@ declare const AgentDirectoryResponse: Schema.Struct<{
|
|
|
17340
17891
|
readonly route: Schema.Literal<"conversation-subagent">;
|
|
17341
17892
|
readonly conversationName: Schema.String;
|
|
17342
17893
|
readonly subagentId: Schema.String;
|
|
17343
|
-
}>]>>;
|
|
17894
|
+
}>]>>; /** The pause gate from state.json, native agents only (PAN-4197). */
|
|
17895
|
+
readonly pause: Schema.optional<Schema.Struct<{
|
|
17896
|
+
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17897
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
17898
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
17899
|
+
}>>;
|
|
17344
17900
|
}>>;
|
|
17345
17901
|
}>;
|
|
17346
17902
|
type AgentDirectoryResponse = typeof AgentDirectoryResponse.Type;
|
|
@@ -17395,5 +17951,196 @@ declare function companionTerminalKindFor(conversation: CompanionTerminalOwnerSh
|
|
|
17395
17951
|
declare const COMPANION_TERMINAL_OPEN_BODY_KEYS: ReadonlyArray<string>;
|
|
17396
17952
|
declare const COMPANION_TERMINAL_CLOSE_BODY_KEYS: ReadonlyArray<string>;
|
|
17397
17953
|
//#endregion
|
|
17398
|
-
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, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, 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, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, 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, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, 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, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PanRpcError, PanRpcGroup, PaneTokens, PendingTurn, PipelineBucket, 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, ProjectSessionTree, ProposedPlan, 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, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, 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, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, 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, companionTerminalKindFor, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, projectLegacySystemHealthSummary, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries };
|
|
17954
|
+
//#region src/pull-request-links.d.ts
|
|
17955
|
+
declare const PullRequestLinkSource: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
17956
|
+
type PullRequestLinkSource = typeof PullRequestLinkSource.Type;
|
|
17957
|
+
declare const PullRequestKey: Schema.Struct<{
|
|
17958
|
+
readonly host: Schema.String;
|
|
17959
|
+
readonly repository: Schema.String;
|
|
17960
|
+
readonly number: Schema.Number;
|
|
17961
|
+
}>;
|
|
17962
|
+
type PullRequestKey = typeof PullRequestKey.Type;
|
|
17963
|
+
declare const PullRequestState: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17964
|
+
type PullRequestState = typeof PullRequestState.Type;
|
|
17965
|
+
declare const PullRequestSnapshot: Schema.Struct<{
|
|
17966
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17967
|
+
readonly isDraft: Schema.Boolean;
|
|
17968
|
+
readonly title: Schema.String;
|
|
17969
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
17970
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
17971
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
17972
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
17973
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
17974
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
17975
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
17976
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
17977
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
17978
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
17979
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
17980
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
17981
|
+
readonly syncedAt: Schema.String;
|
|
17982
|
+
}>;
|
|
17983
|
+
type PullRequestSnapshot = typeof PullRequestSnapshot.Type;
|
|
17984
|
+
declare const PullRequestLink: Schema.Struct<{
|
|
17985
|
+
readonly url: Schema.String;
|
|
17986
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
17987
|
+
readonly linkedAt: Schema.String;
|
|
17988
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
17989
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
17990
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
17991
|
+
readonly isDraft: Schema.Boolean;
|
|
17992
|
+
readonly title: Schema.String;
|
|
17993
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
17994
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
17995
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
17996
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
17997
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
17998
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
17999
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18000
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18001
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18002
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18003
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18004
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18005
|
+
readonly syncedAt: Schema.String;
|
|
18006
|
+
}>>;
|
|
18007
|
+
readonly host: Schema.String;
|
|
18008
|
+
readonly repository: Schema.String;
|
|
18009
|
+
readonly number: Schema.Number;
|
|
18010
|
+
}>;
|
|
18011
|
+
type PullRequestLink = typeof PullRequestLink.Type;
|
|
18012
|
+
declare const ConversationPullRequests: Schema.Struct<{
|
|
18013
|
+
readonly links: Schema.$Array<Schema.Struct<{
|
|
18014
|
+
readonly url: Schema.String;
|
|
18015
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18016
|
+
readonly linkedAt: Schema.String;
|
|
18017
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18018
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18019
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18020
|
+
readonly isDraft: Schema.Boolean;
|
|
18021
|
+
readonly title: Schema.String;
|
|
18022
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18023
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18024
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18025
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18026
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18027
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18028
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18029
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18030
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18031
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18032
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18033
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18034
|
+
readonly syncedAt: Schema.String;
|
|
18035
|
+
}>>;
|
|
18036
|
+
readonly host: Schema.String;
|
|
18037
|
+
readonly repository: Schema.String;
|
|
18038
|
+
readonly number: Schema.Number;
|
|
18039
|
+
}>>;
|
|
18040
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
18041
|
+
readonly url: Schema.String;
|
|
18042
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18043
|
+
readonly linkedAt: Schema.String;
|
|
18044
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18045
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18046
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18047
|
+
readonly isDraft: Schema.Boolean;
|
|
18048
|
+
readonly title: Schema.String;
|
|
18049
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18050
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18051
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18052
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18053
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18054
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18055
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18056
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18057
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18058
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18059
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18060
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18061
|
+
readonly syncedAt: Schema.String;
|
|
18062
|
+
}>>;
|
|
18063
|
+
readonly host: Schema.String;
|
|
18064
|
+
readonly repository: Schema.String;
|
|
18065
|
+
readonly number: Schema.Number;
|
|
18066
|
+
}>>;
|
|
18067
|
+
}>;
|
|
18068
|
+
type ConversationPullRequests = typeof ConversationPullRequests.Type;
|
|
18069
|
+
/** One conversation linked to a PR — the reverse index (PR → conversations). */
|
|
18070
|
+
declare const PullRequestLinkedConversation: Schema.Struct<{
|
|
18071
|
+
/** The /conv/<id> number. */readonly id: Schema.Number;
|
|
18072
|
+
readonly name: Schema.String;
|
|
18073
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
18074
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18075
|
+
readonly linkedAt: Schema.String;
|
|
18076
|
+
}>;
|
|
18077
|
+
type PullRequestLinkedConversation = typeof PullRequestLinkedConversation.Type;
|
|
18078
|
+
/** One live link across all conversations, for the Pull requests list. */
|
|
18079
|
+
declare const PullRequestLinkListing: Schema.Struct<{
|
|
18080
|
+
readonly conversationId: Schema.Number;
|
|
18081
|
+
readonly conversationName: Schema.String;
|
|
18082
|
+
readonly conversationTitle: Schema.NullOr<Schema.String>; /** The conversation's effective project, or null when none resolves. */
|
|
18083
|
+
readonly projectKey: Schema.NullOr<Schema.String>;
|
|
18084
|
+
readonly url: Schema.String;
|
|
18085
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
18086
|
+
readonly linkedAt: Schema.String;
|
|
18087
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
18088
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
18089
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
18090
|
+
readonly isDraft: Schema.Boolean;
|
|
18091
|
+
readonly title: Schema.String;
|
|
18092
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
18093
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
18094
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
18095
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
18096
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
18097
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
18098
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
18099
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
18100
|
+
readonly author: Schema.NullOr<Schema.String>; /** Forge timestamp, ISO. */
|
|
18101
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
18102
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
18103
|
+
readonly closedAt: Schema.NullOr<Schema.String>; /** When Overdeck last read the PR, ISO. */
|
|
18104
|
+
readonly syncedAt: Schema.String;
|
|
18105
|
+
}>>;
|
|
18106
|
+
readonly host: Schema.String;
|
|
18107
|
+
readonly repository: Schema.String;
|
|
18108
|
+
readonly number: Schema.Number;
|
|
18109
|
+
}>;
|
|
18110
|
+
type PullRequestLinkListing = typeof PullRequestLinkListing.Type;
|
|
18111
|
+
/**
|
|
18112
|
+
* The one PR shown on a conversation: explicit links before branch links,
|
|
18113
|
+
* open before merged before closed, most recently updated among equals.
|
|
18114
|
+
* Dismissed links never count.
|
|
18115
|
+
*/
|
|
18116
|
+
declare function resolveEffectivePullRequest(links: readonly PullRequestLink[]): PullRequestLink | null;
|
|
18117
|
+
//#endregion
|
|
18118
|
+
//#region src/pull-request-ref.d.ts
|
|
18119
|
+
type PullRequestForge = 'github' | 'gitlab';
|
|
18120
|
+
/** A repository PRs can be linked from. */
|
|
18121
|
+
interface PullRequestRepo {
|
|
18122
|
+
readonly host: string;
|
|
18123
|
+
readonly repository: string;
|
|
18124
|
+
readonly forge: PullRequestForge;
|
|
18125
|
+
}
|
|
18126
|
+
interface ParsedPullRequestRef extends PullRequestKey {
|
|
18127
|
+
readonly url: string;
|
|
18128
|
+
readonly forge: PullRequestForge;
|
|
18129
|
+
}
|
|
18130
|
+
declare function canonicalPullRequestUrl(key: PullRequestKey, forge: PullRequestForge): string;
|
|
18131
|
+
/**
|
|
18132
|
+
* Accepts a full PR/MR URL, `#42`, or `owner/repo#42` (`!42` for GitLab MRs).
|
|
18133
|
+
* The short forms need `defaultRepo` for host and forge (`#42` for the
|
|
18134
|
+
* repository too) and return null without it. Anything else returns null.
|
|
18135
|
+
*/
|
|
18136
|
+
declare function parsePullRequestRef(input: string, defaultRepo?: PullRequestRepo | null): ParsedPullRequestRef | null;
|
|
18137
|
+
/**
|
|
18138
|
+
* The repository behind a git remote URL (https, ssh://, or scp-style), or null
|
|
18139
|
+
* when the host names neither GitHub nor GitLab.
|
|
18140
|
+
*/
|
|
18141
|
+
declare function repoFromRemoteUrl(remote: string | null | undefined): PullRequestRepo | null;
|
|
18142
|
+
/** True when the ref's host and repository match one of the configured repos. */
|
|
18143
|
+
declare function isConfiguredPullRequestRepo(ref: PullRequestKey, repos: readonly PullRequestRepo[]): boolean;
|
|
18144
|
+
//#endregion
|
|
18145
|
+
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, 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, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EditorEntry, EditorId, EditorIdSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, 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, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, 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, 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, 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, RuntimeName, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, 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, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, 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, canonicalPullRequestUrl, companionTerminalKindFor, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isIssueAttention, isIssueState, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
17399
18146
|
//# sourceMappingURL=index.d.ts.map
|