@astrale-domains/shell 0.1.0-beta.36 → 0.1.0-beta.38
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/README.md
CHANGED
|
@@ -88,11 +88,12 @@ The Shell principal requests all Kernel root functions, the required extends_wit
|
|
|
88
88
|
and the declared grant/revoke authority. Core admin receives the full declared Shell profile,
|
|
89
89
|
including invite, assignMember and unassignMember so humans inheriting admin can call those methods.
|
|
90
90
|
Core member receives Introspect, Query, Mutate and View.resolve, not blanket class-read grants.
|
|
91
|
-
|
|
91
|
+
The Domain definition's requirements, including Core Identity capabilities in requirements.core, are owned by domain.ts and materialized by installation,
|
|
92
92
|
never by invitation handlers.
|
|
93
93
|
|
|
94
|
-
The sole application entrypoint uses the Vite frontend at
|
|
95
|
-
|
|
94
|
+
The sole application entrypoint uses the Vite React frontend at /, composed with
|
|
95
|
+
`@astrale-os/shell-react` and `@astrale-os/ui`. It lists visible User/Group families in two tabs
|
|
96
|
+
under the caller's session, with loading/empty/error states and independent refresh.
|
|
96
97
|
Users display their concrete class and Node ID, not a guessed foreign profile.
|
|
97
98
|
It does not proxy privileged directory reads or enumerate installed applications.
|
|
98
99
|
|
|
@@ -104,7 +105,7 @@ directory surface. Runtime has one default export and binds the three static Wor
|
|
|
104
105
|
The Dataset is referenced lazily by the root astrale.config.ts.
|
|
105
106
|
|
|
106
107
|
Domain authors import Schema from @astrale-domains/shell; platform workers use the explicit
|
|
107
|
-
/
|
|
108
|
+
/domain and /runtime exports. Creation/registration, installation authority, invitation
|
|
108
109
|
delivery, runtime replay and browser rendering are separate qualification boundaries.
|
|
109
110
|
The redesigned Admin composition, published Register cohort and real invitation/instance-create
|
|
110
111
|
journeys remain release gates; this source README is not evidence that those gates passed.
|
|
@@ -112,8 +113,8 @@ journeys remain release gates; this source README is not evidence that those gat
|
|
|
112
113
|
### Publication boundary
|
|
113
114
|
|
|
114
115
|
`@astrale-domains/shell` is an executable platform package and a deliberate exception to the normal
|
|
115
|
-
Domain publication product. It publishes the remote Shell
|
|
116
|
-
Worker deployments through the explicit `./
|
|
116
|
+
Domain publication product. It publishes the remote Shell Domain definition and runtime needed by platform
|
|
117
|
+
Worker deployments through the explicit `./domain` and `./runtime` subpaths, while its root remains
|
|
117
118
|
Schema-only. Its build therefore compiles the explicit roots in `tsconfig.package.json` and applies
|
|
118
119
|
Shell-owned normalization and checks to the emitted platform closure. Source-only `#` aliases are
|
|
119
120
|
rewritten to relative JS and declaration references so consumer path mappings cannot capture private Shell
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type DomainDefinition } from '@astrale-os/sdk/domain';
|
|
2
2
|
import { ShellSchema } from './schema/index.js';
|
|
3
3
|
import { type ShellRuntime } from './runtime.js';
|
|
4
4
|
declare const frontend: import("@astrale-os/sdk/view").Frontend<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
@@ -89,7 +89,7 @@ declare const frontend: import("@astrale-os/sdk/view").Frontend<import("@astrale
|
|
|
89
89
|
}, {
|
|
90
90
|
readonly kernel: "kernel.astrale.ai";
|
|
91
91
|
}]>>;
|
|
92
|
-
declare const
|
|
93
|
-
export type
|
|
94
|
-
export declare const
|
|
95
|
-
export
|
|
92
|
+
declare const domainRequirements: import("@astrale-os/sdk/domain").Requirements;
|
|
93
|
+
export type ShellDomain = DomainDefinition<typeof ShellSchema, ShellRuntime, typeof frontend, undefined, typeof domainRequirements>;
|
|
94
|
+
export declare const domain: ShellDomain;
|
|
95
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineDomain, defineFrontend, vite, requirements, } from '@astrale-os/sdk/domain';
|
|
2
2
|
import { K, KernelRootFunctions } from '@astrale-os/sdk/schema';
|
|
3
3
|
import { ShellSchema, S } from './schema/index.js';
|
|
4
4
|
import runtime, {} from './runtime.js';
|
|
@@ -8,7 +8,7 @@ const frontend = defineFrontend({
|
|
|
8
8
|
routes: { application: { path: '/', handshake: 'shell' } },
|
|
9
9
|
entrypoint: 'application',
|
|
10
10
|
});
|
|
11
|
-
const
|
|
11
|
+
const domainRequirements = requirements({
|
|
12
12
|
// Sujet implicite : le principal installé Shell, utilisé par kernel.self.
|
|
13
13
|
functions: KernelRootFunctions,
|
|
14
14
|
classes: [
|
|
@@ -65,10 +65,9 @@ const applicationRequirements = requirements({
|
|
|
65
65
|
},
|
|
66
66
|
],
|
|
67
67
|
});
|
|
68
|
-
export const
|
|
68
|
+
export const domain = defineDomain({
|
|
69
69
|
schema: ShellSchema,
|
|
70
70
|
runtime,
|
|
71
71
|
frontend,
|
|
72
|
-
requirements:
|
|
72
|
+
requirements: domainRequirements,
|
|
73
73
|
});
|
|
74
|
-
export default application;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-domains/shell",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.38",
|
|
4
4
|
"description": "Astrale Shell Domain schema and remote product implementation",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"types": "./dist/index.d.ts",
|
|
40
40
|
"import": "./dist/index.js"
|
|
41
41
|
},
|
|
42
|
-
"./
|
|
43
|
-
"types": "./dist/
|
|
44
|
-
"import": "./dist/
|
|
42
|
+
"./domain": {
|
|
43
|
+
"types": "./dist/domain.d.ts",
|
|
44
|
+
"import": "./dist/domain.js"
|
|
45
45
|
},
|
|
46
46
|
"./runtime": {
|
|
47
47
|
"types": "./dist/runtime.d.ts",
|
|
@@ -58,11 +58,20 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@astrale-os/ox": "0.1.4",
|
|
61
|
-
"@astrale-os/sdk": "0.6.0-beta.
|
|
61
|
+
"@astrale-os/sdk": "0.6.0-beta.17",
|
|
62
|
+
"@astrale-os/shell-react": ">=0.5.0-beta.7 <1.0.0",
|
|
63
|
+
"@astrale-os/ui": "0.3.0-beta.32",
|
|
62
64
|
"@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~2.0.0",
|
|
65
|
+
"@testing-library/dom": "10.4.1",
|
|
66
|
+
"@testing-library/react": "16.3.2",
|
|
63
67
|
"@types/node": "26.2.0",
|
|
68
|
+
"@types/react": "19.2.18",
|
|
69
|
+
"@types/react-dom": "19.2.4",
|
|
70
|
+
"@vitejs/plugin-react": "6.0.5",
|
|
64
71
|
"happy-dom": "20.11.2",
|
|
65
72
|
"oxlint": "1.78.0",
|
|
73
|
+
"react": "19.2.8",
|
|
74
|
+
"react-dom": "19.2.8",
|
|
66
75
|
"typescript": "7.0.2",
|
|
67
76
|
"vitest": "5.0.1"
|
|
68
77
|
},
|