SnagBadgerA little help for every snag.

Supported public APIs#

Import supported package entries, never private implementation paths. The generated API inventory reflects exports at the site's tested revision; the source links below identify those entry files. Curated guides explain how to use the contracts.

Portable reporting#

EntryMain public operationsSource
@snagbadger/reportingcreateBugReport, parseBugReport, reviseBugReport, removeReportEvidence; shared evidence/expectation/timestamp validation and verification invalidationEntry
@snagbadger/reporting/bundlecreateReportBundle, prepareReportExport, importReportBundle, submitBugReport, redactReportSecrets, IncompleteDeliveryErrorEntry
@snagbadger/capturePortable Evidence, RecordedInteraction, JsonValue typesEntry

The report model includes stable identity/revision, expected/actual behavior, hypotheses, authored steps, actual interactions, evidence, reproduction data and source snapshots. Functions-only reporting loads no React/CSS. Bundle/rendering behavior is an optional entry.

Start with first portable report; canonical portable guidance explains mutation, sanitization and delivery semantics. Capture types do not collect browser evidence.

Catalog and execution#

EntryMain public operationsSource
@snagbadger/agent-catalogdiscoverCatalog, selectCatalogTests, resolveCatalogTest, testContext, parseCatalog, selectTests; catalog/source/test/section/settings and hook typesEntry
@snagbadger/agent-executionexecuteCatalog; runtime, session, task packet, hook and execution option typesEntry

The catalog consumes source paths/content; filesystem discovery belongs to tooling. Execution consumes a supplied Runtime; it does not secretly install tools or operate an MCP. Runner commands provide the filesystem bridge's supported CLI.

Results and HTML view#

EntryMain public operationsSource
@snagbadger/agent-reportingparseTestRun, defaultRunPolicy, summarizeResult, appendAttempt, addResultComment, requestedScreenshots, assessRegressionCandidate, createBugFromResultEntry
@snagbadger/agent-reporting/htmlcreateTestRunReport, parseRunReportView; run-view/options typesEntry

Result and bug-report models remain distinct, sharing evidence/validation semantics. Read runs and attempts and review/promotion before interpreting summary results.

Reporter composition and session lifecycle#

EntryMain public operationsSource
@snagbadger/configurationcomposeConfiguration, pipeConfiguration, removeAdapter, replaceAdapters, selectConfiguration, resolveConfiguration, resolveSettingsEntry
@snagbadger/reporting/sessioncreateReportingRuntime; reporting adapter, session, selection and failure typesEntry
@snagbadger/embeddingLauncherAdapter type for host-owned mounting and disposalEntry

Capture also supplies portable CaptureAdapter, ActiveCapture, CaptureOutput and cancellation/context types. These interfaces support developer-owned integrations; they do not install a browser collector or launcher. See configure reporting for a runnable empty session and the implemented contracts for lifecycle and settings behavior.

Experimental and reserved entries#

@snagbadger/reporting/theming-prototype supplies the maintained experimental React component with separately imported layout/default/host styles. Sample site identifies simulated behavior. The empty reporting/browser entry is reserved; embedding supplies a launcher interface rather than a built-in working launcher.

All packages share one repository version. formatVersion: 1 identifies serialized data formats independently of package version. No multi-version documentation or published release availability is implied.