@overdeck/contracts 0.63.0 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1687 -461
- package/dist/index.d.ts +494 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1675 -462
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,14 @@ declare const ChannelPermissionRequestSnapshot: Schema.Struct<{
|
|
|
151
151
|
readonly createdAt: Schema.String;
|
|
152
152
|
}>;
|
|
153
153
|
type ChannelPermissionRequestSnapshot = typeof ChannelPermissionRequestSnapshot.Type;
|
|
154
|
+
/** PAN-4371 — advisory Jev reading of why an idle agent ended its turn. kind is a string (append-only store). */
|
|
155
|
+
declare const TurnEndAssessment: Schema.Struct<{
|
|
156
|
+
readonly kind: Schema.String;
|
|
157
|
+
readonly confidence: Schema.Number;
|
|
158
|
+
readonly needsAnswer: Schema.Boolean;
|
|
159
|
+
readonly model: Schema.String;
|
|
160
|
+
}>;
|
|
161
|
+
type TurnEndAssessment = typeof TurnEndAssessment.Type;
|
|
154
162
|
declare const AgentSnapshot: Schema.Struct<{
|
|
155
163
|
readonly id: Schema.String;
|
|
156
164
|
readonly issueId: Schema.String;
|
|
@@ -212,6 +220,12 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
212
220
|
}>>;
|
|
213
221
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
214
222
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
223
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
224
|
+
readonly kind: Schema.String;
|
|
225
|
+
readonly confidence: Schema.Number;
|
|
226
|
+
readonly needsAnswer: Schema.Boolean;
|
|
227
|
+
readonly model: Schema.String;
|
|
228
|
+
}>>;
|
|
215
229
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
216
230
|
}>;
|
|
217
231
|
type AgentSnapshot = typeof AgentSnapshot.Type;
|
|
@@ -441,13 +455,19 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
441
455
|
}>>;
|
|
442
456
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
443
457
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
458
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
459
|
+
readonly kind: Schema.String;
|
|
460
|
+
readonly confidence: Schema.Number;
|
|
461
|
+
readonly needsAnswer: Schema.Boolean;
|
|
462
|
+
readonly model: Schema.String;
|
|
463
|
+
}>>;
|
|
444
464
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
445
465
|
}>>;
|
|
446
466
|
readonly specialists: Schema.$Array<Schema.Unknown>; /** PAN-3917 FR-6: the derived pipeline state of every known issue. */
|
|
447
467
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
448
468
|
readonly issueId: Schema.String;
|
|
449
469
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
450
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
470
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
451
471
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
452
472
|
readonly url: Schema.String;
|
|
453
473
|
readonly number: Schema.Number;
|
|
@@ -462,6 +482,13 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
462
482
|
readonly pushed: Schema.Boolean;
|
|
463
483
|
}>>;
|
|
464
484
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
485
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
486
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
487
|
+
readonly at: Schema.String;
|
|
488
|
+
readonly error: Schema.optional<Schema.String>;
|
|
489
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
490
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
491
|
+
}>>;
|
|
465
492
|
}>>; /** PAN-3917 FR-12: every live agent pane the terminal backend reports. */
|
|
466
493
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
467
494
|
readonly id: Schema.String;
|
|
@@ -1278,6 +1305,12 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1278
1305
|
}>>;
|
|
1279
1306
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
1280
1307
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
1308
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
1309
|
+
readonly kind: Schema.String;
|
|
1310
|
+
readonly confidence: Schema.Number;
|
|
1311
|
+
readonly needsAnswer: Schema.Boolean;
|
|
1312
|
+
readonly model: Schema.String;
|
|
1313
|
+
}>>;
|
|
1281
1314
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1282
1315
|
}>;
|
|
1283
1316
|
}>;
|
|
@@ -1456,6 +1489,12 @@ declare const AgentEnrichmentChangedEvent: Schema.Struct<{
|
|
|
1456
1489
|
}>>;
|
|
1457
1490
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
1458
1491
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
1492
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
1493
|
+
readonly kind: Schema.String;
|
|
1494
|
+
readonly confidence: Schema.Number;
|
|
1495
|
+
readonly needsAnswer: Schema.Boolean;
|
|
1496
|
+
readonly model: Schema.String;
|
|
1497
|
+
}>>;
|
|
1459
1498
|
}>;
|
|
1460
1499
|
}>;
|
|
1461
1500
|
type AgentEnrichmentChangedEvent = typeof AgentEnrichmentChangedEvent.Type;
|
|
@@ -1525,6 +1564,12 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1525
1564
|
}>>;
|
|
1526
1565
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
1527
1566
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
1567
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
1568
|
+
readonly kind: Schema.String;
|
|
1569
|
+
readonly confidence: Schema.Number;
|
|
1570
|
+
readonly needsAnswer: Schema.Boolean;
|
|
1571
|
+
readonly model: Schema.String;
|
|
1572
|
+
}>>;
|
|
1528
1573
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1529
1574
|
}>;
|
|
1530
1575
|
}>;
|
|
@@ -1862,7 +1907,7 @@ declare const IssueStateChangedEvent: Schema.Struct<{
|
|
|
1862
1907
|
readonly issueState: Schema.Struct<{
|
|
1863
1908
|
readonly issueId: Schema.String;
|
|
1864
1909
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
1865
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
1910
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
1866
1911
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
1867
1912
|
readonly url: Schema.String;
|
|
1868
1913
|
readonly number: Schema.Number;
|
|
@@ -1877,6 +1922,13 @@ declare const IssueStateChangedEvent: Schema.Struct<{
|
|
|
1877
1922
|
readonly pushed: Schema.Boolean;
|
|
1878
1923
|
}>>;
|
|
1879
1924
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
1925
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
1926
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
1927
|
+
readonly at: Schema.String;
|
|
1928
|
+
readonly error: Schema.optional<Schema.String>;
|
|
1929
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
1930
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
1931
|
+
}>>;
|
|
1880
1932
|
}>;
|
|
1881
1933
|
}>;
|
|
1882
1934
|
}>;
|
|
@@ -3080,6 +3132,12 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3080
3132
|
}>>;
|
|
3081
3133
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
3082
3134
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
3135
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
3136
|
+
readonly kind: Schema.String;
|
|
3137
|
+
readonly confidence: Schema.Number;
|
|
3138
|
+
readonly needsAnswer: Schema.Boolean;
|
|
3139
|
+
readonly model: Schema.String;
|
|
3140
|
+
}>>;
|
|
3083
3141
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3084
3142
|
}>;
|
|
3085
3143
|
}>;
|
|
@@ -3118,6 +3176,12 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3118
3176
|
}>>;
|
|
3119
3177
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
3120
3178
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
3179
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
3180
|
+
readonly kind: Schema.String;
|
|
3181
|
+
readonly confidence: Schema.Number;
|
|
3182
|
+
readonly needsAnswer: Schema.Boolean;
|
|
3183
|
+
readonly model: Schema.String;
|
|
3184
|
+
}>>;
|
|
3121
3185
|
}>;
|
|
3122
3186
|
}>, Schema.Struct<{
|
|
3123
3187
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -3184,6 +3248,12 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3184
3248
|
}>>;
|
|
3185
3249
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
3186
3250
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
3251
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
3252
|
+
readonly kind: Schema.String;
|
|
3253
|
+
readonly confidence: Schema.Number;
|
|
3254
|
+
readonly needsAnswer: Schema.Boolean;
|
|
3255
|
+
readonly model: Schema.String;
|
|
3256
|
+
}>>;
|
|
3187
3257
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3188
3258
|
}>;
|
|
3189
3259
|
}>;
|
|
@@ -3569,7 +3639,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3569
3639
|
readonly issueState: Schema.Struct<{
|
|
3570
3640
|
readonly issueId: Schema.String;
|
|
3571
3641
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
3572
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
3642
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
3573
3643
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
3574
3644
|
readonly url: Schema.String;
|
|
3575
3645
|
readonly number: Schema.Number;
|
|
@@ -3584,6 +3654,13 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3584
3654
|
readonly pushed: Schema.Boolean;
|
|
3585
3655
|
}>>;
|
|
3586
3656
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
3657
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
3658
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
3659
|
+
readonly at: Schema.String;
|
|
3660
|
+
readonly error: Schema.optional<Schema.String>;
|
|
3661
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
3662
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
3663
|
+
}>>;
|
|
3587
3664
|
}>;
|
|
3588
3665
|
}>;
|
|
3589
3666
|
}>, Schema.Struct<{
|
|
@@ -4617,7 +4694,8 @@ declare const ContextUsage: Schema.Struct<{
|
|
|
4617
4694
|
readonly lastCacheReadTokens: Schema.optional<Schema.Number>;
|
|
4618
4695
|
readonly lastCacheCreationTokens: Schema.optional<Schema.Number>; /** Highest input_tokens ever observed in this window — triggers 1M detection. */
|
|
4619
4696
|
readonly maxObservedInputTokens: Schema.optional<Schema.Number>; /** Model the most recent assistant turn ran under (from JSONL). */
|
|
4620
|
-
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /**
|
|
4697
|
+
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
4698
|
+
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
4621
4699
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4622
4700
|
}>;
|
|
4623
4701
|
type ContextUsage = typeof ContextUsage.Type;
|
|
@@ -4729,7 +4807,8 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4729
4807
|
readonly lastCacheReadTokens: Schema.optional<Schema.Number>;
|
|
4730
4808
|
readonly lastCacheCreationTokens: Schema.optional<Schema.Number>; /** Highest input_tokens ever observed in this window — triggers 1M detection. */
|
|
4731
4809
|
readonly maxObservedInputTokens: Schema.optional<Schema.Number>; /** Model the most recent assistant turn ran under (from JSONL). */
|
|
4732
|
-
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /**
|
|
4810
|
+
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
4811
|
+
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
4733
4812
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4734
4813
|
}>>>;
|
|
4735
4814
|
readonly subagents: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
@@ -4745,6 +4824,11 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4745
4824
|
readonly text: Schema.String;
|
|
4746
4825
|
readonly createdAt: Schema.String;
|
|
4747
4826
|
}>>>;
|
|
4827
|
+
}>>>; /** PAN-4255: effort read from the agent's transcript (claude-code only). */
|
|
4828
|
+
readonly observedEffort: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>>>; /** PAN-4255: the effort the agent was launched/pinned with and its EffortSource layer. */
|
|
4829
|
+
readonly effortResolution: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
4830
|
+
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
4831
|
+
readonly source: Schema.String;
|
|
4748
4832
|
}>>>;
|
|
4749
4833
|
}>;
|
|
4750
4834
|
type ConversationResponse = typeof ConversationResponse.Type;
|
|
@@ -4807,7 +4891,8 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4807
4891
|
readonly lastCacheReadTokens: Schema.optional<Schema.Number>;
|
|
4808
4892
|
readonly lastCacheCreationTokens: Schema.optional<Schema.Number>; /** Highest input_tokens ever observed in this window — triggers 1M detection. */
|
|
4809
4893
|
readonly maxObservedInputTokens: Schema.optional<Schema.Number>; /** Model the most recent assistant turn ran under (from JSONL). */
|
|
4810
|
-
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /**
|
|
4894
|
+
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
4895
|
+
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
4811
4896
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4812
4897
|
}>>>;
|
|
4813
4898
|
}>, Schema.Struct<{
|
|
@@ -5033,6 +5118,12 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5033
5118
|
}>>;
|
|
5034
5119
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
5035
5120
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
5121
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
5122
|
+
readonly kind: Schema.String;
|
|
5123
|
+
readonly confidence: Schema.Number;
|
|
5124
|
+
readonly needsAnswer: Schema.Boolean;
|
|
5125
|
+
readonly model: Schema.String;
|
|
5126
|
+
}>>;
|
|
5036
5127
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5037
5128
|
}>;
|
|
5038
5129
|
}>;
|
|
@@ -5071,6 +5162,12 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5071
5162
|
}>>;
|
|
5072
5163
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
5073
5164
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
5165
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
5166
|
+
readonly kind: Schema.String;
|
|
5167
|
+
readonly confidence: Schema.Number;
|
|
5168
|
+
readonly needsAnswer: Schema.Boolean;
|
|
5169
|
+
readonly model: Schema.String;
|
|
5170
|
+
}>>;
|
|
5074
5171
|
}>;
|
|
5075
5172
|
}>, Schema.Struct<{
|
|
5076
5173
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -5137,6 +5234,12 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5137
5234
|
}>>;
|
|
5138
5235
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
5139
5236
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
5237
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
5238
|
+
readonly kind: Schema.String;
|
|
5239
|
+
readonly confidence: Schema.Number;
|
|
5240
|
+
readonly needsAnswer: Schema.Boolean;
|
|
5241
|
+
readonly model: Schema.String;
|
|
5242
|
+
}>>;
|
|
5140
5243
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5141
5244
|
}>;
|
|
5142
5245
|
}>;
|
|
@@ -5522,7 +5625,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5522
5625
|
readonly issueState: Schema.Struct<{
|
|
5523
5626
|
readonly issueId: Schema.String;
|
|
5524
5627
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
5525
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
5628
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
5526
5629
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
5527
5630
|
readonly url: Schema.String;
|
|
5528
5631
|
readonly number: Schema.Number;
|
|
@@ -5537,6 +5640,13 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5537
5640
|
readonly pushed: Schema.Boolean;
|
|
5538
5641
|
}>>;
|
|
5539
5642
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
5643
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
5644
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
5645
|
+
readonly at: Schema.String;
|
|
5646
|
+
readonly error: Schema.optional<Schema.String>;
|
|
5647
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
5648
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
5649
|
+
}>>;
|
|
5540
5650
|
}>;
|
|
5541
5651
|
}>;
|
|
5542
5652
|
}>, Schema.Struct<{
|
|
@@ -6525,6 +6635,12 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6525
6635
|
}>>;
|
|
6526
6636
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
6527
6637
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
6638
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
6639
|
+
readonly kind: Schema.String;
|
|
6640
|
+
readonly confidence: Schema.Number;
|
|
6641
|
+
readonly needsAnswer: Schema.Boolean;
|
|
6642
|
+
readonly model: Schema.String;
|
|
6643
|
+
}>>;
|
|
6528
6644
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6529
6645
|
}>;
|
|
6530
6646
|
}>;
|
|
@@ -6563,6 +6679,12 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6563
6679
|
}>>;
|
|
6564
6680
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
6565
6681
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
6682
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
6683
|
+
readonly kind: Schema.String;
|
|
6684
|
+
readonly confidence: Schema.Number;
|
|
6685
|
+
readonly needsAnswer: Schema.Boolean;
|
|
6686
|
+
readonly model: Schema.String;
|
|
6687
|
+
}>>;
|
|
6566
6688
|
}>;
|
|
6567
6689
|
}>, Schema.Struct<{
|
|
6568
6690
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -6629,6 +6751,12 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6629
6751
|
}>>;
|
|
6630
6752
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
6631
6753
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
6754
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
6755
|
+
readonly kind: Schema.String;
|
|
6756
|
+
readonly confidence: Schema.Number;
|
|
6757
|
+
readonly needsAnswer: Schema.Boolean;
|
|
6758
|
+
readonly model: Schema.String;
|
|
6759
|
+
}>>;
|
|
6632
6760
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6633
6761
|
}>;
|
|
6634
6762
|
}>;
|
|
@@ -7014,7 +7142,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7014
7142
|
readonly issueState: Schema.Struct<{
|
|
7015
7143
|
readonly issueId: Schema.String;
|
|
7016
7144
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
7017
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
7145
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
7018
7146
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
7019
7147
|
readonly url: Schema.String;
|
|
7020
7148
|
readonly number: Schema.Number;
|
|
@@ -7029,6 +7157,13 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
7029
7157
|
readonly pushed: Schema.Boolean;
|
|
7030
7158
|
}>>;
|
|
7031
7159
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
7160
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
7161
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
7162
|
+
readonly at: Schema.String;
|
|
7163
|
+
readonly error: Schema.optional<Schema.String>;
|
|
7164
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
7165
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
7166
|
+
}>>;
|
|
7032
7167
|
}>;
|
|
7033
7168
|
}>;
|
|
7034
7169
|
}>, Schema.Struct<{
|
|
@@ -7901,13 +8036,19 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7901
8036
|
}>>;
|
|
7902
8037
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
7903
8038
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8039
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8040
|
+
readonly kind: Schema.String;
|
|
8041
|
+
readonly confidence: Schema.Number;
|
|
8042
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8043
|
+
readonly model: Schema.String;
|
|
8044
|
+
}>>;
|
|
7904
8045
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
7905
8046
|
}>>;
|
|
7906
8047
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
7907
8048
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
7908
8049
|
readonly issueId: Schema.String;
|
|
7909
8050
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
7910
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
8051
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
7911
8052
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
7912
8053
|
readonly url: Schema.String;
|
|
7913
8054
|
readonly number: Schema.Number;
|
|
@@ -7922,6 +8063,13 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7922
8063
|
readonly pushed: Schema.Boolean;
|
|
7923
8064
|
}>>;
|
|
7924
8065
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
8066
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
8067
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
8068
|
+
readonly at: Schema.String;
|
|
8069
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8070
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
8071
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
8072
|
+
}>>;
|
|
7925
8073
|
}>>;
|
|
7926
8074
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
7927
8075
|
readonly id: Schema.String;
|
|
@@ -8290,6 +8438,12 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8290
8438
|
}>>;
|
|
8291
8439
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8292
8440
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8441
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8442
|
+
readonly kind: Schema.String;
|
|
8443
|
+
readonly confidence: Schema.Number;
|
|
8444
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8445
|
+
readonly model: Schema.String;
|
|
8446
|
+
}>>;
|
|
8293
8447
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8294
8448
|
}>;
|
|
8295
8449
|
}>;
|
|
@@ -8328,6 +8482,12 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8328
8482
|
}>>;
|
|
8329
8483
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8330
8484
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8485
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8486
|
+
readonly kind: Schema.String;
|
|
8487
|
+
readonly confidence: Schema.Number;
|
|
8488
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8489
|
+
readonly model: Schema.String;
|
|
8490
|
+
}>>;
|
|
8331
8491
|
}>;
|
|
8332
8492
|
}>, Schema.Struct<{
|
|
8333
8493
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -8394,6 +8554,12 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8394
8554
|
}>>;
|
|
8395
8555
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8396
8556
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8557
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8558
|
+
readonly kind: Schema.String;
|
|
8559
|
+
readonly confidence: Schema.Number;
|
|
8560
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8561
|
+
readonly model: Schema.String;
|
|
8562
|
+
}>>;
|
|
8397
8563
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8398
8564
|
}>;
|
|
8399
8565
|
}>;
|
|
@@ -8779,7 +8945,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8779
8945
|
readonly issueState: Schema.Struct<{
|
|
8780
8946
|
readonly issueId: Schema.String;
|
|
8781
8947
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
8782
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
8948
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
8783
8949
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
8784
8950
|
readonly url: Schema.String;
|
|
8785
8951
|
readonly number: Schema.Number;
|
|
@@ -8794,6 +8960,13 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8794
8960
|
readonly pushed: Schema.Boolean;
|
|
8795
8961
|
}>>;
|
|
8796
8962
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
8963
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
8964
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
8965
|
+
readonly at: Schema.String;
|
|
8966
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8967
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
8968
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
8969
|
+
}>>;
|
|
8797
8970
|
}>;
|
|
8798
8971
|
}>;
|
|
8799
8972
|
}>, Schema.Struct<{
|
|
@@ -9818,7 +9991,8 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9818
9991
|
readonly lastCacheReadTokens: Schema.optional<Schema.Number>;
|
|
9819
9992
|
readonly lastCacheCreationTokens: Schema.optional<Schema.Number>; /** Highest input_tokens ever observed in this window — triggers 1M detection. */
|
|
9820
9993
|
readonly maxObservedInputTokens: Schema.optional<Schema.Number>; /** Model the most recent assistant turn ran under (from JSONL). */
|
|
9821
|
-
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /**
|
|
9994
|
+
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
9995
|
+
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
9822
9996
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
9823
9997
|
}>>>;
|
|
9824
9998
|
}>, Schema.Struct<{
|
|
@@ -10482,6 +10656,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10482
10656
|
}>>;
|
|
10483
10657
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
10484
10658
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
10659
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
10660
|
+
readonly kind: Schema.String;
|
|
10661
|
+
readonly confidence: Schema.Number;
|
|
10662
|
+
readonly needsAnswer: Schema.Boolean;
|
|
10663
|
+
readonly model: Schema.String;
|
|
10664
|
+
}>>;
|
|
10485
10665
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10486
10666
|
}>;
|
|
10487
10667
|
}>;
|
|
@@ -10520,6 +10700,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10520
10700
|
}>>;
|
|
10521
10701
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
10522
10702
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
10703
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
10704
|
+
readonly kind: Schema.String;
|
|
10705
|
+
readonly confidence: Schema.Number;
|
|
10706
|
+
readonly needsAnswer: Schema.Boolean;
|
|
10707
|
+
readonly model: Schema.String;
|
|
10708
|
+
}>>;
|
|
10523
10709
|
}>;
|
|
10524
10710
|
}>, Schema.Struct<{
|
|
10525
10711
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -10586,6 +10772,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10586
10772
|
}>>;
|
|
10587
10773
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
10588
10774
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
10775
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
10776
|
+
readonly kind: Schema.String;
|
|
10777
|
+
readonly confidence: Schema.Number;
|
|
10778
|
+
readonly needsAnswer: Schema.Boolean;
|
|
10779
|
+
readonly model: Schema.String;
|
|
10780
|
+
}>>;
|
|
10589
10781
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10590
10782
|
}>;
|
|
10591
10783
|
}>;
|
|
@@ -10971,7 +11163,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10971
11163
|
readonly issueState: Schema.Struct<{
|
|
10972
11164
|
readonly issueId: Schema.String;
|
|
10973
11165
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
10974
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
11166
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
10975
11167
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
10976
11168
|
readonly url: Schema.String;
|
|
10977
11169
|
readonly number: Schema.Number;
|
|
@@ -10986,6 +11178,13 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10986
11178
|
readonly pushed: Schema.Boolean;
|
|
10987
11179
|
}>>;
|
|
10988
11180
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
11181
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
11182
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
11183
|
+
readonly at: Schema.String;
|
|
11184
|
+
readonly error: Schema.optional<Schema.String>;
|
|
11185
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
11186
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
11187
|
+
}>>;
|
|
10989
11188
|
}>;
|
|
10990
11189
|
}>;
|
|
10991
11190
|
}>, Schema.Struct<{
|
|
@@ -11972,6 +12171,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11972
12171
|
}>>;
|
|
11973
12172
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
11974
12173
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
12174
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
12175
|
+
readonly kind: Schema.String;
|
|
12176
|
+
readonly confidence: Schema.Number;
|
|
12177
|
+
readonly needsAnswer: Schema.Boolean;
|
|
12178
|
+
readonly model: Schema.String;
|
|
12179
|
+
}>>;
|
|
11975
12180
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
11976
12181
|
}>;
|
|
11977
12182
|
}>;
|
|
@@ -12010,6 +12215,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12010
12215
|
}>>;
|
|
12011
12216
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
12012
12217
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
12218
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
12219
|
+
readonly kind: Schema.String;
|
|
12220
|
+
readonly confidence: Schema.Number;
|
|
12221
|
+
readonly needsAnswer: Schema.Boolean;
|
|
12222
|
+
readonly model: Schema.String;
|
|
12223
|
+
}>>;
|
|
12013
12224
|
}>;
|
|
12014
12225
|
}>, Schema.Struct<{
|
|
12015
12226
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -12076,6 +12287,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12076
12287
|
}>>;
|
|
12077
12288
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
12078
12289
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
12290
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
12291
|
+
readonly kind: Schema.String;
|
|
12292
|
+
readonly confidence: Schema.Number;
|
|
12293
|
+
readonly needsAnswer: Schema.Boolean;
|
|
12294
|
+
readonly model: Schema.String;
|
|
12295
|
+
}>>;
|
|
12079
12296
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
12080
12297
|
}>;
|
|
12081
12298
|
}>;
|
|
@@ -12461,7 +12678,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12461
12678
|
readonly issueState: Schema.Struct<{
|
|
12462
12679
|
readonly issueId: Schema.String;
|
|
12463
12680
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
12464
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
12681
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
12465
12682
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
12466
12683
|
readonly url: Schema.String;
|
|
12467
12684
|
readonly number: Schema.Number;
|
|
@@ -12476,6 +12693,13 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12476
12693
|
readonly pushed: Schema.Boolean;
|
|
12477
12694
|
}>>;
|
|
12478
12695
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
12696
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
12697
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
12698
|
+
readonly at: Schema.String;
|
|
12699
|
+
readonly error: Schema.optional<Schema.String>;
|
|
12700
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
12701
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
12702
|
+
}>>;
|
|
12479
12703
|
}>;
|
|
12480
12704
|
}>;
|
|
12481
12705
|
}>, Schema.Struct<{
|
|
@@ -13342,13 +13566,19 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13342
13566
|
}>>;
|
|
13343
13567
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
13344
13568
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
13569
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
13570
|
+
readonly kind: Schema.String;
|
|
13571
|
+
readonly confidence: Schema.Number;
|
|
13572
|
+
readonly needsAnswer: Schema.Boolean;
|
|
13573
|
+
readonly model: Schema.String;
|
|
13574
|
+
}>>;
|
|
13345
13575
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13346
13576
|
}>>;
|
|
13347
13577
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
13348
13578
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
13349
13579
|
readonly issueId: Schema.String;
|
|
13350
13580
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
13351
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
13581
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
13352
13582
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
13353
13583
|
readonly url: Schema.String;
|
|
13354
13584
|
readonly number: Schema.Number;
|
|
@@ -13363,6 +13593,13 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13363
13593
|
readonly pushed: Schema.Boolean;
|
|
13364
13594
|
}>>;
|
|
13365
13595
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
13596
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
13597
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
13598
|
+
readonly at: Schema.String;
|
|
13599
|
+
readonly error: Schema.optional<Schema.String>;
|
|
13600
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
13601
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
13602
|
+
}>>;
|
|
13366
13603
|
}>>;
|
|
13367
13604
|
readonly backendPanes: Schema.$Array<Schema.Struct<{
|
|
13368
13605
|
readonly id: Schema.String;
|
|
@@ -13729,6 +13966,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13729
13966
|
}>>;
|
|
13730
13967
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
13731
13968
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
13969
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
13970
|
+
readonly kind: Schema.String;
|
|
13971
|
+
readonly confidence: Schema.Number;
|
|
13972
|
+
readonly needsAnswer: Schema.Boolean;
|
|
13973
|
+
readonly model: Schema.String;
|
|
13974
|
+
}>>;
|
|
13732
13975
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13733
13976
|
}>;
|
|
13734
13977
|
}>;
|
|
@@ -13767,6 +14010,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13767
14010
|
}>>;
|
|
13768
14011
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
13769
14012
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
14013
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
14014
|
+
readonly kind: Schema.String;
|
|
14015
|
+
readonly confidence: Schema.Number;
|
|
14016
|
+
readonly needsAnswer: Schema.Boolean;
|
|
14017
|
+
readonly model: Schema.String;
|
|
14018
|
+
}>>;
|
|
13770
14019
|
}>;
|
|
13771
14020
|
}>, Schema.Struct<{
|
|
13772
14021
|
readonly type: Schema.Literal<"agent.started">;
|
|
@@ -13833,6 +14082,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13833
14082
|
}>>;
|
|
13834
14083
|
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
13835
14084
|
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
14085
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
14086
|
+
readonly kind: Schema.String;
|
|
14087
|
+
readonly confidence: Schema.Number;
|
|
14088
|
+
readonly needsAnswer: Schema.Boolean;
|
|
14089
|
+
readonly model: Schema.String;
|
|
14090
|
+
}>>;
|
|
13836
14091
|
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13837
14092
|
}>;
|
|
13838
14093
|
}>;
|
|
@@ -14218,7 +14473,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14218
14473
|
readonly issueState: Schema.Struct<{
|
|
14219
14474
|
readonly issueId: Schema.String;
|
|
14220
14475
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
14221
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
14476
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
14222
14477
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
14223
14478
|
readonly url: Schema.String;
|
|
14224
14479
|
readonly number: Schema.Number;
|
|
@@ -14233,6 +14488,13 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14233
14488
|
readonly pushed: Schema.Boolean;
|
|
14234
14489
|
}>>;
|
|
14235
14490
|
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
14491
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
14492
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
14493
|
+
readonly at: Schema.String;
|
|
14494
|
+
readonly error: Schema.optional<Schema.String>;
|
|
14495
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
14496
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
14497
|
+
}>>;
|
|
14236
14498
|
}>;
|
|
14237
14499
|
}>;
|
|
14238
14500
|
}>, Schema.Struct<{
|
|
@@ -15156,7 +15418,8 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15156
15418
|
readonly lastCacheReadTokens: Schema.optional<Schema.Number>;
|
|
15157
15419
|
readonly lastCacheCreationTokens: Schema.optional<Schema.Number>; /** Highest input_tokens ever observed in this window — triggers 1M detection. */
|
|
15158
15420
|
readonly maxObservedInputTokens: Schema.optional<Schema.Number>; /** Model the most recent assistant turn ran under (from JSONL). */
|
|
15159
|
-
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /**
|
|
15421
|
+
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
15422
|
+
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
15160
15423
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
15161
15424
|
}>>>;
|
|
15162
15425
|
}>, Schema.Struct<{
|
|
@@ -15616,7 +15879,7 @@ type PanRpcGroup = typeof PanRpcGroup;
|
|
|
15616
15879
|
declare const IssueState: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15617
15880
|
type IssueState = typeof IssueState.Type;
|
|
15618
15881
|
/** Something the operator has to look at. Orthogonal to `IssueState`. */
|
|
15619
|
-
declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>;
|
|
15882
|
+
declare const IssueAttention: Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>;
|
|
15620
15883
|
type IssueAttention = typeof IssueAttention.Type;
|
|
15621
15884
|
/** Latest review decision on the PR, as the forge reports it. */
|
|
15622
15885
|
declare const PrReviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
@@ -15641,11 +15904,20 @@ declare const DerivedBranchState: Schema.Struct<{
|
|
|
15641
15904
|
readonly pushed: Schema.Boolean;
|
|
15642
15905
|
}>;
|
|
15643
15906
|
type DerivedBranchState = typeof DerivedBranchState.Type;
|
|
15907
|
+
/** The workspace journal's read on a post-planning auto-start (PAN-4399). */
|
|
15908
|
+
declare const DerivedWorkStart: Schema.Struct<{
|
|
15909
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>; /** ISO time of the journal entry the status was read from. */
|
|
15910
|
+
readonly at: Schema.String;
|
|
15911
|
+
readonly error: Schema.optional<Schema.String>;
|
|
15912
|
+
readonly nextRetryAt: Schema.optional<Schema.String>; /** The retry is journaled but not actually running because the Deacon is frozen (PAN-4210). Present only when true. */
|
|
15913
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
15914
|
+
}>;
|
|
15915
|
+
type DerivedWorkStart = typeof DerivedWorkStart.Type;
|
|
15644
15916
|
/** Everything the dashboard needs to render an issue's pipeline position. */
|
|
15645
15917
|
declare const DerivedIssueState: Schema.Struct<{
|
|
15646
15918
|
readonly issueId: Schema.String;
|
|
15647
15919
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15648
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15920
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
15649
15921
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
15650
15922
|
readonly url: Schema.String;
|
|
15651
15923
|
readonly number: Schema.Number;
|
|
@@ -15664,7 +15936,14 @@ declare const DerivedIssueState: Schema.Struct<{
|
|
|
15664
15936
|
* precedence — could not be ruled in or out. Present only in that case; an
|
|
15665
15937
|
* unresolved tracker read is never reported as an open issue.
|
|
15666
15938
|
*/
|
|
15667
|
-
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
15939
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>; /** A deferred or gave-up post-planning auto-start read from the workspace journal (PAN-4399). */
|
|
15940
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
15941
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>; /** ISO time of the journal entry the status was read from. */
|
|
15942
|
+
readonly at: Schema.String;
|
|
15943
|
+
readonly error: Schema.optional<Schema.String>;
|
|
15944
|
+
readonly nextRetryAt: Schema.optional<Schema.String>; /** The retry is journaled but not actually running because the Deacon is frozen (PAN-4210). Present only when true. */
|
|
15945
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
15946
|
+
}>>;
|
|
15668
15947
|
}>;
|
|
15669
15948
|
type DerivedIssueState = typeof DerivedIssueState.Type;
|
|
15670
15949
|
declare const ISSUE_STATES: readonly IssueState[];
|
|
@@ -16615,7 +16894,7 @@ declare const FlywheelInFlightRow: Schema.Struct<{
|
|
|
16615
16894
|
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16616
16895
|
readonly title: Schema.NullOr<Schema.String>;
|
|
16617
16896
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
16618
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
16897
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
16619
16898
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
16620
16899
|
readonly url: Schema.String;
|
|
16621
16900
|
readonly number: Schema.Number;
|
|
@@ -16672,7 +16951,7 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
|
16672
16951
|
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16673
16952
|
readonly title: Schema.NullOr<Schema.String>;
|
|
16674
16953
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
16675
|
-
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
16954
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
16676
16955
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
16677
16956
|
readonly url: Schema.String;
|
|
16678
16957
|
readonly number: Schema.Number;
|
|
@@ -16751,7 +17030,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
16751
17030
|
readonly type: string;
|
|
16752
17031
|
readonly source?: string | undefined;
|
|
16753
17032
|
} | null;
|
|
16754
|
-
readonly attention?: "stuck" | "needs-you" | "api-error" | undefined;
|
|
17033
|
+
readonly attention?: "stuck" | "needs-you" | "api-error" | "work-not-started" | undefined;
|
|
16755
17034
|
readonly pr?: {
|
|
16756
17035
|
readonly url: string;
|
|
16757
17036
|
readonly number: number;
|
|
@@ -18617,7 +18896,9 @@ declare const DirectoryEntry: Schema.Struct<{
|
|
|
18617
18896
|
readonly parentId: Schema.NullOr<Schema.String>;
|
|
18618
18897
|
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
18619
18898
|
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
18620
|
-
readonly model: Schema.String;
|
|
18899
|
+
readonly model: Schema.String; /** The launch effort from state.json, native agents only (PAN-4259). */
|
|
18900
|
+
readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>>; /** Where `effort` came from (an EffortSource), native agents only. */
|
|
18901
|
+
readonly effortSource: Schema.optional<Schema.String>;
|
|
18621
18902
|
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
18622
18903
|
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
18623
18904
|
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
@@ -18681,7 +18962,9 @@ declare const AgentDirectoryResponse: Schema.Struct<{
|
|
|
18681
18962
|
readonly parentId: Schema.NullOr<Schema.String>;
|
|
18682
18963
|
readonly role: Schema.NullOr<Schema.String>; /** `unknown` when not known. */
|
|
18683
18964
|
readonly harness: Schema.String; /** `unknown` when not known. */
|
|
18684
|
-
readonly model: Schema.String;
|
|
18965
|
+
readonly model: Schema.String; /** The launch effort from state.json, native agents only (PAN-4259). */
|
|
18966
|
+
readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>>; /** Where `effort` came from (an EffortSource), native agents only. */
|
|
18967
|
+
readonly effortSource: Schema.optional<Schema.String>;
|
|
18685
18968
|
readonly state: Schema.Literals<readonly ["working", "idle", "blocked", "done", "stopped", "unknown"]>;
|
|
18686
18969
|
readonly startedAt: Schema.NullOr<Schema.String>;
|
|
18687
18970
|
readonly lastActivityAt: Schema.NullOr<Schema.String>;
|
|
@@ -18994,5 +19277,191 @@ interface LaneActivityInput {
|
|
|
18994
19277
|
/** D10, first match wins. */
|
|
18995
19278
|
declare function laneActivityOf(row: LaneActivityInput, now: number): LaneActivity;
|
|
18996
19279
|
//#endregion
|
|
18997
|
-
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_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RuntimeName, SINGLETON_AGENT_IDS, 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, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, 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, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
19280
|
+
//#region src/environment.d.ts
|
|
19281
|
+
/** Wire protocol version a client and server must agree on. */
|
|
19282
|
+
declare const ENVIRONMENT_PROTOCOL_VERSION = 1;
|
|
19283
|
+
declare const EnvironmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19284
|
+
type EnvironmentId = typeof EnvironmentId.Type;
|
|
19285
|
+
declare const EnvironmentCapabilities: Schema.Struct<{
|
|
19286
|
+
/** `POST /api/pairing/*` is available. */readonly pairing: Schema.Boolean; /** `GET/DELETE /api/devices` is available. */
|
|
19287
|
+
readonly deviceSessions: Schema.Boolean; /** `/ws/*` upgrades require a credential (PAN-1166). */
|
|
19288
|
+
readonly terminalAuth: Schema.Boolean;
|
|
19289
|
+
}>;
|
|
19290
|
+
type EnvironmentCapabilities = typeof EnvironmentCapabilities.Type;
|
|
19291
|
+
declare const EnvironmentDescriptor: Schema.Struct<{
|
|
19292
|
+
readonly descriptorVersion: Schema.Literal<1>;
|
|
19293
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19294
|
+
readonly label: Schema.String;
|
|
19295
|
+
readonly platform: Schema.Struct<{
|
|
19296
|
+
readonly os: Schema.String;
|
|
19297
|
+
readonly arch: Schema.String;
|
|
19298
|
+
}>; /** Exact package version of the serving Overdeck. */
|
|
19299
|
+
readonly serverVersion: Schema.String; /** The server's `ENVIRONMENT_PROTOCOL_VERSION`. */
|
|
19300
|
+
readonly protocolVersion: Schema.Number;
|
|
19301
|
+
readonly capabilities: Schema.Struct<{
|
|
19302
|
+
/** `POST /api/pairing/*` is available. */readonly pairing: Schema.Boolean; /** `GET/DELETE /api/devices` is available. */
|
|
19303
|
+
readonly deviceSessions: Schema.Boolean; /** `/ws/*` upgrades require a credential (PAN-1166). */
|
|
19304
|
+
readonly terminalAuth: Schema.Boolean;
|
|
19305
|
+
}>;
|
|
19306
|
+
}>;
|
|
19307
|
+
type EnvironmentDescriptor = typeof EnvironmentDescriptor.Type;
|
|
19308
|
+
/** A server-local id qualified by the environment that owns it. */
|
|
19309
|
+
declare const ScopedRef: <A extends Schema.Top>(localId: A) => Schema.Struct<{
|
|
19310
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19311
|
+
readonly localId: A;
|
|
19312
|
+
}>;
|
|
19313
|
+
declare const ScopedProjectRef: Schema.Struct<{
|
|
19314
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19315
|
+
readonly localId: Schema.String;
|
|
19316
|
+
}>;
|
|
19317
|
+
type ScopedProjectRef = typeof ScopedProjectRef.Type;
|
|
19318
|
+
declare const ScopedIssueRef: Schema.Struct<{
|
|
19319
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19320
|
+
readonly localId: Schema.String;
|
|
19321
|
+
}>;
|
|
19322
|
+
type ScopedIssueRef = typeof ScopedIssueRef.Type;
|
|
19323
|
+
declare const ScopedAgentRef: Schema.Struct<{
|
|
19324
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19325
|
+
readonly localId: Schema.String;
|
|
19326
|
+
}>;
|
|
19327
|
+
type ScopedAgentRef = typeof ScopedAgentRef.Type;
|
|
19328
|
+
declare const ScopedConversationRef: Schema.Struct<{
|
|
19329
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19330
|
+
readonly localId: Schema.String;
|
|
19331
|
+
}>;
|
|
19332
|
+
type ScopedConversationRef = typeof ScopedConversationRef.Type;
|
|
19333
|
+
declare const ScopedTerminalRef: Schema.Struct<{
|
|
19334
|
+
readonly environmentId: Schema.brand<Schema.String, "EnvironmentId">;
|
|
19335
|
+
readonly localId: Schema.String;
|
|
19336
|
+
}>;
|
|
19337
|
+
type ScopedTerminalRef = typeof ScopedTerminalRef.Type;
|
|
19338
|
+
/** True only when the server speaks exactly the client's protocol version. */
|
|
19339
|
+
declare function isProtocolCompatible(descriptor: Pick<EnvironmentDescriptor, "protocolVersion">, clientProtocolVersion: number): boolean;
|
|
19340
|
+
//#endregion
|
|
19341
|
+
//#region src/sharing.d.ts
|
|
19342
|
+
type ShareProtocolVersion = 1;
|
|
19343
|
+
type ShareScope = {
|
|
19344
|
+
readonly kind: 'conversation';
|
|
19345
|
+
readonly conversationId: string;
|
|
19346
|
+
};
|
|
19347
|
+
interface ShareIdentity {
|
|
19348
|
+
readonly githubId: number;
|
|
19349
|
+
readonly login: string;
|
|
19350
|
+
readonly avatarUrl: string;
|
|
19351
|
+
}
|
|
19352
|
+
interface RoomParticipant extends ShareIdentity {
|
|
19353
|
+
readonly state: 'lobby' | 'admitted';
|
|
19354
|
+
readonly contributor: boolean;
|
|
19355
|
+
readonly connected: boolean;
|
|
19356
|
+
}
|
|
19357
|
+
interface RoomSnapshot {
|
|
19358
|
+
readonly shortCode: string;
|
|
19359
|
+
readonly scope: ShareScope;
|
|
19360
|
+
readonly dataOwner: ShareIdentity;
|
|
19361
|
+
readonly controllerGithubId: number;
|
|
19362
|
+
readonly hostConnected: boolean;
|
|
19363
|
+
readonly participants: readonly RoomParticipant[];
|
|
19364
|
+
readonly blocked: readonly ShareIdentity[];
|
|
19365
|
+
}
|
|
19366
|
+
interface CreateRoomRequest {
|
|
19367
|
+
readonly scope: ShareScope;
|
|
19368
|
+
}
|
|
19369
|
+
interface CreateRoomResponse {
|
|
19370
|
+
readonly shortCode: string;
|
|
19371
|
+
readonly hostToken: string;
|
|
19372
|
+
readonly joinUrl: string;
|
|
19373
|
+
readonly snapshot: RoomSnapshot;
|
|
19374
|
+
}
|
|
19375
|
+
interface SignalData {
|
|
19376
|
+
readonly sdp?: {
|
|
19377
|
+
readonly type: 'offer' | 'answer';
|
|
19378
|
+
readonly sdp: string;
|
|
19379
|
+
};
|
|
19380
|
+
readonly candidate?: {
|
|
19381
|
+
readonly candidate: string;
|
|
19382
|
+
readonly sdpMid?: string | null;
|
|
19383
|
+
readonly sdpMLineIndex?: number | null;
|
|
19384
|
+
};
|
|
19385
|
+
}
|
|
19386
|
+
interface IceServer {
|
|
19387
|
+
readonly urls: readonly string[];
|
|
19388
|
+
readonly username?: string;
|
|
19389
|
+
readonly credential?: string;
|
|
19390
|
+
}
|
|
19391
|
+
type ShareErrorCode = 'invalid_frame' | 'frame_too_large' | 'not_admitted' | 'unknown_participant' | 'room_full' | 'lobby_full' | 'turn_unavailable';
|
|
19392
|
+
/** Host server → share service (host WebSocket only; D-R3-3). */
|
|
19393
|
+
type HostFrame = {
|
|
19394
|
+
readonly type: 'admit';
|
|
19395
|
+
readonly githubId: number;
|
|
19396
|
+
readonly contributor?: boolean;
|
|
19397
|
+
} | {
|
|
19398
|
+
readonly type: 'kick';
|
|
19399
|
+
readonly githubId: number;
|
|
19400
|
+
} | {
|
|
19401
|
+
readonly type: 'revoke';
|
|
19402
|
+
readonly githubId: number;
|
|
19403
|
+
} | {
|
|
19404
|
+
readonly type: 'unrevoke';
|
|
19405
|
+
readonly githubId: number;
|
|
19406
|
+
} | {
|
|
19407
|
+
readonly type: 'set-contributor';
|
|
19408
|
+
readonly githubId: number;
|
|
19409
|
+
readonly contributor: boolean;
|
|
19410
|
+
} | {
|
|
19411
|
+
readonly type: 'set-controller';
|
|
19412
|
+
readonly githubId: number;
|
|
19413
|
+
} | {
|
|
19414
|
+
readonly type: 'signal';
|
|
19415
|
+
readonly githubId: number;
|
|
19416
|
+
readonly data: SignalData;
|
|
19417
|
+
} | {
|
|
19418
|
+
readonly type: 'ice-servers';
|
|
19419
|
+
} | {
|
|
19420
|
+
readonly type: 'end';
|
|
19421
|
+
};
|
|
19422
|
+
/** Share service → host server. */
|
|
19423
|
+
type ServiceToHostFrame = {
|
|
19424
|
+
readonly type: 'room';
|
|
19425
|
+
readonly snapshot: RoomSnapshot;
|
|
19426
|
+
} | {
|
|
19427
|
+
readonly type: 'signal';
|
|
19428
|
+
readonly githubId: number;
|
|
19429
|
+
readonly data: SignalData;
|
|
19430
|
+
} | {
|
|
19431
|
+
readonly type: 'ice-servers';
|
|
19432
|
+
readonly iceServers: readonly IceServer[];
|
|
19433
|
+
} | {
|
|
19434
|
+
readonly type: 'error';
|
|
19435
|
+
readonly code: ShareErrorCode;
|
|
19436
|
+
readonly githubId?: number;
|
|
19437
|
+
};
|
|
19438
|
+
/** Viewer server → share service. */
|
|
19439
|
+
type ViewerFrame = {
|
|
19440
|
+
readonly type: 'signal';
|
|
19441
|
+
readonly data: SignalData;
|
|
19442
|
+
} | {
|
|
19443
|
+
readonly type: 'ice-servers';
|
|
19444
|
+
} | {
|
|
19445
|
+
readonly type: 'leave';
|
|
19446
|
+
};
|
|
19447
|
+
type ViewerStatus = 'lobby' | 'admitted' | 'host-disconnected' | 'host-reconnected';
|
|
19448
|
+
/** Share service → viewer server. */
|
|
19449
|
+
type ServiceToViewerFrame = {
|
|
19450
|
+
readonly type: 'status';
|
|
19451
|
+
readonly status: ViewerStatus;
|
|
19452
|
+
readonly contributor?: boolean;
|
|
19453
|
+
} | {
|
|
19454
|
+
readonly type: 'signal';
|
|
19455
|
+
readonly data: SignalData;
|
|
19456
|
+
} | {
|
|
19457
|
+
readonly type: 'ice-servers';
|
|
19458
|
+
readonly iceServers: readonly IceServer[];
|
|
19459
|
+
} | {
|
|
19460
|
+
readonly type: 'error';
|
|
19461
|
+
readonly code: ShareErrorCode;
|
|
19462
|
+
};
|
|
19463
|
+
/** WebSocket close codes the share service uses. */
|
|
19464
|
+
type ShareCloseCode = 1000 | 4001 | 4003 | 4004 | 4008 | 4009 | 4010 | 4011 | 4013;
|
|
19465
|
+
//#endregion
|
|
19466
|
+
export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, CreateRoomRequest, CreateRoomResponse, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RuntimeName, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareErrorCode, ShareIdentity, ShareProtocolVersion, ShareScope, ShellOpenInEditorRpc, SignalData, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
18998
19467
|
//# sourceMappingURL=index.d.ts.map
|