aios-core 4.2.2 → 4.2.4

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 (75) hide show
  1. package/.aios-core/core/registry/service-registry.json +6466 -6586
  2. package/.aios-core/core-config.yaml +10 -5
  3. package/.aios-core/data/aios-kb.md +19 -25
  4. package/.aios-core/data/entity-registry.yaml +311 -204
  5. package/.aios-core/data/registry-update-log.jsonl +8 -0
  6. package/.aios-core/development/tasks/db-squad-integration.md +3 -3
  7. package/.aios-core/development/tasks/dev-develop-story.md +1 -1
  8. package/.aios-core/development/tasks/integrate-squad.md +1 -1
  9. package/.aios-core/development/tasks/pr-automation.md +3 -3
  10. package/.aios-core/development/tasks/squad-creator-migrate.md +1 -1
  11. package/.aios-core/development/tasks/squad-creator-sync-ide-command.md +0 -2
  12. package/.aios-core/development/tasks/update-aios.md +2 -2
  13. package/.aios-core/development/tasks/validate-next-story.md +2 -99
  14. package/.aios-core/development/workflows/README.md +0 -4
  15. package/.aios-core/docs/standards/AIOS-COLOR-PALETTE-V2.1.md +0 -1
  16. package/.aios-core/docs/standards/AIOS-LIVRO-DE-OURO-V2.1-COMPLETE.md +3 -3
  17. package/.aios-core/docs/standards/QUALITY-GATES-SPECIFICATION.md +1 -1
  18. package/.aios-core/docs/standards/STANDARDS-INDEX.md +4 -4
  19. package/.aios-core/docs/standards/STORY-TEMPLATE-V2-SPECIFICATION.md +2 -2
  20. package/.aios-core/framework-config.yaml +8 -4
  21. package/.aios-core/infrastructure/scripts/ide-sync/README.md +29 -5
  22. package/.aios-core/infrastructure/scripts/ide-sync/gemini-commands.js +205 -0
  23. package/.aios-core/infrastructure/scripts/ide-sync/index.js +48 -11
  24. package/.aios-core/infrastructure/scripts/ide-sync/redirect-generator.js +1 -1
  25. package/.aios-core/infrastructure/scripts/test-utilities.js +1 -1
  26. package/.aios-core/infrastructure/scripts/tool-resolver.js +2 -2
  27. package/.aios-core/infrastructure/scripts/validate-claude-integration.js +101 -0
  28. package/.aios-core/infrastructure/scripts/validate-codex-integration.js +141 -0
  29. package/.aios-core/infrastructure/scripts/validate-gemini-integration.js +151 -0
  30. package/.aios-core/infrastructure/scripts/validate-parity.js +119 -0
  31. package/.aios-core/infrastructure/templates/aios-sync.yaml.template +0 -11
  32. package/.aios-core/install-manifest.yaml +83 -71
  33. package/.aios-core/local-config.yaml.template +2 -1
  34. package/.aios-core/presets/README.md +0 -1
  35. package/.aios-core/product/data/integration-patterns.md +1 -1
  36. package/.aios-core/product/templates/ide-rules/gemini-rules.md +87 -233
  37. package/.aios-core/product/templates/statusline/statusline-script.js +188 -0
  38. package/.aios-core/product/templates/statusline/track-agent.sh +68 -0
  39. package/.aios-core/user-guide.md +14 -19
  40. package/LICENSE +0 -27
  41. package/README.md +42 -6
  42. package/bin/aios-init.js +98 -54
  43. package/bin/modules/env-config.js +0 -1
  44. package/package.json +18 -5
  45. package/packages/gemini-aios-extension/README.md +13 -8
  46. package/packages/gemini-aios-extension/commands/aios-agent.js +7 -0
  47. package/packages/gemini-aios-extension/commands/aios-agents.js +2 -1
  48. package/packages/gemini-aios-extension/commands/aios-analyst.js +6 -0
  49. package/packages/gemini-aios-extension/commands/aios-architect.js +6 -0
  50. package/packages/gemini-aios-extension/commands/aios-data-engineer.js +6 -0
  51. package/packages/gemini-aios-extension/commands/aios-dev.js +6 -0
  52. package/packages/gemini-aios-extension/commands/aios-devops.js +6 -0
  53. package/packages/gemini-aios-extension/commands/aios-master.js +6 -0
  54. package/packages/gemini-aios-extension/commands/aios-menu.js +6 -0
  55. package/packages/gemini-aios-extension/commands/aios-pm.js +6 -0
  56. package/packages/gemini-aios-extension/commands/aios-po.js +6 -0
  57. package/packages/gemini-aios-extension/commands/aios-qa.js +6 -0
  58. package/packages/gemini-aios-extension/commands/aios-sm.js +6 -0
  59. package/packages/gemini-aios-extension/commands/aios-squad-creator.js +6 -0
  60. package/packages/gemini-aios-extension/commands/aios-ux-design-expert.js +6 -0
  61. package/packages/gemini-aios-extension/commands/lib/agent-launcher.js +138 -0
  62. package/packages/gemini-aios-extension/extension.json +70 -0
  63. package/packages/gemini-aios-extension/gemini-extension.json +147 -0
  64. package/packages/gemini-aios-extension/hooks/hooks.json +67 -65
  65. package/packages/installer/src/config/ide-configs.js +10 -10
  66. package/packages/installer/src/config/templates/core-config-template.js +6 -3
  67. package/packages/installer/src/wizard/ide-config-generator.js +373 -2
  68. package/packages/installer/src/wizard/ide-selector.js +1 -1
  69. package/packages/installer/src/wizard/pro-setup.js +237 -150
  70. package/scripts/code-intel-health-check.js +125 -125
  71. package/scripts/ensure-manifest.js +58 -0
  72. package/.aios-core/infrastructure/scripts/ide-sync/transformers/windsurf.js +0 -106
  73. package/.aios-core/product/templates/ide-rules/cline-rules.md +0 -84
  74. package/.aios-core/product/templates/ide-rules/roo-rules.md +0 -86
  75. package/.aios-core/product/templates/ide-rules/windsurf-rules.md +0 -80
