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 +14 -3
- package/dist/{chunk-RLL4QGNL.js → chunk-7YS6YNJZ.js} +5 -5
- package/dist/chunk-7YS6YNJZ.js.map +1 -0
- package/dist/{chunk-5GG6DDP5.js → chunk-TR6H437M.js} +14 -16
- package/dist/chunk-TR6H437M.js.map +1 -0
- package/dist/{chunk-D6G4N2H2.js → chunk-XGG64VIY.js} +80 -69
- package/dist/chunk-XGG64VIY.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{dist-MZFXE6B5.js → dist-VP6AXX6B.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-J7SUWZH2.js → interactive-F6XECJ33.js} +3 -3
- package/dist/templates/.agentv/.env.example +9 -11
- package/dist/templates/.agentv/config.yaml +0 -5
- package/dist/templates/.agentv/targets.yaml +16 -0
- package/package.json +1 -1
- package/dist/chunk-5GG6DDP5.js.map +0 -1
- package/dist/chunk-D6G4N2H2.js.map +0 -1
- package/dist/chunk-RLL4QGNL.js.map +0 -1
- /package/dist/{dist-MZFXE6B5.js.map → dist-VP6AXX6B.js.map} +0 -0
- /package/dist/{interactive-J7SUWZH2.js.map → interactive-F6XECJ33.js.map} +0 -0
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** | `
|
|
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`,
|
|
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-
|
|
28
|
+
} from "./chunk-XGG64VIY.js";
|
|
29
29
|
|
|
30
30
|
// package.json
|
|
31
31
|
var package_default = {
|
|
32
32
|
name: "agentv",
|
|
33
|
-
version: "3.
|
|
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.
|
|
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-
|
|
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-
|
|
4389
|
+
//# sourceMappingURL=chunk-7YS6YNJZ.js.map
|