Skip to content

feat(daemon): pin apphost 0.2.1 and kit 0.20.3: shell 0.3.1 (J.4.5) - #448

Merged
vreshch merged 3 commits into
masterfrom
feature/j45-shell-package-test
Nov 19, 2026
Merged

vreshch merged 3 commits into
masterfrom
feature/j45-shell-package-test

Conversation

@vreshch

@vreshch vreshch commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Timing: no wait. R3 is on npm (platform release commit 9bf47e6, run 44616392099), and npm view answers for extension 0.20.3, shell-dashboard 0.3.1 and apphost 0.2.1. After the merge, prepare-release.yml with bump minor opens cli 0.68.0.

The cli pin PR (step L8) for J.4.5:

  • @agentage/apphost 0.1.0 to 0.2.1 (exact) and @agentage/extension 0.20.2 to 0.20.3 (exact). The lockfile comes from npm install against npm.
  • src/core/kit-bundle.test.ts: the kit is 0.20.3. The shell is read from @agentage/shell-dashboard/dist/shell.js, resolved through apphost, because the kit no longer carries a copy (platform#185).
  • e2e/daemon-shell.test.ts: the daemon page names shell 0.3.1 (<meta name="agentage-shell">), and the Inbox bell is in the nav foot. This is J.4.5 row 1 on the daemon.

Author checklist (process rule 2):

  • no route change; no credential on any path;
  • installs from a lockfile (npm ci clean);
  • the changed tests fail without the change: kit version, shell path, meta version;
  • the version change is complete (package.json and lockfile);
  • comments are one line; no .skip, no any.

Local, with the npm packages: npm run verify green (121 files, 1299 tests); npx playwright test e2e/daemon-shell.test.ts 1 passed (temporary machine, free port, not 4243).

https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212

The app host program serves the shell package, not a copy in the kit.

Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212
@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🎉 PR Validation ✅ PASSED

Commit: ed055bcefe0da1b22713f315915c82cf363762f8
Branch: feature/j45-shell-package-test

Checks:

  • ✅ Release guard (no version change)
  • ✅ Dependencies installed
  • ✅ Type check passed
  • ✅ Linting passed
  • ✅ Format check passed
  • ✅ Tests + coverage passed
  • ✅ Build successful

Ready to merge! ✨


🔗 View workflow run
⏰ Generated at: 2026-11-19T21:28:13.993Z

The daemon serves @agentage/shell-dashboard 0.3.1 through apphost 0.2.1;
the e2e checks the page names that version. Lockfile after R3 is on npm.

Claude-Session: https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212
@vreshch vreshch changed the title test(core): read the shell from @agentage/shell-dashboard (J.4.5) feat(daemon): pin apphost 0.2.1 and kit 0.20.3: shell 0.3.1 (J.4.5) Nov 19, 2026
@vreshch
vreshch marked this pull request as ready for review November 19, 2026 21:29
@vreshch
vreshch merged commit 9f41b01 into master Nov 19, 2026
8 checks passed
@vreshch
vreshch deleted the feature/j45-shell-package-test branch November 19, 2026 21:31
vreshch added a commit that referenced this pull request Nov 20, 2026
## Why

Nine extension repos run `agentage extension check` from the cli in CI.
cli 0.68.0 bundles kit 0.20.3, which refuses `engines.agentage ^0.21`
("kit 0.20.x is outside engines.agentage ^0.21"). This PR makes the cli
bundle kit 0.21.0 and the app host program 0.3.0 (both on npm, checked
with `npm view`).

## Change

- `@agentage/extension` 0.20.3 to 0.21.0 and `@agentage/apphost` 0.2.1
to 0.3.0, exact pins (the pattern of #441 and #448). Lockfile by npm@10:
only these two entries change (apphost 0.3.0 adds `helmet`, which was in
the tree already; peer `@agentage/extension ~0.21.0`). shell-dashboard
stays 0.3.1.
- Fixtures `extension-probe` and `extension-pong`: `engines.agentage`
`<0.22.0` (was `<0.21.0`).
- `src/core/kit-bundle.test.ts`: the kit is 0.21.0. New: the stack rule
of the bundled kit passes a probe copy with `engines.agentage ^0.21` and
kit `^0.21.0`, and refuses `^0.22` (the failure path). On kit 0.20.3 the
first test fails.
- No source change: nothing in the cli broke on the jump. The cli
registers no `/caller` route, and no cli test waits on `/health` with a
200-only rule.

## Checks (local)

- `npm run verify` green: 121 files, 1301 tests. `npm run test:coverage`
green.
- `npm run test:e2e -- --grep @offline`: 77 passed (temp HOME, free
port, not 4243).
- `scripts/pack-smoke.sh` all PASS and `scripts/update-smoke.sh` all
PASS on the packed tarball (temp HOME, free port). Note: the local Node
is 24.6, so the seal was off locally; CI on Node 22 is the sealed run.
- Built cli, `node dist/cli.js extension check <probe copy>`: with
`^0.21` and kit `^0.21.0` no `stack` line (only `entries: dist is
missing`, the copy is not built); with `^0.22`: `stack: kit 0.21.0 is
outside engines.agentage ^0.22`.

## Release list

The version stays 0.68.0 in this PR. The pattern bumps it in a separate
`chore(release)` PR.

| Package | Version | Tag | Made by |
| --- | --- | --- | --- |
| `@agentage/cli` | 0.69.0 (minor: kit minor, `feat` commit) | `v0.69.0`
| `release.yml` on the merge of the `chore(release): 0.69.0` PR: verify,
the agentage/e2e cli tier (`@smoke`) on the packed candidate, npm
publish (OIDC, provenance), then it pushes the tag |

- Desktop: a cli release triggers nothing in `agentage/desktop` and
publishes no desktop release. cli workflows dispatch no other repo. The
desktop release runs only on a `v*` tag pushed in `agentage/desktop`;
desktop is not in the automation release roster. The desktop Dependabot
run (Friday 16:07 UTC) can open a PR that moves its `@agentage/cli` pin;
that PR does not tag desktop.
- Friday train: automation dispatches `prepare-release.yml` of the cli
on Fridays at 23:07 UTC with `bump=auto`. If this PR is merged and not
released before that, the train opens the 0.69.0 release PR itself.

## Command for the coordinator (after this PR merges)

```
gh workflow run prepare-release.yml -R agentage/cli -f bump=minor
```

It opens `chore(release): 0.69.0` with auto-merge on (it fired for
#449). If auto-merge does not fire with all checks green: `gh pr merge
<n> -R agentage/cli --squash --delete-branch --subject "chore(release):
0.69.0"`. If the publish is skipped: `gh workflow run release.yml -R
agentage/cli`.

## Consumers after the release

- The nine extension repos bump their `@agentage/cli` devDependency to
0.69.0; then `extension check` passes their `engines.agentage ^0.21`.
- `agentage/desktop` pins `@agentage/cli` 0.68.0 exact: move it to
0.69.0 in a desktop PR (no desktop release).

https://claude.ai/code/session_01XQkodgygL4W8UcLQDwC212
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant