| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Merge in workspace-fs package and docs Bring the @cloudflare/workspace-fs scaffold and the workspace design docs into this repo from the workspace-fs-start branch. The new packages/workspace-fs is a durable-object-SQLite-backed virtual filesystem package. Schema init and path canonicalization are implemented; the public filesystem API (readFile, writeFile, rm, mkdir, readdir, stat, find, ls, grep) is scaffolded but not yet wired. vitest covers path canonicalization and schema initialization. The docs/ tree holds ten design docs covering directory structure, sync protocol, filesystem schema and interface, shell, mount, injected service, capnweb interface, tool interface, and project layout. The shared tsconfig.base.json is dropped in favor of self-contained tsconfigs per package: wsd needs CommonJS / Node resolution for the pkg binary build, workspace-fs needs ESM / bundler resolution for Workers, and a single base could not serve both without one of them overriding every relevant compiler option. A root `npm typecheck` script fans out across workspaces. | 3 个月前 |