@reticlehq/core 1.3.0 → 2.0.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.
Files changed (80) hide show
  1. package/README.md +14 -86
  2. package/dist/brand.d.ts +21 -0
  3. package/dist/brand.d.ts.map +1 -0
  4. package/dist/brand.js +16 -0
  5. package/dist/brand.js.map +1 -0
  6. package/dist/constants.d.ts +371 -0
  7. package/dist/constants.d.ts.map +1 -0
  8. package/dist/constants.js +343 -0
  9. package/dist/constants.js.map +1 -0
  10. package/dist/flow-constants.d.ts +175 -0
  11. package/dist/flow-constants.d.ts.map +1 -0
  12. package/dist/flow-constants.js +162 -0
  13. package/dist/flow-constants.js.map +1 -0
  14. package/dist/flow-types.d.ts +1182 -0
  15. package/dist/flow-types.d.ts.map +1 -0
  16. package/dist/flow-types.js +144 -0
  17. package/dist/flow-types.js.map +1 -0
  18. package/dist/index.d.ts +13 -2
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +13 -5543
  21. package/dist/index.js.map +1 -0
  22. package/dist/messages.d.ts +424 -0
  23. package/dist/messages.d.ts.map +1 -0
  24. package/dist/messages.js +103 -0
  25. package/dist/messages.js.map +1 -0
  26. package/dist/notices.d.ts +47 -0
  27. package/dist/notices.d.ts.map +1 -0
  28. package/dist/notices.js +51 -0
  29. package/dist/notices.js.map +1 -0
  30. package/dist/schema/command-message.json +41 -0
  31. package/dist/schema/command-result.json +34 -0
  32. package/dist/schema/event-message.json +77 -0
  33. package/dist/schema/event-type.json +35 -0
  34. package/dist/schema/hello-message.json +59 -0
  35. package/dist/schema/reticle-event.json +63 -0
  36. package/dist/schema/reticle-message.json +193 -0
  37. package/dist/security.d.ts +5 -0
  38. package/dist/security.d.ts.map +1 -0
  39. package/dist/security.js +22 -0
  40. package/dist/security.js.map +1 -0
  41. package/dist/session-constants.d.ts +116 -0
  42. package/dist/session-constants.d.ts.map +1 -0
  43. package/dist/session-constants.js +113 -0
  44. package/dist/session-constants.js.map +1 -0
  45. package/dist/state-select.d.ts +23 -0
  46. package/dist/state-select.d.ts.map +1 -0
  47. package/dist/state-select.js +60 -0
  48. package/dist/state-select.js.map +1 -0
  49. package/dist/toon.d.ts +44 -0
  50. package/dist/toon.d.ts.map +1 -0
  51. package/dist/toon.js +153 -0
  52. package/dist/toon.js.map +1 -0
  53. package/dist/types.d.ts +833 -0
  54. package/dist/types.d.ts.map +1 -0
  55. package/dist/types.js +165 -0
  56. package/dist/types.js.map +1 -0
  57. package/dist/upgrade.d.ts +74 -0
  58. package/dist/upgrade.d.ts.map +1 -0
  59. package/dist/upgrade.js +88 -0
  60. package/dist/upgrade.js.map +1 -0
  61. package/dist/verification-run.d.ts +1195 -0
  62. package/dist/verification-run.d.ts.map +1 -0
  63. package/dist/verification-run.js +261 -0
  64. package/dist/verification-run.js.map +1 -0
  65. package/package.json +32 -79
  66. package/dist/babel.d.ts +0 -7
  67. package/dist/babel.js +0 -32
  68. package/dist/cli.d.ts +0 -1
  69. package/dist/cli.js +0 -11264
  70. package/dist/eslint.d.ts +0 -1
  71. package/dist/eslint.js +0 -134
  72. package/dist/loader.cjs +0 -52
  73. package/dist/next.d.ts +0 -21
  74. package/dist/next.js +0 -24
  75. package/dist/server.d.ts +0 -1
  76. package/dist/server.js +0 -9486
  77. package/dist/test.d.ts +0 -1
  78. package/dist/test.js +0 -9368
  79. package/dist/vite.d.ts +0 -1
  80. package/dist/vite.js +0 -196
