@moldea.ai/cli 3.3.3 → 3.3.4
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 -3
- package/dist/moldea.js +167 -3
- package/dist/moldea.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -34,11 +34,12 @@ The package exposes the `moldea` executable and no supported JavaScript or TypeS
|
|
|
34
34
|
- `@moldea.ai/adapter-cloudflare-agents`
|
|
35
35
|
- `@moldea.ai/adapter-eve`
|
|
36
36
|
- `@moldea.ai/adapter-google-genai`
|
|
37
|
+
- `@moldea.ai/adapter-langchain`
|
|
37
38
|
- `@moldea.ai/adapter-openai`
|
|
38
39
|
- `@moldea.ai/adapter-openai-agents-sdk`
|
|
39
40
|
- `@moldea.ai/adapter-vercel-ai-sdk`
|
|
40
41
|
|
|
41
|
-
The package-backed `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` runtime adapters are active for their experimental TypeScript targets. The `custom` adapter remains built into Core and requires no separate package.
|
|
42
|
+
The package-backed `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `langchain`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` runtime adapters are active for their experimental TypeScript targets. The `custom` adapter remains built into Core and requires no separate package.
|
|
42
43
|
|
|
43
44
|
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.
|
|
44
45
|
|
|
@@ -86,7 +87,7 @@ Before attempting a snapshot, the CLI pins the selected root directory, its work
|
|
|
86
87
|
|
|
87
88
|
The CLI retries the complete provisional attempt for differing inventories, Repository FS `SNAPSHOT_CHANGED` failures, and reader-creation missing-entry or parent-type failures when a fresh inventory proves the source changed. It recreates the inventory, reader, wrappers, operation state, and filesystem resource budget for every retry and never reuses provisional bytes or results. Three total attempts are allowed. Exhaustion or a changed pinned identity returns `cli:WORKING_TREE_UNSTABLE` with message `The working tree did not remain stable.` and `retryable: true`.
|
|
88
89
|
|
|
89
|
-
The CLI does not expose selected paths, candidate paths, resolved repository roots, raw process errors, or Git diagnostics in failures. Every accepted snapshot operation creates a fresh Core instance with the exact effective limits: `maxEntries`, `maxFileBytes`, `maxManifestBytes`, `maxDiagnostics`, and `maxEvidence` retain their names, while `maxTotalBytes` becomes Core's `maxTotalBytesRead`. The active package-backed adapter set contains the immutable `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` adapter singletons; Core's built-in `custom` behavior remains available without registration.
|
|
90
|
+
The CLI does not expose selected paths, candidate paths, resolved repository roots, raw process errors, or Git diagnostics in failures. Every accepted snapshot operation creates a fresh Core instance with the exact effective limits: `maxEntries`, `maxFileBytes`, `maxManifestBytes`, `maxDiagnostics`, and `maxEvidence` retain their names, while `maxTotalBytes` becomes Core's `maxTotalBytesRead`. The active package-backed adapter set contains the immutable `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `eve`, `google-genai`, `langchain`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` adapter singletons; Core's built-in `custom` behavior remains available without registration.
|
|
90
91
|
|
|
91
92
|
Known `RepositorySourceException`, `CoreConfigurationException`, and `CoreOperationException` contracts become safe `repository` or `core` errors with their owning code, documented retryability, logical repository path when applicable, and non-confidential metadata. The private content-transformation marker is translated before the common repository-source case. Unexpected failures, including an internal `RepositoryPathException`, become the generic non-retryable `cli:INTERNAL_ERROR` contract without causes or rejected values.
|
|
92
93
|
|
|
@@ -104,7 +105,7 @@ A successfully completed Core inspection produces `validate` human or JSON outpu
|
|
|
104
105
|
|
|
105
106
|
Before `validate`, `inspect`, or `compatibility` produces a result, the executable compares its installed package metadata, actually resolved first-class package identities and versions, generated release snapshot, exact first-class dependency declarations, active package-backed adapter registration, separately generated Core adapter inventory, 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, invalid matrix states, invalid adapter activation, unsupported adapter formats, incompatible version ranges, stale constants, and contradictory matrix inventory fail before Git discovery or repository inspection.
|
|
106
107
|
|
|
107
|
-
`compatibility` reports the installed CLI version, supported Node.js range, JSON schema version, matrix version, minimum Git version, sorted package versions, Core repository-format versions, and every sorted matrix adapter. Each adapter record includes its active state, bundled version when applicable, complete normalized matrix entry, implementation identity and status, and any published ranges, runtime guidance, formats, verification date, and targets. Core's built-in `custom` adapter is active and available with bundled Core `2.0.0`, repository format `1`, required project-local runtime guidance, and full support for explicit repository relationships. The bundled Anthropic adapter `2.0.1`, Claude Agent SDK adapter `1.0.0`, Cloudflare Agents adapter `1.0.0`, Eve adapter `1.0.0`, Google Gen AI adapter `1.0.3`, OpenAI adapter `2.0.4`, OpenAI Agents SDK adapter `1.0.2`, and Vercel AI SDK adapter `1.0.0` are active and available with experimental support for their TypeScript targets. The
|
|
108
|
+
`compatibility` reports the installed CLI version, supported Node.js range, JSON schema version, matrix version, minimum Git version, sorted package versions, Core repository-format versions, and every sorted matrix adapter. Each adapter record includes its active state, bundled version when applicable, complete normalized matrix entry, implementation identity and status, and any published ranges, runtime guidance, formats, verification date, and targets. Core's built-in `custom` adapter is active and available with bundled Core `2.0.0`, repository format `1`, required project-local runtime guidance, and full support for explicit repository relationships. The bundled Anthropic adapter `2.0.1`, Claude Agent SDK adapter `1.0.0`, Cloudflare Agents adapter `1.0.0`, Eve adapter `1.0.0`, Google Gen AI adapter `1.0.3`, LangChain adapter `1.0.0`, OpenAI adapter `2.0.4`, OpenAI Agents SDK adapter `1.0.2`, and Vercel AI SDK adapter `1.0.0` are active and available with experimental support for their TypeScript targets. The LangGraph adapter remains planned and inactive.
|
|
108
109
|
|
|
109
110
|
Successful human and JSON reports use exit code `0`; JSON uses status `valid` and the version 1 deterministic envelope. The command never uses status `invalid`. A contradictory installed release 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.
|
|
110
111
|
|
package/dist/moldea.js
CHANGED
|
@@ -8,6 +8,7 @@ import { claudeAgentSdkAdapter } from "@moldea.ai/adapter-claude-agent-sdk";
|
|
|
8
8
|
import { cloudflareAgentsAdapter } from "@moldea.ai/adapter-cloudflare-agents";
|
|
9
9
|
import { eveAdapter } from "@moldea.ai/adapter-eve";
|
|
10
10
|
import { googleGenAiAdapter } from "@moldea.ai/adapter-google-genai";
|
|
11
|
+
import { langChainAdapter } from "@moldea.ai/adapter-langchain";
|
|
11
12
|
import { openAiAdapter } from "@moldea.ai/adapter-openai";
|
|
12
13
|
import { openAiAgentsSdkAdapter } from "@moldea.ai/adapter-openai-agents-sdk";
|
|
13
14
|
import { vercelAiSdkAdapter } from "@moldea.ai/adapter-vercel-ai-sdk";
|
|
@@ -2215,6 +2216,7 @@ var ACTIVE_RUNTIME_ADAPTERS = Object.freeze([
|
|
|
2215
2216
|
cloudflareAgentsAdapter,
|
|
2216
2217
|
eveAdapter,
|
|
2217
2218
|
googleGenAiAdapter,
|
|
2219
|
+
langChainAdapter,
|
|
2218
2220
|
openAiAdapter,
|
|
2219
2221
|
openAiAgentsSdkAdapter,
|
|
2220
2222
|
vercelAiSdkAdapter
|
|
@@ -4988,6 +4990,7 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
4988
4990
|
"cloudflare-agents",
|
|
4989
4991
|
"eve",
|
|
4990
4992
|
"google-genai",
|
|
4993
|
+
"langchain",
|
|
4991
4994
|
"openai",
|
|
4992
4995
|
"openai-agents-sdk",
|
|
4993
4996
|
"vercel-ai-sdk"
|
|
@@ -4995,7 +4998,7 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
4995
4998
|
cliPackage: {
|
|
4996
4999
|
name: "@moldea.ai/cli",
|
|
4997
5000
|
supportedNodeRange: "^22.11.0 || ^24.11.0",
|
|
4998
|
-
version: "3.3.
|
|
5001
|
+
version: "3.3.4"
|
|
4999
5002
|
},
|
|
5000
5003
|
coreRecognizedAdapterIds: [
|
|
5001
5004
|
"anthropic",
|
|
@@ -5995,12 +5998,169 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
5995
5998
|
}]
|
|
5996
5999
|
},
|
|
5997
6000
|
langchain: {
|
|
6001
|
+
compatibleCoreRange: "^2.0.0",
|
|
5998
6002
|
implementation: {
|
|
5999
6003
|
distribution: "public",
|
|
6000
6004
|
kind: "package",
|
|
6001
|
-
package: "@moldea.ai/adapter-langchain"
|
|
6005
|
+
package: "@moldea.ai/adapter-langchain",
|
|
6006
|
+
versionRange: "^1.0.0"
|
|
6002
6007
|
},
|
|
6003
|
-
implementationStatus: "
|
|
6008
|
+
implementationStatus: "available",
|
|
6009
|
+
lastVerifiedAt: "2026-08-20",
|
|
6010
|
+
runtimeGuidance: {
|
|
6011
|
+
expectation: "optional",
|
|
6012
|
+
notes: "Project-local guidance is needed only for repository-specific wrappers, middleware-driven relationships, supervisor composition around a supported LangChain boundary, headless tools, dynamic tool collections, or other unsupported indirect LangChain integration patterns."
|
|
6013
|
+
},
|
|
6014
|
+
supportedRepositoryFormatVersions: [1],
|
|
6015
|
+
targets: [{
|
|
6016
|
+
bindingSupport: {
|
|
6017
|
+
"instruction-loader": {
|
|
6018
|
+
relationship: "partial",
|
|
6019
|
+
symbol: "partial"
|
|
6020
|
+
},
|
|
6021
|
+
"output-schema": {
|
|
6022
|
+
relationship: "partial",
|
|
6023
|
+
symbol: "partial"
|
|
6024
|
+
},
|
|
6025
|
+
"runtime-agent": {
|
|
6026
|
+
relationship: "partial",
|
|
6027
|
+
symbol: "partial"
|
|
6028
|
+
},
|
|
6029
|
+
"tool-implementation": {
|
|
6030
|
+
relationship: "partial",
|
|
6031
|
+
symbol: "partial"
|
|
6032
|
+
},
|
|
6033
|
+
"tool-input-schema": {
|
|
6034
|
+
relationship: "partial",
|
|
6035
|
+
symbol: "partial"
|
|
6036
|
+
},
|
|
6037
|
+
"tool-registration": {
|
|
6038
|
+
relationship: "partial",
|
|
6039
|
+
symbol: "partial"
|
|
6040
|
+
}
|
|
6041
|
+
},
|
|
6042
|
+
evidenceKinds: [
|
|
6043
|
+
"agent-definition",
|
|
6044
|
+
"instruction-loader",
|
|
6045
|
+
"language",
|
|
6046
|
+
"runtime-package",
|
|
6047
|
+
"schema",
|
|
6048
|
+
"tool-registration"
|
|
6049
|
+
],
|
|
6050
|
+
id: "typescript-create-agent-1-5",
|
|
6051
|
+
kind: "package",
|
|
6052
|
+
knownLimitations: [
|
|
6053
|
+
"Developer-authored and statically resolved multi-format arrays are not mapped to the single canonical agent output-schema binding; a single-schema toolStrategy call remains supported despite its array-shaped helper return.",
|
|
6054
|
+
"Direct LangGraph applications remain outside this adapter target.",
|
|
6055
|
+
"Lockfiles and installed package versions are not inspected.",
|
|
6056
|
+
"Non-empty or unresolved middleware suppresses prompt, tool-registration, and output-schema relationship conclusions.",
|
|
6057
|
+
"Only TypeScript ESM source and documented direct relative imports are interpreted.",
|
|
6058
|
+
"Only directly exported package-root createAgent definitions are recognized.",
|
|
6059
|
+
"The target does not infer agent input schemas from stateSchema or contextSchema.",
|
|
6060
|
+
"The target does not infer supervisors, routing targets, handoffs, or subagent control transfer.",
|
|
6061
|
+
"The target does not interpret headless tools, provider tools, server tools, toolkits, MCP tools, or tool output schemas."
|
|
6062
|
+
],
|
|
6063
|
+
language: "typescript",
|
|
6064
|
+
lastVerifiedAt: "2026-08-20",
|
|
6065
|
+
packages: [{
|
|
6066
|
+
ecosystem: "npm",
|
|
6067
|
+
name: "@langchain/core",
|
|
6068
|
+
role: "companion",
|
|
6069
|
+
versionRange: ">=1.2.8 <1.3.0"
|
|
6070
|
+
}, {
|
|
6071
|
+
ecosystem: "npm",
|
|
6072
|
+
name: "langchain",
|
|
6073
|
+
role: "primary",
|
|
6074
|
+
versionRange: ">=1.5.9 <1.6.0"
|
|
6075
|
+
}],
|
|
6076
|
+
patterns: [
|
|
6077
|
+
{
|
|
6078
|
+
description: "A directly exported TypeScript const initialized through the package-root createAgent helper with one closed object-literal configuration is recognized as the agent definition.",
|
|
6079
|
+
id: "direct-create-agent",
|
|
6080
|
+
kind: "agent",
|
|
6081
|
+
support: "full"
|
|
6082
|
+
},
|
|
6083
|
+
{
|
|
6084
|
+
description: "Direct StateGraph, Functional API, graph, and compiled-graph applications belong to the separate LangGraph adapter.",
|
|
6085
|
+
id: "direct-langgraph-graphs",
|
|
6086
|
+
kind: "agent",
|
|
6087
|
+
support: "unsupported"
|
|
6088
|
+
},
|
|
6089
|
+
{
|
|
6090
|
+
description: "Legacy agent executors and deprecated agent helper surfaces are outside the initial target.",
|
|
6091
|
+
id: "legacy-langchain-agents",
|
|
6092
|
+
kind: "agent",
|
|
6093
|
+
support: "unsupported"
|
|
6094
|
+
},
|
|
6095
|
+
{
|
|
6096
|
+
description: "Non-empty or unresolved middleware may alter prompts, tools, and structured runtime behavior and is not interpreted by the initial target.",
|
|
6097
|
+
id: "middleware-relationship-effects",
|
|
6098
|
+
kind: "agent",
|
|
6099
|
+
support: "ambiguous"
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
description: "Direct loader calls and direct SystemMessage construction are supported when middleware is statically inactive.",
|
|
6103
|
+
id: "direct-system-prompt-loader",
|
|
6104
|
+
kind: "instruction-loader",
|
|
6105
|
+
support: "partial"
|
|
6106
|
+
},
|
|
6107
|
+
{
|
|
6108
|
+
description: "Agent description fields do not establish source-to-target routing or handoff relationships without a verified supervisor registration target.",
|
|
6109
|
+
id: "supervisor-routing",
|
|
6110
|
+
kind: "routing",
|
|
6111
|
+
support: "unsupported"
|
|
6112
|
+
},
|
|
6113
|
+
{
|
|
6114
|
+
description: "A supported createAgent definition remains LangChain even though LangChain compiles the agent on top of LangGraph.",
|
|
6115
|
+
id: "langchain-primary-boundary",
|
|
6116
|
+
kind: "runtime",
|
|
6117
|
+
support: "full"
|
|
6118
|
+
},
|
|
6119
|
+
{
|
|
6120
|
+
description: "One directly bound responseFormat schema establishes the agent output-schema relationship when middleware is statically inactive.",
|
|
6121
|
+
id: "direct-response-format-schema",
|
|
6122
|
+
kind: "schema",
|
|
6123
|
+
support: "partial"
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
description: "Developer-authored or statically bound multiple response schemas or strategies cannot be mapped uniquely to the single Repository Format agent output-schema binding.",
|
|
6127
|
+
id: "response-format-arrays",
|
|
6128
|
+
kind: "schema",
|
|
6129
|
+
support: "ambiguous"
|
|
6130
|
+
},
|
|
6131
|
+
{
|
|
6132
|
+
description: "stateSchema and contextSchema are not collapsed into the Repository Format agent input-schema relationship.",
|
|
6133
|
+
id: "state-and-context-input-schema",
|
|
6134
|
+
kind: "schema",
|
|
6135
|
+
support: "unsupported"
|
|
6136
|
+
},
|
|
6137
|
+
{
|
|
6138
|
+
description: "Direct toolStrategy and providerStrategy wrappers around one bound schema are supported; the helper-produced array shape of a single-schema toolStrategy call is not treated as an authored multi-format collection.",
|
|
6139
|
+
id: "structured-output-strategies",
|
|
6140
|
+
kind: "schema",
|
|
6141
|
+
support: "partial"
|
|
6142
|
+
},
|
|
6143
|
+
{
|
|
6144
|
+
description: "Closed inline and immutable module-local tool arrays establish agent registration when middleware is statically inactive.",
|
|
6145
|
+
id: "closed-tool-collections",
|
|
6146
|
+
kind: "tool",
|
|
6147
|
+
support: "partial"
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
description: "One-argument headless tools do not establish a repository-local server implementation relationship in the initial target.",
|
|
6151
|
+
id: "headless-client-tools",
|
|
6152
|
+
kind: "tool",
|
|
6153
|
+
support: "unsupported"
|
|
6154
|
+
},
|
|
6155
|
+
{
|
|
6156
|
+
description: "Direct normal two-argument tool helper declarations support implementation, runtime-name, and input-schema relationships.",
|
|
6157
|
+
id: "normal-function-tools",
|
|
6158
|
+
kind: "tool",
|
|
6159
|
+
support: "partial"
|
|
6160
|
+
}
|
|
6161
|
+
],
|
|
6162
|
+
supportLevel: "experimental"
|
|
6163
|
+
}]
|
|
6004
6164
|
},
|
|
6005
6165
|
langgraph: {
|
|
6006
6166
|
implementation: {
|
|
@@ -6564,6 +6724,10 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
6564
6724
|
name: "@moldea.ai/adapter-google-genai",
|
|
6565
6725
|
version: "1.0.3"
|
|
6566
6726
|
},
|
|
6727
|
+
{
|
|
6728
|
+
name: "@moldea.ai/adapter-langchain",
|
|
6729
|
+
version: "1.0.0"
|
|
6730
|
+
},
|
|
6567
6731
|
{
|
|
6568
6732
|
name: "@moldea.ai/adapter-openai",
|
|
6569
6733
|
version: "2.0.4"
|