@kaddo/cli 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
|
@@ -8857,9 +8857,6 @@ function resolveNextStep(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
8857
8857
|
if (!exists(join(dir, ".kaddo", "context-pack.md"))) {
|
|
8858
8858
|
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." };
|
|
8859
8859
|
}
|
|
8860
|
-
if (!exists(join(dir, ".kaddo", "understand.md"))) {
|
|
8861
|
-
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." };
|
|
8862
|
-
}
|
|
8863
8860
|
const discovery = state === "pre-ai" || state === "legacy";
|
|
8864
8861
|
const resolveAgent = (agent) => {
|
|
8865
8862
|
const file = agent.endsWith(".md") ? agent : `${agent}.md`;
|
|
@@ -8899,6 +8896,9 @@ function resolveNextStep(dir, now = /* @__PURE__ */ new Date()) {
|
|
|
8899
8896
|
const agent = ctx.agents.includes("codebase-agent") ? "codebase-agent" : "architecture-agent";
|
|
8900
8897
|
return refine("refine-codebase", agent, CB, qCodebase);
|
|
8901
8898
|
}
|
|
8899
|
+
if (!exists(join(dir, ".kaddo", "understand.md"))) {
|
|
8900
|
+
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." };
|
|
8901
|
+
}
|
|
8902
8902
|
const oq = buildOpenQuestionsReport(dir, now);
|
|
8903
8903
|
if (oq.summary.blocking_open > 0) {
|
|
8904
8904
|
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.` };
|
|
@@ -9679,7 +9679,6 @@ function mapNextStepId(id) {
|
|
|
9679
9679
|
"add-skills": "enable-kaddo",
|
|
9680
9680
|
scan: "scan-repository",
|
|
9681
9681
|
context: "scan-repository",
|
|
9682
|
-
understand: "scan-repository",
|
|
9683
9682
|
"refine-business": "define-business",
|
|
9684
9683
|
"refine-product": "define-product",
|
|
9685
9684
|
"refine-capabilities": "discover-capabilities",
|