@fungi.computer/computer 0.14.6 → 0.14.8

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -56,10 +56,6 @@ import { computerInternetAccess } from "./internet-access.js";
56
56
  import { computerName, learnComputerName, recordComputerName, } from "./computer-name.js";
57
57
  import { getWorkspace, SQLiteWorkspaceProvider, Workspace, WorkspaceProxy, WorkspaceServiceProxy, } from "@fungi.computer/cloudflare-computer";
58
58
  import { WorkerShellBackend, } from "@fungi.computer/cloudflare-computer/backends/worker-shell";
59
- import jqCommands from "@fungi.computer/cloudflare-computer/shell/jq";
60
- import yqCommands from "@fungi.computer/cloudflare-computer/shell/yq";
61
- import xanCommands from "@fungi.computer/cloudflare-computer/shell/xan";
62
- import fileCommands from "@fungi.computer/cloudflare-computer/shell/file";
63
59
  import { withWorkspaceContainer, } from "@fungi.computer/cloudflare-computer/backends/container";
64
60
  import { DurableObject } from "cloudflare:workers";
65
61
  import * as Effect from "effect/Effect";
@@ -505,7 +501,12 @@ class ContainerComputer extends ContainerComputerBase {
505
501
  id: this.state.id.toString(),
506
502
  },
507
503
  ctx: this.workerShellContext(),
508
- commands: [jqCommands, yqCommands, xanCommands, fileCommands],
504
+ commands: [
505
+ () => import("@fungi.computer/cloudflare-computer/shell/jq").then((m) => m.default),
506
+ () => import("@fungi.computer/cloudflare-computer/shell/yq").then((m) => m.default),
507
+ () => import("@fungi.computer/cloudflare-computer/shell/xan").then((m) => m.default),
508
+ () => import("@fungi.computer/cloudflare-computer/shell/file").then((m) => m.default),
509
+ ],
509
510
  egress: { mode: "none" },
510
511
  }));
511
512
  for (const backend of attached) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fungi.computer/computer",
3
- "version": "0.14.6",
3
+ "version": "0.14.8",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "description": "Cloudflare Computer host for one durable Fungi Computer",
6
6
  "type": "module",
@@ -64,10 +64,10 @@
64
64
  "@fungi.computer/capnweb": "0.12.0-fungi.0",
65
65
  "@fungi.computer/cloudflare-computer": "0.2.1-fungi.2",
66
66
  "@fungi.computer/cordyceps": "0.4.3",
67
- "@fungi.computer/knapsack": "0.4.19",
67
+ "@fungi.computer/knapsack": "0.4.20",
68
68
  "@fungi.computer/seam": "0.2.6",
69
69
  "@fungi.computer/watchdog": "0.1.4",
70
- "@fungi.computer/computer-contract": "0.5.6",
70
+ "@fungi.computer/computer-contract": "0.5.7",
71
71
  "effect": "4.0.2",
72
72
  "just-bash": "3.4.2",
73
73
  "zod": "4.4.3",
@@ -118,7 +118,7 @@
118
118
  "build:container": "bash ../../tooling/proof-runner/run-proof.sh docker build --load --platform linux/amd64 --provenance=false .",
119
119
  "build:native": "fungi-apply-patch-build --out native/bin",
120
120
  "clean": "node --input-type=module --eval \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\"",
121
- "test": "pnpm run test:unit && pnpm run test:fleet-native && node test/files-rpc.native.mjs && node test/port-proof.mjs && node test/terminal-container-proof.mjs && node test/fuse-startup-proof.mjs && node test/container-resource-proof.mjs && node test/runtime-proof.mjs && node test/process-schema-proof.mjs && node test/process-proof.mjs && node test/terminal-proof.mjs && pnpm run test:app-method-execution && pnpm run test:execution-lifecycle",
121
+ "test": "pnpm run test:unit && pnpm run test:fleet-native && node test/files-rpc.native.mjs && node test/shell-groups.native.mjs && node test/port-proof.mjs && node test/terminal-container-proof.mjs && node test/fuse-startup-proof.mjs && node test/container-resource-proof.mjs && node test/runtime-proof.mjs && node test/process-schema-proof.mjs && node test/process-proof.mjs && node test/terminal-proof.mjs && pnpm run test:app-method-execution && pnpm run test:execution-lifecycle",
122
122
  "format:check": "node ../../tooling/repository/scripts/format-package-check.mjs",
123
123
  "lint:anti-slop": "node ../../tooling/repository/scripts/lint-package-anti-slop.mjs",
124
124
  "test:merge": "pnpm run test",