@moldea.ai/adapter-cloudflare-agents 1.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/LICENSE +21 -0
- package/README.md +77 -0
- package/cover.png +0 -0
- package/dist/adapter/index.d.ts +3 -0
- package/dist/adapter/index.d.ts.map +1 -0
- package/dist/constants/index.d.ts +13 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/contracts/index.d.ts +159 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/diagnostics/index.d.ts +28 -0
- package/dist/diagnostics/index.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1646 -0
- package/dist/inspection/common.d.ts +19 -0
- package/dist/inspection/common.d.ts.map +1 -0
- package/dist/inspection/handoffs.d.ts +7 -0
- package/dist/inspection/handoffs.d.ts.map +1 -0
- package/dist/inspection/index.d.ts +2 -0
- package/dist/inspection/index.d.ts.map +1 -0
- package/dist/inspection/inspection.d.ts +18 -0
- package/dist/inspection/inspection.d.ts.map +1 -0
- package/dist/inspection/package-inspection.d.ts +7 -0
- package/dist/inspection/package-inspection.d.ts.map +1 -0
- package/dist/inspection/relationships.d.ts +7 -0
- package/dist/inspection/relationships.d.ts.map +1 -0
- package/dist/inspection/resolution.d.ts +20 -0
- package/dist/inspection/resolution.d.ts.map +1 -0
- package/dist/inspection/session.d.ts +5 -0
- package/dist/inspection/session.d.ts.map +1 -0
- package/dist/inspection/types.d.ts +12 -0
- package/dist/inspection/types.d.ts.map +1 -0
- package/dist/package-discovery/index.d.ts +7 -0
- package/dist/package-discovery/index.d.ts.map +1 -0
- package/dist/source-analysis/agent-tools.d.ts +5 -0
- package/dist/source-analysis/agent-tools.d.ts.map +1 -0
- package/dist/source-analysis/ai-chat-agents.d.ts +4 -0
- package/dist/source-analysis/ai-chat-agents.d.ts.map +1 -0
- package/dist/source-analysis/bindings.d.ts +14 -0
- package/dist/source-analysis/bindings.d.ts.map +1 -0
- package/dist/source-analysis/channel-tools.d.ts +4 -0
- package/dist/source-analysis/channel-tools.d.ts.map +1 -0
- package/dist/source-analysis/class-definitions.d.ts +4 -0
- package/dist/source-analysis/class-definitions.d.ts.map +1 -0
- package/dist/source-analysis/class-initialization.d.ts +4 -0
- package/dist/source-analysis/class-initialization.d.ts.map +1 -0
- package/dist/source-analysis/function-tools.d.ts +5 -0
- package/dist/source-analysis/function-tools.d.ts.map +1 -0
- package/dist/source-analysis/generation-requests.d.ts +4 -0
- package/dist/source-analysis/generation-requests.d.ts.map +1 -0
- package/dist/source-analysis/index.d.ts +14 -0
- package/dist/source-analysis/index.d.ts.map +1 -0
- package/dist/source-analysis/methods.d.ts +7 -0
- package/dist/source-analysis/methods.d.ts.map +1 -0
- package/dist/source-analysis/output-specifications.d.ts +4 -0
- package/dist/source-analysis/output-specifications.d.ts.map +1 -0
- package/dist/source-analysis/session-builders.d.ts +4 -0
- package/dist/source-analysis/session-builders.d.ts.map +1 -0
- package/dist/source-analysis/source-analysis.d.ts +5 -0
- package/dist/source-analysis/source-analysis.d.ts.map +1 -0
- package/dist/source-analysis/static-strings.d.ts +5 -0
- package/dist/source-analysis/static-strings.d.ts.map +1 -0
- package/dist/source-analysis/think-instructions.d.ts +4 -0
- package/dist/source-analysis/think-instructions.d.ts.map +1 -0
- package/dist/source-analysis/think-tools.d.ts +4 -0
- package/dist/source-analysis/think-tools.d.ts.map +1 -0
- package/dist/source-analysis/tool-maps.d.ts +5 -0
- package/dist/source-analysis/tool-maps.d.ts.map +1 -0
- package/dist/source-analysis/types.d.ts +11 -0
- package/dist/source-analysis/types.d.ts.map +1 -0
- package/package.json +60 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jesus Graterol
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# `@moldea.ai/adapter-cloudflare-agents`
|
|
4
|
+
|
|
5
|
+
Deterministic runtime evidence and diagnostics for Cloudflare `Think` and `AIChatAgent` integrations declared by `moldea` agents.
|
|
6
|
+
|
|
7
|
+
The package implements the official `cloudflare-agents` runtime adapter for `@moldea.ai/core`. It statically inspects explicitly bound repository source through Core's source-neutral reader. It never imports or executes Cloudflare Agents, requires no Cloudflare account or API key, executes no repository code, and makes no network request.
|
|
8
|
+
|
|
9
|
+
## Supported targets
|
|
10
|
+
|
|
11
|
+
Version `1.0.0` experimentally supports:
|
|
12
|
+
|
|
13
|
+
- Repository Format version `1`
|
|
14
|
+
- `@moldea.ai/core ^2.0.0`
|
|
15
|
+
- TypeScript ESM `.ts`, `.tsx`, and `.mts` source
|
|
16
|
+
- `@cloudflare/think >=0.16.0 <0.17.0`, `agents >=0.21.0 <0.22.0`, and `ai >=7.0.0 <8.0.0`
|
|
17
|
+
- `@cloudflare/ai-chat >=0.10.2 <0.11.0`, `agents >=0.21.0 <0.22.0`, and `ai >=7.0.0 <8.0.0`
|
|
18
|
+
- directly exported classes extending an exact named `Think` or `AIChatAgent` import
|
|
19
|
+
- Think instructions through `getSystemPrompt` and supported `configureSession` chains
|
|
20
|
+
- AIChatAgent instructions and structured output through direct `generateText` or `streamText` requests
|
|
21
|
+
- AI SDK function tools, closed tools maps, and Cloudflare `agentTool` handoffs
|
|
22
|
+
|
|
23
|
+
Named value imports and aliases are supported. Default imports, namespace imports, re-export graphs, runtime mutation, and dynamic class or tools-map forms remain outside the verified boundary. The Runtime Compatibility Matrix is authoritative for target maturity, exact versions, evidence, binding support, patterns, and known limitations.
|
|
24
|
+
|
|
25
|
+
## Usage
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { cloudflareAgentsAdapter } from '@moldea.ai/adapter-cloudflare-agents';
|
|
29
|
+
import { createCore } from '@moldea.ai/core';
|
|
30
|
+
|
|
31
|
+
const core = createCore({ adapters: [cloudflareAgentsAdapter] });
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The local CLI bundles active official adapters automatically. Applications composing Core directly register the immutable singleton explicitly.
|
|
35
|
+
|
|
36
|
+
## Public exports
|
|
37
|
+
|
|
38
|
+
The package exports only `cloudflareAgentsAdapter`. It has no default export, configuration factory, diagnostic registry, Cloudflare SDK facade, parser export, tool runtime, or mutable state.
|
|
39
|
+
|
|
40
|
+
## Evidence
|
|
41
|
+
|
|
42
|
+
The verified targets may emit `runtime-package`, `language`, `agent-definition`, `runtime-pattern`, `instruction-loader`, `schema`, `tool-registration`, and `handoff-registration` evidence. AIChatAgent direct generation emits `runtime-pattern`; Think does not. Schema details identify the `agent-output`, `tool-input`, or `tool-output` role.
|
|
43
|
+
|
|
44
|
+
Evidence is source-grounded, references existing repository files, and contains no repository contents, instructions, descriptions, credentials, model identifiers, tool arguments, provider configuration, request or response payloads, or model output.
|
|
45
|
+
|
|
46
|
+
## Diagnostics
|
|
47
|
+
|
|
48
|
+
| Code | Stable message |
|
|
49
|
+
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
50
|
+
| `CLOUDFLARE_AGENTS_PACKAGE_MANIFEST_INVALID` | The owning package manifest is invalid for Cloudflare Agents dependency detection. |
|
|
51
|
+
| `CLOUDFLARE_AGENTS_RUNTIME_VERSION_UNSUPPORTED` | The observed Cloudflare Agents dependency range is disjoint from the supported target. |
|
|
52
|
+
| `CLOUDFLARE_AGENTS_SOURCE_TEXT_INVALID` | The referenced Cloudflare Agents source file is not valid normalized text. |
|
|
53
|
+
| `CLOUDFLARE_AGENTS_SOURCE_SYNTAX_INVALID` | The referenced Cloudflare Agents source file contains invalid TypeScript syntax. |
|
|
54
|
+
| `CLOUDFLARE_AGENTS_RUNTIME_AGENT_SYMBOL_NOT_FOUND` | The declared runtime-agent symbol was not found. |
|
|
55
|
+
| `CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_SYMBOL_NOT_FOUND` | The declared instruction-loader symbol was not found. |
|
|
56
|
+
| `CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND` | The declared agent output-schema symbol was not found. |
|
|
57
|
+
| `CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_SYMBOL_NOT_FOUND` | The declared tool-implementation symbol was not found. |
|
|
58
|
+
| `CLOUDFLARE_AGENTS_TOOL_REGISTRATION_SYMBOL_NOT_FOUND` | The declared tool-registration symbol was not found. |
|
|
59
|
+
| `CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_SYMBOL_NOT_FOUND` | The declared tool input-schema symbol was not found. |
|
|
60
|
+
| `CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND` | The declared tool output-schema symbol was not found. |
|
|
61
|
+
| `CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_NOT_WIRED` | The declared instruction loader is not wired to a supported configured Cloudflare agent instruction source. |
|
|
62
|
+
| `CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_NOT_WIRED` | The declared agent output schema is not wired to the detected AIChatAgent structured output. |
|
|
63
|
+
| `CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_NOT_WIRED` | The declared tool implementation is not wired to the detected Cloudflare agent function tool. |
|
|
64
|
+
| `CLOUDFLARE_AGENTS_TOOL_REGISTRATION_NOT_WIRED` | The declared tool registration is not wired to the detected Cloudflare agent tools map. |
|
|
65
|
+
| `CLOUDFLARE_AGENTS_TOOL_NAME_MISMATCH` | The declared tool name does not match the detected Cloudflare agent tools-map key. |
|
|
66
|
+
| `CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_NOT_WIRED` | The declared tool input schema is not wired to the detected Cloudflare agent function tool. |
|
|
67
|
+
| `CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_NOT_WIRED` | The declared tool output schema is not wired to the detected Cloudflare agent function tool. |
|
|
68
|
+
| `CLOUDFLARE_AGENTS_HANDOFF_TARGET_AMBIGUOUS` | The detected Cloudflare agent-tool target maps to more than one registered agent. |
|
|
69
|
+
| `CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_MISSING` | The detected Cloudflare agent-tool routing description is missing. |
|
|
70
|
+
| `CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_NOT_WIRED` | The detected Cloudflare agent-tool routing description is not wired to the target agent's effective routing description. |
|
|
71
|
+
|
|
72
|
+
## Documentation
|
|
73
|
+
|
|
74
|
+
- [Adapter contract](docs/index.md)
|
|
75
|
+
- [Verified targets](docs/verified-targets.md)
|
|
76
|
+
- [Evidence and diagnostics](docs/evidence-and-diagnostics.md)
|
|
77
|
+
- [Boundaries and limitations](docs/limitations.md)
|
package/cover.png
ADDED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adapter/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAS/D,eAAO,MAAM,uBAAuB,EAAE,eAIpC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const CLOUDFLARE_AGENTS_ADAPTER_ID = "cloudflare-agents";
|
|
2
|
+
export declare const CLOUDFLARE_AGENTS_PACKAGE_NAME = "agents";
|
|
3
|
+
export declare const CLOUDFLARE_AI_CHAT_PACKAGE_NAME = "@cloudflare/ai-chat";
|
|
4
|
+
export declare const CLOUDFLARE_THINK_PACKAGE_NAME = "@cloudflare/think";
|
|
5
|
+
export declare const AI_SDK_PACKAGE_NAME = "ai";
|
|
6
|
+
export declare const CLOUDFLARE_THINK_TARGET_ID = "typescript-think-0-16-ai-sdk-7";
|
|
7
|
+
export declare const CLOUDFLARE_AI_CHAT_TARGET_ID = "typescript-ai-chat-agent-0-10-ai-sdk-7";
|
|
8
|
+
export declare const CLOUDFLARE_THINK_SUPPORTED_RANGE = ">=0.16.0 <0.17.0";
|
|
9
|
+
export declare const CLOUDFLARE_AI_CHAT_SUPPORTED_RANGE = ">=0.10.2 <0.11.0";
|
|
10
|
+
export declare const CLOUDFLARE_AGENTS_SUPPORTED_RANGE = ">=0.21.0 <0.22.0";
|
|
11
|
+
export declare const AI_SDK_SUPPORTED_RANGE = ">=7.0.0 <8.0.0";
|
|
12
|
+
export declare const CLOUDFLARE_AGENTS_SUPPORTED_REPOSITORY_FORMAT_VERSIONS: readonly 1[];
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,sBAAsB,CAAC;AAChE,eAAO,MAAM,8BAA8B,WAAW,CAAC;AACvD,eAAO,MAAM,+BAA+B,wBAAwB,CAAC;AACrE,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AACjE,eAAO,MAAM,mBAAmB,OAAO,CAAC;AACxC,eAAO,MAAM,0BAA0B,mCAAmC,CAAC;AAC3E,eAAO,MAAM,4BAA4B,2CAA2C,CAAC;AACrF,eAAO,MAAM,gCAAgC,qBAAqB,CAAC;AACnE,eAAO,MAAM,kCAAkC,qBAAqB,CAAC;AACrE,eAAO,MAAM,iCAAiC,qBAAqB,CAAC;AACpE,eAAO,MAAM,sBAAsB,mBAAmB,CAAC;AACvD,eAAO,MAAM,sDAAsD,cAEnB,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import type ts from 'typescript';
|
|
2
|
+
import type { ISourceRange } from '@moldea.ai/core';
|
|
3
|
+
import type { IAdapterDiagnostic } from '@moldea.ai/core/adapter';
|
|
4
|
+
import type { IRepositoryEntry, IRepositoryPath } from '@moldea.ai/repository';
|
|
5
|
+
export type ICloudflareAgentsTargetId = 'typescript-think-0-16-ai-sdk-7' | 'typescript-ai-chat-agent-0-10-ai-sdk-7';
|
|
6
|
+
export type ICloudflareAgentsAdapterDiagnosticCode = 'CLOUDFLARE_AGENTS_PACKAGE_MANIFEST_INVALID' | 'CLOUDFLARE_AGENTS_RUNTIME_VERSION_UNSUPPORTED' | 'CLOUDFLARE_AGENTS_SOURCE_TEXT_INVALID' | 'CLOUDFLARE_AGENTS_SOURCE_SYNTAX_INVALID' | 'CLOUDFLARE_AGENTS_RUNTIME_AGENT_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_TOOL_REGISTRATION_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_NOT_WIRED' | 'CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_NOT_WIRED' | 'CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_NOT_WIRED' | 'CLOUDFLARE_AGENTS_TOOL_REGISTRATION_NOT_WIRED' | 'CLOUDFLARE_AGENTS_TOOL_NAME_MISMATCH' | 'CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_NOT_WIRED' | 'CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_NOT_WIRED' | 'CLOUDFLARE_AGENTS_HANDOFF_TARGET_AMBIGUOUS' | 'CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_MISSING' | 'CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_NOT_WIRED';
|
|
7
|
+
export type ICloudflareAgentsPackageCompatibility = 'ambiguous' | 'supported' | 'unsupported';
|
|
8
|
+
export type ICloudflareAgentsPackageDependencyKind = 'dependencies' | 'optionalDependencies' | 'peerDependencies' | 'devDependencies';
|
|
9
|
+
export interface ICloudflareAgentsPackageDeclaration {
|
|
10
|
+
readonly declaredRange: string;
|
|
11
|
+
readonly dependencyKind: ICloudflareAgentsPackageDependencyKind;
|
|
12
|
+
}
|
|
13
|
+
export interface ICloudflareAgentsPackageObservation {
|
|
14
|
+
readonly declarations: ReadonlyMap<string, readonly ICloudflareAgentsPackageDeclaration[]>;
|
|
15
|
+
readonly path: IRepositoryPath;
|
|
16
|
+
}
|
|
17
|
+
export type ICloudflareAgentsPackageDiscoveryResult = {
|
|
18
|
+
readonly kind: 'absent';
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: 'invalid';
|
|
21
|
+
readonly path: IRepositoryPath;
|
|
22
|
+
} | {
|
|
23
|
+
readonly kind: 'observed';
|
|
24
|
+
readonly observation: ICloudflareAgentsPackageObservation;
|
|
25
|
+
};
|
|
26
|
+
export interface ICloudflareAgentsImports {
|
|
27
|
+
readonly agentToolNames: ReadonlySet<string>;
|
|
28
|
+
readonly aiChatAgentNames: ReadonlySet<string>;
|
|
29
|
+
readonly generateTextNames: ReadonlySet<string>;
|
|
30
|
+
readonly outputNames: ReadonlySet<string>;
|
|
31
|
+
readonly streamTextNames: ReadonlySet<string>;
|
|
32
|
+
readonly thinkNames: ReadonlySet<string>;
|
|
33
|
+
readonly toolNames: ReadonlySet<string>;
|
|
34
|
+
}
|
|
35
|
+
export type ICloudflareAgentsModuleExportState = {
|
|
36
|
+
readonly kind: 'absent';
|
|
37
|
+
} | {
|
|
38
|
+
readonly declaration: ts.Node;
|
|
39
|
+
readonly kind: 'present-supported';
|
|
40
|
+
} | {
|
|
41
|
+
readonly declaration: ts.Node;
|
|
42
|
+
readonly kind: 'present-unsupported';
|
|
43
|
+
};
|
|
44
|
+
export type ICloudflareAgentsTextResult = {
|
|
45
|
+
readonly valid: false;
|
|
46
|
+
} | {
|
|
47
|
+
readonly locator: {
|
|
48
|
+
locateRange(startOffset: number, endOffset: number): ISourceRange;
|
|
49
|
+
};
|
|
50
|
+
readonly valid: true;
|
|
51
|
+
readonly value: string;
|
|
52
|
+
};
|
|
53
|
+
export interface ICloudflareAgentsSourceAnalysis {
|
|
54
|
+
readonly clientNames: ReadonlySet<string>;
|
|
55
|
+
readonly constructorNames: ReadonlySet<string>;
|
|
56
|
+
readonly exports: ReadonlyMap<string, ICloudflareAgentsModuleExportState & {
|
|
57
|
+
readonly declaration: ts.Node;
|
|
58
|
+
}>;
|
|
59
|
+
readonly identifierUses: ReadonlyMap<string, readonly ts.Identifier[]>;
|
|
60
|
+
readonly imports: ICloudflareAgentsImports;
|
|
61
|
+
readonly localBindingNames: ReadonlyMap<ts.Node, ReadonlySet<string>>;
|
|
62
|
+
readonly moduleArrays: ReadonlyMap<string, {
|
|
63
|
+
readonly declaration: ts.VariableDeclaration;
|
|
64
|
+
readonly expression: ts.ArrayLiteralExpression;
|
|
65
|
+
}>;
|
|
66
|
+
readonly moduleConstDeclarations: ReadonlyMap<string, ts.VariableDeclaration>;
|
|
67
|
+
readonly namedImports: ReadonlyMap<string, {
|
|
68
|
+
readonly importedName: string;
|
|
69
|
+
readonly moduleSpecifier: string;
|
|
70
|
+
}>;
|
|
71
|
+
readonly path: IRepositoryPath;
|
|
72
|
+
readonly safeModuleArrayNames: ReadonlySet<string>;
|
|
73
|
+
readonly sourceFile: ts.SourceFile;
|
|
74
|
+
readonly text: ICloudflareAgentsTextResult & {
|
|
75
|
+
readonly valid: true;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export type ICloudflareAgentsSourceAnalysisResult = {
|
|
79
|
+
readonly kind: 'invalid-syntax';
|
|
80
|
+
readonly range: ISourceRange | null;
|
|
81
|
+
} | {
|
|
82
|
+
readonly kind: 'invalid-text';
|
|
83
|
+
} | {
|
|
84
|
+
readonly analysis: ICloudflareAgentsSourceAnalysis;
|
|
85
|
+
readonly kind: 'valid';
|
|
86
|
+
};
|
|
87
|
+
export type ICloudflareAgentsRelationship = {
|
|
88
|
+
readonly kind: 'absent';
|
|
89
|
+
} | {
|
|
90
|
+
readonly expression: ts.Expression;
|
|
91
|
+
readonly kind: 'present';
|
|
92
|
+
} | {
|
|
93
|
+
readonly kind: 'unresolved';
|
|
94
|
+
};
|
|
95
|
+
export interface ICloudflareAgentsMethod {
|
|
96
|
+
readonly body: ts.Block;
|
|
97
|
+
readonly declaration: ts.MethodDeclaration;
|
|
98
|
+
}
|
|
99
|
+
export interface ICloudflareAgentsClassDefinition {
|
|
100
|
+
readonly declaration: ts.ClassDeclaration;
|
|
101
|
+
readonly methods: ReadonlyMap<string, ICloudflareAgentsMethod>;
|
|
102
|
+
readonly targetId: ICloudflareAgentsTargetId;
|
|
103
|
+
}
|
|
104
|
+
export type ICloudflareAgentsClassDefinitionResult = {
|
|
105
|
+
readonly kind: 'absent';
|
|
106
|
+
} | {
|
|
107
|
+
readonly declaration: ts.Node;
|
|
108
|
+
readonly kind: 'present-unsupported';
|
|
109
|
+
readonly targetId?: ICloudflareAgentsTargetId;
|
|
110
|
+
} | {
|
|
111
|
+
readonly definition: ICloudflareAgentsClassDefinition;
|
|
112
|
+
readonly kind: 'present-supported';
|
|
113
|
+
};
|
|
114
|
+
export interface ICloudflareAgentsGenerationRequest {
|
|
115
|
+
readonly call: 'generateText' | 'streamText';
|
|
116
|
+
readonly instructions: ICloudflareAgentsRelationship;
|
|
117
|
+
readonly object: ts.ObjectLiteralExpression;
|
|
118
|
+
readonly output: ICloudflareAgentsRelationship;
|
|
119
|
+
readonly tools: ICloudflareAgentsRelationship;
|
|
120
|
+
}
|
|
121
|
+
export interface ICloudflareAgentsFunctionTool {
|
|
122
|
+
readonly declaration: ts.VariableDeclaration;
|
|
123
|
+
readonly execute: ICloudflareAgentsRelationship;
|
|
124
|
+
readonly inputSchema: ICloudflareAgentsRelationship;
|
|
125
|
+
readonly outputSchema: ICloudflareAgentsRelationship;
|
|
126
|
+
}
|
|
127
|
+
export interface ICloudflareAgentsAgentTool {
|
|
128
|
+
readonly declaration: ts.VariableDeclaration;
|
|
129
|
+
readonly description: string | null;
|
|
130
|
+
readonly target: ts.Expression;
|
|
131
|
+
}
|
|
132
|
+
export type ICloudflareAgentsToolDefinition = {
|
|
133
|
+
readonly kind: 'agent-tool';
|
|
134
|
+
readonly tool: ICloudflareAgentsAgentTool;
|
|
135
|
+
} | {
|
|
136
|
+
readonly kind: 'function-tool';
|
|
137
|
+
readonly tool: ICloudflareAgentsFunctionTool;
|
|
138
|
+
};
|
|
139
|
+
export interface ICloudflareAgentsToolMapEntry {
|
|
140
|
+
readonly expression: ts.Expression;
|
|
141
|
+
readonly name: string;
|
|
142
|
+
}
|
|
143
|
+
export type ICloudflareAgentsToolMapResult = {
|
|
144
|
+
readonly entries: readonly ICloudflareAgentsToolMapEntry[];
|
|
145
|
+
readonly kind: 'closed';
|
|
146
|
+
} | {
|
|
147
|
+
readonly entries: readonly ICloudflareAgentsToolMapEntry[];
|
|
148
|
+
readonly kind: 'unresolved';
|
|
149
|
+
};
|
|
150
|
+
export interface ICloudflareAgentsInspectionSession {
|
|
151
|
+
readonly signal?: AbortSignal;
|
|
152
|
+
analyzeSource(path: IRepositoryPath): Promise<ICloudflareAgentsSourceAnalysisResult>;
|
|
153
|
+
discoverPackage(path: IRepositoryPath): Promise<ICloudflareAgentsPackageDiscoveryResult>;
|
|
154
|
+
getEntry(path: IRepositoryPath): Promise<IRepositoryEntry | null>;
|
|
155
|
+
}
|
|
156
|
+
export type ICloudflareAgentsDiagnosticInput = Omit<IAdapterDiagnostic, 'message' | 'source'> & {
|
|
157
|
+
readonly code: ICloudflareAgentsAdapterDiagnosticCode;
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE/E,MAAM,MAAM,yBAAyB,GACnC,gCAAgC,GAAG,wCAAwC,CAAC;AAE9E,MAAM,MAAM,sCAAsC,GAC9C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,yCAAyC,GACzC,kDAAkD,GAClD,uDAAuD,GACvD,wDAAwD,GACxD,wDAAwD,GACxD,sDAAsD,GACtD,sDAAsD,GACtD,uDAAuD,GACvD,gDAAgD,GAChD,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AAC;CACnE;AAED,MAAM,MAAM,gCAAgC,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,QAAQ,CAAC,GAAG;IAC9F,QAAQ,CAAC,IAAI,EAAE,sCAAsC,CAAC;CACvD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { IAdapterDiagnostic } from '@moldea.ai/core/adapter';
|
|
2
|
+
import type { ICloudflareAgentsDiagnosticInput } from '../contracts/index.js';
|
|
3
|
+
export declare const CLOUDFLARE_AGENTS_ADAPTER_DIAGNOSTICS: Readonly<{
|
|
4
|
+
readonly CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_NOT_WIRED: "The declared agent output schema is not wired to the detected AIChatAgent structured output.";
|
|
5
|
+
readonly CLOUDFLARE_AGENTS_AGENT_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared agent output-schema symbol was not found.";
|
|
6
|
+
readonly CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_MISSING: "The detected Cloudflare agent-tool routing description is missing.";
|
|
7
|
+
readonly CLOUDFLARE_AGENTS_HANDOFF_ROUTING_DESCRIPTION_NOT_WIRED: "The detected Cloudflare agent-tool routing description is not wired to the target agent's effective routing description.";
|
|
8
|
+
readonly CLOUDFLARE_AGENTS_HANDOFF_TARGET_AMBIGUOUS: "The detected Cloudflare agent-tool target maps to more than one registered agent.";
|
|
9
|
+
readonly CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_NOT_WIRED: "The declared instruction loader is not wired to a supported configured Cloudflare agent instruction source.";
|
|
10
|
+
readonly CLOUDFLARE_AGENTS_INSTRUCTION_LOADER_SYMBOL_NOT_FOUND: "The declared instruction-loader symbol was not found.";
|
|
11
|
+
readonly CLOUDFLARE_AGENTS_PACKAGE_MANIFEST_INVALID: "The owning package manifest is invalid for Cloudflare Agents dependency detection.";
|
|
12
|
+
readonly CLOUDFLARE_AGENTS_RUNTIME_AGENT_SYMBOL_NOT_FOUND: "The declared runtime-agent symbol was not found.";
|
|
13
|
+
readonly CLOUDFLARE_AGENTS_RUNTIME_VERSION_UNSUPPORTED: "The observed Cloudflare Agents dependency range is disjoint from the supported target.";
|
|
14
|
+
readonly CLOUDFLARE_AGENTS_SOURCE_SYNTAX_INVALID: "The referenced Cloudflare Agents source file contains invalid TypeScript syntax.";
|
|
15
|
+
readonly CLOUDFLARE_AGENTS_SOURCE_TEXT_INVALID: "The referenced Cloudflare Agents source file is not valid normalized text.";
|
|
16
|
+
readonly CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_NOT_WIRED: "The declared tool implementation is not wired to the detected Cloudflare agent function tool.";
|
|
17
|
+
readonly CLOUDFLARE_AGENTS_TOOL_IMPLEMENTATION_SYMBOL_NOT_FOUND: "The declared tool-implementation symbol was not found.";
|
|
18
|
+
readonly CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_NOT_WIRED: "The declared tool input schema is not wired to the detected Cloudflare agent function tool.";
|
|
19
|
+
readonly CLOUDFLARE_AGENTS_TOOL_INPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared tool input-schema symbol was not found.";
|
|
20
|
+
readonly CLOUDFLARE_AGENTS_TOOL_NAME_MISMATCH: "The declared tool name does not match the detected Cloudflare agent tools-map key.";
|
|
21
|
+
readonly CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_NOT_WIRED: "The declared tool output schema is not wired to the detected Cloudflare agent function tool.";
|
|
22
|
+
readonly CLOUDFLARE_AGENTS_TOOL_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared tool output-schema symbol was not found.";
|
|
23
|
+
readonly CLOUDFLARE_AGENTS_TOOL_REGISTRATION_NOT_WIRED: "The declared tool registration is not wired to the detected Cloudflare agent tools map.";
|
|
24
|
+
readonly CLOUDFLARE_AGENTS_TOOL_REGISTRATION_SYMBOL_NOT_FOUND: "The declared tool-registration symbol was not found.";
|
|
25
|
+
}>;
|
|
26
|
+
/** Creates one frozen, safely namespaced Cloudflare Agents adapter diagnostic. */
|
|
27
|
+
export declare const createCloudflareAgentsDiagnostic: (input: ICloudflareAgentsDiagnosticInput) => IAdapterDiagnostic;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/diagnostics/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGlE,OAAO,KAAK,EAEV,gCAAgC,EACjC,MAAM,uBAAuB,CAAC;AAG/B,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;EA2CoC,CAAC;AAEvF,kFAAkF;AAClF,eAAO,MAAM,gCAAgC,GAC3C,OAAO,gCAAgC,KACtC,kBAOC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC"}
|