@overdeck/contracts 0.74.0 → 0.75.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
@@ -6776,7 +6776,11 @@ const TELEMETRY_EVENT_NAMES = [
6776
6776
  "phone_paired",
6777
6777
  "phone_removed",
6778
6778
  "anywhere_channel_opened",
6779
- "relay_usage_sampled"
6779
+ "relay_usage_sampled",
6780
+ "mcp_session_seen",
6781
+ "mcp_tool_called",
6782
+ "client_request_failed",
6783
+ "phone_link_state"
6780
6784
  ];
6781
6785
  const TELEMETRY_CLI_VERBS = [
6782
6786
  "abort",
@@ -6839,6 +6843,356 @@ const TELEMETRY_CLI_VERBS = [
6839
6843
  "write-sequence",
6840
6844
  "other"
6841
6845
  ];
6846
+ const TELEMETRY_HARNESSES = [
6847
+ "claude-code",
6848
+ "ohmypi",
6849
+ "codex",
6850
+ "acp",
6851
+ "kimi-code",
6852
+ "opencode",
6853
+ "muse",
6854
+ "prime-agent"
6855
+ ];
6856
+ /** PAN-5084: what kind of install reported an event — distinguishes real adoption from CI/test/VM churn. */
6857
+ const TELEMETRY_INSTALL_KINDS = [
6858
+ "user",
6859
+ "remote_vm",
6860
+ "dev_checkout",
6861
+ "container"
6862
+ ];
6863
+ /**
6864
+ * PAN-4264: GitHub quota callers as telemetry values (`-` → `_`). Mirrors
6865
+ * `GITHUB_QUOTA_CALLERS` in ./github-quota; a unit test keeps them in step.
6866
+ */
6867
+ const TELEMETRY_GITHUB_CALLERS = [
6868
+ "pipeline_membership",
6869
+ "pr_cache",
6870
+ "pr_sync",
6871
+ "ci_repair",
6872
+ "issue_poller",
6873
+ "close_out",
6874
+ "tracker_client",
6875
+ "app_rest",
6876
+ "quota_sampler",
6877
+ "agent",
6878
+ "pr_adoption",
6879
+ "other"
6880
+ ];
6881
+ /** PAN-5016: route kinds (ROUTE_KINDS in ./machines) plus `stored`, the stored-route probe phase. */
6882
+ const TELEMETRY_CHANNEL_ROUTES = [
6883
+ "lan",
6884
+ "tailnet",
6885
+ "ssh",
6886
+ "public",
6887
+ "direct",
6888
+ "relay",
6889
+ "stored"
6890
+ ];
6891
+ /** PAN-5083: the Overdeck MCP tool names (ALL_TOOLS in src/lib/mcp/server.ts); a unit test keeps them in step. */
6892
+ const TELEMETRY_MCP_TOOLS = [
6893
+ "answer_agent_permission",
6894
+ "answer_agent_plan",
6895
+ "answer_codex_approval",
6896
+ "answer_pane_choice",
6897
+ "answer_permission",
6898
+ "answer_pi_ask",
6899
+ "answer_plan",
6900
+ "answer_question",
6901
+ "delegate_task",
6902
+ "delete_scheduled",
6903
+ "done",
6904
+ "handoff",
6905
+ "interrupt_conversation",
6906
+ "lane_report",
6907
+ "lane_start",
6908
+ "lane_status",
6909
+ "lane_stop",
6910
+ "lane_wait",
6911
+ "link_machine",
6912
+ "link_machine_wait",
6913
+ "link_pull_request",
6914
+ "list_conversations",
6915
+ "list_machines",
6916
+ "list_pending_input",
6917
+ "list_pull_request_watches",
6918
+ "list_scheduled",
6919
+ "list_workers",
6920
+ "memory_add",
6921
+ "memory_search",
6922
+ "read_conversation",
6923
+ "request_secret",
6924
+ "schedule_message",
6925
+ "schedule_recurring",
6926
+ "search_conversations",
6927
+ "secret_wait",
6928
+ "send_message",
6929
+ "start_conversation",
6930
+ "start_issue",
6931
+ "start_worker",
6932
+ "stop_conversation",
6933
+ "task_block",
6934
+ "task_cancel",
6935
+ "task_claim",
6936
+ "task_done",
6937
+ "task_status",
6938
+ "task_wait",
6939
+ "unwatch_pull_request",
6940
+ "update_scheduled",
6941
+ "wait_job",
6942
+ "watch_pull_request",
6943
+ "worker_report"
6944
+ ];
6945
+ /**
6946
+ * PAN-5100: every `ROUTE_SCOPES` path (`src/dashboard/server/route-scopes.ts`),
6947
+ * sorted, then `other`. Literal so the type stays a closed union; regenerate with:
6948
+ * grep -oE "path: '[^']*'" src/dashboard/server/route-scopes.ts | sed "s/path: '//; s/'//" | { cat; echo /api/telemetry/client-config; } | LC_ALL=C sort -u
6949
+ */
6950
+ const TELEMETRY_CLIENT_ROUTES = [
6951
+ "/api/activity",
6952
+ "/api/agent-directory",
6953
+ "/api/agent-requests",
6954
+ "/api/agents",
6955
+ "/api/agents/:id/answer-question",
6956
+ "/api/agents/:id/message",
6957
+ "/api/agents/:id/permissions/:requestId/respond",
6958
+ "/api/agents/:id/plan-action",
6959
+ "/api/agents/:id/tell",
6960
+ "/api/connectors/self",
6961
+ "/api/conversations",
6962
+ "/api/conversations/:id",
6963
+ "/api/conversations/:id/codex-approval",
6964
+ "/api/conversations/:id/pane-choice",
6965
+ "/api/conversations/:id/permission",
6966
+ "/api/conversations/:id/pi-ask-answer",
6967
+ "/api/conversations/:name/abort",
6968
+ "/api/conversations/:name/about",
6969
+ "/api/conversations/:name/attachments/:file",
6970
+ "/api/conversations/:name/bookmarks",
6971
+ "/api/conversations/:name/compact",
6972
+ "/api/conversations/:name/delete-image",
6973
+ "/api/conversations/:name/diffs",
6974
+ "/api/conversations/:name/diffs/:turnId",
6975
+ "/api/conversations/:name/kickoff",
6976
+ "/api/conversations/:name/message",
6977
+ "/api/conversations/:name/message-locator",
6978
+ "/api/conversations/:name/messages",
6979
+ "/api/conversations/:name/plan-action",
6980
+ "/api/conversations/:name/preview-ports",
6981
+ "/api/conversations/:name/pull-requests",
6982
+ "/api/conversations/:name/pull-requests/sync",
6983
+ "/api/conversations/:name/release",
6984
+ "/api/conversations/:name/release/complete",
6985
+ "/api/conversations/:name/release/transfer/:transferId",
6986
+ "/api/conversations/:name/release/undo",
6987
+ "/api/conversations/:name/resume",
6988
+ "/api/conversations/:name/scheduled-messages",
6989
+ "/api/conversations/:name/scheduled-messages/:id",
6990
+ "/api/conversations/:name/schedules",
6991
+ "/api/conversations/:name/schedules/:id",
6992
+ "/api/conversations/:name/stop",
6993
+ "/api/conversations/:name/switch-model",
6994
+ "/api/conversations/:name/thinking-level",
6995
+ "/api/conversations/:name/tool-body/:toolUseId",
6996
+ "/api/conversations/:name/upload-image",
6997
+ "/api/conversations/pending-input",
6998
+ "/api/costs/request-digest",
6999
+ "/api/costs/summary",
7000
+ "/api/disk-alert",
7001
+ "/api/fleet/conversations",
7002
+ "/api/fleet/issues/:id/activity",
7003
+ "/api/fleet/issues/:id/start",
7004
+ "/api/fleet/machines",
7005
+ "/api/fleet/needs-you",
7006
+ "/api/fleet/placement",
7007
+ "/api/fleet/search",
7008
+ "/api/fleet/workers",
7009
+ "/api/fleet/workers/:id/stop",
7010
+ "/api/flywheel/status",
7011
+ "/api/issues",
7012
+ "/api/lanes",
7013
+ "/api/lanes/:name",
7014
+ "/api/lanes/:name/stop",
7015
+ "/api/machines/conversations",
7016
+ "/api/machines/heartbeat",
7017
+ "/api/machines/issue-activity",
7018
+ "/api/machines/needs-you",
7019
+ "/api/machines/projects",
7020
+ "/api/machines/projects/:key/file",
7021
+ "/api/machines/projects/:key/source",
7022
+ "/api/machines/self",
7023
+ "/api/machines/work/conversations",
7024
+ "/api/machines/work/issues/:id/start",
7025
+ "/api/machines/work/lanes",
7026
+ "/api/machines/work/lanes/:name/reap",
7027
+ "/api/machines/work/lanes/:name/status",
7028
+ "/api/machines/work/projects",
7029
+ "/api/machines/work/projects/:jobId",
7030
+ "/api/machines/work/workers",
7031
+ "/api/needs-you",
7032
+ "/api/palette/search",
7033
+ "/api/phones/self",
7034
+ "/api/phones/self/notification-preferences",
7035
+ "/api/phones/self/push-key",
7036
+ "/api/pipeline/membership",
7037
+ "/api/pull-requests",
7038
+ "/api/pull-requests/conversations",
7039
+ "/api/registered-projects",
7040
+ "/api/self/done",
7041
+ "/api/self/handoff",
7042
+ "/api/self/jobs/:id",
7043
+ "/api/self/jobs/:id/wait",
7044
+ "/api/self/lanes",
7045
+ "/api/self/lanes/report",
7046
+ "/api/self/lanes/wait",
7047
+ "/api/self/machine-link-requests",
7048
+ "/api/self/machine-link-requests/:id/wait",
7049
+ "/api/self/memory/facts",
7050
+ "/api/self/memory/search",
7051
+ "/api/self/pull-request-watches",
7052
+ "/api/self/pull-request-watches/:id",
7053
+ "/api/self/pull-requests",
7054
+ "/api/self/secret-requests",
7055
+ "/api/self/secret-requests/:id/wait",
7056
+ "/api/self/tasks/block",
7057
+ "/api/self/tasks/claim",
7058
+ "/api/self/tasks/done",
7059
+ "/api/self/worker-report",
7060
+ "/api/self/workers",
7061
+ "/api/self/workers/:id",
7062
+ "/api/self/workers/:id/wait",
7063
+ "/api/settings/resolved",
7064
+ "/api/telemetry/client-config",
7065
+ "/api/versions/self",
7066
+ "/api/versions/self/update",
7067
+ "/api/workers",
7068
+ "/api/workers/:id/status",
7069
+ "/api/workers/:id/stop",
7070
+ "/events/stream",
7071
+ "/events/version",
7072
+ "other"
7073
+ ];
7074
+ /**
7075
+ * PAN-5100: the distinct first segments after `/api/` of every `NO_LOSS_MATRIX`
7076
+ * HTTP surface whose disposition is not `DELETE` (`tests/unit/lib/overdeck/no-loss-matrix.ts`),
7077
+ * plus `events` and `telemetry`, sorted, then `other`.
7078
+ */
7079
+ const TELEMETRY_CLIENT_ROUTE_AREAS = [
7080
+ "access-tokens",
7081
+ "account",
7082
+ "activity",
7083
+ "admin",
7084
+ "agent-directory",
7085
+ "agent-requests",
7086
+ "agents",
7087
+ "anywhere",
7088
+ "artifacts",
7089
+ "autopreso",
7090
+ "backlog",
7091
+ "boot-reconciliation",
7092
+ "cache",
7093
+ "cache-status",
7094
+ "claude-code",
7095
+ "cliproxy",
7096
+ "cloister",
7097
+ "color-themes",
7098
+ "command-deck",
7099
+ "commands",
7100
+ "confirmations",
7101
+ "connectors",
7102
+ "context",
7103
+ "conversations",
7104
+ "costs",
7105
+ "dashboard",
7106
+ "deacon",
7107
+ "deft",
7108
+ "deploy",
7109
+ "dev",
7110
+ "devices",
7111
+ "diffs",
7112
+ "directory",
7113
+ "discovered-sessions",
7114
+ "disk-alert",
7115
+ "effort",
7116
+ "environment",
7117
+ "events",
7118
+ "fleet",
7119
+ "flywheel",
7120
+ "fs",
7121
+ "git-activity",
7122
+ "github-quota",
7123
+ "godview",
7124
+ "health",
7125
+ "hooks",
7126
+ "internal",
7127
+ "issues",
7128
+ "jev",
7129
+ "joins",
7130
+ "knowledge-viewer",
7131
+ "lanes",
7132
+ "linear-mcp-auth",
7133
+ "linked-conversations",
7134
+ "machines",
7135
+ "mcp",
7136
+ "mcp-oauth",
7137
+ "memory",
7138
+ "merge-queue",
7139
+ "merge-train",
7140
+ "metrics",
7141
+ "model-presets",
7142
+ "models",
7143
+ "needs-you",
7144
+ "no-resume-mode",
7145
+ "orders",
7146
+ "pairing",
7147
+ "palette",
7148
+ "parked",
7149
+ "phones",
7150
+ "pipeline",
7151
+ "planning",
7152
+ "prereqs",
7153
+ "project-mappings",
7154
+ "projects",
7155
+ "pull-requests",
7156
+ "push",
7157
+ "rally",
7158
+ "registered-projects",
7159
+ "registry",
7160
+ "remote",
7161
+ "resources",
7162
+ "restart-gate",
7163
+ "resume-all",
7164
+ "review",
7165
+ "self",
7166
+ "session-trees",
7167
+ "settings",
7168
+ "shadow",
7169
+ "share-probe",
7170
+ "shares",
7171
+ "show",
7172
+ "skills",
7173
+ "specialists",
7174
+ "system",
7175
+ "tailscale",
7176
+ "telemetry",
7177
+ "terminals",
7178
+ "tiered",
7179
+ "tracker-status",
7180
+ "trackers",
7181
+ "triggers",
7182
+ "tts",
7183
+ "update",
7184
+ "vault",
7185
+ "velocity",
7186
+ "version",
7187
+ "versions",
7188
+ "voice",
7189
+ "webhooks",
7190
+ "workers",
7191
+ "workspace-registry",
7192
+ "workspace-stack-health",
7193
+ "workspaces",
7194
+ "other"
7195
+ ];
6842
7196
  const TELEMETRY_PROPERTY_DOMAINS = {
6843
7197
  agent_spawn_mode: ["spawn-and-send", "spawn-work-and-send"],
6844
7198
  answer_type: [
@@ -6861,16 +7215,10 @@ const TELEMETRY_PROPERTY_DOMAINS = {
6861
7215
  "heartbeat_failed",
6862
7216
  "revoked"
6863
7217
  ],
6864
- channel_route: [
6865
- "lan",
6866
- "tailnet",
6867
- "ssh",
6868
- "public",
6869
- "direct",
6870
- "relay",
6871
- "stored"
6872
- ],
7218
+ channel_route: TELEMETRY_CHANNEL_ROUTES,
6873
7219
  cli_verb: TELEMETRY_CLI_VERBS,
7220
+ client_route: TELEMETRY_CLIENT_ROUTES,
7221
+ client_route_area: TELEMETRY_CLIENT_ROUTE_AREAS,
6874
7222
  close_out_variant: ["card", "inspector"],
6875
7223
  count_bucket: [
6876
7224
  "0",
@@ -6919,30 +7267,17 @@ const TELEMETRY_PROPERTY_DOMAINS = {
6919
7267
  "handoff",
6920
7268
  "plain"
6921
7269
  ],
6922
- github_caller: [
6923
- "pipeline_membership",
6924
- "pr_cache",
6925
- "pr_sync",
6926
- "ci_repair",
6927
- "issue_poller",
6928
- "close_out",
6929
- "tracker_client",
6930
- "app_rest",
6931
- "quota_sampler",
6932
- "agent",
6933
- "pr_adoption",
7270
+ github_caller: TELEMETRY_GITHUB_CALLERS,
7271
+ harness: TELEMETRY_HARNESSES,
7272
+ http_method: [
7273
+ "GET",
7274
+ "POST",
7275
+ "PUT",
7276
+ "PATCH",
7277
+ "DELETE",
6934
7278
  "other"
6935
7279
  ],
6936
- harness: [
6937
- "claude-code",
6938
- "ohmypi",
6939
- "codex",
6940
- "acp",
6941
- "kimi-code",
6942
- "opencode",
6943
- "muse",
6944
- "prime-agent"
6945
- ],
7280
+ install_kind: TELEMETRY_INSTALL_KINDS,
6946
7281
  link_failure_reason: [
6947
7282
  "bad_pairing_url",
6948
7283
  "unreachable",
@@ -6963,7 +7298,72 @@ const TELEMETRY_PROPERTY_DOMAINS = {
6963
7298
  "directory_approval",
6964
7299
  "other"
6965
7300
  ],
7301
+ link_reason: [
7302
+ "none",
7303
+ "offline",
7304
+ "no_path",
7305
+ "unreachable",
7306
+ "removed",
7307
+ "pairing_refused",
7308
+ "identity_mismatch",
7309
+ "unsupported",
7310
+ "channel_failed",
7311
+ "delayed",
7312
+ "restarting",
7313
+ "unauthorized",
7314
+ "resume",
7315
+ "other"
7316
+ ],
7317
+ link_route: [
7318
+ "direct",
7319
+ "relay",
7320
+ "unknown"
7321
+ ],
6966
7322
  link_side: ["requester", "approver"],
7323
+ link_state: [
7324
+ "failed",
7325
+ "dropped",
7326
+ "recovered",
7327
+ "route_changed"
7328
+ ],
7329
+ mcp_auth: [
7330
+ "agent_token",
7331
+ "oauth",
7332
+ "access_token",
7333
+ "connector"
7334
+ ],
7335
+ mcp_client: [
7336
+ "claude_code",
7337
+ "codex",
7338
+ "cursor",
7339
+ "vscode",
7340
+ "chatgpt",
7341
+ "grok",
7342
+ "hermes",
7343
+ "openclaw",
7344
+ "gemini",
7345
+ "opencode",
7346
+ "kimi",
7347
+ "overdeck_connector",
7348
+ "other"
7349
+ ],
7350
+ mcp_protocol: [
7351
+ "2026-07-28",
7352
+ "2025-11-25",
7353
+ "2025-06-18",
7354
+ "2025-03-26",
7355
+ "2024-11-05",
7356
+ "2024-10-07",
7357
+ "other"
7358
+ ],
7359
+ mcp_surface: [
7360
+ "dashboard_http",
7361
+ "public_http",
7362
+ "stdio",
7363
+ "connector_http",
7364
+ "connector_stdio"
7365
+ ],
7366
+ mcp_tool: TELEMETRY_MCP_TOOLS,
6967
7367
  merge_kind: ["pipeline"],
6968
7368
  model_family: [
6969
7369
  "claude",
@@ -7007,13 +7407,42 @@ const TELEMETRY_PROPERTY_DOMAINS = {
7007
7407
  "unknown"
7008
7408
  ],
7009
7409
  rate_limit_kind: ["primary", "secondary"],
7410
+ recovery_bucket: [
7411
+ "none",
7412
+ "under_1s",
7413
+ "1s-4s",
7414
+ "5s-14s",
7415
+ "15s-59s",
7416
+ "60s+"
7417
+ ],
7010
7418
  relay_bytes_bucket: [
7011
7419
  "under_1mb",
7012
7420
  "1mb-9mb",
7013
7421
  "10mb-99mb",
7014
7422
  "100mb-999mb",
7015
7423
  "1gb+"
7016
- ]
7424
+ ],
7425
+ request_status: [
7426
+ "400",
7427
+ "401",
7428
+ "403",
7429
+ "404",
7430
+ "408",
7431
+ "409",
7432
+ "413",
7433
+ "422",
7434
+ "429",
7435
+ "other_4xx",
7436
+ "500",
7437
+ "502",
7438
+ "503",
7439
+ "504",
7440
+ "other_5xx",
7441
+ "network",
7442
+ "timeout",
7443
+ "aborted"
7444
+ ],
7445
+ telemetry_client: ["phone", "desktop"]
7017
7446
  };
7018
7447
  const TELEMETRY_EVENT_CATALOG = {
7019
7448
  dashboard_tab_viewed: { tab: "dashboard_tab" },
@@ -7112,7 +7541,31 @@ const TELEMETRY_EVENT_CATALOG = {
7112
7541
  ok: "boolean",
7113
7542
  error_class: "channel_error_class"
7114
7543
  },
7115
- relay_usage_sampled: { bytes: "relay_bytes_bucket" }
7544
+ relay_usage_sampled: { bytes: "relay_bytes_bucket" },
7545
+ mcp_session_seen: {
7546
+ mcp_surface: "mcp_surface",
7547
+ mcp_protocol: "mcp_protocol",
7548
+ mcp_client: "mcp_client",
7549
+ mcp_auth: "mcp_auth"
7550
+ },
7551
+ mcp_tool_called: {
7552
+ mcp_surface: "mcp_surface",
7553
+ mcp_client: "mcp_client",
7554
+ mcp_tool: "mcp_tool"
7555
+ },
7556
+ client_request_failed: {
7557
+ client: "telemetry_client",
7558
+ route: "client_route",
7559
+ route_area: "client_route_area",
7560
+ method: "http_method",
7561
+ status: "request_status"
7562
+ },
7563
+ phone_link_state: {
7564
+ state: "link_state",
7565
+ reason: "link_reason",
7566
+ route: "link_route",
7567
+ recover_time: "recovery_bucket"
7568
+ }
7116
7569
  };
7117
7570
  /** PAN-4264: GitHub quota points as a coarse bucket (raw counts are never sent). */
7118
7571
  function bucketQuotaPoints(points) {
@@ -7142,6 +7595,57 @@ function bucketRelayBytes(bytes) {
7142
7595
  if (bytes < 1e9) return "100mb-999mb";
7143
7596
  return "1gb+";
7144
7597
  }
7598
+ /** PAN-5100: the closed route template and area for a same-origin path (query and hash ignored). */
7599
+ function clientRouteOf(pathname) {
7600
+ const segments = (pathname.split(/[?#]/)[0] ?? pathname).split("/").filter((segment) => segment.length > 0);
7601
+ let bestTemplate = null;
7602
+ let bestLiteralCount = -1;
7603
+ for (const template of TELEMETRY_CLIENT_ROUTES) {
7604
+ if (template === "other") continue;
7605
+ const templateSegments = template.split("/").filter((segment) => segment.length > 0);
7606
+ if (templateSegments.length !== segments.length) continue;
7607
+ let literalCount = 0;
7608
+ let matches = true;
7609
+ for (let i = 0; i < templateSegments.length; i++) {
7610
+ const templateSegment = templateSegments[i];
7611
+ const pathSegment = segments[i];
7612
+ if (templateSegment.startsWith(":")) continue;
7613
+ if (templateSegment !== pathSegment) {
7614
+ matches = false;
7615
+ break;
7616
+ }
7617
+ literalCount++;
7618
+ }
7619
+ if (matches && literalCount > bestLiteralCount) {
7620
+ bestTemplate = template;
7621
+ bestLiteralCount = literalCount;
7622
+ }
7623
+ }
7624
+ const route = bestTemplate ?? "other";
7625
+ let route_area = "other";
7626
+ if (segments[0] === "events") route_area = "events";
7627
+ else if (segments[0] === "api" && segments[1] !== void 0 && TELEMETRY_CLIENT_ROUTE_AREAS.includes(segments[1])) route_area = segments[1];
7628
+ return {
7629
+ route,
7630
+ route_area
7631
+ };
7632
+ }
7633
+ /** PAN-5100: an HTTP status (≥ 400) as a closed bucket. */
7634
+ function bucketRequestStatus(status) {
7635
+ const exact = String(status);
7636
+ if (TELEMETRY_PROPERTY_DOMAINS.request_status.includes(exact)) return exact;
7637
+ if (status >= 400 && status < 500) return "other_4xx";
7638
+ return "other_5xx";
7639
+ }
7640
+ /** PAN-5100: milliseconds to recover as a coarse bucket. */
7641
+ function bucketRecoveryMs(ms) {
7642
+ if (ms === null) return "none";
7643
+ if (ms < 1e3) return "under_1s";
7644
+ if (ms < 5e3) return "1s-4s";
7645
+ if (ms < 15e3) return "5s-14s";
7646
+ if (ms < 6e4) return "15s-59s";
7647
+ return "60s+";
7648
+ }
7145
7649
  //#endregion
7146
7650
  //#region src/composer-commands.generated.ts
7147
7651
  const COMPOSER_COMMAND_MANIFEST = [
@@ -8717,6 +9221,55 @@ const COMPOSER_COMMAND_MANIFEST = [
8717
9221
  "aliases": [],
8718
9222
  "category": "CLI"
8719
9223
  },
9224
+ {
9225
+ "id": "pan-mcp-connector-connect",
9226
+ "path": [
9227
+ "mcp",
9228
+ "connector",
9229
+ "connect"
9230
+ ],
9231
+ "display": "/pan mcp connector connect",
9232
+ "description": "Sign in, pair, verify and print the MCP registration in one resumable command (for bots)",
9233
+ "args": [{
9234
+ "name": "pairingString",
9235
+ "required": true,
9236
+ "variadic": false
9237
+ }],
9238
+ "options": [
9239
+ {
9240
+ "flags": "--name <bot>",
9241
+ "description": "the bot name shown on the sign-in page and on the machine (default: host name)",
9242
+ "required": true,
9243
+ "valueHint": "bot"
9244
+ },
9245
+ {
9246
+ "flags": "--platform <id>",
9247
+ "description": "grok-bot, grok-build, hermes, openclaw, other (default: other)",
9248
+ "required": true,
9249
+ "valueHint": "id"
9250
+ },
9251
+ {
9252
+ "flags": "--wait <seconds>",
9253
+ "description": "how long a rerun waits for the sign-in approval (default 120)",
9254
+ "required": true,
9255
+ "valueHint": "seconds"
9256
+ },
9257
+ {
9258
+ "flags": "--account-url <url>",
9259
+ "description": "overdeck.ai account service URL",
9260
+ "required": true,
9261
+ "valueHint": "url"
9262
+ },
9263
+ {
9264
+ "flags": "--directory-url <url>",
9265
+ "description": "overdeck.ai directory URL",
9266
+ "required": true,
9267
+ "valueHint": "url"
9268
+ }
9269
+ ],
9270
+ "aliases": [],
9271
+ "category": "CLI"
9272
+ },
8720
9273
  {
8721
9274
  "id": "pan-mcp-connector-login",
8722
9275
  "path": [
@@ -9689,7 +10242,7 @@ const COMPOSER_COMMAND_MANIFEST = [
9689
10242
  },
9690
10243
  {
9691
10244
  "flags": "--pack <id>",
9692
- "description": "Turn every skill of this cached skill pack on for the new conversation only (repeatable)",
10245
+ "description": "Turn on every non-opt-in skill of this cached skill pack for the new conversation only (repeatable)",
9693
10246
  "required": true,
9694
10247
  "valueHint": "id"
9695
10248
  },
@@ -15888,7 +16441,7 @@ const COMPOSER_COMMAND_MANIFEST = [
15888
16441
  "id": "pan-lane",
15889
16442
  "path": ["lane"],
15890
16443
  "display": "/pan lane",
15891
- "description": "Gauntlet lanes: launch, list, show, wait on, report from, stop and reap lane conversations",
16444
+ "description": "Gauntlet lanes: launch, list, show, wait on, report from, stop, reap and disk-check lane conversations",
15892
16445
  "args": [],
15893
16446
  "options": [],
15894
16447
  "aliases": [],
@@ -16056,6 +16609,12 @@ const COMPOSER_COMMAND_MANIFEST = [
16056
16609
  "required": true,
16057
16610
  "valueHint": "conv"
16058
16611
  },
16612
+ {
16613
+ "flags": "--reapable",
16614
+ "description": "Only lanes a newer iteration superseded that pan lane reap can remove now",
16615
+ "required": false,
16616
+ "valueHint": null
16617
+ },
16059
16618
  {
16060
16619
  "flags": "--json",
16061
16620
  "description": "Print JSON",
@@ -16229,6 +16788,26 @@ const COMPOSER_COMMAND_MANIFEST = [
16229
16788
  "aliases": [],
16230
16789
  "category": "CLI"
16231
16790
  },
16791
+ {
16792
+ "id": "pan-lane-disk-check",
16793
+ "path": ["lane", "disk-check"],
16794
+ "display": "/pan lane disk-check",
16795
+ "description": "Check the disk floor before launching lanes or creating a worktree (exit 0 room, 4 disk low, 1 error)",
16796
+ "args": [],
16797
+ "options": [{
16798
+ "flags": "--project <key>",
16799
+ "description": "Check the project's lanes root with the cost of one new lane, and list directories there that are not lanes",
16800
+ "required": true,
16801
+ "valueHint": "key"
16802
+ }, {
16803
+ "flags": "--path <dir>",
16804
+ "description": "Check the filesystem holding this directory (default: the current directory)",
16805
+ "required": true,
16806
+ "valueHint": "dir"
16807
+ }],
16808
+ "aliases": [],
16809
+ "category": "CLI"
16810
+ },
16232
16811
  {
16233
16812
  "id": "pan-flywheel",
16234
16813
  "path": ["flywheel"],
@@ -18856,14 +19435,24 @@ const CONNECTOR_PAIR_SCHEME = "overdeck-connector";
18856
19435
  const CONNECTOR_PAIR_LINK_VERSION = 1;
18857
19436
  /** Everything before the fragment. Single slash after the colon. */
18858
19437
  const CONNECTOR_PAIR_LINK_PREFIX = `${CONNECTOR_PAIR_SCHEME}:/pair#`;
18859
- /** `overdeck-connector:/pair#v=1&e=<environmentId>&k=<machineKeyHex>&c=<code>`; throws on a malformed input. */
19438
+ /** Longest machine name (after trim) the string carries in `n=` (PAN-5069 FR-8). */
19439
+ const CONNECTOR_PAIR_MACHINE_LABEL_MAX = 64;
19440
+ /**
19441
+ * `overdeck-connector:/pair#v=1&e=<environmentId>&k=<machineKeyHex>&c=<code>[&n=<machineLabel>]`; throws on a malformed input.
19442
+ * The label is trimmed, cut to 64 characters and percent-encoded with `'` as `%27`, so the string is safe inside single shell quotes.
19443
+ */
18860
19444
  function buildConnectorPairLink(input) {
18861
19445
  if (!PHONE_PAIR_ENVIRONMENT_ID_RE.test(input.environmentId)) throw new Error("environmentId must be a lowercase UUID v4");
18862
19446
  if (!PHONE_PAIR_MACHINE_KEY_RE.test(input.machineKeyHex)) throw new Error("machineKeyHex must be 64 lowercase hex characters");
18863
19447
  if (!PHONE_PAIR_CODE_RE.test(input.code)) throw new Error("code must be an odp_ pairing code");
18864
- return `${CONNECTOR_PAIR_LINK_PREFIX}v=1&e=${input.environmentId}&k=${input.machineKeyHex}&c=${input.code}`;
19448
+ const link = `${CONNECTOR_PAIR_LINK_PREFIX}v=1&e=${input.environmentId}&k=${input.machineKeyHex}&c=${input.code}`;
19449
+ const label = input.machineLabel?.trim().slice(0, 64) ?? "";
19450
+ return label === "" ? link : `${link}&n=${encodeURIComponent(label).replace(/'/g, "%27")}`;
18865
19451
  }
18866
- /** The inverse of `buildConnectorPairLink`: the string's fields, or null unless every part is well formed. Surrounding whitespace is ignored. */
19452
+ /**
19453
+ * The inverse of `buildConnectorPairLink`: the string's fields, or null unless every required part is well formed.
19454
+ * Surrounding whitespace is ignored. A missing, empty or over-long `n` only leaves `machineLabel` out; it never makes the parse fail.
19455
+ */
18867
19456
  function parseConnectorPairLink(text) {
18868
19457
  const link = text.trim();
18869
19458
  if (!link.startsWith(CONNECTOR_PAIR_LINK_PREFIX)) return null;
@@ -18875,11 +19464,18 @@ function parseConnectorPairLink(text) {
18875
19464
  if (environmentId === null || !PHONE_PAIR_ENVIRONMENT_ID_RE.test(environmentId)) return null;
18876
19465
  if (machineKeyHex === null || !PHONE_PAIR_MACHINE_KEY_RE.test(machineKeyHex)) return null;
18877
19466
  if (code === null || !PHONE_PAIR_CODE_RE.test(code)) return null;
18878
- return {
19467
+ const machineLabel = params.get("n")?.trim() ?? "";
19468
+ if (machineLabel === "" || machineLabel.length > 64) return {
18879
19469
  environmentId,
18880
19470
  machineKeyHex,
18881
19471
  code
18882
19472
  };
19473
+ return {
19474
+ environmentId,
19475
+ machineKeyHex,
19476
+ code,
19477
+ machineLabel
19478
+ };
18883
19479
  }
18884
19480
  //#endregion
18885
19481
  //#region src/fleet-versions.ts
@@ -19546,6 +20142,6 @@ function presetToCron(preset) {
19546
20142
  }
19547
20143
  }
19548
20144
  //#endregion
19549
- 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_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, 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, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, 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, 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_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, 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_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, bucketRelayBytes, buildConnectorPairLink, buildPhonePairLink, builtinFor, canonicalPullRequestUrl, 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, isLegacyPiHarnessName, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, presenceForPaneState, presetToCron, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolveTrackerIssueId, sharedPromptRefusal, slugifyThemeId, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
20145
+ 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, 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, EditorIdSchema, EffortLevelSchema, EmbedProgressEvent, EmbedProgressSnapshot, EmbedSessionsRpc, EnrichCompleteEvent, EnrichProgressEvent, EnrichProgressSnapshot, EnrichSessionsRpc, EnrichStatsSnapshot, EnvironmentCapabilities, EnvironmentDescriptor, EnvironmentId, ExtractionProviderConfig, ExtractionProviderTarget, FLEET_BINARY_ORDER, FLEET_UPDATE_STILL_WAITING_MS, FREE_MACHINE_LIMIT_MESSAGE, FeatureNode, FeatureRegistryEntry, FeatureRegistryStatus, FleetComponentStatus, FleetInstallMode, FleetJobPhase, FleetProjectRow, FleetProjectsResponse, FleetUpdateJobSchema, FleetUpdateMode, 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, 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_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, 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, isLegacyPiHarnessName, isProtocolCompatible, isSingletonConversation, isTerminalBackendName, isTerminalTurnDiffSummaryStatus, laneActivityOf, linkedConversationName, negotiateHello, normalizeChannelReplyPayload, normalizeColorTheme, normalizeHarnessName, notificationAllowed, omitTurnDiffSummariesForAgent, overdeckInstallCommand, paneAgentKey, parseConnectorPairLink, parseLinkedConversationName, parsePhoneNotificationPreferences, parsePhonePairLink, parsePullRequestRef, parseTrackerIssueUrl, presenceForPaneState, presetToCron, projectLegacySystemHealthSummary, readDraftPayload, readableForeground, repoFromRemoteUrl, resolveEffectivePullRequest, resolveTrackerIssueId, sharedPromptRefusal, slugifyThemeId, syncSnapshot, timelineKeyOfMessage, timelineKeyOfWork, toOpaqueHex, toSharedMessage, trimMemoryObservations, trimTurnDiffSummaries, withPaneLivenessAlias };
19550
20146
 
19551
20147
  //# sourceMappingURL=index.mjs.map