@context-forge/mcp 0.6.19 → 0.6.21
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentOnboardTool.d.ts","sourceRoot":"","sources":["../../src/tools/agentOnboardTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"agentOnboardTool.d.ts","sourceRoot":"","sources":["../../src/tools/agentOnboardTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAiEpE,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA0BhE"}
|
|
@@ -17,31 +17,27 @@ the current directory.
|
|
|
17
17
|
|
|
18
18
|
## Step 2 — Create project
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Ask the user what they'd like to name their project. If a project name argument
|
|
21
|
+
was provided, use that. If the user declines to choose, default to the current
|
|
22
|
+
directory name.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- \`projectPath\`: The current working directory (absolute path).
|
|
27
|
-
- \`developmentPhase\`: "Phase 1: Concept" (default — no need to specify).
|
|
24
|
+
Run \`cf init <name>\` via the shell. This single command handles everything:
|
|
25
|
+
git initialization, project registration, guide installation, command
|
|
26
|
+
installation, and IDE setup.
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
**Important:** Do not rely on environment context (like "Is a git repository")
|
|
29
|
+
to determine git status — \`cf init\` checks the actual directory and handles
|
|
30
|
+
git initialization itself.
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
If shell access is unavailable, fall back to the MCP path:
|
|
33
|
+
1. Call \`project_create\` with \`name\` and \`projectPath\` (the CWD).
|
|
34
|
+
2. Call \`guide_install\` to install the AI Project Guide.
|
|
35
|
+
Note: the MCP fallback cannot initialize git. If the directory is not a git
|
|
36
|
+
repository, inform the user they need to run \`git init\` first.
|
|
32
37
|
|
|
33
|
-
|
|
38
|
+
## Step 3 — Transition to concept discussion
|
|
34
39
|
|
|
35
|
-
|
|
36
|
-
- If \`installed: true\` → skip installation.
|
|
37
|
-
- If \`installed: false\` → call \`guide_install\`.
|
|
38
|
-
|
|
39
|
-
Do not draw attention to this step unless installation fails. It's infrastructure
|
|
40
|
-
the user doesn't need to think about.
|
|
41
|
-
|
|
42
|
-
## Step 4 — Transition to concept discussion
|
|
43
|
-
|
|
44
|
-
The project is set up. Now begin the Phase 1 (Concept) conversation.
|
|
40
|
+
The project is set up. Now begin the Phase 0 (Concept) conversation.
|
|
45
41
|
|
|
46
42
|
Call \`context_build\` to generate the concept-phase context prompt. Use the
|
|
47
43
|
returned prompt as your working context to guide the conversation.
|
|
@@ -50,7 +46,7 @@ Begin by asking the user to describe what they want to build. Guide them through
|
|
|
50
46
|
the concept exploration naturally — the context prompt provides the structure.
|
|
51
47
|
The goal is a concept document at the end of this conversation.
|
|
52
48
|
|
|
53
|
-
## Step
|
|
49
|
+
## Step 4 — Mention ongoing guidance
|
|
54
50
|
|
|
55
51
|
After the concept conversation concludes (or if the user wants to pause),
|
|
56
52
|
mention that \`workflow_next\` (or \`cf next\` on the CLI) provides ongoing
|
|
@@ -58,7 +54,7 @@ guidance that adapts as the project progresses.
|
|
|
58
54
|
|
|
59
55
|
## Notes
|
|
60
56
|
|
|
61
|
-
- If the user already has a project but is in a later phase (not Phase
|
|
57
|
+
- If the user already has a project but is in a later phase (not Phase 0),
|
|
62
58
|
acknowledge this and call \`workflow_next\` instead of starting a concept
|
|
63
59
|
discussion.
|
|
64
60
|
- Keep the conversation natural. This is onboarding, not a checklist.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentOnboardTool.js","sourceRoot":"","sources":["../../src/tools/agentOnboardTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,aAAa,GAAG
|
|
1
|
+
{"version":3,"file":"agentOnboardTool.js","sourceRoot":"","sources":["../../src/tools/agentOnboardTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DrB,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,MAAiB;IACxD,MAAM,CAAC,YAAY,CACjB,eAAe,EACf;QACE,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACT,4HAA4H;YAC5H,0FAA0F;QAC5F,WAAW,EAAE;YACX,WAAW,EAAE,CAAC;iBACX,MAAM,EAAE;iBACR,QAAQ,EAAE;iBACV,QAAQ,CAAC,6FAA6F,CAAC;SAC3G;QACD,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE;KAC1D,EACD,KAAK,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE;QACxB,IAAI,IAAI,GAAG,aAAa,CAAC;QACzB,IAAI,WAAW,EAAE,CAAC;YAChB,IAAI,IAAI,gCAAgC,WAAW,IAAI,CAAC;QAC1D,CAAC;QACD,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,CAAC;SAC3C,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -46,7 +46,7 @@ export function registerProjectTools(server, serverVersion) {
|
|
|
46
46
|
inputSchema: {
|
|
47
47
|
name: z.string().describe('Project display name (required)'),
|
|
48
48
|
projectPath: z.string().optional().describe('Absolute path to the project root. When omitted, the project is created without a path (can be set later via project_update).'),
|
|
49
|
-
developmentPhase: z.string().optional().describe('Initial development phase. Defaults to "Phase
|
|
49
|
+
developmentPhase: z.string().optional().describe('Initial development phase. Defaults to "Phase 0: Concept".'),
|
|
50
50
|
},
|
|
51
51
|
annotations: { destructiveHint: false, idempotentHint: false, openWorldHint: false },
|
|
52
52
|
}, async ({ name, projectPath, developmentPhase }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@context-forge/mcp",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.21",
|
|
4
4
|
"description": "MCP server for Context Forge — generates structured AI context prompts from project configuration and templates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
36
36
|
"zod": "^4.1.5",
|
|
37
|
-
"@context-forge/core": "0.6.
|
|
37
|
+
"@context-forge/core": "0.6.21"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^25.3.0",
|