@fungi.computer/computer 0.19.0 → 0.19.2
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.
|
@@ -21895,6 +21895,35 @@ var siteHttpReplySchema = Struct({
|
|
|
21895
21895
|
bodyBase64: String4
|
|
21896
21896
|
});
|
|
21897
21897
|
|
|
21898
|
+
// ../puffball/dist/failure-facts.js
|
|
21899
|
+
var storageCategorySchema = object({
|
|
21900
|
+
message: string4().transform((text) => text.slice(0, 512)).pipe(union2([
|
|
21901
|
+
string4().regex(/timeout exceeded when trying to connect/iu).transform(() => "pool_timeout"),
|
|
21902
|
+
string4().regex(/too many clients|remaining connection slots/iu).transform(() => "too_many_connections"),
|
|
21903
|
+
string4().regex(/connection terminated|socket hang up|ECONNRESET/iu).transform(() => "connection_lost"),
|
|
21904
|
+
string4().regex(/ECONNREFUSED|ENOTFOUND|EAI_AGAIN/iu).transform(() => "unreachable"),
|
|
21905
|
+
string4().regex(/too many API requests|too many subrequests/iu).transform(() => "request_limit"),
|
|
21906
|
+
string4().regex(/exceeded timeout|timed out|queued for too long|overloaded/iu).transform(() => "timeout"),
|
|
21907
|
+
string4().regex(/object to be reset|network connection lost|D1 DB reset/iu).transform(() => "reset"),
|
|
21908
|
+
string4().regex(/no such column/iu).transform(() => "missing_column"),
|
|
21909
|
+
string4().regex(/no such table/iu).transform(() => "missing_table"),
|
|
21910
|
+
string4().regex(/SQLITE_CONSTRAINT|constraint failed/iu).transform(() => "constraint"),
|
|
21911
|
+
string4().regex(/SQLITE_BUSY|database is locked/iu).transform(() => "busy"),
|
|
21912
|
+
string4().regex(/SQLITE_TOOBIG|row too large|response too large/iu).transform(() => "size_limit"),
|
|
21913
|
+
string4().regex(/CPU time limit/iu).transform(() => "cpu_limit"),
|
|
21914
|
+
string4().regex(/D1_ERROR|SQLITE_ERROR/iu).transform(() => "database_error")
|
|
21915
|
+
]))
|
|
21916
|
+
}).transform(({ message }) => message);
|
|
21917
|
+
var withCodeSchema = object({
|
|
21918
|
+
code: union2([
|
|
21919
|
+
string4().regex(/^E[A-Z0-9_]{2,31}$/u),
|
|
21920
|
+
string4().regex(/^[0-9A-Z]{5}$/u)
|
|
21921
|
+
])
|
|
21922
|
+
});
|
|
21923
|
+
var emptyMessageSchema = object({ message: literal("") });
|
|
21924
|
+
var frameLineSchema = string4().regex(/^\s+at\s/u);
|
|
21925
|
+
var nameSchema = string4().regex(/^[A-Za-z_$][\w$.]{0,63}$/u);
|
|
21926
|
+
|
|
21898
21927
|
// ../puffball/dist/internal/verified-artifact-snapshot.js
|
|
21899
21928
|
var DEFAULT_ARTIFACT_SNAPSHOT_POLICY = Object.freeze({ maxBytes: 65536 });
|
|
21900
21929
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -72,10 +72,10 @@
|
|
|
72
72
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
73
73
|
"@fungi.computer/cloudflare-computer": "0.2.1-fungi.4",
|
|
74
74
|
"@fungi.computer/cordyceps": "0.4.3",
|
|
75
|
-
"@fungi.computer/knapsack": "0.4.
|
|
75
|
+
"@fungi.computer/knapsack": "0.4.41",
|
|
76
76
|
"@fungi.computer/seam": "0.2.9",
|
|
77
77
|
"@fungi.computer/watchdog": "0.1.7",
|
|
78
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
78
|
+
"@fungi.computer/computer-contract": "0.6.18",
|
|
79
79
|
"effect": "4.0.2",
|
|
80
80
|
"just-bash": "3.4.2",
|
|
81
81
|
"zod": "4.4.3",
|