oui-spec 0.5.0 → 0.6.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 (45) hide show
  1. package/README.md +18 -8
  2. package/dist/{chunk-XUX4XVP3.cjs → chunk-5UUJ3F7C.cjs} +49 -22
  3. package/dist/chunk-5UUJ3F7C.cjs.map +1 -0
  4. package/dist/{chunk-27CBVTA4.cjs → chunk-AFNWLRKV.cjs} +82 -18
  5. package/dist/chunk-AFNWLRKV.cjs.map +1 -0
  6. package/dist/{chunk-BNGJJM3T.js → chunk-B2EFZMGY.js} +40 -3
  7. package/dist/chunk-B2EFZMGY.js.map +1 -0
  8. package/dist/{chunk-2AISUNMW.cjs → chunk-LDECTDPU.cjs} +40 -2
  9. package/dist/chunk-LDECTDPU.cjs.map +1 -0
  10. package/dist/{chunk-UKKITNZK.js → chunk-R3SGP2UY.js} +49 -22
  11. package/dist/chunk-R3SGP2UY.js.map +1 -0
  12. package/dist/{chunk-6ZIKO7MG.js → chunk-VQETSIY5.js} +77 -13
  13. package/dist/chunk-VQETSIY5.js.map +1 -0
  14. package/dist/core/index.cjs +7 -7
  15. package/dist/core/index.d.cts +5 -5
  16. package/dist/core/index.d.ts +5 -5
  17. package/dist/core/index.js +3 -3
  18. package/dist/index.cjs +19 -15
  19. package/dist/index.d.cts +4 -3
  20. package/dist/index.d.ts +4 -3
  21. package/dist/index.js +3 -3
  22. package/dist/react/index.d.cts +3 -3
  23. package/dist/react/index.d.ts +3 -3
  24. package/dist/spec/index.cjs +13 -9
  25. package/dist/spec/index.d.cts +21 -360
  26. package/dist/spec/index.d.ts +21 -360
  27. package/dist/spec/index.js +1 -1
  28. package/dist/{surface-runtime-CS0rByFQ.d.ts → surface-runtime-CSZ9UtBO.d.cts} +10 -2
  29. package/dist/{surface-runtime-lqXn221P.d.cts → surface-runtime-D5nINY4b.d.ts} +10 -2
  30. package/dist/transport/index.cjs +2 -2
  31. package/dist/transport/index.d.cts +3 -3
  32. package/dist/transport/index.d.ts +3 -3
  33. package/dist/transport/index.js +1 -1
  34. package/dist/types-CmJb1BQ8.d.cts +403 -0
  35. package/dist/types-CmJb1BQ8.d.ts +403 -0
  36. package/dist/{websocket-YfWILdZ4.d.cts → websocket-Ce3tDSsJ.d.ts} +26 -7
  37. package/dist/{websocket-c5tIUWY5.d.ts → websocket-Ds2Rh_jL.d.cts} +26 -7
  38. package/package.json +1 -1
  39. package/spec/OUI-SPEC-v0.1.md +63 -7
  40. package/dist/chunk-27CBVTA4.cjs.map +0 -1
  41. package/dist/chunk-2AISUNMW.cjs.map +0 -1
  42. package/dist/chunk-6ZIKO7MG.js.map +0 -1
  43. package/dist/chunk-BNGJJM3T.js.map +0 -1
  44. package/dist/chunk-UKKITNZK.js.map +0 -1
  45. package/dist/chunk-XUX4XVP3.cjs.map +0 -1
