@ultimat3/http 27.9.0 → 27.10.0
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 +5 -5
- package/src/error-map-tier-4.ts +7 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/http",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.10.0",
|
|
4
4
|
"description": "Owned request lifecycle over Bun.serve: router, ordered pipeline, problem+json errors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ultimat3/core": "27.
|
|
39
|
-
"@ultimat3/i18n": "27.
|
|
40
|
-
"@ultimat3/schema": "27.
|
|
41
|
-
"@ultimat3/time": "27.
|
|
38
|
+
"@ultimat3/core": "27.10.0",
|
|
39
|
+
"@ultimat3/i18n": "27.10.0",
|
|
40
|
+
"@ultimat3/schema": "27.10.0",
|
|
41
|
+
"@ultimat3/time": "27.10.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/error-map-tier-4.ts
CHANGED
|
@@ -133,4 +133,11 @@ export const TIER_4_ERROR_STATUS = {
|
|
|
133
133
|
X_AGENT_TOOL_LOOP: 500,
|
|
134
134
|
// @ultimat3/ai — an agent ran past its declared deadline and was stopped
|
|
135
135
|
X_AGENT_DEADLINE: 504,
|
|
136
|
+
// @ultimat3/ai — the upstream model answered, and a tool call in the answer is not JSON: a bad
|
|
137
|
+
// gateway answer no retry of the same response changes
|
|
138
|
+
X_LLM_TOOL_ARGUMENTS_INVALID: 502,
|
|
139
|
+
// @ultimat3/ai — a continuation's transcript handle did not pass its screen: the caller's data
|
|
140
|
+
X_AGENT_TRANSCRIPT_INVALID: 422,
|
|
141
|
+
// @ultimat3/ai — the upstream ended a turn with a reason nobody knows and an incomplete answer
|
|
142
|
+
X_AI_PROVIDER_UNEXPECTED: 502,
|
|
136
143
|
} satisfies Readonly<Record<string, number>>;
|