vibetachyon 1.1.0 → 1.5.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.
Files changed (120) hide show
  1. package/README.md +106 -60
  2. package/dist/commands-data.js +1203 -0
  3. package/dist/core/artifact/schema.js +2 -0
  4. package/dist/core/artifact/store.js +191 -0
  5. package/dist/core/artifact/validate.js +85 -0
  6. package/dist/core/branch/analyze.js +222 -0
  7. package/dist/core/branch/reviewers.js +46 -0
  8. package/dist/core/branch/summary.js +29 -0
  9. package/dist/core/command-policy.js +115 -0
  10. package/dist/core/config.js +69 -0
  11. package/dist/core/context/index.js +258 -0
  12. package/dist/core/debrief/init.js +69 -0
  13. package/dist/core/debrief/promote.js +76 -0
  14. package/dist/core/debrief/record.js +51 -0
  15. package/dist/core/debrief/schema.js +2 -0
  16. package/dist/core/debrief/store.js +181 -0
  17. package/dist/core/debrief/validate.js +63 -0
  18. package/dist/core/doctor/checks.js +384 -0
  19. package/dist/core/doctor/index.js +87 -0
  20. package/dist/core/execution-mode/config.js +163 -0
  21. package/dist/core/execution-mode/recommend.js +72 -0
  22. package/dist/core/execution-mode/schema.js +2 -0
  23. package/dist/core/frontend/check.js +278 -0
  24. package/dist/core/frontend/config.js +100 -0
  25. package/dist/core/frontend/fix.js +94 -0
  26. package/dist/core/frontend/style-tokens.js +133 -0
  27. package/dist/core/gate/config.js +136 -0
  28. package/dist/core/gate/contract-decide.js +51 -0
  29. package/dist/core/gate/contract-format.js +125 -0
  30. package/dist/core/gate/contract-init.js +282 -0
  31. package/dist/core/gate/contract-schema.js +52 -0
  32. package/dist/core/gate/contract-store.js +84 -0
  33. package/dist/core/gate/contract-validate.js +95 -0
  34. package/dist/core/gate/execution-profile.js +89 -0
  35. package/dist/core/gate/focus.js +131 -0
  36. package/dist/core/gate/layer1.js +152 -0
  37. package/dist/core/gate/notifications.js +123 -0
  38. package/dist/core/gate/orchestrator.js +311 -0
  39. package/dist/core/gate/reports.js +194 -0
  40. package/dist/core/gate/review.js +271 -0
  41. package/dist/core/gate/risk.js +85 -0
  42. package/dist/core/git.js +139 -0
  43. package/dist/core/handoff/close.js +28 -0
  44. package/dist/core/handoff/create.js +100 -0
  45. package/dist/core/handoff/schema.js +2 -0
  46. package/dist/core/handoff/show.js +20 -0
  47. package/dist/core/handoff/store.js +84 -0
  48. package/dist/core/mcp-global.js +179 -0
  49. package/dist/core/memory/confidence.js +119 -0
  50. package/dist/core/memory/gotchas.js +128 -0
  51. package/dist/core/memory/patterns.js +121 -0
  52. package/dist/core/memory/schema.js +2 -0
  53. package/dist/core/memory/store.js +197 -0
  54. package/dist/core/memory/suggest.js +72 -0
  55. package/dist/core/mission/schema.js +2 -0
  56. package/dist/core/mission/show.js +24 -0
  57. package/dist/core/mission/store.js +103 -0
  58. package/dist/core/mission/sync.js +239 -0
  59. package/dist/core/mission/validate.js +73 -0
  60. package/dist/core/orchestrator/personas.js +14 -0
  61. package/dist/core/orchestrator/review.js +37 -0
  62. package/dist/core/orchestrator/state.js +74 -0
  63. package/dist/core/orchestrator/summary.js +35 -0
  64. package/dist/core/orchestrator/task.js +135 -0
  65. package/dist/core/orchestrator/validate.js +107 -0
  66. package/dist/core/perf/index.js +358 -0
  67. package/dist/core/permission-mode.js +113 -0
  68. package/dist/core/persona/config.js +126 -0
  69. package/dist/core/persona/contract.js +399 -0
  70. package/dist/core/persona/handoff-rules.js +65 -0
  71. package/dist/core/persona/inspect.js +29 -0
  72. package/dist/core/persona/recommend.js +56 -0
  73. package/dist/core/playbook/catalog.js +199 -0
  74. package/dist/core/playbook/init.js +22 -0
  75. package/dist/core/playbook/run.js +75 -0
  76. package/dist/core/playbook/schema.js +2 -0
  77. package/dist/core/playbook/store.js +84 -0
  78. package/dist/core/playbook/validate.js +46 -0
  79. package/dist/core/policy/context.js +126 -0
  80. package/dist/core/policy-audit.js +65 -0
  81. package/dist/core/release/evidence.js +56 -0
  82. package/dist/core/release/plan.js +116 -0
  83. package/dist/core/release/verify.js +90 -0
  84. package/dist/core/session-state.js +58 -0
  85. package/dist/core/skill/run.js +47 -0
  86. package/dist/core/skill/schema.js +2 -0
  87. package/dist/core/skill/store.js +182 -0
  88. package/dist/core/spec/apply.js +28 -0
  89. package/dist/core/spec/init.js +106 -0
  90. package/dist/core/spec/schema.js +2 -0
  91. package/dist/core/spec/update.js +45 -0
  92. package/dist/core/spec/validate.js +69 -0
  93. package/dist/core/squad/catalog.js +77 -0
  94. package/dist/core/squad/init.js +22 -0
  95. package/dist/core/squad/recommend.js +51 -0
  96. package/dist/core/squad/schema.js +2 -0
  97. package/dist/core/squad/store.js +136 -0
  98. package/dist/core/squad/use.js +20 -0
  99. package/dist/core/task/close.js +32 -0
  100. package/dist/core/task/init.js +207 -0
  101. package/dist/core/task/run.js +106 -0
  102. package/dist/core/task/schema.js +2 -0
  103. package/dist/core/task/show.js +27 -0
  104. package/dist/core/task/store.js +99 -0
  105. package/dist/core/task/update.js +47 -0
  106. package/dist/core/template/catalog.js +161 -0
  107. package/dist/core/template/render.js +5 -0
  108. package/dist/core/template/schema.js +2 -0
  109. package/dist/core/template/store.js +142 -0
  110. package/dist/core/template/validate.js +6 -0
  111. package/dist/core/workflow/registry.js +66 -0
  112. package/dist/core/workflow/resume.js +35 -0
  113. package/dist/core/workflow/start.js +31 -0
  114. package/dist/core/workflow/state.js +54 -0
  115. package/dist/core/workflow/types.js +2 -0
  116. package/dist/diagnostics.js +117 -0
  117. package/dist/index.js +5125 -10
  118. package/dist/installer.js +259 -110
  119. package/dist/mcp-server.js +2695 -97
  120. package/package.json +4 -3