@@ -1,366 +1,27 @@
1
- /**
2
- * Approvals: an irreversible action runs only on an approval the user gave,
3
- * bound to the exact request.
4
- *
5
- * An agent runtime stops at an action that needs approval and shows the user
6
- * a confirmation. Its approval store issues a single-use grant when the user
7
- * confirms, and the request that then reaches the tab carries `approval:
8
- * { approvalId, argsHash }`. The surface runtime runs the action only when
9
- * that matches a grant this tab received from the user's own confirmation.
10
- *
11
- * Everything that checks a request computes the same args hash: SHA-256 over
12
- * the RFC 8785 (JCS) canonical JSON of its params, lowercase hex. The
13
- * published vectors (`oui-spec/approval-vectors.json`) hold every
14
- * implementation, in any language, to it.
15
- */
16
- /**
17
- * What using an action does. One vocabulary for every kind of action, so an
18
- * action is told apart by what it changes:
19
- *
20
- * | Effect | What it changes | Access |
21
- * |---|---|---|
22
- * | `view`, `selection`, `navigate`, `open` | What is shown | read |
23
- * | `edit` | The document, one undo step | write |
24
- * | `file` | Imports or exports a file | write |
25
- * | `mutate` | Backend data, through an API operation | write |
26
- * | `job` | Starts work that outlives the call | write |
27
- * | `transaction` | An irreversible external act: an order, a payment, a send, a publish | write, approved |
28
- */
29
- type OUIEffectKind = "view" | "selection" | "navigate" | "open" | "edit" | "file" | "mutate" | "job" | "transaction";
30
- /** Every effect, in the order of the table above. */
31
- declare const OUI_EFFECT_KINDS: readonly OUIEffectKind[];
32
- /** Whether an effect only changes what is shown, or changes something. */
33
- declare const OUI_EFFECT_ACCESS: Readonly<Record<OUIEffectKind, "read" | "write">>;
34
- /** `read` or `write`. An action that declares no effect is a `write`: nothing says it only shows. */
35
- declare function effectAccess(effect: OUIEffectKind | undefined): "read" | "write";
36
- /**
37
- * Whether running an action needs the user's approval of the exact request: a
38
- * `transaction` always, and a `write` declared destructive. An agent
39
- * runtime's policy may require it of more; nothing waives these.
40
- */
41
- declare function requiresApproval(effect: OUIEffectKind | undefined, destructive?: boolean): boolean;
42
- /** What a request for an approved action carries. */
43
- interface OUIActionApproval {
44
- approvalId: string;
45
- /** `argsHash(params)` of the request the user approved. */
46
- argsHash: string;
47
- }
48
- /** A grant this tab holds: the user approved this request here. */
49
- interface OUIApprovalGrant extends OUIActionApproval {
50
- /** Epoch ms after which the grant no longer admits anything. */
51
- expiresAt: number;
52
- }
53
- /** An args hash: 64 lowercase hex digits. */
54
- declare const ARGS_HASH_PATTERN: RegExp;
55
- /**
56
- * The RFC 8785 canonical form of a JSON value:
57
- * - object members sorted by their names' UTF-16 code units, with no
58
- * whitespace;
59
- * - numbers in ECMAScript's shortest round-trip form (`-0` is `0`);
60
- * - strings escaped as ECMAScript's `JSON.stringify` escapes them.
61
- *
62
- * The value must be I-JSON (RFC 7493): anything JSON cannot carry — `NaN`,
63
- * infinities, `undefined` outside an object member, a bigint, a function, a
64
- * symbol, a class instance, or a string with a lone surrogate — is refused
65
- * rather than hashed as something the other end never receives. An object
66
- * member whose value is `undefined` is left out, as it is on the wire.
67
- */
68
- declare function canonicalJson(value: unknown): string;
69
- /** SHA-256 of the canonical JSON of a request's params, lowercase hex. Runs wherever WebCrypto does. */
70
- declare function argsHash(params: unknown): Promise<string>;
1
+ import { m as OUISurface } from '../types-CmJb1BQ8.js';
2
+ export { A as ARGS_HASH_PATTERN, J as JSONSchema, O as OUIAction, a as OUIActionApproval, b as OUIActionPolling, c as OUIActionRequest, d as OUIActionResult, e as OUIActivation, f as OUIApprovalGrant, g as OUIEffectKind, h as OUIObservation, i as OUIObservationSnapshot, j as OUIObservationUpdate, k as OUIProtocolEvent, l as OUIResultDelivery, n as OUISurfaceDeregistration, o as OUISurfaceRegistration, p as OUISurfaceSnapshot, q as OUI_EFFECT_ACCESS, r as OUI_EFFECT_KINDS, s as OUI_PROTOCOL_EVENTS, t as argsHash, u as canonicalJson, v as effectAccess, w as requiresApproval } from '../types-CmJb1BQ8.js';
71
3
 
