@moldea.ai/cli 3.2.1 → 3.3.1

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
@@ -30,11 +30,13 @@ The package exposes the `moldea` executable and no supported JavaScript or TypeS
30
30
  - `@moldea.ai/repository-fs`
31
31
  - `@moldea.ai/core`
32
32
  - `@moldea.ai/adapter-anthropic`
33
+ - `@moldea.ai/adapter-claude-agent-sdk`
33
34
  - `@moldea.ai/adapter-google-genai`
34
35
  - `@moldea.ai/adapter-openai`
35
36
  - `@moldea.ai/adapter-openai-agents-sdk`
37
+ - `@moldea.ai/adapter-vercel-ai-sdk`
36
38
 
37
- The package-backed `anthropic`, `google-genai`, `openai`, and `openai-agents-sdk` runtime adapters are active for their experimental TypeScript SDK targets. The `custom` adapter remains built into Core and requires no separate package.
39
+ The package-backed `anthropic`, `claude-agent-sdk`, `google-genai`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` runtime adapters are active for their experimental TypeScript SDK targets. The `custom` adapter remains built into Core and requires no separate package.
38
40
 
39
41
  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.
40
42
 
@@ -82,7 +84,7 @@ Before attempting a snapshot, the CLI pins the selected root directory, its work
82
84
 
83
85
  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`.
84
86
 
85
- 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`, `google-genai`, `openai`, and `openai-agents-sdk` adapter singletons; Core's built-in `custom` behavior remains available without registration.
87
+ 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`, `google-genai`, `openai`, `openai-agents-sdk`, and `vercel-ai-sdk` adapter singletons; Core's built-in `custom` behavior remains available without registration.
86
88
 
87
89
  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.
88
90
 
@@ -100,7 +102,7 @@ A successfully completed Core inspection produces `validate` human or JSON outpu
100
102
 
101
103
  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.
102
104
 
103
- `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`, Google Gen AI adapter `1.0.3`, OpenAI adapter `2.0.4`, and OpenAI Agents SDK adapter `1.0.1` are active and available with experimental support for their TypeScript Messages, generate-content, Responses API, and agent-handoff targets. The remaining package-backed adapters stay planned and inactive.
105
+ `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`, 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 SDK targets. The remaining package-backed adapters stay planned and inactive.
104
106
 
105
107
  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.
106
108
 
@@ -119,6 +121,6 @@ pnpm --filter @moldea.ai/cli test
119
121
 
120
122
  Unit, integration, and end-to-end tests are colocated with their owning modules. The end-to-end suite installs real package tarballs and executes the resulting package bin without requiring any `@moldea.ai/*` package to be published. It verifies command, output, exit, security, package-content, process-signal, and repository-immutability behavior at the consumer boundary.
121
123
 
122
- CI separately packs Repository, Repository FS, Core, the Anthropic, Google Gen AI, OpenAI, and OpenAI Agents SDK adapters, and CLI and installs them with npm scripts disabled and strict engine validation on Node.js `22.11.0`, latest Node.js 22, Node.js `24.11.0`, and latest Node.js 24. Dedicated runtime harnesses verify each adapter's installed inspection boundary and the CLI's installed identities plus real `version`, `compatibility`, `validate`, and `inspect` execution. Linux owns this consumer-runtime matrix, while the complete repository tests continue to run on Linux, macOS, and Windows.
124
+ CI separately packs Repository, Repository FS, Core, every active package-backed adapter, and CLI and installs them with npm scripts disabled and strict engine validation on Node.js `22.11.0`, latest Node.js 22, Node.js `24.11.0`, and latest Node.js 24. Dedicated runtime harnesses verify each adapter's installed inspection boundary and the CLI's installed identities plus real `version`, `compatibility`, `validate`, and `inspect` execution. Linux owns this consumer-runtime matrix, while the complete repository tests continue to run on Linux, macOS, and Windows.
123
125
 
124
- The Anthropic, Google Gen AI, OpenAI, and OpenAI Agents SDK adapters have their own repository fixtures, package tests, packed-runtime consumer checks, and verified compatibility claims. Cross-repository skill conformance for package-backed adapters remains outside this implementation slice.
126
+ Every active package-backed adapter has its own repository fixtures, package tests, packed-runtime consumer check, and verified compatibility claim. Cross-repository skill conformance for package-backed adapters remains outside this implementation slice.
package/dist/moldea.js CHANGED
@@ -4,9 +4,11 @@ import process$1 from "node:process";
4
4
  import { fileURLToPath } from "node:url";
