@astrale-domains/shell 0.1.0-beta.48 → 0.1.0-beta.50

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.
Files changed (49) hide show
  1. package/README.md +56 -9
  2. package/dist/domain.d.ts +37 -0
  3. package/dist/domain.js +6 -0
  4. package/dist/functions/user/index.js +1 -0
  5. package/dist/functions/user/record-profile.js +18 -0
  6. package/dist/functions/view-access/assign-views.js +86 -0
  7. package/dist/functions/view-access/index.js +1 -0
  8. package/dist/functions/view-access/view-access-errors.js +28 -0
  9. package/dist/mutations/user/index.js +1 -0
  10. package/dist/mutations/user/record-user-profile.js +13 -0
  11. package/dist/mutations/view-access/index.js +1 -0
  12. package/dist/mutations/view-access/set-view-access.js +29 -0
  13. package/dist/queries/user/index.js +1 -0
  14. package/dist/queries/user/read-user-profile.js +24 -0
  15. package/dist/queries/view-access/index.js +1 -0
  16. package/dist/queries/view-access/read-view-access.js +35 -0
  17. package/dist/runtime.d.ts +655 -1
  18. package/dist/runtime.js +4 -1
  19. package/dist/schema/index.d.ts +1 -0
  20. package/dist/schema/index.js +1 -0
  21. package/dist/schema/modules/user/classes/user.d.ts +9 -0
  22. package/dist/schema/modules/user/classes/user.js +9 -3
  23. package/dist/schema/modules/user/functions/index.js +1 -0
  24. package/dist/schema/modules/user/functions/record-profile.js +14 -0
  25. package/dist/schema/modules/user/types/index.d.ts +1 -0
  26. package/dist/schema/modules/user/types/index.js +1 -0
  27. package/dist/schema/modules/user/types/user-profile.d.ts +7 -0
  28. package/dist/schema/modules/user/types/user-profile.js +7 -0
  29. package/dist/schema/modules/view-access/classes/index.d.ts +1 -0
  30. package/dist/schema/modules/view-access/classes/index.js +1 -0
  31. package/dist/schema/modules/view-access/classes/view-access.d.ts +22 -0
  32. package/dist/schema/modules/view-access/classes/view-access.js +18 -0
  33. package/dist/schema/modules/view-access/core/index.d.ts +1 -0
  34. package/dist/schema/modules/view-access/core/index.js +1 -0
  35. package/dist/schema/modules/view-access/core/view-only-group.d.ts +5 -0
  36. package/dist/schema/modules/view-access/core/view-only-group.js +10 -0
  37. package/dist/schema/modules/view-access/functions/assign-views.d.ts +16 -0
  38. package/dist/schema/modules/view-access/functions/assign-views.js +17 -0
  39. package/dist/schema/modules/view-access/functions/index.d.ts +1 -0
  40. package/dist/schema/modules/view-access/functions/index.js +1 -0
  41. package/dist/schema/modules/view-access/index.d.ts +3 -0
  42. package/dist/schema/modules/view-access/index.js +3 -0
  43. package/dist/schema/modules/view-access/types/index.js +1 -0
  44. package/dist/schema/modules/view-access/types/view-assignment.js +16 -0
  45. package/dist/schema/policies/index.js +1 -0
  46. package/dist/schema/policies/is-self.js +5 -0
  47. package/dist/schema/schema.d.ts +136 -0
  48. package/dist/schema/schema.js +6 -4
  49. package/package.json +3 -3
package/dist/runtime.d.ts CHANGED
@@ -25,6 +25,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
25
25
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
26
26
  readonly properties: {
27
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>;
28
30
  };
29
31
  readonly methods: {
30
32
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -38,6 +40,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
38
40
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
39
41
  };
40
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>>;
41
50
  };
42
51
  }>;
43
52
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -126,6 +135,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
126
135
  readonly constraints: Record<never, never>;
127
136
  readonly effectiveProperties: never;
128
137
  }>;
138
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
139
+ readonly depth: 0;
140
+ readonly abstract: false;
141
+ readonly extends: readonly [];
142
+ readonly properties: never;
143
+ readonly source: {
144
+ readonly as: "holder";
145
+ readonly outgoing: "0..*";
146
+ };
147
+ readonly target: {
148
+ readonly as: "view";
149
+ readonly incoming: "0..*";
150
+ };
151
+ readonly constraints: Record<never, never>;
152
+ readonly effectiveProperties: never;
153
+ }>;
129
154
  };
