[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-94351":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":9,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":15,"starSnapshotCount":15,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},94351,"computer","cloudflare\u002Fcomputer","cloudflare","Give your agent a computer 👾",null,"https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fcomputer","TypeScript",4615,230,18,0,168,66.09,false,"main","2026-08-24 04:01:22","# Cloudflare Computer\n\nCloudflare Computer is a virtual filesystem that lives inside a\nDurable Object. The Durable Object holds the authoritative state in\nSQLite and exposes one pluggable execution surface through\n`workspace.runtime`. Three backends ship today:\n\n- **Container** projects the SQLite state into a sandbox container as\n  a real FUSE mount. A sandbox-side daemon (`computerd`) mounts the state\n  as a filesystem and syncs changes back over a capnweb RPC channel.\n  Full Linux userland, real binaries, real network.\n- **Isolate shell** runs [just-bash](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjust-bash)\n  in a Dynamic Worker. It reaches the authoritative Workspace over\n  Workers RPC, so there is no second store or sync round trip.\n- **Isolate JavaScript** runs an ECMAScript module in a fresh Dynamic\n  Worker with structured input\u002Fresults, durable relative imports,\n  configured libraries, Workspace-backed `node:fs\u002Fpromises`, and trusted `ws:git` and\n  `ws:artifacts` modules.\n\nA Workspace may register multiple backends under stable IDs.\n`workspace.runtime.exec(source, { backend })` is the single execution\nentry point; the selected backend defines whether `source` is a shell\ncommand or an ECMAScript module. Backends connect lazily on first use.\n\nWorkspace can also be constructed without a backend at all, giving\ncallers the filesystem on its own.\n\n> [!IMPORTANT]\n> **PREVIEW ONLY** This package is provided as a preview for feedback only.\n> APIs are unstable and the design is subject to change.\n>\n> Suitable for experiments, exploration and prototypes. It is NOT suitable\n> for production use at this time.\n>\n> The specification under [`docs\u002F`](docs\u002F) is forward-looking — read it for\n> intent, not as description of the code today.\n\n## Using it\n\nIf you want to build on Cloudflare Computer, install\n[`@cloudflare\u002Fcomputer`](packages\u002Fcomputer\u002FREADME.md) and follow that\npackage's README — it has the installation steps, the entrypoint map,\nand worked examples of the `fs` and `runtime` surfaces.\n\nTo contribute feedback, see [`CONTRIBUTING.md`](CONTRIBUTING.md).\nApproved collaborators should follow [`COLLABORATORS.md`](COLLABORATORS.md)\nfor setup, build, and test instructions.\n\n## Examples\n\nThe [`examples\u002F`](examples) directory holds runnable consumers of the\npublic surface. Each is a Worker workspace with its own README.\n\n- [`examples\u002Fcontainer`](examples\u002Fcontainer) — runs `computerd` inside a\n  container, mounts a workspace, and talks to a Durable Object over\n  capnweb. A `write` \u002F `read` \u002F `exec` HTTP surface.\n- [`examples\u002Fworker-shell`](examples\u002Fworker-shell) — same HTTP surface as the\n  container example, but the shell runs [just-bash](https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fjust-bash)\n  in a Dynamic Worker loaded through `env.LOADER`. No container.\n- [`examples\u002Fworker-javascript`](examples\u002Fworker-javascript) — mirrors\n  `worker-shell`, but `exec` evaluates an ECMAScript module in a Dynamic\n  Worker instead of running a shell command.\n- [`examples\u002Fthink`](examples\u002Fthink) — a [`@cloudflare\u002Fthink`](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@cloudflare\u002Fthink)\n  chat agent that uses the workspace as its working directory, reachable\n  from a terminal.\n- [`examples\u002Fthink-compare-runtimes`](examples\u002Fthink-compare-runtimes) —\n  a web UI that runs the same agent task against the container and\n  worker runtimes side by side.\n- [`examples\u002Ftutorial`](examples\u002Ftutorial) — a step-by-step build: one\n  endpoint, one agent that writes a markdown recipe card on the host and\n  runs `pandoc` on it in the container to produce a PDF.\n- [`examples\u002Fartifacts`](examples\u002Fartifacts) — generates a Worker project\n  in a workspace and publishes it to Cloudflare Artifacts as a\n  clone-ready repo.\n- [`examples\u002Fassets`](examples\u002Fassets) — turns a prompt into an image with\n  Workers AI, writes it to the workspace, and returns a shareable link\n  through `@cloudflare\u002Fcomputer\u002Fassets`.\n\n## Repository layout\n\nThe repo is a small monorepo. Each package has its own README with\npackage-specific status and usage notes.\n\n- [`packages\u002Fdofs`](packages\u002Fdofs\u002FREADME.md) (`@cloudflare\u002Fdofs`) —\n  Durable Object SQLite-backed virtual filesystem, sync protocol\n  building blocks, and a `@platformatic\u002Fvfs` provider for Node.\n- [`packages\u002Frpc`](packages\u002Frpc\u002FREADME.md)\n  (`@cloudflare\u002Fcomputer-rpc`) — capnweb wire types and\n  server\u002Fclient helpers shared between the Durable Object and `computerd`.\n- [`packages\u002Fcomputerd`](packages\u002Fcomputerd\u002FREADME.md)\n  (`@cloudflare\u002Fcomputerd`) — the `computerd` daemon: a FUSE mount plus\n  HTTP\u002FWebSocket RPC server that runs inside the sandbox container.\n- [`packages\u002Fcomputer`](packages\u002Fcomputer\u002FREADME.md)\n  (`@cloudflare\u002Fcomputer`) — the top-level Computer package\n  consumed by Durable Objects. Work in progress.\n- [`packages\u002Fcomputer-computerd-linux-x64`](packages\u002Fcomputer-computerd-linux-x64\u002FREADME.md)\n  — private Docker image context for the prebuilt `computerd` linux-x64\n  binary. The image, not an npm package, is the release artifact.\n\n## Performance\n\ncomputerd's FUSE mount beats real disk on metadata-heavy work and\ntrails it on large sequential I\u002FO. See\n[`docs\u002F19_performance.md`](docs\u002F19_performance.md) for the full `fs-bench`\nnumbers, a `cloudflare\u002Fsandbox-sdk` `npm install` comparison, and how\nto reproduce them.\n\n## Documentation\n\n- [`docs\u002F`](docs\u002FREADME.md) — design specification. Forward-looking;\n  treat as intent.\n- [`docs\u002F19_performance.md`](docs\u002F19_performance.md) — filesystem benchmarks.\n\n## Contributing\n\nWe accept bug reports, fix proposals, feature requests, and design\nproposals through issues and discussions. We do not accept unsolicited\npull requests. See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the public\ncontribution paths.\n\nApproved collaborators should follow\n[`COLLABORATORS.md`](COLLABORATORS.md) for setup, formatting, testing,\ncommit message, and pull request conventions.\n\nIf you're working in this repo as an agent, start with\n[`AGENTS.md`](AGENTS.md) and the skills under\n[`.agents\u002Fskills\u002F`](.agents\u002Fskills\u002F).\n\n## License\n\nMIT. See [`LICENSE`](LICENSE).\n","Cloudflare Computer 是一个基于 Durable Object 构建的虚拟文件系统运行时，为 AI 代理或服务提供持久化、可执行的计算环境。其核心功能包括：通过 SQLite 维护权威文件状态；支持三种后端执行模式（容器级 FUSE 挂载、Isolate 中的 Bash shell、Isolate 中的 JavaScript 模块）；统一通过 workspace.runtime.exec 调用，自动按 backend 类型解析源码语义；支持无后端纯文件系统使用。技术特点涵盖跨环境状态一致性、零拷贝 RPC 同步、Durable Object 原子性保障及 Workers 生态深度集成。适用于 AI 代理沙箱、自动化工作流执行、轻量级 Serverless 计算任务等实验性场景，当前仅限原型与探索用途。",2,"2026-08-07 02:30:05","trending"]