5
5
  import { CoreConfigurationException, CoreOperationException, SUPPORTED_REPOSITORY_FORMAT_VERSIONS, createCore } from "@moldea.ai/core";
6
6
  import { anthropicAdapter } from "@moldea.ai/adapter-anthropic";
7
+ import { claudeAgentSdkAdapter } from "@moldea.ai/adapter-claude-agent-sdk";
7
8
  import { googleGenAiAdapter } from "@moldea.ai/adapter-google-genai";
8
9
  import { openAiAdapter } from "@moldea.ai/adapter-openai";
9
10
  import { openAiAgentsSdkAdapter } from "@moldea.ai/adapter-openai-agents-sdk";
11
+ import { vercelAiSdkAdapter } from "@moldea.ai/adapter-vercel-ai-sdk";
10
12
  import { TextDecoder as TextDecoder$1 } from "node:util";
11
13
  import { execFile, spawn } from "node:child_process";
12
14
  import { lstat, readFile, readdir, stat } from "node:fs/promises";
@@ -2207,9 +2209,11 @@ var createMoldeaCliCompatibilityResult = (input) => {
2207
2209
  //#region src/core-composition/constants.ts
2208
2210
  var ACTIVE_RUNTIME_ADAPTERS = Object.freeze([
2209
2211
  anthropicAdapter,
2212
+ claudeAgentSdkAdapter,
2210
2213
  googleGenAiAdapter,
2211
2214
  openAiAdapter,
2212
- openAiAgentsSdkAdapter
2215
+ openAiAgentsSdkAdapter,
2216
+ vercelAiSdkAdapter
2213
2217
  ]);
2214
2218
  //#endregion
2215
2219
  //#region src/core-composition/executor.ts
@@ -4976,14 +4980,16 @@ var freezeMoldeaCliReleaseMetadata = (metadata) => {
4976
4980
  var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
4977
4981
  activeAdapterIds: [
4978
4982
  "anthropic",
4983
+ "claude-agent-sdk",
4979
4984
  "google-genai",
4980
4985
  "openai",
4981
- "openai-agents-sdk"
4986
+ "openai-agents-sdk",
4987
+ "vercel-ai-sdk"
4982
4988
  ],
4983
4989
  cliPackage: {
4984
4990
  name: "@moldea.ai/cli",
4985
4991
  supportedNodeRange: "^22.11.0 || ^24.11.0",
4986
- version: "3.2.1"
4992
+ version: "3.3.1"
4987
4993
  },
4988
4994
  coreRecognizedAdapterIds: [
4989
4995
  "anthropic",
@@ -5108,12 +5114,270 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
5108
5114
  }]
5109
5115
  },