130
155
  readonly functions: {
131
156
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -138,12 +163,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
138
163
  }[];
139
164
  };
140
165
  }, "authorized", false, false, undefined, undefined>>;
166
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
167
+ assignments: {
168
+ identity: string;
169
+ set?: string[] | undefined;
170
+ unset?: string[] | undefined;
171
+ }[];
172
+ }, {
173
+ readonly mode: 'value';
174
+ readonly value: Record<string, never>;
175
+ }, "authorized", false, false, undefined, undefined>>;
141
176
  };
142
177
  readonly policies: {
143
178
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
144
179
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
145
180
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
146
181
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
182
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
147
183
  };
148
184
  readonly views: {
149
185
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -154,6 +190,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
154
190
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
155
191
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
156
192
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
193
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
157
194
  };
158
195
  };
159
196
  }, {
@@ -199,6 +236,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
199
236
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
200
237
  readonly properties: {
201
238
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
239
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
240
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
202
241
  };
203
242
  readonly methods: {
204
243
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -212,6 +251,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
212
251
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
213
252
  };
214
253
  }, "authorized", true, false, undefined, undefined>>;
254
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
255
+ email?: string | undefined;
256
+ displayName?: string | undefined;
257
+ }, {
258
+ readonly mode: 'value';
259
+ readonly value: Record<string, never>;
260
+ }, "authorized", false, false, undefined, undefined>>;
215
261
  };
216
262
  }>;
217
263
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -300,6 +346,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
300
346
  readonly constraints: Record<never, never>;
301
347
  readonly effectiveProperties: never;
302
348
  }>;
349
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
350
+ readonly depth: 0;
351
+ readonly abstract: false;
352
+ readonly extends: readonly [];
353
+ readonly properties: never;
354
+ readonly source: {
355
+ readonly as: "holder";
356
+ readonly outgoing: "0..*";
357
+ };
358
+ readonly target: {
359
+ readonly as: "view";
360
+ readonly incoming: "0..*";
361
+ };
362
+ readonly constraints: Record<never, never>;
363
+ readonly effectiveProperties: never;
364
+ }>;
303
365
  };
304
366
  readonly functions: {
305
367
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -312,12 +374,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
312
374
  }[];
313
375
  };
314
376
  }, "authorized", false, false, undefined, undefined>>;
377
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
378
+ assignments: {
379
+ identity: string;
380
+ set?: string[] | undefined;
381
+ unset?: string[] | undefined;
382
+ }[];
383
+ }, {
384
+ readonly mode: 'value';
385
+ readonly value: Record<string, never>;
386
+ }, "authorized", false, false, undefined, undefined>>;
315
387
  };
316
388
  readonly policies: {
317
389
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
318
390
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
319
391
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
320
392
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
393
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
321
394
  };
322
395
  readonly views: {
323
396
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -328,6 +401,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
328
401
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
329
402
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
330
403
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
404
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
331
405
  };
332
406
  };
333
407
  }, {
@@ -371,6 +445,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
371
445
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
372
446
  readonly properties: {
373
447
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
448
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
449
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
374
450
  };
375
451
  readonly methods: {
376
452
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -384,6 +460,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
384
460
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
385
461
  };
386
462
  }, "authorized", true, false, undefined, undefined>>;
463
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
464
+ email?: string | undefined;
465
+ displayName?: string | undefined;
466
+ }, {
467
+ readonly mode: 'value';
468
+ readonly value: Record<string, never>;
469
+ }, "authorized", false, false, undefined, undefined>>;
387
470
  };
388
471
  }>;
389
472
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -472,6 +555,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
472
555
  readonly constraints: Record<never, never>;
473
556
  readonly effectiveProperties: never;
474
557
  }>;
558
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
559
+ readonly depth: 0;
560
+ readonly abstract: false;
561
+ readonly extends: readonly [];
562
+ readonly properties: never;
563
+ readonly source: {
564
+ readonly as: "holder";
565
+ readonly outgoing: "0..*";
566
+ };
567
+ readonly target: {
568
+ readonly as: "view";
569
+ readonly incoming: "0..*";
570
+ };
571
+ readonly constraints: Record<never, never>;
572
+ readonly effectiveProperties: never;
573
+ }>;
475
574
  };
