diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7aed2b..014518f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,9 @@ jobs: - name: Build shared run: npm run build:shared + - name: Build bridge-plugin + run: npm run build -w packages/bridge-plugin + - name: Build mcp-server run: npm run build -w packages/mcp-server diff --git a/package-lock.json b/package-lock.json index 48b64ed..3bc2a03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7367,7 +7367,7 @@ }, "packages/bridge-plugin": { "name": "@pluginos/bridge-plugin", - "version": "0.4.0", + "version": "0.4.1", "devDependencies": { "@figma/plugin-typings": "^1.100.0", "html-inline-script-webpack-plugin": "^3.2.1", @@ -7381,7 +7381,7 @@ }, "packages/claude-plugin": { "name": "@pluginos/claude-plugin", - "version": "0.4.0", + "version": "0.4.1", "devDependencies": { "tsx": "^4.0.0", "typescript": "^5.0.0", @@ -7677,7 +7677,7 @@ }, "packages/mcp-server": { "name": "pluginos", - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.12.0", @@ -7713,7 +7713,7 @@ }, "packages/shared": { "name": "@pluginos/shared", - "version": "0.4.0", + "version": "0.4.1", "devDependencies": { "@vitest/coverage-v8": "^2.1.9", "typescript": "^5.5.0", diff --git a/packages/bridge-plugin/package.json b/packages/bridge-plugin/package.json index 7985576..1eba6bc 100644 --- a/packages/bridge-plugin/package.json +++ b/packages/bridge-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@pluginos/bridge-plugin", - "version": "0.4.0", + "version": "0.4.1", "private": true, "scripts": { "build": "webpack --mode production", diff --git a/packages/bridge-plugin/src/bootloader.html b/packages/bridge-plugin/src/bootloader.html index e79bf51..cf666f4 100644 --- a/packages/bridge-plugin/src/bootloader.html +++ b/packages/bridge-plugin/src/bootloader.html @@ -129,7 +129,7 @@ }, 1000); } - var MCP_CONFIG_JSON = JSON.stringify({ mcpServers: { pluginos: { command: "npx", args: ["-y", "pluginos@0.4.0"] } } }, null, 2); + var MCP_CONFIG_JSON = JSON.stringify({ mcpServers: { pluginos: { command: "npx", args: ["-y", "pluginos@0.4.1"] } } }, null, 2); var TIER_1_RULES = "When working with Figma, always use PluginOS tools exclusively:\n- Use `list_operations` (pluginos) first to discover available Figma operations.\n- Use `run_operation` (pluginos) to execute them.\n- Use `execute_figma` (pluginos) only for one-off custom logic not covered by built-in ops.\n- Do NOT use `mcp__Figma__*` tools — they bypass the plugin and return raw, token-heavy data. PluginOS returns pre-summarized, structured results at ~230 tokens/call.\n- If PluginOS returns \"No plugin connected\", open the PluginOS Bridge plugin in Figma before retrying.\n\nAudit/lint/check operations default to `scope: \"selection\"`. Pass `scope: \"page\"` explicitly (and `confirm: true` for pages over 500 nodes) to scan the whole page. Responses carry `_hint` and `_next_hints` fields — respect them when deciding what to do next."; var INSTALL_COMMAND = "/plugin marketplace add github:LSDimi/pluginos\n/plugin install pluginos"; diff --git a/packages/bridge-plugin/src/ui-entry.ts b/packages/bridge-plugin/src/ui-entry.ts index bd9fb5e..8611dbd 100644 --- a/packages/bridge-plugin/src/ui-entry.ts +++ b/packages/bridge-plugin/src/ui-entry.ts @@ -11,7 +11,7 @@ const MCP_CONFIG_JSON = `{ "mcpServers": { "pluginos": { "command": "npx", - "args": ["-y", "pluginos@0.4.0"] + "args": ["-y", "pluginos@0.4.1"] } } }`; diff --git a/packages/claude-plugin/.claude-plugin/plugin.json b/packages/claude-plugin/.claude-plugin/plugin.json index 8a35165..229eb93 100644 --- a/packages/claude-plugin/.claude-plugin/plugin.json +++ b/packages/claude-plugin/.claude-plugin/plugin.json @@ -1,10 +1,16 @@ { "name": "pluginos", "displayName": "PluginOS for Figma", - "version": "0.4.0", + "version": "0.4.1", "description": "Token-efficient Figma automation via MCP. Bridges Claude to Figma without burning tokens on raw node dumps.", - "author": { "name": "LSDimi", "url": "https://github.com/LSDimi/pluginos" }, - "repository": { "type": "git", "url": "https://github.com/LSDimi/pluginos" }, + "author": { + "name": "LSDimi", + "url": "https://github.com/LSDimi/pluginos" + }, + "repository": { + "type": "git", + "url": "https://github.com/LSDimi/pluginos" + }, "homepage": "https://github.com/LSDimi/pluginos#readme", "license": "MIT" } diff --git a/packages/claude-plugin/package.json b/packages/claude-plugin/package.json index 1342920..8f88032 100644 --- a/packages/claude-plugin/package.json +++ b/packages/claude-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@pluginos/claude-plugin", - "version": "0.4.0", + "version": "0.4.1", "private": true, "description": "Claude Code plugin for PluginOS — bundles MCP server registration and the pluginos-figma skill.", "scripts": { diff --git a/packages/mcp-server/dxt/manifest.json b/packages/mcp-server/dxt/manifest.json index b8c3a49..9344710 100644 --- a/packages/mcp-server/dxt/manifest.json +++ b/packages/mcp-server/dxt/manifest.json @@ -2,7 +2,7 @@ "dxt_version": "0.1", "name": "pluginos", "display_name": "PluginOS", - "version": "0.4.0", + "version": "0.4.1", "description": "Agent-native Figma operations — run 28 Figma operations from Claude Desktop at ~230 tokens per call.", "long_description": "PluginOS bridges Claude Desktop with Figma through a local MCP server and a companion Figma plugin. After installing this extension, open the PluginOS Bridge plugin inside Figma and Claude Desktop will be able to read selections, run audits, apply variables, and execute design operations on your behalf.", "author": { @@ -20,7 +20,7 @@ "entry_point": "npx", "mcp_config": { "command": "npx", - "args": ["-y", "pluginos@0.4.0"] + "args": ["-y", "pluginos@0.4.1"] } }, "compatibility": { diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json index c68d349..338e018 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "pluginos", - "version": "0.4.0", + "version": "0.4.1", "description": "Agent-native Figma operations platform — run 28 Figma operations from any LLM agent at ~230 tokens per call", "type": "module", "main": "dist/index.js", diff --git a/packages/shared/package.json b/packages/shared/package.json index 38cd5a9..8488993 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@pluginos/shared", - "version": "0.4.0", + "version": "0.4.1", "private": true, "type": "module", "main": "dist/index.js",