grimoire-framework 1.0.0 → 1.0.1
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/.grimoire/install-manifest.yaml +2 -2
- package/README.md +101 -35
- package/bin/grimoire-init.js +3 -3
- package/bin/grimoire.js +62 -62
- package/package.json +138 -138
- package/packages/gemini-grimoire-extension/README.md +3 -3
- package/packages/installer/src/wizard/index.js +3 -3
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
# - SHA256 hashes for change detection
|
|
8
8
|
# - File types for categorization
|
|
9
9
|
#
|
|
10
|
-
version: 1.0.
|
|
11
|
-
generated_at: "2026-02-
|
|
10
|
+
version: 1.0.1
|
|
11
|
+
generated_at: "2026-02-21T22:35:37.263Z"
|
|
12
12
|
generator: scripts/generate-install-manifest.js
|
|
13
13
|
file_count: 1011
|
|
14
14
|
files:
|
package/README.md
CHANGED
|
@@ -1,59 +1,125 @@
|
|
|
1
1
|
# Grimoire: AI-Orchestrated System for Full Stack Development 🧙♂️
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/grimoire-framework)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://nodejs.org)
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
> Framework de desenvolvimento autônomo orientado por IA que orquestra equipes de agentes especializados para transformar requisitos em software funcional.
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
---
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
- **Propriedade Total**: Código aberto sob licença MIT, pronto para escala industrial.
|
|
11
|
-
- **Agentic Agile**: Fluxo de trabalho baseado em agentes (Analista, Arquiteto, Dev, QA) que colaboram através de histórias.
|
|
12
|
-
- **Independência de IDE**: Integração nativa com Claude Code, Gemini CLI, Cursor e VS Code.
|
|
11
|
+
## 🚀 Início Rápido
|
|
13
12
|
|
|
14
|
-
|
|
13
|
+
Nenhuma instalação global necessária — use diretamente via `npx`:
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
```bash
|
|
16
|
+
# Instalar o Grimoire em um projeto existente
|
|
17
|
+
npx grimoire-framework
|
|
18
|
+
|
|
19
|
+
# Ou explicitamente
|
|
20
|
+
npx grimoire-framework install
|
|
21
|
+
```
|
|
18
22
|
|
|
19
23
|
```bash
|
|
20
|
-
#
|
|
21
|
-
npx grimoire init meu-projeto
|
|
24
|
+
# Criar um novo projeto do zero
|
|
25
|
+
npx grimoire-framework init meu-projeto
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 🛠️ Comandos da CLI
|
|
31
|
+
|
|
32
|
+
| Comando | Descrição |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `npx grimoire-framework` | Wizard interativo de instalação |
|
|
35
|
+
| `npx grimoire-framework install` | Instalar no projeto atual |
|
|
36
|
+
| `npx grimoire-framework init <nome>` | Criar novo projeto |
|
|
37
|
+
| `npx grimoire-framework update` | Atualizar para a versão mais recente |
|
|
38
|
+
| `npx grimoire-framework validate` | Validar integridade da instalação |
|
|
39
|
+
| `npx grimoire-framework doctor` | Diagnóstico e auto-reparação |
|
|
40
|
+
| `npx grimoire-framework info` | Informações do sistema |
|
|
41
|
+
| `npx grimoire-framework --version` | Versão instalada |
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 🧠 O que é o Grimoire?
|
|
46
|
+
|
|
47
|
+
O Grimoire não é apenas um assistente de código — é uma **equipe de engenharia completa na sua linha de comando**. Ele usa o **Autonomous Development Engine (ADE)** para planejar, executar, testar e revisar código de forma independente.
|
|
48
|
+
|
|
49
|
+
### Filosofia: CLI First
|
|
50
|
+
Toda a inteligência reside nos arquivos de configuração instalados em `.grimoire/`. Seus agentes são ativados diretamente pela sua IDE favorita, sem servidores externos.
|
|
51
|
+
|
|
52
|
+
### IDEs Suportadas
|
|
53
|
+
- **Claude Code** — Ative agentes com `/architect`, `/dev`, `/qa`
|
|
54
|
+
- **Gemini CLI** — Use `/grimoire-menu` ou `/grimoire-dev`
|
|
55
|
+
- **Cursor** — Sincronização automática via `.cursorrules`
|
|
56
|
+
- **VS Code / Codex** — Integração nativa via arquivos de regras
|
|
57
|
+
|
|
58
|
+
---
|
|
22
59
|
|
|
23
|
-
|
|
24
|
-
|
|
60
|
+
## 🏗️ Arquitetura
|
|
61
|
+
|
|
62
|
+
Após a instalação, o Grimoire cria o diretório `.grimoire/` no seu projeto com:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
.grimoire/
|
|
66
|
+
├── development/
|
|
67
|
+
│ ├── agents/ # Analista, Arquiteto, Dev, QA, etc.
|
|
68
|
+
│ ├── tasks/ # Tarefas reutilizáveis
|
|
69
|
+
│ └── workflows/ # Fluxos de desenvolvimento
|
|
70
|
+
├── infrastructure/ # Scripts de integração e hooks
|
|
71
|
+
├── product/ # Templates e checklists
|
|
72
|
+
└── core/ # Configurações do framework
|
|
25
73
|
```
|
|
26
74
|
|
|
27
|
-
###
|
|
28
|
-
Após a instalação, você pode invocar seus agentes diretamente:
|
|
75
|
+
### Componentes Principais
|
|
29
76
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
77
|
+
1. **Spec Pipeline** — Transforma prompts em especificações técnicas executáveis
|
|
78
|
+
2. **Execution Engine** — Implementação autônoma com autocrítica de código
|
|
79
|
+
3. **Recovery System** — Detecção automática de erros com rollback e retry
|
|
80
|
+
4. **QA Loop** — Revisão de código em múltiplas fases (80%+ cobertura)
|
|
33
81
|
|
|
34
|
-
|
|
82
|
+
---
|
|
35
83
|
|
|
36
|
-
|
|
37
|
-
`CLI (Inteligência) → Observability (Monitoramento) → UI (Gestão)`
|
|
84
|
+
## ⚙️ Requisitos
|
|
38
85
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
3. **Recovery System**: Detecção automática de erros e auto-correção via rollback e retry.
|
|
43
|
-
4. **QA Loop**: Revisão de código em múltiplas fases garantindo 80%+ de cobertura de testes.
|
|
86
|
+
- **Node.js** >= 18.0.0
|
|
87
|
+
- **npm** >= 9.0.0
|
|
88
|
+
- **Git** (recomendado)
|
|
44
89
|
|
|
45
|
-
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## 🗺️ Roadmap
|
|
93
|
+
|
|
94
|
+
- [ ] **Sistema de Login & Autenticação** — Governança para equipes
|
|
95
|
+
- [ ] **Project Models** — Templates para SaaS, Mobile, API
|
|
96
|
+
- [ ] **Persistent Memory Layer** — Aprendizado de padrões do seu código
|
|
97
|
+
- [ ] **Enterprise Connectors** — Integração com Jira, Notion e Slack
|
|
98
|
+
|
|
99
|
+
---
|
|
46
100
|
|
|
47
|
-
|
|
101
|
+
## 🤝 Contribuindo
|
|
48
102
|
|
|
49
|
-
- [
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
103
|
+
Contribuições são bem-vindas! Veja [CONTRIBUTING.md](CONTRIBUTING.md) para detalhes.
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
# Clone o repositório
|
|
107
|
+
git clone https://github.com/gabrielrlima/grimoire.git
|
|
108
|
+
cd grimoire
|
|
109
|
+
|
|
110
|
+
# Instale as dependências
|
|
111
|
+
npm install
|
|
112
|
+
|
|
113
|
+
# Rode os testes
|
|
114
|
+
npm test
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
---
|
|
53
118
|
|
|
54
119
|
## 📄 Licença
|
|
55
120
|
|
|
56
|
-
Distribuído sob a licença MIT. Veja
|
|
121
|
+
Distribuído sob a licença MIT. Veja [LICENSE](LICENSE) para mais informações.
|
|
57
122
|
|
|
58
123
|
---
|
|
59
|
-
|
|
124
|
+
|
|
125
|
+
Built with ❤️ by the **Grimoire Team** • [npm](https://www.npmjs.com/package/grimoire-framework) • [GitHub](https://github.com/gabrielrlima/grimoire)
|
package/bin/grimoire-init.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* is not available. All new development should use the new wizard.
|
|
14
14
|
*
|
|
15
15
|
* Migration path:
|
|
16
|
-
* - Use `npx grimoire` which routes through bin/grimoire.js to the new wizard
|
|
16
|
+
* - Use `npx grimoire-framework` which routes through bin/grimoire.js to the new wizard
|
|
17
17
|
* - Do NOT call this file directly
|
|
18
18
|
*
|
|
19
19
|
* Supported IDEs (4 total):
|
|
@@ -1228,5 +1228,5 @@ main().catch((error) => {
|
|
|
1228
1228
|
console.error('');
|
|
1229
1229
|
process.exit(1);
|
|
1230
1230
|
});
|
|
1231
|
-
|
|
1232
|
-
|
|
1231
|
+
|
|
1232
|
+
|
package/bin/grimoire.js
CHANGED
|
@@ -59,56 +59,56 @@ grimoire-FullStack v${packageJson.version}
|
|
|
59
59
|
AI-Orchestrated System for Full Stack Development
|
|
60
60
|
|
|
61
61
|
USAGE:
|
|
62
|
-
npx grimoire
|
|
63
|
-
npx grimoire
|
|
64
|
-
npx grimoire
|
|
65
|
-
npx grimoire
|
|
66
|
-
npx grimoire
|
|
67
|
-
npx grimoire
|
|
68
|
-
npx grimoire
|
|
69
|
-
npx grimoire
|
|
70
|
-
npx grimoire
|
|
71
|
-
npx grimoire
|
|
62
|
+
npx grimoire-framework # Run installation wizard
|
|
63
|
+
npx grimoire-framework install # Install in current project
|
|
64
|
+
npx grimoire-framework init <name> # Create new project
|
|
65
|
+
npx grimoire-framework update # Update to latest version
|
|
66
|
+
npx grimoire-framework validate # Validate installation integrity
|
|
67
|
+
npx grimoire-framework info # Show system info
|
|
68
|
+
npx grimoire-framework doctor # Run diagnostics
|
|
69
|
+
npx grimoire-framework --version # Show version
|
|
70
|
+
npx grimoire-framework --version -d # Show detailed version info
|
|
71
|
+
npx grimoire-framework --help # Show this help
|
|
72
72
|
|
|
73
73
|
UPDATE:
|
|
74
|
-
grimoire update # Update to latest version
|
|
75
|
-
grimoire update --check # Check for updates without applying
|
|
76
|
-
grimoire update --dry-run # Preview what would be updated
|
|
77
|
-
grimoire update --force # Force update even if up-to-date
|
|
78
|
-
grimoire update --verbose # Show detailed output
|
|
74
|
+
grimoire-framework update # Update to latest version
|
|
75
|
+
grimoire-framework update --check # Check for updates without applying
|
|
76
|
+
grimoire-framework update --dry-run # Preview what would be updated
|
|
77
|
+
grimoire-framework update --force # Force update even if up-to-date
|
|
78
|
+
grimoire-framework update --verbose # Show detailed output
|
|
79
79
|
|
|
80
80
|
VALIDATION:
|
|
81
|
-
grimoire validate # Validate installation integrity
|
|
82
|
-
grimoire validate --repair # Repair missing/corrupted files
|
|
83
|
-
grimoire validate --repair --dry-run # Preview repairs
|
|
84
|
-
grimoire validate --detailed # Show detailed file list
|
|
81
|
+
grimoire-framework validate # Validate installation integrity
|
|
82
|
+
grimoire-framework validate --repair # Repair missing/corrupted files
|
|
83
|
+
grimoire-framework validate --repair --dry-run # Preview repairs
|
|
84
|
+
grimoire-framework validate --detailed # Show detailed file list
|
|
85
85
|
|
|
86
86
|
CONFIGURATION:
|
|
87
|
-
grimoire config show # Show resolved configuration
|
|
88
|
-
grimoire config show --debug # Show with source annotations
|
|
89
|
-
grimoire config diff --levels L1,L2 # Compare config levels
|
|
90
|
-
grimoire config migrate # Migrate monolithic to layered
|
|
91
|
-
grimoire config validate # Validate config files
|
|
92
|
-
grimoire config init-local # Create local-config.yaml
|
|
87
|
+
grimoire-framework config show # Show resolved configuration
|
|
88
|
+
grimoire-framework config show --debug # Show with source annotations
|
|
89
|
+
grimoire-framework config diff --levels L1,L2 # Compare config levels
|
|
90
|
+
grimoire-framework config migrate # Migrate monolithic to layered
|
|
91
|
+
grimoire-framework config validate # Validate config files
|
|
92
|
+
grimoire-framework config init-local # Create local-config.yaml
|
|
93
93
|
|
|
94
94
|
SERVICE DISCOVERY:
|
|
95
|
-
grimoire workers search <query> # Search for workers
|
|
96
|
-
grimoire workers search "json" --category=data
|
|
97
|
-
grimoire workers search "transform" --tags=etl,data
|
|
98
|
-
grimoire workers search "api" --format=json
|
|
95
|
+
grimoire-framework workers search <query> # Search for workers
|
|
96
|
+
grimoire-framework workers search "json" --category=data
|
|
97
|
+
grimoire-framework workers search "transform" --tags=etl,data
|
|
98
|
+
grimoire-framework workers search "api" --format=json
|
|
99
99
|
|
|
100
100
|
EXAMPLES:
|
|
101
101
|
# Install in current directory
|
|
102
|
-
npx grimoire
|
|
102
|
+
npx grimoire-framework
|
|
103
103
|
|
|
104
104
|
# Install with minimal mode (only expansion-creator)
|
|
105
|
-
npx grimoire-minimal
|
|
105
|
+
npx grimoire-minimal
|
|
106
106
|
|
|
107
107
|
# Create new project
|
|
108
|
-
npx grimoire
|
|
108
|
+
npx grimoire-framework init my-project
|
|
109
109
|
|
|
110
110
|
# Search for workers
|
|
111
|
-
grimoire workers search "json csv"
|
|
111
|
+
grimoire-framework workers search "json csv"
|
|
112
112
|
|
|
113
113
|
For more information, visit: https://github.com/grimoireAI/grimoire
|
|
114
114
|
`);
|
|
@@ -162,7 +162,7 @@ async function showVersion() {
|
|
|
162
162
|
console.log('\n⚠️ Version mismatch!');
|
|
163
163
|
console.log(` Local: ${versionInfo.version}`);
|
|
164
164
|
console.log(` Latest: ${packageJson.version}`);
|
|
165
|
-
console.log(' Run \'npx grimoire update\' to update.');
|
|
165
|
+
console.log(' Run \'npx grimoire-framework update\' to update.');
|
|
166
166
|
} else {
|
|
167
167
|
console.log('\n✅ Up to date');
|
|
168
168
|
}
|
|
@@ -171,7 +171,7 @@ async function showVersion() {
|
|
|
171
171
|
}
|
|
172
172
|
} else {
|
|
173
173
|
console.log('\n📭 No local installation found');
|
|
174
|
-
console.log(' Run \'npx grimoire install\' to install grimoire in this project.');
|
|
174
|
+
console.log(' Run \'npx grimoire-framework install\' to install grimoire in this project.');
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -366,9 +366,9 @@ Options:
|
|
|
366
366
|
-h, --help Show this help message
|
|
367
367
|
|
|
368
368
|
Examples:
|
|
369
|
-
$ npx grimoire doctor # Run diagnostics
|
|
370
|
-
$ npx grimoire doctor --fix # Fix detected issues
|
|
371
|
-
$ npx grimoire doctor --dry-run # Preview fixes
|
|
369
|
+
$ npx grimoire-framework doctor # Run diagnostics
|
|
370
|
+
$ npx grimoire-framework doctor --fix # Fix detected issues
|
|
371
|
+
$ npx grimoire-framework doctor --dry-run # Preview fixes
|
|
372
372
|
`);
|
|
373
373
|
return;
|
|
374
374
|
}
|
|
@@ -475,7 +475,7 @@ Examples:
|
|
|
475
475
|
fixAction: async () => {
|
|
476
476
|
console.log(' 🔧 Installing grimoire...');
|
|
477
477
|
try {
|
|
478
|
-
execSync('npx grimoire install --force --quiet', { stdio: 'inherit', timeout: 60000 });
|
|
478
|
+
execSync('npx grimoire-framework install --force --quiet', { stdio: 'inherit', timeout: 60000 });
|
|
479
479
|
console.log(' ✓ Installation complete');
|
|
480
480
|
} catch (installError) {
|
|
481
481
|
console.error(` ✗ Installation failed: ${installError.message}`);
|
|
@@ -485,7 +485,7 @@ Examples:
|
|
|
485
485
|
});
|
|
486
486
|
hasErrors = true;
|
|
487
487
|
console.log('✗ grimoire Core not installed');
|
|
488
|
-
console.log(' Run: npx grimoire
|
|
488
|
+
console.log(' Run: npx grimoire-framework');
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
// Check 5: grimoire Pro status
|
|
@@ -595,7 +595,7 @@ function cleanGitignore(gitignorePath) {
|
|
|
595
595
|
// Helper: Show uninstall help
|
|
596
596
|
function showUninstallHelp() {
|
|
597
597
|
console.log(`
|
|
598
|
-
Usage: npx grimoire uninstall [options]
|
|
598
|
+
Usage: npx grimoire-framework uninstall [options]
|
|
599
599
|
|
|
600
600
|
Remove grimoire from the current project.
|
|
601
601
|
|
|
@@ -620,23 +620,23 @@ Exit Codes:
|
|
|
620
620
|
|
|
621
621
|
Examples:
|
|
622
622
|
# Interactive uninstall (with confirmation)
|
|
623
|
-
npx grimoire uninstall
|
|
623
|
+
npx grimoire-framework uninstall
|
|
624
624
|
|
|
625
625
|
# Force uninstall without prompts
|
|
626
|
-
npx grimoire uninstall --force
|
|
626
|
+
npx grimoire-framework uninstall --force
|
|
627
627
|
|
|
628
628
|
# See what would be removed
|
|
629
|
-
npx grimoire uninstall --dry-run
|
|
629
|
+
npx grimoire-framework uninstall --dry-run
|
|
630
630
|
|
|
631
631
|
# Uninstall but keep project data
|
|
632
|
-
npx grimoire uninstall --keep-data
|
|
632
|
+
npx grimoire-framework uninstall --keep-data
|
|
633
633
|
`);
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
// Helper: Show doctor help
|
|
637
637
|
function showDoctorHelp() {
|
|
638
638
|
console.log(`
|
|
639
|
-
Usage: npx grimoire doctor [options]
|
|
639
|
+
Usage: npx grimoire-framework doctor [options]
|
|
640
640
|
|
|
641
641
|
Run health checks on your grimoire installation.
|
|
642
642
|
|
|
@@ -659,13 +659,13 @@ Exit Codes:
|
|
|
659
659
|
|
|
660
660
|
Examples:
|
|
661
661
|
# Run health check
|
|
662
|
-
npx grimoire doctor
|
|
662
|
+
npx grimoire-framework doctor
|
|
663
663
|
|
|
664
664
|
# Auto-fix detected issues
|
|
665
|
-
npx grimoire doctor --fix
|
|
665
|
+
npx grimoire-framework doctor --fix
|
|
666
666
|
|
|
667
667
|
# Preview what would be fixed
|
|
668
|
-
npx grimoire doctor --fix --dry-run
|
|
668
|
+
npx grimoire-framework doctor --fix --dry-run
|
|
669
669
|
`);
|
|
670
670
|
}
|
|
671
671
|
|
|
@@ -804,14 +804,14 @@ async function runUninstall(options = {}) {
|
|
|
804
804
|
if (keepData) {
|
|
805
805
|
console.log(' Your project data in .grimoire/ has been preserved.');
|
|
806
806
|
}
|
|
807
|
-
console.log('\n To reinstall: npx grimoire install');
|
|
807
|
+
console.log('\n To reinstall: npx grimoire-framework install');
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
// Helper: Show install help
|
|
812
812
|
function showInstallHelp() {
|
|
813
813
|
console.log(`
|
|
814
|
-
Usage: npx grimoire install [options]
|
|
814
|
+
Usage: npx grimoire-framework install [options]
|
|
815
815
|
|
|
816
816
|
Install grimoire in the current directory.
|
|
817
817
|
|
|
@@ -836,19 +836,19 @@ Exit Codes:
|
|
|
836
836
|
|
|
837
837
|
Examples:
|
|
838
838
|
# Interactive installation
|
|
839
|
-
npx grimoire install
|
|
839
|
+
npx grimoire-framework install
|
|
840
840
|
|
|
841
841
|
# Force reinstall without prompts
|
|
842
|
-
npx grimoire install --force
|
|
842
|
+
npx grimoire-framework install --force
|
|
843
843
|
|
|
844
844
|
# Brownfield: merge configs automatically
|
|
845
|
-
npx grimoire install --merge
|
|
845
|
+
npx grimoire-framework install --merge
|
|
846
846
|
|
|
847
847
|
# Silent install for CI/CD
|
|
848
|
-
npx grimoire install --quiet --force
|
|
848
|
+
npx grimoire-framework install --quiet --force
|
|
849
849
|
|
|
850
850
|
# Preview what would be installed
|
|
851
|
-
npx grimoire install --dry-run
|
|
851
|
+
npx grimoire-framework install --dry-run
|
|
852
852
|
`);
|
|
853
853
|
}
|
|
854
854
|
|
|
@@ -856,7 +856,7 @@ Examples:
|
|
|
856
856
|
// Helper: Show init help
|
|
857
857
|
function showInitHelp() {
|
|
858
858
|
console.log(`
|
|
859
|
-
Usage: npx grimoire init <project-name> [options]
|
|
859
|
+
Usage: npx grimoire-framework init <project-name> [options]
|
|
860
860
|
|
|
861
861
|
Create a new grimoire project with the specified name.
|
|
862
862
|
|
|
@@ -873,10 +873,10 @@ Available Templates:
|
|
|
873
873
|
enterprise Everything + dashboards + team integrations
|
|
874
874
|
|
|
875
875
|
Examples:
|
|
876
|
-
npx grimoire init my-project
|
|
877
|
-
npx grimoire init my-project --template minimal
|
|
878
|
-
npx grimoire init my-project --force --skip-install
|
|
879
|
-
npx grimoire init . --template enterprise
|
|
876
|
+
npx grimoire-framework init my-project
|
|
877
|
+
npx grimoire-framework init my-project --template minimal
|
|
878
|
+
npx grimoire-framework init my-project --force --skip-install
|
|
879
|
+
npx grimoire-framework init . --template enterprise
|
|
880
880
|
`);
|
|
881
881
|
}
|
|
882
882
|
|
|
@@ -925,7 +925,7 @@ async function initProject() {
|
|
|
925
925
|
|
|
926
926
|
if (!projectName) {
|
|
927
927
|
console.error('❌ Project name is required');
|
|
928
|
-
console.log('\nUsage: npx grimoire init <project-name> [options]');
|
|
928
|
+
console.log('\nUsage: npx grimoire-framework init <project-name> [options]');
|
|
929
929
|
console.log('Run with --help for more information.');
|
|
930
930
|
process.exit(1);
|
|
931
931
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grimoire-framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Grimoire: AI-Orchestrated System for Full Stack Development - Core Framework",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,140 +19,140 @@
|
|
|
19
19
|
"grimoire-core": "bin/grimoire.js",
|
|
20
20
|
"grimoire-minimal": "bin/grimoire-minimal.js"
|
|
21
21
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
22
|
+
"preferGlobal": false,
|
|
23
|
+
"workspaces": [
|
|
24
|
+
"packages/*"
|
|
25
|
+
],
|
|
26
|
+
"files": [
|
|
27
|
+
"bin/",
|
|
28
|
+
"scripts/",
|
|
29
|
+
"packages/",
|
|
30
|
+
".grimoire/",
|
|
31
|
+
".claude/CLAUDE.md",
|
|
32
|
+
".claude/rules/",
|
|
33
|
+
".claude/hooks/",
|
|
34
|
+
"pro/license/",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"format": "prettier --write \"**/*.md\"",
|
|
40
|
+
"test": "jest",
|
|
41
|
+
"test:watch": "jest --watch",
|
|
42
|
+
"test:coverage": "jest --coverage",
|
|
43
|
+
"test:health-check": "mocha tests/health-check/**/*.test.js --timeout 30000",
|
|
44
|
+
"lint": "eslint . --cache --cache-location .eslintcache",
|
|
45
|
+
"typecheck": "tsc --noEmit",
|
|
46
|
+
"release": "semantic-release",
|
|
47
|
+
"release:test": "semantic-release --dry-run --no-ci || echo \u0027Config test complete - authentication errors are expected locally\u0027",
|
|
48
|
+
"generate:manifest": "node scripts/generate-install-manifest.js",
|
|
49
|
+
"validate:manifest": "node scripts/validate-manifest.js",
|
|
50
|
+
"validate:structure": "node .grimoire/infrastructure/scripts/source-tree-guardian/index.js",
|
|
51
|
+
"validate:agents": "node .grimoire/infrastructure/scripts/validate-agents.js",
|
|
52
|
+
"sync:ide": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync",
|
|
53
|
+
"sync:ide:validate": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate",
|
|
54
|
+
"sync:ide:check": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --strict",
|
|
55
|
+
"sync:ide:claude": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide claude-code",
|
|
56
|
+
"sync:ide:codex": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide codex",
|
|
57
|
+
"sync:ide:gemini": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide gemini",
|
|
58
|
+
"sync:ide:github-copilot": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide github-copilot",
|
|
59
|
+
"sync:ide:antigravity": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide antigravity",
|
|
60
|
+
"validate:claude-sync": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --ide claude-code --strict",
|
|
61
|
+
"validate:claude-integration": "node .grimoire/infrastructure/scripts/validate-claude-integration.js",
|
|
62
|
+
"validate:codex-sync": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --ide codex --strict",
|
|
63
|
+
"validate:codex-integration": "node .grimoire/infrastructure/scripts/validate-codex-integration.js",
|
|
64
|
+
"validate:gemini-sync": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --ide gemini --strict",
|
|
65
|
+
"validate:github-copilot-sync": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --ide github-copilot --strict",
|
|
66
|
+
"validate:antigravity-sync": "node .grimoire/infrastructure/scripts/ide-sync/index.js validate --ide antigravity --strict",
|
|
67
|
+
"validate:gemini-integration": "node .grimoire/infrastructure/scripts/validate-gemini-integration.js",
|
|
68
|
+
"sync:skills:codex": "node .grimoire/infrastructure/scripts/codex-skills-sync/index.js",
|
|
69
|
+
"sync:skills:codex:global": "node .grimoire/infrastructure/scripts/codex-skills-sync/index.js --global --global-only",
|
|
70
|
+
"validate:codex-skills": "node .grimoire/infrastructure/scripts/codex-skills-sync/validate.js --strict",
|
|
71
|
+
"validate:paths": "node .grimoire/infrastructure/scripts/validate-paths.js",
|
|
72
|
+
"validate:parity": "node .grimoire/infrastructure/scripts/validate-parity.js",
|
|
73
|
+
"validate:semantic-lint": "node scripts/semantic-lint.js",
|
|
74
|
+
"manifest:ensure": "node scripts/ensure-manifest.js",
|
|
75
|
+
"sync:ide:cursor": "node .grimoire/infrastructure/scripts/ide-sync/index.js sync --ide cursor",
|
|
76
|
+
"prepublishOnly": "npm run generate:manifest \u0026\u0026 npm run validate:manifest",
|
|
77
|
+
"prepare": "husky"
|
|
78
|
+
},
|
|
79
|
+
"dependencies": {
|
|
80
|
+
"@clack/prompts": "^0.11.0",
|
|
81
|
+
"@kayvan/markdown-tree-parser": "^1.5.0",
|
|
82
|
+
"ajv": "^8.17.1",
|
|
83
|
+
"ajv-formats": "^3.0.1",
|
|
84
|
+
"ansi-to-html": "^0.7.2",
|
|
85
|
+
"chalk": "^4.1.2",
|
|
86
|
+
"chokidar": "^3.5.3",
|
|
87
|
+
"cli-progress": "^3.12.0",
|
|
88
|
+
"commander": "^12.1.0",
|
|
89
|
+
"execa": "^5.1.1",
|
|
90
|
+
"fast-glob": "^3.3.3",
|
|
91
|
+
"fs-extra": "^11.3.2",
|
|
92
|
+
"glob": "^10.4.4",
|
|
93
|
+
"handlebars": "^4.7.8",
|
|
94
|
+
"inquirer": "^8.2.6",
|
|
95
|
+
"js-yaml": "^4.1.0",
|
|
96
|
+
"ora": "^5.4.1",
|
|
97
|
+
"picocolors": "^1.1.1",
|
|
98
|
+
"proper-lockfile": "^4.1.2",
|
|
99
|
+
"semver": "^7.7.2",
|
|
100
|
+
"validator": "^13.15.15"
|
|
101
|
+
},
|
|
102
|
+
"keywords": [
|
|
103
|
+
"ai",
|
|
104
|
+
"grimoire",
|
|
105
|
+
"agile",
|
|
106
|
+
"agents",
|
|
107
|
+
"orchestrator",
|
|
108
|
+
"fullstack",
|
|
109
|
+
"development",
|
|
110
|
+
"cli",
|
|
111
|
+
"cross-platform",
|
|
112
|
+
"interactive",
|
|
113
|
+
"wizard",
|
|
114
|
+
"modern-ux",
|
|
115
|
+
"vite-style",
|
|
116
|
+
"automation"
|
|
117
|
+
],
|
|
118
|
+
"author": "Grimoire Team",
|
|
119
|
+
"license": "MIT",
|
|
120
|
+
"engines": {
|
|
121
|
+
"node": "\u003e=18.0.0",
|
|
122
|
+
"npm": "\u003e=9.0.0"
|
|
123
|
+
},
|
|
124
|
+
"devDependencies": {
|
|
125
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
126
|
+
"@semantic-release/git": "^10.0.1",
|
|
127
|
+
"@types/jest": "^30.0.0",
|
|
128
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
129
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
130
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
131
|
+
"eslint": "^9.38.0",
|
|
132
|
+
"husky": "^9.1.7",
|
|
133
|
+
"jest": "^30.2.0",
|
|
134
|
+
"lint-staged": "^16.1.1",
|
|
135
|
+
"mocha": "^11.7.5",
|
|
136
|
+
"prettier": "^3.5.3",
|
|
137
|
+
"semantic-release": "^25.0.2",
|
|
138
|
+
"typescript": "^5.9.3",
|
|
139
|
+
"yaml-lint": "^1.7.0"
|
|
140
|
+
},
|
|
141
|
+
"lint-staged": {
|
|
142
|
+
"*.{js,mjs,cjs,ts}": [
|
|
143
|
+
"eslint --fix --cache --cache-location .eslintcache",
|
|
144
|
+
"prettier --write"
|
|
145
|
+
],
|
|
146
|
+
"*.md": [
|
|
147
|
+
"prettier --write",
|
|
148
|
+
"node scripts/semantic-lint.js --staged"
|
|
149
|
+
],
|
|
150
|
+
".grimoire/development/agents/*.md": [
|
|
151
|
+
"npm run sync:ide"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"overrides": {
|
|
155
|
+
"tar": "^7.5.7",
|
|
156
|
+
"diff": "^8.0.3"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -41,7 +41,7 @@ Automatic integration with grimoire memory and security:
|
|
|
41
41
|
## Requirements
|
|
42
42
|
|
|
43
43
|
- Gemini CLI v0.26.0+
|
|
44
|
-
- grimoire Core installed (`npx grimoire install`)
|
|
44
|
+
- grimoire Core installed (`npx grimoire-framework install`)
|
|
45
45
|
- Node.js 18+
|
|
46
46
|
|
|
47
47
|
## Cross-CLI Compatibility
|
|
@@ -51,5 +51,5 @@ grimoire skills work identically in both Claude Code and Gemini CLI. Same agents
|
|
|
51
51
|
## License
|
|
52
52
|
|
|
53
53
|
MIT
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
|
|
55
|
+
|
|
@@ -31,7 +31,7 @@ const {
|
|
|
31
31
|
const {
|
|
32
32
|
installgrimoireCore,
|
|
33
33
|
hasPackageJson,
|
|
34
|
-
} = require('../installer/grimoire-installer');
|
|
34
|
+
} = require('../installer/grimoire-core-installer');
|
|
35
35
|
const {
|
|
36
36
|
validateInstallation,
|
|
37
37
|
displayValidationReport,
|
|
@@ -827,5 +827,5 @@ module.exports = {
|
|
|
827
827
|
LANGUAGE_MAP,
|
|
828
828
|
},
|
|
829
829
|
};
|
|
830
|
-
|
|
831
|
-
|
|
830
|
+
|
|
831
|
+
|