476
575
  readonly functions: {
477
576
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -484,12 +583,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
484
583
  }[];
485
584
  };
486
585
  }, "authorized", false, false, undefined, undefined>>;
586
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
587
+ assignments: {
588
+ identity: string;
589
+ set?: string[] | undefined;
590
+ unset?: string[] | undefined;
591
+ }[];
592
+ }, {
593
+ readonly mode: 'value';
594
+ readonly value: Record<string, never>;
595
+ }, "authorized", false, false, undefined, undefined>>;
487
596
  };
488
597
  readonly policies: {
489
598
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
490
599
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
491
600
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
492
601
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
602
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
493
603
  };
494
604
  readonly views: {
495
605
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -500,6 +610,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
500
610
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
501
611
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
502
612
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
613
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
503
614
  };
504
615
  };
505
616
  }, {
@@ -543,6 +654,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
543
654
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
544
655
  readonly properties: {
545
656
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
657
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
658
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
546
659
  };
547
660
  readonly methods: {
548
661
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -556,6 +669,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
556
669
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
557
670
  };
558
671
  }, "authorized", true, false, undefined, undefined>>;
672
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
673
+ email?: string | undefined;
674
+ displayName?: string | undefined;
675
+ }, {
676
+ readonly mode: 'value';
677
+ readonly value: Record<string, never>;
678
+ }, "authorized", false, false, undefined, undefined>>;
559
679
  };
560
680
  }>;
561
681
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -644,6 +764,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
644
764
  readonly constraints: Record<never, never>;
645
765
  readonly effectiveProperties: never;
646
766
  }>;
767
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
768
+ readonly depth: 0;
769
+ readonly abstract: false;
770
+ readonly extends: readonly [];
771
+ readonly properties: never;
772
+ readonly source: {
773
+ readonly as: "holder";
774
+ readonly outgoing: "0..*";
775
+ };
776
+ readonly target: {
777
+ readonly as: "view";
778
+ readonly incoming: "0..*";
779
+ };
780
+ readonly constraints: Record<never, never>;
781
+ readonly effectiveProperties: never;
782
+ }>;
647
783
  };
648
784
  readonly functions: {
649
785
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -656,12 +792,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
656
792
  }[];
657
793
  };
658
794
  }, "authorized", false, false, undefined, undefined>>;
795
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
796
+ assignments: {
797
+ identity: string;
798
+ set?: string[] | undefined;
799
+ unset?: string[] | undefined;
800
+ }[];
801
+ }, {
802
+ readonly mode: 'value';
803
+ readonly value: Record<string, never>;
804
+ }, "authorized", false, false, undefined, undefined>>;
659
805
  };
660
806
  readonly policies: {
661
807
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
662
808
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
663
809
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
664
810
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
811
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
665
812
  };
666
813
  readonly views: {
667
814
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -672,6 +819,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
672
819
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
673
820
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
674
821
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
822
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
675
823
  };
676
824
  };
677
825
  }, {
@@ -689,6 +837,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
689
837
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
690
838
  readonly properties: {
691
839
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
840
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
841
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
692
842
  };
693
843
  readonly methods: {
694
844
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -702,6 +852,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
702
852
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
703
853
  };
704
854
  }, "authorized", true, false, undefined, undefined>>;
855
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
856
+ email?: string | undefined;
857
+ displayName?: string | undefined;
858
+ }, {
859
+ readonly mode: 'value';
860
+ readonly value: Record<string, never>;
861
+ }, "authorized", false, false, undefined, undefined>>;
705
862
  };
706
863
  }>;
707
864
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -790,6 +947,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
790
947
  readonly constraints: Record<never, never>;
791
948
  readonly effectiveProperties: never;
792
949
  }>;
950
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
951
+ readonly depth: 0;
952
+ readonly abstract: false;
953
+ readonly extends: readonly [];
954
+ readonly properties: never;
955
+ readonly source: {
956
+ readonly as: "holder";
957
+ readonly outgoing: "0..*";
958
+ };
959
+ readonly target: {
960
+ readonly as: "view";
961
+ readonly incoming: "0..*";
962
+ };
963
+ readonly constraints: Record<never, never>;
964
+ readonly effectiveProperties: never;
965
+ }>;
793
966
  };
