opencode-onboard 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/steps/install-caveman.js +3 -2
package/README.md
CHANGED
|
@@ -73,8 +73,8 @@ The CLI clears the screen, shows a welcome banner, and walks you through 12 step
|
|
|
73
73
|
| **7. Install skills** | Installs built-in `ob-` skills + optional additional skills provider |
|
|
74
74
|
| **8. Choose models** | Fetches live model list from [models.dev](https://models.dev), lets you pick plan / build / fast models with cost indicators and canonical pricing |
|
|
75
75
|
| **9. Token optimization tools** | Optional (recommended). One checklist step for RTK check, opencode-quota setup, and caveman install (all preselected) |
|
|
76
|
-
| **
|
|
77
|
-
| **
|
|
76
|
+
| **10. Install browser plugin** | Installs `@different-ai/opencode-browser` globally for agent browser automation |
|
|
77
|
+
| **11. Write onboarding metadata** | Writes `.opencode/opencode-onboard.json` with selected setup details |
|
|
78
78
|
|
|
79
79
|
When it finishes, open OpenCode in your project and type:
|
|
80
80
|
|
package/package.json
CHANGED
|
@@ -16,10 +16,10 @@ export async function installCaveman(options = {}) {
|
|
|
16
16
|
|
|
17
17
|
try {
|
|
18
18
|
info('Installing caveman via npx skills')
|
|
19
|
-
const result = await execa('npx', ['skills', 'add', 'JuliusBrussee/caveman', '-a', 'opencode'], {
|
|
19
|
+
const result = await execa('npx', ['skills', 'add', 'JuliusBrussee/caveman/caveman', '-a', 'opencode', '--yes'], {
|
|
20
20
|
reject: false,
|
|
21
21
|
timeout: 600000,
|
|
22
|
-
stdio: '
|
|
22
|
+
stdio: 'pipe',
|
|
23
23
|
})
|
|
24
24
|
|
|
25
25
|
if (result.exitCode === 0) {
|
|
@@ -32,6 +32,7 @@ export async function installCaveman(options = {}) {
|
|
|
32
32
|
success('caveman installed')
|
|
33
33
|
return { optedIn: true, installed: true }
|
|
34
34
|
} else {
|
|
35
|
+
if (result.stderr?.trim()) warn(result.stderr.trim().split('\n').slice(-3).join('\n'))
|
|
35
36
|
warn('caveman install exited with non-zero code')
|
|
36
37
|
return { optedIn: true, installed: false }
|
|
37
38
|
}
|