Skip to content

Commit 3d652df

Browse files
CrazyBoyMclaude
andcommitted
Rewrite docs, fix critical bugs, add web dashboard and nc HTTP fallback
- Rewrite README.md and README_CN.md: install-first structure, feature checklist, collapsible sections, comparison table, use cases - Fix install.sh: _is_command_available typo, uninstall awk precision, add extensions/ and agents/ state dirs, update ASCII banner - Fix bashclaw: deduplicate status Config line, improve doctor HTTP server capability check with websocat > socat > nc hierarchy - Add nc-based HTTP fallback in gateway for macOS (no extra install) - Add web dashboard: ui/index.html, ui/style.css, ui/app.js - Add REST API endpoints in gateway/http_handler.sh for dashboard - Fix onboard wizard model name references Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d9eb093 commit 3d652df

File tree

10 files changed

+2682
-512
lines changed

10 files changed

+2682
-512
lines changed

README.md

Lines changed: 385 additions & 226 deletions
Large diffs are not rendered by default.

README_CN.md

Lines changed: 410 additions & 252 deletions
Large diffs are not rendered by default.

bashclaw

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,12 @@ cmd_status() {
222222
printf '=== bashclaw status ===\n'
223223
printf 'Version: %s\n' "$BASHCLAW_VERSION"
224224
printf 'State dir: %s\n' "$BASHCLAW_STATE_DIR"
225-
printf 'Config: %s\n' "$(config_path)"
226-
227-
if [[ -f "$(config_path)" ]]; then
228-
printf 'Config: found\n'
225+
local cfg_file
226+
cfg_file="$(config_path)"
227+
if [[ -f "$cfg_file" ]]; then
228+
printf 'Config: %s\n' "$cfg_file"
229229
else
230-
printf 'Config: not found\n'
230+
printf 'Config: not found (run: bashclaw config init)\n'
231231
fi
232232

233233
local gw_port
@@ -261,8 +261,24 @@ cmd_doctor() {
261261
fi
262262
done
263263

264-
# Check optional commands
265-
local opt_cmds=(python3 uuidgen socat nc)
264+
# Check gateway HTTP server capability
265+
local http_server=""
266+
if is_command_available websocat; then
267+
printf '[OK] websocat found (gateway: WebSocket + HTTP)\n'
268+
http_server="websocat"
269+
elif is_command_available socat; then
270+
printf '[OK] socat found (gateway: HTTP)\n'
271+
http_server="socat"
272+
elif is_command_available nc; then
273+
printf '[OK] nc found (gateway: basic HTTP fallback)\n'
274+
http_server="nc"
275+
else
276+
printf '[WARN] No HTTP server tool found (websocat/socat/nc). Gateway will not serve HTTP.\n'
277+
issues=$((issues + 1))
278+
fi
279+
280+
# Check other optional commands
281+
local opt_cmds=(python3 uuidgen)
266282
for cmd in "${opt_cmds[@]}"; do
267283
if is_command_available "$cmd"; then
268284
printf '[OK] %s found (optional)\n' "$cmd"

0 commit comments

Comments
 (0)