@fungi.computer/computer 0.18.8 → 0.18.10
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.
|
@@ -21523,7 +21523,7 @@ function isIdempotencyKey(input) {
|
|
|
21523
21523
|
return /^idem_[a-z0-9](?:[a-z0-9_-]{0,126}[a-z0-9])?$/u.test(input);
|
|
21524
21524
|
}
|
|
21525
21525
|
function isSourceRevision(input) {
|
|
21526
|
-
return /^git:[0-9a-f]{40}$/u.test(input);
|
|
21526
|
+
return /^(?:git:[0-9a-f]{40}|bundle:sha256:[0-9a-f]{64})$/u.test(input);
|
|
21527
21527
|
}
|
|
21528
21528
|
function isSha256Digest(input) {
|
|
21529
21529
|
return /^sha256:[0-9a-f]{64}$/u.test(input);
|
|
@@ -21535,6 +21535,8 @@ var appReleaseIdFamily = defineIdFamily({
|
|
|
21535
21535
|
family: "app-release",
|
|
21536
21536
|
version: 1,
|
|
21537
21537
|
kinds: {
|
|
21538
|
+
app: { prefix: "app" },
|
|
21539
|
+
release: { prefix: "rel" },
|
|
21538
21540
|
transition: { prefix: "app_transition" },
|
|
21539
21541
|
surface: { prefix: "ps" },
|
|
21540
21542
|
erasure: { prefix: "app_erasure" }
|
|
@@ -21542,6 +21544,8 @@ var appReleaseIdFamily = defineIdFamily({
|
|
|
21542
21544
|
});
|
|
21543
21545
|
var appTransitionIdCodec = appReleaseIdFamily.transition;
|
|
21544
21546
|
var appSurfaceIdCodec = appReleaseIdFamily.surface;
|
|
21547
|
+
var appIdentityCodec = appReleaseIdFamily.app;
|
|
21548
|
+
var appReleaseIdentityCodec = appReleaseIdFamily.release;
|
|
21545
21549
|
var appErasureIdCodec = appReleaseIdFamily.erasure;
|
|
21546
21550
|
var appIdSchema = String4.pipe(refine(isAppId));
|
|
21547
21551
|
var releaseIdSchema = String4.pipe(refine(isReleaseId));
|
|
@@ -21574,7 +21578,10 @@ var releaseSchema = Struct({
|
|
|
21574
21578
|
var publicSurfaceSchema = Struct({
|
|
21575
21579
|
publicSurfaceId: publicSurfaceIdSchema,
|
|
21576
21580
|
appId: appIdSchema,
|
|
21577
|
-
stableRoute: stableRouteSchema
|
|
21581
|
+
stableRoute: stableRouteSchema,
|
|
21582
|
+
site: optionalKey2(Struct({
|
|
21583
|
+
name: String4.check(isPattern2(/^[A-Za-z0-9._-]{1,128}$/u))
|
|
21584
|
+
}))
|
|
21578
21585
|
});
|
|
21579
21586
|
var publicationIdentitySchema = String4.pipe(check(isMinLength(1)), check(isMaxLength(256)));
|
|
21580
21587
|
var publicSurfaceDefinitionSchema = Struct({
|
|
@@ -21876,6 +21883,17 @@ var durableBackendSchema = Struct({
|
|
|
21876
21883
|
code: String4.pipe(check(isMinLength(1)))
|
|
21877
21884
|
});
|
|
21878
21885
|
var backendJsonSchema = fromJsonString2(durableBackendSchema);
|
|
21886
|
+
var siteHttpRequestSchema = Struct({
|
|
21887
|
+
url: String4,
|
|
21888
|
+
method: NonEmptyString,
|
|
21889
|
+
contentType: NullOr(String4),
|
|
21890
|
+
bodyBase64: String4
|
|
21891
|
+
});
|
|
21892
|
+
var siteHttpReplySchema = Struct({
|
|
21893
|
+
status: Number5.check(isInt(), isBetween({ minimum: 200, maximum: 599 })),
|
|
21894
|
+
headers: ArraySchema(Tuple([String4, String4])),
|
|
21895
|
+
bodyBase64: String4
|
|
21896
|
+
});
|
|
21879
21897
|
|
|
21880
21898
|
// ../puffball/dist/internal/verified-artifact-snapshot.js
|
|
21881
21899
|
var DEFAULT_ARTIFACT_SNAPSHOT_POLICY = Object.freeze({ maxBytes: 65536 });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.10",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"LICENSE"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@fungi.computer/cairn": "0.1.
|
|
71
|
+
"@fungi.computer/cairn": "0.1.1",
|
|
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.
|
|
76
|
-
"@fungi.computer/seam": "0.2.
|
|
77
|
-
"@fungi.computer/watchdog": "0.1.
|
|
78
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
75
|
+
"@fungi.computer/knapsack": "0.4.32",
|
|
76
|
+
"@fungi.computer/seam": "0.2.9",
|
|
77
|
+
"@fungi.computer/watchdog": "0.1.7",
|
|
78
|
+
"@fungi.computer/computer-contract": "0.6.9",
|
|
79
79
|
"effect": "4.0.2",
|
|
80
80
|
"just-bash": "3.4.2",
|
|
81
81
|
"zod": "4.4.3",
|