* [root]fix: add workflow permissions and restrict changeset scope
- Add contents:write and pull-requests:write permissions to release
workflow so changesets/action can create PRs and push commits
- Expand ignore list to exclude all non-releasable packages (services,
playground) to prevent accidental npm publishes
- Add build:release script that only builds changeset-managed packages
to avoid CI failures from unrelated build errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [root]feat: unify CLI & extension releases under changeset workflow
Replace 3 separate release flows (changesets for JS, tag-triggered for
CLI, tag-triggered for extension) with a single unified workflow driven
by Version PRs.
- Add scripts/sync-versions.js to sync CLI version to platform packages
and extension version to manifest.json after changeset version
- Rewrite release.yml with 5 conditional jobs: version-or-release,
publish-js, build-cli, publish-cli, release-extension
- Remove platform binary packages from pnpm workspace (pure containers)
- Enable privatePackages versioning for extension in changeset config
- Delete release-cli.yml and release-extension.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* [root]chore: ignore json-ui-site and knowledge-builder-any in changesets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Set up @changesets/cli with GitHub changelog integration for managing
versioning and npm publishing of SDK, MCP, tools-ai-sdk, and json-ui
packages. CLI and extension packages are excluded as they have their
own release workflows.
- Install @changesets/cli and @changesets/changelog-github
- Add .changeset/config.json with public access and ignore rules
- Add changeset, version-packages, and release scripts
- Add GitHub Actions workflow for automated release PR and publishing
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Changes
- Use `drizzle-orm/neon-serverless` with Pool mode instead of `neon-http`
- Define unified `Database` type as `NodePgDatabase<schema>`
- Add pnpm override to force consistent @neondatabase/serverless version
- Restore `closeDb(db)` function signature with WeakMap for pool tracking
This fixes the TypeScript error where `SQL<unknown>` types were incompatible
between node-postgres and neon-http drivers due to different drizzle-orm
internal type declarations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>