@fungi.computer/computer 0.3.1 → 0.3.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.
|
@@ -21745,6 +21745,12 @@ var BirdDogSystemIdentitySchema = Struct({
|
|
|
21745
21745
|
systemId: Literal2("hub")
|
|
21746
21746
|
});
|
|
21747
21747
|
var BIRD_DOG_DIAGNOSTIC_MAX_LENGTH = 200;
|
|
21748
|
+
var BIRD_DOG_WAITING_MAX_ITEMS = 8;
|
|
21749
|
+
var BirdDogWaitingItemSchema = Struct({
|
|
21750
|
+
itemId: Identifier,
|
|
21751
|
+
kind: String4.check(isMinLength(1), isMaxLength(64)),
|
|
21752
|
+
summary: String4.check(isMinLength(1), isMaxLength(200))
|
|
21753
|
+
});
|
|
21748
21754
|
var SettledBirdDogReplySchema = Struct({
|
|
21749
21755
|
commandId: Identifier,
|
|
21750
21756
|
outcome: Literals([
|
|
@@ -21754,7 +21760,8 @@ var SettledBirdDogReplySchema = Struct({
|
|
|
21754
21760
|
"cancelled",
|
|
21755
21761
|
"outcome_unknown"
|
|
21756
21762
|
]),
|
|
21757
|
-
diagnostic: optionalKey2(String4.check(isMinLength(1), isMaxLength(BIRD_DOG_DIAGNOSTIC_MAX_LENGTH)))
|
|
21763
|
+
diagnostic: optionalKey2(String4.check(isMinLength(1), isMaxLength(BIRD_DOG_DIAGNOSTIC_MAX_LENGTH))),
|
|
21764
|
+
waitingOnYou: optionalKey2(ArraySchema(BirdDogWaitingItemSchema).check(isMinLength(1), isMaxLength(BIRD_DOG_WAITING_MAX_ITEMS)))
|
|
21758
21765
|
});
|
|
21759
21766
|
var BirdDogUndeliverableReasonSchema = Literals([
|
|
21760
21767
|
"recipient_offline",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/computer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"author": "Levi <levi@technomancy.dev>",
|
|
5
5
|
"description": "Cloudflare Computer host for one durable Fungi Computer",
|
|
6
6
|
"type": "module",
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"@fungi.computer/capnweb": "0.12.0",
|
|
61
61
|
"@fungi.computer/cloudflare-computer": "0.2.1-fungi.2",
|
|
62
62
|
"@fungi.computer/cordyceps": "0.4.0",
|
|
63
|
-
"@fungi.computer/knapsack": "0.
|
|
63
|
+
"@fungi.computer/knapsack": "0.4.0",
|
|
64
64
|
"@fungi.computer/seam": "0.2.0",
|
|
65
65
|
"@fungi.computer/watchdog": "0.1.0",
|
|
66
|
-
"@fungi.computer/computer-contract": "0.0.
|
|
66
|
+
"@fungi.computer/computer-contract": "0.0.5",
|
|
67
67
|
"effect": "4.0.2",
|
|
68
68
|
"just-bash": "3.4.2",
|
|
69
69
|
"zod": "4.4.3"
|