@arcforge/kernel 2.0.164 → 2.0.166
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/package.json +8 -8
- package/src/capsule.ts +2 -2
- package/src/contracts.ts +1 -1
- package/src/kernel.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/kernel",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.166",
|
|
4
4
|
"description": "The Axon kernel — ring 0. Owns resources and execution, enforces policy, and is the only constructor of the unprivileged capsule.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"deploy": "echo \"This package is published ONLY by apps/tui/scripts/release.ts, which pins workspace:* deps to concrete versions first. Publishing it directly ships an unresolvable dependency.\" && exit 1"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@arcforge/air": "2.0.
|
|
19
|
-
"@arcforge/engines": "2.0.
|
|
20
|
-
"@arcforge/err": "2.0.
|
|
21
|
-
"@arcforge/session": "2.0.
|
|
22
|
-
"@arcforge/types": "2.0.
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
18
|
+
"@arcforge/air": "2.0.166",
|
|
19
|
+
"@arcforge/engines": "2.0.166",
|
|
20
|
+
"@arcforge/err": "2.0.166",
|
|
21
|
+
"@arcforge/session": "2.0.166",
|
|
22
|
+
"@arcforge/types": "2.0.166",
|
|
23
|
+
"@arcforge/cloud": "2.0.166",
|
|
24
|
+
"@arcforge/capsule": "2.0.166"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/bun": "latest",
|
package/src/capsule.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Capsule, CapsuleT } from "@
|
|
2
|
-
import type { CapsulePartialConfig, CapsuleTool } from "@
|
|
1
|
+
import { Capsule, CapsuleT } from "@arcforge/capsule"
|
|
2
|
+
import type { CapsulePartialConfig, CapsuleTool } from "@arcforge/capsule"
|
|
3
3
|
import { err } from "@arcforge/err"
|
|
4
4
|
import { CAPSULE_TRANSIENT_EVENTS, Policy } from "@arcforge/types"
|
|
5
5
|
import type { AxonBlueprint, AxonEventMap } from "@arcforge/types"
|
package/src/contracts.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { EngineRequirements, AxonBlueprint, CognetSchedule, CognetWake, Ker
|
|
|
5
5
|
* not imported.
|
|
6
6
|
*
|
|
7
7
|
* The kernel is constructed by a composition root it must never depend on:
|
|
8
|
-
* @
|
|
8
|
+
* @arcforge/core builds the bus and loads the cognet artifact, then hands both in.
|
|
9
9
|
* Importing their implementation types would invert the rings and make a
|
|
10
10
|
* published kernel depend on a private package.
|
|
11
11
|
*
|
package/src/kernel.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { err } from "@arcforge/err"
|
|
2
2
|
import type { AxonBlueprint, AxonDriver, AxonEngineCall, AxonEngineDriver, CapsulePolicy, ResolvedCapsulePolicy, AxonEngineEvent, AxonEntry, AxonEntryEvent, AxonEventMap, AxonRunResult, CapsuleCommandOrigin, EngineSession, KernelAbi, TransformOptions } from "@arcforge/types"
|
|
3
3
|
import { EMPTY_CAPSULE_SCOPE } from "@arcforge/types"
|
|
4
|
-
import type { AxonCloudClient } from "@
|
|
4
|
+
import type { AxonCloudClient } from "@arcforge/cloud"
|
|
5
5
|
import type { KernelBus } from "./contracts"
|
|
6
6
|
import { Engine } from "./engine"
|
|
7
7
|
import { asEngineFault } from "@arcforge/engines"
|
|
@@ -990,7 +990,7 @@ export async function Kernel(opts: KernelOpts) {
|
|
|
990
990
|
* Policy + audit for in-process tools.
|
|
991
991
|
*
|
|
992
992
|
* On the public surface because the tool loader is above ring 0: it
|
|
993
|
-
* lives in @
|
|
993
|
+
* lives in @arcforge/core, which composes the runtime, while the policy it
|
|
994
994
|
* enforces and the log it writes to are the kernel's. Handing the pair
|
|
995
995
|
* out is narrower than handing out either the policy or the session.
|
|
996
996
|
*/
|