grov 0.6.13 → 0.6.14
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.
|
@@ -148,13 +148,17 @@ export async function login() {
|
|
|
148
148
|
else {
|
|
149
149
|
console.log('\n✓ Logged in. Sync not enabled.');
|
|
150
150
|
}
|
|
151
|
-
// Continue to agent setup if no agent configured
|
|
152
|
-
if (!isAnyAgentConfigured()) {
|
|
151
|
+
// Continue to agent setup if no agent configured (skip if non-interactive)
|
|
152
|
+
if (!isAnyAgentConfigured() && process.stdin.isTTY) {
|
|
153
153
|
console.log('\n───────────────────────────────────────────────────────────\n');
|
|
154
154
|
console.log('Now let\'s configure your AI agent...\n');
|
|
155
155
|
const { runAgentSetup } = await import('./setup.js');
|
|
156
156
|
await runAgentSetup();
|
|
157
157
|
}
|
|
158
|
+
else if (!isAnyAgentConfigured()) {
|
|
159
|
+
console.log('\nRun "grov setup" to configure your AI agent.');
|
|
160
|
+
console.log('View memories at: https://app.grov.dev/memories\n');
|
|
161
|
+
}
|
|
158
162
|
else {
|
|
159
163
|
console.log('\nRun "grov doctor" to verify your setup is complete.');
|
|
160
164
|
console.log('View memories at: https://app.grov.dev/memories\n');
|
package/dist/cli/index.js
CHANGED
|
@@ -127,6 +127,7 @@ program
|
|
|
127
127
|
program
|
|
128
128
|
.command('login')
|
|
129
129
|
.description('Login to Grov cloud (opens browser for authentication)')
|
|
130
|
+
.option('--auto', 'Auto mode for postinstall (skips interactive prompts)')
|
|
130
131
|
.action(safeAction(async () => {
|
|
131
132
|
const { login } = await import('./commands/login.js');
|
|
132
133
|
await login();
|
|
@@ -189,15 +189,21 @@ export class ClaudeAdapter extends BaseAdapter {
|
|
|
189
189
|
for (let i = messages.length - 1; i >= 0; i--) {
|
|
190
190
|
if (messages[i].role === 'user') {
|
|
191
191
|
const content = messages[i].content;
|
|
192
|
+
let text = '';
|
|
192
193
|
if (typeof content === 'string') {
|
|
193
|
-
|
|
194
|
+
text = content;
|
|
194
195
|
}
|
|
195
|
-
if (Array.isArray(content)) {
|
|
196
|
+
else if (Array.isArray(content)) {
|
|
196
197
|
const textBlocks = content
|
|
197
198
|
.filter((b) => typeof b === 'object' && b !== null && b.type === 'text' && typeof b.text === 'string')
|
|
198
199
|
.map(b => b.text);
|
|
199
|
-
|
|
200
|
+
text = textBlocks.join('\n');
|
|
200
201
|
}
|
|
202
|
+
// Skip internal Claude Code suggestion requests
|
|
203
|
+
if (text.startsWith('[SUGGESTION MODE')) {
|
|
204
|
+
continue;
|
|
205
|
+
}
|
|
206
|
+
return text;
|
|
201
207
|
}
|
|
202
208
|
}
|
|
203
209
|
return '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grov",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.14",
|
|
4
4
|
"description": "Collective AI memory for Coding Agents - captures reasoning from sessions and injects context into future sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli/index.js",
|
|
@@ -111,4 +111,4 @@
|
|
|
111
111
|
"node": ">=20.0.0"
|
|
112
112
|
},
|
|
113
113
|
"packageManager": "pnpm@9.15.0"
|
|
114
|
-
}
|
|
114
|
+
}
|