@moldea.ai/cli 11.1.0 → 12.0.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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  The canonical read-only local command-line composition for deterministic inspection of `moldea` repositories.
6
6
 
7
- The version 11 executable exposes one schema-7-only JSON contract. `validate` and `inspect` are content-free, `scope` matches changed paths by reading only the project manifest, and `content` retrieves one explicitly selected canonical text asset in bounded Unicode-safe chunks. Collection and content responses use deterministic snapshot-bound cursors, exact final UTF-8 byte accounting, a 65,536-byte default page budget, and a 1,048,576-byte hard page ceiling.
7
+ The version 12 executable exposes one schema-7-only JSON contract. `validate` and `inspect` are content-free, `scope` matches changed paths by reading only the project manifest, and `content` retrieves one explicitly selected canonical text asset in bounded Unicode-safe chunks. Collection and content responses use deterministic snapshot-bound cursors, exact final UTF-8 byte accounting, a 65,536-byte default page budget, and a 1,048,576-byte hard page ceiling.
8
8
 
9
9
  Install and invoke the CLI from each adopted repository. Global or user-home installation is outside the supported trust boundary because it can make unrelated repositories share ambient skill and executable behavior.
10
10
 
@@ -73,9 +73,9 @@ For every effective inventory entry, the CLI sends the exact Git-relative path t
73
73
 
74
74
  Git attribute inspection never invokes configured filters, Git LFS, clean or smudge commands, or encoding helpers. A guarded path remains visible in lookup and listing and does not fail merely by existing. The outer content-transformation wrapper inspects the already-overlaid logical entry only when its bytes are requested. A guarded logical regular file then raises a CLI-owned non-retryable `RepositorySourceException` on the common `SOURCE_UNAVAILABLE` boundary before `readFilePage` reaches Repository FS. Native and materialized logical symlinks retain the common `ENTRY_NOT_FILE` behavior even when their host paths are guarded. When Core requests guarded regular-file bytes, the CLI translates its private marker to `git:GIT_CONTENT_TRANSFORM_UNSUPPORTED` and includes only the safe repository logical path.
75
75
 
76
- The CLI passes the complete normalized logical path set to `@moldea.ai/repository-fs` exact-path selection, so the filesystem reader exposes required parent directories without admitting unrelated files. The CLI derives reader concurrency, queue, page, range, observation, and cache limits from its operation budgets. The private immutable overlay maps materialized Git symlink host files to `type: 'symlink'` in exact lookup and listing, rejects their reads with the common non-retryable `ENTRY_NOT_FILE` contract, and never calls the underlying `readFilePage` for those paths. The content-transformation guard wraps that logical view so symlink semantics take precedence. Missing or contradictory wrapper entries fail with `INVALID_SOURCE_DATA`.
76
+ The CLI passes the complete normalized logical path set to `@moldea.ai/repository-fs` exact-path selection, so the filesystem reader exposes required parent directories without admitting unrelated files. The CLI derives reader concurrency, queue, page, range, observation, and cache limits from its operation budgets. The private immutable overlay maps materialized Git symlink host files to `type: 'symlink'` in exact lookup and listing and rejects their reads with the common non-retryable `ENTRY_NOT_FILE` contract. Its `readLinkText` returns those host files' bounded bytes, which are exactly the text Git stored, so a materialized link resolves like a native one. The content-transformation guard wraps that logical view so symlink semantics take precedence, and passes `readLinkText` through. Missing or contradictory wrapper entries fail with `INVALID_SOURCE_DATA`.
77
77
 
78
- The instruction source composes the same layers over the instruction entries, plus a Repository FS link resolver bound to that instruction reader. A private wrapper makes every materialized Git symlink in the overlay resolve as `unsafe` and rejects its target reads with `ENTRY_NOT_FILE`, so Core reports such a link as unverifiable without following its text.
78
+ The instruction reader composes the same layers over the instruction entries. Core follows instruction links inside the repository by reading each link's stored text, so a native link, a materialized link, and the same link in a hosted checkout resolve the same way, and nothing outside the repository is read.
79
79
 
80
80
  Before attempting a snapshot, the CLI pins the selected root directory, its worktree-specific Git directory, and its shared Git common directory by absolute host path plus nonzero device and inode identity. Linked worktrees therefore retain distinct worktree identity while sharing the expected common repository identity. Each attempt verifies the complete pin, derives normalized full or path-selected inventories before and after exact-path reader creation, and runs its provisional operation only when both inventories match exactly, including entry type, retained index stages, symlink-overlay state, and content-transformation classification. The instruction inventory is probed and compared the same way, before and after reader creation.
81
81
 
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { t as resolveInstalledMoldeaCliComposition } from "./composition-P7DOCYEA.js";
2
+ import { t as resolveInstalledMoldeaCliComposition } from "./composition-DX66KnuP.js";
3
3
  export { resolveInstalledMoldeaCliComposition };
@@ -2740,9 +2740,9 @@ var MOLDEA_CLI_FOUNDATIONAL_PACKAGE_NAMES = Object.freeze([
2740
2740
  "@moldea.ai/repository-fs"
2741
2741
  ]);
2742
2742
  var MOLDEA_CLI_FIRST_CLASS_PACKAGE_RANGES = Object.freeze({
2743
- "@moldea.ai/core": "^7.1.0",
2744
- "@moldea.ai/repository": "^2.1.0",
2745
- "@moldea.ai/repository-fs": "^2.1.0"
2743
+ "@moldea.ai/core": "^8.0.0",
2744
+ "@moldea.ai/repository": "^3.0.0",
2745
+ "@moldea.ai/repository-fs": "^3.0.0"
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-P7DOCYEA.js.map
2840
+ //# sourceMappingURL=composition-DX66KnuP.js.map