devframe 0.3.0 → 0.4.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.
Files changed (47) hide show
  1. package/dist/adapters/build.d.mts +1 -1
  2. package/dist/adapters/build.mjs +3 -3
  3. package/dist/adapters/cli.d.mts +2 -2
  4. package/dist/adapters/cli.mjs +1 -1
  5. package/dist/adapters/dev.d.mts +2 -2
  6. package/dist/adapters/dev.mjs +1 -1
  7. package/dist/adapters/embedded.d.mts +1 -1
  8. package/dist/adapters/mcp.d.mts +1 -3
  9. package/dist/adapters/mcp.mjs +3 -3
  10. package/dist/client/index.d.mts +4 -18
  11. package/dist/client/index.mjs +6 -6
  12. package/dist/{context-CwjX6sCG.d.mts → context-C9oW88gr.d.mts} +1 -1
  13. package/dist/{dev-BbmanqL7.mjs → dev-C2wjXjGB.mjs} +1 -1
  14. package/dist/{devframe-sc4cb5xr.d.mts → devframe-K4IxpM4a.d.mts} +64 -13
  15. package/dist/{dump-zMleojnD.mjs → dump-B1wd4u68.mjs} +6 -6
  16. package/dist/helpers/vite.d.mts +1 -1
  17. package/dist/helpers/vite.mjs +2 -2
  18. package/dist/{host-h3-TTunNr_n.mjs → host-h3-Div5Vp8R.mjs} +13 -13
  19. package/dist/{index-C5PmWqBf.d.mts → index-BhtRKN7X.d.mts} +1 -1
  20. package/dist/{index-CTK6fuXs.d.mts → index-CBSBvT9K.d.mts} +2 -2
  21. package/dist/index.d.mts +3 -3
  22. package/dist/node/auth.d.mts +2 -2
  23. package/dist/node/index.d.mts +5 -5
  24. package/dist/node/index.mjs +2 -2
  25. package/dist/node/internal.d.mts +2 -2
  26. package/dist/node/internal.mjs +1 -1
  27. package/dist/recipes/open-helpers.d.mts +1 -1
  28. package/dist/rpc/dump.d.mts +1 -1
  29. package/dist/rpc/dump.mjs +1 -1
  30. package/dist/rpc/index.d.mts +2 -2
  31. package/dist/rpc/index.mjs +6 -6
  32. package/dist/rpc/transports/ws-client.d.mts +1 -25
  33. package/dist/rpc/transports/ws-client.mjs +1 -1
  34. package/dist/rpc/transports/ws-server.d.mts +1 -1
  35. package/dist/rpc/transports/ws-server.mjs +1 -1
  36. package/dist/{serialization-BlqLh4_J.mjs → serialization-BD_qXGjd.mjs} +1 -1
  37. package/dist/{server-ouL4gZbu.d.mts → server-KzCqriO9.d.mts} +1 -1
  38. package/dist/{storage-K-OxR1xf.mjs → storage-CZVTPKsw.mjs} +1 -1
  39. package/dist/types/index.d.mts +3 -3
  40. package/dist/{types-BXL7EIDM.d.mts → types-dNW3UmMl.d.mts} +1 -1
  41. package/dist/utils/events.d.mts +1 -1
  42. package/dist/utils/shared-state.d.mts +1 -1
  43. package/dist/utils/streaming-channel.d.mts +1 -1
  44. package/dist/ws-client-BZptK_Mf.d.mts +26 -0
  45. package/dist/{ws-server-DOwLJL23.d.mts → ws-server-CTeMCO1r.d.mts} +2 -2
  46. package/package.json +4 -3
  47. package/dist/index-DTeZXHSi.d.mts +0 -639
