@astrale-domains/shell 0.1.0-beta.7 → 0.1.0-beta.9

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 (47) hide show
  1. package/dist/actions/user/resolve-home.js +1 -1
  2. package/dist/application.d.ts +9807 -3
  3. package/dist/mutations/group/membership.js +17 -19
  4. package/dist/mutations/space/access.js +21 -23
  5. package/dist/mutations/space/default.js +18 -20
  6. package/dist/mutations/user/repair.js +76 -78
  7. package/dist/queries/space/access.js +9 -11
  8. package/dist/queries/space/admin.js +18 -25
  9. package/dist/queries/space/member.js +15 -22
  10. package/dist/queries/user/groups.js +15 -22
  11. package/dist/queries/user/home.js +19 -26
  12. package/dist/queries/user/owned-spaces.js +15 -22
  13. package/dist/queries/user/profile.js +3 -6
  14. package/dist/queries/user/setup.js +11 -13
  15. package/dist/runtime.d.ts +7355 -2
  16. package/dist/schema/domain/index.d.ts +1161 -26407
  17. package/dist/schema/domain/index.js +4 -5
  18. package/dist/schema/group/class.d.ts +167 -3132
  19. package/dist/schema/group/core.d.ts +2 -6
  20. package/dist/schema/group/index.d.ts +1 -1
  21. package/dist/schema/group/index.js +1 -1
  22. package/dist/schema/group/methods.d.ts +13 -2059
  23. package/dist/schema/group/methods.js +2 -1
  24. package/dist/schema/group/relationships.d.ts +6 -4303
  25. package/dist/schema/group/view.d.ts +1 -3291
  26. package/dist/schema/home/view.d.ts +1 -3
  27. package/dist/schema/index.d.ts +5 -5
  28. package/dist/schema/index.js +1 -1
  29. package/dist/schema/setup/functions.d.ts +28 -47
  30. package/dist/schema/setup/index.d.ts +1 -1
  31. package/dist/schema/space/class.d.ts +56 -2289
  32. package/dist/schema/space/core.d.ts +3 -22515
  33. package/dist/schema/space/index.d.ts +1 -1
  34. package/dist/schema/space/index.js +1 -1
  35. package/dist/schema/space/methods.d.ts +18 -2089
  36. package/dist/schema/space/methods.js +5 -3
  37. package/dist/schema/space/relationships.d.ts +24 -23173
  38. package/dist/schema/space/view.d.ts +1 -2316
  39. package/dist/schema/user/class.d.ts +128 -865
  40. package/dist/schema/user/index.d.ts +1 -1
  41. package/dist/schema/user/methods.d.ts +7 -14
  42. package/dist/schema/user/view.d.ts +1 -1017
  43. package/dist/workflows/group/change.js +3 -3
  44. package/dist/workflows/setup/run.js +3 -3
  45. package/dist/workflows/space/access.js +3 -3
  46. package/dist/workflows/space/default.js +3 -3
  47. package/package.json +3 -3
