diff --git a/CLAUDE.md b/CLAUDE.md index 903d7712..47fe7d00 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,4 +1,4 @@ -# CLAUDE.md - agentage/platform +# CLAUDE.md - agentage/kit Public repo. The extension kit and its build tool, and the widget kit; no product code. Standards: the engineering standards batch (repo-baseline, typescript, monorepo, code-style, testing, ci-cd, diff --git a/README.md b/README.md index fafe6b37..7e562ef4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# platform +# kit agentage is a small platform that runs extensions. An extension is one npm package that adds pages, an app, widgets, an API, MCP tools, jobs or CLI commands. This repo holds the kit, the library every @@ -141,9 +141,13 @@ Before that, CI builds [the probe extension](https://github.com/agentage/example packed packages, runs `up`, and checks every part image and the served discovery document. A kit change is proven in containers before it ships. +### Before the next release + +The repo is now `agentage/kit` (it was `agentage/platform`). npm provenance and trusted publishing match the repo and the workflow file, so the owner must change the trusted publisher on npmjs.com of each of the five packages (`@agentage/extension`, `@agentage/apphost`, `@agentage/identity`, `@agentage/shell-dashboard`, `@agentage/widget`) to repository `agentage/kit` and workflow `release.yml` before the next kit release. The program image name stays `ghcr.io/agentage/platform/apphost`: old release records name it. + ### When a release run fails -Run the failed run of the tag again (`gh run rerun -R agentage/platform`). Do not open a +Run the failed run of the tag again (`gh run rerun -R agentage/kit`). Do not open a version-only PR: CI refuses a package version that moves with no other change in that package (`scripts/check-bumps.mjs`). A second attempt is safe: @@ -172,7 +176,7 @@ then publishes the real version (done this way for `@agentage/apphost` and `0.0.0-stage` version on the name anyway (as on four older `@agentage` packages): use `0.0.0-bootstrap.0`. 2. Add the trusted publisher with publish allowed: - `npx npm@12 trust github --repo agentage/platform --file release.yml --allow-publish --yes`. + `npx npm@12 trust github --repo agentage/kit --file release.yml --allow-publish --yes`. Without `--allow-publish` it is stage-only, and each release needs the owner again. A new trusted publisher expires if it does not publish within 2 days; then remove it and add it again. 3. Run the tag run again. It skips every version already on npm and publishes the new name. diff --git a/package.json b/package.json index 2d55ffe3..a9bdfdde 100644 --- a/package.json +++ b/package.json @@ -63,5 +63,12 @@ "eslint-plugin-jsx-a11y": { "eslint": "$eslint" } + }, + "repository": { + "type": "git", + "url": "git+https://github.com/agentage/kit.git" + }, + "bugs": { + "url": "https://github.com/agentage/kit/issues" } } diff --git a/packages/apphost/Dockerfile b/packages/apphost/Dockerfile index 3a1b1986..a370f28d 100644 --- a/packages/apphost/Dockerfile +++ b/packages/apphost/Dockerfile @@ -14,7 +14,7 @@ ARG COMMIT_SHA=unknown ARG BUILD_TIME=unknown ARG VERSION=0.0.0 ENV NODE_ENV=production COMMIT_SHA=$COMMIT_SHA BUILD_TIME=$BUILD_TIME VERSION=$VERSION PORT=3000 -LABEL org.opencontainers.image.source=https://github.com/agentage/platform \ +LABEL org.opencontainers.image.source=https://github.com/agentage/kit \ org.opencontainers.image.revision=$COMMIT_SHA org.opencontainers.image.version=$VERSION WORKDIR /app COPY --from=build /src/package.json /src/package-lock.json ./ diff --git a/packages/apphost/package.json b/packages/apphost/package.json index 757045fc..708b4d66 100644 --- a/packages/apphost/package.json +++ b/packages/apphost/package.json @@ -6,12 +6,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/apphost" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public" diff --git a/packages/extension/README.md b/packages/extension/README.md index 03957840..661307ae 100644 --- a/packages/extension/README.md +++ b/packages/extension/README.md @@ -81,5 +81,5 @@ but ui; `{ "name": "github-app-key", "parts": ["worker"] }` only in the parts it other part starts without it, and a read of `ctx.secrets.githubAppKey` there throws. A test takes a part's view with `createTestContext({ extension: { part: 'worker' } })`. -See the [platform README](https://github.com/agentage/platform#readme) for every part kind, the +See the [kit README](https://github.com/agentage/kit#readme) for every part kind, the manifest, the tool and how a part image runs. diff --git a/packages/extension/package.json b/packages/extension/package.json index 86b295bc..c6fbc325 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -6,12 +6,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/extension" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public" diff --git a/packages/identity/package.json b/packages/identity/package.json index 6e7a6c3c..049d72d7 100644 --- a/packages/identity/package.json +++ b/packages/identity/package.json @@ -7,12 +7,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/identity" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public" diff --git a/packages/logs/package.json b/packages/logs/package.json index 8984766b..c45c6ce2 100644 --- a/packages/logs/package.json +++ b/packages/logs/package.json @@ -8,12 +8,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/logs" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public" diff --git a/packages/shell-dashboard/package.json b/packages/shell-dashboard/package.json index 21087f58..391d789e 100644 --- a/packages/shell-dashboard/package.json +++ b/packages/shell-dashboard/package.json @@ -6,12 +6,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/shell-dashboard" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public" diff --git a/packages/widget/package.json b/packages/widget/package.json index 18509614..6755f6ae 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -6,12 +6,12 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/agentage/platform.git", + "url": "git+https://github.com/agentage/kit.git", "directory": "packages/widget" }, "homepage": "https://agentage.io", "bugs": { - "url": "https://github.com/agentage/platform/issues" + "url": "https://github.com/agentage/kit/issues" }, "publishConfig": { "access": "public"