fix: glimpseui is a devDependency — consumers never use it from node_modules

PR #840 added glimpseui to dependencies in @plannotator/server and
@plannotator/pi-extension, but nothing imports it: both runtimes detect
the CLI on PATH (Bun.which / a manual PATH walk) and spawn it. The dep
only ever mattered in repo development, where `bun run` prepends
node_modules/.bin to PATH. For consumers it was inert download weight —
OpenCode plugin installs and `pi install` pulled a third-party package
that could never be detected (Pi's loader does not expose
node_modules/.bin; verified). Moved to devDependencies in both: dev
flows keep working, published packages stop shipping it. The sanctioned
end-user path is the guided installer's global `npm install -g
glimpseui`.
This commit is contained in:
Michael Ramos
2026-06-05 08:58:54 -07:00
parent 857ad2153c
commit 60f31438d5
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -41,13 +41,13 @@
"dependencies": {
"@joplin/turndown-plugin-gfm": "^1.0.64",
"@pierre/diffs": "^1.1.12",
"glimpseui": "^0.8.0",
"turndown": "^7.2.4"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": ">=0.74.0"
},
"devDependencies": {
"glimpseui": "^0.8.0",
"@earendil-works/pi-coding-agent": ">=0.74.0",
"@earendil-works/pi-agent-core": ">=0.74.0",
"@earendil-works/pi-ai": ">=0.74.0",
+6 -4
View File
@@ -64,7 +64,7 @@
},
"apps/opencode-plugin": {
"name": "@plannotator/opencode",
"version": "0.19.26",
"version": "0.19.27",
"dependencies": {
"@opencode-ai/plugin": "^1.1.10",
},
@@ -86,11 +86,10 @@
},
"apps/pi-extension": {
"name": "@plannotator/pi-extension",
"version": "0.19.26",
"version": "0.19.27",
"dependencies": {
"@joplin/turndown-plugin-gfm": "^1.0.64",
"@pierre/diffs": "^1.1.12",
"glimpseui": "^0.8.0",
"turndown": "^7.2.4",
},
"devDependencies": {
@@ -98,6 +97,7 @@
"@earendil-works/pi-ai": ">=0.74.0",
"@earendil-works/pi-coding-agent": ">=0.74.0",
"@earendil-works/pi-tui": ">=0.74.0",
"glimpseui": "^0.8.0",
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": ">=0.74.0",
@@ -202,11 +202,13 @@
},
"packages/server": {
"name": "@plannotator/server",
"version": "0.19.26",
"version": "0.19.27",
"dependencies": {
"@pierre/diffs": "^1.1.12",
"@plannotator/ai": "workspace:*",
"@plannotator/shared": "workspace:*",
},
"devDependencies": {
"glimpseui": "^0.8.0",
},
"peerDependencies": {
+4 -2
View File
@@ -28,10 +28,12 @@
"dependencies": {
"@pierre/diffs": "^1.1.12",
"@plannotator/ai": "workspace:*",
"@plannotator/shared": "workspace:*",
"glimpseui": "^0.8.0"
"@plannotator/shared": "workspace:*"
},
"peerDependencies": {
"bun": ">=1.0.0"
},
"devDependencies": {
"glimpseui": "^0.8.0"
}
}