@@ -1,40 +1,23 @@
1
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";
2
+ readonly depth: 1;
3
+ readonly abstract: false;
4
+ readonly extends: readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
5
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
6
+ readonly origin: "kernel.astrale.ai";
26
7
  };
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";
8
+ readonly kind: 'node';
9
+ readonly abstract: true;
10
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Identity"> & {
11
+ readonly origin: "kernel.astrale.ai";
12
+ }, "kernel.astrale.ai:class.Identity", readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
13
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
14
+ readonly origin: "kernel.astrale.ai";
30
15
  };
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<({
16
+ readonly kind: 'node';
17
+ readonly abstract: true;
18
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
19
+ readonly origin: "kernel.astrale.ai";
20
+ }, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<({
38
21
  claim: string;
39
22
  op: "contains";
40
23
  value: unknown;
@@ -45,76 +28,21 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
45
28
  } | {
46
29
  claim: string;
47
30
  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"?: ({
31
+ })[], false, "requiredClaims", "kernel.astrale.ai:class.Identity.property.requiredClaims"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, false, "frozen", "kernel.astrale.ai:class.Identity.property.frozen"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "iss", "kernel.astrale.ai:class.Identity.property.iss"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "sub", "kernel.astrale.ai:class.Identity.property.sub">, import("@astrale-os/sdk/schema").MethodProjection<{
32
+ audience: string;
33
+ ttlSeconds: number;
34
+ attenuation: unknown;
35
+ }, {
36
+ readonly mode: 'value';
37
+ readonly value: string;
38
+ }, false, "default", "authenticated", "delegate", "kernel.astrale.ai:class.Identity.method.delegate">, import("@astrale-os/sdk/schema").MethodProjection<Record<string, never>, {
39
+ readonly mode: 'value';
40
+ readonly value: {
41
+ id: string;
42
+ issuer: string;
43
+ subject: string;
44
+ frozen: boolean;
45
+ requiredClaims: ({
118
46
  claim: string;
119
47
  op: "contains";
120
48
  value: unknown;
@@ -125,12 +53,27 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
125
53
  } | {
126
54
  claim: string;
127
55
  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?: ({
56
+ })[];
57
+ };
58
+ }, true, "default", "authenticated", "whoami", "kernel.astrale.ai:class.Identity.method.whoami"> | import("@astrale-os/sdk/schema").MethodProjection<{
59
+ policy: string;
60
+ object: string;
61
+ }, {
62
+ readonly mode: 'value';
63
+ readonly value: {
64
+ allowed: boolean;
65
+ };
66
+ }, true, "default", "authenticated", "can", "kernel.astrale.ai:class.Identity.method.can"> | import("@astrale-os/sdk/schema").MethodProjection<{
67
+ issuer: string;
68
+ subject: string;
69
+ }, {
70
+ readonly mode: 'value';
71
+ readonly value: {
72
+ id: string;
73
+ issuer: string;
74
+ subject: string;
75
+ frozen: boolean;
76
+ requiredClaims: ({
134
77
  claim: string;
135
78
  op: "contains";
136
79
  value: unknown;
@@ -141,146 +84,34 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
141
84
  } | {
142
85
  claim: string;
143
86
  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;
87
+ })[];
88
+ } | null;
89
+ }, true, "default", "authorized", "whois", "kernel.astrale.ai:class.Identity.method.whois"> | import("@astrale-os/sdk/schema").MethodProjection<{
90
+ audience?: string | undefined;
160
91
  ttlSeconds: number;
161
- attenuation: unknown;
92
+ grant?: unknown;
162
93
  }, {
163
94
  readonly mode: 'value';
164
95
  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<{
275
- audience?: string | undefined;
96
+ }, true, "default", "authorized", "mint", "kernel.astrale.ai:class.Identity.method.mint">, import("@astrale-os/sdk/schema").PropertyProjection<({
97
+ claim: string;
98
+ op: "contains";
99
+ value: unknown;
100
+ } | {
101
+ claim: string;
102
+ op: "eq";
103
+ value: unknown;
104
+ } | {
105
+ claim: string;
106
+ op: "exists";
107
+ })[], false, "requiredClaims", "kernel.astrale.ai:class.Identity.property.requiredClaims"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, false, "frozen", "kernel.astrale.ai:class.Identity.property.frozen"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "iss", "kernel.astrale.ai:class.Identity.property.iss"> | import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "sub", "kernel.astrale.ai:class.Identity.property.sub">, import("@astrale-os/sdk/schema").MethodProjection<{
108
+ audience: string;
276
109
  ttlSeconds: number;
277
- grant?: unknown;
110
+ attenuation: unknown;
278
111
  }, {
279
112
  readonly mode: 'value';
280
113
  readonly value: string;
281
- }, 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"> & {
282
- readonly name: "mint";
283
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
114
+ }, false, "default", "authenticated", "delegate", "kernel.astrale.ai:class.Identity.method.delegate">, import("@astrale-os/sdk/schema").MethodProjection<Record<string, never>, {
284
115
  readonly mode: 'value';
285
116
  readonly value: {
286
117
  id: string;
@@ -300,9 +131,15 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
300
131
  op: "exists";
301
132
  })[];
302
133
  };
303
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
304
- readonly name: "whoami";
305
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
134
+ }, true, "default", "authenticated", "whoami", "kernel.astrale.ai:class.Identity.method.whoami"> | import("@astrale-os/sdk/schema").MethodProjection<{
135
+ policy: string;
136
+ object: string;
137
+ }, {
138
+ readonly mode: 'value';
139
+ readonly value: {
140
+ allowed: boolean;
141
+ };
142
+ }, true, "default", "authenticated", "can", "kernel.astrale.ai:class.Identity.method.can"> | import("@astrale-os/sdk/schema").MethodProjection<{
306
143
  issuer: string;
307
144
  subject: string;
308
145
  }, {
@@ -325,416 +162,98 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
325
162
  op: "exists";
326
163
  })[];