@@ -19,7 +19,6 @@ Antes de começar, certifique-se de ter:
19
19
  - **Node.js** 20.0.0 ou superior instalado
20
20
  - **npm** ou outro gerenciador de pacotes
21
21
  - **GitHub CLI** (gh) instalado e configurado (para colaboração em equipe)
22
- - Um **IDE compatível**: Windsurf, Cursor, ou Claude Code
23
22
  - **Acesso a um agente de IA**: Claude, GPT-4, Gemini, ou similar
24
23
 
25
24
  ## Instalação e Configuração Inicial
@@ -49,16 +48,15 @@ npx @aios/fullstack install
49
48
  ✓ Detecting installation state...
50
49
  Current state: Clean installation
51
50
 
52
- 📦 Select Expansion Packs to Install:
51
+ 📦 Select Squads to Install:
53
52
  ◉ hybrid-ops (Pedro Valério methodology)
54
- ◯ expansion-creator (Create new expansion packs)
53
+ ◯ expansion-creator (Create new squads)
55
54
  ◯ aios-infrastructure-devops (DevOps utilities)
56
55
  ◯ meeting-notes (Meeting assistant)
57
56
 
58
57
  💻 Select IDEs to Configure:
59
58
  ◉ Claude Code (.claude/commands/)
60
59
  ◉ Cursor (.cursor/rules/)
61
- ◯ Windsurf (.windsurf/rules.md)
62
60
  ◯ Gemini CLI (.gemini/)
63
61
 
64
62
  📝 Sharding Preferences:
@@ -66,7 +64,7 @@ npx @aios/fullstack install
66
64
  ◉ Multi-file (separate files per section)
67
65
 
68
66
  ✓ Installing .aios-core/ framework...
69
- ✓ Installing expansion packs...
67
+ ✓ Installing squads...
70
68
  ✓ Configuring IDE integrations...
71
69
  ✓ Creating install manifest...
72
70
 
@@ -122,9 +120,9 @@ your-project/
122
120
  │ ├── po.mdc
123
121
  │ └── ... (30+ rules)
124
122
 
125
- └── Squads/ # ✅ Se expansion packs selecionados
123
+ └── Squads/ # ✅ Se squads selecionados
126
124
  ├── hybrid-ops/ # Metodologia Pedro Valério
