@polka-codes/cli 0.9.10 → 0.9.11
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
|
@@ -39790,7 +39790,7 @@ var {
|
|
|
39790
39790
|
Help
|
|
39791
39791
|
} = import__.default;
|
|
39792
39792
|
// package.json
|
|
39793
|
-
var version = "0.9.
|
|
39793
|
+
var version = "0.9.11";
|
|
39794
39794
|
|
|
39795
39795
|
// ../../node_modules/@inquirer/core/dist/esm/lib/key.js
|
|
39796
39796
|
var isUpKey = (key) => key.name === "up" || key.name === "k" || key.ctrl && key.name === "p";
|
|
@@ -77185,6 +77185,7 @@ You are the **Architect** agent, responsible for:
|
|
|
77185
77185
|
4. **Accuracy** - Ensure conclusions are verifiable.
|
|
77186
77186
|
5. **Clarity** - Present information in a structured format.
|
|
77187
77187
|
6. **Minimal Queries** - Ask questions only when truly needed.
|
|
77188
|
+
7. **Completion** - Only use the \`attemptCompletion\` tool if the user's request has been fully satisfied and no coding tasks need to be delegated to the Coder agent.
|
|
77188
77189
|
|
|
77189
77190
|
## Steps
|
|
77190
77191
|
1. **Analyze Task** - Capture goals, constraints, and success criteria.
|
|
@@ -77198,7 +77199,7 @@ You are the **Architect** agent, responsible for:
|
|
|
77198
77199
|
6. **Handover/Delegate**
|
|
77199
77200
|
- If the plan consists of a single self-contained step, hand it over as one task.
|
|
77200
77201
|
- If multiple steps are required, break them into numbered tasks to delegate to the **Coder** agent.
|
|
77201
|
-
-
|
|
77202
|
+
- When handing over or delegating, you MUST provide the full implementation plan. Include all necessary context, file references, and clarifications for successful execution.
|
|
77202
77203
|
|
|
77203
77204
|
${toolUsePrompt(useNativeTool, tools, toolNamePrefix)}
|
|
77204
77205
|
${capabilities(toolNamePrefix)}
|
|
@@ -109587,7 +109588,9 @@ class Runner {
|
|
|
109587
109588
|
ret += `
|
|
109588
109589
|
<file_content path="${file4}">${fileContent}</file_content>`;
|
|
109589
109590
|
} catch (error120) {
|
|
109590
|
-
|
|
109591
|
+
if (options.verbose > 0) {
|
|
109592
|
+
console.log(`Failed to read file: ${file4}`, error120);
|
|
109593
|
+
}
|
|
109591
109594
|
unreadableFiles.push(file4);
|
|
109592
109595
|
}
|
|
109593
109596
|
}
|
|
@@ -111021,7 +111024,7 @@ ${output.overview}`;
|
|
|
111021
111024
|
`;
|
|
111022
111025
|
for (const item of output.specificReviews) {
|
|
111023
111026
|
formatted += `
|
|
111024
|
-
|
|
111027
|
+
- ${item.file}#${item.lines}
|
|
111025
111028
|
|
|
111026
111029
|
${item.review}
|
|
111027
111030
|
`;
|