@astrale-os/kernel-core 0.9.0-beta.57 → 0.9.0-beta.59

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.
@@ -8944,16 +8944,24 @@ export declare const AuthorityRelations: Readonly<{
8944
8944
  };
8945
8945
  }>;
8946
8946
  /** Exact authorized Kernel Functions for which pristine Root receives direct can_use authority. */
8947
- export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
8948
- node: string;
8949
- property: string;
8950
- }, {
8951
- readonly mode: 'binary';
8947
+ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-dsl/v1").ResolvedFunction<import("@astrale-os/kernel-dsl/v1").BinaryInputProjection<{
8948
+ mediaType: string;
8949
+ }>, {
8950
+ readonly mode: 'value';
8951
+ readonly value: {
8952
+ receipt: string;
8953
+ ref: {
8954
+ digest: string;
8955
+ mediaType: string;
8956
+ size: number;
8957
+ };
8958
+ expiresAt: string;
8959
+ };
8952
8960
  }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
8953
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"download"> & {
8961
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"upload"> & {
8954
8962
  readonly origin: "kernel.astrale.ai";
8955
8963
  };
8956
- readonly key: "kernel.astrale.ai:function.download";
8964
+ readonly key: "kernel.astrale.ai:function.upload";
8957
8965
  readonly execution: undefined;
8958
8966
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
8959
8967
  operation: string;
@@ -8981,39 +8989,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
8981
8989
  };
8982
8990
  readonly key: "kernel.astrale.ai:function.install";
8983
8991
  readonly execution: undefined;
8984
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
8985
- invocation?: {
8986
- source: string;
8987
- id: string;
8988
- } | undefined;
8989
- topics?: {
8990
- exact?: string[] | undefined;
8991
- prefixes?: string[] | undefined;
8992
- } | undefined;
8993
- principal?: string | undefined;
8994
- since?: string | undefined;
8995
- until?: string | undefined;
8996
- cursor?: string | undefined;
8997
- limit?: number | undefined;
8998
- }, {
8999
- readonly mode: 'value';
9000
- readonly value: {
9001
- records: unknown[];
9002
- frontier: {
9003
- id: string;
9004
- first?: number | undefined;
9005
- committed: number;
9006
- durable: number;
9007
- };
9008
- cursor?: string | undefined;
9009
- gap?: unknown;
9010
- };
9011
- }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
9012
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"journal"> & {
9013
- readonly origin: "kernel.astrale.ai";
9014
- };
9015
- readonly key: "kernel.astrale.ai:function.journal";
9016
- readonly execution: undefined;
9017
8992
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
9018
8993
  ast: {
9019
8994
  format: "astrale.graph.mutation";
@@ -9472,6 +9447,17 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
9472
9447
  };
9473
9448
  readonly key: "kernel.astrale.ai:function.query";
9474
9449
  readonly execution: undefined;
9450
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
9451
+ node: string;
9452
+ property: string;
9453
+ }, {
9454
+ readonly mode: 'binary';
9455
+ }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
9456
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"download"> & {
9457
+ readonly origin: "kernel.astrale.ai";
9458
+ };
9459
+ readonly key: "kernel.astrale.ai:function.download";
9460
+ readonly execution: undefined;
9475
9461
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
9476
9462
  idempotencyKey: string;
