@fungi.computer/oyster 0.19.11 → 0.19.13

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.
package/README.md CHANGED
@@ -34,9 +34,10 @@ in the launcher; the page it opens reads **Hello from my first Oyster App**.
34
34
 
35
35
  Once the desktop is up, `try` keeps building the other starter Apps from their
36
36
  public sources in the background, one at a time, and prints a line for each:
37
- Grove, Prints, Inkcap, Trellis and Bonsai run fully on your computer; Shed
38
- installs but needs a Computer runtime that a trial does not have. Running `try`
39
- again leaves installed Apps untouched.
37
+ Grove, Prints, Inkcap, Trellis and Bonsai run fully on your computer. Truffle,
38
+ installed with Oyster, attaches the trial’s `computer/` folder so Shed can run
39
+ commands when the local sandbox is available. Running `try` again leaves
40
+ installed Apps untouched.
40
41
 
41
42
  The owner key is saved in `my-oyster/.oyster-owner` and never printed. Press
42
43
  Ctrl-C to stop, and run the same command again in `my-oyster` to restart.
@@ -7,7 +7,7 @@ const readRuntimeStatus = Schema.decodeUnknownOption(Schema.fromJsonString(Schem
7
7
  class TrialComputerUnavailable extends Error {
8
8
  code = "no_runtime";
9
9
  constructor() {
10
- super("Install the Truffle local runtime and make fungi-local-computer available on PATH, then restart oyster try.");
10
+ super("The Truffle local runtime could not start. Check its installation and local sandbox, then restart oyster try.");
11
11
  this.name = "TrialComputerUnavailable";
12
12
  }
13
13
  }
@@ -16,9 +16,8 @@ export async function startTrialComputer(input) {
16
16
  const folder = join(input.directory, "computer");
17
17
  await mkdir(folder, { recursive: true });
18
18
  input.signal.throwIfAborted();
19
- const child = spawn(process.env.FUNGI_LOCAL_COMPUTER ?? "fungi-local-computer", ["attach"], {
20
- stdio: ["pipe", "pipe", "ignore"],
21
- });
19
+ const child = spawn(process.env.FUNGI_LOCAL_COMPUTER ??
20
+ join(input.directory, "node_modules", ".bin", "fungi-local-computer"), ["attach"], { stdio: ["pipe", "pipe", "ignore"] });
22
21
  const online = Promise.withResolvers();
23
22
  const closed = Promise.withResolvers();
24
23
  const unavailable = () => {
@@ -157,6 +157,7 @@ function projectManifest(own, spec) {
157
157
  const dependencies = {
158
158
  "@fungi.computer/oyster": spec ?? own.version,
159
159
  "@fungi.computer/computer": own.dependencies["@fungi.computer/computer"] ?? "latest",
160
+ "@fungi.computer/truffle": "latest",
160
161
  react: "^19.2.0",
161
162
  "react-dom": "^19.2.0",
162
163
  // Building the desktop here needs this exact pnpm, whatever the caller uses.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/oyster",
3
- "version": "0.19.11",
3
+ "version": "0.19.13",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "description": "Run your own Apps on Cloudflare Workers or celld: installable App Releases, each with its own Durable Object, SQLite database and declared bindings",
6
6
  "type": "module",