@compilr-dev/cli 0.8.9 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/dist/repl-helpers.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and improve maintainability. These functions support the REPL but don't
|
|
6
6
|
* depend on REPL instance state.
|
|
7
7
|
*/
|
|
8
|
-
import { detectCollisions, formatCollisionWarnings, resolveSkillPrompt, getAllAvailableSkills } from '@compilr-dev/sdk';
|
|
8
|
+
import { detectCollisions, formatCollisionWarnings, resolveSkillPrompt, getAllAvailableSkills, platformSkills } from '@compilr-dev/sdk';
|
|
9
9
|
import { getSkillsDir } from './utils/skill-paths.js';
|
|
10
10
|
import { getProjectPath } from './utils/project-status.js';
|
|
11
11
|
import { codingSkills } from '@compilr-dev/agents-coding';
|
|
@@ -218,11 +218,18 @@ function getCliSkillSources() {
|
|
|
218
218
|
* SDK platform skills that are intentionally NOT exposed in the CLI because they
|
|
219
219
|
* require a visual render surface the terminal can't provide. `/canvas` authors a
|
|
220
220
|
* sandboxed HTML/SVG canvas — there is nowhere to display it in a terminal, so it
|
|
221
|
-
* stays a Desktop-only feature. This
|
|
222
|
-
*
|
|
223
|
-
*
|
|
221
|
+
* stays a Desktop-only feature. This blocks the *SDK* version of these skills; a
|
|
222
|
+
* user's own custom skill of the same name (source 'project'/'user') is untouched.
|
|
223
|
+
*
|
|
224
|
+
* ⚠️ DERIVED FROM THE TAG, NOT LISTED BY NAME — and that is the fix, not a tidy-up.
|
|
225
|
+
* This was a hardcoded set of four, written when there were four. `canvas-styles` was
|
|
226
|
+
* added to the SDK later, nobody edited this line, and the style catalogue has been
|
|
227
|
+
* shipping in every CLI context since: a prompt about aesthetics for a surface the
|
|
228
|
+
* terminal cannot draw. A list that has to be maintained in another repo will fall out
|
|
229
|
+
* of date again, so the rule now reads the skill's own tag. The SDK has a matching guard
|
|
230
|
+
* asserting every canvas skill carries it.
|
|
224
231
|
*/
|
|
225
|
-
const DESKTOP_ONLY_SKILLS = new Set(
|
|
232
|
+
const DESKTOP_ONLY_SKILLS = new Set(platformSkills.filter((skill) => skill.tags?.includes('canvas')).map((skill) => skill.name));
|
|
226
233
|
/**
|
|
227
234
|
* Get skill prompt by name. Delegates to SDK resolveSkillPrompt, minus any
|
|
228
235
|
* Desktop-only SDK skills (see DESKTOP_ONLY_SKILLS).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compilr-dev/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
4
4
|
"description": "AI-powered coding assistant CLI using @compilr-dev/agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@compilr-dev/editor-core": "^0.0.3",
|
|
61
61
|
"@compilr-dev/factory": "^0.1.35",
|
|
62
62
|
"@compilr-dev/logger": "^0.1.0",
|
|
63
|
-
"@compilr-dev/sdk": "^0.18.
|
|
63
|
+
"@compilr-dev/sdk": "^0.18.11",
|
|
64
64
|
"@compilr-dev/ui-core": "^0.0.1",
|
|
65
65
|
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
66
66
|
"ansi-escapes": "^7.3.0",
|
|
@@ -77,7 +77,11 @@
|
|
|
77
77
|
},
|
|
78
78
|
"overrides": {
|
|
79
79
|
"minimatch": ">=10.2.1",
|
|
80
|
-
"hono": ">=4.
|
|
80
|
+
"hono": ">=4.13.5",
|
|
81
|
+
"@hono/node-server": ">=2.0.5",
|
|
82
|
+
"fast-uri": ">=3.1.6 <4",
|
|
83
|
+
"ip-address": ">=10.3.1",
|
|
84
|
+
"qs": ">=6.16.0"
|
|
81
85
|
},
|
|
82
86
|
"devDependencies": {
|
|
83
87
|
"@eslint/js": "^9.39.1",
|