pushwork 2.0.0-preview.3 → 2.0.0-preview.5
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/branches.d.ts +2 -1
- package/dist/branches.d.ts.map +1 -1
- package/dist/branches.js +23 -4
- package/dist/branches.js.map +1 -1
- package/dist/checkpoints.d.ts +41 -0
- package/dist/checkpoints.d.ts.map +1 -0
- package/dist/checkpoints.js +210 -0
- package/dist/checkpoints.js.map +1 -0
- package/dist/cli.js +14 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/pushwork.d.ts +22 -7
- package/dist/pushwork.d.ts.map +1 -1
- package/dist/pushwork.js +144 -18
- package/dist/pushwork.js.map +1 -1
- package/dist/stash.d.ts +2 -0
- package/dist/stash.d.ts.map +1 -1
- package/dist/stash.js +1 -0
- package/dist/stash.js.map +1 -1
- package/package.json +2 -2
- package/dist/cli/commands.d.ts +0 -71
- package/dist/cli/commands.d.ts.map +0 -1
- package/dist/cli/commands.js +0 -794
- package/dist/cli/commands.js.map +0 -1
- package/dist/cli/index.d.ts +0 -2
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -19
- package/dist/cli/index.js.map +0 -1
- package/dist/commands.d.ts +0 -58
- package/dist/commands.d.ts.map +0 -1
- package/dist/commands.js +0 -975
- package/dist/commands.js.map +0 -1
- package/dist/config/index.d.ts +0 -71
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -314
- package/dist/config/index.js.map +0 -1
- package/dist/core/change-detection.d.ts +0 -80
- package/dist/core/change-detection.d.ts.map +0 -1
- package/dist/core/change-detection.js +0 -560
- package/dist/core/change-detection.js.map +0 -1
- package/dist/core/config.d.ts +0 -81
- package/dist/core/config.d.ts.map +0 -1
- package/dist/core/config.js +0 -304
- package/dist/core/config.js.map +0 -1
- package/dist/core/index.d.ts +0 -6
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -22
- package/dist/core/index.js.map +0 -1
- package/dist/core/move-detection.d.ts +0 -34
- package/dist/core/move-detection.d.ts.map +0 -1
- package/dist/core/move-detection.js +0 -128
- package/dist/core/move-detection.js.map +0 -1
- package/dist/core/snapshot.d.ts +0 -105
- package/dist/core/snapshot.d.ts.map +0 -1
- package/dist/core/snapshot.js +0 -254
- package/dist/core/snapshot.js.map +0 -1
- package/dist/core/sync-engine.d.ts +0 -177
- package/dist/core/sync-engine.d.ts.map +0 -1
- package/dist/core/sync-engine.js +0 -1471
- package/dist/core/sync-engine.js.map +0 -1
- package/dist/types/config.d.ts +0 -102
- package/dist/types/config.d.ts.map +0 -1
- package/dist/types/config.js +0 -10
- package/dist/types/config.js.map +0 -1
- package/dist/types/documents.d.ts +0 -88
- package/dist/types/documents.d.ts.map +0 -1
- package/dist/types/documents.js +0 -23
- package/dist/types/documents.js.map +0 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/types/snapshot.d.ts +0 -64
- package/dist/types/snapshot.d.ts.map +0 -1
- package/dist/types/snapshot.js +0 -3
- package/dist/types/snapshot.js.map +0 -1
- package/dist/utils/content-similarity.d.ts +0 -53
- package/dist/utils/content-similarity.d.ts.map +0 -1
- package/dist/utils/content-similarity.js +0 -155
- package/dist/utils/content-similarity.js.map +0 -1
- package/dist/utils/content.d.ts +0 -10
- package/dist/utils/content.d.ts.map +0 -1
- package/dist/utils/content.js +0 -35
- package/dist/utils/content.js.map +0 -1
- package/dist/utils/directory.d.ts +0 -24
- package/dist/utils/directory.d.ts.map +0 -1
- package/dist/utils/directory.js +0 -56
- package/dist/utils/directory.js.map +0 -1
- package/dist/utils/fs.d.ts +0 -74
- package/dist/utils/fs.d.ts.map +0 -1
- package/dist/utils/fs.js +0 -298
- package/dist/utils/fs.js.map +0 -1
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -21
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/mime-types.d.ts +0 -13
- package/dist/utils/mime-types.d.ts.map +0 -1
- package/dist/utils/mime-types.js +0 -247
- package/dist/utils/mime-types.js.map +0 -1
- package/dist/utils/network-sync.d.ts +0 -30
- package/dist/utils/network-sync.d.ts.map +0 -1
- package/dist/utils/network-sync.js +0 -391
- package/dist/utils/network-sync.js.map +0 -1
- package/dist/utils/node-polyfills.d.ts +0 -9
- package/dist/utils/node-polyfills.d.ts.map +0 -1
- package/dist/utils/node-polyfills.js +0 -9
- package/dist/utils/node-polyfills.js.map +0 -1
- package/dist/utils/output.d.ts +0 -129
- package/dist/utils/output.d.ts.map +0 -1
- package/dist/utils/output.js +0 -375
- package/dist/utils/output.js.map +0 -1
- package/dist/utils/repo-factory.d.ts +0 -15
- package/dist/utils/repo-factory.d.ts.map +0 -1
- package/dist/utils/repo-factory.js +0 -156
- package/dist/utils/repo-factory.js.map +0 -1
- package/dist/utils/string-similarity.d.ts +0 -14
- package/dist/utils/string-similarity.d.ts.map +0 -1
- package/dist/utils/string-similarity.js +0 -43
- package/dist/utils/string-similarity.js.map +0 -1
- package/dist/utils/text-diff.d.ts +0 -37
- package/dist/utils/text-diff.d.ts.map +0 -1
- package/dist/utils/text-diff.js +0 -131
- package/dist/utils/text-diff.js.map +0 -1
- package/dist/utils/trace.d.ts +0 -19
- package/dist/utils/trace.d.ts.map +0 -1
- package/dist/utils/trace.js +0 -68
- package/dist/utils/trace.js.map +0 -1
- package/patches/@automerge__automerge-repo@2.6.0-subduction.15.patch +0 -26
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContentSimilarity = void 0;
|
|
4
|
-
const fs_1 = require("./fs");
|
|
5
|
-
/**
|
|
6
|
-
* Content similarity calculation for move detection
|
|
7
|
-
*/
|
|
8
|
-
class ContentSimilarity {
|
|
9
|
-
/**
|
|
10
|
-
* Calculate similarity between two content pieces
|
|
11
|
-
*/
|
|
12
|
-
static async calculateSimilarity(content1, content2) {
|
|
13
|
-
// Quick early exit for identical content
|
|
14
|
-
if (await this.areIdentical(content1, content2)) {
|
|
15
|
-
return 1.0;
|
|
16
|
-
}
|
|
17
|
-
// Size-based quick rejection
|
|
18
|
-
const size1 = typeof content1 === "string" ? content1.length : content1.length;
|
|
19
|
-
const size2 = typeof content2 === "string" ? content2.length : content2.length;
|
|
20
|
-
const sizeDiff = Math.abs(size1 - size2) / Math.max(size1, size2);
|
|
21
|
-
if (sizeDiff > 0.5) {
|
|
22
|
-
return 0.0; // Too different in size
|
|
23
|
-
}
|
|
24
|
-
// For small files, use full content comparison
|
|
25
|
-
if (size1 < this.CHUNK_SIZE * 4 && size2 < this.CHUNK_SIZE * 4) {
|
|
26
|
-
return this.calculateFullSimilarity(content1, content2);
|
|
27
|
-
}
|
|
28
|
-
// For large files, use sampling
|
|
29
|
-
return this.calculateSampledSimilarity(content1, content2);
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if two content pieces are identical
|
|
33
|
-
*/
|
|
34
|
-
static async areIdentical(content1, content2) {
|
|
35
|
-
const hash1 = await (0, fs_1.calculateContentHash)(content1);
|
|
36
|
-
const hash2 = await (0, fs_1.calculateContentHash)(content2);
|
|
37
|
-
return hash1 === hash2;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Calculate similarity for small files using full content
|
|
41
|
-
*/
|
|
42
|
-
static calculateFullSimilarity(content1, content2) {
|
|
43
|
-
const str1 = typeof content1 === "string" ? content1 : this.bufferToString(content1);
|
|
44
|
-
const str2 = typeof content2 === "string" ? content2 : this.bufferToString(content2);
|
|
45
|
-
return this.levenshteinSimilarity(str1, str2);
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Calculate similarity for large files using sampling
|
|
49
|
-
*/
|
|
50
|
-
static calculateSampledSimilarity(content1, content2) {
|
|
51
|
-
const samples1 = this.getSamples(content1);
|
|
52
|
-
const samples2 = this.getSamples(content2);
|
|
53
|
-
let totalSimilarity = 0;
|
|
54
|
-
let comparisons = 0;
|
|
55
|
-
for (let i = 0; i < Math.min(samples1.length, samples2.length); i++) {
|
|
56
|
-
totalSimilarity += this.levenshteinSimilarity(samples1[i], samples2[i]);
|
|
57
|
-
comparisons++;
|
|
58
|
-
}
|
|
59
|
-
return comparisons > 0 ? totalSimilarity / comparisons : 0;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Get representative samples from content
|
|
63
|
-
*/
|
|
64
|
-
static getSamples(content) {
|
|
65
|
-
const str = typeof content === "string" ? content : this.bufferToString(content);
|
|
66
|
-
const length = str.length;
|
|
67
|
-
const samples = [];
|
|
68
|
-
if (length <= this.CHUNK_SIZE) {
|
|
69
|
-
samples.push(str);
|
|
70
|
-
return samples;
|
|
71
|
-
}
|
|
72
|
-
// Beginning
|
|
73
|
-
samples.push(str.slice(0, this.CHUNK_SIZE));
|
|
74
|
-
// Middle
|
|
75
|
-
const midStart = Math.floor(length / 2) - Math.floor(this.CHUNK_SIZE / 2);
|
|
76
|
-
samples.push(str.slice(midStart, midStart + this.CHUNK_SIZE));
|
|
77
|
-
// End
|
|
78
|
-
samples.push(str.slice(-this.CHUNK_SIZE));
|
|
79
|
-
return samples;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Calculate Levenshtein similarity (0-1 scale)
|
|
83
|
-
*/
|
|
84
|
-
static levenshteinSimilarity(str1, str2) {
|
|
85
|
-
if (str1 === str2)
|
|
86
|
-
return 1.0;
|
|
87
|
-
if (str1.length === 0 || str2.length === 0)
|
|
88
|
-
return 0.0;
|
|
89
|
-
const distance = this.levenshteinDistance(str1, str2);
|
|
90
|
-
const maxLength = Math.max(str1.length, str2.length);
|
|
91
|
-
return 1 - distance / maxLength;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Calculate Levenshtein distance
|
|
95
|
-
*/
|
|
96
|
-
static levenshteinDistance(str1, str2) {
|
|
97
|
-
const matrix = Array(str2.length + 1)
|
|
98
|
-
.fill(null)
|
|
99
|
-
.map(() => Array(str1.length + 1).fill(null));
|
|
100
|
-
for (let i = 0; i <= str1.length; i++)
|
|
101
|
-
matrix[0][i] = i;
|
|
102
|
-
for (let j = 0; j <= str2.length; j++)
|
|
103
|
-
matrix[j][0] = j;
|
|
104
|
-
for (let j = 1; j <= str2.length; j++) {
|
|
105
|
-
for (let i = 1; i <= str1.length; i++) {
|
|
106
|
-
const indicator = str1[i - 1] === str2[j - 1] ? 0 : 1;
|
|
107
|
-
matrix[j][i] = Math.min(matrix[j][i - 1] + 1, // deletion
|
|
108
|
-
matrix[j - 1][i] + 1, // insertion
|
|
109
|
-
matrix[j - 1][i - 1] + indicator // substitution
|
|
110
|
-
);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
return matrix[str2.length][str1.length];
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Convert buffer to string for comparison
|
|
117
|
-
*/
|
|
118
|
-
static bufferToString(buffer) {
|
|
119
|
-
// For binary content, use hex representation for comparison
|
|
120
|
-
return Array.from(buffer)
|
|
121
|
-
.map((b) => b.toString(16).padStart(2, "0"))
|
|
122
|
-
.join("");
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Determine confidence level based on similarity score
|
|
126
|
-
*/
|
|
127
|
-
static getConfidenceLevel(similarity) {
|
|
128
|
-
if (similarity >= this.AUTO_THRESHOLD) {
|
|
129
|
-
return "auto";
|
|
130
|
-
}
|
|
131
|
-
else if (similarity >= this.PROMPT_THRESHOLD) {
|
|
132
|
-
return "prompt";
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return "low";
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Should auto-apply move based on similarity
|
|
140
|
-
*/
|
|
141
|
-
static shouldAutoApply(similarity) {
|
|
142
|
-
return similarity >= this.AUTO_THRESHOLD;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Should prompt user for move confirmation
|
|
146
|
-
*/
|
|
147
|
-
static shouldPromptUser(similarity) {
|
|
148
|
-
return (similarity >= this.PROMPT_THRESHOLD && similarity < this.AUTO_THRESHOLD);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
exports.ContentSimilarity = ContentSimilarity;
|
|
152
|
-
ContentSimilarity.CHUNK_SIZE = 1024; // 1KB chunks for sampling
|
|
153
|
-
ContentSimilarity.AUTO_THRESHOLD = 0.8;
|
|
154
|
-
ContentSimilarity.PROMPT_THRESHOLD = 0.5;
|
|
155
|
-
//# sourceMappingURL=content-similarity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content-similarity.js","sourceRoot":"","sources":["../../src/utils/content-similarity.ts"],"names":[],"mappings":";;;AAAA,6BAA4C;AAE5C;;GAEG;AACH,MAAa,iBAAiB;IAK5B;;OAEG;IACH,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAC9B,QAA6B,EAC7B,QAA6B;QAE7B,yCAAyC;QACzC,IAAI,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;YAChD,OAAO,GAAG,CAAC;QACb,CAAC;QAED,6BAA6B;QAC7B,MAAM,KAAK,GACT,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;QACnE,MAAM,KAAK,GACT,OAAO,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;QACnE,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC,GAAG,IAAI,CAA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C3C,IAAI,CAAC,EAAE,CAAC,CAAC;IACd,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,UAAkB;QAC1C,IAAI,UAAU,IAAI,IAAI,CAAC,cAAc,EAAE,CAAC;YACtC,OAAO,MAAM,CAAC;QAChB,CAAC;aAAM,IAAI,UAAU,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YAC/C,OAAO,QAAQ,CAAC;QAClB,CAAC;aAAM,CAAC;YACN,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,UAAkB;QACvC,OAAO,UAAU,IAAI,IAAI,CAAC,cAAc,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,UAAkB;QACxC,OAAO,CACL,UAAU,IAAI,IAAI,CAAC,gBAAgB,IAAI,UAAU,GAAG,IAAI,CAAC,cAAc,CACxE,CAAC;IACJ,CAAC;;AA3LH,8CA4LC;AA3LyB,4BAAU,GAAG,IAAI,CAAC,CAAC,0BAA0B;AAC7C,gCAAc,GAAG,GAAG,CAAC;AACrB,kCAAgB,GAAG,GAAG,CAAC"}
|
package/dist/utils/content.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compute a SHA-256 hash of file content.
|
|
3
|
-
* Used to detect local changes for artifact files without reading remote docs.
|
|
4
|
-
*/
|
|
5
|
-
export declare function contentHash(content: string | Uint8Array): string;
|
|
6
|
-
/**
|
|
7
|
-
* Compare two content pieces for equality
|
|
8
|
-
*/
|
|
9
|
-
export declare function isContentEqual(content1: string | Uint8Array | null, content2: string | Uint8Array | null): boolean;
|
|
10
|
-
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../src/utils/content.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAEhE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,EACpC,QAAQ,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,GACnC,OAAO,CAiBT"}
|
package/dist/utils/content.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.contentHash = contentHash;
|
|
4
|
-
exports.isContentEqual = isContentEqual;
|
|
5
|
-
const crypto_1 = require("crypto");
|
|
6
|
-
/**
|
|
7
|
-
* Compute a SHA-256 hash of file content.
|
|
8
|
-
* Used to detect local changes for artifact files without reading remote docs.
|
|
9
|
-
*/
|
|
10
|
-
function contentHash(content) {
|
|
11
|
-
return (0, crypto_1.createHash)("sha256").update(content).digest("hex");
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Compare two content pieces for equality
|
|
15
|
-
*/
|
|
16
|
-
function isContentEqual(content1, content2) {
|
|
17
|
-
if (content1 === content2)
|
|
18
|
-
return true;
|
|
19
|
-
if (content1 == null || content2 == null)
|
|
20
|
-
return false;
|
|
21
|
-
if (typeof content1 !== typeof content2)
|
|
22
|
-
return false;
|
|
23
|
-
if (typeof content1 === "string") {
|
|
24
|
-
return content1 === content2;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
// Compare Uint8Array using native Buffer.equals() for better performance
|
|
28
|
-
const buf1 = content1;
|
|
29
|
-
const buf2 = content2;
|
|
30
|
-
if (buf1.length !== buf2.length)
|
|
31
|
-
return false;
|
|
32
|
-
return Buffer.from(buf1).equals(Buffer.from(buf2));
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"content.js","sourceRoot":"","sources":["../../src/utils/content.ts"],"names":[],"mappings":";;AAMA,kCAEC;AAKD,wCAoBC;AAjCD,mCAAoC;AAEpC;;;GAGG;AACH,SAAgB,WAAW,CAAC,OAA4B;IACtD,OAAO,IAAA,mBAAU,EAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAC5B,QAAoC,EACpC,QAAoC;IAEpC,IAAI,QAAQ,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IACvC,IAAI,QAAQ,IAAI,IAAI,IAAI,QAAQ,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAEvD,IAAI,OAAO,QAAQ,KAAK,OAAO,QAAQ;QAAE,OAAO,KAAK,CAAC;IAEtD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,OAAO,QAAQ,KAAK,QAAQ,CAAC;IAC/B,CAAC;SAAM,CAAC;QACN,yEAAyE;QACzE,MAAM,IAAI,GAAG,QAAsB,CAAC;QACpC,MAAM,IAAI,GAAG,QAAsB,CAAC;QAEpC,IAAI,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,MAAM;YAAE,OAAO,KAAK,CAAC;QAE9C,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IACrD,CAAC;AACH,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AutomergeUrl, Repo } from "@automerge/automerge-repo";
|
|
2
|
-
/**
|
|
3
|
-
* Get a plain URL (without heads) from any URL.
|
|
4
|
-
* Versioned URLs with heads return view handles, which show a frozen point in time.
|
|
5
|
-
* For internal navigation, we always want to see the CURRENT state of documents.
|
|
6
|
-
*/
|
|
7
|
-
export declare function getPlainUrl(url: AutomergeUrl): AutomergeUrl;
|
|
8
|
-
/**
|
|
9
|
-
* Find a file in the directory hierarchy by path.
|
|
10
|
-
*
|
|
11
|
-
* IMPORTANT: This function strips heads from all URLs before navigation.
|
|
12
|
-
* This ensures we always see the CURRENT state of directories, not a frozen
|
|
13
|
-
* point-in-time view. This is critical because:
|
|
14
|
-
* 1. Directory documents store versioned URLs for subdirectories
|
|
15
|
-
* 2. These URLs may have been captured when the subdirectory was empty
|
|
16
|
-
* 3. Using versioned URLs would make files appear to not exist
|
|
17
|
-
* 4. This would trigger false "remote deletion" detection
|
|
18
|
-
*/
|
|
19
|
-
export declare function findFileInDirectoryHierarchy(repo: Repo, directoryUrl: AutomergeUrl, filePath: string): Promise<{
|
|
20
|
-
name: string;
|
|
21
|
-
type: string;
|
|
22
|
-
url: AutomergeUrl;
|
|
23
|
-
} | null>;
|
|
24
|
-
//# sourceMappingURL=directory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"directory.d.ts","sourceRoot":"","sources":["../../src/utils/directory.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,IAAI,EAGL,MAAM,2BAA2B,CAAC;AAGnC;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,YAAY,GAAG,YAAY,CAG3D;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,YAAY,CAAA;CAAE,GAAG,IAAI,CAAC,CAuCnE"}
|
package/dist/utils/directory.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPlainUrl = getPlainUrl;
|
|
4
|
-
exports.findFileInDirectoryHierarchy = findFileInDirectoryHierarchy;
|
|
5
|
-
const automerge_repo_1 = require("@automerge/automerge-repo");
|
|
6
|
-
/**
|
|
7
|
-
* Get a plain URL (without heads) from any URL.
|
|
8
|
-
* Versioned URLs with heads return view handles, which show a frozen point in time.
|
|
9
|
-
* For internal navigation, we always want to see the CURRENT state of documents.
|
|
10
|
-
*/
|
|
11
|
-
function getPlainUrl(url) {
|
|
12
|
-
const { documentId } = (0, automerge_repo_1.parseAutomergeUrl)(url);
|
|
13
|
-
return (0, automerge_repo_1.stringifyAutomergeUrl)({ documentId });
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Find a file in the directory hierarchy by path.
|
|
17
|
-
*
|
|
18
|
-
* IMPORTANT: This function strips heads from all URLs before navigation.
|
|
19
|
-
* This ensures we always see the CURRENT state of directories, not a frozen
|
|
20
|
-
* point-in-time view. This is critical because:
|
|
21
|
-
* 1. Directory documents store versioned URLs for subdirectories
|
|
22
|
-
* 2. These URLs may have been captured when the subdirectory was empty
|
|
23
|
-
* 3. Using versioned URLs would make files appear to not exist
|
|
24
|
-
* 4. This would trigger false "remote deletion" detection
|
|
25
|
-
*/
|
|
26
|
-
async function findFileInDirectoryHierarchy(repo, directoryUrl, filePath) {
|
|
27
|
-
try {
|
|
28
|
-
const pathParts = filePath.split("/");
|
|
29
|
-
let currentDirUrl = getPlainUrl(directoryUrl);
|
|
30
|
-
// Navigate through directories to find the parent directory
|
|
31
|
-
for (let i = 0; i < pathParts.length - 1; i++) {
|
|
32
|
-
const dirName = pathParts[i];
|
|
33
|
-
const dirHandle = await repo.find(currentDirUrl);
|
|
34
|
-
const dirDoc = await dirHandle.doc();
|
|
35
|
-
if (!dirDoc)
|
|
36
|
-
return null;
|
|
37
|
-
const subDirEntry = dirDoc.docs.find((entry) => entry.name === dirName && entry.type === "folder");
|
|
38
|
-
if (!subDirEntry)
|
|
39
|
-
return null;
|
|
40
|
-
currentDirUrl = getPlainUrl(subDirEntry.url);
|
|
41
|
-
}
|
|
42
|
-
// Now look for the file in the final directory
|
|
43
|
-
const fileName = pathParts[pathParts.length - 1];
|
|
44
|
-
const finalDirHandle = await repo.find(currentDirUrl);
|
|
45
|
-
const finalDirDoc = await finalDirHandle.doc();
|
|
46
|
-
if (!finalDirDoc)
|
|
47
|
-
return null;
|
|
48
|
-
const fileEntry = finalDirDoc.docs.find((entry) => entry.name === fileName && entry.type === "file");
|
|
49
|
-
return fileEntry || null;
|
|
50
|
-
}
|
|
51
|
-
catch (error) {
|
|
52
|
-
// Failed to find file in hierarchy
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=directory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../src/utils/directory.ts"],"names":[],"mappings":";;AAaA,kCAGC;AAaD,oEA2CC;AAxED,8DAKmC;AAGnC;;;;GAIG;AACH,SAAgB,WAAW,CAAC,GAAiB;IAC3C,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,kCAAiB,EAAC,GAAG,CAAC,CAAC;IAC9C,OAAO,IAAA,sCAAqB,EAAC,EAAE,UAAU,EAAE,CAAC,CAAC;AAC/C,CAAC;AAED;;;;;;;;;;GAUG;AACI,KAAK,UAAU,4BAA4B,CAChD,IAAU,EACV,YAA0B,EAC1B,QAAgB;IAEhB,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACtC,IAAI,aAAa,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;QAE9C,4DAA4D;QAC5D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC9C,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;YAC7B,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,IAAI,CAAoB,aAAa,CAAC,CAAC;YACpE,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,GAAG,EAAE,CAAC;YAErC,IAAI,CAAC,MAAM;gBAAE,OAAO,IAAI,CAAC;YAEzB,MAAM,WAAW,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAClC,CAAC,KAAwD,EAAE,EAAE,CAC3D,KAAK,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,CACpD,CAAC;YAEF,IAAI,CAAC,WAAW;gBAAE,OAAO,IAAI,CAAC;YAC9B,aAAa,GAAG,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC/C,CAAC;QAED,+CAA+C;QAC/C,MAAM,QAAQ,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACjD,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,IAAI,CAAoB,aAAa,CAAC,CAAC;QACzE,MAAM,WAAW,GAAG,MAAM,cAAc,CAAC,GAAG,EAAE,CAAC;QAE/C,IAAI,CAAC,WAAW;YAAE,OAAO,IAAI,CAAC;QAE9B,MAAM,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CACrC,CAAC,KAAwD,EAAE,EAAE,CAC3D,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,CACnD,CAAC;QAEF,OAAO,SAAS,IAAI,IAAI,CAAC;IAC3B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,mCAAmC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
|
package/dist/utils/fs.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { FileSystemEntry } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* Check if a path exists
|
|
4
|
-
*/
|
|
5
|
-
export declare function pathExists(filePath: string): Promise<boolean>;
|
|
6
|
-
/**
|
|
7
|
-
* Get file system entry metadata
|
|
8
|
-
*/
|
|
9
|
-
export declare function getFileSystemEntry(filePath: string): Promise<FileSystemEntry | null>;
|
|
10
|
-
/**
|
|
11
|
-
* Determine if a file is text or binary
|
|
12
|
-
*/
|
|
13
|
-
export declare function isTextFile(filePath: string): Promise<boolean>;
|
|
14
|
-
/**
|
|
15
|
-
* Read file content as string or buffer
|
|
16
|
-
*/
|
|
17
|
-
export declare function readFileContent(filePath: string): Promise<string | Uint8Array>;
|
|
18
|
-
/**
|
|
19
|
-
* Write file content from string or buffer
|
|
20
|
-
*/
|
|
21
|
-
export declare function writeFileContent(filePath: string, content: string | Uint8Array): Promise<void>;
|
|
22
|
-
/**
|
|
23
|
-
* Ensure directory exists, creating it if necessary
|
|
24
|
-
*/
|
|
25
|
-
export declare function ensureDirectoryExists(dirPath: string): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Remove file or directory
|
|
28
|
-
*/
|
|
29
|
-
export declare function removePath(filePath: string): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* List directory contents with metadata
|
|
32
|
-
*/
|
|
33
|
-
export declare function listDirectory(dirPath: string, recursive?: boolean, excludePatterns?: string[]): Promise<FileSystemEntry[]>;
|
|
34
|
-
/**
|
|
35
|
-
* Copy file with metadata preservation
|
|
36
|
-
*/
|
|
37
|
-
export declare function copyFile(sourcePath: string, destPath: string): Promise<void>;
|
|
38
|
-
/**
|
|
39
|
-
* Move/rename file or directory
|
|
40
|
-
*/
|
|
41
|
-
export declare function movePath(sourcePath: string, destPath: string): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Calculate content hash for change detection
|
|
44
|
-
*/
|
|
45
|
-
export declare function calculateContentHash(content: string | Uint8Array): Promise<string>;
|
|
46
|
-
/**
|
|
47
|
-
* Get MIME type for file
|
|
48
|
-
*/
|
|
49
|
-
export declare function getMimeType(filePath: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* Get file extension
|
|
52
|
-
*/
|
|
53
|
-
export declare function getFileExtension(filePath: string): string;
|
|
54
|
-
/**
|
|
55
|
-
* Normalize path separators for cross-platform compatibility
|
|
56
|
-
* Converts all path separators to forward slashes for consistent storage
|
|
57
|
-
*/
|
|
58
|
-
export declare function normalizePath(filePath: string): string;
|
|
59
|
-
/**
|
|
60
|
-
* Join paths and normalize separators for cross-platform compatibility
|
|
61
|
-
* Use this instead of string concatenation to ensure proper path handling on Windows
|
|
62
|
-
*/
|
|
63
|
-
export declare function joinAndNormalizePath(...paths: string[]): string;
|
|
64
|
-
/**
|
|
65
|
-
* Get relative path from base directory
|
|
66
|
-
*/
|
|
67
|
-
export declare function getRelativePath(basePath: string, filePath: string): string;
|
|
68
|
-
/**
|
|
69
|
-
* Format a path as a relative path with proper prefix
|
|
70
|
-
* Ensures paths like "src" become "./src" for clarity
|
|
71
|
-
* Leaves absolute paths and paths already starting with . or .. unchanged
|
|
72
|
-
*/
|
|
73
|
-
export declare function formatRelativePath(filePath: string): string;
|
|
74
|
-
//# sourceMappingURL=fs.d.ts.map
|
package/dist/utils/fs.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../src/utils/fs.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,eAAe,EAAW,MAAM,UAAU,CAAA;AAGlD;;GAEG;AACH,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOnE;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACvC,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAmBjC;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAwBnE;AAED;;GAEG;AACH,wBAAsB,eAAe,CACpC,QAAQ,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,UAAU,CAAC,CAS9B;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACrC,QAAQ,EAAE,MAAM,EAChB,OAAO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