maxsim-flutter 1.29.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plan/index.d.ts +12 -0
- package/dist/plan/index.d.ts.map +1 -0
- package/dist/plan/index.js +7 -0
- package/dist/plan/index.js.map +1 -0
- package/dist/plan/skill-generator.d.ts.map +1 -1
- package/dist/plan/skill-generator.js +43 -3
- package/dist/plan/skill-generator.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { isValidSnakeCase } from './types.js';
|
|
2
|
+
export type { PlanInput, PlanResult } from './types.js';
|
|
3
|
+
export { writePartialConfig } from './config-writer.js';
|
|
4
|
+
export type { PartialConfigInput } from './config-writer.js';
|
|
5
|
+
export { generateBriefTemplate } from './brief-template-generator.js';
|
|
6
|
+
export type { BriefTemplateInput } from './brief-template-generator.js';
|
|
7
|
+
export { generatePlanAppSkill } from './skill-generator.js';
|
|
8
|
+
export type { SkillInput } from './skill-generator.js';
|
|
9
|
+
export { runPlan } from './plan-orchestrator.js';
|
|
10
|
+
export { classifyAppType } from './app-type-classifier.js';
|
|
11
|
+
export type { AppType, AppTypeResult, ModuleSuggestion } from './app-type-classifier.js';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { isValidSnakeCase } from './types.js';
|
|
2
|
+
export { writePartialConfig } from './config-writer.js';
|
|
3
|
+
export { generateBriefTemplate } from './brief-template-generator.js';
|
|
4
|
+
export { generatePlanAppSkill } from './skill-generator.js';
|
|
5
|
+
export { runPlan } from './plan-orchestrator.js';
|
|
6
|
+
export { classifyAppType } from './app-type-classifier.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/plan/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-generator.d.ts","sourceRoot":"","sources":["../../src/plan/skill-generator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"skill-generator.d.ts","sourceRoot":"","sources":["../../src/plan/skill-generator.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,CA2H/D"}
|
|
@@ -67,11 +67,51 @@ Use this decision tree to guide module selection. Ask each sub-question only if
|
|
|
67
67
|
|
|
68
68
|
---
|
|
69
69
|
|
|
70
|
-
##
|
|
70
|
+
## Step 4: Module Suggestions
|
|
71
71
|
|
|
72
|
-
|
|
72
|
+
Based on the app description and answers collected, suggest modules using this decision matrix.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
**Classify the app type** from the description, then apply the relevant row:
|
|
75
|
+
|
|
76
|
+
| App Type | REQUIRED | RECOMMENDED | NICE-TO-HAVE |
|
|
77
|
+
|---|---|---|---|
|
|
78
|
+
| **team-collaboration** | auth, push, database | analytics, deep-linking | i18n, theme |
|
|
79
|
+
| **e-commerce** | auth, database, api | push, analytics, deep-linking | theme, i18n |
|
|
80
|
+
| **content-social** | auth, analytics, database | push, deep-linking | i18n, theme |
|
|
81
|
+
| **utility-tool** | theme | i18n, analytics | — |
|
|
82
|
+
| **fitness-health** | auth, database, push | analytics, theme | — |
|
|
83
|
+
| **education** | auth, database, api | push, i18n | analytics |
|
|
84
|
+
| **general** | auth, api | theme | — |
|
|
85
|
+
|
|
86
|
+
**For each suggested module, explain the rationale** (why it is needed for this specific app):
|
|
87
|
+
|
|
88
|
+
Example format:
|
|
89
|
+
- \`auth\` ✅ REQUIRED — *Because ${name} needs user accounts to save personal data*
|
|
90
|
+
- \`push\` ⭐ RECOMMENDED — *Because users benefit from timely notifications*
|
|
91
|
+
- \`i18n\` 💡 NICE-TO-HAVE — *If you plan to target non-English markets in the future*
|
|
92
|
+
|
|
93
|
+
Present the suggestions clearly, then ask:
|
|
94
|
+
|
|
95
|
+
**Question 4.1** — Do these module suggestions match your vision, or would you add/remove anything?
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## Step 5: Confirm Selections & Approve
|
|
100
|
+
|
|
101
|
+
Summarize all decisions collected in Steps 1-4:
|
|
102
|
+
|
|
103
|
+
**Summary of choices:**
|
|
104
|
+
- App type: [detected type]
|
|
105
|
+
- Platforms: [selected]
|
|
106
|
+
- Auth: [yes/no, provider if yes]
|
|
107
|
+
- Database: [local/cloud/none]
|
|
108
|
+
- Modules: [final list with priorities]
|
|
109
|
+
|
|
110
|
+
**Question 5.1** — Does this summary accurately reflect your app? Should we proceed with generating the config and PRD, or would you like to adjust anything?
|
|
111
|
+
|
|
112
|
+
Once the user confirms and approves, generate:
|
|
113
|
+
|
|
114
|
+
1. **Complete \`maxsim.config.yaml\`** with all selected modules configured
|
|
75
115
|
2. **\`prd.json\`** with user stories organized by phase
|
|
76
116
|
3. **\`docs/architecture.md\`** with system design overview
|
|
77
117
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-generator.js","sourceRoot":"","sources":["../../src/plan/skill-generator.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,oBAAoB,CAAC,KAAkB;IACrD,MAAM,IAAI,GAAG,KAAK,EAAE,IAAI,IAAI,UAAU,CAAC;IACvC,MAAM,WAAW,GAAG,KAAK,EAAE,WAAW,IAAI,eAAe,CAAC;IAE1D,OAAO;sCAC6B,IAAI;;;;gBAI1B,IAAI;;;;eAIL,IAAI;mBACA,WAAW;;;;;;;;;;kDAUoB,IAAI
|
|
1
|
+
{"version":3,"file":"skill-generator.js","sourceRoot":"","sources":["../../src/plan/skill-generator.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,oBAAoB,CAAC,KAAkB;IACrD,MAAM,IAAI,GAAG,KAAK,EAAE,IAAI,IAAI,UAAU,CAAC;IACvC,MAAM,WAAW,GAAG,KAAK,EAAE,WAAW,IAAI,eAAe,CAAC;IAE1D,OAAO;sCAC6B,IAAI;;;;gBAI1B,IAAI;;;;eAIL,IAAI;mBACA,WAAW;;;;;;;;;;kDAUoB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAiEnB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtC,CAAC;AACF,CAAC"}
|