@devframes/hub 0.9.20 → 0.10.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.
- package/dist/{assemble-C_sd1y1C.mjs → assemble-CMhUmA7k.mjs} +3 -4
- package/dist/client/index.d.mts +3 -9
- package/dist/client/index.mjs +51 -21
- package/dist/{constants-Bz4yclHo.d.mts → constants-29tNOFia.d.mts} +1 -1
- package/dist/{constants-Da23JxCZ.mjs → constants-BSPQmlA1.mjs} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/{context-BqvN40CU.mjs → context-D8hVUxvy.mjs} +5 -9
- package/dist/{context-BmHQp89a.d.mts → context-DaUV_lYb.d.mts} +1 -1
- package/dist/{index-Dv8iu9St.d.mts → index-xOE4RKeE.d.mts} +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/node/build.d.mts +1 -1
- package/dist/node/build.mjs +5 -5
- package/dist/node/index.d.mts +2 -2
- package/dist/node/index.mjs +3 -5500
- package/dist/node/initiate.d.mts +5 -6
- package/dist/node/initiate.mjs +8 -8
- package/dist/{settings-CWHPzCWS.d.mts → settings-Dx8_shF9.d.mts} +83 -4
- package/dist/types/index.d.mts +3 -3
- package/package.json +11 -7
- package/dist/{dist-BP3CGpgZ.mjs → dist-Q6-t0oIv.mjs} +1 -1
package/dist/node/initiate.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as InstallDevframeOptions, n as DevframeHubContext, t as CreateHubContextOptions } from "../context-
|
|
2
|
-
import { r as DEVFRAMES_HUB_BASE } from "../constants-
|
|
1
|
+
import { a as InstallDevframeOptions, n as DevframeHubContext, t as CreateHubContextOptions } from "../context-DaUV_lYb.mjs";
|
|
2
|
+
import { r as DEVFRAMES_HUB_BASE } from "../constants-29tNOFia.mjs";
|
|
3
3
|
import { DevframeInstanceRecord } from "devframe/internal";
|
|
4
|
+
import { Buffer } from "node:buffer";
|
|
4
5
|
import { AuthBannerFunction } from "devframe/recipes/interactive-auth";
|
|
5
6
|
import { ConnectionMeta, DevframeDefinition, DevframeServiceInput, DevframeSseOptions, DevframeStorageScope, DevframeWsOptions, McpSetting } from "devframe/types";
|
|
6
7
|
import { DevframeAuthHandler } from "devframe/node/auth";
|
|
7
8
|
import { WsOriginRegistry } from "devframe/rpc/transports/ws-server";
|
|
8
|
-
import { Buffer } from "node:buffer";
|
|
9
9
|
import { IncomingMessage, Server, ServerResponse } from "node:http";
|
|
10
10
|
import { Duplex } from "node:stream";
|
|
11
11
|
//#region src/node/initiate.d.ts
|
|
@@ -214,9 +214,8 @@ export interface InitHubOptions {
|
|
|
214
214
|
* exposes an agent surface. `true` mounts it
|
|
215
215
|
* unconditionally with the loopback origin gate (trusting same-machine
|
|
216
216
|
* callers), an object opts into an {@link McpRouteOptions.authorization}
|
|
217
|
-
* identity check, `false` keeps it off.
|
|
218
|
-
*
|
|
219
|
-
* warns when one asks for MCP while this is `false`).
|
|
217
|
+
* identity check, `false` keeps it off. The hub's aggregate route covers
|
|
218
|
+
* every mounted devframe's tools.
|
|
220
219
|
*/
|
|
221
220
|
mcp?: McpSetting;
|
|
222
221
|
/**
|
package/dist/node/initiate.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as normalizeHubBase, i as DOCK_RENDERERS_STATE_KEY, r as DEVFRAMES_HUB_BASE } from "../constants-
|
|
2
|
-
import { t as createHubContext, y as diagnostics } from "../context-
|
|
3
|
-
import { i as resolveRendererRegistrations, n as renderClientImportsModule, r as resolveDevframesInput, t as mountDevframes } from "../assemble-
|
|
4
|
-
import { joinURL, withoutLeadingSlash } from "
|
|
1
|
+
import { a as normalizeHubBase, i as DOCK_RENDERERS_STATE_KEY, r as DEVFRAMES_HUB_BASE } from "../constants-BSPQmlA1.mjs";
|
|
2
|
+
import { t as createHubContext, y as diagnostics } from "../context-D8hVUxvy.mjs";
|
|
3
|
+
import { i as resolveRendererRegistrations, n as renderClientImportsModule, r as resolveDevframesInput, t as mountDevframes } from "../assemble-CMhUmA7k.mjs";
|
|
4
|
+
import { joinURL, withoutLeadingSlash } from "devframe/utils/url";
|
|
5
5
|
import { DEVFRAME_CONNECTION_META_FILENAME, DEVFRAME_DOCK_IMPORTS_FILENAME, DEVFRAME_MCP_ROUTE } from "devframe/constants";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
7
7
|
import process from "node:process";
|
|
8
|
-
import { createH3DevframeHost, createInstanceShell,
|
|
8
|
+
import { createH3DevframeHost, createInstanceShell, importAgenticMcp, loadAutoMcpAdapter, resolveInstanceRegister, resolveMcpConfig } from "devframe/internal";
|
|
9
9
|
import { resolve } from "pathe";
|
|
10
10
|
import { createInteractiveAuth } from "devframe/recipes/interactive-auth";
|
|
11
11
|
import { mountStaticHandler } from "devframe/utils/serve-static";
|
|
@@ -107,7 +107,7 @@ function initHub(options) {
|
|
|
107
107
|
*/
|
|
108
108
|
absoluteWsPath: true,
|
|
109
109
|
resolveSidecarPort: async (sidecarHost) => {
|
|
110
|
-
const { getPort } = await import("../dist-
|
|
110
|
+
const { getPort } = await import("../dist-Q6-t0oIv.mjs");
|
|
111
111
|
return getPort({
|
|
112
112
|
port: 9777,
|
|
113
113
|
portRange: [9777, 9877],
|
|
@@ -125,7 +125,7 @@ function initHub(options) {
|
|
|
125
125
|
};
|
|
126
126
|
const devframes = await resolveDevframesInput(options.devframes ?? []);
|
|
127
127
|
for (const input of options.services ?? []) ctx.services.install(input);
|
|
128
|
-
const setups = await mountDevframes(ctx, devframes, base
|
|
128
|
+
const setups = await mountDevframes(ctx, devframes, base);
|
|
129
129
|
await ctx.services.ready();
|
|
130
130
|
for (const run of setups) await run();
|
|
131
131
|
await options.configure?.(ctx);
|
|
@@ -145,7 +145,7 @@ function initHub(options) {
|
|
|
145
145
|
} else mcpConfig = resolveMcpConfig(mcpSetting);
|
|
146
146
|
if (!mcpConfig) return { context: ctx };
|
|
147
147
|
const mcpRoute = withoutLeadingSlash(mcpConfig.path ?? DEVFRAME_MCP_ROUTE);
|
|
148
|
-
mcpModule ??= await
|
|
148
|
+
mcpModule ??= await importAgenticMcp();
|
|
149
149
|
const mounted = mcpModule.mountMcpHttp(app, ctx, joinURL(base, mcpRoute), {
|
|
150
150
|
serverName: options.name ?? "devframes-hub",
|
|
151
151
|
serverVersion: options.version ?? "0.0.0",
|
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
import { ConnectionMeta, EventEmitter } from "devframe/types";
|
|
2
|
-
|
|
2
|
+
//#region ../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts
|
|
3
|
+
/** The Standard Typed interface. This is a base type extended by other specs. */
|
|
4
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
5
|
+
/** The Standard properties. */
|
|
6
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
7
|
+
}
|
|
8
|
+
declare namespace StandardTypedV1 {
|
|
9
|
+
/** The Standard Typed properties interface. */
|
|
10
|
+
interface Props<Input = unknown, Output = Input> {
|
|
11
|
+
/** The version number of the standard. */
|
|
12
|
+
readonly version: 1;
|
|
13
|
+
/** The vendor name of the schema library. */
|
|
14
|
+
readonly vendor: string;
|
|
15
|
+
/** Inferred types associated with the schema. */
|
|
16
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
17
|
+
}
|
|
18
|
+
/** The Standard Typed types interface. */
|
|
19
|
+
interface Types<Input = unknown, Output = Input> {
|
|
20
|
+
/** The input type of the schema. */
|
|
21
|
+
readonly input: Input;
|
|
22
|
+
/** The output type of the schema. */
|
|
23
|
+
readonly output: Output;
|
|
24
|
+
}
|
|
25
|
+
/** Infers the input type of a Standard Typed. */
|
|
26
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
27
|
+
/** Infers the output type of a Standard Typed. */
|
|
28
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
29
|
+
}
|
|
30
|
+
/** The Standard Schema interface. */
|
|
31
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
32
|
+
/** The Standard Schema properties. */
|
|
33
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
34
|
+
}
|
|
35
|
+
declare namespace StandardSchemaV1 {
|
|
36
|
+
/** The Standard Schema properties interface. */
|
|
37
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
38
|
+
/** Validates unknown input values. */
|
|
39
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
40
|
+
}
|
|
41
|
+
/** The result interface of the validate function. */
|
|
42
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
43
|
+
/** The result interface if validation succeeds. */
|
|
44
|
+
interface SuccessResult<Output> {
|
|
45
|
+
/** The typed output value. */
|
|
46
|
+
readonly value: Output;
|
|
47
|
+
/** A falsy value for `issues` indicates success. */
|
|
48
|
+
readonly issues?: undefined;
|
|
49
|
+
}
|
|
50
|
+
interface Options {
|
|
51
|
+
/** Explicit support for additional vendor-specific parameters, if needed. */
|
|
52
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
53
|
+
}
|
|
54
|
+
/** The result interface if validation fails. */
|
|
55
|
+
interface FailureResult {
|
|
56
|
+
/** The issues of failed validation. */
|
|
57
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
58
|
+
}
|
|
59
|
+
/** The issue interface of the failure output. */
|
|
60
|
+
interface Issue {
|
|
61
|
+
/** The error message of the issue. */
|
|
62
|
+
readonly message: string;
|
|
63
|
+
/** The path of the issue, if any. */
|
|
64
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
65
|
+
}
|
|
66
|
+
/** The path segment interface of the issue. */
|
|
67
|
+
interface PathSegment {
|
|
68
|
+
/** The key representing a path segment. */
|
|
69
|
+
readonly key: PropertyKey;
|
|
70
|
+
}
|
|
71
|
+
/** The Standard types interface. */
|
|
72
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
73
|
+
/** Infers the input type of a Standard. */
|
|
74
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
75
|
+
/** Infers the output type of a Standard. */
|
|
76
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
77
|
+
}
|
|
78
|
+
//#endregion
|
|
3
79
|
//#region src/types/docks.d.ts
|
|
4
80
|
interface DevframeDocksHost {
|
|
5
81
|
readonly views: Map<string, DevframeDockUserEntry>;
|
|
@@ -154,6 +230,11 @@ interface DevframeDockEntryBase {
|
|
|
154
230
|
groupId?: string;
|
|
155
231
|
}
|
|
156
232
|
interface ClientScriptEntry {
|
|
233
|
+
/**
|
|
234
|
+
* Initialize after trust without waiting for dock activation.
|
|
235
|
+
* @default false
|
|
236
|
+
*/
|
|
237
|
+
eager?: boolean;
|
|
157
238
|
/**
|
|
158
239
|
* What to import: either a **URL the host serves** (a self-contained ES
|
|
159
240
|
* module, e.g. `/@fs/<abs path>` under Vite or a statically-mounted bundle
|
|
@@ -212,9 +293,7 @@ interface DevframeViewIframe extends DevframeDockEntryBase {
|
|
|
212
293
|
* share a `frameId` may live in one group, several groups, or none.
|
|
213
294
|
*/
|
|
214
295
|
frameId?: string;
|
|
215
|
-
/**
|
|
216
|
-
* Optional client script to import into the iframe
|
|
217
|
-
*/
|
|
296
|
+
/** Optional page script, initialized on activation or after trust when `eager: true`. */
|
|
218
297
|
clientScript?: ClientScriptEntry;
|
|
219
298
|
/**
|
|
220
299
|
* Soft-navigation target within a shared frame. Set on a **member** dock
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as DevframeMessagesHost, C as DevframeMessageEntryFrom, D as DevframeMessageLevel, E as DevframeMessageHandle, M as DevframeMessagesListDelta, O as DevframeMessageShortcutInput, S as DevframeMessageEntry, T as DevframeMessageFilePosition, _ as DevframeTerminalsHost, b as DevframeMessageCommandAction, c as DevframeChildProcessResult, d as DevframePtyOutput, f as DevframePtyResult, g as DevframeTerminalStatus, h as DevframeTerminalSessionBase, j as DevframeMessagesLevelShortcuts, k as DevframeMessagesClient, l as DevframeChildProcessTerminalSession, m as DevframeTerminalSession, n as DevframeHubContext, o as DevframeChildProcessExecuteOptions, p as DevframePtyTerminalSession, s as DevframeChildProcessOutput, t as CreateHubContextOptions, u as DevframePtyExecuteOptions, v as DevframeMessageAction, w as DevframeMessageEntryInput, x as DevframeMessageElementPosition, y as DevframeMessageActivateAction } from "../context-
|
|
2
|
-
import { A as DevframeViewIframe, C as DevframeDockUserEntry, D as DevframeViewBuiltin, E as DevframeViewAction, F as RemoteConnectionInfo, I as RemoteDockOptions, M as DevframeViewLauncherStatus, N as FrameSubTabsConfig, O as DevframeViewCustomRender, P as NavTarget, S as DevframeDockPanelState, T as DevframeDocksHost, _ as DevframeDockEntry, a as DevframeCommandEntry, b as DevframeDockEntryIcon, c as DevframeCommandShortcutOverrides, d as DevframeServerCommandEntry, f as DevframeServerCommandInput, g as DevframeDockEntriesGrouped, h as DevframeDockBadgeVariant, i as DevframeCommandBase, j as DevframeViewLauncher, k as DevframeViewGroup, l as DevframeCommandsHost, m as DevframeDockActivation, n as DevframeClientCommand, o as DevframeCommandHandle, p as ClientScriptEntry, r as DevframeCommandAgentOptions, s as DevframeCommandKeybinding, t as DevframeDocksUserSettings, u as DevframeCommandsHostEvents, v as DevframeDockEntryBase, w as DevframeDocksActiveState, x as DevframeDockEntryRegistry, y as DevframeDockEntryCategory } from "../settings-
|
|
3
|
-
import { S as RpcStreamingHost, _ as RpcFunctionsHost, a as DevframeHost, b as RpcStreamingChannel, c as DevframeRpcServerFunctions, d as EventEmitter, f as EventUnsubscribe, g as RpcDefinitionsToFunctions, h as RpcDefinitionsFilter, i as DevframeDiagnosticsLogger, l as DevframeRpcSharedStates, m as RpcBroadcastOptions, n as DevframeCapabilities, o as DevframeNodeRpcSession, p as EventsMap, r as DevframeDiagnosticsHost, s as DevframeRpcClientFunctions, t as ConnectionMeta, u as DevframeViewHost, v as RpcSharedStateGetOptions, x as RpcStreamingChannelOptions, y as RpcSharedStateHost } from "../index-
|
|
1
|
+
import { A as DevframeMessagesHost, C as DevframeMessageEntryFrom, D as DevframeMessageLevel, E as DevframeMessageHandle, M as DevframeMessagesListDelta, O as DevframeMessageShortcutInput, S as DevframeMessageEntry, T as DevframeMessageFilePosition, _ as DevframeTerminalsHost, b as DevframeMessageCommandAction, c as DevframeChildProcessResult, d as DevframePtyOutput, f as DevframePtyResult, g as DevframeTerminalStatus, h as DevframeTerminalSessionBase, j as DevframeMessagesLevelShortcuts, k as DevframeMessagesClient, l as DevframeChildProcessTerminalSession, m as DevframeTerminalSession, n as DevframeHubContext, o as DevframeChildProcessExecuteOptions, p as DevframePtyTerminalSession, s as DevframeChildProcessOutput, t as CreateHubContextOptions, u as DevframePtyExecuteOptions, v as DevframeMessageAction, w as DevframeMessageEntryInput, x as DevframeMessageElementPosition, y as DevframeMessageActivateAction } from "../context-DaUV_lYb.mjs";
|
|
2
|
+
import { A as DevframeViewIframe, C as DevframeDockUserEntry, D as DevframeViewBuiltin, E as DevframeViewAction, F as RemoteConnectionInfo, I as RemoteDockOptions, M as DevframeViewLauncherStatus, N as FrameSubTabsConfig, O as DevframeViewCustomRender, P as NavTarget, S as DevframeDockPanelState, T as DevframeDocksHost, _ as DevframeDockEntry, a as DevframeCommandEntry, b as DevframeDockEntryIcon, c as DevframeCommandShortcutOverrides, d as DevframeServerCommandEntry, f as DevframeServerCommandInput, g as DevframeDockEntriesGrouped, h as DevframeDockBadgeVariant, i as DevframeCommandBase, j as DevframeViewLauncher, k as DevframeViewGroup, l as DevframeCommandsHost, m as DevframeDockActivation, n as DevframeClientCommand, o as DevframeCommandHandle, p as ClientScriptEntry, r as DevframeCommandAgentOptions, s as DevframeCommandKeybinding, t as DevframeDocksUserSettings, u as DevframeCommandsHostEvents, v as DevframeDockEntryBase, w as DevframeDocksActiveState, x as DevframeDockEntryRegistry, y as DevframeDockEntryCategory } from "../settings-Dx8_shF9.mjs";
|
|
3
|
+
import { S as RpcStreamingHost, _ as RpcFunctionsHost, a as DevframeHost, b as RpcStreamingChannel, c as DevframeRpcServerFunctions, d as EventEmitter, f as EventUnsubscribe, g as RpcDefinitionsToFunctions, h as RpcDefinitionsFilter, i as DevframeDiagnosticsLogger, l as DevframeRpcSharedStates, m as RpcBroadcastOptions, n as DevframeCapabilities, o as DevframeNodeRpcSession, p as EventsMap, r as DevframeDiagnosticsHost, s as DevframeRpcClientFunctions, t as ConnectionMeta, u as DevframeViewHost, v as RpcSharedStateGetOptions, x as RpcStreamingChannelOptions, y as RpcSharedStateHost } from "../index-xOE4RKeE.mjs";
|
|
4
4
|
export { ClientScriptEntry, type ConnectionMeta, type CreateHubContextOptions, type DevframeCapabilities, DevframeChildProcessExecuteOptions, DevframeChildProcessOutput, DevframeChildProcessResult, DevframeChildProcessTerminalSession, DevframeClientCommand, DevframeCommandAgentOptions, DevframeCommandBase, DevframeCommandEntry, DevframeCommandHandle, DevframeCommandKeybinding, DevframeCommandShortcutOverrides, DevframeCommandsHost, DevframeCommandsHostEvents, type DevframeDiagnosticsHost, type DevframeDiagnosticsLogger, DevframeDockActivation, DevframeDockBadgeVariant, DevframeDockEntriesGrouped, DevframeDockEntry, DevframeDockEntryBase, DevframeDockEntryCategory, DevframeDockEntryIcon, DevframeDockEntryRegistry, DevframeDockPanelState, DevframeDockUserEntry, DevframeDocksActiveState, DevframeDocksHost, DevframeDocksUserSettings, type DevframeHost, type DevframeHubContext, DevframeMessageAction, DevframeMessageActivateAction, DevframeMessageCommandAction, DevframeMessageElementPosition, DevframeMessageEntry, DevframeMessageEntryFrom, DevframeMessageEntryInput, DevframeMessageFilePosition, DevframeMessageHandle, DevframeMessageLevel, DevframeMessageShortcutInput, DevframeMessagesClient, DevframeMessagesHost, DevframeMessagesLevelShortcuts, DevframeMessagesListDelta, type DevframeNodeRpcSession, DevframePtyExecuteOptions, DevframePtyOutput, DevframePtyResult, DevframePtyTerminalSession, type DevframeRpcClientFunctions, type DevframeRpcServerFunctions, type DevframeRpcSharedStates, DevframeServerCommandEntry, DevframeServerCommandInput, DevframeTerminalSession, DevframeTerminalSessionBase, DevframeTerminalStatus, DevframeTerminalsHost, DevframeViewAction, DevframeViewBuiltin, DevframeViewCustomRender, DevframeViewGroup, type DevframeViewHost, DevframeViewIframe, DevframeViewLauncher, DevframeViewLauncherStatus, type EventEmitter, type EventUnsubscribe, type EventsMap, FrameSubTabsConfig, NavTarget, RemoteConnectionInfo, RemoteDockOptions, type RpcBroadcastOptions, type RpcDefinitionsFilter, type RpcDefinitionsToFunctions, type RpcFunctionsHost, type RpcSharedStateGetOptions, type RpcSharedStateHost, type RpcStreamingChannel, type RpcStreamingChannelOptions, type RpcStreamingHost };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/hub",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"description": "Hub layer that orchestrates devframe docks, terminals, messages, and commands on any host.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,23 +35,27 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"
|
|
38
|
+
"@devframes/agentic": "0.10.1",
|
|
39
|
+
"devframe": "0.10.1"
|
|
40
|
+
},
|
|
41
|
+
"peerDependenciesMeta": {
|
|
42
|
+
"@devframes/agentic": {
|
|
43
|
+
"optional": true
|
|
44
|
+
}
|
|
39
45
|
},
|
|
40
46
|
"dependencies": {
|
|
41
|
-
"@standard-schema/spec": "^1.1.0",
|
|
42
47
|
"destr": "^2.0.5",
|
|
43
48
|
"h3": "^2.0.1-rc.31",
|
|
44
49
|
"pathe": "^2.0.3",
|
|
45
|
-
"perfect-debounce": "^2.1.0",
|
|
46
50
|
"tinyexec": "^1.3.1",
|
|
47
|
-
"ufo": "^1.6.4",
|
|
48
51
|
"zigpty": "^0.2.1"
|
|
49
52
|
},
|
|
50
53
|
"devDependencies": {
|
|
54
|
+
"@devframes/agentic": "0.10.1",
|
|
55
|
+
"@standard-schema/spec": "^1.1.0",
|
|
51
56
|
"@types/node": "^26.5.1",
|
|
52
|
-
"devframe": "0.
|
|
57
|
+
"devframe": "0.10.1",
|
|
53
58
|
"get-port-please": "^3.2.0",
|
|
54
|
-
"mlly": "^1.8.2",
|
|
55
59
|
"tsdown": "^0.23.0",
|
|
56
60
|
"valibot": "^1.5.0"
|
|
57
61
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "node:fs/promises";
|
|
2
|
-
import "node:path";
|
|
3
2
|
import { createServer } from "node:net";
|
|
4
3
|
import { networkInterfaces } from "node:os";
|
|
4
|
+
import "node:path";
|
|
5
5
|
//#region ../../node_modules/.pnpm/get-port-please@3.2.0/node_modules/get-port-please/dist/index.mjs
|
|
6
6
|
const unsafePorts = /* @__PURE__ */ new Set([
|
|
7
7
|
1,
|