@askexenow/exe-os 0.9.16 → 0.9.18
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/bin/backfill-conversations.js +1242 -909
- package/dist/bin/backfill-responses.js +1245 -912
- package/dist/bin/backfill-vectors.js +1244 -906
- package/dist/bin/cleanup-stale-review-tasks.js +1870 -417
- package/dist/bin/cli.js +217 -107
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +62 -0
- package/dist/bin/exe-assign.js +346 -10
- package/dist/bin/exe-boot.js +387 -32
- package/dist/bin/exe-call.js +72 -2
- package/dist/bin/exe-cloud.js +8 -0
- package/dist/bin/exe-dispatch.js +1821 -225
- package/dist/bin/exe-doctor.js +720 -52
- package/dist/bin/exe-export-behaviors.js +1429 -148
- package/dist/bin/exe-forget.js +1408 -34
- package/dist/bin/exe-gateway.js +1629 -1295
- package/dist/bin/exe-heartbeat.js +1899 -448
- package/dist/bin/exe-kill.js +1624 -346
- package/dist/bin/exe-launch-agent.js +726 -90
- package/dist/bin/exe-link.js +27 -8
- package/dist/bin/exe-new-employee.js +75 -9
- package/dist/bin/exe-pending-messages.js +2769 -1316
- package/dist/bin/exe-pending-notifications.js +2829 -1376
- package/dist/bin/exe-pending-reviews.js +2847 -1392
- package/dist/bin/exe-rename.js +89 -8
- package/dist/bin/exe-review.js +1494 -312
- package/dist/bin/exe-search.js +1608 -1300
- package/dist/bin/exe-session-cleanup.js +194 -91
- package/dist/bin/exe-settings.js +10 -2
- package/dist/bin/exe-start-codex.js +769 -120
- package/dist/bin/exe-start-opencode.js +763 -108
- package/dist/bin/exe-status.js +1887 -434
- package/dist/bin/exe-team.js +1782 -324
- package/dist/bin/git-sweep.js +408 -33
- package/dist/bin/graph-backfill.js +681 -27
- package/dist/bin/graph-export.js +1419 -141
- package/dist/bin/install.js +4 -8
- package/dist/bin/intercom-check.js +8641 -0
- package/dist/bin/scan-tasks.js +553 -38
- package/dist/bin/setup.js +82 -10
- package/dist/bin/shard-migrate.js +682 -28
- package/dist/gateway/index.js +1629 -1295
- package/dist/hooks/bug-report-worker.js +1136 -183
- package/dist/hooks/codex-stop-task-finalizer.js +1060 -107
- package/dist/hooks/commit-complete.js +408 -33
- package/dist/hooks/error-recall.js +1608 -1300
- package/dist/hooks/ingest-worker.js +250 -7966
- package/dist/hooks/ingest.js +707 -119
- package/dist/hooks/instructions-loaded.js +383 -20
- package/dist/hooks/notification.js +383 -20
- package/dist/hooks/post-compact.js +384 -21
- package/dist/hooks/{response-ingest-worker.js → post-tool-combined.js} +4157 -1716
- package/dist/hooks/pre-compact.js +486 -45
- package/dist/hooks/pre-tool-use.js +385 -22
- package/dist/hooks/prompt-submit.js +291 -96
- package/dist/hooks/session-end.js +490 -48
- package/dist/hooks/session-start.js +236 -22
- package/dist/hooks/stop.js +192 -50
- package/dist/hooks/subagent-stop.js +95 -18
- package/dist/hooks/summary-worker.js +205 -361
- package/dist/index.js +221 -105
- package/dist/lib/agent-config.js +2 -2
- package/dist/lib/cloud-sync.js +27 -8
- package/dist/lib/consolidation.js +437 -41
- package/dist/lib/database.js +20 -8
- package/dist/lib/db-daemon-client.js +2 -2
- package/dist/lib/db.js +20 -8
- package/dist/lib/device-registry.js +27 -8
- package/dist/lib/employee-templates.js +62 -0
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +6703 -6259
- package/dist/lib/hybrid-search.js +1608 -1300
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +11 -3
- package/dist/lib/reminders.js +1 -1
- package/dist/lib/schedules.js +718 -26
- package/dist/lib/session-registry.js +11 -0
- package/dist/lib/skill-learning.js +639 -9
- package/dist/lib/store.js +676 -27
- package/dist/lib/tasks.js +665 -27
- package/dist/lib/tmux-routing.js +732 -94
- package/dist/lib/token-spend.js +1 -1
- package/dist/mcp/server.js +856 -383
- package/dist/mcp/tools/complete-reminder.js +1 -1
- package/dist/mcp/tools/create-reminder.js +1 -1
- package/dist/mcp/tools/create-task.js +616 -46
- package/dist/mcp/tools/deactivate-behavior.js +9 -1
- package/dist/mcp/tools/list-reminders.js +1 -1
- package/dist/mcp/tools/list-tasks.js +10 -2
- package/dist/mcp/tools/send-message.js +11 -3
- package/dist/mcp/tools/update-task.js +677 -39
- package/dist/runtime/index.js +425 -37
- package/dist/tui/App.js +365 -34
- package/package.json +5 -2
- package/src/commands/exe/intercom.md +6 -17
- package/dist/bin/wiki-sync.js +0 -2991
- package/dist/hooks/prompt-ingest-worker.js +0 -3979
package/dist/bin/exe-call.js
CHANGED
|
@@ -225,7 +225,7 @@ var init_agent_config = __esm({
|
|
|
225
225
|
init_secure_files();
|
|
226
226
|
AGENT_CONFIG_PATH = path2.join(EXE_AI_DIR, "agent-config.json");
|
|
227
227
|
KNOWN_RUNTIMES = {
|
|
228
|
-
claude: ["claude-opus-4", "claude-sonnet-4", "claude-haiku-4.5"],
|
|
228
|
+
claude: ["claude-opus-4.6", "claude-opus-4", "claude-sonnet-4.6", "claude-sonnet-4", "claude-haiku-4.5"],
|
|
229
229
|
codex: ["gpt-5.4", "gpt-5.5", "gpt-5.3-codex-spark", "o3", "o4-mini"],
|
|
230
230
|
opencode: ["anthropic/claude-sonnet-4-6", "openai/gpt-5.4", "google/gemini-2.5-pro", "deepseek/deepseek-r3", "minimax/minimax-m2.5"]
|
|
231
231
|
};
|
|
@@ -235,7 +235,7 @@ var init_agent_config = __esm({
|
|
|
235
235
|
opencode: "OpenCode (open source)"
|
|
236
236
|
};
|
|
237
237
|
DEFAULT_MODELS = {
|
|
238
|
-
claude: "claude-opus-4",
|
|
238
|
+
claude: "claude-opus-4.6",
|
|
239
239
|
codex: RUNTIME_TABLE.codex?.defaultModel ?? "gpt-5.4",
|
|
240
240
|
opencode: RUNTIME_TABLE.opencode?.defaultModel ?? "anthropic/claude-sonnet-4-6"
|
|
241
241
|
};
|
|
@@ -526,6 +526,13 @@ var init_database_adapter = __esm({
|
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
528
|
|
|
529
|
+
// src/types/memory.ts
|
|
530
|
+
var init_memory = __esm({
|
|
531
|
+
"src/types/memory.ts"() {
|
|
532
|
+
"use strict";
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
|
|
529
536
|
// src/lib/database.ts
|
|
530
537
|
import { createClient } from "@libsql/client";
|
|
531
538
|
var init_database = __esm({
|
|
@@ -534,6 +541,7 @@ var init_database = __esm({
|
|
|
534
541
|
init_db_retry();
|
|
535
542
|
init_employees();
|
|
536
543
|
init_database_adapter();
|
|
544
|
+
init_memory();
|
|
537
545
|
}
|
|
538
546
|
});
|
|
539
547
|
|
|
@@ -645,6 +653,68 @@ var init_platform_procedures = __esm({
|
|
|
645
653
|
domain: "architecture",
|
|
646
654
|
priority: "p0",
|
|
647
655
|
content: "Tasks live in the DB. Intercom (tmux send-keys) is fire-and-forget \u2014 it may fail, get garbled, or arrive mid-work. Never rely on intercom for task delivery. The UserPromptSubmit hook checks the DB for new tasks on every prompt. Your operating procedures step 7 says check for next work. The daemon nudges idle agents as a speedup. If you have no tasks, you found them all."
|
|
656
|
+
},
|
|
657
|
+
// --- MCP is the ONLY data interface ---
|
|
658
|
+
{
|
|
659
|
+
title: "MCP disconnect \u2014 ask the user, never work around it",
|
|
660
|
+
domain: "workflow",
|
|
661
|
+
priority: "p0",
|
|
662
|
+
content: "If MCP tools are unavailable, disconnected, or returning connection errors: STOP. Tell the user clearly: 'MCP server is disconnected. Please run /mcp to reconnect.' Do NOT attempt workarounds \u2014 no raw Node imports, no direct DB access, no CLI hacks, no daemon socket calls. MCP is the ONLY data interface. Working around it wastes time, hits bundling issues, and bypasses the contract boundary. Ask once, wait, proceed when reconnected."
|
|
663
|
+
},
|
|
664
|
+
// --- MCP Tool Catalog (Layer 0 — every agent knows what tools exist) ---
|
|
665
|
+
{
|
|
666
|
+
title: "MCP tools \u2014 memory and search",
|
|
667
|
+
domain: "tool-use",
|
|
668
|
+
priority: "p1",
|
|
669
|
+
content: "recall_my_memory: search your own memories (semantic + FTS). ask_team_memory: search a colleague's memories by agent name. store_memory: persist a memory (decisions, summaries, context). commit_memory: high-importance memory that survives consolidation. search_everything: unified search across memories, tasks, entities, conversations. get_session_context: temporal window of memories around a timestamp. consolidate_memories: merge duplicate/related memories into insights. get_memory_cardinality: count memories per agent (health check)."
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
title: "MCP tools \u2014 task orchestration",
|
|
673
|
+
domain: "tool-use",
|
|
674
|
+
priority: "p1",
|
|
675
|
+
content: "create_task: dispatch work to an employee (auto-spawns session). The ONLY dispatch path. list_tasks: query tasks by status, assignee, project. get_task: fetch full task details by ID. update_task: change status (in_progress, done, blocked, cancelled) + add result summary. close_task: finalize a reviewed task (COO only). checkpoint_task: save progress state for crash recovery. resume_employee: re-spawn an employee session for an existing task."
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
title: "MCP tools \u2014 knowledge graph (GraphRAG)",
|
|
679
|
+
domain: "tool-use",
|
|
680
|
+
priority: "p1",
|
|
681
|
+
content: "query_relationships: find connections between entities in the knowledge graph. get_entity_neighbors: explore an entity's direct connections. get_hot_entities: find most-referenced entities (trending topics). get_graph_stats: graph health \u2014 entity/relationship counts, density. export_graph: export graph data for visualization. merge_entities: deduplicate entities (alias resolution). find_similar_trajectories: match tool-call patterns to past task solutions."
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
title: "MCP tools \u2014 identity, behavior, and decisions",
|
|
685
|
+
domain: "tool-use",
|
|
686
|
+
priority: "p1",
|
|
687
|
+
content: "get_identity: read an agent's exe.md (Layer 1 identity). update_identity: write an agent's exe.md. Identity > behavior \u2014 use for permanent rules. store_behavior: record a correction or pattern for an agent (Layer 2 expertise). list_behaviors: view an agent's active behaviors. deactivate_behavior: soft-delete a stale or conflicting behavior. store_decision: record an ADR (architectural decision record). get_decision: retrieve a past decision by query."
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
title: "MCP tools \u2014 communication and messaging",
|
|
691
|
+
domain: "tool-use",
|
|
692
|
+
priority: "p1",
|
|
693
|
+
content: "send_message: send supplementary context to another agent (NOT for actionable work \u2014 use create_task). acknowledge_messages: mark messages as read. send_whatsapp: send WhatsApp message via gateway (customer-facing alerts). query_conversations: search ingested conversations across all channels (WhatsApp, email, etc.)."
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
title: "MCP tools \u2014 wiki, documents, and content",
|
|
697
|
+
domain: "tool-use",
|
|
698
|
+
priority: "p1",
|
|
699
|
+
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."
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
title: "MCP tools \u2014 system, operations, and admin",
|
|
703
|
+
domain: "tool-use",
|
|
704
|
+
priority: "p1",
|
|
705
|
+
content: "get_agent_spend: token usage per agent/session (cost tracking). list_agent_sessions: view agent session history. get_session_kills: audit log of killed sessions. get_daemon_health: check exed daemon status. get_auto_wake_status: daemon auto-wake configuration. get_worker_gate: check worker deployment gates. run_memory_audit: health check \u2014 duplicates, null vectors, orphaned rows. run_consolidation: trigger sleep-time memory consolidation. cloud_sync: force a cloud sync cycle. backup_vps: trigger VPS backup."
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
title: "MCP tools \u2014 config, licensing, and team",
|
|
709
|
+
domain: "tool-use",
|
|
710
|
+
priority: "p1",
|
|
711
|
+
content: "set_agent_config: view/change per-agent runtime and model settings. list_employees: view the employee roster. add_person: add a person to the CRM contacts roster. list_people: browse CRM contacts. get_person: fetch contact details. get_license_status: check license validity. create_license: generate a new license key (admin). list_licenses: view all issued licenses. activate_license: activate a license on a device."
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
title: "MCP tools \u2014 advanced (triggers, skills, orchestration)",
|
|
715
|
+
domain: "tool-use",
|
|
716
|
+
priority: "p1",
|
|
717
|
+
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."
|
|
648
718
|
}
|
|
649
719
|
];
|
|
650
720
|
PLATFORM_PROCEDURE_TITLES = new Set(
|
package/dist/bin/exe-cloud.js
CHANGED
|
@@ -378,6 +378,13 @@ var init_database_adapter = __esm({
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
|
|
381
|
+
// src/types/memory.ts
|
|
382
|
+
var init_memory = __esm({
|
|
383
|
+
"src/types/memory.ts"() {
|
|
384
|
+
"use strict";
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
|
|
381
388
|
// src/lib/database.ts
|
|
382
389
|
import { createClient } from "@libsql/client";
|
|
383
390
|
var init_database = __esm({
|
|
@@ -386,6 +393,7 @@ var init_database = __esm({
|
|
|
386
393
|
init_db_retry();
|
|
387
394
|
init_employees();
|
|
388
395
|
init_database_adapter();
|
|
396
|
+
init_memory();
|
|
389
397
|
}
|
|
390
398
|
});
|
|
391
399
|
|