zerodrift 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +26 -0
- package/README.md +14 -1
- package/package.json +3 -2
package/NOTICE
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
zerodrift
|
|
2
|
+
Copyright (c) 2026 selasijean
|
|
3
|
+
|
|
4
|
+
This product is licensed under the MIT License. See the LICENSE file.
|
|
5
|
+
|
|
6
|
+
Inspiration and attribution
|
|
7
|
+
---------------------------
|
|
8
|
+
|
|
9
|
+
zerodrift was shaped by public writing and talks about local-first sync engine
|
|
10
|
+
design, especially:
|
|
11
|
+
|
|
12
|
+
- Wenzhao Hu, "Reverse Engineering Linear's Sync Engine: A Detailed
|
|
13
|
+
Study" (https://github.com/wzhudev/reverse-linear-sync-engine)
|
|
14
|
+
- Tuomas Artman's React Helsinki talk on Linear's realtime sync
|
|
15
|
+
(https://www.youtube.com/watch?v=WxK11RsLqp4)
|
|
16
|
+
|
|
17
|
+
Wenzhao Hu's writeup is © 2025 Wenzhao Hu and licensed under the Creative
|
|
18
|
+
Commons Attribution 4.0 International License:
|
|
19
|
+
https://creativecommons.org/licenses/by/4.0/
|
|
20
|
+
|
|
21
|
+
zerodrift is an independent TypeScript implementation. It defines its own small
|
|
22
|
+
three-endpoint sync protocol and ships its own client/server reference code. It
|
|
23
|
+
contains no Linear or other third-party source code.
|
|
24
|
+
|
|
25
|
+
Linear is a trademark of its respective owner. zerodrift is not affiliated
|
|
26
|
+
with, endorsed by, or sponsored by Linear.
|
package/README.md
CHANGED
|
@@ -360,6 +360,19 @@ Deeper material lives in [agent-docs/](agent-docs/):
|
|
|
360
360
|
- **Reference server**: Go, Gin, Bun ORM, Postgres (LISTEN/NOTIFY), pgx
|
|
361
361
|
- **Protocol**: append-only changelog, monotonic sync id, sync group filtering
|
|
362
362
|
|
|
363
|
+
## Acknowledgments
|
|
364
|
+
|
|
365
|
+
zerodrift was informed by public writing and talks on local-first sync
|
|
366
|
+
engines. Two especially helpful references were Wenzhao Hu's "Reverse
|
|
367
|
+
Engineering Linear's Sync Engine: A Detailed Study"
|
|
368
|
+
([wzhudev/reverse-linear-sync-engine](https://github.com/wzhudev/reverse-linear-sync-engine))
|
|
369
|
+
and Tuomas Artman's React Helsinki talk on
|
|
370
|
+
[Linear's realtime sync](https://www.youtube.com/watch?v=WxK11RsLqp4).
|
|
371
|
+
|
|
372
|
+
This project is an independent TypeScript implementation and is not affiliated
|
|
373
|
+
with Linear.
|
|
374
|
+
|
|
363
375
|
## License
|
|
364
376
|
|
|
365
|
-
MIT — see [LICENSE](LICENSE).
|
|
377
|
+
MIT — see [LICENSE](LICENSE). The MIT grant covers zerodrift's own code.
|
|
378
|
+
See [NOTICE](NOTICE) for inspiration and attribution notes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zerodrift",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A TypeScript local-first sync engine: synchronous in-memory reads, optimistic writes, realtime SSE sync, offline IndexedDB persistence. Runs in the browser and in Node.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"./package.json": "./package.json"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
52
|
-
"dist"
|
|
52
|
+
"dist",
|
|
53
|
+
"NOTICE"
|
|
53
54
|
],
|
|
54
55
|
"engines": {
|
|
55
56
|
"node": ">=18"
|