@askexenow/exe-os 0.9.36 → 0.9.38

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 (71) hide show
  1. package/deploy/stack-manifests/v0.9.json +55 -0
  2. package/dist/bin/backfill-conversations.js +5 -2
  3. package/dist/bin/backfill-responses.js +5 -2
  4. package/dist/bin/backfill-vectors.js +2 -2
  5. package/dist/bin/cleanup-stale-review-tasks.js +5 -2
  6. package/dist/bin/cli.js +557 -164
  7. package/dist/bin/exe-agent.js +2 -2
  8. package/dist/bin/exe-assign.js +5 -2
  9. package/dist/bin/exe-boot.js +2 -2
  10. package/dist/bin/exe-call.js +2 -2
  11. package/dist/bin/exe-dispatch.js +5 -2
  12. package/dist/bin/exe-doctor.js +2 -2
  13. package/dist/bin/exe-export-behaviors.js +5 -2
  14. package/dist/bin/exe-forget.js +5 -2
  15. package/dist/bin/exe-gateway.js +27 -3
  16. package/dist/bin/exe-heartbeat.js +5 -2
  17. package/dist/bin/exe-kill.js +5 -2
  18. package/dist/bin/exe-launch-agent.js +2 -2
  19. package/dist/bin/exe-new-employee.js +71 -4
  20. package/dist/bin/exe-pending-messages.js +5 -2
  21. package/dist/bin/exe-pending-notifications.js +5 -2
  22. package/dist/bin/exe-pending-reviews.js +5 -2
  23. package/dist/bin/exe-rename.js +1747 -199
  24. package/dist/bin/exe-review.js +5 -2
  25. package/dist/bin/exe-search.js +11 -10
  26. package/dist/bin/exe-session-cleanup.js +9 -3
  27. package/dist/bin/exe-start-codex.js +2 -2
  28. package/dist/bin/exe-start-opencode.js +2 -2
  29. package/dist/bin/exe-status.js +5 -2
  30. package/dist/bin/exe-team.js +5 -2
  31. package/dist/bin/git-sweep.js +5 -2
  32. package/dist/bin/graph-backfill.js +2 -2
  33. package/dist/bin/graph-export.js +5 -2
  34. package/dist/bin/install.js +68 -2
  35. package/dist/bin/intercom-check.js +5 -2
  36. package/dist/bin/scan-tasks.js +5 -2
  37. package/dist/bin/setup.js +2 -2
  38. package/dist/bin/shard-migrate.js +2 -2
  39. package/dist/bin/stack-update.js +308 -0
  40. package/dist/gateway/index.js +27 -3
  41. package/dist/hooks/bug-report-worker.js +5 -2
  42. package/dist/hooks/codex-stop-task-finalizer.js +5 -2
  43. package/dist/hooks/commit-complete.js +5 -2
  44. package/dist/hooks/error-recall.js +11 -10
  45. package/dist/hooks/ingest-worker.js +9 -2
  46. package/dist/hooks/ingest.js +5 -2
  47. package/dist/hooks/instructions-loaded.js +5 -2
  48. package/dist/hooks/notification.js +5 -2
  49. package/dist/hooks/post-compact.js +5 -2
  50. package/dist/hooks/post-tool-combined.js +20 -12
  51. package/dist/hooks/pre-compact.js +7 -3
  52. package/dist/hooks/pre-tool-use.js +5 -2
  53. package/dist/hooks/prompt-submit.js +11 -10
  54. package/dist/hooks/session-end.js +133 -5
  55. package/dist/hooks/session-start.js +11 -10
  56. package/dist/hooks/stop.js +9 -4
  57. package/dist/hooks/subagent-stop.js +5 -2
  58. package/dist/hooks/summary-worker.js +122 -20
  59. package/dist/index.js +49 -17
  60. package/dist/lib/employee-templates.js +2 -2
  61. package/dist/lib/exe-daemon.js +11011 -10418
  62. package/dist/lib/hybrid-search.js +11 -10
  63. package/dist/lib/schedules.js +2 -2
  64. package/dist/lib/store.js +5 -2
  65. package/dist/mcp/server.js +6881 -6356
  66. package/dist/runtime/index.js +27 -16
  67. package/dist/tui/App.js +5 -2
  68. package/package.json +4 -1
  69. package/src/commands/exe/save.md +9 -5
  70. package/stack.release.json +31 -0
  71. package/stack.release.schema.json +31 -0
@@ -0,0 +1,55 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "latest": "0.9.0",
4
+ "stacks": {
5
+ "0.9.0": {
6
+ "version": "0.9.0",
7
+ "releasedAt": "2026-05-10T00:00:00Z",
8
+ "notes": "Initial omnibus stack manifest for self-hosted Exe OS v0.9 customer VPS deployments.",
9
+ "breakingChanges": [
10
+ {
11
+ "id": "whatsapp_relink_required",
12
+ "title": "WhatsApp QR re-link required for Baileys v7",
13
+ "description": "exe-gateway uses Baileys v7. Existing WhatsApp 6.x linked-device auth state must be backed up and re-linked once with a new QR code.",
14
+ "requiredAction": "Open https://<gateway-domain>/pair/default?token=<admin-token> and scan from WhatsApp \u2192 Linked Devices after the update.",
15
+ "expectedDowntimeMinutes": "2-5",
16
+ "requiresConfirmation": true
17
+ }
18
+ ],
19
+ "services": {
20
+ "crm": {
21
+ "env": "CRM_IMAGE_TAG",
22
+ "image": "ghcr.io/askexe/exe-crm:v0.2.1",
23
+ "healthUrl": "http://127.0.0.1:3000/healthz"
24
+ },
25
+ "wiki": {
26
+ "env": "WIKI_IMAGE_TAG",
27
+ "image": "ghcr.io/askexe/exe-wiki:v1.11.1",
28
+ "healthUrl": "http://127.0.0.1:3001/api/ping"
29
+ },
30
+ "exed": {
31
+ "env": "EXED_IMAGE_TAG",
32
+ "image": "ghcr.io/askexe/exed:v0.9.37",
33
+ "healthUrl": "http://127.0.0.1:8765/health"
34
+ },
35
+ "gateway": {
36
+ "env": "GATEWAY_IMAGE_TAG",
37
+ "image": "ghcr.io/askexe/exe-gateway:v0.3.0",
38
+ "healthUrl": "http://127.0.0.1:3100/health"
39
+ },
40
+ "monitorAgent": {
41
+ "env": "MONITOR_AGENT_IMAGE_TAG",
42
+ "image": "ghcr.io/askexe/exe-monitor-agent:v0.1.0"
43
+ }
44
+ },
45
+ "releaseDescriptors": {
46
+ "exed": "AskExe/exe-os@0.9.37:stack.release.json",
47
+ "crm": "AskExe/exe-crm@0.2.1:stack.release.json",
48
+ "wiki": "AskExe/exe-wiki@1.11.1:stack.release.json",
49
+ "gateway": "AskExe/exe-gateway@0.3.0:stack.release.json",
50
+ "db": "AskExe/exe-db@0.1.0:stack.release.json",
51
+ "monitorAgent": "AskExe/exe-monitor@0.1.0:stack.release.json"
52
+ }
53
+ }
54
+ }
55
+ }
@@ -3200,7 +3200,7 @@ var init_platform_procedures = __esm({
3200
3200
  title: "MCP tools \u2014 wiki, documents, and content",
3201
3201
  domain: "tool-use",
3202
3202
  priority: "p1",
3203
- content: "create_wiki_page: create a wiki page in exe-wiki. list_wiki_pages: browse wiki pages. get_wiki_page: read a wiki page. update_wiki_page: edit a wiki page. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3203
+ content: "wiki: read/list wiki pages only. Direct wiki write tools are removed; wiki updates flow through raw-data ingestion/projection into the curated wiki store. Legacy aliases: list_wiki_pages/get_wiki_page. crm: read/list/get CRM records from exe-db. raw_data: read capped raw landing-pad events from exe-db with payload opt-in. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3204
3204
  },
3205
3205
  {
3206
3206
  title: "MCP tools \u2014 system, operations, and admin",
@@ -3218,7 +3218,7 @@ var init_platform_procedures = __esm({
3218
3218
  title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
3219
3219
  domain: "tool-use",
3220
3220
  priority: "p1",
3221
- content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage Layer 0 procedures (actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3221
+ content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage customer-owned company procedures (Layer 0; actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3222
3222
  }
3223
3223
  ];
3224
3224
  PLATFORM_PROCEDURE_TITLES = new Set(
@@ -3576,6 +3576,9 @@ function classifyMemoryType(input) {
3576
3576
  if (tool.includes("commit") || text.includes("adr-") || text.includes("architectural decision")) return "adr";
3577
3577
  if (tool.includes("store_behavior") || tool.includes("behavior")) return "behavior";
3578
3578
  if (tool.includes("global_procedure") || text.includes("organization-wide procedures")) return "procedure";
3579
+ if (tool.includes("checkpoint") || text.startsWith("context checkpoint")) return "checkpoint";
3580
+ if (tool.includes("sessionsummary") || tool.includes("session-summary")) return "summary";
3581
+ if (tool.includes("sessionend") || text.startsWith("session ended")) return "summary";
3579
3582
  if (tool.includes("send_whatsapp") || tool.includes("conversation")) return "conversation";
3580
3583
  if (tool === "store_memory" || tool === "manual") return "observation";
3581
3584
  return "raw";
@@ -3200,7 +3200,7 @@ var init_platform_procedures = __esm({
3200
3200
  title: "MCP tools \u2014 wiki, documents, and content",
3201
3201
  domain: "tool-use",
3202
3202
  priority: "p1",
3203
- content: "create_wiki_page: create a wiki page in exe-wiki. list_wiki_pages: browse wiki pages. get_wiki_page: read a wiki page. update_wiki_page: edit a wiki page. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3203
+ content: "wiki: read/list wiki pages only. Direct wiki write tools are removed; wiki updates flow through raw-data ingestion/projection into the curated wiki store. Legacy aliases: list_wiki_pages/get_wiki_page. crm: read/list/get CRM records from exe-db. raw_data: read capped raw landing-pad events from exe-db with payload opt-in. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3204
3204
  },
3205
3205
  {
3206
3206
  title: "MCP tools \u2014 system, operations, and admin",
@@ -3218,7 +3218,7 @@ var init_platform_procedures = __esm({
3218
3218
  title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
3219
3219
  domain: "tool-use",
3220
3220
  priority: "p1",
3221
- content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage Layer 0 procedures (actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3221
+ content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage customer-owned company procedures (Layer 0; actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3222
3222
  }
3223
3223
  ];
3224
3224
  PLATFORM_PROCEDURE_TITLES = new Set(
@@ -3575,6 +3575,9 @@ function classifyMemoryType(input) {
3575
3575
  if (tool.includes("commit") || text.includes("adr-") || text.includes("architectural decision")) return "adr";
3576
3576
  if (tool.includes("store_behavior") || tool.includes("behavior")) return "behavior";
3577
3577
  if (tool.includes("global_procedure") || text.includes("organization-wide procedures")) return "procedure";
3578
+ if (tool.includes("checkpoint") || text.startsWith("context checkpoint")) return "checkpoint";
3579
+ if (tool.includes("sessionsummary") || tool.includes("session-summary")) return "summary";
3580
+ if (tool.includes("sessionend") || text.startsWith("session ended")) return "summary";
3578
3581
  if (tool.includes("send_whatsapp") || tool.includes("conversation")) return "conversation";
3579
3582
  if (tool === "store_memory" || tool === "manual") return "observation";
3580
3583
  return "raw";
@@ -3196,7 +3196,7 @@ var init_platform_procedures = __esm({
3196
3196
  title: "MCP tools \u2014 wiki, documents, and content",
3197
3197
  domain: "tool-use",
3198
3198
  priority: "p1",
3199
- content: "create_wiki_page: create a wiki page in exe-wiki. list_wiki_pages: browse wiki pages. get_wiki_page: read a wiki page. update_wiki_page: edit a wiki page. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3199
+ content: "wiki: read/list wiki pages only. Direct wiki write tools are removed; wiki updates flow through raw-data ingestion/projection into the curated wiki store. Legacy aliases: list_wiki_pages/get_wiki_page. crm: read/list/get CRM records from exe-db. raw_data: read capped raw landing-pad events from exe-db with payload opt-in. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3200
3200
  },
3201
3201
  {
3202
3202
  title: "MCP tools \u2014 system, operations, and admin",
@@ -3214,7 +3214,7 @@ var init_platform_procedures = __esm({
3214
3214
  title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
3215
3215
  domain: "tool-use",
3216
3216
  priority: "p1",
3217
- content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage Layer 0 procedures (actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3217
+ content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage customer-owned company procedures (Layer 0; actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3218
3218
  }
3219
3219
  ];
3220
3220
  PLATFORM_PROCEDURE_TITLES = new Set(
@@ -3065,6 +3065,9 @@ function classifyMemoryType(input) {
3065
3065
  if (tool.includes("commit") || text.includes("adr-") || text.includes("architectural decision")) return "adr";
3066
3066
  if (tool.includes("store_behavior") || tool.includes("behavior")) return "behavior";
3067
3067
  if (tool.includes("global_procedure") || text.includes("organization-wide procedures")) return "procedure";
3068
+ if (tool.includes("checkpoint") || text.startsWith("context checkpoint")) return "checkpoint";
3069
+ if (tool.includes("sessionsummary") || tool.includes("session-summary")) return "summary";
3070
+ if (tool.includes("sessionend") || text.startsWith("session ended")) return "summary";
3068
3071
  if (tool.includes("send_whatsapp") || tool.includes("conversation")) return "conversation";
3069
3072
  if (tool === "store_memory" || tool === "manual") return "observation";
3070
3073
  return "raw";
@@ -3717,7 +3720,7 @@ var init_platform_procedures = __esm({
3717
3720
  title: "MCP tools \u2014 wiki, documents, and content",
3718
3721
  domain: "tool-use",
3719
3722
  priority: "p1",
3720
- content: "create_wiki_page: create a wiki page in exe-wiki. list_wiki_pages: browse wiki pages. get_wiki_page: read a wiki page. update_wiki_page: edit a wiki page. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3723
+ content: "wiki: read/list wiki pages only. Direct wiki write tools are removed; wiki updates flow through raw-data ingestion/projection into the curated wiki store. Legacy aliases: list_wiki_pages/get_wiki_page. crm: read/list/get CRM records from exe-db. raw_data: read capped raw landing-pad events from exe-db with payload opt-in. ingest_document: import a file (PDF, MD, etc.) into memory as chunks. list_documents: browse ingested documents by workspace. purge_document: remove a document and its memory chunks. set_document_importance: adjust chunk importance scores. rerank_documents: re-score document relevance for a query."
3721
3724
  },
3722
3725
  {
3723
3726
  title: "MCP tools \u2014 system, operations, and admin",
@@ -3735,7 +3738,7 @@ var init_platform_procedures = __esm({
3735
3738
  title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
3736
3739
  domain: "tool-use",
3737
3740
  priority: "p1",
3738
- content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage Layer 0 procedures (actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3741
+ content: "create_trigger: set up a scheduled recurring agent job (cron). list_triggers: view active triggers. load_skill: load a slash-command skill dynamically. apply_starter_pack: import a pre-built behavior + identity pack for a role. export_orchestration: export full org state (tasks, behaviors, identities) as portable JSON. import_orchestration: import org state into a new instance. deploy_client: deploy a customer client instance. query_company_brain: unified RAG query across all company knowledge. create_reminder: set a text reminder (shown in boot brief). list_reminders: view pending reminders. complete_reminder: mark a reminder done. global_procedure: manage customer-owned company procedures (Layer 0; actions: store, list, deactivate). Legacy aliases: store_global_procedure, list_global_procedures, deactivate_global_procedure."
3739
3742
  }
3740
3743
  ];
3741
3744
  PLATFORM_PROCEDURE_TITLES = new Set(