diff --git a/docs/cli-downloads.md b/docs/cli-downloads.md index 4e7683e..1b0db35 100644 --- a/docs/cli-downloads.md +++ b/docs/cli-downloads.md @@ -76,7 +76,7 @@ The `image` job pushes to GitHub's container registry, where a new package start The secrets go in the **`release`** environment (**Settings**, then **Environments**), whose deployment rule allows only `v*` tags, so nothing but a release can read them. A tag ruleset lets only admins create, move or delete `v*` tags. The variables stay under **Settings**, then **Secrets and variables**, then **Actions**. **Settings**, then **Actions**, must also require approval for workflows from all outside contributors. [`scripts/check-public-ready.sh`](../scripts/check-public-ready.sh) checks all of this. -- **npm trusted publishing** (no npm token): for each of the three packages, on npmjs.com open the package, then **Settings**, then **Trusted publishing**, and add GitHub Actions with organization `division-software`, repository `theagenthub`, workflow `release.yml` and environment `release`. The `npm` job then publishes with GitHub's OIDC token, and npm shows provenance for each version. +- **npm trusted publishing** (no npm token): for each of the three packages, on npmjs.com open the package, then **Settings**, then **Trusted publishing**, and add GitHub Actions with organization `division-software`, repository `theagenthub`, workflow `release.yml` and environment `release`. The `npm` job then publishes with GitHub's OIDC token, and npm shows provenance for each version. npm only accepts it while each package's `repository.url` names this repo (`plugins/*/package.json`), and a new trusted publisher expires if its first publish doesn't happen within 2 days: then delete it and add it again. - **`PLUGINS_DEPLOY_KEY`** (secret): see [plugins.md](plugins.md#releasing). - **`VPS_SSH_HOST`** (variable): the server as `user@`. That user needs write access to `/opt/agenthub` and to Docker (the `docker` group). - **`VPS_SSH_KNOWN_HOSTS`** (variable): the output of `ssh-keyscan `. diff --git a/plugins/cli/package.json b/plugins/cli/package.json index 6421b0e..c875c7c 100644 --- a/plugins/cli/package.json +++ b/plugins/cli/package.json @@ -7,6 +7,6 @@ "engines": { "node": ">=22" }, "keywords": ["agenthub", "agents", "mcp", "claude-code", "codex", "copilot", "opencode"], "homepage": "https://theagenthub.app", - "repository": { "type": "git", "url": "git+https://github.com/division-software/agenthub-plugins.git" }, + "repository": { "type": "git", "url": "git+https://github.com/division-software/theagenthub.git", "directory": "plugins/cli" }, "license": "PolyForm-Shield-1.0.0" } diff --git a/plugins/opencode/package.json b/plugins/opencode/package.json index a4c1499..83b1649 100644 --- a/plugins/opencode/package.json +++ b/plugins/opencode/package.json @@ -22,7 +22,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/division-software/agenthub-plugins.git", - "directory": "packages/opencode" + "url": "git+https://github.com/division-software/theagenthub.git", + "directory": "plugins/opencode" } } diff --git a/plugins/pi/package.json b/plugins/pi/package.json index 7732864..7492363 100644 --- a/plugins/pi/package.json +++ b/plugins/pi/package.json @@ -5,7 +5,7 @@ "type": "module", "keywords": ["pi-package", "agenthub", "agents", "mcp", "multi-agent", "code-review", "pi-extension"], "homepage": "https://theagenthub.app", - "repository": { "type": "git", "url": "git+https://github.com/division-software/agenthub-plugins.git", "directory": "packages/pi" }, + "repository": { "type": "git", "url": "git+https://github.com/division-software/theagenthub.git", "directory": "plugins/pi" }, "license": "MIT", "files": ["extensions", "README.md"], "pi": { "extensions": ["./extensions/agenthub.ts"], "image": "https://theagenthub.app/pi-preview.png" },