agentv 3.2.0 → 3.2.2
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/{chunk-PCQA43SA.js → chunk-IUNL3OJU.js} +23 -8
- package/dist/chunk-IUNL3OJU.js.map +1 -0
- package/dist/{chunk-FTPA72PY.js → chunk-LNRX7YV5.js} +4 -4
- package/dist/{chunk-OR4WXZAF.js → chunk-QHH6QXNY.js} +84 -6
- package/dist/chunk-QHH6QXNY.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{dist-3BMOAU4X.js → dist-NOJMJ5CF.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-DLHPNSZ7.js → interactive-LMQO2QAX.js} +3 -3
- package/package.json +2 -2
- package/dist/chunk-OR4WXZAF.js.map +0 -1
- package/dist/chunk-PCQA43SA.js.map +0 -1
- /package/dist/{chunk-FTPA72PY.js.map → chunk-LNRX7YV5.js.map} +0 -0
- /package/dist/{dist-3BMOAU4X.js.map → dist-NOJMJ5CF.js.map} +0 -0
- /package/dist/{interactive-DLHPNSZ7.js.map → interactive-LMQO2QAX.js.map} +0 -0
|
@@ -25,19 +25,19 @@ import {
|
|
|
25
25
|
subscribeToCopilotCliLogEntries,
|
|
26
26
|
subscribeToCopilotSdkLogEntries,
|
|
27
27
|
subscribeToPiLogEntries
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QHH6QXNY.js";
|
|
29
29
|
|
|
30
30
|
// package.json
|
|
31
31
|
var package_default = {
|
|
32
32
|
name: "agentv",
|
|
33
|
-
version: "3.2.
|
|
33
|
+
version: "3.2.2",
|
|
34
34
|
description: "CLI entry point for AgentV",
|
|
35
35
|
type: "module",
|
|
36
36
|
repository: {
|
|
37
37
|
type: "git",
|
|
38
38
|
url: "https://github.com/EntityProcess/agentv.git"
|
|
39
39
|
},
|
|
40
|
-
homepage: "https://
|
|
40
|
+
homepage: "https://agentv.dev",
|
|
41
41
|
bugs: {
|
|
42
42
|
url: "https://github.com/EntityProcess/agentv/issues"
|
|
43
43
|
},
|
|
@@ -3634,6 +3634,21 @@ function createDisplayIdTracker() {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
};
|
|
3636
3636
|
}
|
|
3637
|
+
function extractModelName(target) {
|
|
3638
|
+
if (target.kind === "azure") {
|
|
3639
|
+
return target.config.deploymentName;
|
|
3640
|
+
}
|
|
3641
|
+
if ("model" in target.config && typeof target.config.model === "string") {
|
|
3642
|
+
return target.config.model;
|
|
3643
|
+
}
|
|
3644
|
+
return void 0;
|
|
3645
|
+
}
|
|
3646
|
+
function buildTargetLabelSuffix(providerLabel, target) {
|
|
3647
|
+
const parts = [`provider=${providerLabel}`];
|
|
3648
|
+
const model = extractModelName(target);
|
|
3649
|
+
if (model) parts.push(`model=${model}`);
|
|
3650
|
+
return `[${parts.join(", ")}]`;
|
|
3651
|
+
}
|
|
3637
3652
|
function applyVerboseOverride(selection, cliVerbose) {
|
|
3638
3653
|
const { resolvedTarget } = selection;
|
|
3639
3654
|
if (resolvedTarget.kind !== "cli") {
|
|
@@ -3691,7 +3706,7 @@ async function prepareFileMetadata(params) {
|
|
|
3691
3706
|
const providerLabel = options.dryRun ? `${sel.resolvedTarget.kind} (dry-run)` : sel.resolvedTarget.kind;
|
|
3692
3707
|
return {
|
|
3693
3708
|
selection: sel,
|
|
3694
|
-
inlineTargetLabel: `${sel.targetName}
|
|
3709
|
+
inlineTargetLabel: `${sel.targetName} ${buildTargetLabelSuffix(providerLabel, sel.resolvedTarget)}`
|
|
3695
3710
|
};
|
|
3696
3711
|
});
|
|
3697
3712
|
} else {
|
|
@@ -3711,7 +3726,7 @@ async function prepareFileMetadata(params) {
|
|
|
3711
3726
|
selections = [
|
|
3712
3727
|
{
|
|
3713
3728
|
selection,
|
|
3714
|
-
inlineTargetLabel: `${selection.targetName}
|
|
3729
|
+
inlineTargetLabel: `${selection.targetName} ${buildTargetLabelSuffix(providerLabel, selection.resolvedTarget)}`
|
|
3715
3730
|
}
|
|
3716
3731
|
];
|
|
3717
3732
|
}
|
|
@@ -3765,7 +3780,7 @@ async function runSingleEvalFile(params) {
|
|
|
3765
3780
|
await ensureFileExists(testFilePath, "Test file");
|
|
3766
3781
|
const resolvedTargetSelection = applyVerboseOverride(selection, options.verbose);
|
|
3767
3782
|
const providerLabel = options.dryRun ? `${resolvedTargetSelection.resolvedTarget.kind} (dry-run)` : resolvedTargetSelection.resolvedTarget.kind;
|
|
3768
|
-
const targetMessage = options.verbose ? `Using target (${resolvedTargetSelection.targetSource}): ${resolvedTargetSelection.targetName}
|
|
3783
|
+
const targetMessage = options.verbose ? `Using target (${resolvedTargetSelection.targetSource}): ${resolvedTargetSelection.targetName} ${buildTargetLabelSuffix(providerLabel, resolvedTargetSelection.resolvedTarget)} via ${resolvedTargetSelection.targetsFilePath}` : `Using target: ${inlineTargetLabel}`;
|
|
3769
3784
|
if (!progressReporter.isInteractive || options.verbose) {
|
|
3770
3785
|
console.log(targetMessage);
|
|
3771
3786
|
}
|
|
@@ -3923,7 +3938,7 @@ async function runEvalCommand(input) {
|
|
|
3923
3938
|
const useFileExport = !!(options.otelFile || options.traceFile);
|
|
3924
3939
|
if (options.exportOtel || useFileExport) {
|
|
3925
3940
|
try {
|
|
3926
|
-
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-
|
|
3941
|
+
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-NOJMJ5CF.js");
|
|
3927
3942
|
let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
|
|
3928
3943
|
let headers = {};
|
|
3929
3944
|
if (options.otelBackend) {
|
|
@@ -4245,4 +4260,4 @@ export {
|
|
|
4245
4260
|
selectTarget,
|
|
4246
4261
|
runEvalCommand
|
|
4247
4262
|
};
|
|
4248
|
-
//# sourceMappingURL=chunk-
|
|
4263
|
+
//# sourceMappingURL=chunk-IUNL3OJU.js.map
|