package/README.md CHANGED
@@ -1,83 +1,129 @@
1
- # 🚀 VibeTachyon MCP v1.0
2
- ### The "God-Tier" Frontend AI Copilot Engine
1
+ # VibeTachyon CodeAgent OS
3
2
 
4
- VibeTachyon is not just another MCP server. It is a high-performance **Autonomous Frontend Engineering System** designed to transform any AI (Claude, GPT, Gemini) into a God-Tier developer. Built on top of the VibeCodes ecosystem, it bridges the gap between design (Figma), **data architecture (Prisma, Drizzle, SQL)**, and pixel-perfect execution.
3
+ > O sistema operacional que roda dentro do seu code agent.
4
+
5
+ Transforma qualquer agente de código (Claude Code, Cursor, Windsurf, Cline...) em uma máquina especializada em desenvolvimento de produtos digitais — com **38 slash commands**, **50+ skills especializadas**, **8 personas** e **workflows estruturados** prontos para usar.
6
+
7
+ ```bash
8
+ npx vibetachyon-cli
9
+ ```
5
10
 
6
11
  ---
7
12
 
8
- ## 💎 Elite Features
13
+ ## O que você ganha
9
14
 
10
- ### 🧠 The Self-Healing Matrix
11
- * **AST Auto-Correction:** Uses `self_heal_typescript_errors` to run local `tsc` checks. If the AI generates a bug, Tachyon catches the AST error and forces the AI to fix it before you even see it.
12
- * **Vision QA Loop:** Use `initiate_visual_qa` to perform pixel-perfect audits. Paste a screenshot, and Tachyon will autonomously patch Tailwind margins, padding, and alignment.
15
+ - **38 slash commands** — `/vibe-review`, `/vibe-test`, `/vibe-explain`, `/vibe-bug`, `/vibe-pr`, `/vibe-changelog`, `/vibe-spec`, `/vibe-dev` e mais
16
+ - **50+ skills especializadas** busca de componentes, segurança, performance, ADR, métricas, backlog, geração de testes, code review
17
+ - **8 personas** Dev, QA, Architect, PM, Data, UX, DevOps, Analyst
18
+ - **5 squads pré-configurados** — fullstack, qa-focused, minimal, design, release
19
+ - **Missões & Tasks** — rastreamento de objetivos com progresso persistente
20
+ - **ADR Engine** — registra decisões de arquitetura pesquisáveis em sessões futuras
21
+ - **Métricas de Dev** — story cycle time, build duration, test coverage
22
+ - **Backlog inteligente** — prioridade crítica→baixa com ordenação automática
23
+ - **Memória por projeto** — o agente aprende e não repete os mesmos erros
13
24
 
