├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── check.yml │ ├── package-size.yml │ ├── pre-release.yml │ └── release.yml ├── .gitignore ├── .mise.toml ├── .npmrc ├── .prettierignore ├── .serena └── project.yml ├── CHANGELOG.md ├── CLAUDE.md ├── LICENSE ├── README.md ├── assets └── y-durableobjects-icon.png ├── eslint.config.js ├── example ├── README.md ├── apps │ ├── web │ │ ├── .gitignore │ │ ├── README.md │ │ ├── biome.json │ │ ├── index.html │ │ ├── package.json │ │ ├── public │ │ │ └── vite.svg │ │ ├── src │ │ │ ├── adapters │ │ │ │ └── client.ts │ │ │ ├── assets │ │ │ │ └── react.svg │ │ │ ├── description │ │ │ │ ├── index.tsx │ │ │ │ └── styles.module.css │ │ │ ├── editor │ │ │ │ ├── config.ts │ │ │ │ ├── index.tsx │ │ │ │ └── provider.ts │ │ │ ├── main.tsx │ │ │ ├── styles.css │ │ │ └── vite-env.d.ts │ │ ├── tsconfig.json │ │ ├── tsconfig.node.json │ │ └── vite.config.ts │ └── workers │ │ ├── .gitignore │ │ ├── README.md │ │ ├── biome.json │ │ ├── package.json │ │ ├── src │ │ ├── index.ts │ │ └── types.ts │ │ ├── tsconfig.json │ │ └── wrangler.toml ├── biome.json ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── turbo.json └── workspace.code-workspace ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── e2e │ ├── e2e.test.ts │ ├── helper.ts │ ├── index.ts │ ├── types.d.ts │ └── y-durableobjects.test.ts ├── index.ts ├── middleware │ ├── index.ts │ └── upgrade.test.ts └── yjs │ ├── client │ ├── setup.test.ts │ └── setup.ts │ ├── hono │ ├── create-app.test.ts │ └── index.ts │ ├── index.ts │ ├── internal.ts │ ├── message-type │ ├── index.ts │ └── messaeg-type.test.ts │ ├── remote │ ├── index.ts │ ├── ws-shared-doc.test.ts │ └── ws-shared-doc.ts │ └── storage │ ├── index.ts │ ├── storage-key │ ├── index.ts │ └── storage-key.test.ts │ ├── storage.test.ts │ └── type.ts ├── tsconfig.json ├── tsup.config.ts ├── vitest.config.ts ├── worker-configuration.d.ts ├── workspace.code-workspace └── wrangler.toml /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/check.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.github/workflows/check.yml -------------------------------------------------------------------------------- /.github/workflows/package-size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.github/workflows/package-size.yml -------------------------------------------------------------------------------- /.github/workflows/pre-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.github/workflows/pre-release.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .turbo 3 | dist 4 | build 5 | .mcp.json 6 | .claude/ 7 | -------------------------------------------------------------------------------- /.mise.toml: -------------------------------------------------------------------------------- 1 | [tools] 2 | node = "22.14.0" 3 | pnpm = "10.8.1" 4 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.prettierignore -------------------------------------------------------------------------------- /.serena/project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/.serena/project.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/README.md -------------------------------------------------------------------------------- /assets/y-durableobjects-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/assets/y-durableobjects-icon.png -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/eslint.config.js -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/README.md -------------------------------------------------------------------------------- /example/apps/web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/.gitignore -------------------------------------------------------------------------------- /example/apps/web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/README.md -------------------------------------------------------------------------------- /example/apps/web/biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/biome.json -------------------------------------------------------------------------------- /example/apps/web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/index.html -------------------------------------------------------------------------------- /example/apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/package.json -------------------------------------------------------------------------------- /example/apps/web/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/public/vite.svg -------------------------------------------------------------------------------- /example/apps/web/src/adapters/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/adapters/client.ts -------------------------------------------------------------------------------- /example/apps/web/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/assets/react.svg -------------------------------------------------------------------------------- /example/apps/web/src/description/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/description/index.tsx -------------------------------------------------------------------------------- /example/apps/web/src/description/styles.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/description/styles.module.css -------------------------------------------------------------------------------- /example/apps/web/src/editor/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/editor/config.ts -------------------------------------------------------------------------------- /example/apps/web/src/editor/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/editor/index.tsx -------------------------------------------------------------------------------- /example/apps/web/src/editor/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/editor/provider.ts -------------------------------------------------------------------------------- /example/apps/web/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/main.tsx -------------------------------------------------------------------------------- /example/apps/web/src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/src/styles.css -------------------------------------------------------------------------------- /example/apps/web/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/apps/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/tsconfig.json -------------------------------------------------------------------------------- /example/apps/web/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/tsconfig.node.json -------------------------------------------------------------------------------- /example/apps/web/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/web/vite.config.ts -------------------------------------------------------------------------------- /example/apps/workers/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/.gitignore -------------------------------------------------------------------------------- /example/apps/workers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/README.md -------------------------------------------------------------------------------- /example/apps/workers/biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/biome.json -------------------------------------------------------------------------------- /example/apps/workers/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/package.json -------------------------------------------------------------------------------- /example/apps/workers/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/src/index.ts -------------------------------------------------------------------------------- /example/apps/workers/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/src/types.ts -------------------------------------------------------------------------------- /example/apps/workers/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/tsconfig.json -------------------------------------------------------------------------------- /example/apps/workers/wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/apps/workers/wrangler.toml -------------------------------------------------------------------------------- /example/biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/biome.json -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/package.json -------------------------------------------------------------------------------- /example/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/pnpm-lock.yaml -------------------------------------------------------------------------------- /example/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - "apps/*" -------------------------------------------------------------------------------- /example/turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/turbo.json -------------------------------------------------------------------------------- /example/workspace.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/example/workspace.code-workspace -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /src/e2e/e2e.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/e2e/e2e.test.ts -------------------------------------------------------------------------------- /src/e2e/helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/e2e/helper.ts -------------------------------------------------------------------------------- /src/e2e/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/e2e/index.ts -------------------------------------------------------------------------------- /src/e2e/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/e2e/types.d.ts -------------------------------------------------------------------------------- /src/e2e/y-durableobjects.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/e2e/y-durableobjects.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/middleware/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/middleware/index.ts -------------------------------------------------------------------------------- /src/middleware/upgrade.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/middleware/upgrade.test.ts -------------------------------------------------------------------------------- /src/yjs/client/setup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/client/setup.test.ts -------------------------------------------------------------------------------- /src/yjs/client/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/client/setup.ts -------------------------------------------------------------------------------- /src/yjs/hono/create-app.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/hono/create-app.test.ts -------------------------------------------------------------------------------- /src/yjs/hono/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/hono/index.ts -------------------------------------------------------------------------------- /src/yjs/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/index.ts -------------------------------------------------------------------------------- /src/yjs/internal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/internal.ts -------------------------------------------------------------------------------- /src/yjs/message-type/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/message-type/index.ts -------------------------------------------------------------------------------- /src/yjs/message-type/messaeg-type.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/message-type/messaeg-type.test.ts -------------------------------------------------------------------------------- /src/yjs/remote/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/remote/index.ts -------------------------------------------------------------------------------- /src/yjs/remote/ws-shared-doc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/remote/ws-shared-doc.test.ts -------------------------------------------------------------------------------- /src/yjs/remote/ws-shared-doc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/remote/ws-shared-doc.ts -------------------------------------------------------------------------------- /src/yjs/storage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/storage/index.ts -------------------------------------------------------------------------------- /src/yjs/storage/storage-key/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/storage/storage-key/index.ts -------------------------------------------------------------------------------- /src/yjs/storage/storage-key/storage-key.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/storage/storage-key/storage-key.test.ts -------------------------------------------------------------------------------- /src/yjs/storage/storage.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/storage/storage.test.ts -------------------------------------------------------------------------------- /src/yjs/storage/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/src/yjs/storage/type.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/vitest.config.ts -------------------------------------------------------------------------------- /worker-configuration.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/worker-configuration.d.ts -------------------------------------------------------------------------------- /workspace.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/workspace.code-workspace -------------------------------------------------------------------------------- /wrangler.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/napolab/y-durableobjects/HEAD/wrangler.toml --------------------------------------------------------------------------------