agentv 3.5.0 → 3.7.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/README.md CHANGED
@@ -31,6 +31,11 @@ If you are not using Claude plugins, use the CLI directly.
31
31
 
32
32
  **1. Install:**
33
33
  ```bash
34
+ bun install -g agentv
35
+ ```
36
+
37
+ Or with npm:
38
+ ```bash
34
39
  npm install -g agentv
35
40
  ```
36
41
 
@@ -77,7 +82,7 @@ Learn more in the [examples/](examples/README.md) directory. For a detailed comp
77
82
 
78
83
  | Feature | AgentV | [LangWatch](https://github.com/langwatch/langwatch) | [LangSmith](https://github.com/langchain-ai/langsmith-sdk) | [LangFuse](https://github.com/langfuse/langfuse) |
79
84
  |---------|--------|-----------|-----------|----------|
80
- | **Setup** | `npm install agentv` | Cloud account + API key | Cloud account + API key | Cloud account + API key |
85
+ | **Setup** | `bun install -g agentv` | Cloud account + API key | Cloud account + API key | Cloud account + API key |
81
86
  | **Server** | None (local) | Managed cloud | Managed cloud | Managed cloud |
82
87
  | **Privacy** | All local | Cloud-hosted | Cloud-hosted | Cloud-hosted |
83
88
  | **CLI-first** | ✓ | ✗ | Limited | Limited |
@@ -562,10 +567,16 @@ Automatically retries on rate limits, transient 5xx errors, and network failures
562
567
 
563
568
  ## Troubleshooting
564
569
 
565
- ### `EACCES` permission error on global install
570
+ ### `EACCES` permission error on global install (npm)
566
571
 
567
- If you see `EACCES: permission denied` when running `npm install -g agentv`, npm is trying to write to a system directory. Fix this by configuring npm to use a user-owned directory:
572
+ If you see `EACCES: permission denied` when running `npm install -g agentv`, switch to bun (recommended) or configure npm to use a user-owned directory:
573
+
574
+ **Option 1 (recommended): Use bun instead**
575
+ ```bash
576
+ bun install -g agentv
577
+ ```
568
578
 
579
+ **Option 2: Fix npm permissions**
569
580
  ```bash
570
581
  mkdir -p ~/.npm-global
571
582
  npm config set prefix ~/.npm-global --location=user
@@ -25,12 +25,12 @@ import {
25
25
  subscribeToCopilotCliLogEntries,
26
26
  subscribeToCopilotSdkLogEntries,
27
27
  subscribeToPiLogEntries
28
- } from "./chunk-D6G4N2H2.js";
28
+ } from "./chunk-XGG64VIY.js";
29
29
 
30
30
  // package.json
31
31
  var package_default = {
32
32
  name: "agentv",
33
- version: "3.5.0",
33
+ version: "3.7.0",
34
34
  description: "CLI entry point for AgentV",
35
35
  type: "module",
36
36
  repository: {
@@ -1328,7 +1328,7 @@ var SCRIPT = `
1328
1328
  if(r.input!=null){
1329
1329
  h+='<div class="detail-block"><h4>Input</h4><pre class="detail-pre">'+esc(typeof r.input==="string"?r.input:JSON.stringify(r.input,null,2))+"</pre></div>";
1330
1330
  }
1331
- h+='<div class="detail-block"><h4>Output</h4><pre class="detail-pre">'+esc(r.answer||"")+"</pre></div>";
1331
+ h+='<div class="detail-block"><h4>Output</h4><pre class="detail-pre">'+esc(r.outputText||"")+"</pre></div>";
1332
1332
  h+="</div>";
1333
1333
 
1334
1334
  /* evaluator results */
@@ -4044,7 +4044,7 @@ async function runEvalCommand(input) {
4044
4044
  const useFileExport = !!(options.otelFile || options.traceFile);
4045
4045
  if (options.exportOtel || useFileExport) {
4046
4046
  try {
4047
- const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-MZFXE6B5.js");
4047
+ const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-VP6AXX6B.js");
4048
4048
  let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
4049
4049
  let headers = {};
4050
4050
  if (options.otelBackend) {
@@ -4386,4 +4386,4 @@ export {
4386
4386
  selectTarget,
4387
4387
  runEvalCommand
4388
4388
  };
4389
- //# sourceMappingURL=chunk-RLL4QGNL.js.map
4389
+ //# sourceMappingURL=chunk-7YS6YNJZ.js.map