@arcforge/cognet 2.0.99 → 2.0.101

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/air/index.ts +8 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcforge/cognet",
3
- "version": "2.0.99",
4
- "description": "The Axon cognet runtime — the host, the world clock, the entity-component world, and the AIR grammar. Everything that runs inside a compiled brain.",
3
+ "version": "2.0.101",
4
+ "description": "A cognitive engine",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "main": "./src/index.ts",
@@ -18,8 +18,8 @@
18
18
  "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"
19
19
  },
20
20
  "dependencies": {
21
- "@arcforge/err": "2.0.99",
22
- "@arcforge/types": "2.0.99",
21
+ "@arcforge/err": "2.0.101",
22
+ "@arcforge/types": "2.0.101",
23
23
  "hookable": "^5.5.3"
24
24
  },
25
25
  "devDependencies": {
package/src/air/index.ts CHANGED
@@ -7,6 +7,14 @@
7
7
  // callers pass what they hold, never AIR internals.
8
8
 
9
9
  export { Air, type AirT, type AirParserT } from "./air"
10
+
11
+ /**
12
+ * The <scope> block renderer, exported because the CLI's typegen must render
13
+ * the SAME scope the model is shown — if the .d.ts and the <scope> block ever
14
+ * disagreed, the editor would describe capabilities the model does not have.
15
+ * One renderer, two consumers, no second implementation to drift.
16
+ */
17
+ export { renderScope } from "./render/blocks"
10
18
  export type { AirOpts } from "./grammar"
11
19
  export type {
12
20
  AirBlockEvent,