human-machine-swapper 1.0.1 → 1.0.2

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 +14 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -268,6 +268,20 @@ curl -s https://unpkg.com/human-machine-swapper@1.0.0/src/human-machine-swapper.
268
268
  | openssl dgst -sha384 -binary | openssl base64 -A
269
269
  ```
270
270
 
271
+ ### Provenance
272
+
273
+ From 1.0.2 this package is published by GitHub Actions through npm's trusted publishing, with
274
+ no long-lived token anywhere. Every release carries a signed attestation naming the commit and
275
+ the workflow that built it, so you can check the tarball came from this repo rather than from
276
+ somebody's credentials:
277
+
278
+ ```bash
279
+ npm audit signatures
280
+ ```
281
+
282
+ That is a stronger claim than an integrity hash. A hash says the bytes did not change in
283
+ transit; the attestation says where the bytes came from.
284
+
271
285
  A pinned build does not update, so you take on watching for releases. Self-hosting the file is
272
286
  the third option and works identically: it is one dependency-free script with no network calls
273
287
  of its own beyond reading your `llms.txt`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "human-machine-swapper",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A web component that adds a Human / Machine pill to any website. Machine shows the site's llms.txt, the plain-text reading written for language models, rendered in place. One file, about 6 KB gzipped, no dependencies and no build step.",
5
5
  "keywords": [
6
6
  "llms.txt",