9477
9463
  identities: ({
@@ -9545,24 +9531,38 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
9545
9531
  };
9546
9532
  readonly key: "kernel.astrale.ai:function.uninstall";
9547
9533
  readonly execution: undefined;
9548
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<import("@astrale-os/kernel-dsl/v1").BinaryInputProjection<{
9549
- mediaType: string;
9550
- }>, {
9534
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedFunction<{
9535
+ invocation?: {
9536
+ source: string;
9537
+ id: string;
9538
+ } | undefined;
9539
+ topics?: {
9540
+ exact?: string[] | undefined;
9541
+ prefixes?: string[] | undefined;
9542
+ } | undefined;
9543
+ principal?: string | undefined;
9544
+ since?: string | undefined;
9545
+ until?: string | undefined;
9546
+ cursor?: string | undefined;
9547
+ limit?: number | undefined;
9548
+ }, {
9551
9549
  readonly mode: 'value';
9552
9550
  readonly value: {
9553
- receipt: string;
9554
- ref: {
9555
- digest: string;
9556
- mediaType: string;
9557
- size: number;
9551
+ records: unknown[];
9552
+ frontier: {
9553
+ id: string;
9554
+ first?: number | undefined;
9555
+ committed: number;
9556
+ durable: number;
9558
9557
  };
9559
- expiresAt: string;
9558
+ cursor?: string | undefined;
9559
+ gap?: unknown;
9560
9560
  };
9561
9561
  }, "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>> & {
9562
- readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"upload"> & {
9562
+ readonly ref: import("@astrale-os/kernel-dsl/v1").FunctionRef<"journal"> & {
9563
9563
  readonly origin: "kernel.astrale.ai";
9564
9564
  };
9565
- readonly key: "kernel.astrale.ai:function.upload";
9565
+ readonly key: "kernel.astrale.ai:function.journal";
9566
9566
  readonly execution: undefined;
9567
9567
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
9568
9568
  iss: string;
@@ -1,7 +1,6 @@
1
1
  export type { FunctionRef, SyscallRef } from './reference.js';
2
2
  export { download, install, introspect, journal, mutate, register, query, uninstall, upload, } from './functions.js';
3
3
  export * as execution from './execution.js';
4
- export * as meaning from './meaning.js';
5
4
  export * as identity from './identity.js';
6
5
  export * as function from './function.js';
7
6
  export * as view from './view.js';
@@ -1,6 +1,5 @@
1
1
  export { download, install, introspect, journal, mutate, register, query, uninstall, upload, } from './functions.js';
2
2
  export * as execution from './execution.js';
3
- export * as meaning from './meaning.js';
4
3
  export * as identity from './identity.js';
5
4
  export * as function from './function.js';
6
5
  export * as view from './view.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/kernel-core",
3
- "version": "0.9.0-beta.57",
3
+ "version": "0.9.0-beta.59",
4
4
  "description": "Astrale Kernel Core - Types, Invariants, and Pure Logic",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -160,7 +160,7 @@
160
160
  "access": "public"
161
161
  },
162
162
  "dependencies": {
163
- "@astrale-os/kernel-dsl": "0.2.0-beta.41",
163
+ "@astrale-os/kernel-dsl": "0.2.0-beta.43",
164
164
  "@noble/hashes": "2.3.0",
165
165
  "@types/json-schema": "^7.0.15",
166
166
  "dequal": "2.0.3"
@@ -1,13 +0,0 @@
1
- import type { Revision } from '@astrale-os/kernel-dsl/v1/addressing';
2
- import type { MeaningFingerprint } from '@astrale-os/kernel-dsl/v1/schema/fingerprint';
3
- /** KernelSchema revision the meanings below were derived from; informational in a reference. */
4
- export declare const revision: Revision;
5
- export declare const upload: MeaningFingerprint;
6
- export declare const execution: Readonly<{
7
- readonly status: 'sha256:f27fc05c41769f2dc0f22d493f7c6df6705bbc4c59bcfd37e170be81322b5b36';
8
- readonly result: 'sha256:8d98b414867f1e00f8e8d1f55c8706ef82896e4a7d3f7c73ed654a07efed0fc5';
9
- readonly cancel: 'sha256:00aec242890fca332562ce4219ef0838a86ee50c9b04f3a4763796e052a165df';
10
- readonly signal: 'sha256:5204077974e6fa0fc1ffcfcda0ee7b5b6d5e4ffc65d6a5f612e0d6a47ac25a57';
11
- readonly resume: 'sha256:f95e92c31196f19d3da477a597ef3d127ca6a4844d233ec64fa561b3fef59152';
12
- readonly delete: 'sha256:6d456fe74fb4ec90e7416ec80e441a64acb9a9643acadcd4a7b2cbf9e0b5144a';
13
- }>;
@@ -1,16 +0,0 @@
1
- /*
2
- * Meanings of the Kernel callables that runtime code invokes through typed references. They derive
3
- * from the resolved KernelSchema, which runtime code must not load, so they are written here and a
4
- * Core test keeps each one equal to the value derived from `K`.
5
- */
6
- /** KernelSchema revision the meanings below were derived from; informational in a reference. */
7
- export const revision = 'sha256:955054dfd39c99d6cf547be9156f5b0481904b546969cbfedc336ad179220425';
8
- export const upload = 'sha256:62012efb5c033f8e59fc76faff836bf102237291ccd97966bc22390e7a6dffcc';
9
- export const execution = Object.freeze({
10
- status: 'sha256:f27fc05c41769f2dc0f22d493f7c6df6705bbc4c59bcfd37e170be81322b5b36',
11
- result: 'sha256:8d98b414867f1e00f8e8d1f55c8706ef82896e4a7d3f7c73ed654a07efed0fc5',
12
- cancel: 'sha256:00aec242890fca332562ce4219ef0838a86ee50c9b04f3a4763796e052a165df',
13
- signal: 'sha256:5204077974e6fa0fc1ffcfcda0ee7b5b6d5e4ffc65d6a5f612e0d6a47ac25a57',
14
- resume: 'sha256:f95e92c31196f19d3da477a597ef3d127ca6a4844d233ec64fa561b3fef59152',
15
- delete: 'sha256:6d456fe74fb4ec90e7416ec80e441a64acb9a9643acadcd4a7b2cbf9e0b5144a',
16
- });