mindforge-cc 2.0.0-alpha.8 → 2.0.0-alpha.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
- ...
2
+
3
+ ## [2.0.0-alpha.9] — Verified Antigravity Compatibility — 2026-03-23
4
+ ### Fixed
5
+ - Fixed critical installer regression where `files` variable was undefined during command installation.
6
+ - Fixed `resolveBaseDir` hardcoding that prevented `.agents/` relocation in non-standard environments.
7
+ - Verified end-to-end Antigravity fix for command visibility and YAML frontmatter.
8
+
3
9
  ## [2.0.0-alpha.8] — Antigravity Visibility Fix — 2026-03-23
4
10
 
5
11
  ### Fixed
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # MindForge — Enterprise Agentic Framework (v2.0.0-alpha.8)
1
+ # MindForge — Enterprise Agentic Framework (v2.0.0-alpha.9)
2
2
 
3
3
  MindForge turns Claude Code and Antigravity into production-grade engineering
4
4
  partners with governance, observability, and a disciplined workflow engine.
@@ -215,7 +215,7 @@ See `.mindforge/production/token-optimiser.md`.
215
215
 
216
216
  ---
217
217
 
218
- ## What ships in v2.0.0-alpha.8
218
+ ## What ships in v2.0.0-alpha.9
219
219
  - **Real-time Dashboard**: `/mindforge:dashboard` and web-based observability.
220
220
  - **Persistent Knowledge Graph**: `/mindforge:remember` and long-term memory engine.
221
221
  - **Multi-Model Intelligence Layer**: `/mindforge:cross-review`, `/mindforge:research`, and `/mindforge:costs`.
package/bin/install.js CHANGED
@@ -85,7 +85,7 @@ function printHelp() {
85
85
 
86
86
  RUNTIMES (pick one or use --all)
87
87
  --claude Claude Code (~/.claude or .claude/)
88
- --antigravity Antigravity (~/.gemini/antigravity or agents/; .agent/ legacy)
88
+ --antigravity Antigravity (~/.gemini/antigravity or .agents/; .agent/ legacy)
89
89
  --all Both runtimes
90
90
 
91
91
  SCOPE
@@ -109,9 +109,18 @@ function resolveBaseDir(runtime, scope) {
109
109
  if (scope === 'global') return norm(cfg.globalDir);
110
110
 
111
111
  if (runtime === 'antigravity') {
112
- const agentsDir = norm(path.join(process.cwd(), 'agents'));
112
+ const agentsDir = norm(path.join(process.cwd(), '.agents'));
113
+ const legacyAgentsDir = norm(path.join(process.cwd(), 'agents'));
113
114
  const legacyAgentDir = norm(path.join(process.cwd(), '.agent'));
115
+
114
116
  if (fsu.exists(agentsDir)) return agentsDir;
117
+
118
+ // Support transition from 'agents/' to '.agents/'
119
+ if (fsu.exists(legacyAgentsDir)) {
120
+ console.log(' ℹ️ Detected legacy agents/ — installing there for compatibility');
121
+ return legacyAgentsDir;
122
+ }
123
+
115
124
  if (fsu.exists(legacyAgentDir)) {
116
125
  console.log(' ℹ️ Detected legacy .agent/ — installing there for compatibility');
117
126
  return legacyAgentDir;
@@ -227,6 +236,7 @@ async function install(runtime, scope, options = {}) {
227
236
 
228
237
  if (fsu.exists(cmdSrc)) {
229
238
  fsu.ensureDir(cmdsDir);
239
+ const files = fsu.listFiles(cmdSrc).filter(f => f.endsWith('.md'));
230
240
  // Install for specific runtime
231
241
  files.forEach(f => {
232
242
  const targetName = runtime === 'antigravity' ? `mindforge:${f}` : f;
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+ # MindForge Local Verification Wrapper
3
+ # Usage: node bin/mindforge-cc.sh [args]
4
+
5
+ node "$(dirname "$0")/install.js" "$@"
@@ -29,6 +29,7 @@ async function detect() {
29
29
  if (
30
30
  fs.existsSync(path.join(home, '.gemini', 'antigravity')) ||
31
31
  fs.existsSync(path.join(cwd, '.agent')) ||
32
+ fs.existsSync(path.join(cwd, '.agents')) ||
32
33
  fs.existsSync(path.join(cwd, 'agents'))
33
34
  ) {
34
35
  runtimes.push('antigravity');
@@ -1,4 +1,4 @@
1
- # MindForge v2.0.0-alpha.8: In-Depth Testing Guide (Antigravity)
1
+ # MindForge v2.0.0-alpha.9: In-Depth Testing Guide (Antigravity)
2
2
 
3
3
  This document provides a step-by-step rigorous testing flow to validate the entire MindForge framework from a blank project state. It is designed to be shared and logged for architectural review.
4
4
 
@@ -9,7 +9,7 @@ This document provides a step-by-step rigorous testing flow to validate the enti
9
9
  ```bash
10
10
  /Users/sairamugge/.vite-plus/js_runtime/node/24.14.0/bin/mindforge-cc --antigravity --local
11
11
  ```
12
- - *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.8`.
12
+ - *Confirmation*: Run the command with `--version`. It must show `v2.0.0-alpha.9`.
13
13
  3. Verify the local binary exists: `ls agents/bin/install.js` (or `.agent/bin/install.js` if legacy)
14
14
 
15
15
  ## 🏗 Phase 1: Registry & Integrity
@@ -126,5 +126,5 @@ All Antigravity sessions are logged. To share your results for review, zip and s
126
126
  - `CHANGELOG.md` (Outcome summary)
127
127
  ## 💡 Troubleshooting
128
128
  - **Command not found**: Ensure you are using `./mindforge:command` or `/mindforge:command` within the agent.
129
- - **Wrong Version**: Run `/mindforge:health` and check for "v2.0.0-alpha.8". If it shows "v1.0.5", your installation failed or you are using the global `npx` version.
129
+ - **Wrong Version**: Run `/mindforge:health` and check for "v2.0.0-alpha.9". If it shows "v1.0.5", your installation failed or you are using the global `npx` version.
130
130
  - **Registry Error**: Check `~/.mindforge/registry.json` exists; it is now automatically created by the v2 installer.
@@ -1,4 +1,4 @@
1
- # MindForge User Guide (v2.0.0-alpha.8)
1
+ # MindForge User Guide (v2.0.0-alpha.9)
2
2
 
3
3
  This guide gets you from install to productive, with the minimum needed to run
4
4
  MindForge in a real project. It assumes Node.js 18+.
@@ -1,4 +1,4 @@
1
- # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.8)
1
+ # MindForge v2.0.0 — Unique Selling Points, Features, and Best Practices (v2.0.0-alpha.9)
2
2
 
3
3
  This document summarizes what makes MindForge v2.0.0 distinct, what features
4
4
  are included in the latest alpha release, and how to use them effectively.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindforge-cc",
3
- "version": "2.0.0-alpha.8",
3
+ "version": "2.0.0-alpha.9",
4
4
  "description": "MindForge - Enterprise Agentic Framework for Claude Code and Antigravity",
5
5
  "bin": {
6
6
  "mindforge-cc": "bin/install.js"