midas-mcp 5.3.9 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,70 @@
1
+ /**
2
+ * Reality Check Module
3
+ *
4
+ * Analyzes project docs to infer what requirements apply,
5
+ * categorizes them by what AI can/cannot do,
6
+ * and generates context-aware prompts for Cursor.
7
+ */
8
+ /**
9
+ * Three tiers of AI capability:
10
+ * - generatable: AI can draft the document, just needs human review
11
+ * - assistable: AI can help with checklist/guide, but needs professional verification
12
+ * - human_only: Requires real-world action (signup, purchase, certification)
13
+ */
14
+ export type RealityTier = 'generatable' | 'assistable' | 'human_only';
15
+ export interface RealityCheck {
16
+ key: string;
17
+ category: string;
18
+ tier: RealityTier;
19
+ headline: string;
20
+ explanation: string;
21
+ cursorPrompt: string;
22
+ humanSteps?: string[];
23
+ externalLinks?: string[];
24
+ alsoNeeded?: string[];
25
+ priority: 'critical' | 'high' | 'medium' | 'low';
26
+ }
27
+ export interface ProjectProfile {
28
+ collectsUserData: boolean;
29
+ collectsSensitiveData: boolean;
30
+ hasUnder13Users: boolean;
31
+ targetsEU: boolean;
32
+ targetsCalifornia: boolean;
33
+ hasPayments: boolean;
34
+ hasSubscriptions: boolean;
35
+ hasUserContent: boolean;
36
+ usesAI: boolean;
37
+ aiMakesDecisions: boolean;
38
+ isOpenSource: boolean;
39
+ targetAudience: string[];
40
+ businessModel: string;
41
+ industry: string[];
42
+ }
43
+ export interface RealityCheckResult {
44
+ profile: ProjectProfile;
45
+ checks: RealityCheck[];
46
+ summary: {
47
+ total: number;
48
+ critical: number;
49
+ generatable: number;
50
+ assistable: number;
51
+ humanOnly: number;
52
+ };
53
+ }
54
+ /**
55
+ * Infer project profile from brainlift, PRD, and package.json
56
+ */
57
+ export declare function inferProjectProfile(projectPath: string): ProjectProfile;
58
+ /**
59
+ * Get all applicable reality checks for a project
60
+ */
61
+ export declare function getRealityChecks(projectPath: string): RealityCheckResult;
62
+ /**
63
+ * Get tier symbol for display
64
+ */
65
+ export declare function getTierSymbol(tier: RealityTier): string;
66
+ /**
67
+ * Get tier description
68
+ */
69
+ export declare function getTierDescription(tier: RealityTier): string;
70
+ //# sourceMappingURL=reality.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reality.d.ts","sourceRoot":"","sources":["../src/reality.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,CAAC;AAEtE,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CAClD;AAED,MAAM,WAAW,cAAc;IAE7B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;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