@astrale-os/sdk 0.5.0-beta.128 → 0.5.0-beta.129

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.0-beta.129](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.128...sdk-v0.5.0-beta.129) (2026-09-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * **schema:** expose portable nodeId value authoring ([#466](https://github.com/astrale-os/sdk/issues/466)) ([68d3e76](https://github.com/astrale-os/sdk/commit/68d3e76b74067224be81dc2381df2f4bb13b28e9))
9
+
3
10
  ## [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
11
 
5
12
 
@@ -20,3 +20,4 @@ export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations, Kerne
20
20
  export type { AuthorityOperation, AuthorityRelation } from '@astrale-os/kernel-core/schema';
21
21
  export { K, KernelSchema } from './kernel.js';
22
22
  export type { Kernel, KernelClass, KernelDomain } from './kernel.js';
23
+ export { nodeId } from './node-id.js';
@@ -9,3 +9,4 @@ export { classIcon } from './class-icon.js';
9
9
  /** Kernel-owned Schema values used by authored product Schemas and graph operations. */
10
10
  export { AuthorityOperationOrder, AuthorityOperations, AuthorityRelations, KernelRootFunctions, OperationCore, operationOf, } from '@astrale-os/kernel-core/schema';
11
11
  export { K, KernelSchema } from './kernel.js';
12
+ export { nodeId } from './node-id.js';
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ /** Bare Kernel node identity. Does not assert existence, Class, or authority. */
3
+ export declare function nodeId(): z.ZodString;
@@ -0,0 +1,6 @@
1
+ import { fullMatch } from '@astrale-os/kernel-dsl/v1';
2
+ import { z } from 'zod';
3
+ /** Bare Kernel node identity. Does not assert existence, Class, or authority. */
4
+ export function nodeId() {
5
+ return z.string().min(1).max(255).check(fullMatch('[A-Za-z0-9._-]+'));
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/sdk",
3
- "version": "0.5.0-beta.128",
3
+ "version": "0.5.0-beta.129",
4
4
  "description": "Schema-first SDK for defining, composing, and deploying Astrale domains",
5
5
  "keywords": [
6
6
  "astrale",