@cyperx/clawforge 1.4.0 → 1.4.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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.4.1
Binary file
@@ -82,7 +82,15 @@ if [[ -n "$AFTER" ]]; then
82
82
  fi
83
83
 
84
84
  # ── Resolve settings ──────────────────────────────────────────────────
85
- RESOLVED_AGENT=$(detect_agent "${AGENT:-}")
85
+ if ! RESOLVED_AGENT=$(detect_agent "${AGENT:-}" 2>/dev/null); then
86
+ if $DRY_RUN; then
87
+ RESOLVED_AGENT="${AGENT:-claude}"
88
+ log_warn "No local agent binary found; using '$RESOLVED_AGENT' for dry-run preview"
89
+ else
90
+ log_error "No coding agent found (need claude or codex)"
91
+ exit 1
92
+ fi
93
+ fi
86
94
  EFFORT="${EFFORT:-$(config_get default_effort high)}"
87
95
 
88
96
  if [[ -z "$MODEL" ]]; then
package/bin/sprint.sh CHANGED
@@ -127,7 +127,15 @@ if $QUICK; then
127
127
  fi
128
128
 
129
129
  # ── Resolve agent + model ────────────────────────────────────────────
130
- RESOLVED_AGENT=$(detect_agent "${AGENT:-}")
130
+ if ! RESOLVED_AGENT=$(detect_agent "${AGENT:-}" 2>/dev/null); then
131
+ if $DRY_RUN; then
132
+ RESOLVED_AGENT="${AGENT:-claude}"
133
+ log_warn "No local agent binary found; using '$RESOLVED_AGENT' for dry-run preview"
134
+ else
135
+ log_error "No coding agent found (need claude or codex)"
136
+ exit 1
137
+ fi
138
+ fi
131
139
  MODEL_OVERRIDE="$MODEL" # preserve explicit --model
132
140
  if [[ -z "$MODEL" ]]; then
133
141
  if [[ "$RESOLVED_AGENT" == "claude" ]]; then
package/bin/swarm.sh CHANGED
@@ -147,7 +147,15 @@ REPO_ABS=$(cd "$REPO" && pwd)
147
147
  disk_check "$REPO_ABS" || { log_error "Aborting due to low disk space"; exit 1; }
148
148
 
149
149
  # ── Resolve agent ─────────────────────────────────────────────────────
150
- RESOLVED_AGENT=$(detect_agent "${AGENT:-}")
150
+ if ! RESOLVED_AGENT=$(detect_agent "${AGENT:-}" 2>/dev/null); then
151
+ if $DRY_RUN; then
152
+ RESOLVED_AGENT="${AGENT:-claude}"
153
+ log_warn "No local agent binary found; using '$RESOLVED_AGENT' for dry-run preview"
154
+ else
155
+ log_error "No coding agent found (need claude or codex)"
156
+ exit 1
157
+ fi
158
+ fi
151
159
  if [[ "$RESOLVED_AGENT" == "claude" ]]; then
152
160
  MODEL=$(config_get default_model_claude "claude-sonnet-4-5")
153
161
  else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyperx/clawforge",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Multi-mode coding workflow CLI for orchestrating AI coding agents",
5
5
  "bin": {
6
6
  "@cyperx/clawforge": "./bin/clawforge"