minovative-mind-cli 2.6.0 → 2.6.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.
package/README.md
CHANGED
|
@@ -95,10 +95,10 @@ Hot-swap during a session using `/models`:
|
|
|
95
95
|
|
|
96
96
|
### BYOK (Bring Your Own Key)
|
|
97
97
|
|
|
98
|
-
If you prefer to use your own
|
|
98
|
+
If you prefer to use your own API key instead of credits, you can configure it via the `/config-key` slash command. **Only API keys from [Google AI Studio](https://aistudio.google.com) are supported** — Vertex AI, OpenAI, and Anthropic keys are not compatible.
|
|
99
99
|
|
|
100
|
-
- **Configuration:**
|
|
101
|
-
- **Error Handling:** If your key is invalid, expired, or you hit rate limits, the CLI will report a `BYOK AI Error`. Please check your API key status in the Google AI Studio dashboard.
|
|
100
|
+
- **Configuration:** Use `/config-key` in the chat session to set and manage your API key.
|
|
101
|
+
- **Error Handling:** If your key is invalid, expired, or you hit rate limits, the CLI will report a `BYOK AI Error`. Please check your API key status in the [Google AI Studio dashboard](https://aistudio.google.com).
|
|
102
102
|
|
|
103
103
|
> Background tasks (routing, history summarization, context compression, commits) always use lightweight
|
|
104
104
|
> models automatically. You pay for those lightweight model
|
package/dist/commands/chat.js
CHANGED
|
@@ -30,7 +30,7 @@ Inside the chat session, you can use the following commands in the slash menu:
|
|
|
30
30
|
/auto-approve - Toggle automatic approval of tool/command runs
|
|
31
31
|
/sub-agents - Toggle the MMAAK Engine for parallel investigation and execution
|
|
32
32
|
/workspaces - Manage external workspaces for cross-project development
|
|
33
|
-
/config-key - BYOK
|
|
33
|
+
/config-key - BYOK — Use your own Google AI Studio API key
|
|
34
34
|
/stats - View current session statistics and configuration
|
|
35
35
|
/commit - Commit current workspace changes to Git
|
|
36
36
|
/revert - Revert the last file modification made by the agent
|
|
@@ -27,7 +27,7 @@ export async function handleSlashCommand(command, context) {
|
|
|
27
27
|
if (lowerCommand === '/config-key') {
|
|
28
28
|
const creds = await loadCredentials();
|
|
29
29
|
const action = await p['select']({
|
|
30
|
-
message: 'BYOK (Bring Your Own Key) Configuration',
|
|
30
|
+
message: 'BYOK (Bring Your Own Key) Configuration — Google AI Studio keys only',
|
|
31
31
|
options: [
|
|
32
32
|
{ value: 'status', label: 'Status' },
|
|
33
33
|
{ value: 'toggle', label: creds.useByok ? 'Disable BYOK' : 'Enable BYOK' },
|
|
@@ -47,7 +47,7 @@ export async function handleSlashCommand(command, context) {
|
|
|
47
47
|
}
|
|
48
48
|
else if (action === 'set') {
|
|
49
49
|
const key = await p['text']({
|
|
50
|
-
message: 'Enter your
|
|
50
|
+
message: 'Enter your Google AI Studio API Key (aistudio.google.com):',
|
|
51
51
|
validate: (value) => (value ? undefined : 'API Key is required'),
|
|
52
52
|
});
|
|
53
53
|
if (key && typeof key === 'string') {
|
|
@@ -1003,7 +1003,7 @@ ${diffOut}
|
|
|
1003
1003
|
const creds = await loadCredentials();
|
|
1004
1004
|
const byokEnabled = !!(creds.useByok && creds.geminiApiKey);
|
|
1005
1005
|
const action = await p['select']({
|
|
1006
|
-
message: `API Key Configuration (Current Mode: ${byokEnabled ? pc.green('BYOK') : pc.yellow('Credits')})`,
|
|
1006
|
+
message: `API Key Configuration — Google AI Studio keys only (Current Mode: ${byokEnabled ? pc.green('BYOK') : pc.yellow('Credits')})`,
|
|
1007
1007
|
options: [
|
|
1008
1008
|
{ value: 'toggle', label: byokEnabled ? 'Disable BYOK (Use Credits)' : 'Enable BYOK (Use API Key)' },
|
|
1009
1009
|
{ value: 'set', label: 'Set/Update API Key' },
|
package/dist/services/agent.js
CHANGED
|
@@ -207,7 +207,7 @@ export async function startAgentLoop(workspaceRoot, version) {
|
|
|
207
207
|
label: '/workspaces',
|
|
208
208
|
hint: 'Manage external workspaces for cross-project development',
|
|
209
209
|
},
|
|
210
|
-
{ value: '/config-key', label: '/config-key', hint: 'BYOK
|
|
210
|
+
{ value: '/config-key', label: '/config-key', hint: 'BYOK — Use your own Google AI Studio API key' },
|
|
211
211
|
{ value: '/stats', label: '/stats', hint: 'View current session statistics and configuration' },
|
|
212
212
|
{ value: '/commit', label: '/commit', hint: 'Auto-commit changes with AI message' },
|
|
213
213
|
{ value: '/revert', label: '/revert', hint: 'Undo last change' },
|
package/oclif.manifest.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"chat": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "Start an interactive AI coding agent session powered by Vertex AI.\n\nInside the chat session, you can use the following commands in the slash menu:\n /models - Select the active model\n /plan - Toggle plan mode to review implementation strategies\n /paste - Enter multi-line paste mode for long snippets\n /clear - Clear conversation history\n /debug - Debug tests or command execution in a sandbox loop\n /auto-approve - Toggle automatic approval of tool/command runs\n /sub-agents - Toggle the MMAAK Engine for parallel investigation and execution\n /workspaces - Manage external workspaces for cross-project development\n /config-key - BYOK
|
|
6
|
+
"description": "Start an interactive AI coding agent session powered by Vertex AI.\n\nInside the chat session, you can use the following commands in the slash menu:\n /models - Select the active model\n /plan - Toggle plan mode to review implementation strategies\n /paste - Enter multi-line paste mode for long snippets\n /clear - Clear conversation history\n /debug - Debug tests or command execution in a sandbox loop\n /auto-approve - Toggle automatic approval of tool/command runs\n /sub-agents - Toggle the MMAAK Engine for parallel investigation and execution\n /workspaces - Manage external workspaces for cross-project development\n /config-key - BYOK — Use your own Google AI Studio API key\n /stats - View current session statistics and configuration\n /commit - Commit current workspace changes to Git\n /revert - Revert the last file modification made by the agent\n /chats - View, resume, edit titles, or delete previous chat sessions (includes bulk delete)\n \nChat Controls:\n - Multi-line Input: End a line with \\ to continue on the next line\n - Stop/Abort: Type \"stop\" to immediately interrupt agent generation\n - Exit Session: Type \"exit\" or \"quit\" to end the agent session",
|
|
7
7
|
"examples": [
|
|
8
8
|
"<%= config.bin %> chat",
|
|
9
9
|
"<%= config.bin %> chat --help"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"version": "2.6.
|
|
68
|
+
"version": "2.6.1"
|
|
69
69
|
}
|
package/package.json
CHANGED