@astrale-domains/shell 0.1.0-beta.35 → 0.1.0-beta.37
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 +7 -6
- package/dist/{application.d.ts → domain.d.ts} +9 -9
- package/dist/{application.js → domain.js} +4 -5
- package/dist/queries/application/read-installed-domain-origins.js +4 -6
- package/dist/runtime.d.ts +16 -16
- package/dist/schema/modules/application/functions/list-applications.d.ts +1 -1
- package/dist/schema/modules/group/classes/group.d.ts +2 -2
- package/dist/schema/modules/user/classes/user.d.ts +1 -1
- package/dist/schema/schema.d.ts +15 -15
- package/package.json +15 -6
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", {
|
|
@@ -20,7 +20,7 @@ declare const frontend: import("@astrale-os/sdk/view").Frontend<import("@astrale
|
|
|
20
20
|
user: string;
|
|
21
21
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
22
22
|
};
|
|
23
|
-
}, "authorized", true, false>>;
|
|
23
|
+
}, "authorized", true, false, undefined>>;
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
26
26
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -33,14 +33,14 @@ declare const frontend: import("@astrale-os/sdk/view").Frontend<import("@astrale
|
|
|
33
33
|
}, {
|
|
34
34
|
readonly mode: 'value';
|
|
35
35
|
readonly value: Record<string, never>;
|
|
36
|
-
}, "authorized", true, false>>;
|
|
36
|
+
}, "authorized", true, false, undefined>>;
|
|
37
37
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
38
38
|
member: string;
|
|
39
39
|
group: string;
|
|
40
40
|
}, {
|
|
41
41
|
readonly mode: 'value';
|
|
42
42
|
readonly value: Record<string, never>;
|
|
43
|
-
}, "authorized", true, false>>;
|
|
43
|
+
}, "authorized", true, false, undefined>>;
|
|
44
44
|
};
|
|
45
45
|
}>;
|
|
46
46
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -68,7 +68,7 @@ declare const frontend: import("@astrale-os/sdk/view").Frontend<import("@astrale
|
|
|
68
68
|
origin: string;
|
|
69
69
|
}[];
|
|
70
70
|
};
|
|
71
|
-
}, "authorized", false, false>>;
|
|
71
|
+
}, "authorized", false, false, undefined>>;
|
|
72
72
|
};
|
|
73
73
|
readonly policies: {
|
|
74
74
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -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;
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import { defineQuery, Query, queryResult, } from '@astrale-os/sdk/query';
|
|
2
|
-
import { K } from '@astrale-os/sdk/schema';
|
|
3
|
-
const origin = K.classes.Domain.properties.origin;
|
|
4
2
|
/** Every installed Domain origin this authority can read, in origin order. */
|
|
5
|
-
export const readInstalledDomainOrigins = defineQuery()(() => ({
|
|
3
|
+
export const readInstalledDomainOrigins = defineQuery()((domain) => ({
|
|
6
4
|
id: 'shell.application.domain-origins',
|
|
7
5
|
page: { size: 200 },
|
|
8
6
|
pagination: { maximumPages: 50 },
|
|
9
|
-
build: () => Query.from({ nodes: [
|
|
7
|
+
build: () => Query.from({ nodes: [domain.dependencies.kernel.classes.Domain] }).select({
|
|
10
8
|
kind: 'nodes',
|
|
11
9
|
projection: { kind: 'value' },
|
|
12
10
|
}),
|
|
13
11
|
project(pages) {
|
|
14
12
|
return queryResult
|
|
15
13
|
.completeNodeValues(pages, 'Installed Domains')
|
|
16
|
-
.map((
|
|
17
|
-
const value =
|
|
14
|
+
.map((installed) => {
|
|
15
|
+
const value = installed.props[domain.dependencies.kernel.classes.Domain.properties.origin.key];
|
|
18
16
|
if (typeof value !== 'string')
|
|
19
17
|
throw new TypeError('Installed Domain has no origin.');
|
|
20
18
|
return value;
|
package/dist/runtime.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
31
31
|
user: string;
|
|
32
32
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
33
33
|
};
|
|
34
|
-
}, "authorized", true, false>>;
|
|
34
|
+
}, "authorized", true, false, undefined>>;
|
|
35
35
|
};
|
|
36
36
|
}>;
|
|
37
37
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -44,14 +44,14 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
44
44
|
}, {
|
|
45
45
|
readonly mode: 'value';
|
|
46
46
|
readonly value: Record<string, never>;
|
|
47
|
-
}, "authorized", true, false>>;
|
|
47
|
+
}, "authorized", true, false, undefined>>;
|
|
48
48
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
49
49
|
member: string;
|
|
50
50
|
group: string;
|
|
51
51
|
}, {
|
|
52
52
|
readonly mode: 'value';
|
|
53
53
|
readonly value: Record<string, never>;
|
|
54
|
-
}, "authorized", true, false>>;
|
|
54
|
+
}, "authorized", true, false, undefined>>;
|
|
55
55
|
};
|
|
56
56
|
}>;
|
|
57
57
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -79,7 +79,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
79
79
|
origin: string;
|
|
80
80
|
}[];
|
|
81
81
|
};
|
|
82
|
-
}, "authorized", false, false>>;
|
|
82
|
+
}, "authorized", false, false, undefined>>;
|
|
83
83
|
};
|
|
84
84
|
readonly policies: {
|
|
85
85
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -146,7 +146,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
146
146
|
user: string;
|
|
147
147
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
148
148
|
};
|
|
149
|
-
}, "authorized", true, false>>;
|
|
149
|
+
}, "authorized", true, false, undefined>>;
|
|
150
150
|
};
|
|
151
151
|
}>;
|
|
152
152
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -159,14 +159,14 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
159
159
|
}, {
|
|
160
160
|
readonly mode: 'value';
|
|
161
161
|
readonly value: Record<string, never>;
|
|
162
|
-
}, "authorized", true, false>>;
|
|
162
|
+
}, "authorized", true, false, undefined>>;
|
|
163
163
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
164
164
|
member: string;
|
|
165
165
|
group: string;
|
|
166
166
|
}, {
|
|
167
167
|
readonly mode: 'value';
|
|
168
168
|
readonly value: Record<string, never>;
|
|
169
|
-
}, "authorized", true, false>>;
|
|
169
|
+
}, "authorized", true, false, undefined>>;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
172
172
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -194,7 +194,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
194
194
|
origin: string;
|
|
195
195
|
}[];
|
|
196
196
|
};
|
|
197
|
-
}, "authorized", false, false>>;
|
|
197
|
+
}, "authorized", false, false, undefined>>;
|
|
198
198
|
};
|
|
199
199
|
readonly policies: {
|
|
200
200
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -259,7 +259,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
259
259
|
user: string;
|
|
260
260
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
261
261
|
};
|
|
262
|
-
}, "authorized", true, false>>;
|
|
262
|
+
}, "authorized", true, false, undefined>>;
|
|
263
263
|
};
|
|
264
264
|
}>;
|
|
265
265
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -272,14 +272,14 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
272
272
|
}, {
|
|
273
273
|
readonly mode: 'value';
|
|
274
274
|
readonly value: Record<string, never>;
|
|
275
|
-
}, "authorized", true, false>>;
|
|
275
|
+
}, "authorized", true, false, undefined>>;
|
|
276
276
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
277
277
|
member: string;
|
|
278
278
|
group: string;
|
|
279
279
|
}, {
|
|
280
280
|
readonly mode: 'value';
|
|
281
281
|
readonly value: Record<string, never>;
|
|
282
|
-
}, "authorized", true, false>>;
|
|
282
|
+
}, "authorized", true, false, undefined>>;
|
|
283
283
|
};
|
|
284
284
|
}>;
|
|
285
285
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -307,7 +307,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
307
307
|
origin: string;
|
|
308
308
|
}[];
|
|
309
309
|
};
|
|
310
|
-
}, "authorized", false, false>>;
|
|
310
|
+
}, "authorized", false, false, undefined>>;
|
|
311
311
|
};
|
|
312
312
|
readonly policies: {
|
|
313
313
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -372,7 +372,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
372
372
|
user: string;
|
|
373
373
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
374
374
|
};
|
|
375
|
-
}, "authorized", true, false>>;
|
|
375
|
+
}, "authorized", true, false, undefined>>;
|
|
376
376
|
};
|
|
377
377
|
}>;
|
|
378
378
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -385,14 +385,14 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
385
385
|
}, {
|
|
386
386
|
readonly mode: 'value';
|
|
387
387
|
readonly value: Record<string, never>;
|
|
388
|
-
}, "authorized", true, false>>;
|
|
388
|
+
}, "authorized", true, false, undefined>>;
|
|
389
389
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
390
390
|
member: string;
|
|
391
391
|
group: string;
|
|
392
392
|
}, {
|
|
393
393
|
readonly mode: 'value';
|
|
394
394
|
readonly value: Record<string, never>;
|
|
395
|
-
}, "authorized", true, false>>;
|
|
395
|
+
}, "authorized", true, false, undefined>>;
|
|
396
396
|
};
|
|
397
397
|
}>;
|
|
398
398
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -420,7 +420,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
|
|
|
420
420
|
origin: string;
|
|
421
421
|
}[];
|
|
422
422
|
};
|
|
423
|
-
}, "authorized", false, false>>;
|
|
423
|
+
}, "authorized", false, false, undefined>>;
|
|
424
424
|
};
|
|
425
425
|
readonly policies: {
|
|
426
426
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -8,13 +8,13 @@ export declare const Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
|
8
8
|
}, {
|
|
9
9
|
readonly mode: 'value';
|
|
10
10
|
readonly value: Record<string, never>;
|
|
11
|
-
}, "authorized", true, false>>;
|
|
11
|
+
}, "authorized", true, false, undefined>>;
|
|
12
12
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
13
13
|
member: string;
|
|
14
14
|
group: string;
|
|
15
15
|
}, {
|
|
16
16
|
readonly mode: 'value';
|
|
17
17
|
readonly value: Record<string, never>;
|
|
18
|
-
}, "authorized", true, false>>;
|
|
18
|
+
}, "authorized", true, false, undefined>>;
|
|
19
19
|
};
|
|
20
20
|
}>;
|
|
@@ -16,6 +16,6 @@ export declare const User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
|
16
16
|
user: string;
|
|
17
17
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
18
18
|
};
|
|
19
|
-
}, "authorized", true, false>>;
|
|
19
|
+
}, "authorized", true, false, undefined>>;
|
|
20
20
|
};
|
|
21
21
|
}>;
|
package/dist/schema/schema.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare const classes: {
|
|
|
18
18
|
user: string;
|
|
19
19
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
20
20
|
};
|
|
21
|
-
}, "authorized", true, false>>;
|
|
21
|
+
}, "authorized", true, false, undefined>>;
|
|
22
22
|
};
|
|
23
23
|
}>;
|
|
24
24
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -31,14 +31,14 @@ declare const classes: {
|
|
|
31
31
|
}, {
|
|
32
32
|
readonly mode: 'value';
|
|
33
33
|
readonly value: Record<string, never>;
|
|
34
|
-
}, "authorized", true, false>>;
|
|
34
|
+
}, "authorized", true, false, undefined>>;
|
|
35
35
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
36
36
|
member: string;
|
|
37
37
|
group: string;
|
|
38
38
|
}, {
|
|
39
39
|
readonly mode: 'value';
|
|
40
40
|
readonly value: Record<string, never>;
|
|
41
|
-
}, "authorized", true, false>>;
|
|
41
|
+
}, "authorized", true, false, undefined>>;
|
|
42
42
|
};
|
|
43
43
|
}>;
|
|
44
44
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -81,7 +81,7 @@ declare const input: {
|
|
|
81
81
|
user: string;
|
|
82
82
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
83
83
|
};
|
|
84
|
-
}, "authorized", true, false>>;
|
|
84
|
+
}, "authorized", true, false, undefined>>;
|
|
85
85
|
};
|
|
86
86
|
}>;
|
|
87
87
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -94,14 +94,14 @@ declare const input: {
|
|
|
94
94
|
}, {
|
|
95
95
|
readonly mode: 'value';
|
|
96
96
|
readonly value: Record<string, never>;
|
|
97
|
-
}, "authorized", true, false>>;
|
|
97
|
+
}, "authorized", true, false, undefined>>;
|
|
98
98
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
99
99
|
member: string;
|
|
100
100
|
group: string;
|
|
101
101
|
}, {
|
|
102
102
|
readonly mode: 'value';
|
|
103
103
|
readonly value: Record<string, never>;
|
|
104
|
-
}, "authorized", true, false>>;
|
|
104
|
+
}, "authorized", true, false, undefined>>;
|
|
105
105
|
};
|
|
106
106
|
}>;
|
|
107
107
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -129,7 +129,7 @@ declare const input: {
|
|
|
129
129
|
origin: string;
|
|
130
130
|
}[];
|
|
131
131
|
};
|
|
132
|
-
}, "authorized", false, false>>;
|
|
132
|
+
}, "authorized", false, false, undefined>>;
|
|
133
133
|
};
|
|
134
134
|
readonly policies: {
|
|
135
135
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -168,7 +168,7 @@ export declare const ShellSchema: import("@astrale-os/sdk/schema").AuthoredSchem
|
|
|
168
168
|
user: string;
|
|
169
169
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
170
170
|
};
|
|
171
|
-
}, "authorized", true, false>>;
|
|
171
|
+
}, "authorized", true, false, undefined>>;
|
|
172
172
|
};
|
|
173
173
|
}>;
|
|
174
174
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -181,14 +181,14 @@ export declare const ShellSchema: import("@astrale-os/sdk/schema").AuthoredSchem
|
|
|
181
181
|
}, {
|
|
182
182
|
readonly mode: 'value';
|
|
183
183
|
readonly value: Record<string, never>;
|
|
184
|
-
}, "authorized", true, false>>;
|
|
184
|
+
}, "authorized", true, false, undefined>>;
|
|
185
185
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
186
186
|
member: string;
|
|
187
187
|
group: string;
|
|
188
188
|
}, {
|
|
189
189
|
readonly mode: 'value';
|
|
190
190
|
readonly value: Record<string, never>;
|
|
191
|
-
}, "authorized", true, false>>;
|
|
191
|
+
}, "authorized", true, false, undefined>>;
|
|
192
192
|
};
|
|
193
193
|
}>;
|
|
194
194
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -216,7 +216,7 @@ export declare const ShellSchema: import("@astrale-os/sdk/schema").AuthoredSchem
|
|
|
216
216
|
origin: string;
|
|
217
217
|
}[];
|
|
218
218
|
};
|
|
219
|
-
}, "authorized", false, false>>;
|
|
219
|
+
}, "authorized", false, false, undefined>>;
|
|
220
220
|
};
|
|
221
221
|
readonly policies: {
|
|
222
222
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
@@ -257,7 +257,7 @@ export declare const S: schema.ResolvedDomainOf<import("@astrale-os/sdk/schema")
|
|
|
257
257
|
user: string;
|
|
258
258
|
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
259
259
|
};
|
|
260
|
-
}, "authorized", true, false>>;
|
|
260
|
+
}, "authorized", true, false, undefined>>;
|
|
261
261
|
};
|
|
262
262
|
}>;
|
|
263
263
|
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
@@ -270,14 +270,14 @@ export declare const S: schema.ResolvedDomainOf<import("@astrale-os/sdk/schema")
|
|
|
270
270
|
}, {
|
|
271
271
|
readonly mode: 'value';
|
|
272
272
|
readonly value: Record<string, never>;
|
|
273
|
-
}, "authorized", true, false>>;
|
|
273
|
+
}, "authorized", true, false, undefined>>;
|
|
274
274
|
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
275
275
|
member: string;
|
|
276
276
|
group: string;
|
|
277
277
|
}, {
|
|
278
278
|
readonly mode: 'value';
|
|
279
279
|
readonly value: Record<string, never>;
|
|
280
|
-
}, "authorized", true, false>>;
|
|
280
|
+
}, "authorized", true, false, undefined>>;
|
|
281
281
|
};
|
|
282
282
|
}>;
|
|
283
283
|
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
@@ -305,7 +305,7 @@ export declare const S: schema.ResolvedDomainOf<import("@astrale-os/sdk/schema")
|
|
|
305
305
|
origin: string;
|
|
306
306
|
}[];
|
|
307
307
|
};
|
|
308
|
-
}, "authorized", false, false>>;
|
|
308
|
+
}, "authorized", false, false, undefined>>;
|
|
309
309
|
};
|
|
310
310
|
readonly policies: {
|
|
311
311
|
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
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.37",
|
|
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,16 +58,25 @@
|
|
|
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.14",
|
|
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
|
},
|
|
69
78
|
"peerDependencies": {
|
|
70
|
-
"@astrale-os/sdk": ">=0.6.0-beta.
|
|
79
|
+
"@astrale-os/sdk": ">=0.6.0-beta.4 <1.0.0"
|
|
71
80
|
},
|
|
72
81
|
"devEngines": {
|
|
73
82
|
"runtime": {
|