groove-dev 0.27.52 → 0.27.53

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/cli",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE CLI — manage AI coding agents from your terminal",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/daemon",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE daemon — agent orchestration engine",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -152,19 +152,31 @@ export class GrooveNetworkProvider extends Provider {
152
152
  }
153
153
  try {
154
154
  const msg = JSON.parse(trimmed);
155
- if (msg && typeof msg === 'object' && typeof msg.type === 'string') {
156
- return {
157
- type: msg.type,
158
- text: msg.text,
159
- sessionId: msg.session_id,
160
- tokensGenerated: msg.tokens_generated,
161
- error: msg.error,
162
- signal: msg.signal,
163
- nodesAvailable: msg.nodes_available,
164
- nodes: msg.nodes,
165
- raw: msg,
166
- };
155
+ if (!msg || typeof msg !== 'object' || typeof msg.type !== 'string') {
156
+ return { type: 'activity', data: trimmed };
167
157
  }
158
+
159
+ if (msg.type === 'token' && msg.text) {
160
+ return { type: 'activity', subtype: 'text', data: msg.text, tokensGenerated: msg.tokens_generated };
161
+ }
162
+ if (msg.type === 'complete' || msg.type === 'result') {
163
+ return { type: 'result', text: msg.text || '', tokensGenerated: msg.tokens_generated, sessionId: msg.session_id };
164
+ }
165
+ if (msg.type === 'error') {
166
+ return { type: 'activity', subtype: 'error', data: msg.error || msg.message || 'Unknown error' };
167
+ }
168
+
169
+ const labels = {
170
+ signal_connected: `Connected to ${msg.signal || 'signal'}`,
171
+ matched: `Matched with ${Array.isArray(msg.nodes) ? msg.nodes.length : '?'} nodes`,
172
+ connected: `Session ${(msg.session_id || '').slice(0, 8) || 'started'}`,
173
+ pipeline: `Pipeline ready — ${Array.isArray(msg.nodes) ? msg.nodes.length : '?'} nodes`,
174
+ };
175
+ if (labels[msg.type]) {
176
+ return { type: 'activity', data: labels[msg.type], sessionId: msg.session_id };
177
+ }
178
+
179
+ return { type: 'activity', data: msg.text || msg.message || msg.type, raw: msg };
168
180
  } catch { /* not JSON, fall through */ }
169
181
  return { type: 'activity', data: trimmed };
170
182
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/gui",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE GUI — visual agent control plane",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groove-dev",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "Open-source agent orchestration layer — the AI company OS. Local model agent engine (GGUF/Ollama/llama-server), HuggingFace model browser, MCP integrations (Slack, Gmail, Stripe, 15+), agent scheduling (cron), business roles (CMO, CFO, EA). GUI dashboard, multi-agent coordination, zero cold-start, infinite sessions. Works with Claude Code, Codex, Gemini CLI, Ollama, any local model.",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "author": "Groove Dev <hello@groovedev.ai> (https://groovedev.ai)",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/cli",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE CLI — manage AI coding agents from your terminal",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/daemon",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE daemon — agent orchestration engine",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",
@@ -152,19 +152,31 @@ export class GrooveNetworkProvider extends Provider {
152
152
  }
153
153
  try {
154
154
  const msg = JSON.parse(trimmed);
155
- if (msg && typeof msg === 'object' && typeof msg.type === 'string') {
156
- return {
157
- type: msg.type,
158
- text: msg.text,
159
- sessionId: msg.session_id,
160
- tokensGenerated: msg.tokens_generated,
161
- error: msg.error,
162
- signal: msg.signal,
163
- nodesAvailable: msg.nodes_available,
164
- nodes: msg.nodes,
165
- raw: msg,
166
- };
155
+ if (!msg || typeof msg !== 'object' || typeof msg.type !== 'string') {
156
+ return { type: 'activity', data: trimmed };
167
157
  }
158
+
159
+ if (msg.type === 'token' && msg.text) {
160
+ return { type: 'activity', subtype: 'text', data: msg.text, tokensGenerated: msg.tokens_generated };
161
+ }
162
+ if (msg.type === 'complete' || msg.type === 'result') {
163
+ return { type: 'result', text: msg.text || '', tokensGenerated: msg.tokens_generated, sessionId: msg.session_id };
164
+ }
165
+ if (msg.type === 'error') {
166
+ return { type: 'activity', subtype: 'error', data: msg.error || msg.message || 'Unknown error' };
167
+ }
168
+
169
+ const labels = {
170
+ signal_connected: `Connected to ${msg.signal || 'signal'}`,
171
+ matched: `Matched with ${Array.isArray(msg.nodes) ? msg.nodes.length : '?'} nodes`,
172
+ connected: `Session ${(msg.session_id || '').slice(0, 8) || 'started'}`,
173
+ pipeline: `Pipeline ready — ${Array.isArray(msg.nodes) ? msg.nodes.length : '?'} nodes`,
174
+ };
175
+ if (labels[msg.type]) {
176
+ return { type: 'activity', data: labels[msg.type], sessionId: msg.session_id };
177
+ }
178
+
179
+ return { type: 'activity', data: msg.text || msg.message || msg.type, raw: msg };
168
180
  } catch { /* not JSON, fall through */ }
169
181
  return { type: 'activity', data: trimmed };
170
182
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groove-dev/gui",
3
- "version": "0.27.52",
3
+ "version": "0.27.53",
4
4
  "description": "GROOVE GUI — visual agent control plane",
5
5
  "license": "FSL-1.1-Apache-2.0",
6
6
  "type": "module",