@reticlehq/core 3.10.9 → 3.10.11

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.
@@ -3,5 +3,5 @@
3
3
  * `scripts/set-version.mjs` writes the version on each release, and `version-lockstep.test.ts`
4
4
  * fails when a doc pins another tag.
5
5
  */
6
- export declare const RETICLE_ACTION_VERSION = "3.10.9";
7
- export declare const RETICLE_ACTION_USES = "reticlehq/reticle/action@v3.10.9";
6
+ export declare const RETICLE_ACTION_VERSION = "3.10.11";
7
+ export declare const RETICLE_ACTION_USES = "reticlehq/reticle/action@v3.10.11";
@@ -3,5 +3,5 @@
3
3
  * `scripts/set-version.mjs` writes the version on each release, and `version-lockstep.test.ts`
4
4
  * fails when a doc pins another tag.
5
5
  */
6
- export const RETICLE_ACTION_VERSION = '3.10.9';
6
+ export const RETICLE_ACTION_VERSION = '3.10.11';
7
7
  export const RETICLE_ACTION_USES = `reticlehq/reticle/action@v${RETICLE_ACTION_VERSION}`;
@@ -29,7 +29,7 @@ export { ChannelId } from './wire/channel.js';
29
29
  export { ACT_POINT_ARG, ClickButton, DRAG_TO_POINT_ARG, actPointProblem, boxFractionFromArgs, clickButtonFromArgs, clickInputProblem, pointInBox, } from './wire/click-input.js';
30
30
  export { ANIMATION_TARGET_ARG } from './wire/constants/animation-command.js';
31
31
  export { DROPPED_PRE_ATTACH_FIELD, PRE_ATTACH_FIELD, RETICLE_PRE_ATTACH_ERRORS, } from './wire/constants/console-event.js';
32
- export { ActionType, ActionWarning, ComponentStateReason, DANGEROUS_ACTION_CONFIRM_ARG, DEFAULT_PLATFORM_URL, ElementState, INSPECT_IN_VIEWPORT_FIELD, INSPECT_REVEAL_ARG, MessageKind, NATIVE_INPUT_ARG, PerfMetric, PresenterMode, QueryBy, REDACTED_VALUE, RETICLE_BUSY_SIGNAL, RETICLE_DEFAULT_PORT, RETICLE_PROTOCOL_VERSION, RETICLE_RENDERS_STORE, RETICLE_SESSION_STORAGE_KEY, RETICLE_URL_PARAM, RETICLE_WS_PATH, ReticleCommand, SettleReason, SnapshotMode, TRANSPORT_LIMITS, TruncationChannel, VisualReason, bridgeWsUrl, } from './wire/constants/constants.js';
32
+ export { ALLOW_OCCLUDED_ARG, ActionType, ActionWarning, ComponentStateReason, DANGEROUS_ACTION_CONFIRM_ARG, DEFAULT_PLATFORM_URL, ElementState, INSPECT_IN_VIEWPORT_FIELD, INSPECT_REVEAL_ARG, MessageKind, NATIVE_INPUT_ARG, PerfMetric, PresenterMode, QueryBy, REDACTED_VALUE, RETICLE_BUSY_SIGNAL, RETICLE_DEFAULT_PORT, RETICLE_PROTOCOL_VERSION, RETICLE_RENDERS_STORE, RETICLE_SESSION_STORAGE_KEY, RETICLE_URL_PARAM, RETICLE_WS_PATH, ReticleCommand, SettleReason, SnapshotMode, TRANSPORT_LIMITS, TruncationChannel, VisualReason, bridgeWsUrl, } from './wire/constants/constants.js';
33
33
  export { DETERMINISM_GLOBAL_KEY } from './wire/constants/determinism.js';
34
34
  export { DISCOVERY_CALL_URL, FOUNDER_EMAIL, FOUNDER_MAILTO } from './wire/constants/discovery.js';