@@ -0,0 +1,343 @@
1
+ /**
2
+ * Wire-level constants. No free strings anywhere in Reticle reference these directly —
3
+ * every string/number that crosses the browser <-> bridge <-> agent boundary is named here.
4
+ */
5
+ export const RETICLE_DEFAULT_PORT = 4400;
6
+ export const RETICLE_WS_PATH = '/reticle';
7
+ export const RETICLE_PROTOCOL_VERSION = 1;
8
+ /**
9
+ * Namespaced URL params a pooled/headless launcher appends to the app URL so the app's own SDK adopts
10
+ * the lease's identity (session + project) on connect — no app code changes. Wire contract shared by
11
+ * the server (BrowserPool/lease tools) and the browser SDK; namespaced to avoid clashing with the
12
+ * app's own query params.
13
+ */
14
+ export const RETICLE_URL_PARAM = {
15
+ SESSION: '__reticle_session',
16
+ PROJECT: '__reticle_project',
17
+ };
18
+ /** The loopback bind address. The daemon/bridge bind here by default — never expose Reticle off-host. */
19
+ export const LOOPBACK_HOST = '127.0.0.1';
20
+ /**
21
+ * Every environment variable Reticle reads, named once. A misspelled inline env string silently
22
+ * disables the control it gates (e.g. a typo'd `RETICLE_TOKEN` would disable auth) — so the names live
23
+ * here and nowhere else. The values are the literal process.env keys.
24
+ */
25
+ export const ReticleEnv = {
26
+ /** Shared-secret the browser SDK must present in HELLO; absent ⇒ loopback-trust only. */
27
+ TOKEN: 'RETICLE_TOKEN',
28
+ /** Bridge bind host. Defaults to loopback; setting anything else is opt-in remote exposure. */
29
+ HOST: 'RETICLE_HOST',
30
+ /** Comma-separated WS Origin allow-list for the bridge. */
31
+ ALLOWED_ORIGINS: 'RETICLE_ALLOWED_ORIGINS',
32
+ /** Bridge/daemon WS port override. */
33
+ PORT: 'RETICLE_PORT',
34
+ /** Attach to an already-running browser over CDP instead of launching one. */
35
+ CDP_URL: 'RETICLE_CDP_URL',
36
+ /** Max simultaneous leased headless contexts in the browser pool (resource cap). */
37
+ MAX_CONTEXTS: 'RETICLE_MAX_CONTEXTS',
38
+ /** Bearer token required by the optional `reticle serve --http` verify endpoint. */
39
+ VERIFY_TOKEN: 'RETICLE_VERIFY_TOKEN',
40
+ /** Ms of continuous idleness (no agent, no browser session, no lease) before the daemon self-exits;
41
+ * `0` disables. Keeps Reticle from lingering on a user's machine after the editor closes. */
42
+ IDLE_SHUTDOWN: 'RETICLE_IDLE_SHUTDOWN_MS',
43
+ /** Directory holding the auto-provisioned pairing token. Defaults to ~/.reticle; relocatable for CI. */
44
+ PAIRING_TOKEN_DIR: 'RETICLE_PAIRING_TOKEN_DIR',
45
+ };
46
+ /** Hard transport bounds shared by the browser and bridge. */
47
+ export const TRANSPORT_LIMITS = {
48
+ MAX_MESSAGE_BYTES: 1024 * 1024,
49
+ MAX_MESSAGES_PER_SECOND: 1000,
50
+ MAX_SESSIONS: 32,
51
+ MAX_PENDING_CONNECTIONS: 16,
52
+ HELLO_TIMEOUT_MS: 5000,
53
+ MAX_BUFFER_BYTES: 8 * 1024 * 1024,
54
+ MAX_SESSION_ID_LENGTH: 128,
55
+ MAX_URL_LENGTH: 4096,
56
+ MAX_TITLE_LENGTH: 512,
57
+ MAX_ADAPTERS: 32,
58
+ MAX_ADAPTER_NAME_LENGTH: 128,
59
+ MAX_TOKEN_LENGTH: 512,
60
+ MAX_COMMAND_ID_LENGTH: 128,
61
+ MAX_COMMAND_NAME_LENGTH: 128,
62
+ MAX_REF_LENGTH: 128,
63
+ MAX_ERROR_LENGTH: 4096,
64
+ MAX_SERIALIZE_DEPTH: 8,
65
+ MAX_COLLECTION_ITEMS: 200,
66
+ MAX_OBJECT_KEYS: 200,
67
+ MAX_STRING_LENGTH: 64 * 1024,
68
+ /** Human review marks: the note the human types when flagging a mistake on the page. */
69
+ MAX_MARK_NOTE_LENGTH: 2000,
70
+ /** Human review marks: the legible element label that pins the mark (e.g. "Submit button"). */
71
+ MAX_MARK_LABEL_LENGTH: 256,
72
+ };
73
+ /** Replacement used when sensitive data is removed before crossing the bridge. */
74
+ export const REDACTED_VALUE = '[REDACTED]';
75
+ /** Explicit opt-in argument required for potentially destructive actions. */
76
+ export const DANGEROUS_ACTION_CONFIRM_ARG = 'confirmDangerous';
77
+ /** Schema version stamped onto compiled replay programs. */
78
+ export const REPLAY_PROGRAM_VERSION = 1;
79
+ /** The git-checked Reticle workspace directory + its layout. No free strings. */
80
+ export const ReticleDir = {
81
+ ROOT: '.reticle',
82
+ CONTRACT_FILE: 'contract.json',
83
+ FLOWS_SUBDIR: 'flows',
84
+ BASELINES_SUBDIR: 'baselines',
85
+ /** cross-run memory — outcomes of past runs (the "did it behave like last time?" file). */
86
+ PROJECT_FILE: 'project.json',
87
+ /** opt-in pixel baselines — .reticle/visual/<name>.png + <name>.diff.png. */
88
+ VISUAL_SUBDIR: 'visual',
89
+ /** verification-run artifacts — .reticle/runs/<runId>.json (the OEM/CI-consumable verdict). */
90
+ RUNS_SUBDIR: 'runs',
91
+ /**
92
+ * Auto-provisioned bridge pairing token, stored at ~/.reticle/pairing-token (mode 0600). Written by
93
+ * the daemon, read Node-side by the build plugins to inject into connect(). A browser sandbox cannot
94
+ * read it, so a rogue localhost app can't present it — that's what stops cross-app session hijack.
95
+ */
96
+ PAIRING_TOKEN_FILE: 'pairing-token',
97
+ };
98
+ /**
99
+ * Structured reasons a screenshot/visual-diff could not produce a verdict (never
100
+ * thrown as free strings). The visual layer is OPT-IN and CDP/Playwright-driven — it is NEVER
101
+ * bundled into the always-on browser SDK — so NO_PROVIDER is the common "you must `reticle drive`" case.
102
+ */
103
+ export const VisualReason = {
104
+ NO_PROVIDER: 'no-visual-provider', // no CDP/launched browser → cannot capture pixels
105
+ CAPTURE_FAILED: 'capture-failed', // the page could not be screenshotted
106
+ BASELINE_MISSING: 'baseline-missing', // reticle_visual_diff with no saved baseline of that name
107
+ DIMENSION_MISMATCH: 'dimension-mismatch', // current vs baseline differ in size — can't pixel-diff
108
+ };
109
+ /** Actionable companion to NO_PROVIDER — the visual layer needs a driven browser. */
110
+ export const VISUAL_NO_PROVIDER_RECOMMENDATION = 'visual capture needs a driven browser — start with `reticle drive <url>` or set RETICLE_CDP_URL; the always-on SDK does not ship a screenshotter';
111
+ /** Default per-pixel color-distance threshold (pixelmatch 0..1; higher = more lenient). */
112
+ export const VISUAL_PIXEL_THRESHOLD = 0.1;
113
+ /**
114
+ * Autonomous "smart monkey" anomaly classes reticle_crawl reports after clicking a
115
+ * reachable control. Named so the agent (and tests) branch on cause, never on message text.
116
+ */
117
+ export const CrawlAnomalyKind = {
118
+ CONSOLE_ERROR: 'console-error', // the click logged a console.error / uncaught error
119
+ FAILED_REQUEST: 'failed-request', // it fired a request that returned >= 400
120
+ DEAD_CONTROL: 'dead-control', // it dispatched but the app did NOTHING (no DOM/net/route/signal)
121
+ };
122
+ /**
123
+ * Bounds for reticle_scroll_to — how many viewport scrolls to try before giving up on
124
+ * a virtualized/windowed list (which only renders visible rows, so a plain reticle_query misses
125
+ * off-screen items). Each scroll advances ~one viewport; the loop also stops early at the list end.
126
+ */
127
+ export const SCROLL_FIND_DEFAULTS = {
128
+ MAX_SCROLLS: 20,
129
+ };
130
+ /** Bounds so a crawl always terminates and each click has time to settle. */
131
+ export const CRAWL_DEFAULTS = {
132
+ /** Max controls clicked in one crawl (then `truncated:true`). */
133
+ MAX_STEPS: 25,
134
+ /** ms to wait for a click's reaction to land in the buffer before classifying. */
135
+ SETTLE_MS: 300,
136
+ /** HTTP status at/above which a response counts as a failed request. */
137
+ FAILED_STATUS: 400,
138
+ };
139
+ /** How long to wait between npm registry update checks (24 h). */
140
+ export const UpdateCheckIntervalMs = 24 * 60 * 60 * 1000;
141
+ /** Schema version stamped into contract.json so a reader can reject/upgrade old files. */
142
+ export const CONTRACT_FILE_VERSION = 1;
143
+ /** Arg key on reticle_capabilities selecting the on-disk contract over the live session. */
144
+ export const FROM_DISK_ARG = 'fromDisk';
145
+ /** Structured outcome when reading contract.json fails (never thrown to the agent). */
146
+ export const ContractReadError = {
147
+ MISSING: 'contract-missing', // no .reticle/contract.json on disk
148
+ MALFORMED: 'contract-malformed', // present but not valid JSON / fails schema
149
+ };
150
+ /** On-disk artifact constants (project/flow/replay/recorder/heal/annotation) live here. */
151
+ export * from './flow-constants.js';
152
+ /** Bounds for the per-session ring buffer (see plan/02-architecture.md). */
153
+ export const RING_BUFFER_DEFAULTS = {
154
+ MAX_EVENTS: 2000,
155
+ MAX_AGE_MS: 60_000,
156
+ MAX_BYTES: TRANSPORT_LIMITS.MAX_BUFFER_BYTES,
157
+ };
158
+ /** Normalized event types pushed into the ring buffer. */
159
+ export const EventType = {
160
+ DOM_ADDED: 'dom.added',
161
+ DOM_REMOVED: 'dom.removed',
162
+ DOM_ATTR: 'dom.attr',
163
+ DOM_TEXT: 'dom.text',
164
+ NET_REQUEST: 'net.request',
165
+ NET_PENDING: 'net.pending',
166
+ ROUTE_CHANGE: 'route.change',
167
+ CONSOLE_LOG: 'console.log',
168
+ CONSOLE_WARN: 'console.warn',
169
+ CONSOLE_ERROR: 'console.error',
170
+ ERROR_UNCAUGHT: 'error.uncaught',
171
+ VISIBLE_SHOWN: 'visible.shown',
172
+ VISIBLE_HIDDEN: 'visible.hidden',
173
+ ANIM_START: 'anim.start',
174
+ ANIM_END: 'anim.end',
175
+ SCROLL_POSITION: 'scroll.position',
176
+ REVEAL_SHOWN: 'reveal.shown',
177
+ SIGNAL: 'signal',
178
+ STATE_CHANGE: 'state.change',
179
+ /** page-level visibility/focus health (distinct from element-level VISIBLE_*). */
180
+ PAGE_HEALTH: 'page.health',
181
+ /** browser → bridge: a human recording compiled in-page. */
182
+ FLOW_RECORDED: 'flow.recorded',
183
+ /** synthetic: browser transport queue overflowed; events were dropped. `data: { dropped: number }`. */
184
+ TRANSPORT_OVERFLOW: 'transport.overflow',
185
+ /**
186
+ * Live-control: browser → bridge. A human acted on the presenter panel.
187
+ * `data: { kind: HumanControlKind; text?: string }`. Rides the existing EventMessage.
188
+ */
189
+ HUMAN_CONTROL: 'human.control',
190
+ /**
191
+ * Human review: browser → bridge. A human pinned a mistake to an element on the running page
192
+ * (the "annotate the bug where you see it" loop). `data` narrows to HumanMarkDataSchema — a note
193
+ * plus a re-resolvable element anchor (and its source file:line when the framework stamped one) so
194
+ * the agent that drains the mark knows exactly which element and which source to fix.
195
+ */
196
+ HUMAN_MARK: 'human.mark',
197
+ };
198
+ /** Which input path executed an action — native (CDP/Playwright) vs synthetic dispatchEvent. */
199
+ export const InputMode = {
200
+ REAL: 'real',
201
+ SYNTHETIC: 'synthetic',
202
+ };
203
+ /**
204
+ * Why a pointer action ran SYNTHETIC even though a real-input provider is configured. Attached as
205
+ * `inputModeReason` so a real→synthetic fallback is never silent (field bug #2) — the agent can
206
+ * tell "I couldn't locate the element" from "the page isn't correlated to a CDP target".
207
+ */
208
+ export const InputModeReason = {
209
+ NOT_POINTER: 'not-a-pointer-action', // fill/type never use native input
210
+ // Clicks default to the occlusion-honest synthetic path ("don't click, run the code") even with a
211
+ // provider configured; pass action arg native:true to force a trusted native click when needed.
212
+ SYNTHETIC_CLICK_PREFERRED: 'synthetic-click-preferred',
213
+ PAGE_NOT_CORRELATED: 'page-not-correlated-to-a-cdp-target', // no CDP page matches session.url
214
+ ELEMENT_NOT_LOCATABLE: 'element-not-locatable', // INSPECT returned no box (off-screen/stale ref)
215
+ DRAG_TARGET_UNRESOLVED: 'drag-target-unresolved', // drag toRef missing or not locatable
216
+ PROVIDER_DECLINED: 'provider-declined', // provider chose not to perform
217
+ PROVIDER_ERROR: 'provider-error', // provider threw → fell back to synthetic
218
+ };
219
+ /** Best-effort caveats attached to action results so the agent can interpret a no-op. */
220
+ export const ActionWarning = {
221
+ HOVER_NATIVE_ENTER_LEAVE: 'target has enter/leave handlers; synthetic hover may not trigger them — expect no state change',
222
+ /** real-input provider was available but failed; the action fell back to synthetic dispatch. */
223
+ REAL_INPUT_FELL_BACK: 'real-input provider was available but failed; fell back to synthetic dispatch',
224
+ /**
225
+ * The click point was covered by another element. Synthetic dispatch still delivered the event to
226
+ * your target, but a real user could NOT click it — treat the target as visually blocked, not
227
+ * actionable. Scroll it into a clear area or dismiss the overlay on top.
228
+ */
229
+ CLICK_OCCLUDED: 'target is visually occluded by another element; a real user could not click it (synthetic dispatch still delivered the event) — dismiss the overlay or scroll the target clear',
230
+ };
231
+ /** Failure modes when Reticle launches/drives its own browser (`reticle drive`). */
232
+ export const DriveErrorCode = {
233
+ PLAYWRIGHT_MISSING: 'playwright_missing',
234
+ LAUNCH_FAILED: 'launch_failed',
235
+ NAVIGATE_FAILED: 'navigate_failed',
236
+ };
237
+ /** Human-facing message when the optional playwright dep is absent. */
238
+ export const DRIVE_PLAYWRIGHT_MISSING_MSG = "reticle drive needs the optional 'playwright' package — install it: pnpm add -D playwright && npx playwright install chromium";
239
+ /** Actions the executor can perform against a ref (plan/03 + plan/05). */
240
+ export const ActionType = {
241
+ CLICK: 'click',
242
+ DBLCLICK: 'dblclick',
243
+ HOVER: 'hover',
244
+ FOCUS: 'focus',
245
+ BLUR: 'blur',
246
+ FILL: 'fill',
247
+ TYPE: 'type',
248
+ CLEAR: 'clear',
249
+ SELECT: 'select',
250
+ CHECK: 'check',
251
+ UNCHECK: 'uncheck',
252
+ SUBMIT: 'submit',
253
+ PRESS: 'press',
254
+ UPLOAD: 'upload',
255
+ SCROLL_INTO_VIEW: 'scrollIntoView',
256
+ DRAG: 'drag',
257
+ WEBMCP: 'webmcp',
258
+ };
259
+ /** Why an action's settle wait ended without a real animation frame. */
260
+ export const SettleReason = {
261
+ TIMEOUT: 'timeout',
262
+ THROTTLED: 'throttled',
263
+ };
264
+ /** Outcome reasons for a bounded component-state read. Store reads never use these. */
265
+ export const ComponentStateReason = {
266
+ UNAVAILABLE: 'component-state-unavailable',
267
+ };
268
+ /** Element states the assertion engine can check (plan/06). */
269
+ export const ElementState = {
270
+ VISIBLE: 'visible',
271
+ HIDDEN: 'hidden',
272
+ ENABLED: 'enabled',
273
+ DISABLED: 'disabled',
274
+ CHECKED: 'checked',
275
+ EXPANDED: 'expanded',
276
+ FOCUSED: 'focused',
277
+ PRESENT: 'present',
278
+ };
279
+ /** Query strategies, aligned with Testing Library semantics (plan/04). */
280
+ export const QueryBy = {
281
+ ROLE: 'role',
282
+ TEXT: 'text',
283
+ LABEL: 'label',
284
+ PLACEHOLDER: 'placeholder',
285
+ TESTID: 'testid',
286
+ ALT: 'alt',
287
+ /** Resolve by component identity / source location (auto-anchors — addresses any element with
288
+ * no hand-added testid). Pair with ElementQuery.component and/or .source. */
289
+ COMPONENT: 'component',
290
+ };
291
+ /** Commands the bridge sends to the browser SDK (the `name` field of a CommandMessage). */
292
+ export const ReticleCommand = {
293
+ SNAPSHOT: 'snapshot',
294
+ QUERY: 'query',
295
+ MATCH: 'match',
296
+ INSPECT: 'inspect',
297
+ ACT: 'act',
298
+ ACT_SEQUENCE: 'act_sequence',
299
+ ANIMATIONS: 'animations',
300
+ NARRATE: 'narrate',
301
+ CLOCK: 'clock',
302
+ CAPABILITIES: 'capabilities',
303
+ STATE_READ: 'state_read',
304
+ /** scroll a ref's nearest scrollable container by ~a viewport (virtualized lists). */
305
+ SCROLL: 'scroll',
306
+ /** Session lifecycle: agent tunes the presenter session (e.g. idle-end timeout) for the app's needs. */
307
+ SESSION_CONFIG: 'session_config',
308
+ /**
309
+ * Live-control: bridge → browser. Pushes the current session state to the panel so an
310
+ * AGENT-driven pause/end keeps the presenter in sync. `args: { state, text? }`.
311
+ */
312
+ PRESENTER: 'presenter',
313
+ /** Navigate the page to a new URL. `args: { url: string }`. */
314
+ NAVIGATE: 'navigate',
315
+ /** Reload the page. `args: { hard?: boolean }` — hard clears the cache via location replace trick. */
316
+ REFRESH: 'refresh',
317
+ /**
318
+ * Bridge → browser: the saved flows the human can replay from the panel.
319
+ * `args: { flows: [{ name, start? }] }` — `start` is the first step's testid anchor, a page hint the
320
+ * HUD uses to show a flow only where it can begin. Absent when the first step isn't testid-anchored.
321
+ */
322
+ FLOWS: 'flows',
323
+ };
324
+ /** Presenter intent shown to the human watcher: is the agent reading or acting? */
325
+ export const PresenterMode = {
326
+ IDLE: 'idle',
327
+ READING: 'reading',
328
+ ACTING: 'acting',
329
+ };
330
+ /** Snapshot rendering modes (plan/04). */
331
+ export const SnapshotMode = {
332
+ FULL: 'full',
333
+ INTERACTIVE: 'interactive',
334
+ STATUS: 'status',
335
+ };
336
+ /** Top-level envelope discriminator for messages on the WS channel. */
337
+ export const MessageKind = {
338
+ HELLO: 'hello',
339
+ COMMAND: 'command',
340
+ COMMAND_RESULT: 'command_result',
341
+ EVENT: 'event',
342
+ };
343
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[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C1B,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV;iFAC6E;IAC7E,SAAS,EAAE,WAAW;CACd,CAAC;AAGX,2FAA2F;AAC3F,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;IACV,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,sFAAsF;IACtF,MAAM,EAAE,QAAQ;IAChB,wGAAwG;IACxG,cAAc,EAAE,gBAAgB;IAChC;;;OAGG;IACH,SAAS,EAAE,WAAW;IACtB,+DAA+D;IAC/D,QAAQ,EAAE,UAAU;IACpB,sGAAsG;IACtG,OAAO,EAAE,SAAS;IAClB;;;;OAIG;IACH,KAAK,EAAE,OAAO;CACN,CAAC;AAGX,mFAAmF;AACnF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,0CAA0C;AAC1C,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,uEAAuE;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,gBAAgB;IAChC,KAAK,EAAE,OAAO;CACN,CAAC"}
@@ -0,0 +1,175 @@
1
+ /**
2
+ * On-disk artifact constants: the project history, flow files, replay/drift status, the recorder
3
+ * lifecycle, heal outcomes, and the structured-annotation vocabulary. Split out of constants.ts so
4
+ * each file stays one cohesive unit under the size cap; re-exported from constants.ts (and so from
5
+ * the package index) — every existing `@reticlehq/core` import is unchanged.
6
+ */
7
+ /**
8
+ * Schema version stamped into project.json so a reader can reject/upgrade old files.
9
+ */
10
+ export declare const PROJECT_FILE_VERSION = 1;
11
+ /**
12
+ * Structured outcome when reading project.json fails (never thrown to the agent).
13
+ * Mirrors ContractReadError. NOTE: recordRun() self-heals a MALFORMED file (starts fresh) so a
14
+ * corrupt history never wedges the agent; only the READ path (reticle_project) surfaces MALFORMED.
15
+ */
16
+ export declare const ProjectReadError: {
17
+ readonly MISSING: "project-missing";
18
+ readonly MALFORMED: "project-malformed";
19
+ };
20
+ export type ProjectReadError = (typeof ProjectReadError)[keyof typeof ProjectReadError];
21
+ /** How a run record was produced. */
22
+ export declare const RunKind: {
23
+ readonly FLOW_REPLAY: "flow_replay";
24
+ readonly MANUAL: "manual";
25
+ };
26
+ export type RunKind = (typeof RunKind)[keyof typeof RunKind];
27
+ /**
28
+ * The persisted outcome of a run. Distinct from ReplayStatus (a wire/replay
29
+ * concept of ok|drift|error): RunStatus is the history concept and adds pass/fail. The replay
30
+ * site maps ReplayStatus.OK→PASS, DRIFT→DRIFT, ERROR→ERROR.
31
+ */
32
+ export declare const RunStatus: {
33
+ readonly PASS: "pass";
34
+ readonly DRIFT: "drift";
35
+ readonly ERROR: "error";
36
+ readonly FAIL: "fail";
37
+ };
38
+ export type RunStatus = (typeof RunStatus)[keyof typeof RunStatus];
39
+ /**
40
+ * Bounds on project.json so the file stays small + diffable. recordRun keeps the
41
+ * last PER_NAME runs of any single name, then caps the whole list to TOTAL most-recent overall.
42
+ */
43
+ export declare const PROJECT_RUN_CAP: {
44
+ readonly PER_NAME: 50;
45
+ readonly TOTAL: 200;
46
+ };
47
+ /** Schema version stamped onto on-disk flow files (.reticle/flows/<name>.json). */
48
+ export declare const FLOW_FILE_VERSION = 1;
49
+ /** How a flow step is anchored to the live DOM at replay time (semantic, never a volatile ref). */
50
+ export declare const AnchorKind: {
51
+ readonly TESTID: "testid";
52
+ readonly ROLE: "role";
53
+ readonly SIGNAL: "signal";
54
+ readonly COMPONENT: "component";
55
+ };
56
+ export type AnchorKind = (typeof AnchorKind)[keyof typeof AnchorKind];
57
+ /**
58
+ * The role marker for a DEGRADED step — one recorded with no resolvable
59
+ * testid. It is kept (never dropped) but a volatile eXX ref is NEVER persisted in its place;
60
+ * the step carries this placeholder ROLE anchor + degraded:true, a legible "add a data-testid
61
+ * here" marker that a human/self-healing pass re-binds. Satisfies the anchor min(1).
62
+ */
63
+ export declare const DEGRADED_ANCHOR_ROLE = "unresolved";
64
+ /** Structured failure codes for flow disk ops (returned, never thrown as free strings). */
65
+ export declare const FlowErrorCode: {
66
+ readonly INVALID_NAME: "flow_invalid_name";
67
+ readonly NOT_FOUND: "flow_not_found";
68
+ readonly PARSE_FAILED: "flow_parse_failed";
69
+ readonly NO_RECORDING: "flow_no_recording";
70
+ };
71
+ export type FlowErrorCode = (typeof FlowErrorCode)[keyof typeof FlowErrorCode];
72
+ /** A flow name must be a single safe path segment (no '/', '\\', '..', leading dot). */
73
+ export declare const FLOW_NAME_PATTERN: RegExp;
74
+ /**
75
+ * The outcome of replaying an on-disk flow by re-resolving its
76
+ * semantic anchors against the live DOM. `drift` (an anchor missed → contract changed) is
77
+ * cleanly separated from `error` (the flow could not load or an action failed) and `ok`.
78
+ */
79
+ export declare const ReplayStatus: {
80
+ readonly OK: "ok";
81
+ readonly DRIFT: "drift";
82
+ readonly ERROR: "error";
83
+ };
84
+ export type ReplayStatus = (typeof ReplayStatus)[keyof typeof ReplayStatus];
85
+ /**
86
+ * Why an anchor failed to resolve at replay time (the "whose fault is
87
+ * it" reason kind). Drives the human `reason` sentence and whether a nearest-match is offered.
88
+ */
89
+ export declare const DriftReason: {
90
+ readonly TESTID_NOT_FOUND: "testid_not_found";
91
+ readonly SIGNAL_NOT_OBSERVED: "signal_not_observed";
92
+ readonly COMPONENT_NOT_FOUND: "component_not_found";
93
+ readonly STATE_MISMATCH: "state_mismatch";
94
+ };
95
+ export type DriftReason = (typeof DriftReason)[keyof typeof DriftReason];
96
+ /** Default timeout (ms) a signal anchor waits to be observed at replay. */
97
+ export declare const FLOW_SIGNAL_TIMEOUT_MS = 4000;
98
+ /**
99
+ * The structured annotation kinds a human can attach while recording.
100
+ * FIRST CUT: only these four structured kinds compile to flow fields (via a toolbar menu +
101
+ * a signal <select> drawn from registered capabilities). Free natural-language annotation →
102
+ * predicate compilation is explicitly OUT this cut (no NL parser). `wait-for` / `ignore-region`
103
+ * from the plan grammar are also future — only the four requested kinds ship here.
104
+ */
105
+ export declare const AnnotationKind: {
106
+ readonly ASSERT_SIGNAL: "assert-signal";
107
+ readonly ASSERT_VISIBLE: "assert-visible";
108
+ readonly ASSERT_STATE: "assert-state";
109
+ readonly MARK_DYNAMIC: "mark-dynamic";
110
+ readonly SUCCESS_STATE: "success-state";
111
+ readonly INTENT: "intent";
112
+ };
113
+ export type AnnotationKind = (typeof AnnotationKind)[keyof typeof AnnotationKind];
114
+ /** Recorder lifecycle phases (drives the toolbar UI + the capture gate). */
115
+ export declare const RecorderPhase: {
116
+ readonly IDLE: "idle";
117
+ readonly RECORDING: "recording";
118
+ readonly ANNOTATING: "annotating";
119
+ };
120
+ export type RecorderPhase = (typeof RecorderPhase)[keyof typeof RecorderPhase];
121
+ /**
122
+ * Structured codes for the recorded-save server tool (returned, never thrown).
123
+ */
124
+ export declare const RecordedSaveError: {
125
+ readonly NO_RECORDED_FLOW: "flow_no_recorded";
126
+ readonly INVALID_NAME: "flow_invalid_name";
127
+ };
128
+ export type RecordedSaveError = (typeof RecordedSaveError)[keyof typeof RecordedSaveError];
129
+ /**
130
+ * Outcome of reticle_flow_heal (distinct from ReplayStatus — adds heal verbs).
131
+ * Rebinds testid anchors only (role/name/signal re-anchoring is future). A confident nearest-match
132
+ * is required before any disk write — the "never silently rewrite" invariant.
133
+ */
134
+ export declare const HealStatus: {
135
+ readonly HEALED: "healed";
136
+ readonly DRIFT: "drift";
137
+ readonly UNHEALABLE: "unhealable";
138
+ readonly NOTHING_TO_HEAL: "nothing_to_heal";
139
+ readonly CONSEQUENCE_BROKEN: "consequence_broken";
140
+ readonly ERROR: "error";
141
+ };
142
+ export type HealStatus = (typeof HealStatus)[keyof typeof HealStatus];
143
+ /**
144
+ * Minimum normalized confidence (0,1] a nearest-match rebind must clear before it is
145
+ * eligible to be APPLIED (or surfaced as a confident proposal). Below this, drift is reported but
146
+ * NEVER auto-rewritten — the "never silently rewrite" invariant has a single numeric home here.
147
+ */
148
+ export declare const HEAL_CONFIDENCE_MIN = 0.5;
149
+ /**
150
+ * What a structured annotation binds to. STEP folds onto the LAST captured
151
+ * step's expect (assert-signal / assert-visible); FLOW folds onto the flow header (mark-dynamic →
152
+ * dynamic[], success-state → success).
153
+ */
154
+ export declare const AnnotationTarget: {
155
+ readonly STEP: "step";
156
+ readonly FLOW: "flow";
157
+ };
158
+ export type AnnotationTarget = (typeof AnnotationTarget)[keyof typeof AnnotationTarget];
159
+ /**
160
+ * Structured failure codes for the annotate compiler/tool (returned, never
161
+ * thrown / free strings). NO_ACTIVE_RECORDING = annotate() with nothing recording; NO_STEP_TO_
162
+ * ANNOTATE = an assert-* with zero captured steps yet; UNKNOWN_KIND = kind ∉ AnnotationKind (or a
163
+ * free natural-language string — see AnnotationSchema's FUTURE note); MISSING_FIELD = e.g. a
164
+ * success-state with neither signal nor testid.
165
+ */
166
+ export declare const AnnotationErrorCode: {
167
+ readonly NO_ACTIVE_RECORDING: "annotate_no_recording";
168
+ readonly NO_STEP_TO_ANNOTATE: "annotate_no_step";
169
+ readonly UNKNOWN_KIND: "annotate_unknown_kind";
170
+ readonly MISSING_FIELD: "annotate_missing_field";
171
+ };
172
+ export type AnnotationErrorCode = (typeof AnnotationErrorCode)[keyof typeof AnnotationErrorCode];
173
+ /** Leading word of the compiled-predicate confirmation ("will assert …"). */
174
+ export declare const COMPILED_PREDICATE_PREFIX = "will";
175
+ //# sourceMappingURL=flow-constants.d.ts.map
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