overlord-cli 0.2608240740.0 → 0.2608250836.0
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/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7375,6 +7375,9 @@ function hasControlCharacters(value) {
|
|
|
7375
7375
|
function hasUnsafePathCharacters(value) {
|
|
7376
7376
|
return hasControlCharacters(value) || value.includes("\\");
|
|
7377
7377
|
}
|
|
7378
|
+
function isOverlordManagedEvidencePath(filePath) {
|
|
7379
|
+
return filePath === ".overlord" || filePath.startsWith(".overlord/");
|
|
7380
|
+
}
|
|
7378
7381
|
function isExactEvidencePath(value) {
|
|
7379
7382
|
if (typeof value !== "string")
|
|
7380
7383
|
return false;
|
|
@@ -19247,6 +19250,7 @@ function normalizeWorkspacePath({
|
|
|
19247
19250
|
}
|
|
19248
19251
|
if (relative.length > MAX_EVIDENCE_PATH_LENGTH) return { reason: "path_too_long" };
|
|
19249
19252
|
if (!isExactEvidencePath(relative)) return { reason: "invalid_path" };
|
|
19253
|
+
if (isOverlordManagedEvidencePath(relative)) return { reason: "ignored_path" };
|
|
19250
19254
|
if (isIgnoredPath(ignoreRules, relative)) return { reason: "ignored_path" };
|
|
19251
19255
|
return { filePath: relative };
|
|
19252
19256
|
}
|