@overdeck/contracts 0.62.0 → 0.63.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 +905 -35
- package/dist/index.d.ts +895 -43
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +875 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ declare const Role: Schema.Literals<readonly ["plan", "work", "review", "test",
|
|
|
47
47
|
type Role = typeof Role.Type;
|
|
48
48
|
declare const AgentResolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
|
|
49
49
|
type AgentResolution = typeof AgentResolution.Type;
|
|
50
|
-
type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp' | 'kimi-code' | 'opencode' | 'muse';
|
|
50
|
+
type Harness = 'claude-code' | 'ohmypi' | 'codex' | 'acp' | 'kimi-code' | 'opencode' | 'muse' | 'prime-agent';
|
|
51
51
|
declare const KNOWN_HARNESSES: ReadonlySet<string>;
|
|
52
52
|
/**
|
|
53
53
|
* Normalize a snapshot's runtime field to a known Harness value.
|
|
@@ -108,6 +108,7 @@ declare const AgentRuntimeSnapshot: Schema.Struct<{
|
|
|
108
108
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
109
109
|
readonly lastActivity: Schema.String;
|
|
110
110
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
111
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
111
112
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
112
113
|
readonly since: Schema.String;
|
|
113
114
|
readonly lastToolAt: Schema.String;
|
|
@@ -453,6 +454,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
453
454
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
454
455
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
455
456
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
457
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
456
458
|
}>>;
|
|
457
459
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
458
460
|
readonly name: Schema.String;
|
|
@@ -482,6 +484,7 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
482
484
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
483
485
|
readonly lastActivity: Schema.String;
|
|
484
486
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
487
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
485
488
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
486
489
|
readonly since: Schema.String;
|
|
487
490
|
readonly lastToolAt: Schema.String;
|
|
@@ -584,6 +587,44 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
584
587
|
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
585
588
|
readonly at: Schema.String;
|
|
586
589
|
}>>;
|
|
590
|
+
}>>; /** PAN-4264 — GitHub API quota use, samples and pauses; derived, never stored. */
|
|
591
|
+
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
592
|
+
readonly generatedAt: Schema.String;
|
|
593
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
594
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
595
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
596
|
+
readonly graphql: Schema.Struct<{
|
|
597
|
+
readonly points: Schema.Number;
|
|
598
|
+
readonly calls: Schema.Number;
|
|
599
|
+
}>;
|
|
600
|
+
readonly rest: Schema.Struct<{
|
|
601
|
+
readonly points: Schema.Number;
|
|
602
|
+
readonly calls: Schema.Number;
|
|
603
|
+
}>;
|
|
604
|
+
readonly estimated: Schema.Boolean;
|
|
605
|
+
}>>;
|
|
606
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
607
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
608
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
609
|
+
readonly ts: Schema.String;
|
|
610
|
+
readonly remaining: Schema.Number;
|
|
611
|
+
readonly limit: Schema.Number;
|
|
612
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
613
|
+
}>>;
|
|
614
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
615
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
616
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
617
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
618
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
619
|
+
readonly since: Schema.String;
|
|
620
|
+
readonly until: Schema.String;
|
|
621
|
+
}>>;
|
|
622
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
623
|
+
readonly unattributed: Schema.Number;
|
|
624
|
+
readonly refusals: Schema.Struct<{
|
|
625
|
+
readonly primary: Schema.Number;
|
|
626
|
+
readonly secondary: Schema.Number;
|
|
627
|
+
}>;
|
|
587
628
|
}>>; /** PAN-3751 — in-flight deploys keyed by project key. */
|
|
588
629
|
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
589
630
|
readonly projectKey: Schema.String;
|
|
@@ -1093,6 +1134,58 @@ declare const RestartGateChangedEvent: Schema.Struct<{
|
|
|
1093
1134
|
}>;
|
|
1094
1135
|
}>;
|
|
1095
1136
|
type RestartGateChangedEvent = typeof RestartGateChangedEvent.Type;
|
|
1137
|
+
/**
|
|
1138
|
+
* The GitHub API quota view changed (PAN-4264).
|
|
1139
|
+
*
|
|
1140
|
+
* The payload is the complete snapshot, so the reducer is a plain replace.
|
|
1141
|
+
* The server derives it from the quota ledger and pause file under
|
|
1142
|
+
* `~/.overdeck/github-quota/` and emits it in-memory only, like
|
|
1143
|
+
* `restart_gate.changed`: it is never persisted and never replayed at boot.
|
|
1144
|
+
*/
|
|
1145
|
+
declare const GitHubQuotaChangedEvent: Schema.Struct<{
|
|
1146
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
1147
|
+
readonly sequence: Schema.Number;
|
|
1148
|
+
readonly timestamp: Schema.String;
|
|
1149
|
+
readonly payload: Schema.Struct<{
|
|
1150
|
+
readonly generatedAt: Schema.String;
|
|
1151
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
1152
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
1153
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
1154
|
+
readonly graphql: Schema.Struct<{
|
|
1155
|
+
readonly points: Schema.Number;
|
|
1156
|
+
readonly calls: Schema.Number;
|
|
1157
|
+
}>;
|
|
1158
|
+
readonly rest: Schema.Struct<{
|
|
1159
|
+
readonly points: Schema.Number;
|
|
1160
|
+
readonly calls: Schema.Number;
|
|
1161
|
+
}>;
|
|
1162
|
+
readonly estimated: Schema.Boolean;
|
|
1163
|
+
}>>;
|
|
1164
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
1165
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
1166
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
1167
|
+
readonly ts: Schema.String;
|
|
1168
|
+
readonly remaining: Schema.Number;
|
|
1169
|
+
readonly limit: Schema.Number;
|
|
1170
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
1171
|
+
}>>;
|
|
1172
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
1173
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
1174
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
1175
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
1176
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
1177
|
+
readonly since: Schema.String;
|
|
1178
|
+
readonly until: Schema.String;
|
|
1179
|
+
}>>;
|
|
1180
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
1181
|
+
readonly unattributed: Schema.Number;
|
|
1182
|
+
readonly refusals: Schema.Struct<{
|
|
1183
|
+
readonly primary: Schema.Number;
|
|
1184
|
+
readonly secondary: Schema.Number;
|
|
1185
|
+
}>;
|
|
1186
|
+
}>;
|
|
1187
|
+
}>;
|
|
1188
|
+
type GitHubQuotaChangedEvent = typeof GitHubQuotaChangedEvent.Type;
|
|
1096
1189
|
/**
|
|
1097
1190
|
* The set of in-flight project deploys changed (PAN-3751).
|
|
1098
1191
|
*
|
|
@@ -1445,6 +1538,7 @@ declare const AgentActivityChangedEvent: Schema.Struct<{
|
|
|
1445
1538
|
readonly agentId: Schema.String;
|
|
1446
1539
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
1447
1540
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
1541
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
1448
1542
|
readonly hookName: Schema.optional<Schema.String>;
|
|
1449
1543
|
}>;
|
|
1450
1544
|
}>;
|
|
@@ -1619,6 +1713,7 @@ declare const AgentStateRestoredEvent: Schema.Struct<{
|
|
|
1619
1713
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
1620
1714
|
readonly lastActivity: Schema.String;
|
|
1621
1715
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
1716
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
1622
1717
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
1623
1718
|
readonly since: Schema.String;
|
|
1624
1719
|
readonly lastToolAt: Schema.String;
|
|
@@ -1774,6 +1869,7 @@ declare const IssueStateChangedEvent: Schema.Struct<{
|
|
|
1774
1869
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
1775
1870
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
1776
1871
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
1872
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
1777
1873
|
}>>;
|
|
1778
1874
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
1779
1875
|
readonly name: Schema.String;
|
|
@@ -2861,6 +2957,48 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
2861
2957
|
readonly at: Schema.String;
|
|
2862
2958
|
}>>;
|
|
2863
2959
|
}>;
|
|
2960
|
+
}>, Schema.Struct<{
|
|
2961
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
2962
|
+
readonly sequence: Schema.Number;
|
|
2963
|
+
readonly timestamp: Schema.String;
|
|
2964
|
+
readonly payload: Schema.Struct<{
|
|
2965
|
+
readonly generatedAt: Schema.String;
|
|
2966
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
2967
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
2968
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
2969
|
+
readonly graphql: Schema.Struct<{
|
|
2970
|
+
readonly points: Schema.Number;
|
|
2971
|
+
readonly calls: Schema.Number;
|
|
2972
|
+
}>;
|
|
2973
|
+
readonly rest: Schema.Struct<{
|
|
2974
|
+
readonly points: Schema.Number;
|
|
2975
|
+
readonly calls: Schema.Number;
|
|
2976
|
+
}>;
|
|
2977
|
+
readonly estimated: Schema.Boolean;
|
|
2978
|
+
}>>;
|
|
2979
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
2980
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
2981
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
2982
|
+
readonly ts: Schema.String;
|
|
2983
|
+
readonly remaining: Schema.Number;
|
|
2984
|
+
readonly limit: Schema.Number;
|
|
2985
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
2986
|
+
}>>;
|
|
2987
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
2988
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
2989
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
2990
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
2991
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
2992
|
+
readonly since: Schema.String;
|
|
2993
|
+
readonly until: Schema.String;
|
|
2994
|
+
}>>;
|
|
2995
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
2996
|
+
readonly unattributed: Schema.Number;
|
|
2997
|
+
readonly refusals: Schema.Struct<{
|
|
2998
|
+
readonly primary: Schema.Number;
|
|
2999
|
+
readonly secondary: Schema.Number;
|
|
3000
|
+
}>;
|
|
3001
|
+
}>;
|
|
2864
3002
|
}>, Schema.Struct<{
|
|
2865
3003
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
2866
3004
|
readonly sequence: Schema.Number;
|
|
@@ -3171,6 +3309,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3171
3309
|
readonly agentId: Schema.String;
|
|
3172
3310
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
3173
3311
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
3312
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
3174
3313
|
readonly hookName: Schema.optional<Schema.String>;
|
|
3175
3314
|
}>;
|
|
3176
3315
|
}>, Schema.Struct<{
|
|
@@ -3311,6 +3450,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3311
3450
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
3312
3451
|
readonly lastActivity: Schema.String;
|
|
3313
3452
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
3453
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
3314
3454
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
3315
3455
|
readonly since: Schema.String;
|
|
3316
3456
|
readonly lastToolAt: Schema.String;
|
|
@@ -3436,6 +3576,7 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3436
3576
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
3437
3577
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
3438
3578
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
3579
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
3439
3580
|
}>>;
|
|
3440
3581
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
3441
3582
|
readonly name: Schema.String;
|
|
@@ -4505,13 +4646,26 @@ declare const WorkLogEntry: Schema.Struct<{
|
|
|
4505
4646
|
readonly sequence: Schema.optional<Schema.Number>;
|
|
4506
4647
|
}>;
|
|
4507
4648
|
type WorkLogEntry = typeof WorkLogEntry.Type;
|
|
4649
|
+
/** A human-origin message read from a subagent's own sidechain transcript (PAN-4247). */
|
|
4650
|
+
declare const SubagentHumanInput: Schema.Struct<{
|
|
4651
|
+
readonly id: Schema.String;
|
|
4652
|
+
readonly text: Schema.String;
|
|
4653
|
+
readonly createdAt: Schema.String;
|
|
4654
|
+
}>;
|
|
4655
|
+
type SubagentHumanInput = typeof SubagentHumanInput.Type;
|
|
4508
4656
|
declare const SubagentSummary: Schema.Struct<{
|
|
4509
4657
|
readonly agentId: Schema.String;
|
|
4510
4658
|
readonly agentType: Schema.String;
|
|
4511
4659
|
readonly description: Schema.String;
|
|
4512
4660
|
readonly toolUseId: Schema.String;
|
|
4513
4661
|
readonly spawnDepth: Schema.Number;
|
|
4514
|
-
readonly status: Schema.Literals<readonly ["running", "done"]>;
|
|
4662
|
+
readonly status: Schema.Literals<readonly ["running", "done"]>; /** True for a background subagent, launched with `requestShape: "background"` (PAN-4247). */
|
|
4663
|
+
readonly background: Schema.optional<Schema.Boolean>; /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
|
|
4664
|
+
readonly humanInputs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
4665
|
+
readonly id: Schema.String;
|
|
4666
|
+
readonly text: Schema.String;
|
|
4667
|
+
readonly createdAt: Schema.String;
|
|
4668
|
+
}>>>;
|
|
4515
4669
|
}>;
|
|
4516
4670
|
type SubagentSummary = typeof SubagentSummary.Type;
|
|
4517
4671
|
/**
|
|
@@ -4584,7 +4738,13 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4584
4738
|
readonly description: Schema.String;
|
|
4585
4739
|
readonly toolUseId: Schema.String;
|
|
4586
4740
|
readonly spawnDepth: Schema.Number;
|
|
4587
|
-
readonly status: Schema.Literals<readonly ["running", "done"]>;
|
|
4741
|
+
readonly status: Schema.Literals<readonly ["running", "done"]>; /** True for a background subagent, launched with `requestShape: "background"` (PAN-4247). */
|
|
4742
|
+
readonly background: Schema.optional<Schema.Boolean>; /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
|
|
4743
|
+
readonly humanInputs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
4744
|
+
readonly id: Schema.String;
|
|
4745
|
+
readonly text: Schema.String;
|
|
4746
|
+
readonly createdAt: Schema.String;
|
|
4747
|
+
}>>>;
|
|
4588
4748
|
}>>>;
|
|
4589
4749
|
}>;
|
|
4590
4750
|
type ConversationResponse = typeof ConversationResponse.Type;
|
|
@@ -4660,7 +4820,13 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4660
4820
|
readonly description: Schema.String;
|
|
4661
4821
|
readonly toolUseId: Schema.String;
|
|
4662
4822
|
readonly spawnDepth: Schema.Number;
|
|
4663
|
-
readonly status: Schema.Literals<readonly ["running", "done"]>;
|
|
4823
|
+
readonly status: Schema.Literals<readonly ["running", "done"]>; /** True for a background subagent, launched with `requestShape: "background"` (PAN-4247). */
|
|
4824
|
+
readonly background: Schema.optional<Schema.Boolean>; /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
|
|
4825
|
+
readonly humanInputs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
4826
|
+
readonly id: Schema.String;
|
|
4827
|
+
readonly text: Schema.String;
|
|
4828
|
+
readonly createdAt: Schema.String;
|
|
4829
|
+
}>>>;
|
|
4664
4830
|
}>>;
|
|
4665
4831
|
}>]>;
|
|
4666
4832
|
type ConversationEvent = typeof ConversationEvent.Type;
|
|
@@ -4744,6 +4910,48 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
4744
4910
|
readonly at: Schema.String;
|
|
4745
4911
|
}>>;
|
|
4746
4912
|
}>;
|
|
4913
|
+
}>, Schema.Struct<{
|
|
4914
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
4915
|
+
readonly sequence: Schema.Number;
|
|
4916
|
+
readonly timestamp: Schema.String;
|
|
4917
|
+
readonly payload: Schema.Struct<{
|
|
4918
|
+
readonly generatedAt: Schema.String;
|
|
4919
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
4920
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
4921
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
4922
|
+
readonly graphql: Schema.Struct<{
|
|
4923
|
+
readonly points: Schema.Number;
|
|
4924
|
+
readonly calls: Schema.Number;
|
|
4925
|
+
}>;
|
|
4926
|
+
readonly rest: Schema.Struct<{
|
|
4927
|
+
readonly points: Schema.Number;
|
|
4928
|
+
readonly calls: Schema.Number;
|
|
4929
|
+
}>;
|
|
4930
|
+
readonly estimated: Schema.Boolean;
|
|
4931
|
+
}>>;
|
|
4932
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
4933
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
4934
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
4935
|
+
readonly ts: Schema.String;
|
|
4936
|
+
readonly remaining: Schema.Number;
|
|
4937
|
+
readonly limit: Schema.Number;
|
|
4938
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
4939
|
+
}>>;
|
|
4940
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
4941
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
4942
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
4943
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
4944
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
4945
|
+
readonly since: Schema.String;
|
|
4946
|
+
readonly until: Schema.String;
|
|
4947
|
+
}>>;
|
|
4948
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
4949
|
+
readonly unattributed: Schema.Number;
|
|
4950
|
+
readonly refusals: Schema.Struct<{
|
|
4951
|
+
readonly primary: Schema.Number;
|
|
4952
|
+
readonly secondary: Schema.Number;
|
|
4953
|
+
}>;
|
|
4954
|
+
}>;
|
|
4747
4955
|
}>, Schema.Struct<{
|
|
4748
4956
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
4749
4957
|
readonly sequence: Schema.Number;
|
|
@@ -5054,6 +5262,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5054
5262
|
readonly agentId: Schema.String;
|
|
5055
5263
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
5056
5264
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
5265
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
5057
5266
|
readonly hookName: Schema.optional<Schema.String>;
|
|
5058
5267
|
}>;
|
|
5059
5268
|
}>, Schema.Struct<{
|
|
@@ -5194,6 +5403,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5194
5403
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
5195
5404
|
readonly lastActivity: Schema.String;
|
|
5196
5405
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
5406
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
5197
5407
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
5198
5408
|
readonly since: Schema.String;
|
|
5199
5409
|
readonly lastToolAt: Schema.String;
|
|
@@ -5319,6 +5529,7 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5319
5529
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
5320
5530
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
5321
5531
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
5532
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
5322
5533
|
}>>;
|
|
5323
5534
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
5324
5535
|
readonly name: Schema.String;
|
|
@@ -6191,6 +6402,48 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6191
6402
|
readonly at: Schema.String;
|
|
6192
6403
|
}>>;
|
|
6193
6404
|
}>;
|
|
6405
|
+
}>, Schema.Struct<{
|
|
6406
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
6407
|
+
readonly sequence: Schema.Number;
|
|
6408
|
+
readonly timestamp: Schema.String;
|
|
6409
|
+
readonly payload: Schema.Struct<{
|
|
6410
|
+
readonly generatedAt: Schema.String;
|
|
6411
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
6412
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
6413
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
6414
|
+
readonly graphql: Schema.Struct<{
|
|
6415
|
+
readonly points: Schema.Number;
|
|
6416
|
+
readonly calls: Schema.Number;
|
|
6417
|
+
}>;
|
|
6418
|
+
readonly rest: Schema.Struct<{
|
|
6419
|
+
readonly points: Schema.Number;
|
|
6420
|
+
readonly calls: Schema.Number;
|
|
6421
|
+
}>;
|
|
6422
|
+
readonly estimated: Schema.Boolean;
|
|
6423
|
+
}>>;
|
|
6424
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
6425
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
6426
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
6427
|
+
readonly ts: Schema.String;
|
|
6428
|
+
readonly remaining: Schema.Number;
|
|
6429
|
+
readonly limit: Schema.Number;
|
|
6430
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
6431
|
+
}>>;
|
|
6432
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
6433
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
6434
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
6435
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
6436
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
6437
|
+
readonly since: Schema.String;
|
|
6438
|
+
readonly until: Schema.String;
|
|
6439
|
+
}>>;
|
|
6440
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
6441
|
+
readonly unattributed: Schema.Number;
|
|
6442
|
+
readonly refusals: Schema.Struct<{
|
|
6443
|
+
readonly primary: Schema.Number;
|
|
6444
|
+
readonly secondary: Schema.Number;
|
|
6445
|
+
}>;
|
|
6446
|
+
}>;
|
|
6194
6447
|
}>, Schema.Struct<{
|
|
6195
6448
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
6196
6449
|
readonly sequence: Schema.Number;
|
|
@@ -6501,6 +6754,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6501
6754
|
readonly agentId: Schema.String;
|
|
6502
6755
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
6503
6756
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
6757
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
6504
6758
|
readonly hookName: Schema.optional<Schema.String>;
|
|
6505
6759
|
}>;
|
|
6506
6760
|
}>, Schema.Struct<{
|
|
@@ -6641,6 +6895,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6641
6895
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
6642
6896
|
readonly lastActivity: Schema.String;
|
|
6643
6897
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
6898
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
6644
6899
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
6645
6900
|
readonly since: Schema.String;
|
|
6646
6901
|
readonly lastToolAt: Schema.String;
|
|
@@ -6766,6 +7021,7 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6766
7021
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
6767
7022
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
6768
7023
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
7024
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
6769
7025
|
}>>;
|
|
6770
7026
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
6771
7027
|
readonly name: Schema.String;
|
|
@@ -7658,6 +7914,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7658
7914
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
7659
7915
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
7660
7916
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
7917
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
7661
7918
|
}>>;
|
|
7662
7919
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
7663
7920
|
readonly name: Schema.String;
|
|
@@ -7687,6 +7944,7 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7687
7944
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
7688
7945
|
readonly lastActivity: Schema.String;
|
|
7689
7946
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
7947
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
7690
7948
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
7691
7949
|
readonly since: Schema.String;
|
|
7692
7950
|
readonly lastToolAt: Schema.String;
|
|
@@ -7790,6 +8048,44 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
7790
8048
|
readonly at: Schema.String;
|
|
7791
8049
|
}>>;
|
|
7792
8050
|
}>>;
|
|
8051
|
+
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
8052
|
+
readonly generatedAt: Schema.String;
|
|
8053
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8054
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8055
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8056
|
+
readonly graphql: Schema.Struct<{
|
|
8057
|
+
readonly points: Schema.Number;
|
|
8058
|
+
readonly calls: Schema.Number;
|
|
8059
|
+
}>;
|
|
8060
|
+
readonly rest: Schema.Struct<{
|
|
8061
|
+
readonly points: Schema.Number;
|
|
8062
|
+
readonly calls: Schema.Number;
|
|
8063
|
+
}>;
|
|
8064
|
+
readonly estimated: Schema.Boolean;
|
|
8065
|
+
}>>;
|
|
8066
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8067
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8068
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8069
|
+
readonly ts: Schema.String;
|
|
8070
|
+
readonly remaining: Schema.Number;
|
|
8071
|
+
readonly limit: Schema.Number;
|
|
8072
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8073
|
+
}>>;
|
|
8074
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8075
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8076
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8077
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8078
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8079
|
+
readonly since: Schema.String;
|
|
8080
|
+
readonly until: Schema.String;
|
|
8081
|
+
}>>;
|
|
8082
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8083
|
+
readonly unattributed: Schema.Number;
|
|
8084
|
+
readonly refusals: Schema.Struct<{
|
|
8085
|
+
readonly primary: Schema.Number;
|
|
8086
|
+
readonly secondary: Schema.Number;
|
|
8087
|
+
}>;
|
|
8088
|
+
}>>;
|
|
7793
8089
|
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
7794
8090
|
readonly projectKey: Schema.String;
|
|
7795
8091
|
readonly trigger: Schema.String;
|
|
@@ -7871,6 +8167,48 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
7871
8167
|
readonly at: Schema.String;
|
|
7872
8168
|
}>>;
|
|
7873
8169
|
}>;
|
|
8170
|
+
}>, Schema.Struct<{
|
|
8171
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
8172
|
+
readonly sequence: Schema.Number;
|
|
8173
|
+
readonly timestamp: Schema.String;
|
|
8174
|
+
readonly payload: Schema.Struct<{
|
|
8175
|
+
readonly generatedAt: Schema.String;
|
|
8176
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8177
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8178
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8179
|
+
readonly graphql: Schema.Struct<{
|
|
8180
|
+
readonly points: Schema.Number;
|
|
8181
|
+
readonly calls: Schema.Number;
|
|
8182
|
+
}>;
|
|
8183
|
+
readonly rest: Schema.Struct<{
|
|
8184
|
+
readonly points: Schema.Number;
|
|
8185
|
+
readonly calls: Schema.Number;
|
|
8186
|
+
}>;
|
|
8187
|
+
readonly estimated: Schema.Boolean;
|
|
8188
|
+
}>>;
|
|
8189
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8190
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8191
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8192
|
+
readonly ts: Schema.String;
|
|
8193
|
+
readonly remaining: Schema.Number;
|
|
8194
|
+
readonly limit: Schema.Number;
|
|
8195
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8196
|
+
}>>;
|
|
8197
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8198
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8199
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8200
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8201
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8202
|
+
readonly since: Schema.String;
|
|
8203
|
+
readonly until: Schema.String;
|
|
8204
|
+
}>>;
|
|
8205
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8206
|
+
readonly unattributed: Schema.Number;
|
|
8207
|
+
readonly refusals: Schema.Struct<{
|
|
8208
|
+
readonly primary: Schema.Number;
|
|
8209
|
+
readonly secondary: Schema.Number;
|
|
8210
|
+
}>;
|
|
8211
|
+
}>;
|
|
7874
8212
|
}>, Schema.Struct<{
|
|
7875
8213
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
7876
8214
|
readonly sequence: Schema.Number;
|
|
@@ -8181,6 +8519,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8181
8519
|
readonly agentId: Schema.String;
|
|
8182
8520
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8183
8521
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
8522
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
8184
8523
|
readonly hookName: Schema.optional<Schema.String>;
|
|
8185
8524
|
}>;
|
|
8186
8525
|
}>, Schema.Struct<{
|
|
@@ -8321,6 +8660,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8321
8660
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8322
8661
|
readonly lastActivity: Schema.String;
|
|
8323
8662
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
8663
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
8324
8664
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
8325
8665
|
readonly since: Schema.String;
|
|
8326
8666
|
readonly lastToolAt: Schema.String;
|
|
@@ -8446,6 +8786,7 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8446
8786
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
8447
8787
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
8448
8788
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
8789
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
8449
8790
|
}>>;
|
|
8450
8791
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
8451
8792
|
readonly name: Schema.String;
|
|
@@ -9490,7 +9831,13 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9490
9831
|
readonly description: Schema.String;
|
|
9491
9832
|
readonly toolUseId: Schema.String;
|
|
9492
9833
|
readonly spawnDepth: Schema.Number;
|
|
9493
|
-
readonly status: Schema.Literals<readonly ["running", "done"]>;
|
|
9834
|
+
readonly status: Schema.Literals<readonly ["running", "done"]>; /** True for a background subagent, launched with `requestShape: "background"` (PAN-4247). */
|
|
9835
|
+
readonly background: Schema.optional<Schema.Boolean>; /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
|
|
9836
|
+
readonly humanInputs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
9837
|
+
readonly id: Schema.String;
|
|
9838
|
+
readonly text: Schema.String;
|
|
9839
|
+
readonly createdAt: Schema.String;
|
|
9840
|
+
}>>>;
|
|
9494
9841
|
}>>;
|
|
9495
9842
|
}>]>, typeof PanRpcError>, Schema.Never, never, never>;
|
|
9496
9843
|
/** 17. Subscribe to live session tree deltas for a project (stream, PAN-821) */
|
|
@@ -10012,6 +10359,48 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10012
10359
|
readonly at: Schema.String;
|
|
10013
10360
|
}>>;
|
|
10014
10361
|
}>;
|
|
10362
|
+
}>, Schema.Struct<{
|
|
10363
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
10364
|
+
readonly sequence: Schema.Number;
|
|
10365
|
+
readonly timestamp: Schema.String;
|
|
10366
|
+
readonly payload: Schema.Struct<{
|
|
10367
|
+
readonly generatedAt: Schema.String;
|
|
10368
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
10369
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
10370
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
10371
|
+
readonly graphql: Schema.Struct<{
|
|
10372
|
+
readonly points: Schema.Number;
|
|
10373
|
+
readonly calls: Schema.Number;
|
|
10374
|
+
}>;
|
|
10375
|
+
readonly rest: Schema.Struct<{
|
|
10376
|
+
readonly points: Schema.Number;
|
|
10377
|
+
readonly calls: Schema.Number;
|
|
10378
|
+
}>;
|
|
10379
|
+
readonly estimated: Schema.Boolean;
|
|
10380
|
+
}>>;
|
|
10381
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
10382
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
10383
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
10384
|
+
readonly ts: Schema.String;
|
|
10385
|
+
readonly remaining: Schema.Number;
|
|
10386
|
+
readonly limit: Schema.Number;
|
|
10387
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
10388
|
+
}>>;
|
|
10389
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
10390
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
10391
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
10392
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
10393
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
10394
|
+
readonly since: Schema.String;
|
|
10395
|
+
readonly until: Schema.String;
|
|
10396
|
+
}>>;
|
|
10397
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
10398
|
+
readonly unattributed: Schema.Number;
|
|
10399
|
+
readonly refusals: Schema.Struct<{
|
|
10400
|
+
readonly primary: Schema.Number;
|
|
10401
|
+
readonly secondary: Schema.Number;
|
|
10402
|
+
}>;
|
|
10403
|
+
}>;
|
|
10015
10404
|
}>, Schema.Struct<{
|
|
10016
10405
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
10017
10406
|
readonly sequence: Schema.Number;
|
|
@@ -10322,6 +10711,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10322
10711
|
readonly agentId: Schema.String;
|
|
10323
10712
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
10324
10713
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
10714
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
10325
10715
|
readonly hookName: Schema.optional<Schema.String>;
|
|
10326
10716
|
}>;
|
|
10327
10717
|
}>, Schema.Struct<{
|
|
@@ -10462,6 +10852,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10462
10852
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
10463
10853
|
readonly lastActivity: Schema.String;
|
|
10464
10854
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
10855
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
10465
10856
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
10466
10857
|
readonly since: Schema.String;
|
|
10467
10858
|
readonly lastToolAt: Schema.String;
|
|
@@ -10587,6 +10978,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10587
10978
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
10588
10979
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
10589
10980
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
10981
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
10590
10982
|
}>>;
|
|
10591
10983
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
10592
10984
|
readonly name: Schema.String;
|
|
@@ -11457,6 +11849,48 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11457
11849
|
readonly at: Schema.String;
|
|
11458
11850
|
}>>;
|
|
11459
11851
|
}>;
|
|
11852
|
+
}>, Schema.Struct<{
|
|
11853
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
11854
|
+
readonly sequence: Schema.Number;
|
|
11855
|
+
readonly timestamp: Schema.String;
|
|
11856
|
+
readonly payload: Schema.Struct<{
|
|
11857
|
+
readonly generatedAt: Schema.String;
|
|
11858
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
11859
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
11860
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
11861
|
+
readonly graphql: Schema.Struct<{
|
|
11862
|
+
readonly points: Schema.Number;
|
|
11863
|
+
readonly calls: Schema.Number;
|
|
11864
|
+
}>;
|
|
11865
|
+
readonly rest: Schema.Struct<{
|
|
11866
|
+
readonly points: Schema.Number;
|
|
11867
|
+
readonly calls: Schema.Number;
|
|
11868
|
+
}>;
|
|
11869
|
+
readonly estimated: Schema.Boolean;
|
|
11870
|
+
}>>;
|
|
11871
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
11872
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
11873
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
11874
|
+
readonly ts: Schema.String;
|
|
11875
|
+
readonly remaining: Schema.Number;
|
|
11876
|
+
readonly limit: Schema.Number;
|
|
11877
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
11878
|
+
}>>;
|
|
11879
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
11880
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
11881
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
11882
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
11883
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
11884
|
+
readonly since: Schema.String;
|
|
11885
|
+
readonly until: Schema.String;
|
|
11886
|
+
}>>;
|
|
11887
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
11888
|
+
readonly unattributed: Schema.Number;
|
|
11889
|
+
readonly refusals: Schema.Struct<{
|
|
11890
|
+
readonly primary: Schema.Number;
|
|
11891
|
+
readonly secondary: Schema.Number;
|
|
11892
|
+
}>;
|
|
11893
|
+
}>;
|
|
11460
11894
|
}>, Schema.Struct<{
|
|
11461
11895
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
11462
11896
|
readonly sequence: Schema.Number;
|
|
@@ -11767,6 +12201,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11767
12201
|
readonly agentId: Schema.String;
|
|
11768
12202
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
11769
12203
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
12204
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
11770
12205
|
readonly hookName: Schema.optional<Schema.String>;
|
|
11771
12206
|
}>;
|
|
11772
12207
|
}>, Schema.Struct<{
|
|
@@ -11907,6 +12342,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
11907
12342
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
11908
12343
|
readonly lastActivity: Schema.String;
|
|
11909
12344
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
12345
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
11910
12346
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
11911
12347
|
readonly since: Schema.String;
|
|
11912
12348
|
readonly lastToolAt: Schema.String;
|
|
@@ -12032,6 +12468,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12032
12468
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
12033
12469
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
12034
12470
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
12471
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
12035
12472
|
}>>;
|
|
12036
12473
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
12037
12474
|
readonly name: Schema.String;
|
|
@@ -12918,6 +13355,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12918
13355
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
12919
13356
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
12920
13357
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
13358
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
12921
13359
|
}>>;
|
|
12922
13360
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
12923
13361
|
readonly name: Schema.String;
|
|
@@ -12947,6 +13385,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12947
13385
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
12948
13386
|
readonly lastActivity: Schema.String;
|
|
12949
13387
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
13388
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
12950
13389
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
12951
13390
|
readonly since: Schema.String;
|
|
12952
13391
|
readonly lastToolAt: Schema.String;
|
|
@@ -13050,6 +13489,44 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13050
13489
|
readonly at: Schema.String;
|
|
13051
13490
|
}>>;
|
|
13052
13491
|
}>>;
|
|
13492
|
+
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
13493
|
+
readonly generatedAt: Schema.String;
|
|
13494
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
13495
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
13496
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13497
|
+
readonly graphql: Schema.Struct<{
|
|
13498
|
+
readonly points: Schema.Number;
|
|
13499
|
+
readonly calls: Schema.Number;
|
|
13500
|
+
}>;
|
|
13501
|
+
readonly rest: Schema.Struct<{
|
|
13502
|
+
readonly points: Schema.Number;
|
|
13503
|
+
readonly calls: Schema.Number;
|
|
13504
|
+
}>;
|
|
13505
|
+
readonly estimated: Schema.Boolean;
|
|
13506
|
+
}>>;
|
|
13507
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
13508
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13509
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13510
|
+
readonly ts: Schema.String;
|
|
13511
|
+
readonly remaining: Schema.Number;
|
|
13512
|
+
readonly limit: Schema.Number;
|
|
13513
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
13514
|
+
}>>;
|
|
13515
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
13516
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13517
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13518
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
13519
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13520
|
+
readonly since: Schema.String;
|
|
13521
|
+
readonly until: Schema.String;
|
|
13522
|
+
}>>;
|
|
13523
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
13524
|
+
readonly unattributed: Schema.Number;
|
|
13525
|
+
readonly refusals: Schema.Struct<{
|
|
13526
|
+
readonly primary: Schema.Number;
|
|
13527
|
+
readonly secondary: Schema.Number;
|
|
13528
|
+
}>;
|
|
13529
|
+
}>>;
|
|
13053
13530
|
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
13054
13531
|
readonly projectKey: Schema.String;
|
|
13055
13532
|
readonly trigger: Schema.String;
|
|
@@ -13129,6 +13606,48 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13129
13606
|
readonly at: Schema.String;
|
|
13130
13607
|
}>>;
|
|
13131
13608
|
}>;
|
|
13609
|
+
}>, Schema.Struct<{
|
|
13610
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
13611
|
+
readonly sequence: Schema.Number;
|
|
13612
|
+
readonly timestamp: Schema.String;
|
|
13613
|
+
readonly payload: Schema.Struct<{
|
|
13614
|
+
readonly generatedAt: Schema.String;
|
|
13615
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
13616
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
13617
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13618
|
+
readonly graphql: Schema.Struct<{
|
|
13619
|
+
readonly points: Schema.Number;
|
|
13620
|
+
readonly calls: Schema.Number;
|
|
13621
|
+
}>;
|
|
13622
|
+
readonly rest: Schema.Struct<{
|
|
13623
|
+
readonly points: Schema.Number;
|
|
13624
|
+
readonly calls: Schema.Number;
|
|
13625
|
+
}>;
|
|
13626
|
+
readonly estimated: Schema.Boolean;
|
|
13627
|
+
}>>;
|
|
13628
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
13629
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13630
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13631
|
+
readonly ts: Schema.String;
|
|
13632
|
+
readonly remaining: Schema.Number;
|
|
13633
|
+
readonly limit: Schema.Number;
|
|
13634
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
13635
|
+
}>>;
|
|
13636
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
13637
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
13638
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
13639
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
13640
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
13641
|
+
readonly since: Schema.String;
|
|
13642
|
+
readonly until: Schema.String;
|
|
13643
|
+
}>>;
|
|
13644
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
13645
|
+
readonly unattributed: Schema.Number;
|
|
13646
|
+
readonly refusals: Schema.Struct<{
|
|
13647
|
+
readonly primary: Schema.Number;
|
|
13648
|
+
readonly secondary: Schema.Number;
|
|
13649
|
+
}>;
|
|
13650
|
+
}>;
|
|
13132
13651
|
}>, Schema.Struct<{
|
|
13133
13652
|
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
13134
13653
|
readonly sequence: Schema.Number;
|
|
@@ -13439,6 +13958,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13439
13958
|
readonly agentId: Schema.String;
|
|
13440
13959
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
13441
13960
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
13961
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
13442
13962
|
readonly hookName: Schema.optional<Schema.String>;
|
|
13443
13963
|
}>;
|
|
13444
13964
|
}>, Schema.Struct<{
|
|
@@ -13579,6 +14099,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13579
14099
|
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
13580
14100
|
readonly lastActivity: Schema.String;
|
|
13581
14101
|
readonly currentTool: Schema.optional<Schema.String>;
|
|
14102
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
13582
14103
|
readonly thinking: Schema.optional<Schema.Struct<{
|
|
13583
14104
|
readonly since: Schema.String;
|
|
13584
14105
|
readonly lastToolAt: Schema.String;
|
|
@@ -13704,6 +14225,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13704
14225
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
13705
14226
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
13706
14227
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
14228
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
13707
14229
|
}>>;
|
|
13708
14230
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
13709
14231
|
readonly name: Schema.String;
|
|
@@ -14647,7 +15169,13 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14647
15169
|
readonly description: Schema.String;
|
|
14648
15170
|
readonly toolUseId: Schema.String;
|
|
14649
15171
|
readonly spawnDepth: Schema.Number;
|
|
14650
|
-
readonly status: Schema.Literals<readonly ["running", "done"]>;
|
|
15172
|
+
readonly status: Schema.Literals<readonly ["running", "done"]>; /** True for a background subagent, launched with `requestShape: "background"` (PAN-4247). */
|
|
15173
|
+
readonly background: Schema.optional<Schema.Boolean>; /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
|
|
15174
|
+
readonly humanInputs: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
15175
|
+
readonly id: Schema.String;
|
|
15176
|
+
readonly text: Schema.String;
|
|
15177
|
+
readonly createdAt: Schema.String;
|
|
15178
|
+
}>>>;
|
|
14651
15179
|
}>>;
|
|
14652
15180
|
}>]>, typeof PanRpcError>, Schema.Never, never, never> | Rpc.Rpc<"pan.subscribeProjectSessionTree", Schema.Struct<{
|
|
14653
15181
|
readonly projectKey: Schema.String;
|
|
@@ -15102,7 +15630,8 @@ declare const DerivedPrState: Schema.Struct<{
|
|
|
15102
15630
|
readonly number: Schema.Number;
|
|
15103
15631
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15104
15632
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
|
|
15105
|
-
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15633
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>; /** Present only when true; survives state: closed (PAN-4290). */
|
|
15634
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
15106
15635
|
}>;
|
|
15107
15636
|
type DerivedPrState = typeof DerivedPrState.Type;
|
|
15108
15637
|
/** The issue's feature branch as git reports it. */
|
|
@@ -15122,7 +15651,8 @@ declare const DerivedIssueState: Schema.Struct<{
|
|
|
15122
15651
|
readonly number: Schema.Number;
|
|
15123
15652
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15124
15653
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>; /** Forge mergeability. `null` when the forge has not computed it yet. */
|
|
15125
|
-
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15654
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>; /** Present only when true; survives state: closed (PAN-4290). */
|
|
15655
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
15126
15656
|
}>>;
|
|
15127
15657
|
readonly branch: Schema.optional<Schema.Struct<{
|
|
15128
15658
|
readonly name: Schema.String;
|
|
@@ -15144,6 +15674,122 @@ declare const ISSUE_ATTENTIONS: readonly IssueAttention[];
|
|
|
15144
15674
|
declare function isIssueState(value: unknown): value is IssueState;
|
|
15145
15675
|
declare function isIssueAttention(value: unknown): value is IssueAttention;
|
|
15146
15676
|
//#endregion
|
|
15677
|
+
//#region src/github-quota.d.ts
|
|
15678
|
+
/**
|
|
15679
|
+
* The closed list of logical GitHub callers. A call made outside any
|
|
15680
|
+
* `withGitHubCaller` context is recorded as `other` (or `app-rest` when it
|
|
15681
|
+
* goes through the GitHub App REST door).
|
|
15682
|
+
*/
|
|
15683
|
+
declare const GITHUB_QUOTA_CALLERS: readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"];
|
|
15684
|
+
declare const GitHubQuotaCaller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15685
|
+
type GitHubQuotaCaller = typeof GitHubQuotaCaller.Type;
|
|
15686
|
+
/**
|
|
15687
|
+
* Read-model pollers whose data can be stale for minutes without harm. Only
|
|
15688
|
+
* these callers are skipped while a pause is active; every other caller
|
|
15689
|
+
* (merge, verdict recording, tracker writes, agents) is essential and never
|
|
15690
|
+
* paused.
|
|
15691
|
+
*/
|
|
15692
|
+
declare const NON_ESSENTIAL_GITHUB_CALLERS: ReadonlySet<GitHubQuotaCaller>;
|
|
15693
|
+
/**
|
|
15694
|
+
* The GitHub identity whose limit a call spends: `user` is the `gh` CLI token,
|
|
15695
|
+
* `pat` is the `GITHUB_TOKEN` personal access token, `app` is a GitHub App
|
|
15696
|
+
* installation token.
|
|
15697
|
+
*/
|
|
15698
|
+
declare const GITHUB_QUOTA_POOLS: readonly ["user", "pat", "app"];
|
|
15699
|
+
declare const GitHubQuotaPool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
15700
|
+
type GitHubQuotaPool = typeof GitHubQuotaPool.Type;
|
|
15701
|
+
/** The limit counter inside a pool. `rest` is what GitHub calls `core`. */
|
|
15702
|
+
declare const GITHUB_QUOTA_BUCKETS: readonly ["graphql", "rest"];
|
|
15703
|
+
declare const GitHubQuotaBucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
15704
|
+
type GitHubQuotaBucket = typeof GitHubQuotaBucket.Type;
|
|
15705
|
+
/** Primary = the hourly budget; secondary = GitHub's burst/abuse limit. */
|
|
15706
|
+
declare const GitHubRateLimitKind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
15707
|
+
type GitHubRateLimitKind = typeof GitHubRateLimitKind.Type;
|
|
15708
|
+
/** Points spent and calls made in one bucket. */
|
|
15709
|
+
declare const GitHubQuotaUsage: Schema.Struct<{
|
|
15710
|
+
readonly points: Schema.Number;
|
|
15711
|
+
readonly calls: Schema.Number;
|
|
15712
|
+
}>;
|
|
15713
|
+
type GitHubQuotaUsage = typeof GitHubQuotaUsage.Type;
|
|
15714
|
+
/** One caller's metered usage over the last hour. */
|
|
15715
|
+
declare const GitHubQuotaCallerUsage: Schema.Struct<{
|
|
15716
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15717
|
+
readonly graphql: Schema.Struct<{
|
|
15718
|
+
readonly points: Schema.Number;
|
|
15719
|
+
readonly calls: Schema.Number;
|
|
15720
|
+
}>;
|
|
15721
|
+
readonly rest: Schema.Struct<{
|
|
15722
|
+
readonly points: Schema.Number;
|
|
15723
|
+
readonly calls: Schema.Number;
|
|
15724
|
+
}>; /** True when any counted call had an estimated (not GitHub-reported) cost. */
|
|
15725
|
+
readonly estimated: Schema.Boolean;
|
|
15726
|
+
}>;
|
|
15727
|
+
type GitHubQuotaCallerUsage = typeof GitHubQuotaCallerUsage.Type;
|
|
15728
|
+
/** The latest `/rate_limit` (or header) reading for one pool and bucket. */
|
|
15729
|
+
declare const GitHubQuotaSample: Schema.Struct<{
|
|
15730
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
15731
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>; /** ISO time the sample was taken. */
|
|
15732
|
+
readonly ts: Schema.String;
|
|
15733
|
+
readonly remaining: Schema.Number;
|
|
15734
|
+
readonly limit: Schema.Number; /** ISO time the bucket's hourly window resets. */
|
|
15735
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
15736
|
+
}>;
|
|
15737
|
+
type GitHubQuotaSample = typeof GitHubQuotaSample.Type;
|
|
15738
|
+
/** An active pause on one pool and bucket (`~/.overdeck/github-quota/pause.json`). */
|
|
15739
|
+
declare const GitHubQuotaPause: Schema.Struct<{
|
|
15740
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
15741
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
15742
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>; /** The caller whose refused call started the pause. */
|
|
15743
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>; /** ISO time the pause started. */
|
|
15744
|
+
readonly since: Schema.String; /** ISO time the pause ends. */
|
|
15745
|
+
readonly until: Schema.String;
|
|
15746
|
+
}>;
|
|
15747
|
+
type GitHubQuotaPause = typeof GitHubQuotaPause.Type;
|
|
15748
|
+
/**
|
|
15749
|
+
* The operator-facing quota view — identical to the body of
|
|
15750
|
+
* `GET /api/github-quota`, so the pill, the banner and the CLI read one shape.
|
|
15751
|
+
* Derived runtime state: published with `emitOnly`, never persisted.
|
|
15752
|
+
*/
|
|
15753
|
+
declare const GitHubQuotaSnapshot: Schema.Struct<{
|
|
15754
|
+
/** ISO time the snapshot was built. */readonly generatedAt: Schema.String; /** The `gh` account login. Local display only; never sent to telemetry. */
|
|
15755
|
+
readonly login: Schema.NullOr<Schema.String>; /** Per-caller usage in the last hour, highest total points first. */
|
|
15756
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
15757
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
15758
|
+
readonly graphql: Schema.Struct<{
|
|
15759
|
+
readonly points: Schema.Number;
|
|
15760
|
+
readonly calls: Schema.Number;
|
|
15761
|
+
}>;
|
|
15762
|
+
readonly rest: Schema.Struct<{
|
|
15763
|
+
readonly points: Schema.Number;
|
|
15764
|
+
readonly calls: Schema.Number;
|
|
15765
|
+
}>; /** True when any counted call had an estimated (not GitHub-reported) cost. */
|
|
15766
|
+
readonly estimated: Schema.Boolean;
|
|
15767
|
+
}>>; /** The latest sample per pool and bucket. */
|
|
15768
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
15769
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
15770
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>; /** ISO time the sample was taken. */
|
|
15771
|
+
readonly ts: Schema.String;
|
|
15772
|
+
readonly remaining: Schema.Number;
|
|
15773
|
+
readonly limit: Schema.Number; /** ISO time the bucket's hourly window resets. */
|
|
15774
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
15775
|
+
}>>; /** Active pauses; empty when GitHub calls are not paused. */
|
|
15776
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
15777
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
15778
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
15779
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>; /** The caller whose refused call started the pause. */
|
|
15780
|
+
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>; /** ISO time the pause started. */
|
|
15781
|
+
readonly since: Schema.String; /** ISO time the pause ends. */
|
|
15782
|
+
readonly until: Schema.String;
|
|
15783
|
+
}>>; /** True when this machine's own metered usage cannot explain a primary limit. */
|
|
15784
|
+
readonly ownUsageLow: Schema.Boolean; /** User-pool GraphQL points the latest sample shows spent but no metered caller claims. */
|
|
15785
|
+
readonly unattributed: Schema.Number; /** Refusals observed in the last hour. */
|
|
15786
|
+
readonly refusals: Schema.Struct<{
|
|
15787
|
+
readonly primary: Schema.Number;
|
|
15788
|
+
readonly secondary: Schema.Number;
|
|
15789
|
+
}>;
|
|
15790
|
+
}>;
|
|
15791
|
+
type GitHubQuotaSnapshot = typeof GitHubQuotaSnapshot.Type;
|
|
15792
|
+
//#endregion
|
|
15147
15793
|
//#region src/backend-pane.d.ts
|
|
15148
15794
|
declare const BackendPane: Schema.Struct<{
|
|
15149
15795
|
/** 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). */
|
|
@@ -15158,6 +15804,17 @@ declare const BackendPane: Schema.Struct<{
|
|
|
15158
15804
|
readonly workspace: Schema.optional<Schema.String>;
|
|
15159
15805
|
}>;
|
|
15160
15806
|
type BackendPane = typeof BackendPane.Type;
|
|
15807
|
+
/**
|
|
15808
|
+
* The agent id a pane answers for (PAN-4320). On Herdr `id` (`w1:p1`) and
|
|
15809
|
+
* `terminalId` (`term_…`) are backend handles, never agent ids, so the
|
|
15810
|
+
* `agentId` token decides; tmux panes carry `agentId` = session name.
|
|
15811
|
+
*/
|
|
15812
|
+
declare function paneAgentKey(pane: BackendPane): string;
|
|
15813
|
+
/**
|
|
15814
|
+
* Panes by agent key. When two panes answer for one agent (a restarted Herdr
|
|
15815
|
+
* agent beside its exited pane), a non-exited pane wins, never the reverse.
|
|
15816
|
+
*/
|
|
15817
|
+
declare function indexPanesByAgentKey(panes: Iterable<BackendPane>): Map<string, BackendPane>;
|
|
15161
15818
|
//#endregion
|
|
15162
15819
|
//#region src/event-reducers.d.ts
|
|
15163
15820
|
interface ResolvedChannelPermissionDecision {
|
|
@@ -15242,6 +15899,8 @@ interface ReadModelState {
|
|
|
15242
15899
|
ciByProjectKey: Record<string, ProjectCiSnapshot>;
|
|
15243
15900
|
/** PAN-3729 — voluntary-restart approval gate; null until the gate first reports. */
|
|
15244
15901
|
restartGate: RestartGateSnapshot | null;
|
|
15902
|
+
/** PAN-4264 — GitHub API quota view; null until the publisher first reports. */
|
|
15903
|
+
githubQuota: GitHubQuotaSnapshot | null;
|
|
15245
15904
|
/** PAN-3751 — in-flight deploys keyed by project key; derived, never stored. */
|
|
15246
15905
|
deployByProjectKey: Record<string, ProjectDeploySnapshot>;
|
|
15247
15906
|
/** sessionId (from agent snapshot or runtime claudeSessionId) → agentId index */
|
|
@@ -15408,21 +16067,41 @@ declare const OpenInEditorInput: Schema.Struct<{
|
|
|
15408
16067
|
}>;
|
|
15409
16068
|
type OpenInEditorInput = typeof OpenInEditorInput.Type;
|
|
15410
16069
|
//#endregion
|
|
16070
|
+
//#region src/effort.d.ts
|
|
16071
|
+
/**
|
|
16072
|
+
* Canonical reasoning-effort levels, end to end. `xhigh` was added in Opus 4.7
|
|
16073
|
+
* (between `high` and `max`); `max` predates it (Opus 4.6+/Sonnet 4.6). This is
|
|
16074
|
+
* the single source of truth for the enum — every other copy in the codebase
|
|
16075
|
+
* derives from it.
|
|
16076
|
+
*/
|
|
16077
|
+
declare const EFFORT_LEVELS: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
16078
|
+
type EffortLevel = (typeof EFFORT_LEVELS)[number];
|
|
16079
|
+
declare const DEFAULT_EFFORT: EffortLevel;
|
|
16080
|
+
/**
|
|
16081
|
+
* Where a resolved effort value came from, in resolution-precedence order
|
|
16082
|
+
* (most to least specific).
|
|
16083
|
+
*/
|
|
16084
|
+
type EffortSource = "explicit" | "item" | "plan" | "tier" | "sub-role" | "role" | "project" | "default";
|
|
16085
|
+
declare const EffortLevelSchema: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
16086
|
+
declare function isEffortLevel(value: unknown): value is EffortLevel;
|
|
16087
|
+
/** Compares two effort levels by rank; negative when `a` is lower than `b`. */
|
|
16088
|
+
declare function compareEffort(a: EffortLevel, b: EffortLevel): number;
|
|
16089
|
+
//#endregion
|
|
15411
16090
|
//#region src/flywheel.d.ts
|
|
15412
16091
|
declare const FlywheelRunId: Schema.String;
|
|
15413
16092
|
type FlywheelRunId = typeof FlywheelRunId.Type;
|
|
15414
16093
|
declare const FlywheelHttpUrl: Schema.String;
|
|
15415
16094
|
type FlywheelHttpUrl = typeof FlywheelHttpUrl.Type;
|
|
15416
|
-
declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
16095
|
+
declare const FlywheelHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
15417
16096
|
interface FlywheelOrchestrator {
|
|
15418
16097
|
harness: typeof FlywheelHarness.Type;
|
|
15419
16098
|
model: string;
|
|
15420
|
-
effort:
|
|
16099
|
+
effort: EffortLevel;
|
|
15421
16100
|
ctxPercent: number;
|
|
15422
16101
|
}
|
|
15423
16102
|
declare const FlywheelEffort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
15424
16103
|
declare const FlywheelOrchestrator: Schema.Struct<{
|
|
15425
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
16104
|
+
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
15426
16105
|
readonly model: Schema.String;
|
|
15427
16106
|
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
15428
16107
|
readonly ctxPercent: Schema.Number;
|
|
@@ -15625,7 +16304,7 @@ declare const FlywheelStatus: Schema.Struct<{
|
|
|
15625
16304
|
readonly startedAt: Schema.String;
|
|
15626
16305
|
readonly elapsedMs: Schema.Number;
|
|
15627
16306
|
readonly orchestrator: Schema.Struct<{
|
|
15628
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
16307
|
+
readonly harness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
15629
16308
|
readonly model: Schema.String;
|
|
15630
16309
|
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
15631
16310
|
readonly ctxPercent: Schema.Number;
|
|
@@ -15896,7 +16575,8 @@ declare const FlywheelConversationSummary: Schema.Struct<{
|
|
|
15896
16575
|
readonly title: Schema.NullOr<Schema.String>;
|
|
15897
16576
|
readonly model: Schema.NullOr<Schema.String>;
|
|
15898
16577
|
readonly harness: Schema.NullOr<Schema.String>;
|
|
15899
|
-
readonly cwd: Schema.String;
|
|
16578
|
+
readonly cwd: Schema.String; /** When the conversation row was created — the page's elapsed run time. */
|
|
16579
|
+
readonly createdAt: Schema.String;
|
|
15900
16580
|
readonly sessionAlive: Schema.Boolean;
|
|
15901
16581
|
}>;
|
|
15902
16582
|
type FlywheelConversationSummary = typeof FlywheelConversationSummary.Type;
|
|
@@ -15921,8 +16601,19 @@ declare const FlywheelJournalSummary: Schema.Struct<{
|
|
|
15921
16601
|
readonly source: Schema.optional<Schema.String>;
|
|
15922
16602
|
}>;
|
|
15923
16603
|
type FlywheelJournalSummary = typeof FlywheelJournalSummary.Type;
|
|
15924
|
-
|
|
16604
|
+
/** One live agent pane in the flywheel's project, as the backend inventory reports it. */
|
|
16605
|
+
declare const FlywheelAgentSummary: Schema.Struct<{
|
|
15925
16606
|
readonly issueId: Schema.String;
|
|
16607
|
+
readonly role: Schema.String;
|
|
16608
|
+
readonly harness: Schema.String;
|
|
16609
|
+
readonly model: Schema.String;
|
|
16610
|
+
readonly state: Schema.String;
|
|
16611
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
16612
|
+
}>;
|
|
16613
|
+
type FlywheelAgentSummary = typeof FlywheelAgentSummary.Type;
|
|
16614
|
+
declare const FlywheelInFlightRow: Schema.Struct<{
|
|
16615
|
+
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16616
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15926
16617
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15927
16618
|
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15928
16619
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
@@ -15931,7 +16622,11 @@ declare const FlywheelInFlightRow: Schema.Struct<{
|
|
|
15931
16622
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15932
16623
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15933
16624
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15934
|
-
|
|
16625
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
16626
|
+
}>>; /** Set when no configured tracker answered: the state is a guess, not a fact. */
|
|
16627
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>; /** Live agent panes on this issue. `working` with 0 means nobody is driving it. */
|
|
16628
|
+
readonly liveAgents: Schema.Number; /** The loop named this id in its newest tick marker's in-flight list. */
|
|
16629
|
+
readonly inTick: Schema.Boolean;
|
|
15935
16630
|
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15936
16631
|
readonly at: Schema.String;
|
|
15937
16632
|
readonly type: Schema.String;
|
|
@@ -15955,7 +16650,8 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
|
15955
16650
|
readonly title: Schema.NullOr<Schema.String>;
|
|
15956
16651
|
readonly model: Schema.NullOr<Schema.String>;
|
|
15957
16652
|
readonly harness: Schema.NullOr<Schema.String>;
|
|
15958
|
-
readonly cwd: Schema.String;
|
|
16653
|
+
readonly cwd: Schema.String; /** When the conversation row was created — the page's elapsed run time. */
|
|
16654
|
+
readonly createdAt: Schema.String;
|
|
15959
16655
|
readonly sessionAlive: Schema.Boolean;
|
|
15960
16656
|
}>>;
|
|
15961
16657
|
readonly lastTick: Schema.NullOr<Schema.Struct<{
|
|
@@ -15973,7 +16669,8 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
|
15973
16669
|
readonly merge_train_enabled: Schema.Boolean;
|
|
15974
16670
|
}>;
|
|
15975
16671
|
readonly inFlight: Schema.$Array<Schema.Struct<{
|
|
15976
|
-
readonly issueId: Schema.String;
|
|
16672
|
+
readonly issueId: Schema.String; /** The tracker's title, or `null` when no tracker answered for this issue. */
|
|
16673
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
15977
16674
|
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
15978
16675
|
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error"]>>;
|
|
15979
16676
|
readonly pr: Schema.optional<Schema.Struct<{
|
|
@@ -15982,13 +16679,30 @@ declare const FlywheelDerivedStatus: Schema.Struct<{
|
|
|
15982
16679
|
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
15983
16680
|
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
15984
16681
|
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
15985
|
-
|
|
16682
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
16683
|
+
}>>; /** Set when no configured tracker answered: the state is a guess, not a fact. */
|
|
16684
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>; /** Live agent panes on this issue. `working` with 0 means nobody is driving it. */
|
|
16685
|
+
readonly liveAgents: Schema.Number; /** The loop named this id in its newest tick marker's in-flight list. */
|
|
16686
|
+
readonly inTick: Schema.Boolean;
|
|
15986
16687
|
readonly lastJournal: Schema.NullOr<Schema.Struct<{
|
|
15987
16688
|
readonly at: Schema.String;
|
|
15988
16689
|
readonly type: Schema.String;
|
|
15989
16690
|
readonly source: Schema.optional<Schema.String>;
|
|
15990
16691
|
}>>;
|
|
16692
|
+
}>>; /** Every live agent on an in-flight issue, by issue then role. */
|
|
16693
|
+
readonly agents: Schema.$Array<Schema.Struct<{
|
|
16694
|
+
readonly issueId: Schema.String;
|
|
16695
|
+
readonly role: Schema.String;
|
|
16696
|
+
readonly harness: Schema.String;
|
|
16697
|
+
readonly model: Schema.String;
|
|
16698
|
+
readonly state: Schema.String;
|
|
16699
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
15991
16700
|
}>>;
|
|
16701
|
+
/**
|
|
16702
|
+
* Which list the header counts: `tick` when a running loop named its own
|
|
16703
|
+
* in-flight ids, `census` when the rows are just the feature workspaces.
|
|
16704
|
+
*/
|
|
16705
|
+
readonly inFlightSource: Schema.Literals<readonly ["tick", "census"]>;
|
|
15992
16706
|
readonly orderBook: Schema.NullOr<Schema.Struct<{
|
|
15993
16707
|
readonly id: Schema.String;
|
|
15994
16708
|
readonly name: Schema.String;
|
|
@@ -16009,6 +16723,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
16009
16723
|
readonly model: string | null;
|
|
16010
16724
|
readonly harness: string | null;
|
|
16011
16725
|
readonly cwd: string;
|
|
16726
|
+
readonly createdAt: string;
|
|
16012
16727
|
readonly sessionAlive: boolean;
|
|
16013
16728
|
} | null;
|
|
16014
16729
|
readonly lastTick: {
|
|
@@ -16027,7 +16742,10 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
16027
16742
|
};
|
|
16028
16743
|
readonly inFlight: readonly {
|
|
16029
16744
|
readonly issueId: string;
|
|
16745
|
+
readonly title: string | null;
|
|
16030
16746
|
readonly state: "working" | "backlog" | "parked" | "planned" | "in-review" | "changes-requested" | "ready" | "merged" | "closed";
|
|
16747
|
+
readonly liveAgents: number;
|
|
16748
|
+
readonly inTick: boolean;
|
|
16031
16749
|
readonly lastJournal: {
|
|
16032
16750
|
readonly at: string;
|
|
16033
16751
|
readonly type: string;
|
|
@@ -16040,8 +16758,19 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
16040
16758
|
readonly reviewState: "approved" | "changes-requested" | "review-requested" | "commented" | "none";
|
|
16041
16759
|
readonly checks: "pending" | "green" | "red";
|
|
16042
16760
|
readonly mergeable: boolean | null;
|
|
16761
|
+
readonly merged?: boolean | undefined;
|
|
16043
16762
|
} | undefined;
|
|
16763
|
+
readonly trackerUnknown?: true | undefined;
|
|
16044
16764
|
}[];
|
|
16765
|
+
readonly agents: readonly {
|
|
16766
|
+
readonly issueId: string;
|
|
16767
|
+
readonly role: string;
|
|
16768
|
+
readonly harness: string;
|
|
16769
|
+
readonly model: string;
|
|
16770
|
+
readonly state: string;
|
|
16771
|
+
readonly agentId?: string | undefined;
|
|
16772
|
+
}[];
|
|
16773
|
+
readonly inFlightSource: "tick" | "census";
|
|
16045
16774
|
readonly orderBook: {
|
|
16046
16775
|
readonly id: string;
|
|
16047
16776
|
readonly name: string;
|
|
@@ -16149,10 +16878,10 @@ declare const OrderBookIndexEntry: Schema.Struct<{
|
|
|
16149
16878
|
//#endregion
|
|
16150
16879
|
//#region src/context-layers.d.ts
|
|
16151
16880
|
declare const CONTEXT_LAYER_KINDS: readonly ["global", "project", "workspace"];
|
|
16152
|
-
declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"];
|
|
16881
|
+
declare const CONTEXT_PREVIEW_HARNESSES: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"];
|
|
16153
16882
|
declare const ContextLayerKind: Schema.Literals<readonly ["global", "project", "workspace"]>;
|
|
16154
16883
|
type ContextLayerKind = typeof ContextLayerKind.Type;
|
|
16155
|
-
declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
16884
|
+
declare const ContextPreviewHarness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
16156
16885
|
type ContextPreviewHarness = typeof ContextPreviewHarness.Type;
|
|
16157
16886
|
declare const ContextProjectSummary: Schema.Struct<{
|
|
16158
16887
|
readonly projectKey: Schema.String;
|
|
@@ -16265,7 +16994,7 @@ type ContextLayerDraft = typeof ContextLayerDraft.Type;
|
|
|
16265
16994
|
* An Overdeck-owned rendered artifact delivered only to managed sessions.
|
|
16266
16995
|
*/
|
|
16267
16996
|
declare const ContextSyncTarget: Schema.Struct<{
|
|
16268
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
16997
|
+
readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
16269
16998
|
readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
|
|
16270
16999
|
readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
|
|
16271
17000
|
readonly label: Schema.String; /** Resolved absolute path of the target file. */
|
|
@@ -16316,7 +17045,7 @@ declare const ContextLayersResponse: Schema.Struct<{
|
|
|
16316
17045
|
readonly workspacePath: Schema.String;
|
|
16317
17046
|
}>]>>; /** Overdeck-owned artifacts delivered at managed-session launch. */
|
|
16318
17047
|
readonly targets: Schema.$Array<Schema.Struct<{
|
|
16319
|
-
readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse"]>;
|
|
17048
|
+
readonly harness: Schema.Literals<readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"]>;
|
|
16320
17049
|
readonly layerKind: Schema.Literals<readonly ["global", "project"]>;
|
|
16321
17050
|
readonly projectKey: Schema.optional<Schema.String>; /** Short human label, e.g. "Claude Code · global". */
|
|
16322
17051
|
readonly label: Schema.String; /** Resolved absolute path of the target file. */
|
|
@@ -16363,6 +17092,7 @@ declare const ContextHarnessPreviews: Schema.Struct<{
|
|
|
16363
17092
|
readonly "kimi-code": Schema.String;
|
|
16364
17093
|
readonly opencode: Schema.optional<Schema.String>;
|
|
16365
17094
|
readonly muse: Schema.String;
|
|
17095
|
+
readonly "prime-agent": Schema.String;
|
|
16366
17096
|
readonly fullPrompt: Schema.String;
|
|
16367
17097
|
}>;
|
|
16368
17098
|
type ContextHarnessPreviews = typeof ContextHarnessPreviews.Type;
|
|
@@ -16391,6 +17121,7 @@ declare const ContextPreviewResponse: Schema.Struct<{
|
|
|
16391
17121
|
readonly "kimi-code": Schema.String;
|
|
16392
17122
|
readonly opencode: Schema.optional<Schema.String>;
|
|
16393
17123
|
readonly muse: Schema.String;
|
|
17124
|
+
readonly "prime-agent": Schema.String;
|
|
16394
17125
|
readonly fullPrompt: Schema.String;
|
|
16395
17126
|
}>;
|
|
16396
17127
|
readonly diagnostics: Schema.$Array<Schema.Struct<{
|
|
@@ -16474,7 +17205,7 @@ declare const ArtifactHash: Schema.String;
|
|
|
16474
17205
|
type ArtifactHash = typeof ArtifactHash.Type;
|
|
16475
17206
|
declare const ArtifactAgentRole: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>;
|
|
16476
17207
|
type ArtifactAgentRole = typeof ArtifactAgentRole.Type;
|
|
16477
|
-
declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>;
|
|
17208
|
+
declare const ArtifactAgentHarness: Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>;
|
|
16478
17209
|
type ArtifactAgentHarness = typeof ArtifactAgentHarness.Type;
|
|
16479
17210
|
declare const ArtifactLifecycleState: Schema.Literals<readonly ["published", "pending_changes", "unshared"]>;
|
|
16480
17211
|
type ArtifactLifecycleState = typeof ArtifactLifecycleState.Type;
|
|
@@ -16519,7 +17250,7 @@ declare const ArtifactMetadata: Schema.Struct<{
|
|
|
16519
17250
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16520
17251
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16521
17252
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16522
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17253
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16523
17254
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16524
17255
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16525
17256
|
readonly filePath: Schema.String;
|
|
@@ -16545,7 +17276,7 @@ declare const ArtifactStatusResponse: Schema.Struct<{
|
|
|
16545
17276
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16546
17277
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16547
17278
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16548
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17279
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16549
17280
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16550
17281
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16551
17282
|
readonly filePath: Schema.String;
|
|
@@ -16594,7 +17325,7 @@ declare const ArtifactCreateResponse: Schema.Struct<{
|
|
|
16594
17325
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16595
17326
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16596
17327
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16597
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17328
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16598
17329
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16599
17330
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16600
17331
|
readonly filePath: Schema.String;
|
|
@@ -16644,7 +17375,7 @@ declare const ArtifactPublishResponse: Schema.Struct<{
|
|
|
16644
17375
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16645
17376
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16646
17377
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16647
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17378
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16648
17379
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16649
17380
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16650
17381
|
readonly filePath: Schema.String;
|
|
@@ -16695,7 +17426,7 @@ declare const ArtifactUnshareResponse: Schema.Struct<{
|
|
|
16695
17426
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16696
17427
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16697
17428
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16698
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17429
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16699
17430
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16700
17431
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16701
17432
|
readonly filePath: Schema.String;
|
|
@@ -16718,7 +17449,7 @@ declare const ArtifactListEntry: Schema.Struct<{
|
|
|
16718
17449
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16719
17450
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16720
17451
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16721
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17452
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16722
17453
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16723
17454
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16724
17455
|
readonly filePath: Schema.String;
|
|
@@ -16748,7 +17479,7 @@ declare const ArtifactListResponse: Schema.Struct<{
|
|
|
16748
17479
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16749
17480
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16750
17481
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16751
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17482
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16752
17483
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16753
17484
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16754
17485
|
readonly filePath: Schema.String;
|
|
@@ -16778,7 +17509,7 @@ declare const ArtifactDetailResponse: Schema.Struct<{
|
|
|
16778
17509
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16779
17510
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16780
17511
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16781
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17512
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16782
17513
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16783
17514
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16784
17515
|
readonly filePath: Schema.String;
|
|
@@ -16809,7 +17540,7 @@ declare const WorkspaceArtifactsResponse: Schema.Struct<{
|
|
|
16809
17540
|
readonly issueId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16810
17541
|
readonly workspaceId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16811
17542
|
readonly agentRole: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "user"]>>>;
|
|
16812
|
-
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "user"]>>>;
|
|
17543
|
+
readonly agentHarness: Schema.optional<Schema.NullOr<Schema.Literals<readonly ["claude-code", "pi", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent", "user"]>>>;
|
|
16813
17544
|
readonly runId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16814
17545
|
readonly sessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
16815
17546
|
readonly filePath: Schema.String;
|
|
@@ -16885,13 +17616,15 @@ interface FeatureRegistryOwnershipUpdate {
|
|
|
16885
17616
|
//#region src/harness-behavior.d.ts
|
|
16886
17617
|
type RuntimeName = Harness;
|
|
16887
17618
|
type HarnessName = RuntimeName | "pi";
|
|
16888
|
-
type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui" | "muse-tui";
|
|
16889
|
-
type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "codex-app-server-rpc" | "acp-host-rpc" | "tmux-paste";
|
|
16890
|
-
type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready" | "acp-host-ready" | "kimi-session-signal" | "muse-tui-prompt";
|
|
16891
|
-
type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl" | "acp-jsonl" | "kimi-wire-jsonl" | "muse-jsonl";
|
|
16892
|
-
type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id" | "kimi-session-newest" | "muse-session-log";
|
|
16893
|
-
type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp" | "kimi-code" | "opencode" | "muse";
|
|
16894
|
-
|
|
17619
|
+
type HarnessLaunchCommandKind = "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui" | "muse-tui" | "prime-agent-host";
|
|
17620
|
+
type HarnessDeliveryKind = "pty-supervisor" | "rpc-fifo" | "codex-exec-resume" | "codex-app-server-rpc" | "acp-host-rpc" | "prime-agent-host-rpc" | "tmux-paste";
|
|
17621
|
+
type HarnessReadinessKind = "claude-session-signal" | "ohmypi-ready-file" | "codex-tui-prompt" | "codex-app-server-ready" | "acp-host-ready" | "kimi-session-signal" | "muse-tui-prompt" | "prime-agent-host-ready";
|
|
17622
|
+
type HarnessTranscriptKind = "claude-jsonl" | "ohmypi-jsonl" | "codex-rollout-jsonl" | "acp-jsonl" | "kimi-wire-jsonl" | "muse-jsonl" | "prime-agent-jsonl";
|
|
17623
|
+
type HarnessSessionIdSource = "launcher-session-id" | "transcript-jsonl" | "codex-thread-id" | "acp-session-id" | "kimi-session-newest" | "muse-session-log" | "prime-agent-session-id";
|
|
17624
|
+
type HarnessContextLayerKind = "claude" | "pi" | "codex" | "acp" | "kimi-code" | "opencode" | "muse" | "prime-agent";
|
|
17625
|
+
/** How Overdeck can steer a running turn (PAN-4292): Claude Code send-now keys, the Pi control channel, or null = no steer. */
|
|
17626
|
+
type HarnessSteerKind = "send-now-keys" | "control-channel" | null;
|
|
17627
|
+
type HarnessFeedKind = "claude_code" | "pi" | "codex" | "acp" | "kimi_code" | "muse" | "prime_agent";
|
|
16895
17628
|
/** Canonical synthetic agent-session identity shared by dashboard client/server. */
|
|
16896
17629
|
declare function isAgentSessionName(name: string): boolean;
|
|
16897
17630
|
interface HarnessNativeCommand {
|
|
@@ -16918,8 +17651,12 @@ interface HarnessBehavior {
|
|
|
16918
17651
|
readonly usesRpcFifo: boolean;
|
|
16919
17652
|
readonly usesCodexHome: boolean;
|
|
16920
17653
|
readonly injectsPromptTimeMemory: boolean;
|
|
16921
|
-
readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui" | "muse-tui";
|
|
17654
|
+
readonly workAgentMode: "claude-code" | "ohmypi-rpc" | "codex-work-tui" | "codex-app-server" | "acp-host" | "kimi-code-tui" | "muse-tui" | "prime-agent-host";
|
|
16922
17655
|
readonly readyTimeoutSeconds: number;
|
|
17656
|
+
/** How a running turn can be steered from Overdeck (PAN-4292). null = no steer. */
|
|
17657
|
+
readonly steerKind: HarnessSteerKind;
|
|
17658
|
+
/** Effort levels this harness accepts, when narrower than the full {@link EFFORT_LEVELS} set. Undefined = no known restriction. */
|
|
17659
|
+
readonly effortLevels?: readonly EffortLevel[];
|
|
16923
17660
|
}
|
|
16924
17661
|
declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
|
|
16925
17662
|
declare const OHMYPI_BEHAVIOR: HarnessBehavior;
|
|
@@ -16928,6 +17665,7 @@ declare const ACP_BEHAVIOR: HarnessBehavior;
|
|
|
16928
17665
|
declare const KIMI_CODE_BEHAVIOR: HarnessBehavior;
|
|
16929
17666
|
declare const OPENCODE_BEHAVIOR: HarnessBehavior;
|
|
16930
17667
|
declare const MUSE_BEHAVIOR: HarnessBehavior;
|
|
17668
|
+
declare const PRIME_AGENT_BEHAVIOR: HarnessBehavior;
|
|
16931
17669
|
declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
|
|
16932
17670
|
declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
|
|
16933
17671
|
//#endregion
|
|
@@ -17372,7 +18110,7 @@ declare function createIssueDelta(previous: readonly unknown[], next: readonly u
|
|
|
17372
18110
|
declare function applyIssueDelta(previous: readonly unknown[], delta: IssueDelta): unknown[];
|
|
17373
18111
|
//#endregion
|
|
17374
18112
|
//#region src/telemetry.d.ts
|
|
17375
|
-
declare const TELEMETRY_EVENT_NAMES: readonly ["dashboard_tab_viewed", "agent_spawned", "project_created", "issue_merged", "force_merge_triggered", "issue_closed_out", "bulk_close_out_initiated", "auto_merge_toggled", "conversation_forked", "plan_approved", "plan_changes_requested", "agent_question_answered", "server_boot", "cli_command_run", "pipeline_stage_changed"];
|
|
18113
|
+
declare const TELEMETRY_EVENT_NAMES: readonly ["dashboard_tab_viewed", "agent_spawned", "project_created", "issue_merged", "force_merge_triggered", "issue_closed_out", "bulk_close_out_initiated", "auto_merge_toggled", "conversation_forked", "plan_approved", "plan_changes_requested", "agent_question_answered", "server_boot", "cli_command_run", "pipeline_stage_changed", "github_quota_sample", "github_rate_limited", "instance_heartbeat"];
|
|
17376
18114
|
type TelemetryEventName = typeof TELEMETRY_EVENT_NAMES[number];
|
|
17377
18115
|
declare const TELEMETRY_CLI_VERBS: readonly ["abort", "approve", "backlog", "backup", "clean", "context", "destroy", "dev", "diff", "doctor", "done", "down", "edit", "finalize", "fork", "handoff", "health", "init", "issues", "kill", "list", "migrate", "mode", "open", "pause", "pending", "plan", "project", "projects", "recover", "reload", "reopen", "request", "reset", "restart", "restore", "resume", "review", "scope", "serve", "show", "skills", "spawn-reviewer", "staffing", "start", "status", "strike", "sync", "sync-main", "tell", "unarchive-conversation", "unpause", "untroubled", "up", "update", "validate", "wipe", "write-sequence", "other"];
|
|
17378
18116
|
declare const TELEMETRY_PROPERTY_DOMAINS: {
|
|
@@ -17388,11 +18126,15 @@ declare const TELEMETRY_PROPERTY_DOMAINS: {
|
|
|
17388
18126
|
readonly duration_bucket: readonly ["under_100ms", "100ms-999ms", "1s-9s", "10s+"];
|
|
17389
18127
|
readonly forge: readonly ["github", "gitlab"];
|
|
17390
18128
|
readonly fork_kind: readonly ["summary", "handoff", "plain"];
|
|
17391
|
-
readonly
|
|
18129
|
+
readonly github_caller: readonly ["pipeline_membership", "pr_cache", "pr_sync", "ci_repair", "issue_poller", "close_out", "tracker_client", "app_rest", "quota_sampler", "agent", "other"];
|
|
18130
|
+
readonly harness: readonly ["claude-code", "ohmypi", "codex", "acp", "kimi-code", "opencode", "muse", "prime-agent"];
|
|
17392
18131
|
readonly merge_kind: readonly ["pipeline"];
|
|
17393
18132
|
readonly model_family: readonly ["claude", "gpt", "gemini", "kimi", "minimax", "glm", "mimo", "other"];
|
|
17394
18133
|
readonly pipeline_stage: readonly ["work_done", "review_passed", "verification_passed", "merged", "closed_out"];
|
|
17395
18134
|
readonly project_mode: readonly ["clone", "existing", "new"];
|
|
18135
|
+
readonly quota_points_bucket: readonly ["0", "1-49", "50-199", "200-499", "500-999", "1000-2499", "2500+"];
|
|
18136
|
+
readonly quota_remaining_bucket: readonly ["0", "1-99", "100-499", "500-999", "1000-2499", "2500+", "unknown"];
|
|
18137
|
+
readonly rate_limit_kind: readonly ["primary", "secondary"];
|
|
17396
18138
|
};
|
|
17397
18139
|
type TelemetryPropertyDomainName = keyof typeof TELEMETRY_PROPERTY_DOMAINS;
|
|
17398
18140
|
declare const TELEMETRY_EVENT_CATALOG: {
|
|
@@ -17453,6 +18195,43 @@ declare const TELEMETRY_EVENT_CATALOG: {
|
|
|
17453
18195
|
readonly harness: "harness";
|
|
17454
18196
|
readonly model: "model_family";
|
|
17455
18197
|
};
|
|
18198
|
+
readonly github_quota_sample: {
|
|
18199
|
+
readonly graphql_pipeline_membership: "quota_points_bucket";
|
|
18200
|
+
readonly rest_pipeline_membership: "quota_points_bucket";
|
|
18201
|
+
readonly graphql_pr_cache: "quota_points_bucket";
|
|
18202
|
+
readonly rest_pr_cache: "quota_points_bucket";
|
|
18203
|
+
readonly graphql_pr_sync: "quota_points_bucket";
|
|
18204
|
+
readonly rest_pr_sync: "quota_points_bucket";
|
|
18205
|
+
readonly graphql_ci_repair: "quota_points_bucket";
|
|
18206
|
+
readonly rest_ci_repair: "quota_points_bucket";
|
|
18207
|
+
readonly graphql_issue_poller: "quota_points_bucket";
|
|
18208
|
+
readonly rest_issue_poller: "quota_points_bucket";
|
|
18209
|
+
readonly graphql_close_out: "quota_points_bucket";
|
|
18210
|
+
readonly rest_close_out: "quota_points_bucket";
|
|
18211
|
+
readonly graphql_tracker_client: "quota_points_bucket";
|
|
18212
|
+
readonly rest_tracker_client: "quota_points_bucket";
|
|
18213
|
+
readonly graphql_app_rest: "quota_points_bucket";
|
|
18214
|
+
readonly rest_app_rest: "quota_points_bucket";
|
|
18215
|
+
readonly graphql_agent: "quota_points_bucket";
|
|
18216
|
+
readonly rest_agent: "quota_points_bucket";
|
|
18217
|
+
readonly graphql_other: "quota_points_bucket";
|
|
18218
|
+
readonly rest_other: "quota_points_bucket";
|
|
18219
|
+
readonly graphql_unattributed: "quota_points_bucket";
|
|
18220
|
+
readonly min_remaining_graphql: "quota_remaining_bucket";
|
|
18221
|
+
readonly min_remaining_rest: "quota_remaining_bucket";
|
|
18222
|
+
readonly primary_limit_errors: "count_bucket";
|
|
18223
|
+
readonly secondary_limit_errors: "count_bucket";
|
|
18224
|
+
};
|
|
18225
|
+
readonly github_rate_limited: {
|
|
18226
|
+
readonly caller: "github_caller";
|
|
18227
|
+
readonly kind: "rate_limit_kind";
|
|
18228
|
+
readonly own_usage_low: "boolean";
|
|
18229
|
+
};
|
|
18230
|
+
readonly instance_heartbeat: {
|
|
18231
|
+
readonly project_count: "count_bucket";
|
|
18232
|
+
readonly active_agent_count: "count_bucket";
|
|
18233
|
+
readonly dashboard_running: "boolean";
|
|
18234
|
+
};
|
|
17456
18235
|
};
|
|
17457
18236
|
type TelemetryPropertyValue<Domain extends TelemetryPropertyDomainName> = (typeof TELEMETRY_PROPERTY_DOMAINS)[Domain][number];
|
|
17458
18237
|
type EventProperties<Event extends TelemetryEventName> = { readonly [Property in keyof (typeof TELEMETRY_EVENT_CATALOG)[Event]]: TelemetryPropertyValue<(typeof TELEMETRY_EVENT_CATALOG)[Event][Property] & TelemetryPropertyDomainName> };
|
|
@@ -17477,6 +18256,16 @@ type AgentQuestionAnsweredProperties = EventProperties<"agent_question_answered"
|
|
|
17477
18256
|
type ServerBootProperties = EventProperties<"server_boot">;
|
|
17478
18257
|
type CliCommandRunProperties = EventProperties<"cli_command_run">;
|
|
17479
18258
|
type PipelineStageChangedProperties = EventProperties<"pipeline_stage_changed">;
|
|
18259
|
+
type GitHubQuotaSampleProperties = EventProperties<"github_quota_sample">;
|
|
18260
|
+
type GitHubRateLimitedProperties = EventProperties<"github_rate_limited">;
|
|
18261
|
+
type InstanceHeartbeatProperties = EventProperties<"instance_heartbeat">;
|
|
18262
|
+
type TelemetryQuotaPointsBucket = TelemetryPropertyValue<"quota_points_bucket">;
|
|
18263
|
+
type TelemetryQuotaRemainingBucket = TelemetryPropertyValue<"quota_remaining_bucket">;
|
|
18264
|
+
type TelemetryGitHubCaller = TelemetryPropertyValue<"github_caller">;
|
|
18265
|
+
/** PAN-4264: GitHub quota points as a coarse bucket (raw counts are never sent). */
|
|
18266
|
+
declare function bucketQuotaPoints(points: number): TelemetryQuotaPointsBucket;
|
|
18267
|
+
/** PAN-4264: GitHub quota remaining as a coarse bucket; `unknown` without a sample. */
|
|
18268
|
+
declare function bucketQuotaRemaining(remaining: number | undefined): TelemetryQuotaRemainingBucket;
|
|
17480
18269
|
type TelemetryEventProperties = { readonly [Event in TelemetryEventName]: EventProperties<Event> };
|
|
17481
18270
|
type TelemetryPropertiesFor<Event extends TelemetryEventName> = TelemetryEventProperties[Event];
|
|
17482
18271
|
//#endregion
|
|
@@ -17811,6 +18600,12 @@ declare const DirectoryPause: Schema.Struct<{
|
|
|
17811
18600
|
readonly since: Schema.NullOr<Schema.String>;
|
|
17812
18601
|
}>;
|
|
17813
18602
|
type DirectoryPause = typeof DirectoryPause.Type;
|
|
18603
|
+
/** A provider error (billing, usage limit, ...) detected at the end of a transcript (PAN-4222). */
|
|
18604
|
+
declare const DirectoryProviderError: Schema.Struct<{
|
|
18605
|
+
readonly message: Schema.String;
|
|
18606
|
+
readonly at: Schema.String;
|
|
18607
|
+
}>;
|
|
18608
|
+
type DirectoryProviderError = typeof DirectoryProviderError.Type;
|
|
17814
18609
|
declare const DirectoryEntry: Schema.Struct<{
|
|
17815
18610
|
readonly id: Schema.String;
|
|
17816
18611
|
readonly kind: Schema.Literals<readonly ["agent", "conversation", "subagent", "external"]>;
|
|
@@ -17847,6 +18642,21 @@ declare const DirectoryEntry: Schema.Struct<{
|
|
|
17847
18642
|
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17848
18643
|
readonly reason: Schema.NullOr<Schema.String>;
|
|
17849
18644
|
readonly since: Schema.NullOr<Schema.String>;
|
|
18645
|
+
}>>; /** PAN-4223: gauntlet lane facts; conversation entries that are lanes only. */
|
|
18646
|
+
readonly lane: Schema.optional<Schema.Struct<{
|
|
18647
|
+
readonly run: Schema.String;
|
|
18648
|
+
readonly key: Schema.String;
|
|
18649
|
+
readonly role: Schema.String;
|
|
18650
|
+
readonly iteration: Schema.Number;
|
|
18651
|
+
readonly reportStatus: Schema.NullOr<Schema.Literals<readonly ["done", "blocked", "failed"]>>; /** Critic/verifier: its verdict (or `pending`); builder: the newest critic verdict. */
|
|
18652
|
+
readonly verdict: Schema.optional<Schema.NullOr<Schema.String>>; /** Critic/verifier: the judged builder's legacy conversation id. */
|
|
18653
|
+
readonly criticOf: Schema.optional<Schema.Number>;
|
|
18654
|
+
}>>; /** PAN-4223: the predecessor's legacy conversation id; successors only (links to /conv/<id>). */
|
|
18655
|
+
readonly continuesFrom: Schema.optional<Schema.Number>; /** The id runtime events (agentRuntimeById) are keyed under, when it differs from `id` (PAN-4222). */
|
|
18656
|
+
readonly runtimeId: Schema.optional<Schema.String>; /** A provider error detected at the transcript's end, conversations only (PAN-4222). */
|
|
18657
|
+
readonly providerError: Schema.optional<Schema.Struct<{
|
|
18658
|
+
readonly message: Schema.String;
|
|
18659
|
+
readonly at: Schema.String;
|
|
17850
18660
|
}>>;
|
|
17851
18661
|
}>;
|
|
17852
18662
|
type DirectoryEntry = typeof DirectoryEntry.Type;
|
|
@@ -17896,6 +18706,21 @@ declare const AgentDirectoryResponse: Schema.Struct<{
|
|
|
17896
18706
|
readonly by: Schema.Literals<readonly ["operator", "scheduler", "machine"]>;
|
|
17897
18707
|
readonly reason: Schema.NullOr<Schema.String>;
|
|
17898
18708
|
readonly since: Schema.NullOr<Schema.String>;
|
|
18709
|
+
}>>; /** PAN-4223: gauntlet lane facts; conversation entries that are lanes only. */
|
|
18710
|
+
readonly lane: Schema.optional<Schema.Struct<{
|
|
18711
|
+
readonly run: Schema.String;
|
|
18712
|
+
readonly key: Schema.String;
|
|
18713
|
+
readonly role: Schema.String;
|
|
18714
|
+
readonly iteration: Schema.Number;
|
|
18715
|
+
readonly reportStatus: Schema.NullOr<Schema.Literals<readonly ["done", "blocked", "failed"]>>; /** Critic/verifier: its verdict (or `pending`); builder: the newest critic verdict. */
|
|
18716
|
+
readonly verdict: Schema.optional<Schema.NullOr<Schema.String>>; /** Critic/verifier: the judged builder's legacy conversation id. */
|
|
18717
|
+
readonly criticOf: Schema.optional<Schema.Number>;
|
|
18718
|
+
}>>; /** PAN-4223: the predecessor's legacy conversation id; successors only (links to /conv/<id>). */
|
|
18719
|
+
readonly continuesFrom: Schema.optional<Schema.Number>; /** The id runtime events (agentRuntimeById) are keyed under, when it differs from `id` (PAN-4222). */
|
|
18720
|
+
readonly runtimeId: Schema.optional<Schema.String>; /** A provider error detected at the transcript's end, conversations only (PAN-4222). */
|
|
18721
|
+
readonly providerError: Schema.optional<Schema.Struct<{
|
|
18722
|
+
readonly message: Schema.String;
|
|
18723
|
+
readonly at: Schema.String;
|
|
17899
18724
|
}>>;
|
|
17900
18725
|
}>>;
|
|
17901
18726
|
}>;
|
|
@@ -18142,5 +18967,32 @@ declare function repoFromRemoteUrl(remote: string | null | undefined): PullReque
|
|
|
18142
18967
|
/** True when the ref's host and repository match one of the configured repos. */
|
|
18143
18968
|
declare function isConfiguredPullRequestRepo(ref: PullRequestKey, repos: readonly PullRequestRepo[]): boolean;
|
|
18144
18969
|
//#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 };
|
|
18970
|
+
//#region src/conversation-rows.d.ts
|
|
18971
|
+
/**
|
|
18972
|
+
* Conversation-row classifiers shared by the dashboard server (`src/lib`) and
|
|
18973
|
+
* the frontend (PAN-4301). One rule per question: which rows are singleton
|
|
18974
|
+
* runners, and what a lane conversation is doing right now (D10).
|
|
18975
|
+
*/
|
|
18976
|
+
/** Singleton runners spawn under their bare id (see src/lib/agents/identity.ts normalizeAgentId). */
|
|
18977
|
+
declare const SINGLETON_AGENT_IDS: ReadonlySet<string>;
|
|
18978
|
+
declare function isSingletonConversation(row: {
|
|
18979
|
+
name: string;
|
|
18980
|
+
issueId?: string | null;
|
|
18981
|
+
}): boolean;
|
|
18982
|
+
type LaneActivity = "failed-to-start" | "needs-you" | "working" | "idle" | "starting" | "stopped";
|
|
18983
|
+
/** D10 `starting`: not alive, not ended, created less than this long ago. */
|
|
18984
|
+
declare const LANE_STARTING_GRACE_MS: number;
|
|
18985
|
+
interface LaneActivityInput {
|
|
18986
|
+
archivedAt?: string | null;
|
|
18987
|
+
spawnError?: string | null;
|
|
18988
|
+
status?: "active" | "ended" | string | null;
|
|
18989
|
+
createdAt: string;
|
|
18990
|
+
sessionAlive?: boolean;
|
|
18991
|
+
isWorking?: boolean;
|
|
18992
|
+
pendingInputCount?: number;
|
|
18993
|
+
}
|
|
18994
|
+
/** D10, first match wins. */
|
|
18995
|
+
declare function laneActivityOf(row: LaneActivityInput, now: number): LaneActivity;
|
|
18996
|
+
//#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 };
|
|
18146
18998
|
//# sourceMappingURL=index.d.ts.map
|