paseo-plugin-machine-status 0.2.3 → 0.3.1

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/OVERVIEW.md CHANGED
@@ -14,7 +14,7 @@ Machine Status shows what the daemon's Mac is doing while your agents work: CPU
14
14
 
15
15
  ## Setup
16
16
 
17
- - A macOS daemon on Paseo 0.8 to 0.13. On other platforms the screen says it cannot collect metrics.
17
+ - A macOS daemon on Paseo 0.11 to 0.14. On other platforms the screen says it cannot collect metrics.
18
18
  - Docker Desktop, OrbStack or Rancher Desktop for the Docker tab. Without one, the tab says which is missing.
19
19
 
20
20
  ## What it can change
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <p align="center"><img src="assets/icon.png" width="88" alt=""></p>
2
+
1
3
  <h1 align="center">paseo-plugin-machine-status</h1>
2
4
 
3
5
  <p align="center">
@@ -9,7 +11,7 @@
9
11
  <p align="center">
10
12
  <a href="https://github.com/dutchakdev/paseo-plugin-machine-status/actions/workflows/ci.yml"><img src="https://github.com/dutchakdev/paseo-plugin-machine-status/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"></a>
11
13
  <a href="https://www.npmjs.com/package/paseo-plugin-machine-status"><img src="https://img.shields.io/npm/v/paseo-plugin-machine-status" alt="npm"></a>
12
- <img src="https://img.shields.io/badge/Paseo-0.8.x%20%E2%80%93%200.13.x-3987e5" alt="Supports Paseo 0.8.x through 0.13.x, including betas">
14
+ <img src="https://img.shields.io/badge/Paseo-0.11.x%20%E2%80%93%200.14.x-3987e5" alt="Supports Paseo 0.11.x through 0.14.x, including betas">
13
15
  <img src="https://img.shields.io/badge/macOS-only-9aa1a6" alt="macOS only">
14
16
  <img src="https://img.shields.io/badge/dependencies-none-c98500" alt="No runtime dependencies">
15
17
  <img src="https://img.shields.io/badge/license-MIT-9aa1a6" alt="MIT licensed">
@@ -34,19 +36,22 @@ source that matches your Paseo:
34
36
  | Paseo | Source | Command |
35
37
  | ----- | ------ | ------- |
36
38
  | 0.11 and newer | [Plugin directory](https://paseo.sh/plugins), the reviewed version | `paseo plugin add dutchakdev/machine-status` |
37
- | 0.9 and newer | npm, the newest release before the directory approves it | `paseo plugin install npm:paseo-plugin-machine-status` |
38
- | 0.8 | GitHub | `paseo plugin add dutchakdev/paseo-plugin-machine-status` |
39
+ | 0.11 and newer | npm, the newest release before the directory approves it | `paseo plugin install npm:paseo-plugin-machine-status` |
40
+ | 0.8 to 0.10, 0.11.0 betas | GitHub, release 0.2.3, the last one for these versions | `paseo plugin add dutchakdev/paseo-plugin-machine-status --ref v0.2.3` |
39
41
 
40
42
  `paseo plugin ls` should then show `machine-status` as `running`, and
41
43
  `paseo plugin update machine-status` pulls later releases from the same source. From
42
44
  Paseo 0.11 a bare `owner/name` names a directory entry, so a GitHub source there needs
43
45
  the `git:` prefix: `git:dutchakdev/paseo-plugin-machine-status`.
44
46
 
45
- The plugin supports **Paseo 0.8.x through 0.13.x, including betas**, on both the
47
+ The plugin supports **Paseo 0.11.x through 0.14.x, including betas**, on both the
46
48
  daemon, which runs its collectors, and the app, which runs its screens.
47
49
 
48
- The manifest remains `>=0.8.0`, which already admits 0.9.x through 0.13.x. Paseo also checks a
49
- prerelease's stable version core, so `0.13.0-beta.1` satisfies this range; see
50
+ The manifest asks for `>=0.11.0` because it declares the icon shown in the plugin
51
+ directory, and Paseo 0.8 to 0.10 refuse a manifest with a field they do not know.
52
+ Paseo also checks a prerelease's stable version core, so `0.14.0-beta.1` satisfies
53
+ this range. The 0.11.0 betas pass that check but predate the `icon` field, so they
54
+ refuse the manifest as well and need the release named in the install table; see
50
55
  [version requirements](https://paseo.sh/docs/plugins/reference#requirements).
51
56
 
52
57
  To work on it locally instead:
@@ -360,13 +365,16 @@ including a refusal to terminate the test runner itself.
360
365
  ### Paseo versions
361
366
 
362
367
  The SDK stays pinned to 0.8.0 for typechecking and tests, so the compiler proves
363
- the plugin uses only the oldest supported API. Paseo supplies the runtime instances
364
- on every supported release line, so none of it ships with the plugin.
368
+ the plugin uses only the 0.8 API, which every supported release still provides.
369
+ Paseo supplies the runtime instances on every supported release line, so none of
370
+ it ships with the plugin.
365
371
 
366
372
  Paseo 0.11 replaced surfaces with screens and kept the old calls as deprecated
367
- aliases. The manifest still admits 0.8, and each connected app evaluates the client
368
- entry against its own version, so `client/compat.tsx` describes the 0.11 additions
369
- locally and calls them only after checking that the app has them:
373
+ aliases. Up to 0.2.3 the manifest admitted 0.8, and each connected app evaluates the
374
+ client entry against its own version, so `client/compat.tsx` describes the 0.11
375
+ additions locally and calls them only after checking that the app has them. Since the
376
+ manifest asks for 0.11, every app that loads the plugin takes the first row; the
377
+ fallback stays in the code until it is removed on its own:
370
378
 
371
379
  | App version | Screen | Sidebar | Opens with | Tab shortcuts in ⌘K |
372
380
  | ----------- | ------ | ------- | ---------- | ------------------- |
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "paseo-plugin-machine-status",
3
- "version": "0.2.3",
3
+ "version": "0.3.1",
4
4
  "description": "Machine dashboard, open ports and Docker control inside Paseo",
5
5
  "license": "MIT",
6
6
  "author": "dutchakdev",
@@ -43,6 +43,7 @@
43
43
  "files": [
44
44
  "paseo-plugin.json",
45
45
  "OVERVIEW.md",
46
+ "assets/icon.png",
46
47
  "index.client.tsx",
47
48
  "index.server.ts",
48
49
  "client/",
package/paseo-plugin.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "id": "machine-status",
3
- "requirements": { "paseo": ">=0.8.0" }
3
+ "icon": "assets/icon.png",
4
+ "requirements": { "paseo": ">=0.11.0" }
4
5
  }