@yunazgr/pi-companion 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +8 -3
package/README.md CHANGED
@@ -263,7 +263,7 @@ Requirements: Node 22.17+ and stable Rust.
263
263
 
264
264
  This builds the UI, starts the daemon and prints where it is listening:
265
265
 
266
- Pi Companion v0.1.0
266
+ Pi Companion v0.2.1
267
267
 
268
268
  Console http://127.0.0.1:43721
269
269
  Paired devices http://127.0.0.1:43722
@@ -296,7 +296,7 @@ Running the daemon manually with npm run serve and the extension side by side ju
296
296
 
297
297
  ## Releases
298
298
 
299
- The package carries the pi-package keyword, so published npm versions appear in the Pi package gallery (https://pi.dev/packages). Host-provided packages (@earendil-works/pi-coding-agent, typebox) are peer dependencies, as Pi requires.
299
+ The package carries the required `pi-package` keyword, which makes the published npm package eligible for discovery in the Pi package gallery (https://pi.dev/packages). The manifest also includes focused discovery keywords such as `pi-extension`, `pi-coding-agent`, `remote-control`, and `session-dashboard`. Host-provided packages (@earendil-works/pi-coding-agent, typebox) are peer dependencies, as Pi requires.
300
300
 
301
301
  GitHub Actions run only for release tags. Pushing ordinary commits or opening pull requests does not trigger any workflow; CI can also be started manually with workflow_dispatch.
302
302
 
@@ -304,7 +304,7 @@ A tag matching vX.Y.Z triggers both the CI and release workflows.
304
304
 
305
305
  Before publishing, the workflow requires X.Y.Z to match both package.json and server/Cargo.toml. It then runs TypeScript and Rust checks, builds native daemon archives for Linux x86_64, macOS arm64, macOS x86_64, and Windows x86_64, generates SHA-256 checksums, and creates a GitHub Release.
306
306
 
307
- Only after the GitHub Release exists, and only if the repository has an NPM_TOKEN secret, the same tag publishes @yunazgr/pi-companion to npm with provenance, so an npm install never looks for a daemon binary that is not uploaded yet. Git installs need no token.
307
+ Only after the GitHub Release exists, the same tag publishes @yunazgr/pi-companion to npm with provenance through npm Trusted Publishing (GitHub OIDC). No long-lived NPM_TOKEN is required. The trusted publisher should point to GitHub owner ygrip, repository pi-companion, workflow release.yml. Git installs need no npm credential.
308
308
 
309
309
  On first use the extension downloads `pi-companion-server-<os>-<arch>` for its own package version (`releases/download/v<version>/`), verifies it against `SHA256SUMS`, and caches it under `~/.pi/agent/pi-companion/bin/<version>/`. A git install from a branch that is ahead of the newest tag falls back to the latest release.
310
310
 
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@yunazgr/pi-companion",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Local-first remote control for Pi sessions: live activity feed, steering, git diff, file drop and phone pairing from a single Rust daemon.",
5
5
  "keywords": [
6
6
  "pi-package",
7
- "pi",
8
7
  "pi-extension",
9
8
  "pi-coding-agent",
9
+ "pi",
10
10
  "remote-control",
11
+ "remote-agent",
11
12
  "companion",
12
- "dashboard",
13
+ "session-dashboard",
14
+ "developer-tools",
13
15
  "mobile"
14
16
  ],
15
17
  "homepage": "https://github.com/ygrip/pi-companion#readme",
@@ -84,5 +86,8 @@
84
86
  "@google/genai": false,
85
87
  "protobufjs": false,
86
88
  "fsevents": false
89
+ },
90
+ "publishConfig": {
91
+ "access": "public"
87
92
  }
88
93
  }