opencode-swarm 6.86.7 → 6.86.9
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 +28 -0
- package/dist/cli/index.js +430 -234
- package/dist/config/cache-paths.d.ts +11 -0
- package/dist/config/schema.d.ts +1 -0
- package/dist/db/global-db.d.ts +1 -1
- package/dist/db/project-db.d.ts +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +4976 -4772
- package/dist/services/diagnose-service.d.ts +1 -1
- package/dist/services/version-check.d.ts +28 -0
- package/package.json +2 -2
- package/dist/tools/check-gate-status.prefix.test.d.ts +0 -1
package/README.md
CHANGED
|
@@ -107,6 +107,34 @@ The 15-minute guide covers:
|
|
|
107
107
|
|
|
108
108
|
---
|
|
109
109
|
|
|
110
|
+
## Upgrading
|
|
111
|
+
|
|
112
|
+
**OpenCode caches plugins indefinitely.** A normal OpenCode restart does **not**
|
|
113
|
+
pull newer versions from npm — once a plugin is cached, OpenCode keeps using
|
|
114
|
+
that exact copy on every subsequent launch (issue #675). The cache lives in
|
|
115
|
+
one of two places depending on your platform:
|
|
116
|
+
|
|
117
|
+
- Linux / devcontainers / GitHub Codespaces:
|
|
118
|
+
`~/.config/opencode/node_modules/opencode-swarm/`
|
|
119
|
+
- Some macOS / Windows installs:
|
|
120
|
+
`~/.cache/opencode/packages/opencode-swarm@latest/`
|
|
121
|
+
|
|
122
|
+
To upgrade to the latest published version (clears both layouts automatically):
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
bunx opencode-swarm update # cache-only refresh, then restart opencode
|
|
126
|
+
# or
|
|
127
|
+
bunx opencode-swarm install # full reinstall (re-asserts config), then restart opencode
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
`/swarm diagnose` shows the running version and, when available, the latest
|
|
131
|
+
version on npm so you can tell at a glance whether your cache is stale.
|
|
132
|
+
|
|
133
|
+
To disable the background staleness check entirely, set `version_check: false`
|
|
134
|
+
in your `opencode-swarm.json`.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
110
138
|
## Commands
|
|
111
139
|
|
|
112
140
|
All 41 subcommands at a glance:
|