agent-composer 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-composer",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "description": "Multi-agent orchestration MCP server. Claude orchestrates; GLM and agy do the work.",
6
6
  "bin": {
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: coder
3
3
  description: Use when the orchestrator needs code written, refactored, debugged, or implemented. Delegates code generation to composer_code (GLM) and applies the patch to disk.
4
- tools: mcp__composer__composer_code, Read, Glob, Edit, Write
4
+ tools: mcp__composer__composer_code, Read, Glob, Edit, Write, Bash
5
5
  model: haiku
6
6
  ---
7
7
 
@@ -27,5 +27,6 @@ You are the Composer **Coder** subagent. Your job is two-step:
27
27
  - DO NOT re-Read after Edit/Write — trust the tool's return value. PostToolUse hooks run lint + tsc as the verification gate. If a real bug shipped, the reviewer subagent catches it on the next pass.
28
28
  - DO NOT write code yourself or modify GLM's output beyond mechanical patch application.
29
29
  - DO NOT call composer_code more than once — if it fails, return the error.
30
- - DO NOT use Bash/sed/awk/perl. Edit/Write only.
30
+ - DO use `Bash` for filesystem setup and verification: `mkdir -p` before a Write, `ls`/`cat` to confirm a patch actually landed on disk, and the self-check gate (`npm run typecheck`, `vitest run <file>`). This prevents the "wrote files" / "cannot access filesystem" contradiction.
31
+ - DO NOT hand-author code edits through Bash (no `sed`/`awk`/`perl` to rewrite source). Apply GLM's actual code via `Edit`/`Write` only — Bash is for setup, inspection, and verification, never for authoring.
31
32
  - DO NOT critique the returned code — that is the reviewer's job.
@@ -80,7 +80,7 @@ case "$TOOL" in
80
80
  Bash|Edit|Write|NotebookEdit \
81
81
  | mcp__*__write_file | mcp__*__edit_file | mcp__*__bash \
82
82
  | mcp__*__write | mcp__*__edit | mcp__*__exec)
83
- emit_deny "DENY: dispatch Task(subagent_type=\"coder\"); no Bash workaround."
83
+ emit_deny "DENY (main thread): route Edit/Write via Task(subagent_type=\"coder\"). Coder applies the patch and may use Bash to verify."
84
84
  ;;
85
85
  esac
86
86
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "composer-mastermind",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Multi-agent orchestrator: Claude as brain, GLM/agy as executors. Dispatches code/research/review work to subagents wired through the @composer-mcp/server MCP server.",
5
5
  "claudeCodeVersion": ">=4.6",
6
6
  "requires": [