@vibecontrols/vibe-plugin-desk-windows 2026.1202.2 → 2026.1202.3
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 +35 -31
- package/package.json +1 -1
- package/vibe-plugin.sig.json +4 -4
package/README.md
CHANGED
|
@@ -4,48 +4,52 @@ The Windows provider for BotManor Stewards desks. It lets a Steward use a person
|
|
|
4
4
|
|
|
5
5
|
Install it next to the desk meta plugin. The meta routes actions here and enforces fencing, idempotency, timeouts, the workspace folder, local consent and the kill switch. This plugin drives the desktop.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
**What the PC needs.**
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
- Windows 10 or 11, or Windows Server 2019 or later, with a person signed in to the desktop. The agent must run as that person, not as a service: a service has no desktop to drive.
|
|
12
|
+
- Windows PowerShell 5.1 and the .NET Framework 4.x, both built into Windows. PowerShell must run in Full Language mode, and no application control policy may block `Add-Type`: the helper compiles `helper/DeskWindowsHelper.cs` when it starts.
|
|
13
|
+
- The VibeControls agent with the desk meta plugin, `@vibecontrols/vibe-plugin-desk`.
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
- npm trusts the calling file: `@vibecontrols/vibe-plugin-desk-windows` needs a trusted publisher for `Algoshred/vibe-plugin-desk-windows` and `release.yml`. A package that was never published needs its first publish by hand before the trusted publisher can be added.
|
|
13
|
-
- `npm-unpublish.yml` documents unpublish and deprecate; npm tokens can no longer perform them, so a maintainer runs them from their own npm session.
|
|
15
|
+
**Install both plugins** as the signed-in person:
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
```powershell
|
|
18
|
+
vibe plugin install @vibecontrols/vibe-plugin-desk
|
|
19
|
+
vibe plugin install @vibecontrols/vibe-plugin-desk-windows
|
|
20
|
+
```
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
Desk plugins are never trusted by default, so each install asks for confirmation (`--yes` confirms in a non-interactive run). The agent loads a desk plugin only when its `vibe-plugin.sig.json` verifies against a key in the agent's trust root; a changed or unsigned package is refused.
|
|
18
23
|
|
|
19
|
-
|
|
20
|
-
2. **Publish the first signed build.** A maintainer with publish rights on the `@vibecontrols` scope, signed in to npm with 2FA, publishes from a clean checkout of `main`. Never publish an unsigned tarball. Like the release workflow, the steps below build once, sign, pack once with `--ignore-scripts`, and publish that exact tarball with `--ignore-scripts`. A plain `npm publish` would run `prepublishOnly` and `prebuild`, delete and rebuild `dist/` after signing, and could ship files the signature does not cover.
|
|
24
|
+
**Turn remote control on.** It stays off after the install. The person at the PC turns it on with `vibe config --set desk.remote-control=on`, and can stop everything at any time with `vibe desk kill`.
|
|
21
25
|
|
|
22
|
-
|
|
23
|
-
bun install --frozen-lockfile
|
|
24
|
-
npm version <next CalVer, e.g. 2026.1202.1> --no-git-tag-version
|
|
25
|
-
bun run build
|
|
26
|
-
export PLUGIN_SIGNING_KEY="$(cat key.pem)"
|
|
27
|
-
# Sign the built package, then pack it for real and verify the unpacked tarball.
|
|
28
|
-
bun .github/actions/ci-workflows/node-lib/sign-plugin/sign.ts sign --dir . --key-id vc-plugins-2026-11
|
|
29
|
-
bun .github/actions/ci-workflows/node-lib/sign-plugin/sign.ts verify --dir .
|
|
30
|
-
unset PLUGIN_SIGNING_KEY
|
|
31
|
-
# Pack the signed files once, confirm the signature is inside, and publish that tarball.
|
|
32
|
-
TARBALL="$(npm pack --ignore-scripts --json | jq -r '.[0].filename')"
|
|
33
|
-
tar -tzf "$TARBALL" | grep -x 'package/vibe-plugin.sig.json'
|
|
34
|
-
npm publish "./$TARBALL" --access public --ignore-scripts
|
|
35
|
-
```
|
|
26
|
+
**Status.** The package is published and signed, but it is not offered yet: it is not in the agent's plugin catalog, and it is not in the desk meta's `DESK_PROVIDERS`, so neither the agent nor the meta installs it for anyone. Installed by hand as above, it registers as a desk provider and the meta routes actions to it like any other. Offering it is a separate change that:
|
|
36
27
|
|
|
37
|
-
|
|
28
|
+
1. catalogues the package in the agent as `trusted: false`, not a default, pinned to the signed release's `integrity`;
|
|
29
|
+
2. adds it to the desk meta's `DESK_PROVIDERS` as opt-in.
|
|
30
|
+
|
|
31
|
+
## Release and signing
|
|
38
32
|
|
|
39
|
-
|
|
40
|
-
npm trust github @vibecontrols/vibe-plugin-desk-windows --file release.yml --repo Algoshred/vibe-plugin-desk-windows --allow-publish --yes
|
|
41
|
-
```
|
|
33
|
+
This plugin hands a person's own machine to a Steward, so every release is signed (BOFF-16561, BotManor spec 10 §8 T7).
|
|
42
34
|
|
|
43
|
-
|
|
35
|
+
- Every push to `main` runs `.github/workflows/release.yml`. It stamps the next free CalVer version, runs `boff sanity --force`, builds, signs the package with the `VIBE_PLUGIN_SIGNING_KEY` secret under the key id in the `VIBE_PLUGIN_SIGNING_KEY_ID` variable (`vc-plugins-2026-11`), checks the packed tarball the way the agent does, and publishes it to npm under `latest` through npm trusted publishing (GitHub Actions OIDC, no npm token).
|
|
36
|
+
- npm trusts the calling file: the trusted publisher of `@vibecontrols/vibe-plugin-desk-windows` is `Algoshred/vibe-plugin-desk-windows` with `release.yml`. Renaming the file, or publishing from another workflow, breaks the publish until the registration on npmjs.com is changed.
|
|
37
|
+
- Never clear the `VIBE_PLUGIN_SIGNING_KEY_ID` variable to get a release through: an unsigned desk plugin does not load.
|
|
38
|
+
- Unpublish and deprecate are not trusted-publishing operations. A maintainer runs them from their own npm session with 2FA (`npm-unpublish.yml` documents the commands). To withdraw a bad release, deprecate it (`npm deprecate @vibecontrols/vibe-plugin-desk-windows@<version> "<reason>"`); a catalog pin keeps agents on the release it names.
|
|
44
39
|
|
|
45
|
-
|
|
40
|
+
The one-time bootstrap is done: the signing key is a repository secret, `2026.1202.1` was published by hand with the npm token, and `2026.1202.2` was the first release published through OIDC (BOFF-16566).
|
|
41
|
+
|
|
42
|
+
**Check a published release** the way the agent does, with the agent's verifier and trust root (a clone of `Algoshred/vibecontrols-agent` next to this one):
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
mkdir -p ../desk-windows-check && cd ../desk-windows-check
|
|
46
|
+
npm pack @vibecontrols/vibe-plugin-desk-windows@<version> && tar -xzf *.tgz
|
|
47
|
+
bun -e 'import { verifyPluginPackage } from "../vibecontrols-agent/src/core/plugin-signature.ts";
|
|
48
|
+
import { PLUGIN_SIGNING_KEYS } from "../vibecontrols-agent/src/config/plugin-trust-root.ts";
|
|
49
|
+
console.log(verifyPluginPackage("package", "@vibecontrols/vibe-plugin-desk-windows", PLUGIN_SIGNING_KEYS));'
|
|
50
|
+
```
|
|
46
51
|
|
|
47
|
-
|
|
48
|
-
2. adds it to the desk meta's `DESK_PROVIDERS` as opt-in, with no `defaultOn`.
|
|
52
|
+
It prints `{ ok: true, keyId: "vc-plugins-2026-11", ... }` for a good release and `ok: false` with a reason, such as `FILE_CHANGED`, otherwise.
|
|
49
53
|
|
|
50
54
|
## How it works
|
|
51
55
|
|
package/package.json
CHANGED
package/vibe-plugin.sig.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "vibecontrols-plugin-signature/v1",
|
|
3
3
|
"package": "@vibecontrols/vibe-plugin-desk-windows",
|
|
4
|
-
"version": "2026.1202.
|
|
4
|
+
"version": "2026.1202.3",
|
|
5
5
|
"keyId": "vc-plugins-2026-11",
|
|
6
6
|
"files": {
|
|
7
7
|
"LICENSE": "sha512-Rww0A8k2ve2punYCwOToupYSPGq/A3QUcNVtHYu19iwzkWPnAVcWx4YwZbmzTkruL9OtfGgl+WjFyqo+R3rqlQ==",
|
|
8
|
-
"README.md": "sha512-
|
|
8
|
+
"README.md": "sha512-gwxknxf1UZxtFmJwqbojMsJavDeF2deX7XI1KiWCmOyVhfJozlXXdN6pKyWFZGQjv2jvqOY5Gd02UNhyzoV4Hg==",
|
|
9
9
|
"dist/backend.d.ts": "sha512-y7jL0rWUwAurDduTgSU8c4NJDYsp6/jWIM903tu1GIhkJ+fE8jH9CC/ZUHEXypxSDjv41zkQiPJ+yvM53ZFZfg==",
|
|
10
10
|
"dist/env.d.ts": "sha512-Aoqc8Jt9PGDZABBKr05UUaI9dT26HTPo0UY8rQ0fdKnm3DjkQar7uH73rlJk8+UoEbEIiyf1B0yARaM2/gvjlQ==",
|
|
11
11
|
"dist/files.d.ts": "sha512-7MRMPUdB5iYdRex5D1EbeB6vHt0pUOejH7yh/RoRlE/6boyALNYcvz+Jb/J8leJAgPAX7CZbDdqBy1/XiyZC3g==",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dist/keys.d.ts": "sha512-sw1eFejKWrYtHZ8uppKibRtxPT65V+VL6F0kNZkPprL6SfuC04vjhZrDEQp+7JqsbbbhV8XjRU0IQCqwwy0DZA==",
|
|
16
16
|
"helper/DeskWindowsHelper.cs": "sha512-LkzrioJD4aR4ZBZ98NKiMF8OUlItUidjhpxWXuEkR+YoIaUFrpUudRrNg42fEQMRnuxMBO4oo9+b31yJcOT7Ng==",
|
|
17
17
|
"helper/desk_windows_helper.ps1": "sha512-nN3kJuiPFut7zjiKQrZ3bBHnxyzvAL7CLeWrbz830xErwBeKD41W2PMSNpi010W13VdkrV6HZ3ea77mNg5yVPQ==",
|
|
18
|
-
"package.json": "sha512-
|
|
18
|
+
"package.json": "sha512-KLWkg435FxF6hdhB+NcZn8gQ2GN/75YJVsi9xv3PfekqVmGmsm1SCRDhVjJVjxV6PnnrWXhwfOJobKBz/2xB/w=="
|
|
19
19
|
},
|
|
20
|
-
"signature": "
|
|
20
|
+
"signature": "bVc+woIClN3fdr0iHGbPLpsmAEOXiruVdA666TX8rqid2pIJL+E7sfBLBRz7/g9UWCywTj0XsWYoraKKePbvBw=="
|
|
21
21
|
}
|