9d99a4ac23
split: sync-client utils and errors reorganization
...
Move error classes from services/ and file-operations/ into a new errors/
directory (authentication-error, server-version-mismatch-error,
sync-reset-error, file-not-found-error), plus add file-already-exists-error
and http-client-error. Update consts.ts and utils/* (await-all,
create-client-id, hash, rate-limit, find-matching-file). Replace
data-structures (locks, min-covered, event-listeners, fix-sized-cache) and
add debugging utilities (in-memory-file-system, log-to-console,
slow-web-socket-factory). Removes utils/create-promise.ts.
2026-05-08 21:36:29 +01:00
f6dccc4492
Try fixing E2E tests more
2025-12-11 22:08:48 +00:00
b05e415acf
Apply editorconfig
2025-12-07 16:42:23 +00:00
9349afc00f
Run lint & fmt
2025-11-30 15:24:52 +00:00
d07fa32ba3
Format
2025-11-30 15:24:52 +00:00
10bde4bc3a
Fix race condition of client-side path deconflicting
2025-11-30 15:24:52 +00:00
4456767ec4
Clean up
2025-11-30 15:24:52 +00:00
7a95d9f0a8
Use named group
2025-11-30 15:24:52 +00:00
82f11d8c86
Fix testing logic
2025-11-30 15:24:52 +00:00
c3cbde052a
Add server config for mergable extensions
2025-11-30 15:24:52 +00:00
18be9f4dd8
Fix lint
2025-11-30 15:24:52 +00:00
c94d732f24
Fix resetting
2025-11-30 15:24:52 +00:00
10fd928459
Fix file operations
2025-11-30 15:24:52 +00:00
51baa4d8e0
Have the same error message for file not found
2025-11-30 15:24:52 +00:00
f11c8db6d2
Replace all instead of just replace
2025-11-30 15:24:52 +00:00
56c1f4d58b
Restructure packages
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
1ddba47b80
Fix folder deletion ( #140 )
2025-10-20 20:24:35 +01:00
0ff3bb5967
Migrate from Jest to node:test ( #115 )
2025-08-30 10:38:08 +01:00
a36a24effc
Fix main & improve cursor sync ( #101 )
2025-08-25 17:15:52 +01:00
bb0e44f06f
Extract reconcile ( #85 )
2025-07-13 11:06:42 +01:00
383e2868c2
Small improvements
2025-05-24 13:56:06 +01:00
0cd2e9175f
Print pending id
2025-05-23 21:57:41 +01:00
23684c982e
Add comment
2025-04-13 22:23:35 +01:00
1f9728d893
Add cursor moving ( #19 )
2025-04-02 22:06:38 +01:00
1aad0fce31
Add WebSocket support ( #12 )
2025-03-29 10:17:46 +00:00
ba90fc0b41
Lint & format
2025-03-22 12:09:07 +00:00
79eb4f6c7b
Add lineending support and clean up
2025-03-22 12:05:16 +00:00
087d38f570
Extract error
2025-03-22 12:01:15 +00:00
16aac488cc
Add docs
2025-03-22 12:01:06 +00:00
7dcdc98b60
Fix testing setup
2025-03-22 11:53:20 +00:00
60f859b984
Improve docs
2025-03-22 11:44:37 +00:00
b00b9521c6
Sync all file types
2025-03-20 20:49:23 +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
bcf48c428d
Log inside locks
2025-03-01 17:58:55 +00:00
0b5f3f3921
Don't trigger delete
2025-02-25 22:53:25 +00:00
d0302a72c3
Fix correctness issues
2025-02-25 22:18:47 +00:00
a7b518d7ea
Fix deconflicting
2025-02-24 23:01:24 +00:00
e186a593ff
Extract helper and lint
2025-02-24 22:46:45 +00:00
4daa8ce7c7
Deconflict local renames
2025-02-23 21:35:07 +00:00
c69f84edf5
Fix agent behaviour
2025-02-23 16:45:52 +00:00
cd70f8b426
Lint
2025-02-23 10:44:51 +00:00
f8dcd33d3e
Lint & format
2025-02-23 10:13:34 +00:00
0612f15aad
Add FileNotFoundError error
2025-02-23 10:04:20 +00:00
ca225a71be
Lint & format
2025-02-22 17:25:26 +00:00
f73b5ecb71
Fixes & refactor
2025-02-22 17:17:07 +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
fde1fecbb6
Move file handling logic inside of client
2025-02-22 11:09:28 +00:00