create-merlin-brain 5.4.4 → 5.4.5
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.
|
@@ -78,8 +78,13 @@ elif echo "$prompt" | grep -qiE "build|add|create|implement|make|new feature|dev
|
|
|
78
78
|
suggestion='Detected: feature. Use: Skill("merlin:workflow", args='"'"'run feature-dev "<task>"'"'"')'
|
|
79
79
|
fi
|
|
80
80
|
|
|
81
|
-
# ── No match →
|
|
82
|
-
|
|
81
|
+
# ── No specific match → STILL reinforce Merlin presence every turn ────────────
|
|
82
|
+
# Previously this emitted {} (nothing), so on ordinary turns the badge/persona
|
|
83
|
+
# faded and Merlin became invisible in the feed. Inject a lightweight nudge every
|
|
84
|
+
# turn instead, so the orchestrator stays in character and keeps badging.
|
|
85
|
+
if [ -z "$suggestion" ]; then
|
|
86
|
+
suggestion="none — stay in orchestrator role"
|
|
87
|
+
fi
|
|
83
88
|
|
|
84
89
|
# ── Emit routing hint ─────────────────────────────────────────────────────────
|
|
85
90
|
# Cache the badge for the session to avoid spawning duo-badge.sh on every prompt.
|
|
@@ -110,7 +115,7 @@ else
|
|
|
110
115
|
printf '%s' "${_BADGE}" > "${_BADGE_CACHE}" 2>/dev/null || true
|
|
111
116
|
fi
|
|
112
117
|
|
|
113
|
-
_ctx="${_BADGE} ROUTING: ${suggestion}.
|
|
118
|
+
_ctx="${_BADGE} ROUTING: ${suggestion}. STAY IN CHARACTER as Merlin the orchestrator — your involvement must be VISIBLE: begin EVERY reply with the badge ${_BADGE}, and prefix each tool action / step you narrate with it too, so the feed always shows where Merlin is working. Answer codebase questions via Sights. Route implementation to agents."
|
|
114
119
|
|
|
115
120
|
if command -v jq >/dev/null 2>&1; then
|
|
116
121
|
jq -n --arg ctx "$_ctx" \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-merlin-brain",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.5",
|
|
4
4
|
"description": "Merlin - The Ultimate AI Brain for Claude Code, Codex, and other AI CLIs. One install: workflows, agents, loop, and Sights MCP server.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/server/index.js",
|