@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/constants.d.ts +18 -0
- package/dist/constants.js +18 -0
- package/dist/dev-server-registry.d.ts +85 -0
- package/dist/dev-server-registry.js +120 -0
- package/dist/event-payloads.d.ts +6 -0
- package/dist/event-payloads.js +2 -0
- package/dist/flow-types.d.ts +18 -0
- package/dist/impact.d.ts +176 -0
- package/dist/impact.js +36 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/net.d.ts +34 -0
- package/dist/net.js +86 -0
- package/dist/no-session-reason.d.ts +35 -0
- package/dist/no-session-reason.js +34 -0
- package/dist/notices.d.ts +79 -8
- package/dist/notices.js +83 -8
- package/dist/security.d.ts +8 -2
- package/dist/security.js +21 -3
- package/dist/session-constants.d.ts +8 -0
- package/dist/session-constants.js +8 -0
- package/dist/telemetry-license.d.ts +12 -0
- package/dist/telemetry-license.js +12 -0
- package/dist/telemetry-refusal.d.ts +94 -0
- package/dist/telemetry-refusal.js +61 -0
- package/dist/telemetry-session.d.ts +149 -0
- package/dist/telemetry-session.js +114 -0
- package/dist/telemetry.d.ts +163 -91
- package/dist/telemetry.js +46 -44
- package/dist/types.d.ts +9 -0
- package/dist/verified-constants.d.ts +8 -0
- package/dist/verified-constants.js +10 -0
- package/package.json +1 -1
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.
|
|
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",
|