@usepowerplant/cli 0.4.10 → 0.4.12

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 CHANGED
@@ -140,6 +140,9 @@ report the current choice, and `powerplant update --automatic on` or
140
140
  release already out installs now rather than at the next hourly check. A
141
141
  release that fails to install is not retried by itself; the menu bar shows
142
142
  the failure with a retry and the update log, and the next release clears it.
143
+ The one exception is a registry that does not serve the release yet (npm's
144
+ cache can lag a publish by a few minutes): the sync tries that release
145
+ again on its next hourly checks, up to three times, and the menu says so.
143
146
 
144
147
  Powerplant also publishes the oldest version it still supports. When yours
145
148
  is older, `powerplant status`, `powerplant doctor`, the menu bar app, and
@@ -162,7 +165,11 @@ to test `next` while keeping your production install on its promoted version.
162
165
  while the service is running. Sleeping machines, disabled updates, and
163
166
  failed installs can leave a machine behind. Verify the installed staging
164
167
  version and exercise sync and the menu actions you changed before
165
- promoting; elapsed time alone is not evidence of testing.
168
+ promoting; elapsed time alone is not evidence of testing. Promote only
169
+ after the workflow's "Wait until npm serves the release" step is green:
170
+ npm's CDN caches the package document for about five minutes after a
171
+ publish, and a production machine that checks inside that window gets
172
+ "no matching version" and waits an hour to try again.
166
173
  2. **Promote.** From a repo checkout with npm package access and `gh`
167
174
  signed in, name the version you tested:
168
175
 
@@ -219,11 +226,12 @@ npm install -g --prefix ~/.powerplant-staging @usepowerplant/cli@next
219
226
  ~/.powerplant-staging/bin/powerplant init --env staging
220
227
  ```
221
228
 
222
- `init --env staging` also points each selected agent's shared `powerplant`
223
- MCP connection at staging. Separate npm prefixes do not isolate that entry.
224
- After testing, run `powerplant connect` from your production install to
225
- restore the agents' production connection; the staging sync service keeps
226
- running. Include `--env staging` on every staging command.
229
+ `init --env staging` registers its own MCP entry, `powerplant-staging`, in each
230
+ selected agent, beside the production `powerplant` entry. Agents see its tools
231
+ as `mcp__powerplant-staging__*`. A CLI older than this change registered
232
+ staging as `powerplant`: if that entry still points at staging, run a bare
233
+ `powerplant connect` from your production install once to restore it. Include
234
+ `--env staging` on every staging command.
227
235
 
228
236
  The `@next` pin matters: a bare install resolves `latest`, the production
229
237
  channel, so the new staging copy would start on the promoted release and