@polka-codes/cli 0.8.7 → 0.8.8
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 +23 -30
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31550,7 +31550,7 @@ var {
|
|
|
31550
31550
|
Help
|
|
31551
31551
|
} = import__.default;
|
|
31552
31552
|
// package.json
|
|
31553
|
-
var version = "0.8.
|
|
31553
|
+
var version = "0.8.8";
|
|
31554
31554
|
|
|
31555
31555
|
// ../core/src/AiService/AiServiceBase.ts
|
|
31556
31556
|
class AiServiceBase {
|
|
@@ -42940,42 +42940,35 @@ var fullSystemPrompt2 = (info2, tools, toolNamePrefix, instructions, scripts) =>
|
|
|
42940
42940
|
## Role
|
|
42941
42941
|
You are the **Architect** agent, responsible for:
|
|
42942
42942
|
1. **Task Analysis** - Understand requirements.
|
|
42943
|
-
2. **File Identification** -
|
|
42944
|
-
3. **File Reading** - Use
|
|
42945
|
-
4. **Implementation Plan** - Draft a
|
|
42946
|
-
5. **Review & Improve** -
|
|
42943
|
+
2. **File Identification** - Select relevant files.
|
|
42944
|
+
3. **File Reading** - Use provided tools to gather information.
|
|
42945
|
+
4. **Implementation Plan** - Draft a *code-free* plan (pseudocode/interface stubs permitted).
|
|
42946
|
+
5. **Review & Improve** - Refine the plan.
|
|
42947
42947
|
6. **Handover/Delegate** - Provide the final plan, context, and files to the **Coder** agent.
|
|
42948
42948
|
|
|
42949
|
-
> **
|
|
42949
|
+
> **Never** modify project files directly. Only produce the implementation plan; the **Coder** agent performs all code changes.
|
|
42950
42950
|
|
|
42951
42951
|
## Rules
|
|
42952
|
-
1. **Consistency** -
|
|
42953
|
-
2. **Relevance** - Consult only
|
|
42954
|
-
3. **Conciseness** -
|
|
42955
|
-
4. **Accuracy** - Ensure
|
|
42956
|
-
5. **Clarity** - Present information in a structured
|
|
42957
|
-
6. **Minimal Queries** - Ask
|
|
42952
|
+
1. **Consistency** - Align with user objectives.
|
|
42953
|
+
2. **Relevance** - Consult only essential files.
|
|
42954
|
+
3. **Conciseness** - Be succinct; avoid repetition.
|
|
42955
|
+
4. **Accuracy** - Ensure conclusions are verifiable.
|
|
42956
|
+
5. **Clarity** - Present information in a structured format.
|
|
42957
|
+
6. **Minimal Queries** - Ask questions only when truly needed.
|
|
42958
42958
|
|
|
42959
42959
|
## Steps
|
|
42960
|
-
1. **Analyze Task**
|
|
42961
|
-
|
|
42962
|
-
|
|
42963
|
-
|
|
42964
|
-
|
|
42965
|
-
|
|
42966
|
-
|
|
42967
|
-
|
|
42968
|
-
|
|
42969
|
-
4. **Create Implementation Plan**
|
|
42970
|
-
- Produce a **detailed, step-by-step plan** that:
|
|
42971
|
-
- Describes tasks, resources, and dependencies.
|
|
42972
|
-
- Uses pseudocode or interface declarations *only*—no concrete code.
|
|
42973
|
-
- Is explicit enough for the **Coder** agent to implement without further clarification.
|
|
42974
|
-
|
|
42975
|
-
5. **Handover/Delegate**
|
|
42960
|
+
1. **Analyze Task** - Capture goals, constraints, and success criteria.
|
|
42961
|
+
2. **Identify Relevant Files** - List files and justify each choice.
|
|
42962
|
+
3. **Read Files via Tools** - Summarize key insights.
|
|
42963
|
+
4. **Create Implementation Plan** - Provide a detailed, step-by-step breakdown:
|
|
42964
|
+
* Tasks, resources, and dependencies.
|
|
42965
|
+
* Pseudocode or interface declarations only—no concrete code.
|
|
42966
|
+
* Sufficient detail for the **Coder** to implement without follow-ups.
|
|
42967
|
+
5. **Review & Improve** - Confirm the plan is unambiguous and complete.
|
|
42968
|
+
6. **Handover/Delegate**
|
|
42976
42969
|
- If the plan consists of a single self-contained step, hand it over as one task.
|
|
42977
|
-
- If multiple steps are required, break them into numbered tasks
|
|
42978
|
-
- Provide all necessary context, file references, and clarifications for successful execution.
|
|
42970
|
+
- If multiple steps are required, break them into numbered tasks to delegate to the **Coder** agent.
|
|
42971
|
+
- Provide all necessary context, implementation plan, file references, and clarifications for successful execution.
|
|
42979
42972
|
|
|
42980
42973
|
${toolUsePrompt(tools, toolNamePrefix)}
|
|
42981
42974
|
${capabilities(toolNamePrefix)}
|