@moldea.ai/cli 3.3.0 → 3.3.2
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 +7 -5
- package/dist/moldea.js +459 -7
- package/dist/moldea.js.map +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -31,11 +31,13 @@ The package exposes the `moldea` executable and no supported JavaScript or TypeS
|
|
|
31
31
|
- `@moldea.ai/core`
|
|
32
32
|
- `@moldea.ai/adapter-anthropic`
|
|
33
33
|
- `@moldea.ai/adapter-claude-agent-sdk`
|
|
34
|
+
- `@moldea.ai/adapter-cloudflare-agents`
|
|
34
35
|
- `@moldea.ai/adapter-google-genai`
|
|
35
36
|
- `@moldea.ai/adapter-openai`
|
|
36
37
|
- `@moldea.ai/adapter-openai-agents-sdk`
|
|
38
|
+
- `@moldea.ai/adapter-vercel-ai-sdk`
|
|
37
39
|
|
|
38
|
-
The package-backed `anthropic`, `google-genai`, `openai`,
|
|
40
|
+
The package-backed `anthropic`, `claude-agent-sdk`, `cloudflare-agents`, `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.
|
|
39
41
|
|
|
40
42
|
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.
|
|
41
43
|
|
|
@@ -83,7 +85,7 @@ Before attempting a snapshot, the CLI pins the selected root directory, its work
|
|
|
83
85
|
|
|
84
86
|
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`.
|
|
85
87
|
|
|
86
|
-
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`,
|
|
88
|
+
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.
|
|
87
89
|
|
|
88
90
|
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.
|
|
89
91
|
|
|
@@ -101,7 +103,7 @@ A successfully completed Core inspection produces `validate` human or JSON outpu
|
|
|
101
103
|
|
|
102
104
|
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.
|
|
103
105
|
|
|
104
|
-
`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`,
|
|
106
|
+
`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.
|
|
105
107
|
|
|
106
108
|
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.
|
|
107
109
|
|
|
@@ -120,6 +122,6 @@ pnpm --filter @moldea.ai/cli test
|
|
|
120
122
|
|
|
121
123
|
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.
|
|
122
124
|
|
|
123
|
-
CI separately packs Repository, Repository FS, Core,
|
|
125
|
+
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.
|
|
124
126
|
|
|
125
|
-
|
|
127
|
+
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
|
@@ -5,9 +5,11 @@ 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
7
|
import { claudeAgentSdkAdapter } from "@moldea.ai/adapter-claude-agent-sdk";
|
|
8
|
+
import { cloudflareAgentsAdapter } from "@moldea.ai/adapter-cloudflare-agents";
|
|
8
9
|
import { googleGenAiAdapter } from "@moldea.ai/adapter-google-genai";
|
|
9
10
|
import { openAiAdapter } from "@moldea.ai/adapter-openai";
|
|
10
11
|
import { openAiAgentsSdkAdapter } from "@moldea.ai/adapter-openai-agents-sdk";
|
|
12
|
+
import { vercelAiSdkAdapter } from "@moldea.ai/adapter-vercel-ai-sdk";
|
|
11
13
|
import { TextDecoder as TextDecoder$1 } from "node:util";
|
|
12
14
|
import { execFile, spawn } from "node:child_process";
|
|
13
15
|
import { lstat, readFile, readdir, stat } from "node:fs/promises";
|
|
@@ -2209,9 +2211,11 @@ var createMoldeaCliCompatibilityResult = (input) => {
|
|
|
2209
2211
|
var ACTIVE_RUNTIME_ADAPTERS = Object.freeze([
|
|
2210
2212
|
anthropicAdapter,
|
|
2211
2213
|
claudeAgentSdkAdapter,
|
|
2214
|
+
cloudflareAgentsAdapter,
|
|
2212
2215
|
googleGenAiAdapter,
|
|
2213
2216
|
openAiAdapter,
|
|
2214
|
-
openAiAgentsSdkAdapter
|
|
2217
|
+
openAiAgentsSdkAdapter,
|
|
2218
|
+
vercelAiSdkAdapter
|
|
2215
2219
|
]);
|
|
2216
2220
|
//#endregion
|
|
2217
2221
|
//#region src/core-composition/executor.ts
|
|
@@ -4979,14 +4983,16 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
4979
4983
|
activeAdapterIds: [
|
|
4980
4984
|
"anthropic",
|
|
4981
4985
|
"claude-agent-sdk",
|
|
4986
|
+
"cloudflare-agents",
|
|
4982
4987
|
"google-genai",
|
|
4983
4988
|
"openai",
|
|
4984
|
-
"openai-agents-sdk"
|
|
4989
|
+
"openai-agents-sdk",
|
|
4990
|
+
"vercel-ai-sdk"
|
|
4985
4991
|
],
|
|
4986
4992
|
cliPackage: {
|
|
4987
4993
|
name: "@moldea.ai/cli",
|
|
4988
4994
|
supportedNodeRange: "^22.11.0 || ^24.11.0",
|
|
4989
|
-
version: "3.3.
|
|
4995
|
+
version: "3.3.2"
|
|
4990
4996
|
},
|
|
4991
4997
|
coreRecognizedAdapterIds: [
|
|
4992
4998
|
"anthropic",
|
|
@@ -5377,12 +5383,198 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
5377
5383
|
}]
|
|
5378
5384
|
},
|
|
5379
5385
|
"cloudflare-agents": {
|
|
5386
|
+
compatibleCoreRange: "^2.0.0",
|
|
5380
5387
|
implementation: {
|
|
5381
5388
|
distribution: "public",
|
|
5382
5389
|
kind: "package",
|
|
5383
|
-
package: "@moldea.ai/adapter-cloudflare-agents"
|
|
5390
|
+
package: "@moldea.ai/adapter-cloudflare-agents",
|
|
5391
|
+
versionRange: "^1.0.0"
|
|
5384
5392
|
},
|
|
5385
|
-
implementationStatus: "
|
|
5393
|
+
implementationStatus: "available",
|
|
5394
|
+
lastVerifiedAt: "2026-08-19",
|
|
5395
|
+
runtimeGuidance: {
|
|
5396
|
+
expectation: "recommended",
|
|
5397
|
+
notes: "Project-local guidance should document Cloudflare bindings, Durable Object wiring, and deployment-specific behavior outside the verified static source boundary."
|
|
5398
|
+
},
|
|
5399
|
+
supportedRepositoryFormatVersions: [1],
|
|
5400
|
+
targets: [{
|
|
5401
|
+
bindingSupport: {
|
|
5402
|
+
"instruction-loader": {
|
|
5403
|
+
relationship: "partial",
|
|
5404
|
+
symbol: "partial"
|
|
5405
|
+
},
|
|
5406
|
+
"output-schema": {
|
|
5407
|
+
relationship: "partial",
|
|
5408
|
+
symbol: "partial"
|
|
5409
|
+
},
|
|
5410
|
+
"runtime-agent": {
|
|
5411
|
+
relationship: "partial",
|
|
5412
|
+
symbol: "partial"
|
|
5413
|
+
},
|
|
5414
|
+
"tool-implementation": {
|
|
5415
|
+
relationship: "partial",
|
|
5416
|
+
symbol: "partial"
|
|
5417
|
+
},
|
|
5418
|
+
"tool-input-schema": {
|
|
5419
|
+
relationship: "partial",
|
|
5420
|
+
symbol: "partial"
|
|
5421
|
+
},
|
|
5422
|
+
"tool-output-schema": {
|
|
5423
|
+
relationship: "partial",
|
|
5424
|
+
symbol: "partial"
|
|
5425
|
+
},
|
|
5426
|
+
"tool-registration": {
|
|
5427
|
+
relationship: "partial",
|
|
5428
|
+
symbol: "partial"
|
|
5429
|
+
}
|
|
5430
|
+
},
|
|
5431
|
+
evidenceKinds: [
|
|
5432
|
+
"agent-definition",
|
|
5433
|
+
"handoff-registration",
|
|
5434
|
+
"instruction-loader",
|
|
5435
|
+
"language",
|
|
5436
|
+
"runtime-package",
|
|
5437
|
+
"runtime-pattern",
|
|
5438
|
+
"schema",
|
|
5439
|
+
"tool-registration"
|
|
5440
|
+
],
|
|
5441
|
+
id: "typescript-ai-chat-agent-0-10-ai-sdk-7",
|
|
5442
|
+
kind: "package",
|
|
5443
|
+
knownLimitations: [
|
|
5444
|
+
"Dynamic, provider, MCP-generated, or inline tools without exact repository registration identities are outside the target.",
|
|
5445
|
+
"Nested or indirect generation, request variables, prepareStep instruction interpretation, and generation functions other than generateText and streamText are outside the target.",
|
|
5446
|
+
"Output variants other than Output.object and all agent input schemas are outside the target."
|
|
5447
|
+
],
|
|
5448
|
+
language: "typescript",
|
|
5449
|
+
lastVerifiedAt: "2026-08-19",
|
|
5450
|
+
packages: [
|
|
5451
|
+
{
|
|
5452
|
+
ecosystem: "npm",
|
|
5453
|
+
name: "agents",
|
|
5454
|
+
role: "companion",
|
|
5455
|
+
versionRange: ">=0.21.0 <0.22.0"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
ecosystem: "npm",
|
|
5459
|
+
name: "ai",
|
|
5460
|
+
role: "companion",
|
|
5461
|
+
versionRange: ">=7.0.0 <8.0.0"
|
|
5462
|
+
},
|
|
5463
|
+
{
|
|
5464
|
+
ecosystem: "npm",
|
|
5465
|
+
name: "@cloudflare/ai-chat",
|
|
5466
|
+
role: "primary",
|
|
5467
|
+
versionRange: ">=0.10.2 <0.11.0"
|
|
5468
|
+
}
|
|
5469
|
+
],
|
|
5470
|
+
patterns: [
|
|
5471
|
+
{
|
|
5472
|
+
description: "Directly exported TypeScript classes extending an exact named AIChatAgent import with the supported onChatMessage signature.",
|
|
5473
|
+
id: "directly-exported-ai-chat-agent-class",
|
|
5474
|
+
kind: "agent",
|
|
5475
|
+
support: "partial"
|
|
5476
|
+
},
|
|
5477
|
+
{
|
|
5478
|
+
description: "Direct generateText or streamText calls in the onChatMessage method's own lexical body.",
|
|
5479
|
+
id: "direct-ai-sdk-generation",
|
|
5480
|
+
kind: "runtime",
|
|
5481
|
+
support: "partial"
|
|
5482
|
+
},
|
|
5483
|
+
{
|
|
5484
|
+
description: "Output.object agent schemas, repository-local AI SDK function tools, and Cloudflare agentTool helpers in closed generation-request tools maps.",
|
|
5485
|
+
id: "ai-chat-structured-output-and-tools",
|
|
5486
|
+
kind: "tool",
|
|
5487
|
+
support: "partial"
|
|
5488
|
+
}
|
|
5489
|
+
],
|
|
5490
|
+
supportLevel: "experimental"
|
|
5491
|
+
}, {
|
|
5492
|
+
bindingSupport: {
|
|
5493
|
+
"instruction-loader": {
|
|
5494
|
+
relationship: "partial",
|
|
5495
|
+
symbol: "partial"
|
|
5496
|
+
},
|
|
5497
|
+
"runtime-agent": {
|
|
5498
|
+
relationship: "partial",
|
|
5499
|
+
symbol: "partial"
|
|
5500
|
+
},
|
|
5501
|
+
"tool-implementation": {
|
|
5502
|
+
relationship: "partial",
|
|
5503
|
+
symbol: "partial"
|
|
5504
|
+
},
|
|
5505
|
+
"tool-input-schema": {
|
|
5506
|
+
relationship: "partial",
|
|
5507
|
+
symbol: "partial"
|
|
5508
|
+
},
|
|
5509
|
+
"tool-output-schema": {
|
|
5510
|
+
relationship: "partial",
|
|
5511
|
+
symbol: "partial"
|
|
5512
|
+
},
|
|
5513
|
+
"tool-registration": {
|
|
5514
|
+
relationship: "partial",
|
|
5515
|
+
symbol: "partial"
|
|
5516
|
+
}
|
|
5517
|
+
},
|
|
5518
|
+
evidenceKinds: [
|
|
5519
|
+
"agent-definition",
|
|
5520
|
+
"handoff-registration",
|
|
5521
|
+
"instruction-loader",
|
|
5522
|
+
"language",
|
|
5523
|
+
"runtime-package",
|
|
5524
|
+
"schema",
|
|
5525
|
+
"tool-registration"
|
|
5526
|
+
],
|
|
5527
|
+
id: "typescript-think-0-16-ai-sdk-7",
|
|
5528
|
+
kind: "package",
|
|
5529
|
+
knownLimitations: [
|
|
5530
|
+
"Agent input and output schemas are not supported for Think.",
|
|
5531
|
+
"Bare Agent classes, factories, indirect subclasses, decorators, executable fields, static blocks, computed members, generators, and non-pass-through constructors are outside the target.",
|
|
5532
|
+
"Dynamic session builders, onCompaction interpretation, runtime mutation, channel-provided tool replacement, and open tools maps are outside the target."
|
|
5533
|
+
],
|
|
5534
|
+
language: "typescript",
|
|
5535
|
+
lastVerifiedAt: "2026-08-19",
|
|
5536
|
+
packages: [
|
|
5537
|
+
{
|
|
5538
|
+
ecosystem: "npm",
|
|
5539
|
+
name: "agents",
|
|
5540
|
+
role: "companion",
|
|
5541
|
+
versionRange: ">=0.21.0 <0.22.0"
|
|
5542
|
+
},
|
|
5543
|
+
{
|
|
5544
|
+
ecosystem: "npm",
|
|
5545
|
+
name: "ai",
|
|
5546
|
+
role: "companion",
|
|
5547
|
+
versionRange: ">=7.0.0 <8.0.0"
|
|
5548
|
+
},
|
|
5549
|
+
{
|
|
5550
|
+
ecosystem: "npm",
|
|
5551
|
+
name: "@cloudflare/think",
|
|
5552
|
+
role: "primary",
|
|
5553
|
+
versionRange: ">=0.16.0 <0.17.0"
|
|
5554
|
+
}
|
|
5555
|
+
],
|
|
5556
|
+
patterns: [
|
|
5557
|
+
{
|
|
5558
|
+
description: "Directly exported TypeScript classes extending an exact named Think import with closed class initialization.",
|
|
5559
|
+
id: "directly-exported-think-class",
|
|
5560
|
+
kind: "agent",
|
|
5561
|
+
support: "partial"
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
description: "Direct loader calls returned by getSystemPrompt or supported closed configureSession chaining.",
|
|
5565
|
+
id: "think-instruction-methods",
|
|
5566
|
+
kind: "instruction-loader",
|
|
5567
|
+
support: "partial"
|
|
5568
|
+
},
|
|
5569
|
+
{
|
|
5570
|
+
description: "Repository-local AI SDK function tools and Cloudflare agentTool helpers active in a closed getTools map.",
|
|
5571
|
+
id: "closed-think-tools-map",
|
|
5572
|
+
kind: "tool",
|
|
5573
|
+
support: "partial"
|
|
5574
|
+
}
|
|
5575
|
+
],
|
|
5576
|
+
supportLevel: "experimental"
|
|
5577
|
+
}]
|
|
5386
5578
|
},
|
|
5387
5579
|
custom: {
|
|
5388
5580
|
compatibleCoreRange: "^2.0.0",
|
|
@@ -5850,12 +6042,264 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
5850
6042
|
}]
|
|
5851
6043
|
},
|
|
5852
6044
|
"vercel-ai-sdk": {
|
|
6045
|
+
compatibleCoreRange: "^2.0.0",
|
|
5853
6046
|
implementation: {
|
|
5854
6047
|
distribution: "public",
|
|
5855
6048
|
kind: "package",
|
|
5856
|
-
package: "@moldea.ai/adapter-vercel-ai-sdk"
|
|
6049
|
+
package: "@moldea.ai/adapter-vercel-ai-sdk",
|
|
6050
|
+
versionRange: "^1.0.0"
|
|
5857
6051
|
},
|
|
5858
|
-
implementationStatus: "
|
|
6052
|
+
implementationStatus: "available",
|
|
6053
|
+
lastVerifiedAt: "2026-08-19",
|
|
6054
|
+
runtimeGuidance: {
|
|
6055
|
+
expectation: "optional",
|
|
6056
|
+
notes: "Project-local guidance is needed only for repository-specific wrappers or unsupported dynamic integration patterns."
|
|
6057
|
+
},
|
|
6058
|
+
supportedRepositoryFormatVersions: [1],
|
|
6059
|
+
targets: [{
|
|
6060
|
+
bindingSupport: {
|
|
6061
|
+
"instruction-loader": {
|
|
6062
|
+
relationship: "partial",
|
|
6063
|
+
symbol: "partial"
|
|
6064
|
+
},
|
|
6065
|
+
"output-schema": {
|
|
6066
|
+
relationship: "partial",
|
|
6067
|
+
symbol: "partial"
|
|
6068
|
+
},
|
|
6069
|
+
"runtime-agent": {
|
|
6070
|
+
relationship: "partial",
|
|
6071
|
+
symbol: "partial"
|
|
6072
|
+
},
|
|
6073
|
+
"tool-implementation": {
|
|
6074
|
+
relationship: "partial",
|
|
6075
|
+
symbol: "partial"
|
|
6076
|
+
},
|
|
6077
|
+
"tool-input-schema": {
|
|
6078
|
+
relationship: "partial",
|
|
6079
|
+
symbol: "partial"
|
|
6080
|
+
},
|
|
6081
|
+
"tool-output-schema": {
|
|
6082
|
+
relationship: "partial",
|
|
6083
|
+
symbol: "partial"
|
|
6084
|
+
},
|
|
6085
|
+
"tool-registration": {
|
|
6086
|
+
relationship: "partial",
|
|
6087
|
+
symbol: "partial"
|
|
6088
|
+
}
|
|
6089
|
+
},
|
|
6090
|
+
evidenceKinds: [
|
|
6091
|
+
"instruction-loader",
|
|
6092
|
+
"language",
|
|
6093
|
+
"runtime-package",
|
|
6094
|
+
"runtime-pattern",
|
|
6095
|
+
"schema",
|
|
6096
|
+
"tool-registration"
|
|
6097
|
+
],
|
|
6098
|
+
id: "typescript-generate-stream-text-7",
|
|
6099
|
+
kind: "package",
|
|
6100
|
+
knownLimitations: [
|
|
6101
|
+
"Lockfiles and installed package versions are not inspected.",
|
|
6102
|
+
"Only Output.object establishes an agent output-schema relationship.",
|
|
6103
|
+
"Only TypeScript ESM source and documented direct relative imports are interpreted.",
|
|
6104
|
+
"Only direct generateText and streamText calls in the bound function's own lexical body are interpreted.",
|
|
6105
|
+
"The target does not infer providers, models, routing targets, handoffs, or subagent control transfer.",
|
|
6106
|
+
"prepareStep function bodies are not interpreted."
|
|
6107
|
+
],
|
|
6108
|
+
language: "typescript",
|
|
6109
|
+
lastVerifiedAt: "2026-08-19",
|
|
6110
|
+
packages: [{
|
|
6111
|
+
ecosystem: "npm",
|
|
6112
|
+
name: "ai",
|
|
6113
|
+
role: "primary",
|
|
6114
|
+
versionRange: ">=7.0.66 <8.0.0"
|
|
6115
|
+
}],
|
|
6116
|
+
patterns: [
|
|
6117
|
+
{
|
|
6118
|
+
description: "A directly exported function containing a direct generateText object-literal call is recognized as the runtime pattern.",
|
|
6119
|
+
id: "direct-generate-text-wrapper",
|
|
6120
|
+
kind: "agent",
|
|
6121
|
+
support: "full"
|
|
6122
|
+
},
|
|
6123
|
+
{
|
|
6124
|
+
description: "A directly exported function containing a direct streamText object-literal call is recognized as the runtime pattern.",
|
|
6125
|
+
id: "direct-stream-text-wrapper",
|
|
6126
|
+
kind: "agent",
|
|
6127
|
+
support: "full"
|
|
6128
|
+
},
|
|
6129
|
+
{
|
|
6130
|
+
description: "Direct loader calls are supported when prepareStep cannot replace the instructions.",
|
|
6131
|
+
id: "direct-generation-instruction-loader",
|
|
6132
|
+
kind: "instruction-loader",
|
|
6133
|
+
support: "partial"
|
|
6134
|
+
},
|
|
6135
|
+
{
|
|
6136
|
+
description: "instructions is authoritative and deprecated system is used only through the supported absence fallback.",
|
|
6137
|
+
id: "instructions-system-precedence",
|
|
6138
|
+
kind: "instruction-loader",
|
|
6139
|
+
support: "full"
|
|
6140
|
+
},
|
|
6141
|
+
{
|
|
6142
|
+
description: "prepareStep may replace per-step instructions and is not interpreted by the initial target.",
|
|
6143
|
+
id: "prepare-step-instruction-overrides",
|
|
6144
|
+
kind: "instruction-loader",
|
|
6145
|
+
support: "ambiguous"
|
|
6146
|
+
},
|
|
6147
|
+
{
|
|
6148
|
+
description: "Calls routed through arbitrary wrappers, factories, callbacks, or request builders are outside the initial target.",
|
|
6149
|
+
id: "indirect-generation-wrapper",
|
|
6150
|
+
kind: "runtime",
|
|
6151
|
+
support: "unsupported"
|
|
6152
|
+
},
|
|
6153
|
+
{
|
|
6154
|
+
description: "The initial direct-generation target publishes no agent input-schema relationship.",
|
|
6155
|
+
id: "direct-agent-input-schema",
|
|
6156
|
+
kind: "schema",
|
|
6157
|
+
support: "unsupported"
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
description: "Direct Output.object schema binding establishes the agent output-schema relationship.",
|
|
6161
|
+
id: "object-output-schema",
|
|
6162
|
+
kind: "schema",
|
|
6163
|
+
support: "partial"
|
|
6164
|
+
},
|
|
6165
|
+
{
|
|
6166
|
+
description: "Closed object-map registration supports repository-local function tools created through tool.",
|
|
6167
|
+
id: "closed-tools-map",
|
|
6168
|
+
kind: "tool",
|
|
6169
|
+
support: "partial"
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
description: "Direct execute, inputSchema, and outputSchema bindings are interpreted without executing the tool.",
|
|
6173
|
+
id: "direct-function-tool-bindings",
|
|
6174
|
+
kind: "tool",
|
|
6175
|
+
support: "partial"
|
|
6176
|
+
}
|
|
6177
|
+
],
|
|
6178
|
+
supportLevel: "experimental"
|
|
6179
|
+
}, {
|
|
6180
|
+
bindingSupport: {
|
|
6181
|
+
"input-schema": {
|
|
6182
|
+
relationship: "partial",
|
|
6183
|
+
symbol: "partial"
|
|
6184
|
+
},
|
|
6185
|
+
"instruction-loader": {
|
|
6186
|
+
relationship: "partial",
|
|
6187
|
+
symbol: "partial"
|
|
6188
|
+
},
|
|
6189
|
+
"output-schema": {
|
|
6190
|
+
relationship: "partial",
|
|
6191
|
+
symbol: "partial"
|
|
6192
|
+
},
|
|
6193
|
+
"runtime-agent": {
|
|
6194
|
+
relationship: "partial",
|
|
6195
|
+
symbol: "partial"
|
|
6196
|
+
},
|
|
6197
|
+
"tool-implementation": {
|
|
6198
|
+
relationship: "partial",
|
|
6199
|
+
symbol: "partial"
|
|
6200
|
+
},
|
|
6201
|
+
"tool-input-schema": {
|
|
6202
|
+
relationship: "partial",
|
|
6203
|
+
symbol: "partial"
|
|
6204
|
+
},
|
|
6205
|
+
"tool-output-schema": {
|
|
6206
|
+
relationship: "partial",
|
|
6207
|
+
symbol: "partial"
|
|
6208
|
+
},
|
|
6209
|
+
"tool-registration": {
|
|
6210
|
+
relationship: "partial",
|
|
6211
|
+
symbol: "partial"
|
|
6212
|
+
}
|
|
6213
|
+
},
|
|
6214
|
+
evidenceKinds: [
|
|
6215
|
+
"agent-definition",
|
|
6216
|
+
"instruction-loader",
|
|
6217
|
+
"language",
|
|
6218
|
+
"runtime-package",
|
|
6219
|
+
"schema",
|
|
6220
|
+
"tool-registration"
|
|
6221
|
+
],
|
|
6222
|
+
id: "typescript-tool-loop-agent-7",
|
|
6223
|
+
kind: "package",
|
|
6224
|
+
knownLimitations: [
|
|
6225
|
+
"Lockfiles and installed package versions are not inspected.",
|
|
6226
|
+
"Only Output.object establishes an agent output-schema relationship.",
|
|
6227
|
+
"Only TypeScript ESM source and documented direct relative imports are interpreted.",
|
|
6228
|
+
"The target does not infer providers, models, routing targets, handoffs, or subagent control transfer.",
|
|
6229
|
+
"prepareCall and prepareStep function bodies are not interpreted; prepareCall therefore leaves instruction, tool, and output-schema wiring unresolved."
|
|
6230
|
+
],
|
|
6231
|
+
language: "typescript",
|
|
6232
|
+
lastVerifiedAt: "2026-08-19",
|
|
6233
|
+
packages: [{
|
|
6234
|
+
ecosystem: "npm",
|
|
6235
|
+
name: "ai",
|
|
6236
|
+
role: "primary",
|
|
6237
|
+
versionRange: ">=7.0.66 <8.0.0"
|
|
6238
|
+
}],
|
|
6239
|
+
patterns: [
|
|
6240
|
+
{
|
|
6241
|
+
description: "Directly exported ToolLoopAgent construction through one closed object-literal settings value.",
|
|
6242
|
+
id: "direct-tool-loop-agent-construction",
|
|
6243
|
+
kind: "agent",
|
|
6244
|
+
support: "full"
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
6247
|
+
description: "prepareCall may replace instructions and tools or omit the construction-time output, and is not interpreted by the initial target.",
|
|
6248
|
+
id: "prepare-call-overrides",
|
|
6249
|
+
kind: "agent",
|
|
6250
|
+
support: "ambiguous"
|
|
6251
|
+
},
|
|
6252
|
+
{
|
|
6253
|
+
description: "WorkflowAgent and @ai-sdk/workflow are outside the initial target.",
|
|
6254
|
+
id: "workflow-agent",
|
|
6255
|
+
kind: "agent",
|
|
6256
|
+
support: "unsupported"
|
|
6257
|
+
},
|
|
6258
|
+
{
|
|
6259
|
+
description: "Direct loader calls in instructions are supported when prepareCall and prepareStep cannot replace them.",
|
|
6260
|
+
id: "direct-agent-instruction-loader",
|
|
6261
|
+
kind: "instruction-loader",
|
|
6262
|
+
support: "partial"
|
|
6263
|
+
},
|
|
6264
|
+
{
|
|
6265
|
+
description: "prepareStep may replace per-step instructions and is not interpreted by the initial target.",
|
|
6266
|
+
id: "prepare-step-instruction-overrides",
|
|
6267
|
+
kind: "instruction-loader",
|
|
6268
|
+
support: "ambiguous"
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
description: "A function tool that calls another agent does not establish a target or handoff relationship in the initial target.",
|
|
6272
|
+
id: "subagent-handoff-inference",
|
|
6273
|
+
kind: "routing",
|
|
6274
|
+
support: "unsupported"
|
|
6275
|
+
},
|
|
6276
|
+
{
|
|
6277
|
+
description: "Direct callOptionsSchema binding establishes the agent input-schema relationship.",
|
|
6278
|
+
id: "call-options-input-schema",
|
|
6279
|
+
kind: "schema",
|
|
6280
|
+
support: "full"
|
|
6281
|
+
},
|
|
6282
|
+
{
|
|
6283
|
+
description: "Direct Output.object schema binding establishes the agent output-schema relationship when no uninterpreted prepareCall can remove it.",
|
|
6284
|
+
id: "object-output-schema",
|
|
6285
|
+
kind: "schema",
|
|
6286
|
+
support: "partial"
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
description: "Closed object-map registration supports repository-local function tools created through tool.",
|
|
6290
|
+
id: "closed-tools-map",
|
|
6291
|
+
kind: "tool",
|
|
6292
|
+
support: "partial"
|
|
6293
|
+
},
|
|
6294
|
+
{
|
|
6295
|
+
description: "Direct execute, inputSchema, and outputSchema bindings are interpreted without executing the tool.",
|
|
6296
|
+
id: "direct-function-tool-bindings",
|
|
6297
|
+
kind: "tool",
|
|
6298
|
+
support: "partial"
|
|
6299
|
+
}
|
|
6300
|
+
],
|
|
6301
|
+
supportLevel: "experimental"
|
|
6302
|
+
}]
|
|
5859
6303
|
}
|
|
5860
6304
|
},
|
|
5861
6305
|
version: 1
|
|
@@ -5871,6 +6315,10 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
5871
6315
|
name: "@moldea.ai/adapter-claude-agent-sdk",
|
|
5872
6316
|
version: "1.0.0"
|
|
5873
6317
|
},
|
|
6318
|
+
{
|
|
6319
|
+
name: "@moldea.ai/adapter-cloudflare-agents",
|
|
6320
|
+
version: "1.0.0"
|
|
6321
|
+
},
|
|
5874
6322
|
{
|
|
5875
6323
|
name: "@moldea.ai/adapter-google-genai",
|
|
5876
6324
|
version: "1.0.3"
|
|
@@ -5883,6 +6331,10 @@ var MOLDEA_CLI_RELEASE_METADATA = freezeMoldeaCliReleaseMetadata({
|
|
|
5883
6331
|
name: "@moldea.ai/adapter-openai-agents-sdk",
|
|
5884
6332
|
version: "1.0.2"
|
|
5885
6333
|
},
|
|
6334
|
+
{
|
|
6335
|
+
name: "@moldea.ai/adapter-vercel-ai-sdk",
|
|
6336
|
+
version: "1.0.0"
|
|
6337
|
+
},
|
|
5886
6338
|
{
|
|
5887
6339
|
name: "@moldea.ai/core",
|
|
5888
6340
|
version: "2.0.0"
|