Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/bridge-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pluginos/bridge-plugin",
"version": "0.4.1",
"version": "0.4.2",
"private": true,
"scripts": {
"build": "webpack --mode production",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-plugin/src/bootloader.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
}, 1000);
}

var MCP_CONFIG_JSON = JSON.stringify({ mcpServers: { pluginos: { command: "npx", args: ["-y", "pluginos@0.4.1"] } } }, null, 2);
var MCP_CONFIG_JSON = JSON.stringify({ mcpServers: { pluginos: { command: "npx", args: ["-y", "pluginos@0.4.2"] } } }, null, 2);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Hardcoding the version number here makes the release process more fragile. Since this file is processed by html-webpack-plugin, you could use its templating feature to inject the version from package.json at build time. This would be more maintainable than relying on a search-and-replace script across multiple files.

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";
var DXT_URL = "https://github.com/LSDimi/pluginos/releases/latest/download/pluginos.dxt";
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-plugin/src/ui-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const MCP_CONFIG_JSON = `{
"mcpServers": {
"pluginos": {
"command": "npx",
"args": ["-y", "pluginos@0.4.1"]
"args": ["-y", "pluginos@0.4.2"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For better maintainability, consider sourcing the version number from a single source of truth, like the package.json file, rather than hardcoding it here. While there seems to be a script to keep versions in sync, injecting the version at build time (e.g., using Webpack's DefinePlugin) would make this process more robust and less prone to errors. This would centralize version management, so you'd only need to update package.json files during a release.

}
}
}`;
Expand Down
2 changes: 1 addition & 1 deletion packages/claude-plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pluginos",
"displayName": "PluginOS for Figma",
"version": "0.4.1",
"version": "0.4.2",
"description": "Token-efficient Figma automation via MCP. Bridges Claude to Figma without burning tokens on raw node dumps.",
"author": {
"name": "LSDimi",
Expand Down
2 changes: 1 addition & 1 deletion packages/claude-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pluginos/claude-plugin",
"version": "0.4.1",
"version": "0.4.2",
"private": true,
"description": "Claude Code plugin for PluginOS — bundles MCP server registration and the pluginos-figma skill.",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mcp-server/dxt/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dxt_version": "0.1",
"name": "pluginos",
"display_name": "PluginOS",
"version": "0.4.1",
"version": "0.4.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability, consider having the build:dxt script generate this manifest with the version number sourced from package.json. This would apply to both this version field and the version in server.mcp_config.args on line 23, ensuring they are always in sync from a single source of truth.

"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": {
Expand All @@ -20,7 +20,7 @@
"entry_point": "npx",
"mcp_config": {
"command": "npx",
"args": ["-y", "pluginos@0.4.1"]
"args": ["-y", "pluginos@0.4.2"]
}
},
"compatibility": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pluginos",
"version": "0.4.1",
"version": "0.4.2",
"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",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pluginos/shared",
"version": "0.4.1",
"version": "0.4.2",
"private": true,
"type": "module",
"main": "dist/index.js",
Expand Down
Loading