35
35
  export { CanvasTrigger, EventType, FieldChangeField, FieldChangeKind, LivePoliteness, MediaEvent, ROUTE_CHANGE_HOW_FIELD, RouteChangeHow, ScrollDirection, StorageArea, StreamDirection, StreamTransport, } from './wire/constants/event-types.js';
@@ -29,7 +29,7 @@ export { ChannelId } from './wire/channel.js';
29
29
  export { ACT_POINT_ARG, ClickButton, DRAG_TO_POINT_ARG, actPointProblem, boxFractionFromArgs, clickButtonFromArgs, clickInputProblem, pointInBox, } from './wire/click-input.js';
30
30
  export { ANIMATION_TARGET_ARG } from './wire/constants/animation-command.js';
31
31
  export { DROPPED_PRE_ATTACH_FIELD, PRE_ATTACH_FIELD, RETICLE_PRE_ATTACH_ERRORS, } from './wire/constants/console-event.js';
32
- export { ActionType, ActionWarning, ComponentStateReason, DANGEROUS_ACTION_CONFIRM_ARG, DEFAULT_PLATFORM_URL, ElementState, INSPECT_IN_VIEWPORT_FIELD, INSPECT_REVEAL_ARG, MessageKind, NATIVE_INPUT_ARG, PerfMetric, PresenterMode, QueryBy, REDACTED_VALUE, RETICLE_BUSY_SIGNAL, RETICLE_DEFAULT_PORT, RETICLE_PROTOCOL_VERSION, RETICLE_RENDERS_STORE, RETICLE_SESSION_STORAGE_KEY, RETICLE_URL_PARAM, RETICLE_WS_PATH, ReticleCommand, SettleReason, SnapshotMode, TRANSPORT_LIMITS, TruncationChannel, VisualReason, bridgeWsUrl, } from './wire/constants/constants.js';
32
+ export { ALLOW_OCCLUDED_ARG, ActionType, ActionWarning, ComponentStateReason, DANGEROUS_ACTION_CONFIRM_ARG, DEFAULT_PLATFORM_URL, ElementState, INSPECT_IN_VIEWPORT_FIELD, INSPECT_REVEAL_ARG, MessageKind, NATIVE_INPUT_ARG, PerfMetric, PresenterMode, QueryBy, REDACTED_VALUE, RETICLE_BUSY_SIGNAL, RETICLE_DEFAULT_PORT, RETICLE_PROTOCOL_VERSION, RETICLE_RENDERS_STORE, RETICLE_SESSION_STORAGE_KEY, RETICLE_URL_PARAM, RETICLE_WS_PATH, ReticleCommand, SettleReason, SnapshotMode, TRANSPORT_LIMITS, TruncationChannel, VisualReason, bridgeWsUrl, } from './wire/constants/constants.js';
33
33
  export { DETERMINISM_GLOBAL_KEY } from './wire/constants/determinism.js';
34
34
  export { DISCOVERY_CALL_URL, FOUNDER_EMAIL, FOUNDER_MAILTO } from './wire/constants/discovery.js';
35
35
  export { CanvasTrigger, EventType, FieldChangeField, FieldChangeKind, LivePoliteness, MediaEvent, ROUTE_CHANGE_HOW_FIELD, RouteChangeHow, ScrollDirection, StorageArea, StreamDirection, StreamTransport, } from './wire/constants/event-types.js';
