@reticlehq/core 2.12.0 → 2.13.1

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/types.d.ts CHANGED
@@ -188,6 +188,15 @@ export interface QueryEmptyHint {
188
188
  presentTestids: string[];
189
189
  /** True if a capability-registered testid is present in the scope. */
190
190
  knownEmptyState: boolean;
191
+ /**
192
+ * Present only when a TEXT search missed and the string is nonetheless on the page, split across
193
+ * this element's children — so no single element's own text carries it and no `by: text` query can
194
+ * ever match it.
195
+ *
196
+ * The descriptor is the tightest container that holds the whole string; its `ref` is a locator, so
197
+ * the recovery is `{ scope: <ref>, self: true }` rather than another guess at the text.
198
+ */
199
+ splitText?: ElementDescriptor;
191
200
  }
192
201
  /** Result of the QUERY command / reticle_query tool. `hint` present ONLY on zero matches. */
193
202
  export interface QueryResult {
@@ -224,3 +224,11 @@ export declare const BlindSpotKind: {
224
224
  readonly UNWATCHED_STATE: "unwatched-state";
225
225
  };
226
226
  export type BlindSpotKind = (typeof BlindSpotKind)[keyof typeof BlindSpotKind];
227
+ /**
228
+ * Blind spots that only exist in an Electron renderer.
229
+ *
230
+ * Presence in the vocabulary is not evidence the page is a desktop app — a web session can still
231
+ * carry these kinds if the SDK keyed off a user-agent substring. Gate them on the session runtime
232
+ * (which the page already reports) rather than on the kind existing.
233
+ */
234
+ export declare function isDesktopBlindSpot(kind: BlindSpotKind): boolean;
@@ -220,3 +220,13 @@ export const BlindSpotKind = {
220
220
  */
221
221
  UNWATCHED_STATE: 'unwatched-state',
222
222
  };
223
+ /**
224
+ * Blind spots that only exist in an Electron renderer.
225
+ *
226
+ * Presence in the vocabulary is not evidence the page is a desktop app — a web session can still
227
+ * carry these kinds if the SDK keyed off a user-agent substring. Gate them on the session runtime
228
+ * (which the page already reports) rather than on the kind existing.
229
+ */
230
+ export function isDesktopBlindSpot(kind) {
231
+ return kind === BlindSpotKind.UNOBSERVED_IPC || kind === BlindSpotKind.VERDICTLESS_SEND;
232
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reticlehq/core",
3
- "version": "2.12.0",
3
+ "version": "2.13.1",
4
4
  "description": "The Reticle foundation: the shared wire contract — types, zod schemas, constants, messages, and the isomorphic kernel that every Reticle package (browser SDK, server, kits, test harness) imports. Depends only on zod.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",