@melaya/runner 1.0.10 → 1.0.11

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.
@@ -134,6 +134,14 @@ export async function connect(opts) {
134
134
  activeProcesses.delete(payload.runId);
135
135
  const status = code === 0 ? "done" : "failed";
136
136
  socket.emit("runner:runComplete", { runId: payload.runId, status });
137
+ // Also emit a pushEvent so the frontend clears the LIVE state
138
+ // (runner:runComplete only updates the DB, it doesn't broadcast)
139
+ socket.emit("runner:event", {
140
+ run_id: payload.runId,
141
+ event_type: "run_status",
142
+ status,
143
+ project: payload.project,
144
+ });
137
145
  console.log(chalk.gray(` ■ Pipeline finished (exit ${code})\n`));
138
146
  console.log(chalk.gray(" Waiting for pipeline runs...\n"));
139
147
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melaya/runner",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Run Melaya AI pipelines locally with your own LM Studio or Ollama models",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,