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

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