@arcforge/err 2.0.109 → 2.0.111

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 +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/err",
3
- "version": "2.0.109",
3
+ "version": "2.0.111",
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.109"
18
+ "@arcforge/types": "2.0.111"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/bun": "latest",
package/src/map.ts CHANGED
@@ -205,7 +205,7 @@ export const errorMap = {
205
205
  COGNET_NOT_FOUND: {
206
206
  code: "AX-COGNET-013",
207
207
  title: "Cognet Not Found",
208
- description: "The cognet this agent selects isn't installed — check the `cognet` specifier in axon.config.ts and run `axon prepare` to install it from the registry.",
208
+ description: "The cognet named by `cognet:` in axon.config.ts could not be located. The detail says where it was looked for — a registry that answered 404, or a node_modules tree it was missing from. Check the specifier for a typo, and check which registry the CLI is pointed at (AXON_API_BASE).",
209
209
  source: "cognet",
210
210
  severity: "fatal",
211
211
  },
@@ -327,6 +327,20 @@ export const errorMap = {
327
327
  source: "manifest",
328
328
  severity: "fatal",
329
329
  },
330
+ PREPARE_FROZEN_DRIFT: {
331
+ code: "AX-PROJECT-014",
332
+ title: "Dependencies Drifted From The Lockfile",
333
+ description: "`--frozen` asserts that package.json, the lockfile and node_modules already agree. Something did not: a dependency is missing, at a version outside its declared range, or declared but no longer selected. Run `axon prepare` without --frozen to reconcile, and commit the result.",
334
+ source: "manifest",
335
+ severity: "fatal",
336
+ },
337
+ PUBLISH_VERIFY_FAILED: {
338
+ code: "AX-PROJECT-013",
339
+ title: "Artifact Does Not Compile",
340
+ description: "The package was built, but compiling it the way a consumer would failed — so publishing it would ship something nobody can install. Usually a file the source imports was left out of the package. Published versions are immutable, so this is caught before upload rather than after.",
341
+ source: "manifest",
342
+ severity: "fatal",
343
+ },
330
344
  DEPLOY_PROVISION_FAILED: {
331
345
  code: "AX-PROJECT-012",
332
346
  title: "Deployment Provisioning Failed",