@arcforge/types 2.0.178 → 2.0.179

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 +1 -1
  2. package/src/error.ts +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcforge/types",
3
- "version": "2.0.178",
3
+ "version": "2.0.179",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./src/index.ts",
package/src/error.ts CHANGED
@@ -31,6 +31,22 @@ export type AxonStackFrame = {
31
31
  export type AxonErrorSource =
32
32
  | "runtime" | "manifest" | "capsule" | "server" | "thread" | "cli"
33
33
  | "cloud" | "kernel" | "cognet" | "tui" | "bench"
34
+ /**
35
+ * A third-party inference provider — the user's own Codex, OpenRouter,
36
+ * Ollama or Axon route.
37
+ *
38
+ * Its own source rather than "kernel", because the two answer different
39
+ * questions and only one of them is the user's. A provider refusing a
40
+ * credential, running out of credit or rate-limiting is COMMON, entirely
41
+ * about the user's own accounts, and fixable by them. A kernel failure is
42
+ * rare and ours to debug.
43
+ *
44
+ * They shared a namespace, so a spent ChatGPT allowance reached the user
45
+ * as `AX-KERNEL-008` — a code that reads as "the runtime broke" for a
46
+ * situation where nothing had. Separating them is what lets a reader tell
47
+ * "top up your account" from "file a bug" at a glance.
48
+ */
49
+ | "provider"
34
50
  // The machine-wide daemon. Its own source rather than "runtime": a
35
51
  // failure here is about SHARED state — the GPU, the instance registry —
36
52
  // and telling that apart from one agent's runtime fault is the difference