devframe 0.9.0-beta.4 → 0.9.0-beta.6

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 (65) hide show
  1. package/dist/{_shared-CGPVmXUM.mjs → _shared-CKZPvSrN.mjs} +2 -1
  2. package/dist/{_shared-Bm8p4-fD.d.mts → _shared-QkI6ljJS.d.mts} +2 -2
  3. package/dist/adapters/build.d.mts +10 -12
  4. package/dist/adapters/build.mjs +23 -27
  5. package/dist/adapters/cac.d.mts +1 -1
  6. package/dist/adapters/cac.mjs +3 -4
  7. package/dist/adapters/dev.d.mts +19 -5
  8. package/dist/adapters/dev.mjs +2 -2
  9. package/dist/adapters/embedded.d.mts +1 -1
  10. package/dist/adapters/initiate.d.mts +4 -3
  11. package/dist/adapters/initiate.mjs +1 -1
  12. package/dist/adapters/mcp.d.mts +1 -1
  13. package/dist/adapters/mcp.mjs +1 -1
  14. package/dist/cli/main.mjs +2 -2
  15. package/dist/client/index.d.mts +1 -1
  16. package/dist/client/index.mjs +2 -1175
  17. package/dist/constants.d.mts +1 -2
  18. package/dist/constants.mjs +1 -2
  19. package/dist/{context-DV4uWieM.d.mts → context-CQkRTbAc.d.mts} +1 -1
  20. package/dist/{context-b6iSomtv.mjs → context-D0HD0F7C.mjs} +19 -7
  21. package/dist/{context-CMSryXs-.mjs → context-D0jErmlx.mjs} +1 -1
  22. package/dist/{dev-4xjiynUD.mjs → dev-QEuT8SOF.mjs} +15 -9
  23. package/dist/{devframe-5oblos7I.d.mts → devframe-Cfx6doi4.d.mts} +41 -64
  24. package/dist/{diagnostics-C7IGWppM.mjs → diagnostics-DEuH3P5O.mjs} +32 -0
  25. package/dist/{host-agent-BBkKT27Q.mjs → host-agent-C5HjzfBz.mjs} +41 -3
  26. package/dist/{host-h3-CzCZwtuV.mjs → host-h3-Crkzm42q.mjs} +2 -2
  27. package/dist/{http-Z0w9baEe.mjs → http-CVwj7b4g.mjs} +2 -2
  28. package/dist/{index-BzDl02lt.d.mts → index-MYi1SZVL.d.mts} +2 -2
  29. package/dist/index.d.mts +3 -2
  30. package/dist/{instance-registry-Du_hbx-j.mjs → instance-registry-M2p-z6xE.mjs} +1 -1
  31. package/dist/{instance-shell-B0TwOxCl.mjs → instance-shell-DJ8s-MFw.mjs} +5 -5
  32. package/dist/{instance-shell-B-BSVp37.d.mts → instance-shell-D_UA0Idz.d.mts} +2 -2
  33. package/dist/internal/index.d.mts +72 -10
  34. package/dist/internal/index.mjs +7 -7
  35. package/dist/node/auth.d.mts +2 -2
  36. package/dist/node/auth.mjs +1 -1
  37. package/dist/node/hub-internals.d.mts +2 -2
  38. package/dist/node/hub-internals.mjs +2 -2
  39. package/dist/node/index.d.mts +1 -1
  40. package/dist/node/index.mjs +2 -2
  41. package/dist/recipes/common-rpc-functions.d.mts +1 -1
  42. package/dist/recipes/interactive-auth.d.mts +2 -2
  43. package/dist/recipes/interactive-auth.mjs +2 -2
  44. package/dist/remote-assets-DclsYyoL.d.mts +106 -0
  45. package/dist/rpc/transports/ws-bun.d.mts +1 -1
  46. package/dist/{rpc-core-B4Qm66Qt.d.mts → rpc-core-C8JQ3p7A.d.mts} +2 -2
  47. package/dist/{rpc-core-Cva-0pw0.mjs → rpc-core-IhcWl_xn.mjs} +1 -1
  48. package/dist/state-Cc1IeSmQ.mjs +1291 -0
  49. package/dist/storage-BVuipbGS.mjs +137 -0
  50. package/dist/types/index.d.mts +3 -2
  51. package/dist/utils/events.d.mts +1 -1
  52. package/dist/utils/open.d.mts +2 -10
  53. package/dist/utils/open.mjs +56 -1
  54. package/dist/utils/remote-assets.d.mts +15 -0
  55. package/dist/utils/remote-assets.mjs +309 -0
  56. package/dist/utils/serve-static.d.mts +13 -5
  57. package/dist/utils/serve-static.mjs +103 -9
  58. package/dist/utils/shared-state.d.mts +1 -1
  59. package/dist/utils/streaming-channel.d.mts +1 -1
  60. package/package.json +2 -3
  61. package/skills/devframe/SKILL.md +4 -5
  62. package/dist/open-Dz4V4irZ.mjs +0 -547
  63. package/dist/state-BeUHDDjk.mjs +0 -108
  64. package/dist/storage-CaUVrBrG.mjs +0 -1122
  65. package/skills/devframe/templates/spa-devframe.ts +0 -38
