Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 <id> -R agentage/platform`). Do not open a
Run the failed run of the tag again (`gh run rerun <id> -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:

Expand Down Expand Up @@ -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 <name> --repo agentage/platform --file release.yml --allow-publish --yes`.
`npx npm@12 trust github <name> --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.
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/apphost/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down
4 changes: 2 additions & 2 deletions packages/apphost/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/identity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/logs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/shell-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading