@astrale-os/kernel-client 1.0.0-beta.29 → 1.0.0-beta.30
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/dist/auth/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { AuthApi, AdmissionOptions, FunctionAdmission } from './auth.js';
|
|
2
|
+
export type { RequestOptions } from '../transport/index.js';
|
|
2
3
|
export { IDENTITY_CAN_PATH, type PolicyDecisionInput } from './authorization.js';
|
|
3
4
|
export { IDENTITY_MINT_PATH, IDENTITY_IMPERSONATE_PATH, type DelegateOptions, type MintOptions, type ImpersonateOptions, } from './credential.js';
|
|
4
5
|
export { IDENTITY_WHOAMI_PATH, IDENTITY_WHOIS_PATH, type WhoisInput } from './identity.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { NodeId } from '@astrale-os/kernel-core/graph/node';
|
|
2
|
-
import type {
|
|
3
|
-
import type { AttemptReport
|
|
4
|
-
import type {
|
|
2
|
+
import type { OperationId } from '@astrale-os/kernel-core/schema/installation';
|
|
3
|
+
import type { AttemptReport as InstallAttemptReport, DomainRequest, InstallClass, InstallInput, InstallMode, InstallReceipt, SystemExecutionDetail as InstallDetail, UninstallInput, UninstallOutput as UninstallReceipt, ValidationOptions as InstallValidationOptions } from '@astrale-os/kernel-core/schema/kernel/syscalls/contracts';
|
|
4
|
+
import type { InstallResult } from '@astrale-os/kernel-protocol/schema/installation';
|
|
5
5
|
import type { ExecutionOutcome, ExecutionStatus } from '../execution/index.js';
|
|
6
|
-
export type OperationId
|
|
6
|
+
export type { OperationId };
|
|
7
7
|
/** Canonical caller input accepted by the Kernel install syscall. */
|
|
8
|
-
export type DomainRequest
|
|
8
|
+
export type { DomainRequest };
|
|
9
9
|
/**
|
|
10
10
|
* How long an install, an uninstall or a watch of an install waits at most, `waitMs`, in
|
|
11
11
|
* milliseconds: 110 s by default; `0` reads the status once and answers it. The wait is the
|
|
@@ -20,18 +20,18 @@ export interface LifecycleWait {
|
|
|
20
20
|
*/
|
|
21
21
|
export type InstallRequest = InstallInput & LifecycleWait;
|
|
22
22
|
/** Admitted terminal install receipt returned by the Kernel. */
|
|
23
|
-
export type InstallReceipt
|
|
23
|
+
export type { InstallReceipt };
|
|
24
24
|
/** The committed result of an install: its receipt, or the generations it proved unchanged. */
|
|
25
|
-
export type InstallResult
|
|
25
|
+
export type { InstallResult };
|
|
26
26
|
/** What an install does to the stored data: nothing, applied at once, or revalidated first. */
|
|
27
|
-
export type InstallClass
|
|
28
|
-
export type InstallMode
|
|
27
|
+
export type { InstallClass };
|
|
28
|
+
export type { InstallMode };
|
|
29
29
|
/** The validation options of an install, defaults filled in. */
|
|
30
|
-
export type InstallValidationOptions
|
|
30
|
+
export type { InstallValidationOptions };
|
|
31
31
|
/** The last attempt of a repair session that ended without activating, with its report. */
|
|
32
|
-
export type InstallAttemptReport
|
|
32
|
+
export type { InstallAttemptReport };
|
|
33
33
|
/** What an install or session shows beside its engine state, as Core shapes it. */
|
|
34
|
-
export type InstallDetail
|
|
34
|
+
export type { InstallDetail };
|
|
35
35
|
/** A terminal install: its committed result, its rejection, or its cancellation. */
|
|
36
36
|
export type InstallOutcome = ExecutionOutcome<InstallResult>;
|
|
37
37
|
/**
|
|
@@ -62,7 +62,7 @@ export interface Installation {
|
|
|
62
62
|
/** One uninstall: its Kernel input, plus how long the Client waits for its outcome. */
|
|
63
63
|
export type UninstallRequest = UninstallInput & LifecycleWait;
|
|
64
64
|
/** Admitted terminal uninstall receipt returned by the Kernel. */
|
|
65
|
-
export type UninstallReceipt
|
|
65
|
+
export type { UninstallReceipt };
|
|
66
66
|
/** A terminal uninstall: its committed receipt, its rejection, or its cancellation. */
|
|
67
67
|
export type UninstallOutcome = ExecutionOutcome<UninstallReceipt>;
|
|
68
68
|
/** The status of one uninstall. */
|
package/dist/schema/schema.d.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import type { Key } from '@astrale-os/kernel-dsl/v1';
|
|
2
|
-
import type
|
|
2
|
+
import type { DomainBundle, DomainDependencies, DomainInfo, InstalledPin, InstalledRelease, Limits } from '@astrale-os/kernel-protocol/schema/installation/introspection';
|
|
3
3
|
import type { Call, Result } from '../client/index.js';
|
|
4
4
|
import type { RequestOptions } from '../transport/index.js';
|
|
5
5
|
import type { Installation, InstallRequest, Uninstallation, UninstallRequest } from './contracts.js';
|
|
6
6
|
import { type InstallationApi, type UninstallationApi } from './installation.js';
|
|
7
7
|
export type SchemaCall = (call: Call, options?: RequestOptions) => Promise<Result>;
|
|
8
|
-
export interface SchemaOptions extends
|
|
8
|
+
export interface SchemaOptions extends Limits {
|
|
9
9
|
}
|
|
10
|
-
export type DomainInfo
|
|
11
|
-
export type DomainBundle = protocolSchema.installation.introspection.DomainBundle;
|
|
12
|
-
export type DomainDependencies = protocolSchema.installation.introspection.DomainDependencies;
|
|
13
|
-
export type InstalledRelease = protocolSchema.installation.introspection.InstalledRelease;
|
|
14
|
-
export type InstalledPin = protocolSchema.installation.introspection.InstalledPin;
|
|
10
|
+
export type { DomainBundle, DomainDependencies, DomainInfo, InstalledPin, InstalledRelease };
|
|
15
11
|
export interface SchemaApi {
|
|
16
12
|
/**
|
|
17
13
|
* Install Domains: start the durable Execution the install is, wait at most `waitMs` (110 s by
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* (`resolve.ts`), and `SessionSnapshot.views` joins the source Kernel's Release to its root Schema.
|
|
5
5
|
* A client reads a View from its Node instead, as a `View` (`../view.ts`).
|
|
6
6
|
*/
|
|
7
|
-
import type
|
|
7
|
+
import type { ResolvedView } from '@astrale-os/kernel-core/schema/kernel/syscalls/view-resolution';
|
|
8
8
|
import type { bundle } from '@astrale-os/kernel-dsl/v1';
|
|
9
9
|
import type { DomainRelease } from '@astrale-os/kernel-protocol/release';
|
|
10
10
|
import type { SessionPolicy } from '../../context/index.js';
|
|
11
11
|
/** @deprecated One View as View.resolve lists it, with its Release digest; read it as a `View`. */
|
|
12
|
-
export type ResolvedView
|
|
12
|
+
export type { ResolvedView };
|
|
13
13
|
/** @deprecated Immutable canonical-key-ordered inventory of Views; read them with `view`. */
|
|
14
14
|
export interface ViewCatalog {
|
|
15
15
|
readonly entrypoint?: ResolvedView;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrale-os/kernel-client",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.30",
|
|
4
4
|
"description": "Universal Client — protocol-first, transport-agnostic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@astrale-os/kernel-core": "1.0.0-beta.
|
|
69
|
-
"@astrale-os/kernel-dsl": "1.0.0-beta.
|
|
70
|
-
"@astrale-os/kernel-protocol": "1.0.0-beta.
|
|
68
|
+
"@astrale-os/kernel-core": "1.0.0-beta.27",
|
|
69
|
+
"@astrale-os/kernel-dsl": "1.0.0-beta.19",
|
|
70
|
+
"@astrale-os/kernel-protocol": "1.0.0-beta.27",
|
|
71
71
|
"@tanstack/pacer": "0.20.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@astrale-os/kernel-server": "1.0.0-beta.
|
|
74
|
+
"@astrale-os/kernel-server": "1.0.0-beta.27",
|
|
75
75
|
"@astrale/typescript-config": "npm:@jsr/astrale__typescript-config@~1.1.0",
|
|
76
76
|
"@types/node": "^22.0.0",
|
|
77
77
|
"esbuild": "0.28.1",
|