Convert to python #2

Merged
didericis merged 1 commits from python-conversion into main 2026-05-08 11:35:52 -04:00
Owner

Complexity is high enough now to transition to a more legible/portable language like python

Complexity is high enough now to transition to a more legible/portable language like python
didericis added 2 commits 2026-05-08 11:30:11 -04:00
Previously cmd_start unconditionally passed --remote-control to claude.
Make it a parsed flag so callers can choose. Behavior change: the
default is now disabled — pass --remote-control to opt in.

Surfaced in usage, the launch plan, and the assembled CLAUDE_ARGS.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replaces cli.sh + lib/*.sh with a claude_bottle/ Python package and a
cli.py entry point. No external dependencies — uses only Python's
stdlib (json, subprocess, getpass, tempfile, argparse, re, etc.).

- claude_bottle/{log,docker,manifest,env_resolve,network,pipelock,
  skills,ssh,cli}.py mirror the previous lib/*.sh modules.
- Tests converted to unittest under tests/test_*.py with a stdlib
  runner at tests/run_tests.py (unit | integration | path).
- .githooks/commit-msg ported to Python; same Conventional Commits rules.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
didericis merged commit 399ed93dc8 into main 2026-05-08 11:35:52 -04:00
didericis deleted branch python-conversion 2026-05-08 11:35:52 -04:00
Sign in to join this conversation.