eagle-mem 4.7.1 → 4.8.1
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/README.md +76 -9
- package/bin/eagle-mem +1 -0
- package/db/029_orchestration_lanes.sql +45 -0
- package/db/030_orchestration_lane_scope.sql +88 -0
- package/db/031_orchestration_workers.sql +20 -0
- package/db/032_orchestration_run_keys.sql +9 -0
- package/hooks/pre-tool-use.sh +24 -1
- package/hooks/session-start.sh +92 -10
- package/hooks/stop.sh +14 -13
- package/hooks/user-prompt-submit.sh +70 -12
- package/lib/common.sh +170 -3
- package/lib/db-mirrors.sh +9 -2
- package/lib/db-observations.sh +7 -0
- package/lib/db-sessions.sh +7 -1
- package/lib/db-summaries.sh +6 -2
- package/lib/provider.sh +34 -0
- package/package.json +4 -2
- package/scripts/config.sh +30 -0
- package/scripts/health.sh +66 -0
- package/scripts/help.sh +27 -5
- package/scripts/orchestrate.sh +1268 -0
- package/scripts/style.sh +1 -1
- package/skills/eagle-mem-orchestrate/SKILL.md +149 -0
- package/skills/eagle-mem-tasks/SKILL.md +2 -0
package/scripts/help.sh
CHANGED
|
@@ -13,23 +13,35 @@ version=$(jq -r .version "$PACKAGE_DIR/package.json" 2>/dev/null || echo "unknow
|
|
|
13
13
|
eagle_banner
|
|
14
14
|
|
|
15
15
|
echo -e " ${BOLD}Eagle Mem${RESET} ${DIM}v${version}${RESET}"
|
|
16
|
-
echo -e " ${DIM}
|
|
16
|
+
echo -e " ${DIM}Shared memory, release guardrails, RTK token protection, and worker lanes${RESET}"
|
|
17
|
+
echo -e " ${DIM}for Claude Code and Codex.${RESET}"
|
|
17
18
|
echo ""
|
|
18
|
-
echo -e " ${BOLD}
|
|
19
|
+
echo -e " ${BOLD}Core commands:${RESET}"
|
|
19
20
|
echo -e " ${CYAN}install${RESET} First-time setup: hooks, database, skills"
|
|
20
21
|
echo -e " ${CYAN}update${RESET} Re-deploy hooks and run migrations"
|
|
21
22
|
echo -e " ${CYAN}uninstall${RESET} Remove hooks and optionally delete data"
|
|
22
23
|
echo -e " ${CYAN}search${RESET} Search past sessions, memories, and code"
|
|
23
24
|
echo -e " ${CYAN}health${RESET} Diagnose pipeline health and background automation"
|
|
24
|
-
echo -e " ${CYAN}config${RESET} View or change LLM provider settings"
|
|
25
|
-
echo -e " ${CYAN}guard${RESET} Manage regression guardrails for files"
|
|
26
25
|
echo -e " ${CYAN}overview${RESET} Build or view project overview"
|
|
27
26
|
echo -e " ${CYAN}memories${RESET} View/sync agent memories"
|
|
28
27
|
echo -e " ${CYAN}tasks${RESET} View mirrored tasks"
|
|
28
|
+
echo ""
|
|
29
|
+
echo -e " ${BOLD}Safety and token controls:${RESET}"
|
|
30
|
+
echo -e " ${CYAN}feature${RESET} Track, verify, and unblock feature changes"
|
|
31
|
+
echo -e " ${CYAN}guard${RESET} Manage regression guardrails for files"
|
|
32
|
+
echo -e " ${CYAN}config${RESET} View/change providers, RTK, and token guard settings"
|
|
33
|
+
echo ""
|
|
34
|
+
echo -e " ${BOLD}Automation and coordination:${RESET}"
|
|
29
35
|
echo -e " ${CYAN}curate${RESET} Run curator (co-edits, hot files, guardrails)"
|
|
30
|
-
echo -e " ${CYAN}
|
|
36
|
+
echo -e " ${CYAN}orchestrate${RESET} Durable worker-lane coordination"
|
|
31
37
|
echo -e " ${CYAN}prune${RESET} Clean old sessions and stale data"
|
|
32
38
|
echo ""
|
|
39
|
+
echo -e " ${BOLD}What it protects:${RESET}"
|
|
40
|
+
echo -e " ${DIM}Recall${RESET} Project overview, summaries, memories, plans, tasks, code index"
|
|
41
|
+
echo -e " ${DIM}Guardrails${RESET} Decisions, gotchas, feature verification, stale memory warnings"
|
|
42
|
+
echo -e " ${DIM}Tokens${RESET} Compact hook recall and optional RTK shell-output routing"
|
|
43
|
+
echo -e " ${DIM}Lanes${RESET} Cross-agent worker status, worktrees, logs, validation, handoffs"
|
|
44
|
+
echo ""
|
|
33
45
|
echo -e " ${BOLD}Search modes:${RESET}"
|
|
34
46
|
echo -e " ${DIM}\$${RESET} eagle-mem search \"auth bug\" ${DIM}# keyword search${RESET}"
|
|
35
47
|
echo -e " ${DIM}\$${RESET} eagle-mem search --timeline ${DIM}# recent sessions${RESET}"
|
|
@@ -44,11 +56,21 @@ echo -e " ${DIM}\$${RESET} eagle-mem feature pending ${DIM}# pending re
|
|
|
44
56
|
echo -e " ${DIM}\$${RESET} eagle-mem feature verify NAME ${DIM}# verify current diff after testing${RESET}"
|
|
45
57
|
echo -e " ${DIM}\$${RESET} eagle-mem feature waive ID ${DIM}# intentional exception${RESET}"
|
|
46
58
|
echo ""
|
|
59
|
+
echo -e " ${BOLD}Orchestration:${RESET}"
|
|
60
|
+
echo -e " ${DIM}Agent-run protocol for broad multi-lane work; users normally do not run this manually.${RESET}"
|
|
61
|
+
echo -e " ${DIM}Codex sessions spawn Claude workers; Claude sessions spawn Codex workers by default.${RESET}"
|
|
62
|
+
echo -e " ${DIM}\$${RESET} eagle-mem orchestrate init \"Ship release\""
|
|
63
|
+
echo -e " ${DIM}\$${RESET} eagle-mem orchestrate lane add api --agent codex --validate \"npm test\""
|
|
64
|
+
echo -e " ${DIM}\$${RESET} eagle-mem orchestrate spawn api ${DIM}# worktree + worker process${RESET}"
|
|
65
|
+
echo -e " ${DIM}\$${RESET} eagle-mem orchestrate sync ${DIM}# reconcile worker status${RESET}"
|
|
66
|
+
echo -e " ${DIM}\$${RESET} eagle-mem orchestrate handoff --write docs/handoff-context.md"
|
|
67
|
+
echo ""
|
|
47
68
|
echo -e " ${BOLD}Skills${RESET} ${DIM}(inside Claude Code and Codex sessions):${RESET}"
|
|
48
69
|
echo -e " ${CYAN}eagle-mem-search${RESET} Search memory and past sessions"
|
|
49
70
|
echo -e " ${CYAN}eagle-mem-overview${RESET} Build or update project overview"
|
|
50
71
|
echo -e " ${CYAN}eagle-mem-memories${RESET} View/sync agent memories"
|
|
51
72
|
echo -e " ${CYAN}eagle-mem-tasks${RESET} TaskAware Compact Loop for multi-step work"
|
|
73
|
+
echo -e " ${CYAN}eagle-mem-orchestrate${RESET} Orchestrator/worker lane handoffs"
|
|
52
74
|
echo ""
|
|
53
75
|
echo -e " ${DIM}Everything else is automatic — scan, index, prune, and${RESET}"
|
|
54
76
|
echo -e " ${DIM}curator all run in the background via hooks.${RESET}"
|