Skip to content

fix: Browser Hand checks for python instead of python3#406

Open
f-liva wants to merge 20 commits intoRightNow-AI:mainfrom
f-liva:fix/browser-hand-python3-check
Open

fix: Browser Hand checks for python instead of python3#406
f-liva wants to merge 20 commits intoRightNow-AI:mainfrom
f-liva:fix/browser-hand-python3-check

Conversation

@f-liva
Copy link

@f-liva f-liva commented Mar 7, 2026

Summary

  • The Browser Hand HAND.toml sets check_value = "python" for the Python 3 requirement check
  • On Debian/Ubuntu, the binary is python3 — there is no python symlink by default
  • This causes the requirement check to show ✗ even when Python 3 is installed
  • Changed check_value to "python3" to match the actual binary name

Fixes #405

Test plan

  • Deploy on Debian-based system with python3 installed (no python symlink)
  • Browser Hand requirement check should show ✓ for Python 3
  • Verify Playwright check still works

🤖 Generated with Claude Code

Federico Liva and others added 20 commits March 7, 2026 08:50
- Add toolchain: Node.js 22, Claude Code CLI, Python 3, uv, Go, gh, ffmpeg
- Add gosu + non-root user (openfang) with passwordless sudo
- Entrypoint drops root privileges via gosu for Claude Code compatibility
- Add GitHub Actions workflow to auto-sync upstream releases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace opaque dark-background logo with transparent PNG and add
CSS invert filter for light theme so the snake is visible in both
dark and light modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extend the CSS invert filter to also cover .message-avatar img,
so the agent logo in chat messages is visible in light mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Previously, Claude Code had key_required=false so detect_auth() always
set NotRequired ("No Key Needed"), regardless of whether the CLI was
installed or authenticated. Now it checks:
- CLI installed + authenticated → Configured
- CLI installed, not authenticated → Missing (Not Set)
- CLI not installed → NotRequired (No Key Needed)

This also fixes the Runtime/Overview page showing Claude Code as "not
configured" when it is actually ready.

Fixes RightNow-AI#376

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GITHUB_TOKEN cannot push changes to .github/workflows/ files.
Use a PAT with workflows permission instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Install pip3, playwright, and Chromium with system dependencies
for browser automation and PDF generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The rebase creates new commit hashes, and --force-with-lease fails
when the remote was updated between fetches. Since this is an
intentional rebase sync, --force is appropriate.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
OpenFang's Browser Hand checks for 'python' not 'python3'.
Debian only installs the python3 binary, so add a symlink.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
On Debian/Ubuntu, the Python 3 binary is installed as `python3`, not
`python`. The Browser Hand requirement check looked for `python` which
doesn't exist on these systems, causing it to show ✗ even when Python 3
is installed.

Fixes RightNow-AI#405

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Browser Hand: Python 3 detection shows ✗ even when python3 is installed

2 participants