diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99697c0..d823e58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,10 @@ name: Release # `ai-sdk-v0.1.0` @submilli/ai-sdk, `mastra-v0.1.0` @submilli/mastra, with npm # provenance. Release @submilli/sdk before an integration that needs it. # -# Publishing authenticates through npm trusted publishing: register this -# workflow and the `npm` environment as each package's trusted publisher on -# npmjs.com. npm only offers that for a package that already exists, so the -# first release of a package uses an `NPM_TOKEN` secret in the `npm` -# environment instead; npm tries trusted publishing first and falls back to the -# token. Delete the secret once every package has a trusted publisher. +# Publishing authenticates through npm trusted publishing (OIDC): each package's +# settings on npmjs.com name this workflow and the `npm` environment as its +# trusted publisher, so no npm token is stored here. The environment only lets +# release tags (`*-v*`) deploy. on: push: tags: ["sdk-v*", "ai-sdk-v*", "mastra-v*"] @@ -43,5 +41,3 @@ jobs: - run: npm run build - run: npm test --workspace packages/${{ steps.tag.outputs.dir }} - run: npm publish --workspace packages/${{ steps.tag.outputs.dir }} --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 29f1dca..f5a6d1e 100644 --- a/README.md +++ b/README.md @@ -122,9 +122,9 @@ package, and publishes it to npm with provenance from the `npm` environment. Rel The workflow authenticates through npm trusted publishing: each package's settings on npmjs.com name this repository, `release.yml`, and the `npm` environment as its trusted -publisher. npm offers that only for a package that already exists, so a package's first -release uses an `NPM_TOKEN` secret in the `npm` environment instead. Remove the secret once -every package has a trusted publisher. +publisher, so no npm token is stored in GitHub. The `npm` environment accepts only release +tags (`*-v*`). A new package needs one first release by a maintainer before a trusted +publisher can be added to it. ## License diff --git a/package-lock.json b/package-lock.json index 5464917..95adea5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2685,7 +2685,7 @@ }, "packages/ai-sdk": { "name": "@submilli/ai-sdk", - "version": "0.1.0", + "version": "0.1.1", "license": "Apache-2.0", "dependencies": { "@submilli/sdk": "^0.1.0" @@ -2704,7 +2704,7 @@ }, "packages/mastra": { "name": "@submilli/mastra", - "version": "0.1.0", + "version": "0.1.1", "license": "Apache-2.0", "dependencies": { "@submilli/sdk": "^0.1.0" @@ -2724,7 +2724,7 @@ }, "packages/sdk": { "name": "@submilli/sdk", - "version": "0.1.0", + "version": "0.1.1", "license": "Apache-2.0", "engines": { "node": ">=22" diff --git a/packages/ai-sdk/CHANGELOG.md b/packages/ai-sdk/CHANGELOG.md index feb5360..d94e09b 100644 --- a/packages/ai-sdk/CHANGELOG.md +++ b/packages/ai-sdk/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses [Semantic Versioning](https://semver.org/). +## [0.1.1] - 2026-11-01 + +Published from GitHub Actions through npm trusted publishing. No code changes. + ## [0.1.0] - 2026-11-01 First release, for submilli-server 0.4.1, AI SDK 7, and `@submilli/sdk` 0.1. diff --git a/packages/ai-sdk/package.json b/packages/ai-sdk/package.json index 8fc817b..e876f98 100644 --- a/packages/ai-sdk/package.json +++ b/packages/ai-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@submilli/ai-sdk", - "version": "0.1.0", + "version": "0.1.1", "description": "Submilli code mode for the Vercel AI SDK: the model writes TypeScript programs, and submilli-server runs them under a Blueprint's policy.", "keywords": [ "submilli", diff --git a/packages/mastra/CHANGELOG.md b/packages/mastra/CHANGELOG.md index 8b93da4..de92bbc 100644 --- a/packages/mastra/CHANGELOG.md +++ b/packages/mastra/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses [Semantic Versioning](https://semver.org/). +## [0.1.1] - 2026-11-01 + +Published from GitHub Actions through npm trusted publishing. No code changes. + ## [0.1.0] - 2026-11-01 First release, for submilli-server 0.4.1, `@mastra/core` 1.79, and `@submilli/sdk` 0.1. diff --git a/packages/mastra/package.json b/packages/mastra/package.json index 2569a34..d3eab36 100644 --- a/packages/mastra/package.json +++ b/packages/mastra/package.json @@ -1,6 +1,6 @@ { "name": "@submilli/mastra", - "version": "0.1.0", + "version": "0.1.1", "description": "Submilli code mode for Mastra agents: the model writes TypeScript programs, and submilli-server runs them under a Blueprint's policy.", "keywords": [ "submilli", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 97461ea..c41e16d 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project are recorded here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project uses [Semantic Versioning](https://semver.org/). +## [0.1.1] - 2026-11-01 + +Published from GitHub Actions through npm trusted publishing. No code changes. + ## [0.1.0] - 2026-11-01 First release, for submilli-server 0.4.1 and later. diff --git a/packages/sdk/package.json b/packages/sdk/package.json index fdc4b5f..82c07c3 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@submilli/sdk", - "version": "0.1.0", + "version": "0.1.1", "description": "The TypeScript SDK for submilli-server's HTTP API: sessions, runs, application tools, and typed errors.", "keywords": [ "submilli", diff --git a/packages/sdk/src/version.ts b/packages/sdk/src/version.ts index 52c905c..6fa18df 100644 --- a/packages/sdk/src/version.ts +++ b/packages/sdk/src/version.ts @@ -1 +1 @@ -export const VERSION = "0.1.0"; +export const VERSION = "0.1.1";