@arcforge/err 2.0.165 → 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 +2 -2
- package/src/map.ts +11 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/err",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.166",
|
|
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.
|
|
18
|
+
"@arcforge/types": "2.0.166"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest",
|
package/src/map.ts
CHANGED
|
@@ -716,7 +716,7 @@ export const errorMap = {
|
|
|
716
716
|
severity: "fatal",
|
|
717
717
|
},
|
|
718
718
|
DEPLOY_ENV_RESERVED: {
|
|
719
|
-
code: "AX-PROJECT-
|
|
719
|
+
code: "AX-PROJECT-043",
|
|
720
720
|
title: "Reserved Deployment Variable",
|
|
721
721
|
description: "The production .env file attempts to override a variable owned by the Axon runtime or Cloud Run.",
|
|
722
722
|
source: "manifest",
|
|
@@ -1460,14 +1460,14 @@ export const errorMap = {
|
|
|
1460
1460
|
severity: "fatal",
|
|
1461
1461
|
},
|
|
1462
1462
|
CAPSULE_DOWN: {
|
|
1463
|
-
code: "AX-CAPSULE-
|
|
1463
|
+
code: "AX-CAPSULE-023",
|
|
1464
1464
|
title: "No Live Capsule",
|
|
1465
1465
|
description: "An operation needed a running sandbox subprocess, but none is live — it is booting, restarting after a crash, or has been declared dead.",
|
|
1466
1466
|
source: "capsule",
|
|
1467
1467
|
severity: "fatal",
|
|
1468
1468
|
},
|
|
1469
1469
|
CAPSULE_ALREADY_BOOTED: {
|
|
1470
|
-
code: "AX-CAPSULE-
|
|
1470
|
+
code: "AX-CAPSULE-024",
|
|
1471
1471
|
title: "Capsule Already Booted",
|
|
1472
1472
|
description: "boot() was called on a capsule that already has a live subprocess. Boot is once per lifetime; use update()/reload() to replace a running incarnation.",
|
|
1473
1473
|
source: "capsule",
|
|
@@ -1757,7 +1757,7 @@ export const errorMap = {
|
|
|
1757
1757
|
severity: "fatal",
|
|
1758
1758
|
},
|
|
1759
1759
|
ATTACH_UNREACHABLE: {
|
|
1760
|
-
code: "AX-TUI-
|
|
1760
|
+
code: "AX-TUI-052",
|
|
1761
1761
|
title: "Agent Not Reachable",
|
|
1762
1762
|
description: "Nothing answered at that address. The agent may not be running, may be on a different port, or may be behind something that refused the connection. `axon dev` prints the address it bound to.",
|
|
1763
1763
|
source: "tui",
|
|
@@ -2001,7 +2001,7 @@ export const errorMap = {
|
|
|
2001
2001
|
severity: "fatal",
|
|
2002
2002
|
},
|
|
2003
2003
|
PROMPT_NOT_INSTALLABLE: {
|
|
2004
|
-
code: "AX-PROJECT-
|
|
2004
|
+
code: "AX-PROJECT-044",
|
|
2005
2005
|
title: "Prompts Are Not Installed Into Agents",
|
|
2006
2006
|
description: "A prompt is content, not a capability: it resolves from the global cache and renders on demand, so every agent can already use it without declaring anything. Installing one into an agent would put content through the code path — an ABI check, a node_modules link, an agent reload — for something that needs none of it.",
|
|
2007
2007
|
source: "manifest",
|
|
@@ -2009,7 +2009,7 @@ export const errorMap = {
|
|
|
2009
2009
|
},
|
|
2010
2010
|
// ── README assets (build/project/bundle/assets.ts) ──────────────────────
|
|
2011
2011
|
ASSET_TYPE_REFUSED: {
|
|
2012
|
-
code: "AX-PROJECT-
|
|
2012
|
+
code: "AX-PROJECT-045",
|
|
2013
2013
|
title: "Unsupported Asset Type",
|
|
2014
2014
|
description: "A file in assets/ is not a type the registry serves. Images (png, jpg, jpeg, webp, gif) and video (mp4, webm, mov) are accepted. SVG is deliberately refused: it is an executable document that would be served from our own storage origin, so a published SVG is a script-injection surface for every visitor reading that README.",
|
|
2015
2015
|
source: "manifest",
|
|
@@ -2017,7 +2017,7 @@ export const errorMap = {
|
|
|
2017
2017
|
expected: true,
|
|
2018
2018
|
},
|
|
2019
2019
|
ASSET_TOO_LARGE: {
|
|
2020
|
-
code: "AX-PROJECT-
|
|
2020
|
+
code: "AX-PROJECT-046",
|
|
2021
2021
|
title: "Asset Exceeds Size Limit",
|
|
2022
2022
|
description: "A single file in assets/ is over the per-asset limit. Assets exist to illustrate a README, not to distribute media — compress the file or link to it externally.",
|
|
2023
2023
|
source: "manifest",
|
|
@@ -2378,10 +2378,9 @@ export const errorMap = {
|
|
|
2378
2378
|
DAEMON_NOT_RUNNING: {
|
|
2379
2379
|
code: "AX-DAEMON-001",
|
|
2380
2380
|
title: "The Axon Daemon Is Not Running",
|
|
2381
|
-
description: "Something asked axond for machine-wide state — what is loaded on the GPU, which agents are running — and no daemon is listening. Start it with `axon daemon up`.
|
|
2381
|
+
description: "Something asked axond for machine-wide state — what is loaded on the GPU, which agents are running — and no daemon is listening. Start it with `axon daemon up`. Every agent is supervised by the daemon, so this is not a degraded mode: nothing that boots an agent can proceed without one.",
|
|
2382
2382
|
source: "daemon",
|
|
2383
|
-
severity: "
|
|
2384
|
-
expected: true,
|
|
2383
|
+
severity: "fatal",
|
|
2385
2384
|
},
|
|
2386
2385
|
DAEMON_ALREADY_RUNNING: {
|
|
2387
2386
|
code: "AX-DAEMON-002",
|
|
@@ -2401,7 +2400,7 @@ export const errorMap = {
|
|
|
2401
2400
|
DAEMON_START_FAILED: {
|
|
2402
2401
|
code: "AX-DAEMON-004",
|
|
2403
2402
|
title: "The Daemon Failed to Start",
|
|
2404
|
-
description: "axond was spawned but never reported itself ready. Its output is in the daemon log named by the detail; the usual causes are a port or socket conflict and a broken profile config.",
|
|
2403
|
+
description: "axond was spawned but never reported itself ready. Every agent runs under the daemon's supervision, so a machine without one cannot boot an agent at all — this fails loudly rather than falling back, because a silent fallback is how a broken daemon went unnoticed in a published release. Its output is in the daemon log named by the detail; the usual causes are a port or socket conflict and a broken profile config.",
|
|
2405
2404
|
source: "daemon",
|
|
2406
2405
|
severity: "fatal",
|
|
2407
2406
|
},
|
|
@@ -2597,7 +2596,7 @@ export const errorMap = {
|
|
|
2597
2596
|
expected: true,
|
|
2598
2597
|
},
|
|
2599
2598
|
CONNECT_REJECTED: {
|
|
2600
|
-
code: "AX-EXT-
|
|
2599
|
+
code: "AX-EXT-035",
|
|
2601
2600
|
title: "Connector Credential Rejected",
|
|
2602
2601
|
description: "The platform refused the credential pasted during `:connect`. Verification runs before the value is written, so nothing was stored — the detail carries the platform's own reason, and the most common cause is copying the wrong secret from the developer portal.",
|
|
2603
2602
|
source: "tui",
|