14
- ### 🎨 Design-to-Code Bridge
15
- * **Figma Transcription:** `fetch_figma_design` pulls raw JSON nodes directly from Figma API and maps them to clean Tailwind/React code.
16
- * **Theme Cloning:** `get_vibe_colors` and `learn_user_preferences` scan your local `globals.css` and `.prettierrc` to clone your exact coding style and color palette.
25
+ ---
17
26
 
18
- ### 🛡️ "Accept-All" Guardrails (Zero friction)
19
- * **Framework Agnostic:** Dynamically detects if you are using **Next.js** or **Vite**. It automatically translates `<Image>` to `<img>` and `Link` to `<a>` to prevent framework mismatches.
20
- * **Dependency Resolver:** `analyze_and_install_deps` identifies missing packages (framer-motion, lucide, etc.) and generates the exact install command.
27
+ ## Instalação
21
28
 
22
- ### 📈 Enterprise Standards
23
- * **VibeSec Penetration Tester:** `run_security_penetration` automatically scans newly generated code for XSS vectors, SQL Injection risks, and hardcoded Secrets. If a vulnerability is found, it blocks delivery and forces the AI to rewrite the logic safely.
24
- * **VibePilot CLI:** `update_terminal_status` gives the AI a literal "face" in your terminal. It writes chalk-colored progress bars and statuses (e.g. `🧠 Compiling AST Fixes...`) to `stderr` so you can visually watch the bot think.
25
- * **VibeSpeed Local (Lighthouse):** `initiate_vibespeed_audit` runs an automated headless Lighthouse test on localhost. If the Performance score is <90, the Copilot forces itself to refactor the page (lazy loading, optimized images) until it passes.
26
- * **Data Intelligence:** `analyze_business_logic` scans for **Prisma, Drizzle, or raw TS models** to ground UI generation in your real data structure. No hard dependencies.
27
- * **Telemetry Engine:** `enforce_telemetry_tracking` forces the injection of `data-vibe-tracking` attributes for instant PostHog/GA integration.
28
- * **i18n Globalization:** `enforce_i18n_standards` forbids hardcoded strings, forcing text extraction for easy translation.
29
- * **SEO Heuristics:** `enforce_seo_metadata` injects framework-native SEO/OpenGraph tags for maximum ranking.
29
+ ```bash
30
+ npx vibetachyon-cli
31
+ ```
30
32
 
