@astrale-os/kernel-core 0.9.0-beta.65 → 0.9.0-beta.66

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 (93) hide show
  1. package/dist/auth/authority/admission/admission.d.ts +0 -1
  2. package/dist/auth/authority/admission/admission.js +8 -141
  3. package/dist/auth/authority/admission/references.d.ts +13 -0
  4. package/dist/auth/authority/admission/references.js +38 -0
  5. package/dist/auth/authority/admission/term.d.ts +6 -0
  6. package/dist/auth/authority/admission/term.js +60 -0
  7. package/dist/auth/authority/admission/wire.d.ts +8 -0
  8. package/dist/auth/authority/admission/wire.js +33 -0
  9. package/dist/graph/graph/index.d.ts +1 -1
  10. package/dist/graph/graph/index.js +1 -1
  11. package/dist/graph/graph/model/codec.js +3 -3
  12. package/dist/graph/graph/model/index.d.ts +1 -1
  13. package/dist/graph/graph/model/index.js +1 -1
  14. package/dist/graph/graph/model/model.d.ts +7 -7
  15. package/dist/graph/graph/model/model.js +6 -6
  16. package/dist/graph/graph/model/wire.d.ts +0 -20
  17. package/dist/graph/graph/model/wire.js +2 -2
  18. package/dist/graph/mutate/authoring/builder.d.ts +2 -2
  19. package/dist/graph/mutate/authoring/builder.js +2 -2
  20. package/dist/graph/mutate/index.d.ts +1 -1
  21. package/dist/graph/mutate/language/codec.js +3 -3
  22. package/dist/graph/mutate/language/model.d.ts +4 -4
  23. package/dist/graph/mutate/result/index.d.ts +3 -3
  24. package/dist/graph/mutate/result/index.js +5 -5
  25. package/dist/graph/node/identity/id.d.ts +0 -3
  26. package/dist/graph/node/identity/id.js +0 -4
  27. package/dist/graph/query/language/codec.js +3 -3
  28. package/dist/graph/query/language/model.d.ts +3 -3
  29. package/dist/graph/reconcile/condition/model.d.ts +2 -2
  30. package/dist/graph/reconcile/condition/references.d.ts +0 -1
  31. package/dist/graph/reconcile/condition/references.js +4 -4
  32. package/dist/graph/reconcile/correspondence.d.ts +9 -8
  33. package/dist/graph/reconcile/evidence.d.ts +2 -2
  34. package/dist/graph/reconcile/mutation/assess.d.ts +2 -1
  35. package/dist/graph/reconcile/observation.d.ts +4 -3
  36. package/dist/graph/reconcile/planning/context.d.ts +3 -3
  37. package/dist/graph/reconcile/planning/model.d.ts +4 -4
  38. package/dist/schema/callables/{view-for.d.ts → entrypoint.d.ts} +7 -5
  39. package/dist/schema/callables/entrypoint.js +12 -0
  40. package/dist/schema/callables/function.d.ts +0 -120
  41. package/dist/schema/callables/index.d.ts +1 -1
  42. package/dist/schema/callables/index.js +1 -1
  43. package/dist/schema/callables/view.d.ts +2 -24
  44. package/dist/schema/domain/domain.d.ts +2 -121
  45. package/dist/schema/domain/domain.js +3 -0
  46. package/dist/schema/identity/identity.d.ts +0 -8
  47. package/dist/schema/kernel/projection/core.d.ts +7 -0
  48. package/dist/schema/kernel/projection/core.js +51 -0
  49. package/dist/schema/kernel/projection/definitions.d.ts +13 -0
  50. package/dist/schema/kernel/projection/definitions.js +71 -0
  51. package/dist/schema/kernel/projection/methods.d.ts +5 -0
  52. package/dist/schema/kernel/projection/methods.js +41 -0
  53. package/dist/schema/kernel/projection/part.d.ts +34 -0
  54. package/dist/schema/kernel/projection/part.js +42 -0
  55. package/dist/schema/kernel/projection/paths.d.ts +6 -0
  56. package/dist/schema/kernel/projection/{keys.js → paths.js} +11 -12
  57. package/dist/schema/kernel/projection/project.d.ts +1 -1
  58. package/dist/schema/kernel/projection/project.js +16 -290
  59. package/dist/schema/kernel/projection/properties.d.ts +11 -0
  60. package/dist/schema/kernel/projection/properties.js +36 -0
  61. package/dist/schema/kernel/projection/relations.d.ts +7 -0
  62. package/dist/schema/kernel/projection/relations.js +49 -0
  63. package/dist/schema/kernel/projection/types.d.ts +4 -4
  64. package/dist/schema/kernel/schema.d.ts +74 -357
  65. package/dist/schema/kernel/schema.js +3 -2
  66. package/dist/schema/kernel/syscalls/contracts/blob.d.ts +12 -2
  67. package/dist/schema/kernel/syscalls/contracts/blob.js +10 -2
  68. package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +0 -4
  69. package/dist/schema/kernel/syscalls/contracts/delegate.js +0 -3
  70. package/dist/schema/kernel/syscalls/contracts/index.d.ts +1 -1
  71. package/dist/schema/kernel/syscalls/contracts/index.js +1 -1
  72. package/dist/schema/kernel/syscalls/contracts/install.d.ts +3 -20
  73. package/dist/schema/kernel/syscalls/contracts/install.js +0 -2
  74. package/dist/schema/kernel/syscalls/contracts/installation.d.ts +0 -36
  75. package/dist/schema/kernel/syscalls/contracts/installation.js +3 -3
  76. package/dist/schema/kernel/syscalls/contracts/view-resolve.d.ts +3 -14
  77. package/dist/schema/kernel/syscalls/contracts/view-resolve.js +3 -18
  78. package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +0 -4
  79. package/dist/schema/kernel/syscalls/declarations/download.d.ts +5 -0
  80. package/dist/schema/kernel/syscalls/declarations/index.d.ts +6 -24
  81. package/dist/schema/kernel/syscalls/declarations/install.d.ts +0 -8
  82. package/dist/schema/kernel/syscalls/declarations/view-resolve.d.ts +1 -12
  83. package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +0 -4
  84. package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.d.ts +2 -13
  85. package/dist/schema/kernel/syscalls/descriptors/results/view-resolution.js +4 -119
  86. package/dist/schema/kernel/syscalls/descriptors/view.d.ts +1 -12
  87. package/package.json +2 -2
  88. package/dist/schema/callables/view-for.js +0 -12
  89. package/dist/schema/kernel/projection/keys.d.ts +0 -3
  90. package/dist/schema/kernel/syscalls/contracts/legacy/delegate.d.ts +0 -5
  91. package/dist/schema/kernel/syscalls/contracts/legacy/delegate.js +0 -25
  92. package/dist/schema/kernel/syscalls/contracts/legacy/install.d.ts +0 -22
  93. package/dist/schema/kernel/syscalls/contracts/legacy/install.js +0 -31
@@ -52,10 +52,6 @@ export declare const Function: builder.NodeClass<{
52
52
  principal: string;
53
53
  audience: string;
54
54
  ttlSeconds: number;
55
- attenuation?: {
56
- kind: "identity";
57
- self: true;
58
- } | undefined;
59
55
  }, {
60
56
  readonly mode: 'value';
61
57
  readonly value: string;
@@ -197,10 +193,6 @@ export declare const Function: builder.NodeClass<{
197
193
  principal: string;
198
194
  audience: string;
199
195
  ttlSeconds: number;
200
- attenuation?: {
201
- kind: "identity";
202
- self: true;
203
- } | undefined;
204
196
  }, {
205
197
  readonly mode: 'value';
206
198
  readonly value: string;
@@ -330,10 +322,6 @@ export declare const Function: builder.NodeClass<{
330
322
  principal: string;
331
323
  audience: string;
332
324
  ttlSeconds: number;
333
- attenuation?: {
334
- kind: "identity";
335
- self: true;
336
- } | undefined;
337
325
  }, {
338
326
  readonly mode: 'value';
339
327
  readonly value: string;
@@ -426,10 +414,6 @@ export declare const Function: builder.NodeClass<{
426
414
  principal: string;
427
415
  audience: string;
428
416
  ttlSeconds: number;
429
- attenuation?: {
430
- kind: "identity";
431
- self: true;
432
- } | undefined;
433
417
  }, {
434
418
  readonly mode: 'value';
435
419
  readonly value: string;
@@ -559,10 +543,6 @@ export declare const Function: builder.NodeClass<{
559
543
  principal: string;
560
544
  audience: string;
561
545
  ttlSeconds: number;
562
- attenuation?: {
563
- kind: "identity";
564
- self: true;
565
- } | undefined;
566
546
  }, {
567
547
  readonly mode: 'value';
568
548
  readonly value: string;
@@ -655,10 +635,6 @@ export declare const Function: builder.NodeClass<{
655
635
  principal: string;
656
636
  audience: string;
657
637
  ttlSeconds: number;
658
- attenuation?: {
659
- kind: "identity";
660
- self: true;
661
- } | undefined;
662
638
  }, {
663
639
  readonly mode: 'value';
664
640
  readonly value: string;
@@ -788,10 +764,6 @@ export declare const Function: builder.NodeClass<{
788
764
  principal: string;
789
765
  audience: string;
790
766
  ttlSeconds: number;
791
- attenuation?: {
792
- kind: "identity";
793
- self: true;
794
- } | undefined;
795
767
  }, {
796
768
  readonly mode: 'value';
797
769
  readonly value: string;
@@ -884,10 +856,6 @@ export declare const Function: builder.NodeClass<{
884
856
  principal: string;
885
857
  audience: string;
886
858
  ttlSeconds: number;
887
- attenuation?: {
888
- kind: "identity";
889
- self: true;
890
- } | undefined;
891
859
  }, {
892
860
  readonly mode: 'value';
893
861
  readonly value: string;
@@ -1017,10 +985,6 @@ export declare const Function: builder.NodeClass<{
1017
985
  principal: string;
1018
986
  audience: string;
1019
987
  ttlSeconds: number;
1020
- attenuation?: {
1021
- kind: "identity";
1022
- self: true;
1023
- } | undefined;
1024
988
  }, {
1025
989
  readonly mode: 'value';
1026
990
  readonly value: string;
@@ -1133,10 +1097,6 @@ export declare const Function: builder.NodeClass<{
1133
1097
  principal: string;
1134
1098
  audience: string;
1135
1099
  ttlSeconds: number;
1136
- attenuation?: {
1137
- kind: "identity";
1138
- self: true;
1139
- } | undefined;
1140
1100
  }, {
1141
1101
  readonly mode: 'value';
1142
1102
  readonly value: string;
@@ -1266,10 +1226,6 @@ export declare const Function: builder.NodeClass<{
1266
1226
  principal: string;
1267
1227
  audience: string;
1268
1228
  ttlSeconds: number;
1269
- attenuation?: {
1270
- kind: "identity";
1271
- self: true;
1272
- } | undefined;
1273
1229
  }, {
1274
1230
  readonly mode: 'value';
1275
1231
  readonly value: string;
@@ -1330,10 +1286,6 @@ export declare const Function: builder.NodeClass<{
1330
1286
  principal: string;
1331
1287
  audience: string;
1332
1288
  ttlSeconds: number;
1333
- attenuation?: {
1334
- kind: "identity";
1335
- self: true;
1336
- } | undefined;
1337
1289
  }, {
1338
1290
  readonly mode: 'value';
1339
1291
  readonly value: string;
@@ -1373,10 +1325,6 @@ export declare const Function: builder.NodeClass<{
1373
1325
  principal: string;
1374
1326
  audience: string;
1375
1327
  ttlSeconds: number;
1376
- attenuation?: {
1377
- kind: "identity";
1378
- self: true;
1379
- } | undefined;
1380
1328
  }, {
1381
1329
  readonly mode: 'value';
1382
1330
  readonly value: string;
@@ -1506,10 +1454,6 @@ export declare const Function: builder.NodeClass<{
1506
1454
  principal: string;
1507
1455
  audience: string;
1508
1456
  ttlSeconds: number;
1509
- attenuation?: {
1510
- kind: "identity";
1511
- self: true;
1512
- } | undefined;
1513
1457
  }, {
1514
1458
  readonly mode: 'value';
1515
1459
  readonly value: string;
@@ -1625,10 +1569,6 @@ export declare const Function: builder.NodeClass<{
1625
1569
  principal: string;
1626
1570
  audience: string;
1627
1571
  ttlSeconds: number;
1628
- attenuation?: {
1629
- kind: "identity";
1630
- self: true;
1631
- } | undefined;
1632
1572
  }, {
1633
1573
  readonly mode: 'value';
1634
1574
  readonly value: string;
@@ -1758,10 +1698,6 @@ export declare const Function: builder.NodeClass<{
1758
1698
  principal: string;
1759
1699
  audience: string;
1760
1700
  ttlSeconds: number;
1761
- attenuation?: {
1762
- kind: "identity";
1763
- self: true;
1764
- } | undefined;
1765
1701
  }, {
1766
1702
  readonly mode: 'value';
1767
1703
  readonly value: string;
@@ -1860,10 +1796,6 @@ export declare const Function: builder.NodeClass<{
1860
1796
  principal: string;
1861
1797
  audience: string;
1862
1798
  ttlSeconds: number;
1863
- attenuation?: {
1864
- kind: "identity";
1865
- self: true;
1866
- } | undefined;
1867
1799
  }, {
1868
1800
  readonly mode: 'value';
1869
1801
  readonly value: string;
@@ -1993,10 +1925,6 @@ export declare const Function: builder.NodeClass<{
1993
1925
  principal: string;
1994
1926
  audience: string;
1995
1927
  ttlSeconds: number;
1996
- attenuation?: {
1997
- kind: "identity";
1998
- self: true;
1999
- } | undefined;
2000
1928
  }, {
2001
1929
  readonly mode: 'value';
2002
1930
  readonly value: string;
@@ -2096,10 +2024,6 @@ export declare const Function: builder.NodeClass<{
2096
2024
  principal: string;
2097
2025
  audience: string;
2098
2026
  ttlSeconds: number;
2099
- attenuation?: {
2100
- kind: "identity";
2101
- self: true;
2102
- } | undefined;
2103
2027
  }, {
2104
2028
  readonly mode: 'value';
2105
2029
  readonly value: string;
@@ -2229,10 +2153,6 @@ export declare const Function: builder.NodeClass<{
2229
2153
  principal: string;
2230
2154
  audience: string;
2231
2155
  ttlSeconds: number;
2232
- attenuation?: {
2233
- kind: "identity";
2234
- self: true;
2235
- } | undefined;
2236
2156
  }, {
2237
2157
  readonly mode: 'value';
2238
2158
  readonly value: string;
@@ -2342,10 +2262,6 @@ export declare const Function: builder.NodeClass<{
2342
2262
  principal: string;
2343
2263
  audience: string;
2344
2264
  ttlSeconds: number;
2345
- attenuation?: {
2346
- kind: "identity";
2347
- self: true;
2348
- } | undefined;
2349
2265
  }, {
2350
2266
  readonly mode: 'value';
2351
2267
  readonly value: string;
@@ -2475,10 +2391,6 @@ export declare const Function: builder.NodeClass<{
2475
2391
  principal: string;
2476
2392
  audience: string;
2477
2393
  ttlSeconds: number;
2478
- attenuation?: {
2479
- kind: "identity";
2480
- self: true;
2481
- } | undefined;
2482
2394
  }, {
2483
2395
  readonly mode: 'value';
2484
2396
  readonly value: string;
@@ -2622,10 +2534,6 @@ export declare const Function: builder.NodeClass<{
2622
2534
  principal: string;
2623
2535
  audience: string;
2624
2536
  ttlSeconds: number;
2625
- attenuation?: {
2626
- kind: "identity";
2627
- self: true;
2628
- } | undefined;
2629
2537
  }, {
2630
2538
  readonly mode: 'value';
2631
2539
  readonly value: string;
@@ -2755,10 +2663,6 @@ export declare const Function: builder.NodeClass<{
2755
2663
  principal: string;
2756
2664
  audience: string;
2757
2665
  ttlSeconds: number;
2758
- attenuation?: {
2759
- kind: "identity";
2760
- self: true;
2761
- } | undefined;
2762
2666
  }, {
2763
2667
  readonly mode: 'value';
2764
2668
  readonly value: string;
@@ -2858,10 +2762,6 @@ export declare const Function: builder.NodeClass<{
2858
2762
  principal: string;
2859
2763
  audience: string;
2860
2764
  ttlSeconds: number;
2861
- attenuation?: {
2862
- kind: "identity";
2863
- self: true;
2864
- } | undefined;
2865
2765
  }, {
2866
2766
  readonly mode: 'value';
2867
2767
  readonly value: string;
@@ -2991,10 +2891,6 @@ export declare const Function: builder.NodeClass<{
2991
2891
  principal: string;
2992
2892
  audience: string;
2993
2893
  ttlSeconds: number;
2994
- attenuation?: {
2995
- kind: "identity";
2996
- self: true;
2997
- } | undefined;
2998
2894
  }, {
2999
2895
  readonly mode: 'value';
3000
2896
  readonly value: string;
@@ -3087,10 +2983,6 @@ export declare const Function: builder.NodeClass<{
3087
2983
  principal: string;
3088
2984
  audience: string;
3089
2985
  ttlSeconds: number;
3090
- attenuation?: {
3091
- kind: "identity";
3092
- self: true;
3093
- } | undefined;
3094
2986
  }, {
3095
2987
  readonly mode: 'value';
3096
2988
  readonly value: string;
@@ -3220,10 +3112,6 @@ export declare const Function: builder.NodeClass<{
3220
3112
  principal: string;
3221
3113
  audience: string;
3222
3114
  ttlSeconds: number;
3223
- attenuation?: {
3224
- kind: "identity";
3225
- self: true;
3226
- } | undefined;
3227
3115
  }, {
3228
3116
  readonly mode: 'value';
3229
3117
  readonly value: string;
@@ -3316,10 +3204,6 @@ export declare const Function: builder.NodeClass<{
3316
3204
  principal: string;
3317
3205
  audience: string;
3318
3206
  ttlSeconds: number;
3319
- attenuation?: {
3320
- kind: "identity";
3321
- self: true;
3322
- } | undefined;
3323
3207
  }, {
3324
3208
  readonly mode: 'value';
3325
3209
  readonly value: string;
@@ -3449,10 +3333,6 @@ export declare const Function: builder.NodeClass<{
3449
3333
  principal: string;
3450
3334
  audience: string;
3451
3335
  ttlSeconds: number;
3452
- attenuation?: {
3453
- kind: "identity";
3454
- self: true;
3455
- } | undefined;
3456
3336
  }, {
3457
3337
  readonly mode: 'value';
3458
3338
  readonly value: string;
@@ -1,5 +1,5 @@
1
+ export { Entrypoint } from './entrypoint.js';
1
2
  export { Execution } from './execution.js';
2
3
  export { Function } from './function.js';
3
4
  export { MethodOf } from './method-of.js';
4
5
  export { View } from './view.js';
5
- export { ViewFor } from './view-for.js';
@@ -1,5 +1,5 @@
1
+ export { Entrypoint } from './entrypoint.js';
1
2
  export { Execution } from './execution.js';
2
3
  export { Function } from './function.js';
3
4
  export { MethodOf } from './method-of.js';
4
5
  export { View } from './view.js';
5
- export { ViewFor } from './view-for.js';
@@ -31,21 +31,10 @@ export declare const View: builder.NodeClass<{
31
31
  description?: string | undefined;
32
32
  target: {
33
33
  kind: "domain";
34
- } | {
35
- kind: "definition";
36
- definitions: {
37
- origin: string;
38
- kind: "class";
39
- name: string;
40
- }[];
41
34
  };
42
35
  };
43
36
  href: string;
44
37
  handshake: "none" | "shell";
45
- iframe?: {
46
- sandbox?: string[] | undefined;
47
- allow?: string[] | undefined;
48
- } | undefined;
49
38
  host?: {
50
39
  navigation: {
51
40
  external: {
@@ -54,7 +43,7 @@ export declare const View: builder.NodeClass<{
54
43
  };
55
44
  } | undefined;
56
45
  issuer: string;
57
- etag: string;
46
+ release: string;
58
47
  revision: string;
59
48
  }[];
60
49
  };
@@ -83,21 +72,10 @@ export declare const View: builder.NodeClass<{
83
72
  description?: string | undefined;
84
73
  target: {
85
74
  kind: "domain";
86
- } | {
87
- kind: "definition";
88
- definitions: {
89
- origin: string;
90
- kind: "class";
91
- name: string;
92
- }[];
93
75
  };
94
76
  };
95
77
  href: string;
96
78
  handshake: "none" | "shell";
97
- iframe?: {
98
- sandbox?: string[] | undefined;
99
- allow?: string[] | undefined;
100
- } | undefined;
101
79
  host?: {
102
80
  navigation: {
103
81
  external: {
@@ -106,7 +84,7 @@ export declare const View: builder.NodeClass<{
106
84
  };
107
85
  } | undefined;
108
86
  issuer: string;
109
- etag: string;
87
+ release: string;
110
88
  revision: string;
111
89
  }[];
112
90
  };