@overdeck/contracts 0.86.0 → 0.87.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
@@ -488,6 +488,7 @@ const AgentRuntimeSnapshot = Schema.Struct({
488
488
  lastActivity: Schema.String,
489
489
  currentTool: Schema.optional(Schema.String),
490
490
  currentToolDescription: Schema.optional(Schema.String),
491
+ toolStartedAt: Schema.optional(Schema.String),
491
492
  thinking: Schema.optional(ThinkingState),
492
493
  waiting: Schema.optional(WaitingState),
493
494
  claudeSessionId: Schema.optional(Schema.String),
@@ -691,6 +692,54 @@ const ProjectDeploySnapshot = Schema.Struct({
691
692
  /** Last lines of `logPath`. */
692
693
  logTail: Schema.optional(Schema.Array(Schema.String))
693
694
  });
695
+ /**
696
+ * PAN-5342 — the safe-shutdown drain, derived each tick by the dashboard's
697
+ * drain service and emitted in-memory only (`system.shutdown_changed`).
698
+ * The only stored shutdown state is `<OVERDECK_HOME>/shutdown.json`.
699
+ */
700
+ const ShutdownPhase = Schema.Literals([
701
+ "draining",
702
+ "waiting-for-writers",
703
+ "verifying",
704
+ "complete"
705
+ ]);
706
+ const ShutdownPendingSession = Schema.Struct({
707
+ id: Schema.String,
708
+ kind: Schema.Literals(["agent", "conversation"]),
709
+ label: Schema.String,
710
+ issueId: Schema.optional(Schema.String),
711
+ conversationName: Schema.optional(Schema.String),
712
+ /** Runtime activity, or "unknown" when the session has no runtime snapshot. */
713
+ activity: Schema.String,
714
+ tool: Schema.optional(Schema.String),
715
+ toolDescription: Schema.optional(Schema.String),
716
+ toolStartedAt: Schema.optional(Schema.String)
717
+ });
718
+ const ShutdownWriter = Schema.Struct({
719
+ kind: Schema.Literals([
720
+ "auto-merge",
721
+ "post-merge",
722
+ "verification"
723
+ ]),
724
+ label: Schema.String,
725
+ startedAt: Schema.optional(Schema.String)
726
+ });
727
+ const ShutdownSnapshot = Schema.Struct({
728
+ phase: ShutdownPhase,
729
+ startedAt: Schema.String,
730
+ deadlineAt: Schema.String,
731
+ overdue: Schema.Boolean,
732
+ reboot: Schema.Boolean,
733
+ force: Schema.Literals([
734
+ "never",
735
+ "at-deadline",
736
+ "now"
737
+ ]),
738
+ pending: Schema.Array(ShutdownPendingSession),
739
+ writers: Schema.Array(ShutdownWriter),
740
+ stoppedCount: Schema.Number,
741
+ warnings: Schema.Array(Schema.String)
742
+ });
694
743
  /** What kind of process asked for the voluntary dashboard restart. */
695
744
  const RestartGateKind = Schema.Literals([
696
745
  "deploy",
@@ -777,6 +826,7 @@ const DashboardSnapshot = Schema.Struct({
777
826
  githubQuota: Schema.optional(GitHubQuotaSnapshot),
778
827
  /** PAN-3751 — in-flight deploys keyed by project key. */
779
828
  deployByProjectKey: Schema.optional(Schema.Record(Schema.String, ProjectDeploySnapshot)),
829
+ shutdown: Schema.optional(Schema.NullOr(ShutdownSnapshot)),
780
830
  timestamp: Schema.String
781
831
  });
782
832
  const ResourceStats = Schema.Struct({ containers: Schema.Array(Schema.Struct({
@@ -1216,7 +1266,8 @@ const RagDecisionSource = Schema.Struct({
1216
1266
  "summary",
1217
1267
  "status",
1218
1268
  "sibling",
1219
- "knowledge"
1269
+ "knowledge",
1270
+ "fact"
1220
1271
  ]),
1221
1272
  scope: Schema.String,
1222
1273
  score: Schema.Number,
@@ -1242,7 +1293,8 @@ const RagDecision = Schema.Struct({
1242
1293
  observations: Schema.Number,
1243
1294
  summaries: Schema.Number,
1244
1295
  sibling: Schema.Number,
1245
- knowledgeIndex: Schema.Number
1296
+ knowledgeIndex: Schema.Number,
1297
+ facts: Schema.optional(Schema.Number)
1246
1298
  }),
1247
1299
  sources: Schema.Array(RagDecisionSource),
1248
1300
  reason: Schema.NullOr(Schema.String)
@@ -1677,6 +1729,17 @@ const ProjectDeployChangedEvent = Schema.Struct({
1677
1729
  timestamp: Schema.String,
1678
1730
  payload: Schema.Struct({ deploys: Schema.Record(Schema.String, ProjectDeploySnapshot) })
1679
1731
  });
1732
+ /**
1733
+ * PAN-5342 — the safe-shutdown drain snapshot; `null` when no drain runs.
1734
+ * The dashboard's drain service emits it in-memory only (`emitOnly`), like
1735
+ * `project.deploy_changed`: never persisted, never replayed at boot.
1736
+ */
1737
+ const SystemShutdownChangedEvent = Schema.Struct({
1738
+ type: Schema.Literal("system.shutdown_changed"),
1739
+ sequence: SequenceNumber,
1740
+ timestamp: Schema.String,
1741
+ payload: Schema.Struct({ shutdown: Schema.NullOr(ShutdownSnapshot) })
1742
+ });
1680
1743
  /** Replaces socket.io `agents:changed` (event: 'started') */
1681
1744
  const AgentStartedEvent = Schema.Struct({
1682
1745
  type: Schema.Literal("agent.started"),
@@ -2996,6 +3059,7 @@ const DomainEvent = Schema.Union([
2996
3059
  RestartGateChangedEvent,
2997
3060
  GitHubQuotaChangedEvent,
2998
3061
  ProjectDeployChangedEvent,
3062
+ SystemShutdownChangedEvent,
2999
3063
  AgentCreatedEvent,
3000
3064
  AgentEnrichmentChangedEvent,
3001
3065
  AgentStartedEvent,
@@ -3346,6 +3410,38 @@ function compareEffort(a, b) {
3346
3410
  return EFFORT_LEVELS.indexOf(a) - EFFORT_LEVELS.indexOf(b);
3347
3411
  }
3348
3412
  //#endregion
3413
+ //#region src/ui-commands.ts
3414
+ /** The server's answer for a path: which deck, root and file or folder to show. */
3415
+ const UiOpenResolution = Schema.Struct({
3416
+ /** The registered project key (`projects.yaml`), as root ids use it. */
3417
+ projectKey: Schema.String,
3418
+ /** The deck the dashboard keys this project by: its name, or its key when it has none (PAN-5398). */
3419
+ deckKey: Schema.String,
3420
+ rootId: Schema.String,
3421
+ /** POSIX path relative to the root folder; `''` for the root itself. */
3422
+ relPath: Schema.String,
3423
+ kind: Schema.Literals(["file", "dir"]),
3424
+ line: Schema.optional(Schema.Number),
3425
+ column: Schema.optional(Schema.Number)
3426
+ });
3427
+ /** The deck key the project switcher selects for a registered project: its name, or its key (PAN-5398). */
3428
+ function projectDeckKey(project) {
3429
+ return project.name ?? project.key;
3430
+ }
3431
+ /** The sentence `pan open` prints and the dashboard toasts after an open (PAN-5398). */
3432
+ function uiOpenSummary(resolution) {
3433
+ const { deckKey, rootId, relPath } = resolution;
3434
+ if (relPath) return `Opened ${relPath} in ${deckKey}`;
3435
+ if (rootId.startsWith("issue:")) return `Opened the ${rootId.slice(6)} workspace in ${deckKey}`;
3436
+ return `Opened root folder in ${deckKey}`;
3437
+ }
3438
+ /** One UI command. `id` is a random UUID that tabs use to dedupe handling. */
3439
+ const UiCommand = Schema.Struct({
3440
+ id: Schema.String,
3441
+ type: Schema.Literal("open-path"),
3442
+ resolution: UiOpenResolution
3443
+ });
3444
+ //#endregion
3349
3445
  //#region src/explorer.ts
3350
3446
  /** "project:<key>", "issue:<id>" or "workspace:<id>". */
3351
3447
  const ExplorerRootId = Schema.String;
@@ -3556,6 +3652,7 @@ const WS_METHODS = {
3556
3652
  subscribeAgentOutput: "pan.subscribeAgentOutput",
3557
3653
  subscribeConversationMessages: "pan.subscribeConversationMessages",
3558
3654
  subscribeProjectSessionTree: "pan.subscribeProjectSessionTree",
3655
+ subscribeUiCommands: "pan.subscribeUiCommands",
3559
3656
  getSnapshot: "pan.getSnapshot",
3560
3657
  replayEvents: "pan.replayEvents",
3561
3658
  readWorkspaceFile: "pan.readWorkspaceFile",
@@ -3789,6 +3886,12 @@ const SubscribeDomainEventsRpc = Rpc.make(WS_METHODS.subscribeDomainEvents, {
3789
3886
  success: DomainEvent,
3790
3887
  stream: true
3791
3888
  });
3889
+ /** 1a. Subscribe to transient UI commands such as "open this path" (stream, PAN-5349) */
3890
+ const SubscribeUiCommandsRpc = Rpc.make(WS_METHODS.subscribeUiCommands, {
3891
+ payload: Schema.Struct({}),
3892
+ success: UiCommand,
3893
+ stream: true
3894
+ });
3792
3895
  /** 1b. Subscribe to the live domain event stream for one issue (stream) */
3793
3896
  const SubscribeIssueEventsRpc = Rpc.make(WS_METHODS.subscribeIssueEvents, {
3794
3897
  payload: Schema.Struct({ issueId: IssueId }),
@@ -4277,7 +4380,7 @@ const GetConversationStatsRpc = Rpc.make(WS_METHODS.getConversationStats, {
4277
4380
  error: PanRpcError
4278
4381
  });
4279
4382
  /** All Overdeck WebSocket RPC methods */
4280
- const PanRpcGroup = RpcGroup.make(SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeTerminalRpc, SubscribeAgentOutputRpc, GetSnapshotRpc, ReplayEventsRpc, ReadWorkspaceFileRpc, ReadFileAtPathRpc, WriteFileAtPathRpc, ResolveFilePathExistsRpc, ExplorerListDirRpc, ExplorerReadFileRpc, ExplorerWriteFileRpc, ExplorerCreateRpc, ExplorerRenameRpc, ExplorerCopyRpc, ExplorerDeleteRpc, ExplorerRestoreRpc, ExplorerGitStatusRpc, ExplorerGitStageRpc, ExplorerSearchFilesRpc, ExplorerSearchContentRpc, ExplorerWatchRpc, ExplorerBeginEditRpc, TerminalOpenRpc, TerminalWriteRpc, TerminalResizeRpc, TerminalCloseRpc, StartPlanningRpc, StartAgentRpc, DeepWipeRpc, SendTerminalInputRpc, ResizeTerminalRpc, SubscribeConversationMessagesRpc, SubscribeProjectSessionTreeRpc, ShellOpenInEditorRpc, GetAvailableEditorsRpc, ShellOpenInBrowserRpc, GetAvailableBrowsersRpc, ScanConversationsRpc, SearchConversationsRpc, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, GetSessionsFeedFacetsRpc, GetDiscoveredSessionRpc, EnrichSessionsRpc, EmbedSessionsRpc, GetConversationCostRpc, GetConversationCostByWorkspaceRpc, GetConversationStatsRpc);
4383
+ const PanRpcGroup = RpcGroup.make(SubscribeDomainEventsRpc, SubscribeUiCommandsRpc, SubscribeIssueEventsRpc, SubscribeTerminalRpc, SubscribeAgentOutputRpc, GetSnapshotRpc, ReplayEventsRpc, ReadWorkspaceFileRpc, ReadFileAtPathRpc, WriteFileAtPathRpc, ResolveFilePathExistsRpc, ExplorerListDirRpc, ExplorerReadFileRpc, ExplorerWriteFileRpc, ExplorerCreateRpc, ExplorerRenameRpc, ExplorerCopyRpc, ExplorerDeleteRpc, ExplorerRestoreRpc, ExplorerGitStatusRpc, ExplorerGitStageRpc, ExplorerSearchFilesRpc, ExplorerSearchContentRpc, ExplorerWatchRpc, ExplorerBeginEditRpc, TerminalOpenRpc, TerminalWriteRpc, TerminalResizeRpc, TerminalCloseRpc, StartPlanningRpc, StartAgentRpc, DeepWipeRpc, SendTerminalInputRpc, ResizeTerminalRpc, SubscribeConversationMessagesRpc, SubscribeProjectSessionTreeRpc, ShellOpenInEditorRpc, GetAvailableEditorsRpc, ShellOpenInBrowserRpc, GetAvailableBrowsersRpc, ScanConversationsRpc, SearchConversationsRpc, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, GetSessionsFeedFacetsRpc, GetDiscoveredSessionRpc, EnrichSessionsRpc, EmbedSessionsRpc, GetConversationCostRpc, GetConversationCostByWorkspaceRpc, GetConversationStatsRpc);
4281
4384
  //#endregion
4282
4385
  //#region src/agent-runtime-merge.ts
4283
4386
  function defaultRuntimeSnapshot(agentId, timestamp, sequence) {
@@ -4365,6 +4468,7 @@ const INITIAL_READ_MODEL_STATE = {
4365
4468
  restartGate: null,
4366
4469
  githubQuota: null,
4367
4470
  deployByProjectKey: {},
4471
+ shutdown: null,
4368
4472
  agentIdBySessionId: {},
4369
4473
  dashboardLifecycle: {
4370
4474
  active: false,
@@ -4473,6 +4577,7 @@ function syncSnapshot(state, snapshot) {
4473
4577
  restartGate: snapshot.restartGate ?? state.restartGate,
4474
4578
  githubQuota: snapshot.githubQuota ?? state.githubQuota,
4475
4579
  deployByProjectKey: snapshot.deployByProjectKey ?? state.deployByProjectKey,
4580
+ shutdown: snapshot.shutdown ?? null,
4476
4581
  agentIdBySessionId
4477
4582
  };
4478
4583
  }
@@ -4578,6 +4683,7 @@ function applyEvent(state, event) {
4578
4683
  ...prevRuntime,
4579
4684
  activity: "stopped",
4580
4685
  currentTool: void 0,
4686
+ toolStartedAt: void 0,
4581
4687
  currentToolDescription: void 0,
4582
4688
  thinking: void 0,
4583
4689
  waiting: void 0,
@@ -4724,6 +4830,7 @@ function applyEvent(state, event) {
4724
4830
  ...prevRuntime,
4725
4831
  activity: "stopped",
4726
4832
  currentTool: void 0,
4833
+ toolStartedAt: void 0,
4727
4834
  currentToolDescription: void 0,
4728
4835
  thinking: void 0,
4729
4836
  waiting: void 0,
@@ -4904,6 +5011,11 @@ function applyEvent(state, event) {
4904
5011
  sequence: Math.max(state.sequence, event.sequence),
4905
5012
  deployByProjectKey: event.payload.deploys
4906
5013
  };
5014
+ case "system.shutdown_changed": return {
5015
+ ...state,
5016
+ sequence: Math.max(state.sequence, event.sequence),
5017
+ shutdown: event.payload.shutdown
5018
+ };
4907
5019
  case "resources.updated": return {
4908
5020
  ...state,
4909
5021
  sequence: Math.max(state.sequence, event.sequence),
@@ -5152,13 +5264,14 @@ function applyEvent(state, event) {
5152
5264
  sequence: Math.max(state.sequence, event.sequence)
5153
5265
  };
5154
5266
  case "agent.activity_changed": {
5155
- const { agentId, activity, currentTool, toolDescription } = event.payload;
5267
+ const { agentId, activity, currentTool, toolDescription, hookName } = event.payload;
5156
5268
  const prev = state.agentRuntimeById[agentId] ?? defaultRuntimeSnapshot(agentId, event.timestamp, event.sequence);
5157
5269
  const next = {
5158
5270
  ...prev,
5159
5271
  activity,
5160
5272
  currentTool: activity === "working" ? currentTool : void 0,
5161
5273
  currentToolDescription: activity === "working" ? toolDescription : void 0,
5274
+ toolStartedAt: activity !== "working" ? void 0 : hookName === "PreToolUse" ? event.timestamp : hookName === "PostToolUse" ? void 0 : prev.toolStartedAt,
5162
5275
  thinking: activity === "thinking" ? prev.thinking : void 0,
5163
5276
  waiting: activity === "waiting" ? prev.waiting : void 0,
5164
5277
  channelReply: activity === "working" ? void 0 : prev.channelReply,
@@ -5180,6 +5293,7 @@ function applyEvent(state, event) {
5180
5293
  ...state.agentRuntimeById[agentId] ?? defaultRuntimeSnapshot(agentId, event.timestamp, event.sequence),
5181
5294
  activity: "thinking",
5182
5295
  currentTool: void 0,
5296
+ toolStartedAt: void 0,
5183
5297
  currentToolDescription: void 0,
5184
5298
  thinking: {
5185
5299
  since: event.timestamp,
@@ -5227,6 +5341,7 @@ function applyEvent(state, event) {
5227
5341
  ...state.agentRuntimeById[agentId] ?? defaultRuntimeSnapshot(agentId, event.timestamp, event.sequence),
5228
5342
  activity: "waiting",
5229
5343
  currentTool: void 0,
5344
+ toolStartedAt: void 0,
5230
5345
  currentToolDescription: void 0,
5231
5346
  thinking: void 0,
5232
5347
  waiting: {
@@ -6723,7 +6838,8 @@ const HARNESS_CAPABILITY_KEYS = [
6723
6838
  "answersQuestionByMessage",
6724
6839
  "askAnswerDelivery",
6725
6840
  "runsOnFlyMachine",
6726
- "overdeckMcp"
6841
+ "overdeckMcp",
6842
+ "skillSlashCommands"
6727
6843
  ];
6728
6844
  const CLAUDE_CODE_CAPABILITIES = {
6729
6845
  contextChannel: "append-system-prompt-file",
@@ -6747,7 +6863,8 @@ const CLAUDE_CODE_CAPABILITIES = {
6747
6863
  answersQuestionByMessage: true,
6748
6864
  askAnswerDelivery: "message",
6749
6865
  runsOnFlyMachine: true,
6750
- overdeckMcp: true
6866
+ overdeckMcp: true,
6867
+ skillSlashCommands: true
6751
6868
  };
6752
6869
  const OHMYPI_CAPABILITIES = {
6753
6870
  contextChannel: "append-system-prompt",
@@ -6771,7 +6888,8 @@ const OHMYPI_CAPABILITIES = {
6771
6888
  answersQuestionByMessage: false,
6772
6889
  askAnswerDelivery: "pi-ask-modal",
6773
6890
  runsOnFlyMachine: false,
6774
- overdeckMcp: false
6891
+ overdeckMcp: false,
6892
+ skillSlashCommands: false
6775
6893
  };
6776
6894
  /**
6777
6895
  * Pi Coding Agent (PAN-5212). Same launch channel and transcript handling as
@@ -6807,7 +6925,8 @@ const CODEX_CAPABILITIES = {
6807
6925
  answersQuestionByMessage: false,
6808
6926
  askAnswerDelivery: "codex-approval",
6809
6927
  runsOnFlyMachine: true,
6810
- overdeckMcp: true
6928
+ overdeckMcp: true,
6929
+ skillSlashCommands: false
6811
6930
  };
6812
6931
  const ACP_CAPABILITIES = {
6813
6932
  contextChannel: "acp-initial-context",
@@ -6831,7 +6950,8 @@ const ACP_CAPABILITIES = {
6831
6950
  answersQuestionByMessage: false,
6832
6951
  askAnswerDelivery: "message",
6833
6952
  runsOnFlyMachine: false,
6834
- overdeckMcp: true
6953
+ overdeckMcp: true,
6954
+ skillSlashCommands: false
6835
6955
  };
6836
6956
  const KIMI_CODE_CAPABILITIES = {
6837
6957
  contextChannel: "initial-message-envelope",
@@ -6855,7 +6975,8 @@ const KIMI_CODE_CAPABILITIES = {
6855
6975
  answersQuestionByMessage: false,
6856
6976
  askAnswerDelivery: "message",
6857
6977
  runsOnFlyMachine: false,
6858
- overdeckMcp: false
6978
+ overdeckMcp: false,
6979
+ skillSlashCommands: false
6859
6980
  };
6860
6981
  const OPENCODE_CAPABILITIES = {
6861
6982
  contextChannel: "acp-initial-context",
@@ -6879,7 +7000,8 @@ const OPENCODE_CAPABILITIES = {
6879
7000
  answersQuestionByMessage: false,
6880
7001
  askAnswerDelivery: "message",
6881
7002
  runsOnFlyMachine: false,
6882
- overdeckMcp: true
7003
+ overdeckMcp: true,
7004
+ skillSlashCommands: false
6883
7005
  };
6884
7006
  const GROK_CAPABILITIES = {
6885
7007
  ...OPENCODE_CAPABILITIES,
@@ -6910,7 +7032,8 @@ const MUSE_CAPABILITIES = {
6910
7032
  answersQuestionByMessage: false,
6911
7033
  askAnswerDelivery: "message",
6912
7034
  runsOnFlyMachine: false,
6913
- overdeckMcp: false
7035
+ overdeckMcp: false,
7036
+ skillSlashCommands: false
6914
7037
  };
6915
7038
  const PRIME_AGENT_CAPABILITIES = {
6916
7039
  contextChannel: "prime-agent-append-system-prompt",
@@ -6934,7 +7057,8 @@ const PRIME_AGENT_CAPABILITIES = {
6934
7057
  answersQuestionByMessage: false,
6935
7058
  askAnswerDelivery: "message",
6936
7059
  runsOnFlyMachine: false,
6937
- overdeckMcp: false
7060
+ overdeckMcp: false,
7061
+ skillSlashCommands: false
6938
7062
  };
6939
7063
  //#endregion
6940
7064
  //#region src/harness-behavior.ts
@@ -7517,6 +7641,7 @@ const TELEMETRY_CLIENT_ROUTES = [
7517
7641
  "/api/agents/:id/message",
7518
7642
  "/api/agents/:id/permissions/:requestId/respond",
7519
7643
  "/api/agents/:id/plan-action",
7644
+ "/api/agents/:id/send-now",
7520
7645
  "/api/agents/:id/tell",
7521
7646
  "/api/backend-restart-recovery",
7522
7647
  "/api/backend-restart-recovery/dismiss",
@@ -7532,6 +7657,8 @@ const TELEMETRY_CLIENT_ROUTES = [
7532
7657
  "/api/conversations/:name/about",
7533
7658
  "/api/conversations/:name/attachments/:file",
7534
7659
  "/api/conversations/:name/bookmarks",
7660
+ "/api/conversations/:name/changes",
7661
+ "/api/conversations/:name/changes/lines",
7535
7662
  "/api/conversations/:name/compact",
7536
7663
  "/api/conversations/:name/delete-image",
7537
7664
  "/api/conversations/:name/diffs",
@@ -7554,6 +7681,7 @@ const TELEMETRY_CLIENT_ROUTES = [
7554
7681
  "/api/conversations/:name/scheduled-messages/:id",
7555
7682
  "/api/conversations/:name/schedules",
7556
7683
  "/api/conversations/:name/schedules/:id",
7684
+ "/api/conversations/:name/send-now",
7557
7685
  "/api/conversations/:name/stop",
7558
7686
  "/api/conversations/:name/switch-model",
7559
7687
  "/api/conversations/:name/thinking-level",
@@ -7565,6 +7693,7 @@ const TELEMETRY_CLIENT_ROUTES = [
7565
7693
  "/api/disk-alert",
7566
7694
  "/api/explorer/download",
7567
7695
  "/api/explorer/edit-workspaces/:workspaceId",
7696
+ "/api/explorer/edit-workspaces/:workspaceId/changes",
7568
7697
  "/api/explorer/edit-workspaces/:workspaceId/discard",
7569
7698
  "/api/explorer/edit-workspaces/:workspaceId/merge",
7570
7699
  "/api/explorer/edit-workspaces/:workspaceId/pr",
@@ -7639,7 +7768,13 @@ const TELEMETRY_CLIENT_ROUTES = [
7639
7768
  "/api/self/workers/:id",
7640
7769
  "/api/self/workers/:id/wait",
7641
7770
  "/api/settings/resolved",
7771
+ "/api/shutdown",
7772
+ "/api/shutdown/cancel",
7773
+ "/api/shutdown/force-all",
7774
+ "/api/shutdown/force-stop",
7775
+ "/api/shutdown/preview",
7642
7776
  "/api/telemetry/client-config",
7777
+ "/api/ui/open",
7643
7778
  "/api/versions/self",
7644
7779
  "/api/versions/self/update",
7645
7780
  "/api/workers",
@@ -7751,6 +7886,7 @@ const TELEMETRY_CLIENT_ROUTE_AREAS = [
7751
7886
  "share-probe",
7752
7887
  "shares",
7753
7888
  "show",
7889
+ "shutdown",
7754
7890
  "skills",
7755
7891
  "specialists",
7756
7892
  "system",
@@ -7762,6 +7898,7 @@ const TELEMETRY_CLIENT_ROUTE_AREAS = [
7762
7898
  "trackers",
7763
7899
  "triggers",
7764
7900
  "tts",
7901
+ "ui",
7765
7902
  "update",
7766
7903
  "vault",
7767
7904
  "velocity",
@@ -10194,20 +10331,70 @@ const COMPOSER_COMMAND_MANIFEST = [
10194
10331
  "id": "pan-open",
10195
10332
  "path": ["open"],
10196
10333
  "display": "/pan open",
10197
- "description": "Open an issue workspace in your preferred editor",
10334
+ "description": "Open a file, folder or issue workspace in Overdeck",
10198
10335
  "args": [{
10199
- "name": "id",
10336
+ "name": "target",
10200
10337
  "required": true,
10201
10338
  "variadic": false
10202
10339
  }],
10340
+ "options": [
10341
+ {
10342
+ "flags": "-e, --editor [editor]",
10343
+ "description": "Open in an external editor instead (cursor, vscode, zed, file-manager, …)",
10344
+ "required": false,
10345
+ "valueHint": "editor"
10346
+ },
10347
+ {
10348
+ "flags": "--line <n>",
10349
+ "description": "Open a file at this line",
10350
+ "required": true,
10351
+ "valueHint": "n"
10352
+ },
10353
+ {
10354
+ "flags": "--column <n>",
10355
+ "description": "Open a file at this column",
10356
+ "required": true,
10357
+ "valueHint": "n"
10358
+ },
10359
+ {
10360
+ "flags": "--new-tab",
10361
+ "description": "Open in a new browser tab instead of the focused dashboard tab",
10362
+ "required": false,
10363
+ "valueHint": null
10364
+ }
10365
+ ],
10366
+ "aliases": [],
10367
+ "category": "Observation"
10368
+ },
10369
+ {
10370
+ "id": "pan-integrate",
10371
+ "path": ["integrate"],
10372
+ "display": "/pan integrate",
10373
+ "description": "Add Overdeck to other tools on this machine",
10374
+ "args": [],
10375
+ "options": [],
10376
+ "aliases": [],
10377
+ "category": "Core"
10378
+ },
10379
+ {
10380
+ "id": "pan-integrate-file-manager",
10381
+ "path": ["integrate", "file-manager"],
10382
+ "display": "/pan integrate file-manager",
10383
+ "description": "Add \"Open in Overdeck\" to the file manager's right-click menu",
10384
+ "args": [],
10203
10385
  "options": [{
10204
- "flags": "-e, --editor <editor>",
10205
- "description": "Editor to use (cursor, windsurf, vscode, zed, etc.)",
10206
- "required": true,
10207
- "valueHint": "editor"
10386
+ "flags": "--remove",
10387
+ "description": "Remove the entries this command added",
10388
+ "required": false,
10389
+ "valueHint": null
10390
+ }, {
10391
+ "flags": "--dry-run",
10392
+ "description": "Print what would be written, deleted or run, and change nothing",
10393
+ "required": false,
10394
+ "valueHint": null
10208
10395
  }],
10209
10396
  "aliases": [],
10210
- "category": "Observation"
10397
+ "category": "Core"
10211
10398
  },
10212
10399
  {
10213
10400
  "id": "pan-review",
@@ -13781,6 +13968,12 @@ const COMPOSER_COMMAND_MANIFEST = [
13781
13968
  "required": false,
13782
13969
  "valueHint": null
13783
13970
  },
13971
+ {
13972
+ "flags": "--all",
13973
+ "description": "List every fact, including superseded and retired ones",
13974
+ "required": false,
13975
+ "valueHint": null
13976
+ },
13784
13977
  {
13785
13978
  "flags": "--project <key>",
13786
13979
  "description": "Project key (defaults to the project owning the cwd)",
@@ -13862,6 +14055,24 @@ const COMPOSER_COMMAND_MANIFEST = [
13862
14055
  "required": true,
13863
14056
  "valueHint": "a,b"
13864
14057
  },
14058
+ {
14059
+ "flags": "--always",
14060
+ "description": "List this fact first in every launch index and leave it out of prompt-time retrieval",
14061
+ "required": false,
14062
+ "valueHint": null
14063
+ },
14064
+ {
14065
+ "flags": "--source <text>",
14066
+ "description": "Who or what made this rule, and when (for example \"twitch:alice 2026-11-10 14:20\")",
14067
+ "required": true,
14068
+ "valueHint": "text"
14069
+ },
14070
+ {
14071
+ "flags": "--supersedes <ids>",
14072
+ "description": "Comma-separated ids of facts this one replaces; marks them superseded (same store)",
14073
+ "required": true,
14074
+ "valueHint": "ids"
14075
+ },
13865
14076
  {
13866
14077
  "flags": "--project <key>",
13867
14078
  "description": "Project key (defaults to the project owning the cwd)",
@@ -13937,12 +14148,36 @@ const COMPOSER_COMMAND_MANIFEST = [
13937
14148
  "required": true,
13938
14149
  "valueHint": "a,b"
13939
14150
  },
14151
+ {
14152
+ "flags": "--source <text>",
14153
+ "description": "Replace who or what made this rule, and when",
14154
+ "required": true,
14155
+ "valueHint": "text"
14156
+ },
14157
+ {
14158
+ "flags": "--supersedes <ids>",
14159
+ "description": "Comma-separated ids of facts this one replaces; marks them superseded (same store)",
14160
+ "required": true,
14161
+ "valueHint": "ids"
14162
+ },
13940
14163
  {
13941
14164
  "flags": "--clear-review",
13942
14165
  "description": "Remove the review marker, re-activating the fact",
13943
14166
  "required": false,
13944
14167
  "valueHint": null
13945
14168
  },
14169
+ {
14170
+ "flags": "--always",
14171
+ "description": "List this fact first in every launch index and leave it out of prompt-time retrieval",
14172
+ "required": false,
14173
+ "valueHint": null
14174
+ },
14175
+ {
14176
+ "flags": "--no-always",
14177
+ "description": "Clear the always flag",
14178
+ "required": false,
14179
+ "valueHint": null
14180
+ },
13946
14181
  {
13947
14182
  "flags": "--project <key>",
13948
14183
  "description": "Project key (defaults to the project owning the cwd)",
@@ -14010,6 +14245,59 @@ const COMPOSER_COMMAND_MANIFEST = [
14010
14245
  "aliases": [],
14011
14246
  "category": "Observation"
14012
14247
  },
14248
+ {
14249
+ "id": "pan-memory-lint",
14250
+ "path": ["memory", "lint"],
14251
+ "display": "/pan memory lint",
14252
+ "description": "Report duplicate, contradicting and badly linked memory facts (advisory; never edits)",
14253
+ "args": [],
14254
+ "options": [
14255
+ {
14256
+ "flags": "--threshold <n>",
14257
+ "description": "Duplicate similarity threshold, 0-1 (default depends on the method)",
14258
+ "required": true,
14259
+ "valueHint": "n"
14260
+ },
14261
+ {
14262
+ "flags": "--no-llm",
14263
+ "description": "Skip the LLM contradiction pass",
14264
+ "required": false,
14265
+ "valueHint": null
14266
+ },
14267
+ {
14268
+ "flags": "--project <key>",
14269
+ "description": "Project key (defaults to the project owning the cwd)",
14270
+ "required": true,
14271
+ "valueHint": "key"
14272
+ },
14273
+ {
14274
+ "flags": "--user",
14275
+ "description": "Lint the operator store (travels with you; synced when set up)",
14276
+ "required": false,
14277
+ "valueHint": null
14278
+ },
14279
+ {
14280
+ "flags": "--machine",
14281
+ "description": "Lint the machine store (this machine only)",
14282
+ "required": false,
14283
+ "valueHint": null
14284
+ },
14285
+ {
14286
+ "flags": "--here",
14287
+ "description": "Lint the cwd checkout's store instead of the primary checkout",
14288
+ "required": false,
14289
+ "valueHint": null
14290
+ },
14291
+ {
14292
+ "flags": "--json",
14293
+ "description": "Output JSON",
14294
+ "required": false,
14295
+ "valueHint": null
14296
+ }
14297
+ ],
14298
+ "aliases": [],
14299
+ "category": "Observation"
14300
+ },
14013
14301
  {
14014
14302
  "id": "pan-memory-sync",
14015
14303
  "path": ["memory", "sync"],
@@ -14039,6 +14327,26 @@ const COMPOSER_COMMAND_MANIFEST = [
14039
14327
  "aliases": [],
14040
14328
  "category": "Observation"
14041
14329
  },
14330
+ {
14331
+ "id": "pan-memory-reindex",
14332
+ "path": ["memory", "reindex"],
14333
+ "display": "/pan memory reindex",
14334
+ "description": "Refresh the fact vector cache for the project, operator and machine stores",
14335
+ "args": [],
14336
+ "options": [{
14337
+ "flags": "--project <key>",
14338
+ "description": "Project key (defaults to the project owning the cwd)",
14339
+ "required": true,
14340
+ "valueHint": "key"
14341
+ }, {
14342
+ "flags": "--json",
14343
+ "description": "Output JSON",
14344
+ "required": false,
14345
+ "valueHint": null
14346
+ }],
14347
+ "aliases": [],
14348
+ "category": "Observation"
14349
+ },
14042
14350
  {
14043
14351
  "id": "pan-briefing",
14044
14352
  "path": ["briefing"],
@@ -16547,6 +16855,18 @@ const COMPOSER_COMMAND_MANIFEST = [
16547
16855
  "description": "Skip Ollama local-model detection and optional gemma4:12b pull",
16548
16856
  "required": false,
16549
16857
  "valueHint": null
16858
+ },
16859
+ {
16860
+ "flags": "--file-manager-integration",
16861
+ "description": "Add \"Open in Overdeck\" to the file manager's right-click menu without asking",
16862
+ "required": false,
16863
+ "valueHint": null
16864
+ },
16865
+ {
16866
+ "flags": "--skip-file-manager-integration",
16867
+ "description": "Neither ask about nor add the file-manager integration",
16868
+ "required": false,
16869
+ "valueHint": null
16550
16870
  }
16551
16871
  ],
16552
16872
  "aliases": [],
@@ -18140,6 +18460,53 @@ const COMPOSER_COMMAND_MANIFEST = [
18140
18460
  "aliases": [],
18141
18461
  "category": "Core"
18142
18462
  },
18463
+ {
18464
+ "id": "pan-shutdown",
18465
+ "path": ["shutdown"],
18466
+ "display": "/pan shutdown",
18467
+ "description": "Drain Overdeck safely: let each agent finish its current tool call, stop everything, then report safe to reboot",
18468
+ "args": [],
18469
+ "options": [
18470
+ {
18471
+ "flags": "--deadline <seconds>",
18472
+ "description": "Seconds before stragglers are listed (default 120, 10–3600)",
18473
+ "required": true,
18474
+ "valueHint": "seconds"
18475
+ },
18476
+ {
18477
+ "flags": "--reboot",
18478
+ "description": "Reboot the machine when the drain completes (Linux)",
18479
+ "required": false,
18480
+ "valueHint": null
18481
+ },
18482
+ {
18483
+ "flags": "--force",
18484
+ "description": "At the deadline, stop stragglers mid-tool (on a running drain: stop them now)",
18485
+ "required": false,
18486
+ "valueHint": null
18487
+ },
18488
+ {
18489
+ "flags": "--cancel",
18490
+ "description": "Cancel a running drain; stopped sessions are offered for resume",
18491
+ "required": false,
18492
+ "valueHint": null
18493
+ },
18494
+ {
18495
+ "flags": "--status",
18496
+ "description": "Print the current drain and exit",
18497
+ "required": false,
18498
+ "valueHint": null
18499
+ },
18500
+ {
18501
+ "flags": "--no-wait",
18502
+ "description": "Start the drain and exit without following it",
18503
+ "required": false,
18504
+ "valueHint": null
18505
+ }
18506
+ ],
18507
+ "aliases": [],
18508
+ "category": "Core"
18509
+ },
18143
18510
  {
18144
18511
  "id": "pan-project",
18145
18512
  "path": ["project"],
@@ -20795,6 +21162,76 @@ function presetToCron(preset) {
20795
21162
  }
20796
21163
  }
20797
21164
  //#endregion
20798
- export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, 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, BROWSERS, BUILTIN_COLOR_THEMES, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BrowserIdSchema, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PROTOCOL_VERSION, 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, ConversationSchedulesChangedEvent, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedMergedSlice, DerivedPrOutsidePipeline, DerivedPrState, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, FlywheelActivity, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBlocker, FlywheelBlockerKind, FlywheelBugRateCriterion, FlywheelCardAgent, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHealth, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelOwner, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelShipped, FlywheelShippedEvent, FlywheelShippedMerge, FlywheelStage, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, 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, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, InboundMachineView, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, LoadSample, 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, MachineLinkView, MachinePlacementMode, MachineProject, MachineVersionsReportSchema, MachinesResponse, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, 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, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatusView, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RouteKind, RouteSource, SCHEDULE_PRESET_DAYS, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, SharedChannelReader, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, 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_INSTALL_KINDS, 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, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, needsYouItemKey, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, presenceForPaneState, presetToCron, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolveTrackerIssueId, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
21165
+ //#region src/path-root.ts
21166
+ function trimSlash(path) {
21167
+ return path.length > 1 ? path.replace(/\/+$/, "") : path;
21168
+ }
21169
+ function isAtOrUnder(path, base) {
21170
+ return path === base || path.startsWith(`${base}/`);
21171
+ }
21172
+ /** The longest project path at or above `path`, or null. */
21173
+ function owningProject(path, projects) {
21174
+ let best = null;
21175
+ for (const project of projects) {
21176
+ const base = trimSlash(project.path);
21177
+ if (isAtOrUnder(path, base) && (!best || base.length > best.length)) best = {
21178
+ project,
21179
+ length: base.length
21180
+ };
21181
+ }
21182
+ return best?.project ?? null;
21183
+ }
21184
+ /**
21185
+ * Map an absolute path to its explorer root, first match wins:
21186
+ * 1. a scratch workspace path containing it (longest first) → `workspace:<id>`;
21187
+ * 2. `<projectPath>/workspaces/feature-<x>/…` → `issue:<X>`;
21188
+ * 3. any other folder under `<projectPath>/workspaces/` → `no-root`;
21189
+ * 4. the longest project path containing it → `project:<key>`;
21190
+ * 5. otherwise `outside`.
21191
+ */
21192
+ function resolvePathRoot(absPath, projects, scratch) {
21193
+ const path = trimSlash(absPath);
21194
+ let bestScratch = null;
21195
+ for (const row of scratch) {
21196
+ const base = trimSlash(row.path);
21197
+ if (isAtOrUnder(path, base) && (!bestScratch || base.length > bestScratch.length)) bestScratch = {
21198
+ row,
21199
+ length: base.length
21200
+ };
21201
+ }
21202
+ if (bestScratch) return {
21203
+ kind: "root",
21204
+ projectKey: owningProject(path, projects)?.key ?? "",
21205
+ rootId: `workspace:${bestScratch.row.id}`
21206
+ };
21207
+ let bestWorkspaces = null;
21208
+ for (const project of projects) {
21209
+ const dir = `${trimSlash(project.path)}/workspaces`;
21210
+ if (path.startsWith(`${dir}/`) && (!bestWorkspaces || dir.length > bestWorkspaces.dir.length)) bestWorkspaces = {
21211
+ project,
21212
+ dir
21213
+ };
21214
+ }
21215
+ if (bestWorkspaces) {
21216
+ const first = path.slice(bestWorkspaces.dir.length + 1).split("/")[0] ?? "";
21217
+ const slug = first.startsWith("feature-") ? first.slice(8) : "";
21218
+ return slug ? {
21219
+ kind: "root",
21220
+ projectKey: bestWorkspaces.project.key,
21221
+ rootId: `issue:${slug.toUpperCase()}`
21222
+ } : {
21223
+ kind: "no-root",
21224
+ projectKey: bestWorkspaces.project.key
21225
+ };
21226
+ }
21227
+ const project = owningProject(path, projects);
21228
+ return project ? {
21229
+ kind: "root",
21230
+ projectKey: project.key,
21231
+ rootId: `project:${project.key}`
21232
+ } : { kind: "outside" };
21233
+ }
21234
+ //#endregion
21235
+ export { ACP_BEHAVIOR, ACP_CAPABILITIES, ACTIVITY_COUNT_MAX, ACTIVITY_PUSH_RATE_PER_MINUTE, ACTIVITY_REFRESH_MS, ACTIVITY_STALE_MS, AGENT_ROLES, APPROVAL_TTL_MS, Activity, ActivityDetailedEvent, ActivityEntryEvent, ActivityTtsEvent, ActivityUpdatedEvent, AdmissionState, AdvertisedEndpoint, 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, BROWSERS, BUILTIN_COLOR_THEMES, BackendPane, BackendPaneChangedEvent, BackendPaneRemovedEvent, BeadsFreshnessChangedEvent, BrowserIdSchema, CHANNEL_REPLY_KIND_VALUES, CLAUDE_CODE_BEHAVIOR, CLAUDE_CODE_CAPABILITIES, CLIENT_LIMIT, CLIENT_LIMIT_MESSAGE, CODEX_BEHAVIOR, CODEX_CAPABILITIES, COLOR_THEME_ID_RE, COMPANION_TERMINAL_CLOSE_BODY_KEYS, COMPANION_TERMINAL_OPEN_BODY_KEYS, COMPOSER_COMMAND_INSERT_OVERRIDES, COMPOSER_COMMAND_MANIFEST, COMPOSER_COMMAND_VARIANTS, CONNECTOR_LIMIT, CONNECTOR_LIMIT_MESSAGE, CONNECTOR_PAIR_LINK_PREFIX, CONNECTOR_PAIR_LINK_VERSION, CONNECTOR_PAIR_MACHINE_LABEL_MAX, CONNECTOR_PAIR_SCHEME, CONNECT_CLOSE_CODES, CONNECT_PROTOCOL_VERSION, 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, ConversationSchedulesChangedEvent, ConversationTitleChangedEvent, ConversationWindow, CostEventRecordedEvent, DEFAULT_EFFORT, DEFAULT_MAX_MEMORY_OBSERVATIONS_PER_ISSUE, DEFAULT_MAX_TURN_DIFF_SUMMARIES_PER_AGENT, DEFAULT_PHONE_NOTIFICATION_PREFERENCES, DashboardLifecycleCompletedEvent, DashboardLifecycleFailedEvent, DashboardLifecycleStartedEvent, DashboardSnapshot, DeepWipeRpc, DeployStalenessSnapshot, DerivedBranchState, DerivedIssueState, DerivedMergedSlice, DerivedPrOutsidePipeline, DerivedPrState, DerivedWorkStart, DirectoryApprovalState, DirectoryApprovalView, DirectoryClientState, DirectoryEntry, DirectoryEntryKind, DirectoryEntryLocation, DirectoryEntrySource, DirectoryEntryState, DirectoryJoinState, DirectoryJoinView, DirectoryMachineView, DirectoryPause, DirectoryPauseBy, DirectoryPlan, DirectoryProviderError, DirectoryResponse, DirectoryScope, DirectoryTranscriptRef, DiscoveredSessionSnapshot, DomainEvent, EDITORS, EFFORT_LEVELS, ENVIRONMENT_PROTOCOL_VERSION, EXPLORER_ERROR_CODES, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExplorerBeginEditInput, ExplorerBeginEditResult, ExplorerBeginEditRpc, ExplorerCopyInput, ExplorerCopyRpc, ExplorerCreateInput, ExplorerCreateRpc, ExplorerDeleteInput, ExplorerDeleteResult, ExplorerDeleteRpc, ExplorerEntry, ExplorerEntryKind, ExplorerEntryResult, ExplorerGitCommittedEntry, ExplorerGitCommittedStatus, ExplorerGitFileStatus, ExplorerGitStageInput, ExplorerGitStageResult, ExplorerGitStageRpc, ExplorerGitStatusEntry, ExplorerGitStatusInput, ExplorerGitStatusResult, ExplorerGitStatusRpc, ExplorerListDirInput, ExplorerListDirResult, ExplorerListDirRpc, ExplorerReadFileInput, ExplorerReadFileResult, ExplorerReadFileRpc, ExplorerRenameInput, ExplorerRenameRpc, ExplorerRestoreInput, ExplorerRestoreResult, ExplorerRestoreRpc, ExplorerRootId, ExplorerSearchContentInput, ExplorerSearchContentMatch, ExplorerSearchContentResult, ExplorerSearchContentRpc, ExplorerSearchFilesInput, ExplorerSearchFilesResult, ExplorerSearchFilesRpc, ExplorerWatchBatch, ExplorerWatchEvent, ExplorerWatchInput, ExplorerWatchRpc, ExplorerWriteFileInput, ExplorerWriteFileResult, ExplorerWriteFileRpc, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, FlywheelActivity, FlywheelAgent, FlywheelAgentStatus, FlywheelAgentSummary, FlywheelBlocker, FlywheelBlockerKind, FlywheelBugRateCriterion, FlywheelCardAgent, FlywheelConversationSummary, FlywheelDerivedStatus, FlywheelEffort, FlywheelFreshness, FlywheelHarness, FlywheelHeadline, FlywheelHealth, FlywheelHttpUrl, FlywheelInFlightRow, FlywheelJournalSummary, FlywheelLastTick, FlywheelNeedsYouItem, FlywheelOrchestrator, FlywheelOrderBookSummary, FlywheelOrders, FlywheelOwner, FlywheelP0Criterion, FlywheelParkedItem, FlywheelPipelineItem, FlywheelPipelineStatus, FlywheelPipelineVerb, FlywheelPolicies, FlywheelRunId, FlywheelRunState, FlywheelScope, FlywheelShipped, FlywheelShippedEvent, FlywheelShippedMerge, FlywheelStage, FlywheelStats, FlywheelStatsCriterionStatus, FlywheelStatsTrend, FlywheelStatsWindow, FlywheelStatus, FlywheelSubstrateBug, FlywheelSubstrateBugRow, FlywheelSubstrateBugStatus, FlywheelSubstrateSeverity, FlywheelSuggestion, FlywheelSuggestionAction, FlywheelSuggestionPriority, FlywheelSystemStatus, GITHUB_QUOTA_BUCKETS, GITHUB_QUOTA_CALLERS, GITHUB_QUOTA_POOLS, GROK_BEHAVIOR, GROK_CAPABILITIES, GetAvailableBrowsersRpc, 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, INBOX_BODY_MAX_BYTES, INBOX_HOLD_MS, INITIAL_READ_MODEL_STATE, ISSUE_ATTENTIONS, ISSUE_STATES, ISSUE_STATE_PRECEDENCE, InboundMachineView, IssueAttention, IssueId, IssueState, IssueStateChangedEvent, IssueStatusChangedEvent, IssueTransitionedEvent, IssuesDeltaEvent, IssuesSnapshotEvent, IssuesUpdatedEvent, KIMI_CODE_BEHAVIOR, KIMI_CODE_CAPABILITIES, KNOWN_HARNESSES, LANE_STARTING_GRACE_MS, LINK_PROTOCOL_VERSION, LegacySystemHealthSummary, LegacyWebhookRelaySummary, LinearMcpAuthCallbackRelayedEvent, LinearMcpAuthHealthyEvent, LinearMcpAuthNotifiedEvent, LinearMcpAuthRequiredEvent, LinkAccess, LinkIncident, LinkRouteStatus, LinkRouteView, LinkState, ListDiscoveredSessionsRpc, ListSessionsFeedRpc, LoadSample, 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, MachineLinkView, MachinePlacementMode, MachineProject, MachineVersionsReportSchema, MachinesResponse, MemoryAgentRole, MemoryHealthChangedEvent, MemoryIdentity, MemoryObservation, MemoryObservationCreatedEvent, MemoryResetMarkerCreatedEvent, MemoryRollupTriggeredEvent, MemoryStatus, MemoryStatusPhase, MemoryStatusUpdatedEvent, MemoryTokenUsage, MergeReadyEvent, ModelOrigin, ModelOriginEntry, NON_ESSENTIAL_GITHUB_CALLERS, NO_DIRECT_PATH_MESSAGE, OHMYPI_BEHAVIOR, OHMYPI_CAPABILITIES, OPENCODE_BEHAVIOR, OPENCODE_CAPABILITIES, OVERDECK_AGENT_PROTOCOL_VERSION, OVERDECK_DASHBOARD_PROTOCOL_VERSION, OpenInBrowserInput, OpenInEditorInput, OperatorInterventionEvent, OrderBook, OrderBookIndexEntry, OrderBookItem, OrderBookLane, OrderBookPosture, OrderBookSettings, OrderBookStatus, PHONE_APP_SCHEME, PHONE_ISSUE_EVENT_LABELS, PHONE_NOTIFICATION_CATEGORIES, PHONE_PAIR_CODE_RE, PHONE_PAIR_ENVIRONMENT_ID_RE, PHONE_PAIR_LINK_PREFIX, PHONE_PAIR_LINK_VERSION, PHONE_PAIR_MACHINE_KEY_RE, PIPELINE_MEMBERSHIP_LOADING_CODE, PI_BEHAVIOR, PI_CAPABILITIES, PRIME_AGENT_BEHAVIOR, PRIME_AGENT_CAPABILITIES, PUSH_PLAINTEXT_MAX_BYTES, PUSH_RATE_PER_MINUTE, PUSH_SEALED_MAX_CHARS, PanRpcError, PanRpcGroup, PendingTurn, PipelineReviewCompletedEvent, PipelineReviewStartedEvent, PipelineTestCompletedEvent, PipelineTestStartedEvent, PipelineVerificationFailedEvent, PipelineVerificationStartedEvent, PlacementAnswer, PlacementRejection, 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, RELAY_CAP_MESSAGE, RELAY_MONTHLY_CAP_BYTES, RESERVED_COLOR_THEME_IDS, RESUME_OPEN_IDS_MAX, ROUTE_KINDS, RagDecision, RagDecisionSource, ReadFileAtPathInput, ReadFileAtPathResult, ReadFileAtPathRpc, ReadWorkspaceFileInput, ReadWorkspaceFileResult, ReadWorkspaceFileRpc, RelayStatusView, ReplayEventsResult, ReplayEventsRpc, ReplayTooFarBehind, ResetMarker, ResetMarkerScope, ResizeTerminalRpc, ResolveFilePathExistsInput, ResolveFilePathExistsResult, ResolveFilePathExistsRpc, ResourceStats, ResourcesUpdatedEvent, RestartGateChangedEvent, RestartGateKind, RestartGateOutcome, RestartGateRequest, RestartGateSnapshot, RestartHold, ReviewApprovedEvent, ReviewCoordinatorDiedEvent, ReviewCoordinatorStartedEvent, ReviewReviewerCompletedEvent, ReviewReviewerStartedEvent, ReviewSpecialistTimedOutEvent, ReviewVerdictDispatchedEvent, ReviewVerdictRejectedEvent, ReviewVerdictRestoreBlockedEvent, ReviewerRoundMetadata, ReviewerRoundSummary, Role, RouteKind, RouteSource, SCHEDULE_PRESET_DAYS, SHARED_CHANNELS, SHARED_PROMPT_MAX_CHARS, SHARED_SCOPE_KINDS, SHARED_WIRE_VERSION, SHARE_MAX_ENVELOPE_CHARS, SHARE_MAX_INBOUND_ENVELOPE_CHARS, SHARE_MAX_MESSAGE_CHARS, SINGLETON_AGENT_IDS, SSH_HELPER_PROTOCOL, SSH_MACHINE_ERROR_CODES, ScanCompleteEvent, ScanConversationsRpc, ScanProgressEvent, ScanProgressSnapshot, ScanResult, ScanStartedEvent, ScopedAgentRef, ScopedConversationRef, ScopedIssueRef, ScopedProjectRef, ScopedRef, ScopedTerminalRef, SearchConversationsRpc, SendTerminalInputRpc, SeqTracker, SequenceNumber, ServiceHealthSnapshot, ServiceHealthStatus, SessionNode, SessionNodePresence, SessionNodeType, SessionTreeDelta, SessionsFeedFacetsSnapshot, SessionsFeedRowSnapshot, SessionsFeedSource, ShadowInferenceUpdateEvent, SharedChannelReader, ShellOpenInBrowserRpc, ShellOpenInEditorRpc, ShutdownPendingSession, ShutdownPhase, ShutdownSnapshot, ShutdownWriter, SpecialistCompletedEvent, SpecialistFailedEvent, SpecialistLifecycle, SpecialistStartedEvent, SshForwardState, SshLaunch, SshLinkInfo, SshMachineErrorCode, SshTestResult, StartAgentRpc, StartPlanningRpc, SubagentHumanInput, SubagentSummary, SubscribeAgentOutputRpc, SubscribeConversationMessagesRpc, SubscribeDomainEventsRpc, SubscribeIssueEventsRpc, SubscribeProjectSessionTreeRpc, SubscribeTerminalRpc, SubscribeUiCommandsRpc, SubstrateBugFiledEvent, SweepEscalatedEvent, SweepRecommendationEvent, SweepScanEvent, SystemHealthConsumer, SystemHealthSeverityChangedEvent, SystemHealthSnapshot, SystemHeartbeatEvent, SystemShutdownChangedEvent, TELEMETRY_CLI_VERBS, TELEMETRY_EVENT_CATALOG, TELEMETRY_EVENT_NAMES, TELEMETRY_INSTALL_KINDS, 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, UiCommand, UiOpenResolution, 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, bucketRecoveryMs, bucketRelayBytes, bucketRequestStatus, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, clientRouteOf, companionTerminalKindFor, compareEffort, compareFleetBinaries, compareIssueIds, compareTimelineKeys, createIssueDelta, decodeEnvelope, decodeFlywheelDerivedStatus, decodeFlywheelStats, decodeTimelineCursor, deriveProjectCi, effectiveTerminalPalette, encodeFlywheelStats, encodeSharedMessage, encodeTimelineCursor, formatMachineLoad, formatMachineProfile, getHarness, getHarnessBehavior, getMaxMemoryObservationsPerIssue, getMaxTurnDiffSummariesPerAgent, getRuntimeBehavior, hasToolResult, indexPanesByAgentKey, isAgentRole, isAgentSessionName, isChannelReplyKind, isConfiguredPullRequestRepo, isEffortLevel, isIssueAttention, isIssueState, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, needsYouItemKey, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parseNeedsYouTarget, parsePhoneIssueEvent, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, phoneIssueSheetPath, presenceForPaneState, presetToCron, projectDeckKey, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolvePathRoot, resolveTrackerIssueId, sharedPromptRefusal, shippedCardCount, slugifyThemeId, splitNeedsYouItems, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, uiOpenSummary, withPaneLivenessAlias };
20799
21236
 
20800
21237
  //# sourceMappingURL=index.mjs.map