72
4
  /**
73
- * OUI — Open UI Specification
74
- *
75
- * The machine-readable contract for agent-controllable user interfaces.
76
- * Any UI application that implements this interface can be controlled by
77
- * any OUI-compatible agent runtime.
78
- */
79
- /** JSON Schema type (subset used by OUI) */
80
- type JSONSchema = {
81
- type?: string | string[];
82
- properties?: Record<string, JSONSchema>;
83
- items?: JSONSchema;
84
- required?: string[];
85
- enum?: (string | number | boolean)[];
86
- description?: string;
87
- default?: unknown;
88
- oneOf?: JSONSchema[];
89
- anyOf?: JSONSchema[];
90
- allOf?: JSONSchema[];
91
- const?: unknown;
92
- minimum?: number;
93
- maximum?: number;
94
- minLength?: number;
95
- maxLength?: number;
96
- pattern?: string;
97
- format?: string;
98
- additionalProperties?: boolean | JSONSchema;
99
- };
100
- /**
101
- * A Surface is a controllable boundary within an application.
102
- * It declares what an agent can do (actions), what it can observe (state),
103
- * and when it's available (activation conditions).
5
+ * The identity of a set of surfaces, for an answer that need not repeat them
6
+ * (§7.3.4).
104
7
  *
105
- * Think of it as "one page" or "one feature" of an application, described
106
- * in a way that an agent can understand and operate.
107
- */
108
- interface OUISurface {
109
- /** Unique identifier for this surface (e.g., 'dataviz-wizard', 'document-editor') */
110
- id: string;
111
- /** Human-readable name */
112
- name: string;
113
- /** Description of what this surface does — included in agent context */
114
- description: string;
115
- /** Version of this surface's contract (semver) */
116
- version?: string;
117
- /** Actions the agent can invoke on this surface */
118
- actions: OUIAction[];
119
- /** Observable state the agent can read */
120
- observations?: OUIObservation[];
121
- /** When this surface is active/available */
122
- activation?: OUIActivation;
123
- /** Additional metadata for agent context */
124
- metadata?: Record<string, unknown>;
125
- }
126
- /**
127
- * Declarative polling configuration for async actions.
128
- * The OUI runtime in the browser manages the polling lifecycle automatically
129
- * after the action handler returns its dispatch result.
130
- */
131
- interface OUIActionPolling {
132
- /** How often to check (milliseconds) */
133
- intervalMs: number;
134
- /** Max poll attempts before giving up (optional) */
135
- maxAttempts?: number;
136
- /** Max total duration before giving up in ms (alternative to maxAttempts) */
137
- maxDurationMs?: number;
138
- /**
139
- * Subscribe to a realtime event instead of polling.
140
- * If provided, the runtime listens for this event instead of using setInterval.
141
- * More efficient when realtime infrastructure exists.
142
- */
143
- subscribe?: {
144
- /** Event name to listen for */
145
- event: string;
146
- /**
147
- * Filter to match the event. Values prefixed with '$dispatchResult.'
148
- * are resolved from the handler's return value.
149
- * Example: { jobId: '$dispatchResult.jobId' }
150
- */
151
- filter?: Record<string, unknown>;
152
- };
153
- }
154
- /**
155
- * An Action is a single operation an agent can perform on a surface.
156
- * Each action becomes a "tool" that the LLM can call.
8
+ * A client's surfaces are what an agent may do; every result used to carry
9
+ * them all, so each answer weighed what the page's whole manifest weighs —
10
+ * on a studio page with a hundred and fifty actions, about 265 KB for a click.
11
+ * A relay that caps a frame then drops whole answers, and the agent hears
12
+ * nothing. With this hash the agent runtime says which surfaces it holds
13
+ * (`knownSurfaces`), and the client sends its surfaces only when they differ.
157
14
  *
158
- * The action's handler executes in the UI (or API) and returns a result
159
- * that the agent sees as the tool's output.
160
- */
161
- interface OUIAction {
162
- /** Unique action identifier (becomes the tool name) */
163
- id: string;
164
- /** Human-readable description — this is what the LLM reads to decide when to use it */
165
- description: string;
166
- /** The action's name as a person reads it, for a confirmation the user approves. */
167
- title?: string;
168
- /**
169
- * What using the action does. A `transaction` runs only on the user's
170
- * approval of the exact request (see `requiresApproval`). Undeclared counts
171
- * as a write.
172
- */
173
- effect?: OUIEffectKind;
174
- /** JSON Schema for the action's input parameters */
175
- input: JSONSchema;
176
- /** JSON Schema for the action's return value (optional — agent still gets the result) */
177
- output?: JSONSchema;
178
- /**
179
- * Destructive: the action removes or replaces something the person made.
180
- * Unless its effect only reads, it runs only on the user's approval of the
181
- * exact request, which the surface runtime checks before it runs.
182
- */
183
- confirm?: boolean;
184
- /** If true, the action is async — returns immediately with a job/tracking ID */
185
- async?: boolean;
186
- /** Declarative polling configuration — runtime manages the polling lifecycle after dispatch */
187
- polling?: OUIActionPolling;
188
- /** Human-readable hint about when this action is appropriate to use */
189
- usage?: string;
190
- /**
191
- * Preconditions that should be met before this action is called.
192
- * Expressed as a description (for the LLM) not as executable logic.
193
- */
194
- preconditions?: string;
195
- /** Estimated duration hint (e.g., "instant", "2-5s", "30-120s") */
196
- estimatedDuration?: string;
197
- /** Tags for categorization */
198
- tags?: string[];
199
- }
200
- /**
201
- * An Observation is a piece of application state that the agent can read.
202
- * Observations are pushed to the agent in real-time as the app state changes,
203
- * giving it situational awareness without needing screenshots.
204
- */
205
- interface OUIObservation {
206
- /** Unique identifier for this observation */
207
- id: string;
208
- /** Description of what this observation represents */
209
- description: string;
210
- /** JSON Schema for the observation's value */
211
- schema: JSONSchema;
212
- /** How frequently this observation updates */
213
- updateFrequency?: "realtime" | "on-change" | "polling";
214
- }
215
- /**
216
- * Activation conditions — when a surface is available to the agent.
217
- * A surface might only be active on a specific page, when certain
218
- * entities are loaded, or under specific application states.
219
- */
220
- interface OUIActivation {
221
- /** URL path(s) where this surface is active */
222
- routes?: string | string[];
223
- /** Entity type/ID that must be present for this surface to activate */
224
- entity?: {
225
- type: string;
226
- id?: string;
227
- };
228
- /** Custom predicate description (for documentation, not execution) */
229
- condition?: string;
230
- }
231
- /**
232
- * A request from the agent runtime to execute an action on a surface.
233
- */
234
- interface OUIActionRequest {
235
- /** Unique request ID for correlation */
236
- requestId: string;
237
- /** Which surface this request targets */
238
- surfaceId: string;
239
- /** Which action to invoke */
240
- actionId: string;
241
- /** The action's input parameters (validated against the action's input schema) */
242
- params: Record<string, unknown>;
243
- /** Timestamp of the request */
244
- timestamp: number;
245
- /**
246
- * The user's approval this request runs on, for an action that needs one.
247
- * The surface runtime runs such an action only when this matches a grant
248
- * the tab received from the user's own confirmation, for exactly `params`.
249
- */
250
- approval?: OUIActionApproval;
251
- }
252
- /**
253
- * The result of an action execution, returned from the surface to the agent.
254
- */
255
- interface OUIActionResult {
256
- /** Correlates to the request */
257
- requestId: string;
258
- /** Whether the action succeeded */
259
- success: boolean;
260
- /** The action's return data (if successful) */
261
- data?: unknown;
262
- /** Error information (if failed) */
263
- error?: {
264
- code: string;
265
- message: string;
266
- details?: unknown;
267
- };
268
- /** Progress indicator for interim polling results (0-100) */
269
- progress?: number;
270
- /** Whether this is an interim update (polling still in progress) or final */
271
- interim?: boolean;
272
- /** Duration of execution in milliseconds */
273
- durationMs?: number;
274
- /** Timestamp of the result */
275
- timestamp: number;
276
- /**
277
- * The surfaces active on the client once the action's effects settled.
278
- *
279
- * An action can change what the agent is able to do next: navigating
280
- * unmounts one page's surfaces and mounts another's. Without this, the agent
281
- * would act on the capability set it had before the action, which is the
282
- * set the action just replaced.
283
- */
284
- surfaces?: OUISurface[];
285
- /** Latest observation values per surface once the action's effects settled. */
286
- observations?: OUIObservationSnapshot;
287
- /**
288
- * False when the client's deadline passed before its UI settled, so
289
- * `surfaces` and `observations` may still be changing. Absent or true
290
- * otherwise.
291
- */
292
- settled?: boolean;
293
- }
294
- /** Latest observation values, keyed by surface id and then observation id. */
295
- type OUIObservationSnapshot = Record<string, Record<string, unknown>>;
296
- /**
297
- * What a client can do right now: the surfaces it has mounted and their latest
298
- * observation values. A client sends this to its agent runtime (for example,
299
- * with each turn), and returns it on every action result.
300
- */
301
- interface OUISurfaceSnapshot {
302
- surfaces: OUISurface[];
303
- observations: OUIObservationSnapshot;
304
- }
305
- /**
306
- * An observation update pushed from the surface to the agent.
307
- */
308
- interface OUIObservationUpdate {
309
- /** Which surface this observation belongs to */
310
- surfaceId: string;
311
- /** Which observation updated */
312
- observationId: string;
313
- /** The new value */
314
- value: unknown;
315
- /** Timestamp of the update */
316
- timestamp: number;
317
- }
318
- /**
319
- * Surface registration event — sent when a surface becomes active.
320
- */
321
- interface OUISurfaceRegistration {
322
- /** The full surface manifest */
323
- surface: OUISurface;
324
- /** Timestamp of registration */
325
- timestamp: number;
326
- }
327
- /**
328
- * Surface deregistration event — sent when a surface becomes inactive.
15
+ * The hash is of the surfaces' canonical JSON (object keys sorted), so it does
16
+ * not depend on the order a manifest's fields were written in, and is the
17
+ * same wherever it is computed. It is a 64-bit FNV-1a over the JSON's UTF-16
18
+ * code units, kept as two 32-bit halves: not a security measure — the agent
19
+ * runtime is told the surfaces by the same client that hashes them — but
20
+ * collision-resistant enough that two different capability sets of one page
21
+ * never share one.
329
22
  */
