@syrin/iris 0.5.0 → 0.8.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/dist/cli.js +6568 -3488
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1720 -342
- package/dist/next.js +5 -1
- package/dist/server.d.ts +9 -0
- package/dist/server.js +5862 -3584
- package/dist/test.js +5573 -3398
- package/dist/vite.d.ts +43 -0
- package/dist/vite.js +148 -0
- package/package.json +15 -10
package/dist/next.js
CHANGED
|
@@ -11,7 +11,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
11
11
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
12
|
});
|
|
13
13
|
var __commonJS = (cb, mod) => function __require2() {
|
|
14
|
-
|
|
14
|
+
try {
|
|
15
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
|
+
} catch (e) {
|
|
17
|
+
throw mod = 0, e;
|
|
18
|
+
}
|
|
15
19
|
};
|
|
16
20
|
var __copyProps = (to, from, except, desc) => {
|
|
17
21
|
if (from && typeof from === "object" || typeof from === "function") {
|
package/dist/server.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ export { Clock, FlowResult, FlowStore, recordedStepToFlowStep } from './flows/fl
|
|
|
9
9
|
export { CompiledProgram, RecordedStep, RecordingStore } from './flows/recordings.js';
|
|
10
10
|
export { CrawlAnomaly, CrawlOptions, CrawlReport, CrawlSession, crawl } from './crawl/crawl.js';
|
|
11
11
|
export { DiffOptions, VisualDiffResult, VisualRect, diffPng } from './visual/visual-diff.js';
|
|
12
|
+
export { DomainFlowSummary, DomainGaps, DomainModel, buildDomainModel } from './domain/domain-model.js';
|
|
12
13
|
export { EvalResult, Predicate, PredicateSchema, evaluatePredicate, waitForPredicate } from './events/predicate.js';
|
|
13
14
|
export { FileSystemPort, createNodeFileSystem } from './project/fs-port.js';
|
|
15
|
+
export { FlowAssertionClassification, FlowAssertionGrade, classifyFlowAssertions } from './flows/flow-classify.js';
|
|
14
16
|
export { FlowReplaySession, WaitForSignal, nearestTestid, replayFlow } from './flows/flow-replay.js';
|
|
15
17
|
export { IrisDirPaths, ReadContractResult, baselinePath, ensureIrisDir, flowPath, irisDirPaths, readContract, writeContract } from './project/iris-dir.js';
|
|
16
18
|
export { IrisTool } from './tools/tool-names.js';
|
|
@@ -24,11 +26,18 @@ export { Session, SessionHealth, SessionInfo, SessionManager } from './session/s
|
|
|
24
26
|
export { TOOLS, ToolDef, ToolDeps } from './tools/tools.js';
|
|
25
27
|
export { ToolInvoker, UNKNOWN_TOOL_ERROR, createToolInvoker } from './tools/tool-invoker.js';
|
|
26
28
|
export { VisualStore } from './visual/visual-store.js';
|
|
29
|
+
export { assertSuccess, dynamicTestids, successLabel, successToPredicate } from './flows/flow-success.js';
|
|
27
30
|
export { buildReactionReport } from './events/reaction.js';
|
|
28
31
|
export { isAlive, isRunning, logPath, readPid, removePid, writePid } from './daemon.js';
|
|
29
32
|
|
|
30
33
|
interface StartOptions {
|
|
31
34
|
port?: number;
|
|
35
|
+
/** Bind address. Non-loopback hosts require a token. Defaults to IRIS_HOST or localhost. */
|
|
36
|
+
host?: string;
|
|
37
|
+
/** Browser/bridge pairing token. Defaults to IRIS_TOKEN. */
|
|
38
|
+
token?: string;
|
|
39
|
+
/** Browser origins allowed in addition to localhost. Defaults to IRIS_ALLOWED_ORIGINS. */
|
|
40
|
+
allowedOrigins?: string[];
|
|
32
41
|
/** When false, skip the MCP stdio transport (used in tests). */
|
|
33
42
|
mcp?: boolean;
|
|
34
43
|
/** CDP endpoint for native real-input mode. Defaults to env IRIS_CDP_URL. No-op if unset. */
|