agent-inspect 6.17.0 → 6.17.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.
|
@@ -12,7 +12,7 @@ import { spawn } from 'child_process';
|
|
|
12
12
|
import { createRequire } from 'module';
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
|
-
var version = "6.17.
|
|
15
|
+
var version = "6.17.1";
|
|
16
16
|
|
|
17
17
|
// packages/cli/src/trace-dir-scale.ts
|
|
18
18
|
var TRACE_COUNT_WARN = 1e3;
|
|
@@ -12225,11 +12225,17 @@ function createCliProgram() {
|
|
|
12225
12225
|
});
|
|
12226
12226
|
bundleCmd.command("verify").description("Verify Evidence v2 integrity (manifest, hashes, presence)").argument("<path>", "evidence/bundle directory containing evidence.json").addOption(
|
|
12227
12227
|
new Option("--unexpected <mode>", "policy for files not listed in the manifest").choices(["fail", "warn", "ignore"]).default("fail")
|
|
12228
|
-
).option("--json", "print deterministic JSON verify result").action((targetPath, opts) => {
|
|
12229
|
-
|
|
12228
|
+
).option("--json", "print deterministic JSON verify result").action((targetPath, opts, command) => {
|
|
12229
|
+
const merged = {
|
|
12230
|
+
...opts,
|
|
12231
|
+
...command.optsWithGlobals?.() ?? {}
|
|
12232
|
+
};
|
|
12233
|
+
const json = opts.json === true || merged.json === true || process.argv.includes("--json");
|
|
12234
|
+
runCommand(() => bundleVerifyCommand(targetPath, { ...opts, json }));
|
|
12230
12235
|
});
|
|
12231
12236
|
bundleCmd.command("open").description("Verify then open local Evidence HTML in the platform browser (no network)").argument("<path>", "evidence/bundle directory or evidence.html path").option("--skip-verify", "skip integrity verify before open (not recommended)").option("--json", "print deterministic JSON open result").action((targetPath, opts) => {
|
|
12232
|
-
|
|
12237
|
+
const json = opts.json === true || process.argv.includes("--json");
|
|
12238
|
+
runCommand(() => bundleOpenCommand(targetPath, { ...opts, json }));
|
|
12233
12239
|
});
|
|
12234
12240
|
program.command("ci-summary").description("Summarize local reporter artifact manifests for CI").argument("<manifest...>", "reporter artifact manifest JSON files").option("-o, --output <path>", "write Markdown summary to a local file").option("--github-summary <path>", "append Markdown summary to this local file, e.g. GITHUB_STEP_SUMMARY").option("--json", "print deterministic JSON summary").action((manifest, opts) => {
|
|
12235
12241
|
runCommand(() => ciSummaryCommand(manifest, opts));
|