@moldea.ai/cli 3.3.6 → 4.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 +10 -10
- package/dist/moldea.js +56 -2231
- package/dist/moldea.js.map +1 -1
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
The canonical read-only local command-line composition for deterministic inspection of `moldea` repositories.
|
|
6
6
|
|
|
7
|
-
The package's version
|
|
7
|
+
The package's version 4 surface provides the `moldea` executable while preserving version 1 command and option contracts and introducing the version 2 JSON envelope. It includes deterministic help and version output, resource-limit validation, safe human or JSON errors, Git-owned working-tree discovery, bounded strict tracked/untracked candidate probing, submodule and nested-repository ownership filtering, deterministic stage collapse, no-follow current entry-type normalization, bounded effective `core.symlinks` resolution, portable logical-path normalization with exact Unicode code-point ordering, bounded effective Git content-transformation classification, exact-path Repository FS construction, private immutable reader wrappers for materialized Git symlinks and guarded regular-file reads, bounded whole-operation snapshot stabilization, attempt-local Core execution, safe Repository/Core operational-error translation, operation-scoped process-signal cancellation, deterministic content-minimized `validate` human and JSON results, concise content-free `inspect` human summaries, complete Core-result `inspect` JSON output, command-wide installation-integrity verification, and compact deterministic `compatibility` human and JSON reporting.
|
|
8
8
|
|
|
9
|
-
Version
|
|
9
|
+
Version 4 bundles Anthropic adapter `2.0.3`, whose client-tool names must match `^[A-Za-z0-9_-]{1,64}$`.
|
|
10
10
|
|
|
11
11
|
Tarball, installed-bin, and cross-repository skill checks remain the release boundary for every published version.
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ moldea inspect
|
|
|
20
20
|
moldea compatibility
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
The foundation fully supports top-level and command-specific help, `moldea --version`, strict option validation, and usage failures. It discovers a selected working tree, pins its filesystem and Git identity, probes its raw tracked and non-ignored untracked candidates, excludes submodule and nested-repository-only content, collapses index stages by exact path, omits absent paths, classifies every remaining current file or symlink without following the leaf, derives its effective Git content-transformation state, converts the surviving records into deterministically sorted repository logical paths, retries a complete provisional reader operation when the source changes, and runs Core through the accepted reader. `validate` and `inspect` return completed valid and structurally invalid results. `compatibility` reports the installed
|
|
23
|
+
The foundation fully supports top-level and command-specific help, `moldea --version`, strict option validation, and usage failures. It discovers a selected working tree, pins its filesystem and Git identity, probes its raw tracked and non-ignored untracked candidates, excludes submodule and nested-repository-only content, collapses index stages by exact path, omits absent paths, classifies every remaining current file or symlink without following the leaf, derives its effective Git content-transformation state, converts the surviving records into deterministically sorted repository logical paths, retries a complete provisional reader operation when the source changes, and runs Core through the accepted reader. `validate` and `inspect` return completed valid and structurally invalid results. `compatibility` reports the installed executable and exact package composition without discovering a repository.
|
|
24
24
|
|
|
25
25
|
## Package boundary
|
|
26
26
|
|
|
@@ -40,13 +40,13 @@ The package exposes the `moldea` executable and no supported JavaScript or TypeS
|
|
|
40
40
|
- `@moldea.ai/adapter-openai-agents-sdk`
|
|
41
41
|
- `@moldea.ai/adapter-vercel-ai-sdk`
|
|
42
42
|
|
|
43
|
-
The package-backed `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `langchain`, `langgraph`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` runtime adapters are active
|
|
43
|
+
The package-backed `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `langchain`, `langgraph`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` runtime adapters are active. The `custom` adapter remains built into Core and requires no separate package. Target maturity is not part of the CLI contract.
|
|
44
44
|
|
|
45
45
|
The package declares `preferUnplugged: true` so Yarn Plug'n'Play materializes the executable on the physical filesystem instead of leaving the bundled ESM entry point inside ZipFS. This package-owned hint preserves root-local Yarn execution without requiring client configuration or a `node_modules` linker.
|
|
46
46
|
|
|
47
|
-
The executable
|
|
47
|
+
The executable derives its compatibility state from its installed manifest, actually resolved first-class package versions, active adapter singletons, Core repository-format constants, minimum Git constant, and JSON output schema constant. It carries no Runtime Compatibility Matrix or target-maturity snapshot.
|
|
48
48
|
|
|
49
|
-
The executable performs no network requests, telemetry, repository writes, or configured Git content transformations. `validate` and `inspect` use read-only Git operations and no-follow filesystem metadata inspection to discover a working tree, establish and verify its identity, normalize the selected inventory, construct an exact-path guarded filesystem reader, and run Core within at most three complete snapshot attempts. Help, version, and usage failures do not run the
|
|
49
|
+
The executable performs no network requests, telemetry, repository writes, or configured Git content transformations. `validate` and `inspect` use read-only Git operations and no-follow filesystem metadata inspection to discover a working tree, establish and verify its identity, normalize the selected inventory, construct an exact-path guarded filesystem reader, and run Core within at most three complete snapshot attempts. Help, version, and usage failures do not run the installation-integrity preflight. `compatibility` and that preflight do not invoke Git, a filesystem repository reader, a client manifest, or Core inspection; the preflight reads installed package manifests and compares them with the actual adapter and Core composition.
|
|
50
50
|
|
|
51
51
|
## Runtime support
|
|
52
52
|
|
|
@@ -100,15 +100,15 @@ Git process cancellation uses the safe retryable `git:GIT_OPERATION_ABORTED` con
|
|
|
100
100
|
|
|
101
101
|
A successfully completed Core inspection produces `validate` human or JSON output without exposing the project index, canonical content, or adapter evidence. Zero diagnostics return status `valid` and exit code `0`; one or more diagnostics preserve Core order, return status `invalid`, and exit with code `1`.
|
|
102
102
|
|
|
103
|
-
`inspect` uses the same completion status and exit codes. Valid human output reports the repository format and counts for context assets, decisions, runtime-guidance assets, agents, mirrors, and adapter evidence items without printing canonical content. Invalid human output uses the same ordered diagnostic presentation as `validate` and reports non-empty adapter evidence counts without exposing evidence details. `inspect --json` preserves the complete Core `IProjectInspectionResult`, including the deeply immutable project index and its canonical normalized content when valid, and writes it only to stdout inside the deterministic version
|
|
103
|
+
`inspect` uses the same completion status and exit codes. Valid human output reports the repository format and counts for context assets, decisions, runtime-guidance assets, agents, mirrors, and adapter evidence items without printing canonical content. Invalid human output uses the same ordered diagnostic presentation as `validate` and reports non-empty adapter evidence counts without exposing evidence details. `inspect --json` preserves the complete Core `IProjectInspectionResult`, including the deeply immutable project index and its canonical normalized content when valid, and writes it only to stdout inside the deterministic version 2 envelope. This JSON output may contain confidential project context, decisions, runtime guidance, descriptions, and instructions; callers must protect captured output.
|
|
104
104
|
|
|
105
105
|
## Compatibility reporting and integrity
|
|
106
106
|
|
|
107
|
-
Before `validate`, `inspect`, or `compatibility` produces a result, the executable compares its installed package metadata, actually resolved first-class package identities and versions,
|
|
107
|
+
Before `validate`, `inspect`, or `compatibility` produces a result, the executable compares its installed package metadata, actually resolved first-class package identities and versions, exact first-class dependency declarations, active package-backed adapter registration, Core repository-format support, minimum Git constant, and JSON output schema constant. Source-workspace dependencies must use exact `workspace:<version>` declarations; packed dependencies must use the same exact published version. Loose ranges, package-manager overrides, missing or additional first-class dependencies, mismatched package identities or versions, duplicate or invalid adapter IDs, package-backed registration of `custom`, unsupported adapter formats, and invalid constants fail before Git discovery or repository inspection.
|
|
108
108
|
|
|
109
|
-
`compatibility` reports the installed CLI version
|
|
109
|
+
`compatibility` reports the installed CLI version and JSON schema version in the envelope, plus the supported Node.js range, minimum Git version, sorted exact package versions, Core repository-format versions, and every sorted executable adapter with its accepted repository formats. Core's built-in `custom` adapter is included using Core's format support. The CLI does not report matrix entries, maturity, implementation status, target profiles, evidence links, or compatibility claims owned by the packages website.
|
|
110
110
|
|
|
111
|
-
Successful human and JSON reports use exit code `0`; JSON uses status `valid` and the version
|
|
111
|
+
Successful human and JSON reports use exit code `0`; JSON uses status `valid` and the version 2 deterministic envelope. The command never uses status `invalid`. A contradictory installation returns the non-retryable `cli:COMPATIBILITY_STATE_INVALID` error with message `The installed compatibility state is invalid.` and exit code `3`, without a partial result. The command accesses no Git executable, repository filesystem, client manifest, network, or Cloud service.
|
|
112
112
|
|
|
113
113
|
## Development
|
|
114
114
|
|