Commit graph

43 commits

Author SHA1 Message Date
d4b68154df Export consts 2025-11-30 15:24:52 +00:00
f11c8db6d2 Replace all instead of just replace 2025-11-30 15:24:52 +00:00
be1635c26e
Improve network usage for small text changes (#166) 2025-11-16 22:10:22 +00:00
0ff3bb5967
Migrate from Jest to node:test (#115) 2025-08-30 10:38:08 +01:00
376008de54
Improve editor sync status line 2025-08-28 21:55:43 +01:00
a36a24effc
Fix main & improve cursor sync (#101) 2025-08-25 17:15:52 +01:00
81b81e30ff
Use unknown return type for callbacks 2025-08-17 15:12:31 +01:00
278fa912df
Rename field 2025-08-17 11:14:16 +01:00
bb07602c68
Send document versions with cursors 2025-08-10 14:55:40 +01:00
e8b9bf40c5
Add API for propagating cursor locations (#61) 2025-06-08 20:20:52 +01:00
ffeec19ca7
Include content size in response 2025-05-24 11:17:34 +01:00
70fe45a09d
Rename user-agent header to device-id 2025-05-22 22:24:30 +01:00
5448c1cf99
Update API types 2025-05-22 21:42:34 +01:00
7776b69a0b
Update API types 2025-05-14 22:15:57 +01:00
b26552fc1f
Update API types 2025-04-08 23:05:06 +01:00
3ec6bd4d5b
Allow overriding WebSocket implementation and add flaky version for testing 2025-04-07 23:13:45 +01:00
a25027bc90
Send device id to server 2025-04-04 23:15:05 +01:00
11e2d121b1
Update API types 2025-04-04 22:02:24 +01:00
c5af0d40d8
Pick up changed ping API 2025-03-29 12:28:12 +00:00
7413299cec
Fix typo 2025-03-29 12:26:59 +00:00
1aad0fce31
Add WebSocket support (#12) 2025-03-29 10:17:46 +00:00
e9c6f99df2
Give unique names to path params 2025-03-22 20:30:24 +00:00
7153c06c63
Lint 2025-03-22 18:10:50 +00:00
1b57e277a2
Use consistent vault name 2025-03-22 17:22:09 +00:00
8cfbaa1bda
Fix reset flow 2025-03-22 17:21:59 +00:00
a937f64fa0
Extract reset error 2025-03-22 17:07:04 +00:00
c7e53bff26
Hoist retry logic 2025-03-22 16:15:33 +00:00
3501394de5
Respect sync enabled on load 2025-03-22 14:06:30 +00:00
2722f7c7fc
Stop exposing Syncer from SyncClient 2025-03-22 13:48:01 +00:00
ba90fc0b41
Lint & format 2025-03-22 12:09:07 +00:00
149b8a1de5
Lint connection status 2025-03-22 11:12:53 +00:00
a9223156a6
Inline fetch-retry with cancellation 2025-03-20 20:49:00 +00:00
8b8f1d91d9
Fix syncing when network latency is present (#4)
* WIP

* Add debug

* Dedupe inserts

* Add deterministic ordering

* Fix whitespaces

* Update insta

* Add integration test script

* Rename

* Add test

* Working for non-deletes

* omg it mostly works for deletes

* Isdeleted fix

* remove created dates

* update api

* Take document id

* No max attempt

* works

* Use string uuids

* .

* working!!!! (hopefully)

* Improve bundling

* Add module

* lint

* .

* lint

* Fix CI

* use toolchain

* clean up

* Add useSlowFileEvents

* Delete fuzz

* Fix CI

* use docker

* fix script

* clean up

* Clean up

* change node version

* Build docker image on every commit

* fix ci

* 1 db per vault

* Add scritps folder

* Bump versions

* Lint

* .

* Fix tests for real

* Style

* .

* try

* Consistent ordering

* Fix tests

* hmm

* .

* Clean up diff

* Fixes

* .

* Fix version bump

* .

* .

* .
2025-03-16 20:13:49 +00:00
e493b98a24
Don't merge with existing document on create for correctness reasons 2025-02-26 23:11:46 +00:00
9cebf53707
Allow overriding fetch implementation 2025-02-25 22:52:47 +00:00
c69f84edf5
Fix agent behaviour 2025-02-23 16:45:52 +00:00
abba023c20
Gate settings updates 2025-02-23 14:47:20 +00:00
ca225a71be
Lint & format 2025-02-22 17:25:26 +00:00
3471a9c498
Stop Logger being a singleton 2025-02-22 15:11:59 +00:00
b0192aae23
Lint & add comments 2025-02-22 12:57:09 +00:00
eb1ad9921a
Simplify API 2025-02-20 22:22:20 +00:00
614e4a780a
Extract settings from database 2025-02-19 21:32:40 +00:00
dd6f63f357
Move files 2025-02-19 20:47:52 +00:00