clawforge-cli 1.5.3__tar.gz → 1.5.4__tar.gz
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.
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/CHANGELOG.md +10 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/Formula/clawforge.rb +2 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/PKG-INFO +1 -1
- clawforge_cli-1.5.4/VERSION +1 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/spawn-agent.sh +4 -3
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/package.json +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/pyproject.toml +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-dx.sh +3 -3
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-observability.sh +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-power.sh +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-practical.sh +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-reliability.sh +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-web.sh +1 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/keybindings.go +14 -0
- clawforge_cli-1.5.3/VERSION +0 -1
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.github/workflows/ci.yml +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.github/workflows/publish-npm.yml +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.github/workflows/publish-pypi.yml +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.github/workflows/update-homebrew.yml +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.github/workflows/version-sync.yml +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/.gitignore +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/LICENSE +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/PRD-v05.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/PRD-v06.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/PRD-v07.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/README.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/SKILL.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/attach.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/check-agents.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/clawforge +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/clawforge-web +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/clean.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/completions.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/config.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/conflicts.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/cost.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/dashboard.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/deps.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/diff.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/doctor.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/eval.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/export.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/history.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/init.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/learn.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/logs.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/memory.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/merge-helper.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/multi-review.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/notify.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/on-complete.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/parse-cost.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/pr.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/profile.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/replay.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/resume.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/review-mode.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/review-pr.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/routing.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/scope-task.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/sprint.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/steer.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/stop.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/summary.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/swarm.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/templates.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/bin/web.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/clawforge/__init__.py +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/clawforge/cli.py +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/completions/_clawforge +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/completions/clawforge.bash +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/completions/clawforge.fish +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/config/defaults.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/config/prompt-templates/default.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/config/routing-defaults.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/IMPLEMENTATION-v04.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/PRD-v04.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/PUBLISHING-CHECKLIST.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/README.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/RELEASE.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/architecture.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/command-reference.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/configuration.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/dashboard.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/evaluation.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/faq.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/fleet-ops.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/getting-started.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/scenarios.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/troubleshooting.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/docs/workflow-modes.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/evals/run-log.example.jsonl +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/evals/run-log.schema.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/evals/scorecard.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/install.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/common.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/templates/bugfix.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/templates/migration.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/templates/refactor.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/templates/security-audit.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/lib/templates/test-coverage.json +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/registry/conflicts.jsonl +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/registry/costs.jsonl +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/run-all-tests.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-ci-loop.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-clean.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-cli.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-conflicts.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-cost.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-dashboard.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-deps.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-eval.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-foundation.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-history.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-init.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-learn.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-management.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-memory.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-merge.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-modes.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-multi-repo.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-notify.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-openclaw.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-registry.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-review.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-routing.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-scope.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-spawn.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-templates.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-tui.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tests/test-watch.sh +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/PRD.md +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/agent.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/animation.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/dashboard.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/filter.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/go.mod +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/go.sum +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/main.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/model.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/steer.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/tui/styles.go +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/web/go.mod +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/web/index.html +0 -0
- {clawforge_cli-1.5.3 → clawforge_cli-1.5.4}/web/main.go +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.5.4 — TUI Attach + Agent Session Persistence
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Agent sessions stay alive after completion**: `spawn-agent.sh` now keeps the tmux session open after the agent finishes, so you can attach and review output via Enter key
|
|
7
|
+
- **Enter key handles missing sessions**: TUI gracefully handles dead/missing tmux sessions instead of silently failing
|
|
8
|
+
- **`--verbose` flag for claude**: Agent output is more visible when attached
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Spawn uses `claude --verbose -p` (still headless, but with visible progress) + session persistence (`read` prompt on completion)
|
|
12
|
+
|
|
3
13
|
## v1.5.3 — TUI Fixes
|
|
4
14
|
|
|
5
15
|
### Fixed
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
class Clawforge < Formula
|
|
2
2
|
desc "Multi-mode coding workflow CLI for orchestrating AI coding agents"
|
|
3
3
|
homepage "https://github.com/cyperx84/clawforge"
|
|
4
|
-
url "https://github.com/cyperx84/clawforge/archive/refs/tags/v1.5.
|
|
4
|
+
url "https://github.com/cyperx84/clawforge/archive/refs/tags/v1.5.3.tar.gz"
|
|
5
|
+
sha256 "2730fca0066fda9d3c864802c4346ab7c39d0daee39a254cc5cebd2694d4a1db"
|
|
5
6
|
sha256 "a026cb0df5b7c3efae439a9ca912e728843deb56c70441591c9064f81a1041ae"
|
|
6
7
|
sha256 "27cca187828366d138dbde81f99f313e065c656be7073452ccc016eb5dba16db"
|
|
7
8
|
sha256 "ce9da13357fc54d20e59da5851ac04a4ebbff071ec5a7ce1b17b0cbe877b3416"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clawforge-cli
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.4
|
|
4
4
|
Summary: Multi-mode coding workflow CLI for orchestrating AI coding agents
|
|
5
5
|
Project-URL: Homepage, https://github.com/cyperx84/clawforge
|
|
6
6
|
Project-URL: Repository, https://github.com/cyperx84/clawforge
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.5.4
|
|
@@ -220,11 +220,12 @@ fi
|
|
|
220
220
|
# Kill existing session if present (idempotent)
|
|
221
221
|
tmux kill-session -t "$TMUX_SESSION" 2>/dev/null || true
|
|
222
222
|
|
|
223
|
-
# Build agent command
|
|
223
|
+
# Build agent command — interactive mode so tmux attach works
|
|
224
|
+
ESCAPED_PROMPT=$(echo "$FULL_PROMPT" | sed 's/"/\\"/g')
|
|
224
225
|
if [[ "$RESOLVED_AGENT" == "claude" ]]; then
|
|
225
|
-
AGENT_CMD="claude --model ${MODEL} --dangerously-skip-permissions -p \"$
|
|
226
|
+
AGENT_CMD="claude --model ${MODEL} --dangerously-skip-permissions --verbose -p \"${ESCAPED_PROMPT}\"; echo; echo \"[ClawForge] Agent finished. Press Enter to close.\"; read"
|
|
226
227
|
elif [[ "$RESOLVED_AGENT" == "codex" ]]; then
|
|
227
|
-
AGENT_CMD="codex --model ${MODEL} --dangerously-bypass-approvals-and-sandbox \"$
|
|
228
|
+
AGENT_CMD="codex --model ${MODEL} --dangerously-bypass-approvals-and-sandbox \"${ESCAPED_PROMPT}\"; echo; echo \"[ClawForge] Agent finished. Press Enter to close.\"; read"
|
|
228
229
|
fi
|
|
229
230
|
|
|
230
231
|
# Create tmux session and launch
|
|
@@ -134,10 +134,10 @@ assert_contains "help shows Developer Experience" "Developer Experience" "$cli_h
|
|
|
134
134
|
# Test 11: version
|
|
135
135
|
echo "Test 11: version"
|
|
136
136
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
137
|
-
if [[ "$version" == "1.5.
|
|
138
|
-
echo " ✅ version is 1.5.
|
|
137
|
+
if [[ "$version" == "1.5.4" ]]; then
|
|
138
|
+
echo " ✅ version is 1.5.4"; PASS=$((PASS+1))
|
|
139
139
|
else
|
|
140
|
-
echo " ❌ version is $version, expected 1.5.
|
|
140
|
+
echo " ❌ version is $version, expected 1.5.4"; FAIL=$((FAIL+1))
|
|
141
141
|
fi
|
|
142
142
|
|
|
143
143
|
echo ""
|
|
@@ -77,7 +77,7 @@ assert_contains "dashboard help shows p key" "preview" "$tui_help"
|
|
|
77
77
|
# Test 7: version
|
|
78
78
|
echo "Test 7: version"
|
|
79
79
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
80
|
-
assert_eq "version is 1.5.
|
|
80
|
+
assert_eq "version is 1.5.4" "1.5.4" "$version"
|
|
81
81
|
|
|
82
82
|
echo ""
|
|
83
83
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -121,7 +121,7 @@ assert_contains "help shows Power Features" "Power Features" "$cli_help"
|
|
|
121
121
|
# Test 13: version
|
|
122
122
|
echo "Test 13: version"
|
|
123
123
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
124
|
-
assert_eq "version is 1.5.
|
|
124
|
+
assert_eq "version is 1.5.4" "1.5.4" "$version"
|
|
125
125
|
|
|
126
126
|
echo ""
|
|
127
127
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -96,7 +96,7 @@ assert_contains "watch checks terminal states" "done|failed|timeout|cancelled" "
|
|
|
96
96
|
# Test 9: version
|
|
97
97
|
echo "Test 9: version"
|
|
98
98
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
99
|
-
assert_eq "version is 1.5.
|
|
99
|
+
assert_eq "version is 1.5.4" "1.5.4" "$version"
|
|
100
100
|
|
|
101
101
|
echo ""
|
|
102
102
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -96,7 +96,7 @@ assert_contains "help shows Reliability" "Reliability" "$cli_help"
|
|
|
96
96
|
# Test 11: version bump
|
|
97
97
|
echo "Test 11: version"
|
|
98
98
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
99
|
-
assert_eq "version is 1.5.
|
|
99
|
+
assert_eq "version is 1.5.4" "1.5.4" "$version"
|
|
100
100
|
|
|
101
101
|
# Test 12: doctor --fix runs without errors
|
|
102
102
|
echo "Test 12: doctor --fix"
|
|
@@ -107,7 +107,7 @@ assert_contains "help shows Web Dashboard" "Web Dashboard" "$cli_help"
|
|
|
107
107
|
# Test 7: version
|
|
108
108
|
echo "Test 7: version"
|
|
109
109
|
version=$(cat "${SCRIPT_DIR}/../VERSION")
|
|
110
|
-
assert_eq "version is 1.5.
|
|
110
|
+
assert_eq "version is 1.5.4" "1.5.4" "$version"
|
|
111
111
|
|
|
112
112
|
echo ""
|
|
113
113
|
echo "Results: $PASS passed, $FAIL failed"
|
|
@@ -75,6 +75,20 @@ func handleKeyPress(m Model, msg tea.KeyPressMsg) (Model, tea.Cmd) {
|
|
|
75
75
|
if session == "" {
|
|
76
76
|
session = "clawforge-" + agent.ID
|
|
77
77
|
}
|
|
78
|
+
// Check if tmux session exists before trying to attach
|
|
79
|
+
check := exec.Command("tmux", "has-session", "-t", session)
|
|
80
|
+
if err := check.Run(); err != nil {
|
|
81
|
+
// Session doesn't exist — show logs instead
|
|
82
|
+
logCmd := exec.Command("tmux", "show-buffer", "-b", session)
|
|
83
|
+
if logOut, logErr := logCmd.Output(); logErr == nil && len(logOut) > 0 {
|
|
84
|
+
m.showPreview = true
|
|
85
|
+
filtered := m.filteredAgents()
|
|
86
|
+
if m.selected < len(filtered) {
|
|
87
|
+
filtered[m.selected].Preview = string(logOut)
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return m, nil
|
|
91
|
+
}
|
|
78
92
|
cmd := exec.Command("tmux", "attach-session", "-t", session)
|
|
79
93
|
return m, tea.ExecProcess(cmd, func(err error) tea.Msg {
|
|
80
94
|
return attachDoneMsg{err}
|
clawforge_cli-1.5.3/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.5.3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|