@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.js CHANGED
@@ -2498,38 +2498,38 @@ import {
2498
2498
  } from "subagent";
2499
2499
 
2500
2500
  // src/evaluation/providers/vscode-templates.ts
2501
- var AGENTV_REQUEST_TEMPLATE = `[[ ## system_instructions ## ]]
2501
+ var AGENTV_REQUEST_TEMPLATE = `[[ ## task ## ]]
2502
2502
 
2503
- **IMPORTANT**: You are processing an evaluation request from AgentV. Follow these exact steps:
2503
+ {{userQuery}}
2504
+
2505
+ [[ ## system_instructions ## ]]
2504
2506
 
2505
- 1. Read and understand all guideline files and attachments provided above
2506
- 2. Process the user query below according to the guidelines
2507
- 3. Write your complete response to: {{responseFileTmp}}
2508
- 4. When completely finished, run these PowerShell commands to signal completion:
2509
- \`\`\`powershell
2507
+ **IMPORTANT**: Follow these exact steps:
2508
+ 1. Create and write your complete response to: {{responseFileTmp}}
2509
+ - Do NOT create any additional output files in the workspace.
2510
+ - All intended file outputs/changes MUST be written in your response file.
2511
+ - For each intended file, include the repo name, relative path and unified git diff following the convention \`diff --git ...\`.
2512
+ 2. When completely finished, run these PowerShell commands to signal completion:
2513
+ \`\`\`
2510
2514
  Move-Item -LiteralPath '{{responseFileTmp}}' -Destination '{{responseFileFinal}}'
2511
- if (Test-Path subagent.lock) { Remove-Item subagent.lock }
2515
+ if (Test-Path subagent.lock) { del subagent.lock }
2512
2516
  \`\`\`
2513
2517
 
2514
- Do not proceed to step 4 until your response is completely written to the temporary file.
2515
-
2516
- [[ ## task ## ]]
2517
-
2518
- {{userQuery}}
2518
+ Do not proceed to step 2 until your response is completely written to the temporary file.
2519
2519
  `;
2520
- var AGENTV_BATCH_REQUEST_TEMPLATE = `[[ ## system_instructions ## ]]
2521
-
2522
- **IMPORTANT**: You are processing a batch evaluation request from AgentV. Follow these exact steps:
2520
+ var AGENTV_BATCH_REQUEST_TEMPLATE = `[[ ## task ## ]]
2523
2521
 
2524
- 1. Read and understand all guideline files and attachments provided above
2525
- 2. Process the user query below according to the guidelines
2526
- 3. Write your complete response to: {{responseFileTmp}}
2527
- 4. When completely finished and the response is stable, rename it to: {{responseFileFinal}}
2528
- 5. Do not unlock the workspace from this request; batch orchestration will handle unlocking after all responses are ready.
2522
+ {{userQuery}}
2529
2523
 
2530
- [[ ## task ## ]]
2524
+ [[ ## system_instructions ## ]]
2531
2525
 
2532
- {{userQuery}}
2526
+ **IMPORTANT**: Follow these exact steps:
2527
+ 1. Create and write your complete response to: {{responseFileTmp}}
2528
+ - Do NOT create any additional output files in the workspace.
2529
+ - All intended file outputs/changes MUST be written in your response file.
2530
+ - For each intended file, include the repo name, relative path and unified git diff following the convention \`diff --git ...\`.
2531
+ 2. When completely finished and the response is stable, rename it to: {{responseFileFinal}}
2532
+ 3. Do not unlock the workspace from this request; batch orchestration will handle unlocking after all responses are ready.
2533
2533
  `;
2534
2534
 
2535
2535
  // src/evaluation/providers/vscode.ts