@kaddo/cli 3.11.0 → 3.11.2
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 +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2801,7 +2801,7 @@ Conventional Commit message \u2014 as suggestions, never executed.
|
|
|
2801
2801
|
|
|
2802
2802
|
1. **Suggest a branch first** (do not run it). Follow the Git strategy
|
|
2803
2803
|
(\`.kaddo/git.yml\` \u2192 \`branchNaming.pattern\`, default \`feature/<work-item-id>-<slug>\`;
|
|
2804
|
-
also \`bugfix/\`, \`hotfix/\`, \`spike/\`). If no strategy exists, suggest the default and say so.
|
|
2804
|
+
also \`bugfix/\`, \`hotfix/\`, \`spike/\`, \`chore/\`). If no strategy exists, suggest the default and say so.
|
|
2805
2805
|
2. Implement the change with tests.
|
|
2806
2806
|
3. Suggest running \`kaddo scan\` after adding modules, migrations, contracts or significant
|
|
2807
2807
|
structure.
|
|
@@ -6079,7 +6079,7 @@ function renderUnderstand(plan) {
|
|
|
6079
6079
|
`);
|
|
6080
6080
|
parts.push("## Agent Prompts\n");
|
|
6081
6081
|
parts.push(
|
|
6082
|
-
steps.map((s) => `-
|
|
6082
|
+
steps.map((s) => `- \`${agentInstallPath(s.agent)}\``).join("\n") + "\n"
|
|
6083
6083
|
);
|
|
6084
6084
|
parts.push("## Expected Outputs\n");
|
|
6085
6085
|
parts.push(steps.map((s) => `- \`${s.output}\``).join("\n") + "\n");
|
|
@@ -6092,7 +6092,7 @@ function renderUnderstand(plan) {
|
|
|
6092
6092
|
"",
|
|
6093
6093
|
"1. Open your preferred LLM chat (Claude, ChatGPT, Cursor, Copilot, Windsurf\u2026).",
|
|
6094
6094
|
`2. Paste the context pack: \`${plan.contextPackPath}\``,
|
|
6095
|
-
`3. Paste the agent prompt:
|
|
6095
|
+
`3. Paste the agent prompt: \`${agentInstallPath(first2.agent)}\``,
|
|
6096
6096
|
`4. Ask the LLM to produce: \`${first2.output}\``,
|
|
6097
6097
|
`5. Save the result in: \`${first2.output}\``
|
|
6098
6098
|
].join("\n") + "\n"
|
|
@@ -6131,7 +6131,7 @@ function renderUnderstandTerminal(plan) {
|
|
|
6131
6131
|
lines.push(`First step: use ${agentName(first2.agent)}.`);
|
|
6132
6132
|
lines.push("");
|
|
6133
6133
|
lines.push(` Context: ${plan.contextPackPath}`);
|
|
6134
|
-
lines.push(` Agent prompt:
|
|
6134
|
+
lines.push(` Agent prompt: ${agentInstallPath(first2.agent)}`);
|
|
6135
6135
|
lines.push(` Expected output: ${first2.output}`);
|
|
6136
6136
|
lines.push("");
|
|
6137
6137
|
lines.push("Instructions:");
|
|
@@ -6166,6 +6166,8 @@ function branchPrefix(type) {
|
|
|
6166
6166
|
return "hotfix";
|
|
6167
6167
|
case "spike":
|
|
6168
6168
|
return "spike";
|
|
6169
|
+
case "chore":
|
|
6170
|
+
return "chore";
|
|
6169
6171
|
default:
|
|
6170
6172
|
return "feature";
|
|
6171
6173
|
}
|
|
@@ -6176,6 +6178,7 @@ function commitPrefix(type) {
|
|
|
6176
6178
|
case "hotfix":
|
|
6177
6179
|
return "fix";
|
|
6178
6180
|
case "spike":
|
|
6181
|
+
case "chore":
|
|
6179
6182
|
return "chore";
|
|
6180
6183
|
default:
|
|
6181
6184
|
return "feat";
|