@askexenow/exe-os 0.9.72 → 0.9.74

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.
Files changed (109) hide show
  1. package/dist/bin/age-ontology-load.js +3 -0
  2. package/dist/bin/agentic-ontology-backfill.js +4 -1
  3. package/dist/bin/agentic-reflection-backfill.js +4 -1
  4. package/dist/bin/agentic-semantic-label.js +4 -1
  5. package/dist/bin/backfill-conversations.js +4 -1
  6. package/dist/bin/backfill-responses.js +4 -1
  7. package/dist/bin/backfill-vectors.js +4 -1
  8. package/dist/bin/bulk-sync-postgres.js +4 -1
  9. package/dist/bin/cc-doctor.js +3 -0
  10. package/dist/bin/cleanup-stale-review-tasks.js +4 -1
  11. package/dist/bin/cli.js +79 -51
  12. package/dist/bin/exe-agent-config.js +3 -0
  13. package/dist/bin/exe-agent.js +4 -1
  14. package/dist/bin/exe-assign.js +4 -1
  15. package/dist/bin/exe-boot.js +4 -1
  16. package/dist/bin/exe-call.js +4 -1
  17. package/dist/bin/exe-cloud.js +4 -1
  18. package/dist/bin/exe-dispatch.js +4 -1
  19. package/dist/bin/exe-doctor.js +4 -1
  20. package/dist/bin/exe-export-behaviors.js +4 -1
  21. package/dist/bin/exe-forget.js +4 -1
  22. package/dist/bin/exe-gateway.js +4 -1
  23. package/dist/bin/exe-healthcheck.js +3 -0
  24. package/dist/bin/exe-heartbeat.js +4 -1
  25. package/dist/bin/exe-kill.js +4 -1
  26. package/dist/bin/exe-launch-agent.js +4 -1
  27. package/dist/bin/exe-new-employee.js +40 -12
  28. package/dist/bin/exe-pending-messages.js +4 -1
  29. package/dist/bin/exe-pending-notifications.js +4 -1
  30. package/dist/bin/exe-pending-reviews.js +4 -1
  31. package/dist/bin/exe-rename.js +4 -1
  32. package/dist/bin/exe-review.js +4 -1
  33. package/dist/bin/exe-search.js +4 -1
  34. package/dist/bin/exe-session-cleanup.js +4 -1
  35. package/dist/bin/exe-settings.js +3 -0
  36. package/dist/bin/exe-start-codex.js +4 -1
  37. package/dist/bin/exe-start-opencode.js +4 -1
  38. package/dist/bin/exe-status.js +4 -1
  39. package/dist/bin/exe-team.js +4 -1
  40. package/dist/bin/git-sweep.js +4 -1
  41. package/dist/bin/graph-backfill.js +4 -1
  42. package/dist/bin/graph-export.js +4 -1
  43. package/dist/bin/install.js +39 -11
  44. package/dist/bin/intercom-check.js +4 -1
  45. package/dist/bin/postgres-agentic-reflection-backfill.js +3 -0
  46. package/dist/bin/postgres-agentic-semantic-backfill.js +3 -0
  47. package/dist/bin/scan-tasks.js +4 -1
  48. package/dist/bin/setup.js +39 -11
  49. package/dist/bin/shard-migrate.js +4 -1
  50. package/dist/bin/update.js +3 -0
  51. package/dist/gateway/index.js +4 -1
  52. package/dist/hooks/bug-report-worker.js +4 -1
  53. package/dist/hooks/codex-stop-task-finalizer.js +4 -1
  54. package/dist/hooks/commit-complete.js +4 -1
  55. package/dist/hooks/error-recall.js +4 -1
  56. package/dist/hooks/exe-heartbeat-hook.js +3 -0
  57. package/dist/hooks/ingest-worker.js +3 -0
  58. package/dist/hooks/ingest.js +4 -1
  59. package/dist/hooks/instructions-loaded.js +4 -1
  60. package/dist/hooks/notification.js +4 -1
  61. package/dist/hooks/post-compact.js +4 -1
  62. package/dist/hooks/post-tool-combined.js +4 -1
  63. package/dist/hooks/pre-compact.js +4 -1
  64. package/dist/hooks/pre-tool-use.js +4 -1
  65. package/dist/hooks/prompt-submit.js +4 -1
  66. package/dist/hooks/session-end.js +4 -1
  67. package/dist/hooks/session-start.js +4 -1
  68. package/dist/hooks/stop.js +4 -1
  69. package/dist/hooks/subagent-stop.js +4 -1
  70. package/dist/hooks/summary-worker.js +4 -1
  71. package/dist/index.js +4 -1
  72. package/dist/lib/agent-config.js +3 -0
  73. package/dist/lib/cloud-sync.js +3 -0
  74. package/dist/lib/config.js +3 -0
  75. package/dist/lib/consolidation.js +3 -0
  76. package/dist/lib/database.js +3 -0
  77. package/dist/lib/db-daemon-client.js +3 -0
  78. package/dist/lib/db.js +3 -0
  79. package/dist/lib/device-registry.js +3 -0
  80. package/dist/lib/embedder.js +3 -0
  81. package/dist/lib/employee-templates.js +4 -1
  82. package/dist/lib/employees.js +3 -0
  83. package/dist/lib/exe-daemon-client.js +3 -0
  84. package/dist/lib/exe-daemon.js +4 -1
  85. package/dist/lib/hybrid-search.js +4 -1
  86. package/dist/lib/identity.js +3 -0
  87. package/dist/lib/license.js +3 -0
  88. package/dist/lib/messaging.js +3 -0
  89. package/dist/lib/reminders.js +3 -0
  90. package/dist/lib/schedules.js +4 -1
  91. package/dist/lib/session-wrappers.js +31 -6
  92. package/dist/lib/skill-learning.js +3 -0
  93. package/dist/lib/store.js +4 -1
  94. package/dist/lib/task-router.js +3 -0
  95. package/dist/lib/tasks.js +3 -0
  96. package/dist/lib/tmux-routing.js +3 -0
  97. package/dist/lib/token-spend.js +3 -0
  98. package/dist/mcp/server.js +4 -1
  99. package/dist/mcp/tools/complete-reminder.js +3 -0
  100. package/dist/mcp/tools/create-reminder.js +3 -0
  101. package/dist/mcp/tools/create-task.js +3 -0
  102. package/dist/mcp/tools/deactivate-behavior.js +3 -0
  103. package/dist/mcp/tools/list-reminders.js +3 -0
  104. package/dist/mcp/tools/list-tasks.js +3 -0
  105. package/dist/mcp/tools/send-message.js +3 -0
  106. package/dist/mcp/tools/update-task.js +3 -0
  107. package/dist/runtime/index.js +4 -1
  108. package/dist/tui/App.js +4 -1
  109. package/package.json +1 -1
