@agentv/core 0.20.0 → 0.21.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.cjs CHANGED
@@ -3189,38 +3189,38 @@ var import_node_path11 = __toESM(require("path"), 1);
3189
3189
  var import_subagent = require("subagent");
3190
3190
 
3191
3191
  // src/evaluation/providers/vscode-templates.ts
3192
- var AGENTV_REQUEST_TEMPLATE = `[[ ## system_instructions ## ]]
3192
+ var AGENTV_REQUEST_TEMPLATE = `[[ ## task ## ]]
3193
3193
 
3194
- **IMPORTANT**: You are processing an evaluation request from AgentV. Follow these exact steps:
3194
+ {{userQuery}}
3195
+
3196
+ [[ ## system_instructions ## ]]
3195
3197
 
3196
- 1. Read and understand all guideline files and attachments provided above
3197
- 2. Process the user query below according to the guidelines
3198
- 3. Write your complete response to: {{responseFileTmp}}
3199
- 4. When completely finished, run these PowerShell commands to signal completion:
3200
- \`\`\`powershell
3198
+ **IMPORTANT**: Follow these exact steps:
3199
+ 1. Create and write your complete response to: {{responseFileTmp}}
3200
+ - Do NOT create any additional output files in the workspace.
3201
+ - All intended file outputs/changes MUST be written in your response file.
3202
+ - For each intended file, include the repo name, relative path and unified git diff following the convention \`diff --git ...\`.
3203
+ 2. When completely finished, run these PowerShell commands to signal completion:
3204
+ \`\`\`
3201
3205
  Move-Item -LiteralPath '{{responseFileTmp}}' -Destination '{{responseFileFinal}}'
3202
- if (Test-Path subagent.lock) { Remove-Item subagent.lock }
3206
+ if (Test-Path subagent.lock) { del subagent.lock }
3203
3207
  \`\`\`
3204
3208
 
3205
- Do not proceed to step 4 until your response is completely written to the temporary file.
3206
-
3207
- [[ ## task ## ]]
3208
-
3209
- {{userQuery}}
3209
+ Do not proceed to step 2 until your response is completely written to the temporary file.
3210
3210
  `;
3211
- var AGENTV_BATCH_REQUEST_TEMPLATE = `[[ ## system_instructions ## ]]
3212
-
3213
- **IMPORTANT**: You are processing a batch evaluation request from AgentV. Follow these exact steps:
3211
+ var AGENTV_BATCH_REQUEST_TEMPLATE = `[[ ## task ## ]]
3214
3212
 
3215
- 1. Read and understand all guideline files and attachments provided above
3216
- 2. Process the user query below according to the guidelines
3217
- 3. Write your complete response to: {{responseFileTmp}}
3218
- 4. When completely finished and the response is stable, rename it to: {{responseFileFinal}}
3219
- 5. Do not unlock the workspace from this request; batch orchestration will handle unlocking after all responses are ready.
3213
+ {{userQuery}}
3220
3214
 
3221
- [[ ## task ## ]]
3215
+ [[ ## system_instructions ## ]]
3222
3216
 
3223
- {{userQuery}}
3217
+ **IMPORTANT**: Follow these exact steps:
3218
+ 1. Create and write your complete response to: {{responseFileTmp}}
3219
+ - Do NOT create any additional output files in the workspace.
3220
+ - All intended file outputs/changes MUST be written in your response file.
3221
+ - For each intended file, include the repo name, relative path and unified git diff following the convention \`diff --git ...\`.
3222
+ 2. When completely finished and the response is stable, rename it to: {{responseFileFinal}}
3223
+ 3. Do not unlock the workspace from this request; batch orchestration will handle unlocking after all responses are ready.
3224
3224
  `;
3225
3225
 
3226
3226
  // src/evaluation/providers/vscode.ts