@context-forge/mcp 0.6.19 → 0.6.20

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;AAqEpE,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CA0BhE"}
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
- Before creating the project, ensure git is initialized in the current directory.
21
- If there is no \`.git\` directory, let the user know they need to run \`git init\` first.
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
- Call \`project_create\` with:
24
- - \`name\`: Use the project name argument if provided, or the current directory
25
- name, or ask the user what they'd like to call their project.
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
- Confirm to the user: "Project created: {name}."
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
- ## Step 3 Check and install guides
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
- Verify the AI Project Guide is installed, and install it if missing.
38
+ ## Step 3 Transition to concept discussion
34
39
 
35
- Call \`guide_status\`.
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 5 — Mention ongoing guidance
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 1),
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgErB,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,MAAiB;IACxD,MAAM,C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xB,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 1: Concept".'),
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.19",
3
+ "version": "0.6.20",
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.19"
37
+ "@context-forge/core": "0.6.20"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/node": "^25.3.0",