327
164
  } | null;
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.whois"> & {
329
- readonly name: "whois";
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";
165
+ }, true, "default", "authorized", "whois", "kernel.astrale.ai:class.Identity.method.whois"> | import("@astrale-os/sdk/schema").MethodProjection<{
166
+ audience?: string | undefined;
167
+ ttlSeconds: number;
168
+ grant?: unknown;
169
+ }, {
170
+ readonly mode: 'value';
171
+ readonly value: string;
172
+ }, true, "default", "authorized", "mint", "kernel.astrale.ai:class.Identity.method.mint">>, import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
173
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
174
+ readonly origin: "kernel.astrale.ai";
480
175
  };
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";
176
+ readonly kind: 'node';
177
+ readonly abstract: true;
178
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Named"> & {
179
+ readonly origin: "kernel.astrale.ai";
180
+ }, "kernel.astrale.ai:class.Named", readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
181
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
182
+ readonly origin: "kernel.astrale.ai";
484
183
  };
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";
184
+ readonly kind: 'node';
185
+ readonly abstract: true;
186
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
187
+ readonly origin: "kernel.astrale.ai";
188
+ }, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "name", "kernel.astrale.ai:class.Named.property.name">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, true, "name", "kernel.astrale.ai:class.Named.property.name">, never, never>, import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
189
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
190
+ readonly origin: "kernel.astrale.ai";
499
191
  };
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";
192
+ readonly kind: 'node';
193
+ readonly abstract: true;
194
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Descriptable"> & {
195
+ readonly origin: "kernel.astrale.ai";
196
+ }, "kernel.astrale.ai:class.Descriptable", readonly [import("@astrale-os/sdk/schema").ClassProjection<"node", import("@astrale-os/sdk/schema").NodeClassDefinition & {
197
+ readonly ref: import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
198
+ readonly origin: "kernel.astrale.ai";
503
199
  };
504
- }>> & Iterable<(import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
200
+ readonly kind: 'node';
201
+ readonly abstract: true;
202
+ }, import("@astrale-os/sdk/schema").ClassRef & import("@astrale-os/sdk/schema").ClassRef<"Node"> & {
203
+ readonly origin: "kernel.astrale.ai";
204
+ }, "kernel.astrale.ai:class.Node", readonly import("@astrale-os/sdk/schema").AnyResolvedClass[], never, never, never, never, never, never>, ...never[]], import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, false, "description", "kernel.astrale.ai:class.Descriptable.property.description">, never, never, import("@astrale-os/sdk/schema").PropertyProjection<string | number | boolean | import("@astrale-os/sdk/schema").Array | import("@astrale-os/sdk/schema").Object | null, false, "description", "kernel.astrale.ai:class.Descriptable.property.description">, never, never>];
205
+ readonly properties: never;
206
+ readonly methods: {
207
+ readonly assignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
208
+ user: string;
209
+ }, {
210
+ readonly mode: 'value';
211
+ readonly value: import("@astrale-os/sdk/schema").Value;
212
+ }, "authorized", false, "default">>;
213
+ readonly unassignUser: import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
214
+ user: string;
215
+ }, {
216
+ readonly mode: 'value';
217
+ readonly value: import("@astrale-os/sdk/schema").Value;
218
+ }, "authorized", false, "default">>;
219
+ };
220
+ readonly effectiveProperties: (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
221
+ readonly name: "description";
222
+ readonly key: "kernel.astrale.ai:class.Descriptable.property.description";
223
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, false> & {
505
224
  readonly name: "frozen";
506
225
  readonly key: "kernel.astrale.ai:class.Identity.property.frozen";
507
226
  }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
508
227
  readonly name: "iss";
509
228
  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";
229
+ }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
230
+ readonly name: "name";
231
+ readonly key: "kernel.astrale.ai:class.Named.property.name";
524
232
  }) | (import("@astrale-os/sdk/schema").ResolvedProperty<import("@astrale-os/sdk/schema").Value, true> & {
525
233
  readonly name: "sub";
526
234
  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<{
235
+ });
236
+ readonly effectiveInstanceMethods: (import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
237
+ user: string;
238
+ }, {
239
+ readonly mode: 'value';
240
+ readonly value: import("@astrale-os/sdk/schema").Value;
241
+ }, "authorized", false, "default">>, "assignUser", "self"> | import("@astrale-os/sdk/schema").AuthoredMethodProjection<import("@astrale-os/sdk/schema").Method<import("@astrale-os/sdk/schema").CallableProjection<{
242
+ user: string;
243
+ }, {
244
+ readonly mode: 'value';
245
+ readonly value: import("@astrale-os/sdk/schema").Value;
246
+ }, "authorized", false, "default">>, "unassignUser", "self">) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
632
247
  audience: string;