31
- ---
33
+ Selecione seu agente, cole o token VibeCodes MAX e pronto.
34
+
35
+ ### Flags não-interativas
32
36
 
33
- ## 🛠️ Toolset Overview
37
+ ```bash
38
+ npx vibetachyon-cli install --agent claude --token vcf_...
39
+ npx vibetachyon-cli install --agent cursor --token vcf_... --dry-run
40
+ npx vibetachyon-cli doctor
41
+ ```
34
42
 
35
- | Category | Tools | Description |
36
- | :--- | :--- | :--- |
37
- | **Search** | `search_vibecodes_snippets`, `compose_landing_page` | Semantic RAG search for UI and full-page composition. |
38
- | **Analysis** | `scan_local_architecture`, `analyze_business_logic` | Scans `package.json`, Prisma schemas, and API routes. |
39
- | **Styling** | `get_vibe_colors`, `patch_tailwind_config` | Real-time theme extraction and Tailwind config patching. |
40
- | **QA** | `self_heal_typescript_errors`, `initiate_visual_qa` | Autonomous AST error fixing and AI Vision validation. |
41
- | **Guardrails** | `enforce_atomic_design`, `audit_a11y_wcag`, `enforce_seo_metadata` | Enforces 150-line limits, WCAG compliance, and SEO tags. |
42
- | **Integration** | `fetch_figma_design`, `generate_local_assets` | Connects Figma designs and localizes remote assets. |
43
+ **Agentes suportados:** `claude` | `cursor` | `windsurf` | `cline` | `copilot` | `gemini` | `codex`
43
44
 
44
45
  ---
45
46
 
46
- ## 🚀 Getting Started (Automatic Installation)
47
+ ## Slash Commands
48
+
49
+ ### Essenciais — use todo dia
50
+
51
+ | Comando | O que faz |
52
+ |---------|-----------|
53
+ | `/vibe-review` | Code review dos changes atuais — bugs, edge cases, segurança |
54
+ | `/vibe-test` | Gera testes (Jest/Vitest/Playwright) para qualquer arquivo |
55
+ | `/vibe-explain` | Explica qualquer arquivo como um dev sênior explicaria |
56
+ | `/vibe-bug` | Fluxo estruturado de debug: hipóteses, checklist, quick fixes |
57
+ | `/vibe-pr` | Gera PR description completa a partir do diff |
58
+ | `/vibe-changelog` | Gera release notes a partir do git log |
59
+ | `/vibe-env` | Verifica variáveis de ambiente — faltando, não documentadas |
60
+ | `/vibe-deps` | Health check de dependências: outdated e vulnerabilidades |
61
+ | `/vibe-copy` | Escreve UI copy: botões, erros, empty states, CTAs |
62
+ | `/vibe-refactor` | Sugere refactoring priorizado com before/after |
63
+
64
+ ### Desenvolvimento e Qualidade
65
+
66
+ | Comando | O que faz |
67
+ |---------|-----------|
68
+ | `/vibe-search` | Busca semântica em 6.000+ componentes UI |
69
+ | `/vibe-dev` | Implementação com zero TypeScript errors |
70
+ | `/vibe-commit` | Gera mensagem de commit Conventional Commits |
71
+ | `/vibe-audit` | Auditoria: tech debt, console leaks, secrets, large files |
72
+ | `/vibe-qa-loop` | Review iterativo: max 5× até approve |
73
+ | `/vibe-security` | Scan de segurança: XSS, SQLi, hardcoded secrets |
74
+ | `/vibe-speed` | Auditoria Lighthouse: LCP, INP, CLS, TTI |
75
+
76
+ ### Planejamento e Arquitetura
77
+
78
+ | Comando | O que faz |
79
+ |---------|-----------|
80
+ | `/vibe-spec` | Pipeline de spec: ideia → spec executável em 6 fases |
81
+ | `/vibe-story` | Cria user story com ACs testáveis |
82
+ | `/vibe-architect` | Avalia complexidade e documenta trade-offs |
83
+ | `/vibe-adr` | Registra Architecture Decision Record |
84
+ | `/vibe-metrics` | Dashboard de métricas de desenvolvimento |
85
+ | `/vibe-backlog` | Gerencia backlog de features com prioridades |
86
+ | `/vibe-mission-start` | Inicia missão com tasks e rastreamento |
87
+ | `/vibe-memory` | Visualiza/registra memória do projeto |
88
+ | `/vibe-release` | Prepara release com checklist de 10 pontos |
89
+ | `/vibe-workflow` | Seleção inteligente de workflow por situação |
47
90
 
