@polymorphism-tech/morph-spec 4.8.10 → 4.8.11
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.
- package/README.md +2 -2
- package/claude-plugin.json +1 -1
- package/docs/CHEATSHEET.md +1 -1
- package/docs/QUICKSTART.md +1 -1
- package/framework/hooks/dev/guard-version-numbers.js +1 -1
- package/framework/skills/level-0-meta/mcp-registry.json +14 -14
- package/framework/skills/level-0-meta/morph-init/SKILL.md +10 -0
- package/framework/skills/level-1-workflows/phase-clarify/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-codebase-analysis/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-design/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-implement/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-setup/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-tasks/SKILL.md +1 -1
- package/framework/skills/level-1-workflows/phase-uiux/SKILL.md +1 -1
- package/package.json +1 -1
- package/src/lib/installers/mcp-installer.js +4 -3
- package/src/utils/file-copier.js +6 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Spec-driven development framework for multi-stack projects. Turns feature requests into implementation-ready code through structured, AI-orchestrated phases.
|
|
4
4
|
|
|
5
5
|
**Package:** `@polymorphism-tech/morph-spec`
|
|
6
|
-
**Version:** 4.8.
|
|
6
|
+
**Version:** 4.8.11
|
|
7
7
|
**Requires:** Node.js 18+, Claude Code
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -376,4 +376,4 @@ Code generated by morph-spec (contracts, templates, implementation output) belon
|
|
|
376
376
|
|
|
377
377
|
---
|
|
378
378
|
|
|
379
|
-
*morph-spec v4.8.
|
|
379
|
+
*morph-spec v4.8.11 by [Polymorphism Tech](https://polymorphism.tech)*
|
package/claude-plugin.json
CHANGED
package/docs/CHEATSHEET.md
CHANGED
package/docs/QUICKSTART.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Scope: Framework codebase only (dev hook)
|
|
8
8
|
*
|
|
9
9
|
* Blocks Write/Edit to files that contain hardcoded version patterns
|
|
10
|
-
* like "MORPH-SPEC v4.8.
|
|
10
|
+
* like "MORPH-SPEC v4.8.11". Version should only be in package.json.
|
|
11
11
|
*
|
|
12
12
|
* Checked extensions: .md, .cs, .css, .js (covers templates + source)
|
|
13
13
|
* Exceptions: CHANGELOG.md, node_modules/, test/, package.json, package-lock.json
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"install": {
|
|
12
12
|
"autoInstall": true,
|
|
13
13
|
"config": {
|
|
14
|
-
"command": "
|
|
15
|
-
"args": ["-y", "@upstash/context7-mcp@latest"]
|
|
14
|
+
"command": "cmd",
|
|
15
|
+
"args": ["/c", "npx", "-y", "@upstash/context7-mcp@latest"]
|
|
16
16
|
},
|
|
17
17
|
"credentials": [],
|
|
18
18
|
"prerequisites": [],
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"install": {
|
|
31
31
|
"autoInstall": true,
|
|
32
32
|
"config": {
|
|
33
|
-
"command": "
|
|
34
|
-
"args": ["-y", "@playwright/mcp@latest"]
|
|
33
|
+
"command": "cmd",
|
|
34
|
+
"args": ["/c", "npx", "-y", "@playwright/mcp@latest"]
|
|
35
35
|
},
|
|
36
36
|
"credentials": [],
|
|
37
37
|
"prerequisites": [],
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"install": {
|
|
50
50
|
"autoInstall": false,
|
|
51
51
|
"config": {
|
|
52
|
-
"command": "
|
|
53
|
-
"args": ["-y", "@supabase/mcp-server-supabase"],
|
|
52
|
+
"command": "cmd",
|
|
53
|
+
"args": ["/c", "npx", "-y", "@supabase/mcp-server-supabase"],
|
|
54
54
|
"env": {
|
|
55
55
|
"SUPABASE_URL": "",
|
|
56
56
|
"SUPABASE_SERVICE_ROLE_KEY": ""
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"install": {
|
|
86
86
|
"autoInstall": false,
|
|
87
87
|
"config": {
|
|
88
|
-
"command": "
|
|
89
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
88
|
+
"command": "cmd",
|
|
89
|
+
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-github"],
|
|
90
90
|
"env": {
|
|
91
91
|
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
|
|
92
92
|
}
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"install": {
|
|
115
115
|
"autoInstall": false,
|
|
116
116
|
"config": {
|
|
117
|
-
"command": "
|
|
118
|
-
"args": ["-y", "@anthropic/mcp-server-figma"],
|
|
117
|
+
"command": "cmd",
|
|
118
|
+
"args": ["/c", "npx", "-y", "@anthropic/mcp-server-figma"],
|
|
119
119
|
"env": {
|
|
120
120
|
"FIGMA_ACCESS_TOKEN": ""
|
|
121
121
|
}
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
"install": {
|
|
144
144
|
"autoInstall": false,
|
|
145
145
|
"config": {
|
|
146
|
-
"command": "
|
|
147
|
-
"args": ["-y", "@modelcontextprotocol/server-docker"]
|
|
146
|
+
"command": "cmd",
|
|
147
|
+
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-docker"]
|
|
148
148
|
},
|
|
149
149
|
"credentials": [],
|
|
150
150
|
"prerequisites": [
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
"install": {
|
|
169
169
|
"autoInstall": false,
|
|
170
170
|
"config": {
|
|
171
|
-
"command": "
|
|
172
|
-
"args": ["-y", "@azure/mcp-server"],
|
|
171
|
+
"command": "cmd",
|
|
172
|
+
"args": ["/c", "npx", "-y", "@azure/mcp-server"],
|
|
173
173
|
"env": {
|
|
174
174
|
"AZURE_SUBSCRIPTION_ID": ""
|
|
175
175
|
}
|
|
@@ -250,6 +250,16 @@ For each detected integration with an available MCP:
|
|
|
250
250
|
|
|
251
251
|
Only offer Figma, Docker, Azure if explicitly detected in `.env.example`.
|
|
252
252
|
|
|
253
|
+
> **Format rule:** Always write MCP entries using `cmd /c` format:
|
|
254
|
+
> ```json
|
|
255
|
+
> "mcp-name": {
|
|
256
|
+
> "command": "cmd",
|
|
257
|
+
> "args": ["/c", "npx", "-y", "@package/mcp-server"],
|
|
258
|
+
> "env": { "KEY": "VALUE" }
|
|
259
|
+
> }
|
|
260
|
+
> ```
|
|
261
|
+
> Never use `"command": "npx"` directly — it fails on Windows.
|
|
262
|
+
|
|
253
263
|
---
|
|
254
264
|
|
|
255
265
|
## Step 8 — Final Output
|
|
@@ -4,7 +4,7 @@ description: MORPH-SPEC Phase 3 (Clarify). Reviews spec.md for ambiguities, gene
|
|
|
4
4
|
argument-hint: "[feature-name]"
|
|
5
5
|
user-invocable: false
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
|
-
cliVersion: "4.8.
|
|
7
|
+
cliVersion: "4.8.11"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MORPH Clarify - FASE 3
|
|
@@ -3,7 +3,7 @@ name: phase-codebase-analysis
|
|
|
3
3
|
description: MORPH-SPEC Design sub-phase that analyzes existing codebase and database schema, producing schema-analysis.md with real column names, types, relationships, and field mismatches. Use at the start of Design phase before generating contracts.cs to prevent incorrect field names or types.
|
|
4
4
|
user-invocable: false
|
|
5
5
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
6
|
-
cliVersion: "4.8.
|
|
6
|
+
cliVersion: "4.8.11"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# MORPH Codebase Analysis - Sub-fase de DESIGN
|
|
@@ -4,7 +4,7 @@ description: MORPH-SPEC Phase 2 (Design). Analyzes codebase/schema, then produce
|
|
|
4
4
|
argument-hint: "[feature-name]"
|
|
5
5
|
user-invocable: false
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
|
-
cliVersion: "4.8.
|
|
7
|
+
cliVersion: "4.8.11"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MORPH Design - FASE 2
|
|
@@ -4,7 +4,7 @@ description: MORPH-SPEC Phase 1 (Setup). Reads project context, detects tech sta
|
|
|
4
4
|
argument-hint: "[feature-name]"
|
|
5
5
|
user-invocable: false
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
|
-
cliVersion: "4.8.
|
|
7
|
+
cliVersion: "4.8.11"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MORPH Setup - FASE 1
|
|
@@ -4,7 +4,7 @@ description: MORPH-SPEC Phase 1.5 (UI/UX). Creates design-system.md, mockups.md,
|
|
|
4
4
|
argument-hint: "[feature-name]"
|
|
5
5
|
user-invocable: false
|
|
6
6
|
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
|
|
7
|
-
cliVersion: "4.8.
|
|
7
|
+
cliVersion: "4.8.11"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# MORPH UI/UX Design - FASE 1.5
|
package/package.json
CHANGED
|
@@ -98,16 +98,17 @@ export function checkPrerequisites(mcpEntry) {
|
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* Patch MCP config for the current platform.
|
|
101
|
-
* On Windows, npx must be invoked via `cmd /
|
|
101
|
+
* On Windows, npx must be invoked via `cmd /c` to avoid ENOENT errors.
|
|
102
|
+
* Registry already stores cmd/c format; this handles legacy configs that still use npx directly.
|
|
102
103
|
* @param {Object} config - MCP server config { command, args, env? }
|
|
103
104
|
* @returns {Object} Patched config (new object, original unmodified)
|
|
104
105
|
*/
|
|
105
106
|
export function patchConfigForPlatform(config) {
|
|
106
|
-
if (
|
|
107
|
+
if (config.command !== 'npx') return config;
|
|
107
108
|
return {
|
|
108
109
|
...config,
|
|
109
110
|
command: 'cmd',
|
|
110
|
-
args: ['/
|
|
111
|
+
args: ['/c', 'npx', ...(config.args || [])]
|
|
111
112
|
};
|
|
112
113
|
}
|
|
113
114
|
|
package/src/utils/file-copier.js
CHANGED
|
@@ -134,10 +134,14 @@ export async function updateGitignore(projectPath) {
|
|
|
134
134
|
const morphRules = [
|
|
135
135
|
'',
|
|
136
136
|
'# MORPH-SPEC',
|
|
137
|
-
'.morph/framework/
|
|
138
|
-
'.morph/framework/hooks/',
|
|
137
|
+
'.morph/framework/',
|
|
139
138
|
'.morph/memory/',
|
|
140
139
|
'.morph/analytics/',
|
|
140
|
+
'.claude/commands/',
|
|
141
|
+
'.claude/rules/',
|
|
142
|
+
'.claude/skills/',
|
|
143
|
+
'.claude/agents/',
|
|
144
|
+
'.claude/CLAUDE.md',
|
|
141
145
|
'.claude/settings.local.json',
|
|
142
146
|
''
|
|
143
147
|
];
|