@askexenow/exe-os 0.8.0 → 0.8.2

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 (107) hide show
  1. package/README.md +178 -79
  2. package/package.json +1 -1
  3. package/dist/bin/backfill-responses.js +0 -1912
  4. package/dist/bin/backfill-vectors.js +0 -1642
  5. package/dist/bin/cleanup-stale-review-tasks.js +0 -1339
  6. package/dist/bin/cli.js +0 -18800
  7. package/dist/bin/exe-agent.js +0 -1858
  8. package/dist/bin/exe-assign.js +0 -1957
  9. package/dist/bin/exe-boot.js +0 -6460
  10. package/dist/bin/exe-call.js +0 -197
  11. package/dist/bin/exe-cloud.js +0 -850
  12. package/dist/bin/exe-dispatch.js +0 -1146
  13. package/dist/bin/exe-doctor.js +0 -1657
  14. package/dist/bin/exe-export-behaviors.js +0 -1494
  15. package/dist/bin/exe-forget.js +0 -1627
  16. package/dist/bin/exe-gateway.js +0 -7732
  17. package/dist/bin/exe-healthcheck.js +0 -207
  18. package/dist/bin/exe-heartbeat.js +0 -1647
  19. package/dist/bin/exe-kill.js +0 -1479
  20. package/dist/bin/exe-launch-agent.js +0 -1704
  21. package/dist/bin/exe-link.js +0 -192
  22. package/dist/bin/exe-new-employee.js +0 -852
  23. package/dist/bin/exe-pending-messages.js +0 -1446
  24. package/dist/bin/exe-pending-notifications.js +0 -1321
  25. package/dist/bin/exe-pending-reviews.js +0 -1468
  26. package/dist/bin/exe-repo-drift.js +0 -95
  27. package/dist/bin/exe-review.js +0 -1590
  28. package/dist/bin/exe-search.js +0 -2651
  29. package/dist/bin/exe-session-cleanup.js +0 -3173
  30. package/dist/bin/exe-settings.js +0 -354
  31. package/dist/bin/exe-status.js +0 -1532
  32. package/dist/bin/exe-team.js +0 -1324
  33. package/dist/bin/git-sweep.js +0 -2185
  34. package/dist/bin/graph-backfill.js +0 -1968
  35. package/dist/bin/graph-export.js +0 -1604
  36. package/dist/bin/install.js +0 -656
  37. package/dist/bin/list-providers.js +0 -140
  38. package/dist/bin/scan-tasks.js +0 -1820
  39. package/dist/bin/setup.js +0 -951
  40. package/dist/bin/shard-migrate.js +0 -1494
  41. package/dist/bin/update.js +0 -95
  42. package/dist/bin/wiki-sync.js +0 -1514
  43. package/dist/gateway/index.js +0 -8848
  44. package/dist/hooks/bug-report-worker.js +0 -2743
  45. package/dist/hooks/commit-complete.js +0 -2108
  46. package/dist/hooks/error-recall.js +0 -2861
  47. package/dist/hooks/exe-heartbeat-hook.js +0 -232
  48. package/dist/hooks/ingest-worker.js +0 -4793
  49. package/dist/hooks/ingest.js +0 -684
  50. package/dist/hooks/instructions-loaded.js +0 -1880
  51. package/dist/hooks/notification.js +0 -1726
  52. package/dist/hooks/post-compact.js +0 -1751
  53. package/dist/hooks/pre-compact.js +0 -1746
  54. package/dist/hooks/pre-tool-use.js +0 -2191
  55. package/dist/hooks/prompt-ingest-worker.js +0 -2126
  56. package/dist/hooks/prompt-submit.js +0 -4693
  57. package/dist/hooks/response-ingest-worker.js +0 -1936
  58. package/dist/hooks/session-end.js +0 -1752
  59. package/dist/hooks/session-start.js +0 -2795
  60. package/dist/hooks/stop.js +0 -1835
  61. package/dist/hooks/subagent-stop.js +0 -1726
  62. package/dist/hooks/summary-worker.js +0 -2661
  63. package/dist/index.js +0 -11834
  64. package/dist/lib/cloud-sync.js +0 -495
  65. package/dist/lib/config.js +0 -222
  66. package/dist/lib/consolidation.js +0 -476
  67. package/dist/lib/crypto.js +0 -51
  68. package/dist/lib/database.js +0 -730
  69. package/dist/lib/device-registry.js +0 -900
  70. package/dist/lib/embedder.js +0 -632
  71. package/dist/lib/employee-templates.js +0 -543
  72. package/dist/lib/employees.js +0 -177
  73. package/dist/lib/error-detector.js +0 -156
  74. package/dist/lib/exe-daemon-client.js +0 -451
  75. package/dist/lib/exe-daemon.js +0 -8285
  76. package/dist/lib/file-grep.js +0 -199
  77. package/dist/lib/hybrid-search.js +0 -1819
  78. package/dist/lib/identity-templates.js +0 -320
  79. package/dist/lib/identity.js +0 -223
  80. package/dist/lib/keychain.js +0 -145
  81. package/dist/lib/license.js +0 -377
  82. package/dist/lib/messaging.js +0 -1376
  83. package/dist/lib/reminders.js +0 -63
  84. package/dist/lib/schedules.js +0 -1396
  85. package/dist/lib/session-registry.js +0 -52
  86. package/dist/lib/skill-learning.js +0 -477
  87. package/dist/lib/status-brief.js +0 -235
  88. package/dist/lib/store.js +0 -1551
  89. package/dist/lib/task-router.js +0 -62
  90. package/dist/lib/tasks.js +0 -2456
  91. package/dist/lib/tmux-routing.js +0 -2836
  92. package/dist/lib/tmux-status.js +0 -261
  93. package/dist/lib/tmux-transport.js +0 -83
  94. package/dist/lib/transport.js +0 -128
  95. package/dist/lib/ws-auth.js +0 -19
  96. package/dist/lib/ws-client.js +0 -160
  97. package/dist/mcp/server.js +0 -10538
  98. package/dist/mcp/tools/complete-reminder.js +0 -67
  99. package/dist/mcp/tools/create-reminder.js +0 -52
  100. package/dist/mcp/tools/create-task.js +0 -1853
  101. package/dist/mcp/tools/deactivate-behavior.js +0 -263
  102. package/dist/mcp/tools/list-reminders.js +0 -62
  103. package/dist/mcp/tools/list-tasks.js +0 -463
  104. package/dist/mcp/tools/send-message.js +0 -1382
  105. package/dist/mcp/tools/update-task.js +0 -1692
  106. package/dist/runtime/index.js +0 -6809
  107. package/dist/tui/App.js +0 -17479
