@adhdev/daemon-core 0.9.82-rc.233 → 0.9.82-rc.234

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.82-rc.233",
3
+ "version": "0.9.82-rc.234",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1318,7 +1318,7 @@ function injectMeshSystemMessage(components: DaemonComponents, args: {
1318
1318
  return true;
1319
1319
  });
1320
1320
 
1321
- const isRefineTerminalEvent = new Set(['refine:completed', 'refine:failed']).has(args.event);
1321
+ const isTerminalEvent = new Set(['refine:completed', 'refine:failed', 'agent:generating_completed', 'agent:stopped']).has(args.event);
1322
1322
 
1323
1323
  if (coordinatorInstances.length === 0) {
1324
1324
  if (queuePendingMeshCoordinatorEvent({
@@ -1340,7 +1340,7 @@ function injectMeshSystemMessage(components: DaemonComponents, args: {
1340
1340
  return { success: true, forwarded: 0 };
1341
1341
  }
1342
1342
 
1343
- const allCoordinatorsGenerating = isRefineTerminalEvent && coordinatorInstances.every((inst) => {
1343
+ const allCoordinatorsGenerating = isTerminalEvent && coordinatorInstances.every((inst) => {
1344
1344
  const s = inst.getState();
1345
1345
  const status = readNonEmptyString(s.status).toLowerCase();
1346
1346
  const activeChatStatus = readNonEmptyString(s.activeChat?.status).toLowerCase();
@@ -1348,7 +1348,7 @@ function injectMeshSystemMessage(components: DaemonComponents, args: {
1348
1348
  || activeChatStatus === 'generating' || activeChatStatus === 'streaming';
1349
1349
  });
1350
1350
 
1351
- if (!isRefineTerminalEvent || allCoordinatorsGenerating) {
1351
+ if (!isTerminalEvent || allCoordinatorsGenerating) {
1352
1352
  if (queuePendingMeshCoordinatorEvent({
1353
1353
  event: args.event,
1354
1354
  meshId: args.meshId,