polylinedb: A task and memory store on Cloudflare for cloud agents
说明与用途
polylinedb 是一个基于 Cloudflare D1 的云优先任务和内存存储,支持本地和云代理共享访问、冲突处理和迁移。
问题
Local and cloud agents needed a shared store for tasks and project knowledge that survives host changes and avoids pulling/pushing separate copies.
结果
The author successfully deployed polylinedb in their Cloudflare account, enabling local and cloud agents to share tasks and memory, with conflict resolution and migration support.
工作流
- 1. Deploy polylinedb on Cloudflare using cf CLI. 2. Configure Access for OAuth authentication. 3. Use the local CLI (pd) to list unfinished work and retrieve memory. 4. Cloud agents use MCP to create, read, and update issues and memory. 5. Agents handle stale updates by rejecting them and re‑reading.
- 6. Migrate local SQLite records to the cloud store via the migration guide.
证据
I built polylinedb so my local tools and cloud agents can use the same tasks and project knowledge.
I wanted a store I could operate in my own account without maintaining a database server.
Cloud agents can retrieve the same records through MCP.
polylinedb rejects the stale update so the agent can read again and reconsider.
- 记录日期: 2026-10-04T06:41:19.187Z