@arcforge/err 2.0.146 → 2.0.147
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 +46 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/err",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.147",
|
|
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.147"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest",
|
package/src/map.ts
CHANGED
|
@@ -133,6 +133,37 @@ export const errorMap = {
|
|
|
133
133
|
source: "runtime",
|
|
134
134
|
severity: "fatal",
|
|
135
135
|
},
|
|
136
|
+
ENGINE_ROLE_UNBOUND: {
|
|
137
|
+
code: "AX-ENGINE-002",
|
|
138
|
+
title: "Engine Role Not Bound",
|
|
139
|
+
description: "The cognet asked for an engine role that resolution did not fill. A required role stops the boot, so reaching this means an OPTIONAL role was used without checking `kernel.engine.has()` first — or the role was never declared in the cognet's `engines:` block.",
|
|
140
|
+
source: "runtime",
|
|
141
|
+
severity: "fatal",
|
|
142
|
+
},
|
|
143
|
+
RESOURCES_EXHAUSTED: {
|
|
144
|
+
code: "AX-RES-001",
|
|
145
|
+
title: "Not Enough Memory",
|
|
146
|
+
description: "A local model does not fit in what is left of this machine's video memory. Nothing was evicted: another agent is using it, and taking memory out from under a running agent would slow it down invisibly. Stop an agent that is holding a model, or raise the ceiling in your profile's `resources`.",
|
|
147
|
+
source: "runtime",
|
|
148
|
+
severity: "degraded",
|
|
149
|
+
expected: true,
|
|
150
|
+
},
|
|
151
|
+
ENGINE_PIN_UNAVAILABLE: {
|
|
152
|
+
code: "AX-ENGINE-004",
|
|
153
|
+
title: "Model Not Available",
|
|
154
|
+
description: "The agent pins a model no declared provider can supply. The agent still runs — resolution picked the best available model instead — but it is NOT the one that was asked for. Declare the provider that supplies it in your profile, or pick a model from a provider you have.",
|
|
155
|
+
source: "runtime",
|
|
156
|
+
severity: "degraded",
|
|
157
|
+
expected: true,
|
|
158
|
+
},
|
|
159
|
+
ENGINE_REQUIREMENTS_UNMET: {
|
|
160
|
+
code: "AX-ENGINE-003",
|
|
161
|
+
title: "Inference Requirements Unmet",
|
|
162
|
+
description: "This cognet declares engine roles that nothing among the user's providers can fill. Add a provider that supplies what is missing, or run a cognet whose requirements this machine meets.",
|
|
163
|
+
source: "runtime",
|
|
164
|
+
severity: "fatal",
|
|
165
|
+
expected: true,
|
|
166
|
+
},
|
|
136
167
|
INJECT_OUTSIDE_RUNTIME: {
|
|
137
168
|
code: "AX-RUNTIME-001",
|
|
138
169
|
title: "Runtime Accessed Before Boot",
|
|
@@ -1242,6 +1273,14 @@ export const errorMap = {
|
|
|
1242
1273
|
severity: "fatal",
|
|
1243
1274
|
expected: true,
|
|
1244
1275
|
},
|
|
1276
|
+
NO_LOCAL_PROJECT: {
|
|
1277
|
+
code: "AX-TUI-050",
|
|
1278
|
+
title: "No Local Project",
|
|
1279
|
+
description: "This agent has no project directory on this machine — it was attached over the network, so its source lives wherever it is running. Opening its config, or any other file verb, has to happen there. Focus a local agent instead.",
|
|
1280
|
+
source: "tui",
|
|
1281
|
+
severity: "fatal",
|
|
1282
|
+
expected: true,
|
|
1283
|
+
},
|
|
1245
1284
|
NO_FOCUSED_INSTANCE: {
|
|
1246
1285
|
code: "AX-TUI-017",
|
|
1247
1286
|
title: "No Focused Agent Instance",
|
|
@@ -1303,6 +1342,13 @@ export const errorMap = {
|
|
|
1303
1342
|
source: "tui",
|
|
1304
1343
|
severity: "fatal",
|
|
1305
1344
|
},
|
|
1345
|
+
ATTACH_URL_INVALID: {
|
|
1346
|
+
code: "AX-TUI-049",
|
|
1347
|
+
title: "Attach URL Invalid",
|
|
1348
|
+
description: "The address is not a usable agent URL. An agent is reached over http or https and the scheme is required — `localhost:3010` is a path, `http://localhost:3010` is an address. Checked before anything connects, so a typo fails immediately rather than as a transport error.",
|
|
1349
|
+
source: "tui",
|
|
1350
|
+
severity: "fatal",
|
|
1351
|
+
},
|
|
1306
1352
|
DEPLOYMENT_NOT_CONNECTABLE: {
|
|
1307
1353
|
code: "AX-TUI-028",
|
|
1308
1354
|
title: "Deployment Not Connectable",
|