oui-spec 0.4.1 → 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 (48) hide show
  1. package/README.md +41 -8
  2. package/dist/{chunk-DCVVTP3V.cjs → chunk-5UUJ3F7C.cjs} +53 -16
  3. package/dist/chunk-5UUJ3F7C.cjs.map +1 -0
  4. package/dist/{chunk-GDB56ZQZ.cjs → chunk-AFNWLRKV.cjs} +126 -15
  5. package/dist/chunk-AFNWLRKV.cjs.map +1 -0
  6. package/dist/chunk-B2EFZMGY.js +159 -0
  7. package/dist/chunk-B2EFZMGY.js.map +1 -0
  8. package/dist/chunk-LDECTDPU.cjs +169 -0
  9. package/dist/chunk-LDECTDPU.cjs.map +1 -0
  10. package/dist/{chunk-F3WKIRAU.js → chunk-R3SGP2UY.js} +53 -16
  11. package/dist/chunk-R3SGP2UY.js.map +1 -0
  12. package/dist/{chunk-UQLG55ST.js → chunk-VQETSIY5.js} +124 -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 +40 -8
  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 +34 -2
  25. package/dist/spec/index.d.cts +22 -272
  26. package/dist/spec/index.d.ts +22 -272
  27. package/dist/spec/index.js +1 -1
  28. package/dist/{surface-runtime-BzIKgL_I.d.cts → surface-runtime-CSZ9UtBO.d.cts} +23 -2
  29. package/dist/{surface-runtime-DeByfbKg.d.ts → surface-runtime-D5nINY4b.d.ts} +23 -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 +4 -3
  39. package/spec/OUI-SPEC-v0.1.md +63 -7
  40. package/spec/approval-vectors.json +88 -0
  41. package/dist/chunk-BMCL2K74.js +0 -12
  42. package/dist/chunk-BMCL2K74.js.map +0 -1
  43. package/dist/chunk-DCVVTP3V.cjs.map +0 -1
  44. package/dist/chunk-F3WKIRAU.js.map +0 -1
  45. package/dist/chunk-GDB56ZQZ.cjs.map +0 -1
  46. package/dist/chunk-UQLG55ST.js.map +0 -1
  47. package/dist/chunk-ZKM4XWAB.cjs +0 -14
  48. package/dist/chunk-ZKM4XWAB.cjs.map +0 -1
@@ -1,277 +1,27 @@
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';
3
+
1
4
  /**
2
- * OUI — Open UI Specification
3
- *
4
- * The machine-readable contract for agent-controllable user interfaces.
5
- * Any UI application that implements this interface can be controlled by
6
- * any OUI-compatible agent runtime.
7
- */
8
- /** JSON Schema type (subset used by OUI) */
9
- type JSONSchema = {
10
- type?: string | string[];
11
- properties?: Record<string, JSONSchema>;
12
- items?: JSONSchema;
13
- required?: string[];
14
- enum?: (string | number | boolean)[];
15
- description?: string;
16
- default?: unknown;
17
- oneOf?: JSONSchema[];
18
- anyOf?: JSONSchema[];
19
- allOf?: JSONSchema[];
20
- const?: unknown;
21
- minimum?: number;
22
- maximum?: number;
23
- minLength?: number;
24
- maxLength?: number;
25
- pattern?: string;
26
- format?: string;
27
- additionalProperties?: boolean | JSONSchema;
28
- };
29
- /**
30
- * A Surface is a controllable boundary within an application.
31
- * It declares what an agent can do (actions), what it can observe (state),
32
- * 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).
33
7
  *
34
- * Think of it as "one page" or "one feature" of an application, described
35
- * in a way that an agent can understand and operate.
36
- */
37
- interface OUISurface {
38
- /** Unique identifier for this surface (e.g., 'dataviz-wizard', 'document-editor') */
39
- id: string;
40
- /** Human-readable name */
41
- name: string;
42
- /** Description of what this surface does — included in agent context */
43
- description: string;
44
- /** Version of this surface's contract (semver) */
45
- version?: string;
46
- /** Actions the agent can invoke on this surface */
47
- actions: OUIAction[];
48
- /** Observable state the agent can read */
49
- observations?: OUIObservation[];
50
- /** When this surface is active/available */
51
- activation?: OUIActivation;
52
- /** Additional metadata for agent context */
53
- metadata?: Record<string, unknown>;
54
- }
55
- /**
56
- * Declarative polling configuration for async actions.
57
- * The OUI runtime in the browser manages the polling lifecycle automatically
58
- * after the action handler returns its dispatch result.
59
- */
60
- interface OUIActionPolling {
61
- /** How often to check (milliseconds) */
62
- intervalMs: number;
63
- /** Max poll attempts before giving up (optional) */
64
- maxAttempts?: number;
65
- /** Max total duration before giving up in ms (alternative to maxAttempts) */
66
- maxDurationMs?: number;
67
- /**
68
- * Subscribe to a realtime event instead of polling.
69
- * If provided, the runtime listens for this event instead of using setInterval.
70
- * More efficient when realtime infrastructure exists.
71
- */
72
- subscribe?: {
73
- /** Event name to listen for */
74
- event: string;
75
- /**
76
- * Filter to match the event. Values prefixed with '$dispatchResult.'
77
- * are resolved from the handler's return value.
78
- * Example: { jobId: '$dispatchResult.jobId' }
79
- */
80
- filter?: Record<string, unknown>;
81
- };
82
- }
83
- /**
84
- * An Action is a single operation an agent can perform on a surface.
85
- * 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.
86
14
  *
87
- * The action's handler executes in the UI (or API) and returns a result
88
- * that the agent sees as the tool's output.
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.
89
22
  */
90
- interface OUIAction {
91
- /** Unique action identifier (becomes the tool name) */
92
- id: string;
93
- /** Human-readable description — this is what the LLM reads to decide when to use it */
94
- description: string;
95
- /** JSON Schema for the action's input parameters */
96
- input: JSONSchema;
97
- /** JSON Schema for the action's return value (optional — agent still gets the result) */
98
- output?: JSONSchema;
99
- /** If true, the agent runtime should confirm with the user before executing */
100
- confirm?: boolean;
101
- /** If true, the action is async — returns immediately with a job/tracking ID */
102
- async?: boolean;
103
- /** Declarative polling configuration — runtime manages the polling lifecycle after dispatch */
104
- polling?: OUIActionPolling;
105
- /** Human-readable hint about when this action is appropriate to use */
106
- usage?: string;
107
- /**
108
- * Preconditions that should be met before this action is called.
109
- * Expressed as a description (for the LLM) not as executable logic.
110
- */
111
- preconditions?: string;
112
- /** Estimated duration hint (e.g., "instant", "2-5s", "30-120s") */
113
- estimatedDuration?: string;
114
- /** Tags for categorization */
115
- tags?: string[];
116
- }
117
- /**
118
- * An Observation is a piece of application state that the agent can read.
119
- * Observations are pushed to the agent in real-time as the app state changes,
120
- * giving it situational awareness without needing screenshots.
121
- */
122
- interface OUIObservation {
123
- /** Unique identifier for this observation */
124
- id: string;
125
- /** Description of what this observation represents */
126
- description: string;
127
- /** JSON Schema for the observation's value */
128
- schema: JSONSchema;
129
- /** How frequently this observation updates */
130
- updateFrequency?: "realtime" | "on-change" | "polling";
131
- }
132
- /**
133
- * Activation conditions — when a surface is available to the agent.
134
- * A surface might only be active on a specific page, when certain
135
- * entities are loaded, or under specific application states.
136
- */
137
- interface OUIActivation {
138
- /** URL path(s) where this surface is active */
139
- routes?: string | string[];
140
- /** Entity type/ID that must be present for this surface to activate */
141
- entity?: {
142
- type: string;
143
- id?: string;
144
- };
145
- /** Custom predicate description (for documentation, not execution) */
146
- condition?: string;
147
- }
148
- /**
149
- * A request from the agent runtime to execute an action on a surface.
150
- */
151
- interface OUIActionRequest {
152
- /** Unique request ID for correlation */
153
- requestId: string;
154
- /** Which surface this request targets */
155
- surfaceId: string;
156
- /** Which action to invoke */
157
- actionId: string;
158
- /** The action's input parameters (validated against the action's input schema) */
159
- params: Record<string, unknown>;
160
- /** Timestamp of the request */
161
- timestamp: number;
162
- }
163
- /**
164
- * The result of an action execution, returned from the surface to the agent.
165
- */
166
- interface OUIActionResult {
167
- /** Correlates to the request */
168
- requestId: string;
169
- /** Whether the action succeeded */
170
- success: boolean;
171
- /** The action's return data (if successful) */
172
- data?: unknown;
173
- /** Error information (if failed) */
174
- error?: {
175
- code: string;
176
- message: string;
177
- details?: unknown;
178
- };
179
- /** Progress indicator for interim polling results (0-100) */
180
- progress?: number;
181
- /** Whether this is an interim update (polling still in progress) or final */
182
- interim?: boolean;
183
- /** Duration of execution in milliseconds */
184
- durationMs?: number;
185
- /** Timestamp of the result */
186
- timestamp: number;
187
- /**
188
- * The surfaces active on the client once the action's effects settled.
189
- *
190
- * An action can change what the agent is able to do next: navigating
191
- * unmounts one page's surfaces and mounts another's. Without this, the agent
192
- * would act on the capability set it had before the action, which is the
193
- * set the action just replaced.
194
- */
195
- surfaces?: OUISurface[];
196
- /** Latest observation values per surface once the action's effects settled. */
197
- observations?: OUIObservationSnapshot;
198
- /**
199
- * False when the client's deadline passed before its UI settled, so
200
- * `surfaces` and `observations` may still be changing. Absent or true
201
- * otherwise.
202
- */
203
- settled?: boolean;
204
- }
205
- /** Latest observation values, keyed by surface id and then observation id. */
206
- type OUIObservationSnapshot = Record<string, Record<string, unknown>>;
207
- /**
208
- * What a client can do right now: the surfaces it has mounted and their latest
209
- * observation values. A client sends this to its agent runtime (for example,
210
- * with each turn), and returns it on every action result.
211
- */
212
- interface OUISurfaceSnapshot {
213
- surfaces: OUISurface[];
214
- observations: OUIObservationSnapshot;
215
- }
216
- /**
217
- * An observation update pushed from the surface to the agent.
218
- */
219
- interface OUIObservationUpdate {
220
- /** Which surface this observation belongs to */
221
- surfaceId: string;
222
- /** Which observation updated */
223
- observationId: string;
224
- /** The new value */
225
- value: unknown;
226
- /** Timestamp of the update */
227
- timestamp: number;
228
- }
229
- /**
230
- * Surface registration event — sent when a surface becomes active.
231
- */
232
- interface OUISurfaceRegistration {
233
- /** The full surface manifest */
234
- surface: OUISurface;
235
- /** Timestamp of registration */
236
- timestamp: number;
237
- }
238
- /**
239
- * Surface deregistration event — sent when a surface becomes inactive.
240
- */
241
- interface OUISurfaceDeregistration {
242
- /** Which surface is being deregistered */
243
- surfaceId: string;
244
- /** Timestamp */
245
- timestamp: number;
246
- }
247
- /**
248
- * All protocol events exchanged between agent runtime and surfaces.
249
- */
250
- type OUIProtocolEvent = {
251
- type: "surface:register";
252
- payload: OUISurfaceRegistration;
253
- } | {
254
- type: "surface:deregister";
255
- payload: OUISurfaceDeregistration;
256
- } | {
257
- type: "action:request";
258
- payload: OUIActionRequest;
259
- } | {
260
- type: "action:result";
261
- payload: OUIActionResult;
262
- } | {
263
- type: "observation:update";
264
- payload: OUIObservationUpdate;
265
- };
266
- /**
267
- * Protocol event type strings (for type guards and routing).
268
- */
269
- declare const OUI_PROTOCOL_EVENTS: {
270
- readonly SURFACE_REGISTER: "surface:register";
271
- readonly SURFACE_DEREGISTER: "surface:deregister";
272
- readonly ACTION_REQUEST: "action:request";
273
- readonly ACTION_RESULT: "action:result";
274
- readonly OBSERVATION_UPDATE: "observation:update";
275
- };
276
23
 
