oysterun 0.1.0 → 0.1.1-beta.0

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.
@@ -329,11 +329,14 @@ CPU usage
329
329
  Memory used
330
330
  Disk used
331
331
  Backend RSS
332
+ APNs deliveries
332
333
  ```
333
334
 
334
335
  Chart layout is two cards per row on desktop/tablet and one card per row on
335
336
  small screens. Each chart shows y-axis min/max ticks and x-axis first/last
336
337
  bucket labels. Percent charts use a fixed 0% to 100% y-axis.
338
+ The APNs deliveries chart belongs in the first Operational Charts block. The
339
+ second APNs Deliveries block is for the latest sanitized delivery table only.
337
340
 
338
341
  Each chart card has its own range controls:
339
342
 
@@ -440,11 +440,15 @@ CPU usage
440
440
  Memory used
441
441
  Disk used
442
442
  Backend RSS
443
+ APNs deliveries
443
444
  ```
444
445
 
445
446
  Dashboard rendering uses two chart cards per row on desktop/tablet, one per row
446
447
  on small screens, y-axis min/max ticks, and x-axis first/last bucket labels.
447
448
  Percent charts use a fixed 0% to 100% scale.
449
+ The APNs deliveries chart is rendered in the first Operational Charts block;
450
+ the APNs Deliveries section below it is reserved for the latest sanitized
451
+ delivery table.
448
452
 
449
453
  Every chart card exposes independent `1h`, `1d`, `1w`, and `1m` range controls.
450
454
  The `1m` range maps to the 30-day retention window.
@@ -213,24 +213,99 @@ web login / sessions page works
213
213
  phone QR/manual login works
214
214
  ```
215
215
 
216
- Only after the gate passes, publish:
216
+ Only after the gate passes, Owner publishes from the staging package.
217
217
 
218
- ```bash
219
- npm publish
220
- ```
218
+ Do not use the deprecated `npm publish --otp <code>` flow as the normal
219
+ Oysterun publish path. npm now requires Owner to complete the account auth/2FA
220
+ flow directly, so the maintainer should provide the exact command block and let
221
+ Owner run the final `npm publish` command in an authenticated terminal.
221
222
 
222
- For beta:
223
+ Owner publish script:
223
224
 
224
225
  ```bash
226
+ cd /Users/wanghsuanchung/Projects/OysterunOwnerManualWork
227
+ npm run package:npm
228
+
229
+ cd /Users/wanghsuanchung/Projects/OysterunOwnerManualWork/dist/npm/oysterun
230
+ npm pack --dry-run
225
231
  npm publish --tag beta
226
232
  ```
227
233
 
228
- For stable:
234
+ For stable, replace the last command with:
229
235
 
230
236
  ```bash
231
237
  npm publish --tag latest
232
238
  ```
233
239
 
240
+ ## Dist Tag Verification And Beta Practice
241
+
242
+ After publishing, verify registry tags explicitly. The publish success line:
243
+
244
+ ```text
245
+ + oysterun@0.1.0
246
+ ```
247
+
248
+ only proves that the version was published. It does not prove which dist-tag was
249
+ assigned.
250
+
251
+ Verification commands:
252
+
253
+ ```bash
254
+ npm dist-tag ls oysterun
255
+ npm view oysterun dist-tags --json
256
+ npm view oysterun@beta version
257
+ npm view oysterun@latest version
258
+ ```
259
+
260
+ Install-channel smoke:
261
+
262
+ ```bash
263
+ npm install -g oysterun@beta
264
+ oysterun --help
265
+ ```
266
+
267
+ Current first publish result, 2026-06-06:
268
+
269
+ ```text
270
+ beta: 0.1.0
271
+ latest: 0.1.0
272
+ ```
273
+
274
+ This is acceptable for the first public bootstrap package because there was no
275
+ previous stable version to preserve. It means both commands install the same
276
+ package:
277
+
278
+ ```bash
279
+ npm install -g oysterun@beta
280
+ npm install -g oysterun
281
+ ```
282
+
283
+ Best practice for future beta releases:
284
+
285
+ ```text
286
+ Use prerelease semver for beta channel:
287
+ 0.1.1-beta.0
288
+ 0.1.1-beta.1
289
+
290
+ Publish those with:
291
+ npm publish --tag beta
292
+
293
+ Keep latest for stable releases only:
294
+ 0.1.1
295
+ npm publish --tag latest
296
+ ```
297
+
298
+ If a future beta publish accidentally moves `latest` away from the last stable
299
+ release, restore `latest` explicitly:
300
+
301
+ ```bash
302
+ npm dist-tag add oysterun@<last-stable-version> latest
303
+ ```
304
+
305
+ Do not use a semver-looking string as a dist-tag. `beta`, `next`, and `canary`
306
+ are valid channel names; tags like `v1.4` are not appropriate because npm
307
+ dist-tags share the same namespace as versions.
308
+
234
309
  ## Manual Product Smoke
235
310
 
236
311
  After install/setup, maintainers may run a manual Cloud notification smoke.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oysterun-host-service",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-beta.0",
4
4
  "type": "module",
5
5
  "description": "Oysterun host service — runs on Mac mini, manages Claude Code sessions",
6
6
  "scripts": {
@@ -417,14 +417,14 @@ function isPrivateLanAddress(address) {
417
417
  if (value === null) return false;
418
418
  const ten = ipToNumber("10.0.0.0");
419
419
  const tenEnd = ipToNumber("10.255.255.255");
420
- const172 = ipToNumber("172.16.0.0");
421
- const172End = ipToNumber("172.31.255.255");
422
- const192 = ipToNumber("192.168.0.0");
423
- const192End = ipToNumber("192.168.255.255");
420
+ const private172Start = ipToNumber("172.16.0.0");
421
+ const private172End = ipToNumber("172.31.255.255");
422
+ const private192Start = ipToNumber("192.168.0.0");
423
+ const private192End = ipToNumber("192.168.255.255");
424
424
  return (
425
425
  (value >= ten && value <= tenEnd) ||
426
- (value >= const172 && value <= const172End) ||
427
- (value >= const192 && value <= const192End)
426
+ (value >= private172Start && value <= private172End) ||
427
+ (value >= private192Start && value <= private192End)
428
428
  );
429
429
  }
430
430
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oysterun",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-beta.0",
4
4
  "type": "module",
5
5
  "description": "Oysterun Host installer and local service",
6
6
  "bin": {