@moldea.ai/cli 12.0.0 → 13.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 +4 -4
- package/dist/chunks/{composition-8VLm2c-X.js → composition-C2m6SpCI.js} +1 -1
- package/dist/chunks/{composition-DX66KnuP.js → composition-cVui-wF_.js} +121 -453
- package/dist/chunks/composition-cVui-wF_.js.map +1 -0
- package/dist/chunks/{core-composition-Bbpu62TT.js → core-composition-ZEZSTBMA.js} +2 -2
- package/dist/chunks/{core-composition-Bbpu62TT.js.map → core-composition-ZEZSTBMA.js.map} +1 -1
- package/dist/moldea.js +204 -418
- package/dist/moldea.js.map +1 -1
- package/package.json +9 -4
- package/dist/chunks/composition-DX66KnuP.js.map +0 -1
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
|
|
7
|
+
The version 13 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
|
|
|
@@ -47,17 +47,17 @@ The consumer runtime range is:
|
|
|
47
47
|
>=22.17.0
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
The package is Node.js-specific. `validate`, `inspect`, `scope`, and `content` require Git `2.
|
|
50
|
+
The package is Node.js-specific. `validate`, `inspect`, `scope`, and `content` require Git `2.32.0` or later; commands compare the numeric Git version and accept standard platform or vendor suffixes.
|
|
51
51
|
|
|
52
52
|
## Git working-tree discovery and normalized inventory
|
|
53
53
|
|
|
54
54
|
The starting directory is the invocation directory unless `--repository <path>` selects another path. Relative selections resolve against the invocation directory. Git determines the absolute top-level working-tree root, so ordinary repositories, unborn repositories, nested starting directories, and linked worktrees share the same discovery path.
|
|
55
55
|
|
|
56
|
-
Git runs
|
|
56
|
+
Git runs through jg-git-commands without a platform shell, with fixed non-interactive arguments, without inherited Git environment variables, and within a 300-second timeout per command. Version output is limited to 4096 bytes and each discovery command's output to 262144 bytes, stdout and stderr together. Discovery requires Git `2.32.0` or later and rejects missing or inaccessible paths, nonrepositories, bare repositories, Git-directory paths without a usable work tree, malformed Git output, and sparse checkouts before inventory probing begins.
|
|
57
57
|
|
|
58
58
|
After discovery, `validate` and `inspect` stream NUL-delimited tracked-index and non-ignored untracked records from fixed `git ls-files` commands. `scope` applies a top-level literal pathspec for `/moldea/moldea.yaml`; `content` applies one for its validated canonical path. These selected commands do not probe the rest of a large repository. `validate` and `inspect` also run one separate instruction probe over literal pathspecs for `/AGENTS.md`, `/CLAUDE.md`, `/.claude/CLAUDE.md`, and `/CLAUDE.local.md` that adds Git-ignored files at those paths through `git ls-files --others --ignored --exclude-standard`, with the inventory budgets applied separately. Its records feed only the instruction source passed to Core's coding-agent integration check and never the general inventory. Tracked records accept only full SHA-1 or SHA-256 object IDs, index stages `0` through `3`, and Git modes `100644`, `100755`, `120000`, or `160000`. Paths are decoded as fatal UTF-8 and preserve exact Unicode scalars, case, tabs, newlines, and an initial BOM without normalization.
|
|
59
59
|
|
|
60
|
-
Raw tracked and untracked records share `maxEntries` before ownership filtering, stage collapse, or deduplication. Their combined stdout, nested-root validation stdout, any required effective `core.symlinks` stdout, and effective Git attribute stdout share `maxTotalBytes
|
|
60
|
+
Raw tracked and untracked records share `maxEntries` before ownership filtering, stage collapse, or deduplication. Their combined stdout, nested-root validation stdout, any required effective `core.symlinks` stdout, and effective Git attribute stdout share `maxTotalBytes`; tracked records are charged with the longest object name, SHA-256's. Each of these Git commands may use the remaining budget for its stdout and stderr together. Stderr is never emitted: more than 4096 bytes of it is refused after the read, and any stderr from a command that otherwise succeeded, such as a warning about a directory Git could not open, fails it with `GIT_OUTPUT_INVALID`. Exceeding an inventory ceiling discards all candidates and returns the non-retryable `cli:RESOURCE_LIMIT_EXCEEDED` contract with message `A resource limit was exceeded.` Malformed output returns `git:GIT_OUTPUT_INVALID` without a partial inventory or partial attribute classification.
|
|
61
61
|
|
|
62
62
|
Every tracked `160000` gitlink establishes an excluded submodule root. The root and every candidate below it are removed without initializing, updating, or recursing into the submodule. Candidate paths containing an exact `.git` segment are also excluded; similarly named ordinary paths such as `.gitignore`, `.gitattributes`, and `.github` remain eligible.
|
|
63
63
|
|