@astrale-os/shell 0.3.0 → 0.3.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/application/apps.d.ts +4 -4
- package/dist/application/apps.d.ts.map +1 -1
- package/dist/application/apps.js +5 -9
- package/dist/application/namespaces.d.ts +4 -4
- package/dist/application/namespaces.d.ts.map +1 -1
- package/dist/application/namespaces.js +4 -4
- package/dist/application/session/open.d.ts +2 -2
- package/dist/application/session/open.d.ts.map +1 -1
- package/dist/application/session/open.js +1 -1
- package/dist/application/session/session.d.ts +1 -1
- package/dist/application/session/session.d.ts.map +1 -1
- package/dist/application/session/token.d.ts +1 -1
- package/dist/application/session/token.d.ts.map +1 -1
- package/dist/application/session/token.js +2 -2
- package/dist/application/spaces.d.ts +3 -3
- package/dist/application/spaces.d.ts.map +1 -1
- package/dist/application/spaces.js +3 -6
- package/dist/application/user.d.ts +4 -4
- package/dist/application/user.d.ts.map +1 -1
- package/dist/application/user.js +6 -6
- package/dist/application/view.d.ts +8 -4
- package/dist/application/view.d.ts.map +1 -1
- package/dist/application/view.js +3 -3
- package/dist/channel/children.d.ts +3 -3
- package/dist/channel/children.d.ts.map +1 -1
- package/dist/channel/listeners.d.ts +1 -1
- package/dist/channel/listeners.d.ts.map +1 -1
- package/dist/channel/message-port.d.ts +1 -1
- package/dist/channel/message-port.d.ts.map +1 -1
- package/dist/channel/observer.d.ts +1 -1
- package/dist/channel/observer.d.ts.map +1 -1
- package/dist/channel/parent.d.ts +3 -3
- package/dist/channel/parent.d.ts.map +1 -1
- package/dist/channel/parent.js +1 -1
- package/dist/channel/transport.d.ts +1 -1
- package/dist/channel/transport.d.ts.map +1 -1
- package/dist/index.d.ts +56 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -20
- package/dist/intent/middleware/capabilities.d.ts +3 -3
- package/dist/intent/middleware/capabilities.d.ts.map +1 -1
- package/dist/intent/middleware/logging.d.ts +1 -1
- package/dist/intent/middleware/logging.d.ts.map +1 -1
- package/dist/intent/middleware/rate-limit.d.ts +2 -2
- package/dist/intent/middleware/rate-limit.d.ts.map +1 -1
- package/dist/intent/pipeline.d.ts +1 -1
- package/dist/intent/pipeline.d.ts.map +1 -1
- package/dist/intent/policy.d.ts +2 -2
- package/dist/intent/policy.d.ts.map +1 -1
- package/dist/intent/request.d.ts +3 -3
- package/dist/intent/request.d.ts.map +1 -1
- package/dist/intent/router.d.ts +6 -6
- package/dist/intent/router.d.ts.map +1 -1
- package/dist/intent/router.js +1 -1
- package/dist/kernel/credential.d.ts +2 -2
- package/dist/kernel/credential.d.ts.map +1 -1
- package/dist/kernel/delegated.d.ts +3 -3
- package/dist/kernel/delegated.d.ts.map +1 -1
- package/dist/kernel/delegated.js +1 -1
- package/dist/kernel/delegation/refresh.d.ts +1 -1
- package/dist/kernel/delegation/refresh.d.ts.map +1 -1
- package/dist/kernel/delegation/refresh.js +1 -1
- package/dist/message/message.d.ts +3 -3
- package/dist/message/message.d.ts.map +1 -1
- package/dist/shell/access.d.ts +2 -2
- package/dist/shell/access.d.ts.map +1 -1
- package/dist/shell/access.js +1 -1
- package/dist/shell/build.d.ts +11 -11
- package/dist/shell/build.d.ts.map +1 -1
- package/dist/shell/build.js +1 -1
- package/dist/shell/config.d.ts +1 -1
- package/dist/shell/config.d.ts.map +1 -1
- package/dist/shell/create.d.ts +2 -2
- package/dist/shell/create.d.ts.map +1 -1
- package/dist/shell/create.js +2 -2
- package/dist/shell/sandboxed/boot.d.ts +4 -4
- package/dist/shell/sandboxed/boot.d.ts.map +1 -1
- package/dist/shell/sandboxed/boot.js +5 -5
- package/dist/shell/sandboxed/guarded.d.ts +2 -2
- package/dist/shell/sandboxed/guarded.d.ts.map +1 -1
- package/dist/shell/sandboxed/pending.d.ts +2 -2
- package/dist/shell/sandboxed/pending.d.ts.map +1 -1
- package/dist/shell/sandboxed/sandboxed.d.ts +2 -2
- package/dist/shell/sandboxed/sandboxed.d.ts.map +1 -1
- package/dist/shell/sandboxed/sandboxed.js +10 -10
- package/dist/shell/shell.d.ts +12 -12
- package/dist/shell/shell.d.ts.map +1 -1
- package/dist/shell/standalone.d.ts +2 -2
- package/dist/shell/standalone.d.ts.map +1 -1
- package/dist/shell/standalone.js +9 -9
- package/dist/window/capabilities.d.ts +1 -1
- package/dist/window/capabilities.d.ts.map +1 -1
- package/dist/window/embed/adapter.d.ts +1 -1
- package/dist/window/embed/adapter.d.ts.map +1 -1
- package/dist/window/embed/iframe.d.ts +1 -1
- package/dist/window/embed/iframe.d.ts.map +1 -1
- package/dist/window/lifecycle/states.d.ts +2 -2
- package/dist/window/lifecycle/states.d.ts.map +1 -1
- package/dist/window/lifecycle/states.js +1 -1
- package/dist/window/lifecycle/transition.d.ts +1 -1
- package/dist/window/lifecycle/transition.d.ts.map +1 -1
- package/dist/window/mount/close.d.ts +6 -6
- package/dist/window/mount/close.d.ts.map +1 -1
- package/dist/window/mount/credential.d.ts +5 -5
- package/dist/window/mount/credential.d.ts.map +1 -1
- package/dist/window/mount/credential.js +1 -1
- package/dist/window/mount/handshake.js +1 -1
- package/dist/window/mount/mount.d.ts +6 -6
- package/dist/window/mount/mount.d.ts.map +1 -1
- package/dist/window/mount/mount.js +5 -5
- package/dist/window/mount/params.d.ts +2 -2
- package/dist/window/mount/params.d.ts.map +1 -1
- package/dist/window/mount/plain.d.ts +5 -5
- package/dist/window/mount/plain.d.ts.map +1 -1
- package/dist/window/mount/plain.js +1 -1
- package/dist/window/window.d.ts +1 -1
- package/dist/window/window.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/application/apps.ts +9 -13
- package/src/application/namespaces.ts +8 -8
- package/src/application/session/open.ts +4 -4
- package/src/application/session/session.ts +1 -1
- package/src/application/session/token.ts +3 -3
- package/src/application/spaces.ts +6 -11
- package/src/application/user.ts +10 -10
- package/src/application/view.ts +11 -7
- package/src/channel/children.ts +3 -3
- package/src/channel/listeners.ts +1 -1
- package/src/channel/message-port.ts +2 -2
- package/src/channel/observer.ts +1 -1
- package/src/channel/parent.ts +4 -4
- package/src/channel/transport.ts +1 -1
- package/src/index.ts +56 -56
- package/src/intent/middleware/capabilities.ts +3 -3
- package/src/intent/middleware/logging.ts +2 -2
- package/src/intent/middleware/rate-limit.ts +2 -2
- package/src/intent/pipeline.ts +1 -1
- package/src/intent/policy.ts +2 -2
- package/src/intent/request.ts +3 -3
- package/src/intent/router.ts +7 -7
- package/src/kernel/credential.ts +2 -2
- package/src/kernel/delegated.ts +4 -4
- package/src/kernel/delegation/refresh.ts +2 -2
- package/src/message/message.ts +3 -3
- package/src/shell/access.ts +3 -3
- package/src/shell/build.ts +13 -13
- package/src/shell/config.ts +1 -1
- package/src/shell/create.ts +4 -4
- package/src/shell/sandboxed/boot.ts +9 -9
- package/src/shell/sandboxed/guarded.ts +2 -2
- package/src/shell/sandboxed/pending.ts +2 -2
- package/src/shell/sandboxed/sandboxed.ts +18 -18
- package/src/shell/shell.ts +12 -12
- package/src/shell/standalone.ts +13 -13
- package/src/window/capabilities.ts +1 -1
- package/src/window/embed/adapter.ts +1 -1
- package/src/window/embed/iframe.ts +2 -2
- package/src/window/lifecycle/states.ts +2 -2
- package/src/window/lifecycle/transition.ts +1 -1
- package/src/window/mount/close.ts +6 -6
- package/src/window/mount/credential.ts +5 -5
- package/src/window/mount/handshake.ts +3 -3
- package/src/window/mount/mount.ts +13 -13
- package/src/window/mount/params.ts +2 -2
- package/src/window/mount/plain.ts +6 -6
- package/src/window/window.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { INIT_REQUEST_TYPE, INIT_RESPONSE_TYPE, isInitRequest, isInitResponse, } from './message/init';
|
|
2
|
-
export { createKernelClientAdapter } from './kernel/session';
|
|
3
|
-
export { stateOf, isExpired } from './kernel/delegation/token';
|
|
4
|
-
export { createTokenRefresher } from './kernel/delegation/refresh';
|
|
5
|
-
export { createMessagePortTransport } from './channel/message-port';
|
|
6
|
-
export { transition as lifecycleTransition } from './window/lifecycle/transition';
|
|
7
|
-
export { createIframeShellAdapter } from './window/embed/iframe';
|
|
8
|
-
export { runParentHandshake } from './window/mount/handshake';
|
|
1
|
+
export { INIT_REQUEST_TYPE, INIT_RESPONSE_TYPE, isInitRequest, isInitResponse, } from './message/init.js';
|
|
2
|
+
export { createKernelClientAdapter } from './kernel/session.js';
|
|
3
|
+
export { stateOf, isExpired } from './kernel/delegation/token.js';
|
|
4
|
+
export { createTokenRefresher } from './kernel/delegation/refresh.js';
|
|
5
|
+
export { createMessagePortTransport } from './channel/message-port.js';
|
|
6
|
+
export { transition as lifecycleTransition } from './window/lifecycle/transition.js';
|
|
7
|
+
export { createIframeShellAdapter } from './window/embed/iframe.js';
|
|
8
|
+
export { runParentHandshake } from './window/mount/handshake.js';
|
|
9
9
|
// ─── intent ─────────────────────────────────────────────────────────────────
|
|
10
|
-
export { createIntentPipeline } from './intent/pipeline';
|
|
11
|
-
export { createIntentRouter } from './intent/router';
|
|
12
|
-
export { requestIntent, replyToIntent } from './intent/request';
|
|
13
|
-
export { loggingMiddleware } from './intent/middleware/logging';
|
|
14
|
-
export { capabilitiesMiddleware } from './intent/middleware/capabilities';
|
|
15
|
-
export { rateLimitMiddleware } from './intent/middleware/rate-limit';
|
|
10
|
+
export { createIntentPipeline } from './intent/pipeline.js';
|
|
11
|
+
export { createIntentRouter } from './intent/router.js';
|
|
12
|
+
export { requestIntent, replyToIntent } from './intent/request.js';
|
|
13
|
+
export { loggingMiddleware } from './intent/middleware/logging.js';
|
|
14
|
+
export { capabilitiesMiddleware } from './intent/middleware/capabilities.js';
|
|
15
|
+
export { rateLimitMiddleware } from './intent/middleware/rate-limit.js';
|
|
16
16
|
// ─── application (OS plane: shell.user / .spaces / .apps) ───────────────────
|
|
17
|
-
export { createOsNamespaces } from './application/namespaces';
|
|
18
|
-
export { openAppSession } from './application/session/open';
|
|
19
|
-
export { AppSessionRefreshError } from './application/session/session';
|
|
17
|
+
export { createOsNamespaces } from './application/namespaces.js';
|
|
18
|
+
export { openAppSession } from './application/session/open.js';
|
|
19
|
+
export { AppSessionRefreshError } from './application/session/session.js';
|
|
20
20
|
// ─── shell ──────────────────────────────────────────────────────────────────
|
|
21
|
-
export { createShell } from './shell/create';
|
|
22
|
-
export { requestAccess } from './shell/access';
|
|
23
|
-
export { performChildInit } from './shell/sandboxed/boot';
|
|
21
|
+
export { createShell } from './shell/create.js';
|
|
22
|
+
export { requestAccess } from './shell/access.js';
|
|
23
|
+
export { performChildInit } from './shell/sandboxed/boot.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IntentRegistry } from '../../message/intent';
|
|
2
|
-
import type { WindowCapabilities } from '../../window/capabilities';
|
|
3
|
-
import type { IntentMiddleware } from '../pipeline';
|
|
1
|
+
import type { IntentRegistry } from '../../message/intent.js';
|
|
2
|
+
import type { WindowCapabilities } from '../../window/capabilities.js';
|
|
3
|
+
import type { IntentMiddleware } from '../pipeline.js';
|
|
4
4
|
export type CapabilityLookup = (sender: string) => WindowCapabilities | undefined;
|
|
5
5
|
export type CapabilityViolation = {
|
|
6
6
|
readonly sender: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAA;AAEjF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,cAAc,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IAEjC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,mBAAmB,KAAK,IAAI,CAAA;IAE/D;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAE5B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,gBAAgB,CAkBnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/logging.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"logging.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/logging.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAA;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,KAAK,EAAE,IAAI,GAAG,KAAK,CAAA;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,WAAW,CAAA;CAC5B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,MAAM,GAAE,aAAkB,GAAG,gBAAgB,CAQ9E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IntentMessage } from '../../message/intent';
|
|
2
|
-
import type { IntentMiddleware } from '../pipeline';
|
|
1
|
+
import type { IntentMessage } from '../../message/intent.js';
|
|
2
|
+
import type { IntentMiddleware } from '../pipeline.js';
|
|
3
3
|
export type RateLimitKey = (message: IntentMessage) => string;
|
|
4
4
|
export type RateLimitViolation = {
|
|
5
5
|
readonly key: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate-limit.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/rate-limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"rate-limit.d.ts","sourceRoot":"","sources":["../../../src/intent/middleware/rate-limit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,MAAM,CAAA;AAE7D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,GAAG,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC/D,CAAA;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,eAAe,GAAG,gBAAgB,CA+B7E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IntentMessage } from '../message/intent';
|
|
1
|
+
import type { IntentMessage } from '../message/intent.js';
|
|
2
2
|
export type IntentMiddleware = (message: IntentMessage, next: () => Promise<void>) => Promise<void>;
|
|
3
3
|
export interface IntentPipeline {
|
|
4
4
|
use(middleware: IntentMiddleware): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/intent/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/intent/pipeline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;AAEnG,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,UAAU,EAAE,gBAAgB,GAAG,IAAI,CAAA;IACvC,GAAG,CAAC,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3E;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CAuBrD"}
|
package/dist/intent/policy.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IntentMessage, IntentRegistry } from '../message/intent';
|
|
2
|
-
import type { Window } from '../window/window';
|
|
1
|
+
import type { IntentMessage, IntentRegistry } from '../message/intent.js';
|
|
2
|
+
import type { Window } from '../window/window.js';
|
|
3
3
|
/**
|
|
4
4
|
* Decision produced by a routing policy: where an inbound intent should go.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/intent/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/intent/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAEjD;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,cAAc,GAAG,MAAM,cAAc,IAC5E;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,GAC5C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAA;CAAE,GAC9D;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpB,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;AAEtD,MAAM,MAAM,YAAY,GAAG,CACzB,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,aAAa,KACf,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;AAE7C,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,IAAI,YAAY,CAO5C"}
|
package/dist/intent/request.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ChildrenChannel } from '../channel/children';
|
|
2
|
-
import type { ParentChannel } from '../channel/parent';
|
|
3
|
-
import type { IntentMessage, IntentRegistry, PayloadOf, ReplyOf } from '../message/intent';
|
|
1
|
+
import type { ChildrenChannel } from '../channel/children.js';
|
|
2
|
+
import type { ParentChannel } from '../channel/parent.js';
|
|
3
|
+
import type { IntentMessage, IntentRegistry, PayloadOf, ReplyOf } from '../message/intent.js';
|
|
4
4
|
/**
|
|
5
5
|
* Request/reply over the otherwise fire-and-forget intent transport.
|
|
6
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/intent/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/intent/request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE7F;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,cAAc,EAC1D,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,CAAC,EACP,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,GACpB,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAoBrB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,cAAc,EAC1D,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,GACjB,IAAI,CAYN"}
|
package/dist/intent/router.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ChildrenChannelController } from '../channel/children';
|
|
2
|
-
import type { ParentChannel } from '../channel/parent';
|
|
3
|
-
import type { IntentMessage, IntentRegistry } from '../message/intent';
|
|
4
|
-
import type { Window } from '../window/window';
|
|
5
|
-
import type { IntentPipeline } from './pipeline';
|
|
6
|
-
import type { IntentOrigin, IntentPolicy } from './policy';
|
|
1
|
+
import type { ChildrenChannelController } from '../channel/children.js';
|
|
2
|
+
import type { ParentChannel } from '../channel/parent.js';
|
|
3
|
+
import type { IntentMessage, IntentRegistry } from '../message/intent.js';
|
|
4
|
+
import type { Window } from '../window/window.js';
|
|
5
|
+
import type { IntentPipeline } from './pipeline.js';
|
|
6
|
+
import type { IntentOrigin, IntentPolicy } from './policy.js';
|
|
7
7
|
/** Minimal dispatch-only router surface (no current in-package implementer). */
|
|
8
8
|
export interface IntentRouter {
|
|
9
9
|
dispatch<K extends keyof IntentRegistry>(message: IntentMessage<K>): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/intent/router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/intent/router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACzE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAkB,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI7E,gFAAgF;AAChF,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACnF;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,MAAM,cAAc,GAAG,MAAM,cAAc,IAAI,CACtF,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,KACtB,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;AAEzB,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,aAAa,CACX,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,aAAa,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IACpD,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IACrC,OAAO,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAA;CAC7F;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,cAAc,CAAA;IACxB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAA;IAC5B,QAAQ,EAAE,yBAAyB,CAAA;IACnC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC,CAAA;AAOD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,GAAG,sBAAsB,CA4ErF"}
|
package/dist/intent/router.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defaultPolicy } from './policy';
|
|
1
|
+
import { defaultPolicy } from './policy.js';
|
|
2
2
|
/** Return a copy of `message` with a trusted `sender.windowId`. */
|
|
3
3
|
function withSender(message, windowId) {
|
|
4
4
|
return { ...message, envelope: { ...message.envelope, sender: { windowId } } };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { KernelClient } from './client';
|
|
2
|
-
import type { KernelClientAdapter } from './session';
|
|
1
|
+
import type { KernelClient } from './client.js';
|
|
2
|
+
import type { KernelClientAdapter } from './session.js';
|
|
3
3
|
export type KernelFacadeConfig = {
|
|
4
4
|
adapter: KernelClientAdapter;
|
|
5
5
|
credential?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credential.d.ts","sourceRoot":"","sources":["../../src/kernel/credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"credential.d.ts","sourceRoot":"","sources":["../../src/kernel/credential.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,MAAM,CAAA;IAC5B,gEAAgE;IAChE,GAAG,EAAE,MAAM,CAAA;IACX;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IAC1D,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,GAAG,sBAAsB,CAerF;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,aAAa,EAAE,MAAM,MAAM,CAAA;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,8FAA8F;IAC9F,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY,GAAG,sBAAsB,CAwBlF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { KernelFacadeController } from './credential';
|
|
2
|
-
import type { DelegationToken } from './delegation/token';
|
|
3
|
-
import type { KernelClientAdapter } from './session';
|
|
1
|
+
import type { KernelFacadeController } from './credential.js';
|
|
2
|
+
import type { DelegationToken } from './delegation/token.js';
|
|
3
|
+
import type { KernelClientAdapter } from './session.js';
|
|
4
4
|
export type DelegationKernelFacadeConfig = {
|
|
5
5
|
adapter: KernelClientAdapter;
|
|
6
6
|
initialToken: DelegationToken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delegated.d.ts","sourceRoot":"","sources":["../../src/kernel/delegated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"delegated.d.ts","sourceRoot":"","sources":["../../src/kernel/delegated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAIvD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,mBAAmB,CAAA;IAC5B,YAAY,EAAE,eAAe,CAAA;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;IAChD,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,WAAW,gCAAiC,SAAQ,sBAAsB;IAC9E,KAAK,IAAI,eAAe,CAAA;IACxB,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI,CAAA;CACtC;AAED,mFAAmF;AACnF,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,4BAA4B,GACnC,gCAAgC,CA0BlC"}
|
package/dist/kernel/delegated.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { buildCredentialFacade } from './credential';
|
|
1
|
+
import { buildCredentialFacade } from './credential.js';
|
|
2
2
|
/** The sandboxed-mode kernel: bound to a delegation token the parent refreshes. */
|
|
3
3
|
export function createDelegationKernelFacade(config) {
|
|
4
4
|
let token = config.initialToken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refresh.d.ts","sourceRoot":"","sources":["../../../src/kernel/delegation/refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"refresh.d.ts","sourceRoot":"","sources":["../../../src/kernel/delegation/refresh.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAIjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,eAAe,CAAA;IACrC,QAAQ,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,IAAI,EAAE,MAAM,OAAO,CAAC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACvE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC7C,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,MAAM,CAAA;CAC5B,CAAA;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,IAAI,IAAI,CAAA;IACb,IAAI,IAAI,IAAI,CAAA;IACZ,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACjC;AAID,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,kBAAkB,GAAG,cAAc,CAoD/E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CtrlMessage } from './ctrl';
|
|
2
|
-
import type { ErrorMessage } from './error';
|
|
3
|
-
import type { IntentMessage } from './intent';
|
|
1
|
+
import type { CtrlMessage } from './ctrl.js';
|
|
2
|
+
import type { ErrorMessage } from './error.js';
|
|
3
|
+
import type { IntentMessage } from './intent.js';
|
|
4
4
|
export type ShellMessage = IntentMessage | CtrlMessage | ErrorMessage;
|
|
5
5
|
export type MessageHandler<M extends ShellMessage = ShellMessage> = (message: M) => void;
|
|
6
6
|
export type MessageType = ShellMessage['type'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/message/message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/message/message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,WAAW,GAAG,YAAY,CAAA;AAErE,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAA;AAExF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC,CAAA;AAE9C,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,WAAW,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAA"}
|
package/dist/shell/access.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PayloadOf, ReplyOf } from '../message/intent';
|
|
2
|
-
import type { Shell } from './shell';
|
|
1
|
+
import type { PayloadOf, ReplyOf } from '../message/intent.js';
|
|
2
|
+
import type { Shell } from './shell.js';
|
|
3
3
|
/**
|
|
4
4
|
* View SDK convenience: ask the user (via the root shell) to grant `perms` on
|
|
5
5
|
* `node` to `identity`. Resolves with the bitmask actually granted (0 if the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../src/shell/access.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../src/shell/access.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAIvC;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,SAAS,CAAC,eAAe,CAAC,GAC/B,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CASnC"}
|
package/dist/shell/access.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NO_PERMS } from '@astrale-os/kernel-core/permissions';
|
|
2
|
-
import { requestIntent } from '../intent/request';
|
|
2
|
+
import { requestIntent } from '../intent/request.js';
|
|
3
3
|
/**
|
|
4
4
|
* View SDK convenience: ask the user (via the root shell) to grant `perms` on
|
|
5
5
|
* `node` to `identity`. Resolves with the bitmask actually granted (0 if the
|
package/dist/shell/build.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { ChildrenChannelController } from '../channel/children';
|
|
2
|
-
import type { MessageObserver } from '../channel/observer';
|
|
3
|
-
import type { ParentChannel } from '../channel/parent';
|
|
4
|
-
import type { IntentPipeline } from '../intent/pipeline';
|
|
5
|
-
import type { LocalIntentHandler } from '../intent/router';
|
|
6
|
-
import type { KernelClient } from '../kernel/client';
|
|
7
|
-
import type { IntentRegistry } from '../message/intent';
|
|
8
|
-
import type { LifecycleController } from '../window/lifecycle/states';
|
|
9
|
-
import type { MountController } from '../window/mount/mount';
|
|
10
|
-
import type { Window } from '../window/window';
|
|
11
|
-
import type { Shell } from './shell';
|
|
1
|
+
import type { ChildrenChannelController } from '../channel/children.js';
|
|
2
|
+
import type { MessageObserver } from '../channel/observer.js';
|
|
3
|
+
import type { ParentChannel } from '../channel/parent.js';
|
|
4
|
+
import type { IntentPipeline } from '../intent/pipeline.js';
|
|
5
|
+
import type { LocalIntentHandler } from '../intent/router.js';
|
|
6
|
+
import type { KernelClient } from '../kernel/client.js';
|
|
7
|
+
import type { IntentRegistry } from '../message/intent.js';
|
|
8
|
+
import type { LifecycleController } from '../window/lifecycle/states.js';
|
|
9
|
+
import type { MountController } from '../window/mount/mount.js';
|
|
10
|
+
import type { Window } from '../window/window.js';
|
|
11
|
+
import type { Shell } from './shell.js';
|
|
12
12
|
export type FacadeDeps = {
|
|
13
13
|
parent: ParentChannel | null;
|
|
14
14
|
childrenChannel: ChildrenChannelController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/shell/build.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/shell/build.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAIvC,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,EAAE,aAAa,GAAG,IAAI,CAAA;IAC5B,eAAe,EAAE,yBAAyB,CAAA;IAC1C,MAAM,EAAE,YAAY,CAAA;IACpB,QAAQ,EAAE,cAAc,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;IACzB,SAAS,EAAE,mBAAmB,CAAA;IAC9B,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC5B,kBAAkB,EAAE,MAAM,eAAe,CAAA;IACzC,QAAQ,EAAE,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,MAAM,IAAI,CAAA;IACjG,YAAY,CAAC,EAAE,MAAM,MAAM,GAAG,SAAS,CAAA;IACvC,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1B,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC/B,CAAA;AAED,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,KAAK,CA+DxD"}
|
package/dist/shell/build.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createOsNamespaces } from '../application/namespaces';
|
|
1
|
+
import { createOsNamespaces } from '../application/namespaces.js';
|
|
2
2
|
/** Assemble the Shell object shared by both modes from their wired parts. */
|
|
3
3
|
export function buildShellFacade(deps) {
|
|
4
4
|
let disposed = false;
|
package/dist/shell/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FunctionSchema } from '@astrale-os/kernel-client';
|
|
2
|
-
import type { ShellAdapter } from '../window/embed/adapter';
|
|
2
|
+
import type { ShellAdapter } from '../window/embed/adapter.js';
|
|
3
3
|
export type StandaloneConfig = {
|
|
4
4
|
readonly mode: 'standalone';
|
|
5
5
|
readonly kernelUrl: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/shell/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/shell/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAE9D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,MAAM,CAAA;IACrC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAA;IAC/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B;;;;;;OAMG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;IAClC,QAAQ,CAAC,YAAY,CAAC,EAAE,WAAW,CAAA;IACnC,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,eAAe,CAAA"}
|
package/dist/shell/create.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShellConfig } from './config';
|
|
2
|
-
import type { Shell } from './shell';
|
|
1
|
+
import type { ShellConfig } from './config.js';
|
|
2
|
+
import type { Shell } from './shell.js';
|
|
3
3
|
export declare function createShell(config: ShellConfig): Shell;
|
|
4
4
|
//# sourceMappingURL=create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/shell/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/shell/create.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAKvC,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,KAAK,CAEtD"}
|
package/dist/shell/create.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createSandboxedShell } from './sandboxed/sandboxed';
|
|
2
|
-
import { createStandaloneShell } from './standalone';
|
|
1
|
+
import { createSandboxedShell } from './sandboxed/sandboxed.js';
|
|
2
|
+
import { createStandaloneShell } from './standalone.js';
|
|
3
3
|
export function createShell(config) {
|
|
4
4
|
return config.mode === 'standalone' ? createStandaloneShell(config) : createSandboxedShell(config);
|
|
5
5
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FunctionSchema } from '@astrale-os/kernel-client';
|
|
2
|
-
import type { MessageObserver } from '../../channel/observer';
|
|
3
|
-
import type { ParentChannelController } from '../../channel/parent';
|
|
4
|
-
import type { DelegationToken } from '../../kernel/delegation/token';
|
|
5
|
-
import { type DelegationKernelFacadeController } from '../../kernel/delegated';
|
|
2
|
+
import type { MessageObserver } from '../../channel/observer.js';
|
|
3
|
+
import type { ParentChannelController } from '../../channel/parent.js';
|
|
4
|
+
import type { DelegationToken } from '../../kernel/delegation/token.js';
|
|
5
|
+
import { type DelegationKernelFacadeController } from '../../kernel/delegated.js';
|
|
6
6
|
export type ChildInitParams = {
|
|
7
7
|
readonly parent: WindowProxy;
|
|
8
8
|
readonly timeoutMs?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/boot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"boot.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/boot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAKvE,OAAO,EAEL,KAAK,gCAAgC,EACtC,MAAM,2BAA2B,CAAA;AAIlC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAA;IAC5B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,uBAAuB,CAAA;IAC9E,QAAQ,CAAC,MAAM,EAAE,gCAAgC,CAAA;IACjD,QAAQ,CAAC,YAAY,EAAE,eAAe,CAAA;IACtC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAC/B,CAAA;AAID,qFAAqF;AACrF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC,CAmGlF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createMessagePortTransport } from '../../channel/message-port';
|
|
2
|
-
import { createParentChannel } from '../../channel/parent';
|
|
3
|
-
import { createDelegationKernelFacade, } from '../../kernel/delegated';
|
|
4
|
-
import { createKernelClientAdapter } from '../../kernel/session';
|
|
5
|
-
import { INIT_REQUEST_TYPE, isInitResponse } from '../../message/init';
|
|
1
|
+
import { createMessagePortTransport } from '../../channel/message-port.js';
|
|
2
|
+
import { createParentChannel } from '../../channel/parent.js';
|
|
3
|
+
import { createDelegationKernelFacade, } from '../../kernel/delegated.js';
|
|
4
|
+
import { createKernelClientAdapter } from '../../kernel/session.js';
|
|
5
|
+
import { INIT_REQUEST_TYPE, isInitResponse } from '../../message/init.js';
|
|
6
6
|
const DEFAULT_TIMEOUT = 5_000;
|
|
7
7
|
/** Child-side init: post INIT_REQUEST, receive MessagePort + ctrl:handshake, ack. */
|
|
8
8
|
export function performChildInit(params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ParentChannel, ParentChannelController } from '../../channel/parent';
|
|
2
|
-
import type { KernelClient } from '../../kernel/client';
|
|
1
|
+
import type { ParentChannel, ParentChannelController } from '../../channel/parent.js';
|
|
2
|
+
import type { KernelClient } from '../../kernel/client.js';
|
|
3
3
|
/** Throw the canonical "call init() first" error while `get()` has no state yet. */
|
|
4
4
|
export declare function requireInit<T>(get: () => T | null): T;
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guarded.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/guarded.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"guarded.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/guarded.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D,oFAAoF;AACpF,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,CAIrD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,YAAY,GAAG,YAAY,CAQvE;AAED,iFAAiF;AACjF,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,uBAAuB,GAAG,aAAa,CAKnF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IntentRouterController, LocalIntentHandler } from '../../intent/router';
|
|
2
|
-
import type { IntentRegistry } from '../../message/intent';
|
|
1
|
+
import type { IntentRouterController, LocalIntentHandler } from '../../intent/router.js';
|
|
2
|
+
import type { IntentRegistry } from '../../message/intent.js';
|
|
3
3
|
/**
|
|
4
4
|
* Buffer intent subscriptions made before `init()` resolves — the router is
|
|
5
5
|
* only built once the handshake completes, but consumers want to call
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pending.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/pending.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pending.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/pending.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AACxF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAE7D;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAA;IACxF,0EAA0E;IAC1E,MAAM,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAAA;CAC7C;AASD,wBAAgB,uBAAuB,IAAI,iBAAiB,CA8B3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SandboxedConfig } from '../config';
|
|
2
|
-
import type { Shell } from '../shell';
|
|
1
|
+
import type { SandboxedConfig } from '../config.js';
|
|
2
|
+
import type { Shell } from '../shell.js';
|
|
3
3
|
export declare function createSandboxedShell(config: SandboxedConfig): Shell;
|
|
4
4
|
//# sourceMappingURL=sandboxed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandboxed.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/sandboxed.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sandboxed.d.ts","sourceRoot":"","sources":["../../../src/shell/sandboxed/sandboxed.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAyBxC,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,KAAK,CAkGnE"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { createChildrenChannel } from '../../channel/children';
|
|
2
|
-
import { createMessageObserver } from '../../channel/observer';
|
|
3
|
-
import { createIntentPipeline } from '../../intent/pipeline';
|
|
4
|
-
import { createIntentRouter } from '../../intent/router';
|
|
5
|
-
import { createLifecycleController } from '../../window/lifecycle/states';
|
|
6
|
-
import { createMountController } from '../../window/mount/mount';
|
|
7
|
-
import { buildShellFacade } from '../build';
|
|
8
|
-
import { performChildInit } from './boot';
|
|
9
|
-
import { guardedKernel, guardedParent, requireInit } from './guarded';
|
|
10
|
-
import { createPendingIntentSubs } from './pending';
|
|
1
|
+
import { createChildrenChannel } from '../../channel/children.js';
|
|
2
|
+
import { createMessageObserver } from '../../channel/observer.js';
|
|
3
|
+
import { createIntentPipeline } from '../../intent/pipeline.js';
|
|
4
|
+
import { createIntentRouter } from '../../intent/router.js';
|
|
5
|
+
import { createLifecycleController } from '../../window/lifecycle/states.js';
|
|
6
|
+
import { createMountController } from '../../window/mount/mount.js';
|
|
7
|
+
import { buildShellFacade } from '../build.js';
|
|
8
|
+
import { performChildInit } from './boot.js';
|
|
9
|
+
import { guardedKernel, guardedParent, requireInit } from './guarded.js';
|
|
10
|
+
import { createPendingIntentSubs } from './pending.js';
|
|
11
11
|
/** Trusted sender id stamped on intents arriving from the parent channel. */
|
|
12
12
|
const PARENT_SENDER_ID = '<parent>';
|
|
13
13
|
export function createSandboxedShell(config) {
|
package/dist/shell/shell.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { AppsNamespace } from '../application/apps';
|
|
2
|
-
import type { SpacesNamespace } from '../application/spaces';
|
|
3
|
-
import type { UserNamespace } from '../application/user';
|
|
4
|
-
import type { ChildrenChannel } from '../channel/children';
|
|
5
|
-
import type { ObserverHandler } from '../channel/observer';
|
|
6
|
-
import type { ParentChannel } from '../channel/parent';
|
|
7
|
-
import type { IntentMiddleware } from '../intent/pipeline';
|
|
8
|
-
import type { LocalIntentHandler } from '../intent/router';
|
|
9
|
-
import type { KernelClient } from '../kernel/client';
|
|
10
|
-
import type { IntentRegistry } from '../message/intent';
|
|
11
|
-
import type { CloseResult, MountedWindow, MountParams } from '../window/mount/params';
|
|
12
|
-
import type { Window } from '../window/window';
|
|
1
|
+
import type { AppsNamespace } from '../application/apps.js';
|
|
2
|
+
import type { SpacesNamespace } from '../application/spaces.js';
|
|
3
|
+
import type { UserNamespace } from '../application/user.js';
|
|
4
|
+
import type { ChildrenChannel } from '../channel/children.js';
|
|
5
|
+
import type { ObserverHandler } from '../channel/observer.js';
|
|
6
|
+
import type { ParentChannel } from '../channel/parent.js';
|
|
7
|
+
import type { IntentMiddleware } from '../intent/pipeline.js';
|
|
8
|
+
import type { LocalIntentHandler } from '../intent/router.js';
|
|
9
|
+
import type { KernelClient } from '../kernel/client.js';
|
|
10
|
+
import type { IntentRegistry } from '../message/intent.js';
|
|
11
|
+
import type { CloseResult, MountedWindow, MountParams } from '../window/mount/params.js';
|
|
12
|
+
import type { Window } from '../window/window.js';
|
|
13
13
|
export interface Shell {
|
|
14
14
|
readonly parent: ParentChannel | null;
|
|
15
15
|
readonly children: ChildrenChannel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/shell/shell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../src/shell/shell.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAEjD,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CAAA;IACrC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAA;IAClC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B,kFAAkF;IAClF,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAC5B,kEAAkE;IAClE,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAA;IAChC,gFAAgF;IAChF,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAE5B,GAAG,CAAC,UAAU,EAAE,gBAAgB,GAAG,KAAK,CAAA;IACxC,SAAS,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,IAAI,CAAA;IAC/C,QAAQ,CAAC,CAAC,SAAS,MAAM,cAAc,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAA;IAE7F,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAA;IAClD,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,WAAW,CAAC,CAAA;IAE7F,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC,CAAA;IACtB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACzB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StandaloneConfig } from './config';
|
|
2
|
-
import type { Shell } from './shell';
|
|
1
|
+
import type { StandaloneConfig } from './config.js';
|
|
2
|
+
import type { Shell } from './shell.js';
|
|
3
3
|
export declare function createStandaloneShell(config: StandaloneConfig): Shell;
|
|
4
4
|
//# sourceMappingURL=standalone.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standalone.d.ts","sourceRoot":"","sources":["../../src/shell/standalone.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"standalone.d.ts","sourceRoot":"","sources":["../../src/shell/standalone.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAcvC,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,GAAG,KAAK,CA+ErE"}
|
package/dist/shell/standalone.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { createChildrenChannel } from '../channel/children';
|
|
2
|
-
import { createMessageObserver } from '../channel/observer';
|
|
3
|
-
import { createIntentPipeline } from '../intent/pipeline';
|
|
4
|
-
import { createIntentRouter } from '../intent/router';
|
|
5
|
-
import { createKernelFacade } from '../kernel/credential';
|
|
6
|
-
import { createKernelClientAdapter } from '../kernel/session';
|
|
7
|
-
import { createLifecycleController } from '../window/lifecycle/states';
|
|
8
|
-
import { createMountController } from '../window/mount/mount';
|
|
9
|
-
import { buildShellFacade } from './build';
|
|
1
|
+
import { createChildrenChannel } from '../channel/children.js';
|
|
2
|
+
import { createMessageObserver } from '../channel/observer.js';
|
|
3
|
+
import { createIntentPipeline } from '../intent/pipeline.js';
|
|
4
|
+
import { createIntentRouter } from '../intent/router.js';
|
|
5
|
+
import { createKernelFacade } from '../kernel/credential.js';
|
|
6
|
+
import { createKernelClientAdapter } from '../kernel/session.js';
|
|
7
|
+
import { createLifecycleController } from '../window/lifecycle/states.js';
|
|
8
|
+
import { createMountController } from '../window/mount/mount.js';
|
|
9
|
+
import { buildShellFacade } from './build.js';
|
|
10
10
|
const DEFAULT_ROOT_WINDOW_ID = 'root';
|
|
11
11
|
export function createStandaloneShell(config) {
|
|
12
12
|
const windowId = config.windowId ?? DEFAULT_ROOT_WINDOW_ID;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/window/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../src/window/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,MAAM,cAAc,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,SAAS,EAAE,WAAW,GAAG,QAAQ,CAAA;IAC1C,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAAA;IACzC;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;CACzC"}
|