@@ -1,5 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-JspESFgx.mjs";
2
2
  import "./constants.mjs";
3
+ import "node:fs/promises";
3
4
  import { createServer } from "node:net";
4
5
  import { networkInterfaces } from "node:os";
5
6
  import { cleanDoubleSlashes, withLeadingSlash, withTrailingSlash, withoutLeadingSlash } from "ufo";
@@ -231,7 +232,7 @@ const DEFAULT_PORT = 9999;
231
232
  /**
232
233
  * Resolve the mount base path for a devframe's SPA. Hosted adapters
233
234
  * (`vite`, `embedded`) default to `/__<id>/` so they don't collide
234
- * with the host app; standalone adapters (`cli`, `spa`, `build`)
235
+ * with the host app; standalone adapters (`cli`, `build`)
235
236
  * default to `/` because they own the origin.
236
237
  *
237
238
  * The devframe author can override with `basePath` on the definition.
@@ -1,9 +1,9 @@
1
- import { _ as ConnectionMeta, f as McpRouteOptions, i as DevframeDeploymentKind, r as DevframeDefinition } from "./devframe-5oblos7I.mjs";
1
+ import { d as ConnectionMeta, l as McpRouteOptions, n as DevframeDefinition, r as DevframeDeploymentKind } from "./devframe-Cfx6doi4.mjs";
2
2
  //#region src/adapters/_shared.d.ts
3
3
  /**
4
4
  * Resolve the mount base path for a devframe's SPA. Hosted adapters
5
5
  * (`vite`, `embedded`) default to `/__<id>/` so they don't collide
6
- * with the host app; standalone adapters (`cli`, `spa`, `build`)
6
+ * with the host app; standalone adapters (`cli`, `build`)
7
7
  * default to `/` because they own the origin.
8
8
  *
9
9
  * The devframe author can override with `basePath` on the definition.
@@ -1,16 +1,16 @@
1
- import { r as DevframeDefinition } from "../devframe-5oblos7I.mjs";
1
+ import { n as DevframeDefinition } from "../devframe-Cfx6doi4.mjs";
2
+ import { a as StaticAssetsSource } from "../remote-assets-DclsYyoL.mjs";
2
3
  //#region src/adapters/build.d.ts
3
4
  interface CreateBuildOptions {
4
5
  /** Output directory. Defaults to `dist-static`. */
5
6
  outDir?: string;
