@astrale-os/sdk 0.5.0-beta.122 → 0.5.0-beta.123

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,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.0-beta.123](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.122...sdk-v0.5.0-beta.123) (2026-09-07)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **invocation:** carry complete targets through exact admission ([#424](https://github.com/astrale-os/sdk/issues/424))
9
+
10
+ ### Features
11
+
12
+ * **invocation:** carry complete targets through exact admission ([#424](https://github.com/astrale-os/sdk/issues/424)) ([6df4d80](https://github.com/astrale-os/sdk/commit/6df4d804743941d0b9abdf05f11381f4e0f9dfe4))
13
+
3
14
  ## [0.5.0-beta.122](https://github.com/astrale-os/sdk/compare/sdk-v0.5.0-beta.121...sdk-v0.5.0-beta.122) (2026-09-07)
4
15
 
5
16
 
@@ -16,7 +16,7 @@ type MethodValues<Class> = Class extends {
16
16
  };
17
17
  };
18
18
  } ? Values<Instance> | Values<Static> : never;
19
- type Executable<Callable> = Callable extends ResolvedMethod<unknown, unknown, boolean, infer Inheritance> ? Inheritance extends 'abstract' ? never : Callable : Callable;
19
+ type Executable<Callable> = Callable extends ResolvedMethod<unknown, unknown, boolean, infer Abstract> ? Abstract extends true ? never : Callable : Callable;
20
20
  /** Every root-owned callable implementation contract, independent of Function or Method topology. */
21
21
  export type LocalCallable<DomainValue extends Domain> = Extract<Values<DomainValue['functions']>, ResolvedCallable> | Extract<Executable<MethodValues<Values<DomainValue['classes']>>>, ResolvedCallable>;
22
22
  export type ActionAddressOf<Callable> = Callable extends {
@@ -12,11 +12,11 @@ export function runtimeCallables(domain) {
12
12
  if (selected.kind !== 'node')
13
13
  continue;
14
14
  for (const callable of selected.self.methods) {
15
- if (callable.inheritance !== 'abstract')
15
+ if (!callable.abstract)
16
16
  append(callable);
17
17
  }
18
18
  for (const callable of selected.self.static.methods) {
19
- if (callable.inheritance !== 'abstract')
19
+ if (!callable.abstract)
20
20
  append(callable);
21
21
  }
22
22
  }
@@ -22,8 +22,7 @@ export function bindDependencies(domain, caller) {
22
22
  const callable = dependency.callable(selected.key);
23
23
  if (callable !== selected || Key.origin(callable.key) !== dependency.origin)
24
24
  invalid();
25
- if ('owner' in callable &&
26
- (callable.inheritance === 'abstract' || !ownMethod(dependency, callable)))
25
+ if ('owner' in callable && (callable.abstract || !ownMethod(dependency, callable)))
27
26
  invalid();
28
27
  if ('owner' in callable && !callable.static) {
29
28
  if (args.length < 2 || args.length > 3 || typeof args[0] !== 'string')
@@ -1,10 +1,8 @@
1
1
  import type { Graph } from '../../platform/graph/document/index.js';
2
2
  import type { Node } from '../../platform/graph/node/index.js';
3
- import type { PolicyObjectRef, schema } from '../../platform/schema/index.js';
3
+ import type { ClassRef, CoreRef, FunctionRef, PolicyRef, ViewRef, schema } from '../../platform/schema/index.js';
4
4
  import type { DatasetReferences } from './dataset.js';
5
- type DatasetProjectionRef = Exclude<PolicyObjectRef, {
6
- readonly kind: 'method';
7
- }>;
5
+ type DatasetProjectionRef = ClassRef | FunctionRef | PolicyRef | ViewRef | CoreRef;
8
6
  export type DatasetReferenceInput = DatasetProjectionRef | {
9
7
  readonly ref: DatasetProjectionRef;
10
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/sdk",
3
- "version": "0.5.0-beta.122",
3
+ "version": "0.5.0-beta.123",
4
4
  "description": "Schema-first SDK for defining, composing, and deploying Astrale domains",
5
5
  "keywords": [
6
6
  "astrale",
@@ -233,11 +233,11 @@
233
233
  "registry": "https://registry.npmjs.org/"
234
234
  },
235
235
  "dependencies": {
236
- "@astrale-os/kernel-client": "0.6.0-beta.56",
237
- "@astrale-os/kernel-core": "0.9.0-beta.43",
238
- "@astrale-os/kernel-dsl": "0.2.0-beta.31",
239
- "@astrale-os/kernel-protocol": "0.5.0-beta.47",
240
- "@astrale-os/kernel-server": "0.5.0-beta.49",
236
+ "@astrale-os/kernel-client": "0.6.0-beta.57",
237
+ "@astrale-os/kernel-core": "0.9.0-beta.44",
238
+ "@astrale-os/kernel-dsl": "0.2.0-beta.32",
239
+ "@astrale-os/kernel-protocol": "0.5.0-beta.48",
240
+ "@astrale-os/kernel-server": "0.5.0-beta.50",
241
241
  "@lucide/icons": "1.34.0",
242
242
  "@typescript/native-preview": "7.0.0-dev.20260707.2",
243
243
  "hono": "^4.13.2",