@overdeck/contracts 0.68.0 → 0.69.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 +668 -56
- package/dist/index.d.ts +1810 -144
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +639 -57
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -226,7 +226,6 @@ declare const AgentSnapshot: Schema.Struct<{
|
|
|
226
226
|
readonly needsAnswer: Schema.Boolean;
|
|
227
227
|
readonly model: Schema.String;
|
|
228
228
|
}>>;
|
|
229
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
230
229
|
}>;
|
|
231
230
|
type AgentSnapshot = typeof AgentSnapshot.Type;
|
|
232
231
|
/** PAN-3151: A recorded cycle in the review convergence tracking series */
|
|
@@ -461,7 +460,6 @@ declare const DashboardSnapshot: Schema.Struct<{
|
|
|
461
460
|
readonly needsAnswer: Schema.Boolean;
|
|
462
461
|
readonly model: Schema.String;
|
|
463
462
|
}>>;
|
|
464
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
465
463
|
}>>;
|
|
466
464
|
readonly specialists: Schema.$Array<Schema.Unknown>; /** PAN-3917 FR-6: the derived pipeline state of every known issue. */
|
|
467
465
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
@@ -1311,7 +1309,6 @@ declare const AgentStartedEvent: Schema.Struct<{
|
|
|
1311
1309
|
readonly needsAnswer: Schema.Boolean;
|
|
1312
1310
|
readonly model: Schema.String;
|
|
1313
1311
|
}>>;
|
|
1314
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1315
1312
|
}>;
|
|
1316
1313
|
}>;
|
|
1317
1314
|
}>;
|
|
@@ -1570,7 +1567,6 @@ declare const AgentCreatedEvent: Schema.Struct<{
|
|
|
1570
1567
|
readonly needsAnswer: Schema.Boolean;
|
|
1571
1568
|
readonly model: Schema.String;
|
|
1572
1569
|
}>>;
|
|
1573
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
1574
1570
|
}>;
|
|
1575
1571
|
}>;
|
|
1576
1572
|
}>;
|
|
@@ -3138,7 +3134,6 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3138
3134
|
readonly needsAnswer: Schema.Boolean;
|
|
3139
3135
|
readonly model: Schema.String;
|
|
3140
3136
|
}>>;
|
|
3141
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3142
3137
|
}>;
|
|
3143
3138
|
}>;
|
|
3144
3139
|
}>, Schema.Struct<{
|
|
@@ -3254,7 +3249,6 @@ declare const DomainEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
3254
3249
|
readonly needsAnswer: Schema.Boolean;
|
|
3255
3250
|
readonly model: Schema.String;
|
|
3256
3251
|
}>>;
|
|
3257
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
3258
3252
|
}>;
|
|
3259
3253
|
}>;
|
|
3260
3254
|
}>, Schema.Struct<{
|
|
@@ -4721,7 +4715,9 @@ declare const WorkLogEntry: Schema.Struct<{
|
|
|
4721
4715
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4722
4716
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4723
4717
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4724
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4718
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4719
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4720
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4725
4721
|
}>;
|
|
4726
4722
|
type WorkLogEntry = typeof WorkLogEntry.Type;
|
|
4727
4723
|
/** A human-origin message read from a subagent's own sidechain transcript (PAN-4247). */
|
|
@@ -4746,6 +4742,20 @@ declare const SubagentSummary: Schema.Struct<{
|
|
|
4746
4742
|
}>>>;
|
|
4747
4743
|
}>;
|
|
4748
4744
|
type SubagentSummary = typeof SubagentSummary.Type;
|
|
4745
|
+
/** PAN-4558: where a windowed response or page sits in the whole transcript. */
|
|
4746
|
+
declare const ConversationWindow: Schema.Struct<{
|
|
4747
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4748
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4749
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4750
|
+
}>;
|
|
4751
|
+
type ConversationWindow = typeof ConversationWindow.Type;
|
|
4752
|
+
/** PAN-4558: what a resubscribing client already holds. */
|
|
4753
|
+
declare const ConversationResume: Schema.Struct<{
|
|
4754
|
+
readonly afterSequence: Schema.Number;
|
|
4755
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
4756
|
+
readonly transcript: Schema.String;
|
|
4757
|
+
}>;
|
|
4758
|
+
type ConversationResume = typeof ConversationResume.Type;
|
|
4749
4759
|
/**
|
|
4750
4760
|
* Response shape for GET /api/agents/:id/conversation.
|
|
4751
4761
|
* Shared between the dashboard server route and the frontend TerminalPanel.
|
|
@@ -4772,7 +4782,9 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4772
4782
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4773
4783
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4774
4784
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4775
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4785
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4786
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4787
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4776
4788
|
}>>;
|
|
4777
4789
|
readonly streaming: Schema.Boolean;
|
|
4778
4790
|
readonly totalCost: Schema.Number; /** Total token throughput (input + output + cache read + cache write). */
|
|
@@ -4829,7 +4841,12 @@ declare const ConversationResponse: Schema.Struct<{
|
|
|
4829
4841
|
readonly effortResolution: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
4830
4842
|
readonly effort: Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max"]>;
|
|
4831
4843
|
readonly source: Schema.String;
|
|
4832
|
-
}>>>;
|
|
4844
|
+
}>>>; /** PAN-4558: present on windowed and paged responses only. */
|
|
4845
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
4846
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4847
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4848
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4849
|
+
}>>;
|
|
4833
4850
|
}>;
|
|
4834
4851
|
type ConversationResponse = typeof ConversationResponse.Type;
|
|
4835
4852
|
declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
@@ -4855,7 +4872,9 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4855
4872
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
4856
4873
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
4857
4874
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
4858
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
4875
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
4876
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
4877
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
4859
4878
|
}>>;
|
|
4860
4879
|
readonly streaming: Schema.Boolean;
|
|
4861
4880
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -4894,7 +4913,12 @@ declare const ConversationEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
4894
4913
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
4895
4914
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
4896
4915
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
4897
|
-
}>>>;
|
|
4916
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
4917
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
4918
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
4919
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
4920
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
4921
|
+
}>>;
|
|
4898
4922
|
}>, Schema.Struct<{
|
|
4899
4923
|
readonly kind: Schema.Literal<"discovering">;
|
|
4900
4924
|
}>, Schema.Struct<{
|
|
@@ -5124,7 +5148,6 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5124
5148
|
readonly needsAnswer: Schema.Boolean;
|
|
5125
5149
|
readonly model: Schema.String;
|
|
5126
5150
|
}>>;
|
|
5127
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5128
5151
|
}>;
|
|
5129
5152
|
}>;
|
|
5130
5153
|
}>, Schema.Struct<{
|
|
@@ -5240,7 +5263,6 @@ declare const SubscribeDomainEventsRpc: Rpc.Rpc<"pan.subscribeDomainEvents", Sch
|
|
|
5240
5263
|
readonly needsAnswer: Schema.Boolean;
|
|
5241
5264
|
readonly model: Schema.String;
|
|
5242
5265
|
}>>;
|
|
5243
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
5244
5266
|
}>;
|
|
5245
5267
|
}>;
|
|
5246
5268
|
}>, Schema.Struct<{
|
|
@@ -6641,7 +6663,6 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6641
6663
|
readonly needsAnswer: Schema.Boolean;
|
|
6642
6664
|
readonly model: Schema.String;
|
|
6643
6665
|
}>>;
|
|
6644
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6645
6666
|
}>;
|
|
6646
6667
|
}>;
|
|
6647
6668
|
}>, Schema.Struct<{
|
|
@@ -6757,7 +6778,6 @@ declare const SubscribeIssueEventsRpc: Rpc.Rpc<"pan.subscribeIssueEvents", Schem
|
|
|
6757
6778
|
readonly needsAnswer: Schema.Boolean;
|
|
6758
6779
|
readonly model: Schema.String;
|
|
6759
6780
|
}>>;
|
|
6760
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
6761
6781
|
}>;
|
|
6762
6782
|
}>;
|
|
6763
6783
|
}>, Schema.Struct<{
|
|
@@ -8042,7 +8062,6 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
8042
8062
|
readonly needsAnswer: Schema.Boolean;
|
|
8043
8063
|
readonly model: Schema.String;
|
|
8044
8064
|
}>>;
|
|
8045
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8046
8065
|
}>>;
|
|
8047
8066
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
8048
8067
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
@@ -8115,141 +8134,1665 @@ declare const GetSnapshotRpc: Rpc.Rpc<"pan.getSnapshot", Schema.Struct<{}>, Sche
|
|
|
8115
8134
|
readonly uri: Schema.String;
|
|
8116
8135
|
readonly label: Schema.optional<Schema.String>;
|
|
8117
8136
|
}>>;
|
|
8118
|
-
readonly reportedAt: Schema.String;
|
|
8137
|
+
readonly reportedAt: Schema.String;
|
|
8138
|
+
}>>;
|
|
8139
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8140
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8141
|
+
readonly resolutionUpdatedAt: Schema.optional<Schema.String>;
|
|
8142
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8143
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8144
|
+
readonly updatedAtSequence: Schema.Number;
|
|
8145
|
+
}>>>;
|
|
8146
|
+
readonly channelPermissionRequests: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
8147
|
+
readonly requestId: Schema.String;
|
|
8148
|
+
readonly agentId: Schema.String;
|
|
8149
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8150
|
+
readonly toolName: Schema.String;
|
|
8151
|
+
readonly description: Schema.String;
|
|
8152
|
+
readonly inputPreview: Schema.String;
|
|
8153
|
+
readonly createdAt: Schema.String;
|
|
8154
|
+
}>>>;
|
|
8155
|
+
readonly scanProgress: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8156
|
+
readonly active: Schema.Boolean;
|
|
8157
|
+
readonly mode: Schema.Literals<readonly ["targeted", "watched", "system"]>;
|
|
8158
|
+
readonly dirs: Schema.$Array<Schema.String>;
|
|
8159
|
+
readonly dirsProcessed: Schema.Number;
|
|
8160
|
+
readonly dirsTotal: Schema.Number;
|
|
8161
|
+
readonly sessionsFound: Schema.Number;
|
|
8162
|
+
readonly elapsedMs: Schema.Number;
|
|
8163
|
+
readonly inserted: Schema.Number;
|
|
8164
|
+
readonly updated: Schema.Number;
|
|
8165
|
+
readonly skipped: Schema.Number;
|
|
8166
|
+
readonly errors: Schema.Number;
|
|
8167
|
+
readonly durationMs: Schema.Number;
|
|
8168
|
+
}>>>;
|
|
8169
|
+
readonly enrichStats: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8170
|
+
readonly processed: Schema.Number;
|
|
8171
|
+
readonly totalCost: Schema.Number;
|
|
8172
|
+
readonly failures: Schema.Number;
|
|
8173
|
+
readonly durationMs: Schema.Number;
|
|
8174
|
+
}>>>;
|
|
8175
|
+
readonly enrichProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8176
|
+
readonly sessionId: Schema.Number;
|
|
8177
|
+
readonly level: Schema.Number;
|
|
8178
|
+
readonly model: Schema.String;
|
|
8179
|
+
readonly cost: Schema.Number;
|
|
8180
|
+
readonly success: Schema.Boolean;
|
|
8181
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8182
|
+
readonly timestamp: Schema.String;
|
|
8183
|
+
}>>>;
|
|
8184
|
+
readonly embedProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8185
|
+
readonly sessionId: Schema.Number;
|
|
8186
|
+
readonly model: Schema.String;
|
|
8187
|
+
readonly success: Schema.Boolean;
|
|
8188
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8189
|
+
readonly timestamp: Schema.String;
|
|
8190
|
+
}>>>;
|
|
8191
|
+
readonly ciByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8192
|
+
readonly projectKey: Schema.String;
|
|
8193
|
+
readonly repo: Schema.String;
|
|
8194
|
+
readonly branch: Schema.String;
|
|
8195
|
+
readonly headSha: Schema.String;
|
|
8196
|
+
readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8197
|
+
readonly status: Schema.String;
|
|
8198
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8199
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8200
|
+
readonly observedAt: Schema.optional<Schema.String>;
|
|
8201
|
+
}>>;
|
|
8202
|
+
readonly updatedAt: Schema.String;
|
|
8203
|
+
}>>>;
|
|
8204
|
+
readonly restartGate: Schema.optional<Schema.Struct<{
|
|
8205
|
+
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8206
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8207
|
+
readonly requesterId: Schema.String;
|
|
8208
|
+
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8209
|
+
readonly reason: Schema.String;
|
|
8210
|
+
readonly builtSha: Schema.optional<Schema.String>;
|
|
8211
|
+
readonly requestedAt: Schema.String;
|
|
8212
|
+
}>>;
|
|
8213
|
+
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8214
|
+
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8215
|
+
readonly at: Schema.String;
|
|
8216
|
+
}>>;
|
|
8217
|
+
}>>;
|
|
8218
|
+
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
8219
|
+
readonly generatedAt: Schema.String;
|
|
8220
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8221
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8222
|
+
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"]>;
|
|
8223
|
+
readonly graphql: Schema.Struct<{
|
|
8224
|
+
readonly points: Schema.Number;
|
|
8225
|
+
readonly calls: Schema.Number;
|
|
8226
|
+
}>;
|
|
8227
|
+
readonly rest: Schema.Struct<{
|
|
8228
|
+
readonly points: Schema.Number;
|
|
8229
|
+
readonly calls: Schema.Number;
|
|
8230
|
+
}>;
|
|
8231
|
+
readonly estimated: Schema.Boolean;
|
|
8232
|
+
}>>;
|
|
8233
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8234
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8235
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8236
|
+
readonly ts: Schema.String;
|
|
8237
|
+
readonly remaining: Schema.Number;
|
|
8238
|
+
readonly limit: Schema.Number;
|
|
8239
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8240
|
+
}>>;
|
|
8241
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8242
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8243
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8244
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8245
|
+
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"]>;
|
|
8246
|
+
readonly since: Schema.String;
|
|
8247
|
+
readonly until: Schema.String;
|
|
8248
|
+
}>>;
|
|
8249
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8250
|
+
readonly unattributed: Schema.Number;
|
|
8251
|
+
readonly refusals: Schema.Struct<{
|
|
8252
|
+
readonly primary: Schema.Number;
|
|
8253
|
+
readonly secondary: Schema.Number;
|
|
8254
|
+
}>;
|
|
8255
|
+
}>>;
|
|
8256
|
+
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8257
|
+
readonly projectKey: Schema.String;
|
|
8258
|
+
readonly trigger: Schema.String;
|
|
8259
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8260
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
8261
|
+
readonly startedAt: Schema.String;
|
|
8262
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8263
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
8264
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8265
|
+
}>>>;
|
|
8266
|
+
readonly timestamp: Schema.String;
|
|
8267
|
+
}>, typeof PanRpcError, never, never>;
|
|
8268
|
+
/**
|
|
8269
|
+
* PAN-4559: the server answers this instead of events when the gap after
|
|
8270
|
+
* fromSequence exceeds its replay cap; the client re-bootstraps via getSnapshot.
|
|
8271
|
+
*/
|
|
8272
|
+
declare const ReplayTooFarBehind: Schema.Struct<{
|
|
8273
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
8274
|
+
}>;
|
|
8275
|
+
type ReplayTooFarBehind = typeof ReplayTooFarBehind.Type;
|
|
8276
|
+
/** Replay result: the missed events (unchanged array shape), or ReplayTooFarBehind. */
|
|
8277
|
+
declare const ReplayEventsResult: Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
8278
|
+
readonly type: Schema.Literal<"system.heartbeat">;
|
|
8279
|
+
readonly timestamp: Schema.String;
|
|
8280
|
+
readonly payload: Schema.Struct<{
|
|
8281
|
+
readonly ts: Schema.Number;
|
|
8282
|
+
}>;
|
|
8283
|
+
}>, Schema.Struct<{
|
|
8284
|
+
readonly type: Schema.Literal<"beads.freshness_changed">;
|
|
8285
|
+
readonly sequence: Schema.Number;
|
|
8286
|
+
readonly timestamp: Schema.String;
|
|
8287
|
+
readonly payload: Schema.Struct<{
|
|
8288
|
+
readonly projectKey: Schema.String;
|
|
8289
|
+
readonly localHead: Schema.String;
|
|
8290
|
+
readonly lastSyncedAt: Schema.String;
|
|
8291
|
+
}>;
|
|
8292
|
+
}>, Schema.Struct<{
|
|
8293
|
+
readonly type: Schema.Literal<"project.ci_suite_observed">;
|
|
8294
|
+
readonly sequence: Schema.Number;
|
|
8295
|
+
readonly timestamp: Schema.String;
|
|
8296
|
+
readonly payload: Schema.Struct<{
|
|
8297
|
+
readonly projectKey: Schema.String;
|
|
8298
|
+
readonly repo: Schema.String;
|
|
8299
|
+
readonly branch: Schema.String;
|
|
8300
|
+
readonly headSha: Schema.String;
|
|
8301
|
+
readonly suiteId: Schema.String;
|
|
8302
|
+
readonly status: Schema.String;
|
|
8303
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8304
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8305
|
+
readonly observedAt: Schema.String;
|
|
8306
|
+
readonly authoritativeHead: Schema.optional<Schema.Boolean>;
|
|
8307
|
+
}>;
|
|
8308
|
+
}>, Schema.Struct<{
|
|
8309
|
+
readonly type: Schema.Literal<"project.ci_head_observed">;
|
|
8310
|
+
readonly sequence: Schema.Number;
|
|
8311
|
+
readonly timestamp: Schema.String;
|
|
8312
|
+
readonly payload: Schema.Struct<{
|
|
8313
|
+
readonly projectKey: Schema.String;
|
|
8314
|
+
readonly repo: Schema.String;
|
|
8315
|
+
readonly branch: Schema.String;
|
|
8316
|
+
readonly headSha: Schema.String;
|
|
8317
|
+
readonly suites: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8318
|
+
readonly status: Schema.String;
|
|
8319
|
+
readonly conclusion: Schema.NullOr<Schema.String>;
|
|
8320
|
+
readonly htmlUrl: Schema.optional<Schema.String>;
|
|
8321
|
+
readonly observedAt: Schema.optional<Schema.String>;
|
|
8322
|
+
}>>;
|
|
8323
|
+
readonly observedAt: Schema.String;
|
|
8324
|
+
}>;
|
|
8325
|
+
}>, Schema.Struct<{
|
|
8326
|
+
readonly type: Schema.Literal<"restart_gate.changed">;
|
|
8327
|
+
readonly sequence: Schema.Number;
|
|
8328
|
+
readonly timestamp: Schema.String;
|
|
8329
|
+
readonly payload: Schema.Struct<{
|
|
8330
|
+
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8331
|
+
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8332
|
+
readonly requesterId: Schema.String;
|
|
8333
|
+
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8334
|
+
readonly reason: Schema.String;
|
|
8335
|
+
readonly builtSha: Schema.optional<Schema.String>;
|
|
8336
|
+
readonly requestedAt: Schema.String;
|
|
8337
|
+
}>>;
|
|
8338
|
+
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8339
|
+
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8340
|
+
readonly at: Schema.String;
|
|
8341
|
+
}>>;
|
|
8342
|
+
}>;
|
|
8343
|
+
}>, Schema.Struct<{
|
|
8344
|
+
readonly type: Schema.Literal<"github_quota.changed">;
|
|
8345
|
+
readonly sequence: Schema.Number;
|
|
8346
|
+
readonly timestamp: Schema.String;
|
|
8347
|
+
readonly payload: Schema.Struct<{
|
|
8348
|
+
readonly generatedAt: Schema.String;
|
|
8349
|
+
readonly login: Schema.NullOr<Schema.String>;
|
|
8350
|
+
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8351
|
+
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"]>;
|
|
8352
|
+
readonly graphql: Schema.Struct<{
|
|
8353
|
+
readonly points: Schema.Number;
|
|
8354
|
+
readonly calls: Schema.Number;
|
|
8355
|
+
}>;
|
|
8356
|
+
readonly rest: Schema.Struct<{
|
|
8357
|
+
readonly points: Schema.Number;
|
|
8358
|
+
readonly calls: Schema.Number;
|
|
8359
|
+
}>;
|
|
8360
|
+
readonly estimated: Schema.Boolean;
|
|
8361
|
+
}>>;
|
|
8362
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8363
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8364
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8365
|
+
readonly ts: Schema.String;
|
|
8366
|
+
readonly remaining: Schema.Number;
|
|
8367
|
+
readonly limit: Schema.Number;
|
|
8368
|
+
readonly resetAt: Schema.optional<Schema.String>;
|
|
8369
|
+
}>>;
|
|
8370
|
+
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8371
|
+
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8372
|
+
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8373
|
+
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8374
|
+
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"]>;
|
|
8375
|
+
readonly since: Schema.String;
|
|
8376
|
+
readonly until: Schema.String;
|
|
8377
|
+
}>>;
|
|
8378
|
+
readonly ownUsageLow: Schema.Boolean;
|
|
8379
|
+
readonly unattributed: Schema.Number;
|
|
8380
|
+
readonly refusals: Schema.Struct<{
|
|
8381
|
+
readonly primary: Schema.Number;
|
|
8382
|
+
readonly secondary: Schema.Number;
|
|
8383
|
+
}>;
|
|
8384
|
+
}>;
|
|
8385
|
+
}>, Schema.Struct<{
|
|
8386
|
+
readonly type: Schema.Literal<"project.deploy_changed">;
|
|
8387
|
+
readonly sequence: Schema.Number;
|
|
8388
|
+
readonly timestamp: Schema.String;
|
|
8389
|
+
readonly payload: Schema.Struct<{
|
|
8390
|
+
readonly deploys: Schema.$Record<Schema.String, Schema.Struct<{
|
|
8391
|
+
readonly projectKey: Schema.String;
|
|
8392
|
+
readonly trigger: Schema.String;
|
|
8393
|
+
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8394
|
+
readonly pid: Schema.optional<Schema.Number>;
|
|
8395
|
+
readonly startedAt: Schema.String;
|
|
8396
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8397
|
+
readonly logPath: Schema.optional<Schema.String>;
|
|
8398
|
+
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8399
|
+
}>>;
|
|
8400
|
+
}>;
|
|
8401
|
+
}>, Schema.Struct<{
|
|
8402
|
+
readonly type: Schema.Literal<"agent.created">;
|
|
8403
|
+
readonly sequence: Schema.Number;
|
|
8404
|
+
readonly timestamp: Schema.String;
|
|
8405
|
+
readonly payload: Schema.Struct<{
|
|
8406
|
+
readonly agentId: Schema.String;
|
|
8407
|
+
readonly issueId: Schema.String;
|
|
8408
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8409
|
+
readonly agent: Schema.Struct<{
|
|
8410
|
+
readonly id: Schema.String;
|
|
8411
|
+
readonly issueId: Schema.String;
|
|
8412
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8413
|
+
readonly runtime: Schema.optional<Schema.String>;
|
|
8414
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8415
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8416
|
+
readonly startedAt: Schema.optional<Schema.String>;
|
|
8417
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8418
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8419
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8420
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8421
|
+
readonly startedBy: Schema.optional<Schema.String>;
|
|
8422
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8423
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8424
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8425
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8426
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8427
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8428
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8429
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8430
|
+
readonly pausedReason: Schema.optional<Schema.String>;
|
|
8431
|
+
readonly pausedAt: Schema.optional<Schema.String>;
|
|
8432
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8433
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
8434
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8435
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.String>;
|
|
8436
|
+
readonly lastFailureAt: Schema.optional<Schema.String>;
|
|
8437
|
+
readonly lastFailureReason: Schema.optional<Schema.String>;
|
|
8438
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.String>;
|
|
8439
|
+
readonly runtimeState: Schema.optional<Schema.String>;
|
|
8440
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8441
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8442
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8443
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8444
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8445
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8446
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8447
|
+
readonly toolUseId: Schema.String;
|
|
8448
|
+
readonly askedAt: Schema.String;
|
|
8449
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8450
|
+
readonly question: Schema.String;
|
|
8451
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8452
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8453
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8454
|
+
readonly label: Schema.String;
|
|
8455
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8456
|
+
}>>;
|
|
8457
|
+
}>>;
|
|
8458
|
+
}>>;
|
|
8459
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8460
|
+
readonly toolUseId: Schema.String;
|
|
8461
|
+
readonly askedAt: Schema.String;
|
|
8462
|
+
readonly plan: Schema.String;
|
|
8463
|
+
}>>;
|
|
8464
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8465
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8466
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8467
|
+
readonly kind: Schema.String;
|
|
8468
|
+
readonly confidence: Schema.Number;
|
|
8469
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8470
|
+
readonly model: Schema.String;
|
|
8471
|
+
}>>;
|
|
8472
|
+
}>;
|
|
8473
|
+
}>;
|
|
8474
|
+
}>, Schema.Struct<{
|
|
8475
|
+
readonly type: Schema.Literal<"agent.enrichment_changed">;
|
|
8476
|
+
readonly sequence: Schema.Number;
|
|
8477
|
+
readonly timestamp: Schema.String;
|
|
8478
|
+
readonly payload: Schema.Struct<{
|
|
8479
|
+
readonly agentId: Schema.String;
|
|
8480
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8481
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8482
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8483
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8484
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8485
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8486
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8487
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8488
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8489
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8490
|
+
readonly toolUseId: Schema.String;
|
|
8491
|
+
readonly askedAt: Schema.String;
|
|
8492
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8493
|
+
readonly question: Schema.String;
|
|
8494
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8495
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8496
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8497
|
+
readonly label: Schema.String;
|
|
8498
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8499
|
+
}>>;
|
|
8500
|
+
}>>;
|
|
8501
|
+
}>>;
|
|
8502
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8503
|
+
readonly toolUseId: Schema.String;
|
|
8504
|
+
readonly askedAt: Schema.String;
|
|
8505
|
+
readonly plan: Schema.String;
|
|
8506
|
+
}>>;
|
|
8507
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8508
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8509
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8510
|
+
readonly kind: Schema.String;
|
|
8511
|
+
readonly confidence: Schema.Number;
|
|
8512
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8513
|
+
readonly model: Schema.String;
|
|
8514
|
+
}>>;
|
|
8515
|
+
}>;
|
|
8516
|
+
}>, Schema.Struct<{
|
|
8517
|
+
readonly type: Schema.Literal<"agent.started">;
|
|
8518
|
+
readonly sequence: Schema.Number;
|
|
8519
|
+
readonly timestamp: Schema.String;
|
|
8520
|
+
readonly payload: Schema.Struct<{
|
|
8521
|
+
readonly agentId: Schema.String;
|
|
8522
|
+
readonly issueId: Schema.String;
|
|
8523
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8524
|
+
readonly agent: Schema.Struct<{
|
|
8525
|
+
readonly id: Schema.String;
|
|
8526
|
+
readonly issueId: Schema.String;
|
|
8527
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8528
|
+
readonly runtime: Schema.optional<Schema.String>;
|
|
8529
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8530
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8531
|
+
readonly startedAt: Schema.optional<Schema.String>;
|
|
8532
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8533
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8534
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8535
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8536
|
+
readonly startedBy: Schema.optional<Schema.String>;
|
|
8537
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8538
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8539
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8540
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8541
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8542
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8543
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8544
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8545
|
+
readonly pausedReason: Schema.optional<Schema.String>;
|
|
8546
|
+
readonly pausedAt: Schema.optional<Schema.String>;
|
|
8547
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8548
|
+
readonly troubledAt: Schema.optional<Schema.String>;
|
|
8549
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8550
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.String>;
|
|
8551
|
+
readonly lastFailureAt: Schema.optional<Schema.String>;
|
|
8552
|
+
readonly lastFailureReason: Schema.optional<Schema.String>;
|
|
8553
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.String>;
|
|
8554
|
+
readonly runtimeState: Schema.optional<Schema.String>;
|
|
8555
|
+
readonly hasPendingQuestion: Schema.optional<Schema.Boolean>;
|
|
8556
|
+
readonly pendingQuestionCount: Schema.optional<Schema.Number>;
|
|
8557
|
+
readonly pendingQuestionPrompt: Schema.optional<Schema.String>;
|
|
8558
|
+
readonly pendingQuestionReason: Schema.optional<Schema.String>;
|
|
8559
|
+
readonly pendingInputCount: Schema.optional<Schema.Number>;
|
|
8560
|
+
readonly pendingInputKinds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8561
|
+
readonly pendingAskUserQuestion: Schema.optional<Schema.Struct<{
|
|
8562
|
+
readonly toolUseId: Schema.String;
|
|
8563
|
+
readonly askedAt: Schema.String;
|
|
8564
|
+
readonly questions: Schema.$Array<Schema.Struct<{
|
|
8565
|
+
readonly question: Schema.String;
|
|
8566
|
+
readonly header: Schema.optional<Schema.String>;
|
|
8567
|
+
readonly multiSelect: Schema.optional<Schema.Boolean>;
|
|
8568
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
8569
|
+
readonly label: Schema.String;
|
|
8570
|
+
readonly description: Schema.optional<Schema.String>;
|
|
8571
|
+
}>>;
|
|
8572
|
+
}>>;
|
|
8573
|
+
}>>;
|
|
8574
|
+
readonly pendingProposedPlan: Schema.optional<Schema.Struct<{
|
|
8575
|
+
readonly toolUseId: Schema.String;
|
|
8576
|
+
readonly askedAt: Schema.String;
|
|
8577
|
+
readonly plan: Schema.String;
|
|
8578
|
+
}>>;
|
|
8579
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8580
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8581
|
+
readonly turnEndAssessment: Schema.optional<Schema.Struct<{
|
|
8582
|
+
readonly kind: Schema.String;
|
|
8583
|
+
readonly confidence: Schema.Number;
|
|
8584
|
+
readonly needsAnswer: Schema.Boolean;
|
|
8585
|
+
readonly model: Schema.String;
|
|
8586
|
+
}>>;
|
|
8587
|
+
}>;
|
|
8588
|
+
}>;
|
|
8589
|
+
}>, Schema.Struct<{
|
|
8590
|
+
readonly type: Schema.Literal<"agent.stopped">;
|
|
8591
|
+
readonly sequence: Schema.Number;
|
|
8592
|
+
readonly timestamp: Schema.String;
|
|
8593
|
+
readonly payload: Schema.Struct<{
|
|
8594
|
+
readonly agentId: Schema.String;
|
|
8595
|
+
readonly issueId: Schema.String;
|
|
8596
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8597
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8598
|
+
}>;
|
|
8599
|
+
}>, Schema.Struct<{
|
|
8600
|
+
readonly type: Schema.Literal<"agent.heartbeat_dead">;
|
|
8601
|
+
readonly sequence: Schema.Number;
|
|
8602
|
+
readonly timestamp: Schema.String;
|
|
8603
|
+
readonly payload: Schema.Struct<{
|
|
8604
|
+
readonly agentId: Schema.String;
|
|
8605
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8606
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8607
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8608
|
+
}>;
|
|
8609
|
+
}>, Schema.Struct<{
|
|
8610
|
+
readonly type: Schema.Literal<"work.completed">;
|
|
8611
|
+
readonly sequence: Schema.Number;
|
|
8612
|
+
readonly timestamp: Schema.String;
|
|
8613
|
+
readonly payload: Schema.Struct<{
|
|
8614
|
+
readonly issueId: Schema.String;
|
|
8615
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8616
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8617
|
+
}>;
|
|
8618
|
+
}>, Schema.Struct<{
|
|
8619
|
+
readonly type: Schema.Literal<"agent.completed">;
|
|
8620
|
+
readonly sequence: Schema.Number;
|
|
8621
|
+
readonly timestamp: Schema.String;
|
|
8622
|
+
readonly payload: Schema.Struct<{
|
|
8623
|
+
readonly issueId: Schema.String;
|
|
8624
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8625
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
8626
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8627
|
+
}>;
|
|
8628
|
+
}>, Schema.Struct<{
|
|
8629
|
+
readonly type: Schema.Literal<"review.approved">;
|
|
8630
|
+
readonly sequence: Schema.Number;
|
|
8631
|
+
readonly timestamp: Schema.String;
|
|
8632
|
+
readonly payload: Schema.Struct<{
|
|
8633
|
+
readonly issueId: Schema.String;
|
|
8634
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8635
|
+
}>;
|
|
8636
|
+
}>, Schema.Struct<{
|
|
8637
|
+
readonly type: Schema.Literal<"test.passed">;
|
|
8638
|
+
readonly sequence: Schema.Number;
|
|
8639
|
+
readonly timestamp: Schema.String;
|
|
8640
|
+
readonly payload: Schema.Struct<{
|
|
8641
|
+
readonly issueId: Schema.String;
|
|
8642
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8643
|
+
}>;
|
|
8644
|
+
}>, Schema.Struct<{
|
|
8645
|
+
readonly type: Schema.Literal<"agent.status_changed">;
|
|
8646
|
+
readonly sequence: Schema.Number;
|
|
8647
|
+
readonly timestamp: Schema.String;
|
|
8648
|
+
readonly payload: Schema.Struct<{
|
|
8649
|
+
readonly agentId: Schema.String;
|
|
8650
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8651
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8652
|
+
readonly status: Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>;
|
|
8653
|
+
readonly previousStatus: Schema.optional<Schema.Literals<readonly ["starting", "running", "stopped", "error", "unknown"]>>;
|
|
8654
|
+
readonly hasLivePane: Schema.optional<Schema.Boolean>;
|
|
8655
|
+
readonly hasLiveTmuxSession: Schema.optional<Schema.Boolean>;
|
|
8656
|
+
readonly stoppedByUser: Schema.optional<Schema.Boolean>;
|
|
8657
|
+
readonly stoppedByPause: Schema.optional<Schema.Boolean>;
|
|
8658
|
+
readonly paused: Schema.optional<Schema.Boolean>;
|
|
8659
|
+
readonly pausedReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8660
|
+
readonly pausedAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8661
|
+
readonly troubled: Schema.optional<Schema.Boolean>;
|
|
8662
|
+
readonly troubledAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8663
|
+
readonly consecutiveFailures: Schema.optional<Schema.Number>;
|
|
8664
|
+
readonly firstFailureInRunAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8665
|
+
readonly lastFailureAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8666
|
+
readonly lastFailureReason: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8667
|
+
readonly lastFailureNextRetryAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8668
|
+
readonly kickoffDelivered: Schema.optional<Schema.Boolean>;
|
|
8669
|
+
readonly hostOverride: Schema.optional<Schema.Boolean>;
|
|
8670
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>>;
|
|
8671
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8672
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
8673
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
8674
|
+
readonly lastActivity: Schema.optional<Schema.String>;
|
|
8675
|
+
readonly lastResumeAt: Schema.optional<Schema.String>;
|
|
8676
|
+
readonly stoppedAt: Schema.optional<Schema.String>;
|
|
8677
|
+
readonly branch: Schema.optional<Schema.String>;
|
|
8678
|
+
readonly costSoFar: Schema.optional<Schema.Number>;
|
|
8679
|
+
readonly phase: Schema.optional<Schema.String>;
|
|
8680
|
+
readonly workType: Schema.optional<Schema.String>;
|
|
8681
|
+
readonly roleRunHead: Schema.optional<Schema.String>;
|
|
8682
|
+
readonly flywheelRunId: Schema.optional<Schema.String>;
|
|
8683
|
+
readonly reviewSubRole: Schema.optional<Schema.String>;
|
|
8684
|
+
readonly reviewRunId: Schema.optional<Schema.String>;
|
|
8685
|
+
readonly reviewOutputPath: Schema.optional<Schema.String>;
|
|
8686
|
+
readonly reviewSynthesisAgentId: Schema.optional<Schema.String>;
|
|
8687
|
+
readonly reviewDeadlineAt: Schema.optional<Schema.String>;
|
|
8688
|
+
readonly reviewMonitorSignaled: Schema.optional<Schema.String>;
|
|
8689
|
+
readonly reviewRetryAttempt: Schema.optional<Schema.Number>;
|
|
8690
|
+
readonly inspectSubRole: Schema.optional<Schema.String>;
|
|
8691
|
+
readonly deliveryMethod: Schema.optional<Schema.String>;
|
|
8692
|
+
readonly supervisorEnabled: Schema.optional<Schema.Boolean>;
|
|
8693
|
+
readonly channelsEnabled: Schema.optional<Schema.Boolean>;
|
|
8694
|
+
}>;
|
|
8695
|
+
}>, Schema.Struct<{
|
|
8696
|
+
readonly type: Schema.Literal<"agent.output_received">;
|
|
8697
|
+
readonly sequence: Schema.Number;
|
|
8698
|
+
readonly timestamp: Schema.String;
|
|
8699
|
+
readonly payload: Schema.Struct<{
|
|
8700
|
+
readonly agentId: Schema.String;
|
|
8701
|
+
readonly lines: Schema.$Array<Schema.String>;
|
|
8702
|
+
}>;
|
|
8703
|
+
}>, Schema.Struct<{
|
|
8704
|
+
readonly type: Schema.Literal<"agent.activity_changed">;
|
|
8705
|
+
readonly sequence: Schema.Number;
|
|
8706
|
+
readonly timestamp: Schema.String;
|
|
8707
|
+
readonly payload: Schema.Struct<{
|
|
8708
|
+
readonly agentId: Schema.String;
|
|
8709
|
+
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8710
|
+
readonly currentTool: Schema.optional<Schema.String>;
|
|
8711
|
+
readonly toolDescription: Schema.optional<Schema.String>;
|
|
8712
|
+
readonly hookName: Schema.optional<Schema.String>;
|
|
8713
|
+
}>;
|
|
8714
|
+
}>, Schema.Struct<{
|
|
8715
|
+
readonly type: Schema.Literal<"agent.hook_fired">;
|
|
8716
|
+
readonly sequence: Schema.Number;
|
|
8717
|
+
readonly timestamp: Schema.String;
|
|
8718
|
+
readonly payload: Schema.Struct<{
|
|
8719
|
+
readonly agentId: Schema.String;
|
|
8720
|
+
readonly hookName: Schema.String;
|
|
8721
|
+
readonly tool: Schema.optional<Schema.String>;
|
|
8722
|
+
}>;
|
|
8723
|
+
}>, Schema.Struct<{
|
|
8724
|
+
readonly type: Schema.Literal<"agent.thinking_started">;
|
|
8725
|
+
readonly sequence: Schema.Number;
|
|
8726
|
+
readonly timestamp: Schema.String;
|
|
8727
|
+
readonly payload: Schema.Struct<{
|
|
8728
|
+
readonly agentId: Schema.String;
|
|
8729
|
+
readonly lastToolAt: Schema.String;
|
|
8730
|
+
}>;
|
|
8731
|
+
}>, Schema.Struct<{
|
|
8732
|
+
readonly type: Schema.Literal<"agent.thinking_stopped">;
|
|
8733
|
+
readonly sequence: Schema.Number;
|
|
8734
|
+
readonly timestamp: Schema.String;
|
|
8735
|
+
readonly payload: Schema.Struct<{
|
|
8736
|
+
readonly agentId: Schema.String;
|
|
8737
|
+
readonly resolvedBy: Schema.Literals<readonly ["tool", "waiting", "idle", "stopped"]>;
|
|
8738
|
+
}>;
|
|
8739
|
+
}>, Schema.Struct<{
|
|
8740
|
+
readonly type: Schema.Literal<"agent.waiting_started">;
|
|
8741
|
+
readonly sequence: Schema.Number;
|
|
8742
|
+
readonly timestamp: Schema.String;
|
|
8743
|
+
readonly payload: Schema.Struct<{
|
|
8744
|
+
readonly agentId: Schema.String;
|
|
8745
|
+
readonly reason: Schema.Literals<readonly ["tool_permission", "user_question", "disambiguation", "other"]>;
|
|
8746
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8747
|
+
}>;
|
|
8748
|
+
}>, Schema.Struct<{
|
|
8749
|
+
readonly type: Schema.Literal<"agent.waiting_cleared">;
|
|
8750
|
+
readonly sequence: Schema.Number;
|
|
8751
|
+
readonly timestamp: Schema.String;
|
|
8752
|
+
readonly payload: Schema.Struct<{
|
|
8753
|
+
readonly agentId: Schema.String;
|
|
8754
|
+
readonly clearedBy: Schema.Literals<readonly ["user_response", "timeout", "stopped", "tool_resumed"]>;
|
|
8755
|
+
}>;
|
|
8756
|
+
}>, Schema.Struct<{
|
|
8757
|
+
readonly type: Schema.Literal<"agent.permission_requested">;
|
|
8758
|
+
readonly sequence: Schema.Number;
|
|
8759
|
+
readonly timestamp: Schema.String;
|
|
8760
|
+
readonly payload: Schema.Struct<{
|
|
8761
|
+
readonly requestId: Schema.String;
|
|
8762
|
+
readonly agentId: Schema.String;
|
|
8763
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8764
|
+
readonly toolName: Schema.String;
|
|
8765
|
+
readonly description: Schema.String;
|
|
8766
|
+
readonly inputPreview: Schema.String;
|
|
8767
|
+
readonly createdAt: Schema.String;
|
|
8768
|
+
}>;
|
|
8769
|
+
}>, Schema.Struct<{
|
|
8770
|
+
readonly type: Schema.Literal<"agent.permission_resolved">;
|
|
8771
|
+
readonly sequence: Schema.Number;
|
|
8772
|
+
readonly timestamp: Schema.String;
|
|
8773
|
+
readonly payload: Schema.Struct<{
|
|
8774
|
+
readonly requestId: Schema.String;
|
|
8775
|
+
readonly agentId: Schema.String;
|
|
8776
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
8777
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8778
|
+
readonly behavior: Schema.Literals<readonly ["allow", "deny"]>;
|
|
8779
|
+
}>;
|
|
8780
|
+
}>, Schema.Struct<{
|
|
8781
|
+
readonly type: Schema.Literal<"agent.message_received">;
|
|
8782
|
+
readonly sequence: Schema.Number;
|
|
8783
|
+
readonly timestamp: Schema.String;
|
|
8784
|
+
readonly payload: Schema.Struct<{
|
|
8785
|
+
readonly agentId: Schema.String;
|
|
8786
|
+
readonly direction: Schema.Literals<readonly ["to_agent", "from_agent"]>;
|
|
8787
|
+
readonly source: Schema.Literals<readonly ["user", "cloister", "specialist", "automated"]>;
|
|
8788
|
+
}>;
|
|
8789
|
+
}>, Schema.Struct<{
|
|
8790
|
+
readonly type: Schema.Literal<"agent.channel_reply">;
|
|
8791
|
+
readonly sequence: Schema.Number;
|
|
8792
|
+
readonly timestamp: Schema.String;
|
|
8793
|
+
readonly payload: Schema.Struct<{
|
|
8794
|
+
readonly agentId: Schema.String;
|
|
8795
|
+
readonly reply: Schema.Struct<{
|
|
8796
|
+
readonly kind: Schema.Literals<readonly ["status", "done", "needs_input"]>;
|
|
8797
|
+
readonly summary: Schema.String;
|
|
8798
|
+
readonly artifactRefs: Schema.$Array<Schema.Struct<{
|
|
8799
|
+
readonly uri: Schema.String;
|
|
8800
|
+
readonly label: Schema.optional<Schema.String>;
|
|
8801
|
+
}>>;
|
|
8802
|
+
readonly reportedAt: Schema.String;
|
|
8803
|
+
}>;
|
|
8804
|
+
}>;
|
|
8805
|
+
}>, Schema.Struct<{
|
|
8806
|
+
readonly type: Schema.Literal<"agent.model_set">;
|
|
8807
|
+
readonly sequence: Schema.Number;
|
|
8808
|
+
readonly timestamp: Schema.String;
|
|
8809
|
+
readonly payload: Schema.Struct<{
|
|
8810
|
+
readonly agentId: Schema.String;
|
|
8811
|
+
readonly model: Schema.String;
|
|
8812
|
+
readonly claudeSessionId: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
8813
|
+
readonly sessionModel: Schema.optional<Schema.String>;
|
|
8814
|
+
readonly sessionHarness: Schema.optional<Schema.String>;
|
|
8815
|
+
}>;
|
|
8816
|
+
}>, Schema.Struct<{
|
|
8817
|
+
readonly type: Schema.Literal<"agent.current_issue_set">;
|
|
8818
|
+
readonly sequence: Schema.Number;
|
|
8819
|
+
readonly timestamp: Schema.String;
|
|
8820
|
+
readonly payload: Schema.Struct<{
|
|
8821
|
+
readonly agentId: Schema.String;
|
|
8822
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8823
|
+
}>;
|
|
8824
|
+
}>, Schema.Struct<{
|
|
8825
|
+
readonly type: Schema.Literal<"agent.context_saturation_changed">;
|
|
8826
|
+
readonly sequence: Schema.Number;
|
|
8827
|
+
readonly timestamp: Schema.String;
|
|
8828
|
+
readonly payload: Schema.Struct<{
|
|
8829
|
+
readonly agentId: Schema.String;
|
|
8830
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8831
|
+
}>;
|
|
8832
|
+
}>, Schema.Struct<{
|
|
8833
|
+
readonly type: Schema.Literal<"agent.resolution_changed">;
|
|
8834
|
+
readonly sequence: Schema.Number;
|
|
8835
|
+
readonly timestamp: Schema.String;
|
|
8836
|
+
readonly payload: Schema.Struct<{
|
|
8837
|
+
readonly agentId: Schema.String;
|
|
8838
|
+
readonly resolution: Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>;
|
|
8839
|
+
readonly resolutionCount: Schema.Number;
|
|
8840
|
+
}>;
|
|
8841
|
+
}>, Schema.Struct<{
|
|
8842
|
+
readonly type: Schema.Literal<"agent.state_restored">;
|
|
8843
|
+
readonly sequence: Schema.Number;
|
|
8844
|
+
readonly timestamp: Schema.String;
|
|
8845
|
+
readonly payload: Schema.Struct<{
|
|
8846
|
+
readonly agentId: Schema.String;
|
|
8847
|
+
readonly snapshot: Schema.Struct<{
|
|
8848
|
+
readonly id: Schema.String;
|
|
8849
|
+
readonly activity: Schema.Literals<readonly ["working", "thinking", "waiting", "idle", "stopped"]>;
|
|
8850
|
+
readonly lastActivity: Schema.String;
|
|
8851
|
+
readonly currentTool: Schema.optional<Schema.String>;
|
|
8852
|
+
readonly currentToolDescription: Schema.optional<Schema.String>;
|
|
8853
|
+
readonly thinking: Schema.optional<Schema.Struct<{
|
|
8854
|
+
readonly since: Schema.String;
|
|
8855
|
+
readonly lastToolAt: Schema.String;
|
|
8856
|
+
}>>;
|
|
8857
|
+
readonly waiting: Schema.optional<Schema.Struct<{
|
|
8858
|
+
readonly reason: Schema.Literals<readonly ["tool_permission", "user_question", "disambiguation", "other"]>;
|
|
8859
|
+
readonly startedAt: Schema.String;
|
|
8860
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8861
|
+
readonly notificationSent: Schema.optional<Schema.Boolean>;
|
|
8862
|
+
}>>;
|
|
8863
|
+
readonly claudeSessionId: Schema.optional<Schema.String>;
|
|
8864
|
+
readonly sessionModel: Schema.optional<Schema.String>;
|
|
8865
|
+
readonly sessionHarness: Schema.optional<Schema.String>;
|
|
8866
|
+
readonly model: Schema.optional<Schema.String>;
|
|
8867
|
+
readonly lastMessageAt: Schema.optional<Schema.String>;
|
|
8868
|
+
readonly channelReply: Schema.optional<Schema.Struct<{
|
|
8869
|
+
readonly kind: Schema.Literals<readonly ["status", "done", "needs_input"]>;
|
|
8870
|
+
readonly summary: Schema.String;
|
|
8871
|
+
readonly artifactRefs: Schema.$Array<Schema.Struct<{
|
|
8872
|
+
readonly uri: Schema.String;
|
|
8873
|
+
readonly label: Schema.optional<Schema.String>;
|
|
8874
|
+
}>>;
|
|
8875
|
+
readonly reportedAt: Schema.String;
|
|
8876
|
+
}>>;
|
|
8877
|
+
readonly resolution: Schema.optional<Schema.Literals<readonly ["working", "done", "needs_input", "stuck", "completed", "unclear", "abandoned", "api_error"]>>;
|
|
8878
|
+
readonly resolutionCount: Schema.optional<Schema.Number>;
|
|
8879
|
+
readonly resolutionUpdatedAt: Schema.optional<Schema.String>;
|
|
8880
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
8881
|
+
readonly contextSaturatedAt: Schema.optional<Schema.String>;
|
|
8882
|
+
readonly updatedAtSequence: Schema.Number;
|
|
8883
|
+
}>;
|
|
8884
|
+
}>;
|
|
8885
|
+
}>, Schema.Struct<{
|
|
8886
|
+
readonly type: Schema.Literal<"agent.turn_diff_completed">;
|
|
8887
|
+
readonly sequence: Schema.Number;
|
|
8888
|
+
readonly timestamp: Schema.String;
|
|
8889
|
+
readonly payload: Schema.Struct<{
|
|
8890
|
+
readonly agentId: Schema.String;
|
|
8891
|
+
readonly turnId: Schema.String;
|
|
8892
|
+
readonly completedAt: Schema.String;
|
|
8893
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
8894
|
+
readonly path: Schema.String;
|
|
8895
|
+
readonly kind: Schema.optional<Schema.String>;
|
|
8896
|
+
readonly additions: Schema.optional<Schema.Number>;
|
|
8897
|
+
readonly deletions: Schema.optional<Schema.Number>;
|
|
8898
|
+
}>>;
|
|
8899
|
+
readonly checkpointRef: Schema.optional<Schema.String>;
|
|
8900
|
+
readonly assistantMessageId: Schema.optional<Schema.String>;
|
|
8901
|
+
readonly checkpointTurnCount: Schema.optional<Schema.Number>;
|
|
8902
|
+
}>;
|
|
8903
|
+
}>, Schema.Struct<{
|
|
8904
|
+
readonly type: Schema.Literal<"planning.started">;
|
|
8905
|
+
readonly sequence: Schema.Number;
|
|
8906
|
+
readonly timestamp: Schema.String;
|
|
8907
|
+
readonly payload: Schema.Struct<{
|
|
8908
|
+
readonly issueId: Schema.String;
|
|
8909
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8910
|
+
readonly sessionName: Schema.String;
|
|
8911
|
+
readonly harness: Schema.optional<Schema.String>;
|
|
8912
|
+
}>;
|
|
8913
|
+
}>, Schema.Struct<{
|
|
8914
|
+
readonly type: Schema.Literal<"planning.failed">;
|
|
8915
|
+
readonly sequence: Schema.Number;
|
|
8916
|
+
readonly timestamp: Schema.String;
|
|
8917
|
+
readonly payload: Schema.Struct<{
|
|
8918
|
+
readonly issueId: Schema.String;
|
|
8919
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8920
|
+
readonly error: Schema.String;
|
|
8921
|
+
}>;
|
|
8922
|
+
}>, Schema.Struct<{
|
|
8923
|
+
readonly type: Schema.Literal<"planning.sync">;
|
|
8924
|
+
readonly sequence: Schema.Number;
|
|
8925
|
+
readonly timestamp: Schema.String;
|
|
8926
|
+
readonly payload: Schema.Struct<{
|
|
8927
|
+
readonly issueId: Schema.String;
|
|
8928
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8929
|
+
readonly status: Schema.String;
|
|
8930
|
+
readonly progress: Schema.optional<Schema.Number>;
|
|
8931
|
+
readonly message: Schema.optional<Schema.String>;
|
|
8932
|
+
}>;
|
|
8933
|
+
}>, Schema.Struct<{
|
|
8934
|
+
readonly type: Schema.Literal<"plan.item_status_changed">;
|
|
8935
|
+
readonly sequence: Schema.Number;
|
|
8936
|
+
readonly timestamp: Schema.String;
|
|
8937
|
+
readonly payload: Schema.Struct<{
|
|
8938
|
+
readonly issueId: Schema.String;
|
|
8939
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8940
|
+
readonly itemId: Schema.String;
|
|
8941
|
+
readonly status: Schema.String;
|
|
8942
|
+
}>;
|
|
8943
|
+
}>, Schema.Struct<{
|
|
8944
|
+
readonly type: Schema.Literal<"plan.subitem_status_changed">;
|
|
8945
|
+
readonly sequence: Schema.Number;
|
|
8946
|
+
readonly timestamp: Schema.String;
|
|
8947
|
+
readonly payload: Schema.Struct<{
|
|
8948
|
+
readonly issueId: Schema.String;
|
|
8949
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8950
|
+
readonly itemId: Schema.String;
|
|
8951
|
+
readonly subItemId: Schema.String;
|
|
8952
|
+
readonly status: Schema.String;
|
|
8953
|
+
}>;
|
|
8954
|
+
}>, Schema.Struct<{
|
|
8955
|
+
readonly type: Schema.Literal<"plan.items_unblocked">;
|
|
8956
|
+
readonly sequence: Schema.Number;
|
|
8957
|
+
readonly timestamp: Schema.String;
|
|
8958
|
+
readonly payload: Schema.Struct<{
|
|
8959
|
+
readonly issueId: Schema.String;
|
|
8960
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
8961
|
+
readonly items: Schema.$Array<Schema.String>;
|
|
8962
|
+
}>;
|
|
8963
|
+
}>, Schema.Struct<{
|
|
8964
|
+
readonly type: Schema.Literal<"issue_state.changed">;
|
|
8965
|
+
readonly sequence: Schema.Number;
|
|
8966
|
+
readonly timestamp: Schema.String;
|
|
8967
|
+
readonly payload: Schema.Struct<{
|
|
8968
|
+
readonly issueState: Schema.Struct<{
|
|
8969
|
+
readonly issueId: Schema.String;
|
|
8970
|
+
readonly state: Schema.Literals<readonly ["backlog", "parked", "planned", "working", "in-review", "changes-requested", "ready", "merged", "closed"]>;
|
|
8971
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["needs-you", "stuck", "api-error", "work-not-started"]>>;
|
|
8972
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
8973
|
+
readonly url: Schema.String;
|
|
8974
|
+
readonly number: Schema.Number;
|
|
8975
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
8976
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
8977
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
8978
|
+
readonly merged: Schema.optional<Schema.Boolean>;
|
|
8979
|
+
}>>;
|
|
8980
|
+
readonly branch: Schema.optional<Schema.Struct<{
|
|
8981
|
+
readonly name: Schema.String;
|
|
8982
|
+
readonly aheadOfMain: Schema.Number;
|
|
8983
|
+
readonly pushed: Schema.Boolean;
|
|
8984
|
+
}>>;
|
|
8985
|
+
readonly trackerUnknown: Schema.optional<Schema.Literal<true>>;
|
|
8986
|
+
readonly workStart: Schema.optional<Schema.Struct<{
|
|
8987
|
+
readonly status: Schema.Literals<readonly ["retrying", "not-started"]>;
|
|
8988
|
+
readonly at: Schema.String;
|
|
8989
|
+
readonly error: Schema.optional<Schema.String>;
|
|
8990
|
+
readonly nextRetryAt: Schema.optional<Schema.String>;
|
|
8991
|
+
readonly held: Schema.optional<Schema.Literal<true>>;
|
|
8992
|
+
}>>;
|
|
8993
|
+
}>;
|
|
8994
|
+
}>;
|
|
8995
|
+
}>, Schema.Struct<{
|
|
8996
|
+
readonly type: Schema.Literal<"backend_pane.changed">;
|
|
8997
|
+
readonly sequence: Schema.Number;
|
|
8998
|
+
readonly timestamp: Schema.String;
|
|
8999
|
+
readonly payload: Schema.Struct<{
|
|
9000
|
+
readonly pane: Schema.Struct<{
|
|
9001
|
+
readonly id: Schema.String;
|
|
9002
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
9003
|
+
readonly issue: Schema.optional<Schema.String>;
|
|
9004
|
+
readonly role: Schema.Literals<readonly ["work", "worker", "review", "test", "uat", "strike", "plan", "conversation"]>;
|
|
9005
|
+
readonly harness: Schema.String;
|
|
9006
|
+
readonly model: Schema.String;
|
|
9007
|
+
readonly state: Schema.Literals<readonly ["idle", "working", "blocked", "done", "exited", "unknown"]>;
|
|
9008
|
+
readonly stateSince: Schema.optional<Schema.Number>;
|
|
9009
|
+
readonly terminalId: Schema.optional<Schema.String>;
|
|
9010
|
+
readonly workspace: Schema.optional<Schema.String>;
|
|
9011
|
+
}>;
|
|
9012
|
+
}>;
|
|
9013
|
+
}>, Schema.Struct<{
|
|
9014
|
+
readonly type: Schema.Literal<"backend_pane.removed">;
|
|
9015
|
+
readonly sequence: Schema.Number;
|
|
9016
|
+
readonly timestamp: Schema.String;
|
|
9017
|
+
readonly payload: Schema.Struct<{
|
|
9018
|
+
readonly paneId: Schema.String;
|
|
9019
|
+
}>;
|
|
9020
|
+
}>, Schema.Struct<{
|
|
9021
|
+
readonly type: Schema.Literal<"merge.ready">;
|
|
9022
|
+
readonly sequence: Schema.Number;
|
|
9023
|
+
readonly timestamp: Schema.String;
|
|
9024
|
+
readonly payload: Schema.Struct<{
|
|
9025
|
+
readonly issueId: Schema.String;
|
|
9026
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9027
|
+
}>;
|
|
9028
|
+
}>, Schema.Struct<{
|
|
9029
|
+
readonly type: Schema.Literal<"pipeline.review-started">;
|
|
9030
|
+
readonly sequence: Schema.Number;
|
|
9031
|
+
readonly timestamp: Schema.String;
|
|
9032
|
+
readonly payload: Schema.Struct<{
|
|
9033
|
+
readonly issueId: Schema.String;
|
|
9034
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9035
|
+
}>;
|
|
9036
|
+
}>, Schema.Struct<{
|
|
9037
|
+
readonly type: Schema.Literal<"pipeline.review-completed">;
|
|
9038
|
+
readonly sequence: Schema.Number;
|
|
9039
|
+
readonly timestamp: Schema.String;
|
|
9040
|
+
readonly payload: Schema.Struct<{
|
|
9041
|
+
readonly issueId: Schema.String;
|
|
9042
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9043
|
+
readonly passed: Schema.Boolean;
|
|
9044
|
+
}>;
|
|
9045
|
+
}>, Schema.Struct<{
|
|
9046
|
+
readonly type: Schema.Literal<"pipeline.test-started">;
|
|
9047
|
+
readonly sequence: Schema.Number;
|
|
9048
|
+
readonly timestamp: Schema.String;
|
|
9049
|
+
readonly payload: Schema.Struct<{
|
|
9050
|
+
readonly issueId: Schema.String;
|
|
9051
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9052
|
+
}>;
|
|
9053
|
+
}>, Schema.Struct<{
|
|
9054
|
+
readonly type: Schema.Literal<"pipeline.test-completed">;
|
|
9055
|
+
readonly sequence: Schema.Number;
|
|
9056
|
+
readonly timestamp: Schema.String;
|
|
9057
|
+
readonly payload: Schema.Struct<{
|
|
9058
|
+
readonly issueId: Schema.String;
|
|
9059
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9060
|
+
readonly passed: Schema.Boolean;
|
|
9061
|
+
}>;
|
|
9062
|
+
}>, Schema.Struct<{
|
|
9063
|
+
readonly type: Schema.Literal<"pipeline.verification-started">;
|
|
9064
|
+
readonly sequence: Schema.Number;
|
|
9065
|
+
readonly timestamp: Schema.String;
|
|
9066
|
+
readonly payload: Schema.Struct<{
|
|
9067
|
+
readonly issueId: Schema.String;
|
|
9068
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9069
|
+
}>;
|
|
9070
|
+
}>, Schema.Struct<{
|
|
9071
|
+
readonly type: Schema.Literal<"pipeline.verification-failed">;
|
|
9072
|
+
readonly sequence: Schema.Number;
|
|
9073
|
+
readonly timestamp: Schema.String;
|
|
9074
|
+
readonly payload: Schema.Struct<{
|
|
9075
|
+
readonly issueId: Schema.String;
|
|
9076
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9077
|
+
readonly failedCheck: Schema.optional<Schema.String>;
|
|
9078
|
+
readonly message: Schema.optional<Schema.String>;
|
|
9079
|
+
}>;
|
|
9080
|
+
}>, Schema.Struct<{
|
|
9081
|
+
readonly type: Schema.Literal<"issue.transitioned">;
|
|
9082
|
+
readonly sequence: Schema.Number;
|
|
9083
|
+
readonly timestamp: Schema.String;
|
|
9084
|
+
readonly payload: Schema.Struct<{
|
|
9085
|
+
readonly issueId: Schema.String;
|
|
9086
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9087
|
+
readonly state: Schema.String;
|
|
9088
|
+
}>;
|
|
9089
|
+
}>, Schema.Struct<{
|
|
9090
|
+
readonly type: Schema.Literal<"operator.intervention">;
|
|
9091
|
+
readonly sequence: Schema.Number;
|
|
9092
|
+
readonly timestamp: Schema.String;
|
|
9093
|
+
readonly payload: Schema.Struct<{
|
|
9094
|
+
readonly issueId: Schema.String;
|
|
9095
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9096
|
+
readonly kind: Schema.Literals<readonly ["tell", "pause", "restart", "manual_edit", "deep_wipe", "unpause", "untroubled"]>;
|
|
9097
|
+
readonly source: Schema.String;
|
|
9098
|
+
}>;
|
|
9099
|
+
}>, Schema.Struct<{
|
|
9100
|
+
readonly type: Schema.Literal<"linear_mcp_auth.required">;
|
|
9101
|
+
readonly sequence: Schema.Number;
|
|
9102
|
+
readonly timestamp: Schema.String;
|
|
9103
|
+
readonly payload: Schema.Struct<{
|
|
9104
|
+
readonly agentId: Schema.String;
|
|
9105
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9106
|
+
readonly authUrl: Schema.NullOr<Schema.String>;
|
|
9107
|
+
readonly expiresAt: Schema.NullOr<Schema.String>;
|
|
9108
|
+
}>;
|
|
9109
|
+
}>, Schema.Struct<{
|
|
9110
|
+
readonly type: Schema.Literal<"linear_mcp_auth.healthy">;
|
|
9111
|
+
readonly sequence: Schema.Number;
|
|
9112
|
+
readonly timestamp: Schema.String;
|
|
9113
|
+
readonly payload: Schema.Struct<{
|
|
9114
|
+
readonly agentId: Schema.String;
|
|
9115
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9116
|
+
readonly source: Schema.Literals<readonly ["hook", "operator"]>;
|
|
9117
|
+
}>;
|
|
9118
|
+
}>, Schema.Struct<{
|
|
9119
|
+
readonly type: Schema.Literal<"linear_mcp_auth.notified">;
|
|
9120
|
+
readonly sequence: Schema.Number;
|
|
9121
|
+
readonly timestamp: Schema.String;
|
|
9122
|
+
readonly payload: Schema.Struct<{
|
|
9123
|
+
readonly agentId: Schema.String;
|
|
9124
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9125
|
+
readonly outcome: Schema.Literals<readonly ["delivering", "delivered", "queued", "failed"]>;
|
|
9126
|
+
readonly lifecycleId: Schema.optional<Schema.String>;
|
|
9127
|
+
}>;
|
|
9128
|
+
}>, Schema.Struct<{
|
|
9129
|
+
readonly type: Schema.Literal<"linear_mcp_auth.callback_relayed">;
|
|
9130
|
+
readonly sequence: Schema.Number;
|
|
9131
|
+
readonly timestamp: Schema.String;
|
|
9132
|
+
readonly payload: Schema.Struct<{
|
|
9133
|
+
readonly agentId: Schema.String;
|
|
9134
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9135
|
+
}>;
|
|
9136
|
+
}>, Schema.Struct<{
|
|
9137
|
+
readonly type: Schema.Literal<"substrate.bug_filed">;
|
|
9138
|
+
readonly sequence: Schema.Number;
|
|
9139
|
+
readonly timestamp: Schema.String;
|
|
9140
|
+
readonly payload: Schema.Struct<{
|
|
9141
|
+
readonly issueId: Schema.String;
|
|
9142
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9143
|
+
readonly runId: Schema.optional<Schema.String>;
|
|
9144
|
+
readonly filedBy: Schema.Literals<readonly ["agent", "operator"]>;
|
|
9145
|
+
readonly discoveredIn: Schema.optional<Schema.String>;
|
|
9146
|
+
readonly severity: Schema.Literals<readonly ["P0", "P1", "P2"]>;
|
|
9147
|
+
}>;
|
|
9148
|
+
}>, Schema.Struct<{
|
|
9149
|
+
readonly type: Schema.Literal<"review.reviewer_started">;
|
|
9150
|
+
readonly sequence: Schema.Number;
|
|
9151
|
+
readonly timestamp: Schema.String;
|
|
9152
|
+
readonly payload: Schema.Struct<{
|
|
9153
|
+
readonly issueId: Schema.String;
|
|
9154
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9155
|
+
readonly role: Schema.String;
|
|
9156
|
+
readonly sessionName: Schema.String;
|
|
9157
|
+
}>;
|
|
9158
|
+
}>, Schema.Struct<{
|
|
9159
|
+
readonly type: Schema.Literal<"review.reviewer_completed">;
|
|
9160
|
+
readonly sequence: Schema.Number;
|
|
9161
|
+
readonly timestamp: Schema.String;
|
|
9162
|
+
readonly payload: Schema.Struct<{
|
|
9163
|
+
readonly issueId: Schema.String;
|
|
9164
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9165
|
+
readonly role: Schema.String;
|
|
9166
|
+
}>;
|
|
9167
|
+
}>, Schema.Struct<{
|
|
9168
|
+
readonly type: Schema.Literal<"review.specialist.timed_out">;
|
|
9169
|
+
readonly sequence: Schema.Number;
|
|
9170
|
+
readonly timestamp: Schema.String;
|
|
9171
|
+
readonly payload: Schema.Struct<{
|
|
9172
|
+
readonly issueId: Schema.String;
|
|
9173
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9174
|
+
readonly role: Schema.String;
|
|
9175
|
+
readonly sessionName: Schema.String;
|
|
9176
|
+
readonly attempt: Schema.Number;
|
|
9177
|
+
readonly maxRetries: Schema.Number;
|
|
9178
|
+
readonly willRetry: Schema.Boolean;
|
|
9179
|
+
}>;
|
|
9180
|
+
}>, Schema.Struct<{
|
|
9181
|
+
readonly type: Schema.Literal<"review.coordinator_started">;
|
|
9182
|
+
readonly sequence: Schema.Number;
|
|
9183
|
+
readonly timestamp: Schema.String;
|
|
9184
|
+
readonly payload: Schema.Struct<{
|
|
9185
|
+
readonly issueId: Schema.String;
|
|
9186
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9187
|
+
readonly sessionName: Schema.String;
|
|
9188
|
+
}>;
|
|
9189
|
+
}>, Schema.Struct<{
|
|
9190
|
+
readonly type: Schema.Literal<"review.coordinator.died">;
|
|
9191
|
+
readonly sequence: Schema.Number;
|
|
9192
|
+
readonly timestamp: Schema.String;
|
|
9193
|
+
readonly payload: Schema.Struct<{
|
|
9194
|
+
readonly issueId: Schema.String;
|
|
9195
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9196
|
+
readonly sessionName: Schema.String;
|
|
9197
|
+
readonly reason: Schema.String;
|
|
9198
|
+
}>;
|
|
9199
|
+
}>, Schema.Struct<{
|
|
9200
|
+
readonly type: Schema.Literal<"review.verdict_rejected">;
|
|
9201
|
+
readonly sequence: Schema.Number;
|
|
9202
|
+
readonly timestamp: Schema.String;
|
|
9203
|
+
readonly payload: Schema.Struct<{
|
|
9204
|
+
readonly issueId: Schema.String;
|
|
9205
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9206
|
+
readonly writer: Schema.String;
|
|
9207
|
+
readonly verdict: Schema.String;
|
|
9208
|
+
readonly evidenceHead: Schema.String;
|
|
9209
|
+
readonly rowHead: Schema.String;
|
|
9210
|
+
readonly reason: Schema.String;
|
|
9211
|
+
}>;
|
|
9212
|
+
}>, Schema.Struct<{
|
|
9213
|
+
readonly type: Schema.Literal<"review.verdict_dispatched">;
|
|
9214
|
+
readonly sequence: Schema.Number;
|
|
9215
|
+
readonly timestamp: Schema.String;
|
|
9216
|
+
readonly payload: Schema.Struct<{
|
|
9217
|
+
readonly issueId: Schema.String;
|
|
9218
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9219
|
+
readonly writer: Schema.String;
|
|
9220
|
+
readonly verdict: Schema.String;
|
|
9221
|
+
readonly evidenceHead: Schema.String;
|
|
9222
|
+
readonly rowHead: Schema.String;
|
|
9223
|
+
readonly classification: Schema.String;
|
|
9224
|
+
readonly testGateReset: Schema.Boolean;
|
|
9225
|
+
}>;
|
|
9226
|
+
}>, Schema.Struct<{
|
|
9227
|
+
readonly type: Schema.Literal<"review.verdict_restore_blocked">;
|
|
9228
|
+
readonly sequence: Schema.Number;
|
|
9229
|
+
readonly timestamp: Schema.String;
|
|
9230
|
+
readonly payload: Schema.Struct<{
|
|
9231
|
+
readonly issueId: Schema.String;
|
|
9232
|
+
readonly caller: Schema.String;
|
|
9233
|
+
readonly verdict: Schema.String;
|
|
9234
|
+
readonly artifactHead: Schema.String;
|
|
9235
|
+
readonly rowHead: Schema.String;
|
|
9236
|
+
readonly reason: Schema.String;
|
|
9237
|
+
}>;
|
|
9238
|
+
}>, Schema.Struct<{
|
|
9239
|
+
readonly type: Schema.Literal<"specialist.started">;
|
|
9240
|
+
readonly sequence: Schema.Number;
|
|
9241
|
+
readonly timestamp: Schema.String;
|
|
9242
|
+
readonly payload: Schema.Struct<{
|
|
9243
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9244
|
+
readonly state: Schema.Literals<readonly ["active", "sleeping", "uninitialized"]>;
|
|
9245
|
+
readonly isRunning: Schema.Boolean;
|
|
9246
|
+
readonly currentIssue: Schema.optional<Schema.String>;
|
|
9247
|
+
readonly lastWake: Schema.optional<Schema.String>;
|
|
9248
|
+
}>;
|
|
9249
|
+
}>, Schema.Struct<{
|
|
9250
|
+
readonly type: Schema.Literal<"specialist.completed">;
|
|
9251
|
+
readonly sequence: Schema.Number;
|
|
9252
|
+
readonly timestamp: Schema.String;
|
|
9253
|
+
readonly payload: Schema.Struct<{
|
|
9254
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9255
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9256
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9257
|
+
}>;
|
|
9258
|
+
}>, Schema.Struct<{
|
|
9259
|
+
readonly type: Schema.Literal<"specialist.failed">;
|
|
9260
|
+
readonly sequence: Schema.Number;
|
|
9261
|
+
readonly timestamp: Schema.String;
|
|
9262
|
+
readonly payload: Schema.Struct<{
|
|
9263
|
+
readonly name: Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>;
|
|
9264
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9265
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9266
|
+
readonly error: Schema.String;
|
|
9267
|
+
}>;
|
|
9268
|
+
}>, Schema.Struct<{
|
|
9269
|
+
readonly type: Schema.Literal<"resources.updated">;
|
|
9270
|
+
readonly sequence: Schema.Number;
|
|
9271
|
+
readonly timestamp: Schema.String;
|
|
9272
|
+
readonly payload: Schema.Struct<{
|
|
9273
|
+
readonly resources: Schema.Struct<{
|
|
9274
|
+
readonly containers: Schema.$Array<Schema.Struct<{
|
|
9275
|
+
readonly name: Schema.String;
|
|
9276
|
+
readonly cpu: Schema.optional<Schema.String>;
|
|
9277
|
+
readonly mem: Schema.optional<Schema.String>;
|
|
9278
|
+
readonly status: Schema.optional<Schema.String>;
|
|
9279
|
+
}>>;
|
|
9280
|
+
}>;
|
|
9281
|
+
}>;
|
|
9282
|
+
}>, Schema.Struct<{
|
|
9283
|
+
readonly type: Schema.Literal<"system.health_severity_changed">;
|
|
9284
|
+
readonly sequence: Schema.Number;
|
|
9285
|
+
readonly timestamp: Schema.String;
|
|
9286
|
+
readonly payload: Schema.Struct<{
|
|
9287
|
+
readonly previousSeverity: Schema.String;
|
|
9288
|
+
readonly severity: Schema.String;
|
|
9289
|
+
readonly reasons: Schema.$Array<Schema.String>;
|
|
9290
|
+
readonly leakedSpecialistCount: Schema.Number;
|
|
9291
|
+
readonly version: Schema.optional<Schema.Literal<2>>;
|
|
9292
|
+
readonly transitionVersion: Schema.optional<Schema.Number>;
|
|
9293
|
+
readonly previousState: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
|
|
9294
|
+
readonly state: Schema.optional<Schema.decodeTo<Schema.Literals<readonly ["measuring", "healthy", "warning", "critical", "unavailable"]>, Schema.String, never, never>>;
|
|
9295
|
+
readonly reasonCodes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9296
|
+
readonly acceptedAt: Schema.optional<Schema.String>;
|
|
9297
|
+
}>;
|
|
9298
|
+
}>, Schema.Struct<{
|
|
9299
|
+
readonly type: Schema.Literal<"issues.snapshot">;
|
|
9300
|
+
readonly sequence: Schema.Number;
|
|
9301
|
+
readonly timestamp: Schema.String;
|
|
9302
|
+
readonly payload: Schema.Struct<{
|
|
9303
|
+
readonly issues: Schema.$Array<Schema.Unknown>;
|
|
9304
|
+
}>;
|
|
9305
|
+
}>, Schema.Struct<{
|
|
9306
|
+
readonly type: Schema.Literal<"issues.delta">;
|
|
9307
|
+
readonly sequence: Schema.Number;
|
|
9308
|
+
readonly timestamp: Schema.String;
|
|
9309
|
+
readonly payload: Schema.Struct<{
|
|
9310
|
+
readonly length: Schema.Number;
|
|
9311
|
+
readonly changes: Schema.$Array<Schema.Struct<{
|
|
9312
|
+
readonly index: Schema.Number;
|
|
9313
|
+
readonly issue: Schema.Unknown;
|
|
9314
|
+
}>>;
|
|
9315
|
+
}>;
|
|
9316
|
+
}>, Schema.Struct<{
|
|
9317
|
+
readonly type: Schema.Literal<"issues.updated">;
|
|
9318
|
+
readonly sequence: Schema.Number;
|
|
9319
|
+
readonly timestamp: Schema.String;
|
|
9320
|
+
readonly payload: Schema.Struct<{
|
|
9321
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9322
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9323
|
+
}>;
|
|
9324
|
+
}>, Schema.Struct<{
|
|
9325
|
+
readonly type: Schema.Literal<"issue.statusChanged">;
|
|
9326
|
+
readonly sequence: Schema.Number;
|
|
9327
|
+
readonly timestamp: Schema.String;
|
|
9328
|
+
readonly payload: Schema.Struct<{
|
|
9329
|
+
readonly issueId: Schema.String;
|
|
9330
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9331
|
+
readonly status: Schema.String;
|
|
9332
|
+
readonly canonicalStatus: Schema.String;
|
|
9333
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
9334
|
+
}>;
|
|
9335
|
+
}>, Schema.Struct<{
|
|
9336
|
+
readonly type: Schema.Literal<"activity.updated">;
|
|
9337
|
+
readonly sequence: Schema.Number;
|
|
9338
|
+
readonly timestamp: Schema.String;
|
|
9339
|
+
readonly payload: Schema.Struct<{
|
|
9340
|
+
readonly events: Schema.$Array<Schema.Unknown>;
|
|
9341
|
+
}>;
|
|
9342
|
+
}>, Schema.Struct<{
|
|
9343
|
+
readonly type: Schema.Literal<"activity.entry">;
|
|
9344
|
+
readonly sequence: Schema.Number;
|
|
9345
|
+
readonly timestamp: Schema.String;
|
|
9346
|
+
readonly payload: Schema.Struct<{
|
|
9347
|
+
readonly id: Schema.String;
|
|
9348
|
+
readonly source: Schema.String;
|
|
9349
|
+
readonly level: Schema.String;
|
|
9350
|
+
readonly status: Schema.optional<Schema.Literals<readonly ["accepted", "running", "completed", "failed"]>>;
|
|
9351
|
+
readonly command: Schema.optional<Schema.String>;
|
|
9352
|
+
readonly message: Schema.String;
|
|
9353
|
+
readonly details: Schema.optional<Schema.String>;
|
|
9354
|
+
readonly output: Schema.optional<Schema.String>;
|
|
9355
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9356
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9357
|
+
readonly link: Schema.optional<Schema.String>;
|
|
9358
|
+
readonly desktop: Schema.optional<Schema.Boolean>;
|
|
9359
|
+
}>;
|
|
9360
|
+
}>, Schema.Struct<{
|
|
9361
|
+
readonly type: Schema.Literal<"activity.detailed">;
|
|
9362
|
+
readonly sequence: Schema.Number;
|
|
9363
|
+
readonly timestamp: Schema.String;
|
|
9364
|
+
readonly payload: Schema.Struct<{
|
|
9365
|
+
readonly id: Schema.String;
|
|
9366
|
+
readonly source: Schema.String;
|
|
9367
|
+
readonly level: Schema.String;
|
|
9368
|
+
readonly message: Schema.String;
|
|
9369
|
+
readonly details: Schema.optional<Schema.String>;
|
|
9370
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9371
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9372
|
+
readonly triggeringEvent: Schema.optional<Schema.String>;
|
|
9373
|
+
}>;
|
|
9374
|
+
}>, Schema.Struct<{
|
|
9375
|
+
readonly type: Schema.Literal<"activity.tts">;
|
|
9376
|
+
readonly sequence: Schema.Number;
|
|
9377
|
+
readonly timestamp: Schema.String;
|
|
9378
|
+
readonly payload: Schema.Struct<{
|
|
9379
|
+
readonly id: Schema.String;
|
|
9380
|
+
readonly utterance: Schema.String;
|
|
9381
|
+
readonly priority: Schema.optional<Schema.Number>;
|
|
9382
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9383
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9384
|
+
readonly source: Schema.optional<Schema.String>;
|
|
9385
|
+
readonly eventType: Schema.optional<Schema.String>;
|
|
9386
|
+
}>;
|
|
9387
|
+
}>, Schema.Struct<{
|
|
9388
|
+
readonly type: Schema.Literal<"shadow.inference_update">;
|
|
9389
|
+
readonly sequence: Schema.Number;
|
|
9390
|
+
readonly timestamp: Schema.String;
|
|
9391
|
+
readonly payload: Schema.Struct<{
|
|
9392
|
+
readonly issueId: Schema.String;
|
|
9393
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9394
|
+
readonly content: Schema.String;
|
|
9395
|
+
}>;
|
|
9396
|
+
}>, Schema.Struct<{
|
|
9397
|
+
readonly type: Schema.Literal<"memory.observation_created">;
|
|
9398
|
+
readonly sequence: Schema.Number;
|
|
9399
|
+
readonly timestamp: Schema.String;
|
|
9400
|
+
readonly payload: Schema.Struct<{
|
|
9401
|
+
readonly observation: Schema.Struct<{
|
|
9402
|
+
readonly id: Schema.String;
|
|
9403
|
+
readonly timestamp: Schema.String;
|
|
9404
|
+
readonly projectId: Schema.String;
|
|
9405
|
+
readonly workspaceId: Schema.String;
|
|
9406
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9407
|
+
readonly runId: Schema.String;
|
|
9408
|
+
readonly sessionId: Schema.String;
|
|
9409
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9410
|
+
readonly agentHarness: Schema.String;
|
|
9411
|
+
readonly gitBranch: Schema.String;
|
|
9412
|
+
readonly sourceTranscriptOffset: Schema.Number;
|
|
9413
|
+
readonly actionStatus: Schema.NullOr<Schema.String>;
|
|
9414
|
+
readonly narrative: Schema.String;
|
|
9415
|
+
readonly summary: Schema.String;
|
|
9416
|
+
readonly files: Schema.$Array<Schema.String>;
|
|
9417
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9418
|
+
readonly tokens: Schema.Struct<{
|
|
9419
|
+
readonly prompt: Schema.Number;
|
|
9420
|
+
readonly completion: Schema.Number;
|
|
9421
|
+
readonly total: Schema.Number;
|
|
9422
|
+
}>;
|
|
9423
|
+
readonly model: Schema.String;
|
|
9424
|
+
}>;
|
|
9425
|
+
}>;
|
|
9426
|
+
}>, Schema.Struct<{
|
|
9427
|
+
readonly type: Schema.Literal<"memory.status_updated">;
|
|
9428
|
+
readonly sequence: Schema.Number;
|
|
9429
|
+
readonly timestamp: Schema.String;
|
|
9430
|
+
readonly payload: Schema.Struct<{
|
|
9431
|
+
readonly identity: Schema.Struct<{
|
|
9432
|
+
readonly projectId: Schema.String;
|
|
9433
|
+
readonly workspaceId: Schema.String;
|
|
9434
|
+
readonly issueId: Schema.String;
|
|
9435
|
+
}>;
|
|
9436
|
+
readonly status: Schema.Struct<{
|
|
9437
|
+
readonly name: Schema.String;
|
|
9438
|
+
readonly headline: Schema.String;
|
|
9439
|
+
readonly summary: Schema.String;
|
|
9440
|
+
readonly goal: Schema.NullOr<Schema.String>;
|
|
9441
|
+
readonly phase: Schema.Literals<readonly ["exploring", "planning", "building", "verifying", "cleaning", "shipping"]>;
|
|
9442
|
+
readonly accomplished: Schema.$Array<Schema.String>;
|
|
9443
|
+
readonly decided: Schema.$Array<Schema.String>;
|
|
9444
|
+
readonly open: Schema.$Array<Schema.String>;
|
|
9445
|
+
readonly nextSteps: Schema.$Array<Schema.String>;
|
|
9446
|
+
readonly confidence: Schema.Number;
|
|
9447
|
+
readonly workingSet: Schema.$Array<Schema.String>;
|
|
9448
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9449
|
+
}>;
|
|
9450
|
+
readonly previousStatus: Schema.optional<Schema.Struct<{
|
|
9451
|
+
readonly name: Schema.String;
|
|
9452
|
+
readonly headline: Schema.String;
|
|
9453
|
+
readonly summary: Schema.String;
|
|
9454
|
+
readonly goal: Schema.NullOr<Schema.String>;
|
|
9455
|
+
readonly phase: Schema.Literals<readonly ["exploring", "planning", "building", "verifying", "cleaning", "shipping"]>;
|
|
9456
|
+
readonly accomplished: Schema.$Array<Schema.String>;
|
|
9457
|
+
readonly decided: Schema.$Array<Schema.String>;
|
|
9458
|
+
readonly open: Schema.$Array<Schema.String>;
|
|
9459
|
+
readonly nextSteps: Schema.$Array<Schema.String>;
|
|
9460
|
+
readonly confidence: Schema.Number;
|
|
9461
|
+
readonly workingSet: Schema.$Array<Schema.String>;
|
|
9462
|
+
readonly tags: Schema.$Array<Schema.String>;
|
|
9463
|
+
}>>;
|
|
9464
|
+
}>;
|
|
9465
|
+
}>, Schema.Struct<{
|
|
9466
|
+
readonly type: Schema.Literal<"memory.rollup_triggered">;
|
|
9467
|
+
readonly sequence: Schema.Number;
|
|
9468
|
+
readonly timestamp: Schema.String;
|
|
9469
|
+
readonly payload: Schema.Struct<{
|
|
9470
|
+
readonly projectId: Schema.String;
|
|
9471
|
+
readonly workspaceId: Schema.String;
|
|
9472
|
+
readonly issueId: Schema.String;
|
|
9473
|
+
readonly pendingCount: Schema.Number;
|
|
9474
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
9475
|
+
readonly threshold: Schema.Number;
|
|
9476
|
+
}>;
|
|
9477
|
+
}>, Schema.Struct<{
|
|
9478
|
+
readonly type: Schema.Literal<"memory.reset_marker_created">;
|
|
9479
|
+
readonly sequence: Schema.Number;
|
|
9480
|
+
readonly timestamp: Schema.String;
|
|
9481
|
+
readonly payload: Schema.Struct<{
|
|
9482
|
+
readonly marker: Schema.Struct<{
|
|
9483
|
+
readonly id: Schema.String;
|
|
9484
|
+
readonly scope: Schema.Literals<readonly ["project", "workspace", "issue", "session"]>;
|
|
9485
|
+
readonly scopeId: Schema.String;
|
|
9486
|
+
readonly fromTimestamp: Schema.String;
|
|
9487
|
+
readonly reason: Schema.String;
|
|
9488
|
+
readonly createdAt: Schema.String;
|
|
9489
|
+
}>;
|
|
9490
|
+
}>;
|
|
9491
|
+
}>, Schema.Struct<{
|
|
9492
|
+
readonly type: Schema.Literal<"memory.health_changed">;
|
|
9493
|
+
readonly sequence: Schema.Number;
|
|
9494
|
+
readonly timestamp: Schema.String;
|
|
9495
|
+
readonly payload: Schema.Struct<{
|
|
9496
|
+
readonly projectId: Schema.String;
|
|
9497
|
+
readonly issueId: Schema.String;
|
|
9498
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9499
|
+
readonly status: Schema.Literals<readonly ["healthy", "degraded", "failing"]>;
|
|
9500
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
9501
|
+
readonly detail: Schema.optional<Schema.String>;
|
|
9502
|
+
readonly ragDecision: Schema.optional<Schema.Struct<{
|
|
9503
|
+
readonly id: Schema.String;
|
|
9504
|
+
readonly timestamp: Schema.String;
|
|
9505
|
+
readonly identity: Schema.Struct<{
|
|
9506
|
+
readonly projectId: Schema.String;
|
|
9507
|
+
readonly workspaceId: Schema.String;
|
|
9508
|
+
readonly issueId: Schema.NullOr<Schema.String>;
|
|
9509
|
+
readonly runId: Schema.String;
|
|
9510
|
+
readonly sessionId: Schema.String;
|
|
9511
|
+
readonly agentRole: Schema.Union<readonly [Schema.Literals<readonly ["plan", "work", "review", "test", "ship", "flywheel", "strike", "sequencer", "knowledge", "worker"]>, Schema.Literal<"conversation">]>;
|
|
9512
|
+
readonly agentHarness: Schema.String;
|
|
9513
|
+
}>;
|
|
9514
|
+
readonly surface: Schema.Literals<readonly ["spawn", "user-prompt"]>;
|
|
9515
|
+
readonly outcome: Schema.Literals<readonly ["injected", "skipped", "no-hits", "expansion-failed", "context-too-large", "budget-truncated"]>;
|
|
9516
|
+
readonly query: Schema.String;
|
|
9517
|
+
readonly expandedTerms: Schema.$Array<Schema.String>;
|
|
9518
|
+
readonly allocations: Schema.Struct<{
|
|
9519
|
+
readonly status: Schema.Number;
|
|
9520
|
+
readonly observations: Schema.Number;
|
|
9521
|
+
readonly summaries: Schema.Number;
|
|
9522
|
+
readonly sibling: Schema.Number;
|
|
9523
|
+
readonly knowledgeIndex: Schema.Number;
|
|
9524
|
+
}>;
|
|
9525
|
+
readonly sources: Schema.$Array<Schema.Struct<{
|
|
9526
|
+
readonly id: Schema.String;
|
|
9527
|
+
readonly docType: Schema.Literals<readonly ["observation", "summary", "status", "sibling", "knowledge"]>;
|
|
9528
|
+
readonly scope: Schema.String;
|
|
9529
|
+
readonly score: Schema.Number;
|
|
9530
|
+
readonly tokens: Schema.Number;
|
|
9531
|
+
}>>;
|
|
9532
|
+
readonly reason: Schema.NullOr<Schema.String>;
|
|
9533
|
+
}>>;
|
|
9534
|
+
}>;
|
|
9535
|
+
}>, Schema.Struct<{
|
|
9536
|
+
readonly type: Schema.Literal<"cost.event_recorded">;
|
|
9537
|
+
readonly sequence: Schema.Number;
|
|
9538
|
+
readonly timestamp: Schema.String;
|
|
9539
|
+
readonly payload: Schema.Struct<{
|
|
9540
|
+
readonly agentId: Schema.String;
|
|
9541
|
+
readonly issueId: Schema.String;
|
|
9542
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9543
|
+
readonly cost: Schema.Number;
|
|
9544
|
+
readonly inputTokens: Schema.Number;
|
|
9545
|
+
readonly outputTokens: Schema.Number;
|
|
9546
|
+
}>;
|
|
9547
|
+
}>, Schema.Struct<{
|
|
9548
|
+
readonly type: Schema.Literal<"workspace.created">;
|
|
9549
|
+
readonly sequence: Schema.Number;
|
|
9550
|
+
readonly timestamp: Schema.String;
|
|
9551
|
+
readonly payload: Schema.Struct<{
|
|
9552
|
+
readonly issueId: Schema.String;
|
|
9553
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9554
|
+
readonly workspacePath: Schema.String;
|
|
9555
|
+
}>;
|
|
9556
|
+
}>, Schema.Struct<{
|
|
9557
|
+
readonly type: Schema.Literal<"workspace.wipe_started">;
|
|
9558
|
+
readonly sequence: Schema.Number;
|
|
9559
|
+
readonly timestamp: Schema.String;
|
|
9560
|
+
readonly payload: Schema.Struct<{
|
|
9561
|
+
readonly issueId: Schema.String;
|
|
9562
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9563
|
+
}>;
|
|
9564
|
+
}>, Schema.Struct<{
|
|
9565
|
+
readonly type: Schema.Literal<"workspace.destroyed">;
|
|
9566
|
+
readonly sequence: Schema.Number;
|
|
9567
|
+
readonly timestamp: Schema.String;
|
|
9568
|
+
readonly payload: Schema.Struct<{
|
|
9569
|
+
readonly issueId: Schema.String;
|
|
9570
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9571
|
+
}>;
|
|
9572
|
+
}>, Schema.Struct<{
|
|
9573
|
+
readonly type: Schema.Literal<"workspace.deleted">;
|
|
9574
|
+
readonly sequence: Schema.Number;
|
|
9575
|
+
readonly timestamp: Schema.String;
|
|
9576
|
+
readonly payload: Schema.Struct<{
|
|
9577
|
+
readonly issueId: Schema.String;
|
|
9578
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9579
|
+
}>;
|
|
9580
|
+
}>, Schema.Struct<{
|
|
9581
|
+
readonly type: Schema.Literal<"workspace.aborted">;
|
|
9582
|
+
readonly sequence: Schema.Number;
|
|
9583
|
+
readonly timestamp: Schema.String;
|
|
9584
|
+
readonly payload: Schema.Struct<{
|
|
9585
|
+
readonly issueId: Schema.String;
|
|
9586
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9587
|
+
readonly sessionName: Schema.optional<Schema.String>;
|
|
9588
|
+
}>;
|
|
9589
|
+
}>, Schema.Struct<{
|
|
9590
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_started">;
|
|
9591
|
+
readonly sequence: Schema.Number;
|
|
9592
|
+
readonly timestamp: Schema.String;
|
|
9593
|
+
readonly payload: Schema.Struct<{
|
|
9594
|
+
readonly reason: Schema.String;
|
|
9595
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9596
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9597
|
+
readonly trigger: Schema.String;
|
|
9598
|
+
}>;
|
|
9599
|
+
}>, Schema.Struct<{
|
|
9600
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_completed">;
|
|
9601
|
+
readonly sequence: Schema.Number;
|
|
9602
|
+
readonly timestamp: Schema.String;
|
|
9603
|
+
readonly payload: Schema.Struct<{
|
|
9604
|
+
readonly reason: Schema.String;
|
|
9605
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9606
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9607
|
+
readonly durationMs: Schema.Number;
|
|
9608
|
+
}>;
|
|
9609
|
+
}>, Schema.Struct<{
|
|
9610
|
+
readonly type: Schema.Literal<"dashboard.lifecycle_failed">;
|
|
9611
|
+
readonly sequence: Schema.Number;
|
|
9612
|
+
readonly timestamp: Schema.String;
|
|
9613
|
+
readonly payload: Schema.Struct<{
|
|
9614
|
+
readonly reason: Schema.String;
|
|
9615
|
+
readonly issueId: Schema.optional<Schema.String>;
|
|
9616
|
+
readonly workspaceId: Schema.optional<Schema.String>;
|
|
9617
|
+
readonly error: Schema.String;
|
|
9618
|
+
}>;
|
|
9619
|
+
}>, Schema.Struct<{
|
|
9620
|
+
readonly type: Schema.Literal<"conversation.compacting_changed">;
|
|
9621
|
+
readonly sequence: Schema.Number;
|
|
9622
|
+
readonly timestamp: Schema.String;
|
|
9623
|
+
readonly payload: Schema.Struct<{
|
|
9624
|
+
readonly conversationName: Schema.String;
|
|
9625
|
+
readonly compacting: Schema.Boolean;
|
|
9626
|
+
}>;
|
|
9627
|
+
}>, Schema.Struct<{
|
|
9628
|
+
readonly type: Schema.Literal<"conversation.created">;
|
|
9629
|
+
readonly sequence: Schema.Number;
|
|
9630
|
+
readonly timestamp: Schema.String;
|
|
9631
|
+
readonly payload: Schema.Struct<{
|
|
9632
|
+
readonly conversationName: Schema.String;
|
|
9633
|
+
}>;
|
|
9634
|
+
}>, Schema.Struct<{
|
|
9635
|
+
readonly type: Schema.Literal<"conversation.moved">;
|
|
9636
|
+
readonly sequence: Schema.Number;
|
|
9637
|
+
readonly timestamp: Schema.String;
|
|
9638
|
+
readonly payload: Schema.Struct<{
|
|
9639
|
+
readonly conversationName: Schema.String;
|
|
9640
|
+
readonly projectKey: Schema.String;
|
|
9641
|
+
}>;
|
|
9642
|
+
}>, Schema.Struct<{
|
|
9643
|
+
readonly type: Schema.Literal<"conversation.title_changed">;
|
|
9644
|
+
readonly sequence: Schema.Number;
|
|
9645
|
+
readonly timestamp: Schema.String;
|
|
9646
|
+
readonly payload: Schema.Struct<{
|
|
9647
|
+
readonly conversationName: Schema.String;
|
|
9648
|
+
readonly title: Schema.String;
|
|
9649
|
+
readonly titleSource: Schema.String;
|
|
9650
|
+
}>;
|
|
9651
|
+
}>, Schema.Struct<{
|
|
9652
|
+
readonly type: Schema.Literal<"conversation.pull_requests_changed">;
|
|
9653
|
+
readonly sequence: Schema.Number;
|
|
9654
|
+
readonly timestamp: Schema.String;
|
|
9655
|
+
readonly payload: Schema.Struct<{
|
|
9656
|
+
readonly conversationName: Schema.String;
|
|
9657
|
+
readonly effective: Schema.NullOr<Schema.Struct<{
|
|
9658
|
+
readonly url: Schema.String;
|
|
9659
|
+
readonly source: Schema.Literals<readonly ["manual", "agent", "created", "branch"]>;
|
|
9660
|
+
readonly linkedAt: Schema.String;
|
|
9661
|
+
readonly dismissedAt: Schema.NullOr<Schema.String>;
|
|
9662
|
+
readonly snapshot: Schema.NullOr<Schema.Struct<{
|
|
9663
|
+
readonly state: Schema.Literals<readonly ["open", "merged", "closed"]>;
|
|
9664
|
+
readonly isDraft: Schema.Boolean;
|
|
9665
|
+
readonly title: Schema.String;
|
|
9666
|
+
readonly headBranch: Schema.NullOr<Schema.String>;
|
|
9667
|
+
readonly baseBranch: Schema.NullOr<Schema.String>;
|
|
9668
|
+
readonly reviewState: Schema.Literals<readonly ["approved", "changes-requested", "review-requested", "commented", "none"]>;
|
|
9669
|
+
readonly checks: Schema.Literals<readonly ["green", "red", "pending"]>;
|
|
9670
|
+
readonly mergeable: Schema.NullOr<Schema.Boolean>;
|
|
9671
|
+
readonly additions: Schema.NullOr<Schema.Number>;
|
|
9672
|
+
readonly deletions: Schema.NullOr<Schema.Number>;
|
|
9673
|
+
readonly changedFiles: Schema.NullOr<Schema.Number>;
|
|
9674
|
+
readonly author: Schema.NullOr<Schema.String>;
|
|
9675
|
+
readonly updatedAt: Schema.NullOr<Schema.String>;
|
|
9676
|
+
readonly mergedAt: Schema.NullOr<Schema.String>;
|
|
9677
|
+
readonly closedAt: Schema.NullOr<Schema.String>;
|
|
9678
|
+
readonly syncedAt: Schema.String;
|
|
9679
|
+
}>>;
|
|
9680
|
+
readonly host: Schema.String;
|
|
9681
|
+
readonly repository: Schema.String;
|
|
9682
|
+
readonly number: Schema.Number;
|
|
8119
9683
|
}>>;
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
readonly
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
}>>>;
|
|
8136
|
-
readonly scanProgress: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
8137
|
-
readonly active: Schema.Boolean;
|
|
9684
|
+
}>;
|
|
9685
|
+
}>, Schema.Struct<{
|
|
9686
|
+
readonly type: Schema.Literal<"conversation.permission_changed">;
|
|
9687
|
+
readonly sequence: Schema.Number;
|
|
9688
|
+
readonly timestamp: Schema.String;
|
|
9689
|
+
readonly payload: Schema.Struct<{
|
|
9690
|
+
readonly conversationName: Schema.String;
|
|
9691
|
+
readonly waiting: Schema.Boolean;
|
|
9692
|
+
readonly toolName: Schema.optional<Schema.String>;
|
|
9693
|
+
}>;
|
|
9694
|
+
}>, Schema.Struct<{
|
|
9695
|
+
readonly type: Schema.Literal<"scan.started">;
|
|
9696
|
+
readonly sequence: Schema.Number;
|
|
9697
|
+
readonly timestamp: Schema.String;
|
|
9698
|
+
readonly payload: Schema.Struct<{
|
|
8138
9699
|
readonly mode: Schema.Literals<readonly ["targeted", "watched", "system"]>;
|
|
8139
9700
|
readonly dirs: Schema.$Array<Schema.String>;
|
|
9701
|
+
}>;
|
|
9702
|
+
}>, Schema.Struct<{
|
|
9703
|
+
readonly type: Schema.Literal<"scan.progress">;
|
|
9704
|
+
readonly sequence: Schema.Number;
|
|
9705
|
+
readonly timestamp: Schema.String;
|
|
9706
|
+
readonly payload: Schema.Struct<{
|
|
8140
9707
|
readonly dirsProcessed: Schema.Number;
|
|
8141
9708
|
readonly dirsTotal: Schema.Number;
|
|
8142
9709
|
readonly sessionsFound: Schema.Number;
|
|
8143
9710
|
readonly elapsedMs: Schema.Number;
|
|
9711
|
+
}>;
|
|
9712
|
+
}>, Schema.Struct<{
|
|
9713
|
+
readonly type: Schema.Literal<"scan.complete">;
|
|
9714
|
+
readonly sequence: Schema.Number;
|
|
9715
|
+
readonly timestamp: Schema.String;
|
|
9716
|
+
readonly payload: Schema.Struct<{
|
|
8144
9717
|
readonly inserted: Schema.Number;
|
|
8145
9718
|
readonly updated: Schema.Number;
|
|
8146
9719
|
readonly skipped: Schema.Number;
|
|
8147
9720
|
readonly errors: Schema.Number;
|
|
8148
9721
|
readonly durationMs: Schema.Number;
|
|
8149
|
-
}
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
}>>>;
|
|
8156
|
-
readonly enrichProgressBySessionId: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
9722
|
+
}>;
|
|
9723
|
+
}>, Schema.Struct<{
|
|
9724
|
+
readonly type: Schema.Literal<"enrich.progress">;
|
|
9725
|
+
readonly sequence: Schema.Number;
|
|
9726
|
+
readonly timestamp: Schema.String;
|
|
9727
|
+
readonly payload: Schema.Struct<{
|
|
8157
9728
|
readonly sessionId: Schema.Number;
|
|
8158
9729
|
readonly level: Schema.Number;
|
|
8159
9730
|
readonly model: Schema.String;
|
|
8160
9731
|
readonly cost: Schema.Number;
|
|
8161
9732
|
readonly success: Schema.Boolean;
|
|
8162
9733
|
readonly error: Schema.optional<Schema.String>;
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
readonly
|
|
9734
|
+
}>;
|
|
9735
|
+
}>, Schema.Struct<{
|
|
9736
|
+
readonly type: Schema.Literal<"enrich.complete">;
|
|
9737
|
+
readonly sequence: Schema.Number;
|
|
9738
|
+
readonly timestamp: Schema.String;
|
|
9739
|
+
readonly payload: Schema.Struct<{
|
|
9740
|
+
readonly processed: Schema.Number;
|
|
9741
|
+
readonly totalCost: Schema.Number;
|
|
9742
|
+
readonly failures: Schema.Number;
|
|
9743
|
+
readonly durationMs: Schema.Number;
|
|
9744
|
+
}>;
|
|
9745
|
+
}>, Schema.Struct<{
|
|
9746
|
+
readonly type: Schema.Literal<"embed.progress">;
|
|
9747
|
+
readonly sequence: Schema.Number;
|
|
9748
|
+
readonly timestamp: Schema.String;
|
|
9749
|
+
readonly payload: Schema.Struct<{
|
|
8166
9750
|
readonly sessionId: Schema.Number;
|
|
8167
9751
|
readonly model: Schema.String;
|
|
8168
9752
|
readonly success: Schema.Boolean;
|
|
8169
9753
|
readonly error: Schema.optional<Schema.String>;
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
readonly
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
readonly
|
|
8177
|
-
readonly
|
|
8178
|
-
|
|
8179
|
-
readonly
|
|
8180
|
-
readonly
|
|
8181
|
-
readonly
|
|
8182
|
-
}>>;
|
|
8183
|
-
readonly updatedAt: Schema.String;
|
|
8184
|
-
}>>>;
|
|
8185
|
-
readonly restartGate: Schema.optional<Schema.Struct<{
|
|
8186
|
-
readonly status: Schema.Literals<readonly ["idle", "pending", "approved", "claimed"]>;
|
|
8187
|
-
readonly pending: Schema.$Array<Schema.Struct<{
|
|
8188
|
-
readonly requesterId: Schema.String;
|
|
8189
|
-
readonly kind: Schema.Literals<readonly ["deploy", "reload", "restart"]>;
|
|
8190
|
-
readonly reason: Schema.String;
|
|
8191
|
-
readonly builtSha: Schema.optional<Schema.String>;
|
|
8192
|
-
readonly requestedAt: Schema.String;
|
|
8193
|
-
}>>;
|
|
8194
|
-
readonly lastOutcome: Schema.optional<Schema.Struct<{
|
|
8195
|
-
readonly type: Schema.Literals<readonly ["pruned-unclaimed"]>;
|
|
8196
|
-
readonly at: Schema.String;
|
|
8197
|
-
}>>;
|
|
8198
|
-
}>>;
|
|
8199
|
-
readonly githubQuota: Schema.optional<Schema.Struct<{
|
|
8200
|
-
readonly generatedAt: Schema.String;
|
|
8201
|
-
readonly login: Schema.NullOr<Schema.String>;
|
|
8202
|
-
readonly callers: Schema.$Array<Schema.Struct<{
|
|
8203
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8204
|
-
readonly graphql: Schema.Struct<{
|
|
8205
|
-
readonly points: Schema.Number;
|
|
8206
|
-
readonly calls: Schema.Number;
|
|
8207
|
-
}>;
|
|
8208
|
-
readonly rest: Schema.Struct<{
|
|
8209
|
-
readonly points: Schema.Number;
|
|
8210
|
-
readonly calls: Schema.Number;
|
|
8211
|
-
}>;
|
|
8212
|
-
readonly estimated: Schema.Boolean;
|
|
8213
|
-
}>>;
|
|
8214
|
-
readonly samples: Schema.$Array<Schema.Struct<{
|
|
8215
|
-
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8216
|
-
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8217
|
-
readonly ts: Schema.String;
|
|
8218
|
-
readonly remaining: Schema.Number;
|
|
8219
|
-
readonly limit: Schema.Number;
|
|
8220
|
-
readonly resetAt: Schema.optional<Schema.String>;
|
|
8221
|
-
}>>;
|
|
8222
|
-
readonly pauses: Schema.$Array<Schema.Struct<{
|
|
8223
|
-
readonly pool: Schema.Literals<readonly ["user", "pat", "app"]>;
|
|
8224
|
-
readonly bucket: Schema.Literals<readonly ["graphql", "rest"]>;
|
|
8225
|
-
readonly kind: Schema.Literals<readonly ["primary", "secondary"]>;
|
|
8226
|
-
readonly caller: Schema.Literals<readonly ["pipeline-membership", "pr-cache", "pr-sync", "ci-repair", "issue-poller", "close-out", "tracker-client", "app-rest", "quota-sampler", "agent", "other"]>;
|
|
8227
|
-
readonly since: Schema.String;
|
|
8228
|
-
readonly until: Schema.String;
|
|
9754
|
+
}>;
|
|
9755
|
+
}>, Schema.Struct<{
|
|
9756
|
+
readonly type: Schema.Literal<"sweep.scan">;
|
|
9757
|
+
readonly sequence: Schema.Number;
|
|
9758
|
+
readonly timestamp: Schema.String;
|
|
9759
|
+
readonly payload: Schema.Struct<{
|
|
9760
|
+
readonly issueCount: Schema.Number;
|
|
9761
|
+
readonly rowCount: Schema.Number;
|
|
9762
|
+
readonly rows: Schema.$Array<Schema.Struct<{
|
|
9763
|
+
readonly issueId: Schema.String;
|
|
9764
|
+
readonly orbit: Schema.String;
|
|
9765
|
+
readonly parkedAt: Schema.String;
|
|
8229
9766
|
}>>;
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
readonly secondary: Schema.Number;
|
|
8235
|
-
}>;
|
|
8236
|
-
}>>;
|
|
8237
|
-
readonly deployByProjectKey: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
|
|
8238
|
-
readonly projectKey: Schema.String;
|
|
8239
|
-
readonly trigger: Schema.String;
|
|
8240
|
-
readonly phase: Schema.Literals<readonly ["building", "awaiting-approval", "restarting", "failed"]>;
|
|
8241
|
-
readonly pid: Schema.optional<Schema.Number>;
|
|
8242
|
-
readonly startedAt: Schema.String;
|
|
8243
|
-
readonly error: Schema.optional<Schema.String>;
|
|
8244
|
-
readonly logPath: Schema.optional<Schema.String>;
|
|
8245
|
-
readonly logTail: Schema.optional<Schema.$Array<Schema.String>>;
|
|
8246
|
-
}>>>;
|
|
9767
|
+
}>;
|
|
9768
|
+
}>, Schema.Struct<{
|
|
9769
|
+
readonly type: Schema.Literal<"sweep.escalated">;
|
|
9770
|
+
readonly sequence: Schema.Number;
|
|
8247
9771
|
readonly timestamp: Schema.String;
|
|
8248
|
-
|
|
9772
|
+
readonly payload: Schema.Struct<{
|
|
9773
|
+
readonly issueId: Schema.String;
|
|
9774
|
+
readonly orbit: Schema.String;
|
|
9775
|
+
readonly reason: Schema.String;
|
|
9776
|
+
}>;
|
|
9777
|
+
}>, Schema.Struct<{
|
|
9778
|
+
readonly type: Schema.Literal<"sweep.recommendation">;
|
|
9779
|
+
readonly sequence: Schema.Number;
|
|
9780
|
+
readonly timestamp: Schema.String;
|
|
9781
|
+
readonly payload: Schema.Struct<{
|
|
9782
|
+
readonly issueId: Schema.String;
|
|
9783
|
+
readonly orbit: Schema.String;
|
|
9784
|
+
readonly recommendation: Schema.String;
|
|
9785
|
+
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
9786
|
+
readonly agentId: Schema.optional<Schema.String>;
|
|
9787
|
+
}>;
|
|
9788
|
+
}>]>>, Schema.Struct<{
|
|
9789
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
9790
|
+
}>]>;
|
|
9791
|
+
type ReplayEventsResult = typeof ReplayEventsResult.Type;
|
|
8249
9792
|
/** 5. Replay events since a given sequence number (unary) */
|
|
8250
9793
|
declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
8251
9794
|
readonly fromSequence: Schema.Number;
|
|
8252
|
-
}>, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
9795
|
+
}>, Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
8253
9796
|
readonly type: Schema.Literal<"system.heartbeat">;
|
|
8254
9797
|
readonly timestamp: Schema.String;
|
|
8255
9798
|
readonly payload: Schema.Struct<{
|
|
@@ -8444,7 +9987,6 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8444
9987
|
readonly needsAnswer: Schema.Boolean;
|
|
8445
9988
|
readonly model: Schema.String;
|
|
8446
9989
|
}>>;
|
|
8447
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8448
9990
|
}>;
|
|
8449
9991
|
}>;
|
|
8450
9992
|
}>, Schema.Struct<{
|
|
@@ -8560,7 +10102,6 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
8560
10102
|
readonly needsAnswer: Schema.Boolean;
|
|
8561
10103
|
readonly model: Schema.String;
|
|
8562
10104
|
}>>;
|
|
8563
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
8564
10105
|
}>;
|
|
8565
10106
|
}>;
|
|
8566
10107
|
}>, Schema.Struct<{
|
|
@@ -9762,7 +11303,9 @@ declare const ReplayEventsRpc: Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
|
9762
11303
|
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
9763
11304
|
readonly agentId: Schema.optional<Schema.String>;
|
|
9764
11305
|
}>;
|
|
9765
|
-
}>]>>,
|
|
11306
|
+
}>]>>, Schema.Struct<{
|
|
11307
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
11308
|
+
}>]>, typeof PanRpcError, never, never>;
|
|
9766
11309
|
/** 6. Open a terminal session / attach PTY (unary) */
|
|
9767
11310
|
declare const TerminalOpenRpc: Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
9768
11311
|
readonly sessionName: Schema.String;
|
|
@@ -9931,7 +11474,12 @@ declare const ResizeTerminalRpc: Rpc.Rpc<"pan.resizeTerminal", Schema.Struct<{
|
|
|
9931
11474
|
/** 16. Subscribe to structured conversation messages from a JSONL session file (stream, PAN-451) */
|
|
9932
11475
|
declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversationMessages", Schema.Struct<{
|
|
9933
11476
|
readonly conversationName: Schema.String;
|
|
9934
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
11477
|
+
readonly agentId: Schema.optional<Schema.String>; /** PAN-4558: what the client already holds; the server sends only newer or newly settled rows. */
|
|
11478
|
+
readonly resume: Schema.optional<Schema.Struct<{
|
|
11479
|
+
readonly afterSequence: Schema.Number;
|
|
11480
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
11481
|
+
readonly transcript: Schema.String;
|
|
11482
|
+
}>>;
|
|
9935
11483
|
}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
|
|
9936
11484
|
readonly kind: Schema.Literal<"messages">;
|
|
9937
11485
|
readonly messages: Schema.$Array<Schema.Struct<{
|
|
@@ -9955,7 +11503,9 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9955
11503
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
9956
11504
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
9957
11505
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
9958
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
11506
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
11507
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
11508
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
9959
11509
|
}>>;
|
|
9960
11510
|
readonly streaming: Schema.Boolean;
|
|
9961
11511
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -9994,7 +11544,12 @@ declare const SubscribeConversationMessagesRpc: Rpc.Rpc<"pan.subscribeConversati
|
|
|
9994
11544
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
9995
11545
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
9996
11546
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
9997
|
-
}>>>;
|
|
11547
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
11548
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
11549
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
11550
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
11551
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
11552
|
+
}>>;
|
|
9998
11553
|
}>, Schema.Struct<{
|
|
9999
11554
|
readonly kind: Schema.Literal<"discovering">;
|
|
10000
11555
|
}>, Schema.Struct<{
|
|
@@ -10662,7 +12217,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10662
12217
|
readonly needsAnswer: Schema.Boolean;
|
|
10663
12218
|
readonly model: Schema.String;
|
|
10664
12219
|
}>>;
|
|
10665
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10666
12220
|
}>;
|
|
10667
12221
|
}>;
|
|
10668
12222
|
}>, Schema.Struct<{
|
|
@@ -10778,7 +12332,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
10778
12332
|
readonly needsAnswer: Schema.Boolean;
|
|
10779
12333
|
readonly model: Schema.String;
|
|
10780
12334
|
}>>;
|
|
10781
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
10782
12335
|
}>;
|
|
10783
12336
|
}>;
|
|
10784
12337
|
}>, Schema.Struct<{
|
|
@@ -12177,7 +13730,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12177
13730
|
readonly needsAnswer: Schema.Boolean;
|
|
12178
13731
|
readonly model: Schema.String;
|
|
12179
13732
|
}>>;
|
|
12180
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
12181
13733
|
}>;
|
|
12182
13734
|
}>;
|
|
12183
13735
|
}>, Schema.Struct<{
|
|
@@ -12293,7 +13845,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
12293
13845
|
readonly needsAnswer: Schema.Boolean;
|
|
12294
13846
|
readonly model: Schema.String;
|
|
12295
13847
|
}>>;
|
|
12296
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
12297
13848
|
}>;
|
|
12298
13849
|
}>;
|
|
12299
13850
|
}>, Schema.Struct<{
|
|
@@ -13572,7 +15123,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13572
15123
|
readonly needsAnswer: Schema.Boolean;
|
|
13573
15124
|
readonly model: Schema.String;
|
|
13574
15125
|
}>>;
|
|
13575
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13576
15126
|
}>>;
|
|
13577
15127
|
readonly specialists: Schema.$Array<Schema.Unknown>;
|
|
13578
15128
|
readonly derivedIssueStates: Schema.$Array<Schema.Struct<{
|
|
@@ -13777,7 +15327,7 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13777
15327
|
readonly timestamp: Schema.String;
|
|
13778
15328
|
}>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.replayEvents", Schema.Struct<{
|
|
13779
15329
|
readonly fromSequence: Schema.Number;
|
|
13780
|
-
}>, Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
15330
|
+
}>, Schema.Union<readonly [Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
13781
15331
|
readonly type: Schema.Literal<"system.heartbeat">;
|
|
13782
15332
|
readonly timestamp: Schema.String;
|
|
13783
15333
|
readonly payload: Schema.Struct<{
|
|
@@ -13972,7 +15522,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
13972
15522
|
readonly needsAnswer: Schema.Boolean;
|
|
13973
15523
|
readonly model: Schema.String;
|
|
13974
15524
|
}>>;
|
|
13975
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
13976
15525
|
}>;
|
|
13977
15526
|
}>;
|
|
13978
15527
|
}>, Schema.Struct<{
|
|
@@ -14088,7 +15637,6 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
14088
15637
|
readonly needsAnswer: Schema.Boolean;
|
|
14089
15638
|
readonly model: Schema.String;
|
|
14090
15639
|
}>>;
|
|
14091
|
-
readonly runtimeSnapshotSequence: Schema.optional<Schema.Number>;
|
|
14092
15640
|
}>;
|
|
14093
15641
|
}>;
|
|
14094
15642
|
}>, Schema.Struct<{
|
|
@@ -15290,7 +16838,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15290
16838
|
readonly recurring: Schema.optional<Schema.Boolean>;
|
|
15291
16839
|
readonly agentId: Schema.optional<Schema.String>;
|
|
15292
16840
|
}>;
|
|
15293
|
-
}>]>>,
|
|
16841
|
+
}>]>>, Schema.Struct<{
|
|
16842
|
+
readonly tooFarBehind: Schema.Literal<true>;
|
|
16843
|
+
}>]>, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.terminalOpen", Schema.Struct<{
|
|
15294
16844
|
readonly sessionName: Schema.String;
|
|
15295
16845
|
readonly cols: Schema.Number;
|
|
15296
16846
|
readonly rows: Schema.Number;
|
|
@@ -15358,7 +16908,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15358
16908
|
readonly rows: Schema.Number;
|
|
15359
16909
|
}>, Schema.Void, typeof PanRpcError, never, never> | Rpc.Rpc<"pan.subscribeConversationMessages", Schema.Struct<{
|
|
15360
16910
|
readonly conversationName: Schema.String;
|
|
15361
|
-
readonly agentId: Schema.optional<Schema.String>;
|
|
16911
|
+
readonly agentId: Schema.optional<Schema.String>; /** PAN-4558: what the client already holds; the server sends only newer or newly settled rows. */
|
|
16912
|
+
readonly resume: Schema.optional<Schema.Struct<{
|
|
16913
|
+
readonly afterSequence: Schema.Number;
|
|
16914
|
+
readonly openIds: Schema.$Array<Schema.String>;
|
|
16915
|
+
readonly transcript: Schema.String;
|
|
16916
|
+
}>>;
|
|
15362
16917
|
}>, _$effect_unstable_rpc_RpcSchema0.Stream<Schema.Union<readonly [Schema.Struct<{
|
|
15363
16918
|
readonly kind: Schema.Literal<"messages">;
|
|
15364
16919
|
readonly messages: Schema.$Array<Schema.Struct<{
|
|
@@ -15382,7 +16937,9 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15382
16937
|
readonly tone: Schema.Literals<readonly ["thinking", "tool", "info", "error"]>;
|
|
15383
16938
|
readonly toolTitle: Schema.optional<Schema.String>; /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
|
|
15384
16939
|
readonly toolInput: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
15385
|
-
readonly sequence: Schema.optional<Schema.Number>;
|
|
16940
|
+
readonly sequence: Schema.optional<Schema.Number>; /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
|
|
16941
|
+
readonly resultBytes: Schema.optional<Schema.Number>; /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
|
|
16942
|
+
readonly bodyOmitted: Schema.optional<Schema.Boolean>;
|
|
15386
16943
|
}>>;
|
|
15387
16944
|
readonly streaming: Schema.Boolean;
|
|
15388
16945
|
readonly snapshot: Schema.optional<Schema.Boolean>; /** Confirmed transcript replacement/truncation; replace even a shorter cached history. */
|
|
@@ -15421,7 +16978,12 @@ declare const PanRpcGroup: RpcGroup.RpcGroup<Rpc.Rpc<"pan.subscribeDomainEvents"
|
|
|
15421
16978
|
readonly lastModel: Schema.optional<Schema.NullOr<Schema.String>>; /** PAN-4255: effort observed in the transcript (assistant `effort` or an /effort confirmation). Claude Code only. */
|
|
15422
16979
|
readonly lastEffort: Schema.optional<Schema.NullOr<Schema.String>>; /** ISO timestamp of the most recent assistant turn. */
|
|
15423
16980
|
readonly lastTurnAt: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
15424
|
-
}>>>;
|
|
16981
|
+
}>>>; /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
|
|
16982
|
+
readonly window: Schema.optional<Schema.Struct<{
|
|
16983
|
+
/** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */readonly cursor: Schema.NullOr<Schema.String>;
|
|
16984
|
+
readonly hasOlder: Schema.Boolean; /** `"<dev>:<ino>"` of the transcript file the window was read from. */
|
|
16985
|
+
readonly transcript: Schema.optional<Schema.String>;
|
|
16986
|
+
}>>;
|
|
15425
16987
|
}>, Schema.Struct<{
|
|
15426
16988
|
readonly kind: Schema.Literal<"discovering">;
|
|
15427
16989
|
}>, Schema.Struct<{
|
|
@@ -17008,7 +18570,7 @@ declare const decodeFlywheelDerivedStatus: (input: unknown, options?: _$effect_S
|
|
|
17008
18570
|
readonly lastTick: {
|
|
17009
18571
|
readonly tick: number;
|
|
17010
18572
|
readonly pick: string | null;
|
|
17011
|
-
readonly phase: "idle" | "
|
|
18573
|
+
readonly phase: "idle" | "orient" | "pick" | "launch" | "watch" | "park" | "stopping";
|
|
17012
18574
|
readonly inFlight: readonly string[];
|
|
17013
18575
|
readonly needsYou: string | null;
|
|
17014
18576
|
readonly at: string;
|
|
@@ -17892,6 +19454,58 @@ interface FeatureRegistryOwnershipUpdate {
|
|
|
17892
19454
|
now?: string;
|
|
17893
19455
|
}
|
|
17894
19456
|
//#endregion
|
|
19457
|
+
//#region src/harness-capabilities.d.ts
|
|
19458
|
+
/** How the launcher delivers Overdeck's context layer to the harness (recorded in the context receipt). */
|
|
19459
|
+
type HarnessContextChannel = "append-system-prompt-file" | "append-system-prompt" | "developer_instructions" | "initial-message-envelope" | "acp-initial-context" | "prime-agent-append-system-prompt";
|
|
19460
|
+
type HarnessAttachmentDelivery = "native" | "inline-paths";
|
|
19461
|
+
type HarnessBinaryConfigKey = "acp.kimi.binaryPath" | "kimiCode.binaryPath";
|
|
19462
|
+
type HarnessLaunchPreflight = "claude-code-model-minimum";
|
|
19463
|
+
/** claude-project-hash = resolve via HashResolver; agent-dir = first-message cwd, else the agent dir; first-message-only = first-message cwd, else null. */
|
|
19464
|
+
type HarnessWorkspaceResolution = "claude-project-hash" | "agent-dir" | "first-message-only";
|
|
19465
|
+
interface HarnessCapabilities {
|
|
19466
|
+
/** Channel the launcher delivers the context layer through. */
|
|
19467
|
+
readonly contextChannel: HarnessContextChannel;
|
|
19468
|
+
/** A conversation start fails unless the initial prompt is confirmed delivered. */
|
|
19469
|
+
readonly initialPromptMustLand: boolean;
|
|
19470
|
+
/** A failed conversation start stops the runtime it launched. */
|
|
19471
|
+
readonly stopRuntimeOnStartFailure: boolean;
|
|
19472
|
+
/** A resume fails unless the resume contract message is confirmed delivered. */
|
|
19473
|
+
readonly resumeContractMustLand: boolean;
|
|
19474
|
+
/** Stopping a conversation also reaps the harness's private daemon. */
|
|
19475
|
+
readonly reapsPrivateDaemonOnStop: boolean;
|
|
19476
|
+
/** native = the harness takes attachments itself; inline-paths = attachment paths are inlined into the message. */
|
|
19477
|
+
readonly attachmentDelivery: HarnessAttachmentDelivery;
|
|
19478
|
+
/** The harness has a native manual /compact command. */
|
|
19479
|
+
readonly nativeManualCompact: boolean;
|
|
19480
|
+
/** Message sends check the pane for a pending input prompt before pasting. */
|
|
19481
|
+
readonly paneInputGuard: boolean;
|
|
19482
|
+
/** Message delivery is confirmed by reading the transcript for the sent turn. */
|
|
19483
|
+
readonly transcriptDeliveryReceipt: boolean;
|
|
19484
|
+
/** The launch host accepts an effort flag for the harness. */
|
|
19485
|
+
readonly hostEffortFlag: boolean;
|
|
19486
|
+
/** Human label used in binary-resolution messages. */
|
|
19487
|
+
readonly binaryLabel: string;
|
|
19488
|
+
/** Install command shown when the binary is missing, or null for none. */
|
|
19489
|
+
readonly installHint: string | null;
|
|
19490
|
+
/** Config key holding an operator-configured binary path, or null for none. */
|
|
19491
|
+
readonly binaryConfigKey: HarnessBinaryConfigKey | null;
|
|
19492
|
+
/** Preflight check run before a launch, or null for none. */
|
|
19493
|
+
readonly launchPreflight: HarnessLaunchPreflight | null;
|
|
19494
|
+
/** How the conversation scanner resolves a transcript's workspace. */
|
|
19495
|
+
readonly workspaceResolution: HarnessWorkspaceResolution;
|
|
19496
|
+
/** The conversation scanner correlates transcripts to agents by session id. */
|
|
19497
|
+
readonly correlatesBySessionId: boolean;
|
|
19498
|
+
}
|
|
19499
|
+
declare const HARNESS_CAPABILITY_KEYS: readonly ["contextChannel", "initialPromptMustLand", "stopRuntimeOnStartFailure", "resumeContractMustLand", "reapsPrivateDaemonOnStop", "attachmentDelivery", "nativeManualCompact", "paneInputGuard", "transcriptDeliveryReceipt", "hostEffortFlag", "binaryLabel", "installHint", "binaryConfigKey", "launchPreflight", "workspaceResolution", "correlatesBySessionId"];
|
|
19500
|
+
declare const CLAUDE_CODE_CAPABILITIES: HarnessCapabilities;
|
|
19501
|
+
declare const OHMYPI_CAPABILITIES: HarnessCapabilities;
|
|
19502
|
+
declare const CODEX_CAPABILITIES: HarnessCapabilities;
|
|
19503
|
+
declare const ACP_CAPABILITIES: HarnessCapabilities;
|
|
19504
|
+
declare const KIMI_CODE_CAPABILITIES: HarnessCapabilities;
|
|
19505
|
+
declare const OPENCODE_CAPABILITIES: HarnessCapabilities;
|
|
19506
|
+
declare const MUSE_CAPABILITIES: HarnessCapabilities;
|
|
19507
|
+
declare const PRIME_AGENT_CAPABILITIES: HarnessCapabilities;
|
|
19508
|
+
//#endregion
|
|
17895
19509
|
//#region src/harness-behavior.d.ts
|
|
17896
19510
|
type RuntimeName = Harness;
|
|
17897
19511
|
type HarnessName = RuntimeName | "pi";
|
|
@@ -17936,6 +19550,8 @@ interface HarnessBehavior {
|
|
|
17936
19550
|
readonly steerKind: HarnessSteerKind;
|
|
17937
19551
|
/** Effort levels this harness accepts, when narrower than the full {@link EFFORT_LEVELS} set. Undefined = no known restriction. */
|
|
17938
19552
|
readonly effortLevels?: readonly EffortLevel[];
|
|
19553
|
+
/** Declared behavior decisions consumers read instead of comparing harness names (PAN-4562). */
|
|
19554
|
+
readonly capabilities: HarnessCapabilities;
|
|
17939
19555
|
}
|
|
17940
19556
|
declare const CLAUDE_CODE_BEHAVIOR: HarnessBehavior;
|
|
17941
19557
|
declare const OHMYPI_BEHAVIOR: HarnessBehavior;
|
|
@@ -17945,6 +19561,10 @@ declare const KIMI_CODE_BEHAVIOR: HarnessBehavior;
|
|
|
17945
19561
|
declare const OPENCODE_BEHAVIOR: HarnessBehavior;
|
|
17946
19562
|
declare const MUSE_BEHAVIOR: HarnessBehavior;
|
|
17947
19563
|
declare const PRIME_AGENT_BEHAVIOR: HarnessBehavior;
|
|
19564
|
+
/** True for the legacy stored harness alias `pi` (PAN-1989), which now means ohmypi. */
|
|
19565
|
+
declare function isLegacyPiHarnessName(raw: unknown): boolean;
|
|
19566
|
+
/** Map a stored or requested harness string to a RuntimeName; legacy `pi` → `ohmypi`; anything else → null. */
|
|
19567
|
+
declare function normalizeHarnessName(raw: unknown): RuntimeName | null;
|
|
17948
19568
|
declare function getHarnessBehavior(harness: HarnessName | undefined | null): HarnessBehavior;
|
|
17949
19569
|
declare function getRuntimeBehavior(runtime: RuntimeName): HarnessBehavior;
|
|
17950
19570
|
//#endregion
|
|
@@ -18448,6 +20068,7 @@ declare const TELEMETRY_EVENT_CATALOG: {
|
|
|
18448
20068
|
readonly fork_mode: "fork_kind";
|
|
18449
20069
|
readonly fast_summary: "boolean";
|
|
18450
20070
|
readonly launch_harness: "harness";
|
|
20071
|
+
readonly fresh_start: "boolean";
|
|
18451
20072
|
};
|
|
18452
20073
|
readonly plan_approved: {
|
|
18453
20074
|
readonly subject_kind: "decision_subject";
|
|
@@ -19277,6 +20898,51 @@ interface LaneActivityInput {
|
|
|
19277
20898
|
/** D10, first match wins. */
|
|
19278
20899
|
declare function laneActivityOf(row: LaneActivityInput, now: number): LaneActivity;
|
|
19279
20900
|
//#endregion
|
|
20901
|
+
//#region src/conversation-window.d.ts
|
|
20902
|
+
/**
|
|
20903
|
+
* Conversation window contract shared by the dashboard server and the
|
|
20904
|
+
* frontend (PAN-4558). A cold open carries only the newest slice of a
|
|
20905
|
+
* transcript; older history is paged in by cursor. The constants bound every
|
|
20906
|
+
* open, and the timeline key gives entries one total order on both sides.
|
|
20907
|
+
*/
|
|
20908
|
+
/** Most timeline rows a window or page carries. */
|
|
20909
|
+
declare const CONVERSATION_WINDOW_MAX_ROWS = 75;
|
|
20910
|
+
/** Most encoded entry bytes a window carries (960 KiB, leaving 64 KiB for metadata). */
|
|
20911
|
+
declare const CONVERSATION_WINDOW_MAX_BYTES = 983040;
|
|
20912
|
+
/** Whole-payload ceiling for an initial HTTP body or first WS event. */
|
|
20913
|
+
declare const CONVERSATION_PAYLOAD_BUDGET_BYTES = 1048576;
|
|
20914
|
+
/** Default `limit` for a paged read. */
|
|
20915
|
+
declare const CONVERSATION_PAGE_DEFAULT_LIMIT = 75;
|
|
20916
|
+
/** Largest `limit` a paged read accepts; larger values clamp to it. */
|
|
20917
|
+
declare const CONVERSATION_PAGE_MAX_LIMIT = 200;
|
|
20918
|
+
/** A tool `result` (or `detail`/`toolInput` string) above this many UTF-8 bytes leaves the wire. */
|
|
20919
|
+
declare const TOOL_BODY_INLINE_MAX_BYTES = 4096;
|
|
20920
|
+
/** Characters kept from an oversized `detail`/`toolInput` string. */
|
|
20921
|
+
declare const TOOL_BODY_PREVIEW_CHARS = 512;
|
|
20922
|
+
/** Most open entry ids a resume may name. */
|
|
20923
|
+
declare const RESUME_OPEN_IDS_MAX = 200;
|
|
20924
|
+
/** Most open tool calls pinned into a window beyond its contiguous slice. */
|
|
20925
|
+
declare const WINDOW_PINNED_OPEN_TOOLS_MAX = 10;
|
|
20926
|
+
/** `[createdAt, sequence ?? 0, kindRank, id]`; kindRank is 0 for a message, 1 for a work entry. */
|
|
20927
|
+
type TimelineKey = readonly [createdAt: string, sequence: number, kindRank: 0 | 1, id: string];
|
|
20928
|
+
interface TimelineEntryLike {
|
|
20929
|
+
createdAt: string;
|
|
20930
|
+
sequence?: number;
|
|
20931
|
+
id: string;
|
|
20932
|
+
}
|
|
20933
|
+
declare function timelineKeyOfMessage(m: TimelineEntryLike): TimelineKey;
|
|
20934
|
+
declare function timelineKeyOfWork(e: TimelineEntryLike): TimelineKey;
|
|
20935
|
+
/** Total order: createdAt (string compare), then sequence, then message before work, then id. */
|
|
20936
|
+
declare function compareTimelineKeys(a: TimelineKey, b: TimelineKey): number;
|
|
20937
|
+
declare function encodeTimelineCursor(key: TimelineKey): string;
|
|
20938
|
+
/** Returns null for anything that is not an encoded 4-tuple of string, finite number, 0|1, string. */
|
|
20939
|
+
declare function decodeTimelineCursor(cursor: string): TimelineKey | null;
|
|
20940
|
+
/** A tool entry has a result when it carries one inline or the wire projection elided it. */
|
|
20941
|
+
declare function hasToolResult(e: {
|
|
20942
|
+
result?: string;
|
|
20943
|
+
resultBytes?: number;
|
|
20944
|
+
}): boolean;
|
|
20945
|
+
//#endregion
|
|
19280
20946
|
//#region src/environment.d.ts
|
|
19281
20947
|
/** Wire protocol version a client and server must agree on. */
|
|
19282
20948
|
declare const ENVIRONMENT_PROTOCOL_VERSION = 1;
|
|
@@ -19463,5 +21129,5 @@ type ServiceToViewerFrame = {
|
|
|
19463
21129
|
/** WebSocket close codes the share service uses. */
|
|
19464
21130
|
type ShareCloseCode = 1000 | 4001 | 4003 | 4004 | 4008 | 4009 | 4010 | 4011 | 4013;
|
|
19465
21131
|
//#endregion
|
|
19466
|
-
export { ACP_BEHAVIOR, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CODEX_BEHAVIOR, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, CreateRoomRequest, CreateRoomResponse, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, Harness, HarnessBehavior, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OPENCODE_BEHAVIOR, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RuntimeName, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareErrorCode, ShareIdentity, ShareProtocolVersion, ShareScope, ShellOpenInEditorRpc, SignalData, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, deriveProjectCi, encodeFlywheelStats, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
21132
|
+
export { ACP_BEHAVIOR, ACP_CAPABILITIES, AGENT_ROLES, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AgentActivityChangedEvent, AgentChannelReply, AgentChannelReplyEvent, AgentCompletedEvent, AgentContextSaturationChangedEvent, AgentCreatedEvent, AgentCurrentIssueSetEvent, AgentDirectoryResponse, AgentEnrichmentChangedEvent, AgentHealthKind, AgentHealthSnapshot, AgentHealthStatus, AgentHeartbeatDeadEvent, AgentHookFiredEvent, AgentId, AgentMessageReceivedEvent, AgentModelSetEvent, AgentOutput, AgentOutputReceivedEvent, AgentPermissionRequestedEvent, AgentPermissionResolvedEvent, AgentQuestionAnsweredProperties, AgentResolution, AgentResolutionChangedEvent, AgentRole, AgentRuntimeSnapshot, AgentSnapshot, AgentSpawnedProperties, AgentStartedEvent, AgentState, AgentStateRestoredEvent, AgentStatus, AgentStatusChangedEvent, AgentStoppedEvent, AgentThinkingStartedEvent, AgentThinkingStoppedEvent, AgentTurnDiffCompletedEvent, AgentWaitingClearedEvent, AgentWaitingStartedEvent, ArtifactAgentHarness, ArtifactAgentRole, ArtifactCreateResponse, ArtifactDetailResponse, ArtifactHash, ArtifactId, ArtifactLifecycleState, ArtifactListEntry, ArtifactListResponse, ArtifactMetadata, ArtifactPublishResponse, ArtifactSlug, ArtifactStatusResponse, ArtifactUnshareResponse, ArtifactUrls, ArtifactValidationCode, ArtifactValidationFinding, ArtifactValidationResult, AutoMergeToggledProperties, BackendAgentSnapshot, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BulkCloseOutInitiatedProperties, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONTEXT_LAYER_KINDS, CONTEXT_PREVIEW_HARNESSES, CONVERSATION_PAGE_DEFAULT_LIMIT, CONVERSATION_PAGE_MAX_LIMIT, CONVERSATION_PAYLOAD_BUDGET_BYTES, CONVERSATION_WINDOW_MAX_BYTES, CONVERSATION_WINDOW_MAX_ROWS, ChannelPermissionRequestSnapshot, ChannelReplyArtifactRef, ChannelReplyKind, ChatMessage, ClaudeChannelPermissionBehavior, CliCommandRunProperties, CompactBoundary, CompanionTerminalKind, CompanionTerminalOwnerShape, CompanionTerminalState, CompanionTerminalUnavailableReason, ComposerCommandArgument, ComposerCommandManifestEntry, ComposerCommandOption, ComposerCommandPolicy, ComposerCommandResult, ComposerExecutionMode, ComposerSafety, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationForkedProperties, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, CreateRoomRequest, CreateRoomResponse, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardLifecycleState, DashboardSnapshot, DashboardTabViewedProperties, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedProjectCi, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorEntry, EditorId, EditorIdSchema, EffortLevel, EffortLevelSchema, EffortSource, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryListFilter, FeatureRegistryOwnershipUpdate, FeatureRegistryStatus, FeatureRegistryTagInput, FeatureRegistryUntagInput, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBugRateCriterion, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelScopeValue, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, ForceMergeTriggeredProperties, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSampleProperties, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GitHubRateLimitedProperties, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, Harness, HarnessAttachmentDelivery, HarnessBehavior, HarnessBinaryConfigKey, HarnessCapabilities, HarnessContextChannel, HarnessContextLayerKind, HarnessDeliveryKind, HarnessFeedKind, HarnessLaunchCommandKind, HarnessLaunchPreflight, HarnessName, HarnessNativeCommand, HarnessReadinessKind, HarnessSessionIdSource, HarnessSteerKind, HarnessTranscriptKind, HarnessWorkspaceResolution, HealthReason, HealthState, HookInventoryEntry, HookInventoryName, HostFrame, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IceServer, InstanceHeartbeatProperties, IssueAttention, IssueClosedOutProperties, IssueDelta, IssueId, IssueMergedProperties, IssuePipelineMembership, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LaneActivity, LaneActivityInput, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, MAX_CHANNEL_REPLY_ARTIFACT_LABEL_LENGTH, MAX_CHANNEL_REPLY_ARTIFACT_REFS, MAX_CHANNEL_REPLY_ARTIFACT_URI_LENGTH, MAX_CHANNEL_REPLY_SUMMARY_LENGTH, MEMBERSHIP_UNAVAILABLE_REASONS, MUSE_BEHAVIOR, MUSE_CAPABILITIES, MembershipUnavailableReason, MemoryAgentRole, MemoryHealthChangedEvent, MemoryHealthSnapshot, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryReadModelState, MemoryResetMarkerCreatedEvent, MemoryRollupTriggerSnapshot, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PIPELINE_MEMBERSHIP_LOADING_CODE, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PanRpcError, PanRpcGroup, PaneTokens, ParsedPullRequestRef, PendingTurn, PipelineBucket, PipelineMembershipLoadingBody, PipelineMembershipUnavailableBody, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineStageChangedProperties, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanApprovedProperties, PlanChangesRequestedProperties, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiState, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectCreatedProperties, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestForge, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestRepo, PullRequestSnapshot, PullRequestState, RESUME_OPEN_IDS_MAX, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadModelState, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResolvedChannelPermissionDecision, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RoomParticipant, RoomSnapshot, RuntimeName, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServerBootProperties, ServiceHealthSnapshot, ServiceHealthStatus, ServiceToHostFrame, ServiceToViewerFrame, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShareCloseCode, ShareErrorCode, ShareIdentity, ShareProtocolVersion, ShareScope, ShellOpenInEditorRpc, SignalData, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TelemetryCliVerb, TelemetryCountBucket, TelemetryDashboardTab, TelemetryDecisionSubjectKind, TelemetryDurationBucket, TelemetryEventName, TelemetryEventProperties, TelemetryGitHubCaller, TelemetryModelFamily, TelemetryPropertiesFor, TelemetryPropertyDomainName, TelemetryQuotaPointsBucket, TelemetryQuotaRemainingBucket, TerminalBackendName, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TimelineKey, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, UnwiredHookInventoryEntry, UpdateChannel, UpdateCompatibility, UpdateInstallMode, UpdatePhase, UpdateSnapshot, ViewerFrame, ViewerStatus, WINDOW_PINNED_OPEN_TOOLS_MAX, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, WiredHookInventoryEntry, WorkCompletedEvent, WorkLogEntry, WorkspaceAbortedEvent, WorkspaceArtifactsResponse, WorkspaceContextLayerRecord, WorkspaceContextLayerTarget, WorkspaceCreatedEvent, WorkspaceDeletedEvent, WorkspaceDestroyedEvent, WorkspaceWipeStartedEvent, WriteFileAtPathInput, WriteFileAtPathResult, WriteFileAtPathRpc, applyEvent, applyEvents, applyIssueDelta, bucketQuotaPoints, bucketQuotaRemaining, canonicalPullRequestUrl, companionTerminalKindFor, compareEffort, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, encodeFlywheelStats, encodeTimelineCursor, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isLegacyPiHarnessName, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, normalizeChannelReplyPayload, normalizeHarnessName, omitTurnDiffSummariesForAgent, paneAgentKey, parsePullRequestRef, projectLegacySystemHealthSummary, repoFromRemoteUrl, resolveEffectivePullRequest, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
|
|
19467
21133
|
//# sourceMappingURL=index.d.ts.map
|