imhcode 1.1.1 → 2.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.
Files changed (34) hide show
  1. package/README.md +18 -0
  2. package/USER_MANUAL.md +29 -0
  3. package/bin/imhcode.js +839 -0
  4. package/dist/orchestrator/builder.d.ts.map +1 -1
  5. package/dist/orchestrator/builder.js +27 -4
  6. package/dist/orchestrator/builder.js.map +1 -1
  7. package/dist/orchestrator/context-scanner.d.ts +23 -0
  8. package/dist/orchestrator/context-scanner.d.ts.map +1 -0
  9. package/dist/orchestrator/context-scanner.js +248 -0
  10. package/dist/orchestrator/context-scanner.js.map +1 -0
  11. package/dist/orchestrator/import-engine.d.ts +18 -0
  12. package/dist/orchestrator/import-engine.d.ts.map +1 -0
  13. package/dist/orchestrator/import-engine.js +116 -0
  14. package/dist/orchestrator/import-engine.js.map +1 -0
  15. package/dist/orchestrator/index.d.ts +4 -0
  16. package/dist/orchestrator/index.d.ts.map +1 -1
  17. package/dist/orchestrator/index.js +13 -1
  18. package/dist/orchestrator/index.js.map +1 -1
  19. package/dist/orchestrator/modification-engine.d.ts +12 -0
  20. package/dist/orchestrator/modification-engine.d.ts.map +1 -0
  21. package/dist/orchestrator/modification-engine.js +109 -0
  22. package/dist/orchestrator/modification-engine.js.map +1 -0
  23. package/dist/orchestrator/project-scanner.d.ts +16 -0
  24. package/dist/orchestrator/project-scanner.d.ts.map +1 -0
  25. package/dist/orchestrator/project-scanner.js +164 -0
  26. package/dist/orchestrator/project-scanner.js.map +1 -0
  27. package/package.json +1 -1
  28. package/skills/typeui-main/test/orchestrator.test.ts +88 -41
  29. package/src/orchestrator/builder.ts +29 -4
  30. package/src/orchestrator/context-scanner.ts +221 -0
  31. package/src/orchestrator/import-engine.ts +106 -0
  32. package/src/orchestrator/index.ts +8 -0
  33. package/src/orchestrator/modification-engine.ts +108 -0
  34. package/src/orchestrator/project-scanner.ts +134 -0
package/README.md CHANGED
@@ -11,6 +11,14 @@
11
11
 
12
12
  ---
13
13
 
14
+ ## 📚 Documentation
15
+
16
+ For detailed information on how to configure and execute IMH-Code, see:
17
+ * [User Manual](USER_MANUAL.md) — Comprehensive guide on pipeline phases, stack configurations, and custom agent systems.
18
+ * [CLI Execution Guide](CLI_EXECUTION_GUIDE.md) — Command reference, usage options, aliases, and agent execution architectures.
19
+
20
+ ---
21
+
14
22
  ## ⚡ Quick Start
15
23
 
16
24
  ### 1. Install Globally
@@ -41,6 +49,16 @@ IMH-Code enforces a fast-first software delivery pipeline:
41
49
 
42
50
  ---
43
51
 
52
+ ## 🛠️ Usability Upgrades (v2.0)
53
+
54
+ Version 2.0 introduces powerful new commands for codebase scanning, project imports, in-place changes, and graphical control:
55
+ - **Scan & Import**: Run `imhcode scan` or `imhcode import` to bring existing projects (Next.js, Laravel, React, etc.) under orchestration. Maps project folders to `.imhcode/import-map.json` automatically.
56
+ - **In-place Modifications**: Run `imhcode modify "task"` to auto-detect the target agent and run in-place code adjustments.
57
+ - **Feature Sprint Planning**: Run `imhcode feature "desc"` to plan a targeted 1-3 task mini-sprint for adding a new feature.
58
+ - **Laravel GUI Dashboard**: Run `imhcode gui` to launch a beautiful dark-mode control center web application (Laravel 12 + Livewire 3 + Tailwind CSS v4) to manage your projects, visual Kanbans, and modifications directly from the web browser.
59
+
60
+ ---
61
+
44
62
  ## 🔒 Configurable Testing Strategy
45
63
 
46
64
  Unlike other frameworks that mandate slow TDD at every step, IMH-Code lets you choose:
package/USER_MANUAL.md CHANGED
@@ -55,6 +55,15 @@ imhcode agent run <id> "task" # Run a specific agent directly
55
55
  --live # Run with live LLM (dry-run by default)
56
56
  --engine <engine> # Override engine
57
57
  --model <model> # Override model
58
+
59
+ # Usability Upgrades (v2.0)
60
+ imhcode modify "task" # Quick in-place codebase modification
61
+ imhcode feature "desc" # Generate a targeted mini-sprint for a new feature
62
+ imhcode execute-feature [N] # Execute planned feature sprint N
63
+ imhcode fix "bug desc" # Targeted bug fix (alias for modify)
64
+ imhcode scan [path] # Scan local stack and project configuration
65
+ imhcode import [path] # Import existing codebase and generate context
66
+ imhcode gui [--port N] # Start the Laravel GUI Control Center web server
58
67
  ```
59
68
 
60
69
  ---
@@ -68,3 +77,23 @@ Model routing is defined under `model_routing` in `imhcode.config.json`:
68
77
  - **testing**: GPT-5.5 (Primary)
69
78
  - **review**: GPT-5.5 (Primary)
70
79
  - **fast**: DeepSeek V4 Flash (Primary)
80
+
81
+ ---
82
+
83
+ ## 5. Codebase Scanning & Importing (v2.0)
84
+
85
+ You can bring existing projects (Next.js, Laravel, React, etc.) under the IMH-Code multi-agent framework:
86
+ - Run `imhcode scan /path/to/project` to inspect the project layout and dependencies.
87
+ - Run `imhcode import /path/to/project` to generate the `.imhcode/import-map.json` mapping, `PROJECT_BRIEF.md`, and `.imhcode/context.md` project configurations automatically.
88
+
89
+ ## 6. Targeted Codebase Modifications
90
+
91
+ Instead of starting greenfield projects, you can modify existing code bases in-place:
92
+ - Run `imhcode modify "Add a contact form to the page"` to auto-detect the best agent, compile a dynamic context-aware prompt, and run in-place code edits.
93
+ - Run `imhcode feature "Add Stripe checkout"` to plan a targeted mini-sprint of 1-3 tasks for a new feature addition. Run `imhcode execute-feature {N}` to execute.
94
+
95
+ ## 7. Laravel GUI Control Center
96
+
97
+ Run `imhcode gui` to launch a beautiful dark-mode web console (Laravel 12 + Livewire 3 + Tailwind CSS v4) to manage your projects, sprints, and code modifications via a simple graphical user interface.
98
+ - Scaffolded automatically under `~/.imhcode/gui/`.
99
+ - Manage projects, visual kanbans, trigger executes, and run quick modifications directly from the web browser.