sc-research 1.0.1 → 1.0.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.
package/dist/cli.js CHANGED
@@ -494,6 +494,10 @@ function sanitizePackageName(name) {
494
494
  // src/entries/cli.ts
495
495
  async function main() {
496
496
  const args = process3.argv.slice(2);
497
+ if (args.length === 1 && (args[0] === "--version" || args[0] === "-v") || args[0] === "version") {
498
+ printVersion();
499
+ return;
500
+ }
497
501
  if (args.length === 0 || args.includes("--help") || args.includes("-h")) {
498
502
  printHelp();
499
503
  return;
@@ -592,6 +596,7 @@ Options:
592
596
  --project-root PATH Target project directory (default: current directory)
593
597
  --dry-run Show what would change without writing files
594
598
  --force Overwrite existing managed files
599
+ --version, -v Show CLI version
595
600
  --yes, -y Deprecated (init now applies by default)
596
601
  --help, -h Show this help
597
602
  `);
@@ -669,3 +674,28 @@ function loadDotEnv(cwd) {
669
674
  }
670
675
  return out;
671
676
  }
677
+ function printVersion() {
678
+ const pkgPath = resolvePackageJsonPath();
679
+ if (!pkgPath) {
680
+ console.log("unknown");
681
+ return;
682
+ }
683
+ try {
684
+ const raw = JSON.parse(fs5.readFileSync(pkgPath, "utf-8"));
685
+ console.log(raw.version ?? "unknown");
686
+ } catch {
687
+ console.log("unknown");
688
+ }
689
+ }
690
+ function resolvePackageJsonPath() {
691
+ let dir = path5.dirname(fileURLToPath3(import.meta.url));
692
+ while (true) {
693
+ const candidate = path5.join(dir, "package.json");
694
+ if (fs5.existsSync(candidate))
695
+ return candidate;
696
+ const parent = path5.dirname(dir);
697
+ if (parent === dir)
698
+ return null;
699
+ dir = parent;
700
+ }
701
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sc-research",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Headless Social Media Research Data Provider for AI Agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,21 +1,6 @@
1
1
  {
2
2
  "platform": "antigravity",
3
- "displayName": "Antigravity / Generic Agent",
4
- "installType": "full",
5
3
  "folderStructure": {
6
- "root": ".agent",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks."
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
4
+ "root": ".agent"
5
+ }
21
6
  }
@@ -1,21 +1,6 @@
1
1
  {
2
2
  "platform": "claude",
3
- "displayName": "Claude Code",
4
- "installType": "full",
5
3
  "folderStructure": {
6
- "root": ".claude",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples."
14
- },
15
- "sections": {
16
- "quickReference": true
17
- },
18
- "title": "UI/UX Pro Max - Design Intelligence",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
4
+ "root": ".claude"
5
+ }
21
6
  }
@@ -1,18 +1,6 @@
1
1
  {
2
2
  "platform": "cursor",
3
- "displayName": "Cursor",
4
- "installType": "full",
5
3
  "folderStructure": {
6
- "root": ".cursor",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": null,
12
- "sections": {
13
- "quickReference": false
14
- },
15
- "title": "ui-ux-pro-max",
16
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
17
- "skillOrWorkflow": "Skill"
4
+ "root": ".cursor"
5
+ }
18
6
  }
@@ -1,18 +1,6 @@
1
1
  {
2
2
  "platform": "windsurf",
3
- "displayName": "Windsurf",
4
- "installType": "full",
5
3
  "folderStructure": {
6
- "root": ".windsurf",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": null,
12
- "sections": {
13
- "quickReference": false
14
- },
15
- "title": "ui-ux-pro-max",
16
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
17
- "skillOrWorkflow": "Skill"
4
+ "root": ".windsurf"
5
+ }
18
6
  }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "codebuddy",
3
- "displayName": "CodeBuddy",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".codebuddy",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "codex",
3
- "displayName": "Codex",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".codex",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "continue",
3
- "displayName": "Continue",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".continue",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,18 +0,0 @@
1
- {
2
- "platform": "copilot",
3
- "displayName": "GitHub Copilot",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".github",
7
- "skillPath": "prompts/ui-ux-pro-max",
8
- "filename": "PROMPT.md"
9
- },
10
- "scriptPath": "prompts/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": null,
12
- "sections": {
13
- "quickReference": false
14
- },
15
- "title": "ui-ux-pro-max",
16
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
17
- "skillOrWorkflow": "Workflow"
18
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "droid",
3
- "displayName": "Droid (Factory)",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".factory",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "UI/UX Pro Max - Design Intelligence",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "gemini",
3
- "displayName": "Gemini CLI",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".gemini",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,18 +0,0 @@
1
- {
2
- "platform": "kiro",
3
- "displayName": "Kiro",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".kiro",
7
- "skillPath": "steering/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "steering/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": null,
12
- "sections": {
13
- "quickReference": false
14
- },
15
- "title": "ui-ux-pro-max",
16
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
17
- "skillOrWorkflow": "Workflow"
18
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "opencode",
3
- "displayName": "OpenCode",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".opencode",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "qoder",
3
- "displayName": "Qoder",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".qoder",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }
@@ -1,18 +0,0 @@
1
- {
2
- "platform": "roocode",
3
- "displayName": "Roo Code",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".roo",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": null,
12
- "sections": {
13
- "quickReference": false
14
- },
15
- "title": "ui-ux-pro-max",
16
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
17
- "skillOrWorkflow": "Workflow"
18
- }
@@ -1,21 +0,0 @@
1
- {
2
- "platform": "trae",
3
- "displayName": "Trae",
4
- "installType": "full",
5
- "folderStructure": {
6
- "root": ".trae",
7
- "skillPath": "skills/ui-ux-pro-max",
8
- "filename": "SKILL.md"
9
- },
10
- "scriptPath": "skills/ui-ux-pro-max/scripts/search.py",
11
- "frontmatter": {
12
- "name": "ui-ux-pro-max",
13
- "description": "UI/UX design intelligence with searchable database"
14
- },
15
- "sections": {
16
- "quickReference": false
17
- },
18
- "title": "ui-ux-pro-max",
19
- "description": "Comprehensive design guide for web and mobile applications. Contains 67 styles, 96 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 13 technology stacks. Searchable database with priority-based recommendations.",
20
- "skillOrWorkflow": "Skill"
21
- }