Commit 316b0c2
committed
Fix installer detection and prompt for prior deploys
Two fixes:
1. coexistence.sh: ccgs_has_opencode_prior now also checks for
.opencode/agents/creative-director.md — recognizes prior deploys
that lost their install-state.json or VERSION file
2. install.sh: safety prompt reads from stdin instead of /dev/tty —
allows piped input (echo 'y' | bash install.sh ...) for non-interactive
contexts like CI or agent-driven deploys1 parent 042fd12 commit 316b0c2
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments