refactor(scripts): extract shared utilities into common module

- Move load_env_file, parse_timeout_seconds, build_remote_script, and
  build_ssh_command to scripts/common.py
- Update remote_docker_run.py to import from common module
- Improves code organization and reusability
This commit is contained in:
2026-05-03 19:01:35 +08:00
parent 8b8e4d3118
commit 0ae6d757dc
5 changed files with 136 additions and 110 deletions

View File

@@ -2,8 +2,17 @@
"$schema": "https://opencode.ai/config.json",
"permission": {
"bash": {
"python": "deny",
"python *": "deny",
"make": "deny",
"make *": "deny"
"make *": "deny",
"just remote *": "ask"
},
"read": {
".env": "deny"
},
"edit": {
".env": "deny"
}
}
}