@arcforge/err 2.0.115 → 2.0.116
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 +14 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforge/err",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.116",
|
|
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.116"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/bun": "latest",
|
package/src/map.ts
CHANGED
|
@@ -67,6 +67,20 @@ export const errorMap = {
|
|
|
67
67
|
source: "runtime",
|
|
68
68
|
severity: "fatal",
|
|
69
69
|
},
|
|
70
|
+
OUTPUT_INVALID: {
|
|
71
|
+
code: "AX-OUTPUT-001",
|
|
72
|
+
title: "Invalid Output Type",
|
|
73
|
+
description: "The `output` type passed to request() is not valid TypeScript, or references a type that does not exist. Checked before the model is called, so no inference was spent — fix the type string at the call site.",
|
|
74
|
+
source: "runtime",
|
|
75
|
+
severity: "fatal",
|
|
76
|
+
},
|
|
77
|
+
OUTPUT_UNSATISFIED: {
|
|
78
|
+
code: "AX-OUTPUT-002",
|
|
79
|
+
title: "Output Type Not Satisfied",
|
|
80
|
+
description: "The model could not produce a response matching the declared `output` type within its retry budget. The accumulated TypeScript diagnostics describe what it got wrong on each attempt.",
|
|
81
|
+
source: "runtime",
|
|
82
|
+
severity: "fatal",
|
|
83
|
+
},
|
|
70
84
|
SCRIPT_NOT_FOUND: {
|
|
71
85
|
code: "AX-SCRIPT-001",
|
|
72
86
|
title: "Script Not Found",
|
|
@@ -299,13 +313,6 @@ export const errorMap = {
|
|
|
299
313
|
},
|
|
300
314
|
|
|
301
315
|
// ── Project (build/project/*.ts) ────────────────────────────────────────
|
|
302
|
-
AGENT_UNRESOLVED: {
|
|
303
|
-
code: "AX-PROJECT-034",
|
|
304
|
-
title: "Agent Not Resolved",
|
|
305
|
-
description: "An agent reference did not resolve to an agent directory — the path holds no axon.config.ts, or the name exists in neither this profile's agents nor any watched path.",
|
|
306
|
-
source: "manifest",
|
|
307
|
-
severity: "fatal",
|
|
308
|
-
},
|
|
309
316
|
PROJECT_NOT_FOUND: {
|
|
310
317
|
code: "AX-PROJECT-017",
|
|
311
318
|
title: "Project Not Found",
|