mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-11 02:33:10 +08:00
fix(install-targets): validate compiled OpenCode plugin before install (#2041)
Fail fast when the OpenCode home install is attempted from a source checkout without the compiled .opencode/dist payload. PR had the full CI matrix green.
This commit is contained in:
@@ -57,6 +57,19 @@ cd ECC
|
||||
opencode
|
||||
```
|
||||
|
||||
If you also want to apply the ECC home install
|
||||
(`node scripts/install-apply.js --target opencode --profile full`), build the
|
||||
plugin first so the compiled payload at `.opencode/dist/` exists:
|
||||
|
||||
```bash
|
||||
node scripts/build-opencode.js # or: npm run build:opencode
|
||||
node scripts/install-apply.js --target opencode --profile full
|
||||
```
|
||||
|
||||
Without `.opencode/dist/index.js`, OpenCode will detect the slash commands
|
||||
but silently skip plugin hooks and tools. The installer now fails fast with
|
||||
a pointer to this command if the build step is missing.
|
||||
|
||||
## Features
|
||||
|
||||
### Agents (12)
|
||||
|
||||
Reference in New Issue
Block a user