@lssm/bundle.contractspec-workspace 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433
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/dist/adapters/ai.d.ts +11 -0
- package/dist/adapters/factory.d.ts +28 -0
- package/dist/adapters/fs.d.ts +10 -0
- package/dist/adapters/git.d.ts +10 -0
- package/dist/adapters/index.d.ts +7 -0
- package/dist/adapters/logger.d.ts +17 -0
- package/dist/adapters/watcher.d.ts +10 -0
- package/dist/adapters/workspace.d.ts +93 -0
- package/dist/ai/agents/claude-code-agent.d.ts +21 -0
- package/dist/ai/agents/cursor-agent.d.ts +67 -0
- package/dist/ai/agents/openai-codex-agent.d.ts +21 -0
- package/dist/ai/agents/orchestrator.d.ts +49 -0
- package/dist/ai/agents/simple-agent.d.ts +16 -0
- package/dist/ai/agents/types.d.ts +35 -0
- package/dist/ai/client.d.ts +82 -0
- package/dist/ai/index.d.ts +16 -0
- package/dist/ai/prompts/code-generation.d.ts +25 -0
- package/dist/ai/prompts/index.d.ts +9 -0
- package/dist/ai/prompts/spec-creation.d.ts +28 -0
- package/dist/ai/providers.d.ts +28 -0
- package/dist/formatters/index.d.ts +10 -0
- package/dist/formatters/json.d.ts +88 -0
- package/dist/formatters/sarif.d.ts +100 -0
- package/dist/formatters/text.d.ts +34 -0
- package/dist/index.d.ts +69 -0
- package/dist/ports/ai.d.ts +58 -0
- package/dist/ports/fs.d.ts +80 -0
- package/dist/ports/git.d.ts +32 -0
- package/dist/ports/index.d.ts +5 -0
- package/dist/ports/logger.d.ts +87 -0
- package/dist/ports/watcher.d.ts +51 -0
- package/dist/services/agent-guide/adapters/claude-code.d.ts +34 -0
- package/dist/services/agent-guide/adapters/cursor-cli.d.ts +38 -0
- package/dist/services/agent-guide/adapters/generic-mcp.d.ts +52 -0
- package/dist/services/agent-guide/adapters/index.d.ts +22 -0
- package/dist/services/agent-guide/agent-guide-service.d.ts +55 -0
- package/dist/services/agent-guide/index.d.ts +6 -0
- package/dist/services/agent-guide/types.d.ts +57 -0
- package/dist/services/build.d.ts +58 -0
- package/dist/services/ci-check/ci-check-service.d.ts +15 -0
- package/dist/services/ci-check/index.d.ts +2 -0
- package/dist/services/ci-check/types.d.ts +142 -0
- package/dist/services/clean.d.ts +40 -0
- package/dist/services/config.d.ts +25 -0
- package/dist/services/deps.d.ts +52 -0
- package/dist/services/diff.d.ts +33 -0
- package/dist/services/doctor/doctor-service.d.ts +23 -0
- package/dist/services/doctor/index.d.ts +2 -0
- package/dist/services/doctor/types.d.ts +117 -0
- package/dist/services/implementation/discovery.d.ts +29 -0
- package/dist/services/implementation/index.d.ts +3 -0
- package/dist/services/implementation/resolver.d.ts +43 -0
- package/dist/services/implementation/types.d.ts +78 -0
- package/dist/services/index.d.ts +56 -0
- package/dist/services/integrity-diagram.d.ts +35 -0
- package/dist/services/integrity.d.ts +133 -0
- package/dist/services/list.d.ts +30 -0
- package/dist/services/openapi/export-service.d.ts +52 -0
- package/dist/services/openapi/import-service.d.ts +15 -0
- package/dist/services/openapi/index.d.ts +5 -0
- package/dist/services/openapi/sync-service.d.ts +18 -0
- package/dist/services/openapi/types.d.ts +184 -0
- package/dist/services/openapi/validate-service.d.ts +15 -0
- package/dist/services/regenerator.d.ts +17 -0
- package/dist/services/registry.d.ts +52 -0
- package/dist/services/setup/config-generators.d.ts +41 -0
- package/dist/services/setup/file-merger.d.ts +26 -0
- package/dist/services/setup/setup-service.d.ts +11 -0
- package/dist/services/setup/types.d.ts +84 -0
- package/dist/services/sync.d.ts +40 -0
- package/dist/services/test.d.ts +14 -0
- package/dist/services/validate-implementation.d.ts +31 -0
- package/dist/services/validate.d.ts +40 -0
- package/dist/services/verification-cache/adapters/filesystem.d.ts +45 -0
- package/dist/services/verification-cache/adapters/in-memory.d.ts +26 -0
- package/dist/services/verification-cache/adapters/index.d.ts +3 -0
- package/dist/services/verification-cache/adapters/workspace-state.d.ts +48 -0
- package/dist/services/verification-cache/cache-service.d.ts +69 -0
- package/dist/services/verification-cache/index.d.ts +6 -0
- package/dist/services/verification-cache/types.d.ts +123 -0
- package/dist/services/verify/ai-verifier.d.ts +24 -0
- package/dist/services/verify/behavior-verifier.d.ts +11 -0
- package/dist/services/verify/index.d.ts +5 -0
- package/dist/services/verify/structure-verifier.d.ts +11 -0
- package/dist/services/verify/types.d.ts +136 -0
- package/dist/services/verify/verify-service.d.ts +59 -0
- package/dist/services/watch.d.ts +24 -0
- package/dist/services/workspace-info.d.ts +61 -0
- package/dist/templates/app-config.template.d.ts +6 -0
- package/dist/templates/data-view.template.d.ts +6 -0
- package/dist/templates/event.template.d.ts +10 -0
- package/dist/templates/experiment.template.d.ts +6 -0
- package/dist/templates/handler.template.d.ts +15 -0
- package/dist/templates/index.d.ts +20 -0
- package/dist/templates/integration.template.d.ts +6 -0
- package/dist/templates/knowledge.template.d.ts +6 -0
- package/dist/templates/migration.template.d.ts +6 -0
- package/dist/templates/operation.template.d.ts +10 -0
- package/dist/templates/presentation.template.d.ts +10 -0
- package/dist/templates/telemetry.template.d.ts +6 -0
- package/dist/templates/workflow-runner.template.d.ts +15 -0
- package/dist/templates/workflow.template.d.ts +6 -0
- package/dist/types/config.d.ts +33 -0
- package/dist/types.d.ts +323 -0
- package/package.json +10 -10
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
+
|
|
3
|
+
//#region src/formatters/json.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Options for JSON formatting.
|
|
7
|
+
*/
|
|
8
|
+
interface JsonFormatOptions {
|
|
9
|
+
/** Pretty print with indentation. */
|
|
10
|
+
pretty?: boolean;
|
|
11
|
+
/** Include full issue details. */
|
|
12
|
+
includeDetails?: boolean;
|
|
13
|
+
/** Include category summaries. */
|
|
14
|
+
includeSummaries?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Compact JSON output structure.
|
|
18
|
+
*/
|
|
19
|
+
interface JsonCompactOutput {
|
|
20
|
+
success: boolean;
|
|
21
|
+
errors: number;
|
|
22
|
+
warnings: number;
|
|
23
|
+
duration: number;
|
|
24
|
+
timestamp: string;
|
|
25
|
+
commit?: string;
|
|
26
|
+
branch?: string;
|
|
27
|
+
issues: JsonIssueCompact[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Compact issue representation.
|
|
31
|
+
*/
|
|
32
|
+
interface JsonIssueCompact {
|
|
33
|
+
rule: string;
|
|
34
|
+
severity: string;
|
|
35
|
+
message: string;
|
|
36
|
+
file?: string;
|
|
37
|
+
line?: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Full JSON output structure.
|
|
41
|
+
*/
|
|
42
|
+
interface JsonFullOutput {
|
|
43
|
+
success: boolean;
|
|
44
|
+
summary: {
|
|
45
|
+
totalErrors: number;
|
|
46
|
+
totalWarnings: number;
|
|
47
|
+
totalNotes: number;
|
|
48
|
+
durationMs: number;
|
|
49
|
+
timestamp: string;
|
|
50
|
+
commitSha?: string;
|
|
51
|
+
branch?: string;
|
|
52
|
+
};
|
|
53
|
+
categories: {
|
|
54
|
+
category: string;
|
|
55
|
+
label: string;
|
|
56
|
+
passed: boolean;
|
|
57
|
+
errors: number;
|
|
58
|
+
warnings: number;
|
|
59
|
+
notes: number;
|
|
60
|
+
durationMs: number;
|
|
61
|
+
}[];
|
|
62
|
+
issues: {
|
|
63
|
+
ruleId: string;
|
|
64
|
+
severity: string;
|
|
65
|
+
message: string;
|
|
66
|
+
category: string;
|
|
67
|
+
file?: string;
|
|
68
|
+
line?: number;
|
|
69
|
+
column?: number;
|
|
70
|
+
endLine?: number;
|
|
71
|
+
endColumn?: number;
|
|
72
|
+
context?: Record<string, unknown>;
|
|
73
|
+
}[];
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Format CI check results as compact JSON.
|
|
77
|
+
*/
|
|
78
|
+
declare function formatAsJsonCompact(result: CICheckResult): JsonCompactOutput;
|
|
79
|
+
/**
|
|
80
|
+
* Format CI check results as full JSON with all details.
|
|
81
|
+
*/
|
|
82
|
+
declare function formatAsJsonFull(result: CICheckResult): JsonFullOutput;
|
|
83
|
+
/**
|
|
84
|
+
* Format CI check results as JSON.
|
|
85
|
+
*/
|
|
86
|
+
declare function formatAsJson(result: CICheckResult, options?: JsonFormatOptions): string;
|
|
87
|
+
//#endregion
|
|
88
|
+
export { JsonCompactOutput, JsonFormatOptions, JsonFullOutput, JsonIssueCompact, formatAsJson, formatAsJsonCompact, formatAsJsonFull };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
+
|
|
3
|
+
//#region src/formatters/sarif.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* SARIF v2.1.0 output structure.
|
|
7
|
+
*/
|
|
8
|
+
interface SarifOutput {
|
|
9
|
+
$schema: string;
|
|
10
|
+
version: string;
|
|
11
|
+
runs: SarifRun[];
|
|
12
|
+
}
|
|
13
|
+
interface SarifRun {
|
|
14
|
+
tool: {
|
|
15
|
+
driver: {
|
|
16
|
+
name: string;
|
|
17
|
+
version: string;
|
|
18
|
+
informationUri: string;
|
|
19
|
+
rules: SarifRule[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
results: SarifResult[];
|
|
23
|
+
invocations: SarifInvocation[];
|
|
24
|
+
versionControlProvenance?: SarifVersionControl[];
|
|
25
|
+
}
|
|
26
|
+
interface SarifRule {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
shortDescription: {
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
fullDescription?: {
|
|
33
|
+
text: string;
|
|
34
|
+
};
|
|
35
|
+
defaultConfiguration: {
|
|
36
|
+
level: 'error' | 'warning' | 'note' | 'none';
|
|
37
|
+
};
|
|
38
|
+
helpUri?: string;
|
|
39
|
+
}
|
|
40
|
+
interface SarifResult {
|
|
41
|
+
ruleId: string;
|
|
42
|
+
ruleIndex: number;
|
|
43
|
+
level: 'error' | 'warning' | 'note' | 'none';
|
|
44
|
+
message: {
|
|
45
|
+
text: string;
|
|
46
|
+
};
|
|
47
|
+
locations?: SarifLocation[];
|
|
48
|
+
partialFingerprints?: Record<string, string>;
|
|
49
|
+
}
|
|
50
|
+
interface SarifLocation {
|
|
51
|
+
physicalLocation: {
|
|
52
|
+
artifactLocation: {
|
|
53
|
+
uri: string;
|
|
54
|
+
uriBaseId?: string;
|
|
55
|
+
};
|
|
56
|
+
region?: {
|
|
57
|
+
startLine?: number;
|
|
58
|
+
startColumn?: number;
|
|
59
|
+
endLine?: number;
|
|
60
|
+
endColumn?: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
interface SarifInvocation {
|
|
65
|
+
executionSuccessful: boolean;
|
|
66
|
+
endTimeUtc: string;
|
|
67
|
+
workingDirectory?: {
|
|
68
|
+
uri: string;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
interface SarifVersionControl {
|
|
72
|
+
repositoryUri?: string;
|
|
73
|
+
revisionId?: string;
|
|
74
|
+
branch?: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Options for SARIF formatting.
|
|
78
|
+
*/
|
|
79
|
+
interface SarifFormatOptions {
|
|
80
|
+
/** Tool name. */
|
|
81
|
+
toolName?: string;
|
|
82
|
+
/** Tool version. */
|
|
83
|
+
toolVersion?: string;
|
|
84
|
+
/** Tool information URI. */
|
|
85
|
+
toolUri?: string;
|
|
86
|
+
/** Repository URI for version control provenance. */
|
|
87
|
+
repositoryUri?: string;
|
|
88
|
+
/** Working directory. */
|
|
89
|
+
workingDirectory?: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Format CI check results as SARIF.
|
|
93
|
+
*/
|
|
94
|
+
declare function formatAsSarif(result: CICheckResult, options?: SarifFormatOptions): SarifOutput;
|
|
95
|
+
/**
|
|
96
|
+
* Serialize SARIF output to JSON string.
|
|
97
|
+
*/
|
|
98
|
+
declare function sarifToJson(sarif: SarifOutput): string;
|
|
99
|
+
//#endregion
|
|
100
|
+
export { SarifFormatOptions, SarifOutput, formatAsSarif, sarifToJson };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CICheckResult } from "../services/ci-check/types.js";
|
|
2
|
+
|
|
3
|
+
//#region src/formatters/text.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Options for text formatting.
|
|
7
|
+
*/
|
|
8
|
+
interface TextFormatOptions {
|
|
9
|
+
/** Show verbose output with all details. */
|
|
10
|
+
verbose?: boolean;
|
|
11
|
+
/** Include timing information. */
|
|
12
|
+
showTiming?: boolean;
|
|
13
|
+
/** Group issues by file. */
|
|
14
|
+
groupByFile?: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Text output lines with optional styling hints.
|
|
18
|
+
*/
|
|
19
|
+
interface TextLine {
|
|
20
|
+
text: string;
|
|
21
|
+
style?: 'normal' | 'bold' | 'error' | 'warning' | 'success' | 'muted';
|
|
22
|
+
indent?: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Format CI check results as text lines.
|
|
26
|
+
* Returns structured lines that can be styled by the CLI.
|
|
27
|
+
*/
|
|
28
|
+
declare function formatAsTextLines(result: CICheckResult, options?: TextFormatOptions): TextLine[];
|
|
29
|
+
/**
|
|
30
|
+
* Format CI check results as plain text string.
|
|
31
|
+
*/
|
|
32
|
+
declare function formatAsText(result: CICheckResult, options?: TextFormatOptions): string;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { TextFormatOptions, TextLine, formatAsText, formatAsTextLines };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { DiscoverOptions, FileStat, FsAdapter } from "./ports/fs.js";
|
|
2
|
+
import { GitAdapter, GitCleanOptions } from "./ports/git.js";
|
|
3
|
+
import { WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, Watcher, WatcherAdapter } from "./ports/watcher.js";
|
|
4
|
+
import { AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, AiValidationResult } from "./ports/ai.js";
|
|
5
|
+
import { LogLevel, LoggerAdapter, ProgressReporter, ProgressUpdate, WorkspaceAdapters } from "./ports/logger.js";
|
|
6
|
+
import "./ports/index.js";
|
|
7
|
+
import { createNodeFsAdapter } from "./adapters/fs.js";
|
|
8
|
+
import { createNodeGitAdapter } from "./adapters/git.js";
|
|
9
|
+
import { createNodeWatcherAdapter } from "./adapters/watcher.js";
|
|
10
|
+
import { createNodeAiAdapter } from "./adapters/ai.js";
|
|
11
|
+
import { createConsoleLoggerAdapter, createNoopLoggerAdapter } from "./adapters/logger.js";
|
|
12
|
+
import { CreateAdaptersOptions, createNodeAdapters } from "./adapters/factory.js";
|
|
13
|
+
import { PackageManager, WorkspaceInfo, detectPackageManager, findPackageRoot, findWorkspaceRoot, getExecCommand, getInstallCommand, getPackageName, getRunCommand, getWorkspaceInfo, getWorkspacePackages, isMonorepo } from "./adapters/workspace.js";
|
|
14
|
+
import "./adapters/index.js";
|
|
15
|
+
import { AgentMode, AiProvider, Config } from "./types/config.js";
|
|
16
|
+
import { ValidateSpecOptions, ValidateSpecResult, validateSpec, validateSpecs } from "./services/validate.js";
|
|
17
|
+
import { ValidateImplementationOptions, ValidateImplementationResult, validateImplementationFiles } from "./services/validate-implementation.js";
|
|
18
|
+
import { CompareSpecsOptions, CompareSpecsResult, compareSpecs } from "./services/diff.js";
|
|
19
|
+
import { AnalyzeDepsOptions, AnalyzeDepsResult, analyzeDeps, exportGraphAsDot, getContractNode, getGraphStats } from "./services/deps.js";
|
|
20
|
+
import { ListSpecsOptions, groupSpecsByType, listSpecs } from "./services/list.js";
|
|
21
|
+
import { getApiKey, loadWorkspaceConfig, mergeWorkspaceConfig } from "./services/config.js";
|
|
22
|
+
import { BuildSpecOptions, BuildSpecResult, BuildTarget, BuildTargetResult, buildSpec } from "./services/build.js";
|
|
23
|
+
import { OpenApiExportServiceOptions, OpenApiExportServiceResult, OpenApiImportServiceOptions, OpenApiImportServiceResult, OpenApiSourceConfig, OpenApiSyncServiceOptions, OpenApiSyncServiceResult, OpenApiValidateServiceOptions, OpenApiValidateServiceResult } from "./services/openapi/types.js";
|
|
24
|
+
import { importFromOpenApiService } from "./services/openapi/import-service.js";
|
|
25
|
+
import { syncWithOpenApiService } from "./services/openapi/sync-service.js";
|
|
26
|
+
import { validateAgainstOpenApiService } from "./services/openapi/validate-service.js";
|
|
27
|
+
import { OpenApiExportOptions, OpenApiExportResult, exportOpenApi } from "./services/openapi/export-service.js";
|
|
28
|
+
import { RegistryClient, RegistryClientOptions, addToRegistry, listFromRegistry, resolveRegistryUrl, searchRegistry } from "./services/registry.js";
|
|
29
|
+
import { SyncBuildFn, SyncSpecsOptions, SyncSpecsResult, SyncSpecsRunResult, SyncValidateFn, syncSpecs } from "./services/sync.js";
|
|
30
|
+
import { WatchBuildFn, WatchSpecsOptions, WatchValidateFn, watchSpecs } from "./services/watch.js";
|
|
31
|
+
import { CleanOptions, CleanResult, cleanArtifacts } from "./services/clean.js";
|
|
32
|
+
import { RunTestsResult, TestRunResult, runTests } from "./services/test.js";
|
|
33
|
+
import { CreateRegeneratorOptions, createRegeneratorService } from "./services/regenerator.js";
|
|
34
|
+
import { ExtendedWorkspaceInfo, MonorepoConfig, findAllConfigFiles, formatWorkspaceInfo, getExtendedWorkspaceInfo, mergeMonorepoConfigs } from "./services/workspace-info.js";
|
|
35
|
+
import { CoverageByType, IntegrityAnalysisOptions, IntegrityAnalysisResult, IntegrityIssue, SpecInventory, SpecLocation, analyzeIntegrity, filterIssuesBySeverity, filterIssuesByType, getAllSpecs } from "./services/integrity.js";
|
|
36
|
+
import { DiagramOptions, DiagramType, generateMermaidDiagram } from "./services/integrity-diagram.js";
|
|
37
|
+
import { ALL_SETUP_TARGETS, SETUP_TARGET_LABELS, SetupFileResult, SetupOptions, SetupPromptCallbacks, SetupResult, SetupScope, SetupTarget } from "./services/setup/types.js";
|
|
38
|
+
import { runSetup } from "./services/setup/setup-service.js";
|
|
39
|
+
import { generateAgentsMd, generateClaudeMcpConfig, generateContractsrcConfig, generateCursorMcpConfig, generateCursorRules, generateVscodeSettings, getClaudeDesktopConfigPath } from "./services/setup/config-generators.js";
|
|
40
|
+
import { deepMergeOverwrite, deepMergePreserve, formatJson, safeParseJson } from "./services/setup/file-merger.js";
|
|
41
|
+
import { ALL_CHECK_CATEGORIES, CHECK_CATEGORY_LABELS, CheckCategory, CheckContext, CheckResult, CheckStatus, DoctorOptions, DoctorPromptCallbacks, DoctorResult, FixAction, FixResult } from "./services/doctor/types.js";
|
|
42
|
+
import { formatCheckResult, formatDoctorSummary, runDoctor } from "./services/doctor/doctor-service.js";
|
|
43
|
+
import { ALL_CI_CHECK_CATEGORIES, CICheckCategory, CICheckCategorySummary, CICheckOptions, CICheckResult, CIFormatOptions, CIIssue, CIIssueSeverity, CIOutputFormat, CI_CHECK_CATEGORY_LABELS } from "./services/ci-check/types.js";
|
|
44
|
+
import { runCIChecks } from "./services/ci-check/ci-check-service.js";
|
|
45
|
+
import { AgentAdapter, AgentGuideConfig, FormatOptions, GuideOptions, GuideResult } from "./services/agent-guide/types.js";
|
|
46
|
+
import { AgentGuideService, agentGuideService, createAgentGuideService } from "./services/agent-guide/agent-guide-service.js";
|
|
47
|
+
import { ClaudeCodeAdapter, claudeCodeAdapter } from "./services/agent-guide/adapters/claude-code.js";
|
|
48
|
+
import { CursorCLIAdapter, cursorCLIAdapter } from "./services/agent-guide/adapters/cursor-cli.js";
|
|
49
|
+
import { GenericMCPAdapter, genericMCPAdapter } from "./services/agent-guide/adapters/generic-mcp.js";
|
|
50
|
+
import { agentAdapters, getAgentAdapter, listAgentTypes } from "./services/agent-guide/adapters/index.js";
|
|
51
|
+
import { AIReviewResult, BehaviorCheck, FieldMapping, FieldMatchType, IntentAlignment, SemanticVerificationResult, StructureCheck, VerifyConfig, VerifyInput, VerifyOptions, VerifyResult } from "./services/verify/types.js";
|
|
52
|
+
import { VerifyService, createVerifyService, verifyService } from "./services/verify/verify-service.js";
|
|
53
|
+
import { verifyStructure } from "./services/verify/structure-verifier.js";
|
|
54
|
+
import { verifyBehavior } from "./services/verify/behavior-verifier.js";
|
|
55
|
+
import { createQuickAIReview, verifySemanticFields, verifyWithAI, verifyWithAIEnhanced } from "./services/verify/ai-verifier.js";
|
|
56
|
+
import { DiscoveryOptions, ImplementationSource, ImplementationStatus, ResolvedImplementation, SpecImplementationResult, SpecReferenceMatch } from "./services/implementation/types.js";
|
|
57
|
+
import { discoverAllImplementations, discoverImplementationsForSpec, extractSpecReferences, inferImplementationType } from "./services/implementation/discovery.js";
|
|
58
|
+
import { ResolverOptions, getImplementationSummary, resolveAllImplementations, resolveImplementations } from "./services/implementation/resolver.js";
|
|
59
|
+
import { CacheEntryMeta, CacheKeyString, CacheLookupResult, CacheMissReason, CacheStats, CacheStorageAdapter, DEFAULT_CACHE_CONFIG, VerificationCacheConfig, VerificationCacheEntry, VerificationCacheKey } from "./services/verification-cache/types.js";
|
|
60
|
+
import { VerificationCacheService, cacheKeyToString, computeContentHash, createVerificationCacheService, stringToCacheKey } from "./services/verification-cache/cache-service.js";
|
|
61
|
+
import { InMemoryCacheStorage, createInMemoryCacheStorage } from "./services/verification-cache/adapters/in-memory.js";
|
|
62
|
+
import { FileSystemCacheStorage, createFileSystemCacheStorage } from "./services/verification-cache/adapters/filesystem.js";
|
|
63
|
+
import { KeyValueStore, WorkspaceStateCacheStorage, createWorkspaceStateCacheStorage } from "./services/verification-cache/adapters/workspace-state.js";
|
|
64
|
+
import "./services/index.js";
|
|
65
|
+
import { index_d_exports as index_d_exports$1 } from "./formatters/index.js";
|
|
66
|
+
import { index_d_exports as index_d_exports$2 } from "./templates/index.js";
|
|
67
|
+
import { index_d_exports } from "./ai/index.js";
|
|
68
|
+
export * from "@lssm/module.contractspec-workspace";
|
|
69
|
+
export { AIReviewResult, ALL_CHECK_CATEGORIES, ALL_CI_CHECK_CATEGORIES, ALL_SETUP_TARGETS, AgentAdapter, AgentGuideConfig, AgentGuideService, type AgentMode, AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, type AiProvider, AiValidationResult, AnalyzeDepsOptions, AnalyzeDepsResult, BehaviorCheck, BuildSpecOptions, BuildSpecResult, BuildTarget, BuildTargetResult, CHECK_CATEGORY_LABELS, CICheckCategory, CICheckCategorySummary, CICheckOptions, CICheckResult, CIFormatOptions, CIIssue, CIIssueSeverity, CIOutputFormat, CI_CHECK_CATEGORY_LABELS, CacheEntryMeta, CacheKeyString, CacheLookupResult, CacheMissReason, CacheStats, CacheStorageAdapter, CheckCategory, CheckContext, CheckResult, CheckStatus, ClaudeCodeAdapter, CleanOptions, CleanResult, CompareSpecsOptions, CompareSpecsResult, type Config, CoverageByType, CreateAdaptersOptions, CreateRegeneratorOptions, CursorCLIAdapter, DEFAULT_CACHE_CONFIG, DiagramOptions, DiagramType, DiscoverOptions, DiscoveryOptions, DoctorOptions, DoctorPromptCallbacks, DoctorResult, ExtendedWorkspaceInfo, FieldMapping, FieldMatchType, FileStat, FileSystemCacheStorage, FixAction, FixResult, FormatOptions, FsAdapter, GenericMCPAdapter, GitAdapter, GitCleanOptions, GuideOptions, GuideResult, ImplementationSource, ImplementationStatus, InMemoryCacheStorage, IntegrityAnalysisOptions, IntegrityAnalysisResult, IntegrityIssue, IntentAlignment, KeyValueStore, OpenApiExportOptions as LegacyOpenApiExportOptions, OpenApiExportResult as LegacyOpenApiExportResult, ListSpecsOptions, LogLevel, LoggerAdapter, MonorepoConfig, OpenApiExportServiceOptions, OpenApiExportServiceResult, OpenApiImportServiceOptions, OpenApiImportServiceResult, OpenApiSourceConfig, OpenApiSyncServiceOptions, OpenApiSyncServiceResult, OpenApiValidateServiceOptions, OpenApiValidateServiceResult, PackageManager, ProgressReporter, ProgressUpdate, RegistryClient, RegistryClientOptions, ResolvedImplementation, ResolverOptions, RunTestsResult, SETUP_TARGET_LABELS, SemanticVerificationResult, SetupFileResult, SetupOptions, SetupPromptCallbacks, SetupResult, SetupScope, SetupTarget, SpecImplementationResult, SpecInventory, SpecLocation, SpecReferenceMatch, StructureCheck, SyncBuildFn, SyncSpecsOptions, SyncSpecsResult, SyncSpecsRunResult, SyncValidateFn, TestRunResult, ValidateImplementationOptions, ValidateImplementationResult, ValidateSpecOptions, ValidateSpecResult, VerificationCacheConfig, VerificationCacheEntry, VerificationCacheKey, VerificationCacheService, VerifyConfig, VerifyInput, VerifyOptions, VerifyResult, VerifyService, WatchBuildFn, WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, WatchSpecsOptions, WatchValidateFn, Watcher, WatcherAdapter, WorkspaceAdapters, WorkspaceInfo, WorkspaceStateCacheStorage, addToRegistry, agentAdapters, agentGuideService, index_d_exports as ai, analyzeDeps, analyzeIntegrity, buildSpec, cacheKeyToString, claudeCodeAdapter, cleanArtifacts, compareSpecs, computeContentHash, createAgentGuideService, createConsoleLoggerAdapter, createFileSystemCacheStorage, createInMemoryCacheStorage, createNodeAdapters, createNodeAiAdapter, createNodeFsAdapter, createNodeGitAdapter, createNodeWatcherAdapter, createNoopLoggerAdapter, createQuickAIReview, createRegeneratorService, createVerificationCacheService, createVerifyService, createWorkspaceStateCacheStorage, cursorCLIAdapter, deepMergeOverwrite, deepMergePreserve, detectPackageManager, discoverAllImplementations, discoverImplementationsForSpec, exportGraphAsDot, exportOpenApi, extractSpecReferences, filterIssuesBySeverity, filterIssuesByType, findAllConfigFiles, findPackageRoot, findWorkspaceRoot, formatCheckResult, formatDoctorSummary, formatJson, formatWorkspaceInfo, index_d_exports$1 as formatters, generateAgentsMd, generateClaudeMcpConfig, generateContractsrcConfig, generateCursorMcpConfig, generateCursorRules, generateMermaidDiagram, generateVscodeSettings, genericMCPAdapter, getAgentAdapter, getAllSpecs, getApiKey, getClaudeDesktopConfigPath, getContractNode, getExecCommand, getExtendedWorkspaceInfo, getGraphStats, getImplementationSummary, getInstallCommand, getPackageName, getRunCommand, getWorkspaceInfo, getWorkspacePackages, groupSpecsByType, importFromOpenApiService, inferImplementationType, isMonorepo, listAgentTypes, listFromRegistry, listSpecs, loadWorkspaceConfig, mergeMonorepoConfigs, mergeWorkspaceConfig, resolveAllImplementations, resolveImplementations, resolveRegistryUrl, runCIChecks, runDoctor, runSetup, runTests, safeParseJson, searchRegistry, stringToCacheKey, syncSpecs, syncWithOpenApiService, index_d_exports$2 as templates, validateAgainstOpenApiService, validateImplementationFiles, validateSpec, validateSpecs, verifyBehavior, verifySemanticFields, verifyService, verifyStructure, verifyWithAI, verifyWithAIEnhanced, watchSpecs };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { WorkspaceConfig } from "@lssm/module.contractspec-workspace";
|
|
2
|
+
|
|
3
|
+
//#region src/ports/ai.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AI generation options.
|
|
7
|
+
*/
|
|
8
|
+
interface AiGenerateOptions {
|
|
9
|
+
prompt: string;
|
|
10
|
+
systemPrompt?: string;
|
|
11
|
+
stream?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* AI structured generation options.
|
|
15
|
+
*/
|
|
16
|
+
interface AiGenerateStructuredOptions<_T> {
|
|
17
|
+
prompt: string;
|
|
18
|
+
systemPrompt?: string;
|
|
19
|
+
schema: unknown;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* AI generation result.
|
|
23
|
+
*/
|
|
24
|
+
interface AiGenerateResult {
|
|
25
|
+
text: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* AI validation result.
|
|
29
|
+
*/
|
|
30
|
+
interface AiValidationResult {
|
|
31
|
+
success: boolean;
|
|
32
|
+
error?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* AI adapter interface.
|
|
36
|
+
*/
|
|
37
|
+
interface AiAdapter {
|
|
38
|
+
/**
|
|
39
|
+
* Validate provider configuration.
|
|
40
|
+
*/
|
|
41
|
+
validateProvider(config: WorkspaceConfig): Promise<AiValidationResult>;
|
|
42
|
+
/**
|
|
43
|
+
* Generate text from prompt.
|
|
44
|
+
*/
|
|
45
|
+
generateText(options: AiGenerateOptions): Promise<AiGenerateResult>;
|
|
46
|
+
/**
|
|
47
|
+
* Generate structured data from prompt.
|
|
48
|
+
*/
|
|
49
|
+
generateStructured<T>(options: AiGenerateStructuredOptions<T>): Promise<{
|
|
50
|
+
object: T;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Stream text generation.
|
|
54
|
+
*/
|
|
55
|
+
streamText(options: AiGenerateOptions, onChunk: (text: string) => void): Promise<string>;
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
export { AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, AiValidationResult };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
//#region src/ports/fs.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Filesystem adapter port.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* File statistics.
|
|
7
|
+
*/
|
|
8
|
+
interface FileStat {
|
|
9
|
+
size: number;
|
|
10
|
+
isFile: boolean;
|
|
11
|
+
isDirectory: boolean;
|
|
12
|
+
mtime: Date;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Options for file discovery.
|
|
16
|
+
*/
|
|
17
|
+
interface DiscoverOptions {
|
|
18
|
+
pattern?: string;
|
|
19
|
+
patterns?: string[];
|
|
20
|
+
ignore?: string[];
|
|
21
|
+
/** Working directory for glob patterns. Defaults to process.cwd(). */
|
|
22
|
+
cwd?: string;
|
|
23
|
+
/** Return absolute paths instead of relative. Defaults to true. */
|
|
24
|
+
absolute?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Filesystem adapter interface.
|
|
28
|
+
*/
|
|
29
|
+
interface FsAdapter {
|
|
30
|
+
/**
|
|
31
|
+
* Check if a file or directory exists.
|
|
32
|
+
*/
|
|
33
|
+
exists(path: string): Promise<boolean>;
|
|
34
|
+
/**
|
|
35
|
+
* Read file contents as string.
|
|
36
|
+
*/
|
|
37
|
+
readFile(path: string): Promise<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Write file contents.
|
|
40
|
+
*/
|
|
41
|
+
writeFile(path: string, content: string): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete a file or directory.
|
|
44
|
+
*/
|
|
45
|
+
remove(path: string): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Get file statistics.
|
|
48
|
+
*/
|
|
49
|
+
stat(path: string): Promise<FileStat>;
|
|
50
|
+
/**
|
|
51
|
+
* Create directory (recursive).
|
|
52
|
+
*/
|
|
53
|
+
mkdir(path: string): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Discover files matching patterns.
|
|
56
|
+
*/
|
|
57
|
+
glob(options: DiscoverOptions): Promise<string[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Resolve path relative to cwd.
|
|
60
|
+
*/
|
|
61
|
+
resolve(...paths: string[]): string;
|
|
62
|
+
/**
|
|
63
|
+
* Get directory name from path.
|
|
64
|
+
*/
|
|
65
|
+
dirname(path: string): string;
|
|
66
|
+
/**
|
|
67
|
+
* Get base name from path.
|
|
68
|
+
*/
|
|
69
|
+
basename(path: string): string;
|
|
70
|
+
/**
|
|
71
|
+
* Join path segments.
|
|
72
|
+
*/
|
|
73
|
+
join(...paths: string[]): string;
|
|
74
|
+
/**
|
|
75
|
+
* Get relative path from base.
|
|
76
|
+
*/
|
|
77
|
+
relative(from: string, to: string): string;
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
export { DiscoverOptions, FileStat, FsAdapter };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/ports/git.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Git adapter port.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Git adapter interface.
|
|
7
|
+
*/
|
|
8
|
+
interface GitAdapter {
|
|
9
|
+
/**
|
|
10
|
+
* Get file contents at a specific git ref (branch, tag, commit).
|
|
11
|
+
*/
|
|
12
|
+
showFile(ref: string, filePath: string): Promise<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Clean untracked files (dangerous operation).
|
|
15
|
+
*/
|
|
16
|
+
clean(options?: GitCleanOptions): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Check if path is inside a git repository.
|
|
19
|
+
*/
|
|
20
|
+
isGitRepo(path?: string): Promise<boolean>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Options for git clean.
|
|
24
|
+
*/
|
|
25
|
+
interface GitCleanOptions {
|
|
26
|
+
dryRun?: boolean;
|
|
27
|
+
force?: boolean;
|
|
28
|
+
directories?: boolean;
|
|
29
|
+
ignored?: boolean;
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
export { GitAdapter, GitCleanOptions };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DiscoverOptions, FileStat, FsAdapter } from "./fs.js";
|
|
2
|
+
import { GitAdapter, GitCleanOptions } from "./git.js";
|
|
3
|
+
import { WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, Watcher, WatcherAdapter } from "./watcher.js";
|
|
4
|
+
import { AiAdapter, AiGenerateOptions, AiGenerateResult, AiGenerateStructuredOptions, AiValidationResult } from "./ai.js";
|
|
5
|
+
import { LogLevel, LoggerAdapter, ProgressReporter, ProgressUpdate, WorkspaceAdapters } from "./logger.js";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { FsAdapter } from "./fs.js";
|
|
2
|
+
import { GitAdapter } from "./git.js";
|
|
3
|
+
import { WatcherAdapter } from "./watcher.js";
|
|
4
|
+
import { AiAdapter } from "./ai.js";
|
|
5
|
+
|
|
6
|
+
//#region src/ports/logger.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Logger and progress reporter port.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Log level.
|
|
12
|
+
*/
|
|
13
|
+
type LogLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
14
|
+
/**
|
|
15
|
+
* Progress update.
|
|
16
|
+
*/
|
|
17
|
+
interface ProgressUpdate {
|
|
18
|
+
message: string;
|
|
19
|
+
current?: number;
|
|
20
|
+
total?: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Progress reporter for long-running operations.
|
|
24
|
+
*/
|
|
25
|
+
interface ProgressReporter {
|
|
26
|
+
/**
|
|
27
|
+
* Start progress reporting.
|
|
28
|
+
*/
|
|
29
|
+
start(message: string): void;
|
|
30
|
+
/**
|
|
31
|
+
* Update progress.
|
|
32
|
+
*/
|
|
33
|
+
update(update: ProgressUpdate): void;
|
|
34
|
+
/**
|
|
35
|
+
* Mark as succeeded.
|
|
36
|
+
*/
|
|
37
|
+
succeed(message?: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Mark as failed.
|
|
40
|
+
*/
|
|
41
|
+
fail(message?: string): void;
|
|
42
|
+
/**
|
|
43
|
+
* Mark as warned.
|
|
44
|
+
*/
|
|
45
|
+
warn(message?: string): void;
|
|
46
|
+
/**
|
|
47
|
+
* Stop progress reporting.
|
|
48
|
+
*/
|
|
49
|
+
stop(): void;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Logger adapter interface.
|
|
53
|
+
*/
|
|
54
|
+
interface LoggerAdapter {
|
|
55
|
+
/**
|
|
56
|
+
* Log debug message.
|
|
57
|
+
*/
|
|
58
|
+
debug(message: string, data?: Record<string, unknown>): void;
|
|
59
|
+
/**
|
|
60
|
+
* Log info message.
|
|
61
|
+
*/
|
|
62
|
+
info(message: string, data?: Record<string, unknown>): void;
|
|
63
|
+
/**
|
|
64
|
+
* Log warning message.
|
|
65
|
+
*/
|
|
66
|
+
warn(message: string, data?: Record<string, unknown>): void;
|
|
67
|
+
/**
|
|
68
|
+
* Log error message.
|
|
69
|
+
*/
|
|
70
|
+
error(message: string, data?: Record<string, unknown>): void;
|
|
71
|
+
/**
|
|
72
|
+
* Create a progress reporter.
|
|
73
|
+
*/
|
|
74
|
+
createProgress(): ProgressReporter;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Combined adapters for workspace services.
|
|
78
|
+
*/
|
|
79
|
+
interface WorkspaceAdapters {
|
|
80
|
+
fs: FsAdapter;
|
|
81
|
+
git: GitAdapter;
|
|
82
|
+
watcher: WatcherAdapter;
|
|
83
|
+
ai: AiAdapter;
|
|
84
|
+
logger: LoggerAdapter;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { LogLevel, LoggerAdapter, ProgressReporter, ProgressUpdate, WorkspaceAdapters };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region src/ports/watcher.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* File watcher adapter port.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Watcher event types.
|
|
7
|
+
*/
|
|
8
|
+
type WatchEventType = 'add' | 'change' | 'unlink';
|
|
9
|
+
/**
|
|
10
|
+
* Watcher event.
|
|
11
|
+
*/
|
|
12
|
+
interface WatchEvent {
|
|
13
|
+
type: WatchEventType;
|
|
14
|
+
path: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Watcher event handler.
|
|
18
|
+
*/
|
|
19
|
+
type WatchEventHandler = (event: WatchEvent) => void | Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Options for file watching.
|
|
22
|
+
*/
|
|
23
|
+
interface WatchOptions {
|
|
24
|
+
pattern: string;
|
|
25
|
+
ignore?: string[];
|
|
26
|
+
debounceMs?: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Watcher instance.
|
|
30
|
+
*/
|
|
31
|
+
interface Watcher {
|
|
32
|
+
/**
|
|
33
|
+
* Register event handler.
|
|
34
|
+
*/
|
|
35
|
+
on(handler: WatchEventHandler): void;
|
|
36
|
+
/**
|
|
37
|
+
* Stop watching.
|
|
38
|
+
*/
|
|
39
|
+
close(): Promise<void>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* File watcher adapter interface.
|
|
43
|
+
*/
|
|
44
|
+
interface WatcherAdapter {
|
|
45
|
+
/**
|
|
46
|
+
* Start watching files matching pattern.
|
|
47
|
+
*/
|
|
48
|
+
watch(options: WatchOptions): Watcher;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
export { WatchEvent, WatchEventHandler, WatchEventType, WatchOptions, Watcher, WatcherAdapter };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AgentAdapter } from "../types.js";
|
|
2
|
+
import { AnyContractSpec } from "@lssm/lib.contracts";
|
|
3
|
+
import { AgentPrompt, ImplementationPlan } from "@lssm/lib.contracts/llm";
|
|
4
|
+
|
|
5
|
+
//#region src/services/agent-guide/adapters/claude-code.d.ts
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Claude Code adapter implementation.
|
|
9
|
+
* Optimized for Claude's extended thinking and code generation capabilities.
|
|
10
|
+
*/
|
|
11
|
+
declare class ClaudeCodeAdapter implements AgentAdapter {
|
|
12
|
+
agentType: "claude-code";
|
|
13
|
+
/**
|
|
14
|
+
* Format an implementation plan for Claude Code.
|
|
15
|
+
* Uses structured markdown with clear sections and checklists.
|
|
16
|
+
*/
|
|
17
|
+
formatPlan(plan: ImplementationPlan): AgentPrompt;
|
|
18
|
+
/**
|
|
19
|
+
* Generate agent-specific configuration.
|
|
20
|
+
* For Claude Code, this generates a prompt that can be used as context.
|
|
21
|
+
*/
|
|
22
|
+
generateConfig(spec: AnyContractSpec): string;
|
|
23
|
+
/**
|
|
24
|
+
* Parse Claude Code output to extract generated code.
|
|
25
|
+
*/
|
|
26
|
+
parseOutput(output: string): {
|
|
27
|
+
code?: string;
|
|
28
|
+
errors?: string[];
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** Singleton instance */
|
|
32
|
+
declare const claudeCodeAdapter: ClaudeCodeAdapter;
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ClaudeCodeAdapter, claudeCodeAdapter };
|