iterate.com / chrome-extension

git clone https://git.iterate.com/repos/chrome-extension

0.8.4: the release's ZIP holds LICENSE (AGPL-3.0)

The build copies LICENSE into dist/, so every copy of the extension holds its
licence. 0.8.3 stays as it was. README: a clone of this public repo needs no
token; a push does.

Session: claude cc083c3f-fbae-4098-9750-6d1192021346 on beelink
Via: /agents/claude/chrome-ext-licence-mx0ldkyj-365b88

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wq8CaX9q9fYPaWsPudkWaY

Jonas Templestein, 2026-11-28 15:58 UTC · c58198bba7f47a50715838016cc91638178303a7 · parent 6dcfc5a

6 files changed

M README.md
@@ -2,8 +2,8 @@
 
 A Chrome extension that lends this Chrome to an iterate mind, at the mind's own address
 (`iterate.<address>`). The files in `public/` run as written, and `pnpm build` writes `dist/`, the
-unpacked extension: `public/` plus capnweb's browser bundle as `capnweb.js`, `oauth.js` and the two
-bundles of `src/`. `pnpm release` zips `dist/` into `releases/`, and
+unpacked extension: `public/` plus capnweb's browser bundle as `capnweb.js`, `oauth.js`, `LICENSE`
+and the two bundles of `src/`. `pnpm release` zips `dist/` into `releases/`, and
 [chrome.iterate.com](https://chrome.iterate.com/) serves that ZIP from this repo (below,
 **Release**).
 
@@ -298,8 +298,8 @@
    which every released `manifest.json` holds; it fixes the extension's id, and so each install's
    OAuth redirect), writes the ZIP and its row, and makes it `current`. Every entry of the ZIP
    has one fixed time, so the same commit gives the same bytes.
-4. Commit the source and `releases/` together, and push to `main` (a clone and a push need the
-   repo's token: AGENTS.md of `/repos/config`, "Where the code lives"). Then tag that commit
+4. Commit the source and `releases/` together, and push to `main` (the repo is public, so a clone
+   needs no token; a push needs the repo's token: AGENTS.md of `/repos/config`, "Where the code lives"). Then tag that commit
    `v<version>` (the skill `cut-release` of the mind).
 5. Read `https://chrome.iterate.com/`: it offers the new version within a minute. Then reload
    each unpacked install: a source change alone does not update an installed extension.
@@ -325,8 +325,8 @@
 **Share this browser**. Closing the panel keeps sharing on. **Turn sharing off** or **Sign out**
 ends it. The panel shows **Connected · sharing on** only after the mind accepts the current lend.
 
-To update an existing install to 0.8.3: replace the files in the installed folder, click **Reload**
-on its extension card, then close and reopen the panel. Confirm **v0.8.3** and click
+To update an existing install to 0.8.4: replace the files in the installed folder, click **Reload**
+on its extension card, then close and reopen the panel. Confirm **v0.8.4** and click
 **Share this browser**. After Chrome restarts, sharing is off even if sign-in was remembered.
 Open the panel and turn sharing on again. Automatic sharing on browser startup is not enabled;
 the policy is the one `SHARE_ON_BROWSER_START` setting in `public/background.js`.
@@ -336,5 +336,6 @@
 
 ## Licence
 
-AGPL-3.0 ([LICENSE](LICENSE)), as the iterate platform is. A release's ZIP also holds two bundled
+AGPL-3.0 ([LICENSE](LICENSE)), as the iterate platform is. The build copies `LICENSE` into `dist/`,
+so a release's ZIP holds it since 0.8.4. A release's ZIP also holds two bundled
 packages under their own licences: capnweb (MIT) and ivya (MIT).
M package.json
@@ -1,6 +1,6 @@
 {
   "name": "@iterate-com/chrome-extension",
-  "version": "0.8.3",
+  "version": "0.8.4",
   "private": true,
   "license": "AGPL-3.0-only",
   "type": "module",
M public/manifest.json
@@ -2,7 +2,7 @@
   "manifest_version": 3,
   "name": "Iterate",
   "description": "Lend this Chrome to an iterate mind: its agents drive the tabs in the mind's tab group.",
-  "version": "0.8.3",
+  "version": "0.8.4",
   "minimum_chrome_version": "123",
   "key": "<CHROME_EXTENSION_KEY: scripts/build.ts sets it, or leaves the key out>",
   "icons": { "16": "icon-16.png", "32": "icon-32.png", "48": "icon-48.png", "128": "icon-128.png" },
M releases/index.json
@@ -1,10 +1,15 @@
 {
-  "current": "0.8.3",
+  "current": "0.8.4",
   "releases": {
     "0.8.3": {
       "file": "iterate-chrome-extension-0.8.3.zip",
       "sha256": "fb8513924e1f0828d25b9366fe8ff737c4222f1dd8ddf2dcd95c66f5ee58b398",
       "bytes": 99588
+    },
+    "0.8.4": {
+      "file": "iterate-chrome-extension-0.8.4.zip",
+      "sha256": "774523ef6e61e594b6a6dc54942b9b48358758ddbb34d3fdcbd0703ca88cbb45",
+      "bytes": 111817
     }
   }
 }
A releases/iterate-chrome-extension-0.8.4.zip

Not text, so no diff is shown.

M scripts/build.ts
@@ -1,7 +1,7 @@
 // dist/ is the unpacked extension (what Load unpacked takes, and what scripts/release.ts zips):
 // public/, capnweb's browser bundle from node_modules (the version that package.json pins, the one
-// the platform speaks) and oauth.js, the OAuth client. README.md says why the extension carries
-// its code itself.
+// the platform speaks), oauth.js, the OAuth client, and LICENSE, so that every copy of the
+// extension holds its licence (AGPL-3.0). README.md says why the extension carries its code itself.
 import { cpSync, readFileSync, rmSync, writeFileSync } from "node:fs";
 import { build } from "esbuild";
 
@@ -10,6 +10,7 @@
 cpSync(new URL("../public/", import.meta.url), dist, { recursive: true });
 cpSync(new URL(import.meta.resolve("capnweb")), new URL("capnweb.js", dist));
 cpSync(new URL("../oauth.js", import.meta.url), new URL("oauth.js", dist));
+cpSync(new URL("../LICENSE", import.meta.url), new URL("LICENSE", dist));
 
 // public/manifest.json's `key` is a placeholder, which Chrome would refuse. A real key fixes the
 // extension's id, and so its sign-in redirect (`https://<id>.chromiumapp.org/`), on every install: