@astrale-os/kernel-core 0.9.0-beta.40 → 0.9.0-beta.41

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.
@@ -4967,6 +4967,7 @@ declare const KernelDefinitions: {
4967
4967
  origin: string;
4968
4968
  revision: string;
4969
4969
  }[] | undefined;
4970
+ idempotencyKey?: string | undefined;
4970
4971
  }, {
4971
4972
  readonly mode: 'value';
4972
4973
  readonly value: {
@@ -5663,6 +5664,7 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5663
5664
  origin: string;
5664
5665
  revision: string;
5665
5666
  }[] | undefined;
5667
+ idempotencyKey?: string | undefined;
5666
5668
  }, {
5667
5669
  readonly mode: 'value';
5668
5670
  readonly value: {
@@ -5980,31 +5982,6 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
5980
5982
  readonly value: string;
5981
5983
  }, true, "default", "authenticated", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.mint"> & {
5982
5984
  readonly name: "mint";
5983
- }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
5984
- iss: string;
5985
- sub: string;
5986
- }, {
5987
- readonly mode: 'value';
5988
- readonly value: {
5989
- id: string;
5990
- iss: string;
5991
- sub: string;
5992
- frozen: boolean;
5993
- requiredClaims: ({
5994
- claim: string;
5995
- op: "contains";
5996
- value: unknown;
5997
- } | {
5998
- claim: string;
5999
- op: "eq";
6000
- value: unknown;
6001
- } | {
6002
- claim: string;
6003
- op: "exists";
6004
- })[];
6005
- } | null;
6006
- }, true, "default", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
6007
- readonly name: "whois";
6008
5985
  }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
6009
5986
  target: string;
6010
5987
  }, {
@@ -6039,6 +6016,31 @@ export declare const KernelRootFunctions: readonly ((import("@astrale-os/kernel-
6039
6016
  };
6040
6017
  }, true, "sealed", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.View.method.resolve"> & {
6041
6018
  readonly name: "resolve";
6019
+ }) | (import("@astrale-os/kernel-dsl/v1").ResolvedMethod<{
6020
+ iss: string;
6021
+ sub: string;
6022
+ }, {
6023
+ readonly mode: 'value';
6024
+ readonly value: {
6025
+ id: string;
6026
+ iss: string;
6027
+ sub: string;
6028
+ frozen: boolean;
6029
+ requiredClaims: ({
6030
+ claim: string;
6031
+ op: "contains";
6032
+ value: unknown;
6033
+ } | {
6034
+ claim: string;
6035
+ op: "eq";
6036
+ value: unknown;
6037
+ } | {
6038
+ claim: string;
6039
+ op: "exists";
6040
+ })[];
6041
+ } | null;
6042
+ }, true, "default", "authorized", import("@astrale-os/kernel-dsl/v1").PolicyCheckExpression<import("@astrale-os/kernel-dsl/v1").PolicyRef, import("@astrale-os/kernel-dsl/v1/language").PolicyCheckObject>, "kernel.astrale.ai:class.Identity.method.whois"> & {
6043
+ readonly name: "whois";
6042
6044
  }))[];
6043
6045
  export { AuthorityOperationOrder, AuthorityOperations, operationOf } from '../authority/index.js';
6044
6046
  export type { AuthorityOperation, AuthorityRelation } from '../authority/index.js';
@@ -251,6 +251,7 @@ export declare const mutateInput: import("zod").ZodObject<{
251
251
  origin: import("zod").ZodString;
252
252
  revision: import("zod").ZodString;
253
253
  }, import("zod/v4/core").$strict>>>;
254
+ idempotencyKey: import("zod").ZodOptional<import("zod").ZodString>;
254
255
  }, import("zod/v4/core").$strict>;
255
256
  export declare const mutateOutput: import("zod").ZodObject<{
256
257
  createdNodes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
@@ -1,8 +1,9 @@
1
- import { strictObject } from 'zod';
1
+ import { strictObject, string } from 'zod';
2
2
  import { mutationAstSchema, mutationResultSchema } from '#graph/mutate/wire';
3
3
  import { domainExpectations } from './expected.js';
4
4
  export const mutateInput = strictObject({
5
5
  ast: mutationAstSchema,
6
6
  expected: domainExpectations.optional(),
7
+ idempotencyKey: string().min(1).max(256).optional(),
7
8
  });
8
9
  export const mutateOutput = mutationResultSchema;
@@ -442,6 +442,7 @@ export declare const Functions: Readonly<{
442
442
  origin: string;
443
443
  revision: string;
444
444
  }[] | undefined;
445
+ idempotencyKey?: string | undefined;
445
446
  }, {
446
447
  readonly mode: 'value';
447
448
  readonly value: {
@@ -218,6 +218,7 @@ export declare const Mutate: builder.Function<builder.CallableProjection<{
218
218
  origin: string;
219
219
  revision: string;
220
220
  }[] | undefined;
221
+ idempotencyKey?: string | undefined;
221
222
  }, {
222
223
  readonly mode: 'value';
223
224
  readonly value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/kernel-core",
3
- "version": "0.9.0-beta.40",
3
+ "version": "0.9.0-beta.41",
4
4
  "description": "Astrale Kernel Core - Types, Invariants, and Pure Logic",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {