grimoire-framework 1.0.4 → 1.0.6

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.
@@ -7,8 +7,8 @@
7
7
  # - SHA256 hashes for change detection
8
8
  # - File types for categorization
9
9
  #
10
- version: 1.0.4
11
- generated_at: "2026-02-22T10:43:42.050Z"
10
+ version: 1.0.6
11
+ generated_at: "2026-02-22T10:58:33.442Z"
12
12
  generator: scripts/generate-install-manifest.js
13
13
  file_count: 1011
14
14
  files:
@@ -24,6 +24,9 @@ async function main() {
24
24
  case 'squads':
25
25
  handleSquads(args.slice(1));
26
26
  break;
27
+ case 'agents':
28
+ handleAgents(args.slice(1));
29
+ break;
27
30
  case 'doctor':
28
31
  console.log('šŸ„ Grimoire Doctor: Everything looks good!');
29
32
  break;
@@ -32,7 +35,7 @@ async function main() {
32
35
  case 'validate':
33
36
  case 'info':
34
37
  console.log(`Delegating ${command} to core logic...`);
35
- require('./grimoire');
38
+ require('./grimoire');
36
39
  break;
37
40
  case '--version':
38
41
  case '-v':
@@ -48,13 +51,13 @@ async function main() {
48
51
 
49
52
  function handleSquads(args) {
50
53
  const sub = args[0];
51
-
54
+
52
55
  // Look for .grimoire directory
53
56
  let baseDir = process.cwd();
54
57
  if (!fs.existsSync(path.join(baseDir, '.grimoire')) && fs.existsSync(path.join(baseDir, 'grimoire', '.grimoire'))) {
55
58
  baseDir = path.join(baseDir, 'grimoire');
56
59
  }
57
-
60
+
58
61
  const squadsDir = path.join(baseDir, '.grimoire', 'squads');
59
62
 
60
63
  if (sub === 'list') {
@@ -82,12 +85,36 @@ function handleSquads(args) {
82
85
  }
83
86
  }
84
87
 
88
+ function handleAgents(args) {
89
+ const sub = args[0];
90
+ const baseDir = process.cwd();
91
+ const agentsDir = path.join(baseDir, '.codex', 'agents');
92
+ const fallbackDir = path.join(baseDir, 'node_modules', 'grimoire-framework', '.codex', 'agents');
93
+ const dir = fs.existsSync(agentsDir) ? agentsDir : fs.existsSync(fallbackDir) ? fallbackDir : null;
94
+
95
+ if (sub === 'list' || !sub) {
96
+ if (!dir) {
97
+ console.log('\nāš ļø No agents found. Run "npx grimoire-framework install" first.');
98
+ return;
99
+ }
100
+ const list = fs.readdirSync(dir)
101
+ .filter(f => f.endsWith('.md'))
102
+ .map(f => f.replace('.md', ''));
103
+ console.log('\nšŸ§™ Grimoire Agents:');
104
+ list.forEach(a => console.log(` - ${a}`));
105
+ console.log(`\n Total: ${list.length} agents`);
106
+ } else {
107
+ console.log('Usage: grimoire agents list');
108
+ }
109
+ }
110
+
85
111
  function showHelp() {
86
112
  console.log(`
87
113
  šŸ“Š Grimoire Pro CLI v${packageJson.version}
88
114
 
89
115
  USAGE:
90
116
  grimoire install # Install/Reset setup
117
+ grimoire agents list # List available agents
91
118
  grimoire squads list # List installed squads
92
119
  grimoire memory [sub] # Manage persistent memory
93
120
  grimoire metrics # View productivity metrics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grimoire-framework",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Grimoire: AI-Orchestrated System for Full Stack Development - Core Framework",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -89,7 +89,7 @@
89
89
  "execa": "^5.1.1",
90
90
  "fast-glob": "^3.3.3",
91
91
  "fs-extra": "^11.3.2",
92
- "glob": "^10.4.4",
92
+ "glob": "^11.1.0",
93
93
  "handlebars": "^4.7.8",
94
94
  "inquirer": "^8.2.6",
95
95
  "js-yaml": "^4.1.0",