@fungi.computer/oyster 0.21.1 → 0.21.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.
@@ -382,7 +382,10 @@ export class ComputerDO extends NativeComputerDO {
382
382
  return this.#previewOwner().fetch(signature, port, request);
383
383
  }
384
384
  #id() {
385
- return workspaceId.parse(this.state.id.name);
385
+ const name = this.computerName();
386
+ if (name === undefined)
387
+ throw new Error("Computer woken by object id before any named wake");
388
+ return workspaceId.parse(name);
386
389
  }
387
390
  /**
388
391
  * The host side of native execution (Computer ABI 0edb0e4a): the grant's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/oyster",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
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",
@@ -346,7 +346,7 @@
346
346
  "@fungi.computer/capnweb": "0.12.0-fungi.0",
347
347
  "@fungi.computer/caps": "0.11.1",
348
348
  "@fungi.computer/carrier": "0.2.4",
349
- "@fungi.computer/computer": "0.8.4",
349
+ "@fungi.computer/computer": "0.8.5",
350
350
  "@fungi.computer/computer-contract": "0.1.0",
351
351
  "@fungi.computer/darkroom": "0.5.9",
352
352
  "@fungi.computer/ear-tag": "0.1.0",