3 Commits

Author SHA1 Message Date
timmy
f28f20ba56 feat(config): support multiple Gitea profiles via GITEA_PROFILE env var
未設時讀 config.env(行為不變);設了讀 config.<profile>.env。
.gitignore 新增 config.*.env 但保留 config.example.env。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 16:18:16 +08:00
timmy
0aad9c9c55 fix(common.sh): use tty open test instead of -r for no-TTY detection
macOS /dev/tty passes -r check even when unusable in non-TTY sessions;
replace with `true < /dev/tty` probe so confirm_destructive and
confirm_exact_match correctly detect missing TTY and emit the expected
error message instead of crashing with "Device not configured".
2026-04-21 13:16:12 +08:00
timmy
faee15bc78 Initial commit
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 13:04:09 +08:00