@astrale-domains/shell 0.1.0-beta.4 → 0.1.0-beta.8

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