330
- interface OUISurfaceDeregistration {
331
- /** Which surface is being deregistered */
332
- surfaceId: string;
333
- /** Timestamp */
334
- timestamp: number;
335
- }
336
- /**
337
- * All protocol events exchanged between agent runtime and surfaces.
338
- */
339
- type OUIProtocolEvent = {
340
- type: "surface:register";
341
- payload: OUISurfaceRegistration;
342
- } | {
343
- type: "surface:deregister";
344
- payload: OUISurfaceDeregistration;
345
- } | {
346
- type: "action:request";
347
- payload: OUIActionRequest;
348
- } | {
349
- type: "action:result";
350
- payload: OUIActionResult;
351
- } | {
352
- type: "observation:update";
353
- payload: OUIObservationUpdate;
354
- };
355
- /**
356
- * Protocol event type strings (for type guards and routing).
357
- */
358
- declare const OUI_PROTOCOL_EVENTS: {
359
- readonly SURFACE_REGISTER: "surface:register";
360
- readonly SURFACE_DEREGISTER: "surface:deregister";
361
- readonly ACTION_REQUEST: "action:request";
362
- readonly ACTION_RESULT: "action:result";
363
- readonly OBSERVATION_UPDATE: "observation:update";
364
- };
365
23
 
366
- export { ARGS_HASH_PATTERN, type JSONSchema, type OUIAction, type OUIActionApproval, type OUIActionPolling, type OUIActionRequest, type OUIActionResult, type OUIActivation, type OUIApprovalGrant, type OUIEffectKind, type OUIObservation, type OUIObservationSnapshot, type OUIObservationUpdate, type OUIProtocolEvent, type OUISurface, type OUISurfaceDeregistration, type OUISurfaceRegistration, type OUISurfaceSnapshot, OUI_EFFECT_ACCESS, OUI_EFFECT_KINDS, OUI_PROTOCOL_EVENTS, argsHash, canonicalJson, effectAccess, requiresApproval };
24
+ /** `surfaces`' hash, as a result's `surfacesHash` and a request's `knownSurfaces` carry it. */
25
+ declare function surfacesHash(surfaces: readonly OUISurface[]): string;
26
+
27
+ export { OUISurface, surfacesHash };
@@ -1,3 +1,3 @@
1
- export { ARGS_HASH_PATTERN, OUI_EFFECT_ACCESS, OUI_EFFECT_KINDS, OUI_PROTOCOL_EVENTS, argsHash, canonicalJson, effectAccess, requiresApproval } from '../chunk-BNGJJM3T.js';
1
+ export { ARGS_HASH_PATTERN, OUI_EFFECT_ACCESS, OUI_EFFECT_KINDS, OUI_PROTOCOL_EVENTS, argsHash, canonicalJson, effectAccess, requiresApproval, surfacesHash } from '../chunk-B2EFZMGY.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { OUIEffectKind, JSONSchema, OUIActionPolling, OUIActivation, OUISurface, OUISurfaceSnapshot, OUIActionRequest, OUIActionResult, OUIApprovalGrant } from './spec/index.js';
2
- import { S as SocketLike, d as OUITransportConfig } from './websocket-c5tIUWY5.js';
1
+ import { g as OUIEffectKind, J as JSONSchema, b as OUIActionPolling, e as OUIActivation, m as OUISurface, p as OUISurfaceSnapshot, c as OUIActionRequest, d as OUIActionResult, f as OUIApprovalGrant } from './types-CmJb1BQ8.cjs';
2
+ import { S as SocketLike, e as OUITransportConfig } from './websocket-Ds2Rh_jL.cjs';
3
3
 
