imhcode 2.0.2 → 2.0.3

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 (2) hide show
  1. package/bin/imhcode.js +9 -3
  2. package/package.json +1 -1
package/bin/imhcode.js CHANGED
@@ -108,7 +108,13 @@ if (command === 'plan') {
108
108
  process.exit(1);
109
109
  });
110
110
  } else if (command === 'gui') {
111
- runGuiCommand(args.slice(1)).catch(err => {
111
+ console.log('💡 Note: \'imhcode gui\' is deprecated in favor of the interactive TUI.');
112
+ runTuiCommand().catch(err => {
113
+ console.error(err.message ?? err);
114
+ process.exit(1);
115
+ });
116
+ } else if (command === 'init') {
117
+ runInit().catch(err => {
112
118
  console.error(err.message ?? err);
113
119
  process.exit(1);
114
120
  });
@@ -124,8 +130,8 @@ if (command === 'plan') {
124
130
  process.exit(1);
125
131
  });
126
132
  } else {
127
- // Default: framework initialization
128
- runInit().catch(err => {
133
+ // Default: start interactive TUI
134
+ runTuiCommand().catch(err => {
129
135
  console.error(err.message ?? err);
130
136
  process.exit(1);
131
137
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imhcode",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "IMH-Code — Imam Hussain Coding Harness Platform. A fast-first multi-agent AI coding framework with intelligent model routing. 19 generic role-based agents (planner, nextjs-executor, laravel-executor, etc.), configurable testing strategy, and 7 token-saving optimizations for rapid MVP development.",
5
5
  "main": "index.js",
6
6
  "bin": {