@devframes/hub 0.6.0-beta.1 → 0.6.0-beta.2
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 +3 -3
- package/dist/node/index.d.mts +16 -3
- package/dist/node/index.mjs +33 -31
- package/dist/{settings-B9YjSEcl.d.mts → settings-DJs3n2p1.d.mts} +26 -1
- package/dist/types/index.d.mts +3 -3
- package/package.json +3 -3
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,5 +1,5 @@
|
|
|
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
4
|
import * as _$devframe_rpc0 from "devframe/rpc";
|
|
5
5
|
import { WhenContext, WhenExpression } from "devframe/utils/when";
|
|
@@ -14,4 +14,4 @@ declare function defineDockEntry<const T extends DevframeDockUserEntry, const W
|
|
|
14
14
|
}): T;
|
|
15
15
|
declare function defineJsonRenderSpec(spec: JsonRenderSpec): JsonRenderSpec;
|
|
16
16
|
//#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 };
|
|
17
|
+
export { BuiltinDocksOptions, 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 };
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
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";
|
|
3
3
|
import * as _$devframe_rpc0 from "devframe/rpc";
|
|
4
4
|
import { RpcFunctionDefinitionAny } from "devframe/rpc";
|
|
5
5
|
import { DevframeDefinition } from "devframe/types";
|
|
@@ -23,12 +23,25 @@ declare class DevframeCommandsHost implements DevframeCommandsHost$1 {
|
|
|
23
23
|
//#region src/node/host-docks.d.ts
|
|
24
24
|
declare class DevframeDocksHost implements DevframeDocksHost$1 {
|
|
25
25
|
readonly context: DevframeHubContext;
|
|
26
|
+
/**
|
|
27
|
+
* Per-entry toggles for the synthesized built-in dock entries. An omitted
|
|
28
|
+
* (or `undefined`) flag keeps that built-in; only an explicit `false`
|
|
29
|
+
* suppresses it.
|
|
30
|
+
*/
|
|
31
|
+
private readonly builtinDocks;
|
|
26
32
|
readonly views: DevframeDocksHost$1['views'];
|
|
27
33
|
readonly events: DevframeDocksHost$1['events'];
|
|
28
34
|
userSettings: SharedState<DevframeDocksUserSettings>;
|
|
29
35
|
/** Dock-id → allocated remote token + resolved options. */
|
|
30
36
|
private readonly remoteDocks;
|
|
31
|
-
constructor(context: DevframeHubContext
|
|
37
|
+
constructor(context: DevframeHubContext,
|
|
38
|
+
/**
|
|
39
|
+
* Per-entry toggles for the synthesized built-in dock entries. An omitted
|
|
40
|
+
* (or `undefined`) flag keeps that built-in; only an explicit `false`
|
|
41
|
+
* suppresses it.
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
builtinDocks?: BuiltinDocksOptions);
|
|
32
45
|
init(): Promise<void>;
|
|
33
46
|
values({
|
|
34
47
|
includeBuiltin
|
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) {
|
|
@@ -886,7 +888,7 @@ async function createHubContext(options) {
|
|
|
886
888
|
...options,
|
|
887
889
|
builtinRpcDeclarations: [...builtinHubRpcDeclarations, ...options.builtinRpcDeclarations ?? []]
|
|
888
890
|
});
|
|
889
|
-
const docks = new DevframeDocksHost(context);
|
|
891
|
+
const docks = new DevframeDocksHost(context, options.builtinDocks);
|
|
890
892
|
const terminals = new DevframeTerminalsHost(context);
|
|
891
893
|
const messages = new DevframeMessagesHost(context);
|
|
892
894
|
const commands = new DevframeCommandsHost(context);
|
|
@@ -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, 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 };
|
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.2",
|
|
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.2"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"birpc": "^4.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@types/node": "^25.9.1",
|
|
49
49
|
"mlly": "^1.8.2",
|
|
50
50
|
"tsdown": "^0.22.0",
|
|
51
|
-
"devframe": "0.6.0-beta.
|
|
51
|
+
"devframe": "0.6.0-beta.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsdown",
|