@@ -1,4 +1,4 @@
1
- import { r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
1
+ import { r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
2
2
 
3
3
  //#region src/adapters/build.d.ts
4
4
  interface CreateBuildOptions {
@@ -1,9 +1,9 @@
1
- import { t as collectStaticRpcDump } from "../dump-zMleojnD.mjs";
1
+ import { t as collectStaticRpcDump } from "../dump-B1wd4u68.mjs";
2
2
  import { n as colors } from "../diagnostics-reporter-CBBZwoMv.mjs";
3
3
  import { DEVTOOLS_CONNECTION_META_FILENAME, DEVTOOLS_RPC_DUMP_DIRNAME, DEVTOOLS_RPC_DUMP_MANIFEST_FILENAME } from "../constants.mjs";
4
- import { n as strictJsonStringify } from "../serialization-BlqLh4_J.mjs";
4
+ import { n as strictJsonStringify } from "../serialization-BD_qXGjd.mjs";
5
5
  import { n as structuredCloneStringify } from "../structured-clone-jegjz0hM.mjs";
6
- import { n as createHostContext, t as createH3DevToolsHost } from "../host-h3-TTunNr_n.mjs";
6
+ import { n as createHostContext, t as createH3DevToolsHost } from "../host-h3-Div5Vp8R.mjs";
7
7
  import { n as resolveBasePath } from "../_shared-CUFqO4kJ.mjs";
8
8
  import { existsSync } from "node:fs";
9
9
  import process from "node:process";
@@ -1,6 +1,6 @@
1
- import { G as CliFlagsSchema, J as parseCliFlags, K as InferCliFlags, q as defineCliFlags, r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
2
- import { H3 } from "h3";
1
+ import { dt as defineCliFlags, ft as parseCliFlags, lt as CliFlagsSchema, r as DevframeDefinition, ut as InferCliFlags } from "../devframe-K4IxpM4a.mjs";
3
2
  import { CAC } from "cac";
3
+ import { H3 } from "h3";
4
4
 
5
5
  //#region src/adapters/cli.d.ts
6
6
  interface CreateCliOptions {
@@ -1,6 +1,6 @@
1
1
  import { n as colors } from "../diagnostics-reporter-CBBZwoMv.mjs";
2
2
  import { createBuild } from "./build.mjs";
3
- import { n as resolveDevServerPort, t as createDevServer } from "../dev-BbmanqL7.mjs";
3
+ import { n as resolveDevServerPort, t as createDevServer } from "../dev-C2wjXjGB.mjs";
4
4
  import process from "node:process";
5
5
  import cac from "cac";
6
6
  import { safeParse } from "valibot";
@@ -1,5 +1,5 @@
1
- import { r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
2
- import { n as StartedServer } from "../server-ouL4gZbu.mjs";
1
+ import { r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
2
+ import { n as StartedServer } from "../server-KzCqriO9.mjs";
3
3
  import { H3 } from "h3";
4
4
 
5
5
  //#region src/adapters/dev.d.ts
@@ -1,2 +1,2 @@
1
- import { n as resolveDevServerPort, t as createDevServer } from "../dev-BbmanqL7.mjs";
1
+ import { n as resolveDevServerPort, t as createDevServer } from "../dev-C2wjXjGB.mjs";
2
2
  export { createDevServer, resolveDevServerPort };
@@ -1,4 +1,4 @@
1
- import { d as DevToolsNodeContext, r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
1
+ import { d as DevToolsNodeContext, r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
2
2
 
3
3
  //#region src/adapters/embedded.d.ts
4
4
  interface CreateEmbeddedOptions {
@@ -1,6 +1,4 @@
1
- import { r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
2
- import { Server } from "@modelcontextprotocol/sdk/server/index.js";
3
-
1
+ import { r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
4
2
  //#region src/adapters/mcp/build-server.d.ts
5
3
  interface CreateMcpServerOptions {
6
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { i as diagnostics } from "../shared-state-CasqoUba.mjs";
2
- import { n as createHostContext } from "../host-h3-TTunNr_n.mjs";
2
+ import { n as createHostContext } from "../host-h3-Div5Vp8R.mjs";
3
3
  import { homedir } from "node:os";
4
4
  import process from "node:process";
5
5
  import { join } from "pathe";
@@ -185,7 +185,7 @@ function buildMcpServerFromContext(ctx, options) {
185
185
  */
186
186
  async function createMcpServer(definition, options = {}) {
187
187
  const transport = options.transport ?? "stdio";
188
- if (transport !== "stdio") throw diagnostics.DF0017.throw({
188
+ if (transport !== "stdio") throw diagnostics.DF0017({
189
189
  transport,
190
190
  reason: "Only stdio transport is supported in this release."
191
191
  });
@@ -210,7 +210,7 @@ async function createMcpServer(definition, options = {}) {
210
210
  stop = await startStdioTransport(server);
211
211
  } catch (error) {
212
212
  const reason = error instanceof Error ? error.message : String(error);
213
- throw diagnostics.DF0017.throw({
213
+ throw diagnostics.DF0017({
214
214
  transport,
215
215
  reason,
216
216
  cause: error
@@ -1,23 +1,9 @@
1
- import { D as RpcCacheOptions, E as RpcCacheManager, O as RpcFunctionDefinitionAny, i as DevToolsRpcServerFunctions, k as RpcFunctionsCollector, l as StreamReader, n as RpcSharedStateHost, r as DevToolsRpcClientFunctions, t as ConnectionMeta, u as StreamSink, w as EventEmitter } from "../index-DTeZXHSi.mjs";
1
+ import { T as StreamSink, U as DevToolsRpcClientFunctions, W as DevToolsRpcServerFunctions, g as RpcSharedStateHost, l as ConnectionMeta, ot as EventEmitter, w as StreamReader } from "../devframe-K4IxpM4a.mjs";
2
+ import { C as RpcFunctionsCollector } from "../types-dNW3UmMl.mjs";
3
+ import { C as RpcCacheManager, w as RpcCacheOptions } from "../index-CBSBvT9K.mjs";
4
+ import { t as WsRpcChannelOptions } from "../ws-client-BZptK_Mf.mjs";
2
5
  import { BirpcOptions, BirpcReturn } from "birpc";
3
6
 
4
- //#region src/rpc/transports/ws-client.d.ts
5
- interface WsRpcChannelOptions {
6
- url: string;
7
- onConnected?: (e: Event) => void;
8
- onError?: (e: Error) => void;
9
- onDisconnected?: (e: CloseEvent) => void;
10
- authToken?: string;
11
- /**
12
- * RPC function definitions (or just the `jsonSerializable` flag per
13
- * method) used to dispatch the per-call wire serializer. Pass an
14
- * empty / partial map on clients that don't have the full registry —
15
- * encoding falls back to structured-clone (the safer superset) and
16
- * decoding still routes correctly via the wire prefix.
17
- */
18
- definitions?: ReadonlyMap<string, Pick<RpcFunctionDefinitionAny, 'jsonSerializable'>>;
19
- }
20
- //#endregion
21
7
  //#region src/client/rpc-streaming.d.ts
22
8
  interface StreamingSubscribeOptions {
23
9
  /** Maximum buffered chunks before the oldest is dropped. Default 256. */
@@ -83,7 +83,7 @@ async function getRpcResolvedSetupResult(definition, context) {
83
83
  async function getRpcHandler(definition, context) {
84
84
  if (definition.handler) return definition.handler;
85
85
  const result = await getRpcResolvedSetupResult(definition, context);
86
- if (!result.handler) throw diagnostics.DF0024.throw({ name: definition.name });
86
+ if (!result.handler) throw diagnostics.DF0024({ name: definition.name });
87
87
  return result.handler;
88
88
  }
89
89
  //#endregion
@@ -155,13 +155,13 @@ var RpcFunctionsCollectorBase = class {
155
155
  });
156
156
  }
157
157
  register(fn, force = false) {
158
- if (this.definitions.has(fn.name) && !force) throw diagnostics.DF0021.throw({ name: fn.name });
158
+ if (this.definitions.has(fn.name) && !force) throw diagnostics.DF0021({ name: fn.name });
159
159
  assertAgentJsonSerializable(fn);
160
160
  this.definitions.set(fn.name, fn);
161
161
  this._onChanged.forEach((cb) => cb(fn.name));
162
162
  }
163
163
  update(fn, force = false) {
164
- if (!this.definitions.has(fn.name) && !force) throw diagnostics.DF0022.throw({ name: fn.name });
164
+ if (!this.definitions.has(fn.name) && !force) throw diagnostics.DF0022({ name: fn.name });
165
165
  assertAgentJsonSerializable(fn);
166
166
  this.definitions.set(fn.name, fn);
167
167
  this._onChanged.forEach((cb) => cb(fn.name));
@@ -178,7 +178,7 @@ var RpcFunctionsCollectorBase = class {
178
178
  }
179
179
  getSchema(name) {
180
180
  const definition = this.definitions.get(name);
181
- if (!definition) throw diagnostics.DF0023.throw({ name: String(name) });
181
+ if (!definition) throw diagnostics.DF0023({ name: String(name) });
182
182
  return {
183
183
  args: definition.args,
184
184
  returns: definition.returns
@@ -195,7 +195,7 @@ var RpcFunctionsCollectorBase = class {
195
195
  }
196
196
  };
197
197
  function assertAgentJsonSerializable(fn) {
198
- if (fn.agent && fn.jsonSerializable !== true) throw diagnostics.DF0019.throw({ name: fn.name });
198
+ if (fn.agent && fn.jsonSerializable !== true) throw diagnostics.DF0019({ name: fn.name });
199
199
  }
200
200
  //#endregion
201
201
  //#region src/rpc/serialization.ts
@@ -243,7 +243,7 @@ function strictJsonStringify(value, fnName = "") {
243
243
  }
244
244
  function nonJsonAt(fnName, type, parent, key) {
245
245
  const path = formatPath(parent, key);
246
- return diagnostics.DF0020.throw({
246
+ return diagnostics.DF0020({
247
247
  name: fnName || "<anonymous>",
248
248
  type,
249
249
  path
@@ -1,4 +1,4 @@
1
- import { b as SharedState, d as DevToolsNodeContext } from "./devframe-sc4cb5xr.mjs";
1
+ import { P as SharedState, d as DevToolsNodeContext } from "./devframe-K4IxpM4a.mjs";
2
2
 
3
3
  //#region src/node/internal/context.d.ts
4
4
  interface InternalAnonymousAuthStorage {
@@ -1,5 +1,5 @@
1
1
  import { DEVTOOLS_CONNECTION_META_FILENAME } from "./constants.mjs";
2
- import { n as createHostContext, t as createH3DevToolsHost } from "./host-h3-TTunNr_n.mjs";
2
+ import { n as createHostContext, t as createH3DevToolsHost } from "./host-h3-Div5Vp8R.mjs";
3
3
  import { t as startHttpAndWs } from "./server-BO8IDVsJ.mjs";
4
4
  import { n as resolveBasePath, t as normalizeBasePath } from "./_shared-CUFqO4kJ.mjs";
5
5
  import { t as open } from "./open-DiQn6zCH.mjs";
@@ -1,9 +1,9 @@
1
- import { S as RpcFunctionsCollectorBase } from "./index-CTK6fuXs.mjs";
2
- import { t as DevToolsNodeRpcSessionMeta } from "./ws-server-DOwLJL23.mjs";
3
- import { Diagnostic, DiagnosticDefinition, defineDiagnostics } from "nostics";
4
- import { BirpcReturn } from "birpc";
1
+ import { S as RpcFunctionsCollectorBase } from "./index-CBSBvT9K.mjs";
2
+ import { t as DevToolsNodeRpcSessionMeta } from "./ws-server-CTeMCO1r.mjs";
5
3
  import { CAC } from "cac";
6
4
  import { GenericSchema, InferOutput } from "valibot";
5
+ import { BirpcReturn } from "birpc";
6
+ import { Diagnostic, DiagnosticDefinition, defineDiagnostics } from "nostics";
7
7
 
8
8
  //#region src/adapters/flags.d.ts
9
9
  /**
@@ -295,9 +295,10 @@ interface DevToolsAgentHost {
295
295
  type DevToolsDiagnosticsDefinition = ReturnType<typeof defineDiagnostics<any, any>>;
296
296
  /**
297
297
  * The shared diagnostics lookup exposed by the host. A `Proxy` that resolves
298
- * any registered code name to its `nostics` handle (with `.report()` and
299
- * `.throw()` methods). Typed loosely because it spans heterogeneous
300
- * definitions registered by different integrations.
298
+ * any registered code name to its `nostics` handle (a callable that builds
299
+ * a diagnostic and routes it through registered reporters). Typed loosely
300
+ * because it spans heterogeneous definitions registered by different
301
+ * integrations.
301
302
  */
302
303
  type DevToolsDiagnosticsLogger = Record<string, any>;
303
304
  /**
@@ -327,18 +328,19 @@ interface DevToolsDefineDiagnosticsOptions<Codes extends Record<string, Diagnost
327
328
  * ctx.diagnostics.register(myDiagnostics)
328
329
  *
329
330
  * // Through the shared lookup (loose typing):
330
- * ctx.diagnostics.logger.MYP0001.throw()
331
+ * throw ctx.diagnostics.logger.MYP0001()
331
332
  *
332
333
  * // Or directly on the typed handle returned from `defineDiagnostics`:
333
- * myDiagnostics.MYP0001.throw()
334
+ * throw myDiagnostics.MYP0001()
334
335
  * ```
335
336
  */
336
337
  interface DevToolsDiagnosticsHost {
337
338
  /**
338
339
  * Proxy-backed lookup of every registered diagnostic handle by code name.
339
- * Resolves to a `nostics` `DiagnosticHandle` with `.report()` / `.throw()`.
340
- * Loosely typed for autocompletion, keep a reference to the typed
341
- * result of `defineDiagnostics()` instead.
340
+ * Resolves to a `nostics` `DiagnosticHandle` a callable that builds a
341
+ * diagnostic and routes it through registered reporters; prefix with
342
+ * `throw` to raise. Loosely typed — for autocompletion, keep a reference
343
+ * to the typed result of `defineDiagnostics()` instead.
342
344
  */
343
345
  readonly logger: DevToolsDiagnosticsLogger;
344
346
  /**
@@ -571,6 +573,19 @@ interface SharedState<T> {
571
573
  interface SharedStateEvents<T> {
572
574
  updated: (fullState: T, patches: SharedStatePatch[] | undefined, syncId: string) => void;
573
575
  }
576
+ interface SharedStateOptions<T> {
577
+ /**
578
+ * Initial state.
579
+ */
580
+ initialValue: T;
581
+ /**
582
+ * Enable patches.
583
+ *
584
+ * @default false
585
+ */
586
+ enablePatches?: boolean;
587
+ }
588
+ declare function createSharedState<T extends object>(options: SharedStateOptions<T>): SharedState<T>;
574
589
  //#endregion
575
590
  //#region src/utils/streaming-channel.d.ts
576
591
  /**
@@ -598,6 +613,14 @@ interface StreamSinkEvents<T> {
598
613
  /** Terminal — fired exactly once per sink lifetime. */
599
614
  end: (error?: StreamErrorPayload) => void;
600
615
  }
616
+ interface CreateStreamSinkOptions {
617
+ id?: string;
618
+ /**
619
+ * Size of the per-stream ring buffer kept for replay-on-resubscribe.
620
+ * `0` (default) disables replay.
621
+ */
622
+ replayWindow?: number;
623
+ }
601
624
  /**
602
625
  * Server-side producer handle. Two equivalent surfaces share one piece of
603
626
  * state: the imperative `write/error/close` triple, and a `WritableStream<T>`
@@ -638,6 +661,22 @@ interface StreamSink<T> {
638
661
  */
639
662
  readonly buffer: ReadonlyArray<BufferedChunk<T>>;
640
663
  }
664
+ interface CreateStreamReaderOptions {
665
+ id?: string;
666
+ /**
667
+ * Maximum number of buffered chunks held client-side while the consumer
668
+ * isn't draining. On overflow, the oldest chunk is dropped.
669
+ */
670
+ highWaterMark?: number;
671
+ /**
672
+ * Called when the chunk queue overflows the high-water mark. The RPC
673
+ * layer wires this to a coded warning; the primitive itself is
674
+ * RPC-agnostic.
675
+ */
676
+ onOverflow?: (dropped: number) => void;
677
+ /** Called when the consumer cancels — the RPC layer sends `:cancel` upstream. */
678
+ onCancel?: () => void;
679
+ }
641
680
  /**
642
681
  * Client-side consumer handle. Both an `AsyncIterable<T>` (for `for await`)
643
682
  * and exposes `readable: ReadableStream<T>` (for `pipeTo`). Pick one — they
@@ -657,6 +696,18 @@ interface StreamReader<T> extends AsyncIterable<T> {
657
696
  /** @internal */
658
697
  _end: (error?: StreamErrorPayload) => void;
659
698
  }
699
+ /**
700
+ * Build a server-side stream sink. RPC-agnostic — the RPC host wires
701
+ * `events.on('chunk' | 'end')` to broadcast, and reads `buffer` to replay
702
+ * for late or reconnecting subscribers.
703
+ */
704
+ declare function createStreamSink<T>(options?: CreateStreamSinkOptions): StreamSink<T>;
705
+ /**
706
+ * Build a client-side stream reader. RPC-agnostic — the RPC host calls
707
+ * `_push(seq, chunk)` on each incoming chunk and `_end(error?)` on the
708
+ * terminal frame. Consumers iterate with `for await` or pipe `readable`.
709
+ */
710
+ declare function createStreamReader<T>(options?: CreateStreamReaderOptions): StreamReader<T>;
660
711
  //#endregion
661
712
  //#region src/types/rpc.d.ts
662
713
  interface DevToolsNodeRpcSession {
@@ -1005,4 +1056,4 @@ interface DevframeDefinition {
1005
1056
  }
1006
1057
  declare function defineDevframe(d: DevframeDefinition): DevframeDefinition;
1007
1058
  //#endregion
1008
- export { DevToolsDiagnosticsDefinition as A, DevToolsAgentHost as B, PartialWithoutId as C, DevToolsRpcSharedStates as D, DevToolsRpcServerFunctions as E, AgentResource as F, CliFlagsSchema as G, EventEmitter as H, AgentResourceContent as I, parseCliFlags as J, InferCliFlags as K, AgentResourceInput as L, DevToolsDiagnosticsLogger as M, AgentHandle as N, DevToolsHost as O, AgentManifest as P, AgentTool as R, EntriesToObject as S, DevToolsRpcClientFunctions as T, EventUnsubscribe as U, DevToolsAgentHostEvents as V, EventsMap as W, RpcStreamingChannel as _, DevframeRuntime as a, SharedState as b, defineDevframe as c, DevToolsNodeContext as d, DevToolsNodeRpcSession as f, RpcSharedStateHost as g, RpcSharedStateGetOptions as h, DevframeDeploymentKind as i, DevToolsDiagnosticsHost as j, DevToolsDefineDiagnosticsOptions as k, ConnectionMeta as l, RpcFunctionsHost as m, DevframeCliOptions as n, DevframeSetupInfo as o, RpcBroadcastOptions as p, defineCliFlags as q, DevframeDefinition as r, DevframeSpaOptions as s, DevframeBrowserContext as t, DevToolsCapabilities as u, RpcStreamingChannelOptions as v, Thenable as w, DevToolsViewHost as x, RpcStreamingHost as y, AgentToolInput as z };
1059
+ export { AgentResource as $, ImmutableArray as A, EntriesToObject as B, StreamErrorPayload as C, createStreamReader as D, StreamSinkEvents as E, SharedStateEvents as F, DevToolsRpcSharedStates as G, Thenable as H, SharedStateOptions as I, DevToolsDiagnosticsDefinition as J, DevToolsHost as K, SharedStatePatch as L, ImmutableObject as M, ImmutableSet as N, createStreamSink as O, SharedState as P, AgentManifest as Q, createSharedState as R, CreateStreamSinkOptions as S, StreamSink as T, DevToolsRpcClientFunctions as U, PartialWithoutId as V, DevToolsRpcServerFunctions as W, DevToolsDiagnosticsLogger as X, DevToolsDiagnosticsHost as Y, AgentHandle as Z, RpcStreamingChannel as _, DevframeRuntime as a, DevToolsAgentHostEvents as at, BufferedChunk as b, defineDevframe as c, EventsMap as ct, DevToolsNodeContext as d, defineCliFlags as dt, AgentResourceContent as et, DevToolsNodeRpcSession as f, parseCliFlags as ft, RpcSharedStateHost as g, RpcSharedStateGetOptions as h, DevframeDeploymentKind as i, DevToolsAgentHost as it, ImmutableMap as j, Immutable as k, ConnectionMeta as l, CliFlagsSchema as lt, RpcFunctionsHost as m, DevframeCliOptions as n, AgentTool as nt, DevframeSetupInfo as o, EventEmitter as ot, RpcBroadcastOptions as p, DevToolsDefineDiagnosticsOptions as q, DevframeDefinition as r, AgentToolInput as rt, DevframeSpaOptions as s, EventUnsubscribe as st, DevframeBrowserContext as t, AgentResourceInput as tt, DevToolsCapabilities as u, InferCliFlags as ut, RpcStreamingChannelOptions as v, StreamReader as w, CreateStreamReaderOptions as x, RpcStreamingHost as y, DevToolsViewHost as z };
@@ -262,11 +262,11 @@ function validateConcurrency(concurrency) {
262
262
  function validateDefinitions(definitions) {
263
263
  for (const definition of definitions) {
264
264
  const type = definition.type || "query";
265
- if ((type === "action" || type === "event") && definition.dump) throw diagnostics.DF0027.throw({
265
+ if ((type === "action" || type === "event") && definition.dump) throw diagnostics.DF0027({
266
266
  name: definition.name,
267
267
  type
268
268
  });
269
- if (definition.snapshot && type !== "query") throw diagnostics.DF0028.throw({
269
+ if (definition.snapshot && type !== "query") throw diagnostics.DF0028({
270
270
  name: definition.name,
271
271
  type
272
272
  });
@@ -364,7 +364,7 @@ async function dumpFunctions(definitions, context, options = {}) {
364
364
  if (definition.type === "event" || definition.type === "action") return;
365
365
  const setupResult = definition.setup ? await Promise.resolve(definition.setup(context)) : {};
366
366
  const handler = setupResult.handler || definition.handler;
367
- if (!handler) throw diagnostics.DF0024.throw({ name: definition.name });
367
+ if (!handler) throw diagnostics.DF0024({ name: definition.name });
368
368
  let dump = setupResult.dump ?? definition.dump;
369
369
  if (!dump && definition.type === "static") dump = { inputs: [[]] };
370
370
  if (!dump && definition.snapshot) dump = async (_ctx, h) => {
@@ -449,7 +449,7 @@ function createClientFromDump(store, options = {}) {
449
449
  const { onMiss } = options;
450
450
  return new Proxy({}, {
451
451
  get(_, functionName) {
452
- if (!(functionName in store.definitions)) throw diagnostics.DF0025.throw({ name: functionName });
452
+ if (!(functionName in store.definitions)) throw diagnostics.DF0025({ name: functionName });
453
453
  return async (...args) => {
454
454
  const recordKey = getDumpRecordKey(functionName, args);
455
455
  const recordOrGetter = store.records[recordKey];
@@ -467,7 +467,7 @@ function createClientFromDump(store, options = {}) {
467
467
  if (fallbackRecord && typeof fallbackRecord.output === "function") return await fallbackRecord.output();
468
468
  if (fallbackRecord) return fallbackRecord.output;
469
469
  }
470
- throw diagnostics.DF0026.throw({
470
+ throw diagnostics.DF0026({
471
471
  name: functionName,
472
472
  args: JSON.stringify(args)
473
473
  });
@@ -510,7 +510,7 @@ async function getRpcResolvedSetupResult(definition, context) {
510
510
  async function getRpcHandler(definition, context) {
511
511
  if (definition.handler) return definition.handler;
512
512
  const result = await getRpcResolvedSetupResult(definition, context);
513
- if (!result.handler) throw diagnostics.DF0024.throw({ name: definition.name });
513
+ if (!result.handler) throw diagnostics.DF0024({ name: definition.name });
514
514
  return result.handler;
515
515
  }
516
516
  //#endregion
@@ -1,4 +1,4 @@
1
- import { r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
1
+ import { r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
2
2
 
3
3
  //#region src/helpers/vite.d.ts
4
4
  interface ViteDevBridgeOptions {
@@ -2,7 +2,7 @@ import { DEVTOOLS_CONNECTION_META_FILENAME } from "../constants.mjs";
2
2
  import { i as diagnostics } from "../shared-state-CasqoUba.mjs";
3
3
  import { n as resolveBasePath } from "../_shared-CUFqO4kJ.mjs";
4
4
  import { serveStaticNodeMiddleware } from "../utils/serve-static.mjs";
5
- import { n as resolveDevServerPort, t as createDevServer } from "../dev-BbmanqL7.mjs";
5
+ import { n as resolveDevServerPort, t as createDevServer } from "../dev-C2wjXjGB.mjs";
6
6
  import { resolve } from "pathe";
7
7
  //#region src/helpers/vite.ts
8
8
  /**
@@ -54,7 +54,7 @@ function viteDevBridge(d, options = {}) {
54
54
  openBrowser: false
55
55
  });
56
56
  } catch (e) {
57
- diagnostics.DF0033.report({
57
+ diagnostics.DF0033({
58
58
  id: d.id,
59
59
  reason: String(e),
60
60
  cause: e
@@ -51,7 +51,7 @@ var DevToolsAgentHost = class {
51
51
  return existed;
52
52
  }
53
53
  registerResource(input) {
54
- if (this.resources.has(input.id)) throw diagnostics$1.DF0016.throw({ id: input.id });
54
+ if (this.resources.has(input.id)) throw diagnostics$1.DF0016({ id: input.id });
55
55
  const resource = {
56
56
  id: input.id,
57
57
  name: input.name,
@@ -113,11 +113,11 @@ var DevToolsAgentHost = class {
113
113
  this._rpcUnsubscribe = void 0;
114
114
  }
115
115
  _validateToolId(id) {
116
- if (this.tools.has(id)) throw diagnostics$1.DF0015.throw({ id });
117
- if (this.context.rpc.definitions.get(id)?.agent) throw diagnostics$1.DF0015.throw({ id });
116
+ if (this.tools.has(id)) throw diagnostics$1.DF0015({ id });
117
+ if (this.context.rpc.definitions.get(id)?.agent) throw diagnostics$1.DF0015({ id });
118
118
  }
119
119
  _projectTool(input) {
120
- if (!input.description || typeof input.description !== "string") throw diagnostics$1.DF0014.throw({ name: input.id });
120
+ if (!input.description || typeof input.description !== "string") throw diagnostics$1.DF0014({ name: input.id });
121
121
  return {
122
122
  id: input.id,
123
123
  kind: "tool",
@@ -135,7 +135,7 @@ var DevToolsAgentHost = class {
135
135
  for (const [name, def] of this.context.rpc.definitions) {
136
136
  const agent = def.agent;
137
137
  if (!agent) continue;
138
- if (!agent.description || typeof agent.description !== "string") throw diagnostics$1.DF0014.throw({ name });
138
+ if (!agent.description || typeof agent.description !== "string") throw diagnostics$1.DF0014({ name });
139
139
  const type = def.type ?? "query";
140
140
  const safety = agent.safety ?? inferSafety(type);
141
141
  out.push({
@@ -503,7 +503,7 @@ function createRpcSharedStateServerHost(rpc) {
503
503
  const host = {
504
504
  get: async (key, options) => {
505
505
  if (sharedState.has(key)) return sharedState.get(key);
506
- if (options?.initialValue === void 0 && options?.sharedState === void 0) throw diagnostics$1.DF0013.throw({ key });
506
+ if (options?.initialValue === void 0 && options?.sharedState === void 0) throw diagnostics$1.DF0013({ key });
507
507
  debug$1("new-state", key);
508
508
  const state = options.sharedState ?? createSharedState({
509
509
  initialValue: options.initialValue,
@@ -868,7 +868,7 @@ function createRpcStreamingServerHost(rpc) {
868
868
  handler(channelName, id, opts) {
869
869
  const state = channels.get(channelName);
870
870
  if (!state) {
871
- diagnostics$1.DF0030.report({
871
+ diagnostics$1.DF0030({
872
872
  channel: channelName,
873
873
  id
874
874
  }, { method: "error" });
@@ -876,7 +876,7 @@ function createRpcStreamingServerHost(rpc) {
876
876
  }
877
877
  const record = state.streams.get(id);
878
878
  if (!record) {
879
- diagnostics$1.DF0030.report({
879
+ diagnostics$1.DF0030({
880
880
  channel: channelName,
881
881
  id
882
882
  }, { method: "error" });
@@ -949,7 +949,7 @@ function createRpcStreamingServerHost(rpc) {
949
949
  handler(channelName, id, seq, chunk) {
950
950
  const record = channels.get(channelName)?.inbound.get(id);
951
951
  if (!record) {
952
- diagnostics$1.DF0030.report({
952
+ diagnostics$1.DF0030({
953
953
  channel: channelName,
954
954
  id
955
955
  }, { method: "error" });
@@ -979,7 +979,7 @@ function createRpcStreamingServerHost(rpc) {
979
979
  }
980
980
  });
981
981
  function createChannel(name, opts = {}) {
982
- if (channels.has(name)) throw diagnostics$1.DF0032.throw({ channel: name });
982
+ if (channels.has(name)) throw diagnostics$1.DF0032({ channel: name });
983
983
  const replayWindow = opts.replayWindow ?? 0;
984
984
  const state = {
985
985
  name,
@@ -1142,7 +1142,7 @@ var RpcFunctionsHost = class extends RpcFunctionsCollectorBase {
1142
1142
  this.streaming._onSessionDisconnected(meta);
1143
1143
  }
1144
1144
  async invokeLocal(method, ...args) {
1145
- if (!this.definitions.has(method)) throw diagnostics$1.DF0006.throw({ name: String(method) });
1145
+ if (!this.definitions.has(method)) throw diagnostics$1.DF0006({ name: String(method) });
1146
1146
  const handler = await this.getHandler(method);
1147
1147
  return await Promise.resolve(handler(...args));
1148
1148
  }
@@ -1159,7 +1159,7 @@ var RpcFunctionsHost = class extends RpcFunctionsCollectorBase {
1159
1159
  }));
1160
1160
  }
1161
1161
  getCurrentRpcSession() {
1162
- if (!this._asyncStorage) throw diagnostics$1.DF0007.throw();
1162
+ if (!this._asyncStorage) throw diagnostics$1.DF0007();
1163
1163
  return this._asyncStorage.getStore();
1164
1164
  }
1165
1165
  };
@@ -1175,7 +1175,7 @@ var DevToolsViewHost = class {
1175
1175
  this.context = context;
1176
1176
  }
1177
1177
  hostStatic(baseUrl, distDir) {
1178
- if (!existsSync(distDir)) throw diagnostics$1.DF0008.throw({ distDir });
1178
+ if (!existsSync(distDir)) throw diagnostics$1.DF0008({ distDir });
1179
1179
  this.buildStaticDirs.push({
1180
1180
  baseUrl,
1181
1181
  distDir
@@ -1,4 +1,4 @@
1
- import { _ as RpcFunctionDefinitionAny, c as RpcDumpClientOptions, l as RpcDumpCollectionOptions, m as RpcDumpStore, n as BirpcReturn, o as RpcDefinitionsToFunctions, p as RpcDumpRecordError } from "./types-BXL7EIDM.mjs";
1
+ import { _ as RpcFunctionDefinitionAny, c as RpcDumpClientOptions, l as RpcDumpCollectionOptions, m as RpcDumpStore, n as BirpcReturn, o as RpcDefinitionsToFunctions, p as RpcDumpRecordError } from "./types-dNW3UmMl.mjs";
2
2
 
3
3
  //#region src/rpc/dump/static.d.ts
4
4
  type StaticRpcDumpSerialization = 'json' | 'structured-clone';
@@ -1,5 +1,5 @@
1
- import { C as RpcFunctionsCollector, S as RpcFunctionType, _ as RpcFunctionDefinitionAny, g as RpcFunctionDefinition, i as RpcArgsSchema, w as RpcReturnSchema, x as RpcFunctionSetupResult } from "./types-BXL7EIDM.mjs";
2
- import { a as getDefinitionsWithDumps$1, c as StaticRpcDumpManifest$1, d as StaticRpcDumpManifestValue$1, f as StaticRpcDumpSerialization$1, i as dumpFunctions$1, l as StaticRpcDumpManifestQueryEntry$1, n as serializeDumpError$1, o as StaticRpcDumpCollection$1, p as collectStaticRpcDump$1, r as createClientFromDump$1, s as StaticRpcDumpFile$1, t as reviveDumpError$1, u as StaticRpcDumpManifestStaticEntry$1 } from "./index-C5PmWqBf.mjs";
1
+ import { C as RpcFunctionsCollector, S as RpcFunctionType, _ as RpcFunctionDefinitionAny, g as RpcFunctionDefinition, i as RpcArgsSchema, w as RpcReturnSchema, x as RpcFunctionSetupResult } from "./types-dNW3UmMl.mjs";
2
+ import { a as getDefinitionsWithDumps$1, c as StaticRpcDumpManifest$1, d as StaticRpcDumpManifestValue$1, f as StaticRpcDumpSerialization$1, i as dumpFunctions$1, l as StaticRpcDumpManifestQueryEntry$1, n as serializeDumpError$1, o as StaticRpcDumpCollection$1, p as collectStaticRpcDump$1, r as createClientFromDump$1, s as StaticRpcDumpFile$1, t as reviveDumpError$1, u as StaticRpcDumpManifestStaticEntry$1 } from "./index-BhtRKN7X.mjs";
3
3
 
4
4
  //#region src/rpc/cache.d.ts
5
5
  interface RpcCacheOptions {
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { A as DevToolsDiagnosticsDefinition, B as DevToolsAgentHost, C as PartialWithoutId, D as DevToolsRpcSharedStates, E as DevToolsRpcServerFunctions, F as AgentResource, H as EventEmitter, I as AgentResourceContent, L as AgentResourceInput, M as DevToolsDiagnosticsLogger, N as AgentHandle, O as DevToolsHost, P as AgentManifest, R as AgentTool, S as EntriesToObject, T as DevToolsRpcClientFunctions, U as EventUnsubscribe, V as DevToolsAgentHostEvents, W as EventsMap, _ as RpcStreamingChannel, a as DevframeRuntime, c as defineDevframe, d as DevToolsNodeContext, f as DevToolsNodeRpcSession, g as RpcSharedStateHost, h as RpcSharedStateGetOptions, i as DevframeDeploymentKind, j as DevToolsDiagnosticsHost, k as DevToolsDefineDiagnosticsOptions, l as ConnectionMeta, m as RpcFunctionsHost, n as DevframeCliOptions, o as DevframeSetupInfo, p as RpcBroadcastOptions, r as DevframeDefinition, s as DevframeSpaOptions, t as DevframeBrowserContext, u as DevToolsCapabilities, v as RpcStreamingChannelOptions, w as Thenable, x as DevToolsViewHost, y as RpcStreamingHost, z as AgentToolInput } from "./devframe-sc4cb5xr.mjs";
2
- import { S as RpcFunctionType, g as RpcFunctionDefinition, h as RpcFunctionAgentOptions, i as RpcArgsSchema, w as RpcReturnSchema } from "./types-BXL7EIDM.mjs";
3
- import { t as DevToolsNodeRpcSessionMeta } from "./ws-server-DOwLJL23.mjs";
1
+ import { $ as AgentResource, B as EntriesToObject, G as DevToolsRpcSharedStates, H as Thenable, J as DevToolsDiagnosticsDefinition, K as DevToolsHost, Q as AgentManifest, U as DevToolsRpcClientFunctions, V as PartialWithoutId, W as DevToolsRpcServerFunctions, X as DevToolsDiagnosticsLogger, Y as DevToolsDiagnosticsHost, Z as AgentHandle, _ as RpcStreamingChannel, a as DevframeRuntime, at as DevToolsAgentHostEvents, c as defineDevframe, ct as EventsMap, d as DevToolsNodeContext, et as AgentResourceContent, f as DevToolsNodeRpcSession, g as RpcSharedStateHost, h as RpcSharedStateGetOptions, i as DevframeDeploymentKind, it as DevToolsAgentHost, l as ConnectionMeta, m as RpcFunctionsHost, n as DevframeCliOptions, nt as AgentTool, o as DevframeSetupInfo, ot as EventEmitter, p as RpcBroadcastOptions, q as DevToolsDefineDiagnosticsOptions, r as DevframeDefinition, rt as AgentToolInput, s as DevframeSpaOptions, st as EventUnsubscribe, t as DevframeBrowserContext, tt as AgentResourceInput, u as DevToolsCapabilities, v as RpcStreamingChannelOptions, y as RpcStreamingHost, z as DevToolsViewHost } from "./devframe-K4IxpM4a.mjs";
2
+ import { S as RpcFunctionType, g as RpcFunctionDefinition, h as RpcFunctionAgentOptions, i as RpcArgsSchema, w as RpcReturnSchema } from "./types-dNW3UmMl.mjs";
3
+ import { t as DevToolsNodeRpcSessionMeta } from "./ws-server-CTeMCO1r.mjs";
4
4
 
5
5
  //#region src/define.d.ts
6
6
  declare const defineRpcFunction: <NAME extends string, TYPE extends RpcFunctionType, ARGS extends any[], RETURN = void, const AS extends RpcArgsSchema | undefined = undefined, const RS extends RpcReturnSchema | undefined = undefined>(definition: RpcFunctionDefinition<NAME, TYPE, ARGS, RETURN, AS, RS, DevToolsNodeContext>) => RpcFunctionDefinition<NAME, TYPE, ARGS, RETURN, AS, RS, DevToolsNodeContext>;
@@ -1,5 +1,5 @@
1
- import { b as SharedState, d as DevToolsNodeContext, f as DevToolsNodeRpcSession } from "../devframe-sc4cb5xr.mjs";
2
- import { n as InternalAnonymousAuthStorage } from "../context-CwjX6sCG.mjs";
1
+ import { P as SharedState, d as DevToolsNodeContext, f as DevToolsNodeRpcSession } from "../devframe-K4IxpM4a.mjs";
2
+ import { n as InternalAnonymousAuthStorage } from "../context-C9oW88gr.mjs";
3
3
 
4
4
  //#region src/node/auth/revoke.d.ts
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { B as DevToolsAgentHost$1, E as DevToolsRpcServerFunctions, F as AgentResource, H as EventEmitter, I as AgentResourceContent, L as AgentResourceInput, M as DevToolsDiagnosticsLogger, N as AgentHandle, O as DevToolsHost, P as AgentManifest, R as AgentTool, T as DevToolsRpcClientFunctions, V as DevToolsAgentHostEvents, b as SharedState, d as DevToolsNodeContext, f as DevToolsNodeRpcSession, g as RpcSharedStateHost, j as DevToolsDiagnosticsHost$1, m as RpcFunctionsHost$1, p as RpcBroadcastOptions, x as DevToolsViewHost$1, y as RpcStreamingHost, z as AgentToolInput } from "../devframe-sc4cb5xr.mjs";
2
- import { _ as RpcFunctionDefinitionAny } from "../types-BXL7EIDM.mjs";
3
- import { S as RpcFunctionsCollectorBase } from "../index-CTK6fuXs.mjs";
4
- import { t as DevToolsNodeRpcSessionMeta } from "../ws-server-DOwLJL23.mjs";
5
- import { n as StartedServer, r as startHttpAndWs, t as StartHttpAndWsOptions } from "../server-ouL4gZbu.mjs";
1
+ import { $ as AgentResource, K as DevToolsHost, P as SharedState, Q as AgentManifest, U as DevToolsRpcClientFunctions, W as DevToolsRpcServerFunctions, X as DevToolsDiagnosticsLogger, Y as DevToolsDiagnosticsHost$1, Z as AgentHandle, at as DevToolsAgentHostEvents, d as DevToolsNodeContext, et as AgentResourceContent, f as DevToolsNodeRpcSession, g as RpcSharedStateHost, it as DevToolsAgentHost$1, m as RpcFunctionsHost$1, nt as AgentTool, ot as EventEmitter, p as RpcBroadcastOptions, rt as AgentToolInput, tt as AgentResourceInput, y as RpcStreamingHost, z as DevToolsViewHost$1 } from "../devframe-K4IxpM4a.mjs";
2
+ import { _ as RpcFunctionDefinitionAny } from "../types-dNW3UmMl.mjs";
3
+ import { S as RpcFunctionsCollectorBase } from "../index-CBSBvT9K.mjs";
4
+ import { t as DevToolsNodeRpcSessionMeta } from "../ws-server-CTeMCO1r.mjs";
5
+ import { n as StartedServer, r as startHttpAndWs, t as StartHttpAndWsOptions } from "../server-KzCqriO9.mjs";
6
6
  import { BirpcGroup } from "birpc";
7
7
  import { AsyncLocalStorage } from "node:async_hooks";
8
8
 
@@ -1,6 +1,6 @@
1
- import { a as createRpcStreamingServerHost, c as DevToolsAgentHost, i as RpcFunctionsHost, n as createHostContext, o as createRpcSharedStateServerHost, r as DevToolsViewHost, s as DevToolsDiagnosticsHost, t as createH3DevToolsHost } from "../host-h3-TTunNr_n.mjs";
1
+ import { a as createRpcStreamingServerHost, c as DevToolsAgentHost, i as RpcFunctionsHost, n as createHostContext, o as createRpcSharedStateServerHost, r as DevToolsViewHost, s as DevToolsDiagnosticsHost, t as createH3DevToolsHost } from "../host-h3-Div5Vp8R.mjs";
2
2
  import { t as startHttpAndWs } from "../server-BO8IDVsJ.mjs";
3
- import { t as createStorage } from "../storage-K-OxR1xf.mjs";
3
+ import { t as createStorage } from "../storage-CZVTPKsw.mjs";
4
4
  import { isIP } from "node:net";
5
5
  //#region src/node/utils.ts
6
6
  function isObject(value) {
@@ -1,5 +1,5 @@
1
- import { i as DevframeDeploymentKind, r as DevframeDefinition } from "../devframe-sc4cb5xr.mjs";
2
- import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevToolsInternalContext } from "../context-CwjX6sCG.mjs";
1
+ import { i as DevframeDeploymentKind, r as DevframeDefinition } from "../devframe-K4IxpM4a.mjs";
2
+ import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevToolsInternalContext } from "../context-C9oW88gr.mjs";
3
3
 
4
4
  //#region src/adapters/_shared.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { t as createStorage } from "../storage-K-OxR1xf.mjs";
1
+ import { t as createStorage } from "../storage-CZVTPKsw.mjs";
2
2
  import { n as revokeActiveConnectionsForToken, r as revokeAuthToken, t as humanId } from "../human-id-Dq-qgtES.mjs";
3
3
  import { n as resolveBasePath, t as normalizeBasePath } from "../_shared-CUFqO4kJ.mjs";
4
4
  import { join } from "pathe";
@@ -1,4 +1,4 @@
1
- import { T as Thenable, h as RpcFunctionAgentOptions, s as RpcDump, x as RpcFunctionSetupResult } from "../types-BXL7EIDM.mjs";
1
+ import { T as Thenable, h as RpcFunctionAgentOptions, s as RpcDump, x as RpcFunctionSetupResult } from "../types-dNW3UmMl.mjs";
2
2
  import * as v from "valibot";
3
3
 
4
4
  //#region src/recipes/open-helpers.d.ts
@@ -1,2 +1,2 @@
1
- import { a as getDefinitionsWithDumps, c as StaticRpcDumpManifest, d as StaticRpcDumpManifestValue, f as StaticRpcDumpSerialization, i as dumpFunctions, l as StaticRpcDumpManifestQueryEntry, n as serializeDumpError, o as StaticRpcDumpCollection, p as collectStaticRpcDump, r as createClientFromDump, s as StaticRpcDumpFile, t as reviveDumpError, u as StaticRpcDumpManifestStaticEntry } from "../index-C5PmWqBf.mjs";
1
+ import { a as getDefinitionsWithDumps, c as StaticRpcDumpManifest, d as StaticRpcDumpManifestValue, f as StaticRpcDumpSerialization, i as dumpFunctions, l as StaticRpcDumpManifestQueryEntry, n as serializeDumpError, o as StaticRpcDumpCollection, p as collectStaticRpcDump, r as createClientFromDump, s as StaticRpcDumpFile, t as reviveDumpError, u as StaticRpcDumpManifestStaticEntry } from "../index-BhtRKN7X.mjs";
2
2
  export { StaticRpcDumpCollection, StaticRpcDumpFile, StaticRpcDumpManifest, StaticRpcDumpManifestQueryEntry, StaticRpcDumpManifestStaticEntry, StaticRpcDumpManifestValue, StaticRpcDumpSerialization, collectStaticRpcDump, createClientFromDump, dumpFunctions, getDefinitionsWithDumps, reviveDumpError, serializeDumpError };
package/dist/rpc/dump.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as dumpFunctions, c as serializeDumpError, i as createClientFromDump, o as getDefinitionsWithDumps, s as reviveDumpError, t as collectStaticRpcDump } from "../dump-zMleojnD.mjs";
1
+ import { a as dumpFunctions, c as serializeDumpError, i as createClientFromDump, o as getDefinitionsWithDumps, s as reviveDumpError, t as collectStaticRpcDump } from "../dump-B1wd4u68.mjs";
2
2
  export { collectStaticRpcDump, createClientFromDump, dumpFunctions, getDefinitionsWithDumps, reviveDumpError, serializeDumpError };