@fungi.computer/oyster 0.21.6 → 0.21.7

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.
@@ -36,7 +36,15 @@ const instanceRetryDelaysMs = [500, 2_000];
36
36
  */
37
37
  async function withColdRetry(step, run) {
38
38
  for (let attempt = 1;; attempt++) {
39
- const outcome = await run();
39
+ // The Instance's RPC can throw instead of answering (a dropped
40
+ // connection, a reset Durable Object). That says nothing about whether
41
+ // the step ran, and repeating either step is safe, so it is one more
42
+ // generic failure rather than an unknown outcome.
43
+ const outcome = await run().then((settled) => settled, (cause) => {
44
+ const diagnostic = failureDiagnostic(cause);
45
+ console.error(`Installation ${step} threw`, { attempt, ...diagnostic });
46
+ return { ok: false, code: "failed", causeClass: diagnostic.causeClass };
47
+ });
40
48
  if (outcome.ok || outcome.code !== "failed")
41
49
  return outcome;
42
50
  console.error(`Installation ${step} failed`, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/oyster",
3
- "version": "0.21.6",
3
+ "version": "0.21.7",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "description": "Oyster by Fungi: open-source Apps for people and AI agents. Try with one command or run on your own Cloudflare account.",
6
6
  "homepage": "https://docs.fungi.computer/oyster",
@@ -344,7 +344,7 @@
344
344
  "@fungi.computer/burrow": "0.2.1",
345
345
  "@fungi.computer/cairn": "0.1.0",
346
346
  "@fungi.computer/capnweb": "0.12.0-fungi.0",
347
- "@fungi.computer/caps": "0.11.1",
347
+ "@fungi.computer/caps": "0.11.2",
348
348
  "@fungi.computer/carrier": "0.2.4",
349
349
  "@fungi.computer/computer": "0.8.6",
350
350
  "@fungi.computer/computer-contract": "0.1.0",
@@ -356,7 +356,7 @@
356
356
  "@fungi.computer/lantern": "0.4.2",
357
357
  "@fungi.computer/mycelium": "0.3.8",
358
358
  "@fungi.computer/nacre": "0.5.2",
359
- "@fungi.computer/parakeet": "0.11.19",
359
+ "@fungi.computer/parakeet": "0.11.20",
360
360
  "@fungi.computer/puffball": "0.5.5",
361
361
  "@fungi.computer/seam": "0.2.5",
362
362
  "@fungi.computer/shiitake": "0.13.1",