@arcforge/platform 2.0.213 → 2.0.215

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/platform",
3
- "version": "2.0.213",
3
+ "version": "2.0.215",
4
4
  "description": "The Axon developer platform — headless project discovery, blueprint scanning, typegen, agent lifecycle, registry, benches and tests. Shared by the CLI/TUI and the Fleet extension.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -44,20 +44,20 @@
44
44
  "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"
45
45
  },
46
46
  "dependencies": {
47
- "@arcforge/session": "2.0.213",
48
- "@arcforge/engines": "2.0.213",
49
- "@arcforge/err": "2.0.213",
50
- "@arcforge/types": "2.0.213",
51
- "@arcforge/cloud": "2.0.213",
52
- "@arcforge/capsule": "2.0.213",
53
- "@arcforge/core": "2.0.213",
54
- "@arcforge/vstr": "2.0.213",
47
+ "@arcforge/session": "2.0.215",
48
+ "@arcforge/engines": "2.0.215",
49
+ "@arcforge/err": "2.0.215",
50
+ "@arcforge/types": "2.0.215",
51
+ "@arcforge/cloud": "2.0.215",
52
+ "@arcforge/capsule": "2.0.215",
53
+ "@arcforge/core": "2.0.215",
54
+ "@arcforge/vstr": "2.0.215",
55
55
  "fft.js": "^4.0.4",
56
56
  "h3": "^1.15.11",
57
57
  "semver": "^7.7.4",
58
58
  "sharp": "^0.35.3",
59
59
  "typescript": "5.9.2",
60
- "@arcforge/link": "2.0.213"
60
+ "@arcforge/link": "2.0.215"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@arcforge/air": "2.0.208",
@@ -5,7 +5,7 @@ import type { EngineType } from "@arcforge/types"
5
5
 
6
6
  /**
7
7
  * The ambient authoring surface for cognet source — what the compile step's
8
- * host installs at runtime (defineCognet, loop, kernel, phase, system), typed
8
+ * host installs at runtime (defineCognet, loop, kernel, phase, system, ecs), typed
9
9
  * here for the editor. Written into the owning project's `types/` area by
10
10
  * `axon prepare`: a standalone cognet's own frame, or the AGENT's frame when
11
11
  * the brain is inline at `<agent>/cognet/`.
@@ -23,6 +23,7 @@ import type {
23
23
  KernelAbi,
24
24
  EngineType,
25
25
  } from "@arcforge/types"
26
+ import type { EcsT } from "@arcforge/cognet/ecs"
26
27
 
27
28
  declare global {
28
29
  /** what this brain declares (mode, wakeOn, engines) — cognet.config.ts only.
@@ -66,6 +67,20 @@ __COGNET_ENGINE_ROLES__
66
67
 
67
68
  /** a unit of work within a phase — timed for the flame graph */
68
69
  function system<T>(name: string, fn: () => Promise<T>): Promise<T>
70
+
71
+ /**
72
+ * The world — entities, components, and queries over both.
73
+ *
74
+ * The brain's short-term memory: it lives as long as the cognet does, not
75
+ * as long as a wake, so a decaying drive or a remembered place survives
76
+ * from one tick to the next. Every write commits to the session log with
77
+ * its value, which is what makes the world reconstructible afterwards.
78
+ *
79
+ * Built on first touch — a cognet that never reaches for it carries no
80
+ * entity store. Declare a component's shape once with \`ecs.declare()\` so
81
+ * readers can render it honestly.
82
+ */
83
+ const ecs: EcsT
69
84
  }
70
85
 
71
86
  export {}