@astrale-os/kernel-core 0.9.0-beta.63 → 0.9.0-beta.65
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.
- package/dist/auth/authority/admission/admission.d.ts +2 -2
- package/dist/auth/authority/admission/admission.js +10 -8
- package/dist/auth/authority/admission/index.d.ts +1 -1
- package/dist/auth/authority/admission/index.js +1 -1
- package/dist/auth/authority/index.d.ts +7 -3
- package/dist/auth/authority/index.js +4 -2
- package/dist/auth/authority/language/index.d.ts +2 -0
- package/dist/auth/authority/language/index.js +1 -0
- package/dist/auth/authority/language/predicate.d.ts +10 -5
- package/dist/auth/authority/language/predicate.js +1 -1
- package/dist/auth/authority/language/program.d.ts +21 -0
- package/dist/auth/authority/language/program.js +2 -0
- package/dist/auth/authority/normalization/index.d.ts +1 -1
- package/dist/auth/authority/normalization/index.js +1 -1
- package/dist/auth/authority/normalization/normalize.d.ts +1 -1
- package/dist/auth/authority/normalization/normalize.js +4 -5
- package/dist/auth/authority/ownership.optimization.js +2 -2
- package/dist/auth/authority/prepare-binder-body.d.ts +4 -0
- package/dist/auth/authority/prepare-binder-body.js +31 -0
- package/dist/auth/authority/program.d.ts +28 -0
- package/dist/auth/authority/program.js +191 -0
- package/dist/auth/authority/semantics/class-authority.d.ts +8 -0
- package/dist/auth/authority/semantics/class-authority.js +26 -0
- package/dist/auth/authority/semantics/composition.d.ts +39 -0
- package/dist/auth/authority/semantics/composition.js +112 -0
- package/dist/auth/authority/semantics/failure.d.ts +21 -0
- package/dist/auth/authority/semantics/failure.js +10 -0
- package/dist/auth/authority/semantics/index.d.ts +11 -0
- package/dist/auth/authority/semantics/index.js +5 -0
- package/dist/auth/authority/semantics/interpret.d.ts +35 -0
- package/dist/auth/authority/semantics/interpret.js +215 -0
- package/dist/auth/authority/semantics/snapshot.d.ts +34 -0
- package/dist/auth/authority/semantics/terms.d.ts +20 -0
- package/dist/auth/authority/semantics/terms.js +96 -0
- package/dist/auth/authority/semantics/vocabulary.d.ts +19 -0
- package/dist/auth/authority/semantics/vocabulary.js +1 -0
- package/dist/auth/context/context.d.ts +4 -3
- package/dist/auth/expression/authoring/builder.d.ts +2 -11
- package/dist/auth/expression/authoring/builder.js +1 -45
- package/dist/auth/expression/authoring/index.d.ts +1 -1
- package/dist/auth/expression/authoring/index.js +1 -1
- package/dist/auth/expression/index.d.ts +1 -2
- package/dist/auth/expression/index.js +1 -2
- package/dist/auth/expression/language/identity-expression.d.ts +2 -22
- package/dist/auth/grant/index.d.ts +1 -1
- package/dist/auth/grant/index.js +1 -1
- package/dist/auth/grant/resolved/admission.d.ts +4 -3
- package/dist/auth/grant/resolved/admission.js +23 -13
- package/dist/auth/grant/resolved/grant.d.ts +1 -1
- package/dist/auth/grant/resolved/index.d.ts +1 -1
- package/dist/auth/grant/resolved/index.js +1 -1
- package/dist/auth/grant/unresolved/admission.d.ts +4 -1
- package/dist/auth/grant/unresolved/admission.js +27 -67
- package/dist/auth/grant/unresolved/limits.d.ts +2 -4
- package/dist/auth/grant/unresolved/limits.js +1 -5
- package/dist/auth/index.d.ts +1 -1
- package/dist/graph/graph/graph.d.ts +1 -5
- package/dist/graph/graph/graph.js +3 -27
- package/dist/graph/graph/index.d.ts +1 -3
- package/dist/graph/graph/index.js +1 -2
- package/dist/graph/query/index.d.ts +2 -0
- package/dist/graph/query/index.js +1 -0
- package/dist/graph/query/order/index.d.ts +46 -0
- package/dist/graph/query/order/index.js +59 -0
- package/dist/graph/query/reference/evaluate.js +24 -50
- package/dist/graph/reconcile/planning/canonical.d.ts +6 -0
- package/dist/graph/reconcile/planning/canonical.js +28 -0
- package/dist/graph/reconcile/planning/model.d.ts +4 -0
- package/dist/graph/reconcile/planning/plan.js +2 -1
- package/dist/schema/authority/vocabulary.d.ts +3 -0
- package/dist/schema/authority/vocabulary.js +25 -0
- package/dist/schema/callables/function.d.ts +120 -90
- package/dist/schema/domain/domain.d.ts +120 -90
- package/dist/schema/identity/composition.d.ts +5 -0
- package/dist/schema/identity/composition.js +5 -0
- package/dist/schema/identity/identity.d.ts +8 -6
- package/dist/schema/index.d.ts +1 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/kernel/schema.d.ts +337 -276
- package/dist/schema/kernel/syscalls/contracts/delegate.d.ts +4 -1
- package/dist/schema/kernel/syscalls/contracts/delegate.js +4 -3
- package/dist/schema/kernel/syscalls/contracts/impersonate.d.ts +0 -1
- package/dist/schema/kernel/syscalls/contracts/legacy/delegate.d.ts +5 -0
- package/dist/schema/kernel/syscalls/contracts/legacy/delegate.js +25 -0
- package/dist/schema/kernel/syscalls/contracts/mint.d.ts +0 -1
- package/dist/schema/kernel/syscalls/contracts/mint.js +1 -2
- package/dist/schema/kernel/syscalls/declarations/delegate.d.ts +4 -1
- package/dist/schema/kernel/syscalls/declarations/impersonate.d.ts +0 -1
- package/dist/schema/kernel/syscalls/declarations/index.d.ts +35 -34
- package/dist/schema/kernel/syscalls/declarations/install.d.ts +8 -8
- package/dist/schema/kernel/syscalls/declarations/mint.d.ts +0 -1
- package/dist/schema/kernel/syscalls/declarations/mutate.d.ts +23 -23
- package/dist/schema/kernel/syscalls/descriptors/identity.d.ts +4 -3
- package/package.json +2 -2
- package/dist/auth/authority/prepare-grant-body.d.ts +0 -4
- package/dist/auth/authority/prepare-grant-body.js +0 -27
- package/dist/auth/expression/normalization/canonicalize.d.ts +0 -7
- package/dist/auth/expression/normalization/canonicalize.js +0 -102
- package/dist/auth/expression/normalization/index.d.ts +0 -2
- package/dist/auth/expression/normalization/index.js +0 -2
- package/dist/auth/expression/normalization/raise-denials.d.ts +0 -3
- package/dist/auth/expression/normalization/raise-denials.js +0 -59
- package/dist/graph/graph/navigation/error.d.ts +0 -12
- package/dist/graph/graph/navigation/error.js +0 -20
- package/dist/graph/graph/navigation/index.d.ts +0 -2
- package/dist/graph/graph/navigation/index.js +0 -1
- package/dist/graph/graph/navigation/model.d.ts +0 -15
- package/dist/schema/kernel/projection/path.d.ts +0 -2
- package/dist/schema/kernel/projection/path.js +0 -113
- /package/dist/{graph/graph/navigation/model.js → auth/authority/semantics/snapshot.js} +0 -0
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { type builder } from '@astrale-os/kernel-dsl/v1';
|
|
2
|
+
/**
|
|
3
|
+
* One Identity-composition Edge Class. Each is `noSelf` and `acyclic` on its own; no constraint spans
|
|
4
|
+
* the three Classes, so stored data may hold a cycle that crosses them. Core authority decides every
|
|
5
|
+
* binder whose closure reaches such a cycle false, and no other (AUTH-AUTHORITY-DENOTATION).
|
|
6
|
+
*/
|
|
2
7
|
export declare function identityComposition(role: 'constraint' | 'excluded' | 'extension', description: string): builder.EdgeClass;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { edgeClass } from '@astrale-os/kernel-dsl/v1';
|
|
2
2
|
import { Edge } from '../meta/index.js';
|
|
3
3
|
import { Identity } from './identity.js';
|
|
4
|
+
/**
|
|
5
|
+
* One Identity-composition Edge Class. Each is `noSelf` and `acyclic` on its own; no constraint spans
|
|
6
|
+
* the three Classes, so stored data may hold a cycle that crosses them. Core authority decides every
|
|
7
|
+
* binder whose closure reaches such a cycle false, and no other (AUTH-AUTHORITY-DENOTATION).
|
|
8
|
+
*/
|
|
4
9
|
export function identityComposition(role, description) {
|
|
5
10
|
return edgeClass.directed({
|
|
6
11
|
abstract: false,
|
|
@@ -41,7 +41,10 @@ export declare const Identity: builder.NodeClass<{
|
|
|
41
41
|
principal: string;
|
|
42
42
|
audience: string;
|
|
43
43
|
ttlSeconds: number;
|
|
44
|
-
attenuation?:
|
|
44
|
+
attenuation?: {
|
|
45
|
+
kind: "identity";
|
|
46
|
+
self: true;
|
|
47
|
+
} | undefined;
|
|
45
48
|
}, {
|
|
46
49
|
readonly mode: 'value';
|
|
47
50
|
readonly value: string;
|
|
@@ -112,7 +115,6 @@ export declare const Identity: builder.NodeClass<{
|
|
|
112
115
|
mint: builder.Method<builder.CallableProjection<{
|
|
113
116
|
audience?: string | undefined;
|
|
114
117
|
ttlSeconds: number;
|
|
115
|
-
grant?: unknown;
|
|
116
118
|
}, {
|
|
117
119
|
readonly mode: 'value';
|
|
118
120
|
readonly value: string;
|
|
@@ -120,7 +122,6 @@ export declare const Identity: builder.NodeClass<{
|
|
|
120
122
|
impersonate: builder.Method<builder.CallableProjection<{
|
|
121
123
|
audience?: string | undefined;
|
|
122
124
|
ttlSeconds: number;
|
|
123
|
-
grant?: unknown;
|
|
124
125
|
identity: string;
|
|
125
126
|
}, {
|
|
126
127
|
readonly mode: 'value';
|
|
@@ -177,7 +178,10 @@ export declare const Identity: builder.NodeClass<{
|
|
|
177
178
|
principal: string;
|
|
178
179
|
audience: string;
|
|
179
180
|
ttlSeconds: number;
|
|
180
|
-
attenuation?:
|
|
181
|
+
attenuation?: {
|
|
182
|
+
kind: "identity";
|
|
183
|
+
self: true;
|
|
184
|
+
} | undefined;
|
|
181
185
|
}, {
|
|
182
186
|
readonly mode: 'value';
|
|
183
187
|
readonly value: string;
|
|
@@ -207,14 +211,12 @@ export declare const Identity: builder.NodeClass<{
|
|
|
207
211
|
}, "authorized", true, false, undefined>>, "whois", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
208
212
|
audience?: string | undefined;
|
|
209
213
|
ttlSeconds: number;
|
|
210
|
-
grant?: unknown;
|
|
211
214
|
}, {
|
|
212
215
|
readonly mode: 'value';
|
|
213
216
|
readonly value: string;
|
|
214
217
|
}, "authenticated", true, false, undefined>>, "mint", "self"> | builder.AuthoredMethodProjection<builder.Method<builder.CallableProjection<{
|
|
215
218
|
audience?: string | undefined;
|
|
216
219
|
ttlSeconds: number;
|
|
217
|
-
grant?: unknown;
|
|
218
220
|
identity: string;
|
|
219
221
|
}, {
|
|
220
222
|
readonly mode: 'value';
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export * as graph from './kernel/projection/index.js';
|
|
|
5
5
|
export * as introspection from './introspection/index.js';
|
|
6
6
|
export * as installation from './installation/index.js';
|
|
7
7
|
export { OperationCore } from './core/index.js';
|
|
8
|
+
export { authorityVocabulary } from './authority/vocabulary.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -4,3 +4,4 @@ export * as graph from './kernel/projection/index.js';
|
|
|
4
4
|
export * as introspection from './introspection/index.js';
|
|
5
5
|
export * as installation from './installation/index.js';
|
|
6
6
|
export { OperationCore } from './core/index.js';
|
|
7
|
+
export { authorityVocabulary } from './authority/vocabulary.js';
|