@moldea.ai/cli 11.0.4 → 11.0.6
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/README.md +2 -2
- package/dist/chunks/{composition-yd6mpUnt.js → composition-Bb9UaGLi.js} +2 -2
- package/dist/chunks/{composition-yd6mpUnt.js.map → composition-Bb9UaGLi.js.map} +1 -1
- package/dist/chunks/{composition-B_oQMnbd.js → composition-BkoXoPOQ.js} +1 -1
- package/dist/chunks/{core-composition-h-p3RtWT.js → core-composition-SPqzv6Kz.js} +2 -2
- package/dist/chunks/{core-composition-h-p3RtWT.js.map → core-composition-SPqzv6Kz.js.map} +1 -1
- package/dist/moldea.js +21 -12
- package/dist/moldea.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ The executable performs no network requests, telemetry, repository writes, confi
|
|
|
44
44
|
The consumer runtime range is:
|
|
45
45
|
|
|
46
46
|
```text
|
|
47
|
-
>=22.
|
|
47
|
+
>=22.17.0
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
The package is Node.js-specific. `validate`, `inspect`, `scope`, and `content` require Git `2.30.0` or later; commands compare the numeric Git version and accept standard platform or vendor suffixes.
|
|
@@ -67,7 +67,7 @@ After ownership filtering, the CLI groups exact paths in first-appearance order,
|
|
|
67
67
|
|
|
68
68
|
The effective `core.symlinks` value is queried at most once and only when a tracked Git symlink is currently a regular host file. With `core.symlinks=false`, a path whose retained stages are all mode `120000` remains a logical symlink and is marked for the immutable reader overlay. With symlink support enabled, the current host file represents an intentional file-type change. Mixed regular-file and symlink stages over a host file are accepted only when symlink support is enabled; the disabled case is ambiguous and fails with `GIT_OUTPUT_INVALID`. Native symlinks never require the overlay.
|
|
69
69
|
|
|
70
|
-
Every decoded Git candidate path is validated through `@moldea.ai/repository` before ownership filtering or missing-path omission, without case folding or Unicode normalization. Validation prepends exactly one `/`; for an untracked directory-boundary record, it first removes Git's one trailing directory terminator. A path outside the portable logical-path grammar, including a path containing ASCII control characters, invalid segments, backslashes, or a Windows drive prefix, fails the complete probe with `GIT_OUTPUT_INVALID`. Surviving entries are then converted to branded repository logical paths, and the resulting immutable inventory is sorted by exact Unicode code-point order.
|
|
70
|
+
Every decoded Git candidate path is validated through `@moldea.ai/repository` before ownership filtering or missing-path omission, without case folding or Unicode normalization. Validation prepends exactly one `/`; for an untracked directory-boundary record, it first removes Git's one trailing directory terminator. A path outside the portable logical-path grammar, including a path containing ASCII control characters, invalid segments, backslashes, or a Windows drive prefix, is omitted when it is outside the canonical `/moldea` namespace. An invalid canonical path still fails the complete probe with `GIT_OUTPUT_INVALID`. Omitted paths produce no diagnostic and still count against the raw inventory limits. Surviving entries are then converted to branded repository logical paths, and the resulting immutable inventory is sorted by exact Unicode code-point order.
|
|
71
71
|
|
|
72
72
|
For every effective inventory entry, the CLI sends the exact Git-relative path through NUL-delimited stdin to one fixed `git check-attr --stdin -z` operation and strictly associates the resulting `filter`, `working-tree-encoding`, and `ident` triples. Exact effective values are retained in the immutable inventory so later snapshot comparison can detect any classification change. `unset` and `unspecified` are unguarded; `set` and every other effective value are guarded. Ordinary `text` and `eol` attributes alone remain supported. Invalid UTF-8, missing or duplicate triples, unknown paths or attributes, successful stderr, and output that cannot be associated exactly fail atomically with `GIT_OUTPUT_INVALID`.
|
|
73
73
|
|
|
@@ -2742,7 +2742,7 @@ var MOLDEA_CLI_FOUNDATIONAL_PACKAGE_NAMES = Object.freeze([
|
|
|
2742
2742
|
var MOLDEA_CLI_FIRST_CLASS_PACKAGE_RANGES = Object.freeze({
|
|
2743
2743
|
"@moldea.ai/core": "^7.0.4",
|
|
2744
2744
|
"@moldea.ai/repository": "^2.0.0",
|
|
2745
|
-
"@moldea.ai/repository-fs": "^2.0.
|
|
2745
|
+
"@moldea.ai/repository-fs": "^2.0.7"
|
|
2746
2746
|
});
|
|
2747
2747
|
//#endregion
|
|
2748
2748
|
//#region src/composition/validations.ts
|
|
@@ -2837,4 +2837,4 @@ var resolveInstalledMoldeaCliComposition = (input) => resolveMoldeaCliCompositio
|
|
|
2837
2837
|
//#endregion
|
|
2838
2838
|
export { hasOnlyUnicodeScalarValues as A, formatMoldeaCliJsonError as C, createMoldeaCliOwnedError as D, formatMoldeaCliJsonValidateResult as E, encodeMoldeaCliCursor as F, MoldeaCliOutputPageException as I, MOLDEA_CLI_COMMANDS as L, createMoldeaCliOutputPage as M, calculateMoldeaCliJsonDigest as N, MOLDEA_CLI_GIT_WORKING_TREE_SOURCE as O, decodeMoldeaCliCursor as P, formatMoldeaCliJsonContentResult as S, formatMoldeaCliJsonScopeResult as T, formatMoldeaCliHumanError as _, require_semver as a, formatMoldeaCliHumanValidateResult as b, executeGitStreamingProcess as c, createMoldeaCliDiagnosticRecord as d, createMoldeaCliInspectProjection as f, formatMoldeaCliHumanContentResult as g, formatMoldeaCliHumanCompositionResult as h, isMoldeaCliCompositionStateValid as i, isRepositoryDirectoryInputValid as j, parseMoldeaCliArguments as k, executeGitProcess as l, formatMoldeaCliHelp as m, resolveMoldeaCliComposition as n, MoldeaCliCompositionException as o, createMoldeaCliValidateProjection as p, createMoldeaCliCompositionResult as r, createGitVersionPreflight as s, resolveInstalledMoldeaCliComposition as t, MAX_GIT_PROCESS_DIAGNOSTIC_BYTES as u, formatMoldeaCliHumanInspectResult as v, formatMoldeaCliJsonInspectResult as w, formatMoldeaCliJsonCompositionResult as x, formatMoldeaCliHumanScopeResult as y };
|
|
2839
2839
|
|
|
2840
|
-
//# sourceMappingURL=composition-
|
|
2840
|
+
//# sourceMappingURL=composition-Bb9UaGLi.js.map
|