@moldea.ai/adapter-eve 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 +42 -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 +11 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/contracts/index.d.ts +127 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/diagnostics/index.d.ts +38 -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 +1831 -0
- package/dist/inspection/agent-inspection.d.ts +6 -0
- package/dist/inspection/agent-inspection.d.ts.map +1 -0
- package/dist/inspection/common.d.ts +16 -0
- package/dist/inspection/common.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 +19 -0
- package/dist/inspection/inspection.d.ts.map +1 -0
- package/dist/inspection/instruction-inspection.d.ts +6 -0
- package/dist/inspection/instruction-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 +9 -0
- package/dist/inspection/relationships.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/skill-inspection.d.ts +6 -0
- package/dist/inspection/skill-inspection.d.ts.map +1 -0
- package/dist/inspection/subagent-inspection.d.ts +6 -0
- package/dist/inspection/subagent-inspection.d.ts.map +1 -0
- package/dist/inspection/tool-inspection.d.ts +6 -0
- package/dist/inspection/tool-inspection.d.ts.map +1 -0
- package/dist/package-discovery/index.d.ts +5 -0
- package/dist/package-discovery/index.d.ts.map +1 -0
- package/dist/repository-discovery/agent-roots.d.ts +5 -0
- package/dist/repository-discovery/agent-roots.d.ts.map +1 -0
- package/dist/repository-discovery/candidate-index.d.ts +5 -0
- package/dist/repository-discovery/candidate-index.d.ts.map +1 -0
- package/dist/repository-discovery/index.d.ts +3 -0
- package/dist/repository-discovery/index.d.ts.map +1 -0
- package/dist/source-analysis/functions.d.ts +9 -0
- package/dist/source-analysis/functions.d.ts.map +1 -0
- package/dist/source-analysis/helper-imports.d.ts +5 -0
- package/dist/source-analysis/helper-imports.d.ts.map +1 -0
- package/dist/source-analysis/index.d.ts +6 -0
- package/dist/source-analysis/index.d.ts.map +1 -0
- package/dist/source-analysis/object-definitions.d.ts +11 -0
- package/dist/source-analysis/object-definitions.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-values.d.ts +7 -0
- package/dist/source-analysis/static-values.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,42 @@
|
|
|
1
|
+
# `@moldea.ai/adapter-eve`
|
|
2
|
+
|
|
3
|
+
Deterministic runtime evidence and diagnostics for Eve `0.39.x` TypeScript filesystem agents declared by `moldea` agents.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add @moldea.ai/adapter-eve @moldea.ai/core @moldea.ai/repository
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The package exports one immutable adapter:
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { eveAdapter } from '@moldea.ai/adapter-eve';
|
|
15
|
+
import { createCore } from '@moldea.ai/core';
|
|
16
|
+
|
|
17
|
+
const core = createCore({ adapters: [eveAdapter] });
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Verified target
|
|
21
|
+
|
|
22
|
+
Version `1.0.0` supports Repository Format `1` and direct TypeScript Eve filesystem agents using `eve >=0.39.1 <0.40.0`. The experimental target recognizes:
|
|
23
|
+
|
|
24
|
+
- flat and nested root `agent.ts` definitions
|
|
25
|
+
- recursive directory-backed local subagents
|
|
26
|
+
- exclusive modern Markdown or TypeScript instructions
|
|
27
|
+
- recursive `defineTool(...)` modules
|
|
28
|
+
- TypeScript `defineSkill(...)` modules
|
|
29
|
+
- direct output, input, and output-schema relationships
|
|
30
|
+
|
|
31
|
+
The adapter reads source through the Repository contract. It does not execute Eve, import inspected modules, resolve installed packages, read lockfiles, or write to the repository.
|
|
32
|
+
|
|
33
|
+
## Public API
|
|
34
|
+
|
|
35
|
+
The package exports only `eveAdapter`. It has no default export, configuration factory, Eve SDK facade, parser export, or public diagnostic registry.
|
|
36
|
+
|
|
37
|
+
## Documentation
|
|
38
|
+
|
|
39
|
+
- [Package overview](docs/index.md)
|
|
40
|
+
- [Verified target](docs/verified-target.md)
|
|
41
|
+
- [Evidence and diagnostics](docs/evidence-and-diagnostics.md)
|
|
42
|
+
- [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;AAM/D,eAAO,MAAM,UAAU,EAAE,eAIvB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const EVE_ADAPTER_ID = "eve";
|
|
2
|
+
export declare const EVE_PACKAGE_NAME = "eve";
|
|
3
|
+
export declare const EVE_SUPPORTED_PACKAGE_RANGE = ">=0.39.1 <0.40.0";
|
|
4
|
+
export declare const EVE_TARGET_ID = "typescript-filesystem-agent-0-39";
|
|
5
|
+
export declare const EVE_SUPPORTED_REPOSITORY_FORMAT_VERSIONS: readonly [1];
|
|
6
|
+
export declare const EVE_AUTHORED_MODULE_EXTENSIONS: readonly [".cts", ".mts", ".cjs", ".mjs", ".ts", ".js"];
|
|
7
|
+
export declare const EVE_TOOL_NAME_PATTERN: RegExp;
|
|
8
|
+
export declare const EVE_RESERVED_TOOL_NAME = "Workflow";
|
|
9
|
+
export declare const EVE_ALWAYS_RESERVED_TOOL_NAME = "load_skill";
|
|
10
|
+
export declare const EVE_FRAMEWORK_TOOL_NAMES: readonly ["ask_question", "bash", "glob", "grep", "read_file", "write_file", "todo", "web_fetch", "web_search", "agent", "connection_search", "load_skill"];
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,QAAQ,CAAC;AACpC,eAAO,MAAM,gBAAgB,QAAQ,CAAC;AACtC,eAAO,MAAM,2BAA2B,qBAAqB,CAAC;AAC9D,eAAO,MAAM,aAAa,qCAAqC,CAAC;AAChE,eAAO,MAAM,wCAAwC,cAA8B,CAAC;AAGpF,eAAO,MAAM,8BAA8B,yDAOhC,CAAC;AAGZ,eAAO,MAAM,qBAAqB,QAAmC,CAAC;AACtE,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,6BAA6B,eAAe,CAAC;AAC1D,eAAO,MAAM,wBAAwB,6JAa1B,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import type ts from 'typescript';
|
|
2
|
+
import type { IStaticAnalysisModuleValueSource, IStaticAnalysisPackageCompatibility, IStaticAnalysisPackageDeclaration, IStaticAnalysisSourceResult } from '@moldea.ai/adapter-static-analysis';
|
|
3
|
+
import type { IIndexedAgent, ISourceRange, IRuntimeAdapterEvidence } from '@moldea.ai/core';
|
|
4
|
+
import type { IAdapterDiagnostic } from '@moldea.ai/core/adapter';
|
|
5
|
+
import type { IRepositoryEntry, IRepositoryPath, IRepositoryReader } from '@moldea.ai/repository';
|
|
6
|
+
export type IEveAdapterDiagnosticCode = 'EVE_PACKAGE_MANIFEST_INVALID' | 'EVE_SDK_VERSION_UNSUPPORTED' | 'EVE_SOURCE_TEXT_INVALID' | 'EVE_SOURCE_SYNTAX_INVALID' | 'EVE_RUNTIME_AGENT_SYMBOL_NOT_FOUND' | 'EVE_INSTRUCTION_LOADER_SYMBOL_NOT_FOUND' | 'EVE_AGENT_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'EVE_TOOL_IMPLEMENTATION_SYMBOL_NOT_FOUND' | 'EVE_TOOL_REGISTRATION_SYMBOL_NOT_FOUND' | 'EVE_TOOL_INPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'EVE_TOOL_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND' | 'EVE_SKILL_IMPLEMENTATION_SYMBOL_NOT_FOUND' | 'EVE_SKILL_REGISTRATION_SYMBOL_NOT_FOUND' | 'EVE_INSTRUCTION_ROOT_CONFLICT' | 'EVE_INSTRUCTION_LOADER_NOT_WIRED' | 'EVE_AGENT_OUTPUT_SCHEMA_NOT_WIRED' | 'EVE_TOOL_IMPLEMENTATION_NOT_WIRED' | 'EVE_TOOL_REGISTRATION_NOT_WIRED' | 'EVE_TOOL_NAME_INVALID' | 'EVE_TOOL_NAME_RESERVED' | 'EVE_TOOL_RUNTIME_NAME_COLLISION' | 'EVE_TOOL_NAME_MISMATCH' | 'EVE_TOOL_INPUT_SCHEMA_NOT_WIRED' | 'EVE_TOOL_OUTPUT_SCHEMA_NOT_WIRED' | 'EVE_SKILL_IMPLEMENTATION_NOT_WIRED' | 'EVE_SKILL_REGISTRATION_NOT_WIRED' | 'EVE_SKILL_NAME_MISMATCH' | 'EVE_TOOL_SUBAGENT_NAME_COLLISION' | 'EVE_SUBAGENT_PARENT_AMBIGUOUS' | 'EVE_ROUTING_DESCRIPTION_MISSING' | 'EVE_ROUTING_DESCRIPTION_NOT_WIRED';
|
|
7
|
+
export type IEveDiagnosticInput = Omit<IAdapterDiagnostic, 'message' | 'source'> & {
|
|
8
|
+
readonly code: IEveAdapterDiagnosticCode;
|
|
9
|
+
};
|
|
10
|
+
export interface IEvePackageObservation {
|
|
11
|
+
readonly compatibility: IStaticAnalysisPackageCompatibility;
|
|
12
|
+
readonly declarations: readonly IStaticAnalysisPackageDeclaration[];
|
|
13
|
+
readonly manifestPackageName: string | null;
|
|
14
|
+
readonly path: IRepositoryPath;
|
|
15
|
+
}
|
|
16
|
+
export type IEvePackageDiscoveryResult = {
|
|
17
|
+
readonly kind: 'absent';
|
|
18
|
+
} | {
|
|
19
|
+
readonly kind: 'invalid';
|
|
20
|
+
readonly path: IRepositoryPath;
|
|
21
|
+
} | {
|
|
22
|
+
readonly kind: 'observed';
|
|
23
|
+
readonly observation: IEvePackageObservation;
|
|
24
|
+
};
|
|
25
|
+
export interface IEveHelperImports {
|
|
26
|
+
readonly defineAgent: ReadonlySet<string>;
|
|
27
|
+
readonly defineInstructions: ReadonlySet<string>;
|
|
28
|
+
readonly defineSkill: ReadonlySet<string>;
|
|
29
|
+
readonly defineTool: ReadonlySet<string>;
|
|
30
|
+
}
|
|
31
|
+
export interface IEveSourceAnalysis extends IStaticAnalysisModuleValueSource {
|
|
32
|
+
readonly defaultExports: readonly ts.ExportAssignment[];
|
|
33
|
+
readonly helperImports: IEveHelperImports;
|
|
34
|
+
readonly path: IRepositoryPath;
|
|
35
|
+
readonly runtimeSymbols: ReadonlyMap<string, ts.Declaration>;
|
|
36
|
+
}
|
|
37
|
+
export type IEveSourceAnalysisResult = Exclude<IStaticAnalysisSourceResult, {
|
|
38
|
+
readonly kind: 'valid';
|
|
39
|
+
}> | {
|
|
40
|
+
readonly analysis: IEveSourceAnalysis;
|
|
41
|
+
readonly kind: 'valid';
|
|
42
|
+
};
|
|
43
|
+
export type IEveDefinitionKind = 'agent' | 'instructions' | 'skill' | 'tool';
|
|
44
|
+
export type IEveDefinitionResult = {
|
|
45
|
+
readonly hasDefaultExport: false;
|
|
46
|
+
readonly kind: 'absent';
|
|
47
|
+
} | {
|
|
48
|
+
readonly hasDefaultExport: boolean;
|
|
49
|
+
readonly kind: 'present-unsupported';
|
|
50
|
+
} | {
|
|
51
|
+
readonly call: ts.CallExpression;
|
|
52
|
+
readonly declaration: ts.ExportAssignment;
|
|
53
|
+
readonly kind: 'present-supported';
|
|
54
|
+
readonly object: ts.ObjectLiteralExpression;
|
|
55
|
+
readonly properties: ReadonlyMap<string, ts.ObjectLiteralElementLike>;
|
|
56
|
+
};
|
|
57
|
+
export interface IEveAgentRoot {
|
|
58
|
+
readonly agentKind: 'local-subagent' | 'root';
|
|
59
|
+
readonly agentRoot: IRepositoryPath;
|
|
60
|
+
readonly layout: 'flat' | 'nested';
|
|
61
|
+
readonly parentRoot: IRepositoryPath | null;
|
|
62
|
+
readonly runtimeName: string | null;
|
|
63
|
+
}
|
|
64
|
+
export interface IEveToolCandidate {
|
|
65
|
+
readonly isCollidedSlot: boolean;
|
|
66
|
+
readonly isExtensionReserved: boolean;
|
|
67
|
+
readonly isSupportedSource: boolean;
|
|
68
|
+
readonly path: IRepositoryPath;
|
|
69
|
+
readonly relativePath: string;
|
|
70
|
+
readonly runtimeName: string;
|
|
71
|
+
readonly segments: readonly string[];
|
|
72
|
+
}
|
|
73
|
+
export interface IEveSkillCandidate {
|
|
74
|
+
readonly identity: string;
|
|
75
|
+
readonly isCollidedSlot: boolean;
|
|
76
|
+
readonly kind: 'markdown' | 'packaged' | 'typescript';
|
|
77
|
+
readonly path: IRepositoryPath;
|
|
78
|
+
}
|
|
79
|
+
export interface IEveSubagentCandidate {
|
|
80
|
+
readonly agentPath: IRepositoryPath;
|
|
81
|
+
readonly isDirectoryBacked: boolean;
|
|
82
|
+
readonly isExtensionReserved: boolean;
|
|
83
|
+
readonly runtimeName: string;
|
|
84
|
+
}
|
|
85
|
+
export interface IEveAgentRootIndex {
|
|
86
|
+
readonly extensionNamespaces: ReadonlySet<string>;
|
|
87
|
+
readonly instructionEntries: readonly IRepositoryEntry[];
|
|
88
|
+
readonly isAgentSlotCollided: boolean;
|
|
89
|
+
readonly skillCandidates: readonly IEveSkillCandidate[];
|
|
90
|
+
readonly subagentCandidates: readonly IEveSubagentCandidate[];
|
|
91
|
+
readonly toolCandidates: readonly IEveToolCandidate[];
|
|
92
|
+
}
|
|
93
|
+
export interface IEveInspectionSession {
|
|
94
|
+
readonly reader: IRepositoryReader;
|
|
95
|
+
readonly signal?: AbortSignal;
|
|
96
|
+
analyzeSource(path: IRepositoryPath): Promise<IEveSourceAnalysisResult>;
|
|
97
|
+
discoverPackage(path: IRepositoryPath): Promise<IEvePackageDiscoveryResult>;
|
|
98
|
+
getEntry(path: IRepositoryPath): Promise<IRepositoryEntry | null>;
|
|
99
|
+
indexAgentRoot(path: IRepositoryPath): Promise<IEveAgentRootIndex>;
|
|
100
|
+
}
|
|
101
|
+
export interface IEveAgentDefinition {
|
|
102
|
+
readonly agent: IIndexedAgent;
|
|
103
|
+
readonly analysis: IEveSourceAnalysis;
|
|
104
|
+
readonly definition: Extract<IEveDefinitionResult, {
|
|
105
|
+
readonly kind: 'present-supported';
|
|
106
|
+
}>;
|
|
107
|
+
readonly packageObservation: IEvePackageObservation;
|
|
108
|
+
readonly root: IEveAgentRoot;
|
|
109
|
+
readonly rootIndex: IEveAgentRootIndex;
|
|
110
|
+
readonly routingDescription: {
|
|
111
|
+
readonly kind: 'absent';
|
|
112
|
+
readonly range: ISourceRange | null;
|
|
113
|
+
} | {
|
|
114
|
+
readonly kind: 'supported';
|
|
115
|
+
readonly range: ISourceRange;
|
|
116
|
+
readonly value: string;
|
|
117
|
+
} | {
|
|
118
|
+
readonly kind: 'unsupported';
|
|
119
|
+
readonly range: ISourceRange;
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
export interface IEveInspectionState {
|
|
123
|
+
readonly definitions: readonly IEveAgentDefinition[];
|
|
124
|
+
readonly diagnostics: IAdapterDiagnostic[];
|
|
125
|
+
readonly evidence: IRuntimeAdapterEvidence[];
|
|
126
|
+
}
|
|
127
|
+
//# 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,EACV,gCAAgC,EAChC,mCAAmC,EACnC,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC5F,OAAO,KAAK,EAAE,kBAAk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AAC;IACpD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,kBAAkB,EACvB;QAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,CAAA;KAAE,GAChE;QAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GACpF;QAAE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAA;KAAE,CAAC;CACpE;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,WAAW,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACrD,QAAQ,CAAC,WAAW,EAAE,kBAAkB,EAAE,CAAC;IAC3C,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,EAAE,CAAC;CAC9C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { IAdapterDiagnostic } from '@moldea.ai/core/adapter';
|
|
2
|
+
import type { IEveDiagnosticInput } from '../contracts/index.js';
|
|
3
|
+
export declare const EVE_ADAPTER_DIAGNOSTICS: Readonly<{
|
|
4
|
+
readonly EVE_PACKAGE_MANIFEST_INVALID: "The owning package manifest is invalid for Eve dependency detection.";
|
|
5
|
+
readonly EVE_SDK_VERSION_UNSUPPORTED: "The observed Eve dependency range is disjoint from the supported range.";
|
|
6
|
+
readonly EVE_SOURCE_TEXT_INVALID: "The referenced Eve source file is not valid normalized text.";
|
|
7
|
+
readonly EVE_SOURCE_SYNTAX_INVALID: "The referenced Eve source file contains invalid TypeScript syntax.";
|
|
8
|
+
readonly EVE_RUNTIME_AGENT_SYMBOL_NOT_FOUND: "The declared Eve runtime-agent symbol was not found.";
|
|
9
|
+
readonly EVE_INSTRUCTION_LOADER_SYMBOL_NOT_FOUND: "The declared Eve instruction-loader symbol was not found.";
|
|
10
|
+
readonly EVE_AGENT_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared Eve agent output-schema symbol was not found.";
|
|
11
|
+
readonly EVE_TOOL_IMPLEMENTATION_SYMBOL_NOT_FOUND: "The declared Eve tool implementation symbol was not found.";
|
|
12
|
+
readonly EVE_TOOL_REGISTRATION_SYMBOL_NOT_FOUND: "The declared Eve tool registration symbol was not found.";
|
|
13
|
+
readonly EVE_TOOL_INPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared Eve tool input-schema symbol was not found.";
|
|
14
|
+
readonly EVE_TOOL_OUTPUT_SCHEMA_SYMBOL_NOT_FOUND: "The declared Eve tool output-schema symbol was not found.";
|
|
15
|
+
readonly EVE_SKILL_IMPLEMENTATION_SYMBOL_NOT_FOUND: "The declared Eve skill implementation symbol was not found.";
|
|
16
|
+
readonly EVE_SKILL_REGISTRATION_SYMBOL_NOT_FOUND: "The declared Eve skill registration symbol was not found.";
|
|
17
|
+
readonly EVE_INSTRUCTION_ROOT_CONFLICT: "The Eve instruction slot contains conflicting authored sources.";
|
|
18
|
+
readonly EVE_INSTRUCTION_LOADER_NOT_WIRED: "The declared instruction loader is not wired to the supported Eve instruction surface.";
|
|
19
|
+
readonly EVE_AGENT_OUTPUT_SCHEMA_NOT_WIRED: "The declared agent output schema is not wired to the Eve agent definition.";
|
|
20
|
+
readonly EVE_TOOL_IMPLEMENTATION_NOT_WIRED: "The declared tool implementation is not wired to the Eve tool definition.";
|
|
21
|
+
readonly EVE_TOOL_REGISTRATION_NOT_WIRED: "The declared tool registration is not wired to the owning Eve agent.";
|
|
22
|
+
readonly EVE_TOOL_NAME_INVALID: "The Eve filesystem tool name is invalid.";
|
|
23
|
+
readonly EVE_TOOL_NAME_RESERVED: "The Eve filesystem tool name is reserved by the runtime.";
|
|
24
|
+
readonly EVE_TOOL_RUNTIME_NAME_COLLISION: "Multiple Eve tool sources resolve to the same runtime tool name.";
|
|
25
|
+
readonly EVE_TOOL_NAME_MISMATCH: "The declared tool name does not match the Eve path-derived runtime name.";
|
|
26
|
+
readonly EVE_TOOL_INPUT_SCHEMA_NOT_WIRED: "The declared tool input schema is not wired to the Eve tool definition.";
|
|
27
|
+
readonly EVE_TOOL_OUTPUT_SCHEMA_NOT_WIRED: "The declared tool output schema is not wired to the Eve tool definition.";
|
|
28
|
+
readonly EVE_SKILL_IMPLEMENTATION_NOT_WIRED: "The declared skill implementation is not the discovered Eve skill artifact.";
|
|
29
|
+
readonly EVE_SKILL_REGISTRATION_NOT_WIRED: "The declared skill registration is not wired to the owning Eve agent.";
|
|
30
|
+
readonly EVE_SKILL_NAME_MISMATCH: "The declared skill name does not match the Eve path-derived runtime name.";
|
|
31
|
+
readonly EVE_TOOL_SUBAGENT_NAME_COLLISION: "The Eve tool and local subagent use the same runtime tool name.";
|
|
32
|
+
readonly EVE_SUBAGENT_PARENT_AMBIGUOUS: "Multiple registered Eve agents map to the local subagent's immediate parent root.";
|
|
33
|
+
readonly EVE_ROUTING_DESCRIPTION_MISSING: "The supported Eve local subagent definition is missing its routing description.";
|
|
34
|
+
readonly EVE_ROUTING_DESCRIPTION_NOT_WIRED: "The Eve local subagent description does not use the target effective routing description.";
|
|
35
|
+
}>;
|
|
36
|
+
/** Creates one frozen, safely namespaced Eve adapter diagnostic. */
|
|
37
|
+
export declare const createEveDiagnostic: (input: IEveDiagnosticInput) => IAdapterDiagnostic;
|
|
38
|
+
//# 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,EAA6B,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAG5F,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDqC,CAAC;AAE1E,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,GAAI,OAAO,mBAAmB,KAAG,kBAO7D,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,UAAU,EAAE,MAAM,oBAAoB,CAAC"}
|