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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 165b1dc: Add suite and workspace viewer modes with `agent-inspect viewer --suite` and `--workspace` for local read-only evidence inspection.
8
+
3
9
  ## 5.2.0
4
10
 
5
11
  ### Minor Changes
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-inspect",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Trace, check, and safely share TypeScript AI-agent runs locally — no account, no upload, metadata-only by default",
@@ -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-SJ5R2XBE.mjs.map
8893
- //# sourceMappingURL=chunk-SJ5R2XBE.mjs.map
8892
+ //# sourceMappingURL=chunk-4LKKB4Z5.mjs.map
8893
+ //# sourceMappingURL=chunk-4LKKB4Z5.mjs.map