633
248
  ttlSeconds: number;
634
249
  attenuation: unknown;
635
250
  }, {
636
251
  readonly mode: 'value';
637
252
  readonly value: string;
638
- }, false, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.delegate"> & {
253
+ }, false, "default", "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.delegate"> & {
639
254
  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<{
255
+ });
256
+ readonly effectiveStaticMethods: (import("@astrale-os/sdk/schema").ResolvedMethod<{
738
257
  policy: string;
739
258
  object: string;
740
259
  }, {
@@ -742,17 +261,8 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
742
261
  readonly value: {
743
262
  allowed: boolean;
744
263
  };
745
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.can"> & {
264
+ }, true, "default", "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.can"> & {
746
265
  readonly name: "can";
747
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
748
- audience?: string | undefined;
749
- ttlSeconds: number;
750
- grant?: unknown;
751
- }, {
752
- readonly mode: 'value';
753
- readonly value: string;
754
- }, 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"> & {
755
- readonly name: "mint";
756
266
  }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
757
267
  readonly mode: 'value';
758
268
  readonly value: {
@@ -773,8 +283,17 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
773
283
  op: "exists";
774
284
  })[];
775
285
  };
776
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
286
+ }, true, "default", "authenticated", import("@astrale-os/sdk/schema").PolicyCheckExpression<import("@astrale-os/sdk/schema").PolicyRef, import("@astrale-os/sdk/schema").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whoami"> & {
777
287
  readonly name: "whoami";
288
+ }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
289
+ audience?: string | undefined;
290
+ ttlSeconds: number;
291
+ grant?: unknown;
292
+ }, {
293
+ readonly mode: 'value';
294
+ readonly value: string;
295
+ }, 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"> & {
296
+ readonly name: "mint";
778
297
  }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
779
298
  issuer: string;
780
299
  subject: string;
@@ -800,2489 +319,5 @@ export declare const Group: import("@astrale-os/sdk/schema").NodeClass<{
800
319
  } | null;
801
320
  }, 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"> & {
