Skip to content

Install the shared CAIL packages from public npm - #86

Merged
szweibel merged 2 commits into
mainfrom
agent/cail-packages-from-npm
Sep 28, 2026
Merged

szweibel merged 2 commits into
mainfrom
agent/cail-packages-from-npm

Conversation

@szweibel

Copy link
Copy Markdown
Contributor

The shared @cuny-ai-lab packages are now public on npm, so this repository installs them with no token.

Changes:

  • bunfig.toml: @cuny-ai-lab scope pinned to https://registry.npmjs.org (no token), so a personal ~/.npmrc mapping cannot redirect installs.
  • .github/workflows/ci.yml: removed NODE_AUTH_TOKEN from the four install steps and packages: read from the workflow and deploy job.
  • scripts/workers-builds-build.mjs: no longer requires NODE_AUTH_TOKEN.
  • docs/workers-builds.md: dropped the token secret from the trigger setup; states the packages come from public npm with no token.
  • renovate.json: removed the npm.pkg.github.com host rule.
  • Bumped cail-client 6.0.0 → 6.2.2, cail-identity 5.2.5 → 5.2.6, cail-log 0.6.0 → 0.6.4; bun.lock regenerated against npm (0 npm.pkg.github.com URLs).
  • boundary-logging.test.ts: cail-log 0.6.4 types sinks as void | PromiseLike<void>, so six test sinks now use a block body instead of returning Array.push's length.

Verified locally with a clean HOME and empty NODE_AUTH_TOKEN: frozen install, bun audit --audit-level=high, bun run check (lint, app 745 tests + types, frontend 224 tests + svelte-check, frontend build), app prebuild, wrangler deploy --dry-run, and local browser acceptance all pass.

Operator follow-up: remove the NODE_AUTH_TOKEN secret from the site-studio-app Workers Builds production trigger in Cloudflare.

🤖 Generated with Claude Code

szweibel and others added 2 commits September 28, 2026 13:35
The @CUNY-AI-Lab packages are now published on registry.npmjs.org, so
installs no longer need a GitHub Packages classic token. Pin the scope to
npm in bunfig.toml so a personal ~/.npmrc mapping cannot redirect installs,
drop NODE_AUTH_TOKEN and packages: read from CI, drop the token requirement
from the Workers Builds entrypoint and its setup doc, and remove the
Renovate host rule for npm.pkg.github.com.

Bump cail-client 6.0.0 -> 6.2.2, cail-identity 5.2.5 -> 5.2.6 and cail-log
0.6.0 -> 0.6.4, and regenerate bun.lock against npm. cail-log 0.6.4 types
sinks as returning void | PromiseLike<void>, so the logging tests' sinks
no longer return Array.push's length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bun lets a personal ~/.npmrc override bunfig scopes, so a contributor who
still maps @CUNY-AI-Lab to GitHub Packages would install from there. A
project .npmrc takes precedence over the personal file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@szweibel
szweibel merged commit baca7fd into main Sep 28, 2026
5 checks passed
@szweibel
szweibel deleted the agent/cail-packages-from-npm branch September 28, 2026 17:55
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