@astrale-os/sdk 0.5.0-beta.126 → 0.5.0-beta.128
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.5.0-beta.128](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.127...sdk-v0.5.0-beta.128) (2026-09-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Performance Improvements
|
|
7
|
+
|
|
8
|
+
* compact inferred schemas through canonical Kernel references ([#463](https://github.com/astrale-os/sdk/issues/463)) ([1ecfc2f](https://github.com/astrale-os/sdk/commit/1ecfc2f94f82518a310829b5468c5c511c69b814))
|
|
9
|
+
|
|
10
|
+
## [0.5.0-beta.127](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.126...sdk-v0.5.0-beta.127) (2026-09-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **adapter-cloudflare:** use public subrequest routing by default ([#459](https://github.com/astrale-os/sdk/issues/459)) ([9965fc8](https://github.com/astrale-os/sdk/commit/9965fc842c1c9f6d19490f7bb211d05f12ea82a8))
|
|
16
|
+
|
|
3
17
|
## [0.5.0-beta.126](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.125...sdk-v0.5.0-beta.126) (2026-09-07)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/** Canonical Schema authoring, compilation, loading, and resolved Domain surface. */
|
|
2
2
|
export * from '@astrale-os/kernel-dsl/v1';
|
|
3
3
|
export { defineSchema } from './schema-authoring.js';
|
|
4
4
|
export type { AuthoredSchema, AuthoredDomain } from './schema-authoring.js';
|
|
@@ -13,16 +13,10 @@ export { classIcon } from './class-icon.js';
|
|
|
13
13
|
export type { ClassIcon } from './class-icon.js';
|
|
14
14
|
export type { CallablePolicyBuilder, CallablePolicyContext, CallableProjection, AuthoredMethodProjection, AuthoredPropertyProjection, ClassIdentityProjection, ClassOwnerProjection, CoreEdge, CoreEndpoint, CoreNode, DefinedSchema, DirectedEdgeClass, ClassReferenceProjection, ClassProjection, FunctionProjection, EdgeClass, Function, Method, MethodProjection, Lazy, NodeClass, Policy, PolicyExistsContext, PolicyNodeBinder, PolicyPatternContext, Property, PropertyProjection, ResolvedDomainOfInput, View, } from '@astrale-os/kernel-dsl/v1/builder';
|
|
15
15
|
export type { Array, Object, Value } from '@astrale-os/kernel-dsl/value';
|
|
16
|
-
export type { ClassKind, DirectedEdgeContract, EdgeClassPolicies, NodeClassDefinition, PolicyCheckObject, PolicyObjectRef, PropertyFacet, UndirectedEdgeContract, } from '@astrale-os/kernel-dsl/v1/language';
|
|
16
|
+
export type { ClassKind, DirectedEdgeContract, EdgeClassPolicies, NodeClassDefinition, PolicyCheckObject, PolicyObjectRef, PropertyFacet, StateTopology, UndirectedEdgeContract, } from '@astrale-os/kernel-dsl/v1/language';
|
|
17
17
|
export type { DomainSchema } from '@astrale-os/kernel-dsl/v1/schema';
|
|
18
18
|
/** Kernel-owned Schema values used by authored product Schemas and graph operations. */
|
|
19
|
-
export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations,
|
|
20
|
-
export type { AuthorityOperation, AuthorityRelation
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
* different DSL instance below Kernel Core; acceptance context is intentionally process-local.
|
|
24
|
-
* The SDK-owned interface also gives downstream declaration emit a portable public type name.
|
|
25
|
-
*/
|
|
26
|
-
export interface KernelSchema extends CoreKernelSchema {
|
|
27
|
-
}
|
|
28
|
-
export declare const KernelSchema: KernelSchema;
|
|
19
|
+
export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations, KernelRootFunctions, OperationCore, operationOf, } from '@astrale-os/kernel-core/schema';
|
|
20
|
+
export type { AuthorityOperation, AuthorityRelation } from '@astrale-os/kernel-core/schema';
|
|
21
|
+
export { K, KernelSchema } from './kernel.js';
|
|
22
|
+
export type { Kernel, KernelClass, KernelDomain } from './kernel.js';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { KernelSchema as CoreKernelSchema } from '@astrale-os/kernel-core/schema';
|
|
2
1
|
/** Canonical Schema authoring, compilation, loading, and resolved Domain surface. */
|
|
3
|
-
import { schema as language } from '@astrale-os/kernel-dsl/v1';
|
|
4
2
|
export * from '@astrale-os/kernel-dsl/v1';
|
|
5
3
|
export { defineSchema } from './schema-authoring.js';
|
|
6
4
|
export { stateProperty } from './state-property.js';
|
|
@@ -9,5 +7,5 @@ export { defineClass, nodeClass } from './class-authoring.js';
|
|
|
9
7
|
export { error } from './error.js';
|
|
10
8
|
export { classIcon } from './class-icon.js';
|
|
11
9
|
/** Kernel-owned Schema values used by authored product Schemas and graph operations. */
|
|
12
|
-
export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations,
|
|
13
|
-
export
|
|
10
|
+
export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations, KernelRootFunctions, OperationCore, operationOf, } from '@astrale-os/kernel-core/schema';
|
|
11
|
+
export { K, KernelSchema } from './kernel.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ResolvedClass } from '@astrale-os/kernel-dsl/v1';
|
|
2
|
+
import type { DefinedSchema } from '@astrale-os/kernel-dsl/v1/builder';
|
|
3
|
+
import { KernelSchema as CoreKernelSchema } from '@astrale-os/kernel-core/schema';
|
|
4
|
+
import { schema } from '@astrale-os/kernel-dsl/v1';
|
|
5
|
+
type KernelClasses = schema.DomainOf<CoreKernelSchema>['classes'];
|
|
6
|
+
/** A Kernel Class retains its canonical name instead of copying its resolved collections. */
|
|
7
|
+
export interface KernelClass<Name extends keyof KernelClasses> extends Pick<KernelClasses[Name], keyof ResolvedClass> {
|
|
8
|
+
readonly key: `${CoreKernelSchema['origin']}:class.${Name}`;
|
|
9
|
+
}
|
|
10
|
+
/** The canonical Kernel Domain with reusable Class references. */
|
|
11
|
+
export interface KernelDomain extends schema.DomainOf<CoreKernelSchema> {
|
|
12
|
+
readonly classes: {
|
|
13
|
+
readonly [Name in keyof KernelClasses]: KernelClass<Name>;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/** SDK-owned portable name for the Kernel Schema's exact contract. */
|
|
17
|
+
export interface KernelSchema extends DefinedSchema<CoreKernelSchema['origin'], KernelDomain> {
|
|
18
|
+
}
|
|
19
|
+
export declare const KernelSchema: KernelSchema;
|
|
20
|
+
export declare const K: schema.ResolvedDomainOf<KernelSchema>;
|
|
21
|
+
export type Kernel = typeof K;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { K as CoreKernel, KernelSchema as CoreKernelSchema } from '@astrale-os/kernel-core/schema';
|
|
2
|
+
import { schema } from '@astrale-os/kernel-dsl/v1';
|
|
3
|
+
// Admission belongs to the SDK's DSL instance, even when Core uses a different package instance.
|
|
4
|
+
export const KernelSchema = schema.accept(CoreKernelSchema);
|
|
5
|
+
export const K = CoreKernel;
|