5110
5116
  "claude-agent-sdk": {
5117
+ compatibleCoreRange: "^2.0.0",
5111
5118
  implementation: {
5112
5119
  distribution: "public",
5113
5120
  kind: "package",
5114
- package: "@moldea.ai/adapter-claude-agent-sdk"
5121
+ package: "@moldea.ai/adapter-claude-agent-sdk",
5122
+ versionRange: "^1.0.0"
5115
5123
  },
5116
- implementationStatus: "planned"
5124
+ implementationStatus: "available",
5125
+ lastVerifiedAt: "2026-08-19",
5126
+ runtimeGuidance: {
5127
+ expectation: "optional",
5128
+ notes: "Project-local guidance is needed only for repository-specific wrappers, main-thread agent selection, tool aliases, string-array prompts, filesystem-defined agents, dynamic agent construction, observer behavior, external MCP configuration, or other unsupported indirect integration patterns."
5129
+ },
5130
+ supportedRepositoryFormatVersions: [1],
5131
+ targets: [{
5132
+ bindingSupport: {
5133
+ "instruction-loader": {
5134
+ relationship: "full",
5135
+ symbol: "full"
5136
+ },
5137
+ "output-schema": {
5138
+ relationship: "partial",
5139
+ symbol: "partial"
5140
+ },
5141
+ "runtime-agent": {
5142
+ relationship: "full",
5143
+ symbol: "full"
5144
+ },
5145
+ "tool-implementation": {
5146
+ relationship: "full",
5147
+ symbol: "full"
5148
+ },
5149
+ "tool-input-schema": {
5150
+ relationship: "full",
5151
+ symbol: "full"
5152
+ },
5153
+ "tool-registration": {
5154
+ relationship: "full",
5155
+ symbol: "full"
5156
+ }
5157
+ },
5158
+ evidenceKinds: [
5159
+ "agent-definition",
5160
+ "handoff-registration",
5161
+ "instruction-loader",
5162
+ "language",
5163
+ "runtime-package",
5164
+ "runtime-pattern",
5165
+ "schema",
5166
+ "tool-registration"
5167
+ ],
5168
+ id: "typescript-query-subagents-0-3",
5169
+ kind: "package",
5170
+ knownLimitations: [
5171
+ "A configured agents map becomes active delegation evidence only when supported static query tools and bare tool-name deny-pattern analysis classify query-configured Agent availability as available; tools arrays that omit Agent, tools: [], and any supported deny pattern matching Agent make it unavailable.",
5172
+ "A supported query-level mcpServers key must match ^[A-Za-z0-9_-]+$ exactly. Empty or normalization-requiring keys produce CLAUDE_AGENT_SDK_MCP_SERVER_KEY_UNSUPPORTED and keep only the affected mount's runtime-name and tool-availability relationships unresolved; the adapter does not reproduce SDK normalization or infer normalized-key collisions.",
5173
+ "Agent output-schema support applies only to query-wrapper agents through outputFormat; programmatic AgentDefinitions have no initial output-schema relationship.",
5174
+ "AgentDefinition observer, observerMessage, and criticalSystemReminder_EXPERIMENTAL semantics are outside the target, although their presence does not erase independently proved prompt, description, tool, or active-registration relationships.",
5175
+ "Arbitrary compiler resolution, path aliases, directory indexes, package exports, CommonJS, JavaScript, re-export graphs, and generated source are not resolved.",
5176
+ "Dynamic availability, scoped Agent or Task permission expressions, unsupported non-* glob syntax, and legacy Task aliases remain unresolved. Static bare * globs are matched against the complete tool name. allowedTools controls preapproval rather than availability and neither creates nor restores the Agent tool.",
5177
+ "Establishing query-configured Agent or SDK MCP tool availability does not prove that filesystem-loaded settings, managed policy, hooks, later session state, allowedTools, canUseTool, permission mode, or user approval preserve or permit a particular invocation, and no evidence claims that Claude will actually invoke the subagent or tool.",
5178
+ "Programmatic subagents require directly exported immutable object-literal AgentDefinitions; dynamic factories and filesystem-defined agents remain outside the target.",
5179
+ "Query and subagent tool-registration evidence requires an available relationship-local state after supported exact-name, server-selector, and complete-name * glob deny analysis. Dynamic or unsupported restrictions that could match the tool remain unresolved and produce neither optimistic evidence nor a false negative diagnostic.",
5180
+ "Query wrappers require a directly exported function and direct query calls with object-literal input and options forms.",
5181
+ "Query-level agent selection, toolAliases, string-array system prompts, and built-in-tool preset expansion remain outside the initial target and keep only the relationships they can change unresolved.",
5182
+ "Routing-description validation supports only static inline, immutable module-local, and directly imported static strings in an active delegation context; loaders, file reads, transformations, and runtime-generated values remain unresolved.",
5183
+ "SDK MCP tool support is limited to repository-local tool and createSdkMcpServer definitions mounted through query-level mcpServers maps.",
5184
+ "The fully qualified manifest tool name is derived from the canonical query mcpServers key and tool name; the createSdkMcpServer name does not replace that key.",
5185
+ "Tool input and query output schema contents are not validated; the target establishes only direct schema wiring.",
5186
+ "Tool output schemas, agent input schemas, external MCP tools, resources, prompts, skills, plugins, hooks, sessions, permission approval, sandboxing, workflows, model selection, and provider behavior are not interpreted.",
5187
+ "createSdkMcpServer instructions are tolerated but are not canonical instruction-loader evidence or semantically validated model-facing content."
5188
+ ],
5189
+ language: "typescript",
5190
+ lastVerifiedAt: "2026-08-19",
5191
+ packages: [{
5192
+ ecosystem: "npm",
5193
+ name: "@anthropic-ai/claude-agent-sdk",
5194
+ role: "primary",
5195
+ versionRange: ">=0.3.234 <0.4.0"
5196
+ }],
5197
+ patterns: [
5198
+ {
5199
+ description: "Runtime-generated, factory-produced, conditional, spread-based, or mutated programmatic agent definitions remain unestablished.",
5200
+ id: "dynamic-agent-definition",
5201
+ kind: "agent",
5202
+ support: "ambiguous"
5203
+ },
5204
+ {
5205
+ description: "Subagents defined through .claude/agents files are outside the initial repository-owned programmatic target.",
5206
+ id: "filesystem-subagents",
5207
+ kind: "agent",
5208
+ support: "unsupported"
5209
+ },
5210
+ {
5211
+ description: "A directly exported immutable object-literal AgentDefinition supplies independently analyzable prompt, routing-description, and tool-restriction relationships.",
5212
+ id: "programmatic-agent-definition",
5213
+ kind: "agent",
5214
+ support: "full"
5215
+ },
5216
+ {
5217
+ description: "Query-level agent selection can apply another definition's prompt and tool restrictions to the main thread and keeps affected instruction, delegation, and tool relationships unresolved.",
5218
+ id: "query-main-thread-agent-selection",
5219
+ kind: "agent",
5220
+ support: "unsupported"
5221
+ },
5222
+ {
5223
+ description: "AgentDefinition criticalSystemReminder_EXPERIMENTAL is additional model-facing content and is not interpreted as canonical subagent instruction wiring.",
5224
+ id: "experimental-critical-system-reminder",
5225
+ kind: "instruction-loader",
5226
+ support: "unsupported"
5227
+ },
5228
+ {
5229
+ description: "A query-wrapper agent wires the declared instruction loader through a direct custom systemPrompt call.",
5230
+ id: "query-custom-system-prompt",
5231
+ kind: "instruction-loader",
5232
+ support: "full"
5233
+ },
5234
+ {
5235
+ description: "A query-wrapper agent uses the claude_code system-prompt preset and appends the declared canonical instruction loader directly.",
5236
+ id: "query-preset-append",
5237
+ kind: "instruction-loader",
5238
+ support: "full"
5239
+ },
5240
+ {
5241
+ description: "String-array system prompts and dynamic prompt-cache boundaries do not establish canonical query-wrapper instruction-loader wiring in the initial target.",
5242
+ id: "query-system-prompt-block-array",
5243
+ kind: "instruction-loader",
5244
+ support: "unsupported"
5245
+ },
5246
+ {
5247
+ description: "createSdkMcpServer instructions may coexist with supported tool relationships but are not canonical agent instruction-loader evidence or semantically validated content.",
5248
+ id: "sdk-mcp-server-instructions",
5249
+ kind: "instruction-loader",
5250
+ support: "unsupported"
5251
+ },
5252
+ {
5253
+ description: "The built-in general-purpose subagent and runtime Agent tool decisions are not mapped to registered moldea agents.",
5254
+ id: "built-in-subagents",
5255
+ kind: "routing",
5256
+ support: "unsupported"
5257
+ },
5258
+ {
5259
+ description: "A closed query agents map exposes supported programmatic subagent definitions under deterministic runtime names only when supported query-local rules classify query-configured Agent availability as available.",
5260
+ id: "closed-programmatic-agents-map",
5261
+ kind: "routing",
5262
+ support: "full"
5263
+ },
5264
+ {
5265
+ description: "Dynamic query tools or disallowedTools values, legacy Task aliases, scoped Agent or Task permission expressions, and unsupported non-* glob syntax do not establish whether a configured agents map is an active delegation surface.",
5266
+ id: "dynamic-agent-delegation-availability",
5267
+ kind: "routing",
5268
+ support: "ambiguous"
5269
+ },
5270
+ {
5271
+ description: "Runtime-generated, transformed, or indirectly loaded AgentDefinition descriptions remain unestablished.",
5272
+ id: "dynamic-routing-description",
5273
+ kind: "routing",
5274
+ support: "ambiguous"
5275
+ },
5276
+ {
5277
+ description: "For an active programmatic subagent registration, AgentDefinition.description uses the target canonical handoff description when present and the canonical agent-description fallback otherwise.",
5278
+ id: "effective-routing-description",
5279
+ kind: "routing",
5280
+ support: "full"
5281
+ },
5282
+ {
5283
+ description: "AgentDefinition observer and observerMessage semantics do not create ordinary moldea agent, handoff, routing-description, or instruction-loader relationships in the initial target.",
5284
+ id: "observer-agent-fields",
5285
+ kind: "routing",
5286
+ support: "unsupported"
5287
+ },
5288
+ {
5289
+ description: "Supported closed query tools and static bare disallowedTools patterns, including complete-name * globs, classify query-configured Agent availability; dynamic, scoped, legacy-alias, and unsupported non-* forms remain ambiguous.",
5290
+ id: "query-agent-delegation-availability",
5291
+ kind: "routing",
5292
+ support: "full"
5293
+ },
5294
+ {
5295
+ description: "The claude_code tools preset is not expanded to establish built-in Agent availability in the initial target.",
5296
+ id: "query-built-in-tools-preset",
5297
+ kind: "routing",
5298
+ support: "unsupported"
5299
+ },
5300
+ {
5301
+ description: "A directly exported TypeScript function contains one or more direct query calls in its own lexical body.",
5302
+ id: "direct-query-wrapper",
5303
+ kind: "runtime",
5304
+ support: "full"
5305
+ },
5306
+ {
5307
+ description: "Query inputs or options assembled through variables, factories, spreads, mutation, or arbitrary wrappers cannot be mapped reliably without semantic analysis.",
5308
+ id: "dynamic-query-options",
5309
+ kind: "runtime",
5310
+ support: "ambiguous"
5311
+ },
5312
+ {
5313
+ description: "Skills, plugins, hooks, settings, CLAUDE.md loading, and other filesystem features are outside the initial deterministic relationship target.",
5314
+ id: "skills-plugins-and-hooks",
5315
+ kind: "runtime",
5316
+ support: "unsupported"
5317
+ },
5318
+ {
5319
+ description: "A query-wrapper agent wires a bound output schema through outputFormat with the json_schema type.",
5320
+ id: "query-json-schema-output",
5321
+ kind: "schema",
5322
+ support: "full"
5323
+ },
5324
+ {
5325
+ description: "Dynamic or unsupported query or AgentDefinition tool restrictions that could match an SDK MCP tool establish neither positive registration evidence nor a closed negative registration conclusion.",
5326
+ id: "dynamic-tool-availability",
5327
+ kind: "tool",
5328
+ support: "ambiguous"
5329
+ },
5330
+ {
5331
+ description: "An actively delegable programmatic subagent has a closed AgentDefinition tools array containing the exact fully qualified SDK MCP tool name, and supported static deny-pattern analysis leaves the exact tool available.",
5332
+ id: "explicit-subagent-tools",
5333
+ kind: "tool",
5334
+ support: "full"
5335
+ },
5336
+ {
5337
+ description: "Stdio, SSE, HTTP, remote, proxy, and other external MCP configurations do not establish repository-local manifest tool relationships in the initial target.",
5338
+ id: "external-mcp-servers",
5339
+ kind: "tool",
5340
+ support: "unsupported"
5341
+ },
5342
+ {
5343
+ description: "An actively delegable programmatic subagent with omitted tools inherits a query-available SDK MCP tool when supported subagent deny-pattern analysis also leaves the exact tool available.",
5344
+ id: "inherited-subagent-tools",
5345
+ kind: "tool",
5346
+ support: "full"
5347
+ },
5348
+ {
5349
+ description: "AgentDefinition-level MCP server configuration is outside the initial query-level SDK MCP target.",
5350
+ id: "per-agent-mcp-servers",
5351
+ kind: "tool",
5352
+ support: "unsupported"
5353
+ },
5354
+ {
5355
+ description: "Query-level toolAliases can redirect model-emitted tool names and keep affected delegation and SDK MCP tool relationships unresolved.",
5356
+ id: "query-tool-aliases",
5357
+ kind: "tool",
5358
+ support: "unsupported"
5359
+ },
5360
+ {
5361
+ description: "An empty query mcpServers key cannot establish a supported canonical runtime-name segment, while a key containing characters outside [A-Za-z0-9_-] requires SDK normalization; either form produces the stable unsupported-key diagnostic and establishes no runtime-name or tool-availability conclusion for that mount.",
5362
+ id: "sdk-mcp-server-key-normalization",
5363
+ kind: "tool",
5364
+ support: "unsupported"
5365
+ },
5366
+ {
5367
+ description: "A closed SDK MCP server mounted under a canonical query mcpServers key matching ^[A-Za-z0-9_-]+$ exposes declared tools under fully qualified runtime names only when relationship-local query tool availability remains available after supported static deny-pattern analysis; optional server instructions remain outside canonical instruction validation.",
5368
+ id: "sdk-mcp-server-registration",
5369
+ kind: "tool",
5370
+ support: "full"
5371
+ },
5372
+ {
5373
+ description: "A directly exported SDK tool uses a static name, direct implementation binding, and direct input-schema binding.",
5374
+ id: "sdk-mcp-tool-declaration",
5375
+ kind: "tool",
5376
+ support: "full"
5377
+ }
5378
+ ],
5379
+ supportLevel: "experimental"
5380
+ }]
5117
5381
  },
