devframe 0.7.5 → 0.7.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.
- package/dist/adapters/build.d.mts +1 -1
- package/dist/adapters/build.mjs +1 -1
- package/dist/adapters/cac.d.mts +1 -1
- package/dist/adapters/cac.mjs +1 -1
- package/dist/adapters/cli.d.mts +1 -1
- package/dist/adapters/cli.mjs +1 -1
- package/dist/adapters/dev.d.mts +2 -2
- package/dist/adapters/dev.mjs +1 -1
- package/dist/adapters/embedded.d.mts +1 -1
- package/dist/adapters/mcp.d.mts +1 -1
- package/dist/adapters/mcp.mjs +1 -1
- package/dist/{build-server-D5-9okV6.mjs → build-server-CBAxmnC8.mjs} +2 -2
- package/dist/{cac-Dr-qCdgQ.mjs → cac-CQB28Ucm.mjs} +1 -1
- package/dist/client/index.d.mts +4 -4
- package/dist/client/index.mjs +12 -3
- package/dist/{context-ClRdkpJ7.mjs → context-C1Gr2BGB.mjs} +1 -1
- package/dist/{context-DxFsOWkc.d.mts → context-D0md0kxv.d.mts} +1 -1
- package/dist/{dev-D6Hcv4v8.mjs → dev-J2PqMPTn.mjs} +4 -4
- package/dist/{devframe-WHtcqYlZ.d.mts → devframe-elfUcUJG.d.mts} +21 -4
- package/dist/helpers/vite.d.mts +1 -1
- package/dist/helpers/vite.mjs +2 -2
- package/dist/{host-h3-A8CXZoS5.mjs → host-h3-SjwRTwkE.mjs} +24 -10
- package/dist/{http-Fxm-0_V7.mjs → http-BaCZYhIR.mjs} +1 -1
- package/dist/{index-Cj0M3G3F.d.mts → index-D8RNkmY_.d.mts} +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/node/auth.d.mts +2 -2
- package/dist/node/hub-internals.d.mts +2 -2
- package/dist/node/hub-internals.mjs +1 -1
- package/dist/node/index.d.mts +4 -4
- package/dist/node/index.mjs +3 -3
- package/dist/recipes/interactive-auth.d.mts +2 -2
- package/dist/recipes/interactive-auth.mjs +1 -1
- package/dist/recipes/open-helpers.d.mts +1 -1
- package/dist/{server-DvrOR1LG.mjs → server-BFsuZI9e.mjs} +2 -2
- package/dist/{server-BRxA2OAh.d.mts → server-kmetRyhu.d.mts} +2 -2
- package/dist/{shared-state-QtMas0NG.mjs → shared-state-6kHolYZy.mjs} +8 -21
- package/dist/{storage-E9KrCsLr.mjs → storage-D_Xy9v1l.mjs} +8 -20
- package/dist/types/index.d.mts +2 -2
- package/dist/utils/events.d.mts +1 -1
- package/dist/utils/shared-state.d.mts +1 -1
- package/dist/utils/shared-state.mjs +1 -1
- package/dist/utils/streaming-channel.d.mts +1 -1
- package/package.json +5 -5
package/dist/adapters/build.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { n as colors } from "../diagnostics-reporter-CsIG85Q5.mjs";
|
|
|
3
3
|
import { DEVFRAME_CONNECTION_META_FILENAME, DEVFRAME_RPC_DUMP_DIRNAME, DEVFRAME_RPC_DUMP_MANIFEST_FILENAME } from "../constants.mjs";
|
|
4
4
|
import { n as strictJsonStringify } from "../serialization-DpLXCy13.mjs";
|
|
5
5
|
import { n as structuredCloneStringify } from "../structured-clone-XpHLZ8nr.mjs";
|
|
6
|
-
import { n as createHostContext, t as createH3DevframeHost } from "../host-h3-
|
|
6
|
+
import { n as createHostContext, t as createH3DevframeHost } from "../host-h3-SjwRTwkE.mjs";
|
|
7
7
|
import { n as resolveBasePath } from "../_shared-bWRzeSa0.mjs";
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { dirname, resolve } from "pathe";
|
package/dist/adapters/cac.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as parseCliFlags, Mt as CliFlagsSchema, Nt as InferCliFlags, Pt as defineCliFlags, r as DevframeDefinition } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import { CAC } from "cac";
|
|
3
3
|
import { H3 } from "h3";
|
|
4
4
|
//#region src/adapters/cac.d.ts
|
package/dist/adapters/cac.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as defineCliFlags, r as parseCliFlags, t as createCac } from "../cac-
|
|
1
|
+
import { n as defineCliFlags, r as parseCliFlags, t as createCac } from "../cac-CQB28Ucm.mjs";
|
|
2
2
|
export { createCac, defineCliFlags, parseCliFlags };
|
package/dist/adapters/cli.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as parseCliFlags, Mt as CliFlagsSchema, Nt as InferCliFlags, Pt as defineCliFlags } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import { CacHandle, CreateCacOptions, createCac } from "./cac.mjs";
|
|
3
3
|
//#region src/adapters/cli.d.ts
|
|
4
4
|
/** @deprecated Use `createCac` from `devframe/adapters/cac` instead. */
|
package/dist/adapters/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCliFlags, r as parseCliFlags, t as createCac } from "../cac-
|
|
1
|
+
import { n as defineCliFlags, r as parseCliFlags, t as createCac } from "../cac-CQB28Ucm.mjs";
|
|
2
2
|
//#region src/adapters/cli.ts
|
|
3
3
|
/** @deprecated Use `createCac` from `devframe/adapters/cac` instead. */
|
|
4
4
|
const createCli = createCac;
|
package/dist/adapters/dev.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as McpRouteOptions, r as DevframeDefinition, u as DevframeWsOptions } from "../devframe-
|
|
2
|
-
import { n as StartedServer } from "../server-
|
|
1
|
+
import { d as McpRouteOptions, r as DevframeDefinition, u as DevframeWsOptions } from "../devframe-elfUcUJG.mjs";
|
|
2
|
+
import { n as StartedServer } from "../server-kmetRyhu.mjs";
|
|
3
3
|
import { H3 } from "h3";
|
|
4
4
|
//#region src/adapters/dev.d.ts
|
|
5
5
|
interface CreateDevServerOptions {
|
package/dist/adapters/dev.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveDevServerPort, t as createDevServer } from "../dev-
|
|
1
|
+
import { n as resolveDevServerPort, t as createDevServer } from "../dev-J2PqMPTn.mjs";
|
|
2
2
|
export { createDevServer, resolveDevServerPort };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as DevframeNodeContext, r as DevframeDefinition } from "../devframe-
|
|
1
|
+
import { b as DevframeNodeContext, r as DevframeDefinition } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
//#region src/adapters/embedded.d.ts
|
|
3
3
|
interface CreateEmbeddedOptions {
|
|
4
4
|
/** Target context the devframe is registered into. Required. */
|
package/dist/adapters/mcp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DevframeDefinition } from "../devframe-
|
|
1
|
+
import { r as DevframeDefinition } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import "@modelcontextprotocol/sdk/server/index.js";
|
|
3
3
|
//#region src/adapters/mcp/build-server.d.ts
|
|
4
4
|
interface CreateMcpServerOptions {
|
package/dist/adapters/mcp.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createMcpServer } from "../build-server-
|
|
1
|
+
import { n as createMcpServer } from "../build-server-CBAxmnC8.mjs";
|
|
2
2
|
export { createMcpServer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as diagnostics } from "./storage-
|
|
2
|
-
import { n as createHostContext } from "./host-h3-
|
|
1
|
+
import { a as diagnostics } from "./storage-D_Xy9v1l.mjs";
|
|
2
|
+
import { n as createHostContext } from "./host-h3-SjwRTwkE.mjs";
|
|
3
3
|
import { join } from "pathe";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import { homedir } from "node:os";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as colors } from "./diagnostics-reporter-CsIG85Q5.mjs";
|
|
2
2
|
import { createBuild } from "./adapters/build.mjs";
|
|
3
|
-
import { n as resolveDevServerPort, t as createDevServer } from "./dev-
|
|
3
|
+
import { n as resolveDevServerPort, t as createDevServer } from "./dev-J2PqMPTn.mjs";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
import cac from "cac";
|
|
6
6
|
import { safeParse } from "valibot";
|
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as DevframeRpcServerFunctions, F as ScopedSharedStates, I as SettingsForNamespace, J as RpcSharedStateHost, N as ScopedRpcFn, O as DevframeSettings, P as ScopedServerFunctions, Q as DevframeRpcClientFunctions, _ as ConnectionMeta, at as StreamReader, ht as SharedState, kt as EventEmitter, ot as StreamSink, q as RpcSharedStateGetOptions } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import { _ as RpcFunctionDefinition, w as RpcFunctionsCollector } from "../types-CrzNxXKq.mjs";
|
|
3
3
|
import { C as RpcCacheManager, w as RpcCacheOptions } from "../index-DgsLFhZg.mjs";
|
|
4
4
|
import { t as WsRpcChannelOptions } from "../ws-client-DSXiI2h7.mjs";
|
|
@@ -107,19 +107,19 @@ interface DevframeScopedClientRpc<NS extends string = string> {
|
|
|
107
107
|
register: (fn: RpcFunctionDefinition<string, any, any, any, any, any, DevframeRpcContext>) => void;
|
|
108
108
|
/** Call a server RPC function. Bare names resolve within this namespace. */
|
|
109
109
|
call: {
|
|
110
|
-
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<
|
|
110
|
+
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>): Promise<Awaited<ReturnType<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>>>;
|
|
111
111
|
<T extends keyof DevframeRpcServerFunctions & string>(method: T, ...args: Parameters<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>): Promise<Awaited<ReturnType<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>>>;
|
|
112
112
|
(method: string, ...args: any[]): Promise<any>;
|
|
113
113
|
};
|
|
114
114
|
/** Call a server RPC event (fire-and-forget). */
|
|
115
115
|
callEvent: {
|
|
116
|
-
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<
|
|
116
|
+
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>): void;
|
|
117
117
|
<T extends keyof DevframeRpcServerFunctions & string>(method: T, ...args: Parameters<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>): void;
|
|
118
118
|
(method: string, ...args: any[]): void;
|
|
119
119
|
};
|
|
120
120
|
/** Call an optional server RPC function (no error if unregistered). */
|
|
121
121
|
callOptional: {
|
|
122
|
-
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<
|
|
122
|
+
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>): Promise<Awaited<ReturnType<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>> | undefined>;
|
|
123
123
|
<T extends keyof DevframeRpcServerFunctions & string>(method: T, ...args: Parameters<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>): Promise<Awaited<ReturnType<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>> | undefined>;
|
|
124
124
|
(method: string, ...args: any[]): Promise<any>;
|
|
125
125
|
};
|
package/dist/client/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as hash } from "../hash-KtDZYXDN.mjs";
|
|
2
2
|
import { colors } from "../utils/colors.mjs";
|
|
3
3
|
import { createEventEmitter } from "../utils/events.mjs";
|
|
4
|
-
import { t as createSharedState } from "../shared-state-
|
|
4
|
+
import { t as createSharedState } from "../shared-state-6kHolYZy.mjs";
|
|
5
5
|
import { i as structuredCloneStringify, n as structuredCloneParse, t as structuredCloneDeserialize } from "../structured-clone-CeZOHvkd.mjs";
|
|
6
6
|
import { createStreamReader, createStreamSink } from "../utils/streaming-channel.mjs";
|
|
7
7
|
import { promiseWithResolver } from "../utils/promise.mjs";
|
|
@@ -340,6 +340,7 @@ async function authenticateWithUrlOtp(rpc, options = {}) {
|
|
|
340
340
|
//#region src/client/rpc-shared-state.ts
|
|
341
341
|
function createRpcSharedStateClientHost(rpc) {
|
|
342
342
|
const sharedState = /* @__PURE__ */ new Map();
|
|
343
|
+
const stateDisposers = /* @__PURE__ */ new Map();
|
|
343
344
|
const initialValues = /* @__PURE__ */ new Map();
|
|
344
345
|
const keyAddedListeners = /* @__PURE__ */ new Set();
|
|
345
346
|
const isStaticBackend = rpc.connectionMeta.backend === "static";
|
|
@@ -388,6 +389,14 @@ function createRpcSharedStateClientHost(rpc) {
|
|
|
388
389
|
keyAddedListeners.delete(fn);
|
|
389
390
|
};
|
|
390
391
|
},
|
|
392
|
+
delete(key) {
|
|
393
|
+
const dispose = stateDisposers.get(key);
|
|
394
|
+
stateDisposers.delete(key);
|
|
395
|
+
const existed = sharedState.delete(key);
|
|
396
|
+
initialValues.delete(key);
|
|
397
|
+
dispose?.();
|
|
398
|
+
return existed;
|
|
399
|
+
},
|
|
391
400
|
get: async (key, options) => {
|
|
392
401
|
if (options?.initialValue !== void 0) initialValues.set(key, options.initialValue);
|
|
393
402
|
if (sharedState.has(key)) return sharedState.get(key);
|
|
@@ -405,14 +414,14 @@ function createRpcSharedStateClientHost(rpc) {
|
|
|
405
414
|
}).catch((error) => {
|
|
406
415
|
console.error("Error getting server state", error);
|
|
407
416
|
});
|
|
408
|
-
registerSharedState(key, state);
|
|
417
|
+
stateDisposers.set(key, registerSharedState(key, state));
|
|
409
418
|
return state;
|
|
410
419
|
} else {
|
|
411
420
|
const serverValue = await rpc.call("devframe:rpc:server-state:get", key);
|
|
412
421
|
state.mutate(() => mergeWithInitialValue(key, serverValue));
|
|
413
422
|
sharedState.set(key, state);
|
|
414
423
|
for (const fn of keyAddedListeners) fn(key);
|
|
415
|
-
registerSharedState(key, state);
|
|
424
|
+
stateDisposers.set(key, registerSharedState(key, state));
|
|
416
425
|
return state;
|
|
417
426
|
}
|
|
418
427
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createStorage } from "./storage-
|
|
1
|
+
import { t as createStorage } from "./storage-D_Xy9v1l.mjs";
|
|
2
2
|
import { i as randomToken, n as revokeAuthToken, t as revokeActiveConnectionsForToken } from "./revoke-BtQDKTp7.mjs";
|
|
3
3
|
import { join } from "pathe";
|
|
4
4
|
//#region src/node/hub-internals/context.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as DevframeNodeContext,
|
|
1
|
+
import { b as DevframeNodeContext, ht as SharedState } from "./devframe-elfUcUJG.mjs";
|
|
2
2
|
//#region src/node/hub-internals/context.d.ts
|
|
3
3
|
interface InternalAnonymousAuthStorage {
|
|
4
4
|
trusted: Record<string, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEVFRAME_CONNECTION_META_FILENAME } from "./constants.mjs";
|
|
2
|
-
import { a as diagnostics } from "./storage-
|
|
3
|
-
import { n as createHostContext, t as createH3DevframeHost } from "./host-h3-
|
|
4
|
-
import { i as normalizeHttpServerUrl, t as startHttpAndWs } from "./server-
|
|
2
|
+
import { a as diagnostics } from "./storage-D_Xy9v1l.mjs";
|
|
3
|
+
import { n as createHostContext, t as createH3DevframeHost } from "./host-h3-SjwRTwkE.mjs";
|
|
4
|
+
import { i as normalizeHttpServerUrl, t as startHttpAndWs } from "./server-BFsuZI9e.mjs";
|
|
5
5
|
import { n as resolveBasePath, t as normalizeBasePath } from "./_shared-bWRzeSa0.mjs";
|
|
6
6
|
import { t as open } from "./open-Deb5xmIT.mjs";
|
|
7
7
|
import { mountStaticHandler } from "./utils/serve-static.mjs";
|
|
@@ -294,7 +294,7 @@ async function createDevServer(def, options = {}) {
|
|
|
294
294
|
const mcpPath = joinURL(basePath, mcpRoute);
|
|
295
295
|
let mountMcpHttp;
|
|
296
296
|
try {
|
|
297
|
-
({mountMcpHttp} = await import("./http-
|
|
297
|
+
({mountMcpHttp} = await import("./http-BaCZYhIR.mjs"));
|
|
298
298
|
} catch (error) {
|
|
299
299
|
const reason = error instanceof Error ? error.message : String(error);
|
|
300
300
|
throw diagnostics.DF0017({
|
|
@@ -695,6 +695,13 @@ interface RpcSharedStateHost {
|
|
|
695
695
|
* as dynamic resources.
|
|
696
696
|
*/
|
|
697
697
|
onKeyAdded: (fn: (key: string) => void) => () => void;
|
|
698
|
+
/**
|
|
699
|
+
* Unregister a shared state and drop its broadcast listeners. Returns
|
|
700
|
+
* `true` when a state was removed, `false` when the key was unknown.
|
|
701
|
+
* Used by short-lived states (e.g. a disposed JSON-render view) to avoid
|
|
702
|
+
* leaking listeners and lingering entries for the context lifetime.
|
|
703
|
+
*/
|
|
704
|
+
delete: (key: string) => boolean;
|
|
698
705
|
}
|
|
699
706
|
/**
|
|
700
707
|
* Options for `RpcStreamingHost.create()`.
|
|
@@ -960,6 +967,14 @@ interface DevframeViewHost {
|
|
|
960
967
|
//#endregion
|
|
961
968
|
//#region src/types/scope.d.ts
|
|
962
969
|
type AnyRpcFn = (...args: any[]) => any;
|
|
970
|
+
/**
|
|
971
|
+
* Resolve a scoped bare name `T` back to its fully-qualified entry in
|
|
972
|
+
* `Registry` (`<NS>:<T>`). Indexing the plain registry behind a `keyof`
|
|
973
|
+
* guard keeps TypeScript from rejecting a generic index into the
|
|
974
|
+
* key-remapped `Scoped*Functions<NS>` maps (TS2536) once a plugin augments
|
|
975
|
+
* the registry, while preserving each name's argument/return typing.
|
|
976
|
+
*/
|
|
977
|
+
type ScopedRpcFn<Registry, NS extends string, T extends string> = `${NS}:${T}` extends keyof Registry ? Extract<Registry[`${NS}:${T}`], AnyRpcFn> : AnyRpcFn;
|
|
963
978
|
/**
|
|
964
979
|
* Augmentable registry mapping a scope namespace to the shape of its
|
|
965
980
|
* persisted settings. Tools augment it so `ctx.scope('my-plugin')`
|
|
@@ -1078,7 +1093,7 @@ interface DevframeScopedNodeRpc<NS extends string = string> {
|
|
|
1078
1093
|
* (containing `:`) to call another scope's function.
|
|
1079
1094
|
*/
|
|
1080
1095
|
call: {
|
|
1081
|
-
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<
|
|
1096
|
+
<T extends keyof ScopedServerFunctions<NS> & string>(method: T, ...args: Parameters<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>): Promise<Awaited<ReturnType<ScopedRpcFn<DevframeRpcServerFunctions, NS, T>>>>;
|
|
1082
1097
|
<T extends keyof DevframeRpcServerFunctions & string>(method: T, ...args: Parameters<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>): Promise<Awaited<ReturnType<Extract<DevframeRpcServerFunctions[T], AnyRpcFn>>>>;
|
|
1083
1098
|
(method: string, ...args: any[]): Promise<any>;
|
|
1084
1099
|
};
|
|
@@ -1087,7 +1102,7 @@ interface DevframeScopedNodeRpc<NS extends string = string> {
|
|
|
1087
1102
|
* names are resolved within this namespace.
|
|
1088
1103
|
*/
|
|
1089
1104
|
broadcast: {
|
|
1090
|
-
<T extends keyof ScopedClientFunctions<NS> & string>(options: ScopedBroadcastOptions<T, Parameters<
|
|
1105
|
+
<T extends keyof ScopedClientFunctions<NS> & string>(options: ScopedBroadcastOptions<T, Parameters<ScopedRpcFn<DevframeRpcClientFunctions, NS, T>>>): Promise<void>;
|
|
1091
1106
|
(options: ScopedBroadcastOptions<string, any[]>): Promise<void>;
|
|
1092
1107
|
};
|
|
1093
1108
|
/**
|
|
@@ -1201,7 +1216,9 @@ interface DevframeCapabilities {
|
|
|
1201
1216
|
* agent + the view-host (HTTP file-serving). Host adapters can wrap this
|
|
1202
1217
|
* to add their own surfaces; for example, `@vitejs/devtools-kit`'s
|
|
1203
1218
|
* `createKitContext` adds `docks`, `terminals`, `messages`, and
|
|
1204
|
-
* `commands` when mounted into Vite DevTools.
|
|
1219
|
+
* `commands` when mounted into Vite DevTools. JSON rendering is an opt-in
|
|
1220
|
+
* integration (`@devframes/json-render`) layered on top, not part of this
|
|
1221
|
+
* core surface.
|
|
1205
1222
|
*/
|
|
1206
1223
|
interface DevframeNodeContext {
|
|
1207
1224
|
readonly workspaceRoot: string;
|
|
@@ -1689,4 +1706,4 @@ interface DevframeDefinition {
|
|
|
1689
1706
|
}
|
|
1690
1707
|
declare function defineDevframe(d: DevframeDefinition): DevframeDefinition;
|
|
1691
1708
|
//#endregion
|
|
1692
|
-
export {
|
|
1709
|
+
export { DevframeRpcServerFunctions as $, DevframeSettingsStore as A, EventUnsubscribe as At, DevframeDefineDiagnosticsOptions as B, DevframeServicesHost as C, AgentResourceContent as Ct, DevframeScopedStreamingHost as D, DevframeAgentHost as Dt, DevframeScopedNodeRpc as E, AgentToolInput as Et, ScopedSharedStates as F, parseCliFlags as Ft, RpcBroadcastOptions as G, DevframeDiagnosticsHost as H, SettingsForNamespace as I, RpcSharedStateHost as J, RpcFunctionsHost as K, DevframeViewHost as L, ScopedClientFunctions as M, CliFlagsSchema as Mt, ScopedRpcFn as N, InferCliFlags as Nt, DevframeSettings as O, DevframeAgentHostEvents as Ot, ScopedServerFunctions as P, defineCliFlags as Pt, DevframeRpcClientFunctions as Q, DevframeHost as R, DevframeServiceOf as S, AgentResource as St, DevframeScopedNodeContext as T, AgentTool as Tt, DevframeDiagnosticsLogger as U, DevframeDiagnosticsDefinition as V, DevframeNodeRpcSession as W, RpcStreamingChannelOptions as X, RpcStreamingChannel as Y, RpcStreamingHost as Z, ConnectionMeta as _, SharedStateOptions as _t, DevframeDockDefaults as a, StreamReader as at, DevframeNodeContext as b, AgentHandle as bt, DevframeSetupInfo as c, createStreamReader as ct, McpRouteOptions as d, ImmutableArray as dt, DevframeRpcSharedStates as et, defineDevframe as f, ImmutableMap as ft, Thenable as g, SharedStateEvents as gt, PartialWithoutId as h, SharedState as ht, DevframeDeploymentKind as i, StreamErrorPayload as it, ScopedBroadcastOptions as j, EventsMap as jt, DevframeSettingsRegistry as k, EventEmitter as kt, DevframeSpaOptions as l, createStreamSink as lt, EntriesToObject as m, ImmutableSet as mt, DevframeCliOptions as n, CreateStreamReaderOptions as nt, DevframeDuplicationStrategy as o, StreamSink as ot, DevframeAuthHandler as p, ImmutableObject as pt, RpcSharedStateGetOptions as q, DevframeDefinition as r, CreateStreamSinkOptions as rt, DevframeRuntime as s, StreamSinkEvents as st, DevframeBrowserContext as t, BufferedChunk as tt, DevframeWsOptions as u, Immutable as ut, ConnectionMetaWebsocket as v, SharedStatePatch as vt, DevframeServicesRegistry as w, AgentResourceInput as wt, DevframeServiceId as x, AgentManifest as xt, DevframeCapabilities as y, createSharedState as yt, DevframeStorageScope as z };
|
package/dist/helpers/vite.d.mts
CHANGED
package/dist/helpers/vite.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DEVFRAME_CONNECTION_META_FILENAME, DEVFRAME_WS_ROUTE } from "../constants.mjs";
|
|
2
|
-
import { a as diagnostics } from "../storage-
|
|
2
|
+
import { a as diagnostics } from "../storage-D_Xy9v1l.mjs";
|
|
3
3
|
import { n as resolveBasePath, t as normalizeBasePath } from "../_shared-bWRzeSa0.mjs";
|
|
4
4
|
import { serveStaticNodeMiddleware } from "../utils/serve-static.mjs";
|
|
5
|
-
import { n as resolveDevServerPort, t as createDevServer } from "../dev-
|
|
5
|
+
import { n as resolveDevServerPort, t as createDevServer } from "../dev-J2PqMPTn.mjs";
|
|
6
6
|
import { resolve } from "pathe";
|
|
7
7
|
//#region src/helpers/vite.ts
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as devframeReporter } from "./diagnostics-reporter-CsIG85Q5.mjs";
|
|
|
2
2
|
import { t as diagnostics } from "./diagnostics-BXwBQmoN.mjs";
|
|
3
3
|
import { RpcFunctionsCollectorBase } from "./rpc/index.mjs";
|
|
4
4
|
import { defineRpcFunction } from "./index.mjs";
|
|
5
|
-
import { a as diagnostics$1, i as createEventEmitter, n as createSharedState, r as nanoid, t as createStorage } from "./storage-
|
|
5
|
+
import { a as diagnostics$1, i as createEventEmitter, n as createSharedState, r as nanoid, t as createStorage } from "./storage-D_Xy9v1l.mjs";
|
|
6
6
|
import { defineDiagnostics } from "nostics";
|
|
7
7
|
import { isatty } from "node:tty";
|
|
8
8
|
import { formatWithOptions, inspect } from "node:util";
|
|
@@ -203,7 +203,7 @@ var DevframeDiagnosticsHost = class {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
//#endregion
|
|
206
|
-
//#region ../../node_modules/.pnpm/obug@2.1.
|
|
206
|
+
//#region ../../node_modules/.pnpm/obug@2.1.4/node_modules/obug/dist/core.js
|
|
207
207
|
/**
|
|
208
208
|
* Coerce `value`.
|
|
209
209
|
*/
|
|
@@ -330,8 +330,13 @@ function enabled(name) {
|
|
|
330
330
|
return false;
|
|
331
331
|
}
|
|
332
332
|
//#endregion
|
|
333
|
-
//#region ../../node_modules/.pnpm/obug@2.1.
|
|
334
|
-
|
|
333
|
+
//#region ../../node_modules/.pnpm/obug@2.1.4/node_modules/obug/dist/node.js
|
|
334
|
+
let env = {};
|
|
335
|
+
try {
|
|
336
|
+
process.env.DEBUG;
|
|
337
|
+
env = process.env;
|
|
338
|
+
} catch (_unused) {}
|
|
339
|
+
const colors = process.stderr.getColorDepth && process.stderr.getColorDepth(env) > 2 ? [
|
|
335
340
|
20,
|
|
336
341
|
21,
|
|
337
342
|
26,
|
|
@@ -416,9 +421,9 @@ const colors = process.stderr.getColorDepth && process.stderr.getColorDepth() >
|
|
|
416
421
|
5,
|
|
417
422
|
1
|
|
418
423
|
];
|
|
419
|
-
const inspectOpts = Object.keys(
|
|
424
|
+
const inspectOpts = Object.keys(env).filter((key) => /^debug_/i.test(key)).reduce((obj, key) => {
|
|
420
425
|
const prop = key.slice(6).toLowerCase().replace(/_([a-z])/g, (_, k) => k.toUpperCase());
|
|
421
|
-
let value =
|
|
426
|
+
let value = env[key];
|
|
422
427
|
const lowerCase = typeof value === "string" && value.toLowerCase();
|
|
423
428
|
if (value === "null") value = null;
|
|
424
429
|
else if (lowerCase === "yes" || lowerCase === "on" || lowerCase === "true" || lowerCase === "enabled") value = true;
|
|
@@ -481,13 +486,14 @@ function createDebug(namespace, options) {
|
|
|
481
486
|
const color = (_ref = options && options.color) !== null && _ref !== void 0 ? _ref : selectColor(colors, namespace);
|
|
482
487
|
return createDebug$1(namespace, Object.assign(defaultOptions, { color }, options));
|
|
483
488
|
}
|
|
484
|
-
enable(
|
|
489
|
+
enable(env.DEBUG || "");
|
|
485
490
|
//#endregion
|
|
486
491
|
//#region src/node/rpc-shared-state.ts
|
|
487
492
|
const debug$1 = createDebug("devframe:rpc:state:changed");
|
|
488
493
|
const debugSubscribe = createDebug("devframe:rpc:state:subscribe");
|
|
489
494
|
function createRpcSharedStateServerHost(rpc) {
|
|
490
495
|
const sharedState = /* @__PURE__ */ new Map();
|
|
496
|
+
const stateDisposers = /* @__PURE__ */ new Map();
|
|
491
497
|
const keyAddedListeners = /* @__PURE__ */ new Set();
|
|
492
498
|
function registerSharedState(key, state) {
|
|
493
499
|
const offs = [];
|
|
@@ -535,7 +541,7 @@ function createRpcSharedStateServerHost(rpc) {
|
|
|
535
541
|
initialValue: options.initialValue,
|
|
536
542
|
enablePatches: false
|
|
537
543
|
});
|
|
538
|
-
registerSharedState(key, state);
|
|
544
|
+
stateDisposers.set(key, registerSharedState(key, state));
|
|
539
545
|
sharedState.set(key, state);
|
|
540
546
|
for (const fn of keyAddedListeners) fn(key);
|
|
541
547
|
return state;
|
|
@@ -548,6 +554,14 @@ function createRpcSharedStateServerHost(rpc) {
|
|
|
548
554
|
return () => {
|
|
549
555
|
keyAddedListeners.delete(fn);
|
|
550
556
|
};
|
|
557
|
+
},
|
|
558
|
+
delete(key) {
|
|
559
|
+
const dispose = stateDisposers.get(key);
|
|
560
|
+
if (!dispose) return false;
|
|
561
|
+
dispose();
|
|
562
|
+
stateDisposers.delete(key);
|
|
563
|
+
sharedState.delete(key);
|
|
564
|
+
return true;
|
|
551
565
|
}
|
|
552
566
|
};
|
|
553
567
|
rpc.register({
|
|
@@ -1441,8 +1455,8 @@ function createScopedNodeContext(context, namespace) {
|
|
|
1441
1455
|
* Wires the RPC host, view (HTTP file-serving) host, diagnostics, and
|
|
1442
1456
|
* agent subsystems. Host adapters can wrap this to augment `ctx` with
|
|
1443
1457
|
* extra surfaces — for example, `@vitejs/devtools-kit`'s
|
|
1444
|
-
* `createKitContext` attaches `docks`, `terminals`, `messages`,
|
|
1445
|
-
* `commands
|
|
1458
|
+
* `createKitContext` attaches `docks`, `terminals`, `messages`, and
|
|
1459
|
+
* `commands` when mounted into Vite DevTools.
|
|
1446
1460
|
*/
|
|
1447
1461
|
async function createHostContext(options) {
|
|
1448
1462
|
const { cwd, workspaceRoot = cwd, mode, host, builtinRpcDeclarations = [] } = options;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isAllowedOrigin } from "./rpc/transports/ws-server.mjs";
|
|
2
|
-
import { t as buildMcpServerFromContext } from "./build-server-
|
|
2
|
+
import { t as buildMcpServerFromContext } from "./build-server-CBAxmnC8.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { defineHandler } from "h3";
|
|
5
5
|
import { isInitializeRequest } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as InternalAnonymousAuthStorage } from "./context-
|
|
1
|
+
import { W as DevframeNodeRpcSession, b as DevframeNodeContext, ht as SharedState } from "./devframe-elfUcUJG.mjs";
|
|
2
|
+
import { n as InternalAnonymousAuthStorage } from "./context-D0md0kxv.mjs";
|
|
3
3
|
//#region src/node/auth/revoke.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Flip `isTrusted` to false on any live WS clients connected with `token`
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DevframeRpcServerFunctions, A as DevframeSettingsStore, At as EventUnsubscribe, B as DevframeDefineDiagnosticsOptions, C as DevframeServicesHost, Ct as AgentResourceContent, D as DevframeScopedStreamingHost, Dt as DevframeAgentHost, E as DevframeScopedNodeRpc, Et as AgentToolInput, F as ScopedSharedStates, G as RpcBroadcastOptions, H as DevframeDiagnosticsHost, I as SettingsForNamespace, J as RpcSharedStateHost, K as RpcFunctionsHost, L as DevframeViewHost, M as ScopedClientFunctions, N as ScopedRpcFn, O as DevframeSettings, Ot as DevframeAgentHostEvents, P as ScopedServerFunctions, Q as DevframeRpcClientFunctions, R as DevframeHost, S as DevframeServiceOf, St as AgentResource, T as DevframeScopedNodeContext, Tt as AgentTool, U as DevframeDiagnosticsLogger, V as DevframeDiagnosticsDefinition, W as DevframeNodeRpcSession, X as RpcStreamingChannelOptions, Y as RpcStreamingChannel, Z as RpcStreamingHost, _ as ConnectionMeta, a as DevframeDockDefaults, b as DevframeNodeContext, bt as AgentHandle, c as DevframeSetupInfo, d as McpRouteOptions, et as DevframeRpcSharedStates, f as defineDevframe, g as Thenable, h as PartialWithoutId, i as DevframeDeploymentKind, j as ScopedBroadcastOptions, jt as EventsMap, k as DevframeSettingsRegistry, kt as EventEmitter, l as DevframeSpaOptions, m as EntriesToObject, n as DevframeCliOptions, o as DevframeDuplicationStrategy, q as RpcSharedStateGetOptions, r as DevframeDefinition, s as DevframeRuntime, t as DevframeBrowserContext, u as DevframeWsOptions, v as ConnectionMetaWebsocket, w as DevframeServicesRegistry, wt as AgentResourceInput, x as DevframeServiceId, xt as AgentManifest, y as DevframeCapabilities, z as DevframeStorageScope } from "./devframe-elfUcUJG.mjs";
|
|
2
2
|
import { C as RpcFunctionType, T as RpcReturnSchema, _ as RpcFunctionDefinition, g as RpcFunctionAgentOptions, i as RpcArgsSchema } from "./types-CrzNxXKq.mjs";
|
|
3
3
|
import "./index-DgsLFhZg.mjs";
|
|
4
4
|
import { t as DevframeNodeRpcSessionMeta } from "./ws-server-9-wn7MNQ.mjs";
|
|
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, DevframeNodeContext>) => RpcFunctionDefinition<NAME, TYPE, ARGS, RETURN, AS, RS, DevframeNodeContext>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { type AgentHandle, type AgentManifest, type AgentResource, type AgentResourceContent, type AgentResourceInput, type AgentTool, type AgentToolInput, type ConnectionMeta, type ConnectionMetaWebsocket, type DevframeAgentHost, type DevframeAgentHostEvents, type DevframeBrowserContext, type DevframeCapabilities, type DevframeCliOptions, type DevframeDefineDiagnosticsOptions, type DevframeDefinition, type DevframeDeploymentKind, type DevframeDiagnosticsDefinition, type DevframeDiagnosticsHost, type DevframeDiagnosticsLogger, type DevframeDockDefaults, type DevframeDuplicationStrategy, type DevframeHost, type DevframeNodeContext, type DevframeNodeRpcSession, type DevframeNodeRpcSessionMeta, type DevframeRpcClientFunctions, type DevframeRpcServerFunctions, type DevframeRpcSharedStates, type DevframeRuntime, type DevframeScopedNodeContext, type DevframeScopedNodeRpc, type DevframeScopedStreamingHost, type DevframeServiceId, type DevframeServiceOf, type DevframeServicesHost, type DevframeServicesRegistry, type DevframeSettings, type DevframeSettingsRegistry, type DevframeSettingsStore, type DevframeSetupInfo, type DevframeSpaOptions, type DevframeStorageScope, type DevframeViewHost, type DevframeWsOptions, type EntriesToObject, type EventEmitter, type EventUnsubscribe, type EventsMap, type McpRouteOptions, type PartialWithoutId, type RpcBroadcastOptions, type RpcFunctionAgentOptions, type RpcFunctionsHost, type RpcSharedStateGetOptions, type RpcSharedStateHost, type RpcStreamingChannel, type RpcStreamingChannelOptions, type RpcStreamingHost, type ScopedBroadcastOptions, type ScopedClientFunctions, type ScopedServerFunctions, type ScopedSharedStates, type SettingsForNamespace, type Thenable, type defineDevframe, defineRpcFunction };
|
|
8
|
+
export { type AgentHandle, type AgentManifest, type AgentResource, type AgentResourceContent, type AgentResourceInput, type AgentTool, type AgentToolInput, type ConnectionMeta, type ConnectionMetaWebsocket, type DevframeAgentHost, type DevframeAgentHostEvents, type DevframeBrowserContext, type DevframeCapabilities, type DevframeCliOptions, type DevframeDefineDiagnosticsOptions, type DevframeDefinition, type DevframeDeploymentKind, type DevframeDiagnosticsDefinition, type DevframeDiagnosticsHost, type DevframeDiagnosticsLogger, type DevframeDockDefaults, type DevframeDuplicationStrategy, type DevframeHost, type DevframeNodeContext, type DevframeNodeRpcSession, type DevframeNodeRpcSessionMeta, type DevframeRpcClientFunctions, type DevframeRpcServerFunctions, type DevframeRpcSharedStates, type DevframeRuntime, type DevframeScopedNodeContext, type DevframeScopedNodeRpc, type DevframeScopedStreamingHost, type DevframeServiceId, type DevframeServiceOf, type DevframeServicesHost, type DevframeServicesRegistry, type DevframeSettings, type DevframeSettingsRegistry, type DevframeSettingsStore, type DevframeSetupInfo, type DevframeSpaOptions, type DevframeStorageScope, type DevframeViewHost, type DevframeWsOptions, type EntriesToObject, type EventEmitter, type EventUnsubscribe, type EventsMap, type McpRouteOptions, type PartialWithoutId, type RpcBroadcastOptions, type RpcFunctionAgentOptions, type RpcFunctionsHost, type RpcSharedStateGetOptions, type RpcSharedStateHost, type RpcStreamingChannel, type RpcStreamingChannelOptions, type RpcStreamingHost, type ScopedBroadcastOptions, type ScopedClientFunctions, type ScopedRpcFn, type ScopedServerFunctions, type ScopedSharedStates, type SettingsForNamespace, type Thenable, type defineDevframe, defineRpcFunction };
|
package/dist/node/auth.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { p as DevframeAuthHandler } from "../devframe-
|
|
2
|
-
import { a as verifyAuthToken, i as refreshTempAuthCode, n as exchangeTempAuthCode, o as revokeActiveConnectionsForToken, r as getTempAuthCode, s as revokeAuthToken, t as buildOtpAuthUrl } from "../index-
|
|
1
|
+
import { p as DevframeAuthHandler } from "../devframe-elfUcUJG.mjs";
|
|
2
|
+
import { a as verifyAuthToken, i as refreshTempAuthCode, n as exchangeTempAuthCode, o as revokeActiveConnectionsForToken, r as getTempAuthCode, s as revokeAuthToken, t as buildOtpAuthUrl } from "../index-D8RNkmY_.mjs";
|
|
3
3
|
export { DevframeAuthHandler, buildOtpAuthUrl, exchangeTempAuthCode, getTempAuthCode, refreshTempAuthCode, revokeActiveConnectionsForToken, revokeAuthToken, verifyAuthToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as DevframeDeploymentKind, r as DevframeDefinition } from "../devframe-
|
|
2
|
-
import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevframeInternalContext } from "../context-
|
|
1
|
+
import { i as DevframeDeploymentKind, r as DevframeDefinition } from "../devframe-elfUcUJG.mjs";
|
|
2
|
+
import { a as internalContextMap, i as getInternalContext, n as InternalAnonymousAuthStorage, r as RemoteTokenRecord, t as DevframeInternalContext } from "../context-D0md0kxv.mjs";
|
|
3
3
|
//#region src/adapters/_shared.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Resolve the mount base path for a devframe's SPA. Hosted adapters
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as internalContextMap, t as getInternalContext } from "../context-
|
|
1
|
+
import { n as internalContextMap, t as getInternalContext } from "../context-C1Gr2BGB.mjs";
|
|
2
2
|
import { n as resolveBasePath, t as normalizeBasePath } from "../_shared-bWRzeSa0.mjs";
|
|
3
3
|
export { getInternalContext, internalContextMap, normalizeBasePath, resolveBasePath };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as DevframeServicesHost, Ct as
|
|
1
|
+
import { C as DevframeServicesHost, Ct as AgentResourceContent, Dt as DevframeAgentHost$1, Et as AgentToolInput, H as DevframeDiagnosticsHost$1, J as RpcSharedStateHost, K as RpcFunctionsHost, L as DevframeViewHost$1, O as DevframeSettings, Ot as DevframeAgentHostEvents, R as DevframeHost, S as DevframeServiceOf, St as AgentResource, T as DevframeScopedNodeContext, Tt as AgentTool, U as DevframeDiagnosticsLogger, Z as RpcStreamingHost, b as DevframeNodeContext, bt as AgentHandle, ht as SharedState, kt as EventEmitter, wt as AgentResourceInput, x as DevframeServiceId, xt as AgentManifest } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import { v as RpcFunctionDefinitionAny } from "../types-CrzNxXKq.mjs";
|
|
3
3
|
import "../index-DgsLFhZg.mjs";
|
|
4
|
-
import { n as StartedServer, r as startHttpAndWs, t as StartHttpAndWsOptions } from "../server-
|
|
4
|
+
import { n as StartedServer, r as startHttpAndWs, t as StartHttpAndWsOptions } from "../server-kmetRyhu.mjs";
|
|
5
5
|
import { BirpcGroup } from "birpc";
|
|
6
6
|
//#region src/node/context.d.ts
|
|
7
7
|
interface CreateHostContextOptions {
|
|
@@ -21,8 +21,8 @@ interface CreateHostContextOptions {
|
|
|
21
21
|
* Wires the RPC host, view (HTTP file-serving) host, diagnostics, and
|
|
22
22
|
* agent subsystems. Host adapters can wrap this to augment `ctx` with
|
|
23
23
|
* extra surfaces — for example, `@vitejs/devtools-kit`'s
|
|
24
|
-
* `createKitContext` attaches `docks`, `terminals`, `messages`,
|
|
25
|
-
* `commands
|
|
24
|
+
* `createKitContext` attaches `docks`, `terminals`, `messages`, and
|
|
25
|
+
* `commands` when mounted into Vite DevTools.
|
|
26
26
|
*/
|
|
27
27
|
declare function createHostContext(options: CreateHostContextOptions): Promise<DevframeNodeContext>;
|
|
28
28
|
//#endregion
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createStorage } from "../storage-
|
|
2
|
-
import { a as DevframeViewHost, c as createRpcSharedStateServerHost, i as createNodeSettings, l as DevframeDiagnosticsHost, n as createHostContext, o as DevframeServicesHostImpl, r as createScopedNodeContext, s as createRpcStreamingServerHost, t as createH3DevframeHost, u as DevframeAgentHost } from "../host-h3-
|
|
3
|
-
import { a as toDialableHost, i as normalizeHttpServerUrl, n as formatHostForUrl, r as isObject, t as startHttpAndWs } from "../server-
|
|
1
|
+
import { t as createStorage } from "../storage-D_Xy9v1l.mjs";
|
|
2
|
+
import { a as DevframeViewHost, c as createRpcSharedStateServerHost, i as createNodeSettings, l as DevframeDiagnosticsHost, n as createHostContext, o as DevframeServicesHostImpl, r as createScopedNodeContext, s as createRpcStreamingServerHost, t as createH3DevframeHost, u as DevframeAgentHost } from "../host-h3-SjwRTwkE.mjs";
|
|
3
|
+
import { a as toDialableHost, i as normalizeHttpServerUrl, n as formatHostForUrl, r as isObject, t as startHttpAndWs } from "../server-BFsuZI9e.mjs";
|
|
4
4
|
export { DevframeAgentHost, DevframeDiagnosticsHost, DevframeServicesHostImpl, DevframeViewHost, createH3DevframeHost, createHostContext, createNodeSettings, createRpcSharedStateServerHost, createRpcStreamingServerHost, createScopedNodeContext, createStorage, formatHostForUrl, isObject, normalizeHttpServerUrl, startHttpAndWs, toDialableHost };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as DevframeNodeContext, p as DevframeAuthHandler } from "../devframe-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { b as DevframeNodeContext, p as DevframeAuthHandler } from "../devframe-elfUcUJG.mjs";
|
|
2
|
+
import "../index-D8RNkmY_.mjs";
|
|
3
3
|
//#region src/recipes/interactive-auth.d.ts
|
|
4
4
|
interface CreateInteractiveAuthOptions {
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as colors } from "../diagnostics-reporter-CsIG85Q5.mjs";
|
|
2
2
|
import { isAnonymousRpcMethod } from "../constants.mjs";
|
|
3
3
|
import { n as defineRpcFunction } from "../define-BLWPsH6y.mjs";
|
|
4
|
-
import { t as getInternalContext } from "../context-
|
|
4
|
+
import { t as getInternalContext } from "../context-C1Gr2BGB.mjs";
|
|
5
5
|
import { a as verifyAuthToken, n as exchangeTempAuthCode, r as getTempAuthCode, t as buildOtpAuthUrl } from "../state-WX3HT5a3.mjs";
|
|
6
6
|
import * as v from "valibot";
|
|
7
7
|
//#region src/recipes/interactive-auth.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRpcServer } from "./rpc/server.mjs";
|
|
2
2
|
import { attachWsRpcTransport } from "./rpc/transports/ws-server.mjs";
|
|
3
|
-
import { a as diagnostics } from "./storage-
|
|
4
|
-
import { t as getInternalContext } from "./context-
|
|
3
|
+
import { a as diagnostics } from "./storage-D_Xy9v1l.mjs";
|
|
4
|
+
import { t as getInternalContext } from "./context-C1Gr2BGB.mjs";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
7
7
|
import { H3, toNodeHandler } from "h3";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { $ as DevframeRpcServerFunctions, Q as DevframeRpcClientFunctions, W as DevframeNodeRpcSession, _ as ConnectionMeta, b as DevframeNodeContext, p as DevframeAuthHandler } from "./devframe-elfUcUJG.mjs";
|
|
2
|
+
import "./index-D8RNkmY_.mjs";
|
|
3
3
|
import { Peer } from "crossws";
|
|
4
4
|
import { BirpcGroup, EventOptions } from "birpc";
|
|
5
5
|
import { NodeAdapter } from "crossws/adapters/node";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createEventEmitter } from "./utils/events.mjs";
|
|
2
2
|
import { nanoid } from "./utils/nanoid.mjs";
|
|
3
|
-
//#region ../../node_modules/.pnpm/immer@11.1.
|
|
3
|
+
//#region ../../node_modules/.pnpm/immer@11.1.15/node_modules/immer/dist/immer.mjs
|
|
4
4
|
var NOTHING = Symbol.for("immer-nothing");
|
|
5
5
|
var DRAFTABLE = Symbol.for("immer-draftable");
|
|
6
6
|
var DRAFT_STATE = Symbol.for("immer-state");
|
|
@@ -38,7 +38,6 @@ function die(error, ...args) {
|
|
|
38
38
|
const msg = isFunction(e) ? e.apply(null, args) : e;
|
|
39
39
|
throw new Error(`[Immer] ${msg}`);
|
|
40
40
|
}
|
|
41
|
-
throw new Error(`[Immer] minified error nr: ${error}. Full error at: https://bit.ly/3cXEKWf`);
|
|
42
41
|
}
|
|
43
42
|
var O = Object;
|
|
44
43
|
var getPrototypeOf = O.getPrototypeOf;
|
|
@@ -350,21 +349,6 @@ function createProxyProxy(base, parent) {
|
|
|
350
349
|
var objectTraps = {
|
|
351
350
|
get(state, prop) {
|
|
352
351
|
if (prop === DRAFT_STATE) return state;
|
|
353
|
-
if (prop === "constructor" || prop === "__proto__") {
|
|
354
|
-
const value2 = latest(state)[prop];
|
|
355
|
-
return new Proxy(value2 || {}, {
|
|
356
|
-
get: (target, key) => {
|
|
357
|
-
if (key === "__proto__" || key === "prototype") return Object.freeze(/* @__PURE__ */ Object.create(null));
|
|
358
|
-
return Reflect.get(target, key);
|
|
359
|
-
},
|
|
360
|
-
set: () => {
|
|
361
|
-
return true;
|
|
362
|
-
},
|
|
363
|
-
apply: (target, thisArg, args) => {
|
|
364
|
-
return Reflect.apply(target, thisArg, args);
|
|
365
|
-
}
|
|
366
|
-
});
|
|
367
|
-
}
|
|
368
352
|
let arrayPlugin = state.scope_.arrayMethodsPlugin_;
|
|
369
353
|
const isArrayWithStringProp = state.type_ === 1 && typeof prop === "string";
|
|
370
354
|
if (isArrayWithStringProp) {
|
|
@@ -375,7 +359,7 @@ var objectTraps = {
|
|
|
375
359
|
const value = source[prop];
|
|
376
360
|
if (state.finalized_ || !isDraftable(value)) return value;
|
|
377
361
|
if (isArrayWithStringProp && state.operationMethod && arrayPlugin?.isMutatingArrayMethod(state.operationMethod) && isArrayIndex(prop)) return value;
|
|
378
|
-
if (value === peek(state.base_, prop)) {
|
|
362
|
+
if (value === peek(state.base_, prop) || isRelocatedBaseRef(state, prop, value)) {
|
|
379
363
|
prepareCopy(state);
|
|
380
364
|
const childKey = state.type_ === 1 ? +prop : prop;
|
|
381
365
|
const childDraft = createProxy(state.scope_, value, state, childKey);
|
|
@@ -384,14 +368,12 @@ var objectTraps = {
|
|
|
384
368
|
return value;
|
|
385
369
|
},
|
|
386
370
|
has(state, prop) {
|
|
387
|
-
if (prop === "constructor" || prop === "__proto__" || prop === "prototype") return false;
|
|
388
371
|
return prop in latest(state);
|
|
389
372
|
},
|
|
390
373
|
ownKeys(state) {
|
|
391
374
|
return Reflect.ownKeys(latest(state));
|
|
392
375
|
},
|
|
393
376
|
set(state, prop, value) {
|
|
394
|
-
if (prop === "constructor" || prop === "__proto__" || prop === "prototype") return true;
|
|
395
377
|
const desc = getDescriptorFromProto(latest(state), prop);
|
|
396
378
|
if (desc?.set) {
|
|
397
379
|
desc.set.call(state.draft_, value);
|
|
@@ -466,6 +448,10 @@ function peek(draft, prop) {
|
|
|
466
448
|
const state = draft[DRAFT_STATE];
|
|
467
449
|
return (state ? latest(state) : draft)[prop];
|
|
468
450
|
}
|
|
451
|
+
function isRelocatedBaseRef(state, prop, value) {
|
|
452
|
+
if (state.type_ !== 1 || !state.allIndicesReassigned_ || state.assigned_?.get(prop) || !isDraftable(value) || value[DRAFT_STATE]) return false;
|
|
453
|
+
return state.baseRefs_.has(value);
|
|
454
|
+
}
|
|
469
455
|
function readPropFromProto(state, source, prop) {
|
|
470
456
|
const desc = getDescriptorFromProto(source, prop);
|
|
471
457
|
return desc ? VALUE in desc ? desc[VALUE] : desc.get?.call(state.draft_) : void 0;
|
|
@@ -856,7 +842,7 @@ function enablePatches() {
|
|
|
856
842
|
if ((parentType === 0 || parentType === 1) && (p === "__proto__" || p === CONSTRUCTOR)) die(19);
|
|
857
843
|
if (isFunction(base) && p === PROTOTYPE) die(19);
|
|
858
844
|
base = get(base, p);
|
|
859
|
-
if (!isObjectish(base)) die(18, path.join("/"));
|
|
845
|
+
if (base === null || !isObjectish(base)) die(18, path.join("/"));
|
|
860
846
|
}
|
|
861
847
|
const type = getArchtype(base);
|
|
862
848
|
const value = deepClonePatchValue(patch.value);
|
|
@@ -926,6 +912,7 @@ function rememberSyncId(syncIds, syncId) {
|
|
|
926
912
|
}
|
|
927
913
|
function createSharedState(options) {
|
|
928
914
|
const { enablePatches: enablePatches$1 = false } = options;
|
|
915
|
+
if (enablePatches$1) enablePatches();
|
|
929
916
|
const events = createEventEmitter();
|
|
930
917
|
let state = options.initialValue;
|
|
931
918
|
const syncIds = /* @__PURE__ */ new Set();
|
|
@@ -102,7 +102,7 @@ function createEventEmitter() {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
|
-
//#region ../../node_modules/.pnpm/immer@11.1.
|
|
105
|
+
//#region ../../node_modules/.pnpm/immer@11.1.15/node_modules/immer/dist/immer.mjs
|
|
106
106
|
var NOTHING = Symbol.for("immer-nothing");
|
|
107
107
|
var DRAFTABLE = Symbol.for("immer-draftable");
|
|
108
108
|
var DRAFT_STATE = Symbol.for("immer-state");
|
|
@@ -452,21 +452,6 @@ function createProxyProxy(base, parent) {
|
|
|
452
452
|
var objectTraps = {
|
|
453
453
|
get(state, prop) {
|
|
454
454
|
if (prop === DRAFT_STATE) return state;
|
|
455
|
-
if (prop === "constructor" || prop === "__proto__") {
|
|
456
|
-
const value2 = latest(state)[prop];
|
|
457
|
-
return new Proxy(value2 || {}, {
|
|
458
|
-
get: (target, key) => {
|
|
459
|
-
if (key === "__proto__" || key === "prototype") return Object.freeze(/* @__PURE__ */ Object.create(null));
|
|
460
|
-
return Reflect.get(target, key);
|
|
461
|
-
},
|
|
462
|
-
set: () => {
|
|
463
|
-
return true;
|
|
464
|
-
},
|
|
465
|
-
apply: (target, thisArg, args) => {
|
|
466
|
-
return Reflect.apply(target, thisArg, args);
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
455
|
let arrayPlugin = state.scope_.arrayMethodsPlugin_;
|
|
471
456
|
const isArrayWithStringProp = state.type_ === 1 && typeof prop === "string";
|
|
472
457
|
if (isArrayWithStringProp) {
|
|
@@ -477,7 +462,7 @@ var objectTraps = {
|
|
|
477
462
|
const value = source[prop];
|
|
478
463
|
if (state.finalized_ || !isDraftable(value)) return value;
|
|
479
464
|
if (isArrayWithStringProp && state.operationMethod && arrayPlugin?.isMutatingArrayMethod(state.operationMethod) && isArrayIndex(prop)) return value;
|
|
480
|
-
if (value === peek(state.base_, prop)) {
|
|
465
|
+
if (value === peek(state.base_, prop) || isRelocatedBaseRef(state, prop, value)) {
|
|
481
466
|
prepareCopy(state);
|
|
482
467
|
const childKey = state.type_ === 1 ? +prop : prop;
|
|
483
468
|
const childDraft = createProxy(state.scope_, value, state, childKey);
|
|
@@ -486,14 +471,12 @@ var objectTraps = {
|
|
|
486
471
|
return value;
|
|
487
472
|
},
|
|
488
473
|
has(state, prop) {
|
|
489
|
-
if (prop === "constructor" || prop === "__proto__" || prop === "prototype") return false;
|
|
490
474
|
return prop in latest(state);
|
|
491
475
|
},
|
|
492
476
|
ownKeys(state) {
|
|
493
477
|
return Reflect.ownKeys(latest(state));
|
|
494
478
|
},
|
|
495
479
|
set(state, prop, value) {
|
|
496
|
-
if (prop === "constructor" || prop === "__proto__" || prop === "prototype") return true;
|
|
497
480
|
const desc = getDescriptorFromProto(latest(state), prop);
|
|
498
481
|
if (desc?.set) {
|
|
499
482
|
desc.set.call(state.draft_, value);
|
|
@@ -568,6 +551,10 @@ function peek(draft, prop) {
|
|
|
568
551
|
const state = draft[DRAFT_STATE];
|
|
569
552
|
return (state ? latest(state) : draft)[prop];
|
|
570
553
|
}
|
|
554
|
+
function isRelocatedBaseRef(state, prop, value) {
|
|
555
|
+
if (state.type_ !== 1 || !state.allIndicesReassigned_ || state.assigned_?.get(prop) || !isDraftable(value) || value[DRAFT_STATE]) return false;
|
|
556
|
+
return state.baseRefs_.has(value);
|
|
557
|
+
}
|
|
571
558
|
function readPropFromProto(state, source, prop) {
|
|
572
559
|
const desc = getDescriptorFromProto(source, prop);
|
|
573
560
|
return desc ? VALUE in desc ? desc[VALUE] : desc.get?.call(state.draft_) : void 0;
|
|
@@ -958,7 +945,7 @@ function enablePatches() {
|
|
|
958
945
|
if ((parentType === 0 || parentType === 1) && (p === "__proto__" || p === CONSTRUCTOR)) die(19);
|
|
959
946
|
if (isFunction(base) && p === PROTOTYPE) die(19);
|
|
960
947
|
base = get(base, p);
|
|
961
|
-
if (!isObjectish(base)) die(18, path.join("/"));
|
|
948
|
+
if (base === null || !isObjectish(base)) die(18, path.join("/"));
|
|
962
949
|
}
|
|
963
950
|
const type = getArchtype(base);
|
|
964
951
|
const value = deepClonePatchValue(patch.value);
|
|
@@ -1037,6 +1024,7 @@ function rememberSyncId(syncIds, syncId) {
|
|
|
1037
1024
|
}
|
|
1038
1025
|
function createSharedState(options) {
|
|
1039
1026
|
const { enablePatches: enablePatches$1 = false } = options;
|
|
1027
|
+
if (enablePatches$1) enablePatches();
|
|
1040
1028
|
const events = createEventEmitter();
|
|
1041
1029
|
let state = options.initialValue;
|
|
1042
1030
|
const syncIds = /* @__PURE__ */ new Set();
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as DevframeRpcServerFunctions, A as DevframeSettingsStore, At as EventUnsubscribe, B as DevframeDefineDiagnosticsOptions, C as DevframeServicesHost, Ct as AgentResourceContent, D as DevframeScopedStreamingHost, Dt as DevframeAgentHost, E as DevframeScopedNodeRpc, Et as AgentToolInput, F as ScopedSharedStates, G as RpcBroadcastOptions, H as DevframeDiagnosticsHost, I as SettingsForNamespace, J as RpcSharedStateHost, K as RpcFunctionsHost, L as DevframeViewHost, M as ScopedClientFunctions, N as ScopedRpcFn, O as DevframeSettings, Ot as DevframeAgentHostEvents, P as ScopedServerFunctions, Q as DevframeRpcClientFunctions, R as DevframeHost, S as DevframeServiceOf, St as AgentResource, T as DevframeScopedNodeContext, Tt as AgentTool, U as DevframeDiagnosticsLogger, V as DevframeDiagnosticsDefinition, W as DevframeNodeRpcSession, X as RpcStreamingChannelOptions, Y as RpcStreamingChannel, Z as RpcStreamingHost, _ as ConnectionMeta, a as DevframeDockDefaults, b as DevframeNodeContext, bt as AgentHandle, c as DevframeSetupInfo, d as McpRouteOptions, et as DevframeRpcSharedStates, f as defineDevframe, g as Thenable, h as PartialWithoutId, i as DevframeDeploymentKind, j as ScopedBroadcastOptions, jt as EventsMap, k as DevframeSettingsRegistry, kt as EventEmitter, l as DevframeSpaOptions, m as EntriesToObject, n as DevframeCliOptions, o as DevframeDuplicationStrategy, q as RpcSharedStateGetOptions, r as DevframeDefinition, s as DevframeRuntime, t as DevframeBrowserContext, u as DevframeWsOptions, v as ConnectionMetaWebsocket, w as DevframeServicesRegistry, wt as AgentResourceInput, x as DevframeServiceId, xt as AgentManifest, y as DevframeCapabilities, z as DevframeStorageScope } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
import { g as RpcFunctionAgentOptions } from "../types-CrzNxXKq.mjs";
|
|
3
3
|
import { t as DevframeNodeRpcSessionMeta } from "../ws-server-9-wn7MNQ.mjs";
|
|
4
|
-
export { AgentHandle, AgentManifest, AgentResource, AgentResourceContent, AgentResourceInput, AgentTool, AgentToolInput, ConnectionMeta, ConnectionMetaWebsocket, DevframeAgentHost, DevframeAgentHostEvents, DevframeBrowserContext, DevframeCapabilities, DevframeCliOptions, DevframeDefineDiagnosticsOptions, DevframeDefinition, DevframeDeploymentKind, DevframeDiagnosticsDefinition, DevframeDiagnosticsHost, DevframeDiagnosticsLogger, DevframeDockDefaults, DevframeDuplicationStrategy, DevframeHost, DevframeNodeContext, DevframeNodeRpcSession, type DevframeNodeRpcSessionMeta, DevframeRpcClientFunctions, DevframeRpcServerFunctions, DevframeRpcSharedStates, DevframeRuntime, DevframeScopedNodeContext, DevframeScopedNodeRpc, DevframeScopedStreamingHost, DevframeServiceId, DevframeServiceOf, DevframeServicesHost, DevframeServicesRegistry, DevframeSettings, DevframeSettingsRegistry, DevframeSettingsStore, DevframeSetupInfo, DevframeSpaOptions, DevframeStorageScope, DevframeViewHost, DevframeWsOptions, EntriesToObject, EventEmitter, EventUnsubscribe, EventsMap, McpRouteOptions, PartialWithoutId, RpcBroadcastOptions, type RpcFunctionAgentOptions, RpcFunctionsHost, RpcSharedStateGetOptions, RpcSharedStateHost, RpcStreamingChannel, RpcStreamingChannelOptions, RpcStreamingHost, ScopedBroadcastOptions, ScopedClientFunctions, ScopedServerFunctions, ScopedSharedStates, SettingsForNamespace, Thenable, defineDevframe };
|
|
4
|
+
export { AgentHandle, AgentManifest, AgentResource, AgentResourceContent, AgentResourceInput, AgentTool, AgentToolInput, ConnectionMeta, ConnectionMetaWebsocket, DevframeAgentHost, DevframeAgentHostEvents, DevframeBrowserContext, DevframeCapabilities, DevframeCliOptions, DevframeDefineDiagnosticsOptions, DevframeDefinition, DevframeDeploymentKind, DevframeDiagnosticsDefinition, DevframeDiagnosticsHost, DevframeDiagnosticsLogger, DevframeDockDefaults, DevframeDuplicationStrategy, DevframeHost, DevframeNodeContext, DevframeNodeRpcSession, type DevframeNodeRpcSessionMeta, DevframeRpcClientFunctions, DevframeRpcServerFunctions, DevframeRpcSharedStates, DevframeRuntime, DevframeScopedNodeContext, DevframeScopedNodeRpc, DevframeScopedStreamingHost, DevframeServiceId, DevframeServiceOf, DevframeServicesHost, DevframeServicesRegistry, DevframeSettings, DevframeSettingsRegistry, DevframeSettingsStore, DevframeSetupInfo, DevframeSpaOptions, DevframeStorageScope, DevframeViewHost, DevframeWsOptions, EntriesToObject, EventEmitter, EventUnsubscribe, EventsMap, McpRouteOptions, PartialWithoutId, RpcBroadcastOptions, type RpcFunctionAgentOptions, RpcFunctionsHost, RpcSharedStateGetOptions, RpcSharedStateHost, RpcStreamingChannel, RpcStreamingChannelOptions, RpcStreamingHost, ScopedBroadcastOptions, ScopedClientFunctions, ScopedRpcFn, ScopedServerFunctions, ScopedSharedStates, SettingsForNamespace, Thenable, defineDevframe };
|
package/dist/utils/events.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as
|
|
1
|
+
import { _t as SharedStateOptions, dt as ImmutableArray, ft as ImmutableMap, gt as SharedStateEvents, ht as SharedState, mt as ImmutableSet, pt as ImmutableObject, ut as Immutable, vt as SharedStatePatch, yt as createSharedState } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
export { Immutable, ImmutableArray, ImmutableMap, ImmutableObject, ImmutableSet, SharedState, SharedStateEvents, SharedStateOptions, SharedStatePatch, createSharedState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createSharedState } from "../shared-state-
|
|
1
|
+
import { t as createSharedState } from "../shared-state-6kHolYZy.mjs";
|
|
2
2
|
export { createSharedState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as
|
|
1
|
+
import { at as StreamReader, ct as createStreamReader, it as StreamErrorPayload, lt as createStreamSink, nt as CreateStreamReaderOptions, ot as StreamSink, rt as CreateStreamSinkOptions, st as StreamSinkEvents, tt as BufferedChunk } from "../devframe-elfUcUJG.mjs";
|
|
2
2
|
export { BufferedChunk, CreateStreamReaderOptions, CreateStreamSinkOptions, StreamErrorPayload, StreamReader, StreamSink, StreamSinkEvents, createStreamReader, createStreamSink };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devframe",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.6",
|
|
5
5
|
"description": "Framework for building generic devframes",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"destr": "^2.0.5",
|
|
82
82
|
"h3": "2.0.1-rc.22",
|
|
83
83
|
"mrmime": "^2.0.1",
|
|
84
|
-
"nostics": "^1.
|
|
84
|
+
"nostics": "^1.2.0",
|
|
85
85
|
"pathe": "^2.0.3",
|
|
86
86
|
"ufo": "^1.6.4",
|
|
87
87
|
"valibot": "^1.4.2"
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
91
91
|
"cac": "^7.0.0",
|
|
92
92
|
"get-port-please": "^3.2.0",
|
|
93
|
-
"immer": "^11.1.
|
|
93
|
+
"immer": "^11.1.15",
|
|
94
94
|
"launch-editor": "^2.14.1",
|
|
95
95
|
"mlly": "^1.8.2",
|
|
96
|
-
"obug": "^2.1.
|
|
96
|
+
"obug": "^2.1.4",
|
|
97
97
|
"ohash": "^2.0.11",
|
|
98
98
|
"open": "^11.0.0",
|
|
99
99
|
"p-limit": "^7.3.0",
|
|
100
100
|
"perfect-debounce": "^2.1.0",
|
|
101
101
|
"structured-clone-es": "^2.0.0",
|
|
102
102
|
"tinyglobby": "^0.2.17",
|
|
103
|
-
"tsdown": "^0.22.
|
|
103
|
+
"tsdown": "^0.22.12",
|
|
104
104
|
"ua-parser-modern": "^0.1.1",
|
|
105
105
|
"whenexpr": "^0.1.2",
|
|
106
106
|
"ws": "^8.21.1"
|