AI-native design editor. Open-source Figma alternative.
Release v0.13.2
Danila Poyarkov2dc51375ad16
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex d5190121a..4f12052d3 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -239,6 +239,20 @@ jobs:tar -tf .npm-packages/open-pencil-cli-*.tgz | sed -n '1,40p' || truetar -tf .npm-packages/open-pencil-mcp-*.tgz | sed -n '1,40p' || truetar -tf .npm-packages/open-pencil-vue-*.tgz | sed -n '1,60p' || true+ node --input-type=module <<'NODE'+ import fs from 'node:fs'+ import { execFileSync } from 'node:child_process'+ for (const tarball of fs.readdirSync('.npm-packages').filter((name) => name.endsWith('.tgz'))) {+ const entries = new Set(execFileSync('tar', ['-tf', `.npm-packages/${tarball}`], { encoding: 'utf8' }).trim().split('\n'))+ const packageJson = JSON.parse(execFileSync('tar', ['-xOf', `.npm-packages/${tarball}`, 'package/package.json'], { encoding: 'utf8' }))+ const bin = packageJson.bin+ const targets = typeof bin === 'string' ? { [packageJson.name]: bin } : bin || {}+ for (const [name, target] of Object.entries(targets)) {+ const entry = `package/${String(target).replace(/^\.\//, '')}`+ if (!entries.has(entry)) throw new Error(`${tarball}: bin ${name} target missing from tarball: ${entry}`)+ }+ }+ NODE- name: Publish packages to npmrun: |diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 1f0c37131..0cfe4ff10 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,8 +2,16 @@## Unreleased+## 0.13.2 — 2026-05-30++### Changed+- Update the Homebrew install command to use the published `openpencil` cask.+### Fixes++- Fix the published MCP package so global installs include the `openpencil-mcp` and `openpencil-mcp-http` launchers required by desktop app integrations.+## 0.13.1 — 2026-05-29### Fixesdiff --git a/bun.lock b/bun.lockindex ce87b9d29..522602c26 100644--- a/bun.lock+++ b/bun.lock@@ -98,7 +98,7 @@},"packages/cli": {"name": "@open-pencil/cli",- "version": "0.12.2",+ "version": "0.13.2","bin": {"openpencil": "./bin/openpencil.js",},@@ -114,7 +114,7 @@},"packages/core": {"name": "@open-pencil/core",- "version": "0.12.2",+ "version": "0.13.2","dependencies": {"@chenglou/pretext": "^0.0.7","@iconify/utils": "^3.1.0",@@ -157,10 +157,10 @@},"packages/mcp": {"name": "@open-pencil/mcp",- "version": "0.12.2",+ "version": "0.13.2","bin": {- "openpencil-mcp": "./bin/openpencil-mcp.js",- "openpencil-mcp-http": "./bin/openpencil-mcp-http.js",+ "openpencil-mcp": "./dist/stdio.mjs",+ "openpencil-mcp-http": "./dist/index.mjs",},"dependencies": {"@hono/node-server": "^1.19.9",@@ -178,7 +178,7 @@},"packages/vue": {"name": "@open-pencil/vue",- "version": "0.12.2",+ "version": "0.13.2","dependencies": {"@atlaskit/pragmatic-drag-and-drop": "^1.7.9","@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",diff --git a/desktop/Cargo.toml b/desktop/Cargo.tomlindex 0cdc7db8a..90acdcaa4 100644--- a/desktop/Cargo.toml+++ b/desktop/Cargo.toml@@ -1,6 +1,6 @@[package]name = "open_pencil"-version = "0.13.1"+version = "0.13.2"description = "OpenPencil desktop app"authors = ["Danila Poyarkov"]edition = "2021"diff --git a/desktop/tauri.conf.json b/desktop/tauri.conf.jsonindex 50cb08bfe..f8623eb65 100644--- a/desktop/tauri.conf.json+++ b/desktop/tauri.conf.json@@ -1,7 +1,7 @@{"$schema": "https://schema.tauri.app/config/2","productName": "OpenPencil",- "version": "0.13.1",+ "version": "0.13.2","identifier": "net.dannote.open-pencil","build": {"beforeDevCommand": "bun run generate:tauri-menu && bun run dev",diff --git a/package.json b/package.jsonindex 918142b08..4781c221d 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "open-pencil-app",- "version": "0.13.1",+ "version": "0.13.2","private": true,"license": "MIT","workspaces": [diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex 8fa854b6f..18d8c8e84 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@open-pencil/cli",- "version": "0.13.1",+ "version": "0.13.2","license": "MIT","type": "module","imports": {diff --git a/packages/core/package.json b/packages/core/package.jsonindex 90779bd41..5c36d11c4 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -1,6 +1,6 @@{"name": "@open-pencil/core",- "version": "0.13.1",+ "version": "0.13.2","license": "MIT","type": "module","imports": {diff --git a/packages/mcp/package.json b/packages/mcp/package.jsonindex 70f68990c..dd1bc0248 100644--- a/packages/mcp/package.json+++ b/packages/mcp/package.json@@ -1,6 +1,6 @@{"name": "@open-pencil/mcp",- "version": "0.13.1",+ "version": "0.13.2","license": "MIT","type": "module","imports": {@@ -24,11 +24,10 @@}},"bin": {- "openpencil-mcp": "./bin/openpencil-mcp.js",- "openpencil-mcp-http": "./bin/openpencil-mcp-http.js"+ "openpencil-mcp": "./dist/stdio.mjs",+ "openpencil-mcp-http": "./dist/index.mjs"},"files": [- "bin","dist"],"scripts": {diff --git a/packages/vue/package.json b/packages/vue/package.jsonindex f7cbd1230..b84b52f60 100644--- a/packages/vue/package.json+++ b/packages/vue/package.json@@ -1,6 +1,6 @@{"name": "@open-pencil/vue",- "version": "0.13.1",+ "version": "0.13.2","license": "MIT","type": "module","imports": {diff --git a/scripts/check-package-metadata.ts b/scripts/check-package-metadata.tsindex 068f52751..b55928a6e 100644--- a/scripts/check-package-metadata.ts+++ b/scripts/check-package-metadata.ts@@ -28,6 +28,22 @@ function checkRuntimePath(packageName: string, field: string, value: string): vo}}+function checkIncludedRuntimePath(+ packageName: string,+ field: string,+ value: string,+ files: string[]+): void {+ checkRuntimePath(packageName, field, value)+ const normalized = value.replace(/^\.\//, '')+ const topLevelDir = normalized.split('/')[0]+ if (topLevelDir && !files.includes(topLevelDir)) {+ errors.push(+ `${packageName}: ${field} points to ${value}, but files does not include ${topLevelDir}`+ )+ }+}+function walkExports(packageName: string, value: unknown, path: string[] = []): void {if (typeof value === 'string') {const key = path.at(-1)@@ -51,10 +67,10 @@ for (const packageDir of publicPackages) {if (pkg.main) checkRuntimePath(pkg.name, 'main', pkg.main)if (typeof pkg.bin === 'string') {- checkRuntimePath(pkg.name, 'bin', pkg.bin)+ checkIncludedRuntimePath(pkg.name, 'bin', pkg.bin, pkg.files ?? [])} else if (pkg.bin) {for (const [name, target] of Object.entries(pkg.bin)) {- checkRuntimePath(pkg.name, `bin.${name}`, target)+ checkIncludedRuntimePath(pkg.name, `bin.${name}`, target, pkg.files ?? [])}}