@@ -374,6 +374,9 @@ var init_config = __esm({
374
374
  autoInstall: false,
375
375
  checkIntervalMs: 24 * 60 * 60 * 1e3
376
376
  },
377
+ support: {
378
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
379
+ },
377
380
  orchestration: {
378
381
  phase: "phase_1_coo",
379
382
  phaseSetBy: "default"
@@ -3446,7 +3449,7 @@ var init_platform_procedures = __esm({
3446
3449
  title: "Customer patch triage \u2014 upstream bug vs customization",
3447
3450
  domain: "support",
3448
3451
  priority: "p0",
3449
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3452
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3450
3453
  },
3451
3454
  // --- Operations ---
3452
3455
  {
@@ -245,6 +245,9 @@ var init_config = __esm({
245
245
  autoInstall: false,
246
246
  checkIntervalMs: 24 * 60 * 60 * 1e3
247
247
  },
248
+ support: {
249
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
250
+ },
248
251
  orchestration: {
249
252
  phase: "phase_1_coo",
250
253
  phaseSetBy: "default"
@@ -4153,7 +4156,7 @@ var init_platform_procedures = __esm({
4153
4156
  title: "Customer patch triage \u2014 upstream bug vs customization",
4154
4157
  domain: "support",
4155
4158
  priority: "p0",
4156
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4159
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4157
4160
  },
4158
4161
  // --- Operations ---
4159
4162
  {
@@ -234,6 +234,9 @@ var init_config = __esm({
234
234
  autoInstall: false,
235
235
  checkIntervalMs: 24 * 60 * 60 * 1e3
236
236
  },
237
+ support: {
238
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
239
+ },
237
240
  orchestration: {
238
241
  phase: "phase_1_coo",
239
242
  phaseSetBy: "default"
@@ -4142,7 +4145,7 @@ var init_platform_procedures = __esm({
4142
4145
  title: "Customer patch triage \u2014 upstream bug vs customization",
4143
4146
  domain: "support",
4144
4147
  priority: "p0",
4145
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4148
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4146
4149
  },
4147
4150
  // --- Operations ---
4148
4151
  {
@@ -602,6 +602,9 @@ var init_config = __esm({
602
602
  autoInstall: false,
603
603
  checkIntervalMs: 24 * 60 * 60 * 1e3
604
604
  },
605
+ support: {
606
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
607
+ },
605
608
  orchestration: {
606
609
  phase: "phase_1_coo",
607
610
  phaseSetBy: "default"
@@ -7847,7 +7850,7 @@ var init_platform_procedures = __esm({
7847
7850
  title: "Customer patch triage \u2014 upstream bug vs customization",
7848
7851
  domain: "support",
7849
7852
  priority: "p0",
7850
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7853
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7851
7854
  },
7852
7855
  // --- Operations ---
7853
7856
  {
@@ -298,6 +298,9 @@ var init_config = __esm({
298
298
  autoInstall: false,
299
299
  checkIntervalMs: 24 * 60 * 60 * 1e3
300
300
  },
301
+ support: {
302
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
303
+ },
301
304
  orchestration: {
302
305
  phase: "phase_1_coo",
303
306
  phaseSetBy: "default"
@@ -3359,7 +3362,7 @@ var init_platform_procedures = __esm({
3359
3362
  title: "Customer patch triage \u2014 upstream bug vs customization",
3360
3363
  domain: "support",
3361
3364
  priority: "p0",
3362
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3365
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3363
3366
  },
3364
3367
  // --- Operations ---
3365
3368
  {
@@ -298,6 +298,9 @@ var init_config = __esm({
298
298
  autoInstall: false,
299
299
  checkIntervalMs: 24 * 60 * 60 * 1e3
300
300
  },
301
+ support: {
302
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
303
+ },
301
304
  orchestration: {
302
305
  phase: "phase_1_coo",
303
306
  phaseSetBy: "default"
@@ -4131,7 +4134,7 @@ var init_platform_procedures = __esm({
4131
4134
  title: "Customer patch triage \u2014 upstream bug vs customization",
4132
4135
  domain: "support",
4133
4136
  priority: "p0",
4134
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4137
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4135
4138
  },
4136
4139
  // --- Operations ---
4137
4140
  {
@@ -122,6 +122,9 @@ var init_config = __esm({
122
122
  autoInstall: false,
123
123
  checkIntervalMs: 24 * 60 * 60 * 1e3
124
124
  },
125
+ support: {
126
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
127
+ },
125
128
  orchestration: {
126
129
  phase: "phase_1_coo",
127
130
  phaseSetBy: "default"
@@ -2054,7 +2057,7 @@ var init_installer2 = __esm({
2054
2057
  // src/bin/install.ts
2055
2058
  init_installer();
2056
2059
  import { existsSync as existsSync11, readFileSync as readFileSync9, writeFileSync as writeFileSync7, unlinkSync as unlinkSync3, readdirSync as readdirSync2, openSync, closeSync } from "fs";
2057
- import { spawn, execSync as execSync3 } from "child_process";
2060
+ import { spawn, execSync as execSync4 } from "child_process";
2058
2061
  import path10 from "path";
2059
2062
  import os8 from "os";
2060
2063
 
@@ -2068,6 +2071,7 @@ import {
2068
2071
  readdirSync,
2069
2072
  unlinkSync as unlinkSync2
2070
2073
  } from "fs";
2074
+ import { execSync as execSync3 } from "child_process";
2071
2075
  import path8 from "path";
2072
2076
  import { homedir } from "os";
2073
2077
  var MAX_N = 9;
@@ -2075,6 +2079,7 @@ function generateSessionWrappers(packageRoot, homeDir) {
2075
2079
  const home = homeDir ?? homedir();
2076
2080
  const binDir = path8.join(home, ".exe-os", "bin");
2077
2081
  const rosterPath = path8.join(home, ".exe-os", "exe-employees.json");
2082
+ const shouldMirrorToGlobalBin = homeDir === void 0;
2078
2083
  mkdirSync5(binDir, { recursive: true });
2079
2084
  const exeStartDst = path8.join(binDir, "exe-start");
2080
2085
  const candidates = [
@@ -2115,15 +2120,18 @@ function generateSessionWrappers(packageRoot, homeDir) {
2115
2120
  const wrapperContent = `#!/bin/bash
2116
2121
  exec "${exeStartDst}" "$0" "$@"
2117
2122
  `;
2123
+ const globalBinDir = shouldMirrorToGlobalBin ? resolveGlobalBinDir() : null;
2118
2124
  for (const emp of employees) {
2119
2125
  for (let n = 1; n <= MAX_N; n++) {
2120
- const wrapperPath = path8.join(binDir, `${emp.name}${n}`);
2121
- writeFileSync6(wrapperPath, wrapperContent);
2122
- chmodSync3(wrapperPath, 493);
2126
+ writeWrapper(path8.join(binDir, `${emp.name}${n}`), wrapperContent);
2127
+ if (globalBinDir) {
2128
+ writeWrapper(path8.join(globalBinDir, `${emp.name}${n}`), wrapperContent);
2129
+ }
2123
2130
  created++;
2124
- const codexPath = path8.join(binDir, `${emp.name}${n}-codex`);
2125
- writeFileSync6(codexPath, wrapperContent);
2126
- chmodSync3(codexPath, 493);
2131
+ writeWrapper(path8.join(binDir, `${emp.name}${n}-codex`), wrapperContent);
2132
+ if (globalBinDir) {
2133
+ writeWrapper(path8.join(globalBinDir, `${emp.name}${n}-codex`), wrapperContent);
2134
+ }
2127
2135
  created++;
2128
2136
  }
2129
2137
  }
@@ -2152,6 +2160,26 @@ exec node "${codexLauncher}" --agent ${emp.name} "$@"
2152
2160
  const pathConfigured = ensurePath(home, binDir);
2153
2161
  return { created, pathConfigured };
2154
2162
  }
2163
+ function writeWrapper(wrapperPath, content) {
2164
+ try {
2165
+ writeFileSync6(wrapperPath, content);
2166
+ chmodSync3(wrapperPath, 493);
2167
+ } catch {
2168
+ }
2169
+ }
2170
+ function resolveGlobalBinDir() {
2171
+ try {
2172
+ const exeOsPath = execSync3("command -v exe-os", { encoding: "utf8", timeout: 3e3 }).trim().split("\n")[0];
2173
+ if (exeOsPath) return path8.dirname(exeOsPath);
2174
+ } catch {
2175
+ }
2176
+ try {
2177
+ const prefix = execSync3("npm prefix -g", { encoding: "utf8", timeout: 3e3 }).trim();
2178
+ if (prefix) return path8.join(prefix, "bin");
2179
+ } catch {
2180
+ }
2181
+ return null;
2182
+ }
2155
2183
  function ensurePath(home, binDir) {
2156
2184
  if (process.env.PATH?.split(":").includes(binDir)) {
2157
2185
  return false;
@@ -2210,7 +2238,7 @@ function restartDaemon() {
2210
2238
  }
2211
2239
  }
2212
2240
  try {
2213
- const pids = execSync3("pgrep -f 'exe-daemon.js' 2>/dev/null || true", { encoding: "utf8" }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
2241
+ const pids = execSync4("pgrep -f 'exe-daemon.js' 2>/dev/null || true", { encoding: "utf8" }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
2214
2242
  for (const pid of pids) {
2215
2243
  try {
2216
2244
  process.kill(pid, "SIGKILL");
@@ -2224,7 +2252,7 @@ function restartDaemon() {
2224
2252
  } catch {
2225
2253
  }
2226
2254
  try {
2227
- const pids = execSync3("pgrep -f 'backfill-vectors.js' 2>/dev/null || true", { encoding: "utf8" }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
2255
+ const pids = execSync4("pgrep -f 'backfill-vectors.js' 2>/dev/null || true", { encoding: "utf8" }).trim().split("\n").filter(Boolean).map(Number).filter((n) => !isNaN(n) && n !== process.pid);
2228
2256
  for (const pid of pids) {
2229
2257
  try {
2230
2258
  process.kill(pid, "SIGKILL");
@@ -2261,7 +2289,7 @@ function restartDaemon() {
2261
2289
  } catch {
2262
2290
  }
2263
2291
  try {
2264
- execSync3("sleep 0.5");
2292
+ execSync4("sleep 0.5");
2265
2293
  } catch {
2266
2294
  }
2267
2295
  } catch {
@@ -2354,7 +2382,7 @@ if (args.includes("--commands-only")) {
2354
2382
  `);
2355
2383
  }
2356
2384
  try {
2357
- execSync3("which codex", { encoding: "utf8", timeout: 5e3 });
2385
+ execSync4("which codex", { encoding: "utf8", timeout: 5e3 });
2358
2386
  const { runCodexInstaller: runCodexInstaller2 } = await Promise.resolve().then(() => (init_installer2(), installer_exports));
2359
2387
  await runCodexInstaller2();
2360
2388
  } catch {
@@ -365,6 +365,9 @@ var init_config = __esm({
365
365
  autoInstall: false,
366
366
  checkIntervalMs: 24 * 60 * 60 * 1e3
367
367
  },
368
+ support: {
369
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
370
+ },
368
371
  orchestration: {
369
372
  phase: "phase_1_coo",
370
373
  phaseSetBy: "default"
@@ -4240,7 +4243,7 @@ var init_platform_procedures = __esm({
4240
4243
  title: "Customer patch triage \u2014 upstream bug vs customization",
4241
4244
  domain: "support",
4242
4245
  priority: "p0",
4243
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4246
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4244
4247
  },
4245
4248
  // --- Operations ---
4246
4249
  {
@@ -101,6 +101,9 @@ var init_config = __esm({
101
101
  autoInstall: false,
102
102
  checkIntervalMs: 24 * 60 * 60 * 1e3
103
103
  },
104
+ support: {
105
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
106
+ },
104
107
  orchestration: {
105
108
  phase: "phase_1_coo",
106
109
  phaseSetBy: "default"
@@ -101,6 +101,9 @@ var init_config = __esm({
101
101
  autoInstall: false,
102
102
  checkIntervalMs: 24 * 60 * 60 * 1e3
103
103
  },
104
+ support: {
105
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
106
+ },
104
107
  orchestration: {
105
108
  phase: "phase_1_coo",
106
109
  phaseSetBy: "default"
@@ -614,6 +614,9 @@ var init_config = __esm({
614
614
  autoInstall: false,
615
615
  checkIntervalMs: 24 * 60 * 60 * 1e3
616
616
  },
617
+ support: {
618
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
619
+ },
617
620
  orchestration: {
618
621
  phase: "phase_1_coo",
619
622
  phaseSetBy: "default"
@@ -7918,7 +7921,7 @@ var init_platform_procedures = __esm({
7918
7921
  title: "Customer patch triage \u2014 upstream bug vs customization",
7919
7922
  domain: "support",
7920
7923
  priority: "p0",
7921
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7924
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7922
7925
  },
7923
7926
  // --- Operations ---
7924
7927
  {
package/dist/bin/setup.js CHANGED
@@ -299,6 +299,9 @@ var init_config = __esm({
299
299
  autoInstall: false,
300
300
  checkIntervalMs: 24 * 60 * 60 * 1e3
301
301
  },
302
+ support: {
303
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
304
+ },
302
305
  orchestration: {
303
306
  phase: "phase_1_coo",
304
307
  phaseSetBy: "default"
@@ -908,8 +911,8 @@ function findPackageRoot() {
908
911
  function getAvailableMemoryGB() {
909
912
  if (process.platform === "darwin") {
910
913
  try {
911
- const { execSync: execSync3 } = __require("child_process");
912
- const vmstat = execSync3("vm_stat", { encoding: "utf8" });
914
+ const { execSync: execSync4 } = __require("child_process");
915
+ const vmstat = execSync4("vm_stat", { encoding: "utf8" });
913
916
  const pageSize = 16384;
914
917
  const pageSizeMatch = vmstat.match(/page size of (\d+) bytes/);
915
918
  const actualPageSize = pageSizeMatch ? parseInt(pageSizeMatch[1], 10) : pageSize;
@@ -6417,7 +6420,7 @@ var init_platform_procedures = __esm({
6417
6420
  title: "Customer patch triage \u2014 upstream bug vs customization",
6418
6421
  domain: "support",
6419
6422
  priority: "p0",
6420
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
6423
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
6421
6424
  },
6422
6425
  // --- Operations ---
6423
6426
  {
@@ -7903,12 +7906,14 @@ import {
7903
7906
  readdirSync as readdirSync4,
7904
7907
  unlinkSync as unlinkSync7
7905
7908
  } from "fs";
7909
+ import { execSync as execSync3 } from "child_process";
7906
7910
  import path16 from "path";
7907
7911
  import { homedir as homedir3 } from "os";
7908
7912
  function generateSessionWrappers(packageRoot, homeDir) {
7909
7913
  const home = homeDir ?? homedir3();
7910
7914
  const binDir = path16.join(home, ".exe-os", "bin");
7911
7915
  const rosterPath = path16.join(home, ".exe-os", "exe-employees.json");
7916
+ const shouldMirrorToGlobalBin = homeDir === void 0;
7912
7917
  mkdirSync8(binDir, { recursive: true });
7913
7918
  const exeStartDst = path16.join(binDir, "exe-start");
7914
7919
  const candidates = [
@@ -7949,15 +7954,18 @@ function generateSessionWrappers(packageRoot, homeDir) {
7949
7954
  const wrapperContent = `#!/bin/bash
7950
7955
  exec "${exeStartDst}" "$0" "$@"
7951
7956
  `;
7957
+ const globalBinDir = shouldMirrorToGlobalBin ? resolveGlobalBinDir() : null;
7952
7958
  for (const emp of employees) {
7953
7959
  for (let n = 1; n <= MAX_N; n++) {
7954
- const wrapperPath = path16.join(binDir, `${emp.name}${n}`);
7955
- writeFileSync10(wrapperPath, wrapperContent);
7956
- chmodSync2(wrapperPath, 493);
7960
+ writeWrapper(path16.join(binDir, `${emp.name}${n}`), wrapperContent);
7961
+ if (globalBinDir) {
7962
+ writeWrapper(path16.join(globalBinDir, `${emp.name}${n}`), wrapperContent);
7963
+ }
7957
7964
  created++;
7958
- const codexPath = path16.join(binDir, `${emp.name}${n}-codex`);
7959
- writeFileSync10(codexPath, wrapperContent);
7960
- chmodSync2(codexPath, 493);
7965
+ writeWrapper(path16.join(binDir, `${emp.name}${n}-codex`), wrapperContent);
7966
+ if (globalBinDir) {
7967
+ writeWrapper(path16.join(globalBinDir, `${emp.name}${n}-codex`), wrapperContent);
7968
+ }
7961
7969
  created++;
7962
7970
  }
7963
7971
  }
@@ -7986,6 +7994,26 @@ exec node "${codexLauncher}" --agent ${emp.name} "$@"
7986
7994
  const pathConfigured = ensurePath(home, binDir);
7987
7995
  return { created, pathConfigured };
7988
7996
  }
7997
+ function writeWrapper(wrapperPath, content) {
7998
+ try {
7999
+ writeFileSync10(wrapperPath, content);
8000
+ chmodSync2(wrapperPath, 493);
8001
+ } catch {
8002
+ }
8003
+ }
8004
+ function resolveGlobalBinDir() {
8005
+ try {
8006
+ const exeOsPath = execSync3("command -v exe-os", { encoding: "utf8", timeout: 3e3 }).trim().split("\n")[0];
8007
+ if (exeOsPath) return path16.dirname(exeOsPath);
8008
+ } catch {
8009
+ }
8010
+ try {
8011
+ const prefix = execSync3("npm prefix -g", { encoding: "utf8", timeout: 3e3 }).trim();
8012
+ if (prefix) return path16.join(prefix, "bin");
8013
+ } catch {
8014
+ }
8015
+ return null;
8016
+ }
7989
8017
  function ensurePath(home, binDir) {
7990
8018
  if (process.env.PATH?.split(":").includes(binDir)) {
7991
8019
  return false;
@@ -8174,8 +8202,8 @@ function ask(rl, prompt) {
8174
8202
  function getAvailableMemoryGB2() {
8175
8203
  if (process.platform === "darwin") {
8176
8204
  try {
8177
- const { execSync: execSync3 } = __require("child_process");
8178
- const vmstat = execSync3("vm_stat", { encoding: "utf8" });
8205
+ const { execSync: execSync4 } = __require("child_process");
8206
+ const vmstat = execSync4("vm_stat", { encoding: "utf8" });
8179
8207
  const pageSizeMatch = vmstat.match(/page size of (\d+) bytes/);
8180
8208
  const pageSize = pageSizeMatch ? parseInt(pageSizeMatch[1], 10) : 16384;
8181
8209
  const free = vmstat.match(/Pages free:\s+(\d+)/);
@@ -298,6 +298,9 @@ var init_config = __esm({
298
298
  autoInstall: false,
299
299
  checkIntervalMs: 24 * 60 * 60 * 1e3
300
300
  },
301
+ support: {
302
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
303
+ },
301
304
  orchestration: {
302
305
  phase: "phase_1_coo",
303
306
  phaseSetBy: "default"
@@ -3359,7 +3362,7 @@ var init_platform_procedures = __esm({
3359
3362
  title: "Customer patch triage \u2014 upstream bug vs customization",
3360
3363
  domain: "support",
3361
3364
  priority: "p0",
3362
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3365
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
3363
3366
  },
3364
3367
  // --- Operations ---
3365
3368
  {
@@ -112,6 +112,9 @@ var init_config = __esm({
112
112
  autoInstall: false,
113
113
  checkIntervalMs: 24 * 60 * 60 * 1e3
114
114
  },
115
+ support: {
116
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
117
+ },
115
118
  orchestration: {
116
119
  phase: "phase_1_coo",
117
120
  phaseSetBy: "default"
@@ -675,6 +675,9 @@ var init_config = __esm({
675
675
  autoInstall: false,
676
676
  checkIntervalMs: 24 * 60 * 60 * 1e3
677
677
  },
678
+ support: {
679
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
680
+ },
678
681
  orchestration: {
679
682
  phase: "phase_1_coo",
680
683
  phaseSetBy: "default"
@@ -4799,7 +4802,7 @@ var init_platform_procedures = __esm({
4799
4802
  title: "Customer patch triage \u2014 upstream bug vs customization",
4800
4803
  domain: "support",
4801
4804
  priority: "p0",
4802
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4805
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4803
4806
  },
4804
4807
  // --- Operations ---
4805
4808
  {
@@ -364,6 +364,9 @@ var init_config = __esm({
364
364
  autoInstall: false,
365
365
  checkIntervalMs: 24 * 60 * 60 * 1e3
366
366
  },
367
+ support: {
368
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
369
+ },
367
370
  orchestration: {
368
371
  phase: "phase_1_coo",
369
372
  phaseSetBy: "default"
@@ -4541,7 +4544,7 @@ var init_platform_procedures = __esm({
4541
4544
  title: "Customer patch triage \u2014 upstream bug vs customization",
4542
4545
  domain: "support",
4543
4546
  priority: "p0",
4544
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4547
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4545
4548
  },
4546
4549
  // --- Operations ---
4547
4550
  {
@@ -309,6 +309,9 @@ var init_config = __esm({
309
309
  autoInstall: false,
310
310
  checkIntervalMs: 24 * 60 * 60 * 1e3
311
311
  },
312
+ support: {
313
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
314
+ },
312
315
  orchestration: {
313
316
  phase: "phase_1_coo",
314
317
  phaseSetBy: "default"
@@ -4224,7 +4227,7 @@ var init_platform_procedures = __esm({
4224
4227
  title: "Customer patch triage \u2014 upstream bug vs customization",
4225
4228
  domain: "support",
4226
4229
  priority: "p0",
4227
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4230
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4228
4231
  },
4229
4232
  // --- Operations ---
4230
4233
  {
@@ -601,6 +601,9 @@ var init_config = __esm({
601
601
  autoInstall: false,
602
602
  checkIntervalMs: 24 * 60 * 60 * 1e3
603
603
  },
604
+ support: {
605
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
606
+ },
604
607
  orchestration: {
605
608
  phase: "phase_1_coo",
606
609
  phaseSetBy: "default"
@@ -7912,7 +7915,7 @@ var init_platform_procedures = __esm({
7912
7915
  title: "Customer patch triage \u2014 upstream bug vs customization",
7913
7916
  domain: "support",
7914
7917
  priority: "p0",
7915
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7918
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
7916
7919
  },
7917
7920
  // --- Operations ---
7918
7921
  {
@@ -298,6 +298,9 @@ var init_config = __esm({
298
298
  autoInstall: false,
299
299
  checkIntervalMs: 24 * 60 * 60 * 1e3
300
300
  },
301
+ support: {
302
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
303
+ },
301
304
  orchestration: {
302
305
  phase: "phase_1_coo",
303
306
  phaseSetBy: "default"
@@ -4132,7 +4135,7 @@ var init_platform_procedures = __esm({
4132
4135
  title: "Customer patch triage \u2014 upstream bug vs customization",
4133
4136
  domain: "support",
4134
4137
  priority: "p0",
4135
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4138
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4136
4139
  },
4137
4140
  // --- Operations ---
4138
4141
  {
@@ -100,6 +100,9 @@ var init_config = __esm({
100
100
  autoInstall: false,
101
101
  checkIntervalMs: 24 * 60 * 60 * 1e3
102
102
  },
103
+ support: {
104
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
105
+ },
103
106
  orchestration: {
104
107
  phase: "phase_1_coo",
105
108
  phaseSetBy: "default"
@@ -103,6 +103,9 @@ var DEFAULT_CONFIG = {
103
103
  autoInstall: false,
104
104
  checkIntervalMs: 24 * 60 * 60 * 1e3
105
105
  },
106
+ support: {
107
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
108
+ },
106
109
  orchestration: {
107
110
  phase: "phase_1_coo",
108
111
  phaseSetBy: "default"
@@ -261,6 +261,9 @@ var init_config = __esm({
261
261
  autoInstall: false,
262
262
  checkIntervalMs: 24 * 60 * 60 * 1e3
263
263
  },
264
+ support: {
265
+ bugReportEndpoint: "https://askexe.com/v1/support/bug-reports"
266
+ },
264
267
  orchestration: {
265
268
  phase: "phase_1_coo",
266
269
  phaseSetBy: "default"
@@ -4308,7 +4311,7 @@ var init_platform_procedures = __esm({
4308
4311
  title: "Customer patch triage \u2014 upstream bug vs customization",
4309
4312
  domain: "support",
4310
4313
  priority: "p0",
4311
- content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4314
+ content: "When an agent encounters a suspected Exe OS bug, update breakage, MCP/tool failure, installer issue, memory/orchestration defect, or customer-local patch need, it MUST use create_bug_report. Do this before or alongside any local workaround so the report reaches AskExe support directly via the customer's license. Do NOT ask the founder for permission to file a required bug report. If create_bug_report is deferred/lazy-loaded, load it and call it. If it is unavailable in the live MCP surface, report 'create_bug_report unavailable in this session' and save a local report in exe/output \u2014 never claim the tool does not exist unless the live MCP surface was checked. Classify first: upstream_bug = reproducible exe-os/platform defect; customer_customization = identity, behavior, procedure, config, branding, workflow preference that belongs in customer-owned layers; emergency_hotfix = temporary local patch. For upstream bugs/emergency hotfixes include version, repro steps, expected/actual, files changed, workaround, and local diff summary. Avoid permanent platform-code patches unless founder approves; if a hotfix is unavoidable, document it in the bug report and re-check after npm update."
4312
4315
  },
4313
4316
  // --- Operations ---
4314
4317
  {