@@ -1,95 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/bin/exe-repo-drift.ts
4
- import { createHash } from "crypto";
5
- import { readdirSync, readFileSync, existsSync } from "fs";
6
- import path from "path";
7
- import os from "os";
8
- var EXE_OS_ROOT = process.cwd();
9
- var OSS_ROOT = path.join(os.homedir(), "exe-ai-employees");
10
- var IGNORE_LIST = [
11
- // Add paths relative to src/ as differences are discovered
12
- // Example: "lib/some-proprietary-module.ts"
13
- ];
14
- function sha256(filePath) {
15
- return createHash("sha256").update(readFileSync(filePath)).digest("hex");
16
- }
17
- function walkDir(dir, base) {
18
- const results = [];
19
- if (!existsSync(dir)) return results;
20
- for (const entry of readdirSync(dir, { withFileTypes: true })) {
21
- const full = path.join(dir, entry.name);
22
- if (entry.isDirectory()) {
23
- results.push(...walkDir(full, base));
24
- } else {
25
- results.push(path.relative(base, full));
26
- }
27
- }
28
- return results;
29
- }
30
- function main() {
31
- const jsonMode = process.argv.includes("--json");
32
- if (!existsSync(path.join(EXE_OS_ROOT, "src"))) {
33
- console.error("Error: run from exe-os project root (src/ not found)");
34
- process.exit(2);
35
- }
36
- if (!existsSync(OSS_ROOT)) {
37
- console.error(`Error: OSS repo not found at ${OSS_ROOT}`);
38
- process.exit(2);
39
- }
40
- const exeOsSrc = path.join(EXE_OS_ROOT, "src");
41
- const ossSrc = path.join(OSS_ROOT, "src");
42
- const exeOsFiles = new Set(walkDir(exeOsSrc, exeOsSrc));
43
- const ossFiles = new Set(walkDir(ossSrc, ossSrc));
44
- const shared = [...exeOsFiles].filter((f) => ossFiles.has(f)).sort();
45
- if (shared.length === 0) {
46
- console.log("No shared files found between repos.");
47
- process.exit(0);
48
- }
49
- const results = [];
50
- let driftCount = 0;
51
- for (const file of shared) {
52
- if (IGNORE_LIST.includes(file)) {
53
- results.push({ file, status: "ignored" });
54
- continue;
55
- }
56
- const exeOsHash = sha256(path.join(exeOsSrc, file));
57
- const ossHash = sha256(path.join(ossSrc, file));
58
- if (exeOsHash === ossHash) {
59
- results.push({ file, status: "sync" });
60
- } else {
61
- results.push({ file, status: "drift" });
62
- driftCount++;
63
- }
64
- }
65
- if (jsonMode) {
66
- console.log(JSON.stringify({ shared: shared.length, drift: driftCount, files: results }, null, 2));
67
- process.exit(driftCount > 0 ? 1 : 0);
68
- }
69
- const maxLen = Math.max(...results.map((r) => r.file.length), 4);
70
- const pad = (s, n) => s + " ".repeat(Math.max(0, n - s.length));
71
- const STATUS_MAP = {
72
- sync: "\u{1F7E2} sync",
73
- drift: "\u{1F534} drift",
74
- ignored: "\u26AA skip"
75
- };
76
- const colW = maxLen + 2;
77
- const statusW = 10;
78
- const hr = "\u2500".repeat(colW);
79
- const hrS = "\u2500".repeat(statusW);
80
- console.log(`
81
- exe-os \u2194 exe-ai-employees \u2014 ${shared.length} shared files
82
- `);
83
- console.log(`\u250C\u2500${hr}\u2500\u252C\u2500${hrS}\u2500\u2510`);
84
- console.log(`\u2502 ${pad("File", colW)} \u2502 ${pad("Status", statusW)} \u2502`);
85
- console.log(`\u251C\u2500${hr}\u2500\u253C\u2500${hrS}\u2500\u2524`);
86
- for (const r of results) {
87
- console.log(`\u2502 ${pad(r.file, colW)} \u2502 ${pad(STATUS_MAP[r.status], statusW)} \u2502`);
88
- }
89
- console.log(`\u2514\u2500${hr}\u2500\u2534\u2500${hrS}\u2500\u2518`);
90
- console.log(`
91
- ${driftCount > 0 ? `\u{1F534} ${driftCount} file(s) out of sync` : "\u{1F7E2} All shared files in sync"}
92
- `);
93
- process.exit(driftCount > 0 ? 1 : 0);
94
- }
95
- main();