127
- └── expansion-creator/ # Criador de expansion packs
125
+ └── expansion-creator/ # Criador de squads
128
126
  ```
129
127
 
130
128
  ### Upgrade de Instalação Existente
@@ -240,7 +238,6 @@ Use o agente de IA na interface web (Claude.ai, ChatGPT, Gemini, etc.) para:
240
238
 
241
239
  ### Fase 2: Desenvolvimento (IDE)
242
240
 
243
- Mude para seu IDE (Windsurf, Cursor ou Claude Code) para:
244
241
 
245
242
  1. **Fragmentação de Histórias** - Use o **sm** (Scrum Master) para criar histórias de desenvolvimento
246
243
  2. **Implementação** - Trabalhe com o **dev** para codificar as features
@@ -548,11 +545,9 @@ O agente **qa** monitora:
548
545
 
549
546
  ## Integração com IDE
550
547
 
551
- ### Configuração para Windsurf
552
548
 
553
549
  1. **Configurar regras globais**:
554
550
  - Abrir Settings → Global Rules
555
- - Copiar conteúdo de `.windsurf/global-rules.md`
556
551
  - Salvar configuração
557
552
 
558
553
  2. **Ativar agentes**:
@@ -1281,36 +1276,36 @@ O **aios-developer** é o meta-agente para o próprio AIOS:
1281
1276
 
1282
1277
  ## Expansão e Customização
1283
1278
 
1284
- ### Expansion Packs
1279
+ ### Squads
1285
1280
 
1286
- O Synkra AIOS suporta expansion packs para domínios específicos:
1281
+ O Synkra AIOS suporta squads para domínios específicos:
1287
1282
 
1288
1283
  **Disponíveis durante instalação**:
1289
1284
  - **hybrid-ops** - Metodologia Pedro Valério (operações híbridas humano-agente)
1290
- - **expansion-creator** - Ferramentas para criar novos expansion packs
1285
+ - **expansion-creator** - Ferramentas para criar novos squads
1291
1286
  - **aios-infrastructure-devops** - Utilities de DevOps e infraestrutura
1292
1287
  - **meeting-notes** - Assistente de notas e atas de reuniões
1293
1288
 
1294
- **Configurar expansion packs na instalação**:
1289
+ **Configurar squads na instalação**:
1295
1290
  ```bash
1296
- # Durante a instalação, o wizard pergunta quais expansion packs instalar
1291
+ # Durante a instalação, o wizard pergunta quais squads instalar
1297
1292
  npx @synkra/aios-core@latest install
1298
1293
 
1299
1294
  # O wizard mostra:
1300
- # 📦 Select Expansion Packs to Install:
1295
+ # 📦 Select Squads to Install:
1301
1296
  # ◉ hybrid-ops
1302
1297
  # ◯ expansion-creator
1303
1298
  # ◯ aios-infrastructure-devops
1304
1299
  # ◯ meeting-notes
1305
1300
  ```
1306
1301
 
1307
- **Adicionar expansion packs depois**:
1302
+ **Adicionar squads depois**:
1308
1303
  ```bash
1309
1304
  # Re-execute o instalador
1310
1305
  npx @synkra/aios-core@latest install
1311
1306
 
1312
1307
  # Escolha "Configure IDE settings" ou "Upgrade"