4
4
  /**
5
5
  * Nominal branding for values OUI must construct itself.
@@ -214,6 +214,14 @@ interface SurfaceRuntimeOptions {
214
214
  * not checked; they come from the application itself.
215
215
  */
216
216
  accept?: (request: OUIActionRequest) => boolean;
217
+ /**
218
+ * A request sent again while its answer is on the way is not answered again
219
+ * (§7.3.7): every copy of a large answer queues on the one socket, ahead of
220
+ * the next request's answer. Only once the answer has gone this long without
221
+ * the receiver acknowledging it — lost, or a receiver that does not
222
+ * acknowledge — is a repeat answered again. Default 8000 ms.
223
+ */
224
+ reanswerAfterMs?: number;
217
225
  }
218
226
  interface MountedSurface {
219
227
  readonly surfaceId: string;
@@ -1,5 +1,5 @@
1
- import { OUIEffectKind, JSONSchema, OUIActionPolling, OUIActivation, OUISurface, OUISurfaceSnapshot, OUIActionRequest, OUIActionResult, OUIApprovalGrant } from './spec/index.cjs';
2
- import { S as SocketLike, d as OUITransportConfig } from './websocket-YfWILdZ4.cjs';
1
+ import { g as OUIEffectKind, J as JSONSchema, b as OUIActionPolling, e as OUIActivation, m as OUISurface, p as OUISurfaceSnapshot, c as OUIActionRequest, d as OUIActionResult, f as OUIApprovalGrant } from './types-CmJb1BQ8.js';
2
+ import { S as SocketLike, e as OUITransportConfig } from './websocket-Ce3tDSsJ.js';
3
3
 
4
4
  /**
5
5
  * Nominal branding for values OUI must construct itself.
@@ -214,6 +214,14 @@ interface SurfaceRuntimeOptions {
214
214
  * not checked; they come from the application itself.
215
215
  */
216
216
  accept?: (request: OUIActionRequest) => boolean;
217
+ /**
218
+ * A request sent again while its answer is on the way is not answered again
219
+ * (§7.3.7): every copy of a large answer queues on the one socket, ahead of
220
+ * the next request's answer. Only once the answer has gone this long without
221
+ * the receiver acknowledging it — lost, or a receiver that does not
222
+ * acknowledge — is a repeat answered again. Default 8000 ms.
223
+ */
224
+ reanswerAfterMs?: number;
217
225
  }
