From ca008f10ed926ba5dfcdd97f863bb1340a74fcf9 Mon Sep 17 00:00:00 2001 From: Yiaany Date: Tue, 1 Sep 2026 19:00:36 +0500 Subject: [PATCH] chore(release): prepare GhostAPI 0.2.1 --- .github/workflows/ghostapi-pr-safety.yml | 2 +- CHANGELOG.md | 2 +- README.md | 2 +- docs/ci.md | 2 +- docs/github-actions.md | 2 +- docs/mcp.md | 2 +- package-lock.json | 6 +++--- package.json | 2 +- test/githubWorkflow.test.ts | 2 +- test/setupGenerator.test.ts | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ghostapi-pr-safety.yml b/.github/workflows/ghostapi-pr-safety.yml index ea472d8..1ca2b74 100644 --- a/.github/workflows/ghostapi-pr-safety.yml +++ b/.github/workflows/ghostapi-pr-safety.yml @@ -11,7 +11,7 @@ on: permissions: {} env: - GHOSTAPI_VERSION: "0.2.0" + GHOSTAPI_VERSION: "0.2.1" jobs: safety: diff --git a/CHANGELOG.md b/CHANGELOG.md index d177e9b..6386305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ The format follows the spirit of [Keep a Changelog](https://keepachangelog.com/e ## Unreleased -## 0.2.0 - 2026-09-01 +## 0.2.1 - 2026-09-01 ### Security diff --git a/README.md b/README.md index 4e8815c..3ae64c0 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ Generic MCP configuration: "mcpServers": { "ghostapi": { "command": "npx", - "args": ["-y", "@yiaany/ghostapi@0.2.0", "mcp"] + "args": ["-y", "@yiaany/ghostapi@0.2.1", "mcp"] } } } diff --git a/docs/ci.md b/docs/ci.md index e0935a3..d925346 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -12,7 +12,7 @@ Set `GHOSTAPI_DATA_DIR` to an ephemeral CI directory and use one immutable Ghost set -u export GHOSTAPI_DATA_DIR="$CI_WORKSPACE/.ghostapi-ci" -export GHOSTAPI_VERSION="0.2.0" +export GHOSTAPI_VERSION="0.2.1" npm install --global "@yiaany/ghostapi@$GHOSTAPI_VERSION" run_status=0 diff --git a/docs/github-actions.md b/docs/github-actions.md index d4c593c..d34174f 100644 --- a/docs/github-actions.md +++ b/docs/github-actions.md @@ -6,7 +6,7 @@ The repository workflow at [`.github/workflows/ghostapi-pr-safety.yml`](../.gith ```yaml env: - GHOSTAPI_VERSION: "0.2.0" + GHOSTAPI_VERSION: "0.2.1" - name: Install pinned GhostAPI run: npm install --global "@yiaany/ghostapi@$GHOSTAPI_VERSION" diff --git a/docs/mcp.md b/docs/mcp.md index 4038475..34aca4a 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -15,7 +15,7 @@ npx @yiaany/ghostapi mcp "mcpServers": { "ghostapi": { "command": "npx", - "args": ["-y", "@yiaany/ghostapi@0.2.0", "mcp"] + "args": ["-y", "@yiaany/ghostapi@0.2.1", "mcp"] } } } diff --git a/package-lock.json b/package-lock.json index dc884c1..2f3b447 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@yiaany/ghostapi", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@yiaany/ghostapi", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.30.0", @@ -3194,7 +3194,7 @@ "license": "ISC" }, "node_modules/forwarded": { - "version": "0.2.0", + "version": "0.2.1", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "license": "MIT", diff --git a/package.json b/package.json index c2fd61e..d6cf8a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yiaany/ghostapi", - "version": "0.2.0", + "version": "0.2.1", "description": "Local API simulation and test evidence for AI-assisted development.", "type": "module", "repository": { diff --git a/test/githubWorkflow.test.ts b/test/githubWorkflow.test.ts index 1529d42..6f4e46c 100644 --- a/test/githubWorkflow.test.ts +++ b/test/githubWorkflow.test.ts @@ -29,7 +29,7 @@ describe("GhostAPI PR safety workflow", () => { it("uses immutable actions, enforced execution, sanitized evidence, and safe comment boundaries", async () => { const workflow = await readWorkflow(workflowPath); - expect(workflow).toContain('GHOSTAPI_VERSION: "0.2.0"'); + expect(workflow).toContain('GHOSTAPI_VERSION: "0.2.1"'); expect(workflow).toContain( "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683", ); diff --git a/test/setupGenerator.test.ts b/test/setupGenerator.test.ts index e928e13..1f62571 100644 --- a/test/setupGenerator.test.ts +++ b/test/setupGenerator.test.ts @@ -56,7 +56,7 @@ describe("repo setup generator", () => { ).toContain('"command": "npx"'); expect( setup.files.find((file) => file.path === ".cursor/mcp.json")?.content, - ).toContain('"@yiaany/ghostapi@0.2.0"'); + ).toContain('"@yiaany/ghostapi@0.2.1"'); expect( setup.files.find((file) => file.path === "AGENTS.md")?.content, ).toContain("do not run it manually in a terminal");