Computer Contract
Decode and validate one Fungi Computer's operations without the Computer host.
Fastest path
Install
Add it to your project with npm, pnpm, Yarn or Bun.
TERMINAL npm install @fungi.computer/computer-contractDecode a path and mint a request id
Parse a Workspace path through the shared schema and mint an operation request id.
home.ts import {pathSchema,mintComputerRequestId,} from "@fungi.computer/computer-contract";const path = pathSchema.parse("/workspace/notes.md");console.log(path); // /workspace/notes.mdconsole.log(mintComputerRequestId().length > 0); // true