@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.
Files changed (244) hide show
  1. package/README.md +264 -64
  2. package/dist/domain.d.ts +225 -0
  3. package/dist/domain.js +96 -0
  4. package/dist/functions/application/index.js +1 -0
  5. package/dist/functions/application/list-entrypoints.js +6 -0
  6. package/dist/functions/group/assign-member-to-group.js +4 -0
  7. package/dist/functions/group/change-group-membership.js +34 -0
  8. package/dist/functions/group/group-membership-errors.js +23 -0
  9. package/dist/functions/group/index.js +2 -0
  10. package/dist/functions/group/unassign-member-from-group.js +4 -0
  11. package/dist/functions/namespace/index.js +3 -0
  12. package/dist/functions/namespace/link.js +30 -0
  13. package/dist/functions/namespace/namespace-errors.js +28 -0
  14. package/dist/functions/namespace/namespace-name.js +13 -0
  15. package/dist/functions/namespace/rename.js +31 -0
  16. package/dist/functions/namespace/unlink.js +21 -0
  17. package/dist/functions/user/index.js +2 -0
  18. package/dist/functions/user/invite-user.js +39 -0
  19. package/dist/functions/user/record-profile.js +18 -0
  20. package/dist/functions/view-access/assign-views.js +86 -0
  21. package/dist/functions/view-access/index.js +1 -0
  22. package/dist/functions/view-access/view-access-errors.js +28 -0
  23. package/dist/index.d.ts +1 -3
  24. package/dist/index.js +1 -3
  25. package/dist/integrations/index.d.ts +1 -0
  26. package/dist/integrations/index.js +1 -0
  27. package/dist/integrations/integrations.d.ts +9 -0
  28. package/dist/integrations/integrations.js +2 -0
  29. package/dist/integrations/user-invitation/index.d.ts +4 -0
  30. package/dist/integrations/user-invitation/index.js +3 -0
  31. package/dist/integrations/user-invitation/invitation-request-failure.d.ts +5 -0
  32. package/dist/integrations/user-invitation/invitation-request-failure.js +9 -0
  33. package/dist/integrations/user-invitation/invite-user-request.d.ts +6 -0
  34. package/dist/integrations/user-invitation/invite-user-request.js +1 -0
  35. package/dist/integrations/user-invitation/request-user-invitation.d.ts +8 -0
  36. package/dist/integrations/user-invitation/request-user-invitation.js +9 -0
  37. package/dist/mutations/group/index.js +1 -1
  38. package/dist/mutations/group/set-group-membership.js +29 -0
  39. package/dist/mutations/namespace/alias-write.js +22 -0
  40. package/dist/mutations/namespace/index.js +3 -0
  41. package/dist/mutations/namespace/link-alias.js +15 -0
  42. package/dist/mutations/namespace/rename-alias.js +13 -0
  43. package/dist/mutations/namespace/unlink-alias.js +13 -0
  44. package/dist/mutations/user/index.js +1 -1
  45. package/dist/mutations/user/record-user-profile.js +13 -0
  46. package/dist/mutations/view-access/index.js +1 -0
  47. package/dist/mutations/view-access/set-view-access.js +29 -0
  48. package/dist/providers/admin-enrollment/create-admin-enrollment-provider.js +78 -0
  49. package/dist/providers/admin-enrollment/decode-admin-invitation-response.js +20 -0
  50. package/dist/providers/admin-enrollment/index.js +1 -0
  51. package/dist/providers/admin-enrollment/read-enrollment-response.js +34 -0
  52. package/dist/queries/application/index.js +1 -0
  53. package/dist/queries/application/read-installed-entrypoints.js +28 -0
  54. package/dist/queries/group/index.js +2 -0
  55. package/dist/queries/group/read-group-membership-endpoints.js +18 -0
  56. package/dist/queries/group/read-group-membership.js +35 -0
  57. package/dist/queries/namespace/index.js +2 -0
  58. package/dist/queries/namespace/read-designated-node.js +12 -0
  59. package/dist/queries/namespace/read-view-aliases.js +46 -0
  60. package/dist/queries/user/index.js +1 -5
  61. package/dist/queries/user/read-user-profile.js +9 -0
  62. package/dist/queries/view-access/index.js +1 -0
  63. package/dist/queries/view-access/read-view-access.js +35 -0
  64. package/dist/runtime.d.ts +2175 -3
  65. package/dist/runtime.js +24 -14
  66. package/dist/schema/index.d.ts +7 -6
  67. package/dist/schema/index.js +6 -6
  68. package/dist/schema/modules/application/functions/index.d.ts +1 -0
  69. package/dist/schema/modules/application/functions/index.js +1 -0
  70. package/dist/schema/modules/application/functions/list-entrypoints.d.ts +15 -0
  71. package/dist/schema/modules/application/functions/list-entrypoints.js +16 -0
  72. package/dist/schema/modules/application/index.d.ts +2 -0
  73. package/dist/schema/modules/application/index.js +2 -0
  74. package/dist/schema/modules/application/types/entrypoint-entry.d.ts +8 -0
  75. package/dist/schema/modules/application/types/entrypoint-entry.js +7 -0
  76. package/dist/schema/modules/application/types/index.d.ts +1 -0
  77. package/dist/schema/modules/application/types/index.js +1 -0
  78. package/dist/schema/modules/group/classes/group.d.ts +24 -0
  79. package/dist/schema/modules/group/classes/group.js +11 -0
  80. package/dist/schema/modules/group/classes/index.d.ts +2 -0
  81. package/dist/schema/modules/group/classes/index.js +2 -0
  82. package/dist/schema/modules/group/classes/member-of-group.d.ts +30 -0
  83. package/dist/schema/modules/group/classes/member-of-group.js +12 -0
  84. package/dist/schema/modules/group/core/administrators-group.d.ts +1 -0
  85. package/dist/schema/modules/group/core/administrators-group.js +6 -0
  86. package/dist/schema/modules/group/core/applications-group.d.ts +1 -0
  87. package/dist/schema/modules/group/core/applications-group.js +6 -0
  88. package/dist/schema/modules/group/core/index.d.ts +3 -0
  89. package/dist/schema/modules/group/core/index.js +3 -0
  90. package/dist/schema/modules/group/core/members-group.d.ts +1 -0
  91. package/dist/schema/modules/group/core/members-group.js +6 -0
  92. package/dist/schema/modules/group/functions/assign-member-to-group.js +11 -0
  93. package/dist/schema/modules/group/functions/index.js +2 -0
  94. package/dist/schema/modules/group/functions/unassign-member-from-group.js +11 -0
  95. package/dist/schema/modules/group/index.d.ts +3 -0
  96. package/dist/schema/modules/group/index.js +3 -0
  97. package/dist/schema/modules/group/policies/belongs-to-group.d.ts +1 -0
  98. package/dist/schema/modules/group/policies/belongs-to-group.js +5 -0
  99. package/dist/schema/modules/group/policies/index.d.ts +1 -0
  100. package/dist/schema/modules/group/policies/index.js +1 -0
  101. package/dist/schema/modules/group/types/group-membership-input.js +8 -0
  102. package/dist/schema/modules/group/types/index.js +1 -0
  103. package/dist/schema/modules/namespace/classes/alias.d.ts +31 -0
  104. package/dist/schema/modules/namespace/classes/alias.js +13 -0
  105. package/dist/schema/modules/namespace/classes/index.d.ts +2 -0
  106. package/dist/schema/modules/namespace/classes/index.js +2 -0
  107. package/dist/schema/modules/namespace/classes/namespace.d.ts +31 -0
  108. package/dist/schema/modules/namespace/classes/namespace.js +10 -0
  109. package/dist/schema/modules/namespace/core/index.d.ts +1 -0
  110. package/dist/schema/modules/namespace/core/index.js +1 -0
  111. package/dist/schema/modules/namespace/core/views-namespace.d.ts +2 -0
  112. package/dist/schema/modules/namespace/core/views-namespace.js +7 -0
  113. package/dist/schema/modules/namespace/functions/index.js +3 -0
  114. package/dist/schema/modules/namespace/functions/link.js +11 -0
  115. package/dist/schema/modules/namespace/functions/rename.js +11 -0
  116. package/dist/schema/modules/namespace/functions/unlink.js +11 -0
  117. package/dist/schema/modules/namespace/index.d.ts +2 -0
  118. package/dist/schema/modules/namespace/index.js +2 -0
  119. package/dist/schema/modules/namespace/types/index.js +1 -0
  120. package/dist/schema/modules/namespace/types/namespace-name.js +7 -0
  121. package/dist/schema/modules/user/classes/index.d.ts +1 -0
  122. package/dist/schema/modules/user/classes/index.js +1 -0
  123. package/dist/schema/modules/user/classes/user.d.ts +34 -0
  124. package/dist/schema/modules/user/classes/user.js +21 -0
  125. package/dist/schema/modules/user/functions/index.js +2 -0
  126. package/dist/schema/modules/user/functions/invite-user.js +12 -0
  127. package/dist/schema/modules/user/functions/record-profile.js +14 -0
  128. package/dist/schema/modules/user/index.d.ts +2 -0
  129. package/dist/schema/modules/user/index.js +2 -0
  130. package/dist/schema/modules/user/types/index.d.ts +2 -0
  131. package/dist/schema/modules/user/types/index.js +2 -0
  132. package/dist/schema/modules/user/types/invitation-summary.d.ts +16 -0
  133. package/dist/schema/modules/user/types/invitation-summary.js +15 -0
  134. package/dist/schema/modules/user/types/user-profile.d.ts +7 -0
  135. package/dist/schema/modules/user/types/user-profile.js +7 -0
  136. package/dist/schema/modules/view-access/classes/index.d.ts +1 -0
  137. package/dist/schema/modules/view-access/classes/index.js +1 -0
  138. package/dist/schema/modules/view-access/classes/view-access.d.ts +32 -0
  139. package/dist/schema/modules/view-access/classes/view-access.js +18 -0
  140. package/dist/schema/modules/view-access/core/index.d.ts +1 -0
  141. package/dist/schema/modules/view-access/core/index.js +1 -0
  142. package/dist/schema/modules/view-access/core/view-only-group.d.ts +5 -0
  143. package/dist/schema/modules/view-access/core/view-only-group.js +10 -0
  144. package/dist/schema/modules/view-access/functions/assign-views.d.ts +16 -0
  145. package/dist/schema/modules/view-access/functions/assign-views.js +17 -0
  146. package/dist/schema/modules/view-access/functions/index.d.ts +1 -0
  147. package/dist/schema/modules/view-access/functions/index.js +1 -0
  148. package/dist/schema/modules/view-access/index.d.ts +3 -0
  149. package/dist/schema/modules/view-access/index.js +3 -0
  150. package/dist/schema/modules/view-access/types/index.js +1 -0
  151. package/dist/schema/modules/view-access/types/view-assignment.js +16 -0
  152. package/dist/schema/policies/administers-shell-class.js +11 -0
  153. package/dist/schema/policies/index.js +4 -0
  154. package/dist/schema/policies/is-self.js +5 -0
  155. package/dist/schema/policies/owns-class.js +7 -0
  156. package/dist/schema/policies/uses-function.js +5 -0
  157. package/dist/schema/schema.d.ts +833 -0
  158. package/dist/schema/schema.js +35 -0
  159. package/dist/schema/views/application-view.js +4 -0
  160. package/dist/schema/views/index.js +1 -0
  161. package/dist/utils/canonical-node-path/index.js +1 -0
  162. package/dist/utils/canonical-node-path/parse-canonical-node-path.js +8 -0
  163. package/package.json +50 -10
  164. package/dist/actions/index.js +0 -1
  165. package/dist/actions/user/index.js +0 -1
  166. package/dist/actions/user/resolve-home.js +0 -19
  167. package/dist/application.d.ts +0 -5
  168. package/dist/application.js +0 -29
  169. package/dist/mutations/group/membership.js +0 -21
  170. package/dist/mutations/space/access.js +0 -25
  171. package/dist/mutations/space/default.js +0 -25
  172. package/dist/mutations/space/index.js +0 -2
  173. package/dist/mutations/user/repair.js +0 -85
  174. package/dist/queries/space/access.js +0 -14
  175. package/dist/queries/space/admin.js +0 -27
  176. package/dist/queries/space/index.js +0 -3
  177. package/dist/queries/space/member.js +0 -24
  178. package/dist/queries/user/groups.js +0 -24
  179. package/dist/queries/user/home.js +0 -28
  180. package/dist/queries/user/owned-spaces.js +0 -24
  181. package/dist/queries/user/profile.js +0 -17
  182. package/dist/queries/user/setup.js +0 -18
  183. package/dist/schema/domain/index.d.ts +0 -26911
  184. package/dist/schema/domain/index.js +0 -40
  185. package/dist/schema/group/class.d.ts +0 -3288
  186. package/dist/schema/group/class.js +0 -7
  187. package/dist/schema/group/core.d.ts +0 -14
  188. package/dist/schema/group/core.js +0 -14
  189. package/dist/schema/group/index.d.ts +0 -6
  190. package/dist/schema/group/index.js +0 -6
  191. package/dist/schema/group/methods.d.ts +0 -2059
  192. package/dist/schema/group/methods.js +0 -21
  193. package/dist/schema/group/policies.d.ts +0 -1
  194. package/dist/schema/group/policies.js +0 -6
  195. package/dist/schema/group/relationships.d.ts +0 -4313
  196. package/dist/schema/group/relationships.js +0 -8
  197. package/dist/schema/group/view.d.ts +0 -3291
  198. package/dist/schema/group/view.js +0 -6
  199. package/dist/schema/home/index.d.ts +0 -1
  200. package/dist/schema/home/index.js +0 -1
  201. package/dist/schema/home/view.d.ts +0 -3
  202. package/dist/schema/home/view.js +0 -4
  203. package/dist/schema/setup/functions.d.ts +0 -47
  204. package/dist/schema/setup/functions.js +0 -27
  205. package/dist/schema/setup/index.d.ts +0 -1
  206. package/dist/schema/setup/index.js +0 -1
  207. package/dist/schema/space/class.d.ts +0 -2313
  208. package/dist/schema/space/class.js +0 -11
  209. package/dist/schema/space/core.d.ts +0 -22520
  210. package/dist/schema/space/core.js +0 -15
  211. package/dist/schema/space/index.d.ts +0 -6
  212. package/dist/schema/space/index.js +0 -6
  213. package/dist/schema/space/methods.d.ts +0 -2089
  214. package/dist/schema/space/methods.js +0 -30
  215. package/dist/schema/space/policies.d.ts +0 -4
  216. package/dist/schema/space/policies.js +0 -21
  217. package/dist/schema/space/relationships.d.ts +0 -23213
  218. package/dist/schema/space/relationships.js +0 -24
  219. package/dist/schema/space/view.d.ts +0 -2316
  220. package/dist/schema/space/view.js +0 -6
  221. package/dist/schema/user/class.d.ts +0 -1015
  222. package/dist/schema/user/class.js +0 -11
  223. package/dist/schema/user/index.d.ts +0 -3
  224. package/dist/schema/user/index.js +0 -3
  225. package/dist/schema/user/methods.d.ts +0 -14
  226. package/dist/schema/user/methods.js +0 -11
  227. package/dist/schema/user/view.d.ts +0 -1017
  228. package/dist/schema/user/view.js +0 -6
  229. package/dist/workflows/group/assign.js +0 -3
  230. package/dist/workflows/group/change.js +0 -31
  231. package/dist/workflows/group/index.js +0 -3
  232. package/dist/workflows/group/unassign.js +0 -3
  233. package/dist/workflows/index.js +0 -3
  234. package/dist/workflows/setup/admin.js +0 -3
  235. package/dist/workflows/setup/index.js +0 -5
  236. package/dist/workflows/setup/member.js +0 -3
  237. package/dist/workflows/setup/plan.js +0 -88
  238. package/dist/workflows/setup/provision.js +0 -57
  239. package/dist/workflows/setup/run.js +0 -74
  240. package/dist/workflows/space/access.js +0 -41
  241. package/dist/workflows/space/add.js +0 -3
  242. package/dist/workflows/space/default.js +0 -37
  243. package/dist/workflows/space/index.js +0 -4
  244. package/dist/workflows/space/remove.js +0 -3
