agentv 3.2.3 → 3.2.5
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/{agentv-provider-5CJVBBGG-CWG26WRA.js → agentv-provider-HDSAUUEF-LUBMM7TH.js} +2 -2
- package/dist/{chunk-3S5ABGLC.js → chunk-6XTYVCMN.js} +10451 -3758
- package/dist/chunk-6XTYVCMN.js.map +1 -0
- package/dist/{chunk-6BA56F67.js → chunk-AR3QEKXH.js} +4351 -1652
- package/dist/chunk-AR3QEKXH.js.map +1 -0
- package/dist/{chunk-WW3AL6CM.js → chunk-BPK64EWF.js} +4 -4
- package/dist/{chunk-3L2L5GIL.js → chunk-HQDCIXVH.js} +3 -3
- package/dist/{chunk-3L2L5GIL.js.map → chunk-HQDCIXVH.js.map} +1 -1
- package/dist/chunk-JFD3TI3N.js +456 -0
- package/dist/chunk-JFD3TI3N.js.map +1 -0
- package/dist/{chunk-HSLVKD7U.js → chunk-WQGBWX5Y.js} +23 -6
- package/dist/chunk-WQGBWX5Y.js.map +1 -0
- package/dist/cli.js +5 -5
- package/dist/{dist-4QBXVHRX.js → dist-JXD6WHHI.js} +4 -4
- package/dist/index.js +5 -5
- package/dist/{interactive-TLLJMCWK.js → interactive-B72SWNWB.js} +5 -5
- package/dist/templates/.agentv/config.yaml +0 -5
- package/dist/templates/.agentv/targets.yaml +16 -0
- package/dist/{token-POXF46NU.js → token-OWTDW6LT.js} +8 -8
- package/dist/token-OWTDW6LT.js.map +1 -0
- package/dist/{token-util-6GWYZWGE.js → token-util-S5R2C23V.js} +3 -3
- package/package.json +3 -3
- package/dist/chunk-3S5ABGLC.js.map +0 -1
- package/dist/chunk-6BA56F67.js.map +0 -1
- package/dist/chunk-BL4PVUAT.js +0 -261
- package/dist/chunk-BL4PVUAT.js.map +0 -1
- package/dist/chunk-HSLVKD7U.js.map +0 -1
- package/dist/token-POXF46NU.js.map +0 -1
- /package/dist/{agentv-provider-5CJVBBGG-CWG26WRA.js.map → agentv-provider-HDSAUUEF-LUBMM7TH.js.map} +0 -0
- /package/dist/{chunk-WW3AL6CM.js.map → chunk-BPK64EWF.js.map} +0 -0
- /package/dist/{dist-4QBXVHRX.js.map → dist-JXD6WHHI.js.map} +0 -0
- /package/dist/{interactive-TLLJMCWK.js.map → interactive-B72SWNWB.js.map} +0 -0
- /package/dist/{token-util-6GWYZWGE.js.map → token-util-S5R2C23V.js.map} +0 -0
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
subscribeToCopilotCliLogEntries,
|
|
26
26
|
subscribeToCopilotSdkLogEntries,
|
|
27
27
|
subscribeToPiLogEntries
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6XTYVCMN.js";
|
|
29
29
|
|
|
30
30
|
// package.json
|
|
31
31
|
var package_default = {
|
|
32
32
|
name: "agentv",
|
|
33
|
-
version: "3.2.
|
|
33
|
+
version: "3.2.5",
|
|
34
34
|
description: "CLI entry point for AgentV",
|
|
35
35
|
type: "module",
|
|
36
36
|
repository: {
|
|
@@ -58,7 +58,7 @@ var package_default = {
|
|
|
58
58
|
"test:watch": "bun test --watch"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
61
|
-
"@ai-sdk/openai": "^
|
|
61
|
+
"@ai-sdk/openai": "^3.0.0",
|
|
62
62
|
"@anthropic-ai/claude-agent-sdk": "^0.2.49",
|
|
63
63
|
"@github/copilot-sdk": "^0.1.25",
|
|
64
64
|
"@inquirer/prompts": "^8.2.1",
|
|
@@ -396,12 +396,14 @@ function buildGradingArtifact(result) {
|
|
|
396
396
|
function buildTimingArtifact(results) {
|
|
397
397
|
let totalInput = 0;
|
|
398
398
|
let totalOutput = 0;
|
|
399
|
+
let totalReasoning = 0;
|
|
399
400
|
let totalDurationMs = 0;
|
|
400
401
|
for (const result of results) {
|
|
401
402
|
const usage = result.tokenUsage;
|
|
402
403
|
if (usage) {
|
|
403
404
|
totalInput += usage.input ?? 0;
|
|
404
405
|
totalOutput += usage.output ?? 0;
|
|
406
|
+
totalReasoning += usage.reasoning ?? 0;
|
|
405
407
|
}
|
|
406
408
|
if (result.durationMs != null) {
|
|
407
409
|
totalDurationMs += result.durationMs;
|
|
@@ -413,7 +415,8 @@ function buildTimingArtifact(results) {
|
|
|
413
415
|
total_duration_seconds: Math.round(totalDurationMs / 1e3 * 1e3) / 1e3,
|
|
414
416
|
token_usage: {
|
|
415
417
|
input: totalInput,
|
|
416
|
-
output: totalOutput
|
|
418
|
+
output: totalOutput,
|
|
419
|
+
reasoning: totalReasoning
|
|
417
420
|
}
|
|
418
421
|
};
|
|
419
422
|
}
|
|
@@ -2628,6 +2631,18 @@ var OPENAI_SETTINGS = /* @__PURE__ */ new Set([
|
|
|
2628
2631
|
"max_output_tokens",
|
|
2629
2632
|
"maxTokens"
|
|
2630
2633
|
]);
|
|
2634
|
+
var OPENROUTER_SETTINGS = /* @__PURE__ */ new Set([
|
|
2635
|
+
...COMMON_SETTINGS,
|
|
2636
|
+
...RETRY_SETTINGS,
|
|
2637
|
+
"api_key",
|
|
2638
|
+
"apiKey",
|
|
2639
|
+
"model",
|
|
2640
|
+
"deployment",
|
|
2641
|
+
"variant",
|
|
2642
|
+
"temperature",
|
|
2643
|
+
"max_output_tokens",
|
|
2644
|
+
"maxTokens"
|
|
2645
|
+
]);
|
|
2631
2646
|
var ANTHROPIC_SETTINGS = /* @__PURE__ */ new Set([
|
|
2632
2647
|
...COMMON_SETTINGS,
|
|
2633
2648
|
...RETRY_SETTINGS,
|
|
@@ -2769,6 +2784,8 @@ function getKnownSettings(provider) {
|
|
|
2769
2784
|
switch (normalizedProvider) {
|
|
2770
2785
|
case "openai":
|
|
2771
2786
|
return OPENAI_SETTINGS;
|
|
2787
|
+
case "openrouter":
|
|
2788
|
+
return OPENROUTER_SETTINGS;
|
|
2772
2789
|
case "azure":
|
|
2773
2790
|
case "azure-openai":
|
|
2774
2791
|
return AZURE_SETTINGS;
|
|
@@ -3956,7 +3973,7 @@ async function runEvalCommand(input) {
|
|
|
3956
3973
|
const useFileExport = !!(options.otelFile || options.traceFile);
|
|
3957
3974
|
if (options.exportOtel || useFileExport) {
|
|
3958
3975
|
try {
|
|
3959
|
-
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-
|
|
3976
|
+
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-JXD6WHHI.js");
|
|
3960
3977
|
let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
|
|
3961
3978
|
let headers = {};
|
|
3962
3979
|
if (options.otelBackend) {
|
|
@@ -4278,4 +4295,4 @@ export {
|
|
|
4278
4295
|
selectTarget,
|
|
4279
4296
|
runEvalCommand
|
|
4280
4297
|
};
|
|
4281
|
-
//# sourceMappingURL=chunk-
|
|
4298
|
+
//# sourceMappingURL=chunk-WQGBWX5Y.js.map
|