agentv 3.2.3 → 3.2.4

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.
Files changed (32) hide show
  1. package/dist/{agentv-provider-5CJVBBGG-CWG26WRA.js → agentv-provider-HDSAUUEF-LUBMM7TH.js} +2 -2
  2. package/dist/{chunk-6BA56F67.js → chunk-AR3QEKXH.js} +4351 -1652
  3. package/dist/chunk-AR3QEKXH.js.map +1 -0
  4. package/dist/{chunk-HSLVKD7U.js → chunk-E5M4NOFQ.js} +19 -5
  5. package/dist/{chunk-HSLVKD7U.js.map → chunk-E5M4NOFQ.js.map} +1 -1
  6. package/dist/{chunk-3L2L5GIL.js → chunk-HQDCIXVH.js} +3 -3
  7. package/dist/{chunk-3L2L5GIL.js.map → chunk-HQDCIXVH.js.map} +1 -1
  8. package/dist/chunk-JFD3TI3N.js +456 -0
  9. package/dist/chunk-JFD3TI3N.js.map +1 -0
  10. package/dist/{chunk-WW3AL6CM.js → chunk-O3KO5MUH.js} +4 -4
  11. package/dist/{chunk-3S5ABGLC.js → chunk-VBGYESW7.js} +10385 -3754
  12. package/dist/chunk-VBGYESW7.js.map +1 -0
  13. package/dist/cli.js +5 -5
  14. package/dist/{dist-4QBXVHRX.js → dist-WJ4A7XQQ.js} +4 -4
  15. package/dist/index.js +5 -5
  16. package/dist/{interactive-TLLJMCWK.js → interactive-VWMIIF4F.js} +5 -5
  17. package/dist/templates/.agentv/config.yaml +0 -5
  18. package/dist/templates/.agentv/targets.yaml +16 -0
  19. package/dist/{token-POXF46NU.js → token-OWTDW6LT.js} +8 -8
  20. package/dist/token-OWTDW6LT.js.map +1 -0
  21. package/dist/{token-util-6GWYZWGE.js → token-util-S5R2C23V.js} +3 -3
  22. package/package.json +3 -3
  23. package/dist/chunk-3S5ABGLC.js.map +0 -1
  24. package/dist/chunk-6BA56F67.js.map +0 -1
  25. package/dist/chunk-BL4PVUAT.js +0 -261
  26. package/dist/chunk-BL4PVUAT.js.map +0 -1
  27. package/dist/token-POXF46NU.js.map +0 -1
  28. /package/dist/{agentv-provider-5CJVBBGG-CWG26WRA.js.map → agentv-provider-HDSAUUEF-LUBMM7TH.js.map} +0 -0
  29. /package/dist/{chunk-WW3AL6CM.js.map → chunk-O3KO5MUH.js.map} +0 -0
  30. /package/dist/{dist-4QBXVHRX.js.map → dist-WJ4A7XQQ.js.map} +0 -0
  31. /package/dist/{interactive-TLLJMCWK.js.map → interactive-VWMIIF4F.js.map} +0 -0
  32. /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-3S5ABGLC.js";
28
+ } from "./chunk-VBGYESW7.js";
29
29
 
30
30
  // package.json
31
31
  var package_default = {
32
32
  name: "agentv",
33
- version: "3.2.3",
33
+ version: "3.2.4",
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": "^2.0.0",
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",
@@ -2628,6 +2628,18 @@ var OPENAI_SETTINGS = /* @__PURE__ */ new Set([
2628
2628
  "max_output_tokens",
2629
2629
  "maxTokens"
2630
2630
  ]);
2631
+ var OPENROUTER_SETTINGS = /* @__PURE__ */ new Set([
2632
+ ...COMMON_SETTINGS,
2633
+ ...RETRY_SETTINGS,
2634
+ "api_key",
2635
+ "apiKey",
2636
+ "model",
2637
+ "deployment",
2638
+ "variant",
2639
+ "temperature",
2640
+ "max_output_tokens",
2641
+ "maxTokens"
2642
+ ]);
2631
2643
  var ANTHROPIC_SETTINGS = /* @__PURE__ */ new Set([
2632
2644
  ...COMMON_SETTINGS,
2633
2645
  ...RETRY_SETTINGS,
@@ -2769,6 +2781,8 @@ function getKnownSettings(provider) {
2769
2781
  switch (normalizedProvider) {
2770
2782
  case "openai":
2771
2783
  return OPENAI_SETTINGS;
2784
+ case "openrouter":
2785
+ return OPENROUTER_SETTINGS;
2772
2786
  case "azure":
2773
2787
  case "azure-openai":
2774
2788
  return AZURE_SETTINGS;
@@ -3956,7 +3970,7 @@ async function runEvalCommand(input) {
3956
3970
  const useFileExport = !!(options.otelFile || options.traceFile);
3957
3971
  if (options.exportOtel || useFileExport) {
3958
3972
  try {
3959
- const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-4QBXVHRX.js");
3973
+ const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-WJ4A7XQQ.js");
3960
3974
  let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
3961
3975
  let headers = {};
3962
3976
  if (options.otelBackend) {
@@ -4278,4 +4292,4 @@ export {
4278
4292
  selectTarget,
4279
4293
  runEvalCommand
4280
4294
  };
4281
- //# sourceMappingURL=chunk-HSLVKD7U.js.map
4295
+ //# sourceMappingURL=chunk-E5M4NOFQ.js.map