@overdeck/contracts 0.68.0 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -83,7 +83,8 @@ const IssueAttention = Schema.Literals([
83
83
  "needs-you",
84
84
  "stuck",
85
85
  "api-error",
86
- "work-not-started"
86
+ "work-not-started",
87
+ "pr-outside-pipeline"
87
88
  ]);
88
89
  /** Latest review decision on the PR, as the forge reports it. */
89
90
  const PrReviewState = Schema.Literals([
@@ -126,6 +127,14 @@ const DerivedWorkStart = Schema.Struct({
126
127
  /** The retry is journaled but not actually running because the Deacon is frozen (PAN-4210). Present only when true. */
127
128
  held: Schema.optional(Schema.Literal(true))
128
129
  });
130
+ /** An open pull request the pipeline never picked up (PAN-4605). */
131
+ const DerivedPrOutsidePipeline = Schema.Struct({
132
+ prNumber: Schema.Number,
133
+ /** One operator-facing paragraph naming the PR, the reason and the exact commands. */
134
+ fix: Schema.String,
135
+ /** The other worktree that has the branch checked out, when that is the reason. */
136
+ worktreePath: Schema.optional(Schema.String)
137
+ });
129
138
  /** Everything the dashboard needs to render an issue's pipeline position. */
130
139
  const DerivedIssueState = Schema.Struct({
131
140
  issueId: Schema.String,
@@ -140,7 +149,9 @@ const DerivedIssueState = Schema.Struct({
140
149
  */
141
150
  trackerUnknown: Schema.optional(Schema.Literal(true)),
142
151
  /** A deferred or gave-up post-planning auto-start read from the workspace journal (PAN-4399). */
143
- workStart: Schema.optional(DerivedWorkStart)
152
+ workStart: Schema.optional(DerivedWorkStart),
153
+ /** An outside PR the pipeline never picked up (PAN-4605). */
154
+ prOutsidePipeline: Schema.optional(DerivedPrOutsidePipeline)
144
155
  });
145
156
  const ISSUE_STATES = [
146
157
  "backlog",
@@ -169,7 +180,8 @@ const ISSUE_ATTENTIONS = [
169
180
  "needs-you",
170
181
  "stuck",
171
182
  "api-error",
172
- "work-not-started"
183
+ "work-not-started",
184
+ "pr-outside-pipeline"
173
185
  ];
174
186
  function isIssueState(value) {
175
187
  return typeof value === "string" && ISSUE_STATES.includes(value);
@@ -195,6 +207,7 @@ const GITHUB_QUOTA_CALLERS = [
195
207
  "app-rest",
196
208
  "quota-sampler",
197
209
  "agent",
210
+ "pr-adoption",
198
211
  "other"
199
212
  ];
200
213
  const GitHubQuotaCaller = Schema.Literals(GITHUB_QUOTA_CALLERS);
@@ -541,8 +554,7 @@ const AgentSnapshot = Schema.Struct({
541
554
  })),
542
555
  resolution: Schema.optional(AgentResolution),
543
556
  resolutionCount: Schema.optional(Schema.Number),
544
- turnEndAssessment: Schema.optional(TurnEndAssessment),
545
- runtimeSnapshotSequence: Schema.optional(SequenceNumber)
557
+ turnEndAssessment: Schema.optional(TurnEndAssessment)
546
558
  });
547
559
  /** PAN-3151: A recorded cycle in the review convergence tracking series */
548
560
  const TurnDiffFileChange = Schema.Struct({
@@ -1528,7 +1540,8 @@ const BeadsFreshnessChangedEvent = Schema.Struct({
1528
1540
  * (PAN-3537).
1529
1541
  *
1530
1542
  * Emitted by the `check_suite` webhook handler for live updates, only after an
1531
- * independent branch-head lookup verifies the payload SHA is still current.
1543
+ * independent lookup verifies the payload SHA is still the current CI head
1544
+ * (the newest push run of the CI workflow, PAN-4618).
1532
1545
  * `suiteId` is the check suite id — for GitHub Actions that is one suite per
1533
1546
  * workflow run. The webhook payload does not carry `htmlUrl`.
1534
1547
  *
@@ -1551,15 +1564,16 @@ const ProjectCiSuiteObservedEvent = Schema.Struct({
1551
1564
  conclusion: Schema.NullOr(Schema.String),
1552
1565
  htmlUrl: Schema.optional(Schema.String),
1553
1566
  observedAt: Schema.String,
1554
- /** True only after the emitter verified headSha against the branch head. */
1567
+ /** True only after the emitter verified headSha against the current CI head. */
1555
1568
  authoritativeHead: Schema.optional(Schema.Boolean)
1556
1569
  })
1557
1570
  });
1558
1571
  /**
1559
- * Complete GitHub Actions projection for the verified default-branch head.
1560
- * The REST seed/repair emits one event after paginating every run and verifying
1561
- * the branch head a second time. An empty suites record explicitly clears stale
1562
- * CI when the current commit has no Actions runs.
1572
+ * Complete GitHub Actions projection for the verified current CI head (the
1573
+ * newest push run of the CI workflow, PAN-4618). The REST seed/repair emits
1574
+ * one event after paginating every run and verifying the CI head a second
1575
+ * time. An empty suites record explicitly clears stale CI when the current
1576
+ * commit has no Actions runs.
1563
1577
  */
1564
1578
  const ProjectCiHeadObservedEvent = Schema.Struct({
1565
1579
  type: Schema.Literal("project.ci_head_observed"),
@@ -3341,7 +3355,11 @@ const WorkLogEntry = Schema.Struct({
3341
3355
  toolTitle: Schema.optional(Schema.String),
3342
3356
  /** Raw tool_use input dict — drives per-tool expanded rendering (PAN-1459). */
3343
3357
  toolInput: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
3344
- sequence: Schema.optional(Schema.Number)
3358
+ sequence: Schema.optional(Schema.Number),
3359
+ /** PAN-4558: UTF-8 byte length of a `result` the wire projection removed. */
3360
+ resultBytes: Schema.optional(Schema.Number),
3361
+ /** PAN-4558: the wire projection removed or cut a tool body; fetch the full entry on expand. */
3362
+ bodyOmitted: Schema.optional(Schema.Boolean)
3345
3363
  });
3346
3364
  /** A human-origin message read from a subagent's own sidechain transcript (PAN-4247). */
3347
3365
  const SubagentHumanInput = Schema.Struct({
@@ -3361,6 +3379,20 @@ const SubagentSummary = Schema.Struct({
3361
3379
  /** Recent human-origin sidechain inputs, most useful when a message routed into this subagent instead of the main conversation (PAN-4247). */
3362
3380
  humanInputs: Schema.optional(Schema.Array(SubagentHumanInput))
3363
3381
  });
3382
+ /** PAN-4558: where a windowed response or page sits in the whole transcript. */
3383
+ const ConversationWindow = Schema.Struct({
3384
+ /** Encoded timeline key of the oldest contiguous entry; pass as `before=` for the next older page. */
3385
+ cursor: Schema.NullOr(Schema.String),
3386
+ hasOlder: Schema.Boolean,
3387
+ /** `"<dev>:<ino>"` of the transcript file the window was read from. */
3388
+ transcript: Schema.optional(Schema.String)
3389
+ });
3390
+ /** PAN-4558: what a resubscribing client already holds. */
3391
+ const ConversationResume = Schema.Struct({
3392
+ afterSequence: Schema.Number,
3393
+ openIds: Schema.Array(Schema.String),
3394
+ transcript: Schema.String
3395
+ });
3364
3396
  /**
3365
3397
  * Response shape for GET /api/agents/:id/conversation.
3366
3398
  * Shared between the dashboard server route and the frontend TerminalPanel.
@@ -3383,7 +3415,9 @@ const ConversationResponse = Schema.Struct({
3383
3415
  effortResolution: Schema.optional(Schema.NullOr(Schema.Struct({
3384
3416
  effort: EffortLevelSchema,
3385
3417
  source: Schema.String
3386
- })))
3418
+ }))),
3419
+ /** PAN-4558: present on windowed and paged responses only. */
3420
+ window: Schema.optional(ConversationWindow)
3387
3421
  });
3388
3422
  const ConversationEvent = Schema.Union([
3389
3423
  Schema.Struct({
@@ -3399,7 +3433,9 @@ const ConversationEvent = Schema.Union([
3399
3433
  totalCost: Schema.optional(Schema.Number),
3400
3434
  proposedPlan: Schema.optional(ProposedPlan),
3401
3435
  compactBoundaries: Schema.optional(Schema.Array(CompactBoundary)),
3402
- contextUsage: Schema.optional(Schema.NullOr(ContextUsage))
3436
+ contextUsage: Schema.optional(Schema.NullOr(ContextUsage)),
3437
+ /** PAN-4558: set on windowed snapshots; older history is paged in by `window.cursor`. */
3438
+ window: Schema.optional(ConversationWindow)
3403
3439
  }),
3404
3440
  Schema.Struct({ kind: Schema.Literal("discovering") }),
3405
3441
  Schema.Struct({
@@ -3461,10 +3497,17 @@ const GetSnapshotRpc = Rpc.make(WS_METHODS.getSnapshot, {
3461
3497
  success: DashboardSnapshot,
3462
3498
  error: PanRpcError
3463
3499
  });
3500
+ /**
3501
+ * PAN-4559: the server answers this instead of events when the gap after
3502
+ * fromSequence exceeds its replay cap; the client re-bootstraps via getSnapshot.
3503
+ */
3504
+ const ReplayTooFarBehind = Schema.Struct({ tooFarBehind: Schema.Literal(true) });
3505
+ /** Replay result: the missed events (unchanged array shape), or ReplayTooFarBehind. */
3506
+ const ReplayEventsResult = Schema.Union([Schema.Array(DomainEvent), ReplayTooFarBehind]);
3464
3507
  /** 5. Replay events since a given sequence number (unary) */
3465
3508
  const ReplayEventsRpc = Rpc.make(WS_METHODS.replayEvents, {
3466
3509
  payload: Schema.Struct({ fromSequence: SequenceNumber }),
3467
- success: Schema.Array(DomainEvent),
3510
+ success: ReplayEventsResult,
3468
3511
  error: PanRpcError
3469
3512
  });
3470
3513
  /** 6. Open a terminal session / attach PTY (unary) */
@@ -3522,15 +3565,20 @@ const ReadFileAtPathResult = Schema.Struct({
3522
3565
  text: Schema.String,
3523
3566
  lang: Schema.String,
3524
3567
  mtimeMs: Schema.Number,
3525
- totalLines: Schema.Number
3568
+ totalLines: Schema.Number,
3569
+ /** True when the resolved file is inside a registered project root or OVERDECK_HOME, so writeFileAtPath will accept it (PAN-4583). */
3570
+ writable: Schema.Boolean
3526
3571
  });
3527
3572
  /**
3528
3573
  * 10b-2. Read an allowlisted markdown file by absolute path (PAN-3260).
3529
3574
  *
3530
3575
  * Unlike ReadWorkspaceFileRpc this takes no issueId — the internal markdown
3531
3576
  * editor pane opens files reached from surfaces with no workspace context
3532
- * (e.g. a repo-root file chip inside a conversation). The server validates
3533
- * `path` against registered project roots + OVERDECK_HOME before reading.
3577
+ * (e.g. a repo-root file chip inside a conversation). The server reads any
3578
+ * existing markdown file whose realpath is inside the operator's home
3579
+ * directory or a write root (registered project roots + OVERDECK_HOME), and
3580
+ * sets `writable` to whether it is inside a write root (PAN-4583). Writes
3581
+ * stay limited to the write roots — see WriteFileAtPathRpc.
3534
3582
  */
3535
3583
  const ReadFileAtPathRpc = Rpc.make(WS_METHODS.readFileAtPath, {
3536
3584
  payload: ReadFileAtPathInput,
@@ -3549,6 +3597,8 @@ const WriteFileAtPathResult = Schema.Struct({ mtimeMs: Schema.Number });
3549
3597
  * `expectedMtimeMs` enables optimistic concurrency: a stale value is
3550
3598
  * rejected with a PanRpcError code of WRITE_CONFLICT and nothing is
3551
3599
  * written. Omitting it (e.g. an explicit Overwrite action) skips the check.
3600
+ * The path must resolve inside a registered project root or OVERDECK_HOME;
3601
+ * anything else rejects with PATH_NOT_ALLOWED.
3552
3602
  */
3553
3603
  const WriteFileAtPathRpc = Rpc.make(WS_METHODS.writeFileAtPath, {
3554
3604
  payload: WriteFileAtPathInput,
@@ -3632,7 +3682,9 @@ const ResizeTerminalRpc = Rpc.make(WS_METHODS.resizeTerminal, {
3632
3682
  const SubscribeConversationMessagesRpc = Rpc.make(WS_METHODS.subscribeConversationMessages, {
3633
3683
  payload: Schema.Struct({
3634
3684
  conversationName: Schema.String,
3635
- agentId: Schema.optional(Schema.String)
3685
+ agentId: Schema.optional(Schema.String),
3686
+ /** PAN-4558: what the client already holds; the server sends only newer or newly settled rows. */
3687
+ resume: Schema.optional(ConversationResume)
3636
3688
  }),
3637
3689
  success: ConversationEvent,
3638
3690
  error: PanRpcError,
@@ -3972,23 +4024,6 @@ function removeAgentFromSessionIndex(agentIdBySessionId, agentId) {
3972
4024
  for (const [sessionId, id] of Object.entries(agentIdBySessionId ?? {})) if (id !== agentId) next[sessionId] = id;
3973
4025
  return next;
3974
4026
  }
3975
- /**
3976
- * Bump runtimeSnapshotSequence on the corresponding AgentSnapshot (if present)
3977
- * so low-frequency subscribers can cheaply detect a runtime change. No-op if
3978
- * the agent has no lifecycle snapshot yet (a runtime event arrived before
3979
- * agent.created — unusual but defensive).
3980
- */
3981
- function bumpRuntimeSnapshotSequence(agentsById, agentId, sequence) {
3982
- const agent = agentsById[agentId];
3983
- if (!agent) return agentsById;
3984
- return {
3985
- ...agentsById,
3986
- [agentId]: {
3987
- ...agent,
3988
- runtimeSnapshotSequence: sequence
3989
- }
3990
- };
3991
- }
3992
4027
  function syncSnapshot(state, snapshot) {
3993
4028
  const agentsById = {};
3994
4029
  for (const agent of snapshot.agents) agentsById[agent.id] = agent;
@@ -4730,8 +4765,7 @@ function applyEvent(state, event) {
4730
4765
  agentRuntimeById: {
4731
4766
  ...state.agentRuntimeById,
4732
4767
  [agentId]: next
4733
- },
4734
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4768
+ }
4735
4769
  };
4736
4770
  }
4737
4771
  case "agent.thinking_started": {
@@ -4756,8 +4790,7 @@ function applyEvent(state, event) {
4756
4790
  agentRuntimeById: {
4757
4791
  ...state.agentRuntimeById,
4758
4792
  [agentId]: next
4759
- },
4760
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4793
+ }
4761
4794
  };
4762
4795
  }
4763
4796
  case "agent.thinking_stopped": {
@@ -4779,8 +4812,7 @@ function applyEvent(state, event) {
4779
4812
  agentRuntimeById: {
4780
4813
  ...state.agentRuntimeById,
4781
4814
  [agentId]: next
4782
- },
4783
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4815
+ }
4784
4816
  };
4785
4817
  }
4786
4818
  case "agent.waiting_started": {
@@ -4805,8 +4837,7 @@ function applyEvent(state, event) {
4805
4837
  agentRuntimeById: {
4806
4838
  ...state.agentRuntimeById,
4807
4839
  [agentId]: next
4808
- },
4809
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4840
+ }
4810
4841
  };
4811
4842
  }
4812
4843
  case "agent.waiting_cleared": {
@@ -4828,8 +4859,7 @@ function applyEvent(state, event) {
4828
4859
  agentRuntimeById: {
4829
4860
  ...state.agentRuntimeById,
4830
4861
  [agentId]: next
4831
- },
4832
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4862
+ }
4833
4863
  };
4834
4864
  }
4835
4865
  case "agent.permission_requested": {
@@ -4906,8 +4936,7 @@ function applyEvent(state, event) {
4906
4936
  agentRuntimeById: {
4907
4937
  ...state.agentRuntimeById,
4908
4938
  [agentId]: next
4909
- },
4910
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4939
+ }
4911
4940
  };
4912
4941
  }
4913
4942
  case "agent.channel_reply": {
@@ -4930,8 +4959,7 @@ function applyEvent(state, event) {
4930
4959
  agentRuntimeById: {
4931
4960
  ...state.agentRuntimeById,
4932
4961
  [agentId]: next
4933
- },
4934
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
4962
+ }
4935
4963
  };
4936
4964
  }
4937
4965
  case "agent.model_set": {
@@ -4965,7 +4993,6 @@ function applyEvent(state, event) {
4965
4993
  ...state.agentRuntimeById,
4966
4994
  [agentId]: next
4967
4995
  },
4968
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence),
4969
4996
  agentIdBySessionId: nextAgentIdBySessionId
4970
4997
  };
4971
4998
  }
@@ -4983,8 +5010,7 @@ function applyEvent(state, event) {
4983
5010
  agentRuntimeById: {
4984
5011
  ...state.agentRuntimeById,
4985
5012
  [agentId]: next
4986
- },
4987
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
5013
+ }
4988
5014
  };
4989
5015
  }
4990
5016
  case "agent.context_saturation_changed": {
@@ -5000,8 +5026,7 @@ function applyEvent(state, event) {
5000
5026
  agentRuntimeById: {
5001
5027
  ...state.agentRuntimeById,
5002
5028
  [agentId]: next
5003
- },
5004
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
5029
+ }
5005
5030
  };
5006
5031
  }
5007
5032
  case "agent.resolution_changed": {
@@ -5020,8 +5045,7 @@ function applyEvent(state, event) {
5020
5045
  agentRuntimeById: {
5021
5046
  ...state.agentRuntimeById,
5022
5047
  [agentId]: next
5023
- },
5024
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
5048
+ }
5025
5049
  };
5026
5050
  }
5027
5051
  case "agent.state_restored": {
@@ -5036,8 +5060,7 @@ function applyEvent(state, event) {
5036
5060
  agentRuntimeById: {
5037
5061
  ...state.agentRuntimeById,
5038
5062
  [agentId]: next
5039
- },
5040
- agentsById: bumpRuntimeSnapshotSequence(state.agentsById, agentId, event.sequence)
5063
+ }
5041
5064
  };
5042
5065
  }
5043
5066
  case "activity.entry": {
@@ -6048,6 +6071,170 @@ const FeatureRegistryEntry = Schema.Struct({
6048
6071
  tags: Schema.Array(Schema.String)
6049
6072
  });
6050
6073
  //#endregion
6074
+ //#region src/harness-capabilities.ts
6075
+ const HARNESS_CAPABILITY_KEYS = [
6076
+ "contextChannel",
6077
+ "initialPromptMustLand",
6078
+ "stopRuntimeOnStartFailure",
6079
+ "resumeContractMustLand",
6080
+ "reapsPrivateDaemonOnStop",
6081
+ "attachmentDelivery",
6082
+ "nativeManualCompact",
6083
+ "paneInputGuard",
6084
+ "transcriptDeliveryReceipt",
6085
+ "hostEffortFlag",
6086
+ "binaryLabel",
6087
+ "installHint",
6088
+ "binaryConfigKey",
6089
+ "launchPreflight",
6090
+ "workspaceResolution",
6091
+ "correlatesBySessionId"
6092
+ ];
6093
+ const CLAUDE_CODE_CAPABILITIES = {
6094
+ contextChannel: "append-system-prompt-file",
6095
+ initialPromptMustLand: false,
6096
+ stopRuntimeOnStartFailure: false,
6097
+ resumeContractMustLand: false,
6098
+ reapsPrivateDaemonOnStop: false,
6099
+ attachmentDelivery: "native",
6100
+ nativeManualCompact: true,
6101
+ paneInputGuard: true,
6102
+ transcriptDeliveryReceipt: true,
6103
+ hostEffortFlag: false,
6104
+ binaryLabel: "Claude Code",
6105
+ installHint: "curl -fsSL https://claude.ai/install.sh | bash",
6106
+ binaryConfigKey: null,
6107
+ launchPreflight: "claude-code-model-minimum",
6108
+ workspaceResolution: "claude-project-hash",
6109
+ correlatesBySessionId: false
6110
+ };
6111
+ const OHMYPI_CAPABILITIES = {
6112
+ contextChannel: "append-system-prompt",
6113
+ initialPromptMustLand: false,
6114
+ stopRuntimeOnStartFailure: false,
6115
+ resumeContractMustLand: false,
6116
+ reapsPrivateDaemonOnStop: false,
6117
+ attachmentDelivery: "inline-paths",
6118
+ nativeManualCompact: false,
6119
+ paneInputGuard: false,
6120
+ transcriptDeliveryReceipt: false,
6121
+ hostEffortFlag: false,
6122
+ binaryLabel: "OhMyPi",
6123
+ installHint: null,
6124
+ binaryConfigKey: null,
6125
+ launchPreflight: null,
6126
+ workspaceResolution: "first-message-only",
6127
+ correlatesBySessionId: true
6128
+ };
6129
+ const CODEX_CAPABILITIES = {
6130
+ contextChannel: "developer_instructions",
6131
+ initialPromptMustLand: false,
6132
+ stopRuntimeOnStartFailure: false,
6133
+ resumeContractMustLand: false,
6134
+ reapsPrivateDaemonOnStop: false,
6135
+ attachmentDelivery: "inline-paths",
6136
+ nativeManualCompact: false,
6137
+ paneInputGuard: false,
6138
+ transcriptDeliveryReceipt: false,
6139
+ hostEffortFlag: false,
6140
+ binaryLabel: "Codex CLI",
6141
+ installHint: null,
6142
+ binaryConfigKey: null,
6143
+ launchPreflight: null,
6144
+ workspaceResolution: "agent-dir",
6145
+ correlatesBySessionId: true
6146
+ };
6147
+ const ACP_CAPABILITIES = {
6148
+ contextChannel: "acp-initial-context",
6149
+ initialPromptMustLand: true,
6150
+ stopRuntimeOnStartFailure: true,
6151
+ resumeContractMustLand: false,
6152
+ reapsPrivateDaemonOnStop: false,
6153
+ attachmentDelivery: "inline-paths",
6154
+ nativeManualCompact: false,
6155
+ paneInputGuard: false,
6156
+ transcriptDeliveryReceipt: false,
6157
+ hostEffortFlag: false,
6158
+ binaryLabel: "Kimi Code CLI",
6159
+ installHint: null,
6160
+ binaryConfigKey: "acp.kimi.binaryPath",
6161
+ launchPreflight: null,
6162
+ workspaceResolution: "agent-dir",
6163
+ correlatesBySessionId: true
6164
+ };
6165
+ const KIMI_CODE_CAPABILITIES = {
6166
+ contextChannel: "initial-message-envelope",
6167
+ initialPromptMustLand: true,
6168
+ stopRuntimeOnStartFailure: true,
6169
+ resumeContractMustLand: true,
6170
+ reapsPrivateDaemonOnStop: false,
6171
+ attachmentDelivery: "inline-paths",
6172
+ nativeManualCompact: false,
6173
+ paneInputGuard: false,
6174
+ transcriptDeliveryReceipt: false,
6175
+ hostEffortFlag: false,
6176
+ binaryLabel: "Kimi Code CLI",
6177
+ installHint: null,
6178
+ binaryConfigKey: "kimiCode.binaryPath",
6179
+ launchPreflight: null,
6180
+ workspaceResolution: "first-message-only",
6181
+ correlatesBySessionId: true
6182
+ };
6183
+ const OPENCODE_CAPABILITIES = {
6184
+ contextChannel: "acp-initial-context",
6185
+ initialPromptMustLand: true,
6186
+ stopRuntimeOnStartFailure: true,
6187
+ resumeContractMustLand: false,
6188
+ reapsPrivateDaemonOnStop: false,
6189
+ attachmentDelivery: "inline-paths",
6190
+ nativeManualCompact: false,
6191
+ paneInputGuard: false,
6192
+ transcriptDeliveryReceipt: false,
6193
+ hostEffortFlag: true,
6194
+ binaryLabel: "OpenCode",
6195
+ installHint: null,
6196
+ binaryConfigKey: null,
6197
+ launchPreflight: null,
6198
+ workspaceResolution: "agent-dir",
6199
+ correlatesBySessionId: true
6200
+ };
6201
+ const MUSE_CAPABILITIES = {
6202
+ contextChannel: "append-system-prompt-file",
6203
+ initialPromptMustLand: false,
6204
+ stopRuntimeOnStartFailure: true,
6205
+ resumeContractMustLand: false,
6206
+ reapsPrivateDaemonOnStop: false,
6207
+ attachmentDelivery: "inline-paths",
6208
+ nativeManualCompact: false,
6209
+ paneInputGuard: false,
6210
+ transcriptDeliveryReceipt: false,
6211
+ hostEffortFlag: false,
6212
+ binaryLabel: "Muse Code",
6213
+ installHint: null,
6214
+ binaryConfigKey: null,
6215
+ launchPreflight: null,
6216
+ workspaceResolution: "first-message-only",
6217
+ correlatesBySessionId: true
6218
+ };
6219
+ const PRIME_AGENT_CAPABILITIES = {
6220
+ contextChannel: "prime-agent-append-system-prompt",
6221
+ initialPromptMustLand: true,
6222
+ stopRuntimeOnStartFailure: true,
6223
+ resumeContractMustLand: false,
6224
+ reapsPrivateDaemonOnStop: true,
6225
+ attachmentDelivery: "inline-paths",
6226
+ nativeManualCompact: false,
6227
+ paneInputGuard: false,
6228
+ transcriptDeliveryReceipt: false,
6229
+ hostEffortFlag: false,
6230
+ binaryLabel: "Prime Agent",
6231
+ installHint: null,
6232
+ binaryConfigKey: null,
6233
+ launchPreflight: null,
6234
+ workspaceResolution: "first-message-only",
6235
+ correlatesBySessionId: true
6236
+ };
6237
+ //#endregion
6051
6238
  //#region src/harness-behavior.ts
6052
6239
  const AGENT_SESSION_PREFIXES = [
6053
6240
  "agent-",
@@ -6063,6 +6250,7 @@ function isAgentSessionName(name) {
6063
6250
  }
6064
6251
  const CLAUDE_CODE_BEHAVIOR = {
6065
6252
  displayName: "Claude Code",
6253
+ capabilities: CLAUDE_CODE_CAPABILITIES,
6066
6254
  nativeCommands: [
6067
6255
  {
6068
6256
  name: "/model",
@@ -6107,6 +6295,7 @@ const CLAUDE_CODE_BEHAVIOR = {
6107
6295
  };
6108
6296
  const OHMYPI_BEHAVIOR = {
6109
6297
  displayName: "Pi",
6298
+ capabilities: OHMYPI_CAPABILITIES,
6110
6299
  nativeCommands: [],
6111
6300
  executableName: "omp",
6112
6301
  processNames: ["omp"],
@@ -6136,6 +6325,7 @@ const OHMYPI_BEHAVIOR = {
6136
6325
  };
6137
6326
  const CODEX_BEHAVIOR = {
6138
6327
  displayName: "Codex",
6328
+ capabilities: CODEX_CAPABILITIES,
6139
6329
  nativeCommands: [],
6140
6330
  executableName: "codex",
6141
6331
  processNames: ["codex"],
@@ -6159,6 +6349,7 @@ const CODEX_BEHAVIOR = {
6159
6349
  };
6160
6350
  const ACP_BEHAVIOR = {
6161
6351
  displayName: "ACP",
6352
+ capabilities: ACP_CAPABILITIES,
6162
6353
  nativeCommands: [],
6163
6354
  executableName: "acp-host",
6164
6355
  processNames: ["acp-host", "kimi"],
@@ -6182,6 +6373,7 @@ const ACP_BEHAVIOR = {
6182
6373
  };
6183
6374
  const KIMI_CODE_BEHAVIOR = {
6184
6375
  displayName: "Kimi Code",
6376
+ capabilities: KIMI_CODE_CAPABILITIES,
6185
6377
  nativeCommands: [],
6186
6378
  executableName: "kimi",
6187
6379
  processNames: ["kimi"],
@@ -6206,12 +6398,14 @@ const KIMI_CODE_BEHAVIOR = {
6206
6398
  const OPENCODE_BEHAVIOR = {
6207
6399
  ...ACP_BEHAVIOR,
6208
6400
  displayName: "OpenCode",
6401
+ capabilities: OPENCODE_CAPABILITIES,
6209
6402
  contextLayerKind: "opencode",
6210
6403
  executableName: "opencode",
6211
6404
  processNames: ["acp-host", "opencode"]
6212
6405
  };
6213
6406
  const MUSE_BEHAVIOR = {
6214
6407
  displayName: "Muse Code",
6408
+ capabilities: MUSE_CAPABILITIES,
6215
6409
  nativeCommands: [],
6216
6410
  executableName: "muse",
6217
6411
  processNames: ["muse", "muse-bin"],
@@ -6241,6 +6435,7 @@ const MUSE_BEHAVIOR = {
6241
6435
  };
6242
6436
  const PRIME_AGENT_BEHAVIOR = {
6243
6437
  displayName: "Prime Agent",
6438
+ capabilities: PRIME_AGENT_CAPABILITIES,
6244
6439
  nativeCommands: [],
6245
6440
  executableName: "prime-agent",
6246
6441
  processNames: ["prime-agent"],
@@ -6272,15 +6467,18 @@ const BEHAVIORS = {
6272
6467
  muse: MUSE_BEHAVIOR,
6273
6468
  "prime-agent": PRIME_AGENT_BEHAVIOR
6274
6469
  };
6470
+ const LEGACY_PI_HARNESS = "pi";
6471
+ /** True for the legacy stored harness alias `pi` (PAN-1989), which now means ohmypi. */
6472
+ function isLegacyPiHarnessName(raw) {
6473
+ return raw === LEGACY_PI_HARNESS;
6474
+ }
6475
+ /** Map a stored or requested harness string to a RuntimeName; legacy `pi` → `ohmypi`; anything else → null. */
6476
+ function normalizeHarnessName(raw) {
6477
+ if (isLegacyPiHarnessName(raw)) return "ohmypi";
6478
+ return typeof raw === "string" && KNOWN_HARNESSES.has(raw) ? raw : null;
6479
+ }
6275
6480
  function getHarnessBehavior(harness) {
6276
- if (harness === "ohmypi" || harness === "pi") return OHMYPI_BEHAVIOR;
6277
- if (harness === "codex") return CODEX_BEHAVIOR;
6278
- if (harness === "opencode") return OPENCODE_BEHAVIOR;
6279
- if (harness === "acp") return ACP_BEHAVIOR;
6280
- if (harness === "kimi-code") return KIMI_CODE_BEHAVIOR;
6281
- if (harness === "muse") return MUSE_BEHAVIOR;
6282
- if (harness === "prime-agent") return PRIME_AGENT_BEHAVIOR;
6283
- return CLAUDE_CODE_BEHAVIOR;
6481
+ return BEHAVIORS[normalizeHarnessName(harness) ?? "claude-code"];
6284
6482
  }
6285
6483
  function getRuntimeBehavior(runtime) {
6286
6484
  return BEHAVIORS[runtime];
@@ -6525,6 +6723,7 @@ const TELEMETRY_PROPERTY_DOMAINS = {
6525
6723
  "app_rest",
6526
6724
  "quota_sampler",
6527
6725
  "agent",
6726
+ "pr_adoption",
6528
6727
  "other"
6529
6728
  ],
6530
6729
  harness: [
@@ -6599,7 +6798,8 @@ const TELEMETRY_EVENT_CATALOG = {
6599
6798
  fork_intent: "fork_kind",
6600
6799
  fork_mode: "fork_kind",
6601
6800
  fast_summary: "boolean",
6602
- launch_harness: "harness"
6801
+ launch_harness: "harness",
6802
+ fresh_start: "boolean"
6603
6803
  },
6604
6804
  plan_approved: { subject_kind: "decision_subject" },
6605
6805
  plan_changes_requested: { subject_kind: "decision_subject" },
@@ -8118,6 +8318,12 @@ const COMPOSER_COMMAND_MANIFEST = [
8118
8318
  "description": "Create and launch the new conversation without sending the kickoff; start it with Send in the dashboard or pan handoff start <conv>",
8119
8319
  "required": false,
8120
8320
  "valueHint": null
8321
+ },
8322
+ {
8323
+ "flags": "--fresh",
8324
+ "description": "Start a clean conversation: no handoff document, no summary, no parent link; the focus is its first message. Project, cwd, model and effort still default from the source",
8325
+ "required": false,
8326
+ "valueHint": null
8121
8327
  }
8122
8328
  ],
8123
8329
  "aliases": [],
@@ -10872,6 +11078,328 @@ const COMPOSER_COMMAND_MANIFEST = [
10872
11078
  "aliases": [],
10873
11079
  "category": "Observation"
10874
11080
  },
11081
+ {
11082
+ "id": "pan-memory-show",
11083
+ "path": ["memory", "show"],
11084
+ "display": "/pan memory show",
11085
+ "description": "Print a curated memory fact",
11086
+ "args": [{
11087
+ "name": "id",
11088
+ "required": true,
11089
+ "variadic": false
11090
+ }],
11091
+ "options": [
11092
+ {
11093
+ "flags": "--project <key>",
11094
+ "description": "Project key (defaults to the project owning the cwd)",
11095
+ "required": true,
11096
+ "valueHint": "key"
11097
+ },
11098
+ {
11099
+ "flags": "--user",
11100
+ "description": "Read from the operator store (travels with you; synced when set up)",
11101
+ "required": false,
11102
+ "valueHint": null
11103
+ },
11104
+ {
11105
+ "flags": "--machine",
11106
+ "description": "Read from the machine store (this machine only)",
11107
+ "required": false,
11108
+ "valueHint": null
11109
+ },
11110
+ {
11111
+ "flags": "--here",
11112
+ "description": "Read from the cwd checkout's store instead of the primary checkout",
11113
+ "required": false,
11114
+ "valueHint": null
11115
+ }
11116
+ ],
11117
+ "aliases": [],
11118
+ "category": "Observation"
11119
+ },
11120
+ {
11121
+ "id": "pan-memory-list",
11122
+ "path": ["memory", "list"],
11123
+ "display": "/pan memory list",
11124
+ "description": "List curated memory facts",
11125
+ "args": [],
11126
+ "options": [
11127
+ {
11128
+ "flags": "--type <type>",
11129
+ "description": "Filter by fact type (feedback|project|reference|user)",
11130
+ "required": true,
11131
+ "valueHint": "type"
11132
+ },
11133
+ {
11134
+ "flags": "--query <q>",
11135
+ "description": "Filter by a fact-matching query (see pan memory search)",
11136
+ "required": true,
11137
+ "valueHint": "q"
11138
+ },
11139
+ {
11140
+ "flags": "--review",
11141
+ "description": "Show only facts carrying a review marker (default: active facts only)",
11142
+ "required": false,
11143
+ "valueHint": null
11144
+ },
11145
+ {
11146
+ "flags": "--project <key>",
11147
+ "description": "Project key (defaults to the project owning the cwd)",
11148
+ "required": true,
11149
+ "valueHint": "key"
11150
+ },
11151
+ {
11152
+ "flags": "--user",
11153
+ "description": "List the operator store (travels with you; synced when set up)",
11154
+ "required": false,
11155
+ "valueHint": null
11156
+ },
11157
+ {
11158
+ "flags": "--machine",
11159
+ "description": "List the machine store (this machine only)",
11160
+ "required": false,
11161
+ "valueHint": null
11162
+ },
11163
+ {
11164
+ "flags": "--here",
11165
+ "description": "List the cwd checkout's store instead of the primary checkout",
11166
+ "required": false,
11167
+ "valueHint": null
11168
+ },
11169
+ {
11170
+ "flags": "--json",
11171
+ "description": "Output JSON",
11172
+ "required": false,
11173
+ "valueHint": null
11174
+ }
11175
+ ],
11176
+ "aliases": [],
11177
+ "category": "Observation"
11178
+ },
11179
+ {
11180
+ "id": "pan-memory-add",
11181
+ "path": ["memory", "add"],
11182
+ "display": "/pan memory add",
11183
+ "description": "Add a curated memory fact",
11184
+ "args": [{
11185
+ "name": "id",
11186
+ "required": true,
11187
+ "variadic": false
11188
+ }],
11189
+ "options": [
11190
+ {
11191
+ "flags": "--type <type>",
11192
+ "description": "Fact type (feedback|project|reference|user)",
11193
+ "required": true,
11194
+ "valueHint": "type"
11195
+ },
11196
+ {
11197
+ "flags": "--description <text>",
11198
+ "description": "One-line index description (<= 200 chars)",
11199
+ "required": true,
11200
+ "valueHint": "text"
11201
+ },
11202
+ {
11203
+ "flags": "--title <text>",
11204
+ "description": "Fact title (defaults to the id, dashes as spaces, capitalized)",
11205
+ "required": true,
11206
+ "valueHint": "text"
11207
+ },
11208
+ {
11209
+ "flags": "--body <text>",
11210
+ "description": "Fact body",
11211
+ "required": true,
11212
+ "valueHint": "text"
11213
+ },
11214
+ {
11215
+ "flags": "--body-file <path>",
11216
+ "description": "Read the fact body from a file",
11217
+ "required": true,
11218
+ "valueHint": "path"
11219
+ },
11220
+ {
11221
+ "flags": "--tags <a,b>",
11222
+ "description": "Comma-separated tags",
11223
+ "required": true,
11224
+ "valueHint": "a,b"
11225
+ },
11226
+ {
11227
+ "flags": "--project <key>",
11228
+ "description": "Project key (defaults to the project owning the cwd)",
11229
+ "required": true,
11230
+ "valueHint": "key"
11231
+ },
11232
+ {
11233
+ "flags": "--user",
11234
+ "description": "Write to the operator store (travels with you; synced when set up)",
11235
+ "required": false,
11236
+ "valueHint": null
11237
+ },
11238
+ {
11239
+ "flags": "--machine",
11240
+ "description": "Write to the machine store (this machine only)",
11241
+ "required": false,
11242
+ "valueHint": null
11243
+ },
11244
+ {
11245
+ "flags": "--json",
11246
+ "description": "Output JSON",
11247
+ "required": false,
11248
+ "valueHint": null
11249
+ }
11250
+ ],
11251
+ "aliases": [],
11252
+ "category": "Observation"
11253
+ },
11254
+ {
11255
+ "id": "pan-memory-edit",
11256
+ "path": ["memory", "edit"],
11257
+ "display": "/pan memory edit",
11258
+ "description": "Edit a curated memory fact",
11259
+ "args": [{
11260
+ "name": "id",
11261
+ "required": true,
11262
+ "variadic": false
11263
+ }],
11264
+ "options": [
11265
+ {
11266
+ "flags": "--type <type>",
11267
+ "description": "Fact type (feedback|project|reference|user)",
11268
+ "required": true,
11269
+ "valueHint": "type"
11270
+ },
11271
+ {
11272
+ "flags": "--title <text>",
11273
+ "description": "Fact title",
11274
+ "required": true,
11275
+ "valueHint": "text"
11276
+ },
11277
+ {
11278
+ "flags": "--description <text>",
11279
+ "description": "One-line index description (<= 200 chars)",
11280
+ "required": true,
11281
+ "valueHint": "text"
11282
+ },
11283
+ {
11284
+ "flags": "--body <text>",
11285
+ "description": "Fact body",
11286
+ "required": true,
11287
+ "valueHint": "text"
11288
+ },
11289
+ {
11290
+ "flags": "--body-file <path>",
11291
+ "description": "Read the fact body from a file",
11292
+ "required": true,
11293
+ "valueHint": "path"
11294
+ },
11295
+ {
11296
+ "flags": "--tags <a,b>",
11297
+ "description": "Comma-separated tags",
11298
+ "required": true,
11299
+ "valueHint": "a,b"
11300
+ },
11301
+ {
11302
+ "flags": "--clear-review",
11303
+ "description": "Remove the review marker, re-activating the fact",
11304
+ "required": false,
11305
+ "valueHint": null
11306
+ },
11307
+ {
11308
+ "flags": "--project <key>",
11309
+ "description": "Project key (defaults to the project owning the cwd)",
11310
+ "required": true,
11311
+ "valueHint": "key"
11312
+ },
11313
+ {
11314
+ "flags": "--user",
11315
+ "description": "Edit the operator store (travels with you; synced when set up)",
11316
+ "required": false,
11317
+ "valueHint": null
11318
+ },
11319
+ {
11320
+ "flags": "--machine",
11321
+ "description": "Edit the machine store (this machine only)",
11322
+ "required": false,
11323
+ "valueHint": null
11324
+ },
11325
+ {
11326
+ "flags": "--json",
11327
+ "description": "Output JSON",
11328
+ "required": false,
11329
+ "valueHint": null
11330
+ }
11331
+ ],
11332
+ "aliases": [],
11333
+ "category": "Observation"
11334
+ },
11335
+ {
11336
+ "id": "pan-memory-retire",
11337
+ "path": ["memory", "retire"],
11338
+ "display": "/pan memory retire",
11339
+ "description": "Remove a curated memory fact (git history is the archive)",
11340
+ "args": [{
11341
+ "name": "id",
11342
+ "required": true,
11343
+ "variadic": false
11344
+ }],
11345
+ "options": [
11346
+ {
11347
+ "flags": "--project <key>",
11348
+ "description": "Project key (defaults to the project owning the cwd)",
11349
+ "required": true,
11350
+ "valueHint": "key"
11351
+ },
11352
+ {
11353
+ "flags": "--user",
11354
+ "description": "Retire from the operator store (travels with you; synced when set up)",
11355
+ "required": false,
11356
+ "valueHint": null
11357
+ },
11358
+ {
11359
+ "flags": "--machine",
11360
+ "description": "Retire from the machine store (this machine only)",
11361
+ "required": false,
11362
+ "valueHint": null
11363
+ },
11364
+ {
11365
+ "flags": "--json",
11366
+ "description": "Output JSON",
11367
+ "required": false,
11368
+ "valueHint": null
11369
+ }
11370
+ ],
11371
+ "aliases": [],
11372
+ "category": "Observation"
11373
+ },
11374
+ {
11375
+ "id": "pan-memory-sync",
11376
+ "path": ["memory", "sync"],
11377
+ "display": "/pan memory sync",
11378
+ "description": "Sync the operator memory store with your private git remote",
11379
+ "args": [],
11380
+ "options": [
11381
+ {
11382
+ "flags": "--setup <git-url>",
11383
+ "description": "Turn on sync: use this private git repository as the remote, then sync",
11384
+ "required": true,
11385
+ "valueHint": "git-url"
11386
+ },
11387
+ {
11388
+ "flags": "--status",
11389
+ "description": "Show sync state without touching the network",
11390
+ "required": false,
11391
+ "valueHint": null
11392
+ },
11393
+ {
11394
+ "flags": "--json",
11395
+ "description": "Output JSON",
11396
+ "required": false,
11397
+ "valueHint": null
11398
+ }
11399
+ ],
11400
+ "aliases": [],
11401
+ "category": "Observation"
11402
+ },
10875
11403
  {
10876
11404
  "id": "pan-briefing",
10877
11405
  "path": ["briefing"],
@@ -15774,6 +16302,83 @@ function laneActivityOf(row, now) {
15774
16302
  return "stopped";
15775
16303
  }
15776
16304
  //#endregion
16305
+ //#region src/conversation-window.ts
16306
+ /**
16307
+ * Conversation window contract shared by the dashboard server and the
16308
+ * frontend (PAN-4558). A cold open carries only the newest slice of a
16309
+ * transcript; older history is paged in by cursor. The constants bound every
16310
+ * open, and the timeline key gives entries one total order on both sides.
16311
+ */
16312
+ /** Most timeline rows a window or page carries. */
16313
+ const CONVERSATION_WINDOW_MAX_ROWS = 75;
16314
+ /** Most encoded entry bytes a window carries (960 KiB, leaving 64 KiB for metadata). */
16315
+ const CONVERSATION_WINDOW_MAX_BYTES = 983040;
16316
+ /** Whole-payload ceiling for an initial HTTP body or first WS event. */
16317
+ const CONVERSATION_PAYLOAD_BUDGET_BYTES = 1048576;
16318
+ /** Default `limit` for a paged read. */
16319
+ const CONVERSATION_PAGE_DEFAULT_LIMIT = 75;
16320
+ /** Largest `limit` a paged read accepts; larger values clamp to it. */
16321
+ const CONVERSATION_PAGE_MAX_LIMIT = 200;
16322
+ /** A tool `result` (or `detail`/`toolInput` string) above this many UTF-8 bytes leaves the wire. */
16323
+ const TOOL_BODY_INLINE_MAX_BYTES = 4096;
16324
+ /** Characters kept from an oversized `detail`/`toolInput` string. */
16325
+ const TOOL_BODY_PREVIEW_CHARS = 512;
16326
+ /** Most open entry ids a resume may name. */
16327
+ const RESUME_OPEN_IDS_MAX = 200;
16328
+ /** Most open tool calls pinned into a window beyond its contiguous slice. */
16329
+ const WINDOW_PINNED_OPEN_TOOLS_MAX = 10;
16330
+ function timelineKeyOfMessage(m) {
16331
+ return [
16332
+ m.createdAt,
16333
+ m.sequence ?? 0,
16334
+ 0,
16335
+ m.id
16336
+ ];
16337
+ }
16338
+ function timelineKeyOfWork(e) {
16339
+ return [
16340
+ e.createdAt,
16341
+ e.sequence ?? 0,
16342
+ 1,
16343
+ e.id
16344
+ ];
16345
+ }
16346
+ function compareStrings(a, b) {
16347
+ return a < b ? -1 : a > b ? 1 : 0;
16348
+ }
16349
+ /** Total order: createdAt (string compare), then sequence, then message before work, then id. */
16350
+ function compareTimelineKeys(a, b) {
16351
+ return compareStrings(a[0], b[0]) || a[1] - b[1] || a[2] - b[2] || compareStrings(a[3], b[3]);
16352
+ }
16353
+ function encodeTimelineCursor(key) {
16354
+ return JSON.stringify(key);
16355
+ }
16356
+ /** Returns null for anything that is not an encoded 4-tuple of string, finite number, 0|1, string. */
16357
+ function decodeTimelineCursor(cursor) {
16358
+ let value;
16359
+ try {
16360
+ value = JSON.parse(cursor);
16361
+ } catch {
16362
+ return null;
16363
+ }
16364
+ if (!Array.isArray(value) || value.length !== 4) return null;
16365
+ const [createdAt, sequence, kindRank, id] = value;
16366
+ if (typeof createdAt !== "string") return null;
16367
+ if (typeof sequence !== "number" || !Number.isFinite(sequence)) return null;
16368
+ if (kindRank !== 0 && kindRank !== 1) return null;
16369
+ if (typeof id !== "string") return null;
16370
+ return [
16371
+ createdAt,
16372
+ sequence,
16373
+ kindRank,
16374
+ id
16375
+ ];
16376
+ }
16377
+ /** A tool entry has a result when it carries one inline or the wire projection elided it. */
16378
+ function hasToolResult(e) {
16379
+ return !!e.result || (e.resultBytes ?? 0) > 0;
16380
+ }
16381
+ //#endregion
15777
16382
  //#region src/environment.ts
15778
16383
  /** Wire protocol version a client and server must agree on. */
15779
16384
  const ENVIRONMENT_PROTOCOL_VERSION = 1;
@@ -15815,6 +16420,6 @@ function isProtocolCompatible(descriptor, clientProtocolVersion) {
15815
16420
  return descriptor.protocolVersion === clientProtocolVersion;
15816
16421
  }
15817
16422
  //#endregion
15818
- 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, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, 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, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, 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, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationTitleChangedEvent, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrState, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, 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, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GlobalContextLayerRecord, GlobalContextLayerTarget, HOOK_INVENTORY, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, 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, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, 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, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestSnapshot, PullRequestState, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsRpc, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, 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 };
16423
+ 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, AgentResolution, AgentResolutionChangedEvent, AgentRuntimeSnapshot, AgentSnapshot, AgentStartedEvent, 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, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, 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, CompactBoundary, ContextEditableLayerRecord, ContextHarnessPreviews, ContextLayerDraft, ContextLayerKind, ContextLayerSaveRequest, ContextLayerSaveResponse, ContextLayerTarget, ContextLayersResponse, ContextPreviewDiagnostic, ContextPreviewHarness, ContextPreviewRequest, ContextPreviewResponse, ContextProjectSummary, ContextSyncRequest, ContextSyncResponse, ContextSyncTarget, ContextUsage, ContextWorkspaceSummary, ConversationCompactingChangedEvent, ConversationCostSummary, ConversationCreatedEvent, ConversationEvent, ConversationFilter, ConversationMovedEvent, ConversationPermissionChangedEvent, ConversationPullRequests, ConversationPullRequestsChangedEvent, ConversationResponse, ConversationResume, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedPrOutsidePipeline, DerivedPrState, DerivedWorkStart, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryPause, DirectoryPauseBy, DirectoryProviderError, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, 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, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GetAvailableEditorsRpc, GetConversationCostByWorkspaceRpc, GetConversationCostRpc, GetConversationStatsRpc, GetDiscoveredSessionRpc, GetSessionsFeedFacetsRpc, GetSnapshotRpc, GitHubQuotaBucket, GitHubQuotaCaller, GitHubQuotaCallerUsage, GitHubQuotaChangedEvent, GitHubQuotaPause, GitHubQuotaPool, GitHubQuotaSample, GitHubQuotaSnapshot, GitHubQuotaUsage, GitHubRateLimitKind, GlobalContextLayerRecord, GlobalContextLayerTarget, HARNESS_CAPABILITY_KEYS, HOOK_INVENTORY, HealthReason, HealthState, HostHealthMetrics, HostPlatform, HygieneFinding, HygienePullRequest, HygieneReport, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, 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, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, 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, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlanItemStatusChangedEvent, PlanItemsUnblockedEvent, PlanSubitemStatusChangedEvent, PlanningFailedEvent, PlanningStartedEvent, PlanningSyncEvent, PrChecksState, PrReviewState, ProjectCiHeadObservedEvent, ProjectCiSnapshot, ProjectCiSuite, ProjectCiSuiteObservedEvent, ProjectContextLayerRecord, ProjectContextLayerTarget, ProjectDeployChangedEvent, ProjectDeployPhase, ProjectDeploySnapshot, ProjectSessionTree, ProposedPlan, PullRequestKey, PullRequestLink, PullRequestLinkListing, PullRequestLinkSource, PullRequestLinkedConversation, PullRequestSnapshot, PullRequestState, RESUME_OPEN_IDS_MAX, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, SINGLETON_AGENT_IDS, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_PROPERTY_DOMAINS, TERMINAL_BACKEND_NAMES, TOOL_BODY_INLINE_MAX_BYTES, TOOL_BODY_PREVIEW_CHARS, TerminalCloseRpc, TerminalOpenRpc, TerminalOutput, TerminalResizeRpc, TerminalWriteRpc, TestPassedEvent, ThinkingState, TickMarker, TickMarkerPhase, TurnDiffFileChange, TurnDiffSummary, TurnEndAssessment, WINDOW_PINNED_OPEN_TOOLS_MAX, WIRED_HOOK_INVENTORY, WIRED_HOOK_NAMES, WS_METHODS, WaitingReason, WaitingState, 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 };
15819
16424
 
15820
16425
  //# sourceMappingURL=index.mjs.map