minovative-mind-cli 1.5.1 → 2.1.0
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/README.md +59 -45
- package/dist/commands/chat.js +10 -2
- package/dist/services/agent/slashCommands.js +369 -42
- package/dist/services/agent/toolLoop.d.ts +1 -1
- package/dist/services/agent/toolLoop.js +7 -2
- package/dist/services/agent/types.d.ts +2 -0
- package/dist/services/agent-tools.d.ts +9 -4
- package/dist/services/agent-tools.js +272 -34
- package/dist/services/agent.d.ts +8 -0
- package/dist/services/agent.js +288 -40
- package/dist/services/ai.d.ts +19 -5
- package/dist/services/ai.js +182 -36
- package/dist/services/changeLogger.d.ts +142 -0
- package/dist/services/changeLogger.js +132 -3
- package/dist/services/contextAgent.d.ts +6 -1
- package/dist/services/contextAgent.js +112 -19
- package/dist/services/embeddingIndex.d.ts +82 -0
- package/dist/services/embeddingIndex.js +613 -0
- package/dist/services/investigationComplexity.d.ts +45 -0
- package/dist/services/investigationComplexity.js +91 -0
- package/dist/services/metrics.d.ts +18 -0
- package/dist/services/metrics.js +7 -0
- package/dist/services/orchestration/fileLockRegistry.d.ts +125 -0
- package/dist/services/orchestration/fileLockRegistry.js +276 -0
- package/dist/services/orchestration/investigationAgent.d.ts +85 -0
- package/dist/services/orchestration/investigationAgent.js +362 -0
- package/dist/services/orchestration/investigationOrchestrator.d.ts +53 -0
- package/dist/services/orchestration/investigationOrchestrator.js +180 -0
- package/dist/services/orchestration/messageBus.d.ts +162 -0
- package/dist/services/orchestration/messageBus.js +225 -0
- package/dist/services/orchestration/orchestrator.d.ts +45 -0
- package/dist/services/orchestration/orchestrator.js +217 -0
- package/dist/services/orchestration/readCache.d.ts +79 -0
- package/dist/services/orchestration/readCache.js +108 -0
- package/dist/services/orchestration/scopedTools.d.ts +57 -0
- package/dist/services/orchestration/scopedTools.js +172 -0
- package/dist/services/orchestration/subAgent.d.ts +58 -0
- package/dist/services/orchestration/subAgent.js +190 -0
- package/dist/services/orchestration/taskGraph.d.ts +129 -0
- package/dist/services/orchestration/taskGraph.js +254 -0
- package/dist/services/proxyClient.d.ts +25 -0
- package/dist/services/proxyClient.js +60 -0
- package/dist/services/workspaceRegistry.d.ts +137 -0
- package/dist/services/workspaceRegistry.js +270 -0
- package/dist/utils/asyncContext.d.ts +16 -0
- package/dist/utils/asyncContext.js +25 -0
- package/dist/utils/config.d.ts +3 -1
- package/dist/utils/config.js +3 -1
- package/dist/utils/contextPrompts.js +10 -3
- package/dist/utils/dependencyTracer/modules/api.d.ts +9 -0
- package/dist/utils/dependencyTracer/modules/api.js +62 -0
- package/dist/utils/dependencyTracer/modules/graph.d.ts +9 -0
- package/dist/utils/dependencyTracer/modules/graph.js +23 -0
- package/dist/utils/dependencyTracer/modules/profiles.d.ts +7 -0
- package/dist/utils/dependencyTracer/modules/profiles.js +120 -0
- package/dist/utils/dependencyTracer/modules/resolver.d.ts +7 -0
- package/dist/utils/dependencyTracer/modules/resolver.js +51 -0
- package/dist/utils/dependencyTracer/modules/types.d.ts +4 -0
- package/dist/utils/dependencyTracer/modules/types.js +1 -0
- package/dist/utils/dependencyTracer/modules/walker.d.ts +1 -0
- package/dist/utils/dependencyTracer/modules/walker.js +48 -0
- package/dist/utils/dependencyTracer.js +31 -17
- package/dist/utils/excludedExtensions.js +0 -1
- package/dist/utils/historyPrompt.d.ts +9 -0
- package/dist/utils/historyPrompt.js +87 -0
- package/dist/utils/logo.js +7 -7
- package/dist/utils/paste.d.ts +21 -0
- package/dist/utils/paste.js +22 -1
- package/dist/utils/pathSecurity.d.ts +31 -0
- package/dist/utils/pathSecurity.js +48 -0
- package/dist/utils/profiles.d.ts +2 -0
- package/dist/utils/profiles.js +44 -0
- package/dist/utils/projectStorage.js +10 -7
- package/dist/utils/systemPrompts.d.ts +6 -3
- package/dist/utils/systemPrompts.js +111 -6
- package/dist/utils/types.d.ts +33 -0
- package/dist/utils/types.js +1 -0
- package/oclif.manifest.json +2 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -16,39 +16,8 @@ the build/performance metrics are green.
|
|
|
16
16
|
[](https://npmjs.org/package/minovative-mind-cli)
|
|
17
17
|
[](https://npmjs.org/package/minovative-mind-cli)
|
|
18
18
|
|
|
19
|
-
- Official Website: [
|
|
20
|
-
- Latest Updates: [
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## How it works
|
|
25
|
-
|
|
26
|
-
- Standard AI coding agents: big model + noisy context = expensive and redundant mistakes
|
|
27
|
-
- Minovative Mind CLI: flash models + precise context + verified output = better and cheaper results.
|
|
28
|
-
|
|
29
|
-
### The PCV engine runs in three stages before returning a single line of code:
|
|
30
|
-
|
|
31
|
-
**1. Investigate**
|
|
32
|
-
|
|
33
|
-
- **Maps your project:** Traces import dependencies and identifies recently modified files to understand your focus.
|
|
34
|
-
- **Researches context:** Gathers external web documentation and completes background research before touching any code.
|
|
35
|
-
|
|
36
|
-
**2. Execute with precision**
|
|
37
|
-
|
|
38
|
-
- **Surgical snapshots:** Feeds the agent a compressed, relevant slice of code instead of dumping the entire codebase.
|
|
39
|
-
- **Higher success rates:** Delivers 40–50% fewer broken generations on large files compared to standard zero-shot prompts.
|
|
40
|
-
|
|
41
|
-
**3. Verify and self-correct**
|
|
42
|
-
|
|
43
|
-
- **Runs native builds & audits:** Automatically executes your actual build commands (`npm run build`, `cargo check`, etc.) and scans for performance flaws on modified files only.
|
|
44
|
-
- **Autonomously debugs:** Reads the exact compiler output and fixes its own errors across up to 5 hands-free correction cycles.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
## See it in action
|
|
49
|
-
|
|
50
|
-
- [AI builds a Python Generative Art Engine in one prompt](https://www.youtube.com/watch?v=dy3qNbETqfs)
|
|
51
|
-
- [AI builds a Quiz Game from scratch](https://www.youtube.com/watch?v=KjE5nbKEf3w)
|
|
19
|
+
- Official Website: [Main Website](https://www.minovativemind.dev/)
|
|
20
|
+
- Latest Updates: [Updates](https://www.minovativemind.dev/updates)
|
|
52
21
|
|
|
53
22
|
---
|
|
54
23
|
|
|
@@ -79,9 +48,40 @@ Works in any terminal — SSH, Docker, CI pipelines, Vim, Windows Command Prompt
|
|
|
79
48
|
|
|
80
49
|
---
|
|
81
50
|
|
|
51
|
+
## See it in action
|
|
52
|
+
|
|
53
|
+
- [AI builds a Python Generative Art Engine in one prompt](https://www.youtube.com/watch?v=dy3qNbETqfs)
|
|
54
|
+
- [AI builds a Quiz Game from scratch](https://www.youtube.com/watch?v=KjE5nbKEf3w)
|
|
55
|
+
|
|
56
|
+
### 🏆 Benchmark Tests
|
|
57
|
+
|
|
58
|
+
**All-Your-Base (C++ Track)**
|
|
59
|
+
|
|
60
|
+
- **Difficulty:** Hard | **Time:** 3.5 minutes
|
|
61
|
+
- **Result:** 🟢 PASSED (17/17 assertions)
|
|
62
|
+
- Successfully deduced the O(N+M) conversion algorithm.
|
|
63
|
+
- Properly handled complex edge cases for zero-equivalents (returning an empty vector).
|
|
64
|
+
- Encountered a compilation error due to missing C++ standard library paths on macOS.
|
|
65
|
+
- Autonomously self-corrected by querying the environment, locating the sysroot, and updating clang++ flags.
|
|
66
|
+
- Flawlessly passed the test suite, handling the problem and edge cases on the first try.
|
|
67
|
+
- [All-Your-Base Summary](https://github.com/Quarantiine/polyglot-benchmark-mmcli/blob/main/cpp/exercises/practice/all-your-base/minovative-tries/attempt_1.md)
|
|
68
|
+
|
|
69
|
+
**Alphametics (Go Track)**
|
|
70
|
+
|
|
71
|
+
- **Difficulty:** Extreme | **Time:** 5.2 minutes
|
|
72
|
+
- **Result:** 🟢 PASSED
|
|
73
|
+
- Solved one of the hardest logic puzzles on the platform by engineering a mathematically rigorous pruning algorithm based on the Rearrangement Inequality.
|
|
74
|
+
- Completely bypassed naive backtracking (10! permutations).
|
|
75
|
+
- Achieved sub-millisecond execution speeds (~140 microseconds) with zero heap allocations during recursion.
|
|
76
|
+
- Autonomously navigated the Go toolchain (\`go test -bench=.\`).
|
|
77
|
+
- Parsed its own architectural performance warnings to optimize the solution.
|
|
78
|
+
- [Alphametics Summary](https://github.com/Quarantiine/polyglot-benchmark-mmcli/blob/main/go/exercises/practice/alphametics/minovative-tries/attempt_1.md)
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
82
|
## Models
|
|
83
83
|
|
|
84
|
-
Hot-swap during a session
|
|
84
|
+
Hot-swap during a session using `/models`:
|
|
85
85
|
|
|
86
86
|
| Model | Best for |
|
|
87
87
|
| ------------------------------ | ----------------------------------- |
|
|
@@ -99,22 +99,36 @@ Hot-swap during a session with `/models`:
|
|
|
99
99
|
|
|
100
100
|
## Session Commands
|
|
101
101
|
|
|
102
|
-
| Command | What it does
|
|
103
|
-
| --------------- |
|
|
104
|
-
| `/models` | Hot-swap the active model
|
|
105
|
-
| `/
|
|
106
|
-
| `/
|
|
107
|
-
| `/
|
|
108
|
-
| `/
|
|
109
|
-
| `/
|
|
110
|
-
| `/
|
|
111
|
-
| `
|
|
102
|
+
| Command | What it does |
|
|
103
|
+
| --------------- | ---------------------------------------------------------------- |
|
|
104
|
+
| `/models` | Hot-swap the active model |
|
|
105
|
+
| `/plan` | Toggle plan mode to review implementation strategies |
|
|
106
|
+
| `/paste` | Multi-line input mode (cancel with Ctrl+C) |
|
|
107
|
+
| `/clear` | Clear conversation history |
|
|
108
|
+
| `/debug` | Expose internal agent diagnostics |
|
|
109
|
+
| `/auto-approve` | Toggle skipping confirmation prompts for commands |
|
|
110
|
+
| `/sub-agents` | Toggle the MMAAK Engine for parallel investigation and execution |
|
|
111
|
+
| `/stats` | View current session statistics and configuration |
|
|
112
|
+
| `/commit` | Generate a conventional commit message from your diff |
|
|
113
|
+
| `/revert` | Undo changes from the last turn, or toggle the revert logger |
|
|
114
|
+
| `/chats` | View, resume, or delete previous chat sessions |
|
|
115
|
+
| `stop` | Abort generation immediately |
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## 🌐 Multi-Workspace & Cross-Repo Support
|
|
120
|
+
|
|
121
|
+
Minovative Mind CLI doesn't restrict you to a single repository. You can link multiple external workspaces to your current session and the AI will seamlessly operate across all of them simultaneously.
|
|
122
|
+
|
|
123
|
+
By prefixing file paths with `@alias/` (e.g. `@backend/src/api.ts` and `@frontend/src/App.tsx`), the Context Agent, Thread Agents, and Semantic Search tools can investigate, refactor, and coordinate changes across your entire tech stack in a single prompt. The terminal highlights cross-workspace actions with a blue `[alias]` visual tag. Use the "Edit Workspace" menu option to configure your linked projects.
|
|
112
124
|
|
|
113
125
|
---
|
|
114
126
|
|
|
115
127
|
## 🌐 Supported Languages
|
|
116
128
|
|
|
117
|
-
Minovative Mind CLI
|
|
129
|
+
Minovative Mind CLI fundamentally supports **ALL programming languages** for chat, code generation, planning, and execution, as it relies on Gemini's vast training data.
|
|
130
|
+
|
|
131
|
+
However, the PCV engine features deep, context-aware analysis across **11 major programming language families**. Our core advanced engines—**Smart Dependency Tracing**, **Performance Auditing**, and **Ephemeral Analysis Scripts**—provide tailored support depending on the language's syntax and runtime model:
|
|
118
132
|
|
|
119
133
|
| Language Family | Supported Extensions | Dependency Tracing | Performance Auditing | Ephemeral Analysis |
|
|
120
134
|
| :--------------------------- | :------------------------------------------- | :----------------: | :------------------: | :----------------: |
|
package/dist/commands/chat.js
CHANGED
|
@@ -23,13 +23,19 @@ export default class DefaultCommand extends Command {
|
|
|
23
23
|
|
|
24
24
|
Inside the chat session, you can use the following commands in the slash menu:
|
|
25
25
|
/models - Select the active model
|
|
26
|
+
/plan - Toggle plan mode to review implementation strategies
|
|
26
27
|
/paste - Enter multi-line paste mode for long snippets
|
|
27
28
|
/clear - Clear conversation history
|
|
28
29
|
/debug - Debug tests or command execution in a sandbox loop
|
|
29
30
|
/auto-approve - Toggle automatic approval of tool/command runs
|
|
30
|
-
/
|
|
31
|
+
/sub-agents - Toggle the MMAAK Engine for parallel investigation and execution
|
|
32
|
+
/semantic-search - Toggle local vector index capabilities
|
|
33
|
+
/workspaces - Manage external workspaces for cross-project development
|
|
34
|
+
/stats - View current session statistics and configuration
|
|
31
35
|
/commit - Commit current workspace changes to Git
|
|
32
|
-
|
|
36
|
+
/revert - Revert the last file modification made by the agent
|
|
37
|
+
/chats - View, resume, or delete previous chat sessions
|
|
38
|
+
|
|
33
39
|
Chat Controls:
|
|
34
40
|
- Multi-line Input: End a line with \\ to continue on the next line
|
|
35
41
|
- Stop/Abort: Type "stop" to immediately interrupt agent generation
|
|
@@ -71,6 +77,8 @@ Chat Controls:
|
|
|
71
77
|
if (idToken) {
|
|
72
78
|
updateWorkspaceStatus(idToken, workspaceRoot).catch(() => { });
|
|
73
79
|
}
|
|
80
|
+
const { workspaceRegistry } = await import('../services/workspaceRegistry.js');
|
|
81
|
+
workspaceRegistry.init();
|
|
74
82
|
await startAgentLoop(workspaceRoot, this.config.version);
|
|
75
83
|
}
|
|
76
84
|
}
|