feat: rewrite from bash to Python3 with worker/platform abstraction#13
Open
xmm1989218 wants to merge 1 commit into
Open
feat: rewrite from bash to Python3 with worker/platform abstraction#13xmm1989218 wants to merge 1 commit into
xmm1989218 wants to merge 1 commit into
Conversation
- Bash scripts -> Python 3.11+ package (zero third-party deps), managed by uv - Worker abstraction: WorkerBase + ClaudeWorker (claude --bg/attach) + OpencodeWorker (HTTP API via opencode serve) - Git Platform abstraction: PlatformBase + GitHubPlatform (gh CLI) + GitLabPlatform (glab CLI) - Cross-platform file locking (fcntl/msvcrt) - CLI: daemon/poll/setup/status/attach/logs/cleanup/seed - No longer depends on tmux/jq/flock/systemd; daemon runs while-True loop - Prompt templates inject \ variable (gh/glab) - Auto-detect Git platform from git remote URL; fallback to manual PLATFORM= config - 101 unit tests all passing - Old scripts/ marked deprecated; systemd/ removed
Collaborator
|
去掉了 tmux 不太行。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机
Bash 脚本不跨平台(依赖 tmux/jq/flock/systemd),难以扩展新 worker 和新 Git 平台。
改动
验证