6
- /** Absolute URL base the output is served from (default: `/`). */
7
- base?: string;
8
7
  /**
9
- * Override the SPA dist directory to copy into `outDir`. When omitted
10
- * the adapter reads `devframe.cli?.distDir` — authors typically set this
11
- * once on the definition itself.
8
+ * Override the SPA dist to copy into `outDir` — a local directory or a
9
+ * remote-assets declaration (materialized in full at build time). When
10
+ * omitted the adapter reads `devframe.cli?.distDir` — authors typically
11
+ * set this once on the definition itself.
12
12
  */
13
- distDir?: string;
13
+ distDir?: StaticAssetsSource;
14
14
  /**
15
15
  * Pretty-print RPC dump JSON files. Defaults to `false` so payload
16
16
  * shards (which can be multiple MB for graph-heavy tools) ship
@@ -32,11 +32,9 @@ interface CreateBuildOptions {
32
32
  * - Copy the author's SPA dist into `<outDir>/`.
33
33
  * - Write `<outDir>/__connection.json` (`{ backend: 'static' }`) and the
34
34
  * sharded RPC dump under `<outDir>/__rpc-dump/` so the deployed SPA
35
- * discovers both via relative paths from `document.baseURI`.
36
- * - When `def.spa` is configured, also write `<outDir>/spa-loader.json`
37
- * describing the SPA's data-loader mode (`'query'` / `'upload'` /
38
- * `'none'`). The output is mount-path agnostic — the same bundle
39
- * works at `/`, `/devframe/`, or any base, no rewriting required.
35
+ * discovers both via relative paths from `document.baseURI`. The
36
+ * output is mount-path agnostic — the same bundle works at `/`,
37
+ * `/devframe/`, or any base, no rewriting required.
40
38
  */
41
39
  declare function createBuild(d: DevframeDefinition, options?: CreateBuildOptions): Promise<void>;
42
40
  //#endregion
@@ -3,14 +3,14 @@ import { n as strictJsonStringify } from "../serialization-BHY8M5NQ.mjs";
3
3
  import { DEVFRAME_CONNECTION_META_FILENAME, DEVFRAME_RPC_DUMP_DIRNAME, DEVFRAME_RPC_DUMP_MANIFEST_FILENAME } from "../constants.mjs";
4
4
  import { t as collectStaticRpcDump } from "../static-CvjkO8QE.mjs";
5
5
  import { n as structuredCloneStringify } from "../structured-clone-CbAV5rFI.mjs";
6
- import { t as diagnostics } from "../diagnostics-C7IGWppM.mjs";
7
- import { t as createHostContext } from "../context-b6iSomtv.mjs";
8
- import { n as resolveBasePath } from "../_shared-CGPVmXUM.mjs";
9
- import { t as createH3DevframeHost } from "../host-h3-CzCZwtuV.mjs";
6
+ import { t as diagnostics } from "../diagnostics-DEuH3P5O.mjs";
7
+ import { t as createHostContext } from "../context-D0HD0F7C.mjs";
8
+ import { resolveStaticAssetsSource } from "../utils/remote-assets.mjs";
9
+ import { t as createH3DevframeHost } from "../host-h3-Crkzm42q.mjs";
10
10
  import { existsSync } from "node:fs";
11
+ import fs$1 from "node:fs/promises";
11
12
  import { dirname, resolve } from "pathe";
12
13
  import process from "node:process";
13
- import fs$1 from "node:fs/promises";
14
14
  //#region src/adapters/build.ts
15
15
  /**
16
16
  * Produce a self-contained static deploy of a devframe:
@@ -19,28 +19,33 @@ import fs$1 from "node:fs/promises";
19
19
  * - Copy the author's SPA dist into `<outDir>/`.
20
20
  * - Write `<outDir>/__connection.json` (`{ backend: 'static' }`) and the
21
21
  * sharded RPC dump under `<outDir>/__rpc-dump/` so the deployed SPA
22
- * discovers both via relative paths from `document.baseURI`.
23
- * - When `def.spa` is configured, also write `<outDir>/spa-loader.json`
24
- * describing the SPA's data-loader mode (`'query'` / `'upload'` /
25
- * `'none'`). The output is mount-path agnostic — the same bundle
26
- * works at `/`, `/devframe/`, or any base, no rewriting required.
22
+ * discovers both via relative paths from `document.baseURI`. The
23
+ * output is mount-path agnostic — the same bundle works at `/`,
24
+ * `/devframe/`, or any base, no rewriting required.
27
25
  */