1313
- # Wizard permitirá adicionar expansion packs não instalados
1308
+ # Wizard permitirá adicionar squads não instalados
1314
1309
  ```
1315
1310
 
1316
1311
  ### Criar Seus Próprios Agentes
@@ -1393,7 +1388,7 @@ Use este checklist para garantir que está seguindo o workflow corretamente:
1393
1388
  ### Documentação
1394
1389
  - [Guia de Instalação](../docs/getting-started.md)
1395
1390
  - [Arquitetura do AIOS](../docs/architecture.md)
1396
- - [Guia de Expansion Packs](../docs/Squads.md)
1391
+ - [Guia de Squads](../docs/Squads.md)
1397
1392
  - [Trabalhando em Brownfield](./working-in-the-brownfield.md)
1398
1393
 
1399
1394
  ### Suporte
package/LICENSE CHANGED
@@ -1,24 +1,3 @@
1
- Commons Clause License Condition v1.0
2
-
3
- The Software is provided to you by the Licensor under the License,
4
- as defined below, subject to the following condition.
5
-
6
- Without limiting other conditions in the License, the grant of rights
7
- under the License will not include, and the License does not grant to
8
- you, the right to Sell the Software.
9
-
10
- For purposes of the foregoing, "Sell" means practicing any or all of
11
- the rights granted to you under the License to provide to third parties,
12
- for a fee or other consideration (including without limitation fees for
13
- hosting or consulting/support services related to the Software), a
14
- product or service whose value derives, entirely or substantially, from
15
- the functionality of the Software.
16
-
17
- Any license notice or attribution required by the License must also
18
- include this Commons Clause License Condition notice.
19
-
20
- ---
21
-
22
1
  MIT License
23
2
 
24
3
  Copyright (c) 2025 SynkraAI Inc. - AIOS Framework
@@ -40,9 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42
21
  SOFTWARE.
43
-
44
- ---
45
-
46
- Software: Synkra AIOS (AI-Orchestrated System for Full Stack Development)
47
- License: MIT
48
- Licensor: SynkraAI Inc.
package/README.md CHANGED
@@ -12,6 +12,27 @@
12
12
 
13
13
  Framework de Desenvolvimento Auto-Modificável Alimentado por IA. Fundado em Desenvolvimento Ágil Dirigido por Agentes, oferecendo capacidades revolucionárias para desenvolvimento dirigido por IA e muito mais. Transforme qualquer domínio com expertise especializada de IA: desenvolvimento de software, entretenimento, escrita criativa, estratégia de negócios, bem-estar pessoal e muito mais.
14
14
 
15
+ ## Compatibilidade de Hooks por IDE (Realidade AIOS 4.0.4)
16
+
17
+ Muitos recursos avançados do AIOS dependem de eventos de ciclo de vida (hooks). A tabela abaixo mostra a paridade real entre IDEs/plataformas:
18
+
19
+ | IDE/CLI | Paridade de Hooks vs Claude | Impacto Prático |
20
+ | --- | --- | --- |
21
+ | Claude Code | Completa (referência) | Automação máxima de contexto, guardrails e auditoria |
22
+ | Gemini CLI | Alta (eventos nativos) | Cobertura forte de automações pre/post tool e sessão |
23
+ | Codex CLI | Parcial/limitada | Parte das automações depende de `AGENTS.md`, `/skills`, MCP e fluxo operacional |
24
+ | Cursor | Sem lifecycle hooks equivalentes | Menor automação de pre/post tool; foco em regras, MCP e fluxo do agente |
25
+ | GitHub Copilot | Sem lifecycle hooks equivalentes | Menor automação de sessão/tooling; foco em instruções de repositório + MCP no VS Code |
26
+ | AntiGravity | Workflow-based (não hook-based) | Integração por workflows, não por eventos de hook equivalentes ao Claude |
27
+
28
+ Impactos e mitigação detalhados: `docs/ide-integration.md`.
29
+
30
+ ## Nota Sobre BMAD
31
+
32
+ O AIOS evoluiu significativamente e **não depende de BMAD** para operação atual.
33
+ Quando BMAD aparece em histórico de changelog/migração, é apenas contexto histórico.
34
+ O caminho oficial e atual é AIOS 4.x com terminologia e arquitetura próprias.
35
+
15
36
  ## Visão Geral
16
37
 
17
38
  ### Premissa Arquitetural: CLI First
@@ -139,7 +160,7 @@ O Synkra AIOS agora inclui uma experiência de instalação interativa de últim
139
160
 
140
161
  - ✅ Download da versão mais recente do NPM
141
162
  - ✅ Assistente de instalação interativo moderno
142
- - ✅ Configuração automática do IDE (Codex CLI, Windsurf, Cursor ou Claude Code)
163
+ - ✅ Configuração automática do IDE (Codex CLI, Cursor ou Claude Code)
143
164
  - ✅ Configuração de todos os agentes e fluxos de trabalho AIOS
144
165
  - ✅ Criação dos arquivos de configuração necessários
145
166
  - ✅ Inicialização do sistema de meta-agentes
@@ -163,23 +184,37 @@ npx aios-core@latest install
163
184
 
164
185
  O Synkra AIOS inclui regras pré-configuradas para IDE para melhorar sua experiência de desenvolvimento:
165
186
 
166
- #### Para Windsurf ou Cursor:
187
+ #### Para Cursor:
167
188
 
168
- 1. Abra as configurações do seu IDE
169
- 2. Navegue até **Global Rules** (Windsurf) ou **User Rules** (Cursor)
170
- 3. Copie o conteúdo de `.windsurf/global-rules.md` ou `.cursor/global-rules.md`
189
+ 1. Abra as configurações do Cursor
190
+ 2. Navegue até **User Rules**
191
+ 3. Copie o conteúdo de `.cursor/global-rules.md`
171
192
  4. Cole na seção de regras e salve
172
193
 
173
194
  #### Para Claude Code:
174
195
 
175
196
  - ✅ Já configurado! O arquivo `.claude/CLAUDE.md` é carregado automaticamente
197
+ - Sync dedicado de agentes: `npm run sync:ide:claude`
198
+ - Validacao dedicada: `npm run validate:claude-sync && npm run validate:claude-integration`
176
199
 
177
200
  #### Para Codex CLI:
178
201
 
202
+ - ✅ Integração de primeira classe no AIOS 4.0.4 (pipeline de ativação e greeting compartilhado)
179
203
  - ✅ Já configurado! O arquivo `AGENTS.md` na raiz é carregado automaticamente
180
204
  - Opcional: sincronize agentes auxiliares com `npm run sync:ide:codex`
181
205
  - Recomendado neste repositório: gerar e versionar skills locais com `npm run sync:skills:codex`
182
206
  - Use `npm run sync:skills:codex:global` apenas fora deste projeto (para evitar duplicidade no `/skills`)
207
+ - Validacao dedicada: `npm run validate:codex-sync && npm run validate:codex-integration`
208
+ - Guardrails de skills/paths: `npm run validate:codex-skills && npm run validate:paths`
209
+
210
+ #### Para Gemini CLI:
211
+
212
+ - ✅ Regras e agentes sincronizaveis com `npm run sync:ide:gemini`
213
+ - Arquivos gerados em `.gemini/rules.md`, `.gemini/rules/AIOS/agents/` e `.gemini/commands/*.toml`
214
+ - ✅ Hooks e settings locais no fluxo de instalacao (`.gemini/hooks/` + `.gemini/settings.json`)
215
+ - ✅ Ativacao rapida por slash commands (`/aios-menu`, `/aios-dev`, `/aios-architect`, etc.)
216
+ - Validacao dedicada: `npm run validate:gemini-sync && npm run validate:gemini-integration`
217
+ - Paridade multi-IDE em um comando: `npm run validate:parity`
183
218
 
184
219
  Estas regras fornecem:
185
220
 
@@ -192,7 +227,7 @@ Estas regras fornecem:
192
227
  ### Início Mais Rápido com Interface Web (2 minutos)
193
228
 
194
229
  1. **Instale o AIOS**: Execute `npx aios-core init meu-projeto`
195
- 2. **Configure seu IDE**: Siga as instruções de configuração para Codex CLI, Windsurf, Cursor ou Claude Code
230
+ 2. **Configure seu IDE**: Siga as instruções de configuração para Codex CLI, Cursor ou Claude Code
196
231
  3. **Comece a Planejar**: Ative um agente como `@analyst` para começar a criar seu briefing
197
232
  4. **Use comandos AIOS**: Digite `*help` para ver comandos disponíveis
198
233
  5. **Siga o fluxo**: Veja o [Guia do usuário](docs/guides/user-guide.md) para mais detalhes
@@ -657,6 +692,7 @@ Veja também:
657
692
  | Documento | English | Português |
658
693
  | --------------------- | ------------------------------------------- | ------------------------------------- |
659
694
  | **Licença** | [MIT License](LICENSE) | - |
695
+ | **Modelo de Licença** | [Core vs Pro](docs/legal/license-clarification.md) | - |
660
696
  | **Privacidade** | [Privacy Policy](docs/legal/privacy.md) | - |
661
697
  | **Termos de Uso** | [Terms of Use](docs/legal/terms.md) | - |
662
698
  | **Código de Conduta** | [Code of Conduct](CODE_OF_CONDUCT.md) | [PT-BR](docs/pt/code-of-conduct.md) |
package/bin/aios-init.js CHANGED
@@ -16,8 +16,8 @@
16
16
  * - Use `npx aios-core` which routes through bin/aios.js to the new wizard
17
17
  * - Do NOT call this file directly
18
18
  *
19
- * Supported IDEs (7 total):
20
- * - Claude Code, Cursor, Windsurf, Roo Code, Cline, Gemini CLI, GitHub Copilot
19
+ * Supported IDEs (4 total):
20
+ * - Claude Code, Cursor, Gemini CLI, GitHub Copilot
21
21
  */
