@vatio-ai/cli 0.92.0 → 0.92.1
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/lib/commands/improve.mjs +3 -4
- package/lib/help.mjs +3 -4
- package/package.json +1 -1
package/lib/commands/improve.mjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// All print markdown, because the reader is usually a coding agent: `vatio
|
|
5
5
|
// flags` is the document it fixes the agent from, `vatio test` is the
|
|
6
6
|
// evidence that the fix worked on preview before `vatio publish` takes it
|
|
7
|
-
// live, and `vatio tools` is
|
|
8
|
-
// reported.
|
|
7
|
+
// live, and `vatio tools` is how each tool's backend has been answering, for
|
|
8
|
+
// the failures nobody reported.
|
|
9
9
|
|
|
10
10
|
import { mkdirSync, writeFileSync } from "node:fs";
|
|
11
11
|
import { dirname, resolve } from "node:path";
|
|
@@ -144,8 +144,7 @@ async function removeFlags(config, ids) {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
// Each tool's calls, error rate, timeouts and p50/p95 latency over a period,
|
|
147
|
-
// then the calls that failed with what your backend answered
|
|
148
|
-
// Tools page.
|
|
147
|
+
// then the calls that failed with what your backend answered.
|
|
149
148
|
export async function tools(config, args) {
|
|
150
149
|
const environment = takeEnv(args, { fallback: "live" });
|
|
151
150
|
const period = takeValue(args, "--period");
|
package/lib/help.mjs
CHANGED
|
@@ -85,10 +85,9 @@ Commands default as listed.
|
|
|
85
85
|
flags rm ID [ID...] Remove a report and its test case, open or
|
|
86
86
|
resolved, as the inbox's Remove does
|
|
87
87
|
tools [--env NAME] [--period 1h|1d|7d|30d] [--json]
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
live, 7d
|
|
88
|
+
Each tool's calls, error rate, timeouts and
|
|
89
|
+
p50/p95, then the calls that failed with what
|
|
90
|
+
your backend answered. Default: live, 7d
|
|
92
91
|
test [--env NAME] [--agent SLUG]
|
|
93
92
|
Test every report and test against preview
|
|
94
93
|
(default): starts the runs on Vatio's servers,
|