794
967
  readonly functions: {
795
968
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -802,12 +975,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
802
975
  }[];
803
976
  };
804
977
  }, "authorized", false, false, undefined, undefined>>;
978
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
979
+ assignments: {
980
+ identity: string;
981
+ set?: string[] | undefined;
982
+ unset?: string[] | undefined;
983
+ }[];
984
+ }, {
985
+ readonly mode: 'value';
986
+ readonly value: Record<string, never>;
987
+ }, "authorized", false, false, undefined, undefined>>;
805
988
  };
806
989
  readonly policies: {
807
990
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
808
991
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
809
992
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
810
993
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
994
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
811
995
  };
812
996
  readonly views: {
813
997
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -818,6 +1002,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
818
1002
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
819
1003
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
820
1004
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
1005
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
821
1006
  };
822
1007
  };
823
1008
  }, {
@@ -867,6 +1052,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
867
1052
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
868
1053
  readonly properties: {
869
1054
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1055
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
1056
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
870
1057
  };
871
1058
  readonly methods: {
872
1059
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -880,6 +1067,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
880
1067
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
881
1068
  };
882
1069
  }, "authorized", true, false, undefined, undefined>>;
1070
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1071
+ email?: string | undefined;
1072
+ displayName?: string | undefined;
1073
+ }, {
1074
+ readonly mode: 'value';
1075
+ readonly value: Record<string, never>;
1076
+ }, "authorized", false, false, undefined, undefined>>;
883
1077
  };
884
1078
  }>;
885
1079
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -968,6 +1162,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
968
1162
  readonly constraints: Record<never, never>;
969
1163
  readonly effectiveProperties: never;
970
1164
  }>;
1165
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1166
+ readonly depth: 0;
1167
+ readonly abstract: false;
1168
+ readonly extends: readonly [];
1169
+ readonly properties: never;
1170
+ readonly source: {
1171
+ readonly as: "holder";
1172
+ readonly outgoing: "0..*";
1173
+ };
1174
+ readonly target: {
1175
+ readonly as: "view";
1176
+ readonly incoming: "0..*";
1177
+ };
1178
+ readonly constraints: Record<never, never>;
1179
+ readonly effectiveProperties: never;
1180
+ }>;
971
1181
  };
972
1182
  readonly functions: {
973
1183
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -980,12 +1190,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
980
1190
  }[];
981
1191
  };
982
1192
  }, "authorized", false, false, undefined, undefined>>;
1193
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
1194
+ assignments: {
1195
+ identity: string;
1196
+ set?: string[] | undefined;
1197
+ unset?: string[] | undefined;
1198
+ }[];
1199
+ }, {
1200
+ readonly mode: 'value';
1201
+ readonly value: Record<string, never>;
1202
+ }, "authorized", false, false, undefined, undefined>>;
983
1203
  };
984
1204
  readonly policies: {
985
1205
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
986
1206
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
987
1207
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
988
1208
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
1209
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
989
1210
  };
990
1211
  readonly views: {
991
1212
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -996,6 +1217,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
996
1217
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
997
1218
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
998
1219
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
1220
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
999
1221
  };
1000
1222
  };
1001
1223
  }, {
@@ -1045,6 +1267,8 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1045
1267
  readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
1046
1268
  readonly properties: {
1047
1269
  readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1270
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
1271
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
1048
1272
  };
1049
1273
  readonly methods: {
1050
1274
  readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
@@ -1058,6 +1282,13 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1058
1282
  state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
1059
1283
  };
1060
1284
  }, "authorized", true, false, undefined, undefined>>;
1285
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1286
+ email?: string | undefined;
1287
+ displayName?: string | undefined;
1288
+ }, {
1289
+ readonly mode: 'value';
1290
+ readonly value: Record<string, never>;
1291
+ }, "authorized", false, false, undefined, undefined>>;
1061
1292
  };
1062
1293
  }>;
1063
1294
  readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
@@ -1146,6 +1377,22 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1146
1377
  readonly constraints: Record<never, never>;
1147
1378
  readonly effectiveProperties: never;
1148
1379
  }>;
1380
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1381
+ readonly depth: 0;
1382
+ readonly abstract: false;
1383
+ readonly extends: readonly [];
1384
+ readonly properties: never;
1385
+ readonly source: {
1386
+ readonly as: "holder";
1387
+ readonly outgoing: "0..*";
1388
+ };
1389
+ readonly target: {
1390
+ readonly as: "view";
1391
+ readonly incoming: "0..*";
1392
+ };
1393
+ readonly constraints: Record<never, never>;
1394
+ readonly effectiveProperties: never;
1395
+ }>;
1149
1396
  };
1150
1397
  readonly functions: {
1151
1398
  readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
@@ -1158,12 +1405,23 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1158
1405
  }[];
1159
1406
  };
1160
1407
  }, "authorized", false, false, undefined, undefined>>;
1408
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
1409
+ assignments: {
1410
+ identity: string;
1411
+ set?: string[] | undefined;
1412
+ unset?: string[] | undefined;
1413
+ }[];
1414
+ }, {
1415
+ readonly mode: 'value';
1416
+ readonly value: Record<string, never>;
1417
+ }, "authorized", false, false, undefined, undefined>>;
1161
1418
  };
1162
1419
  readonly policies: {
1163
1420
  readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
1164
1421
  readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
1165
1422
  readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
1166
1423
  readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
1424
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
1167
1425
  };
1168
1426
  readonly views: {
1169
1427
  readonly application: import("@astrale-os/sdk/schema").View;
@@ -1174,6 +1432,7 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1174
1432
  readonly applications: import("@astrale-os/sdk/schema").CoreNode;
1175
1433
  readonly member: import("@astrale-os/sdk/schema").CoreNode;
1176
1434
  readonly views: import("@astrale-os/sdk/schema").CoreNode;
1435
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
1177
1436
  };
1178
1437
  };
1179
1438
  }, {
@@ -1210,7 +1469,402 @@ declare const functions: readonly [import("@astrale-os/sdk/workflow").WorkflowDe
1210
1469
  name: import("zod").ZodString;
1211
1470
  }, import("zod/v4/core").$strict>;
1212
1471
  };
