diff --git a/.github/workflows/publish-events-mcp.yml b/.github/workflows/publish-events-mcp.yml index 650d1f7..dbc0268 100644 --- a/.github/workflows/publish-events-mcp.yml +++ b/.github/workflows/publish-events-mcp.yml @@ -33,6 +33,6 @@ jobs: fi - run: bun run check - run: bun run test:install - - name: Stage the package on npm + - name: Publish the package on npm working-directory: packages/events-mcp - run: npm stage publish + run: npm publish diff --git a/README.md b/README.md index 4c1df50..b7e33cb 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Use `opencode`, `claude`, or `codex` as the client. See the [events MCP installa Use Bun 1.4.4. Run `bun install --frozen-lockfile`, `bun run check`, and `bun run test:install` from the root. Use `bun run test`, not `bun test`, to run all tests. -For dependency updates, edit the root `package.json`, run `bun run sync:metadata`, `bun install`, and `bun run format`, then run both checks above. Package manifests need explicit versions for standalone installs. All packages share one version. For a release, update the root version, run the same commands, and push a `v` tag. The publish workflow stages `@luckuveryx/events-mcp` on npm for approval. +For dependency updates, edit the root `package.json`, run `bun run sync:metadata`, `bun install`, and `bun run format`, then run both checks above. Package manifests need explicit versions for standalone installs. All packages share one version. For a release, update the root version, run the same commands, and push a `v` tag. The workflow publishes `@luckuveryx/events-mcp` to npm after the checks pass. ## License diff --git a/bun.lock b/bun.lock index adafe35..630f290 100644 --- a/bun.lock +++ b/bun.lock @@ -34,7 +34,7 @@ }, "packages/events-mcp": { "name": "@luckuveryx/events-mcp", - "version": "0.1.0", + "version": "0.1.1", "bin": { "events-mcp": "./src/main.ts", }, @@ -52,7 +52,7 @@ }, "packages/oc-fallback": { "name": "oc-fallback", - "version": "0.1.0", + "version": "0.1.1", "peerDependencies": { "@opencode/plugin": "2.4.1", "effect": "4.1.0", @@ -60,7 +60,7 @@ }, "packages/oc-idle": { "name": "oc-idle", - "version": "0.1.0", + "version": "0.1.1", "peerDependencies": { "@opencode/plugin": "2.4.1", "@opencode/schema": "2.4.1", @@ -69,7 +69,7 @@ }, "packages/oc-watches": { "name": "oc-watches", - "version": "0.1.0", + "version": "0.1.1", "peerDependencies": { "@opencode/plugin": "2.4.1", "@opencode/schema": "2.4.1", diff --git a/package.json b/package.json index ce425de..d0c944c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oc-plugins", - "version": "0.1.0", + "version": "0.1.1", "private": true, "license": "MIT", "workspaces": [ diff --git a/packages/events-mcp/README.md b/packages/events-mcp/README.md index 1ffa8d0..ed6e025 100644 --- a/packages/events-mcp/README.md +++ b/packages/events-mcp/README.md @@ -128,16 +128,8 @@ The [reference](docs/reference.md) covers settings, client caveats, recipes, and bun run format ``` -2. Check that the package's trusted publisher on npm names this repository, the `publish-events-mcp.yml` workflow, and the `npm` environment, and allows staged publishing. A new trusted publisher expires unless it stages a release within 2 days. +2. Check that the package's npm trusted publisher allows `npm publish` for this repository, the `publish-events-mcp.yml` workflow, and the `npm` environment. -3. Push a `v` tag on that commit. The workflow runs the checks and stages the package under `latest`. - -4. Inspect the staged release, then approve it with 2FA: - - ```sh - npm stage list @luckuveryx/events-mcp - npm stage download - npm stage approve - ``` +3. Push a `v` tag on that commit. The workflow checks the tag and runs the tests before publishing to `latest`. Clients on `@latest` get the release at their next restart. To roll back, publish a higher version. Moving `latest` back does not replace a hub that already runs a newer version. diff --git a/packages/events-mcp/package.json b/packages/events-mcp/package.json index ce04132..54b5d47 100644 --- a/packages/events-mcp/package.json +++ b/packages/events-mcp/package.json @@ -1,6 +1,6 @@ { "name": "@luckuveryx/events-mcp", - "version": "0.1.0", + "version": "0.1.1", "description": "Local Lark, GitLab, and Codemagic MCP events server, shared by every agent session on the machine", "license": "MIT", "repository": { diff --git a/packages/oc-fallback/package.json b/packages/oc-fallback/package.json index 81b8589..21f8033 100644 --- a/packages/oc-fallback/package.json +++ b/packages/oc-fallback/package.json @@ -1,6 +1,6 @@ { "name": "oc-fallback", - "version": "0.1.0", + "version": "0.1.1", "private": true, "files": [ "src" diff --git a/packages/oc-idle/package.json b/packages/oc-idle/package.json index caaa5b0..ea60c16 100644 --- a/packages/oc-idle/package.json +++ b/packages/oc-idle/package.json @@ -1,6 +1,6 @@ { "name": "oc-idle", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Idle session compaction for OpenCode, built with Effect v4", "files": [ diff --git a/packages/oc-watches/package.json b/packages/oc-watches/package.json index d0494fe..08a3e97 100644 --- a/packages/oc-watches/package.json +++ b/packages/oc-watches/package.json @@ -1,6 +1,6 @@ { "name": "oc-watches", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Show active OpenCode event watches in the terminal UI", "files": [