@fungi.computer/computer 0.20.3 → 0.20.4
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.
|
@@ -20601,7 +20601,7 @@ var appBackendBindingKinds = {
|
|
|
20601
20601
|
},
|
|
20602
20602
|
catalog: {
|
|
20603
20603
|
cap: "app.catalog.read",
|
|
20604
|
-
requires: ["team.
|
|
20604
|
+
requires: ["team.shell"],
|
|
20605
20605
|
effect: "read"
|
|
20606
20606
|
},
|
|
20607
20607
|
/** Fork a platform App's published source into its own Team-owned App,
|
|
@@ -20831,7 +20831,7 @@ var appBackendBindingKinds = {
|
|
|
20831
20831
|
|
|
20832
20832
|
// ../puffball/dist/app-vocabulary.js
|
|
20833
20833
|
var appRoles = [
|
|
20834
|
-
"
|
|
20834
|
+
"shell",
|
|
20835
20835
|
"inbox",
|
|
20836
20836
|
"files",
|
|
20837
20837
|
"media",
|
|
@@ -20863,7 +20863,7 @@ var appCapabilityIds = [
|
|
|
20863
20863
|
"apps.call",
|
|
20864
20864
|
"app.storage",
|
|
20865
20865
|
"app.events.emit",
|
|
20866
|
-
"team.
|
|
20866
|
+
"team.shell",
|
|
20867
20867
|
"marketplace.browse",
|
|
20868
20868
|
"marketplace.purchase",
|
|
20869
20869
|
"workflow.run",
|
|
@@ -21230,7 +21230,9 @@ var declarationSchemaFor = (gill) => Struct({
|
|
|
21230
21230
|
bindings: appBackendBindingsSchema,
|
|
21231
21231
|
sync: optionalKey2(Struct({ method: appApiMethodNameSchema }))
|
|
21232
21232
|
}))
|
|
21233
|
-
}).pipe(check(makeFilter2((declaration3) => declaration3.
|
|
21233
|
+
}).pipe(check(makeFilter2((declaration3) => declaration3.roles.includes("shell") === declaration3.capabilities.includes("team.shell"), {
|
|
21234
|
+
message: "The shell role and team.shell capability must be declared together"
|
|
21235
|
+
})), check(makeFilter2((declaration3) => declaration3.calls === void 0 || declaration3.capabilities.includes("apps.call"), { message: "App calls require apps.call" })), check(makeFilter2((declaration3) => declaration3.backend?.bindings.every((binding) => binding.name !== "BACKGROUND") ?? true, {
|
|
21234
21236
|
message: "BACKGROUND is host-minted and cannot be declared by an App"
|
|
21235
21237
|
})), check(makeFilter2((declaration3) => backgroundSyncAllowed(declaration3.api, declaration3.backend?.sync), {
|
|
21236
21238
|
message: "Background continuation must be a declared write covering all write requirements"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.4",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
"LICENSE"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@fungi.computer/agar": "0.
|
|
71
|
+
"@fungi.computer/agar": "0.32.0",
|
|
72
72
|
"@fungi.computer/cairn": "0.1.1",
|
|
73
73
|
"@fungi.computer/capnweb": "0.12.0-fungi.0",
|
|
74
74
|
"@fungi.computer/cloudflare-computer": "0.2.1-fungi.4",
|
|
75
75
|
"@fungi.computer/cordyceps": "0.4.3",
|
|
76
|
-
"@fungi.computer/knapsack": "0.4.
|
|
76
|
+
"@fungi.computer/knapsack": "0.4.45",
|
|
77
77
|
"@fungi.computer/seam": "0.2.9",
|
|
78
78
|
"@fungi.computer/watchdog": "0.1.7",
|
|
79
|
-
"@fungi.computer/computer-contract": "0.6.
|
|
79
|
+
"@fungi.computer/computer-contract": "0.6.22",
|
|
80
80
|
"effect": "4.0.2",
|
|
81
81
|
"just-bash": "3.4.2",
|
|
82
82
|
"zod": "4.4.3",
|