48
- The easiest way to get VibeTachyon running in your IDE is via our interactive installer.
91
+ ---
92
+
93
+ ## 4 Workflows Principais
49
94
 
50
- ### 1. Run the Installer
51
- In your project terminal, run:
52
- ```bash
53
- npx vibetachyon@latest
54
95
  ```
96
+ Story Development Cycle → feature nova do zero ao deploy
97
+ QA Loop → review iterativo max 5× com veredito
98
+ Spec Pipeline → requisito informal → spec executável
99
+ Brownfield Discovery → assessment de codebase legada em 10 fases
100
+ ```
101
+
102
+ ---
55
103
 
56
- ### 2. Follow the Prompts
57
- 1. **Select your IDE:** Cursor, Windsurf, Claude Desktop, VS Code (Cline/Roo), etc.
58
- 2. **Authenticate:** Paste your **VibeCodes MAX Token**.
59
- 3. **Done:** The installer will autonomously inject the MCP configuration into your IDE's global settings.
60
-
61
- ### 3. Manual Configuration (Optional)
62
- If you prefer manual setup, add this to your MCP config file:
63
- ```json
64
- {
65
- "mcpServers": {
66
- "vibetachyon": {
67
- "command": "npx",
68
- "args": ["-y", "vibetachyon@latest", "server"],
69
- "env": {
70
- "VIBECODES_TOKEN": "YOUR_TOKEN_HERE"
71
- }
72
- }
73
- }
74
- }
104
+ ## Arquitetura
105
+
106
+ ```
107
+ SEU CODE AGENT (Claude Code / Cursor / Windsurf)
108
+
109
+ VibeTachyon Skills Layer
110
+
111
+ VIBETACHYON — CodeAgent OS
112
+ 40+ skills • 8 personas • 5 squads
113
+ Missões • Tasks • Memória • ADR
114
+
115
+
116
+ .vibetachyon/ (Project Runtime)
117
+ missions/ tasks/ memory/ debriefs/
118
+ decisions/ metrics/ backlog/ releases/
75
119
  ```
76
120
 
77
121
  ---
78
122
 
79
- ## 📜 Coding Philosophy
80
- VibeTachyon enforces **Atomic Design** and **Framework Awareness**. It treats the code as a living organism that must be performant (minified snippets), accessible (WCAG), and measurable (Telemetry).
123
+ ## Documentação
124
+
125
+ [vibecodings.com.br/docs](https://vibecodings.com.br/docs)
126
+
127
+ ---
81
128
 
82
- **Made with 💙 by Davi Ravieri.**
83
- "Make it work, make it beautiful, make it God-Tier."
129
+ Feito com ❤️ pela equipe VibeCodes.