28
26
  async function createBuild(d, options = {}) {
29
27
  if (d.capabilities?.build === false && !options.force) throw diagnostics.DF0042({ id: d.id });
30
28
  const outDir = resolve(options.outDir ?? "dist-static");
31
- const distDir = options.distDir ?? d.cli?.distDir;
32
- if (!distDir) throw new Error(`[devframe] createBuild: no distDir for "${d.id}". Set \`cli.distDir\` on the definition or pass it as an option.`);
29
+ const distSource = options.distDir ?? d.cli?.distDir;
30
+ if (!distSource) throw new Error(`[devframe] createBuild: no distDir for "${d.id}". Set \`cli.distDir\` on the definition or pass it as an option.`);
33
31
  if (existsSync(outDir)) await fs$1.rm(outDir, { recursive: true });
34
32
  await fs$1.mkdir(outDir, { recursive: true });
35
- console.log(colors.cyan`[devframe] copying SPA from ${distDir} -> ${outDir}`);
36
- await fs$1.cp(distDir, outDir, { recursive: true });
33
+ const host = createH3DevframeHost({
34
+ origin: "http://localhost",
35
+ appName: d.id
36
+ });
37
+ const resolved = resolveStaticAssetsSource(distSource, host.getStorageDir("project"));
38
+ if (typeof resolved === "string") {
39
+ console.log(colors.cyan`[devframe] copying SPA from ${resolved} -> ${outDir}`);
40
+ await fs$1.cp(resolved, outDir, { recursive: true });
41
+ } else {
42
+ console.log(colors.cyan`[devframe] materializing SPA from ${resolved.assets.package}@${resolved.assets.version} -> ${outDir}`);
43
+ await resolved.materialize(outDir);
44
+ }
37
45
  const ctx = await createHostContext({
38
46
  cwd: process.cwd(),
39
47
  mode: "build",
40
- host: createH3DevframeHost({
41
- origin: "http://localhost",
42
- appName: d.id
43
- })
48
+ host
44
49
  });
45
50
  await d.setup(ctx);
46
51
  await fs$1.mkdir(resolve(outDir, DEVFRAME_RPC_DUMP_DIRNAME), { recursive: true });
@@ -60,15 +65,6 @@ async function createBuild(d, options = {}) {
60
65
  await fs$1.writeFile(fullpath, file.serialization === "json" && indent != null ? JSON.stringify(JSON.parse(text), null, indent) : text, "utf-8");
61
66
  }
62
67
  await fs$1.writeFile(resolve(outDir, DEVFRAME_RPC_DUMP_MANIFEST_FILENAME), JSON.stringify(dump.manifest, null, 2), "utf-8");
63
- if (d.spa) {
64
- const base = options.base ?? resolveBasePath(d, "standalone");
65
- const spaLoader = {
66
- version: 1,
67
- mode: d.spa.loader ?? "none",
68
- base
69
- };
70
- await fs$1.writeFile(resolve(outDir, "spa-loader.json"), JSON.stringify(spaLoader, null, 2), "utf-8");
71
- }
72
68
  console.log(colors.green`[devframe] built "${d.id}" -> ${outDir}`);
73
69
  }
74
70
  //#endregion
@@ -1,4 +1,4 @@
1
- import { It as CliFlagsSchema, Lt as InferCliFlags, Rt as defineCliFlags, r as DevframeDefinition, zt as parseCliFlags } from "../devframe-5oblos7I.mjs";
1
+ import { At as InferCliFlags, Mt as parseCliFlags, jt as defineCliFlags, kt as CliFlagsSchema, n as DevframeDefinition } from "../devframe-Cfx6doi4.mjs";
2
2
  import { CAC } from "cac";
