flutter-pro-max-cli 2.0.0 → 2.1.3

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 (31) hide show
  1. package/README.md +51 -19
  2. package/assets/scripts/__pycache__/core.cpython-312.pyc +0 -0
  3. package/assets/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  4. package/assets/scripts/core.py +52 -45
  5. package/assets/scripts/design_system.py +1074 -0
  6. package/assets/scripts/search.py +72 -1
  7. package/assets/templates/base/quick-reference.md +67 -5
  8. package/assets/templates/base/skill-content-10k.md +220 -0
  9. package/assets/templates/base/skill-content-4k.md +110 -0
  10. package/assets/templates/base/skill-content.md +283 -19
  11. package/assets/templates/platforms/agent.json +3 -2
  12. package/assets/templates/platforms/claude.json +4 -3
  13. package/assets/templates/platforms/codebuddy.json +12 -8
  14. package/assets/templates/platforms/codex.json +6 -5
  15. package/assets/templates/platforms/continue.json +5 -4
  16. package/assets/templates/platforms/copilot.json +7 -6
  17. package/assets/templates/platforms/cursor.json +6 -5
  18. package/assets/templates/platforms/gemini.json +5 -4
  19. package/assets/templates/platforms/junie.json +19 -0
  20. package/assets/templates/platforms/kiro.json +6 -5
  21. package/assets/templates/platforms/opencode.json +6 -5
  22. package/assets/templates/platforms/qoder.json +12 -8
  23. package/assets/templates/platforms/roocode.json +7 -6
  24. package/assets/templates/platforms/trae.json +6 -5
  25. package/assets/templates/platforms/vscode.json +19 -0
  26. package/assets/templates/platforms/windsurf.json +7 -6
  27. package/dist/types/index.d.ts +2 -1
  28. package/dist/types/index.js +3 -1
  29. package/dist/utils/detect.js +4 -0
  30. package/dist/utils/template.js +5 -2
  31. package/package.json +1 -1
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "platform": "roocode",
3
- "displayName": "RooCode",
3
+ "displayName": "Roo Code",
4
4
  "installType": "reference",
5
5
  "folderStructure": {
6
6
  "root": ".roo",
7
7
  "skillPath": "commands",
8
8
  "filename": "flutter-pro-max.md"
9
9
  },
10
- "scriptPath": ".shared/flutter-pro-max/scripts",
10
+ "scriptPath": ".shared/flutter-pro-max/scripts/search.py",
11
11
  "frontmatter": null,
12
12
  "sections": {
13
- "quickReference": true
13
+ "quickReference": false
14
14
  },
15
- "title": "Flutter Pro Max - Flutter Design Intelligence",
16
- "description": "Searchable database của Flutter widgets, packages, design patterns, architecture guidelines, và best practices.",
17
- "skillOrWorkflow": "Command"
15
+ "template": "skill-content.md",
16
+ "title": "flutter-pro-max",
17
+ "description": "Comprehensive Flutter development guide with searchable database of widgets, packages, design patterns, architecture guidelines, performance optimization, accessibility, and UI/UX best practices.",
18
+ "skillOrWorkflow": "Workflow"
18
19
  }
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "platform": "trae",
3
3
  "displayName": "Trae",
4
- "installType": "reference",
4
+ "installType": "full",
5
5
  "folderStructure": {
6
6
  "root": ".trae",
7
7
  "skillPath": "skills/flutter-pro-max",
8
8
  "filename": "SKILL.md"
9
9
  },
10
- "scriptPath": ".shared/flutter-pro-max/scripts",
10
+ "scriptPath": "skills/flutter-pro-max/scripts/search.py",
11
11
  "frontmatter": {
12
12
  "name": "flutter-pro-max",
13
- "description": "Chuyên gia Flutter với kiến thức sâu về Clean Architecture, Performance và Modern Dart 3"
13
+ "description": "Flutter design intelligence with searchable database"
14
14
  },
15
15
  "sections": {
16
16
  "quickReference": true
17
17
  },
18
- "title": "Flutter Pro Max - Flutter Design Intelligence",
19
- "description": "Searchable database của Flutter widgets, packages, design patterns, architecture guidelines, và best practices.",
18
+ "template": "skill-content.md",
19
+ "title": "flutter-pro-max",
20
+ "description": "Comprehensive Flutter development guide with searchable database of widgets, packages, design patterns, architecture guidelines, performance optimization, accessibility, and UI/UX best practices.",
20
21
  "skillOrWorkflow": "Skill"
21
22
  }
@@ -0,0 +1,19 @@
1
+ {
2
+ "platform": "vscode",
3
+ "displayName": "VS Code",
4
+ "installType": "reference",
5
+ "folderStructure": {
6
+ "root": ".vscode",
7
+ "skillPath": "instructions",
8
+ "filename": "flutter-pro-max.instructions.md"
9
+ },
10
+ "scriptPath": ".shared/flutter-pro-max/scripts/search.py",
11
+ "frontmatter": null,
12
+ "sections": {
13
+ "quickReference": false
14
+ },
15
+ "template": "skill-content-4k.md",
16
+ "title": "Flutter Pro Max",
17
+ "description": "Flutter development guide with widgets, packages, patterns, architecture, performance, and UI/UX best practices.",
18
+ "skillOrWorkflow": "Workflow"
19
+ }
@@ -4,15 +4,16 @@
4
4
  "installType": "reference",
