@kaddo/mcp 3.52.0 → 3.53.0
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/dist/index.js +3 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2496,9 +2496,6 @@ function resolveNextStep(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
2496
2496
|
if (!exists(join(dir, ".kaddo", "context-pack.md"))) {
|
|
2497
2497
|
return { id: "context", phase: "Discovery", label: "Run `kaddo context` to prepare the LLM context pack.", command: "kaddo context", reason: "No context pack has been generated yet." };
|
|
2498
2498
|
}
|
|
2499
|
-
if (!exists(join(dir, ".kaddo", "understand.md"))) {
|
|
2500
|
-
return { id: "understand", phase: "Discovery", label: "Run `kaddo understand` to summarize the project context.", command: "kaddo understand", reason: "No understand handoff has been generated yet." };
|
|
2501
|
-
}
|
|
2502
2499
|
const discovery = state === "pre-ai" || state === "legacy";
|
|
2503
2500
|
const resolveAgent = (agent) => {
|
|
2504
2501
|
const file = agent.endsWith(".md") ? agent : `${agent}.md`;
|
|
@@ -2538,6 +2535,9 @@ function resolveNextStep(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
2538
2535
|
const agent = ctx.agents.includes("codebase-agent") ? "codebase-agent" : "architecture-agent";
|
|
2539
2536
|
return refine("refine-codebase", agent, CB, qCodebase);
|
|
2540
2537
|
}
|
|
2538
|
+
if (!exists(join(dir, ".kaddo", "understand.md"))) {
|
|
2539
|
+
return { id: "understand", phase: "Discovery", label: "Run `kaddo understand` to summarize the project context.", command: "kaddo understand", reason: "No understand handoff has been generated yet." };
|
|
2540
|
+
}
|
|
2541
2541
|
const oq = buildOpenQuestionsReport(dir, now);
|
|
2542
2542
|
if (oq.summary.blocking_open > 0) {
|
|
2543
2543
|
return { id: "questions", phase: "Knowledge Refinement", label: "Run `kaddo questions` to see source locations and resolution guidance, then resolve, assume or defer the blocking open questions.", command: "kaddo questions", reason: `${oq.summary.blocking_open} blocking open question(s) remain.` };
|
|
@@ -5986,7 +5986,6 @@ function mapNextStepId(id) {
|
|
|
5986
5986
|
"add-skills": "enable-kaddo",
|
|
5987
5987
|
scan: "scan-repository",
|
|
5988
5988
|
context: "scan-repository",
|
|
5989
|
-
understand: "scan-repository",
|
|
5990
5989
|
"refine-business": "define-business",
|
|
5991
5990
|
"refine-product": "define-product",
|
|
5992
5991
|
"refine-capabilities": "discover-capabilities",
|
package/package.json
CHANGED