@lssm/app.cli-contractspec 0.0.0-canary-20251221164004 → 0.0.0-canary-20251221165922

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.
Files changed (133) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/dist/ai/agents/claude-code-agent.d.ts +21 -0
  3. package/dist/ai/agents/cursor-agent.d.ts +67 -0
  4. package/dist/ai/agents/index.d.ts +10 -0
  5. package/dist/ai/agents/openai-codex-agent.d.ts +21 -0
  6. package/dist/ai/agents/orchestrator.d.ts +49 -0
  7. package/dist/ai/agents/simple-agent.d.ts +16 -0
  8. package/dist/ai/agents/types.d.ts +33 -0
  9. package/dist/ai/client.d.ts +78 -0
  10. package/dist/ai/prompts/code-generation.d.ts +21 -0
  11. package/dist/ai/prompts/spec-creation.d.ts +22 -0
  12. package/dist/ai/providers.d.ts +18 -0
  13. package/dist/cli.d.ts +3 -0
  14. package/dist/commands/build/agent-generation.d.ts +23 -0
  15. package/dist/commands/build/build-command.d.ts +4 -0
  16. package/dist/commands/build/build-data-view.d.ts +4 -0
  17. package/dist/commands/build/build-form.d.ts +5 -0
  18. package/dist/commands/build/build-operation.d.ts +5 -0
  19. package/dist/commands/build/build-presentation.d.ts +5 -0
  20. package/dist/commands/build/build-workflow.d.ts +4 -0
  21. package/dist/commands/build/data-view-renderer-template.d.ts +7 -0
  22. package/dist/commands/build/index.d.ts +10 -0
  23. package/dist/commands/build/index.test.d.ts +2 -0
  24. package/dist/commands/build/naming.d.ts +3 -0
  25. package/dist/commands/build/paths.d.ts +19 -0
  26. package/dist/commands/build/spec-detect.d.ts +9 -0
  27. package/dist/commands/build/types.d.ts +11 -0
  28. package/dist/commands/chat/index.d.ts +11 -0
  29. package/dist/commands/ci/index.d.ts +9 -0
  30. package/dist/commands/clean/index.d.ts +3 -0
  31. package/dist/commands/create/ai-assist.d.ts +15 -0
  32. package/dist/commands/create/create-app-config.d.ts +4 -0
  33. package/dist/commands/create/create-command.d.ts +4 -0
  34. package/dist/commands/create/create-data-view.d.ts +4 -0
  35. package/dist/commands/create/create-event.d.ts +4 -0
  36. package/dist/commands/create/create-experiment.d.ts +4 -0
  37. package/dist/commands/create/create-integration.d.ts +4 -0
  38. package/dist/commands/create/create-knowledge.d.ts +4 -0
  39. package/dist/commands/create/create-migration.d.ts +4 -0
  40. package/dist/commands/create/create-operation.d.ts +4 -0
  41. package/dist/commands/create/create-presentation.d.ts +4 -0
  42. package/dist/commands/create/create-telemetry.d.ts +4 -0
  43. package/dist/commands/create/create-workflow.d.ts +4 -0
  44. package/dist/commands/create/index.d.ts +3 -0
  45. package/dist/commands/create/types.d.ts +9 -0
  46. package/dist/commands/create/wizards/app-config.d.ts +3 -0
  47. package/dist/commands/create/wizards/data-view.d.ts +3 -0
  48. package/dist/commands/create/wizards/event.d.ts +6 -0
  49. package/dist/commands/create/wizards/experiment.d.ts +3 -0
  50. package/dist/commands/create/wizards/integration.d.ts +3 -0
  51. package/dist/commands/create/wizards/knowledge.d.ts +3 -0
  52. package/dist/commands/create/wizards/migration.d.ts +3 -0
  53. package/dist/commands/create/wizards/operation.d.ts +6 -0
  54. package/dist/commands/create/wizards/presentation.d.ts +6 -0
  55. package/dist/commands/create/wizards/telemetry.d.ts +3 -0
  56. package/dist/commands/create/wizards/workflow.d.ts +3 -0
  57. package/dist/commands/create/write-spec-file.d.ts +13 -0
  58. package/dist/commands/deps/graph.d.ts +15 -0
  59. package/dist/commands/deps/graph.test.d.ts +2 -0
  60. package/dist/commands/deps/index.d.ts +3 -0
  61. package/dist/commands/deps/parse-imports.d.ts +2 -0
  62. package/dist/commands/diff/index.d.ts +3 -0
  63. package/dist/commands/diff/semantic.d.ts +5 -0
  64. package/dist/commands/diff/semantic.test.d.ts +2 -0
  65. package/dist/commands/diff/text.d.ts +3 -0
  66. package/dist/commands/diff/types.d.ts +12 -0
  67. package/dist/commands/doctor/index.d.ts +9 -0
  68. package/dist/commands/examples/index.d.ts +3 -0
  69. package/dist/commands/impl/index.d.ts +16 -0
  70. package/dist/commands/impl/link.d.ts +11 -0
  71. package/dist/commands/impl/list.d.ts +11 -0
  72. package/dist/commands/impl/status.d.ts +11 -0
  73. package/dist/commands/impl/types.d.ts +42 -0
  74. package/dist/commands/impl/verify.d.ts +11 -0
  75. package/dist/commands/init/index.d.ts +11 -0
  76. package/dist/commands/integrity/index.d.ts +32 -0
  77. package/dist/commands/list/index.d.ts +3 -0
  78. package/dist/commands/llm/copy.d.ts +8 -0
  79. package/dist/commands/llm/export.d.ts +8 -0
  80. package/dist/commands/llm/guide.d.ts +8 -0
  81. package/dist/commands/llm/index.d.ts +12 -0
  82. package/dist/commands/llm/verify.d.ts +8 -0
  83. package/dist/commands/openapi/export.d.ts +6 -0
  84. package/dist/commands/openapi/import.d.ts +6 -0
  85. package/dist/commands/openapi/index.d.ts +6 -0
  86. package/dist/commands/openapi/sync.d.ts +6 -0
  87. package/dist/commands/openapi/validate.d.ts +6 -0
  88. package/dist/commands/quickstart/index.d.ts +9 -0
  89. package/dist/commands/regenerator/index.d.ts +12 -0
  90. package/dist/commands/registry/add.d.ts +3 -0
  91. package/dist/commands/registry/client.d.ts +10 -0
  92. package/dist/commands/registry/index.d.ts +3 -0
  93. package/dist/commands/registry/list.d.ts +3 -0
  94. package/dist/commands/registry/search.d.ts +3 -0
  95. package/dist/commands/sync/index.d.ts +3 -0
  96. package/dist/commands/test/generate.d.ts +13 -0
  97. package/dist/commands/test/index.d.ts +8 -0
  98. package/dist/commands/validate/index.d.ts +31 -0
  99. package/dist/commands/validate/spec-checker.d.ts +13 -0
  100. package/dist/commands/validate/spec-checker.test.d.ts +2 -0
  101. package/dist/commands/watch/index.d.ts +3 -0
  102. package/dist/commands/workspace/index.d.ts +12 -0
  103. package/dist/index.d.ts +2 -0
  104. package/dist/templates/app-config.template.d.ts +3 -0
  105. package/dist/templates/data-view.template.d.ts +3 -0
  106. package/dist/templates/event.template.d.ts +6 -0
  107. package/dist/templates/experiment.template.d.ts +3 -0
  108. package/dist/templates/handler.template.d.ts +13 -0
  109. package/dist/templates/integration.template.d.ts +3 -0
  110. package/dist/templates/knowledge.template.d.ts +3 -0
  111. package/dist/templates/migration.template.d.ts +3 -0
  112. package/dist/templates/operation.template.d.ts +6 -0
  113. package/dist/templates/operation.template.test.d.ts +2 -0
  114. package/dist/templates/presentation.template.d.ts +6 -0
  115. package/dist/templates/telemetry.template.d.ts +3 -0
  116. package/dist/templates/workflow-runner.template.d.ts +9 -0
  117. package/dist/templates/workflow.template.d.ts +3 -0
  118. package/dist/types.d.ts +351 -0
  119. package/dist/utils/config-writer.d.ts +25 -0
  120. package/dist/utils/config.d.ts +54 -0
  121. package/dist/utils/dynamicImport.d.ts +2 -0
  122. package/dist/utils/errors.d.ts +2 -0
  123. package/dist/utils/fs.d.ts +18 -0
  124. package/dist/utils/module-loader.d.ts +2 -0
  125. package/dist/utils/runtime.d.ts +31 -0
  126. package/dist/utils/spec-files.d.ts +5 -0
  127. package/dist/utils/spec-load.d.ts +4 -0
  128. package/dist/utils/spec-scan.d.ts +23 -0
  129. package/dist/utils/spec-scan.test.d.ts +2 -0
  130. package/dist/utils/validation.d.ts +32 -0
  131. package/dist/utils/validation.test.d.ts +2 -0
  132. package/package.json +20 -15
  133. package/dist/cli.js +0 -7521
@@ -0,0 +1,4 @@
1
+ import type { Config } from '../../utils/config';
2
+ import type { CreateOptions } from './types';
3
+ export declare function createTelemetrySpec(options: CreateOptions, config: Config): Promise<void>;
4
+ //# sourceMappingURL=create-telemetry.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { Config } from '../../utils/config';
2
+ import type { CreateOptions } from './types';
3
+ export declare function createWorkflowSpec(options: CreateOptions, config: Config): Promise<void>;
4
+ //# sourceMappingURL=create-workflow.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { createCommand } from './create-command';
2
+ export type { CreateOptions } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { SpecType } from '../../types';
2
+ export interface CreateOptions {
3
+ type?: SpecType;
4
+ ai?: boolean;
5
+ provider?: string;
6
+ model?: string;
7
+ outputDir?: string;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { AppBlueprintSpecData } from '../../../types';
2
+ export declare function appConfigWizard(): Promise<AppBlueprintSpecData>;
3
+ //# sourceMappingURL=app-config.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { DataViewSpecData } from '../../../types';
2
+ export declare function dataViewWizard(defaults?: Partial<DataViewSpecData>): Promise<DataViewSpecData>;
3
+ //# sourceMappingURL=data-view.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { EventSpecData } from '../../../types';
2
+ /**
3
+ * Interactive wizard for creating event specs
4
+ */
5
+ export declare function eventWizard(defaults?: Partial<EventSpecData>): Promise<EventSpecData>;
6
+ //# sourceMappingURL=event.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { ExperimentSpecData } from '../../../types';
2
+ export declare function experimentWizard(): Promise<ExperimentSpecData>;
3
+ //# sourceMappingURL=experiment.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { IntegrationSpecData } from '../../../types';
2
+ export declare function integrationWizard(defaults?: Partial<IntegrationSpecData>): Promise<IntegrationSpecData>;
3
+ //# sourceMappingURL=integration.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { KnowledgeSpaceSpecData } from '../../../types';
2
+ export declare function knowledgeWizard(defaults?: Partial<KnowledgeSpaceSpecData>): Promise<KnowledgeSpaceSpecData>;
3
+ //# sourceMappingURL=knowledge.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { MigrationSpecData } from '../../../types';
2
+ export declare function migrationWizard(defaults?: Partial<MigrationSpecData>): Promise<MigrationSpecData>;
3
+ //# sourceMappingURL=migration.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { OperationSpecData } from '../../../types';
2
+ /**
3
+ * Interactive wizard for creating operation specs
4
+ */
5
+ export declare function operationWizard(defaults?: Partial<OperationSpecData>): Promise<OperationSpecData>;
6
+ //# sourceMappingURL=operation.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { PresentationSpecData } from '../../../types';
2
+ /**
3
+ * Interactive wizard for creating presentation specs
4
+ */
5
+ export declare function presentationWizard(defaults?: Partial<PresentationSpecData>): Promise<PresentationSpecData>;
6
+ //# sourceMappingURL=presentation.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { TelemetrySpecData } from '../../../types';
2
+ export declare function telemetryWizard(): Promise<TelemetrySpecData>;
3
+ //# sourceMappingURL=telemetry.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { WorkflowSpecData } from '../../../types';
2
+ export declare function workflowWizard(defaults?: Partial<WorkflowSpecData>): Promise<WorkflowSpecData>;
3
+ //# sourceMappingURL=workflow.d.ts.map
@@ -0,0 +1,13 @@
1
+ import type { Config } from '../../utils/config';
2
+ import type { SpecType } from '../../types';
3
+ import type { CreateOptions } from './types';
4
+ export declare function writeSpecFile(args: {
5
+ specName: string;
6
+ specType: SpecType;
7
+ extension: string;
8
+ code: string;
9
+ spinnerText: string;
10
+ options: CreateOptions;
11
+ config: Config;
12
+ }): Promise<string>;
13
+ //# sourceMappingURL=write-spec-file.d.ts.map
@@ -0,0 +1,15 @@
1
+ export interface ContractNode {
2
+ name: string;
3
+ file: string;
4
+ dependencies: string[];
5
+ dependents: string[];
6
+ }
7
+ export type ContractGraph = Map<string, ContractNode>;
8
+ export declare function buildReverseEdges(graph: ContractGraph): void;
9
+ export declare function detectCycles(graph: ContractGraph): string[][];
10
+ export declare function findMissingDependencies(graph: ContractGraph): {
11
+ contract: string;
12
+ missing: string[];
13
+ }[];
14
+ export declare function toDot(graph: ContractGraph): string;
15
+ //# sourceMappingURL=graph.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=graph.test.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const depsCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function parseImportedSpecNames(sourceCode: string, fromFilePath: string): string[];
2
+ //# sourceMappingURL=parse-imports.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const diffCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import type { SemanticDiffItem } from './types';
2
+ export declare function computeSemanticDiff(aCode: string, aPath: string, bCode: string, bPath: string, options?: {
3
+ breakingOnly?: boolean;
4
+ }): SemanticDiffItem[];
5
+ //# sourceMappingURL=semantic.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=semantic.test.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { TextDiffResult } from './types';
2
+ export declare function diffText(aPath: string, bPath: string, aContent?: string, bContent?: string): TextDiffResult;
3
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1,12 @@
1
+ export interface TextDiffResult {
2
+ ok: boolean;
3
+ output: string;
4
+ }
5
+ export interface SemanticDiffItem {
6
+ type: 'added' | 'removed' | 'changed' | 'breaking';
7
+ path: string;
8
+ description: string;
9
+ oldValue?: unknown;
10
+ newValue?: unknown;
11
+ }
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Doctor command.
3
+ *
4
+ * Diagnoses and fixes ContractSpec installation issues.
5
+ * Supports monorepos with package-level context.
6
+ */
7
+ import { Command } from 'commander';
8
+ export declare const doctorCommand: Command;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const examplesCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,16 @@
1
+ /**
2
+ * impl command group
3
+ *
4
+ * Commands for managing and verifying spec implementations.
5
+ */
6
+ import { Command } from 'commander';
7
+ import { createStatusCommand } from './status';
8
+ import { createListCommand } from './list';
9
+ import { createVerifyCommand } from './verify';
10
+ import { createLinkCommand } from './link';
11
+ /**
12
+ * Create the impl command group
13
+ */
14
+ export declare function createImplCommand(): Command;
15
+ export { createStatusCommand, createListCommand, createVerifyCommand, createLinkCommand, };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * impl link command
3
+ *
4
+ * Add explicit implementation mapping to a spec.
5
+ */
6
+ import { Command } from 'commander';
7
+ /**
8
+ * Create the link command
9
+ */
10
+ export declare function createLinkCommand(): Command;
11
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * impl list command
3
+ *
4
+ * List implementation mappings for specs.
5
+ */
6
+ import { Command } from 'commander';
7
+ /**
8
+ * Create the list command
9
+ */
10
+ export declare function createListCommand(): Command;
11
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * impl status command
3
+ *
4
+ * Check implementation status of specs.
5
+ */
6
+ import { Command } from 'commander';
7
+ /**
8
+ * Create the status command
9
+ */
10
+ export declare function createStatusCommand(): Command;
11
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Types for the impl command group.
3
+ */
4
+ export interface ImplStatusOptions {
5
+ /** Path to specific spec file */
6
+ spec?: string;
7
+ /** Check all specs in workspace */
8
+ all?: boolean;
9
+ /** Glob pattern for spec files */
10
+ pattern?: string;
11
+ /** Output format */
12
+ format?: 'text' | 'json' | 'table';
13
+ }
14
+ export interface ImplListOptions {
15
+ /** Path to specific spec file */
16
+ spec?: string;
17
+ /** Include auto-discovered implementations */
18
+ includeDiscovered?: boolean;
19
+ /** Include convention-based implementations */
20
+ includeConvention?: boolean;
21
+ /** Output format */
22
+ format?: 'text' | 'json' | 'table';
23
+ }
24
+ export interface ImplVerifyOptions {
25
+ /** Path to specific spec file */
26
+ spec?: string;
27
+ /** Verification tier(s) to run */
28
+ tier?: 'structure' | 'behavior' | 'ai' | 'all';
29
+ /** Bypass cache */
30
+ noCache?: boolean;
31
+ /** Fail on first error */
32
+ failFast?: boolean;
33
+ /** Output format */
34
+ format?: 'text' | 'json' | 'sarif';
35
+ }
36
+ export interface ImplLinkOptions {
37
+ /** Type of implementation */
38
+ type?: 'handler' | 'component' | 'form' | 'test' | 'service' | 'other';
39
+ /** Description */
40
+ description?: string;
41
+ }
42
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * impl verify command
3
+ *
4
+ * Verify implementations against their specs.
5
+ */
6
+ import { Command } from 'commander';
7
+ /**
8
+ * Create the verify command
9
+ */
10
+ export declare function createVerifyCommand(): Command;
11
+ //# sourceMappingURL=verify.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Init command.
3
+ *
4
+ * Sets up ContractSpec in a project: CLI config, VS Code settings,
5
+ * MCP servers, Cursor rules, and AGENTS.md.
6
+ *
7
+ * Supports monorepos with package-level or workspace-level configuration.
8
+ */
9
+ import { Command } from 'commander';
10
+ export declare const initCommand: Command;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Contract integrity analysis command.
3
+ *
4
+ * Analyzes contract specs and features to detect:
5
+ * - Orphaned specs (not linked to any feature)
6
+ * - Unresolved references (broken event/op/presentation refs)
7
+ * - Feature coverage metrics
8
+ * - Mermaid diagram visualization
9
+ */
10
+ import { Command } from 'commander';
11
+ type OutputFormat = 'text' | 'json' | 'mermaid';
12
+ type DiagramType = 'feature-map' | 'orphans' | 'dependencies' | 'full';
13
+ interface IntegrityOptions {
14
+ format?: OutputFormat;
15
+ orphans?: boolean;
16
+ unresolved?: boolean;
17
+ feature?: string;
18
+ type?: string;
19
+ all?: boolean;
20
+ diagram?: DiagramType;
21
+ json?: boolean;
22
+ }
23
+ /**
24
+ * Integrity CLI command.
25
+ */
26
+ export declare const integrityCommand: Command;
27
+ /**
28
+ * Run the integrity analysis.
29
+ */
30
+ declare function runIntegrityAnalysis(options: IntegrityOptions): Promise<void>;
31
+ export { runIntegrityAnalysis };
32
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const listCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * LLM Copy Command
3
+ *
4
+ * Copy spec markdown to clipboard for easy pasting into AI tools.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare const copyLLMCommand: Command;
8
+ //# sourceMappingURL=copy.d.ts.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * LLM Export Command
3
+ *
4
+ * Export specs to markdown in various formats for LLM consumption.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare const exportLLMCommand: Command;
8
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * LLM Guide Command
3
+ *
4
+ * Generate implementation guides for AI coding agents.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare const guideLLMCommand: Command;
8
+ //# sourceMappingURL=guide.d.ts.map
@@ -0,0 +1,12 @@
1
+ /**
2
+ * LLM Command Group
3
+ *
4
+ * Commands for LLM integration:
5
+ * - export: Export specs to markdown for LLM consumption
6
+ * - guide: Generate implementation guides for AI agents
7
+ * - verify: Verify implementations against specs
8
+ * - copy: Copy spec markdown to clipboard
9
+ */
10
+ import { Command } from 'commander';
11
+ export declare const llmCommand: Command;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,8 @@
1
+ /**
2
+ * LLM Verify Command
3
+ *
4
+ * Verify implementations against specs using tiered verification.
5
+ */
6
+ import { Command } from 'commander';
7
+ export declare const verifyLLMCommand: Command;
8
+ //# sourceMappingURL=verify.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Export ContractSpec specs to OpenAPI document.
4
+ */
5
+ export declare const exportCommand: Command;
6
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Import specs from an OpenAPI document.
4
+ */
5
+ export declare const importCommand: Command;
6
+ //# sourceMappingURL=import.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * OpenAPI command group for import, export, sync, and validate operations.
4
+ */
5
+ export declare const openapiCommand: Command;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Sync specs with OpenAPI sources.
4
+ */
5
+ export declare const syncCommand: Command;
6
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1,6 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Validate specs against an OpenAPI source.
4
+ */
5
+ export declare const validateCommand: Command;
6
+ //# sourceMappingURL=validate.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Quickstart command.
3
+ *
4
+ * Installs minimal necessary packages for ContractSpec to work.
5
+ * Supports minimal (core only) and full (with dev tools) modes.
6
+ */
7
+ import { Command } from 'commander';
8
+ export declare const quickstartCommand: Command;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import type { Config } from '../../utils/config';
2
+ interface RegeneratorCliOptions {
3
+ once?: boolean;
4
+ pollInterval?: number;
5
+ batchDuration?: number;
6
+ contexts?: string;
7
+ executor?: string;
8
+ dryRun?: boolean;
9
+ }
10
+ export declare function regeneratorCommand(blueprintPath: string, tenantPath: string, rulesPath: string, sinkPath: string, options: RegeneratorCliOptions, _config: Config): Promise<void>;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const registryAddCommand: Command;
3
+ //# sourceMappingURL=add.d.ts.map
@@ -0,0 +1,10 @@
1
+ export interface RegistryClientOptions {
2
+ registryUrl: string;
3
+ }
4
+ export declare class RegistryClient {
5
+ private readonly registryUrl;
6
+ constructor(opts: RegistryClientOptions);
7
+ getJson<T>(path: string): Promise<T>;
8
+ }
9
+ export declare function resolveRegistryUrl(cliRegistryUrl?: string): string;
10
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const registryCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const registryListCommand: Command;
3
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const registrySearchCommand: Command;
3
+ //# sourceMappingURL=search.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const syncCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,13 @@
1
+ export interface GenerateGoldenOptions {
2
+ operation: string;
3
+ output: string;
4
+ runnerImport: string;
5
+ runnerFn?: string;
6
+ suiteName?: string;
7
+ framework?: 'vitest' | 'jest';
8
+ fromProduction?: boolean;
9
+ days?: number;
10
+ sampleRate?: number;
11
+ }
12
+ export declare function generateGoldenTestsCommand(options: GenerateGoldenOptions): Promise<void>;
13
+ //# sourceMappingURL=generate.d.ts.map
@@ -0,0 +1,8 @@
1
+ import type { Config } from '../../utils/config';
2
+ interface TestCommandOptions {
3
+ registry?: string;
4
+ json?: boolean;
5
+ }
6
+ export declare function testCommand(specFile: string, options: TestCommandOptions, _config: Config): Promise<void>;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,31 @@
1
+ import { validateBlueprint as validateBlueprintSpec, validateConfig as validateTenantConfigSpecs } from '@lssm/lib.contracts/app-config/validation';
2
+ import type { AppBlueprintSpec, TenantAppConfig } from '@lssm/lib.contracts/app-config/spec';
3
+ import type { Config } from '../../utils/config';
4
+ interface ValidateOptions {
5
+ blueprint?: string;
6
+ tenantConfig?: string;
7
+ connections?: string[] | string;
8
+ integrationRegistrars?: string[] | string;
9
+ translationCatalog?: string;
10
+ checkHandlers?: boolean;
11
+ checkTests?: boolean;
12
+ checkImplementation?: boolean;
13
+ implementationPath?: string;
14
+ agentMode?: string;
15
+ interactive?: boolean;
16
+ }
17
+ /**
18
+ * Main validate command implementation
19
+ */
20
+ export declare function validateCommand(specFile: string, options: ValidateOptions, config: Config): Promise<void>;
21
+ declare function validateBlueprint(blueprintPath: string): Promise<{
22
+ spec: AppBlueprintSpec;
23
+ report: ReturnType<typeof validateBlueprintSpec>;
24
+ }>;
25
+ declare function validateTenantConfig(blueprint: AppBlueprintSpec, tenantPath: string, options: ValidateOptions): Promise<{
26
+ config: TenantAppConfig;
27
+ report: ReturnType<typeof validateTenantConfigSpecs>;
28
+ }>;
29
+ export type { ValidateOptions };
30
+ export { validateBlueprint, validateTenantConfig };
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Validate contract spec structure and content
3
+ */
4
+ export interface ValidationResult {
5
+ valid: boolean;
6
+ errors: string[];
7
+ warnings: string[];
8
+ }
9
+ /**
10
+ * Validate spec structure
11
+ */
12
+ export declare function validateSpecStructure(code: string, fileName: string): ValidationResult;
13
+ //# sourceMappingURL=spec-checker.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=spec-checker.test.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { Command } from 'commander';
2
+ export declare const watchCommand: Command;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Command } from 'commander';
2
+ /**
3
+ * Workspace info command.
4
+ *
5
+ * Displays information about the current workspace, including:
6
+ * - Package manager detection
7
+ * - Monorepo detection
8
+ * - Runtime environment
9
+ * - Configuration locations
10
+ */
11
+ export declare const workspaceCommand: Command;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function run(): void;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { AppBlueprintSpecData } from '../types';
2
+ export declare function generateAppBlueprintSpec(data: AppBlueprintSpecData): string;
3
+ //# sourceMappingURL=app-config.template.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { DataViewSpecData } from '../types';
2
+ export declare function generateDataViewSpec(data: DataViewSpecData): string;
3
+ //# sourceMappingURL=data-view.template.d.ts.map
@@ -0,0 +1,6 @@
1
+ import type { EventSpecData } from '../types';
2
+ /**
3
+ * Generate event spec TypeScript code
4
+ */
5
+ export declare function generateEventSpec(data: EventSpecData): string;
6
+ //# sourceMappingURL=event.template.d.ts.map
@@ -0,0 +1,3 @@
1
+ import type { ExperimentSpecData } from '../types';
2
+ export declare function generateExperimentSpec(data: ExperimentSpecData): string;
3
+ //# sourceMappingURL=experiment.template.d.ts.map