5118
5382
  "cloudflare-agents": {
5119
5383
  implementation: {
@@ -5589,12 +5853,264 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
5589
5853
  }]
5590
5854
  },
5591
5855
  "vercel-ai-sdk": {
5856
+ compatibleCoreRange: "^2.0.0",
5592
5857
  implementation: {
5593
5858
  distribution: "public",
5594
5859
  kind: "package",
5595
- package: "@moldea.ai/adapter-vercel-ai-sdk"
5860
+ package: "@moldea.ai/adapter-vercel-ai-sdk",
5861
+ versionRange: "^1.0.0"
5596
5862
  },
5597
- implementationStatus: "planned"
5863
+ implementationStatus: "available",
5864
+ lastVerifiedAt: "2026-08-19",
5865
+ runtimeGuidance: {
5866
+ expectation: "optional",
5867
+ notes: "Project-local guidance is needed only for repository-specific wrappers or unsupported dynamic integration patterns."
5868
+ },
5869
+ supportedRepositoryFormatVersions: [1],
5870
+ targets: [{
5871
+ bindingSupport: {
5872
+ "instruction-loader": {
5873
+ relationship: "partial",
5874
+ symbol: "partial"
5875
+ },
5876
+ "output-schema": {
5877
+ relationship: "partial",
5878
+ symbol: "partial"
5879
+ },
5880
+ "runtime-agent": {
5881
+ relationship: "partial",
5882
+ symbol: "partial"
5883
+ },
5884
+ "tool-implementation": {
5885
+ relationship: "partial",
5886
+ symbol: "partial"
5887
+ },
5888
+ "tool-input-schema": {
5889
+ relationship: "partial",
5890
+ symbol: "partial"
5891
+ },
5892
+ "tool-output-schema": {
5893
+ relationship: "partial",
5894
+ symbol: "partial"
5895
+ },
5896
+ "tool-registration": {
5897
+ relationship: "partial",
5898
+ symbol: "partial"
5899
+ }
5900
+ },
5901
+ evidenceKinds: [
5902
+ "instruction-loader",
5903
+ "language",
5904
+ "runtime-package",
5905
+ "runtime-pattern",
5906
+ "schema",
5907
+ "tool-registration"
5908
+ ],
5909
+ id: "typescript-generate-stream-text-7",
5910
+ kind: "package",
5911
+ knownLimitations: [
5912
+ "Lockfiles and installed package versions are not inspected.",
5913
+ "Only Output.object establishes an agent output-schema relationship.",
5914
+ "Only TypeScript ESM source and documented direct relative imports are interpreted.",
5915
+ "Only direct generateText and streamText calls in the bound function's own lexical body are interpreted.",
5916
+ "The target does not infer providers, models, routing targets, handoffs, or subagent control transfer.",
5917
+ "prepareStep function bodies are not interpreted."
5918
+ ],
5919
+ language: "typescript",
5920
+ lastVerifiedAt: "2026-08-19",
5921
+ packages: [{
5922
+ ecosystem: "npm",
5923
+ name: "ai",
5924
+ role: "primary",
5925
+ versionRange: ">=7.0.66 <8.0.0"
5926
+ }],
5927
+ patterns: [
5928
+ {
5929
+ description: "A directly exported function containing a direct generateText object-literal call is recognized as the runtime pattern.",
5930
+ id: "direct-generate-text-wrapper",
5931
+ kind: "agent",
5932
+ support: "full"
5933
+ },
5934
+ {
5935
+ description: "A directly exported function containing a direct streamText object-literal call is recognized as the runtime pattern.",
5936
+ id: "direct-stream-text-wrapper",
5937
+ kind: "agent",
5938
+ support: "full"
5939
+ },
5940
+ {
5941
+ description: "Direct loader calls are supported when prepareStep cannot replace the instructions.",
5942
+ id: "direct-generation-instruction-loader",
5943
+ kind: "instruction-loader",
5944
+ support: "partial"
5945
+ },
5946
+ {
5947
+ description: "instructions is authoritative and deprecated system is used only through the supported absence fallback.",
5948
+ id: "instructions-system-precedence",
5949
+ kind: "instruction-loader",
5950
+ support: "full"
5951
+ },
5952
+ {
5953
+ description: "prepareStep may replace per-step instructions and is not interpreted by the initial target.",
5954
+ id: "prepare-step-instruction-overrides",
5955
+ kind: "instruction-loader",
5956
+ support: "ambiguous"
5957
+ },
5958
+ {
5959
+ description: "Calls routed through arbitrary wrappers, factories, callbacks, or request builders are outside the initial target.",
5960
+ id: "indirect-generation-wrapper",
5961
+ kind: "runtime",
5962
+ support: "unsupported"
5963
+ },
5964
+ {
5965
+ description: "The initial direct-generation target publishes no agent input-schema relationship.",
5966
+ id: "direct-agent-input-schema",
5967
+ kind: "schema",
5968
+ support: "unsupported"
5969
+ },
5970
+ {
5971
+ description: "Direct Output.object schema binding establishes the agent output-schema relationship.",
5972
+ id: "object-output-schema",
5973
+ kind: "schema",
5974
+ support: "partial"
5975
+ },
5976
+ {
5977
+ description: "Closed object-map registration supports repository-local function tools created through tool.",
5978
+ id: "closed-tools-map",
5979
+ kind: "tool",
5980
+ support: "partial"
5981
+ },
5982
+ {
5983
+ description: "Direct execute, inputSchema, and outputSchema bindings are interpreted without executing the tool.",
5984
+ id: "direct-function-tool-bindings",
5985
+ kind: "tool",
5986
+ support: "partial"
5987
+ }
5988
+ ],
5989
+ supportLevel: "experimental"
5990
+ }, {
5991
+ bindingSupport: {
5992
+ "input-schema": {
5993
+ relationship: "partial",
5994
+ symbol: "partial"
5995
+ },
5996
+ "instruction-loader": {
5997
+ relationship: "partial",
5998
+ symbol: "partial"
5999
+ },
6000
+ "output-schema": {
6001
+ relationship: "partial",
6002
+ symbol: "partial"
6003
+ },
6004
+ "runtime-agent": {
6005
+ relationship: "partial",
6006
+ symbol: "partial"
6007
+ },
6008
+ "tool-implementation": {
6009
+ relationship: "partial",
6010
+ symbol: "partial"
6011
+ },
6012
+ "tool-input-schema": {
6013
+ relationship: "partial",
6014
+ symbol: "partial"
6015
+ },
6016
+ "tool-output-schema": {
6017
+ relationship: "partial",
6018
+ symbol: "partial"
6019
+ },
6020
+ "tool-registration": {
6021
+ relationship: "partial",
6022
+ symbol: "partial"
6023
+ }
6024
+ },
6025
+ evidenceKinds: [
6026
+ "agent-definition",
6027
+ "instruction-loader",
6028
+ "language",
6029
+ "runtime-package",
6030
+ "schema",
6031
+ "tool-registration"
6032
+ ],
6033
+ id: "typescript-tool-loop-agent-7",
6034
+ kind: "package",
6035
+ knownLimitations: [
6036
+ "Lockfiles and installed package versions are not inspected.",
6037
+ "Only Output.object establishes an agent output-schema relationship.",
6038
+ "Only TypeScript ESM source and documented direct relative imports are interpreted.",
6039
+ "The target does not infer providers, models, routing targets, handoffs, or subagent control transfer.",
6040
+ "prepareCall and prepareStep function bodies are not interpreted; prepareCall therefore leaves instruction, tool, and output-schema wiring unresolved."
6041
+ ],
6042
+ language: "typescript",
6043
+ lastVerifiedAt: "2026-08-19",
6044
+ packages: [{
6045
+ ecosystem: "npm",
6046
+ name: "ai",
6047
+ role: "primary",
6048
+ versionRange: ">=7.0.66 <8.0.0"
6049
+ }],
6050
+ patterns: [
6051
+ {
6052
+ description: "Directly exported ToolLoopAgent construction through one closed object-literal settings value.",
6053
+ id: "direct-tool-loop-agent-construction",
6054
+ kind: "agent",
6055
+ support: "full"
6056
+ },
6057
+ {
6058
+ description: "prepareCall may replace instructions and tools or omit the construction-time output, and is not interpreted by the initial target.",
6059
+ id: "prepare-call-overrides",
6060
+ kind: "agent",
6061
+ support: "ambiguous"
6062
+ },
6063
+ {
6064
+ description: "WorkflowAgent and @ai-sdk/workflow are outside the initial target.",
6065
+ id: "workflow-agent",
6066
+ kind: "agent",
6067
+ support: "unsupported"
6068
+ },
6069
+ {
6070
+ description: "Direct loader calls in instructions are supported when prepareCall and prepareStep cannot replace them.",
6071
+ id: "direct-agent-instruction-loader",
6072
+ kind: "instruction-loader",
6073
+ support: "partial"
6074
+ },
6075
+ {
6076
+ description: "prepareStep may replace per-step instructions and is not interpreted by the initial target.",
6077
+ id: "prepare-step-instruction-overrides",
6078
+ kind: "instruction-loader",
6079
+ support: "ambiguous"
6080
+ },
6081
+ {
6082
+ description: "A function tool that calls another agent does not establish a target or handoff relationship in the initial target.",
6083
+ id: "subagent-handoff-inference",
6084
+ kind: "routing",
6085
+ support: "unsupported"
6086
+ },
6087
+ {
6088
+ description: "Direct callOptionsSchema binding establishes the agent input-schema relationship.",
6089
+ id: "call-options-input-schema",
6090
+ kind: "schema",
6091
+ support: "full"
6092
+ },
6093
+ {
6094
+ description: "Direct Output.object schema binding establishes the agent output-schema relationship when no uninterpreted prepareCall can remove it.",
6095
+ id: "object-output-schema",
6096
+ kind: "schema",
6097
+ support: "partial"
6098
+ },
6099
+ {
6100
+ description: "Closed object-map registration supports repository-local function tools created through tool.",
6101
+ id: "closed-tools-map",
6102
+ kind: "tool",
6103
+ support: "partial"
6104
+ },
6105
+ {
6106
+ description: "Direct execute, inputSchema, and outputSchema bindings are interpreted without executing the tool.",
6107
+ id: "direct-function-tool-bindings",
6108
+ kind: "tool",
6109
+ support: "partial"
6110
+ }
6111
+ ],
6112
+ supportLevel: "experimental"
6113
+ }]
5598
6114
  }
5599
6115
  },
5600
6116
  version: 1
@@ -5606,6 +6122,10 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
5606
6122
  name: "@moldea.ai/adapter-anthropic",
5607
6123
  version: "2.0.1"
5608
6124
  },
6125
+ {
6126
+ name: "@moldea.ai/adapter-claude-agent-sdk",
6127
+ version: "1.0.0"
6128
+ },
5609
6129
  {
5610
6130
  name: "@moldea.ai/adapter-google-genai",
5611
6131
  version: "1.0.3"
@@ -5616,7 +6136,11 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
5616
6136
  },
5617
6137
  {
5618
6138
  name: "@moldea.ai/adapter-openai-agents-sdk",
5619
- version: "1.0.1"
6139
+ version: "1.0.2"
6140
+ },
6141
+ {
6142
+ name: "@moldea.ai/adapter-vercel-ai-sdk",
6143
+ version: "1.0.0"
5620
6144
  },
5621
6145
  {
5622
6146
  name: "@moldea.ai/core",