@astrale-os/kernel-core 0.9.0-beta.41 → 0.9.0-beta.43

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.
@@ -212,14 +212,6 @@ declare const KernelDefinitions: {
212
212
  })[];
213
213
  };
214
214
  }, "authenticated", true, "default">>, "whoami", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
215
- policy: string;
216
- object: string;
217
- }, {
218
- readonly mode: 'value';
219
- readonly value: {
220
- allowed: boolean;
221
- };
222
- }, "authenticated", true, "default">>, "can", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
223
215
  iss: string;
224
216
  sub: string;
225
217
  }, {
@@ -243,6 +235,14 @@ declare const KernelDefinitions: {
243
235
  })[];
244
236
  } | null;
245
237
  }, "authorized", true, "default">>, "whois", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
238
+ policy: string;
239
+ object: string;
240
+ }, {
241
+ readonly mode: 'value';
242
+ readonly value: {
243
+ allowed: boolean;
244
+ };
245
+ }, "authenticated", true, "default">>, "can", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
246
246
  audience?: string | undefined;
247
247
  ttlSeconds: number;
248
248
  grant?: unknown;
@@ -668,14 +668,6 @@ declare const KernelDefinitions: {
668
668
  })[];
669
669
  };
670
670
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
671
- policy: string;
672
- object: string;
673
- }, {
674
- readonly mode: 'value';
675
- readonly value: {
676
- allowed: boolean;
677
- };
678
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
679
671
  iss: string;
680
672
  sub: string;
681
673
  }, {
@@ -699,6 +691,14 @@ declare const KernelDefinitions: {
699
691
  })[];
700
692
  } | null;
701
693
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
694
+ policy: string;
695
+ object: string;
696
+ }, {
697
+ readonly mode: 'value';
698
+ readonly value: {
699
+ allowed: boolean;
700
+ };
701
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
702
702
  audience?: string | undefined;
703
703
  ttlSeconds: number;
704
704
  grant?: unknown;
@@ -858,14 +858,6 @@ declare const KernelDefinitions: {
858
858
  })[];
859
859
  };
860
860
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
861
- policy: string;
862
- object: string;
863
- }, {
864
- readonly mode: 'value';
865
- readonly value: {
866
- allowed: boolean;
867
- };
868
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
869
861
  iss: string;
870
862
  sub: string;
871
863
  }, {
@@ -889,6 +881,14 @@ declare const KernelDefinitions: {
889
881
  })[];
890
882
  } | null;
891
883
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
884
+ policy: string;
885
+ object: string;
886
+ }, {
887
+ readonly mode: 'value';
888
+ readonly value: {
889
+ allowed: boolean;
890
+ };
891
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
892
892
  audience?: string | undefined;
893
893
  ttlSeconds: number;
894
894
  grant?: unknown;
@@ -1048,14 +1048,6 @@ declare const KernelDefinitions: {
1048
1048
  })[];
1049
1049
  };
1050
1050
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1051
- policy: string;
1052
- object: string;
1053
- }, {
1054
- readonly mode: 'value';
1055
- readonly value: {
1056
- allowed: boolean;
1057
- };
1058
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1059
1051
  iss: string;
1060
1052
  sub: string;
1061
1053
  }, {
@@ -1079,6 +1071,14 @@ declare const KernelDefinitions: {
1079
1071
  })[];
1080
1072
  } | null;
1081
1073
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1074
+ policy: string;
1075
+ object: string;
1076
+ }, {
1077
+ readonly mode: 'value';
1078
+ readonly value: {
1079
+ allowed: boolean;
1080
+ };
1081
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1082
1082
  audience?: string | undefined;
1083
1083
  ttlSeconds: number;
1084
1084
  grant?: unknown;
@@ -1238,14 +1238,6 @@ declare const KernelDefinitions: {
1238
1238
  })[];
1239
1239
  };
1240
1240
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1241
- policy: string;
1242
- object: string;
1243
- }, {
1244
- readonly mode: 'value';
1245
- readonly value: {
1246
- allowed: boolean;
1247
- };
1248
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1249
1241
  iss: string;
1250
1242
  sub: string;
1251
1243
  }, {
@@ -1269,6 +1261,14 @@ declare const KernelDefinitions: {
1269
1261
  })[];
1270
1262
  } | null;
1271
1263
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1264
+ policy: string;
1265
+ object: string;
1266
+ }, {
1267
+ readonly mode: 'value';
1268
+ readonly value: {
1269
+ allowed: boolean;
1270
+ };
1271
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1272
1272
  audience?: string | undefined;
1273
1273
  ttlSeconds: number;
1274
1274
  grant?: unknown;
@@ -1435,14 +1435,6 @@ declare const KernelDefinitions: {
1435
1435
  })[];
1436
1436
  };
1437
1437
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1438
- policy: string;
1439
- object: string;
1440
- }, {
1441
- readonly mode: 'value';
1442
- readonly value: {
1443
- allowed: boolean;
1444
- };
1445
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1446
1438
  iss: string;
1447
1439
  sub: string;
1448
1440
  }, {
@@ -1466,6 +1458,14 @@ declare const KernelDefinitions: {
1466
1458
  })[];
1467
1459
  } | null;
1468
1460
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1461
+ policy: string;
1462
+ object: string;
1463
+ }, {
1464
+ readonly mode: 'value';
1465
+ readonly value: {
1466
+ allowed: boolean;
1467
+ };
1468
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1469
1469
  audience?: string | undefined;
1470
1470
  ttlSeconds: number;
1471
1471
  grant?: unknown;
@@ -1645,14 +1645,6 @@ declare const KernelDefinitions: {
1645
1645
  })[];
1646
1646
  };
1647
1647
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1648
- policy: string;
1649
- object: string;
1650
- }, {
1651
- readonly mode: 'value';
1652
- readonly value: {
1653
- allowed: boolean;
1654
- };
1655
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1656
1648
  iss: string;
1657
1649
  sub: string;
1658
1650
  }, {
@@ -1676,6 +1668,14 @@ declare const KernelDefinitions: {
1676
1668
  })[];
1677
1669
  } | null;
1678
1670
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1671
+ policy: string;
1672
+ object: string;
1673
+ }, {
1674
+ readonly mode: 'value';
1675
+ readonly value: {
1676
+ allowed: boolean;
1677
+ };
1678
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1679
1679
  audience?: string | undefined;
1680
1680
  ttlSeconds: number;
1681
1681
  grant?: unknown;
@@ -1683,14 +1683,29 @@ declare const KernelDefinitions: {
1683
1683
  readonly mode: 'value';
1684
1684
  readonly value: string;
1685
1685
  }, "authenticated", true, "default">>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1686
- policy: string;
1687
- object: string;
1686
+ iss: string;
1687
+ sub: string;
1688
1688
  }, {
1689
1689
  readonly mode: 'value';
1690
1690
  readonly value: {
1691
- allowed: boolean;
1692
- };
1693
- }, "authenticated", true, "default">>, "can", builder.ClassOwnerProjection<"node", {
1691
+ id: string;
1692
+ iss: string;
1693
+ sub: string;
1694
+ frozen: boolean;
1695
+ requiredClaims: ({
1696
+ claim: string;
1697
+ op: "contains";
1698
+ value: unknown;
1699
+ } | {
1700
+ claim: string;
1701
+ op: "eq";
1702
+ value: unknown;
1703
+ } | {
1704
+ claim: string;
1705
+ op: "exists";
1706
+ })[];
1707
+ } | null;
1708
+ }, "authorized", true, "default">>, "whois", builder.ClassOwnerProjection<"node", {
1694
1709
  readonly abstract: true;
1695
1710
  readonly depth: 1;
1696
1711
  readonly properties: {
@@ -1843,14 +1858,6 @@ declare const KernelDefinitions: {
1843
1858
  })[];
1844
1859
  };
1845
1860
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1846
- policy: string;
1847
- object: string;
1848
- }, {
1849
- readonly mode: 'value';
1850
- readonly value: {
1851
- allowed: boolean;
1852
- };
1853
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1854
1861
  iss: string;
1855
1862
  sub: string;
1856
1863
  }, {
@@ -1874,6 +1881,14 @@ declare const KernelDefinitions: {
1874
1881
  })[];
1875
1882
  } | null;
1876
1883
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1884
+ policy: string;
1885
+ object: string;
1886
+ }, {
1887
+ readonly mode: 'value';
1888
+ readonly value: {
1889
+ allowed: boolean;
1890
+ };
1891
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1877
1892
  audience?: string | undefined;
1878
1893
  ttlSeconds: number;
1879
1894
  grant?: unknown;
@@ -1881,29 +1896,14 @@ declare const KernelDefinitions: {
1881
1896
  readonly mode: 'value';
1882
1897
  readonly value: string;
1883
1898
  }, "authenticated", true, "default">>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
1884
- iss: string;
1885
- sub: string;
1899
+ policy: string;
1900
+ object: string;
1886
1901
  }, {
1887
1902
  readonly mode: 'value';
1888
1903
  readonly value: {
1889
- id: string;
1890
- iss: string;
1891
- sub: string;
1892
- frozen: boolean;
1893
- requiredClaims: ({
1894
- claim: string;
1895
- op: "contains";
1896
- value: unknown;
1897
- } | {
1898
- claim: string;
1899
- op: "eq";
1900
- value: unknown;
1901
- } | {
1902
- claim: string;
1903
- op: "exists";
1904
- })[];
1905
- } | null;
1906
- }, "authorized", true, "default">>, "whois", builder.ClassOwnerProjection<"node", {
1904
+ allowed: boolean;
1905
+ };
1906
+ }, "authenticated", true, "default">>, "can", builder.ClassOwnerProjection<"node", {
1907
1907
  readonly abstract: true;
1908
1908
  readonly depth: 1;
1909
1909
  readonly properties: {
@@ -2056,14 +2056,6 @@ declare const KernelDefinitions: {
2056
2056
  })[];
2057
2057
  };
2058
2058
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2059
- policy: string;
2060
- object: string;
2061
- }, {
2062
- readonly mode: 'value';
2063
- readonly value: {
2064
- allowed: boolean;
2065
- };
2066
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2067
2059
  iss: string;
2068
2060
  sub: string;
2069
2061
  }, {
@@ -2087,6 +2079,14 @@ declare const KernelDefinitions: {
2087
2079
  })[];
2088
2080
  } | null;
2089
2081
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2082
+ policy: string;
2083
+ object: string;
2084
+ }, {
2085
+ readonly mode: 'value';
2086
+ readonly value: {
2087
+ allowed: boolean;
2088
+ };
2089
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2090
2090
  audience?: string | undefined;
2091
2091
  ttlSeconds: number;
2092
2092
  grant?: unknown;
@@ -2253,14 +2253,6 @@ declare const KernelDefinitions: {
2253
2253
  })[];
2254
2254
  };
2255
2255
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2256
- policy: string;
2257
- object: string;
2258
- }, {
2259
- readonly mode: 'value';
2260
- readonly value: {
2261
- allowed: boolean;
2262
- };
2263
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2264
2256
  iss: string;
2265
2257
  sub: string;
2266
2258
  }, {
@@ -2284,6 +2276,14 @@ declare const KernelDefinitions: {
2284
2276
  })[];
2285
2277
  } | null;
2286
2278
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2279
+ policy: string;
2280
+ object: string;
2281
+ }, {
2282
+ readonly mode: 'value';
2283
+ readonly value: {
2284
+ allowed: boolean;
2285
+ };
2286
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2287
2287
  audience?: string | undefined;
2288
2288
  ttlSeconds: number;
2289
2289
  grant?: unknown;
@@ -2473,14 +2473,6 @@ declare const KernelDefinitions: {
2473
2473
  })[];
2474
2474
  };
2475
2475
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2476
- policy: string;
2477
- object: string;
2478
- }, {
2479
- readonly mode: 'value';
2480
- readonly value: {
2481
- allowed: boolean;
2482
- };
2483
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2484
2476
  iss: string;
2485
2477
  sub: string;
2486
2478
  }, {
@@ -2504,6 +2496,14 @@ declare const KernelDefinitions: {
2504
2496
  })[];
2505
2497
  } | null;
2506
2498
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2499
+ policy: string;
2500
+ object: string;
2501
+ }, {
2502
+ readonly mode: 'value';
2503
+ readonly value: {
2504
+ allowed: boolean;
2505
+ };
2506
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2507
2507
  audience?: string | undefined;
2508
2508
  ttlSeconds: number;
2509
2509
  grant?: unknown;
@@ -2663,14 +2663,6 @@ declare const KernelDefinitions: {
2663
2663
  })[];
2664
2664
  };
2665
2665
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2666
- policy: string;
2667
- object: string;
2668
- }, {
2669
- readonly mode: 'value';
2670
- readonly value: {
2671
- allowed: boolean;
2672
- };
2673
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2674
2666
  iss: string;
2675
2667
  sub: string;
2676
2668
  }, {
@@ -2694,6 +2686,14 @@ declare const KernelDefinitions: {
2694
2686
  })[];
2695
2687
  } | null;
2696
2688
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2689
+ policy: string;
2690
+ object: string;
2691
+ }, {
2692
+ readonly mode: 'value';
2693
+ readonly value: {
2694
+ allowed: boolean;
2695
+ };
2696
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2697
2697
  audience?: string | undefined;
2698
2698
  ttlSeconds: number;
2699
2699
  grant?: unknown;
@@ -2853,14 +2853,6 @@ declare const KernelDefinitions: {
2853
2853
  })[];
2854
2854
  };
2855
2855
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2856
- policy: string;
2857
- object: string;
2858
- }, {
2859
- readonly mode: 'value';
2860
- readonly value: {
2861
- allowed: boolean;
2862
- };
2863
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2864
2856
  iss: string;
2865
2857
  sub: string;
2866
2858
  }, {
@@ -2884,12 +2876,20 @@ declare const KernelDefinitions: {
2884
2876
  })[];
2885
2877
  } | null;
2886
2878
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2887
- audience?: string | undefined;
2888
- ttlSeconds: number;
2889
- grant?: unknown;
2879
+ policy: string;
2880
+ object: string;
2890
2881
  }, {
2891
2882
  readonly mode: 'value';
2892
- readonly value: string;
2883
+ readonly value: {
2884
+ allowed: boolean;
2885
+ };
2886
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
2887
+ audience?: string | undefined;
2888
+ ttlSeconds: number;
2889
+ grant?: unknown;
2890
+ }, {
2891
+ readonly mode: 'value';
2892
+ readonly value: string;
2893
2893
  }, "authenticated", true, "default">>, "mint", unknown>>, never> | builder.AuthoredPropertyProjection<import("@astrale-os/kernel-dsl/value").Value, import("@astrale-os/kernel-dsl/value").Value, false, "sub", builder.ClassOwnerProjection<"node", {
2894
2894
  readonly abstract: true;
2895
2895
  readonly depth: 1;
@@ -3043,14 +3043,6 @@ declare const KernelDefinitions: {
3043
3043
  })[];
3044
3044
  };
3045
3045
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3046
- policy: string;
3047
- object: string;
3048
- }, {
3049
- readonly mode: 'value';
3050
- readonly value: {
3051
- allowed: boolean;
3052
- };
3053
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3054
3046
  iss: string;
3055
3047
  sub: string;
3056
3048
  }, {
@@ -3074,6 +3066,14 @@ declare const KernelDefinitions: {
3074
3066
  })[];
3075
3067
  } | null;
3076
3068
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3069
+ policy: string;
3070
+ object: string;
3071
+ }, {
3072
+ readonly mode: 'value';
3073
+ readonly value: {
3074
+ allowed: boolean;
3075
+ };
3076
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3077
3077
  audience?: string | undefined;
3078
3078
  ttlSeconds: number;
3079
3079
  grant?: unknown;
@@ -3241,14 +3241,6 @@ declare const KernelDefinitions: {
3241
3241
  })[];
3242
3242
  };
3243
3243
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3244
- policy: string;
3245
- object: string;
3246
- }, {
3247
- readonly mode: 'value';
3248
- readonly value: {
3249
- allowed: boolean;
3250
- };
3251
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3252
3244
  iss: string;
3253
3245
  sub: string;
3254
3246
  }, {
@@ -3272,6 +3264,14 @@ declare const KernelDefinitions: {
3272
3264
  })[];
3273
3265
  } | null;
3274
3266
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3267
+ policy: string;
3268
+ object: string;
3269
+ }, {
3270
+ readonly mode: 'value';
3271
+ readonly value: {
3272
+ allowed: boolean;
3273
+ };
3274
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3275
3275
  audience?: string | undefined;
3276
3276
  ttlSeconds: number;
3277
3277
  grant?: unknown;
@@ -3452,14 +3452,6 @@ declare const KernelDefinitions: {
3452
3452
  })[];
3453
3453
  };
3454
3454
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3455
- policy: string;
3456
- object: string;
3457
- }, {
3458
- readonly mode: 'value';
3459
- readonly value: {
3460
- allowed: boolean;
3461
- };
3462
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3463
3455
  iss: string;
3464
3456
  sub: string;
3465
3457
  }, {
@@ -3483,6 +3475,14 @@ declare const KernelDefinitions: {
3483
3475
  })[];
3484
3476
  } | null;
3485
3477
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3478
+ policy: string;
3479
+ object: string;
3480
+ }, {
3481
+ readonly mode: 'value';
3482
+ readonly value: {
3483
+ allowed: boolean;
3484
+ };
3485
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3486
3486
  audience?: string | undefined;
3487
3487
  ttlSeconds: number;
3488
3488
  grant?: unknown;
@@ -3490,14 +3490,29 @@ declare const KernelDefinitions: {
3490
3490
  readonly mode: 'value';
3491
3491
  readonly value: string;
3492
3492
  }, "authenticated", true, "default">>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3493
- policy: string;
3494
- object: string;
3493
+ iss: string;
3494
+ sub: string;
3495
3495
  }, {
3496
3496
  readonly mode: 'value';
3497
3497
  readonly value: {
3498
- allowed: boolean;
3499
- };
3500
- }, "authenticated", true, "default">>, "can", builder.ClassOwnerProjection<"node", {
3498
+ id: string;
3499
+ iss: string;
3500
+ sub: string;
3501
+ frozen: boolean;
3502
+ requiredClaims: ({
3503
+ claim: string;
3504
+ op: "contains";
3505
+ value: unknown;
3506
+ } | {
3507
+ claim: string;
3508
+ op: "eq";
3509
+ value: unknown;
3510
+ } | {
3511
+ claim: string;
3512
+ op: "exists";
3513
+ })[];
3514
+ } | null;
3515
+ }, "authorized", true, "default">>, "whois", builder.ClassOwnerProjection<"node", {
3501
3516
  readonly abstract: true;
3502
3517
  readonly depth: 1;
3503
3518
  readonly properties: {
@@ -3650,14 +3665,6 @@ declare const KernelDefinitions: {
3650
3665
  })[];
3651
3666
  };
3652
3667
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3653
- policy: string;
3654
- object: string;
3655
- }, {
3656
- readonly mode: 'value';
3657
- readonly value: {
3658
- allowed: boolean;
3659
- };
3660
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3661
3668
  iss: string;
3662
3669
  sub: string;
3663
3670
  }, {
@@ -3681,6 +3688,14 @@ declare const KernelDefinitions: {
3681
3688
  })[];
3682
3689
  } | null;
3683
3690
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3691
+ policy: string;
3692
+ object: string;
3693
+ }, {
3694
+ readonly mode: 'value';
3695
+ readonly value: {
3696
+ allowed: boolean;
3697
+ };
3698
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3684
3699
  audience?: string | undefined;
3685
3700
  ttlSeconds: number;
3686
3701
  grant?: unknown;
@@ -3688,29 +3703,14 @@ declare const KernelDefinitions: {
3688
3703
  readonly mode: 'value';
3689
3704
  readonly value: string;
3690
3705
  }, "authenticated", true, "default">>, "mint", unknown>>> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3691
- iss: string;
3692
- sub: string;
3706
+ policy: string;
3707
+ object: string;
3693
3708
  }, {
3694
3709
  readonly mode: 'value';
3695
3710
  readonly value: {
3696
- id: string;
3697
- iss: string;
3698
- sub: string;
3699
- frozen: boolean;
3700
- requiredClaims: ({
3701
- claim: string;
3702
- op: "contains";
3703
- value: unknown;
3704
- } | {
3705
- claim: string;
3706
- op: "eq";
3707
- value: unknown;
3708
- } | {
3709
- claim: string;
3710
- op: "exists";
3711
- })[];
3712
- } | null;
3713
- }, "authorized", true, "default">>, "whois", builder.ClassOwnerProjection<"node", {
3711
+ allowed: boolean;
3712
+ };
3713
+ }, "authenticated", true, "default">>, "can", builder.ClassOwnerProjection<"node", {
3714
3714
  readonly abstract: true;
3715
3715
  readonly depth: 1;
3716
3716
  readonly properties: {
@@ -3863,14 +3863,6 @@ declare const KernelDefinitions: {
3863
3863
  })[];
3864
3864
  };
3865
3865
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3866
- policy: string;
3867
- object: string;
3868
- }, {
3869
- readonly mode: 'value';
3870
- readonly value: {
3871
- allowed: boolean;
3872
- };
3873
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3874
3866
  iss: string;
3875
3867
  sub: string;
3876
3868
  }, {
@@ -3894,6 +3886,14 @@ declare const KernelDefinitions: {
3894
3886
  })[];
3895
3887
  } | null;
3896
3888
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3889
+ policy: string;
3890
+ object: string;
3891
+ }, {
3892
+ readonly mode: 'value';
3893
+ readonly value: {
3894
+ allowed: boolean;
3895
+ };
3896
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
3897
3897
  audience?: string | undefined;
3898
3898
  ttlSeconds: number;
3899
3899
  grant?: unknown;
@@ -4060,14 +4060,6 @@ declare const KernelDefinitions: {
4060
4060
  })[];
4061
4061
  };
4062
4062
  }, "authenticated", true, "default">>, "whoami", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
4063
- policy: string;
4064
- object: string;
4065
- }, {
4066
- readonly mode: 'value';
4067
- readonly value: {
4068
- allowed: boolean;
4069
- };
4070
- }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
4071
4063
  iss: string;
4072
4064
  sub: string;
4073
4065
  }, {
@@ -4091,6 +4083,14 @@ declare const KernelDefinitions: {
4091
4083
  })[];
4092
4084
  } | null;
4093
4085
  }, "authorized", true, "default">>, "whois", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
4086
+ policy: string;
4087
+ object: string;
4088
+ }, {
4089
+ readonly mode: 'value';
4090
+ readonly value: {
4091
+ allowed: boolean;
4092
+ };
4093
+ }, "authenticated", true, "default">>, "can", unknown> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
4094
4094
  audience?: string | undefined;
4095
4095
  ttlSeconds: number;
4096
4096
  grant?: unknown;
@@ -4523,7 +4523,9 @@ declare const KernelDefinitions: {
4523
4523
  readonly effectiveProperties: never;
4524
4524
  }>;
4525
4525
  };
4526
- readonly policies: {};
4526
+ readonly policies: {
4527
+ readonly canUseSyscall: builder.Policy;
4528
+ };
4527
4529
  readonly functions: Readonly<{
4528
4530
  query: builder.Function<builder.CallableProjection<{
4529
4531
  ast: {
@@ -4967,7 +4969,6 @@ declare const KernelDefinitions: {
4967
4969
  origin: string;
4968
4970
  revision: string;
4969
4971
  }[] | undefined;
4970
- idempotencyKey?: string | undefined;
4971
4972
  }, {
4972
4973
  readonly mode: 'value';
4973
4974
  readonly value: {
@@ -5379,41 +5380,6 @@ export declare const AuthorityRelations: Readonly<{
5379
5380
  }>;
5380
5381
  /** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
5381
5382
  export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5382
- operation: string;
5383
- domains: ({
5384
- artifact: {
5385
- digest: string;
5386
- mediaType: string;
5387
- size: number;
5388
- };
5389
- currentRevision?: string | null | undefined;
5390
- } | {
5391
- publication: {
5392
- url: string;
5393
- token?: string | undefined;
5394
- etag?: string | undefined;
5395
- };
5396
- revision?: string | undefined;
5397
- currentRevision?: string | null | undefined;
5398
- })[];
5399
- }, {
5400
- readonly mode: 'binary';
5401
- }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5402
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
5403
- readonly origin: "kernel.astrale.ai";
5404
- };
5405
- readonly key: "kernel.astrale.ai:function.install";
5406
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5407
- kind: "bundle" | "inspect";
5408
- origin: string;
5409
- }, {
5410
- readonly mode: 'binary';
5411
- }, "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5412
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"introspect"> & {
5413
- readonly origin: "kernel.astrale.ai";
5414
- };
5415
- readonly key: "kernel.astrale.ai:function.introspect";
5416
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5417
5383
  invocation?: {
5418
5384
  source: string;
5419
5385
  id: string;
@@ -5445,34 +5411,287 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5445
5411
  readonly origin: "kernel.astrale.ai";
5446
5412
  };
5447
5413
  readonly key: "kernel.astrale.ai:function.journal";
5414
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5415
+ idempotencyKey: string;
5416
+ identities: ({
5417
+ id: string;
5418
+ mode: "external";
5419
+ credential: string;
5420
+ } | {
5421
+ id: string;
5422
+ mode: "self";
5423
+ publicKey: unknown;
5424
+ credential: string;
5425
+ })[];
5426
+ }, {
5427
+ readonly mode: 'value';
5428
+ readonly value: {
5429
+ identities: {
5430
+ id: string;
5431
+ iss: string;
5432
+ sub: string;
5433
+ }[];
5434
+ };
5435
+ }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5436
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
5437
+ readonly origin: "kernel.astrale.ai";
5438
+ };
5439
+ readonly key: "kernel.astrale.ai:function.register";
5448
5440
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5449
5441
  ast: {
5450
- format: "astrale.graph.mutation";
5451
- version: "v3";
5452
- preconditions: ({
5442
+ format: "astrale.graph.query";
5443
+ version: "v6";
5444
+ source: {
5453
5445
  kind: "node";
5454
- node: string;
5455
- class: string;
5456
- props?: {
5457
- equals: Record<string, unknown>;
5458
- absent?: string[] | undefined;
5446
+ terms: ({
5447
+ kind: "path";
5448
+ path: string;
5459
5449
  } | {
5460
- absent: string[];
5461
- } | undefined;
5450
+ kind: "class";
5451
+ class: {
5452
+ origin: string;
5453
+ kind: "class";
5454
+ name: string;
5455
+ };
5456
+ })[];
5457
+ binding: string;
5462
5458
  } | {
5463
5459
  kind: "edge";
5464
- edge: {
5460
+ terms: {
5461
+ kind: "class";
5462
+ class: {
5463
+ origin: string;
5464
+ kind: "class";
5465
+ name: string;
5466
+ };
5467
+ }[];
5468
+ bindings: {
5465
5469
  source: string;
5470
+ edge: string;
5466
5471
  target: string;
5467
- class: string;
5468
5472
  };
5469
- slug?: unknown;
5470
- props?: {
5471
- equals: Record<string, unknown>;
5472
- absent?: string[] | undefined;
5473
- } | {
5474
- absent: string[];
5475
- } | undefined;
5473
+ };
5474
+ steps: ({
5475
+ op: "filter";
5476
+ binding: string;
5477
+ predicate: {
5478
+ kind: "class.satisfies";
5479
+ class: {
5480
+ origin: string;
5481
+ kind: "class";
5482
+ name: string;
5483
+ };
5484
+ } | {
5485
+ kind: "class.equal";
5486
+ class: {
5487
+ origin: string;
5488
+ kind: "class";
5489
+ name: string;
5490
+ };
5491
+ } | {
5492
+ kind: "property.equal";
5493
+ property: string;
5494
+ value: unknown;
5495
+ } | {
5496
+ kind: "property.present";
5497
+ property: string;
5498
+ } | {
5499
+ kind: "identity.equal";
5500
+ identity: string | {
5501
+ source: string;
5502
+ target: string;
5503
+ class: string;
5504
+ };
5505
+ };
5506
+ } | {
5507
+ op: "expand";
5508
+ from: string;
5509
+ via: {
5510
+ origin: string;
5511
+ kind: "class";
5512
+ name: string;
5513
+ }[];
5514
+ direction: "incident" | "incoming" | "outgoing";
5515
+ bindings: {
5516
+ edge: string;
5517
+ node: string;
5518
+ };
5519
+ })[];
5520
+ select: {
5521
+ kind: "graph";
5522
+ binding: string;
5523
+ order?: {
5524
+ property: string;
5525
+ direction: "asc" | "desc";
5526
+ unranked: "first" | "last";
5527
+ } | undefined;
5528
+ } | {
5529
+ kind: "nodes";
5530
+ binding: string;
5531
+ projection: {
5532
+ kind: "reference" | "value";
5533
+ };
5534
+ order?: {
5535
+ property: string;
5536
+ direction: "asc" | "desc";
5537
+ unranked: "first" | "last";
5538
+ } | undefined;
5539
+ } | {
5540
+ kind: "edges";
5541
+ binding: string;
5542
+ projection: {
5543
+ edge: "reference" | "value";
5544
+ source: "reference" | "value";
5545
+ target: "reference" | "value";
5546
+ };
5547
+ order?: {
5548
+ property: string;
5549
+ direction: "asc" | "desc";
5550
+ unranked: "first" | "last";
5551
+ } | undefined;
5552
+ };
5553
+ };
5554
+ expected?: {
5555
+ origin: string;
5556
+ revision: string;
5557
+ }[] | undefined;
5558
+ page: {
5559
+ size: number;
5560
+ after?: string | undefined;
5561
+ };
5562
+ }, {
5563
+ readonly mode: 'value';
5564
+ readonly value: {
5565
+ result: {
5566
+ kind: "graph";
5567
+ graph: {
5568
+ nodes: {
5569
+ id: string;
5570
+ class: string;
5571
+ props: Record<string, unknown>;
5572
+ }[];
5573
+ edges: {
5574
+ source: string;
5575
+ target: string;
5576
+ class: string;
5577
+ slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
5578
+ props: Record<string, unknown>;
5579
+ }[];
5580
+ };
5581
+ selection: {
5582
+ kind: "node";
5583
+ ids: string[];
5584
+ } | {
5585
+ kind: "edge";
5586
+ keys: {
5587
+ source: string;
5588
+ target: string;
5589
+ class: string;
5590
+ }[];
5591
+ };
5592
+ } | {
5593
+ kind: "nodes";
5594
+ nodes: ({
5595
+ kind: "reference";
5596
+ value: {
5597
+ id: string;
5598
+ class: string;
5599
+ };
5600
+ } | {
5601
+ kind: "value";
5602
+ value: {
5603
+ id: string;
5604
+ class: string;
5605
+ props: Record<string, unknown>;
5606
+ };
5607
+ })[];
5608
+ } | {
5609
+ kind: "edges";
5610
+ edges: {
5611
+ edge: {
5612
+ kind: "reference";
5613
+ value: {
5614
+ source: string;
5615
+ target: string;
5616
+ class: string;
5617
+ };
5618
+ } | {
5619
+ kind: "value";
5620
+ value: {
5621
+ source: string;
5622
+ target: string;
5623
+ class: string;
5624
+ slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
5625
+ props: Record<string, unknown>;
5626
+ };
5627
+ };
5628
+ source: {
5629
+ kind: "reference";
5630
+ value: {
5631
+ id: string;
5632
+ class: string;
5633
+ };
5634
+ } | {
5635
+ kind: "value";
5636
+ value: {
5637
+ id: string;
5638
+ class: string;
5639
+ props: Record<string, unknown>;
5640
+ };
5641
+ };
5642
+ target: {
5643
+ kind: "reference";
5644
+ value: {
5645
+ id: string;
5646
+ class: string;
5647
+ };
5648
+ } | {
5649
+ kind: "value";
5650
+ value: {
5651
+ id: string;
5652
+ class: string;
5653
+ props: Record<string, unknown>;
5654
+ };
5655
+ };
5656
+ }[];
5657
+ };
5658
+ page: {
5659
+ next?: string | undefined;
5660
+ };
5661
+ };
5662
+ }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5663
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"query"> & {
5664
+ readonly origin: "kernel.astrale.ai";
5665
+ };
5666
+ readonly key: "kernel.astrale.ai:function.query";
5667
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5668
+ ast: {
5669
+ format: "astrale.graph.mutation";
5670
+ version: "v3";
5671
+ preconditions: ({
5672
+ kind: "node";
5673
+ node: string;
5674
+ class: string;
5675
+ props?: {
5676
+ equals: Record<string, unknown>;
5677
+ absent?: string[] | undefined;
5678
+ } | {
5679
+ absent: string[];
5680
+ } | undefined;
5681
+ } | {
5682
+ kind: "edge";
5683
+ edge: {
5684
+ source: string;
5685
+ target: string;
5686
+ class: string;
5687
+ };
5688
+ slug?: unknown;
5689
+ props?: {
5690
+ equals: Record<string, unknown>;
5691
+ absent?: string[] | undefined;
5692
+ } | {
5693
+ absent: string[];
5694
+ } | undefined;
5476
5695
  } | {
5477
5696
  kind: "query";
5478
5697
  query: {
@@ -5664,7 +5883,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5664
5883
  origin: string;
5665
5884
  revision: string;
5666
5885
  }[] | undefined;
5667
- idempotencyKey?: string | undefined;
5668
5886
  }, {
5669
5887
  readonly mode: 'value';
5670
5888
  readonly value: {
@@ -5676,258 +5894,30 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5676
5894
  };
5677
5895
  readonly key: "kernel.astrale.ai:function.mutate";
5678
5896
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5679
- ast: {
5680
- format: "astrale.graph.query";
5681
- version: "v6";
5682
- source: {
5683
- kind: "node";
5684
- terms: ({
5685
- kind: "path";
5686
- path: string;
5687
- } | {
5688
- kind: "class";
5689
- class: {
5690
- origin: string;
5691
- kind: "class";
5692
- name: string;
5693
- };
5694
- })[];
5695
- binding: string;
5696
- } | {
5697
- kind: "edge";
5698
- terms: {
5699
- kind: "class";
5700
- class: {
5701
- origin: string;
5702
- kind: "class";
5703
- name: string;
5704
- };
5705
- }[];
5706
- bindings: {
5707
- source: string;
5708
- edge: string;
5709
- target: string;
5710
- };
5711
- };
5712
- steps: ({
5713
- op: "filter";
5714
- binding: string;
5715
- predicate: {
5716
- kind: "class.satisfies";
5717
- class: {
5718
- origin: string;
5719
- kind: "class";
5720
- name: string;
5721
- };
5722
- } | {
5723
- kind: "class.equal";
5724
- class: {
5725
- origin: string;
5726
- kind: "class";
5727
- name: string;
5728
- };
5729
- } | {
5730
- kind: "property.equal";
5731
- property: string;
5732
- value: unknown;
5733
- } | {
5734
- kind: "property.present";
5735
- property: string;
5736
- } | {
5737
- kind: "identity.equal";
5738
- identity: string | {
5739
- source: string;
5740
- target: string;
5741
- class: string;
5742
- };
5743
- };
5744
- } | {
5745
- op: "expand";
5746
- from: string;
5747
- via: {
5748
- origin: string;
5749
- kind: "class";
5750
- name: string;
5751
- }[];
5752
- direction: "incident" | "incoming" | "outgoing";
5753
- bindings: {
5754
- edge: string;
5755
- node: string;
5756
- };
5757
- })[];
5758
- select: {
5759
- kind: "graph";
5760
- binding: string;
5761
- order?: {
5762
- property: string;
5763
- direction: "asc" | "desc";
5764
- unranked: "first" | "last";
5765
- } | undefined;
5766
- } | {
5767
- kind: "nodes";
5768
- binding: string;
5769
- projection: {
5770
- kind: "reference" | "value";
5771
- };
5772
- order?: {
5773
- property: string;
5774
- direction: "asc" | "desc";
5775
- unranked: "first" | "last";
5776
- } | undefined;
5777
- } | {
5778
- kind: "edges";
5779
- binding: string;
5780
- projection: {
5781
- edge: "reference" | "value";
5782
- source: "reference" | "value";
5783
- target: "reference" | "value";
5784
- };
5785
- order?: {
5786
- property: string;
5787
- direction: "asc" | "desc";
5788
- unranked: "first" | "last";
5789
- } | undefined;
5790
- };
5791
- };
5792
- expected?: {
5793
- origin: string;
5794
- revision: string;
5795
- }[] | undefined;
5796
- page: {
5797
- size: number;
5798
- after?: string | undefined;
5799
- };
5800
- }, {
5801
- readonly mode: 'value';
5802
- readonly value: {
5803
- result: {
5804
- kind: "graph";
5805
- graph: {
5806
- nodes: {
5807
- id: string;
5808
- class: string;
5809
- props: Record<string, unknown>;
5810
- }[];
5811
- edges: {
5812
- source: string;
5813
- target: string;
5814
- class: string;
5815
- slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
5816
- props: Record<string, unknown>;
5817
- }[];
5818
- };
5819
- selection: {
5820
- kind: "node";
5821
- ids: string[];
5822
- } | {
5823
- kind: "edge";
5824
- keys: {
5825
- source: string;
5826
- target: string;
5827
- class: string;
5828
- }[];
5829
- };
5830
- } | {
5831
- kind: "nodes";
5832
- nodes: ({
5833
- kind: "reference";
5834
- value: {
5835
- id: string;
5836
- class: string;
5837
- };
5838
- } | {
5839
- kind: "value";
5840
- value: {
5841
- id: string;
5842
- class: string;
5843
- props: Record<string, unknown>;
5844
- };
5845
- })[];
5846
- } | {
5847
- kind: "edges";
5848
- edges: {
5849
- edge: {
5850
- kind: "reference";
5851
- value: {
5852
- source: string;
5853
- target: string;
5854
- class: string;
5855
- };
5856
- } | {
5857
- kind: "value";
5858
- value: {
5859
- source: string;
5860
- target: string;
5861
- class: string;
5862
- slug?: import("../../graph/edge/index.js").EdgeSlug | undefined;
5863
- props: Record<string, unknown>;
5864
- };
5865
- };
5866
- source: {
5867
- kind: "reference";
5868
- value: {
5869
- id: string;
5870
- class: string;
5871
- };
5872
- } | {
5873
- kind: "value";
5874
- value: {
5875
- id: string;
5876
- class: string;
5877
- props: Record<string, unknown>;
5878
- };
5879
- };
5880
- target: {
5881
- kind: "reference";
5882
- value: {
5883
- id: string;
5884
- class: string;
5885
- };
5886
- } | {
5887
- kind: "value";
5888
- value: {
5889
- id: string;
5890
- class: string;
5891
- props: Record<string, unknown>;
5892
- };
5893
- };
5894
- }[];
5895
- };
5896
- page: {
5897
- next?: string | undefined;
5897
+ operation: string;
5898
+ domains: ({
5899
+ artifact: {
5900
+ digest: string;
5901
+ mediaType: string;
5902
+ size: number;
5898
5903
  };
5899
- };
5900
- }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5901
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"query"> & {
5902
- readonly origin: "kernel.astrale.ai";
5903
- };
5904
- readonly key: "kernel.astrale.ai:function.query";
5905
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5906
- idempotencyKey: string;
5907
- identities: ({
5908
- id: string;
5909
- mode: "external";
5910
- credential: string;
5904
+ currentRevision?: string | null | undefined;
5911
5905
  } | {
5912
- id: string;
5913
- mode: "self";
5914
- publicKey: unknown;
5915
- credential: string;
5906
+ publication: {
5907
+ url: string;
5908
+ token?: string | undefined;
5909
+ etag?: string | undefined;
5910
+ };
5911
+ revision?: string | undefined;
5912
+ currentRevision?: string | null | undefined;
5916
5913
  })[];
5917
5914
  }, {
5918
- readonly mode: 'value';
5919
- readonly value: {
5920
- identities: {
5921
- id: string;
5922
- iss: string;
5923
- sub: string;
5924
- }[];
5925
- };
5915
+ readonly mode: 'binary';
5926
5916
  }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
5927
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"register"> & {
5917
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"install"> & {
5928
5918
  readonly origin: "kernel.astrale.ai";
5929
5919
  };
5930
- readonly key: "kernel.astrale.ai:function.register";
5920
+ readonly key: "kernel.astrale.ai:function.install";
5931
5921
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
5932
5922
  operation: string;
5933
5923
  domains: string[];
@@ -5974,14 +5964,30 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5974
5964
  };
5975
5965
  readonly key: "kernel.astrale.ai:function.uninstall";
5976
5966
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5977
- audience?: string | undefined;
5978
- ttlSeconds: number;
5979
- grant?: unknown;
5967
+ iss: string;
5968
+ sub: string;
5980
5969
  }, {
5981
5970
  readonly mode: 'value';
5982
- readonly value: string;
5983
- }, true, "default", "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
5984
- readonly name: "mint";
5971
+ readonly value: {
5972
+ id: string;
5973
+ iss: string;
5974
+ sub: string;
5975
+ frozen: boolean;
5976
+ requiredClaims: ({
5977
+ claim: string;
5978
+ op: "contains";
5979
+ value: unknown;
5980
+ } | {
5981
+ claim: string;
5982
+ op: "eq";
5983
+ value: unknown;
5984
+ } | {
5985
+ claim: string;
5986
+ op: "exists";
5987
+ })[];
5988
+ } | null;
5989
+ }, true, "default", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
5990
+ readonly name: "whois";
5985
5991
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5986
5992
  target: string;
5987
5993
  }, {
@@ -6016,31 +6022,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
6016
6022
  };
6017
6023
  }, true, "sealed", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.View.method.resolve"> & {
6018
6024
  readonly name: "resolve";
6019
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
6020
- iss: string;
6021
- sub: string;
6022
- }, {
6023
- readonly mode: 'value';
6024
- readonly value: {
6025
- id: string;
6026
- iss: string;
6027
- sub: string;
6028
- frozen: boolean;
6029
- requiredClaims: ({
6030
- claim: string;
6031
- op: "contains";
6032
- value: unknown;
6033
- } | {
6034
- claim: string;
6035
- op: "eq";
6036
- value: unknown;
6037
- } | {
6038
- claim: string;
6039
- op: "exists";
6040
- })[];
6041
- } | null;
6042
- }, true, "default", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
6043
- readonly name: "whois";
6044
6025
  }))[];
6045
6026
  export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';
6046
6027
  export type { AuthorityOperation, AuthorityRelation } from '../authority/index.js';