@arcforge/err 2.0.169 → 2.0.170

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 +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/err",
3
- "version": "2.0.169",
3
+ "version": "2.0.170",
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.169"
18
+ "@arcforge/types": "2.0.170"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "latest",
package/src/map.ts CHANGED
@@ -2422,6 +2422,15 @@ export const errorMap = {
2422
2422
  source: "daemon",
2423
2423
  severity: "fatal",
2424
2424
  },
2425
+ DAEMON_STALE: {
2426
+ code: "AX-DAEMON-006",
2427
+ title: "The Running Daemon Is From an Older Build",
2428
+ description: "`axon update` replaces the CLI and does not touch the supervisor, so a daemon started before the update keeps running the old code — dispatching verbs it has never heard of, or worse, answering with old behaviour. It is normally replaced automatically on the next command; this is reported instead when the daemon is supervising live agents, because a restart ends them and that is not a decision to make on someone's behalf.",
2429
+ source: "daemon",
2430
+ severity: "fatal",
2431
+ expected: true,
2432
+ },
2433
+
2425
2434
  DAEMON_NOT_WIRED: {
2426
2435
  code: "AX-DAEMON-005",
2427
2436
  title: "That Part of the Daemon Is Not Built Yet",