@@ -1,3288 +0,0 @@
1
- export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
2
- readonly description: "A named compositional Shell Identity.";
3
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
4
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
5
- readonly name: "frozen";
6
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
7
- };
8
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
9
- readonly name: "iss";
10
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
11
- };
12
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
13
- claim: string;
14
- op: "contains";
15
- value: unknown;
16
- } | {
17
- claim: string;
18
- op: "eq";
19
- value: unknown;
20
- } | {
21
- claim: string;
22
- op: "exists";
23
- })[], false> & {
24
- readonly name: "requiredClaims";
25
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
26
- };
27
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
28
- readonly name: "sub";
29
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
30
- };
31
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
32
- readonly name: "frozen";
33
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
34
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
35
- readonly name: "iss";
36
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
37
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
38
- claim: string;
39
- op: "contains";
40
- value: unknown;
41
- } | {
42
- claim: string;
43
- op: "eq";
44
- value: unknown;
45
- } | {
46
- claim: string;
47
- op: "exists";
48
- })[], false> & {
49
- readonly name: "requiredClaims";
50
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
51
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
52
- readonly name: "sub";
53
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
54
- })> & {
55
- readonly byKey: Readonly<{
56
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
57
- readonly name: "frozen";
58
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
59
- };
60
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
61
- readonly name: "iss";
62
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
63
- };
64
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
65
- claim: string;
66
- op: "contains";
67
- value: unknown;
68
- } | {
69
- claim: string;
70
- op: "eq";
71
- value: unknown;
72
- } | {
73
- claim: string;
74
- op: "exists";
75
- })[], false> & {
76
- readonly name: "requiredClaims";
77
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
78
- };
79
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
80
- readonly name: "sub";
81
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
82
- };
83
- }>;
84
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
85
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
86
- readonly name: "frozen";
87
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
88
- };
89
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
90
- readonly name: "iss";
91
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
92
- };
93
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
94
- claim: string;
95
- op: "contains";
96
- value: unknown;
97
- } | {
98
- claim: string;
99
- op: "eq";
100
- value: unknown;
101
- } | {
102
- claim: string;
103
- op: "exists";
104
- })[], false> & {
105
- readonly name: "requiredClaims";
106
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
107
- };
108
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
109
- readonly name: "sub";
110
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
111
- };
112
- }>[Key];
113
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
114
- from(input: Readonly<{
115
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
116
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
117
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
118
- claim: string;
119
- op: "contains";
120
- value: unknown;
121
- } | {
122
- claim: string;
123
- op: "eq";
124
- value: unknown;
125
- } | {
126
- claim: string;
127
- op: "exists";
128
- })[] | undefined;
129
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
130
- } & {
131
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
132
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
133
- readonly requiredClaims?: ({
134
- claim: string;
135
- op: "contains";
136
- value: unknown;
137
- } | {
138
- claim: string;
139
- op: "eq";
140
- value: unknown;
141
- } | {
142
- claim: string;
143
- op: "exists";
144
- })[] | undefined;
145
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
146
- }>): import("@astrale-os/sdk/schema").PropertyValues;
147
- }, Readonly<Readonly<{
148
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
149
- audience: string;
150
- ttlSeconds: number;
151
- attenuation: unknown;
152
- }, {
153
- readonly mode: 'value';
154
- readonly value: string;
155
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
156
- readonly name: "delegate";
157
- };
158
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
159
- audience: string;
160
- ttlSeconds: number;
161
- attenuation: unknown;
162
- }, {
163
- readonly mode: 'value';
164
- readonly value: string;
165
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
166
- readonly name: "delegate";
167
- }> & {
168
- readonly byKey: Readonly<{
169
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
170
- audience: string;
171
- ttlSeconds: number;
172
- attenuation: unknown;
173
- }, {
174
- readonly mode: 'value';
175
- readonly value: string;
176
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
177
- readonly name: "delegate";
178
- };
179
- }>;
180
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
181
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
182
- audience: string;
183
- ttlSeconds: number;
184
- attenuation: unknown;
185
- }, {
186
- readonly mode: 'value';
187
- readonly value: string;
188
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
189
- readonly name: "delegate";
190
- };
191
- }>[Key];
192
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
193
- }, Readonly<Readonly<{
194
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
195
- policy: string;
196
- object: string;
197
- }, {
198
- readonly mode: 'value';
199
- readonly value: {
200
- allowed: boolean;
201
- };
202
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
203
- readonly name: "can";
204
- };
205
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
206
- audience?: string | undefined;
207
- ttlSeconds: number;
208
- grant?: unknown;
209
- }, {
210
- readonly mode: 'value';
211
- readonly value: string;
212
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
213
- readonly name: "mint";
214
- };
215
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
216
- readonly mode: 'value';
217
- readonly value: {
218
- id: string;
219
- issuer: string;
220
- subject: string;
221
- frozen: boolean;
222
- requiredClaims: ({
223
- claim: string;
224
- op: "contains";
225
- value: unknown;
226
- } | {
227
- claim: string;
228
- op: "eq";
229
- value: unknown;
230
- } | {
231
- claim: string;
232
- op: "exists";
233
- })[];
234
- };
235
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
236
- readonly name: "whoami";
237
- };
238
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
239
- issuer: string;
240
- subject: string;
241
- }, {
242
- readonly mode: 'value';
243
- readonly value: {
244
- id: string;
245
- issuer: string;
246
- subject: string;
247
- frozen: boolean;
248
- requiredClaims: ({
249
- claim: string;
250
- op: "contains";
251
- value: unknown;
252
- } | {
253
- claim: string;
254
- op: "eq";
255
- value: unknown;
256
- } | {
257
- claim: string;
258
- op: "exists";
259
- })[];
260
- } | null;
261
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
262
- readonly name: "whois";
263
- };
264
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
265
- policy: string;
266
- object: string;
267
- }, {
268
- readonly mode: 'value';
269
- readonly value: {
270
- allowed: boolean;
271
- };
272
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
273
- readonly name: "can";
274
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
275
- readonly mode: 'value';
276
- readonly value: {
277
- id: string;
278
- issuer: string;
279
- subject: string;
280
- frozen: boolean;
281
- requiredClaims: ({
282
- claim: string;
283
- op: "contains";
284
- value: unknown;
285
- } | {
286
- claim: string;
287
- op: "eq";
288
- value: unknown;
289
- } | {
290
- claim: string;
291
- op: "exists";
292
- })[];
293
- };
294
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
295
- readonly name: "whoami";
296
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
297
- issuer: string;
298
- subject: string;
299
- }, {
300
- readonly mode: 'value';
301
- readonly value: {
302
- id: string;
303
- issuer: string;
304
- subject: string;
305
- frozen: boolean;
306
- requiredClaims: ({
307
- claim: string;
308
- op: "contains";
309
- value: unknown;
310
- } | {
311
- claim: string;
312
- op: "eq";
313
- value: unknown;
314
- } | {
315
- claim: string;
316
- op: "exists";
317
- })[];
318
- } | null;
319
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
320
- readonly name: "whois";
321
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
322
- audience?: string | undefined;
323
- ttlSeconds: number;
324
- grant?: unknown;
325
- }, {
326
- readonly mode: 'value';
327
- readonly value: string;
328
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
329
- readonly name: "mint";
330
- })> & {
331
- readonly byKey: Readonly<{
332
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
333
- policy: string;
334
- object: string;
335
- }, {
336
- readonly mode: 'value';
337
- readonly value: {
338
- allowed: boolean;
339
- };
340
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
341
- readonly name: "can";
342
- };
343
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
344
- audience?: string | undefined;
345
- ttlSeconds: number;
346
- grant?: unknown;
347
- }, {
348
- readonly mode: 'value';
349
- readonly value: string;
350
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
351
- readonly name: "mint";
352
- };
353
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
354
- readonly mode: 'value';
355
- readonly value: {
356
- id: string;
357
- issuer: string;
358
- subject: string;
359
- frozen: boolean;
360
- requiredClaims: ({
361
- claim: string;
362
- op: "contains";
363
- value: unknown;
364
- } | {
365
- claim: string;
366
- op: "eq";
367
- value: unknown;
368
- } | {
369
- claim: string;
370
- op: "exists";
371
- })[];
372
- };
373
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
374
- readonly name: "whoami";
375
- };
376
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
377
- issuer: string;
378
- subject: string;
379
- }, {
380
- readonly mode: 'value';
381
- readonly value: {
382
- id: string;
383
- issuer: string;
384
- subject: string;
385
- frozen: boolean;
386
- requiredClaims: ({
387
- claim: string;
388
- op: "contains";
389
- value: unknown;
390
- } | {
391
- claim: string;
392
- op: "eq";
393
- value: unknown;
394
- } | {
395
- claim: string;
396
- op: "exists";
397
- })[];
398
- } | null;
399
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
400
- readonly name: "whois";
401
- };
402
- }>;
403
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
404
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
405
- policy: string;
406
- object: string;
407
- }, {
408
- readonly mode: 'value';
409
- readonly value: {
410
- allowed: boolean;
411
- };
412
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
413
- readonly name: "can";
414
- };
415
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
416
- audience?: string | undefined;
417
- ttlSeconds: number;
418
- grant?: unknown;
419
- }, {
420
- readonly mode: 'value';
421
- readonly value: string;
422
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
423
- readonly name: "mint";
424
- };
425
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
426
- readonly mode: 'value';
427
- readonly value: {
428
- id: string;
429
- issuer: string;
430
- subject: string;
431
- frozen: boolean;
432
- requiredClaims: ({
433
- claim: string;
434
- op: "contains";
435
- value: unknown;
436
- } | {
437
- claim: string;
438
- op: "eq";
439
- value: unknown;
440
- } | {
441
- claim: string;
442
- op: "exists";
443
- })[];
444
- };
445
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
446
- readonly name: "whoami";
447
- };
448
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
449
- issuer: string;
450
- subject: string;
451
- }, {
452
- readonly mode: 'value';
453
- readonly value: {
454
- id: string;
455
- issuer: string;
456
- subject: string;
457
- frozen: boolean;
458
- requiredClaims: ({
459
- claim: string;
460
- op: "contains";
461
- value: unknown;
462
- } | {
463
- claim: string;
464
- op: "eq";
465
- value: unknown;
466
- } | {
467
- claim: string;
468
- op: "exists";
469
- })[];
470
- } | null;
471
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
472
- readonly name: "whois";
473
- };
474
- }>[Key];
475
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
476
- }, Readonly<Readonly<{
477
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
478
- readonly name: "frozen";
479
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
480
- };
481
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
482
- readonly name: "iss";
483
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
484
- };
485
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
486
- claim: string;
487
- op: "contains";
488
- value: unknown;
489
- } | {
490
- claim: string;
491
- op: "eq";
492
- value: unknown;
493
- } | {
494
- claim: string;
495
- op: "exists";
496
- })[], false> & {
497
- readonly name: "requiredClaims";
498
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
499
- };
500
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
501
- readonly name: "sub";
502
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
503
- };
504
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
505
- readonly name: "frozen";
506
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
507
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
508
- readonly name: "iss";
509
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
510
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
511
- claim: string;
512
- op: "contains";
513
- value: unknown;
514
- } | {
515
- claim: string;
516
- op: "eq";
517
- value: unknown;
518
- } | {
519
- claim: string;
520
- op: "exists";
521
- })[], false> & {
522
- readonly name: "requiredClaims";
523
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
524
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
525
- readonly name: "sub";
526
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
527
- })> & {
528
- readonly byKey: Readonly<{
529
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
530
- readonly name: "frozen";
531
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
532
- };
533
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
534
- readonly name: "iss";
535
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
536
- };
537
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
538
- claim: string;
539
- op: "contains";
540
- value: unknown;
541
- } | {
542
- claim: string;
543
- op: "eq";
544
- value: unknown;
545
- } | {
546
- claim: string;
547
- op: "exists";
548
- })[], false> & {
549
- readonly name: "requiredClaims";
550
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
551
- };
552
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
553
- readonly name: "sub";
554
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
555
- };
556
- }>;
557
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
558
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
559
- readonly name: "frozen";
560
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
561
- };
562
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
563
- readonly name: "iss";
564
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
565
- };
566
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
567
- claim: string;
568
- op: "contains";
569
- value: unknown;
570
- } | {
571
- claim: string;
572
- op: "eq";
573
- value: unknown;
574
- } | {
575
- claim: string;
576
- op: "exists";
577
- })[], false> & {
578
- readonly name: "requiredClaims";
579
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
580
- };
581
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
582
- readonly name: "sub";
583
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
584
- };
585
- }>[Key];
586
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
587
- from(input: Readonly<{
588
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
589
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
590
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
591
- claim: string;
592
- op: "contains";
593
- value: unknown;
594
- } | {
595
- claim: string;
596
- op: "eq";
597
- value: unknown;
598
- } | {
599
- claim: string;
600
- op: "exists";
601
- })[] | undefined;
602
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
603
- } & {
604
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
605
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
606
- readonly requiredClaims?: ({
607
- claim: string;
608
- op: "contains";
609
- value: unknown;
610
- } | {
611
- claim: string;
612
- op: "eq";
613
- value: unknown;
614
- } | {
615
- claim: string;
616
- op: "exists";
617
- })[] | undefined;
618
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
619
- }>): import("@astrale-os/sdk/schema").PropertyValues;
620
- }, Readonly<Readonly<{
621
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
622
- audience: string;
623
- ttlSeconds: number;
624
- attenuation: unknown;
625
- }, {
626
- readonly mode: 'value';
627
- readonly value: string;
628
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
629
- readonly name: "delegate";
630
- };
631
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
632
- audience: string;
633
- ttlSeconds: number;
634
- attenuation: unknown;
635
- }, {
636
- readonly mode: 'value';
637
- readonly value: string;
638
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
639
- readonly name: "delegate";
640
- }> & {
641
- readonly byKey: Readonly<{
642
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
643
- audience: string;
644
- ttlSeconds: number;
645
- attenuation: unknown;
646
- }, {
647
- readonly mode: 'value';
648
- readonly value: string;
649
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
650
- readonly name: "delegate";
651
- };
652
- }>;
653
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
654
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
655
- audience: string;
656
- ttlSeconds: number;
657
- attenuation: unknown;
658
- }, {
659
- readonly mode: 'value';
660
- readonly value: string;
661
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
662
- readonly name: "delegate";
663
- };
664
- }>[Key];
665
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
666
- }, Readonly<Readonly<{
667
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
668
- policy: string;
669
- object: string;
670
- }, {
671
- readonly mode: 'value';
672
- readonly value: {
673
- allowed: boolean;
674
- };
675
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
676
- readonly name: "can";
677
- };
678
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
679
- audience?: string | undefined;
680
- ttlSeconds: number;
681
- grant?: unknown;
682
- }, {
683
- readonly mode: 'value';
684
- readonly value: string;
685
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
686
- readonly name: "mint";
687
- };
688
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
689
- readonly mode: 'value';
690
- readonly value: {
691
- id: string;
692
- issuer: string;
693
- subject: string;
694
- frozen: boolean;
695
- requiredClaims: ({
696
- claim: string;
697
- op: "contains";
698
- value: unknown;
699
- } | {
700
- claim: string;
701
- op: "eq";
702
- value: unknown;
703
- } | {
704
- claim: string;
705
- op: "exists";
706
- })[];
707
- };
708
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
709
- readonly name: "whoami";
710
- };
711
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
712
- issuer: string;
713
- subject: string;
714
- }, {
715
- readonly mode: 'value';
716
- readonly value: {
717
- id: string;
718
- issuer: string;
719
- subject: string;
720
- frozen: boolean;
721
- requiredClaims: ({
722
- claim: string;
723
- op: "contains";
724
- value: unknown;
725
- } | {
726
- claim: string;
727
- op: "eq";
728
- value: unknown;
729
- } | {
730
- claim: string;
731
- op: "exists";
732
- })[];
733
- } | null;
734
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
735
- readonly name: "whois";
736
- };
737
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
738
- policy: string;
739
- object: string;
740
- }, {
741
- readonly mode: 'value';
742
- readonly value: {
743
- allowed: boolean;
744
- };
745
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
746
- readonly name: "can";
747
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
748
- readonly mode: 'value';
749
- readonly value: {
750
- id: string;
751
- issuer: string;
752
- subject: string;
753
- frozen: boolean;
754
- requiredClaims: ({
755
- claim: string;
756
- op: "contains";
757
- value: unknown;
758
- } | {
759
- claim: string;
760
- op: "eq";
761
- value: unknown;
762
- } | {
763
- claim: string;
764
- op: "exists";
765
- })[];
766
- };
767
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
768
- readonly name: "whoami";
769
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
770
- issuer: string;
771
- subject: string;
772
- }, {
773
- readonly mode: 'value';
774
- readonly value: {
775
- id: string;
776
- issuer: string;
777
- subject: string;
778
- frozen: boolean;
779
- requiredClaims: ({
780
- claim: string;
781
- op: "contains";
782
- value: unknown;
783
- } | {
784
- claim: string;
785
- op: "eq";
786
- value: unknown;
787
- } | {
788
- claim: string;
789
- op: "exists";
790
- })[];
791
- } | null;
792
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
793
- readonly name: "whois";
794
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
795
- audience?: string | undefined;
796
- ttlSeconds: number;
797
- grant?: unknown;
798
- }, {
799
- readonly mode: 'value';
800
- readonly value: string;
801
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
802
- readonly name: "mint";
803
- })> & {
804
- readonly byKey: Readonly<{
805
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
806
- policy: string;
807
- object: string;
808
- }, {
809
- readonly mode: 'value';
810
- readonly value: {
811
- allowed: boolean;
812
- };
813
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
814
- readonly name: "can";
815
- };
816
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
817
- audience?: string | undefined;
818
- ttlSeconds: number;
819
- grant?: unknown;
820
- }, {
821
- readonly mode: 'value';
822
- readonly value: string;
823
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
824
- readonly name: "mint";
825
- };
826
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
827
- readonly mode: 'value';
828
- readonly value: {
829
- id: string;
830
- issuer: string;
831
- subject: string;
832
- frozen: boolean;
833
- requiredClaims: ({
834
- claim: string;
835
- op: "contains";
836
- value: unknown;
837
- } | {
838
- claim: string;
839
- op: "eq";
840
- value: unknown;
841
- } | {
842
- claim: string;
843
- op: "exists";
844
- })[];
845
- };
846
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
847
- readonly name: "whoami";
848
- };
849
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
850
- issuer: string;
851
- subject: string;
852
- }, {
853
- readonly mode: 'value';
854
- readonly value: {
855
- id: string;
856
- issuer: string;
857
- subject: string;
858
- frozen: boolean;
859
- requiredClaims: ({
860
- claim: string;
861
- op: "contains";
862
- value: unknown;
863
- } | {
864
- claim: string;
865
- op: "eq";
866
- value: unknown;
867
- } | {
868
- claim: string;
869
- op: "exists";
870
- })[];
871
- } | null;
872
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
873
- readonly name: "whois";
874
- };
875
- }>;
876
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
877
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
878
- policy: string;
879
- object: string;
880
- }, {
881
- readonly mode: 'value';
882
- readonly value: {
883
- allowed: boolean;
884
- };
885
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
886
- readonly name: "can";
887
- };
888
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
889
- audience?: string | undefined;
890
- ttlSeconds: number;
891
- grant?: unknown;
892
- }, {
893
- readonly mode: 'value';
894
- readonly value: string;
895
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
896
- readonly name: "mint";
897
- };
898
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
899
- readonly mode: 'value';
900
- readonly value: {
901
- id: string;
902
- issuer: string;
903
- subject: string;
904
- frozen: boolean;
905
- requiredClaims: ({
906
- claim: string;
907
- op: "contains";
908
- value: unknown;
909
- } | {
910
- claim: string;
911
- op: "eq";
912
- value: unknown;
913
- } | {
914
- claim: string;
915
- op: "exists";
916
- })[];
917
- };
918
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
919
- readonly name: "whoami";
920
- };
921
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
922
- issuer: string;
923
- subject: string;
924
- }, {
925
- readonly mode: 'value';
926
- readonly value: {
927
- id: string;
928
- issuer: string;
929
- subject: string;
930
- frozen: boolean;
931
- requiredClaims: ({
932
- claim: string;
933
- op: "contains";
934
- value: unknown;
935
- } | {
936
- claim: string;
937
- op: "eq";
938
- value: unknown;
939
- } | {
940
- claim: string;
941
- op: "exists";
942
- })[];
943
- } | null;
944
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
945
- readonly name: "whois";
946
- };
947
- }>[Key];
948
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
949
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
950
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
951
- readonly origin: "kernel.astrale.ai";
952
- };
953
- readonly kind: 'node';
954
- readonly abstract: true;
955
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
956
- readonly byKey: Readonly<{}>;
957
- get<Key extends never>(key: Key): Readonly<{}>[Key];
958
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
959
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
960
- }, Readonly<Readonly<{}>> & Iterable<never> & {
961
- readonly byKey: Readonly<{}>;
962
- get<Key extends never>(key: Key): Readonly<{}>[Key];
963
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
964
- }, Readonly<Readonly<{}>> & Iterable<never> & {
965
- readonly byKey: Readonly<{}>;
966
- get<Key extends never>(key: Key): Readonly<{}>[Key];
967
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
968
- }, Readonly<Readonly<{}>> & Iterable<never> & {
969
- readonly byKey: Readonly<{}>;
970
- get<Key extends never>(key: Key): Readonly<{}>[Key];
971
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
972
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
973
- }, Readonly<Readonly<{}>> & Iterable<never> & {
974
- readonly byKey: Readonly<{}>;
975
- get<Key extends never>(key: Key): Readonly<{}>[Key];
976
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
977
- }, Readonly<Readonly<{}>> & Iterable<never> & {
978
- readonly byKey: Readonly<{}>;
979
- get<Key extends never>(key: Key): Readonly<{}>[Key];
980
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
981
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
982
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
983
- readonly origin: "kernel.astrale.ai";
984
- };
985
- readonly kind: 'node';
986
- readonly abstract: true;
987
- }, readonly []> & {
988
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
989
- readonly origin: "kernel.astrale.ai";
990
- };
991
- readonly key: "kernel.astrale.ai:class.Node";
992
- }]> & {
993
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
994
- readonly origin: "kernel.astrale.ai";
995
- };
996
- readonly key: "kernel.astrale.ai:class.Identity";
997
- }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
998
- name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
999
- readonly name: "name";
1000
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1001
- };
1002
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1003
- readonly name: "name";
1004
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1005
- }> & {
1006
- readonly byKey: Readonly<{
1007
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1008
- readonly name: "name";
1009
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1010
- };
1011
- }>;
1012
- get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
1013
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1014
- readonly name: "name";
1015
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1016
- };
1017
- }>[Key];
1018
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1019
- from(input: Readonly<{
1020
- readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1021
- } & {
1022
- readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1023
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1024
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1025
- readonly byKey: Readonly<{}>;
1026
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1027
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1028
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1029
- readonly byKey: Readonly<{}>;
1030
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1031
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1032
- }, Readonly<Readonly<{
1033
- name: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1034
- readonly name: "name";
1035
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1036
- };
1037
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1038
- readonly name: "name";
1039
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1040
- }> & {
1041
- readonly byKey: Readonly<{
1042
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1043
- readonly name: "name";
1044
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1045
- };
1046
- }>;
1047
- get<Key extends "kernel.astrale.ai:class.Named.property.name">(key: Key): Readonly<{
1048
- "kernel.astrale.ai:class.Named.property.name": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1049
- readonly name: "name";
1050
- readonly key: "kernel.astrale.ai:class.Named.property.name";
1051
- };
1052
- }>[Key];
1053
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1054
- from(input: Readonly<{
1055
- readonly "kernel.astrale.ai:class.Named.property.name"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1056
- } & {
1057
- readonly name?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1058
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1059
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1060
- readonly byKey: Readonly<{}>;
1061
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1062
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1063
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1064
- readonly byKey: Readonly<{}>;
1065
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1066
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1067
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1068
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
1069
- readonly origin: "kernel.astrale.ai";
1070
- };
1071
- readonly kind: 'node';
1072
- readonly abstract: true;
1073
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
1074
- readonly byKey: Readonly<{}>;
1075
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1076
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1077
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1078
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1079
- readonly byKey: Readonly<{}>;
1080
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1081
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1082
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1083
- readonly byKey: Readonly<{}>;
1084
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1085
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1086
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1087
- readonly byKey: Readonly<{}>;
1088
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1089
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1090
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1091
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1092
- readonly byKey: Readonly<{}>;
1093
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1094
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1095
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1096
- readonly byKey: Readonly<{}>;
1097
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1098
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1099
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1100
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1101
- readonly origin: "kernel.astrale.ai";
1102
- };
1103
- readonly kind: 'node';
1104
- readonly abstract: true;
1105
- }, readonly []> & {
1106
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1107
- readonly origin: "kernel.astrale.ai";
1108
- };
1109
- readonly key: "kernel.astrale.ai:class.Node";
1110
- }]> & {
1111
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
1112
- readonly origin: "kernel.astrale.ai";
1113
- };
1114
- readonly key: "kernel.astrale.ai:class.Named";
1115
- }, import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
1116
- description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1117
- readonly name: "description";
1118
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1119
- };
1120
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1121
- readonly name: "description";
1122
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1123
- }> & {
1124
- readonly byKey: Readonly<{
1125
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1126
- readonly name: "description";
1127
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1128
- };
1129
- }>;
1130
- get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
1131
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1132
- readonly name: "description";
1133
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1134
- };
1135
- }>[Key];
1136
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1137
- from(input: Readonly<{
1138
- readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1139
- } & {
1140
- readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1141
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1142
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1143
- readonly byKey: Readonly<{}>;
1144
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1145
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1146
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1147
- readonly byKey: Readonly<{}>;
1148
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1149
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1150
- }, Readonly<Readonly<{
1151
- description: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1152
- readonly name: "description";
1153
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1154
- };
1155
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1156
- readonly name: "description";
1157
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1158
- }> & {
1159
- readonly byKey: Readonly<{
1160
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1161
- readonly name: "description";
1162
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1163
- };
1164
- }>;
1165
- get<Key extends "kernel.astrale.ai:class.Descriptable.property.description">(key: Key): Readonly<{
1166
- "kernel.astrale.ai:class.Descriptable.property.description": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1167
- readonly name: "description";
1168
- readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
1169
- };
1170
- }>[Key];
1171
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1172
- from(input: Readonly<{
1173
- readonly "kernel.astrale.ai:class.Descriptable.property.description"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1174
- } & {
1175
- readonly description?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1176
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1177
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1178
- readonly byKey: Readonly<{}>;
1179
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1180
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1181
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1182
- readonly byKey: Readonly<{}>;
1183
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1184
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1185
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1186
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
1187
- readonly origin: "kernel.astrale.ai";
1188
- };
1189
- readonly kind: 'node';
1190
- readonly abstract: true;
1191
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
1192
- readonly byKey: Readonly<{}>;
1193
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1194
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1195
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1196
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1197
- readonly byKey: Readonly<{}>;
1198
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1199
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1200
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1201
- readonly byKey: Readonly<{}>;
1202
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1203
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1204
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1205
- readonly byKey: Readonly<{}>;
1206
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1207
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1208
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
1209
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1210
- readonly byKey: Readonly<{}>;
1211
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1212
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1213
- }, Readonly<Readonly<{}>> & Iterable<never> & {
1214
- readonly byKey: Readonly<{}>;
1215
- get<Key extends never>(key: Key): Readonly<{}>[Key];
1216
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1217
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
1218
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1219
- readonly origin: "kernel.astrale.ai";
1220
- };
1221
- readonly kind: 'node';
1222
- readonly abstract: true;
1223
- }, readonly []> & {
1224
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
1225
- readonly origin: "kernel.astrale.ai";
1226
- };
1227
- readonly key: "kernel.astrale.ai:class.Node";
1228
- }]> & {
1229
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
1230
- readonly origin: "kernel.astrale.ai";
1231
- };
1232
- readonly key: "kernel.astrale.ai:class.Descriptable";
1233
- }];
1234
- readonly methods: {
1235
- assignUser: import("@astrale-os/sdk/schema").Method<{
1236
- readonly description: string;
1237
- readonly input: import("zod").ZodObject<{
1238
- user: import("@astrale-os/sdk/schema").PathAuthoring<readonly [import("@astrale-os/sdk/schema").NodeClass<{
1239
- readonly description: "One externally identified person using Shell.";
1240
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
1241
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1242
- readonly name: "frozen";
1243
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1244
- };
1245
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1246
- readonly name: "iss";
1247
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1248
- };
1249
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1250
- claim: string;
1251
- op: "contains";
1252
- value: unknown;
1253
- } | {
1254
- claim: string;
1255
- op: "eq";
1256
- value: unknown;
1257
- } | {
1258
- claim: string;
1259
- op: "exists";
1260
- })[], false> & {
1261
- readonly name: "requiredClaims";
1262
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1263
- };
1264
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1265
- readonly name: "sub";
1266
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1267
- };
1268
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1269
- readonly name: "frozen";
1270
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1271
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1272
- readonly name: "iss";
1273
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1274
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
1275
- claim: string;
1276
- op: "contains";
1277
- value: unknown;
1278
- } | {
1279
- claim: string;
1280
- op: "eq";
1281
- value: unknown;
1282
- } | {
1283
- claim: string;
1284
- op: "exists";
1285
- })[], false> & {
1286
- readonly name: "requiredClaims";
1287
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1288
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1289
- readonly name: "sub";
1290
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1291
- })> & {
1292
- readonly byKey: Readonly<{
1293
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1294
- readonly name: "frozen";
1295
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1296
- };
1297
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1298
- readonly name: "iss";
1299
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1300
- };
1301
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1302
- claim: string;
1303
- op: "contains";
1304
- value: unknown;
1305
- } | {
1306
- claim: string;
1307
- op: "eq";
1308
- value: unknown;
1309
- } | {
1310
- claim: string;
1311
- op: "exists";
1312
- })[], false> & {
1313
- readonly name: "requiredClaims";
1314
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1315
- };
1316
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1317
- readonly name: "sub";
1318
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1319
- };
1320
- }>;
1321
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1322
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1323
- readonly name: "frozen";
1324
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1325
- };
1326
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1327
- readonly name: "iss";
1328
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1329
- };
1330
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1331
- claim: string;
1332
- op: "contains";
1333
- value: unknown;
1334
- } | {
1335
- claim: string;
1336
- op: "eq";
1337
- value: unknown;
1338
- } | {
1339
- claim: string;
1340
- op: "exists";
1341
- })[], false> & {
1342
- readonly name: "requiredClaims";
1343
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1344
- };
1345
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1346
- readonly name: "sub";
1347
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1348
- };
1349
- }>[Key];
1350
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1351
- from(input: Readonly<{
1352
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1353
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1354
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1355
- claim: string;
1356
- op: "contains";
1357
- value: unknown;
1358
- } | {
1359
- claim: string;
1360
- op: "eq";
1361
- value: unknown;
1362
- } | {
1363
- claim: string;
1364
- op: "exists";
1365
- })[] | undefined;
1366
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1367
- } & {
1368
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1369
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1370
- readonly requiredClaims?: ({
1371
- claim: string;
1372
- op: "contains";
1373
- value: unknown;
1374
- } | {
1375
- claim: string;
1376
- op: "eq";
1377
- value: unknown;
1378
- } | {
1379
- claim: string;
1380
- op: "exists";
1381
- })[] | undefined;
1382
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1383
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1384
- }, Readonly<Readonly<{
1385
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1386
- audience: string;
1387
- ttlSeconds: number;
1388
- attenuation: unknown;
1389
- }, {
1390
- readonly mode: 'value';
1391
- readonly value: string;
1392
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1393
- readonly name: "delegate";
1394
- };
1395
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
1396
- audience: string;
1397
- ttlSeconds: number;
1398
- attenuation: unknown;
1399
- }, {
1400
- readonly mode: 'value';
1401
- readonly value: string;
1402
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1403
- readonly name: "delegate";
1404
- }> & {
1405
- readonly byKey: Readonly<{
1406
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1407
- audience: string;
1408
- ttlSeconds: number;
1409
- attenuation: unknown;
1410
- }, {
1411
- readonly mode: 'value';
1412
- readonly value: string;
1413
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1414
- readonly name: "delegate";
1415
- };
1416
- }>;
1417
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
1418
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1419
- audience: string;
1420
- ttlSeconds: number;
1421
- attenuation: unknown;
1422
- }, {
1423
- readonly mode: 'value';
1424
- readonly value: string;
1425
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1426
- readonly name: "delegate";
1427
- };
1428
- }>[Key];
1429
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1430
- }, Readonly<Readonly<{
1431
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1432
- policy: string;
1433
- object: string;
1434
- }, {
1435
- readonly mode: 'value';
1436
- readonly value: {
1437
- allowed: boolean;
1438
- };
1439
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1440
- readonly name: "can";
1441
- };
1442
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1443
- audience?: string | undefined;
1444
- ttlSeconds: number;
1445
- grant?: unknown;
1446
- }, {
1447
- readonly mode: 'value';
1448
- readonly value: string;
1449
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1450
- readonly name: "mint";
1451
- };
1452
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1453
- readonly mode: 'value';
1454
- readonly value: {
1455
- id: string;
1456
- issuer: string;
1457
- subject: string;
1458
- frozen: boolean;
1459
- requiredClaims: ({
1460
- claim: string;
1461
- op: "contains";
1462
- value: unknown;
1463
- } | {
1464
- claim: string;
1465
- op: "eq";
1466
- value: unknown;
1467
- } | {
1468
- claim: string;
1469
- op: "exists";
1470
- })[];
1471
- };
1472
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1473
- readonly name: "whoami";
1474
- };
1475
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1476
- issuer: string;
1477
- subject: string;
1478
- }, {
1479
- readonly mode: 'value';
1480
- readonly value: {
1481
- id: string;
1482
- issuer: string;
1483
- subject: string;
1484
- frozen: boolean;
1485
- requiredClaims: ({
1486
- claim: string;
1487
- op: "contains";
1488
- value: unknown;
1489
- } | {
1490
- claim: string;
1491
- op: "eq";
1492
- value: unknown;
1493
- } | {
1494
- claim: string;
1495
- op: "exists";
1496
- })[];
1497
- } | null;
1498
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1499
- readonly name: "whois";
1500
- };
1501
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
1502
- policy: string;
1503
- object: string;
1504
- }, {
1505
- readonly mode: 'value';
1506
- readonly value: {
1507
- allowed: boolean;
1508
- };
1509
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1510
- readonly name: "can";
1511
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1512
- readonly mode: 'value';
1513
- readonly value: {
1514
- id: string;
1515
- issuer: string;
1516
- subject: string;
1517
- frozen: boolean;
1518
- requiredClaims: ({
1519
- claim: string;
1520
- op: "contains";
1521
- value: unknown;
1522
- } | {
1523
- claim: string;
1524
- op: "eq";
1525
- value: unknown;
1526
- } | {
1527
- claim: string;
1528
- op: "exists";
1529
- })[];
1530
- };
1531
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1532
- readonly name: "whoami";
1533
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1534
- issuer: string;
1535
- subject: string;
1536
- }, {
1537
- readonly mode: 'value';
1538
- readonly value: {
1539
- id: string;
1540
- issuer: string;
1541
- subject: string;
1542
- frozen: boolean;
1543
- requiredClaims: ({
1544
- claim: string;
1545
- op: "contains";
1546
- value: unknown;
1547
- } | {
1548
- claim: string;
1549
- op: "eq";
1550
- value: unknown;
1551
- } | {
1552
- claim: string;
1553
- op: "exists";
1554
- })[];
1555
- } | null;
1556
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1557
- readonly name: "whois";
1558
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1559
- audience?: string | undefined;
1560
- ttlSeconds: number;
1561
- grant?: unknown;
1562
- }, {
1563
- readonly mode: 'value';
1564
- readonly value: string;
1565
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1566
- readonly name: "mint";
1567
- })> & {
1568
- readonly byKey: Readonly<{
1569
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1570
- policy: string;
1571
- object: string;
1572
- }, {
1573
- readonly mode: 'value';
1574
- readonly value: {
1575
- allowed: boolean;
1576
- };
1577
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1578
- readonly name: "can";
1579
- };
1580
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1581
- audience?: string | undefined;
1582
- ttlSeconds: number;
1583
- grant?: unknown;
1584
- }, {
1585
- readonly mode: 'value';
1586
- readonly value: string;
1587
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1588
- readonly name: "mint";
1589
- };
1590
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1591
- readonly mode: 'value';
1592
- readonly value: {
1593
- id: string;
1594
- issuer: string;
1595
- subject: string;
1596
- frozen: boolean;
1597
- requiredClaims: ({
1598
- claim: string;
1599
- op: "contains";
1600
- value: unknown;
1601
- } | {
1602
- claim: string;
1603
- op: "eq";
1604
- value: unknown;
1605
- } | {
1606
- claim: string;
1607
- op: "exists";
1608
- })[];
1609
- };
1610
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1611
- readonly name: "whoami";
1612
- };
1613
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1614
- issuer: string;
1615
- subject: string;
1616
- }, {
1617
- readonly mode: 'value';
1618
- readonly value: {
1619
- id: string;
1620
- issuer: string;
1621
- subject: string;
1622
- frozen: boolean;
1623
- requiredClaims: ({
1624
- claim: string;
1625
- op: "contains";
1626
- value: unknown;
1627
- } | {
1628
- claim: string;
1629
- op: "eq";
1630
- value: unknown;
1631
- } | {
1632
- claim: string;
1633
- op: "exists";
1634
- })[];
1635
- } | null;
1636
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1637
- readonly name: "whois";
1638
- };
1639
- }>;
1640
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
1641
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
1642
- policy: string;
1643
- object: string;
1644
- }, {
1645
- readonly mode: 'value';
1646
- readonly value: {
1647
- allowed: boolean;
1648
- };
1649
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1650
- readonly name: "can";
1651
- };
1652
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
1653
- audience?: string | undefined;
1654
- ttlSeconds: number;
1655
- grant?: unknown;
1656
- }, {
1657
- readonly mode: 'value';
1658
- readonly value: string;
1659
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1660
- readonly name: "mint";
1661
- };
1662
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1663
- readonly mode: 'value';
1664
- readonly value: {
1665
- id: string;
1666
- issuer: string;
1667
- subject: string;
1668
- frozen: boolean;
1669
- requiredClaims: ({
1670
- claim: string;
1671
- op: "contains";
1672
- value: unknown;
1673
- } | {
1674
- claim: string;
1675
- op: "eq";
1676
- value: unknown;
1677
- } | {
1678
- claim: string;
1679
- op: "exists";
1680
- })[];
1681
- };
1682
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1683
- readonly name: "whoami";
1684
- };
1685
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
1686
- issuer: string;
1687
- subject: string;
1688
- }, {
1689
- readonly mode: 'value';
1690
- readonly value: {
1691
- id: string;
1692
- issuer: string;
1693
- subject: string;
1694
- frozen: boolean;
1695
- requiredClaims: ({
1696
- claim: string;
1697
- op: "contains";
1698
- value: unknown;
1699
- } | {
1700
- claim: string;
1701
- op: "eq";
1702
- value: unknown;
1703
- } | {
1704
- claim: string;
1705
- op: "exists";
1706
- })[];
1707
- } | null;
1708
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1709
- readonly name: "whois";
1710
- };
1711
- }>[Key];
1712
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1713
- }, Readonly<Readonly<{
1714
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1715
- readonly name: "frozen";
1716
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1717
- };
1718
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1719
- readonly name: "iss";
1720
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1721
- };
1722
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
1723
- claim: string;
1724
- op: "contains";
1725
- value: unknown;
1726
- } | {
1727
- claim: string;
1728
- op: "eq";
1729
- value: unknown;
1730
- } | {
1731
- claim: string;
1732
- op: "exists";
1733
- })[], false> & {
1734
- readonly name: "requiredClaims";
1735
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1736
- };
1737
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1738
- readonly name: "sub";
1739
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1740
- };
1741
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1742
- readonly name: "frozen";
1743
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1744
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1745
- readonly name: "iss";
1746
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1747
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
1748
- claim: string;
1749
- op: "contains";
1750
- value: unknown;
1751
- } | {
1752
- claim: string;
1753
- op: "eq";
1754
- value: unknown;
1755
- } | {
1756
- claim: string;
1757
- op: "exists";
1758
- })[], false> & {
1759
- readonly name: "requiredClaims";
1760
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1761
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1762
- readonly name: "sub";
1763
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1764
- })> & {
1765
- readonly byKey: Readonly<{
1766
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1767
- readonly name: "frozen";
1768
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1769
- };
1770
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1771
- readonly name: "iss";
1772
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1773
- };
1774
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1775
- claim: string;
1776
- op: "contains";
1777
- value: unknown;
1778
- } | {
1779
- claim: string;
1780
- op: "eq";
1781
- value: unknown;
1782
- } | {
1783
- claim: string;
1784
- op: "exists";
1785
- })[], false> & {
1786
- readonly name: "requiredClaims";
1787
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1788
- };
1789
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1790
- readonly name: "sub";
1791
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1792
- };
1793
- }>;
1794
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
1795
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
1796
- readonly name: "frozen";
1797
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
1798
- };
1799
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1800
- readonly name: "iss";
1801
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
1802
- };
1803
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
1804
- claim: string;
1805
- op: "contains";
1806
- value: unknown;
1807
- } | {
1808
- claim: string;
1809
- op: "eq";
1810
- value: unknown;
1811
- } | {
1812
- claim: string;
1813
- op: "exists";
1814
- })[], false> & {
1815
- readonly name: "requiredClaims";
1816
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
1817
- };
1818
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
1819
- readonly name: "sub";
1820
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
1821
- };
1822
- }>[Key];
1823
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
1824
- from(input: Readonly<{
1825
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1826
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1827
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
1828
- claim: string;
1829
- op: "contains";
1830
- value: unknown;
1831
- } | {
1832
- claim: string;
1833
- op: "eq";
1834
- value: unknown;
1835
- } | {
1836
- claim: string;
1837
- op: "exists";
1838
- })[] | undefined;
1839
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1840
- } & {
1841
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1842
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1843
- readonly requiredClaims?: ({
1844
- claim: string;
1845
- op: "contains";
1846
- value: unknown;
1847
- } | {
1848
- claim: string;
1849
- op: "eq";
1850
- value: unknown;
1851
- } | {
1852
- claim: string;
1853
- op: "exists";
1854
- })[] | undefined;
1855
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
1856
- }>): import("@astrale-os/sdk/schema").PropertyValues;
1857
- }, Readonly<Readonly<{
1858
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
1859
- audience: string;
1860
- ttlSeconds: number;
1861
- attenuation: unknown;
1862
- }, {
1863
- readonly mode: 'value';
1864
- readonly value: string;
1865
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1866
- readonly name: "delegate";
1867
- };
1868
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
1869
- audience: string;
1870
- ttlSeconds: number;
1871
- attenuation: unknown;
1872
- }, {
1873
- readonly mode: 'value';
1874
- readonly value: string;
1875
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1876
- readonly name: "delegate";
1877
- }> & {
1878
- readonly byKey: Readonly<{
1879
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1880
- audience: string;
1881
- ttlSeconds: number;
1882
- attenuation: unknown;
1883
- }, {
1884
- readonly mode: 'value';
1885
- readonly value: string;
1886
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1887
- readonly name: "delegate";
1888
- };
1889
- }>;
1890
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
1891
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
1892
- audience: string;
1893
- ttlSeconds: number;
1894
- attenuation: unknown;
1895
- }, {
1896
- readonly mode: 'value';
1897
- readonly value: string;
1898
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
1899
- readonly name: "delegate";
1900
- };
1901
- }>[Key];
1902
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
1903
- }, Readonly<Readonly<{
1904
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
1905
- policy: string;
1906
- object: string;
1907
- }, {
1908
- readonly mode: 'value';
1909
- readonly value: {
1910
- allowed: boolean;
1911
- };
1912
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1913
- readonly name: "can";
1914
- };
1915
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
1916
- audience?: string | undefined;
1917
- ttlSeconds: number;
1918
- grant?: unknown;
1919
- }, {
1920
- readonly mode: 'value';
1921
- readonly value: string;
1922
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
1923
- readonly name: "mint";
1924
- };
1925
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1926
- readonly mode: 'value';
1927
- readonly value: {
1928
- id: string;
1929
- issuer: string;
1930
- subject: string;
1931
- frozen: boolean;
1932
- requiredClaims: ({
1933
- claim: string;
1934
- op: "contains";
1935
- value: unknown;
1936
- } | {
1937
- claim: string;
1938
- op: "eq";
1939
- value: unknown;
1940
- } | {
1941
- claim: string;
1942
- op: "exists";
1943
- })[];
1944
- };
1945
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1946
- readonly name: "whoami";
1947
- };
1948
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
1949
- issuer: string;
1950
- subject: string;
1951
- }, {
1952
- readonly mode: 'value';
1953
- readonly value: {
1954
- id: string;
1955
- issuer: string;
1956
- subject: string;
1957
- frozen: boolean;
1958
- requiredClaims: ({
1959
- claim: string;
1960
- op: "contains";
1961
- value: unknown;
1962
- } | {
1963
- claim: string;
1964
- op: "eq";
1965
- value: unknown;
1966
- } | {
1967
- claim: string;
1968
- op: "exists";
1969
- })[];
1970
- } | null;
1971
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
1972
- readonly name: "whois";
1973
- };
1974
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
1975
- policy: string;
1976
- object: string;
1977
- }, {
1978
- readonly mode: 'value';
1979
- readonly value: {
1980
- allowed: boolean;
1981
- };
1982
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
1983
- readonly name: "can";
1984
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1985
- readonly mode: 'value';
1986
- readonly value: {
1987
- id: string;
1988
- issuer: string;
1989
- subject: string;
1990
- frozen: boolean;
1991
- requiredClaims: ({
1992
- claim: string;
1993
- op: "contains";
1994
- value: unknown;
1995
- } | {
1996
- claim: string;
1997
- op: "eq";
1998
- value: unknown;
1999
- } | {
2000
- claim: string;
2001
- op: "exists";
2002
- })[];
2003
- };
2004
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2005
- readonly name: "whoami";
2006
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2007
- issuer: string;
2008
- subject: string;
2009
- }, {
2010
- readonly mode: 'value';
2011
- readonly value: {
2012
- id: string;
2013
- issuer: string;
2014
- subject: string;
2015
- frozen: boolean;
2016
- requiredClaims: ({
2017
- claim: string;
2018
- op: "contains";
2019
- value: unknown;
2020
- } | {
2021
- claim: string;
2022
- op: "eq";
2023
- value: unknown;
2024
- } | {
2025
- claim: string;
2026
- op: "exists";
2027
- })[];
2028
- } | null;
2029
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2030
- readonly name: "whois";
2031
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2032
- audience?: string | undefined;
2033
- ttlSeconds: number;
2034
- grant?: unknown;
2035
- }, {
2036
- readonly mode: 'value';
2037
- readonly value: string;
2038
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2039
- readonly name: "mint";
2040
- })> & {
2041
- readonly byKey: Readonly<{
2042
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
2043
- policy: string;
2044
- object: string;
2045
- }, {
2046
- readonly mode: 'value';
2047
- readonly value: {
2048
- allowed: boolean;
2049
- };
2050
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2051
- readonly name: "can";
2052
- };
2053
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
2054
- audience?: string | undefined;
2055
- ttlSeconds: number;
2056
- grant?: unknown;
2057
- }, {
2058
- readonly mode: 'value';
2059
- readonly value: string;
2060
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2061
- readonly name: "mint";
2062
- };
2063
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2064
- readonly mode: 'value';
2065
- readonly value: {
2066
- id: string;
2067
- issuer: string;
2068
- subject: string;
2069
- frozen: boolean;
2070
- requiredClaims: ({
2071
- claim: string;
2072
- op: "contains";
2073
- value: unknown;
2074
- } | {
2075
- claim: string;
2076
- op: "eq";
2077
- value: unknown;
2078
- } | {
2079
- claim: string;
2080
- op: "exists";
2081
- })[];
2082
- };
2083
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2084
- readonly name: "whoami";
2085
- };
2086
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
2087
- issuer: string;
2088
- subject: string;
2089
- }, {
2090
- readonly mode: 'value';
2091
- readonly value: {
2092
- id: string;
2093
- issuer: string;
2094
- subject: string;
2095
- frozen: boolean;
2096
- requiredClaims: ({
2097
- claim: string;
2098
- op: "contains";
2099
- value: unknown;
2100
- } | {
2101
- claim: string;
2102
- op: "eq";
2103
- value: unknown;
2104
- } | {
2105
- claim: string;
2106
- op: "exists";
2107
- })[];
2108
- } | null;
2109
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2110
- readonly name: "whois";
2111
- };
2112
- }>;
2113
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
2114
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
2115
- policy: string;
2116
- object: string;
2117
- }, {
2118
- readonly mode: 'value';
2119
- readonly value: {
2120
- allowed: boolean;
2121
- };
2122
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2123
- readonly name: "can";
2124
- };
2125
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
2126
- audience?: string | undefined;
2127
- ttlSeconds: number;
2128
- grant?: unknown;
2129
- }, {
2130
- readonly mode: 'value';
2131
- readonly value: string;
2132
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2133
- readonly name: "mint";
2134
- };
2135
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2136
- readonly mode: 'value';
2137
- readonly value: {
2138
- id: string;
2139
- issuer: string;
2140
- subject: string;
2141
- frozen: boolean;
2142
- requiredClaims: ({
2143
- claim: string;
2144
- op: "contains";
2145
- value: unknown;
2146
- } | {
2147
- claim: string;
2148
- op: "eq";
2149
- value: unknown;
2150
- } | {
2151
- claim: string;
2152
- op: "exists";
2153
- })[];
2154
- };
2155
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2156
- readonly name: "whoami";
2157
- };
2158
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
2159
- issuer: string;
2160
- subject: string;
2161
- }, {
2162
- readonly mode: 'value';
2163
- readonly value: {
2164
- id: string;
2165
- issuer: string;
2166
- subject: string;
2167
- frozen: boolean;
2168
- requiredClaims: ({
2169
- claim: string;
2170
- op: "contains";
2171
- value: unknown;
2172
- } | {
2173
- claim: string;
2174
- op: "eq";
2175
- value: unknown;
2176
- } | {
2177
- claim: string;
2178
- op: "exists";
2179
- })[];
2180
- } | null;
2181
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2182
- readonly name: "whois";
2183
- };
2184
- }>[Key];
2185
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2186
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2187
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
2188
- readonly origin: "kernel.astrale.ai";
2189
- };
2190
- readonly kind: 'node';
2191
- readonly abstract: true;
2192
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
2193
- readonly byKey: Readonly<{}>;
2194
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2195
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2196
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2197
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2198
- readonly byKey: Readonly<{}>;
2199
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2200
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2201
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2202
- readonly byKey: Readonly<{}>;
2203
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2204
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2205
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2206
- readonly byKey: Readonly<{}>;
2207
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2208
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2209
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
2210
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2211
- readonly byKey: Readonly<{}>;
2212
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2213
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2214
- }, Readonly<Readonly<{}>> & Iterable<never> & {
2215
- readonly byKey: Readonly<{}>;
2216
- get<Key extends never>(key: Key): Readonly<{}>[Key];
2217
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2218
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
2219
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2220
- readonly origin: "kernel.astrale.ai";
2221
- };
2222
- readonly kind: 'node';
2223
- readonly abstract: true;
2224
- }, readonly []> & {
2225
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
2226
- readonly origin: "kernel.astrale.ai";
2227
- };
2228
- readonly key: "kernel.astrale.ai:class.Node";
2229
- }]> & {
2230
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
2231
- readonly origin: "kernel.astrale.ai";
2232
- };
2233
- readonly key: "kernel.astrale.ai:class.Identity";
2234
- }];
2235
- readonly properties: {
2236
- displayName: import("@astrale-os/sdk/schema").Property<import("zod").ZodString, {
2237
- readonly required: false;
2238
- }>;
2239
- };
2240
- readonly methods: {
2241
- readonly resolveHome: import("@astrale-os/sdk/schema").Method<{
2242
- readonly description: "Resolve this User and its canonical personal Space.";
2243
- readonly auth: "authenticated";
2244
- readonly input: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
2245
- readonly output: import("zod").ZodObject<{
2246
- userId: import("zod").ZodString;
2247
- personalSpaceId: import("zod").ZodNullable<import("zod").ZodString>;
2248
- }, import("zod/v4/core").$strict>;
2249
- }>;
2250
- };
2251
- }>]>;
2252
- }, import("zod/v4/core").$strict>;
2253
- readonly output: {
2254
- type: 'object';
2255
- properties: {};
2256
- additionalProperties: boolean;
2257
- };
2258
- readonly auth: "authorized";
2259
- readonly policy: ({ check, ref }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
2260
- }>;
2261
- unassignUser: import("@astrale-os/sdk/schema").Method<{
2262
- readonly description: string;
2263
- readonly input: import("zod").ZodObject<{
2264
- user: import("@astrale-os/sdk/schema").PathAuthoring<readonly [import("@astrale-os/sdk/schema").NodeClass<{
2265
- readonly description: "One externally identified person using Shell.";
2266
- readonly extends: readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{
2267
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2268
- readonly name: "frozen";
2269
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2270
- };
2271
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2272
- readonly name: "iss";
2273
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2274
- };
2275
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
2276
- claim: string;
2277
- op: "contains";
2278
- value: unknown;
2279
- } | {
2280
- claim: string;
2281
- op: "eq";
2282
- value: unknown;
2283
- } | {
2284
- claim: string;
2285
- op: "exists";
2286
- })[], false> & {
2287
- readonly name: "requiredClaims";
2288
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2289
- };
2290
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2291
- readonly name: "sub";
2292
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2293
- };
2294
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2295
- readonly name: "frozen";
2296
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2297
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2298
- readonly name: "iss";
2299
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2300
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
2301
- claim: string;
2302
- op: "contains";
2303
- value: unknown;
2304
- } | {
2305
- claim: string;
2306
- op: "eq";
2307
- value: unknown;
2308
- } | {
2309
- claim: string;
2310
- op: "exists";
2311
- })[], false> & {
2312
- readonly name: "requiredClaims";
2313
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2314
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2315
- readonly name: "sub";
2316
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2317
- })> & {
2318
- readonly byKey: Readonly<{
2319
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2320
- readonly name: "frozen";
2321
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2322
- };
2323
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2324
- readonly name: "iss";
2325
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2326
- };
2327
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
2328
- claim: string;
2329
- op: "contains";
2330
- value: unknown;
2331
- } | {
2332
- claim: string;
2333
- op: "eq";
2334
- value: unknown;
2335
- } | {
2336
- claim: string;
2337
- op: "exists";
2338
- })[], false> & {
2339
- readonly name: "requiredClaims";
2340
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2341
- };
2342
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2343
- readonly name: "sub";
2344
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2345
- };
2346
- }>;
2347
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
2348
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2349
- readonly name: "frozen";
2350
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2351
- };
2352
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2353
- readonly name: "iss";
2354
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2355
- };
2356
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
2357
- claim: string;
2358
- op: "contains";
2359
- value: unknown;
2360
- } | {
2361
- claim: string;
2362
- op: "eq";
2363
- value: unknown;
2364
- } | {
2365
- claim: string;
2366
- op: "exists";
2367
- })[], false> & {
2368
- readonly name: "requiredClaims";
2369
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2370
- };
2371
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2372
- readonly name: "sub";
2373
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2374
- };
2375
- }>[Key];
2376
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2377
- from(input: Readonly<{
2378
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2379
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2380
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
2381
- claim: string;
2382
- op: "contains";
2383
- value: unknown;
2384
- } | {
2385
- claim: string;
2386
- op: "eq";
2387
- value: unknown;
2388
- } | {
2389
- claim: string;
2390
- op: "exists";
2391
- })[] | undefined;
2392
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2393
- } & {
2394
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2395
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2396
- readonly requiredClaims?: ({
2397
- claim: string;
2398
- op: "contains";
2399
- value: unknown;
2400
- } | {
2401
- claim: string;
2402
- op: "eq";
2403
- value: unknown;
2404
- } | {
2405
- claim: string;
2406
- op: "exists";
2407
- })[] | undefined;
2408
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2409
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2410
- }, Readonly<Readonly<{
2411
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
2412
- audience: string;
2413
- ttlSeconds: number;
2414
- attenuation: unknown;
2415
- }, {
2416
- readonly mode: 'value';
2417
- readonly value: string;
2418
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2419
- readonly name: "delegate";
2420
- };
2421
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
2422
- audience: string;
2423
- ttlSeconds: number;
2424
- attenuation: unknown;
2425
- }, {
2426
- readonly mode: 'value';
2427
- readonly value: string;
2428
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2429
- readonly name: "delegate";
2430
- }> & {
2431
- readonly byKey: Readonly<{
2432
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
2433
- audience: string;
2434
- ttlSeconds: number;
2435
- attenuation: unknown;
2436
- }, {
2437
- readonly mode: 'value';
2438
- readonly value: string;
2439
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2440
- readonly name: "delegate";
2441
- };
2442
- }>;
2443
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
2444
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
2445
- audience: string;
2446
- ttlSeconds: number;
2447
- attenuation: unknown;
2448
- }, {
2449
- readonly mode: 'value';
2450
- readonly value: string;
2451
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2452
- readonly name: "delegate";
2453
- };
2454
- }>[Key];
2455
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2456
- }, Readonly<Readonly<{
2457
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
2458
- policy: string;
2459
- object: string;
2460
- }, {
2461
- readonly mode: 'value';
2462
- readonly value: {
2463
- allowed: boolean;
2464
- };
2465
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2466
- readonly name: "can";
2467
- };
2468
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
2469
- audience?: string | undefined;
2470
- ttlSeconds: number;
2471
- grant?: unknown;
2472
- }, {
2473
- readonly mode: 'value';
2474
- readonly value: string;
2475
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2476
- readonly name: "mint";
2477
- };
2478
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2479
- readonly mode: 'value';
2480
- readonly value: {
2481
- id: string;
2482
- issuer: string;
2483
- subject: string;
2484
- frozen: boolean;
2485
- requiredClaims: ({
2486
- claim: string;
2487
- op: "contains";
2488
- value: unknown;
2489
- } | {
2490
- claim: string;
2491
- op: "eq";
2492
- value: unknown;
2493
- } | {
2494
- claim: string;
2495
- op: "exists";
2496
- })[];
2497
- };
2498
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2499
- readonly name: "whoami";
2500
- };
2501
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
2502
- issuer: string;
2503
- subject: string;
2504
- }, {
2505
- readonly mode: 'value';
2506
- readonly value: {
2507
- id: string;
2508
- issuer: string;
2509
- subject: string;
2510
- frozen: boolean;
2511
- requiredClaims: ({
2512
- claim: string;
2513
- op: "contains";
2514
- value: unknown;
2515
- } | {
2516
- claim: string;
2517
- op: "eq";
2518
- value: unknown;
2519
- } | {
2520
- claim: string;
2521
- op: "exists";
2522
- })[];
2523
- } | null;
2524
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2525
- readonly name: "whois";
2526
- };
2527
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
2528
- policy: string;
2529
- object: string;
2530
- }, {
2531
- readonly mode: 'value';
2532
- readonly value: {
2533
- allowed: boolean;
2534
- };
2535
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2536
- readonly name: "can";
2537
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2538
- readonly mode: 'value';
2539
- readonly value: {
2540
- id: string;
2541
- issuer: string;
2542
- subject: string;
2543
- frozen: boolean;
2544
- requiredClaims: ({
2545
- claim: string;
2546
- op: "contains";
2547
- value: unknown;
2548
- } | {
2549
- claim: string;
2550
- op: "eq";
2551
- value: unknown;
2552
- } | {
2553
- claim: string;
2554
- op: "exists";
2555
- })[];
2556
- };
2557
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2558
- readonly name: "whoami";
2559
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2560
- issuer: string;
2561
- subject: string;
2562
- }, {
2563
- readonly mode: 'value';
2564
- readonly value: {
2565
- id: string;
2566
- issuer: string;
2567
- subject: string;
2568
- frozen: boolean;
2569
- requiredClaims: ({
2570
- claim: string;
2571
- op: "contains";
2572
- value: unknown;
2573
- } | {
2574
- claim: string;
2575
- op: "eq";
2576
- value: unknown;
2577
- } | {
2578
- claim: string;
2579
- op: "exists";
2580
- })[];
2581
- } | null;
2582
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2583
- readonly name: "whois";
2584
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2585
- audience?: string | undefined;
2586
- ttlSeconds: number;
2587
- grant?: unknown;
2588
- }, {
2589
- readonly mode: 'value';
2590
- readonly value: string;
2591
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2592
- readonly name: "mint";
2593
- })> & {
2594
- readonly byKey: Readonly<{
2595
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
2596
- policy: string;
2597
- object: string;
2598
- }, {
2599
- readonly mode: 'value';
2600
- readonly value: {
2601
- allowed: boolean;
2602
- };
2603
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2604
- readonly name: "can";
2605
- };
2606
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
2607
- audience?: string | undefined;
2608
- ttlSeconds: number;
2609
- grant?: unknown;
2610
- }, {
2611
- readonly mode: 'value';
2612
- readonly value: string;
2613
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2614
- readonly name: "mint";
2615
- };
2616
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2617
- readonly mode: 'value';
2618
- readonly value: {
2619
- id: string;
2620
- issuer: string;
2621
- subject: string;
2622
- frozen: boolean;
2623
- requiredClaims: ({
2624
- claim: string;
2625
- op: "contains";
2626
- value: unknown;
2627
- } | {
2628
- claim: string;
2629
- op: "eq";
2630
- value: unknown;
2631
- } | {
2632
- claim: string;
2633
- op: "exists";
2634
- })[];
2635
- };
2636
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2637
- readonly name: "whoami";
2638
- };
2639
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
2640
- issuer: string;
2641
- subject: string;
2642
- }, {
2643
- readonly mode: 'value';
2644
- readonly value: {
2645
- id: string;
2646
- issuer: string;
2647
- subject: string;
2648
- frozen: boolean;
2649
- requiredClaims: ({
2650
- claim: string;
2651
- op: "contains";
2652
- value: unknown;
2653
- } | {
2654
- claim: string;
2655
- op: "eq";
2656
- value: unknown;
2657
- } | {
2658
- claim: string;
2659
- op: "exists";
2660
- })[];
2661
- } | null;
2662
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2663
- readonly name: "whois";
2664
- };
2665
- }>;
2666
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
2667
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
2668
- policy: string;
2669
- object: string;
2670
- }, {
2671
- readonly mode: 'value';
2672
- readonly value: {
2673
- allowed: boolean;
2674
- };
2675
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2676
- readonly name: "can";
2677
- };
2678
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
2679
- audience?: string | undefined;
2680
- ttlSeconds: number;
2681
- grant?: unknown;
2682
- }, {
2683
- readonly mode: 'value';
2684
- readonly value: string;
2685
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2686
- readonly name: "mint";
2687
- };
2688
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2689
- readonly mode: 'value';
2690
- readonly value: {
2691
- id: string;
2692
- issuer: string;
2693
- subject: string;
2694
- frozen: boolean;
2695
- requiredClaims: ({
2696
- claim: string;
2697
- op: "contains";
2698
- value: unknown;
2699
- } | {
2700
- claim: string;
2701
- op: "eq";
2702
- value: unknown;
2703
- } | {
2704
- claim: string;
2705
- op: "exists";
2706
- })[];
2707
- };
2708
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2709
- readonly name: "whoami";
2710
- };
2711
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
2712
- issuer: string;
2713
- subject: string;
2714
- }, {
2715
- readonly mode: 'value';
2716
- readonly value: {
2717
- id: string;
2718
- issuer: string;
2719
- subject: string;
2720
- frozen: boolean;
2721
- requiredClaims: ({
2722
- claim: string;
2723
- op: "contains";
2724
- value: unknown;
2725
- } | {
2726
- claim: string;
2727
- op: "eq";
2728
- value: unknown;
2729
- } | {
2730
- claim: string;
2731
- op: "exists";
2732
- })[];
2733
- } | null;
2734
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2735
- readonly name: "whois";
2736
- };
2737
- }>[Key];
2738
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2739
- }, Readonly<Readonly<{
2740
- frozen: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2741
- readonly name: "frozen";
2742
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2743
- };
2744
- iss: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2745
- readonly name: "iss";
2746
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2747
- };
2748
- requiredClaims: import("@astrale-os/sdk/schema").ResolvedProperty<({
2749
- claim: string;
2750
- op: "contains";
2751
- value: unknown;
2752
- } | {
2753
- claim: string;
2754
- op: "eq";
2755
- value: unknown;
2756
- } | {
2757
- claim: string;
2758
- op: "exists";
2759
- })[], false> & {
2760
- readonly name: "requiredClaims";
2761
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2762
- };
2763
- sub: import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2764
- readonly name: "sub";
2765
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2766
- };
2767
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2768
- readonly name: "frozen";
2769
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2770
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2771
- readonly name: "iss";
2772
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2773
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<({
2774
- claim: string;
2775
- op: "contains";
2776
- value: unknown;
2777
- } | {
2778
- claim: string;
2779
- op: "eq";
2780
- value: unknown;
2781
- } | {
2782
- claim: string;
2783
- op: "exists";
2784
- })[], false> & {
2785
- readonly name: "requiredClaims";
2786
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2787
- }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2788
- readonly name: "sub";
2789
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2790
- })> & {
2791
- readonly byKey: Readonly<{
2792
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2793
- readonly name: "frozen";
2794
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2795
- };
2796
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2797
- readonly name: "iss";
2798
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2799
- };
2800
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
2801
- claim: string;
2802
- op: "contains";
2803
- value: unknown;
2804
- } | {
2805
- claim: string;
2806
- op: "eq";
2807
- value: unknown;
2808
- } | {
2809
- claim: string;
2810
- op: "exists";
2811
- })[], false> & {
2812
- readonly name: "requiredClaims";
2813
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2814
- };
2815
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2816
- readonly name: "sub";
2817
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2818
- };
2819
- }>;
2820
- get<Key extends "kernel.astrale.ai:class.Identity.property.frozen" | "kernel.astrale.ai:class.Identity.property.iss" | "kernel.astrale.ai:class.Identity.property.requiredClaims" | "kernel.astrale.ai:class.Identity.property.sub">(key: Key): Readonly<{
2821
- "kernel.astrale.ai:class.Identity.property.frozen": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
2822
- readonly name: "frozen";
2823
- readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
2824
- };
2825
- "kernel.astrale.ai:class.Identity.property.iss": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2826
- readonly name: "iss";
2827
- readonly key: "kernel.astrale.ai:class.Identity.property.iss";
2828
- };
2829
- "kernel.astrale.ai:class.Identity.property.requiredClaims": import("@astrale-os/sdk/schema").ResolvedProperty<({
2830
- claim: string;
2831
- op: "contains";
2832
- value: unknown;
2833
- } | {
2834
- claim: string;
2835
- op: "eq";
2836
- value: unknown;
2837
- } | {
2838
- claim: string;
2839
- op: "exists";
2840
- })[], false> & {
2841
- readonly name: "requiredClaims";
2842
- readonly key: "kernel.astrale.ai:class.Identity.property.requiredClaims";
2843
- };
2844
- "kernel.astrale.ai:class.Identity.property.sub": import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
2845
- readonly name: "sub";
2846
- readonly key: "kernel.astrale.ai:class.Identity.property.sub";
2847
- };
2848
- }>[Key];
2849
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
2850
- from(input: Readonly<{
2851
- readonly "kernel.astrale.ai:class.Identity.property.frozen"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2852
- readonly "kernel.astrale.ai:class.Identity.property.iss"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2853
- readonly "kernel.astrale.ai:class.Identity.property.requiredClaims"?: ({
2854
- claim: string;
2855
- op: "contains";
2856
- value: unknown;
2857
- } | {
2858
- claim: string;
2859
- op: "eq";
2860
- value: unknown;
2861
- } | {
2862
- claim: string;
2863
- op: "exists";
2864
- })[] | undefined;
2865
- readonly "kernel.astrale.ai:class.Identity.property.sub"?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2866
- } & {
2867
- readonly frozen?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2868
- readonly iss?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2869
- readonly requiredClaims?: ({
2870
- claim: string;
2871
- op: "contains";
2872
- value: unknown;
2873
- } | {
2874
- claim: string;
2875
- op: "eq";
2876
- value: unknown;
2877
- } | {
2878
- claim: string;
2879
- op: "exists";
2880
- })[] | undefined;
2881
- readonly sub?: string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null | undefined;
2882
- }>): import("@astrale-os/sdk/schema").PropertyValues;
2883
- }, Readonly<Readonly<{
2884
- delegate: import("@astrale-os/sdk/schema").ResolvedMethod<{
2885
- audience: string;
2886
- ttlSeconds: number;
2887
- attenuation: unknown;
2888
- }, {
2889
- readonly mode: 'value';
2890
- readonly value: string;
2891
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2892
- readonly name: "delegate";
2893
- };
2894
- }>> & Iterable<import("@astrale-os/sdk/schema").ResolvedMethod<{
2895
- audience: string;
2896
- ttlSeconds: number;
2897
- attenuation: unknown;
2898
- }, {
2899
- readonly mode: 'value';
2900
- readonly value: string;
2901
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2902
- readonly name: "delegate";
2903
- }> & {
2904
- readonly byKey: Readonly<{
2905
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
2906
- audience: string;
2907
- ttlSeconds: number;
2908
- attenuation: unknown;
2909
- }, {
2910
- readonly mode: 'value';
2911
- readonly value: string;
2912
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2913
- readonly name: "delegate";
2914
- };
2915
- }>;
2916
- get<Key extends "kernel.astrale.ai:class.Identity.method.delegate">(key: Key): Readonly<{
2917
- "kernel.astrale.ai:class.Identity.method.delegate": import("@astrale-os/sdk/schema").ResolvedMethod<{
2918
- audience: string;
2919
- ttlSeconds: number;
2920
- attenuation: unknown;
2921
- }, {
2922
- readonly mode: 'value';
2923
- readonly value: string;
2924
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
2925
- readonly name: "delegate";
2926
- };
2927
- }>[Key];
2928
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
2929
- }, Readonly<Readonly<{
2930
- can: import("@astrale-os/sdk/schema").ResolvedMethod<{
2931
- policy: string;
2932
- object: string;
2933
- }, {
2934
- readonly mode: 'value';
2935
- readonly value: {
2936
- allowed: boolean;
2937
- };
2938
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
2939
- readonly name: "can";
2940
- };
2941
- mint: import("@astrale-os/sdk/schema").ResolvedMethod<{
2942
- audience?: string | undefined;
2943
- ttlSeconds: number;
2944
- grant?: unknown;
2945
- }, {
2946
- readonly mode: 'value';
2947
- readonly value: string;
2948
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
2949
- readonly name: "mint";
2950
- };
2951
- whoami: import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2952
- readonly mode: 'value';
2953
- readonly value: {
2954
- id: string;
2955
- issuer: string;
2956
- subject: string;
2957
- frozen: boolean;
2958
- requiredClaims: ({
2959
- claim: string;
2960
- op: "contains";
2961
- value: unknown;
2962
- } | {
2963
- claim: string;
2964
- op: "eq";
2965
- value: unknown;
2966
- } | {
2967
- claim: string;
2968
- op: "exists";
2969
- })[];
2970
- };
2971
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2972
- readonly name: "whoami";
2973
- };
2974
- whois: import("@astrale-os/sdk/schema").ResolvedMethod<{
2975
- issuer: string;
2976
- subject: string;
2977
- }, {
2978
- readonly mode: 'value';
2979
- readonly value: {
2980
- id: string;
2981
- issuer: string;
2982
- subject: string;
2983
- frozen: boolean;
2984
- requiredClaims: ({
2985
- claim: string;
2986
- op: "contains";
2987
- value: unknown;
2988
- } | {
2989
- claim: string;
2990
- op: "eq";
2991
- value: unknown;
2992
- } | {
2993
- claim: string;
2994
- op: "exists";
2995
- })[];
2996
- } | null;
2997
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
2998
- readonly name: "whois";
2999
- };
3000
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedMethod<{
3001
- policy: string;
3002
- object: string;
3003
- }, {
3004
- readonly mode: 'value';
3005
- readonly value: {
3006
- allowed: boolean;
3007
- };
3008
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
3009
- readonly name: "can";
3010
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
3011
- readonly mode: 'value';
3012
- readonly value: {
3013
- id: string;
3014
- issuer: string;
3015
- subject: string;
3016
- frozen: boolean;
3017
- requiredClaims: ({
3018
- claim: string;
3019
- op: "contains";
3020
- value: unknown;
3021
- } | {
3022
- claim: string;
3023
- op: "eq";
3024
- value: unknown;
3025
- } | {
3026
- claim: string;
3027
- op: "exists";
3028
- })[];
3029
- };
3030
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
3031
- readonly name: "whoami";
3032
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
3033
- issuer: string;
3034
- subject: string;
3035
- }, {
3036
- readonly mode: 'value';
3037
- readonly value: {
3038
- id: string;
3039
- issuer: string;
3040
- subject: string;
3041
- frozen: boolean;
3042
- requiredClaims: ({
3043
- claim: string;
3044
- op: "contains";
3045
- value: unknown;
3046
- } | {
3047
- claim: string;
3048
- op: "eq";
3049
- value: unknown;
3050
- } | {
3051
- claim: string;
3052
- op: "exists";
3053
- })[];
3054
- } | null;
3055
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
3056
- readonly name: "whois";
3057
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
3058
- audience?: string | undefined;
3059
- ttlSeconds: number;
3060
- grant?: unknown;
3061
- }, {
3062
- readonly mode: 'value';
3063
- readonly value: string;
3064
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
3065
- readonly name: "mint";
3066
- })> & {
3067
- readonly byKey: Readonly<{
3068
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
3069
- policy: string;
3070
- object: string;
3071
- }, {
3072
- readonly mode: 'value';
3073
- readonly value: {
3074
- allowed: boolean;
3075
- };
3076
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
3077
- readonly name: "can";
3078
- };
3079
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
3080
- audience?: string | undefined;
3081
- ttlSeconds: number;
3082
- grant?: unknown;
3083
- }, {
3084
- readonly mode: 'value';
3085
- readonly value: string;
3086
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
3087
- readonly name: "mint";
3088
- };
3089
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
3090
- readonly mode: 'value';
3091
- readonly value: {
3092
- id: string;
3093
- issuer: string;
3094
- subject: string;
3095
- frozen: boolean;
3096
- requiredClaims: ({
3097
- claim: string;
3098
- op: "contains";
3099
- value: unknown;
3100
- } | {
3101
- claim: string;
3102
- op: "eq";
3103
- value: unknown;
3104
- } | {
3105
- claim: string;
3106
- op: "exists";
3107
- })[];
3108
- };
3109
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
3110
- readonly name: "whoami";
3111
- };
3112
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
3113
- issuer: string;
3114
- subject: string;
3115
- }, {
3116
- readonly mode: 'value';
3117
- readonly value: {
3118
- id: string;
3119
- issuer: string;
3120
- subject: string;
3121
- frozen: boolean;
3122
- requiredClaims: ({
3123
- claim: string;
3124
- op: "contains";
3125
- value: unknown;
3126
- } | {
3127
- claim: string;
3128
- op: "eq";
3129
- value: unknown;
3130
- } | {
3131
- claim: string;
3132
- op: "exists";
3133
- })[];
3134
- } | null;
3135
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
3136
- readonly name: "whois";
3137
- };
3138
- }>;
3139
- get<Key extends "kernel.astrale.ai:class.Identity.method.can" | "kernel.astrale.ai:class.Identity.method.mint" | "kernel.astrale.ai:class.Identity.method.whoami" | "kernel.astrale.ai:class.Identity.method.whois">(key: Key): Readonly<{
3140
- "kernel.astrale.ai:class.Identity.method.can": import("@astrale-os/sdk/schema").ResolvedMethod<{
3141
- policy: string;
3142
- object: string;
3143
- }, {
3144
- readonly mode: 'value';
3145
- readonly value: {
3146
- allowed: boolean;
3147
- };
3148
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
3149
- readonly name: "can";
3150
- };
3151
- "kernel.astrale.ai:class.Identity.method.mint": import("@astrale-os/sdk/schema").ResolvedMethod<{
3152
- audience?: string | undefined;
3153
- ttlSeconds: number;
3154
- grant?: unknown;
3155
- }, {
3156
- readonly mode: 'value';
3157
- readonly value: string;
3158
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
3159
- readonly name: "mint";
3160
- };
3161
- "kernel.astrale.ai:class.Identity.method.whoami": import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
3162
- readonly mode: 'value';
3163
- readonly value: {
3164
- id: string;
3165
- issuer: string;
3166
- subject: string;
3167
- frozen: boolean;
3168
- requiredClaims: ({
3169
- claim: string;
3170
- op: "contains";
3171
- value: unknown;
3172
- } | {
3173
- claim: string;
3174
- op: "eq";
3175
- value: unknown;
3176
- } | {
3177
- claim: string;
3178
- op: "exists";
3179
- })[];
3180
- };
3181
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
3182
- readonly name: "whoami";
3183
- };
3184
- "kernel.astrale.ai:class.Identity.method.whois": import("@astrale-os/sdk/schema").ResolvedMethod<{
3185
- issuer: string;
3186
- subject: string;
3187
- }, {
3188
- readonly mode: 'value';
3189
- readonly value: {
3190
- id: string;
3191
- issuer: string;
3192
- subject: string;
3193
- frozen: boolean;
3194
- requiredClaims: ({
3195
- claim: string;
3196
- op: "contains";
3197
- value: unknown;
3198
- } | {
3199
- claim: string;
3200
- op: "eq";
3201
- value: unknown;
3202
- } | {
3203
- claim: string;
3204
- op: "exists";
3205
- })[];
3206
- } | null;
3207
- }, true, "default", "authorized", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
3208
- readonly name: "whois";
3209
- };
3210
- }>[Key];
3211
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
3212
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
3213
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
3214
- readonly origin: "kernel.astrale.ai";
3215
- };
3216
- readonly kind: 'node';
3217
- readonly abstract: true;
3218
- }, readonly [import("@astrale-os/sdk/schema").ResolvedClass<"node", Readonly<Readonly<{}>> & Iterable<never> & {
3219
- readonly byKey: Readonly<{}>;
3220
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3221
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
3222
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
3223
- }, Readonly<Readonly<{}>> & Iterable<never> & {
3224
- readonly byKey: Readonly<{}>;
3225
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3226
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
3227
- }, Readonly<Readonly<{}>> & Iterable<never> & {
3228
- readonly byKey: Readonly<{}>;
3229
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3230
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
3231
- }, Readonly<Readonly<{}>> & Iterable<never> & {
3232
- readonly byKey: Readonly<{}>;
3233
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3234
- get(key: import("@astrale-os/sdk/schema").PropertyKey): import("@astrale-os/sdk/schema").ResolvedProperty | undefined;
3235
- from(input: Readonly<{} & {}>): import("@astrale-os/sdk/schema").PropertyValues;
3236
- }, Readonly<Readonly<{}>> & Iterable<never> & {
3237
- readonly byKey: Readonly<{}>;
3238
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3239
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
3240
- }, Readonly<Readonly<{}>> & Iterable<never> & {
3241
- readonly byKey: Readonly<{}>;
3242
- get<Key extends never>(key: Key): Readonly<{}>[Key];
3243
- get(key: import("@astrale-os/sdk/schema").MethodKey): import("@astrale-os/sdk/schema").ResolvedMethod | undefined;
3244
- }, import("@astrale-os/sdk/schema").NodeClassDefinition & {
3245
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
3246
- readonly origin: "kernel.astrale.ai";
3247
- };
3248
- readonly kind: 'node';
3249
- readonly abstract: true;
3250
- }, readonly []> & {
3251
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
3252
- readonly origin: "kernel.astrale.ai";
3253
- };
3254
- readonly key: "kernel.astrale.ai:class.Node";
3255
- }]> & {
3256
- readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
3257
- readonly origin: "kernel.astrale.ai";
3258
- };
3259
- readonly key: "kernel.astrale.ai:class.Identity";
3260
- }];
3261
- readonly properties: {
3262
- displayName: import("@astrale-os/sdk/schema").Property<import("zod").ZodString, {
3263
- readonly required: false;
3264
- }>;
3265
- };
3266
- readonly methods: {
3267
- readonly resolveHome: import("@astrale-os/sdk/schema").Method<{
3268
- readonly description: "Resolve this User and its canonical personal Space.";
3269
- readonly auth: "authenticated";
3270
- readonly input: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
3271
- readonly output: import("zod").ZodObject<{
3272
- userId: import("zod").ZodString;
3273
- personalSpaceId: import("zod").ZodNullable<import("zod").ZodString>;
3274
- }, import("zod/v4/core").$strict>;
3275
- }>;
3276
- };
3277
- }>]>;
3278
- }, import("zod/v4/core").$strict>;
3279
- readonly output: {
3280
- type: 'object';
3281
- properties: {};
3282
- additionalProperties: boolean;
3283
- };
3284
- readonly auth: "authorized";
3285
- readonly policy: ({ check, ref }: import("@astrale-os/sdk/schema").CallablePolicyContext) => import("@astrale-os/sdk/schema").PolicyCheckExpression;
3286
- }>;
3287
- };
3288
- }>;