218
226
  interface MountedSurface {
219
227
  readonly surfaceId: string;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkROGKEMLL_cjs = require('../chunk-ROGKEMLL.cjs');
4
- var chunkXUX4XVP3_cjs = require('../chunk-XUX4XVP3.cjs');
4
+ var chunk5UUJ3F7C_cjs = require('../chunk-5UUJ3F7C.cjs');
5
5
 
6
6
 
7
7
 
@@ -11,7 +11,7 @@ Object.defineProperty(exports, "createDirectTransportPair", {
11
11
  });
12
12
  Object.defineProperty(exports, "createWebSocketTransport", {
13
13
  enumerable: true,
14
- get: function () { return chunkXUX4XVP3_cjs.createWebSocketTransport; }
14
+ get: function () { return chunk5UUJ3F7C_cjs.createWebSocketTransport; }
15
15
  });
16
16
  //# sourceMappingURL=index.cjs.map
17
17
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { c as OUITransport } from '../websocket-YfWILdZ4.cjs';
2
- export { O as OUIActionHandler, a as OUIObservationHandler, b as OUIResultHandler, d as OUITransportConfig, S as SocketLike, e as createWebSocketTransport } from '../websocket-YfWILdZ4.cjs';
3
- import '../spec/index.cjs';
1
+ import { d as OUITransport } from '../websocket-Ds2Rh_jL.cjs';
2
+ export { O as OUIAcknowledgment, a as OUIActionHandler, b as OUIObservationHandler, c as OUIResultHandler, e as OUITransportConfig, S as SocketLike, f as createWebSocketTransport } from '../websocket-Ds2Rh_jL.cjs';
3
+ import '../types-CmJb1BQ8.cjs';
4
4
 
5
5
  /**
6
6
  * Direct transport — for same-process communication.
@@ -1,6 +1,6 @@
1
- import { c as OUITransport } from '../websocket-c5tIUWY5.js';
2
- export { O as OUIActionHandler, a as OUIObservationHandler, b as OUIResultHandler, d as OUITransportConfig, S as SocketLike, e as createWebSocketTransport } from '../websocket-c5tIUWY5.js';
3
- import '../spec/index.js';
1
+ import { d as OUITransport } from '../websocket-Ce3tDSsJ.js';
2
+ export { O as OUIAcknowledgment, a as OUIActionHandler, b as OUIObservationHandler, c as OUIResultHandler, e as OUITransportConfig, S as SocketLike, f as createWebSocketTransport } from '../websocket-Ce3tDSsJ.js';
3
+ import '../types-CmJb1BQ8.js';
4
4
 
5
5
  /**
6
6
  * Direct transport — for same-process communication.
@@ -1,4 +1,4 @@
1
1
  export { createDirectTransportPair } from '../chunk-IIZ6HL2L.js';
2
- export { createWebSocketTransport } from '../chunk-UKKITNZK.js';
2
+ export { createWebSocketTransport } from '../chunk-R3SGP2UY.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map