1213
- }>];
1472
+ }>, 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", {
1473
+ readonly name: 'Shell';
1474
+ readonly entrypoint: 'application';
1475
+ readonly classes: {
1476
+ readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1477
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1478
+ readonly inheritance: "open";
1479
+ readonly policies: {
1480
+ readonly read: true;
1481
+ };
1482
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
1483
+ readonly properties: {
1484
+ readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1485
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
1486
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
1487
+ };
1488
+ readonly methods: {
1489
+ readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1490
+ user: string;
1491
+ email: string;
1492
+ }, {
1493
+ readonly mode: 'value';
1494
+ readonly value: {
1495
+ invitationId: string;
1496
+ user: string;
1497
+ state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
1498
+ };
1499
+ }, "authorized", true, false, undefined, undefined>>;
1500
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1501
+ email?: string | undefined;
1502
+ displayName?: string | undefined;
1503
+ }, {
1504
+ readonly mode: 'value';
1505
+ readonly value: Record<string, never>;
1506
+ }, "authorized", false, false, undefined, undefined>>;
1507
+ };
1508
+ }>;
1509
+ readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1510
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1511
+ readonly inheritance: "open";
1512
+ readonly policies: {
1513
+ readonly read: true;
1514
+ };
1515
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
1516
+ readonly methods: {
1517
+ readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1518
+ member: string;
1519
+ group: string;
1520
+ }, {
1521
+ readonly mode: 'value';
1522
+ readonly value: Record<string, never>;
1523
+ }, "authorized", true, false, undefined, undefined>>;
1524
+ readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1525
+ member: string;
1526
+ group: string;
1527
+ }, {
1528
+ readonly mode: 'value';
1529
+ readonly value: Record<string, never>;
1530
+ }, "authorized", true, false, undefined, undefined>>;
1531
+ };
1532
+ }>;
1533
+ readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1534
+ readonly depth: 0;
1535
+ readonly abstract: false;
1536
+ readonly extends: readonly [];
1537
+ readonly properties: never;
1538
+ readonly source: {
1539
+ readonly as: "member";
1540
+ readonly outgoing: "0..*";
1541
+ };
1542
+ readonly target: {
1543
+ readonly as: "group";
1544
+ readonly incoming: "0..*";
1545
+ };
1546
+ readonly constraints: Record<never, never>;
1547
+ readonly effectiveProperties: never;
1548
+ }>;
1549
+ readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1550
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1551
+ readonly policies: {
1552
+ readonly read: true;
1553
+ readonly traverse: true;
1554
+ };
1555
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
1556
+ readonly methods: {
1557
+ readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1558
+ name: string;
1559
+ target: string;
1560
+ }, {
1561
+ readonly mode: 'value';
1562
+ readonly value: Record<string, never>;
1563
+ }, "authorized", false, false, undefined, undefined>>;
1564
+ readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1565
+ name: string;
1566
+ }, {
1567
+ readonly mode: 'value';
1568
+ readonly value: Record<string, never>;
1569
+ }, "authorized", false, false, undefined, undefined>>;
1570
+ readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1571
+ name: string;
1572
+ to: string;
1573
+ }, {
1574
+ readonly mode: 'value';
1575
+ readonly value: Record<string, never>;
1576
+ }, "authorized", false, false, undefined, undefined>>;
1577
+ };
1578
+ }>;
1579
+ readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1580
+ readonly depth: 0;
1581
+ readonly abstract: false;
1582
+ readonly extends: readonly [];
1583
+ readonly properties: never;
1584
+ readonly source: {
1585
+ readonly as: "namespace";
1586
+ readonly outgoing: "0..*";
1587
+ };
1588
+ readonly target: {
1589
+ readonly as: "node";
1590
+ readonly incoming: "0..*";
1591
+ };
1592
+ readonly constraints: Record<never, never>;
1593
+ readonly effectiveProperties: never;
1594
+ }>;
1595
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1596
+ readonly depth: 0;
1597
+ readonly abstract: false;
1598
+ readonly extends: readonly [];
1599
+ readonly properties: never;
1600
+ readonly source: {
1601
+ readonly as: "holder";
1602
+ readonly outgoing: "0..*";
1603
+ };
1604
+ readonly target: {
1605
+ readonly as: "view";
1606
+ readonly incoming: "0..*";
1607
+ };
1608
+ readonly constraints: Record<never, never>;
1609
+ readonly effectiveProperties: never;
1610
+ }>;
1611
+ };
1612
+ readonly functions: {
1613
+ readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
1614
+ readonly mode: 'value';
1615
+ readonly value: {
1616
+ entrypoints: {
1617
+ origin: string;
1618
+ name: string;
1619
+ view: string;
1620
+ }[];
1621
+ };
1622
+ }, "authorized", false, false, undefined, undefined>>;
1623
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
1624
+ assignments: {
1625
+ identity: string;
1626
+ set?: string[] | undefined;
1627
+ unset?: string[] | undefined;
1628
+ }[];
1629
+ }, {
1630
+ readonly mode: 'value';
1631
+ readonly value: Record<string, never>;
1632
+ }, "authorized", false, false, undefined, undefined>>;
1633
+ };
1634
+ readonly policies: {
1635
+ readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
1636
+ readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
1637
+ readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
1638
+ readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
1639
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
1640
+ };
1641
+ readonly views: {
1642
+ readonly application: import("@astrale-os/sdk/schema").View;
1643
+ };
1644
+ readonly core: {
1645
+ readonly nodes: {
1646
+ readonly admin: import("@astrale-os/sdk/schema").CoreNode;
1647
+ readonly applications: import("@astrale-os/sdk/schema").CoreNode;
1648
+ readonly member: import("@astrale-os/sdk/schema").CoreNode;
1649
+ readonly views: import("@astrale-os/sdk/schema").CoreNode;
1650
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
1651
+ };
1652
+ };
1653
+ }, {
1654
+ readonly kernel: "kernel.astrale.ai";
1655
+ }]>, "assignViews", Readonly<Record<never, never>>, {
1656
+ readonly INVALID_VIEW_ASSIGNMENT_REFERENCE: {
1657
+ readonly family: 'VALIDATION_ERROR';
1658
+ readonly message: 'Identities and Views must be exact canonical @NodeId paths.';
1659
+ readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1660
+ };
1661
+ readonly CONTRADICTORY_VIEW_ASSIGNMENT: {
1662
+ readonly family: 'VALIDATION_ERROR';
1663
+ readonly message: 'One View is both given to and withdrawn from the same identity.';
1664
+ readonly details: import("zod").ZodObject<{
1665
+ identity: import("zod").ZodString;
1666
+ view: import("zod").ZodString;
1667
+ }, import("zod/v4/core").$strict>;
1668
+ };
1669
+ readonly VIEW_ASSIGNMENT_ENDPOINT_NOT_FOUND: {
1670
+ readonly family: 'NOT_FOUND';
1671
+ readonly message: 'An identity is not a User or a Group, or a View to give is not a View.';
1672
+ readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1673
+ };
1674
+ readonly VIEW_ACCESS_CONFLICT: {
1675
+ readonly family: 'CONFLICT';
1676
+ readonly message: 'The Views of these identities changed concurrently; retry the operation.';
1677
+ readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1678
+ };
1679
+ readonly VIEW_ACCESS_UNCONFIRMED: {
1680
+ readonly family: 'CONFLICT';
1681
+ readonly message: 'The Views asked for could not be confirmed; retry the operation.';
1682
+ readonly details: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1683
+ };
1684
+ }>, 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", {
1685
+ readonly name: 'Shell';
1686
+ readonly entrypoint: 'application';
1687
+ readonly classes: {
1688
+ readonly User: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1689
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1690
+ readonly inheritance: "open";
1691
+ readonly policies: {
1692
+ readonly read: true;
1693
+ };
1694
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">];
1695
+ readonly properties: {
1696
+ readonly creationKey: import("zod").ZodOptional<import("zod").ZodString>;
1697
+ readonly claimedEmail: import("zod").ZodOptional<import("zod").ZodString>;
1698
+ readonly claimedName: import("zod").ZodOptional<import("zod").ZodString>;
1699
+ };
1700
+ readonly methods: {
1701
+ readonly invite: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1702
+ user: string;
1703
+ email: string;
1704
+ }, {
1705
+ readonly mode: 'value';
1706
+ readonly value: {
1707
+ invitationId: string;
1708
+ user: string;
1709
+ state: "accepted" | "cancelled" | "completed" | "expired" | "failed" | "pending" | "registered" | "registering";
1710
+ };
1711
+ }, "authorized", true, false, undefined, undefined>>;
1712
+ readonly recordProfile: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1713
+ email?: string | undefined;
1714
+ displayName?: string | undefined;
1715
+ }, {
1716
+ readonly mode: 'value';
1717
+ readonly value: Record<string, never>;
1718
+ }, "authorized", false, false, undefined, undefined>>;
1719
+ };
1720
+ }>;
1721
+ readonly Group: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1722
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1723
+ readonly inheritance: "open";
1724
+ readonly policies: {
1725
+ readonly read: true;
1726
+ };
1727
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Identity">, import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
1728
+ readonly methods: {
1729
+ readonly assignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1730
+ member: string;
1731
+ group: string;
1732
+ }, {
1733
+ readonly mode: 'value';
1734
+ readonly value: Record<string, never>;
1735
+ }, "authorized", true, false, undefined, undefined>>;
1736
+ readonly unassignMember: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1737
+ member: string;
1738
+ group: string;
1739
+ }, {
1740
+ readonly mode: 'value';
1741
+ readonly value: Record<string, never>;
1742
+ }, "authorized", true, false, undefined, undefined>>;
1743
+ };
1744
+ }>;
1745
+ readonly member_of_group: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1746
+ readonly depth: 0;
1747
+ readonly abstract: false;
1748
+ readonly extends: readonly [];
1749
+ readonly properties: never;
1750
+ readonly source: {
1751
+ readonly as: "member";
1752
+ readonly outgoing: "0..*";
1753
+ };
1754
+ readonly target: {
1755
+ readonly as: "group";
1756
+ readonly incoming: "0..*";
1757
+ };
1758
+ readonly constraints: Record<never, never>;
1759
+ readonly effectiveProperties: never;
1760
+ }>;
1761
+ readonly Namespace: import("@astrale-os/sdk/schema").AuthoredNodeClass<{
1762
+ readonly icon: import("@astrale-os/sdk/schema").ClassIcon;
1763
+ readonly policies: {
1764
+ readonly read: true;
1765
+ readonly traverse: true;
1766
+ };
1767
+ readonly extends: readonly [import("@astrale-os/sdk/schema").KernelClass<"Named">, import("@astrale-os/sdk/schema").KernelClass<"Descriptable">];
1768
+ readonly methods: {
1769
+ readonly link: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1770
+ name: string;
1771
+ target: string;
1772
+ }, {
1773
+ readonly mode: 'value';
1774
+ readonly value: Record<string, never>;
1775
+ }, "authorized", false, false, undefined, undefined>>;
1776
+ readonly unlink: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1777
+ name: string;
1778
+ }, {
1779
+ readonly mode: 'value';
1780
+ readonly value: Record<string, never>;
1781
+ }, "authorized", false, false, undefined, undefined>>;
1782
+ readonly rename: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
1783
+ name: string;
1784
+ to: string;
1785
+ }, {
1786
+ readonly mode: 'value';
1787
+ readonly value: Record<string, never>;
1788
+ }, "authorized", false, false, undefined, undefined>>;
1789
+ };
1790
+ }>;
1791
+ readonly alias: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1792
+ readonly depth: 0;
1793
+ readonly abstract: false;
1794
+ readonly extends: readonly [];
1795
+ readonly properties: never;
1796
+ readonly source: {
1797
+ readonly as: "namespace";
1798
+ readonly outgoing: "0..*";
1799
+ };
1800
+ readonly target: {
1801
+ readonly as: "node";
1802
+ readonly incoming: "0..*";
1803
+ };
1804
+ readonly constraints: Record<never, never>;
1805
+ readonly effectiveProperties: never;
1806
+ }>;
1807
+ readonly view_access: import("@astrale-os/sdk/schema").DirectedEdgeClass<{
1808
+ readonly depth: 0;
1809
+ readonly abstract: false;
1810
+ readonly extends: readonly [];
1811
+ readonly properties: never;
1812
+ readonly source: {
1813
+ readonly as: "holder";
1814
+ readonly outgoing: "0..*";
1815
+ };
1816
+ readonly target: {
1817
+ readonly as: "view";
1818
+ readonly incoming: "0..*";
1819
+ };
1820
+ readonly constraints: Record<never, never>;
1821
+ readonly effectiveProperties: never;
1822
+ }>;
1823
+ };
1824
+ readonly functions: {
1825
+ readonly listEntrypoints: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<Record<string, never>, {
1826
+ readonly mode: 'value';
1827
+ readonly value: {
1828
+ entrypoints: {
1829
+ origin: string;
1830
+ name: string;
1831
+ view: string;
1832
+ }[];
1833
+ };
1834
+ }, "authorized", false, false, undefined, undefined>>;
1835
+ readonly assignViews: import("@astrale-os/sdk/schema").Function<import("@astrale-os/sdk/schema").CallableProjection<{
1836
+ assignments: {
1837
+ identity: string;
1838
+ set?: string[] | undefined;
1839
+ unset?: string[] | undefined;
1840
+ }[];
1841
+ }, {
1842
+ readonly mode: 'value';
1843
+ readonly value: Record<string, never>;
1844
+ }, "authorized", false, false, undefined, undefined>>;
1845
+ };
1846
+ readonly policies: {
1847
+ readonly belongsToGroup: import("@astrale-os/sdk/schema").Policy;
1848
+ readonly ownsClass: import("@astrale-os/sdk/schema").Policy;
1849
+ readonly administersShellClass: import("@astrale-os/sdk/schema").Policy;
1850
+ readonly usesFunction: import("@astrale-os/sdk/schema").Policy;
1851
+ readonly isSelf: import("@astrale-os/sdk/schema").Policy;
1852
+ };
1853
+ readonly views: {
1854
+ readonly application: import("@astrale-os/sdk/schema").View;
1855
+ };
1856
+ readonly core: {
1857
+ readonly nodes: {
1858
+ readonly admin: import("@astrale-os/sdk/schema").CoreNode;
1859
+ readonly applications: import("@astrale-os/sdk/schema").CoreNode;
1860
+ readonly member: import("@astrale-os/sdk/schema").CoreNode;
1861
+ readonly views: import("@astrale-os/sdk/schema").CoreNode;
1862
+ readonly 'view-only': import("@astrale-os/sdk/schema").CoreNode;
1863
+ };
1864
+ };
1865
+ }, {
1866
+ readonly kernel: "kernel.astrale.ai";
1867
+ }]>, "User.recordProfile", Readonly<Record<never, never>>, Readonly<Record<never, never>>>];
1214
1868
  export type ShellRuntime = Runtime<ShellSchema, typeof integrations, typeof initialize, typeof functions>;
1215
1869
  declare const runtime: ShellRuntime;
1216
1870
  export default runtime;