@@ -71,6 +71,8 @@ export declare const RefusalDetail: {
71
71
  readonly HOVER_NEEDS_POINTER: "hover_needs_pointer";
72
72
  readonly NOT_EDITABLE: "not_editable";
73
73
  readonly CONFIRM_DANGEROUS: "confirm_dangerous";
74
+ /** A click refused because another element covers its target. */
75
+ readonly COVERED_TARGET: "covered_target";
74
76
  readonly WRONG_TARGET: "wrong_target";
75
77
  readonly PRODUCTION_POLICY: "production_policy";
76
78
  readonly BAD_ARGUMENTS: "bad_arguments";
@@ -139,6 +141,8 @@ export declare const ToolRefusalSchema: z.ZodObject<{
139
141
  readonly HOVER_NEEDS_POINTER: "hover_needs_pointer";
140
142
  readonly NOT_EDITABLE: "not_editable";
141
143
  readonly CONFIRM_DANGEROUS: "confirm_dangerous";
144
+ /** A click refused because another element covers its target. */
145
+ readonly COVERED_TARGET: "covered_target";
142
146
  readonly WRONG_TARGET: "wrong_target";
143
147
  readonly PRODUCTION_POLICY: "production_policy";
144
148
  readonly BAD_ARGUMENTS: "bad_arguments";
@@ -71,6 +71,8 @@ export const RefusalDetail = {
71
71
  HOVER_NEEDS_POINTER: 'hover_needs_pointer',
72
72
  NOT_EDITABLE: 'not_editable',
73
73
  CONFIRM_DANGEROUS: 'confirm_dangerous',
74
+ /** A click refused because another element covers its target. */
75
+ COVERED_TARGET: 'covered_target',
74
76
  WRONG_TARGET: 'wrong_target',
75
77
  PRODUCTION_POLICY: 'production_policy',
76
78
  BAD_ARGUMENTS: 'bad_arguments',
@@ -1544,6 +1544,7 @@ export declare const TelemetryEventSchema: z.ZodObject<{
1544
1544
  readonly HOVER_NEEDS_POINTER: "hover_needs_pointer";
1545
1545
  readonly NOT_EDITABLE: "not_editable";
1546
1546
  readonly CONFIRM_DANGEROUS: "confirm_dangerous";
1547
+ readonly COVERED_TARGET: "covered_target";
1547
1548
  readonly WRONG_TARGET: "wrong_target";
1548
1549
  readonly PRODUCTION_POLICY: "production_policy";
1549
1550
  readonly BAD_ARGUMENTS: "bad_arguments";
@@ -215,6 +215,11 @@ export declare const TRANSPORT_LIMITS: {
215
215
  export declare const REDACTED_VALUE = "[REDACTED]";
216
216
  /** Explicit opt-in argument required for potentially destructive actions. */
217
217
  export declare const DANGEROUS_ACTION_CONFIRM_ARG = "confirmDangerous";
218
+ /**
219
+ * Explicit opt-in to click a target that another element covers. Without it a covered click is
220
+ * refused before dispatch: a synthetic click reaches a target no person could click.
221
+ */
222
+ export declare const ALLOW_OCCLUDED_ARG = "allowOccluded";
218
223
  /**
219
224
  * Opt-in argument for a TRUSTED native click, for the handlers a synthetic one cannot satisfy —
220
225
  * file pickers, clipboard, anything gated on `isTrusted`. Only `reticle_act` can honour it: the
@@ -253,6 +253,11 @@ export const TRANSPORT_LIMITS = {
253
253
  export const REDACTED_VALUE = '[REDACTED]';
254
254
  /** Explicit opt-in argument required for potentially destructive actions. */
255
255
  export const DANGEROUS_ACTION_CONFIRM_ARG = 'confirmDangerous';
256
+ /**
257
+ * Explicit opt-in to click a target that another element covers. Without it a covered click is
258
+ * refused before dispatch: a synthetic click reaches a target no person could click.
259
+ */
260
+ export const ALLOW_OCCLUDED_ARG = 'allowOccluded';
256
261
  /**
257
262
  * Opt-in argument for a TRUSTED native click, for the handlers a synthetic one cannot satisfy —
258
263
  * file pickers, clipboard, anything gated on `isTrusted`. Only `reticle_act` can honour it: the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reticlehq/core",
3
- "version": "3.10.9",
3
+ "version": "3.10.11",
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 and open-verification.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",