@arcforge/err 2.0.160 → 2.0.162

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 +2 -2
  2. package/src/map.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/err",
3
- "version": "2.0.160",
3
+ "version": "2.0.162",
4
4
  "description": "Structured Axon errors — the code map every user-facing failure is rendered from.",
5
5
  "type": "module",
6
6
  "private": false,
@@ -15,7 +15,7 @@
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/types": "2.0.160"
18
+ "@arcforge/types": "2.0.162"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "latest",
package/src/map.ts CHANGED
@@ -328,6 +328,13 @@ export const errorMap = {
328
328
  source: "cognet",
329
329
  severity: "fatal",
330
330
  },
331
+ COGNET_LOAD_FAILED: {
332
+ code: "AX-COGNET-016",
333
+ title: "Cognet Failed To Load",
334
+ description: "The cognet's own main() threw while running at load(). The brain never finished booting, so the agent has nothing to think with. The cause below is the error the cognet's code raised — it comes from the brain's source, not from Axon.",
335
+ source: "cognet",
336
+ severity: "fatal",
337
+ },
331
338
  COGNET_MAX_TICKS: {
332
339
  code: "AX-COGNET-005",
333
340
  title: "Cognet Exceeded Max Ticks",