@arcforge/err 2.0.102 → 2.0.103

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 +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/err",
3
- "version": "2.0.102",
3
+ "version": "2.0.103",
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.102"
18
+ "@arcforge/types": "2.0.103"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "latest",
package/src/map.ts CHANGED
@@ -281,7 +281,14 @@ export const errorMap = {
281
281
  PROJECT_NOT_FOUND: {
282
282
  code: "AX-PROJECT-005",
283
283
  title: "Project Not Found",
284
- description: "No axon.config.ts, module.config.ts, or cognet.config.ts was found at this path — it isn't a recognized project directory.",
284
+ description: "No axon.config.ts, module.config.ts, cognet.config.ts, bench.config.ts, or prompt.config.ts was found at this path — it isn't a recognized project directory.",
285
+ source: "manifest",
286
+ severity: "fatal",
287
+ },
288
+ PROJECT_WRONG_KIND: {
289
+ code: "AX-PROJECT-011",
290
+ title: "Wrong Project Kind",
291
+ description: "This command targets one project kind, and the directory holds another — run the command that matches what is actually here.",
285
292
  source: "manifest",
286
293
  severity: "fatal",
287
294
  },