22
22
 
23
23
  const path = require('path');
@@ -409,10 +409,6 @@ async function main() {
409
409
  checked: true,
410
410
  },
411
411
  { name: ' Cursor ' + chalk.blue('(v4)'), value: 'cursor' },
412
- { name: ' Windsurf ' + chalk.blue('(v4)'), value: 'windsurf' },
413
- { name: ' Trae ' + chalk.blue('(v4)'), value: 'trae' },
414
- { name: ' Roo Code ' + chalk.blue('(v4)'), value: 'roo' },
415
- { name: ' Cline ' + chalk.blue('(v4)'), value: 'cline' },
416
412
  { name: ' Gemini CLI ' + chalk.blue('(v4)'), value: 'gemini' },
417
413
  { name: ' GitHub Copilot ' + chalk.blue('(v4)'), value: 'github-copilot' },
418
414
  {
@@ -561,10 +557,6 @@ async function main() {
561
557
  const ideRulesMap = {
562
558
  claude: { source: 'claude-rules.md', target: '.claude/CLAUDE.md' },
563
559
  cursor: { source: 'cursor-rules.md', target: '.cursor/rules.md' },
564
- windsurf: { source: 'windsurf-rules.md', target: '.windsurf/rules.md' },
565
- trae: { source: 'trae-rules.md', target: '.trae/rules.md' },
566
- roo: { source: 'roo-rules.md', target: '.roomodes' },
567
- cline: { source: 'cline-rules.md', target: '.cline/rules.md' },
568
560
  gemini: { source: 'gemini-rules.md', target: '.gemini/rules.md' },
569
561
  'github-copilot': { source: 'copilot-rules.md', target: '.github/chatmodes/aios-agent.md' },
570
562
  antigravity: { source: 'antigravity-rules.md', target: '.antigravity/rules.md' },
@@ -655,6 +647,9 @@ This directory contains the core AIOS-FullStack agents and tasks.
655
647
  See .aios-core/user-guide.md for complete documentation.
656
648
  `
657
649
  );
650
+
651
+ // Silent statusline setup (graceful skip if user already has one)
652
+ await setupGlobalStatuslineLegacy(sourceCoreDir);
658
653
  }
659
654
 
660
655
  // Step 3: Install AIOS CORE agents for Cursor
@@ -703,10 +698,10 @@ See .aios-core/user-guide.md for complete documentation.
703
698
  );
704
699
  }
705
700
 
706
- // Step 4: Install AIOS CORE agents for other IDEs (Trae, Cline, Gemini, AntiGravity)
701
+ // Step 4: Install AIOS CORE agents for other IDEs (Gemini, AntiGravity)
707
702
  // v4: Agents are in development/ module
708
703
  // INS-2 Performance: Uses cached agent files list
709
- const otherIdeInstalls = ['trae', 'cline', 'gemini', 'antigravity'];
704
+ const otherIdeInstalls = ['gemini', 'antigravity'];
710
705
  for (const ide of otherIdeInstalls) {
711
706
  if (ides.includes(ide)) {
712
707
  const ideRulesDir = ide === 'gemini' ? '.gemini' : `.${ide}`;
@@ -736,33 +731,7 @@ See .aios-core/user-guide.md for complete documentation.
736
731
  }
737
732
  }
738
733
 
739
- // Step 5: Install Roo Code modes
740
- // v4: Agents are in development/ module
741
- // INS-2 Performance: Uses cached agent files list
742
- if (ides.includes('roo')) {
743
- const rooModesPath = path.join(context.projectRoot, '.roomodes');
744
-
745
- if (cachedAgentFiles.length > 0) {
746
- // Create .roomodes JSON file (using cached list)
747
- const roomodes = {
748
- customModes: cachedAgentFiles.map((f) => {
749
- const agentName = f.replace('.md', '');
750
- return {
751
- slug: `bmad-${agentName}`,
752
- name: `AIOS ${agentName.charAt(0).toUpperCase() + agentName.slice(1)}`,
753
- roleDefinition: `AIOS-FullStack ${agentName} agent - see .aios-core/agents/${f}`,
754
- groups: ['aios'],
755
- source: 'project',
756
- };
757
- }),
758
- };
759
-
760
- await fse.writeFile(rooModesPath, JSON.stringify(roomodes, null, 2));
761
- console.log(chalk.green('✓') + ` Roo Code modes installed (${cachedAgentFiles.length} modes)`);
762
- }
763
- }
764
-
765
- // Step 6: Install GitHub Copilot chat modes
734
+ // Step 5: Install GitHub Copilot chat modes
766
735
  // v4: Agents are in development/ module
767
736
  // INS-2 Performance: Uses cached agent files list
768
737
  if (ides.includes('github-copilot')) {
@@ -1044,7 +1013,7 @@ See .aios-core/user-guide.md for complete documentation.
1044
1013
  }
1045
1014
 
1046
1015
  // Show other IDE installations
1047
- const otherInstalledIdes = ['windsurf', 'trae', 'cline', 'gemini', 'antigravity'].filter((ide) =>
1016
+ const otherInstalledIdes = ['gemini', 'antigravity'].filter((ide) =>
1048
1017
  ides.includes(ide)
1049
1018
  );
1050
1019
  for (const ide of otherInstalledIdes) {
@@ -1059,10 +1028,6 @@ See .aios-core/user-guide.md for complete documentation.
1059
1028
  );
1060
1029
  }
1061
1030
 
1062
- if (ides.includes('roo')) {
1063
- console.log(' ' + chalk.dim('.roomodes') + ' - Roo Code mode definitions');
1064
- }
1065
-
1066
1031
  if (ides.includes('github-copilot')) {
1067
1032
  console.log(' ' + chalk.dim('.github/chatmodes/') + ' - GitHub Copilot agent modes');
1068
1033
  }
@@ -1082,16 +1047,6 @@ See .aios-core/user-guide.md for complete documentation.
1082
1047
  console.log(' • Use @agent-name to activate agents in chat');
1083
1048
  }
1084
1049
 
1085
- if (ides.includes('windsurf') || ides.includes('trae') || ides.includes('cline')) {
1086
- console.log(' ' + chalk.yellow('Windsurf/Trae/Cline:'));
1087
- console.log(' • Use @agent-name to activate agents in chat');
1088
- }
1089
-
1090
- if (ides.includes('roo')) {
1091
- console.log(' ' + chalk.yellow('Roo Code:'));
1092
- console.log(' • Select agent mode from status bar mode selector');
1093
- }
1094
-
1095
1050
  if (ides.includes('gemini')) {
1096
1051
  console.log(' ' + chalk.yellow('Gemini CLI:'));
1097
1052
  console.log(' • Include agent context in your prompts');
@@ -1177,6 +1132,95 @@ async function savePMConfig(pmTool, config, projectRoot) {
1177
1132
  await fse.writeFile(configPath, yaml.dump(pmConfigData));
1178
1133
  }
1179
1134
 
1135
+ /**
1136
+ * Setup global statusline for Claude Code (legacy installer version)
1137
+ * Graceful skip: returns silently if user already has a statusLine configured.
1138
+ * @param {string} sourceCoreDir - Path to installed .aios-core directory
1139
+ */
1140
+ async function setupGlobalStatuslineLegacy(sourceCoreDir) {
1141
+ const os = require('os');
1142
+ const homeDir = os.homedir();
1143
+ const globalSettingsPath = path.join(homeDir, '.claude', 'settings.json');
1144
+
1145
+ // Read existing global settings
1146
+ let settings = {};
1147
+ try {
1148
+ if (fs.existsSync(globalSettingsPath)) {
1149
+ settings = JSON.parse(fs.readFileSync(globalSettingsPath, 'utf8'));
1150
+ }
1151
+ } catch {
1152
+ settings = {};
1153
+ }
1154
+
1155
+ // GRACEFUL SKIP: User already has a statusLine
1156
+ if (settings.statusLine) {
1157
+ return;
1158
+ }
1159
+
1160
+ // Source templates
1161
+ const templatesDir = path.join(sourceCoreDir, 'product', 'templates', 'statusline');
1162
+ const scriptSource = path.join(templatesDir, 'statusline-script.js');
1163
+ const hookSource = path.join(templatesDir, 'track-agent.sh');
1164
+
1165
+ if (!fs.existsSync(scriptSource) || !fs.existsSync(hookSource)) {
1166
+ return;
1167
+ }
1168
+
1169
+ // Target paths
1170
+ const scriptTarget = path.join(homeDir, '.claude', 'statusline-script.js');
1171
+ const hookTarget = path.join(homeDir, '.claude', 'hooks', 'track-agent.sh');
1172
+
1173
+ try {
1174
+ await fse.ensureDir(path.join(homeDir, '.claude', 'hooks'));
1175
+ await fse.ensureDir(path.join(homeDir, '.claude', 'session-cache'));
1176
+ await fse.copy(scriptSource, scriptTarget);
1177
+ await fse.copy(hookSource, hookTarget);
1178
+ } catch {
1179
+ return;
1180
+ }
1181
+
1182
+ // Add statusLine + hook to settings
1183
+ const scriptPathEscaped = scriptTarget.replace(/\\/g, '\\\\');
1184
+ settings.statusLine = {
1185
+ type: 'command',
1186
+ command: `node "${scriptPathEscaped}"`,
1187
+ };
1188
+
1189
+ if (!settings.hooks) {
1190
+ settings.hooks = {};
1191
+ }
1192
+ if (!Array.isArray(settings.hooks.UserPromptSubmit)) {
1193
+ settings.hooks.UserPromptSubmit = [];
1194
+ }
1195
+
1196
+ const hookPathEscaped = hookTarget.replace(/\\/g, '\\\\');
1197
+ const alreadyHasTrackAgent = settings.hooks.UserPromptSubmit.some(entry => {
1198
+ if (Array.isArray(entry.hooks)) {
1199
+ return entry.hooks.some(h => h.command && h.command.includes('track-agent'));
1200
+ }
1201
+ return entry.command && entry.command.includes('track-agent');
1202
+ });
1203
+
1204
+ if (!alreadyHasTrackAgent) {
1205
+ settings.hooks.UserPromptSubmit.push({
1206
+ matcher: '',
1207
+ hooks: [
1208
+ {
1209
+ type: 'command',
1210
+ command: `bash "${hookPathEscaped}"`,
1211
+ },
1212
+ ],
1213
+ });
1214
+ }
1215
+
1216
+ try {
1217
+ await fse.ensureDir(path.dirname(globalSettingsPath));
1218
+ await fse.writeFile(globalSettingsPath, JSON.stringify(settings, null, 2), 'utf8');
1219
+ } catch {
1220
+ // Silent failure — statusline is non-critical
1221
+ }
1222
+ }
1223
+
1180
1224
  // Run installer with error handling
1181
1225
  main().catch((error) => {
1182
1226
  console.error('');
@@ -353,7 +353,6 @@ async function generateCoreConfigYAML(projectPath, wizardState) {
353
353
  function getIDEConfigFile(ideKey) {
354
354
  const ideConfigMap = {
355
355
  cursor: '.cursorrules',
356
- windsurf: '.windsurfrules',
357
356
  zed: '.zed/settings.json',
358
357
  antigravity: '.antigravity.yaml',
359
358
  continue: '.continue/config.json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aios-core",
3
- "version": "4.2.2",
3
+ "version": "4.2.4",
4
4
  "description": "Synkra AIOS: AI-Orchestrated System for Full Stack Development - Core Framework",
5
5
  "bin": {
6
6
  "aios": "bin/aios.js",
@@ -39,13 +39,26 @@
39
39
  "sync:ide": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync",
40
40
  "sync:ide:validate": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate",
41
41
  "sync:ide:check": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --strict",
42
+ "sync:ide:claude": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide claude-code",
42
43
  "sync:ide:codex": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide codex",
44
+ "sync:ide:gemini": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide gemini",
45
+ "sync:ide:github-copilot": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide github-copilot",
46
+ "sync:ide:antigravity": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide antigravity",
47
+ "validate:claude-sync": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --ide claude-code --strict",
48
+ "validate:claude-integration": "node .aios-core/infrastructure/scripts/validate-claude-integration.js",
49
+ "validate:codex-sync": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --ide codex --strict",
50
+ "validate:codex-integration": "node .aios-core/infrastructure/scripts/validate-codex-integration.js",
51
+ "validate:gemini-sync": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --ide gemini --strict",
52
+ "validate:github-copilot-sync": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --ide github-copilot --strict",
53
+ "validate:antigravity-sync": "node .aios-core/infrastructure/scripts/ide-sync/index.js validate --ide antigravity --strict",
54
+ "validate:gemini-integration": "node .aios-core/infrastructure/scripts/validate-gemini-integration.js",
43
55
  "sync:skills:codex": "node .aios-core/infrastructure/scripts/codex-skills-sync/index.js",
44
56
  "sync:skills:codex:global": "node .aios-core/infrastructure/scripts/codex-skills-sync/index.js --global --global-only",
45
- "validate:codex-skills": "node .aios-core/infrastructure/scripts/codex-skills-sync/validate.js --strict",
46
- "validate:paths": "node .aios-core/infrastructure/scripts/validate-paths.js",
47
- "sync:ide:cursor": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide cursor",
48
- "sync:ide:windsurf": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide windsurf",
57
+ "validate:codex-skills": "node .aios-core/infrastructure/scripts/codex-skills-sync/validate.js --strict",
58
+ "validate:paths": "node .aios-core/infrastructure/scripts/validate-paths.js",
59
+ "validate:parity": "node .aios-core/infrastructure/scripts/validate-parity.js",
60
+ "manifest:ensure": "node scripts/ensure-manifest.js",
61
+ "sync:ide:cursor": "node .aios-core/infrastructure/scripts/ide-sync/index.js sync --ide cursor",
49
62
  "prepublishOnly": "npm run generate:manifest && npm run validate:manifest",
50
63
  "prepare": "husky"
51
64
  },
@@ -12,19 +12,24 @@ Or manually copy to `~/.gemini/extensions/aios/`
12
12
 
13
13
  ## Features
14
14
 
15
- ### Agents
16
- Access all AIOS agents via `@agent-name`:
17
- - `@dev` - Developer (Dex)
18
- - `@architect` - Architect (Aria)
19
- - `@qa` - QA Engineer (Quinn)
20
- - `@pm` - Product Manager (Morgan)
21
- - `@devops` - DevOps (Gage)
22
- - And more...
15
+ ### Quick Agent Launcher
16
+ Use slash commands for fast activation flow (Codex `$`-like UX):
17
+ - `/aios-menu` - show all quick launch commands
18
+ - `/aios-dev`
19
+ - `/aios-architect`
20
+ - `/aios-qa`
21
+ - `/aios-devops`
22
+ - `/aios-master`
23
+ - and other `/aios-<agent-id>` commands
24
+
25
+ Each launcher returns a ready-to-send activation prompt plus greeting preview.
23
26
 
24
27
  ### Commands
25
28
  - `/aios-status` - Show system status
26
29
  - `/aios-agents` - List available agents
27
30
  - `/aios-validate` - Validate installation
31
+ - `/aios-menu` - Show quick launch menu
32
+ - `/aios-agent <id>` - Generic launcher by agent id
28
33
 
29
34
  ### Hooks
30
35
  Automatic integration with AIOS memory and security:
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ const agentId = process.argv[2];
7
+ process.exitCode = runAgentLauncher(agentId);
@@ -42,7 +42,8 @@ async function main() {
42
42
  }
43
43
 
44
44
  console.log('\n' + '━'.repeat(50));
45
- console.log('Activate with: @agent-name or type *help after activation');
45
+ console.log('Quick launch with: /aios-menu or /aios-<agent-id>');
46
+ console.log('Alternative: /aios-agent <agent-id>');
46
47
  }
47
48
 
48
49
  main().catch(console.error);
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('analyst');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('architect');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('data-engineer');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('dev');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('devops');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('aios-master');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentMenu } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentMenu();
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('pm');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('po');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('qa');
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+
4
+ const { runAgentLauncher } = require('./lib/agent-launcher');
5
+
6
+ process.exitCode = runAgentLauncher('sm');