277
- export { type JSONSchema, type OUIAction, type OUIActionPolling, type OUIActionRequest, type OUIActionResult, type OUIActivation, type OUIObservation, type OUIObservationSnapshot, type OUIObservationUpdate, type OUIProtocolEvent, type OUISurface, type OUISurfaceDeregistration, type OUISurfaceRegistration, type OUISurfaceSnapshot, OUI_PROTOCOL_EVENTS };
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 { OUI_PROTOCOL_EVENTS } from '../chunk-BMCL2K74.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 { JSONSchema, OUIActionPolling, OUIActivation, OUISurface, OUISurfaceSnapshot, OUIActionRequest, OUIActionResult } 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.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.
@@ -61,8 +61,13 @@ interface ActionPollingConfig<TContext = unknown> extends OUIActionPolling {
61
61
  interface ActionDefinition<TContext = unknown> {
62
62
  id: string;
63
63
  description: string;
64
+ /** Its name as a person reads it, for a confirmation the user approves. */
65
+ title?: string;
66
+ /** What using it does; a `transaction` runs only on the user's approval of the exact request. */
67
+ effect?: OUIEffectKind;
64
68
  input: JSONSchema;
65
69
  output?: JSONSchema;
70
+ /** Destructive: it runs only on the user's approval of the exact request, unless it only reads. */
66
71
  confirm?: boolean;
67
72
  async?: boolean;
68
73
  /**
@@ -209,6 +214,14 @@ interface SurfaceRuntimeOptions {
209
214
  * not checked; they come from the application itself.
210
215
  */
211
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;
212
225
  }
213
226
  interface MountedSurface {
214
227
  readonly surfaceId: string;
@@ -241,6 +254,14 @@ interface SurfaceRuntime {
241
254
  * code still loading or a page fetching the data it will display.
242
255
  */
243
256
  hold(): () => void;
257
+ /**
258
+ * Record that the user approved one request, here, through their own
259
+ * confirmation (the agent runtime's approval store answered it to this tab).
260
+ * An action that needs approval — a `transaction`, or a destructive write —
261
+ * runs only on a request whose `approval` matches an unused, unexpired grant
262
+ * for exactly its params. Each grant admits one request.
263
+ */
264
+ grantApproval(grant: OUIApprovalGrant): void;
244
265
  /** Called whenever the snapshot changes. */
245
266
  subscribe(listener: () => void): () => void;
246
267
  /** Stop polling, detach from the socket and forget every mount. */
@@ -1,5 +1,5 @@
1
- import { JSONSchema, OUIActionPolling, OUIActivation, OUISurface, OUISurfaceSnapshot, OUIActionRequest, OUIActionResult } 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.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.
@@ -61,8 +61,13 @@ interface ActionPollingConfig<TContext = unknown> extends OUIActionPolling {
61
61
  interface ActionDefinition<TContext = unknown> {
62
62
  id: string;
63
63
  description: string;
64
+ /** Its name as a person reads it, for a confirmation the user approves. */
65
+ title?: string;
66
+ /** What using it does; a `transaction` runs only on the user's approval of the exact request. */
67
+ effect?: OUIEffectKind;
64
68
  input: JSONSchema;
65
69
  output?: JSONSchema;
70
+ /** Destructive: it runs only on the user's approval of the exact request, unless it only reads. */
66
71
  confirm?: boolean;
67
72
  async?: boolean;
68
73
  /**
@@ -209,6 +214,14 @@ interface SurfaceRuntimeOptions {
209
214
  * not checked; they come from the application itself.
210
215
  */
211
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;
212
225
  }
213
226
  interface MountedSurface {
214
227
  readonly surfaceId: string;
@@ -241,6 +254,14 @@ interface SurfaceRuntime {
241
254
  * code still loading or a page fetching the data it will display.
242
255
  */
243
256
  hold(): () => void;
257
+ /**
258
+ * Record that the user approved one request, here, through their own
259
+ * confirmation (the agent runtime's approval store answered it to this tab).
260
+ * An action that needs approval — a `transaction`, or a destructive write —
261
+ * runs only on a request whose `approval` matches an unused, unexpired grant
262
+ * for exactly its params. Each grant admits one request.
263
+ */
264
+ grantApproval(grant: OUIApprovalGrant): void;
244
265
  /** Called whenever the snapshot changes. */
245
266
  subscribe(listener: () => void): () => void;
246
267
  /** Stop polling, detach from the socket and forget every mount. */
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkROGKEMLL_cjs = require('../chunk-ROGKEMLL.cjs');
4
- var chunkDCVVTP3V_cjs = require('../chunk-DCVVTP3V.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 chunkDCVVTP3V_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-F3WKIRAU.js';
2
+ export { createWebSocketTransport } from '../chunk-R3SGP2UY.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map