@astrale-domains/shell 0.1.0-beta.8 → 0.1.1
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 +264 -64
- package/dist/domain.d.ts +225 -0
- package/dist/domain.js +96 -0
- package/dist/functions/application/index.js +1 -0
- package/dist/functions/application/list-entrypoints.js +6 -0
- package/dist/functions/group/assign-member-to-group.js +4 -0
- package/dist/functions/group/change-group-membership.js +34 -0
- package/dist/functions/group/group-membership-errors.js +23 -0
- package/dist/functions/group/index.js +2 -0
- package/dist/functions/group/unassign-member-from-group.js +4 -0
- package/dist/functions/namespace/index.js +3 -0
- package/dist/functions/namespace/link.js +30 -0
- package/dist/functions/namespace/namespace-errors.js +28 -0
- package/dist/functions/namespace/namespace-name.js +13 -0
- package/dist/functions/namespace/rename.js +31 -0
- package/dist/functions/namespace/unlink.js +21 -0
- package/dist/functions/user/index.js +2 -0
- package/dist/functions/user/invite-user.js +39 -0
- package/dist/functions/user/record-profile.js +18 -0
- package/dist/functions/view-access/assign-views.js +86 -0
- package/dist/functions/view-access/index.js +1 -0
- package/dist/functions/view-access/view-access-errors.js +28 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/integrations/index.d.ts +1 -0
- package/dist/integrations/index.js +1 -0
- package/dist/integrations/integrations.d.ts +9 -0
- package/dist/integrations/integrations.js +2 -0
- package/dist/integrations/user-invitation/index.d.ts +4 -0
- package/dist/integrations/user-invitation/index.js +3 -0
- package/dist/integrations/user-invitation/invitation-request-failure.d.ts +5 -0
- package/dist/integrations/user-invitation/invitation-request-failure.js +9 -0
- package/dist/integrations/user-invitation/invite-user-request.d.ts +6 -0
- package/dist/integrations/user-invitation/invite-user-request.js +1 -0
- package/dist/integrations/user-invitation/request-user-invitation.d.ts +8 -0
- package/dist/integrations/user-invitation/request-user-invitation.js +9 -0
- package/dist/mutations/group/index.js +1 -1
- package/dist/mutations/group/set-group-membership.js +29 -0
- package/dist/mutations/namespace/alias-write.js +22 -0
- package/dist/mutations/namespace/index.js +3 -0
- package/dist/mutations/namespace/link-alias.js +15 -0
- package/dist/mutations/namespace/rename-alias.js +13 -0
- package/dist/mutations/namespace/unlink-alias.js +13 -0
- package/dist/mutations/user/index.js +1 -1
- package/dist/mutations/user/record-user-profile.js +13 -0
- package/dist/mutations/view-access/index.js +1 -0
- package/dist/mutations/view-access/set-view-access.js +29 -0
- package/dist/providers/admin-enrollment/create-admin-enrollment-provider.js +78 -0
- package/dist/providers/admin-enrollment/decode-admin-invitation-response.js +20 -0
- package/dist/providers/admin-enrollment/index.js +1 -0
- package/dist/providers/admin-enrollment/read-enrollment-response.js +34 -0
- package/dist/queries/application/index.js +1 -0
- package/dist/queries/application/read-installed-entrypoints.js +28 -0
- package/dist/queries/group/index.js +2 -0
- package/dist/queries/group/read-group-membership-endpoints.js +18 -0
- package/dist/queries/group/read-group-membership.js +35 -0
- package/dist/queries/namespace/index.js +2 -0
- package/dist/queries/namespace/read-designated-node.js +12 -0
- package/dist/queries/namespace/read-view-aliases.js +46 -0
- package/dist/queries/user/index.js +1 -5
- package/dist/queries/user/read-user-profile.js +9 -0
- package/dist/queries/view-access/index.js +1 -0
- package/dist/queries/view-access/read-view-access.js +35 -0
- package/dist/runtime.d.ts +2175 -3
- package/dist/runtime.js +24 -14
- package/dist/schema/index.d.ts +7 -6
- package/dist/schema/index.js +6 -6
- package/dist/schema/modules/application/functions/index.d.ts +1 -0
- package/dist/schema/modules/application/functions/index.js +1 -0
- package/dist/schema/modules/application/functions/list-entrypoints.d.ts +15 -0
- package/dist/schema/modules/application/functions/list-entrypoints.js +16 -0
- package/dist/schema/modules/application/index.d.ts +2 -0
- package/dist/schema/modules/application/index.js +2 -0
- package/dist/schema/modules/application/types/entrypoint-entry.d.ts +8 -0
- package/dist/schema/modules/application/types/entrypoint-entry.js +7 -0
- package/dist/schema/modules/application/types/index.d.ts +1 -0
- package/dist/schema/modules/application/types/index.js +1 -0
- package/dist/schema/modules/group/classes/group.d.ts +24 -0
- package/dist/schema/modules/group/classes/group.js +11 -0
- package/dist/schema/modules/group/classes/index.d.ts +2 -0
- package/dist/schema/modules/group/classes/index.js +2 -0
- package/dist/schema/modules/group/classes/member-of-group.d.ts +30 -0
- package/dist/schema/modules/group/classes/member-of-group.js +12 -0
- package/dist/schema/modules/group/core/administrators-group.d.ts +1 -0
- package/dist/schema/modules/group/core/administrators-group.js +6 -0
- package/dist/schema/modules/group/core/applications-group.d.ts +1 -0
- package/dist/schema/modules/group/core/applications-group.js +6 -0
- package/dist/schema/modules/group/core/index.d.ts +3 -0
- package/dist/schema/modules/group/core/index.js +3 -0
- package/dist/schema/modules/group/core/members-group.d.ts +1 -0
- package/dist/schema/modules/group/core/members-group.js +6 -0
- package/dist/schema/modules/group/functions/assign-member-to-group.js +11 -0
- package/dist/schema/modules/group/functions/index.js +2 -0
- package/dist/schema/modules/group/functions/unassign-member-from-group.js +11 -0
- package/dist/schema/modules/group/index.d.ts +3 -0
- package/dist/schema/modules/group/index.js +3 -0
- package/dist/schema/modules/group/policies/belongs-to-group.d.ts +1 -0
- package/dist/schema/modules/group/policies/belongs-to-group.js +5 -0
- package/dist/schema/modules/group/policies/index.d.ts +1 -0
- package/dist/schema/modules/group/policies/index.js +1 -0
- package/dist/schema/modules/group/types/group-membership-input.js +8 -0
- package/dist/schema/modules/group/types/index.js +1 -0
- package/dist/schema/modules/namespace/classes/alias.d.ts +31 -0
- package/dist/schema/modules/namespace/classes/alias.js +13 -0
- package/dist/schema/modules/namespace/classes/index.d.ts +2 -0
- package/dist/schema/modules/namespace/classes/index.js +2 -0
- package/dist/schema/modules/namespace/classes/namespace.d.ts +31 -0
- package/dist/schema/modules/namespace/classes/namespace.js +10 -0
- package/dist/schema/modules/namespace/core/index.d.ts +1 -0
- package/dist/schema/modules/namespace/core/index.js +1 -0
- package/dist/schema/modules/namespace/core/views-namespace.d.ts +2 -0
- package/dist/schema/modules/namespace/core/views-namespace.js +7 -0
- package/dist/schema/modules/namespace/functions/index.js +3 -0
- package/dist/schema/modules/namespace/functions/link.js +11 -0
- package/dist/schema/modules/namespace/functions/rename.js +11 -0
- package/dist/schema/modules/namespace/functions/unlink.js +11 -0
- package/dist/schema/modules/namespace/index.d.ts +2 -0
- package/dist/schema/modules/namespace/index.js +2 -0
- package/dist/schema/modules/namespace/types/index.js +1 -0
- package/dist/schema/modules/namespace/types/namespace-name.js +7 -0
- package/dist/schema/modules/user/classes/index.d.ts +1 -0
- package/dist/schema/modules/user/classes/index.js +1 -0
- package/dist/schema/modules/user/classes/user.d.ts +34 -0
- package/dist/schema/modules/user/classes/user.js +21 -0
- package/dist/schema/modules/user/functions/index.js +2 -0
- package/dist/schema/modules/user/functions/invite-user.js +12 -0
- package/dist/schema/modules/user/functions/record-profile.js +14 -0
- package/dist/schema/modules/user/index.d.ts +2 -0
- package/dist/schema/modules/user/index.js +2 -0
- package/dist/schema/modules/user/types/index.d.ts +2 -0
- package/dist/schema/modules/user/types/index.js +2 -0
- package/dist/schema/modules/user/types/invitation-summary.d.ts +16 -0
- package/dist/schema/modules/user/types/invitation-summary.js +15 -0
- package/dist/schema/modules/user/types/user-profile.d.ts +7 -0
- package/dist/schema/modules/user/types/user-profile.js +7 -0
- package/dist/schema/modules/view-access/classes/index.d.ts +1 -0
- package/dist/schema/modules/view-access/classes/index.js +1 -0
- package/dist/schema/modules/view-access/classes/view-access.d.ts +32 -0
- package/dist/schema/modules/view-access/classes/view-access.js +18 -0
- package/dist/schema/modules/view-access/core/index.d.ts +1 -0
- package/dist/schema/modules/view-access/core/index.js +1 -0
- package/dist/schema/modules/view-access/core/view-only-group.d.ts +5 -0
- package/dist/schema/modules/view-access/core/view-only-group.js +10 -0
- package/dist/schema/modules/view-access/functions/assign-views.d.ts +16 -0
- package/dist/schema/modules/view-access/functions/assign-views.js +17 -0
- package/dist/schema/modules/view-access/functions/index.d.ts +1 -0
- package/dist/schema/modules/view-access/functions/index.js +1 -0
- package/dist/schema/modules/view-access/index.d.ts +3 -0
- package/dist/schema/modules/view-access/index.js +3 -0
- package/dist/schema/modules/view-access/types/index.js +1 -0
- package/dist/schema/modules/view-access/types/view-assignment.js +16 -0
- package/dist/schema/policies/administers-shell-class.js +11 -0
- package/dist/schema/policies/index.js +4 -0
- package/dist/schema/policies/is-self.js +5 -0
- package/dist/schema/policies/owns-class.js +7 -0
- package/dist/schema/policies/uses-function.js +5 -0
- package/dist/schema/schema.d.ts +833 -0
- package/dist/schema/schema.js +35 -0
- package/dist/schema/views/application-view.js +4 -0
- package/dist/schema/views/index.js +1 -0
- package/dist/utils/canonical-node-path/index.js +1 -0
- package/dist/utils/canonical-node-path/parse-canonical-node-path.js +8 -0
- package/package.json +50 -10
- package/dist/actions/index.js +0 -1
- package/dist/actions/user/index.js +0 -1
- package/dist/actions/user/resolve-home.js +0 -19
- package/dist/application.d.ts +0 -5
- package/dist/application.js +0 -29
- package/dist/mutations/group/membership.js +0 -21
- package/dist/mutations/space/access.js +0 -25
- package/dist/mutations/space/default.js +0 -25
- package/dist/mutations/space/index.js +0 -2
- package/dist/mutations/user/repair.js +0 -85
- package/dist/queries/space/access.js +0 -14
- package/dist/queries/space/admin.js +0 -27
- package/dist/queries/space/index.js +0 -3
- package/dist/queries/space/member.js +0 -24
- package/dist/queries/user/groups.js +0 -24
- package/dist/queries/user/home.js +0 -28
- package/dist/queries/user/owned-spaces.js +0 -24
- package/dist/queries/user/profile.js +0 -17
- package/dist/queries/user/setup.js +0 -18
- package/dist/schema/domain/index.d.ts +0 -26911
- package/dist/schema/domain/index.js +0 -40
- package/dist/schema/group/class.d.ts +0 -3288
- package/dist/schema/group/class.js +0 -7
- package/dist/schema/group/core.d.ts +0 -14
- package/dist/schema/group/core.js +0 -14
- package/dist/schema/group/index.d.ts +0 -6
- package/dist/schema/group/index.js +0 -6
- package/dist/schema/group/methods.d.ts +0 -2059
- package/dist/schema/group/methods.js +0 -21
- package/dist/schema/group/policies.d.ts +0 -1
- package/dist/schema/group/policies.js +0 -6
- package/dist/schema/group/relationships.d.ts +0 -4313
- package/dist/schema/group/relationships.js +0 -8
- package/dist/schema/group/view.d.ts +0 -3291
- package/dist/schema/group/view.js +0 -6
- package/dist/schema/home/index.d.ts +0 -1
- package/dist/schema/home/index.js +0 -1
- package/dist/schema/home/view.d.ts +0 -3
- package/dist/schema/home/view.js +0 -4
- package/dist/schema/setup/functions.d.ts +0 -47
- package/dist/schema/setup/functions.js +0 -27
- package/dist/schema/setup/index.d.ts +0 -1
- package/dist/schema/setup/index.js +0 -1
- package/dist/schema/space/class.d.ts +0 -2313
- package/dist/schema/space/class.js +0 -11
- package/dist/schema/space/core.d.ts +0 -22520
- package/dist/schema/space/core.js +0 -15
- package/dist/schema/space/index.d.ts +0 -6
- package/dist/schema/space/index.js +0 -6
- package/dist/schema/space/methods.d.ts +0 -2089
- package/dist/schema/space/methods.js +0 -30
- package/dist/schema/space/policies.d.ts +0 -4
- package/dist/schema/space/policies.js +0 -21
- package/dist/schema/space/relationships.d.ts +0 -23213
- package/dist/schema/space/relationships.js +0 -24
- package/dist/schema/space/view.d.ts +0 -2316
- package/dist/schema/space/view.js +0 -6
- package/dist/schema/user/class.d.ts +0 -1015
- package/dist/schema/user/class.js +0 -11
- package/dist/schema/user/index.d.ts +0 -3
- package/dist/schema/user/index.js +0 -3
- package/dist/schema/user/methods.d.ts +0 -14
- package/dist/schema/user/methods.js +0 -11
- package/dist/schema/user/view.d.ts +0 -1017
- package/dist/schema/user/view.js +0 -6
- package/dist/workflows/group/assign.js +0 -3
- package/dist/workflows/group/change.js +0 -31
- package/dist/workflows/group/index.js +0 -3
- package/dist/workflows/group/unassign.js +0 -3
- package/dist/workflows/index.js +0 -3
- package/dist/workflows/setup/admin.js +0 -3
- package/dist/workflows/setup/index.js +0 -5
- package/dist/workflows/setup/member.js +0 -3
- package/dist/workflows/setup/plan.js +0 -88
- package/dist/workflows/setup/provision.js +0 -57
- package/dist/workflows/setup/run.js +0 -74
- package/dist/workflows/space/access.js +0 -41
- package/dist/workflows/space/add.js +0 -3
- package/dist/workflows/space/default.js +0 -37
- package/dist/workflows/space/index.js +0 -4
- package/dist/workflows/space/remove.js +0 -3
package/dist/runtime.d.ts
CHANGED
|
@@ -1,4 +1,2176 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { type Runtime } from '@astrale-os/sdk/runtime';
|
|
2
|
+
import type { ShellSchema } from './schema/index.js';
|
|
3
|
+
import { integrations } from './integrations/index.js';
|
|
4
|
+
declare const initialize: (environment: unknown) => {
|
|
5
|
+
providers: {
|
|
6
|
+
enrollment: import("@astrale-os/sdk/integration").Provider<import("@astrale-os/sdk/integration").IntegrationDefinition<"shell.enrollment", {
|
|
7
|
+
invite: import("@astrale-os/sdk/integration").IntegrationOperation<import("./integrations/user-invitation/index.js").InviteRequest, {
|
|
8
|
+
invitationId: string;
|
|
9
|
+
user: string;
|
|
10
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
11
|
+
}, "keyed" | "safe">;
|
|
12
|
+
}>>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
16
|
+
readonly name: 'Shell';
|
|
17
|
+
readonly entrypoint: 'application';
|
|
18
|
+
readonly classes: {
|
|
19
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
20
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
21
|
+
readonly inheritance: "open";
|
|
22
|
+
readonly policies: {
|
|
23
|
+
readonly read: true;
|
|
24
|
+
};
|
|
25
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
26
|
+
readonly properties: {
|
|
27
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
28
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30
|
+
};
|
|
31
|
+
readonly methods: {
|
|
32
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
33
|
+
user: string;
|
|
34
|
+
email: string;
|
|
35
|
+
}, {
|
|
36
|
+
readonly mode: 'value';
|
|
37
|
+
readonly value: {
|
|
38
|
+
invitationId: string;
|
|
39
|
+
user: string;
|
|
40
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
41
|
+
};
|
|
42
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
43
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
44
|
+
email?: string | undefined;
|
|
45
|
+
displayName?: string | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
readonly mode: 'value';
|
|
48
|
+
readonly value: Record<string, never>;
|
|
49
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
50
|
+
};
|
|
51
|
+
}>;
|
|
52
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
53
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
54
|
+
readonly inheritance: "open";
|
|
55
|
+
readonly policies: {
|
|
56
|
+
readonly read: true;
|
|
57
|
+
};
|
|
58
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
59
|
+
readonly methods: {
|
|
60
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
61
|
+
member: string;
|
|
62
|
+
group: string;
|
|
63
|
+
}, {
|
|
64
|
+
readonly mode: 'value';
|
|
65
|
+
readonly value: Record<string, never>;
|
|
66
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
67
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
68
|
+
member: string;
|
|
69
|
+
group: string;
|
|
70
|
+
}, {
|
|
71
|
+
readonly mode: 'value';
|
|
72
|
+
readonly value: Record<string, never>;
|
|
73
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
77
|
+
readonly depth: 0;
|
|
78
|
+
readonly abstract: false;
|
|
79
|
+
readonly extends: readonly [];
|
|
80
|
+
readonly properties: never;
|
|
81
|
+
readonly source: {
|
|
82
|
+
readonly as: "member";
|
|
83
|
+
readonly accepts: readonly (() => {
|
|
84
|
+
readonly kind: 'node';
|
|
85
|
+
readonly abstract: never;
|
|
86
|
+
readonly depth: never;
|
|
87
|
+
readonly properties: never;
|
|
88
|
+
readonly methods: never;
|
|
89
|
+
})[];
|
|
90
|
+
readonly outgoing: "0..*";
|
|
91
|
+
};
|
|
92
|
+
readonly target: {
|
|
93
|
+
readonly as: "group";
|
|
94
|
+
readonly accepts: readonly (() => {
|
|
95
|
+
readonly kind: 'node';
|
|
96
|
+
readonly abstract: never;
|
|
97
|
+
readonly depth: never;
|
|
98
|
+
readonly properties: never;
|
|
99
|
+
readonly methods: never;
|
|
100
|
+
})[];
|
|
101
|
+
readonly incoming: "0..*";
|
|
102
|
+
};
|
|
103
|
+
readonly constraints: Record<never, never>;
|
|
104
|
+
readonly effectiveProperties: never;
|
|
105
|
+
}>;
|
|
106
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
107
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
108
|
+
readonly policies: {
|
|
109
|
+
readonly read: true;
|
|
110
|
+
readonly traverse: true;
|
|
111
|
+
};
|
|
112
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
113
|
+
readonly methods: {
|
|
114
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
115
|
+
name: string;
|
|
116
|
+
target: string;
|
|
117
|
+
}, {
|
|
118
|
+
readonly mode: 'value';
|
|
119
|
+
readonly value: Record<string, never>;
|
|
120
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
121
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
122
|
+
name: string;
|
|
123
|
+
}, {
|
|
124
|
+
readonly mode: 'value';
|
|
125
|
+
readonly value: Record<string, never>;
|
|
126
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
127
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
128
|
+
name: string;
|
|
129
|
+
to: string;
|
|
130
|
+
}, {
|
|
131
|
+
readonly mode: 'value';
|
|
132
|
+
readonly value: Record<string, never>;
|
|
133
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
134
|
+
};
|
|
135
|
+
}>;
|
|
136
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
137
|
+
readonly depth: 0;
|
|
138
|
+
readonly abstract: false;
|
|
139
|
+
readonly extends: readonly [];
|
|
140
|
+
readonly properties: never;
|
|
141
|
+
readonly source: {
|
|
142
|
+
readonly as: "namespace";
|
|
143
|
+
readonly accepts: readonly (() => {
|
|
144
|
+
readonly kind: 'node';
|
|
145
|
+
readonly abstract: never;
|
|
146
|
+
readonly depth: never;
|
|
147
|
+
readonly properties: never;
|
|
148
|
+
readonly methods: never;
|
|
149
|
+
})[];
|
|
150
|
+
readonly outgoing: "0..*";
|
|
151
|
+
};
|
|
152
|
+
readonly target: {
|
|
153
|
+
readonly as: "node";
|
|
154
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
155
|
+
readonly origin: "kernel.astrale.ai";
|
|
156
|
+
})[];
|
|
157
|
+
readonly incoming: "0..*";
|
|
158
|
+
};
|
|
159
|
+
readonly constraints: Record<never, never>;
|
|
160
|
+
readonly effectiveProperties: never;
|
|
161
|
+
}>;
|
|
162
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
163
|
+
readonly depth: 0;
|
|
164
|
+
readonly abstract: false;
|
|
165
|
+
readonly extends: readonly [];
|
|
166
|
+
readonly properties: never;
|
|
167
|
+
readonly source: {
|
|
168
|
+
readonly as: "holder";
|
|
169
|
+
readonly accepts: readonly (() => {
|
|
170
|
+
readonly kind: 'node';
|
|
171
|
+
readonly abstract: never;
|
|
172
|
+
readonly depth: never;
|
|
173
|
+
readonly properties: never;
|
|
174
|
+
readonly methods: never;
|
|
175
|
+
})[];
|
|
176
|
+
readonly outgoing: "0..*";
|
|
177
|
+
};
|
|
178
|
+
readonly target: {
|
|
179
|
+
readonly as: "view";
|
|
180
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
181
|
+
readonly origin: "kernel.astrale.ai";
|
|
182
|
+
})[];
|
|
183
|
+
readonly incoming: "0..*";
|
|
184
|
+
};
|
|
185
|
+
readonly constraints: Record<never, never>;
|
|
186
|
+
readonly effectiveProperties: never;
|
|
187
|
+
}>;
|
|
188
|
+
};
|
|
189
|
+
readonly functions: {
|
|
190
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
191
|
+
readonly mode: 'value';
|
|
192
|
+
readonly value: {
|
|
193
|
+
entrypoints: {
|
|
194
|
+
origin: string;
|
|
195
|
+
name: string;
|
|
196
|
+
view: string;
|
|
197
|
+
}[];
|
|
198
|
+
};
|
|
199
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
200
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
201
|
+
assignments: {
|
|
202
|
+
identity: string;
|
|
203
|
+
set?: string[] | undefined;
|
|
204
|
+
unset?: string[] | undefined;
|
|
205
|
+
}[];
|
|
206
|
+
}, {
|
|
207
|
+
readonly mode: 'value';
|
|
208
|
+
readonly value: Record<string, never>;
|
|
209
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
210
|
+
};
|
|
211
|
+
readonly policies: {
|
|
212
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
213
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
214
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
215
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
216
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
217
|
+
};
|
|
218
|
+
readonly views: {
|
|
219
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
220
|
+
};
|
|
221
|
+
readonly core: {
|
|
222
|
+
readonly nodes: {
|
|
223
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
224
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
225
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
226
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
227
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
}, {
|
|
231
|
+
readonly kernel: "kernel.astrale.ai";
|
|
232
|
+
}]>, "User.invite", {
|
|
233
|
+
enrollment: import("@astrale-os/sdk/integration").IntegrationDefinition<"shell.enrollment", {
|
|
234
|
+
invite: import("@astrale-os/sdk/integration").IntegrationOperation<import("./integrations/user-invitation/index.js").InviteRequest, {
|
|
235
|
+
invitationId: string;
|
|
236
|
+
user: string;
|
|
237
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
238
|
+
}, "keyed" | "safe">;
|
|
239
|
+
}>;
|
|
240
|
+
}, {
|
|
241
|
+
readonly INVALID_INVITATION_REFERENCE: {
|
|
242
|
+
readonly family: "VALIDATION_ERROR";
|
|
243
|
+
readonly message: "User must be an exact canonical @NodeId path.";
|
|
244
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
245
|
+
};
|
|
246
|
+
readonly INVITATION_CONFLICT: {
|
|
247
|
+
readonly family: "CONFLICT";
|
|
248
|
+
readonly message: "The invitation conflicts with an existing request.";
|
|
249
|
+
readonly details: import("zod").ZodObject<{
|
|
250
|
+
requestId: import("zod").ZodString;
|
|
251
|
+
}, import("zod/v4/core").$strict>;
|
|
252
|
+
};
|
|
253
|
+
readonly INVITATION_REJECTED: {
|
|
254
|
+
readonly family: "VALIDATION_ERROR";
|
|
255
|
+
readonly message: "Admin rejected the invitation request.";
|
|
256
|
+
readonly details: import("zod").ZodObject<{
|
|
257
|
+
requestId: import("zod").ZodString;
|
|
258
|
+
}, import("zod/v4/core").$strict>;
|
|
259
|
+
};
|
|
260
|
+
}>, import("@astrale-os/sdk/workflow").WorkflowDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
261
|
+
readonly name: 'Shell';
|
|
262
|
+
readonly entrypoint: 'application';
|
|
263
|
+
readonly classes: {
|
|
264
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
265
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
266
|
+
readonly inheritance: "open";
|
|
267
|
+
readonly policies: {
|
|
268
|
+
readonly read: true;
|
|
269
|
+
};
|
|
270
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
271
|
+
readonly properties: {
|
|
272
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
273
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
274
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
275
|
+
};
|
|
276
|
+
readonly methods: {
|
|
277
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
278
|
+
user: string;
|
|
279
|
+
email: string;
|
|
280
|
+
}, {
|
|
281
|
+
readonly mode: 'value';
|
|
282
|
+
readonly value: {
|
|
283
|
+
invitationId: string;
|
|
284
|
+
user: string;
|
|
285
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
286
|
+
};
|
|
287
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
288
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
289
|
+
email?: string | undefined;
|
|
290
|
+
displayName?: string | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
readonly mode: 'value';
|
|
293
|
+
readonly value: Record<string, never>;
|
|
294
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
295
|
+
};
|
|
296
|
+
}>;
|
|
297
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
298
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
299
|
+
readonly inheritance: "open";
|
|
300
|
+
readonly policies: {
|
|
301
|
+
readonly read: true;
|
|
302
|
+
};
|
|
303
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
304
|
+
readonly methods: {
|
|
305
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
306
|
+
member: string;
|
|
307
|
+
group: string;
|
|
308
|
+
}, {
|
|
309
|
+
readonly mode: 'value';
|
|
310
|
+
readonly value: Record<string, never>;
|
|
311
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
312
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
313
|
+
member: string;
|
|
314
|
+
group: string;
|
|
315
|
+
}, {
|
|
316
|
+
readonly mode: 'value';
|
|
317
|
+
readonly value: Record<string, never>;
|
|
318
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
319
|
+
};
|
|
320
|
+
}>;
|
|
321
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
322
|
+
readonly depth: 0;
|
|
323
|
+
readonly abstract: false;
|
|
324
|
+
readonly extends: readonly [];
|
|
325
|
+
readonly properties: never;
|
|
326
|
+
readonly source: {
|
|
327
|
+
readonly as: "member";
|
|
328
|
+
readonly accepts: readonly (() => {
|
|
329
|
+
readonly kind: 'node';
|
|
330
|
+
readonly abstract: never;
|
|
331
|
+
readonly depth: never;
|
|
332
|
+
readonly properties: never;
|
|
333
|
+
readonly methods: never;
|
|
334
|
+
})[];
|
|
335
|
+
readonly outgoing: "0..*";
|
|
336
|
+
};
|
|
337
|
+
readonly target: {
|
|
338
|
+
readonly as: "group";
|
|
339
|
+
readonly accepts: readonly (() => {
|
|
340
|
+
readonly kind: 'node';
|
|
341
|
+
readonly abstract: never;
|
|
342
|
+
readonly depth: never;
|
|
343
|
+
readonly properties: never;
|
|
344
|
+
readonly methods: never;
|
|
345
|
+
})[];
|
|
346
|
+
readonly incoming: "0..*";
|
|
347
|
+
};
|
|
348
|
+
readonly constraints: Record<never, never>;
|
|
349
|
+
readonly effectiveProperties: never;
|
|
350
|
+
}>;
|
|
351
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
352
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
353
|
+
readonly policies: {
|
|
354
|
+
readonly read: true;
|
|
355
|
+
readonly traverse: true;
|
|
356
|
+
};
|
|
357
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
358
|
+
readonly methods: {
|
|
359
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
360
|
+
name: string;
|
|
361
|
+
target: string;
|
|
362
|
+
}, {
|
|
363
|
+
readonly mode: 'value';
|
|
364
|
+
readonly value: Record<string, never>;
|
|
365
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
366
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
367
|
+
name: string;
|
|
368
|
+
}, {
|
|
369
|
+
readonly mode: 'value';
|
|
370
|
+
readonly value: Record<string, never>;
|
|
371
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
372
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
373
|
+
name: string;
|
|
374
|
+
to: string;
|
|
375
|
+
}, {
|
|
376
|
+
readonly mode: 'value';
|
|
377
|
+
readonly value: Record<string, never>;
|
|
378
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
379
|
+
};
|
|
380
|
+
}>;
|
|
381
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
382
|
+
readonly depth: 0;
|
|
383
|
+
readonly abstract: false;
|
|
384
|
+
readonly extends: readonly [];
|
|
385
|
+
readonly properties: never;
|
|
386
|
+
readonly source: {
|
|
387
|
+
readonly as: "namespace";
|
|
388
|
+
readonly accepts: readonly (() => {
|
|
389
|
+
readonly kind: 'node';
|
|
390
|
+
readonly abstract: never;
|
|
391
|
+
readonly depth: never;
|
|
392
|
+
readonly properties: never;
|
|
393
|
+
readonly methods: never;
|
|
394
|
+
})[];
|
|
395
|
+
readonly outgoing: "0..*";
|
|
396
|
+
};
|
|
397
|
+
readonly target: {
|
|
398
|
+
readonly as: "node";
|
|
399
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
400
|
+
readonly origin: "kernel.astrale.ai";
|
|
401
|
+
})[];
|
|
402
|
+
readonly incoming: "0..*";
|
|
403
|
+
};
|
|
404
|
+
readonly constraints: Record<never, never>;
|
|
405
|
+
readonly effectiveProperties: never;
|
|
406
|
+
}>;
|
|
407
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
408
|
+
readonly depth: 0;
|
|
409
|
+
readonly abstract: false;
|
|
410
|
+
readonly extends: readonly [];
|
|
411
|
+
readonly properties: never;
|
|
412
|
+
readonly source: {
|
|
413
|
+
readonly as: "holder";
|
|
414
|
+
readonly accepts: readonly (() => {
|
|
415
|
+
readonly kind: 'node';
|
|
416
|
+
readonly abstract: never;
|
|
417
|
+
readonly depth: never;
|
|
418
|
+
readonly properties: never;
|
|
419
|
+
readonly methods: never;
|
|
420
|
+
})[];
|
|
421
|
+
readonly outgoing: "0..*";
|
|
422
|
+
};
|
|
423
|
+
readonly target: {
|
|
424
|
+
readonly as: "view";
|
|
425
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
426
|
+
readonly origin: "kernel.astrale.ai";
|
|
427
|
+
})[];
|
|
428
|
+
readonly incoming: "0..*";
|
|
429
|
+
};
|
|
430
|
+
readonly constraints: Record<never, never>;
|
|
431
|
+
readonly effectiveProperties: never;
|
|
432
|
+
}>;
|
|
433
|
+
};
|
|
434
|
+
readonly functions: {
|
|
435
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
436
|
+
readonly mode: 'value';
|
|
437
|
+
readonly value: {
|
|
438
|
+
entrypoints: {
|
|
439
|
+
origin: string;
|
|
440
|
+
name: string;
|
|
441
|
+
view: string;
|
|
442
|
+
}[];
|
|
443
|
+
};
|
|
444
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
445
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
446
|
+
assignments: {
|
|
447
|
+
identity: string;
|
|
448
|
+
set?: string[] | undefined;
|
|
449
|
+
unset?: string[] | undefined;
|
|
450
|
+
}[];
|
|
451
|
+
}, {
|
|
452
|
+
readonly mode: 'value';
|
|
453
|
+
readonly value: Record<string, never>;
|
|
454
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
455
|
+
};
|
|
456
|
+
readonly policies: {
|
|
457
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
458
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
459
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
460
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
461
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
462
|
+
};
|
|
463
|
+
readonly views: {
|
|
464
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
465
|
+
};
|
|
466
|
+
readonly core: {
|
|
467
|
+
readonly nodes: {
|
|
468
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
469
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
470
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
471
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
472
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
}, {
|
|
476
|
+
readonly kernel: "kernel.astrale.ai";
|
|
477
|
+
}]>, "Group.assignMember", Readonly<Record<never, never>>, {
|
|
478
|
+
readonly GROUP_MEMBERSHIP_ENDPOINTS_UNAVAILABLE: {
|
|
479
|
+
readonly family: 'CONFLICT';
|
|
480
|
+
readonly message: 'Shell must be able to traverse both membership endpoints before confirming membership.';
|
|
481
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
482
|
+
};
|
|
483
|
+
readonly INVALID_GROUP_MEMBERSHIP_REFERENCE: {
|
|
484
|
+
readonly family: 'VALIDATION_ERROR';
|
|
485
|
+
readonly message: 'Member and group must be exact canonical @NodeId paths.';
|
|
486
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
487
|
+
};
|
|
488
|
+
readonly GROUP_MEMBERSHIP_CONFLICT: {
|
|
489
|
+
readonly family: 'CONFLICT';
|
|
490
|
+
readonly message: 'Membership changed concurrently; retry the operation.';
|
|
491
|
+
readonly details: import("zod").ZodObject<{
|
|
492
|
+
cause: import("zod").ZodString;
|
|
493
|
+
}, import("zod/v4/core").$strict>;
|
|
494
|
+
};
|
|
495
|
+
readonly GROUP_MEMBERSHIP_UNCONFIRMED: {
|
|
496
|
+
readonly family: 'CONFLICT';
|
|
497
|
+
readonly message: 'The requested membership could not be confirmed; retry the operation.';
|
|
498
|
+
readonly details: import("zod").ZodObject<{
|
|
499
|
+
cause: import("zod").ZodString;
|
|
500
|
+
outcomeKnown: import("zod").ZodLiteral<false>;
|
|
501
|
+
}, import("zod/v4/core").$strict>;
|
|
502
|
+
};
|
|
503
|
+
}>, import("@astrale-os/sdk/workflow").WorkflowDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
504
|
+
readonly name: 'Shell';
|
|
505
|
+
readonly entrypoint: 'application';
|
|
506
|
+
readonly classes: {
|
|
507
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
508
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
509
|
+
readonly inheritance: "open";
|
|
510
|
+
readonly policies: {
|
|
511
|
+
readonly read: true;
|
|
512
|
+
};
|
|
513
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
514
|
+
readonly properties: {
|
|
515
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
516
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
517
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
518
|
+
};
|
|
519
|
+
readonly methods: {
|
|
520
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
521
|
+
user: string;
|
|
522
|
+
email: string;
|
|
523
|
+
}, {
|
|
524
|
+
readonly mode: 'value';
|
|
525
|
+
readonly value: {
|
|
526
|
+
invitationId: string;
|
|
527
|
+
user: string;
|
|
528
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
529
|
+
};
|
|
530
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
531
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
532
|
+
email?: string | undefined;
|
|
533
|
+
displayName?: string | undefined;
|
|
534
|
+
}, {
|
|
535
|
+
readonly mode: 'value';
|
|
536
|
+
readonly value: Record<string, never>;
|
|
537
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
538
|
+
};
|
|
539
|
+
}>;
|
|
540
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
541
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
542
|
+
readonly inheritance: "open";
|
|
543
|
+
readonly policies: {
|
|
544
|
+
readonly read: true;
|
|
545
|
+
};
|
|
546
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
547
|
+
readonly methods: {
|
|
548
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
549
|
+
member: string;
|
|
550
|
+
group: string;
|
|
551
|
+
}, {
|
|
552
|
+
readonly mode: 'value';
|
|
553
|
+
readonly value: Record<string, never>;
|
|
554
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
555
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
556
|
+
member: string;
|
|
557
|
+
group: string;
|
|
558
|
+
}, {
|
|
559
|
+
readonly mode: 'value';
|
|
560
|
+
readonly value: Record<string, never>;
|
|
561
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
562
|
+
};
|
|
563
|
+
}>;
|
|
564
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
565
|
+
readonly depth: 0;
|
|
566
|
+
readonly abstract: false;
|
|
567
|
+
readonly extends: readonly [];
|
|
568
|
+
readonly properties: never;
|
|
569
|
+
readonly source: {
|
|
570
|
+
readonly as: "member";
|
|
571
|
+
readonly accepts: readonly (() => {
|
|
572
|
+
readonly kind: 'node';
|
|
573
|
+
readonly abstract: never;
|
|
574
|
+
readonly depth: never;
|
|
575
|
+
readonly properties: never;
|
|
576
|
+
readonly methods: never;
|
|
577
|
+
})[];
|
|
578
|
+
readonly outgoing: "0..*";
|
|
579
|
+
};
|
|
580
|
+
readonly target: {
|
|
581
|
+
readonly as: "group";
|
|
582
|
+
readonly accepts: readonly (() => {
|
|
583
|
+
readonly kind: 'node';
|
|
584
|
+
readonly abstract: never;
|
|
585
|
+
readonly depth: never;
|
|
586
|
+
readonly properties: never;
|
|
587
|
+
readonly methods: never;
|
|
588
|
+
})[];
|
|
589
|
+
readonly incoming: "0..*";
|
|
590
|
+
};
|
|
591
|
+
readonly constraints: Record<never, never>;
|
|
592
|
+
readonly effectiveProperties: never;
|
|
593
|
+
}>;
|
|
594
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
595
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
596
|
+
readonly policies: {
|
|
597
|
+
readonly read: true;
|
|
598
|
+
readonly traverse: true;
|
|
599
|
+
};
|
|
600
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
601
|
+
readonly methods: {
|
|
602
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
603
|
+
name: string;
|
|
604
|
+
target: string;
|
|
605
|
+
}, {
|
|
606
|
+
readonly mode: 'value';
|
|
607
|
+
readonly value: Record<string, never>;
|
|
608
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
609
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
610
|
+
name: string;
|
|
611
|
+
}, {
|
|
612
|
+
readonly mode: 'value';
|
|
613
|
+
readonly value: Record<string, never>;
|
|
614
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
615
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
616
|
+
name: string;
|
|
617
|
+
to: string;
|
|
618
|
+
}, {
|
|
619
|
+
readonly mode: 'value';
|
|
620
|
+
readonly value: Record<string, never>;
|
|
621
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
622
|
+
};
|
|
623
|
+
}>;
|
|
624
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
625
|
+
readonly depth: 0;
|
|
626
|
+
readonly abstract: false;
|
|
627
|
+
readonly extends: readonly [];
|
|
628
|
+
readonly properties: never;
|
|
629
|
+
readonly source: {
|
|
630
|
+
readonly as: "namespace";
|
|
631
|
+
readonly accepts: readonly (() => {
|
|
632
|
+
readonly kind: 'node';
|
|
633
|
+
readonly abstract: never;
|
|
634
|
+
readonly depth: never;
|
|
635
|
+
readonly properties: never;
|
|
636
|
+
readonly methods: never;
|
|
637
|
+
})[];
|
|
638
|
+
readonly outgoing: "0..*";
|
|
639
|
+
};
|
|
640
|
+
readonly target: {
|
|
641
|
+
readonly as: "node";
|
|
642
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
643
|
+
readonly origin: "kernel.astrale.ai";
|
|
644
|
+
})[];
|
|
645
|
+
readonly incoming: "0..*";
|
|
646
|
+
};
|
|
647
|
+
readonly constraints: Record<never, never>;
|
|
648
|
+
readonly effectiveProperties: never;
|
|
649
|
+
}>;
|
|
650
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
651
|
+
readonly depth: 0;
|
|
652
|
+
readonly abstract: false;
|
|
653
|
+
readonly extends: readonly [];
|
|
654
|
+
readonly properties: never;
|
|
655
|
+
readonly source: {
|
|
656
|
+
readonly as: "holder";
|
|
657
|
+
readonly accepts: readonly (() => {
|
|
658
|
+
readonly kind: 'node';
|
|
659
|
+
readonly abstract: never;
|
|
660
|
+
readonly depth: never;
|
|
661
|
+
readonly properties: never;
|
|
662
|
+
readonly methods: never;
|
|
663
|
+
})[];
|
|
664
|
+
readonly outgoing: "0..*";
|
|
665
|
+
};
|
|
666
|
+
readonly target: {
|
|
667
|
+
readonly as: "view";
|
|
668
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
669
|
+
readonly origin: "kernel.astrale.ai";
|
|
670
|
+
})[];
|
|
671
|
+
readonly incoming: "0..*";
|
|
672
|
+
};
|
|
673
|
+
readonly constraints: Record<never, never>;
|
|
674
|
+
readonly effectiveProperties: never;
|
|
675
|
+
}>;
|
|
676
|
+
};
|
|
677
|
+
readonly functions: {
|
|
678
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
679
|
+
readonly mode: 'value';
|
|
680
|
+
readonly value: {
|
|
681
|
+
entrypoints: {
|
|
682
|
+
origin: string;
|
|
683
|
+
name: string;
|
|
684
|
+
view: string;
|
|
685
|
+
}[];
|
|
686
|
+
};
|
|
687
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
688
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
689
|
+
assignments: {
|
|
690
|
+
identity: string;
|
|
691
|
+
set?: string[] | undefined;
|
|
692
|
+
unset?: string[] | undefined;
|
|
693
|
+
}[];
|
|
694
|
+
}, {
|
|
695
|
+
readonly mode: 'value';
|
|
696
|
+
readonly value: Record<string, never>;
|
|
697
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
698
|
+
};
|
|
699
|
+
readonly policies: {
|
|
700
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
701
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
702
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
703
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
704
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
705
|
+
};
|
|
706
|
+
readonly views: {
|
|
707
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
708
|
+
};
|
|
709
|
+
readonly core: {
|
|
710
|
+
readonly nodes: {
|
|
711
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
712
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
713
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
714
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
715
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
}, {
|
|
719
|
+
readonly kernel: "kernel.astrale.ai";
|
|
720
|
+
}]>, "Group.unassignMember", Readonly<Record<never, never>>, {
|
|
721
|
+
readonly GROUP_MEMBERSHIP_ENDPOINTS_UNAVAILABLE: {
|
|
722
|
+
readonly family: 'CONFLICT';
|
|
723
|
+
readonly message: 'Shell must be able to traverse both membership endpoints before confirming membership.';
|
|
724
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
725
|
+
};
|
|
726
|
+
readonly INVALID_GROUP_MEMBERSHIP_REFERENCE: {
|
|
727
|
+
readonly family: 'VALIDATION_ERROR';
|
|
728
|
+
readonly message: 'Member and group must be exact canonical @NodeId paths.';
|
|
729
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
730
|
+
};
|
|
731
|
+
readonly GROUP_MEMBERSHIP_CONFLICT: {
|
|
732
|
+
readonly family: 'CONFLICT';
|
|
733
|
+
readonly message: 'Membership changed concurrently; retry the operation.';
|
|
734
|
+
readonly details: import("zod").ZodObject<{
|
|
735
|
+
cause: import("zod").ZodString;
|
|
736
|
+
}, import("zod/v4/core").$strict>;
|
|
737
|
+
};
|
|
738
|
+
readonly GROUP_MEMBERSHIP_UNCONFIRMED: {
|
|
739
|
+
readonly family: 'CONFLICT';
|
|
740
|
+
readonly message: 'The requested membership could not be confirmed; retry the operation.';
|
|
741
|
+
readonly details: import("zod").ZodObject<{
|
|
742
|
+
cause: import("zod").ZodString;
|
|
743
|
+
outcomeKnown: import("zod").ZodLiteral<false>;
|
|
744
|
+
}, import("zod/v4/core").$strict>;
|
|
745
|
+
};
|
|
746
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
747
|
+
readonly name: 'Shell';
|
|
748
|
+
readonly entrypoint: 'application';
|
|
749
|
+
readonly classes: {
|
|
750
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
751
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
752
|
+
readonly inheritance: "open";
|
|
753
|
+
readonly policies: {
|
|
754
|
+
readonly read: true;
|
|
755
|
+
};
|
|
756
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
757
|
+
readonly properties: {
|
|
758
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
759
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
760
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
761
|
+
};
|
|
762
|
+
readonly methods: {
|
|
763
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
764
|
+
user: string;
|
|
765
|
+
email: string;
|
|
766
|
+
}, {
|
|
767
|
+
readonly mode: 'value';
|
|
768
|
+
readonly value: {
|
|
769
|
+
invitationId: string;
|
|
770
|
+
user: string;
|
|
771
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
772
|
+
};
|
|
773
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
774
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
775
|
+
email?: string | undefined;
|
|
776
|
+
displayName?: string | undefined;
|
|
777
|
+
}, {
|
|
778
|
+
readonly mode: 'value';
|
|
779
|
+
readonly value: Record<string, never>;
|
|
780
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
781
|
+
};
|
|
782
|
+
}>;
|
|
783
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
784
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
785
|
+
readonly inheritance: "open";
|
|
786
|
+
readonly policies: {
|
|
787
|
+
readonly read: true;
|
|
788
|
+
};
|
|
789
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
790
|
+
readonly methods: {
|
|
791
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
792
|
+
member: string;
|
|
793
|
+
group: string;
|
|
794
|
+
}, {
|
|
795
|
+
readonly mode: 'value';
|
|
796
|
+
readonly value: Record<string, never>;
|
|
797
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
798
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
799
|
+
member: string;
|
|
800
|
+
group: string;
|
|
801
|
+
}, {
|
|
802
|
+
readonly mode: 'value';
|
|
803
|
+
readonly value: Record<string, never>;
|
|
804
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
805
|
+
};
|
|
806
|
+
}>;
|
|
807
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
808
|
+
readonly depth: 0;
|
|
809
|
+
readonly abstract: false;
|
|
810
|
+
readonly extends: readonly [];
|
|
811
|
+
readonly properties: never;
|
|
812
|
+
readonly source: {
|
|
813
|
+
readonly as: "member";
|
|
814
|
+
readonly accepts: readonly (() => {
|
|
815
|
+
readonly kind: 'node';
|
|
816
|
+
readonly abstract: never;
|
|
817
|
+
readonly depth: never;
|
|
818
|
+
readonly properties: never;
|
|
819
|
+
readonly methods: never;
|
|
820
|
+
})[];
|
|
821
|
+
readonly outgoing: "0..*";
|
|
822
|
+
};
|
|
823
|
+
readonly target: {
|
|
824
|
+
readonly as: "group";
|
|
825
|
+
readonly accepts: readonly (() => {
|
|
826
|
+
readonly kind: 'node';
|
|
827
|
+
readonly abstract: never;
|
|
828
|
+
readonly depth: never;
|
|
829
|
+
readonly properties: never;
|
|
830
|
+
readonly methods: never;
|
|
831
|
+
})[];
|
|
832
|
+
readonly incoming: "0..*";
|
|
833
|
+
};
|
|
834
|
+
readonly constraints: Record<never, never>;
|
|
835
|
+
readonly effectiveProperties: never;
|
|
836
|
+
}>;
|
|
837
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
838
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
839
|
+
readonly policies: {
|
|
840
|
+
readonly read: true;
|
|
841
|
+
readonly traverse: true;
|
|
842
|
+
};
|
|
843
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
844
|
+
readonly methods: {
|
|
845
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
846
|
+
name: string;
|
|
847
|
+
target: string;
|
|
848
|
+
}, {
|
|
849
|
+
readonly mode: 'value';
|
|
850
|
+
readonly value: Record<string, never>;
|
|
851
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
852
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
853
|
+
name: string;
|
|
854
|
+
}, {
|
|
855
|
+
readonly mode: 'value';
|
|
856
|
+
readonly value: Record<string, never>;
|
|
857
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
858
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
859
|
+
name: string;
|
|
860
|
+
to: string;
|
|
861
|
+
}, {
|
|
862
|
+
readonly mode: 'value';
|
|
863
|
+
readonly value: Record<string, never>;
|
|
864
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
865
|
+
};
|
|
866
|
+
}>;
|
|
867
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
868
|
+
readonly depth: 0;
|
|
869
|
+
readonly abstract: false;
|
|
870
|
+
readonly extends: readonly [];
|
|
871
|
+
readonly properties: never;
|
|
872
|
+
readonly source: {
|
|
873
|
+
readonly as: "namespace";
|
|
874
|
+
readonly accepts: readonly (() => {
|
|
875
|
+
readonly kind: 'node';
|
|
876
|
+
readonly abstract: never;
|
|
877
|
+
readonly depth: never;
|
|
878
|
+
readonly properties: never;
|
|
879
|
+
readonly methods: never;
|
|
880
|
+
})[];
|
|
881
|
+
readonly outgoing: "0..*";
|
|
882
|
+
};
|
|
883
|
+
readonly target: {
|
|
884
|
+
readonly as: "node";
|
|
885
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
886
|
+
readonly origin: "kernel.astrale.ai";
|
|
887
|
+
})[];
|
|
888
|
+
readonly incoming: "0..*";
|
|
889
|
+
};
|
|
890
|
+
readonly constraints: Record<never, never>;
|
|
891
|
+
readonly effectiveProperties: never;
|
|
892
|
+
}>;
|
|
893
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
894
|
+
readonly depth: 0;
|
|
895
|
+
readonly abstract: false;
|
|
896
|
+
readonly extends: readonly [];
|
|
897
|
+
readonly properties: never;
|
|
898
|
+
readonly source: {
|
|
899
|
+
readonly as: "holder";
|
|
900
|
+
readonly accepts: readonly (() => {
|
|
901
|
+
readonly kind: 'node';
|
|
902
|
+
readonly abstract: never;
|
|
903
|
+
readonly depth: never;
|
|
904
|
+
readonly properties: never;
|
|
905
|
+
readonly methods: never;
|
|
906
|
+
})[];
|
|
907
|
+
readonly outgoing: "0..*";
|
|
908
|
+
};
|
|
909
|
+
readonly target: {
|
|
910
|
+
readonly as: "view";
|
|
911
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
912
|
+
readonly origin: "kernel.astrale.ai";
|
|
913
|
+
})[];
|
|
914
|
+
readonly incoming: "0..*";
|
|
915
|
+
};
|
|
916
|
+
readonly constraints: Record<never, never>;
|
|
917
|
+
readonly effectiveProperties: never;
|
|
918
|
+
}>;
|
|
919
|
+
};
|
|
920
|
+
readonly functions: {
|
|
921
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
922
|
+
readonly mode: 'value';
|
|
923
|
+
readonly value: {
|
|
924
|
+
entrypoints: {
|
|
925
|
+
origin: string;
|
|
926
|
+
name: string;
|
|
927
|
+
view: string;
|
|
928
|
+
}[];
|
|
929
|
+
};
|
|
930
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
931
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
932
|
+
assignments: {
|
|
933
|
+
identity: string;
|
|
934
|
+
set?: string[] | undefined;
|
|
935
|
+
unset?: string[] | undefined;
|
|
936
|
+
}[];
|
|
937
|
+
}, {
|
|
938
|
+
readonly mode: 'value';
|
|
939
|
+
readonly value: Record<string, never>;
|
|
940
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
941
|
+
};
|
|
942
|
+
readonly policies: {
|
|
943
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
944
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
945
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
946
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
947
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
948
|
+
};
|
|
949
|
+
readonly views: {
|
|
950
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
951
|
+
};
|
|
952
|
+
readonly core: {
|
|
953
|
+
readonly nodes: {
|
|
954
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
955
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
956
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
957
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
958
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
}, {
|
|
962
|
+
readonly kernel: "kernel.astrale.ai";
|
|
963
|
+
}]>, "listEntrypoints", Readonly<Record<never, never>>, Readonly<Record<never, never>>>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
964
|
+
readonly name: 'Shell';
|
|
965
|
+
readonly entrypoint: 'application';
|
|
966
|
+
readonly classes: {
|
|
967
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
968
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
969
|
+
readonly inheritance: "open";
|
|
970
|
+
readonly policies: {
|
|
971
|
+
readonly read: true;
|
|
972
|
+
};
|
|
973
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
974
|
+
readonly properties: {
|
|
975
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
976
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
977
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
978
|
+
};
|
|
979
|
+
readonly methods: {
|
|
980
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
981
|
+
user: string;
|
|
982
|
+
email: string;
|
|
983
|
+
}, {
|
|
984
|
+
readonly mode: 'value';
|
|
985
|
+
readonly value: {
|
|
986
|
+
invitationId: string;
|
|
987
|
+
user: string;
|
|
988
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
989
|
+
};
|
|
990
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
991
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
992
|
+
email?: string | undefined;
|
|
993
|
+
displayName?: string | undefined;
|
|
994
|
+
}, {
|
|
995
|
+
readonly mode: 'value';
|
|
996
|
+
readonly value: Record<string, never>;
|
|
997
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
998
|
+
};
|
|
999
|
+
}>;
|
|
1000
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1001
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1002
|
+
readonly inheritance: "open";
|
|
1003
|
+
readonly policies: {
|
|
1004
|
+
readonly read: true;
|
|
1005
|
+
};
|
|
1006
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1007
|
+
readonly methods: {
|
|
1008
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1009
|
+
member: string;
|
|
1010
|
+
group: string;
|
|
1011
|
+
}, {
|
|
1012
|
+
readonly mode: 'value';
|
|
1013
|
+
readonly value: Record<string, never>;
|
|
1014
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1015
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1016
|
+
member: string;
|
|
1017
|
+
group: string;
|
|
1018
|
+
}, {
|
|
1019
|
+
readonly mode: 'value';
|
|
1020
|
+
readonly value: Record<string, never>;
|
|
1021
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1022
|
+
};
|
|
1023
|
+
}>;
|
|
1024
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1025
|
+
readonly depth: 0;
|
|
1026
|
+
readonly abstract: false;
|
|
1027
|
+
readonly extends: readonly [];
|
|
1028
|
+
readonly properties: never;
|
|
1029
|
+
readonly source: {
|
|
1030
|
+
readonly as: "member";
|
|
1031
|
+
readonly accepts: readonly (() => {
|
|
1032
|
+
readonly kind: 'node';
|
|
1033
|
+
readonly abstract: never;
|
|
1034
|
+
readonly depth: never;
|
|
1035
|
+
readonly properties: never;
|
|
1036
|
+
readonly methods: never;
|
|
1037
|
+
})[];
|
|
1038
|
+
readonly outgoing: "0..*";
|
|
1039
|
+
};
|
|
1040
|
+
readonly target: {
|
|
1041
|
+
readonly as: "group";
|
|
1042
|
+
readonly accepts: readonly (() => {
|
|
1043
|
+
readonly kind: 'node';
|
|
1044
|
+
readonly abstract: never;
|
|
1045
|
+
readonly depth: never;
|
|
1046
|
+
readonly properties: never;
|
|
1047
|
+
readonly methods: never;
|
|
1048
|
+
})[];
|
|
1049
|
+
readonly incoming: "0..*";
|
|
1050
|
+
};
|
|
1051
|
+
readonly constraints: Record<never, never>;
|
|
1052
|
+
readonly effectiveProperties: never;
|
|
1053
|
+
}>;
|
|
1054
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1055
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1056
|
+
readonly policies: {
|
|
1057
|
+
readonly read: true;
|
|
1058
|
+
readonly traverse: true;
|
|
1059
|
+
};
|
|
1060
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1061
|
+
readonly methods: {
|
|
1062
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1063
|
+
name: string;
|
|
1064
|
+
target: string;
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly mode: 'value';
|
|
1067
|
+
readonly value: Record<string, never>;
|
|
1068
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1069
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1070
|
+
name: string;
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly mode: 'value';
|
|
1073
|
+
readonly value: Record<string, never>;
|
|
1074
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1075
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1076
|
+
name: string;
|
|
1077
|
+
to: string;
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly mode: 'value';
|
|
1080
|
+
readonly value: Record<string, never>;
|
|
1081
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1082
|
+
};
|
|
1083
|
+
}>;
|
|
1084
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1085
|
+
readonly depth: 0;
|
|
1086
|
+
readonly abstract: false;
|
|
1087
|
+
readonly extends: readonly [];
|
|
1088
|
+
readonly properties: never;
|
|
1089
|
+
readonly source: {
|
|
1090
|
+
readonly as: "namespace";
|
|
1091
|
+
readonly accepts: readonly (() => {
|
|
1092
|
+
readonly kind: 'node';
|
|
1093
|
+
readonly abstract: never;
|
|
1094
|
+
readonly depth: never;
|
|
1095
|
+
readonly properties: never;
|
|
1096
|
+
readonly methods: never;
|
|
1097
|
+
})[];
|
|
1098
|
+
readonly outgoing: "0..*";
|
|
1099
|
+
};
|
|
1100
|
+
readonly target: {
|
|
1101
|
+
readonly as: "node";
|
|
1102
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1103
|
+
readonly origin: "kernel.astrale.ai";
|
|
1104
|
+
})[];
|
|
1105
|
+
readonly incoming: "0..*";
|
|
1106
|
+
};
|
|
1107
|
+
readonly constraints: Record<never, never>;
|
|
1108
|
+
readonly effectiveProperties: never;
|
|
1109
|
+
}>;
|
|
1110
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1111
|
+
readonly depth: 0;
|
|
1112
|
+
readonly abstract: false;
|
|
1113
|
+
readonly extends: readonly [];
|
|
1114
|
+
readonly properties: never;
|
|
1115
|
+
readonly source: {
|
|
1116
|
+
readonly as: "holder";
|
|
1117
|
+
readonly accepts: readonly (() => {
|
|
1118
|
+
readonly kind: 'node';
|
|
1119
|
+
readonly abstract: never;
|
|
1120
|
+
readonly depth: never;
|
|
1121
|
+
readonly properties: never;
|
|
1122
|
+
readonly methods: never;
|
|
1123
|
+
})[];
|
|
1124
|
+
readonly outgoing: "0..*";
|
|
1125
|
+
};
|
|
1126
|
+
readonly target: {
|
|
1127
|
+
readonly as: "view";
|
|
1128
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
1129
|
+
readonly origin: "kernel.astrale.ai";
|
|
1130
|
+
})[];
|
|
1131
|
+
readonly incoming: "0..*";
|
|
1132
|
+
};
|
|
1133
|
+
readonly constraints: Record<never, never>;
|
|
1134
|
+
readonly effectiveProperties: never;
|
|
1135
|
+
}>;
|
|
1136
|
+
};
|
|
1137
|
+
readonly functions: {
|
|
1138
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1139
|
+
readonly mode: 'value';
|
|
1140
|
+
readonly value: {
|
|
1141
|
+
entrypoints: {
|
|
1142
|
+
origin: string;
|
|
1143
|
+
name: string;
|
|
1144
|
+
view: string;
|
|
1145
|
+
}[];
|
|
1146
|
+
};
|
|
1147
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1148
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1149
|
+
assignments: {
|
|
1150
|
+
identity: string;
|
|
1151
|
+
set?: string[] | undefined;
|
|
1152
|
+
unset?: string[] | undefined;
|
|
1153
|
+
}[];
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly mode: 'value';
|
|
1156
|
+
readonly value: Record<string, never>;
|
|
1157
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1158
|
+
};
|
|
1159
|
+
readonly policies: {
|
|
1160
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1161
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1162
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1163
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1164
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1165
|
+
};
|
|
1166
|
+
readonly views: {
|
|
1167
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1168
|
+
};
|
|
1169
|
+
readonly core: {
|
|
1170
|
+
readonly nodes: {
|
|
1171
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1172
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1173
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1174
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1175
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1180
|
+
}]>, "Namespace.link", Readonly<Record<never, never>>, {
|
|
1181
|
+
readonly INVALID_NAME: {
|
|
1182
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1183
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
1184
|
+
readonly details: import("zod").ZodObject<{
|
|
1185
|
+
name: import("zod").ZodString;
|
|
1186
|
+
}, import("zod/v4/core").$strict>;
|
|
1187
|
+
};
|
|
1188
|
+
readonly TARGET_NOT_FOUND: {
|
|
1189
|
+
readonly family: 'NOT_FOUND';
|
|
1190
|
+
readonly message: 'The target Path reaches no Node.';
|
|
1191
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1192
|
+
};
|
|
1193
|
+
readonly NAME_TAKEN: {
|
|
1194
|
+
readonly family: 'CONFLICT';
|
|
1195
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
1196
|
+
readonly details: import("zod").ZodObject<{
|
|
1197
|
+
name: import("zod").ZodString;
|
|
1198
|
+
}, import("zod/v4/core").$strict>;
|
|
1199
|
+
};
|
|
1200
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
1201
|
+
readonly family: 'CONFLICT';
|
|
1202
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
1203
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1204
|
+
};
|
|
1205
|
+
readonly NAME_NOT_FOUND: {
|
|
1206
|
+
readonly family: 'NOT_FOUND';
|
|
1207
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
1208
|
+
readonly details: import("zod").ZodObject<{
|
|
1209
|
+
name: import("zod").ZodString;
|
|
1210
|
+
}, import("zod/v4/core").$strict>;
|
|
1211
|
+
};
|
|
1212
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
1213
|
+
readonly name: 'Shell';
|
|
1214
|
+
readonly entrypoint: 'application';
|
|
1215
|
+
readonly classes: {
|
|
1216
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1217
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1218
|
+
readonly inheritance: "open";
|
|
1219
|
+
readonly policies: {
|
|
1220
|
+
readonly read: true;
|
|
1221
|
+
};
|
|
1222
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
1223
|
+
readonly properties: {
|
|
1224
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1225
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1226
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1227
|
+
};
|
|
1228
|
+
readonly methods: {
|
|
1229
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1230
|
+
user: string;
|
|
1231
|
+
email: string;
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly mode: 'value';
|
|
1234
|
+
readonly value: {
|
|
1235
|
+
invitationId: string;
|
|
1236
|
+
user: string;
|
|
1237
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
1238
|
+
};
|
|
1239
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1240
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1241
|
+
email?: string | undefined;
|
|
1242
|
+
displayName?: string | undefined;
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly mode: 'value';
|
|
1245
|
+
readonly value: Record<string, never>;
|
|
1246
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1247
|
+
};
|
|
1248
|
+
}>;
|
|
1249
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1250
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1251
|
+
readonly inheritance: "open";
|
|
1252
|
+
readonly policies: {
|
|
1253
|
+
readonly read: true;
|
|
1254
|
+
};
|
|
1255
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1256
|
+
readonly methods: {
|
|
1257
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1258
|
+
member: string;
|
|
1259
|
+
group: string;
|
|
1260
|
+
}, {
|
|
1261
|
+
readonly mode: 'value';
|
|
1262
|
+
readonly value: Record<string, never>;
|
|
1263
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1264
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1265
|
+
member: string;
|
|
1266
|
+
group: string;
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly mode: 'value';
|
|
1269
|
+
readonly value: Record<string, never>;
|
|
1270
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1271
|
+
};
|
|
1272
|
+
}>;
|
|
1273
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1274
|
+
readonly depth: 0;
|
|
1275
|
+
readonly abstract: false;
|
|
1276
|
+
readonly extends: readonly [];
|
|
1277
|
+
readonly properties: never;
|
|
1278
|
+
readonly source: {
|
|
1279
|
+
readonly as: "member";
|
|
1280
|
+
readonly accepts: readonly (() => {
|
|
1281
|
+
readonly kind: 'node';
|
|
1282
|
+
readonly abstract: never;
|
|
1283
|
+
readonly depth: never;
|
|
1284
|
+
readonly properties: never;
|
|
1285
|
+
readonly methods: never;
|
|
1286
|
+
})[];
|
|
1287
|
+
readonly outgoing: "0..*";
|
|
1288
|
+
};
|
|
1289
|
+
readonly target: {
|
|
1290
|
+
readonly as: "group";
|
|
1291
|
+
readonly accepts: readonly (() => {
|
|
1292
|
+
readonly kind: 'node';
|
|
1293
|
+
readonly abstract: never;
|
|
1294
|
+
readonly depth: never;
|
|
1295
|
+
readonly properties: never;
|
|
1296
|
+
readonly methods: never;
|
|
1297
|
+
})[];
|
|
1298
|
+
readonly incoming: "0..*";
|
|
1299
|
+
};
|
|
1300
|
+
readonly constraints: Record<never, never>;
|
|
1301
|
+
readonly effectiveProperties: never;
|
|
1302
|
+
}>;
|
|
1303
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1304
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1305
|
+
readonly policies: {
|
|
1306
|
+
readonly read: true;
|
|
1307
|
+
readonly traverse: true;
|
|
1308
|
+
};
|
|
1309
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1310
|
+
readonly methods: {
|
|
1311
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1312
|
+
name: string;
|
|
1313
|
+
target: string;
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly mode: 'value';
|
|
1316
|
+
readonly value: Record<string, never>;
|
|
1317
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1318
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1319
|
+
name: string;
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly mode: 'value';
|
|
1322
|
+
readonly value: Record<string, never>;
|
|
1323
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1324
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1325
|
+
name: string;
|
|
1326
|
+
to: string;
|
|
1327
|
+
}, {
|
|
1328
|
+
readonly mode: 'value';
|
|
1329
|
+
readonly value: Record<string, never>;
|
|
1330
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1331
|
+
};
|
|
1332
|
+
}>;
|
|
1333
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1334
|
+
readonly depth: 0;
|
|
1335
|
+
readonly abstract: false;
|
|
1336
|
+
readonly extends: readonly [];
|
|
1337
|
+
readonly properties: never;
|
|
1338
|
+
readonly source: {
|
|
1339
|
+
readonly as: "namespace";
|
|
1340
|
+
readonly accepts: readonly (() => {
|
|
1341
|
+
readonly kind: 'node';
|
|
1342
|
+
readonly abstract: never;
|
|
1343
|
+
readonly depth: never;
|
|
1344
|
+
readonly properties: never;
|
|
1345
|
+
readonly methods: never;
|
|
1346
|
+
})[];
|
|
1347
|
+
readonly outgoing: "0..*";
|
|
1348
|
+
};
|
|
1349
|
+
readonly target: {
|
|
1350
|
+
readonly as: "node";
|
|
1351
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1352
|
+
readonly origin: "kernel.astrale.ai";
|
|
1353
|
+
})[];
|
|
1354
|
+
readonly incoming: "0..*";
|
|
1355
|
+
};
|
|
1356
|
+
readonly constraints: Record<never, never>;
|
|
1357
|
+
readonly effectiveProperties: never;
|
|
1358
|
+
}>;
|
|
1359
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1360
|
+
readonly depth: 0;
|
|
1361
|
+
readonly abstract: false;
|
|
1362
|
+
readonly extends: readonly [];
|
|
1363
|
+
readonly properties: never;
|
|
1364
|
+
readonly source: {
|
|
1365
|
+
readonly as: "holder";
|
|
1366
|
+
readonly accepts: readonly (() => {
|
|
1367
|
+
readonly kind: 'node';
|
|
1368
|
+
readonly abstract: never;
|
|
1369
|
+
readonly depth: never;
|
|
1370
|
+
readonly properties: never;
|
|
1371
|
+
readonly methods: never;
|
|
1372
|
+
})[];
|
|
1373
|
+
readonly outgoing: "0..*";
|
|
1374
|
+
};
|
|
1375
|
+
readonly target: {
|
|
1376
|
+
readonly as: "view";
|
|
1377
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
1378
|
+
readonly origin: "kernel.astrale.ai";
|
|
1379
|
+
})[];
|
|
1380
|
+
readonly incoming: "0..*";
|
|
1381
|
+
};
|
|
1382
|
+
readonly constraints: Record<never, never>;
|
|
1383
|
+
readonly effectiveProperties: never;
|
|
1384
|
+
}>;
|
|
1385
|
+
};
|
|
1386
|
+
readonly functions: {
|
|
1387
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1388
|
+
readonly mode: 'value';
|
|
1389
|
+
readonly value: {
|
|
1390
|
+
entrypoints: {
|
|
1391
|
+
origin: string;
|
|
1392
|
+
name: string;
|
|
1393
|
+
view: string;
|
|
1394
|
+
}[];
|
|
1395
|
+
};
|
|
1396
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1397
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1398
|
+
assignments: {
|
|
1399
|
+
identity: string;
|
|
1400
|
+
set?: string[] | undefined;
|
|
1401
|
+
unset?: string[] | undefined;
|
|
1402
|
+
}[];
|
|
1403
|
+
}, {
|
|
1404
|
+
readonly mode: 'value';
|
|
1405
|
+
readonly value: Record<string, never>;
|
|
1406
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1407
|
+
};
|
|
1408
|
+
readonly policies: {
|
|
1409
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1410
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1411
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1412
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1413
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1414
|
+
};
|
|
1415
|
+
readonly views: {
|
|
1416
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1417
|
+
};
|
|
1418
|
+
readonly core: {
|
|
1419
|
+
readonly nodes: {
|
|
1420
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1421
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1422
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1423
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1424
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1425
|
+
};
|
|
1426
|
+
};
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1429
|
+
}]>, "Namespace.unlink", Readonly<Record<never, never>>, {
|
|
1430
|
+
readonly INVALID_NAME: {
|
|
1431
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1432
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
1433
|
+
readonly details: import("zod").ZodObject<{
|
|
1434
|
+
name: import("zod").ZodString;
|
|
1435
|
+
}, import("zod/v4/core").$strict>;
|
|
1436
|
+
};
|
|
1437
|
+
readonly TARGET_NOT_FOUND: {
|
|
1438
|
+
readonly family: 'NOT_FOUND';
|
|
1439
|
+
readonly message: 'The target Path reaches no Node.';
|
|
1440
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1441
|
+
};
|
|
1442
|
+
readonly NAME_TAKEN: {
|
|
1443
|
+
readonly family: 'CONFLICT';
|
|
1444
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
1445
|
+
readonly details: import("zod").ZodObject<{
|
|
1446
|
+
name: import("zod").ZodString;
|
|
1447
|
+
}, import("zod/v4/core").$strict>;
|
|
1448
|
+
};
|
|
1449
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
1450
|
+
readonly family: 'CONFLICT';
|
|
1451
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
1452
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1453
|
+
};
|
|
1454
|
+
readonly NAME_NOT_FOUND: {
|
|
1455
|
+
readonly family: 'NOT_FOUND';
|
|
1456
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
1457
|
+
readonly details: import("zod").ZodObject<{
|
|
1458
|
+
name: import("zod").ZodString;
|
|
1459
|
+
}, import("zod/v4/core").$strict>;
|
|
1460
|
+
};
|
|
1461
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
1462
|
+
readonly name: 'Shell';
|
|
1463
|
+
readonly entrypoint: 'application';
|
|
1464
|
+
readonly classes: {
|
|
1465
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1466
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1467
|
+
readonly inheritance: "open";
|
|
1468
|
+
readonly policies: {
|
|
1469
|
+
readonly read: true;
|
|
1470
|
+
};
|
|
1471
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
1472
|
+
readonly properties: {
|
|
1473
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1474
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1475
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1476
|
+
};
|
|
1477
|
+
readonly methods: {
|
|
1478
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1479
|
+
user: string;
|
|
1480
|
+
email: string;
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly mode: 'value';
|
|
1483
|
+
readonly value: {
|
|
1484
|
+
invitationId: string;
|
|
1485
|
+
user: string;
|
|
1486
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
1487
|
+
};
|
|
1488
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1489
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1490
|
+
email?: string | undefined;
|
|
1491
|
+
displayName?: string | undefined;
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly mode: 'value';
|
|
1494
|
+
readonly value: Record<string, never>;
|
|
1495
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1496
|
+
};
|
|
1497
|
+
}>;
|
|
1498
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1499
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1500
|
+
readonly inheritance: "open";
|
|
1501
|
+
readonly policies: {
|
|
1502
|
+
readonly read: true;
|
|
1503
|
+
};
|
|
1504
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1505
|
+
readonly methods: {
|
|
1506
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1507
|
+
member: string;
|
|
1508
|
+
group: string;
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly mode: 'value';
|
|
1511
|
+
readonly value: Record<string, never>;
|
|
1512
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1513
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1514
|
+
member: string;
|
|
1515
|
+
group: string;
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly mode: 'value';
|
|
1518
|
+
readonly value: Record<string, never>;
|
|
1519
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1520
|
+
};
|
|
1521
|
+
}>;
|
|
1522
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1523
|
+
readonly depth: 0;
|
|
1524
|
+
readonly abstract: false;
|
|
1525
|
+
readonly extends: readonly [];
|
|
1526
|
+
readonly properties: never;
|
|
1527
|
+
readonly source: {
|
|
1528
|
+
readonly as: "member";
|
|
1529
|
+
readonly accepts: readonly (() => {
|
|
1530
|
+
readonly kind: 'node';
|
|
1531
|
+
readonly abstract: never;
|
|
1532
|
+
readonly depth: never;
|
|
1533
|
+
readonly properties: never;
|
|
1534
|
+
readonly methods: never;
|
|
1535
|
+
})[];
|
|
1536
|
+
readonly outgoing: "0..*";
|
|
1537
|
+
};
|
|
1538
|
+
readonly target: {
|
|
1539
|
+
readonly as: "group";
|
|
1540
|
+
readonly accepts: readonly (() => {
|
|
1541
|
+
readonly kind: 'node';
|
|
1542
|
+
readonly abstract: never;
|
|
1543
|
+
readonly depth: never;
|
|
1544
|
+
readonly properties: never;
|
|
1545
|
+
readonly methods: never;
|
|
1546
|
+
})[];
|
|
1547
|
+
readonly incoming: "0..*";
|
|
1548
|
+
};
|
|
1549
|
+
readonly constraints: Record<never, never>;
|
|
1550
|
+
readonly effectiveProperties: never;
|
|
1551
|
+
}>;
|
|
1552
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1553
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1554
|
+
readonly policies: {
|
|
1555
|
+
readonly read: true;
|
|
1556
|
+
readonly traverse: true;
|
|
1557
|
+
};
|
|
1558
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1559
|
+
readonly methods: {
|
|
1560
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1561
|
+
name: string;
|
|
1562
|
+
target: string;
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly mode: 'value';
|
|
1565
|
+
readonly value: Record<string, never>;
|
|
1566
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1567
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1568
|
+
name: string;
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly mode: 'value';
|
|
1571
|
+
readonly value: Record<string, never>;
|
|
1572
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1573
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1574
|
+
name: string;
|
|
1575
|
+
to: string;
|
|
1576
|
+
}, {
|
|
1577
|
+
readonly mode: 'value';
|
|
1578
|
+
readonly value: Record<string, never>;
|
|
1579
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1580
|
+
};
|
|
1581
|
+
}>;
|
|
1582
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1583
|
+
readonly depth: 0;
|
|
1584
|
+
readonly abstract: false;
|
|
1585
|
+
readonly extends: readonly [];
|
|
1586
|
+
readonly properties: never;
|
|
1587
|
+
readonly source: {
|
|
1588
|
+
readonly as: "namespace";
|
|
1589
|
+
readonly accepts: readonly (() => {
|
|
1590
|
+
readonly kind: 'node';
|
|
1591
|
+
readonly abstract: never;
|
|
1592
|
+
readonly depth: never;
|
|
1593
|
+
readonly properties: never;
|
|
1594
|
+
readonly methods: never;
|
|
1595
|
+
})[];
|
|
1596
|
+
readonly outgoing: "0..*";
|
|
1597
|
+
};
|
|
1598
|
+
readonly target: {
|
|
1599
|
+
readonly as: "node";
|
|
1600
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1601
|
+
readonly origin: "kernel.astrale.ai";
|
|
1602
|
+
})[];
|
|
1603
|
+
readonly incoming: "0..*";
|
|
1604
|
+
};
|
|
1605
|
+
readonly constraints: Record<never, never>;
|
|
1606
|
+
readonly effectiveProperties: never;
|
|
1607
|
+
}>;
|
|
1608
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1609
|
+
readonly depth: 0;
|
|
1610
|
+
readonly abstract: false;
|
|
1611
|
+
readonly extends: readonly [];
|
|
1612
|
+
readonly properties: never;
|
|
1613
|
+
readonly source: {
|
|
1614
|
+
readonly as: "holder";
|
|
1615
|
+
readonly accepts: readonly (() => {
|
|
1616
|
+
readonly kind: 'node';
|
|
1617
|
+
readonly abstract: never;
|
|
1618
|
+
readonly depth: never;
|
|
1619
|
+
readonly properties: never;
|
|
1620
|
+
readonly methods: never;
|
|
1621
|
+
})[];
|
|
1622
|
+
readonly outgoing: "0..*";
|
|
1623
|
+
};
|
|
1624
|
+
readonly target: {
|
|
1625
|
+
readonly as: "view";
|
|
1626
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
1627
|
+
readonly origin: "kernel.astrale.ai";
|
|
1628
|
+
})[];
|
|
1629
|
+
readonly incoming: "0..*";
|
|
1630
|
+
};
|
|
1631
|
+
readonly constraints: Record<never, never>;
|
|
1632
|
+
readonly effectiveProperties: never;
|
|
1633
|
+
}>;
|
|
1634
|
+
};
|
|
1635
|
+
readonly functions: {
|
|
1636
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1637
|
+
readonly mode: 'value';
|
|
1638
|
+
readonly value: {
|
|
1639
|
+
entrypoints: {
|
|
1640
|
+
origin: string;
|
|
1641
|
+
name: string;
|
|
1642
|
+
view: string;
|
|
1643
|
+
}[];
|
|
1644
|
+
};
|
|
1645
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1646
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1647
|
+
assignments: {
|
|
1648
|
+
identity: string;
|
|
1649
|
+
set?: string[] | undefined;
|
|
1650
|
+
unset?: string[] | undefined;
|
|
1651
|
+
}[];
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly mode: 'value';
|
|
1654
|
+
readonly value: Record<string, never>;
|
|
1655
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1656
|
+
};
|
|
1657
|
+
readonly policies: {
|
|
1658
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1659
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1660
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1661
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1662
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1663
|
+
};
|
|
1664
|
+
readonly views: {
|
|
1665
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1666
|
+
};
|
|
1667
|
+
readonly core: {
|
|
1668
|
+
readonly nodes: {
|
|
1669
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1670
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1671
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1672
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1673
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1678
|
+
}]>, "Namespace.rename", Readonly<Record<never, never>>, {
|
|
1679
|
+
readonly INVALID_NAME: {
|
|
1680
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1681
|
+
readonly message: 'A name uses lower-case letters, digits, ".", "_" and "-", and starts and ends with a letter or digit.';
|
|
1682
|
+
readonly details: import("zod").ZodObject<{
|
|
1683
|
+
name: import("zod").ZodString;
|
|
1684
|
+
}, import("zod/v4/core").$strict>;
|
|
1685
|
+
};
|
|
1686
|
+
readonly TARGET_NOT_FOUND: {
|
|
1687
|
+
readonly family: 'NOT_FOUND';
|
|
1688
|
+
readonly message: 'The target Path reaches no Node.';
|
|
1689
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1690
|
+
};
|
|
1691
|
+
readonly NAME_TAKEN: {
|
|
1692
|
+
readonly family: 'CONFLICT';
|
|
1693
|
+
readonly message: 'This name already designates a Node in this Namespace.';
|
|
1694
|
+
readonly details: import("zod").ZodObject<{
|
|
1695
|
+
name: import("zod").ZodString;
|
|
1696
|
+
}, import("zod/v4/core").$strict>;
|
|
1697
|
+
};
|
|
1698
|
+
readonly TARGET_ALREADY_ALIASED: {
|
|
1699
|
+
readonly family: 'CONFLICT';
|
|
1700
|
+
readonly message: 'This Node already has an alias in this Namespace; rename it instead.';
|
|
1701
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1702
|
+
};
|
|
1703
|
+
readonly NAME_NOT_FOUND: {
|
|
1704
|
+
readonly family: 'NOT_FOUND';
|
|
1705
|
+
readonly message: 'No alias of this Namespace has this name.';
|
|
1706
|
+
readonly details: import("zod").ZodObject<{
|
|
1707
|
+
name: import("zod").ZodString;
|
|
1708
|
+
}, import("zod/v4/core").$strict>;
|
|
1709
|
+
};
|
|
1710
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
1711
|
+
readonly name: 'Shell';
|
|
1712
|
+
readonly entrypoint: 'application';
|
|
1713
|
+
readonly classes: {
|
|
1714
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1715
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1716
|
+
readonly inheritance: "open";
|
|
1717
|
+
readonly policies: {
|
|
1718
|
+
readonly read: true;
|
|
1719
|
+
};
|
|
1720
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
1721
|
+
readonly properties: {
|
|
1722
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1723
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1724
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1725
|
+
};
|
|
1726
|
+
readonly methods: {
|
|
1727
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1728
|
+
user: string;
|
|
1729
|
+
email: string;
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly mode: 'value';
|
|
1732
|
+
readonly value: {
|
|
1733
|
+
invitationId: string;
|
|
1734
|
+
user: string;
|
|
1735
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
1736
|
+
};
|
|
1737
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1738
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1739
|
+
email?: string | undefined;
|
|
1740
|
+
displayName?: string | undefined;
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly mode: 'value';
|
|
1743
|
+
readonly value: Record<string, never>;
|
|
1744
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1745
|
+
};
|
|
1746
|
+
}>;
|
|
1747
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1748
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1749
|
+
readonly inheritance: "open";
|
|
1750
|
+
readonly policies: {
|
|
1751
|
+
readonly read: true;
|
|
1752
|
+
};
|
|
1753
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1754
|
+
readonly methods: {
|
|
1755
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1756
|
+
member: string;
|
|
1757
|
+
group: string;
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly mode: 'value';
|
|
1760
|
+
readonly value: Record<string, never>;
|
|
1761
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1762
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1763
|
+
member: string;
|
|
1764
|
+
group: string;
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly mode: 'value';
|
|
1767
|
+
readonly value: Record<string, never>;
|
|
1768
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1769
|
+
};
|
|
1770
|
+
}>;
|
|
1771
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1772
|
+
readonly depth: 0;
|
|
1773
|
+
readonly abstract: false;
|
|
1774
|
+
readonly extends: readonly [];
|
|
1775
|
+
readonly properties: never;
|
|
1776
|
+
readonly source: {
|
|
1777
|
+
readonly as: "member";
|
|
1778
|
+
readonly accepts: readonly (() => {
|
|
1779
|
+
readonly kind: 'node';
|
|
1780
|
+
readonly abstract: never;
|
|
1781
|
+
readonly depth: never;
|
|
1782
|
+
readonly properties: never;
|
|
1783
|
+
readonly methods: never;
|
|
1784
|
+
})[];
|
|
1785
|
+
readonly outgoing: "0..*";
|
|
1786
|
+
};
|
|
1787
|
+
readonly target: {
|
|
1788
|
+
readonly as: "group";
|
|
1789
|
+
readonly accepts: readonly (() => {
|
|
1790
|
+
readonly kind: 'node';
|
|
1791
|
+
readonly abstract: never;
|
|
1792
|
+
readonly depth: never;
|
|
1793
|
+
readonly properties: never;
|
|
1794
|
+
readonly methods: never;
|
|
1795
|
+
})[];
|
|
1796
|
+
readonly incoming: "0..*";
|
|
1797
|
+
};
|
|
1798
|
+
readonly constraints: Record<never, never>;
|
|
1799
|
+
readonly effectiveProperties: never;
|
|
1800
|
+
}>;
|
|
1801
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1802
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1803
|
+
readonly policies: {
|
|
1804
|
+
readonly read: true;
|
|
1805
|
+
readonly traverse: true;
|
|
1806
|
+
};
|
|
1807
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
1808
|
+
readonly methods: {
|
|
1809
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1810
|
+
name: string;
|
|
1811
|
+
target: string;
|
|
1812
|
+
}, {
|
|
1813
|
+
readonly mode: 'value';
|
|
1814
|
+
readonly value: Record<string, never>;
|
|
1815
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1816
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1817
|
+
name: string;
|
|
1818
|
+
}, {
|
|
1819
|
+
readonly mode: 'value';
|
|
1820
|
+
readonly value: Record<string, never>;
|
|
1821
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1822
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1823
|
+
name: string;
|
|
1824
|
+
to: string;
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly mode: 'value';
|
|
1827
|
+
readonly value: Record<string, never>;
|
|
1828
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1829
|
+
};
|
|
1830
|
+
}>;
|
|
1831
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1832
|
+
readonly depth: 0;
|
|
1833
|
+
readonly abstract: false;
|
|
1834
|
+
readonly extends: readonly [];
|
|
1835
|
+
readonly properties: never;
|
|
1836
|
+
readonly source: {
|
|
1837
|
+
readonly as: "namespace";
|
|
1838
|
+
readonly accepts: readonly (() => {
|
|
1839
|
+
readonly kind: 'node';
|
|
1840
|
+
readonly abstract: never;
|
|
1841
|
+
readonly depth: never;
|
|
1842
|
+
readonly properties: never;
|
|
1843
|
+
readonly methods: never;
|
|
1844
|
+
})[];
|
|
1845
|
+
readonly outgoing: "0..*";
|
|
1846
|
+
};
|
|
1847
|
+
readonly target: {
|
|
1848
|
+
readonly as: "node";
|
|
1849
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
1850
|
+
readonly origin: "kernel.astrale.ai";
|
|
1851
|
+
})[];
|
|
1852
|
+
readonly incoming: "0..*";
|
|
1853
|
+
};
|
|
1854
|
+
readonly constraints: Record<never, never>;
|
|
1855
|
+
readonly effectiveProperties: never;
|
|
1856
|
+
}>;
|
|
1857
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
1858
|
+
readonly depth: 0;
|
|
1859
|
+
readonly abstract: false;
|
|
1860
|
+
readonly extends: readonly [];
|
|
1861
|
+
readonly properties: never;
|
|
1862
|
+
readonly source: {
|
|
1863
|
+
readonly as: "holder";
|
|
1864
|
+
readonly accepts: readonly (() => {
|
|
1865
|
+
readonly kind: 'node';
|
|
1866
|
+
readonly abstract: never;
|
|
1867
|
+
readonly depth: never;
|
|
1868
|
+
readonly properties: never;
|
|
1869
|
+
readonly methods: never;
|
|
1870
|
+
})[];
|
|
1871
|
+
readonly outgoing: "0..*";
|
|
1872
|
+
};
|
|
1873
|
+
readonly target: {
|
|
1874
|
+
readonly as: "view";
|
|
1875
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
1876
|
+
readonly origin: "kernel.astrale.ai";
|
|
1877
|
+
})[];
|
|
1878
|
+
readonly incoming: "0..*";
|
|
1879
|
+
};
|
|
1880
|
+
readonly constraints: Record<never, never>;
|
|
1881
|
+
readonly effectiveProperties: never;
|
|
1882
|
+
}>;
|
|
1883
|
+
};
|
|
1884
|
+
readonly functions: {
|
|
1885
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
1886
|
+
readonly mode: 'value';
|
|
1887
|
+
readonly value: {
|
|
1888
|
+
entrypoints: {
|
|
1889
|
+
origin: string;
|
|
1890
|
+
name: string;
|
|
1891
|
+
view: string;
|
|
1892
|
+
}[];
|
|
1893
|
+
};
|
|
1894
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1895
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1896
|
+
assignments: {
|
|
1897
|
+
identity: string;
|
|
1898
|
+
set?: string[] | undefined;
|
|
1899
|
+
unset?: string[] | undefined;
|
|
1900
|
+
}[];
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly mode: 'value';
|
|
1903
|
+
readonly value: Record<string, never>;
|
|
1904
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1905
|
+
};
|
|
1906
|
+
readonly policies: {
|
|
1907
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
1908
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
1909
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
1910
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
1911
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
1912
|
+
};
|
|
1913
|
+
readonly views: {
|
|
1914
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
1915
|
+
};
|
|
1916
|
+
readonly core: {
|
|
1917
|
+
readonly nodes: {
|
|
1918
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
1919
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
1920
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
1921
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
1922
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
}, {
|
|
1926
|
+
readonly kernel: "kernel.astrale.ai";
|
|
1927
|
+
}]>, "assignViews", Readonly<Record<never, never>>, {
|
|
1928
|
+
readonly INVALID_VIEW_ASSIGNMENT_REFERENCE: {
|
|
1929
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1930
|
+
readonly message: 'Identities and Views must be exact canonical @NodeId paths.';
|
|
1931
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1932
|
+
};
|
|
1933
|
+
readonly CONTRADICTORY_VIEW_ASSIGNMENT: {
|
|
1934
|
+
readonly family: 'VALIDATION_ERROR';
|
|
1935
|
+
readonly message: 'One View is both given to and withdrawn from the same identity.';
|
|
1936
|
+
readonly details: import("zod").ZodObject<{
|
|
1937
|
+
identity: import("zod").ZodString;
|
|
1938
|
+
view: import("zod").ZodString;
|
|
1939
|
+
}, import("zod/v4/core").$strict>;
|
|
1940
|
+
};
|
|
1941
|
+
readonly VIEW_ASSIGNMENT_ENDPOINT_NOT_FOUND: {
|
|
1942
|
+
readonly family: 'NOT_FOUND';
|
|
1943
|
+
readonly message: 'An identity is not a User or a Group, or a View to give is not a View.';
|
|
1944
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1945
|
+
};
|
|
1946
|
+
readonly VIEW_ACCESS_CONFLICT: {
|
|
1947
|
+
readonly family: 'CONFLICT';
|
|
1948
|
+
readonly message: 'The Views of these identities changed concurrently; retry the operation.';
|
|
1949
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1950
|
+
};
|
|
1951
|
+
readonly VIEW_ACCESS_UNCONFIRMED: {
|
|
1952
|
+
readonly family: 'CONFLICT';
|
|
1953
|
+
readonly message: 'The Views asked for could not be confirmed; retry the operation.';
|
|
1954
|
+
readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
|
|
1955
|
+
};
|
|
1956
|
+
}>, import("@astrale-os/sdk/action").ActionDefinition<import("@astrale-os/sdk/schema").AuthoredSchema<"shell.astrale.ai", readonly ["kernel.astrale.ai", import("@astrale-os/sdk/schema").KernelSchema] | readonly ["shell.astrale.ai", {
|
|
1957
|
+
readonly name: 'Shell';
|
|
1958
|
+
readonly entrypoint: 'application';
|
|
1959
|
+
readonly classes: {
|
|
1960
|
+
readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1961
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1962
|
+
readonly inheritance: "open";
|
|
1963
|
+
readonly policies: {
|
|
1964
|
+
readonly read: true;
|
|
1965
|
+
};
|
|
1966
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
|
|
1967
|
+
readonly properties: {
|
|
1968
|
+
readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1969
|
+
readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1970
|
+
readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1971
|
+
};
|
|
1972
|
+
readonly methods: {
|
|
1973
|
+
readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1974
|
+
user: string;
|
|
1975
|
+
email: string;
|
|
1976
|
+
}, {
|
|
1977
|
+
readonly mode: 'value';
|
|
1978
|
+
readonly value: {
|
|
1979
|
+
invitationId: string;
|
|
1980
|
+
user: string;
|
|
1981
|
+
state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
|
|
1982
|
+
};
|
|
1983
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
1984
|
+
readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
1985
|
+
email?: string | undefined;
|
|
1986
|
+
displayName?: string | undefined;
|
|
1987
|
+
}, {
|
|
1988
|
+
readonly mode: 'value';
|
|
1989
|
+
readonly value: Record<string, never>;
|
|
1990
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
1991
|
+
};
|
|
1992
|
+
}>;
|
|
1993
|
+
readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
1994
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
1995
|
+
readonly inheritance: "open";
|
|
1996
|
+
readonly policies: {
|
|
1997
|
+
readonly read: true;
|
|
1998
|
+
};
|
|
1999
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
2000
|
+
readonly methods: {
|
|
2001
|
+
readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2002
|
+
member: string;
|
|
2003
|
+
group: string;
|
|
2004
|
+
}, {
|
|
2005
|
+
readonly mode: 'value';
|
|
2006
|
+
readonly value: Record<string, never>;
|
|
2007
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
2008
|
+
readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2009
|
+
member: string;
|
|
2010
|
+
group: string;
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly mode: 'value';
|
|
2013
|
+
readonly value: Record<string, never>;
|
|
2014
|
+
}, "authorized", true, false, undefined, undefined>>;
|
|
2015
|
+
};
|
|
2016
|
+
}>;
|
|
2017
|
+
readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
2018
|
+
readonly depth: 0;
|
|
2019
|
+
readonly abstract: false;
|
|
2020
|
+
readonly extends: readonly [];
|
|
2021
|
+
readonly properties: never;
|
|
2022
|
+
readonly source: {
|
|
2023
|
+
readonly as: "member";
|
|
2024
|
+
readonly accepts: readonly (() => {
|
|
2025
|
+
readonly kind: 'node';
|
|
2026
|
+
readonly abstract: never;
|
|
2027
|
+
readonly depth: never;
|
|
2028
|
+
readonly properties: never;
|
|
2029
|
+
readonly methods: never;
|
|
2030
|
+
})[];
|
|
2031
|
+
readonly outgoing: "0..*";
|
|
2032
|
+
};
|
|
2033
|
+
readonly target: {
|
|
2034
|
+
readonly as: "group";
|
|
2035
|
+
readonly accepts: readonly (() => {
|
|
2036
|
+
readonly kind: 'node';
|
|
2037
|
+
readonly abstract: never;
|
|
2038
|
+
readonly depth: never;
|
|
2039
|
+
readonly properties: never;
|
|
2040
|
+
readonly methods: never;
|
|
2041
|
+
})[];
|
|
2042
|
+
readonly incoming: "0..*";
|
|
2043
|
+
};
|
|
2044
|
+
readonly constraints: Record<never, never>;
|
|
2045
|
+
readonly effectiveProperties: never;
|
|
2046
|
+
}>;
|
|
2047
|
+
readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
|
|
2048
|
+
readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
|
|
2049
|
+
readonly policies: {
|
|
2050
|
+
readonly read: true;
|
|
2051
|
+
readonly traverse: true;
|
|
2052
|
+
};
|
|
2053
|
+
readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
|
|
2054
|
+
readonly methods: {
|
|
2055
|
+
readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2056
|
+
name: string;
|
|
2057
|
+
target: string;
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly mode: 'value';
|
|
2060
|
+
readonly value: Record<string, never>;
|
|
2061
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
2062
|
+
readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2063
|
+
name: string;
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly mode: 'value';
|
|
2066
|
+
readonly value: Record<string, never>;
|
|
2067
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
2068
|
+
readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2069
|
+
name: string;
|
|
2070
|
+
to: string;
|
|
2071
|
+
}, {
|
|
2072
|
+
readonly mode: 'value';
|
|
2073
|
+
readonly value: Record<string, never>;
|
|
2074
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
2075
|
+
};
|
|
2076
|
+
}>;
|
|
2077
|
+
readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
2078
|
+
readonly depth: 0;
|
|
2079
|
+
readonly abstract: false;
|
|
2080
|
+
readonly extends: readonly [];
|
|
2081
|
+
readonly properties: never;
|
|
2082
|
+
readonly source: {
|
|
2083
|
+
readonly as: "namespace";
|
|
2084
|
+
readonly accepts: readonly (() => {
|
|
2085
|
+
readonly kind: 'node';
|
|
2086
|
+
readonly abstract: never;
|
|
2087
|
+
readonly depth: never;
|
|
2088
|
+
readonly properties: never;
|
|
2089
|
+
readonly methods: never;
|
|
2090
|
+
})[];
|
|
2091
|
+
readonly outgoing: "0..*";
|
|
2092
|
+
};
|
|
2093
|
+
readonly target: {
|
|
2094
|
+
readonly as: "node";
|
|
2095
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
|
|
2096
|
+
readonly origin: "kernel.astrale.ai";
|
|
2097
|
+
})[];
|
|
2098
|
+
readonly incoming: "0..*";
|
|
2099
|
+
};
|
|
2100
|
+
readonly constraints: Record<never, never>;
|
|
2101
|
+
readonly effectiveProperties: never;
|
|
2102
|
+
}>;
|
|
2103
|
+
readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
|
|
2104
|
+
readonly depth: 0;
|
|
2105
|
+
readonly abstract: false;
|
|
2106
|
+
readonly extends: readonly [];
|
|
2107
|
+
readonly properties: never;
|
|
2108
|
+
readonly source: {
|
|
2109
|
+
readonly as: "holder";
|
|
2110
|
+
readonly accepts: readonly (() => {
|
|
2111
|
+
readonly kind: 'node';
|
|
2112
|
+
readonly abstract: never;
|
|
2113
|
+
readonly depth: never;
|
|
2114
|
+
readonly properties: never;
|
|
2115
|
+
readonly methods: never;
|
|
2116
|
+
})[];
|
|
2117
|
+
readonly outgoing: "0..*";
|
|
2118
|
+
};
|
|
2119
|
+
readonly target: {
|
|
2120
|
+
readonly as: "view";
|
|
2121
|
+
readonly accepts: readonly (import("@astrale-os/sdk/schema").ClassRef<"View"> & {
|
|
2122
|
+
readonly origin: "kernel.astrale.ai";
|
|
2123
|
+
})[];
|
|
2124
|
+
readonly incoming: "0..*";
|
|
2125
|
+
};
|
|
2126
|
+
readonly constraints: Record<never, never>;
|
|
2127
|
+
readonly effectiveProperties: never;
|
|
2128
|
+
}>;
|
|
2129
|
+
};
|
|
2130
|
+
readonly functions: {
|
|
2131
|
+
readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
|
|
2132
|
+
readonly mode: 'value';
|
|
2133
|
+
readonly value: {
|
|
2134
|
+
entrypoints: {
|
|
2135
|
+
origin: string;
|
|
2136
|
+
name: string;
|
|
2137
|
+
view: string;
|
|
2138
|
+
}[];
|
|
2139
|
+
};
|
|
2140
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
2141
|
+
readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
|
|
2142
|
+
assignments: {
|
|
2143
|
+
identity: string;
|
|
2144
|
+
set?: string[] | undefined;
|
|
2145
|
+
unset?: string[] | undefined;
|
|
2146
|
+
}[];
|
|
2147
|
+
}, {
|
|
2148
|
+
readonly mode: 'value';
|
|
2149
|
+
readonly value: Record<string, never>;
|
|
2150
|
+
}, "authorized", false, false, undefined, undefined>>;
|
|
2151
|
+
};
|
|
2152
|
+
readonly policies: {
|
|
2153
|
+
readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
|
|
2154
|
+
readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
|
|
2155
|
+
readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
|
|
2156
|
+
readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
|
|
2157
|
+
readonly isSelf: import("@astrale-os/sdk/schema").Policy;
|
|
2158
|
+
};
|
|
2159
|
+
readonly views: {
|
|
2160
|
+
readonly application: import("@astrale-os/sdk/schema").View;
|
|
2161
|
+
};
|
|
2162
|
+
readonly core: {
|
|
2163
|
+
readonly nodes: {
|
|
2164
|
+
readonly admin: import("@astrale-os/sdk/schema").CoreNode;
|
|
2165
|
+
readonly applications: import("@astrale-os/sdk/schema").CoreNode;
|
|
2166
|
+
readonly member: import("@astrale-os/sdk/schema").CoreNode;
|
|
2167
|
+
readonly views: import("@astrale-os/sdk/schema").CoreNode;
|
|
2168
|
+
readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2171
|
+
}, {
|
|
2172
|
+
readonly kernel: "kernel.astrale.ai";
|
|
2173
|
+
}]>, "User.recordProfile", Readonly<Record<never, never>>, Readonly<Record<never, never>>>];
|
|
2174
|
+
export type ShellRuntime = Runtime<ShellSchema, typeof integrations, typeof initialize, typeof functions>;
|
|
2175
|
+
declare const runtime: ShellRuntime;
|
|
4
2176
|
export default runtime;
|