| docs: Drop the HTTP batch alternative from the wire description Two places still introduced the wire as a WebSocket "with an HTTP batch alternative" while the paragraphs below them explained why there is no such alternative. Say it once, in the opening, and give the reason: capnweb's batch transport cannot deliver a stream returned from a call, and every read on this interface returns one. | 20 天前 |
| dofs, rpc: Include node_modules in sync Make sync filtering opt-in so package manager installs are preserved across workspace runtimes. Keep explicit ignore patterns available for callers that need to omit derived files. | 19 天前 |
| examples/mcp: Add deployable Computer MCP (#28) Co-authored-by: scuffi <aferguson@cloudflare.com> | 27 天前 |
| computer, rpc: Fence deferred sync retries Settle the remote filesystem before capturing a deferred sync target and merge later command targets into an existing durable intent. Treat bounded batch completion as progress rather than a failed retry. Keep canceled command streams draining until the command finishes, and leave already-satisfied pull cursors in place. | 17 天前 |
| examples/rlm: Add a structured RLM example (#122) * examples/rlm: Add a structured RLM example Show how Computer Workspaces, generated JavaScript, and a bounded trusted model module can implement map/reduce over long context. Compare direct context, JavaScript-only execution, and Structured RLM on official Oolong tasks with observable scoring and usage. * examples/rlm: Show rejected executor output Keep successful JavaScript executions visible when their returned shape cannot be scored. Sanitize invalid output into a metadata-only summary and explain the semantic capability mismatch in the comparison UI. | 4 天前 |
| computer: Rename exec sync modes Use the action-oriented `wait` and `defer` values to describe whether execution waits for post-command synchronization or records it for later. | 17 天前 |
| computerd: Move the watermarks route under /api The route read sync revisions through rpc.sync.watermarks() but sat at /__computerd/watermarks, alongside runtime info and process memory. Those report on the daemon; this reports the workspace, and it returns exactly what a session would. It is now /api/watermarks, which draws the line where it belongs: /api is the workspace surface, including anything that reads through it, and /__computerd is daemon introspection. Only the exact /api path upgrades, so a handshake aimed at the subpath still answers 404, and the shared secret covers the new path the same way it covered the old one. | 20 天前 |
| Rename workspace-rpc package to rpc and adopt biome Rename the @cloudflare/workspace-rpc package directory from packages/workspace-rpc to packages/rpc and move its `wire.test.ts` under a dedicated tests/ directory. Imports and package metadata across the tree pick up the new path; the published package name is unaffected. Add an .editorconfig and a biome.jsonc (renamed from biome.json to allow comments) configuring a 100-character line width, double-quoted strings, trailing commas, and broad file globs that exclude node_modules, dist, artifacts, and the lockfile. The linter stays off for now; only the formatter is enabled. The wsd-container example tightens its Dockerfile, README, wrangler.jsonc, and tsconfig; the durable object route handler in its index.ts gets a small refactor that matches the renamed package paths. AGENTS.md documents how to run a single test file inside a package. README.md gains a one-line fix. | 3 个月前 |
| Add celld example (#100) `@cloudflare/computer` did not have an example showing how a Workspace and an Agents chat application run on celld. celld has no managed Workers AI binding, and its current Worker Loader cannot pass the Workspace filesystem capability into a loaded Worker, so existing Workers patterns do not run unchanged. This adds a prototype centered on one `CelldAgent` durable object. `AIChatAgent` and `withWorkspace` share the same SQLite storage, `routeAgentRequest` exposes the standard Agents WebSocket route, and `createAITools()` gives the model the Workspace tools. The local harness starts an S3-compatible store, deploys the Worker, and enables celld's experimental Worker Loader. An AI SDK terminal client and a noninteractive smoke client use the same chat transport. The model calls the Workers AI REST API with an account ID and API token. The callable `exec` backend runs complete JavaScript modules with structured input and output; its tool description shows the required default export. Filesystem work stays in the dedicated Workspace tools because the loaded Worker cannot access the Workspace mount. | 26 天前 |
| script: Run the whole exec-tests suite outside workerd The last section of exec-tests exercises Workspace.runtime through the high-level facade, and it had never run. It imported TestBackend and Workspace from per-file dist paths, which the bundler does not emit and never has, so the script died on a module resolution error after the seven wire-level checks passed. Those symbols live on the package's main entry, which cannot be imported under plain node: it re-exports WorkspaceProxy, extending WorkerEntrypoint from cloudflare:workers, and that specifier only resolves inside workerd. A node --import hook now registers a resolve hook for the specifier and answers with stub classes, which is enough to satisfy `class X extends Y` at module evaluation time. Nothing in the stub is ever constructed. The alternative was adding build entries for each file the script wants, which would duplicate bundled code in a published package to suit a harness. Also correct the soak entry in the script list, which still described the two-container topology. | 20 天前 |
| ci: Version packages in lockstep Treat the public package and its private implementation packages as one fixed Changesets group. The existing version script keeps the derivative computerd image package on the same version. | 27 天前 |
| docs: Route contributions through issues (#48) Split public contributor guidance from collaborator workflow. CONTRIBUTING now points public bug reports, fix proposals, feature requests, and design proposals to issues and discussions, while COLLABORATORS keeps the setup, check, commit, and pull request mechanics for approved collaborators. Add GitHub templates and a pull_request_target workflow that closes outside pull requests unless they come from a repository collaborator, an allowed bot, or carry the allow-pr label. | 1 个月前 |
| docs: Add license | 3 个月前 |
| examples/rlm: Add a structured RLM example (#122) * examples/rlm: Add a structured RLM example Show how Computer Workspaces, generated JavaScript, and a bounded trusted model module can implement map/reduce over long context. Compare direct context, JavaScript-only execution, and Structured RLM on official Oolong tasks with observable scoring and usage. * examples/rlm: Show rejected executor output Keep successful JavaScript executions visible when their returned shape cannot be scored. Sanitize invalid output into a metadata-only summary and explain the semantic capability mismatch in the comparison UI. | 4 天前 |
| examples/tutorial: add a minimal PDF recipe card agent (#22) A one-file example of a Think agiet whose working directory is a Workspace backed by a Cloudflare Container. POST /prompt with a dish name and the agent finds a recipe on openstove.org with the webfetch tool, writes a markdown card through the workspace on the host, converts it with pandoc in the container, and the worker puts the resulting PDF in R2 and answers with a link to it. The point of the example is the shared filesystem: the write happens on the host and the pandoc run happens in the container, with no copying in between. The container image installs pandoc and typst rather than a LaTeX distribution, which keeps the PDF engine to a single 30 MB binary. The README contains a step-by-step guide to reproducing the application. | 1 个月前 |
| build(deps): bump fast-uri from 3.1.4 to 3.1.7 Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.7. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.4...v3.1.7) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> | 21 小时前 |
| examples/mcp: Add deployable Computer MCP (#28) Co-authored-by: scuffi <aferguson@cloudflare.com> | 27 天前 |