802
321
  readonly name: "whois";
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<{
1512
- audience?: string | undefined;
1513
- ttlSeconds: number;
1514
- grant?: unknown;
1515
- }, {
1516
- readonly mode: 'value';
1517
- readonly value: string;
1518
- }, 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"> & {
1519
- readonly name: "mint";
1520
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1521
- readonly mode: 'value';
1522
- readonly value: {
1523
- id: string;
1524
- issuer: string;
1525
- subject: string;
1526
- frozen: boolean;
1527
- requiredClaims: ({
1528
- claim: string;
1529
- op: "contains";
1530
- value: unknown;
1531
- } | {
1532
- claim: string;
1533
- op: "eq";
1534
- value: unknown;
1535
- } | {
1536
- claim: string;
1537
- op: "exists";
1538
- })[];
1539
- };
1540
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
1541
- readonly name: "whoami";
1542
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
1543
- issuer: string;
1544
- subject: string;
1545
- }, {
1546
- readonly mode: 'value';
1547
- readonly value: {
1548
- id: string;
1549
- issuer: string;
1550
- subject: string;
1551
- frozen: boolean;
1552
- requiredClaims: ({
1553
- claim: string;
1554
- op: "contains";
1555
- value: unknown;
1556
- } | {
1557
- claim: string;
1558
- op: "eq";
1559
- value: unknown;
1560
- } | {
1561
- claim: string;
1562
- op: "exists";
1563
- })[];
1564
- } | null;
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.whois"> & {
1566
- readonly name: "whois";
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<{
1985
- audience?: string | undefined;
1986
- ttlSeconds: number;
1987
- grant?: unknown;
1988
- }, {
1989
- readonly mode: 'value';
1990
- readonly value: string;
1991
- }, 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"> & {
1992
- readonly name: "mint";
1993
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
1994
- readonly mode: 'value';
1995
- readonly value: {
1996
- id: string;
1997
- issuer: string;
1998
- subject: string;
1999
- frozen: boolean;
2000
- requiredClaims: ({
2001
- claim: string;
2002
- op: "contains";
2003
- value: unknown;
2004
- } | {
2005
- claim: string;
2006
- op: "eq";
2007
- value: unknown;
2008
- } | {
2009
- claim: string;
2010
- op: "exists";
2011
- })[];
2012
- };
2013
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2014
- readonly name: "whoami";
2015
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2016
- issuer: string;
2017
- subject: string;
2018
- }, {
2019
- readonly mode: 'value';
2020
- readonly value: {
2021
- id: string;
2022
- issuer: string;
2023
- subject: string;
2024
- frozen: boolean;
2025
- requiredClaims: ({
2026
- claim: string;
2027
- op: "contains";
2028
- value: unknown;
2029
- } | {
2030
- claim: string;
2031
- op: "eq";
2032
- value: unknown;
2033
- } | {
2034
- claim: string;
2035
- op: "exists";
2036
- })[];
2037
- } | null;
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.whois"> & {
2039
- readonly name: "whois";
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<{
2538
- audience?: string | undefined;
2539
- ttlSeconds: number;
2540
- grant?: unknown;
2541
- }, {
2542
- readonly mode: 'value';
2543
- readonly value: string;
2544
- }, 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"> & {
2545
- readonly name: "mint";
2546
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
2547
- readonly mode: 'value';
2548
- readonly value: {
2549
- id: string;
2550
- issuer: string;
2551
- subject: string;
2552
- frozen: boolean;
2553
- requiredClaims: ({
2554
- claim: string;
2555
- op: "contains";
2556
- value: unknown;
2557
- } | {
2558
- claim: string;
2559
- op: "eq";
2560
- value: unknown;
2561
- } | {
2562
- claim: string;
2563
- op: "exists";
2564
- })[];
2565
- };
2566
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
2567
- readonly name: "whoami";
2568
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
2569
- issuer: string;
2570
- subject: string;
2571
- }, {
2572
- readonly mode: 'value';
2573
- readonly value: {
2574
- id: string;
2575
- issuer: string;
2576
- subject: string;
2577
- frozen: boolean;
2578
- requiredClaims: ({
2579
- claim: string;
2580
- op: "contains";
2581
- value: unknown;
2582
- } | {
2583
- claim: string;
2584
- op: "eq";
2585
- value: unknown;
2586
- } | {
2587
- claim: string;
2588
- op: "exists";
2589
- })[];
2590
- } | null;
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.whois"> & {
2592
- readonly name: "whois";
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<{
3011
- audience?: string | undefined;
3012
- ttlSeconds: number;
3013
- grant?: unknown;
3014
- }, {
3015
- readonly mode: 'value';
3016
- readonly value: string;
3017
- }, 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"> & {
3018
- readonly name: "mint";
3019
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<Record<string, never>, {
3020
- readonly mode: 'value';
3021
- readonly value: {
3022
- id: string;
3023
- issuer: string;
3024
- subject: string;
3025
- frozen: boolean;
3026
- requiredClaims: ({
3027
- claim: string;
3028
- op: "contains";
3029
- value: unknown;
3030
- } | {
3031
- claim: string;
3032
- op: "eq";
3033
- value: unknown;
3034
- } | {
3035
- claim: string;
3036
- op: "exists";
3037
- })[];
3038
- };
3039
- }, true, "default", "authenticated", never, "kernel.astrale.ai:class.Identity.method.whoami"> & {
3040
- readonly name: "whoami";
3041
- }) | (import("@astrale-os/sdk/schema").ResolvedMethod<{
3042
- issuer: string;
3043
- subject: string;
3044
- }, {
3045
- readonly mode: 'value';
3046
- readonly value: {
3047
- id: string;
3048
- issuer: string;
3049
- subject: string;
3050
- frozen: boolean;
3051
- requiredClaims: ({
3052
- claim: string;
3053
- op: "contains";
3054
- value: unknown;
3055
- } | {
3056
- claim: string;
3057
- op: "eq";
3058
- value: unknown;
3059
- } | {
3060
- claim: string;
3061
- op: "exists";
3062
- })[];
3063
- } | null;
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.whois"> & {
3065
- readonly name: "whois";
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
- };
322
+ });
3288
323
  }>;