@llipe.com/dev-tasks 0.6.1
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/CHANGELOG.md +104 -0
- package/README.md +823 -0
- package/bundle-manifest.json +113 -0
- package/dist/adapters/cli/extract-all.d.ts +31 -0
- package/dist/adapters/cli/extract-all.d.ts.map +1 -0
- package/dist/adapters/cli/extract-all.js +374 -0
- package/dist/adapters/cli/extract-all.js.map +1 -0
- package/dist/adapters/cli/extract-asyncapi.d.ts +26 -0
- package/dist/adapters/cli/extract-asyncapi.d.ts.map +1 -0
- package/dist/adapters/cli/extract-asyncapi.js +142 -0
- package/dist/adapters/cli/extract-asyncapi.js.map +1 -0
- package/dist/adapters/cli/extract-component.d.ts +24 -0
- package/dist/adapters/cli/extract-component.d.ts.map +1 -0
- package/dist/adapters/cli/extract-component.js +198 -0
- package/dist/adapters/cli/extract-component.js.map +1 -0
- package/dist/adapters/cli/extract-detect.d.ts +19 -0
- package/dist/adapters/cli/extract-detect.d.ts.map +1 -0
- package/dist/adapters/cli/extract-detect.js +98 -0
- package/dist/adapters/cli/extract-detect.js.map +1 -0
- package/dist/adapters/cli/extract-openapi.d.ts +29 -0
- package/dist/adapters/cli/extract-openapi.d.ts.map +1 -0
- package/dist/adapters/cli/extract-openapi.js +111 -0
- package/dist/adapters/cli/extract-openapi.js.map +1 -0
- package/dist/adapters/cli/extract-schema.d.ts +15 -0
- package/dist/adapters/cli/extract-schema.d.ts.map +1 -0
- package/dist/adapters/cli/extract-schema.js +39 -0
- package/dist/adapters/cli/extract-schema.js.map +1 -0
- package/dist/adapters/cli/index.d.ts +6 -0
- package/dist/adapters/cli/index.d.ts.map +1 -0
- package/dist/adapters/cli/index.js +5 -0
- package/dist/adapters/cli/index.js.map +1 -0
- package/dist/adapters/cli/parse-args.d.ts +22 -0
- package/dist/adapters/cli/parse-args.d.ts.map +1 -0
- package/dist/adapters/cli/parse-args.js +63 -0
- package/dist/adapters/cli/parse-args.js.map +1 -0
- package/dist/adapters/mcp/index.d.ts +5 -0
- package/dist/adapters/mcp/index.d.ts.map +1 -0
- package/dist/adapters/mcp/index.js +2 -0
- package/dist/adapters/mcp/index.js.map +1 -0
- package/dist/bin/dev-tasks.d.ts +7 -0
- package/dist/bin/dev-tasks.d.ts.map +1 -0
- package/dist/bin/dev-tasks.js +275 -0
- package/dist/bin/dev-tasks.js.map +1 -0
- package/dist/bin/dt.d.ts +7 -0
- package/dist/bin/dt.d.ts.map +1 -0
- package/dist/bin/dt.js +159 -0
- package/dist/bin/dt.js.map +1 -0
- package/dist/core/catalog/index.d.ts +5 -0
- package/dist/core/catalog/index.d.ts.map +1 -0
- package/dist/core/catalog/index.js +2 -0
- package/dist/core/catalog/index.js.map +1 -0
- package/dist/core/context/index.d.ts +5 -0
- package/dist/core/context/index.d.ts.map +1 -0
- package/dist/core/context/index.js +2 -0
- package/dist/core/context/index.js.map +1 -0
- package/dist/core/distribution/backup.d.ts +24 -0
- package/dist/core/distribution/backup.d.ts.map +1 -0
- package/dist/core/distribution/backup.js +37 -0
- package/dist/core/distribution/backup.js.map +1 -0
- package/dist/core/distribution/doctor.d.ts +35 -0
- package/dist/core/distribution/doctor.d.ts.map +1 -0
- package/dist/core/distribution/doctor.js +158 -0
- package/dist/core/distribution/doctor.js.map +1 -0
- package/dist/core/distribution/hash.d.ts +14 -0
- package/dist/core/distribution/hash.d.ts.map +1 -0
- package/dist/core/distribution/hash.js +21 -0
- package/dist/core/distribution/hash.js.map +1 -0
- package/dist/core/distribution/index.d.ts +18 -0
- package/dist/core/distribution/index.d.ts.map +1 -0
- package/dist/core/distribution/index.js +12 -0
- package/dist/core/distribution/index.js.map +1 -0
- package/dist/core/distribution/install.d.ts +25 -0
- package/dist/core/distribution/install.d.ts.map +1 -0
- package/dist/core/distribution/install.js +81 -0
- package/dist/core/distribution/install.js.map +1 -0
- package/dist/core/distribution/manifest.d.ts +28 -0
- package/dist/core/distribution/manifest.d.ts.map +1 -0
- package/dist/core/distribution/manifest.js +38 -0
- package/dist/core/distribution/manifest.js.map +1 -0
- package/dist/core/distribution/migrate.d.ts +54 -0
- package/dist/core/distribution/migrate.d.ts.map +1 -0
- package/dist/core/distribution/migrate.js +200 -0
- package/dist/core/distribution/migrate.js.map +1 -0
- package/dist/core/distribution/pin.d.ts +15 -0
- package/dist/core/distribution/pin.d.ts.map +1 -0
- package/dist/core/distribution/pin.js +37 -0
- package/dist/core/distribution/pin.js.map +1 -0
- package/dist/core/distribution/status.d.ts +20 -0
- package/dist/core/distribution/status.d.ts.map +1 -0
- package/dist/core/distribution/status.js +39 -0
- package/dist/core/distribution/status.js.map +1 -0
- package/dist/core/distribution/update.d.ts +41 -0
- package/dist/core/distribution/update.d.ts.map +1 -0
- package/dist/core/distribution/update.js +148 -0
- package/dist/core/distribution/update.js.map +1 -0
- package/dist/core/exit-codes.d.ts +23 -0
- package/dist/core/exit-codes.d.ts.map +1 -0
- package/dist/core/exit-codes.js +22 -0
- package/dist/core/exit-codes.js.map +1 -0
- package/dist/core/extract/asyncapi/index.d.ts +11 -0
- package/dist/core/extract/asyncapi/index.d.ts.map +1 -0
- package/dist/core/extract/asyncapi/index.js +7 -0
- package/dist/core/extract/asyncapi/index.js.map +1 -0
- package/dist/core/extract/asyncapi/payloads.d.ts +20 -0
- package/dist/core/extract/asyncapi/payloads.d.ts.map +1 -0
- package/dist/core/extract/asyncapi/payloads.js +421 -0
- package/dist/core/extract/asyncapi/payloads.js.map +1 -0
- package/dist/core/extract/asyncapi/topics.d.ts +27 -0
- package/dist/core/extract/asyncapi/topics.d.ts.map +1 -0
- package/dist/core/extract/asyncapi/topics.js +368 -0
- package/dist/core/extract/asyncapi/topics.js.map +1 -0
- package/dist/core/extract/asyncapi/types.d.ts +129 -0
- package/dist/core/extract/asyncapi/types.d.ts.map +1 -0
- package/dist/core/extract/asyncapi/types.js +5 -0
- package/dist/core/extract/asyncapi/types.js.map +1 -0
- package/dist/core/extract/asyncapi/validate.d.ts +29 -0
- package/dist/core/extract/asyncapi/validate.d.ts.map +1 -0
- package/dist/core/extract/asyncapi/validate.js +156 -0
- package/dist/core/extract/asyncapi/validate.js.map +1 -0
- package/dist/core/extract/component.d.ts +201 -0
- package/dist/core/extract/component.d.ts.map +1 -0
- package/dist/core/extract/component.js +258 -0
- package/dist/core/extract/component.js.map +1 -0
- package/dist/core/extract/detect.d.ts +35 -0
- package/dist/core/extract/detect.d.ts.map +1 -0
- package/dist/core/extract/detect.js +89 -0
- package/dist/core/extract/detect.js.map +1 -0
- package/dist/core/extract/index.d.ts +12 -0
- package/dist/core/extract/index.d.ts.map +1 -0
- package/dist/core/extract/index.js +6 -0
- package/dist/core/extract/index.js.map +1 -0
- package/dist/core/extract/openapi/index.d.ts +13 -0
- package/dist/core/extract/openapi/index.d.ts.map +1 -0
- package/dist/core/extract/openapi/index.js +9 -0
- package/dist/core/extract/openapi/index.js.map +1 -0
- package/dist/core/extract/openapi/llm-descriptions.d.ts +41 -0
- package/dist/core/extract/openapi/llm-descriptions.d.ts.map +1 -0
- package/dist/core/extract/openapi/llm-descriptions.js +36 -0
- package/dist/core/extract/openapi/llm-descriptions.js.map +1 -0
- package/dist/core/extract/openapi/route1.d.ts +36 -0
- package/dist/core/extract/openapi/route1.d.ts.map +1 -0
- package/dist/core/extract/openapi/route1.js +327 -0
- package/dist/core/extract/openapi/route1.js.map +1 -0
- package/dist/core/extract/openapi/route2.d.ts +46 -0
- package/dist/core/extract/openapi/route2.d.ts.map +1 -0
- package/dist/core/extract/openapi/route2.js +19 -0
- package/dist/core/extract/openapi/route2.js.map +1 -0
- package/dist/core/extract/openapi/route3.d.ts +26 -0
- package/dist/core/extract/openapi/route3.d.ts.map +1 -0
- package/dist/core/extract/openapi/route3.js +737 -0
- package/dist/core/extract/openapi/route3.js.map +1 -0
- package/dist/core/extract/openapi/types.d.ts +125 -0
- package/dist/core/extract/openapi/types.d.ts.map +1 -0
- package/dist/core/extract/openapi/types.js +5 -0
- package/dist/core/extract/openapi/types.js.map +1 -0
- package/dist/core/extract/openapi/validate.d.ts +29 -0
- package/dist/core/extract/openapi/validate.d.ts.map +1 -0
- package/dist/core/extract/openapi/validate.js +200 -0
- package/dist/core/extract/openapi/validate.js.map +1 -0
- package/dist/core/extract/orm/drizzle.d.ts +20 -0
- package/dist/core/extract/orm/drizzle.d.ts.map +1 -0
- package/dist/core/extract/orm/drizzle.js +283 -0
- package/dist/core/extract/orm/drizzle.js.map +1 -0
- package/dist/core/extract/orm/information-schema.d.ts +26 -0
- package/dist/core/extract/orm/information-schema.d.ts.map +1 -0
- package/dist/core/extract/orm/information-schema.js +142 -0
- package/dist/core/extract/orm/information-schema.js.map +1 -0
- package/dist/core/extract/orm/llm-descriptions.d.ts +28 -0
- package/dist/core/extract/orm/llm-descriptions.d.ts.map +1 -0
- package/dist/core/extract/orm/llm-descriptions.js +64 -0
- package/dist/core/extract/orm/llm-descriptions.js.map +1 -0
- package/dist/core/extract/orm/migration-inference.d.ts +25 -0
- package/dist/core/extract/orm/migration-inference.d.ts.map +1 -0
- package/dist/core/extract/orm/migration-inference.js +76 -0
- package/dist/core/extract/orm/migration-inference.js.map +1 -0
- package/dist/core/extract/orm/prisma.d.ts +23 -0
- package/dist/core/extract/orm/prisma.d.ts.map +1 -0
- package/dist/core/extract/orm/prisma.js +234 -0
- package/dist/core/extract/orm/prisma.js.map +1 -0
- package/dist/core/extract/orm/typeorm.d.ts +22 -0
- package/dist/core/extract/orm/typeorm.d.ts.map +1 -0
- package/dist/core/extract/orm/typeorm.js +269 -0
- package/dist/core/extract/orm/typeorm.js.map +1 -0
- package/dist/core/extract/orm/types.d.ts +97 -0
- package/dist/core/extract/orm/types.d.ts.map +1 -0
- package/dist/core/extract/orm/types.js +6 -0
- package/dist/core/extract/orm/types.js.map +1 -0
- package/dist/core/extract/prompt.d.ts +21 -0
- package/dist/core/extract/prompt.d.ts.map +1 -0
- package/dist/core/extract/prompt.js +79 -0
- package/dist/core/extract/prompt.js.map +1 -0
- package/dist/core/extract/provider.d.ts +117 -0
- package/dist/core/extract/provider.d.ts.map +1 -0
- package/dist/core/extract/provider.js +6 -0
- package/dist/core/extract/provider.js.map +1 -0
- package/dist/core/extract/providers/node-ts.d.ts +69 -0
- package/dist/core/extract/providers/node-ts.d.ts.map +1 -0
- package/dist/core/extract/providers/node-ts.js +311 -0
- package/dist/core/extract/providers/node-ts.js.map +1 -0
- package/dist/core/extract/render/schema-md.d.ts +16 -0
- package/dist/core/extract/render/schema-md.d.ts.map +1 -0
- package/dist/core/extract/render/schema-md.js +140 -0
- package/dist/core/extract/render/schema-md.js.map +1 -0
- package/dist/core/extract/report.d.ts +97 -0
- package/dist/core/extract/report.d.ts.map +1 -0
- package/dist/core/extract/report.js +47 -0
- package/dist/core/extract/report.js.map +1 -0
- package/dist/core/extract/schema.d.ts +36 -0
- package/dist/core/extract/schema.d.ts.map +1 -0
- package/dist/core/extract/schema.js +141 -0
- package/dist/core/extract/schema.js.map +1 -0
- package/dist/core/index.d.ts +15 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +14 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/providers/index.d.ts +5 -0
- package/dist/core/providers/index.d.ts.map +1 -0
- package/dist/core/providers/index.js +2 -0
- package/dist/core/providers/index.js.map +1 -0
- package/dist/core/reconcile.d.ts +25 -0
- package/dist/core/reconcile.d.ts.map +1 -0
- package/dist/core/reconcile.js +36 -0
- package/dist/core/reconcile.js.map +1 -0
- package/dist/core/scope/index.d.ts +5 -0
- package/dist/core/scope/index.d.ts.map +1 -0
- package/dist/core/scope/index.js +2 -0
- package/dist/core/scope/index.js.map +1 -0
- package/package.json +77 -0
- package/schemas/.gitkeep +0 -0
- package/skills/.gitkeep +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for ORM schema extraction results.
|
|
3
|
+
* All extractors (Prisma, Drizzle, TypeORM) produce this uniform structure.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* A column/field in a database table.
|
|
7
|
+
*/
|
|
8
|
+
export interface SchemaColumn {
|
|
9
|
+
/** Column name */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Column type (e.g., "Int", "String", "varchar(255)") */
|
|
12
|
+
type: string;
|
|
13
|
+
/** Whether the column is nullable */
|
|
14
|
+
nullable: boolean;
|
|
15
|
+
/** Whether the column is a primary key */
|
|
16
|
+
primaryKey: boolean;
|
|
17
|
+
/** Whether the column has a unique constraint */
|
|
18
|
+
unique: boolean;
|
|
19
|
+
/** Default value expression (if any) */
|
|
20
|
+
defaultValue?: string;
|
|
21
|
+
/** Additional attributes/decorators */
|
|
22
|
+
attributes: string[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A foreign key relationship.
|
|
26
|
+
*/
|
|
27
|
+
export interface SchemaRelation {
|
|
28
|
+
/** Name of the relation field */
|
|
29
|
+
name: string;
|
|
30
|
+
/** Type of relation (one-to-one, one-to-many, many-to-one, many-to-many) */
|
|
31
|
+
type: "one-to-one" | "one-to-many" | "many-to-one" | "many-to-many";
|
|
32
|
+
/** Target table name */
|
|
33
|
+
target: string;
|
|
34
|
+
/** Fields in the source table (FK columns) */
|
|
35
|
+
sourceFields: string[];
|
|
36
|
+
/** Fields in the target table (referenced columns) */
|
|
37
|
+
targetFields: string[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* An index on a table.
|
|
41
|
+
*/
|
|
42
|
+
export interface SchemaIndex {
|
|
43
|
+
/** Index name (if available) */
|
|
44
|
+
name?: string;
|
|
45
|
+
/** Columns included in the index */
|
|
46
|
+
columns: string[];
|
|
47
|
+
/** Whether this is a unique index */
|
|
48
|
+
unique: boolean;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* An enum type definition.
|
|
52
|
+
*/
|
|
53
|
+
export interface SchemaEnum {
|
|
54
|
+
/** Enum name */
|
|
55
|
+
name: string;
|
|
56
|
+
/** Enum values */
|
|
57
|
+
values: string[];
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* A database table extracted from ORM definitions.
|
|
61
|
+
*/
|
|
62
|
+
export interface SchemaTable {
|
|
63
|
+
/** Table name */
|
|
64
|
+
name: string;
|
|
65
|
+
/** Columns/fields */
|
|
66
|
+
columns: SchemaColumn[];
|
|
67
|
+
/** Relations (foreign keys) */
|
|
68
|
+
relations: SchemaRelation[];
|
|
69
|
+
/** Indexes */
|
|
70
|
+
indexes: SchemaIndex[];
|
|
71
|
+
/** Optional description (added by LLM pass) */
|
|
72
|
+
description?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Provenance source for the extraction.
|
|
76
|
+
*/
|
|
77
|
+
export type SchemaSource = "introspected" | "inferred";
|
|
78
|
+
/**
|
|
79
|
+
* Confidence level for the extraction.
|
|
80
|
+
*/
|
|
81
|
+
export type SchemaConfidence = "high" | "medium" | "low";
|
|
82
|
+
/**
|
|
83
|
+
* Full schema extraction result.
|
|
84
|
+
*/
|
|
85
|
+
export interface SchemaExtractionResult {
|
|
86
|
+
/** Extracted tables */
|
|
87
|
+
tables: SchemaTable[];
|
|
88
|
+
/** Extracted enums */
|
|
89
|
+
enums: SchemaEnum[];
|
|
90
|
+
/** How the schema was obtained */
|
|
91
|
+
source: SchemaSource;
|
|
92
|
+
/** Confidence in the extraction accuracy */
|
|
93
|
+
confidence: SchemaConfidence;
|
|
94
|
+
/** ORM that produced the schema (or "information_schema" or "migration_inference") */
|
|
95
|
+
orm: string;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../core/extract/orm/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,kBAAkB;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;I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D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,uBAAuB;IACvB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,sBAAsB;IACtB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,YAAY,CAAC;IACrB,4CAA4C;IAC5C,UAAU,EAAE,gBAAgB,CAAC;IAC7B,sFAAsF;IACtF,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../core/extract/orm/types.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interactive prompt for non-derivable fields.
|
|
3
|
+
* Detects TTY; no-op when non-interactive; unanswered → empty.
|
|
4
|
+
*/
|
|
5
|
+
import type { PromptedValues } from "./component.js";
|
|
6
|
+
/**
|
|
7
|
+
* Check if the current process is running in an interactive TTY.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isInteractive(): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Prompt for non-derivable fields interactively.
|
|
12
|
+
* Returns empty strings for all fields if not interactive.
|
|
13
|
+
*/
|
|
14
|
+
export declare function promptNonDerivableFields(interactive?: boolean): Promise<PromptedValues>;
|
|
15
|
+
/**
|
|
16
|
+
* Prompt for confirmation of an inferred field value.
|
|
17
|
+
* Returns true if confirmed, false if rejected.
|
|
18
|
+
* In non-interactive mode, always returns false (unconfirmed).
|
|
19
|
+
*/
|
|
20
|
+
export declare function confirmInference(fieldName: string, value: string, interactive?: boolean): Promise<boolean>;
|
|
21
|
+
//# sourceMappingURL=prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../../../core/extract/prompt.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AA0BrD;;GAEG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAEvC;AAED;;;GAGG;AACH,wBAAsB,wBAAwB,CAC5C,WAAW,GAAE,OAAyB,GACrC,OAAO,CAAC,cAAc,CAAC,CAkCzB;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,WAAW,GAAE,OAAyB,GACrC,OAAO,CAAC,OAAO,CAAC,CAkBlB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interactive prompt for non-derivable fields.
|
|
3
|
+
* Detects TTY; no-op when non-interactive; unanswered → empty.
|
|
4
|
+
*/
|
|
5
|
+
import { createInterface } from "node:readline";
|
|
6
|
+
const FIELD_PROMPTS = [
|
|
7
|
+
{ key: "owner", label: "Owner", hint: "Team or person responsible (e.g. platform-team)" },
|
|
8
|
+
{ key: "domain", label: "Domain", hint: "Business domain (e.g. payments, identity)" },
|
|
9
|
+
{
|
|
10
|
+
key: "criticality",
|
|
11
|
+
label: "Criticality",
|
|
12
|
+
hint: "Service criticality (critical, high, medium, low)",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
key: "lifecycle",
|
|
16
|
+
label: "Lifecycle",
|
|
17
|
+
hint: "Service lifecycle stage (production, beta, deprecated, decommissioned)",
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
/**
|
|
21
|
+
* Check if the current process is running in an interactive TTY.
|
|
22
|
+
*/
|
|
23
|
+
export function isInteractive() {
|
|
24
|
+
return Boolean(process.stdin.isTTY);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Prompt for non-derivable fields interactively.
|
|
28
|
+
* Returns empty strings for all fields if not interactive.
|
|
29
|
+
*/
|
|
30
|
+
export async function promptNonDerivableFields(interactive = isInteractive()) {
|
|
31
|
+
const values = {
|
|
32
|
+
owner: "",
|
|
33
|
+
domain: "",
|
|
34
|
+
criticality: "",
|
|
35
|
+
lifecycle: "",
|
|
36
|
+
};
|
|
37
|
+
if (!interactive) {
|
|
38
|
+
return values;
|
|
39
|
+
}
|
|
40
|
+
const rl = createInterface({
|
|
41
|
+
input: process.stdin,
|
|
42
|
+
output: process.stdout,
|
|
43
|
+
});
|
|
44
|
+
const ask = (question) => new Promise((resolve) => {
|
|
45
|
+
rl.question(question, (answer) => {
|
|
46
|
+
resolve(answer.trim());
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
process.stdout.write("\nComponent fields requiring human input:\n");
|
|
50
|
+
process.stdout.write("(Press Enter to skip — unanswered fields will be empty)\n\n");
|
|
51
|
+
for (const prompt of FIELD_PROMPTS) {
|
|
52
|
+
const answer = await ask(` ${prompt.label} (${prompt.hint}): `);
|
|
53
|
+
values[prompt.key] = answer;
|
|
54
|
+
}
|
|
55
|
+
rl.close();
|
|
56
|
+
return values;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Prompt for confirmation of an inferred field value.
|
|
60
|
+
* Returns true if confirmed, false if rejected.
|
|
61
|
+
* In non-interactive mode, always returns false (unconfirmed).
|
|
62
|
+
*/
|
|
63
|
+
export async function confirmInference(fieldName, value, interactive = isInteractive()) {
|
|
64
|
+
if (!interactive) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
const rl = createInterface({
|
|
68
|
+
input: process.stdin,
|
|
69
|
+
output: process.stdout,
|
|
70
|
+
});
|
|
71
|
+
const answer = await new Promise((resolve) => {
|
|
72
|
+
rl.question(` Accept inferred ${fieldName}: "${value}"? [y/N] `, (ans) => {
|
|
73
|
+
resolve(ans.trim().toLowerCase());
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
rl.close();
|
|
77
|
+
return answer === "y" || answer === "yes";
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=promp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C"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pluggable extraction provider interface and supporting types.
|
|
3
|
+
* Spec §4.8 — providers declare capabilities and implement detection + extraction.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Capabilities a provider can declare.
|
|
7
|
+
* Each maps to a specific extraction strategy.
|
|
8
|
+
*/
|
|
9
|
+
export type Capability = "openapi_native" | "openapi_ast" | "db_introspection" | "orm_ast" | "topic_ast" | "payload_typed";
|
|
10
|
+
/**
|
|
11
|
+
* OpenAPI strategy identifiers per the detection matrix.
|
|
12
|
+
*/
|
|
13
|
+
export type OpenApiStrategy = "route1" | "route2" | "route3";
|
|
14
|
+
/**
|
|
15
|
+
* Evidence entry for a detection signal.
|
|
16
|
+
*/
|
|
17
|
+
export interface DetectionEvidence {
|
|
18
|
+
/** What was detected (e.g. dependency name, file path, config key) */
|
|
19
|
+
signal: string;
|
|
20
|
+
/** Where it was found */
|
|
21
|
+
location: string;
|
|
22
|
+
/** Optional additional context */
|
|
23
|
+
detail?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* HTTP framework detection result.
|
|
27
|
+
*/
|
|
28
|
+
export interface HttpDetection {
|
|
29
|
+
/** Detected framework (nestjs, express, fastify, hono) */
|
|
30
|
+
framework: string;
|
|
31
|
+
/** Which OpenAPI strategy applies based on detection signals */
|
|
32
|
+
openapi_strategy: OpenApiStrategy;
|
|
33
|
+
/** Per-strategy evidence count */
|
|
34
|
+
strategy_counts: Record<OpenApiStrategy, number>;
|
|
35
|
+
/** Evidence supporting the detection */
|
|
36
|
+
evidence: DetectionEvidence[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* ORM detection result.
|
|
40
|
+
*/
|
|
41
|
+
export interface OrmDetection {
|
|
42
|
+
/** ORM kind (prisma, drizzle, typeorm) */
|
|
43
|
+
kind: string;
|
|
44
|
+
/** Path to schema file (e.g., prisma/schema.prisma) */
|
|
45
|
+
schema_path: string | null;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Messaging client detection result.
|
|
49
|
+
*/
|
|
50
|
+
export interface MessagingDetection {
|
|
51
|
+
/** Client library (kafkajs, etc.) */
|
|
52
|
+
client: string;
|
|
53
|
+
/** Evidence supporting the detection */
|
|
54
|
+
evidence: DetectionEvidence[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Result of a provider's detect() call.
|
|
58
|
+
* Reports the full stack detection with evidence.
|
|
59
|
+
*/
|
|
60
|
+
export interface DetectionResult {
|
|
61
|
+
/** Detected stack components (e.g. ["node", "typescript", "nestjs", "prisma", "kafkajs"]) */
|
|
62
|
+
stack: string[];
|
|
63
|
+
/** HTTP framework detection (null if none detected) */
|
|
64
|
+
http: HttpDetection | null;
|
|
65
|
+
/** ORM detection (null if none detected) */
|
|
66
|
+
orm: OrmDetection | null;
|
|
67
|
+
/** Messaging client detection (null if none detected) */
|
|
68
|
+
messaging: MessagingDetection | null;
|
|
69
|
+
/** Type hint for the provider combination (e.g. "node-nestjs-prisma-kafkajs") */
|
|
70
|
+
type_hint: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Context provided to a provider's detect() method.
|
|
74
|
+
*/
|
|
75
|
+
export interface RepoContext {
|
|
76
|
+
/** Absolute path to the repository root */
|
|
77
|
+
rootDir: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Fields that require human input because the provider lacks the capability.
|
|
81
|
+
*/
|
|
82
|
+
export interface RequiresHumanEntry {
|
|
83
|
+
/** Artifact that could not be produced */
|
|
84
|
+
artifact: string;
|
|
85
|
+
/** Reason it could not be produced */
|
|
86
|
+
reason: string;
|
|
87
|
+
/** Which capability was missing */
|
|
88
|
+
missing_capability: Capability;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Pluggable extraction provider interface.
|
|
92
|
+
* Each provider targets a specific stack combination and declares its capabilities.
|
|
93
|
+
*/
|
|
94
|
+
export interface ExtractionProvider {
|
|
95
|
+
/** Unique provider identifier (e.g. "node-ts") */
|
|
96
|
+
id: string;
|
|
97
|
+
/** Capabilities this provider can perform */
|
|
98
|
+
capabilities: Capability[];
|
|
99
|
+
/**
|
|
100
|
+
* Detect whether this provider applies to the given repo.
|
|
101
|
+
* Returns a DetectionResult if the provider matches, null otherwise.
|
|
102
|
+
*/
|
|
103
|
+
detect(repo: RepoContext): DetectionResult | null;
|
|
104
|
+
/**
|
|
105
|
+
* Extract database schema (optional — only if orm_ast or db_introspection capability declared).
|
|
106
|
+
*/
|
|
107
|
+
extractSchema?(repo: RepoContext): Promise<unknown>;
|
|
108
|
+
/**
|
|
109
|
+
* Extract OpenAPI specification (optional — only if openapi_native or openapi_ast capability declared).
|
|
110
|
+
*/
|
|
111
|
+
extractOpenApi?(repo: RepoContext): Promise<unknown>;
|
|
112
|
+
/**
|
|
113
|
+
* Extract AsyncAPI specification (optional — only if topic_ast or payload_typed capability declared).
|
|
114
|
+
*/
|
|
115
|
+
extractAsyncApi?(repo: RepoContext): Promise<unknown>;
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../core/extract/provider.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,aAAa,GACb,kBAAkB,GAClB,SAAS,GACT,WAAW,GACX,eAAe,CAAC;AAEpB;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA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7C,YAAY,EAAE,UAAU,EAAE,CAAC;IAE3B;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,WAAW,GAAG,eAAe,GAAG,IAAI,CAAC;IAElD;;OAEG;IACH,aAAa,CAAC,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpD;;OAEG;IACH,cAAc,CAAC,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAErD;;OAEG;IACH,eAAe,CAAC,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../core/extract/provider.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Node/TypeScript extraction provider.
|
|
3
|
+
* Inspects package.json deps, directory structure, and config files to detect:
|
|
4
|
+
* - HTTP framework (nestjs, express, fastify, hono)
|
|
5
|
+
* - ORM (prisma, drizzle, typeorm)
|
|
6
|
+
* - Messaging (kafkajs)
|
|
7
|
+
*
|
|
8
|
+
* Reports openapi_strategy per the detection matrix (route 1/2/3)
|
|
9
|
+
* and per-strategy evidence count.
|
|
10
|
+
*
|
|
11
|
+
* Deterministic: pure config/file inspection, no LLM.
|
|
12
|
+
*/
|
|
13
|
+
import type { DetectionEvidence, ExtractionProvider, OpenApiStrategy } from "../provider.js";
|
|
14
|
+
export interface PackageDeps {
|
|
15
|
+
dependencies: Record<string, string>;
|
|
16
|
+
devDependencies: Record<string, string>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Read and parse package.json from the given directory.
|
|
20
|
+
* Returns null if not found or invalid JSON.
|
|
21
|
+
*/
|
|
22
|
+
export declare function readPackageJson(rootDir: string): PackageDeps | null;
|
|
23
|
+
/**
|
|
24
|
+
* Check if a dependency exists in either dependencies or devDependencies.
|
|
25
|
+
*/
|
|
26
|
+
export declare function hasDep(deps: PackageDeps, name: string): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Check if any dependency matching a prefix exists.
|
|
29
|
+
*/
|
|
30
|
+
export declare function hasDepPrefix(deps: PackageDeps, prefix: string): boolean;
|
|
31
|
+
export interface FrameworkSignal {
|
|
32
|
+
framework: string;
|
|
33
|
+
dep: string;
|
|
34
|
+
location: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Detect HTTP framework from package.json dependencies.
|
|
38
|
+
*/
|
|
39
|
+
export declare function detectFramework(deps: PackageDeps): FrameworkSignal | null;
|
|
40
|
+
export interface OrmSignal {
|
|
41
|
+
kind: string;
|
|
42
|
+
dep: string;
|
|
43
|
+
schemaPath: string | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Detect ORM from package.json dependencies and config file presence.
|
|
47
|
+
*/
|
|
48
|
+
export declare function detectOrm(deps: PackageDeps, rootDir: string): OrmSignal | null;
|
|
49
|
+
export interface MessagingSignal {
|
|
50
|
+
client: string;
|
|
51
|
+
dep: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Detect messaging client from package.json dependencies.
|
|
55
|
+
*/
|
|
56
|
+
export declare function detectMessaging(deps: PackageDeps): MessagingSignal | null;
|
|
57
|
+
/**
|
|
58
|
+
* Determine OpenAPI strategy based on framework detection and available signals.
|
|
59
|
+
*/
|
|
60
|
+
export declare function detectOpenApiStrategy(framework: string, deps: PackageDeps, rootDir: string): {
|
|
61
|
+
strategy: OpenApiStrategy;
|
|
62
|
+
counts: Record<OpenApiStrategy, number>;
|
|
63
|
+
evidence: DetectionEvidence[];
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Node/TypeScript extraction provider.
|
|
67
|
+
*/
|
|
68
|
+
export declare const nodeTsProvider: ExtractionProvider;
|
|
69
|
+
//# sourceMappingURL=node-ts.d.ts.map
|
|
@@ -0,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