3
3
  import { H3 } from "h3";
4
4
  //#region src/adapters/cac.d.ts
@@ -1,7 +1,7 @@
1
1
  import { n as colors } from "../diagnostics-reporter-CsIG85Q5.mjs";
2
- import { r as resolveDevServerPort } from "../_shared-CGPVmXUM.mjs";
2
+ import { r as resolveDevServerPort } from "../_shared-CKZPvSrN.mjs";
3
3
  import { createBuild } from "./build.mjs";
4
- import { t as createDevServer } from "../dev-4xjiynUD.mjs";
4
+ import { t as createDevServer } from "../dev-QEuT8SOF.mjs";
5
5
  import process from "node:process";
6
6
  import cac$1 from "cac";
7
7
  //#region src/adapters/flags.ts
@@ -117,10 +117,9 @@ function createCac(d, options = {}) {
117
117
  onReady: options.onReady
118
118
  });
119
119
  });
120
- if (d.capabilities?.build !== false) cli.command("build", "Build a self-contained static deploy of the devframe").option("--out-dir <outDir>", "Output directory", { default: "dist-static" }).option("--base <base>", "URL base", { default: "/" }).option("--pretty", "Pretty-print dump JSON (larger on disk)").action(async (flags) => {
120
+ if (d.capabilities?.build !== false) cli.command("build", "Build a self-contained static deploy of the devframe").option("--out-dir <outDir>", "Output directory", { default: "dist-static" }).option("--pretty", "Pretty-print dump JSON (larger on disk)").action(async (flags) => {
121
121
  await createBuild(d, {
122
122
  outDir: flags.outDir,
123
- base: flags.base,
124
123
  pretty: flags.pretty
125
124
  });
126
125
  });
@@ -1,7 +1,8 @@
1
- import { K as DevframeNodeRpcSession, d as DevframeWsOptions, f as McpRouteOptions, p as DevframeAuthHandler, r as DevframeDefinition, u as DevframeSseOptions } from "../devframe-5oblos7I.mjs";
2
- import { d as DevframeRpcConnection, u as DevframeNodeRpcSessionMeta } from "../ws-server-D1d3QM9f.mjs";
3
- import { c as StartedServer } from "../instance-shell-B-BSVp37.mjs";
4
- import { a as resolveMcpConnectionMeta, i as resolveDevServerPort, t as ResolveDevServerPortOptions } from "../_shared-Bm8p4-fD.mjs";
1
+ import { c as DevframeWsOptions, l as McpRouteOptions, n as DevframeDefinition, s as DevframeSseOptions, u as DevframeAuthHandler, z as DevframeNodeRpcSession } from "../devframe-Cfx6doi4.mjs";
2
+ import { d as DevframeRpcConnection, n as WsOriginRegistry, u as DevframeNodeRpcSessionMeta } from "../ws-server-D1d3QM9f.mjs";
3
+ import { a as StaticAssetsSource } from "../remote-assets-DclsYyoL.mjs";
4
+ import { c as StartedServer } from "../instance-shell-D_UA0Idz.mjs";
5
+ import { a as resolveMcpConnectionMeta, i as resolveDevServerPort, t as ResolveDevServerPortOptions } from "../_shared-QkI6ljJS.mjs";
5
6
  import { H3 } from "h3";
6
7
  //#region src/adapters/dev.d.ts
7
8
  interface CreateDevServerOptions {
@@ -26,7 +27,7 @@ interface CreateDevServerOptions {
26
27
  * is expected to be hosted elsewhere (e.g. by a parent Vite/Nuxt
27
28
  * dev server via `devframeViteBridge` from `@devframes/vite`).
28
29
  */
29
- distDir?: string;
30
+ distDir?: StaticAssetsSource;
30
31
  /**
31
32
  * Override the SPA mount path. Defaults to
32
33
  * `resolveBasePath(def, 'standalone')` (i.e. `def.basePath` or `/`).
@@ -39,6 +40,13 @@ interface CreateDevServerOptions {
39
40
  * clients connect over the SSE endpoint instead (`backend: 'sse'`).
40
41
  */
41
42
  ws?: DevframeWsOptions | false;
43
+ /**
44
+ * Extra origins to accept on the WS upgrade beyond the loopback default.
45
+ * Add your LAN/tunnel origin here when reaching the tool from another
46
+ * host. Pass `false` to disable origin checking entirely (not
47
+ * recommended). Default: loopback-only.
48
+ */
49
+ allowedOrigins?: readonly string[] | WsOriginRegistry | false;
42
50
  /**
43
51
  * Override the SSE RPC endpoint control (`def.cli?.sse`) — enabled by
44
52
  * default at `<base>__sse`. Pass `false` to disable, or a
@@ -97,6 +105,12 @@ interface CreateDevServerOptions {
97
105
  port: number;
98
106
  app: H3;
99
107
  }) => void | Promise<void>;
108
+ /**
109
+ * Proceed even when the definition declares `capabilities.dev: false`.
110
+ * `createDevServer` otherwise refuses such a definition (`DF0058`) — this
111
+ * only matters for a caller invoking it directly, bypassing the CLI.
112
+ */
113
+ force?: boolean;
100
114
  }
101
115
  /**
102
116
  * Start a devframe dev server for a {@link DevframeDefinition} —
@@ -1,3 +1,3 @@
1
- import { i as resolveMcpConnectionMeta, r as resolveDevServerPort } from "../_shared-CGPVmXUM.mjs";
2
- import { t as createDevServer } from "../dev-4xjiynUD.mjs";
1
+ import { i as resolveMcpConnectionMeta, r as resolveDevServerPort } from "../_shared-CKZPvSrN.mjs";
2
+ import { t as createDevServer } from "../dev-QEuT8SOF.mjs";
3
3
  export { createDevServer, resolveDevServerPort, resolveMcpConnectionMeta };
@@ -1,4 +1,4 @@
1
- import { S as DevframeNodeContext, r as DevframeDefinition } from "../devframe-5oblos7I.mjs";
1
+ import { g as DevframeNodeContext, n as DevframeDefinition } from "../devframe-Cfx6doi4.mjs";
2
2
  //#region src/adapters/embedded.d.ts
3
3
  interface CreateEmbeddedOptions {
4
4
  /** Target context the devframe is registered into. Required. */
@@ -1,6 +1,7 @@
1
- import { K as DevframeNodeRpcSession, S as DevframeNodeContext, V as DevframeStorageScope, _ as ConnectionMeta, d as DevframeWsOptions, f as McpRouteOptions, p as DevframeAuthHandler, r as DevframeDefinition, u as DevframeSseOptions } from "../devframe-5oblos7I.mjs";
1
+ import { F as DevframeStorageScope, c as DevframeWsOptions, d as ConnectionMeta, g as DevframeNodeContext, l as McpRouteOptions, n as DevframeDefinition, s as DevframeSseOptions, u as DevframeAuthHandler, z as DevframeNodeRpcSession } from "../devframe-Cfx6doi4.mjs";
2
2
  import { d as DevframeRpcConnection, n as WsOriginRegistry, u as DevframeNodeRpcSessionMeta } from "../ws-server-D1d3QM9f.mjs";
3
- import { c as StartedServer, f as DevframeInstanceRecord } from "../instance-shell-B-BSVp37.mjs";
3
+ import { a as StaticAssetsSource } from "../remote-assets-DclsYyoL.mjs";
4
+ import { c as StartedServer, f as DevframeInstanceRecord } from "../instance-shell-D_UA0Idz.mjs";
4
5
  import { Buffer } from "node:buffer";
5
6
  import { IncomingMessage, Server, ServerResponse } from "node:http";
6
7
  import { Duplex } from "node:stream";
@@ -22,7 +23,7 @@ interface InitDevframeOptions {
22
23
  * **bridge mode**: only `__connection.json`, the WS endpoint, and the MCP
23
24
  * route (when enabled) are served; the SPA is hosted elsewhere.
24
25
  */
25
- distDir?: string | false;
26
+ distDir?: StaticAssetsSource | false;
26
27
  /**
27
28
  * Share the host's `node:http` server for the WebSocket RPC endpoint: the
28
29
  * upgrade listener binds to `<base>__ws` on this server, so no extra port
@@ -1,2 +1,2 @@
1
- import { n as getInstanceInternals, r as initDevframe } from "../dev-4xjiynUD.mjs";
1
+ import { n as getInstanceInternals, r as initDevframe } from "../dev-QEuT8SOF.mjs";
2
2
  export { getInstanceInternals, initDevframe };
@@ -1,4 +1,4 @@
1
- import { S as DevframeNodeContext, r as DevframeDefinition } from "../devframe-5oblos7I.mjs";
1
+ import { g as DevframeNodeContext, n as DevframeDefinition } from "../devframe-Cfx6doi4.mjs";
2
2
  import { H3 } from "h3";
3
3
  import "@modelcontextprotocol/server";
4
4
  //#region src/adapters/mcp/build-server.d.ts
@@ -1,2 +1,2 @@
1
- import { i as createMcpServer, n as mountMcpHttp, r as createMcpFetchHandler } from "../http-Z0w9baEe.mjs";
1
+ import { i as createMcpServer, n as mountMcpHttp, r as createMcpFetchHandler } from "../http-CVwj7b4g.mjs";
2
2
  export { createMcpFetchHandler, createMcpServer, mountMcpHttp };
package/dist/cli/main.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { t as diagnostics } from "../diagnostics-C7IGWppM.mjs";
2
- import { n as listLiveDevframeInstances, r as probeDevframeOrigin } from "../instance-registry-Du_hbx-j.mjs";
1
+ import { t as diagnostics } from "../diagnostics-DEuH3P5O.mjs";
2
+ import { n as listLiveDevframeInstances, r as probeDevframeOrigin } from "../instance-registry-M2p-z6xE.mjs";
3
3
  import { t as toAgentToolName } from "../agent-tool-name-EgfoFO8C.mjs";
4
4
  import { Diagnostic } from "nostics";
5
5
  import process from "node:process";
@@ -1,4 +1,4 @@
1
- import { A as DevframeSettings, F as ScopedRpcFn, I as ScopedServerFunctions, L as ScopedSharedStates, Nt as EventEmitter, R as SettingsForNamespace, X as RpcSharedStateHost, Y as RpcSharedStateGetOptions, _ as ConnectionMeta, _t as SharedState, ct as StreamSink, et as DevframeRpcClientFunctions, st as StreamReader, tt as DevframeRpcServerFunctions } from "../devframe-5oblos7I.mjs";
1
+ import { A as ScopedServerFunctions, Et as EventEmitter, H as RpcSharedStateGetOptions, J as DevframeRpcServerFunctions, M as SettingsForNamespace, U as RpcSharedStateHost, d as ConnectionMeta, et as StreamReader, j as ScopedSharedStates, k as ScopedRpcFn, q as DevframeRpcClientFunctions, tt as StreamSink, ut as SharedState, w as DevframeSettings } from "../devframe-Cfx6doi4.mjs";
2
2
  import { f as RpcCacheManager, p as RpcCacheOptions } from "../index-tdrk1bzV.mjs";
3
3
  import { _ as RpcFunctionDefinition, w as RpcFunctionsCollector } from "../types-Djq7CBXh.mjs";
4
4
  import { t as SseRpcChannelOptions } from "../sse-client-CFBOIaUi.mjs";