agentv 3.2.2 → 3.2.3

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.
@@ -25,12 +25,12 @@ import {
25
25
  subscribeToCopilotCliLogEntries,
26
26
  subscribeToCopilotSdkLogEntries,
27
27
  subscribeToPiLogEntries
28
- } from "./chunk-QHH6QXNY.js";
28
+ } from "./chunk-3S5ABGLC.js";
29
29
 
30
30
  // package.json
31
31
  var package_default = {
32
32
  name: "agentv",
33
- version: "3.2.2",
33
+ version: "3.2.3",
34
34
  description: "CLI entry point for AgentV",
35
35
  type: "module",
36
36
  repository: {
@@ -58,6 +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
62
  "@anthropic-ai/claude-agent-sdk": "^0.2.49",
62
63
  "@github/copilot-sdk": "^0.1.25",
63
64
  "@inquirer/prompts": "^8.2.1",
@@ -2612,6 +2613,21 @@ var AZURE_SETTINGS = /* @__PURE__ */ new Set([
2612
2613
  "max_output_tokens",
2613
2614
  "maxTokens"
2614
2615
  ]);
2616
+ var OPENAI_SETTINGS = /* @__PURE__ */ new Set([
2617
+ ...COMMON_SETTINGS,
2618
+ ...RETRY_SETTINGS,
2619
+ "endpoint",
2620
+ "base_url",
2621
+ "baseUrl",
2622
+ "api_key",
2623
+ "apiKey",
2624
+ "model",
2625
+ "deployment",
2626
+ "variant",
2627
+ "temperature",
2628
+ "max_output_tokens",
2629
+ "maxTokens"
2630
+ ]);
2615
2631
  var ANTHROPIC_SETTINGS = /* @__PURE__ */ new Set([
2616
2632
  ...COMMON_SETTINGS,
2617
2633
  ...RETRY_SETTINGS,
@@ -2751,6 +2767,8 @@ var CLAUDE_SETTINGS = /* @__PURE__ */ new Set([
2751
2767
  function getKnownSettings(provider) {
2752
2768
  const normalizedProvider = provider.toLowerCase();
2753
2769
  switch (normalizedProvider) {
2770
+ case "openai":
2771
+ return OPENAI_SETTINGS;
2754
2772
  case "azure":
2755
2773
  case "azure-openai":
2756
2774
  return AZURE_SETTINGS;
@@ -3938,7 +3956,7 @@ async function runEvalCommand(input) {
3938
3956
  const useFileExport = !!(options.otelFile || options.traceFile);
3939
3957
  if (options.exportOtel || useFileExport) {
3940
3958
  try {
3941
- const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-NOJMJ5CF.js");
3959
+ const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-4QBXVHRX.js");
3942
3960
  let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
3943
3961
  let headers = {};
3944
3962
  if (options.otelBackend) {
@@ -4260,4 +4278,4 @@ export {
4260
4278
  selectTarget,
4261
4279
  runEvalCommand
4262
4280
  };
4263
- //# sourceMappingURL=chunk-IUNL3OJU.js.map
4281
+ //# sourceMappingURL=chunk-HSLVKD7U.js.map