@devframes/hub 0.6.0-beta.1 → 0.6.0-beta.3
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/client/index.d.mts +2 -2
- package/dist/constants.d.mts +1 -1
- package/dist/{context-DVh4gk8f.d.mts → context-CXN9eDXS.d.mts} +14 -2
- package/dist/index.d.mts +4 -5
- package/dist/node/index.d.mts +51 -40
- package/dist/node/index.mjs +39 -32
- package/dist/{settings-B9YjSEcl.d.mts → settings-DJs3n2p1.d.mts} +26 -1
- package/dist/types/index.d.mts +3 -3
- package/package.json +6 -6
package/dist/client/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as DevframeMessagesClient, h as DevframeMessageEntryInput } from "../context-
|
|
2
|
-
import {
|
|
1
|
+
import { b as DevframeMessagesClient, h as DevframeMessageEntryInput } from "../context-CXN9eDXS.mjs";
|
|
2
|
+
import { h as DevframeDockEntry, i as DevframeCommandEntry, k as RemoteConnectionInfo, m as DevframeDockEntriesGrouped, n as DevframeClientCommand, o as DevframeCommandKeybinding, t as DevframeDocksUserSettings, y as DevframeDockUserEntry } from "../settings-DJs3n2p1.mjs";
|
|
3
3
|
import { DevframeClientRpcHost, DevframeRpcClient, DevframeRpcClientOptions, DevframeRpcContext, RpcClientEvents } from "devframe/client";
|
|
4
4
|
import { EventEmitter } from "devframe/types";
|
|
5
5
|
import { SharedState } from "devframe/utils/shared-state";
|
package/dist/constants.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as JsonRenderer,
|
|
1
|
+
import { M as JsonRenderSpec, N as JsonRenderer, b as DevframeDocksHost, c as DevframeCommandsHost, f as BuiltinDocksOptions, v as DevframeDockEntryIcon } from "./settings-DJs3n2p1.mjs";
|
|
2
2
|
import { CreateHostContextOptions } from "devframe/node";
|
|
3
3
|
import { DevframeHost, DevframeNodeContext, EventEmitter } from "devframe/types";
|
|
4
4
|
import { ChildProcess } from "node:child_process";
|
|
@@ -319,7 +319,19 @@ interface DevframeHubContext extends DevframeNodeContext {
|
|
|
319
319
|
*/
|
|
320
320
|
createJsonRenderer: (spec: JsonRenderSpec) => JsonRenderer;
|
|
321
321
|
}
|
|
322
|
-
interface CreateHubContextOptions extends CreateHostContextOptions {
|
|
322
|
+
interface CreateHubContextOptions extends CreateHostContextOptions {
|
|
323
|
+
/**
|
|
324
|
+
* Gate the hub's synthesized built-in dock entries (`~terminals`,
|
|
325
|
+
* `~messages`, `~settings`). Each entry defaults to present; set one to
|
|
326
|
+
* `false` to suppress it — e.g. when mounting `@devframes/plugin-terminals`
|
|
327
|
+
* or `@devframes/plugin-messages`, which replace the built-in tabs.
|
|
328
|
+
*
|
|
329
|
+
* Omitting this option keeps all three built-ins.
|
|
330
|
+
*
|
|
331
|
+
* @default { terminals: true, messages: true, settings: true }
|
|
332
|
+
*/
|
|
333
|
+
builtinDocks?: BuiltinDocksOptions;
|
|
334
|
+
}
|
|
323
335
|
/**
|
|
324
336
|
* Create a hub-level node context: wraps devframe's `createHostContext`,
|
|
325
337
|
* attaches the hub hosts (`docks`, `terminals`, `messages`, `commands`),
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { C as DevframeMessagesListDelta, S as DevframeMessagesLevelShortcuts, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, b as DevframeMessagesClient, c as DevframeTerminalSession, d as DevframeTerminalsHost, f as DevframeMessageElementPosition, g as DevframeMessageFilePosition, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, m as DevframeMessageEntryFrom, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, s as DevframePtyTerminalSession, t as CreateHubContextOptions, u as DevframeTerminalStatus, v as DevframeMessageLevel, x as DevframeMessagesHost, y as DevframeMessageShortcutInput } from "./context-
|
|
2
|
-
import { A as
|
|
1
|
+
import { C as DevframeMessagesListDelta, S as DevframeMessagesLevelShortcuts, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, b as DevframeMessagesClient, c as DevframeTerminalSession, d as DevframeTerminalsHost, f as DevframeMessageElementPosition, g as DevframeMessageFilePosition, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, m as DevframeMessageEntryFrom, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, s as DevframePtyTerminalSession, t as CreateHubContextOptions, u as DevframeTerminalStatus, v as DevframeMessageLevel, x as DevframeMessagesHost, y as DevframeMessageShortcutInput } from "./context-CXN9eDXS.mjs";
|
|
2
|
+
import { A as RemoteDockOptions, C as DevframeViewCustomRender, D as DevframeViewLauncher, E as DevframeViewJsonRender, M as JsonRenderSpec, N as JsonRenderer, O as DevframeViewLauncherStatus, S as DevframeViewBuiltin, T as DevframeViewIframe, _ as DevframeDockEntryCategory, a as DevframeCommandHandle, b as DevframeDocksHost, c as DevframeCommandsHost, d as DevframeServerCommandInput, f as BuiltinDocksOptions, g as DevframeDockEntryBase, h as DevframeDockEntry, i as DevframeCommandEntry, j as JsonRenderElement, k as RemoteConnectionInfo, l as DevframeCommandsHostEvents, m as DevframeDockEntriesGrouped, n as DevframeClientCommand, o as DevframeCommandKeybinding, p as ClientScriptEntry, r as DevframeCommandBase, s as DevframeCommandShortcutOverrides, t as DevframeDocksUserSettings, u as DevframeServerCommandEntry, v as DevframeDockEntryIcon, w as DevframeViewGroup, x as DevframeViewAction, y as DevframeDockUserEntry } from "./settings-DJs3n2p1.mjs";
|
|
3
3
|
import { C as RpcStreamingChannel, E as Thenable, S as RpcSharedStateHost, T as RpcStreamingHost, _ as RpcBroadcastOptions, a as DevframeDiagnosticsLogger, b as RpcFunctionsHost, c as DevframeRpcClientFunctions, d as DevframeViewHost, f as EntriesToObject, g as PartialWithoutId, h as EventsMap, i as DevframeDiagnosticsHost, l as DevframeRpcServerFunctions, m as EventUnsubscribe, n as DevframeCapabilities, o as DevframeHost, p as EventEmitter, r as DevframeDiagnosticsDefinition, s as DevframeNodeRpcSession, t as ConnectionMeta, u as DevframeRpcSharedStates, v as RpcDefinitionsFilter, w as RpcStreamingChannelOptions, x as RpcSharedStateGetOptions, y as RpcDefinitionsToFunctions } from "./index-Dic9q4eN.mjs";
|
|
4
|
-
import * as _$devframe_rpc0 from "devframe/rpc";
|
|
5
4
|
import { WhenContext, WhenExpression } from "devframe/utils/when";
|
|
6
5
|
|
|
7
6
|
//#region src/define.d.ts
|
|
8
|
-
declare const defineHubRpcFunction: <NAME extends string, TYPE extends
|
|
7
|
+
declare const defineHubRpcFunction: <NAME extends string, TYPE extends import("devframe/rpc").RpcFunctionType, ARGS extends any[], RETURN = void, const AS extends import("devframe/rpc").RpcArgsSchema | undefined = undefined, const RS extends import("devframe/rpc").RpcReturnSchema | undefined = undefined>(definition: import("devframe/rpc").RpcFunctionDefinition<NAME, TYPE, ARGS, RETURN, AS, RS, DevframeHubContext>) => import("devframe/rpc").RpcFunctionDefinition<NAME, TYPE, ARGS, RETURN, AS, RS, DevframeHubContext>;
|
|
9
8
|
declare function defineCommand<const W extends string = ''>(command: Omit<DevframeServerCommandInput, 'when'> & {
|
|
10
9
|
when?: WhenExpression<WhenContext, W>;
|
|
11
10
|
}): DevframeServerCommandInput;
|
|
@@ -14,4 +13,4 @@ declare function defineDockEntry<const T extends DevframeDockUserEntry, const W
|
|
|
14
13
|
}): T;
|
|
15
14
|
declare function defineJsonRenderSpec(spec: JsonRenderSpec): JsonRenderSpec;
|
|
16
15
|
//#endregion
|
|
17
|
-
export { ClientScriptEntry, ConnectionMeta, CreateHubContextOptions, DevframeCapabilities, DevframeChildProcessExecuteOptions, DevframeChildProcessTerminalSession, DevframeClientCommand, DevframeCommandBase, DevframeCommandEntry, DevframeCommandHandle, DevframeCommandKeybinding, DevframeCommandShortcutOverrides, DevframeCommandsHost, DevframeCommandsHostEvents, DevframeDiagnosticsDefinition, DevframeDiagnosticsHost, DevframeDiagnosticsLogger, DevframeDockEntriesGrouped, DevframeDockEntry, DevframeDockEntryBase, DevframeDockEntryCategory, DevframeDockEntryIcon, DevframeDockUserEntry, DevframeDocksHost, DevframeDocksUserSettings, DevframeHost, DevframeHubContext, DevframeMessageElementPosition, DevframeMessageEntry, DevframeMessageEntryFrom, DevframeMessageEntryInput, DevframeMessageFilePosition, DevframeMessageHandle, DevframeMessageLevel, DevframeMessageShortcutInput, DevframeMessagesClient, DevframeMessagesHost, DevframeMessagesLevelShortcuts, DevframeMessagesListDelta, DevframeNodeRpcSession, DevframePtyExecuteOptions, DevframePtyTerminalSession, DevframeRpcClientFunctions, DevframeRpcServerFunctions, DevframeRpcSharedStates, DevframeServerCommandEntry, DevframeServerCommandInput, DevframeTerminalSession, DevframeTerminalSessionBase, DevframeTerminalStatus, DevframeTerminalsHost, DevframeViewAction, DevframeViewBuiltin, DevframeViewCustomRender, DevframeViewGroup, DevframeViewHost, DevframeViewIframe, DevframeViewJsonRender, DevframeViewLauncher, DevframeViewLauncherStatus, EntriesToObject, EventEmitter, EventUnsubscribe, EventsMap, JsonRenderElement, JsonRenderSpec, JsonRenderer, PartialWithoutId, RemoteConnectionInfo, RemoteDockOptions, RpcBroadcastOptions, RpcDefinitionsFilter, RpcDefinitionsToFunctions, RpcFunctionsHost, RpcSharedStateGetOptions, RpcSharedStateHost, RpcStreamingChannel, RpcStreamingChannelOptions, RpcStreamingHost, Thenable, defineCommand, defineDockEntry, defineHubRpcFunction, defineJsonRenderSpec };
|
|
16
|
+
export { type BuiltinDocksOptions, type ClientScriptEntry, type ConnectionMeta, type CreateHubContextOptions, type DevframeCapabilities, type DevframeChildProcessExecuteOptions, type DevframeChildProcessTerminalSession, type DevframeClientCommand, type DevframeCommandBase, type DevframeCommandEntry, type DevframeCommandHandle, type DevframeCommandKeybinding, type DevframeCommandShortcutOverrides, type DevframeCommandsHost, type DevframeCommandsHostEvents, type DevframeDiagnosticsDefinition, type DevframeDiagnosticsHost, type DevframeDiagnosticsLogger, type DevframeDockEntriesGrouped, type DevframeDockEntry, type DevframeDockEntryBase, type DevframeDockEntryCategory, type DevframeDockEntryIcon, type DevframeDockUserEntry, type DevframeDocksHost, type DevframeDocksUserSettings, type DevframeHost, type DevframeHubContext, type DevframeMessageElementPosition, type DevframeMessageEntry, type DevframeMessageEntryFrom, type DevframeMessageEntryInput, type DevframeMessageFilePosition, type DevframeMessageHandle, type DevframeMessageLevel, type DevframeMessageShortcutInput, type DevframeMessagesClient, type DevframeMessagesHost, type DevframeMessagesLevelShortcuts, type DevframeMessagesListDelta, type DevframeNodeRpcSession, type DevframePtyExecuteOptions, type DevframePtyTerminalSession, type DevframeRpcClientFunctions, type DevframeRpcServerFunctions, type DevframeRpcSharedStates, type DevframeServerCommandEntry, type DevframeServerCommandInput, type DevframeTerminalSession, type DevframeTerminalSessionBase, type DevframeTerminalStatus, type DevframeTerminalsHost, type DevframeViewAction, type DevframeViewBuiltin, type DevframeViewCustomRender, type DevframeViewGroup, type DevframeViewHost, type DevframeViewIframe, type DevframeViewJsonRender, type DevframeViewLauncher, type DevframeViewLauncherStatus, type EntriesToObject, type EventEmitter, type EventUnsubscribe, type EventsMap, type JsonRenderElement, type JsonRenderSpec, type JsonRenderer, type PartialWithoutId, type RemoteConnectionInfo, type RemoteDockOptions, type RpcBroadcastOptions, type RpcDefinitionsFilter, type RpcDefinitionsToFunctions, type RpcFunctionsHost, type RpcSharedStateGetOptions, type RpcSharedStateHost, type RpcStreamingChannel, type RpcStreamingChannelOptions, type RpcStreamingHost, type Thenable, defineCommand, defineDockEntry, defineHubRpcFunction, defineJsonRenderSpec };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { C as DevframeMessagesListDelta, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, c as DevframeTerminalSession, d as DevframeTerminalsHost$1, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, r as createHubContext, s as DevframePtyTerminalSession, t as CreateHubContextOptions, x as DevframeMessagesHost$1, y as DevframeMessageShortcutInput } from "../context-
|
|
2
|
-
import { a as DevframeCommandHandle, c as DevframeCommandsHost$1, d as DevframeServerCommandInput, f as
|
|
3
|
-
import * as _$devframe_rpc0 from "devframe/rpc";
|
|
1
|
+
import { C as DevframeMessagesListDelta, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, c as DevframeTerminalSession, d as DevframeTerminalsHost$1, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, r as createHubContext, s as DevframePtyTerminalSession, t as CreateHubContextOptions, x as DevframeMessagesHost$1, y as DevframeMessageShortcutInput } from "../context-CXN9eDXS.mjs";
|
|
2
|
+
import { T as DevframeViewIframe, a as DevframeCommandHandle, b as DevframeDocksHost$1, c as DevframeCommandsHost$1, d as DevframeServerCommandInput, f as BuiltinDocksOptions, h as DevframeDockEntry, p as ClientScriptEntry, t as DevframeDocksUserSettings, u as DevframeServerCommandEntry, y as DevframeDockUserEntry } from "../settings-DJs3n2p1.mjs";
|
|
4
3
|
import { RpcFunctionDefinitionAny } from "devframe/rpc";
|
|
5
4
|
import { DevframeDefinition } from "devframe/types";
|
|
6
5
|
import { SharedState } from "devframe/utils/shared-state";
|
|
7
|
-
import * as _$devframe from "devframe";
|
|
8
6
|
|
|
9
7
|
//#region src/node/host-commands.d.ts
|
|
10
8
|
declare class DevframeCommandsHost implements DevframeCommandsHost$1 {
|
|
@@ -23,12 +21,25 @@ declare class DevframeCommandsHost implements DevframeCommandsHost$1 {
|
|
|
23
21
|
//#region src/node/host-docks.d.ts
|
|
24
22
|
declare class DevframeDocksHost implements DevframeDocksHost$1 {
|
|
25
23
|
readonly context: DevframeHubContext;
|
|
24
|
+
/**
|
|
25
|
+
* Per-entry toggles for the synthesized built-in dock entries. An omitted
|
|
26
|
+
* (or `undefined`) flag keeps that built-in; only an explicit `false`
|
|
27
|
+
* suppresses it.
|
|
28
|
+
*/
|
|
29
|
+
private readonly builtinDocks;
|
|
26
30
|
readonly views: DevframeDocksHost$1['views'];
|
|
27
31
|
readonly events: DevframeDocksHost$1['events'];
|
|
28
32
|
userSettings: SharedState<DevframeDocksUserSettings>;
|
|
29
33
|
/** Dock-id → allocated remote token + resolved options. */
|
|
30
34
|
private readonly remoteDocks;
|
|
31
|
-
constructor(context: DevframeHubContext
|
|
35
|
+
constructor(context: DevframeHubContext,
|
|
36
|
+
/**
|
|
37
|
+
* Per-entry toggles for the synthesized built-in dock entries. An omitted
|
|
38
|
+
* (or `undefined`) flag keeps that built-in; only an explicit `false`
|
|
39
|
+
* suppresses it.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
builtinDocks?: BuiltinDocksOptions);
|
|
32
43
|
init(): Promise<void>;
|
|
33
44
|
values({
|
|
34
45
|
includeBuiltin
|
|
@@ -150,13 +161,13 @@ declare const hubCommandsExecute: {
|
|
|
150
161
|
args?: undefined;
|
|
151
162
|
returns?: undefined;
|
|
152
163
|
jsonSerializable?: boolean;
|
|
153
|
-
agent?:
|
|
154
|
-
setup?: ((context: DevframeHubContext) =>
|
|
164
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
165
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, ...args: any[]], Promise<unknown>>>) | undefined;
|
|
155
166
|
handler?: ((id: string, ...args: any[]) => Promise<unknown>) | undefined;
|
|
156
|
-
dump?:
|
|
167
|
+
dump?: import("devframe/rpc").RpcDump<[id: string, ...args: any[]], Promise<unknown>, DevframeHubContext> | undefined;
|
|
157
168
|
snapshot?: boolean;
|
|
158
|
-
__cache?: WeakMap<object,
|
|
159
|
-
__promise?:
|
|
169
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, ...args: any[]], Promise<unknown>>>> | undefined;
|
|
170
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, ...args: any[]], Promise<unknown>>> | undefined;
|
|
160
171
|
};
|
|
161
172
|
/**
|
|
162
173
|
* `hub:messages:add` — Add a message from a browser client into the hub's
|
|
@@ -174,13 +185,13 @@ declare const hubMessagesAdd: {
|
|
|
174
185
|
args?: undefined;
|
|
175
186
|
returns?: undefined;
|
|
176
187
|
jsonSerializable?: boolean;
|
|
177
|
-
agent?:
|
|
178
|
-
setup?: ((context: DevframeHubContext) =>
|
|
188
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
189
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[input: DevframeMessageEntryInput], Promise<DevframeMessageEntry>>>) | undefined;
|
|
179
190
|
handler?: ((input: DevframeMessageEntryInput) => Promise<DevframeMessageEntry>) | undefined;
|
|
180
|
-
dump?:
|
|
191
|
+
dump?: import("devframe/rpc").RpcDump<[input: DevframeMessageEntryInput], Promise<DevframeMessageEntry>, DevframeHubContext> | undefined;
|
|
181
192
|
snapshot?: boolean;
|
|
182
|
-
__cache?: WeakMap<object,
|
|
183
|
-
__promise?:
|
|
193
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[input: DevframeMessageEntryInput], Promise<DevframeMessageEntry>>>> | undefined;
|
|
194
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[input: DevframeMessageEntryInput], Promise<DevframeMessageEntry>>> | undefined;
|
|
184
195
|
};
|
|
185
196
|
/** `hub:messages:update` — Patch a message by id; returns the updated entry (or `undefined`). */
|
|
186
197
|
declare const hubMessagesUpdate: {
|
|
@@ -190,13 +201,13 @@ declare const hubMessagesUpdate: {
|
|
|
190
201
|
args?: undefined;
|
|
191
202
|
returns?: undefined;
|
|
192
203
|
jsonSerializable?: boolean;
|
|
193
|
-
agent?:
|
|
194
|
-
setup?: ((context: DevframeHubContext) =>
|
|
204
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
205
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, patch: Partial<DevframeMessageEntryInput>], Promise<DevframeMessageEntry | undefined>>>) | undefined;
|
|
195
206
|
handler?: ((id: string, patch: Partial<DevframeMessageEntryInput>) => Promise<DevframeMessageEntry | undefined>) | undefined;
|
|
196
|
-
dump?:
|
|
207
|
+
dump?: import("devframe/rpc").RpcDump<[id: string, patch: Partial<DevframeMessageEntryInput>], Promise<DevframeMessageEntry | undefined>, DevframeHubContext> | undefined;
|
|
197
208
|
snapshot?: boolean;
|
|
198
|
-
__cache?: WeakMap<object,
|
|
199
|
-
__promise?:
|
|
209
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, patch: Partial<DevframeMessageEntryInput>], Promise<DevframeMessageEntry | undefined>>>> | undefined;
|
|
210
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, patch: Partial<DevframeMessageEntryInput>], Promise<DevframeMessageEntry | undefined>>> | undefined;
|
|
200
211
|
};
|
|
201
212
|
/** `hub:messages:remove` — Remove a message by id. */
|
|
202
213
|
declare const hubMessagesRemove: {
|
|
@@ -206,13 +217,13 @@ declare const hubMessagesRemove: {
|
|
|
206
217
|
args?: undefined;
|
|
207
218
|
returns?: undefined;
|
|
208
219
|
jsonSerializable?: boolean;
|
|
209
|
-
agent?:
|
|
210
|
-
setup?: ((context: DevframeHubContext) =>
|
|
220
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
221
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string], Promise<void>>>) | undefined;
|
|
211
222
|
handler?: ((id: string) => Promise<void>) | undefined;
|
|
212
|
-
dump?:
|
|
223
|
+
dump?: import("devframe/rpc").RpcDump<[id: string], Promise<void>, DevframeHubContext> | undefined;
|
|
213
224
|
snapshot?: boolean;
|
|
214
|
-
__cache?: WeakMap<object,
|
|
215
|
-
__promise?:
|
|
225
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string], Promise<void>>>> | undefined;
|
|
226
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string], Promise<void>>> | undefined;
|
|
216
227
|
};
|
|
217
228
|
/** `hub:messages:clear` — Remove every message. */
|
|
218
229
|
declare const hubMessagesClear: {
|
|
@@ -222,13 +233,13 @@ declare const hubMessagesClear: {
|
|
|
222
233
|
args?: undefined;
|
|
223
234
|
returns?: undefined;
|
|
224
235
|
jsonSerializable?: boolean;
|
|
225
|
-
agent?:
|
|
226
|
-
setup?: ((context: DevframeHubContext) =>
|
|
236
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
237
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], Promise<void>>>) | undefined;
|
|
227
238
|
handler?: (() => Promise<void>) | undefined;
|
|
228
|
-
dump?:
|
|
239
|
+
dump?: import("devframe/rpc").RpcDump<[], Promise<void>, DevframeHubContext> | undefined;
|
|
229
240
|
snapshot?: boolean;
|
|
230
|
-
__cache?: WeakMap<object,
|
|
231
|
-
__promise?:
|
|
241
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], Promise<void>>>> | undefined;
|
|
242
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[], Promise<void>>> | undefined;
|
|
232
243
|
};
|
|
233
244
|
/**
|
|
234
245
|
* `hub:terminals:write` — Send input to an interactive PTY session spawned
|
|
@@ -242,13 +253,13 @@ declare const hubTerminalsWrite: {
|
|
|
242
253
|
args?: undefined;
|
|
243
254
|
returns?: undefined;
|
|
244
255
|
jsonSerializable?: boolean;
|
|
245
|
-
agent?:
|
|
246
|
-
setup?: ((context: DevframeHubContext) =>
|
|
256
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
257
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, data: string], Promise<void>>>) | undefined;
|
|
247
258
|
handler?: ((id: string, data: string) => Promise<void>) | undefined;
|
|
248
|
-
dump?:
|
|
259
|
+
dump?: import("devframe/rpc").RpcDump<[id: string, data: string], Promise<void>, DevframeHubContext> | undefined;
|
|
249
260
|
snapshot?: boolean;
|
|
250
|
-
__cache?: WeakMap<object,
|
|
251
|
-
__promise?:
|
|
261
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, data: string], Promise<void>>>> | undefined;
|
|
262
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, data: string], Promise<void>>> | undefined;
|
|
252
263
|
};
|
|
253
264
|
/** `hub:terminals:resize` — Resize an interactive PTY session by id. */
|
|
254
265
|
declare const hubTerminalsResize: {
|
|
@@ -258,13 +269,13 @@ declare const hubTerminalsResize: {
|
|
|
258
269
|
args?: undefined;
|
|
259
270
|
returns?: undefined;
|
|
260
271
|
jsonSerializable?: boolean;
|
|
261
|
-
agent?:
|
|
262
|
-
setup?: ((context: DevframeHubContext) =>
|
|
272
|
+
agent?: import("devframe").RpcFunctionAgentOptions;
|
|
273
|
+
setup?: ((context: DevframeHubContext) => import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, cols: number, rows: number], Promise<void>>>) | undefined;
|
|
263
274
|
handler?: ((id: string, cols: number, rows: number) => Promise<void>) | undefined;
|
|
264
|
-
dump?:
|
|
275
|
+
dump?: import("devframe/rpc").RpcDump<[id: string, cols: number, rows: number], Promise<void>, DevframeHubContext> | undefined;
|
|
265
276
|
snapshot?: boolean;
|
|
266
|
-
__cache?: WeakMap<object,
|
|
267
|
-
__promise?:
|
|
277
|
+
__cache?: WeakMap<object, import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, cols: number, rows: number], Promise<void>>>> | undefined;
|
|
278
|
+
__promise?: import("devframe/rpc").Thenable<import("devframe/rpc").RpcFunctionSetupResult<[id: string, cols: number, rows: number], Promise<void>>> | undefined;
|
|
268
279
|
};
|
|
269
280
|
/**
|
|
270
281
|
* Framework-neutral RPC declarations auto-registered by
|
package/dist/node/index.mjs
CHANGED
|
@@ -207,13 +207,15 @@ function buildRemoteUrl(baseUrl, payload, transport) {
|
|
|
207
207
|
}
|
|
208
208
|
var DevframeDocksHost = class {
|
|
209
209
|
context;
|
|
210
|
+
builtinDocks;
|
|
210
211
|
views = /* @__PURE__ */ new Map();
|
|
211
212
|
events = createEventEmitter();
|
|
212
213
|
userSettings = void 0;
|
|
213
214
|
/** Dock-id → allocated remote token + resolved options. */
|
|
214
215
|
remoteDocks = /* @__PURE__ */ new Map();
|
|
215
|
-
constructor(context) {
|
|
216
|
+
constructor(context, builtinDocks = {}) {
|
|
216
217
|
this.context = context;
|
|
218
|
+
this.builtinDocks = builtinDocks;
|
|
217
219
|
}
|
|
218
220
|
async init() {
|
|
219
221
|
this.userSettings = await this.context.rpc.sharedState.get("devframe:user-settings", { sharedState: createStorage({
|
|
@@ -223,36 +225,36 @@ var DevframeDocksHost = class {
|
|
|
223
225
|
}
|
|
224
226
|
values({ includeBuiltin = true } = {}) {
|
|
225
227
|
const context = this.context;
|
|
226
|
-
const
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
type: "~builtin",
|
|
239
|
-
id: "~messages",
|
|
240
|
-
title: "Messages & Notifications",
|
|
241
|
-
icon: "ph:notification-duotone",
|
|
242
|
-
category: "~builtin",
|
|
243
|
-
get badge() {
|
|
244
|
-
const size = context.messages.entries.size;
|
|
245
|
-
return size > 0 ? String(size) : void 0;
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
type: "~builtin",
|
|
250
|
-
id: "~settings",
|
|
251
|
-
title: "Settings",
|
|
252
|
-
category: "~builtin",
|
|
253
|
-
icon: "ph:gear-duotone"
|
|
228
|
+
const { terminals = true, messages = true, settings = true } = this.builtinDocks;
|
|
229
|
+
const builtinDocksEntries = [];
|
|
230
|
+
if (terminals) builtinDocksEntries.push({
|
|
231
|
+
type: "~builtin",
|
|
232
|
+
id: "~terminals",
|
|
233
|
+
title: "Terminals",
|
|
234
|
+
icon: "ph:terminal-duotone",
|
|
235
|
+
category: "~builtin",
|
|
236
|
+
get when() {
|
|
237
|
+
return context.terminals.sessions.size === 0 ? "false" : void 0;
|
|
254
238
|
}
|
|
255
|
-
|
|
239
|
+
});
|
|
240
|
+
if (messages) builtinDocksEntries.push({
|
|
241
|
+
type: "~builtin",
|
|
242
|
+
id: "~messages",
|
|
243
|
+
title: "Messages & Notifications",
|
|
244
|
+
icon: "ph:notification-duotone",
|
|
245
|
+
category: "~builtin",
|
|
246
|
+
get badge() {
|
|
247
|
+
const size = context.messages.entries.size;
|
|
248
|
+
return size > 0 ? String(size) : void 0;
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
if (settings) builtinDocksEntries.push({
|
|
252
|
+
type: "~builtin",
|
|
253
|
+
id: "~settings",
|
|
254
|
+
title: "Settings",
|
|
255
|
+
category: "~builtin",
|
|
256
|
+
icon: "ph:gear-duotone"
|
|
257
|
+
});
|
|
256
258
|
return [...Array.from(this.views.values(), (view) => this.projectView(view)), ...includeBuiltin ? builtinDocksEntries : []];
|
|
257
259
|
}
|
|
258
260
|
projectView(view) {
|
|
@@ -503,6 +505,8 @@ var DevframeMessagesHost = class {
|
|
|
503
505
|
*/
|
|
504
506
|
const TERMINAL_STREAM_CHANNEL = "devframe:terminals";
|
|
505
507
|
const TERMINAL_REPLAY_WINDOW = 1e3;
|
|
508
|
+
/** Max chunks retained in the per-session scrollback buffer (bounded like the replay window). */
|
|
509
|
+
const TERMINAL_BUFFER_LIMIT = 1e3;
|
|
506
510
|
/** TERM handed to spawned PTYs; also used to reject fallback process labels. */
|
|
507
511
|
const PTY_TERM_NAME = "xterm-256color";
|
|
508
512
|
var DevframeTerminalsHost = class {
|
|
@@ -564,6 +568,7 @@ var DevframeTerminalsHost = class {
|
|
|
564
568
|
if (disposed) break;
|
|
565
569
|
if (result.done) break;
|
|
566
570
|
sessionBuffer.push(result.value);
|
|
571
|
+
if (sessionBuffer.length > TERMINAL_BUFFER_LIMIT) sessionBuffer.splice(0, sessionBuffer.length - TERMINAL_BUFFER_LIMIT);
|
|
567
572
|
sink?.write(result.value);
|
|
568
573
|
}
|
|
569
574
|
if (!disposed && sink && !sink.closed) sink.close();
|
|
@@ -641,6 +646,7 @@ var DevframeTerminalsHost = class {
|
|
|
641
646
|
}
|
|
642
647
|
cp = createChildProcess();
|
|
643
648
|
const restart = async () => {
|
|
649
|
+
if (streamClosed) return;
|
|
644
650
|
cp?.kill();
|
|
645
651
|
cp = createChildProcess();
|
|
646
652
|
};
|
|
@@ -758,6 +764,7 @@ var DevframeTerminalsHost = class {
|
|
|
758
764
|
closeStream();
|
|
759
765
|
},
|
|
760
766
|
restart: async () => {
|
|
767
|
+
if (streamClosed) return;
|
|
761
768
|
pty?.kill();
|
|
762
769
|
pty = spawnPty();
|
|
763
770
|
}
|
|
@@ -886,7 +893,7 @@ async function createHubContext(options) {
|
|
|
886
893
|
...options,
|
|
887
894
|
builtinRpcDeclarations: [...builtinHubRpcDeclarations, ...options.builtinRpcDeclarations ?? []]
|
|
888
895
|
});
|
|
889
|
-
const docks = new DevframeDocksHost(context);
|
|
896
|
+
const docks = new DevframeDocksHost(context, options.builtinDocks);
|
|
890
897
|
const terminals = new DevframeTerminalsHost(context);
|
|
891
898
|
const messages = new DevframeMessagesHost(context);
|
|
892
899
|
const commands = new DevframeCommandsHost(context);
|
|
@@ -6099,7 +6106,7 @@ new Set(builtinModules);
|
|
|
6099
6106
|
*/
|
|
6100
6107
|
const own$1 = {}.hasOwnProperty;
|
|
6101
6108
|
const classRegExp = /^([A-Z][a-z\d]*)+$/;
|
|
6102
|
-
const kTypes = new Set([
|
|
6109
|
+
const kTypes = /* @__PURE__ */ new Set([
|
|
6103
6110
|
"string",
|
|
6104
6111
|
"function",
|
|
6105
6112
|
"number",
|
|
@@ -43,6 +43,31 @@ interface DevframeDocksHost {
|
|
|
43
43
|
includeBuiltin?: boolean;
|
|
44
44
|
}) => DevframeDockEntry[];
|
|
45
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Per-entry toggles for the hub's synthesized built-in dock entries.
|
|
48
|
+
*
|
|
49
|
+
* Each flag defaults to `true` (the entry is present). Set one to `false` to
|
|
50
|
+
* suppress that built-in everywhere it would otherwise appear — useful when a
|
|
51
|
+
* host mounts a plugin that supersedes the built-in tab (e.g.
|
|
52
|
+
* `@devframes/plugin-terminals` replacing the `~terminals` entry).
|
|
53
|
+
*/
|
|
54
|
+
interface BuiltinDocksOptions {
|
|
55
|
+
/**
|
|
56
|
+
* Include the built-in `~terminals` dock entry.
|
|
57
|
+
* @default true
|
|
58
|
+
*/
|
|
59
|
+
terminals?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Include the built-in `~messages` dock entry.
|
|
62
|
+
* @default true
|
|
63
|
+
*/
|
|
64
|
+
messages?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Include the built-in `~settings` dock entry.
|
|
67
|
+
* @default true
|
|
68
|
+
*/
|
|
69
|
+
settings?: boolean;
|
|
70
|
+
}
|
|
46
71
|
type DevframeDockEntryCategory = 'app' | 'framework' | 'web' | 'advanced' | 'default' | '~builtin' | (string & {});
|
|
47
72
|
type DevframeDockEntryIcon = string | {
|
|
48
73
|
light: string;
|
|
@@ -345,4 +370,4 @@ interface DevframeDocksUserSettings {
|
|
|
345
370
|
commandShortcuts: DevframeCommandShortcutOverrides;
|
|
346
371
|
}
|
|
347
372
|
//#endregion
|
|
348
|
-
export {
|
|
373
|
+
export { RemoteDockOptions as A, DevframeViewCustomRender as C, DevframeViewLauncher as D, DevframeViewJsonRender as E, JsonRenderSpec as M, JsonRenderer as N, DevframeViewLauncherStatus as O, DevframeViewBuiltin as S, DevframeViewIframe as T, DevframeDockEntryCategory as _, DevframeCommandHandle as a, DevframeDocksHost as b, DevframeCommandsHost as c, DevframeServerCommandInput as d, BuiltinDocksOptions as f, DevframeDockEntryBase as g, DevframeDockEntry as h, DevframeCommandEntry as i, JsonRenderElement as j, RemoteConnectionInfo as k, DevframeCommandsHostEvents as l, DevframeDockEntriesGrouped as m, DevframeClientCommand as n, DevframeCommandKeybinding as o, ClientScriptEntry as p, DevframeCommandBase as r, DevframeCommandShortcutOverrides as s, DevframeDocksUserSettings as t, DevframeServerCommandEntry as u, DevframeDockEntryIcon as v, DevframeViewGroup as w, DevframeViewAction as x, DevframeDockUserEntry as y };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as DevframeMessagesListDelta, S as DevframeMessagesLevelShortcuts, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, b as DevframeMessagesClient, c as DevframeTerminalSession, d as DevframeTerminalsHost, f as DevframeMessageElementPosition, g as DevframeMessageFilePosition, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, m as DevframeMessageEntryFrom, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, s as DevframePtyTerminalSession, t as CreateHubContextOptions, u as DevframeTerminalStatus, v as DevframeMessageLevel, x as DevframeMessagesHost, y as DevframeMessageShortcutInput } from "../context-
|
|
2
|
-
import { A as
|
|
1
|
+
import { C as DevframeMessagesListDelta, S as DevframeMessagesLevelShortcuts, _ as DevframeMessageHandle, a as DevframeChildProcessTerminalSession, b as DevframeMessagesClient, c as DevframeTerminalSession, d as DevframeTerminalsHost, f as DevframeMessageElementPosition, g as DevframeMessageFilePosition, h as DevframeMessageEntryInput, i as DevframeChildProcessExecuteOptions, l as DevframeTerminalSessionBase, m as DevframeMessageEntryFrom, n as DevframeHubContext, o as DevframePtyExecuteOptions, p as DevframeMessageEntry, s as DevframePtyTerminalSession, t as CreateHubContextOptions, u as DevframeTerminalStatus, v as DevframeMessageLevel, x as DevframeMessagesHost, y as DevframeMessageShortcutInput } from "../context-CXN9eDXS.mjs";
|
|
2
|
+
import { A as RemoteDockOptions, C as DevframeViewCustomRender, D as DevframeViewLauncher, E as DevframeViewJsonRender, M as JsonRenderSpec, N as JsonRenderer, O as DevframeViewLauncherStatus, S as DevframeViewBuiltin, T as DevframeViewIframe, _ as DevframeDockEntryCategory, a as DevframeCommandHandle, b as DevframeDocksHost, c as DevframeCommandsHost, d as DevframeServerCommandInput, f as BuiltinDocksOptions, g as DevframeDockEntryBase, h as DevframeDockEntry, i as DevframeCommandEntry, j as JsonRenderElement, k as RemoteConnectionInfo, l as DevframeCommandsHostEvents, m as DevframeDockEntriesGrouped, n as DevframeClientCommand, o as DevframeCommandKeybinding, p as ClientScriptEntry, r as DevframeCommandBase, s as DevframeCommandShortcutOverrides, t as DevframeDocksUserSettings, u as DevframeServerCommandEntry, v as DevframeDockEntryIcon, w as DevframeViewGroup, x as DevframeViewAction, y as DevframeDockUserEntry } from "../settings-DJs3n2p1.mjs";
|
|
3
3
|
import { C as RpcStreamingChannel, E as Thenable, S as RpcSharedStateHost, T as RpcStreamingHost, _ as RpcBroadcastOptions, a as DevframeDiagnosticsLogger, b as RpcFunctionsHost, c as DevframeRpcClientFunctions, d as DevframeViewHost, f as EntriesToObject, g as PartialWithoutId, h as EventsMap, i as DevframeDiagnosticsHost, l as DevframeRpcServerFunctions, m as EventUnsubscribe, n as DevframeCapabilities, o as DevframeHost, p as EventEmitter, r as DevframeDiagnosticsDefinition, s as DevframeNodeRpcSession, t as ConnectionMeta, u as DevframeRpcSharedStates, v as RpcDefinitionsFilter, w as RpcStreamingChannelOptions, x as RpcSharedStateGetOptions, y as RpcDefinitionsToFunctions } from "../index-Dic9q4eN.mjs";
|
|
4
|
-
export { ClientScriptEntry, ConnectionMeta, CreateHubContextOptions, DevframeCapabilities, DevframeChildProcessExecuteOptions, DevframeChildProcessTerminalSession, DevframeClientCommand, DevframeCommandBase, DevframeCommandEntry, DevframeCommandHandle, DevframeCommandKeybinding, DevframeCommandShortcutOverrides, DevframeCommandsHost, DevframeCommandsHostEvents, DevframeDiagnosticsDefinition, DevframeDiagnosticsHost, DevframeDiagnosticsLogger, DevframeDockEntriesGrouped, DevframeDockEntry, DevframeDockEntryBase, DevframeDockEntryCategory, DevframeDockEntryIcon, DevframeDockUserEntry, DevframeDocksHost, DevframeDocksUserSettings, DevframeHost, DevframeHubContext, DevframeMessageElementPosition, DevframeMessageEntry, DevframeMessageEntryFrom, DevframeMessageEntryInput, DevframeMessageFilePosition, DevframeMessageHandle, DevframeMessageLevel, DevframeMessageShortcutInput, DevframeMessagesClient, DevframeMessagesHost, DevframeMessagesLevelShortcuts, DevframeMessagesListDelta, DevframeNodeRpcSession, DevframePtyExecuteOptions, DevframePtyTerminalSession, DevframeRpcClientFunctions, DevframeRpcServerFunctions, DevframeRpcSharedStates, DevframeServerCommandEntry, DevframeServerCommandInput, DevframeTerminalSession, DevframeTerminalSessionBase, DevframeTerminalStatus, DevframeTerminalsHost, DevframeViewAction, DevframeViewBuiltin, DevframeViewCustomRender, DevframeViewGroup, DevframeViewHost, DevframeViewIframe, DevframeViewJsonRender, DevframeViewLauncher, DevframeViewLauncherStatus, EntriesToObject, EventEmitter, EventUnsubscribe, EventsMap, JsonRenderElement, JsonRenderSpec, JsonRenderer, PartialWithoutId, RemoteConnectionInfo, RemoteDockOptions, RpcBroadcastOptions, RpcDefinitionsFilter, RpcDefinitionsToFunctions, RpcFunctionsHost, RpcSharedStateGetOptions, RpcSharedStateHost, RpcStreamingChannel, RpcStreamingChannelOptions, RpcStreamingHost, Thenable };
|
|
4
|
+
export { BuiltinDocksOptions, ClientScriptEntry, type ConnectionMeta, type CreateHubContextOptions, type DevframeCapabilities, DevframeChildProcessExecuteOptions, DevframeChildProcessTerminalSession, DevframeClientCommand, DevframeCommandBase, DevframeCommandEntry, DevframeCommandHandle, DevframeCommandKeybinding, DevframeCommandShortcutOverrides, DevframeCommandsHost, DevframeCommandsHostEvents, type DevframeDiagnosticsDefinition, type DevframeDiagnosticsHost, type DevframeDiagnosticsLogger, DevframeDockEntriesGrouped, DevframeDockEntry, DevframeDockEntryBase, DevframeDockEntryCategory, DevframeDockEntryIcon, DevframeDockUserEntry, DevframeDocksHost, DevframeDocksUserSettings, type DevframeHost, type DevframeHubContext, DevframeMessageElementPosition, DevframeMessageEntry, DevframeMessageEntryFrom, DevframeMessageEntryInput, DevframeMessageFilePosition, DevframeMessageHandle, DevframeMessageLevel, DevframeMessageShortcutInput, DevframeMessagesClient, DevframeMessagesHost, DevframeMessagesLevelShortcuts, DevframeMessagesListDelta, type DevframeNodeRpcSession, DevframePtyExecuteOptions, DevframePtyTerminalSession, type DevframeRpcClientFunctions, type DevframeRpcServerFunctions, type DevframeRpcSharedStates, DevframeServerCommandEntry, DevframeServerCommandInput, DevframeTerminalSession, DevframeTerminalSessionBase, DevframeTerminalStatus, DevframeTerminalsHost, DevframeViewAction, DevframeViewBuiltin, DevframeViewCustomRender, DevframeViewGroup, type DevframeViewHost, DevframeViewIframe, DevframeViewJsonRender, DevframeViewLauncher, DevframeViewLauncherStatus, type EntriesToObject, type EventEmitter, type EventUnsubscribe, type EventsMap, JsonRenderElement, JsonRenderSpec, JsonRenderer, type PartialWithoutId, RemoteConnectionInfo, RemoteDockOptions, type RpcBroadcastOptions, type RpcDefinitionsFilter, type RpcDefinitionsToFunctions, type RpcFunctionsHost, type RpcSharedStateGetOptions, type RpcSharedStateHost, type RpcStreamingChannel, type RpcStreamingChannelOptions, type RpcStreamingHost, type Thenable };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/hub",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.0-beta.
|
|
4
|
+
"version": "0.6.0-beta.3",
|
|
5
5
|
"description": "Framework-neutral hub layer for devframe — docks, terminals, messages, commands.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"devframe": "0.6.0-beta.
|
|
36
|
+
"devframe": "0.6.0-beta.3"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"birpc": "^4.0.0",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"nostics": "^1.1.4",
|
|
42
42
|
"pathe": "^2.0.3",
|
|
43
43
|
"perfect-debounce": "^2.1.0",
|
|
44
|
-
"tinyexec": "^1.2.
|
|
44
|
+
"tinyexec": "^1.2.4",
|
|
45
45
|
"zigpty": "^0.2.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@types/node": "^
|
|
48
|
+
"@types/node": "^26.1.0",
|
|
49
49
|
"mlly": "^1.8.2",
|
|
50
|
-
"tsdown": "^0.22.
|
|
51
|
-
"devframe": "0.6.0-beta.
|
|
50
|
+
"tsdown": "^0.22.3",
|
|
51
|
+
"devframe": "0.6.0-beta.3"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsdown",
|