agent-inspect 5.2.0 → 5.3.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/CHANGELOG.md +6 -0
- package/docs/CLI.md +23 -0
- package/package.json +1 -1
- package/packages/cli/dist/{chunk-SJ5R2XBE.mjs → chunk-4LKKB4Z5.mjs} +2 -2
- package/packages/cli/dist/{chunk-SJ5R2XBE.mjs.map → chunk-4LKKB4Z5.mjs.map} +1 -1
- package/packages/cli/dist/index.cjs +2362 -2163
- package/packages/cli/dist/index.cjs.map +1 -1
- package/packages/cli/dist/index.mjs +2299 -2107
- package/packages/cli/dist/index.mjs.map +1 -1
- package/packages/cli/dist/{src-PK22BBMH.mjs → src-4SGS3Q2D.mjs} +3 -3
- package/packages/cli/dist/{src-PK22BBMH.mjs.map → src-4SGS3Q2D.mjs.map} +1 -1
- package/packages/core/dist/advanced.cjs +2 -0
- package/packages/core/dist/advanced.d.cts +8 -4
- package/packages/core/dist/advanced.d.ts +8 -4
- package/packages/core/dist/advanced.mjs +1 -0
- package/packages/core/dist/advanced.mjs.map +1 -1
- package/packages/core/dist/checks.d.cts +1 -1
- package/packages/core/dist/checks.d.ts +1 -1
- package/packages/core/dist/{context-Cp8NRbBX.d.ts → context-BJ5UQLDi.d.ts} +1 -1
- package/packages/core/dist/{context-BbfkMYjz.d.cts → context-DyKbkmd4.d.cts} +1 -1
- package/packages/core/dist/index.d.cts +2 -2
- package/packages/core/dist/index.d.ts +2 -2
- package/packages/core/dist/{types-CvsKGweN.d.cts → types-J3Xtuf9x.d.cts} +13 -1
- package/packages/core/dist/{types-CvsKGweN.d.ts → types-J3Xtuf9x.d.ts} +13 -1
package/CHANGELOG.md
CHANGED
package/docs/CLI.md
CHANGED
|
@@ -995,6 +995,29 @@ npx agent-inspect gate --dir fixtures/cohorts/before-after --max-error-rate 5 --
|
|
|
995
995
|
|
|
996
996
|
Recipe: [github-actions-gate](../examples/recipes/github-actions-gate/README.md).
|
|
997
997
|
|
|
998
|
+
### 6.28 `viewer`
|
|
999
|
+
|
|
1000
|
+
Start the **localhost read-only viewer** for traces, suite evidence, or workspace status (v5.3+).
|
|
1001
|
+
|
|
1002
|
+
```bash
|
|
1003
|
+
agent-inspect viewer [--suite | --workspace] [options]
|
|
1004
|
+
```
|
|
1005
|
+
|
|
1006
|
+
Options:
|
|
1007
|
+
|
|
1008
|
+
- `--suite` — suite evidence mode (runs suite config and shows case status, failures, observations)
|
|
1009
|
+
- `--workspace` — workspace mode (project status, runs, artifacts)
|
|
1010
|
+
- `--config <path>` — suite config for `--suite` mode
|
|
1011
|
+
- `--dir <path>` — trace directory (trace mode default)
|
|
1012
|
+
- `--host`, `--port`, `--open` — same as `serve`
|
|
1013
|
+
|
|
1014
|
+
Example:
|
|
1015
|
+
|
|
1016
|
+
```bash
|
|
1017
|
+
npx agent-inspect viewer --suite --config fixtures/configs/outcome-suite.suite.json
|
|
1018
|
+
npx agent-inspect viewer --workspace
|
|
1019
|
+
```
|
|
1020
|
+
|
|
998
1021
|
## 7. Optional TUI behavior
|
|
999
1022
|
|
|
1000
1023
|
`view --tui` delegates to `@agent-inspect/tui` and requires an interactive terminal. If the package is not installed, the CLI prints a short install hint.
|
package/package.json
CHANGED
|
@@ -8889,5 +8889,5 @@ function renderGateReport(result, options = {}) {
|
|
|
8889
8889
|
}
|
|
8890
8890
|
|
|
8891
8891
|
export { COHORT_METRIC_IDS, DEFAULT_SUITE_ARTIFACTS_DIR, Redactor, TraceDirectory, TraceReadError, TreeBuilder, __commonJS, __require, __toESM, aggregateBundleSafeStatus, aggregateSessionCheckResults, analyzeCohort, applyProfileMetadataCaps, buildActivitySummary, buildBundleMetadata, buildBundleSummaryMarkdown, buildLocalExplanation, buildPlaceholderArtifact, buildRunSummary, buildRunTimeline, buildRunWhatSummary, buildSessionIndex, buildTraceStats, bundleFailsOnSafety, compactAttributes3 as compactAttributes, createBaselineRegressionRule, createLlmUsageRule, createMaxStepDurationRule, createObservedOutcomeRule, createRequireCompletedRule, createRunDepthRule, createRunDurationRule, createRunStatusRule, createSafetyOversizedAttributeRule, createSafetyRawContentRule, createSafetyRedactionRule, createSafetySecretPatternRule, createStallDetectionRule, createStructureCycleRule, createStructureOrphanRule, createStructureParallelWidthRule, createStructureRelationshipRule, createToolUsageRule, defaultBundleOutputPath, defaultSuiteConfigTemplate, enrichSessionRunRecord, escapeHtml, escapeMarkdown, extractMetadata, extractOutcomesFromTraceEvents, filterMetasBySessionScope, filterTraces, flattenTree, formatDuration2 as formatDuration, formatTimestamp, gateHasThresholds, getIndent, getTraceFilePath, isAgentInspectTrace, isPersistedInspectEvent, loadSessionRunRecords, loadSuiteConfig, loadTraceMetadataList, nanoid, normalizeBundleOutputPath, openTrace, parseCohortMetricList, parseDuration, parseDurationFilter, parseGateList, parseTraceJsonl, persistedInspectEventsToTraceEvents, renderActivitySummaryHuman, renderCohortReport, renderErrorLine, renderGateReport, renderObservedOutcomesHtml, renderObservedOutcomesMarkdown, renderRunWhat, renderStepLine, renderSuiteReport, renderTimeline, renderTraceStats, resolveBundleRunIds, resolveRedactionProfile, resolveTraceDir, runGate, runSuite, runTraceChecks, safeString, searchTraces, source_default, stableJson, summarizeObservedOutcomes, traceEventToPersistedInspectEvent, truncateName, truncateStringForProfile, validateEvent, validateSuiteConfig, zeroKinds };
|
|
8892
|
-
//# sourceMappingURL=chunk-
|
|
8893
|
-
//# sourceMappingURL=chunk-
|
|
8892
|
+
//# sourceMappingURL=chunk-4LKKB4Z5.mjs.map
|
|
8893
|
+
//# sourceMappingURL=chunk-4LKKB4Z5.mjs.map
|