@ultimat3/http 27.8.1 → 27.9.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/http",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.9.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.9.0",
|
|
39
|
+
"@ultimat3/i18n": "27.9.0",
|
|
40
|
+
"@ultimat3/schema": "27.9.0",
|
|
41
|
+
"@ultimat3/time": "27.9.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/error-map-tier-1.ts
CHANGED
|
@@ -80,4 +80,6 @@ export const TIER_1_ERROR_STATUS = {
|
|
|
80
80
|
// 409 with the rest of promotion's refusals: an earlier call moved these bytes (a doubled or
|
|
81
81
|
// retried confirm), a state the caller answers by reading the row that holds `meta.attachedKey`.
|
|
82
82
|
X_STORAGE_ALREADY_PROMOTED: 409,
|
|
83
|
+
// @ultimat3/seo — a sitemap entry carries a lastmod or a locale the sitemap cannot write
|
|
84
|
+
X_SITEMAP_ENTRY_INVALID: 500,
|
|
83
85
|
} satisfies Readonly<Record<string, number>>;
|
package/src/error-map-tier-4.ts
CHANGED
|
@@ -129,4 +129,8 @@ export const TIER_4_ERROR_STATUS = {
|
|
|
129
129
|
X_PWA_PUSH_PAYLOAD_TOO_LARGE: 500,
|
|
130
130
|
// @ultimat3/pwa — the push endpoint is not on a push service this app sends to
|
|
131
131
|
X_PWA_PUSH_HOST_UNLISTED: 422,
|
|
132
|
+
// @ultimat3/ai — an agent repeated one tool call with one result and was stopped
|
|
133
|
+
X_AGENT_TOOL_LOOP: 500,
|
|
134
|
+
// @ultimat3/ai — an agent ran past its declared deadline and was stopped
|
|
135
|
+
X_AGENT_DEADLINE: 504,
|
|
132
136
|
} satisfies Readonly<Record<string, number>>;
|