5
5
  "folderStructure": {
6
6
  "root": ".windsurf",
7
- "skillPath": "workflows",
7
+ "skillPath": "skills",
8
8
  "filename": "flutter-pro-max.md"
9
9
  },
10
- "scriptPath": ".shared/flutter-pro-max/scripts",
10
+ "scriptPath": ".shared/flutter-pro-max/scripts/search.py",
11
11
  "frontmatter": null,
12
12
  "sections": {
13
- "quickReference": true
13
+ "quickReference": false
14
14
  },
15
- "title": "Flutter Pro Max - Flutter Design Intelligence",
16
- "description": "Searchable database của Flutter widgets, packages, design patterns, architecture guidelines, và best practices.",
17
- "skillOrWorkflow": "Workflow"
15
+ "template": "skill-content.md",
16
+ "title": "flutter-pro-max",
17
+ "description": "Comprehensive Flutter development guide with searchable database of widgets, packages, design patterns, architecture guidelines, performance optimization, accessibility, and UI/UX best practices.",
18
+ "skillOrWorkflow": "Skill"
18
19
  }
@@ -1,4 +1,4 @@
1
- export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'codebuddy' | 'trae' | 'opencode' | 'continue' | 'all';
1
+ export type AIType = 'claude' | 'cursor' | 'windsurf' | 'antigravity' | 'copilot' | 'kiro' | 'roocode' | 'codex' | 'qoder' | 'gemini' | 'codebuddy' | 'trae' | 'opencode' | 'continue' | 'junie' | 'vscode' | 'all';
2
2
  export type InstallType = 'full' | 'reference';
3
3
  export interface Release {
4
4
  tag_name: string;
@@ -31,6 +31,7 @@ export interface PlatformConfig {
31
31
  sections: {
32
32
  quickReference: boolean;
33
33
  };
34
+ template?: string;
34
35
  title: string;
35
36
  description: string;
36
37
  skillOrWorkflow: string;
@@ -1,4 +1,4 @@
1
- export const AI_TYPES = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'codebuddy', 'trae', 'opencode', 'continue', 'all'];
1
+ export const AI_TYPES = ['claude', 'cursor', 'windsurf', 'antigravity', 'copilot', 'roocode', 'kiro', 'codex', 'qoder', 'gemini', 'codebuddy', 'trae', 'opencode', 'continue', 'junie', 'vscode', 'all'];
2
2
  // Legacy folder mapping for backward compatibility with ZIP-based installs
3
3
  export const AI_FOLDERS = {
4
4
  claude: ['.claude', '.shared'],
@@ -15,4 +15,6 @@ export const AI_FOLDERS = {
15
15
  trae: ['.trae', '.shared'],
16
16
  opencode: ['.opencode', '.shared'],
17
17
  continue: ['.continue', '.shared'],
18
+ junie: ['.junie', '.shared'],
19
+ vscode: ['.vscode', '.shared'],
18
20
  };
@@ -84,6 +84,10 @@ export function getAITypeDescription(aiType) {
84
84
  return 'OpenCode (.opencode/skills/)';
85
85
  case 'continue':
86
86
  return 'Continue (.continue/skills/)';
87
+ case 'junie':
88
+ return 'JetBrains AI / Junie (.junie/skills/)';
89
+ case 'vscode':
90
+ return 'VS Code (.vscode/instructions/)';
87
91
  case 'all':
88
92
  return 'All AI assistants';
89
93
  }
@@ -20,6 +20,8 @@ const AI_TO_PLATFORM = {
20
20
  codebuddy: 'codebuddy',
21
21
  opencode: 'opencode',
22
22
  continue: 'continue',
23
+ junie: 'junie',
24
+ vscode: 'vscode',
23
25
  };
24
26
  async function exists(path) {
25
27
  try {
@@ -88,8 +90,9 @@ function renderFrontmatter(frontmatter) {
88
90
  * Render skill file content from template
89
91
  */
90
92
  export async function renderSkillFile(config) {
91
- // Load base template
92
- let content = await loadTemplate('base/skill-content.md');
93
+ // Load base template (use config.template or default to skill-content.md)
94
+ const templateFile = config.template || 'skill-content.md';
95
+ let content = await loadTemplate(`base/${templateFile}`);
93
96
  // Load quick reference if needed
94
97
  let quickReferenceContent = '';
95
98
  if (config.sections.quickReference) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flutter-pro-max-cli",
3
- "version": "2.0.0",
3
+ "version": "2.1.3",
4
4
  "description": "CLI to install Flutter Pro Max skill for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {