@rljson/fs-agent 0.0.82 → 0.0.84
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/dist/fs-agent.js +1 -1
- package/package.json +5 -5
package/dist/fs-agent.js
CHANGED
|
@@ -19,7 +19,7 @@ function antiEntropyDecision(hub, view) {
|
|
|
19
19
|
if (hub.ref === currentRef) return "in-sync";
|
|
20
20
|
const authored = currentRef === lastPushedRef;
|
|
21
21
|
if (authored && hub.origin === origin) return "push";
|
|
22
|
-
const statesIAmIn = [currentRef, lastAppliedRef];
|
|
22
|
+
const statesIAmIn = authored ? [currentRef] : [currentRef, lastAppliedRef];
|
|
23
23
|
if (predecessors.some((r) => statesIAmIn.includes(r))) return "pull";
|
|
24
24
|
if (authored && hub.ref === lastAppliedRef) return "push";
|
|
25
25
|
return "merge";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rljson/fs-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"description": "Rljson fs-agent description",
|
|
5
5
|
"homepage": "https://github.com/rljson/fs-agent",
|
|
6
6
|
"bugs": "https://github.com/rljson/fs-agent/issues",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"updateGoldens": "cross-env UPDATE_GOLDENS=true pnpm test"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@rljson/server": "0.0.
|
|
31
|
+
"@rljson/server": "0.0.71",
|
|
32
32
|
"@types/node": "^25.3.1",
|
|
33
33
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
34
34
|
"@typescript-eslint/parser": "^8.56.1",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@rljson/bs": "0.0.27",
|
|
54
|
-
"@rljson/db": "0.0.
|
|
54
|
+
"@rljson/db": "0.0.48",
|
|
55
55
|
"@rljson/hash": "0.0.19",
|
|
56
56
|
"@rljson/io": "0.0.80",
|
|
57
57
|
"@rljson/json": "0.0.23",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
],
|
|
66
66
|
"overrides": {
|
|
67
67
|
"@rljson/bs": "0.0.27",
|
|
68
|
-
"@rljson/db": "0.0.
|
|
68
|
+
"@rljson/db": "0.0.48",
|
|
69
69
|
"@rljson/hash": "0.0.19",
|
|
70
70
|
"@rljson/io": "0.0.80",
|
|
71
71
|
"@rljson/json": "0.0.23",
|
|
72
72
|
"@rljson/rljson": "0.0.83",
|
|
73
|
-
"@rljson/server": "0.0.
|
|
73
|
+
"@rljson/server": "0.0.71"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"packageManager": "pnpm@10.11.0"
|