skopix 2.0.111 → 2.0.113

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.
@@ -1132,7 +1132,17 @@ export async function dashboardCommand(options) {
1132
1132
  const recordingId = pathname.split('/')[3];
1133
1133
  const recording = activeRecordings.get(recordingId);
1134
1134
  if (!recording) { sendJSON(res, 404, { error: 'Recording not found' }); return; }
1135
+ // Solo mode: stop the local recorder process
1135
1136
  try { if (recording.process && recording.process.stdin) recording.process.stdin.write('stop\n'); } catch {}
1137
+ // Team mode: tell the agent running the recorder to stop
1138
+ if (teamMode) {
1139
+ for (const agent of agents.values()) {
1140
+ if (agent.currentJob && agent.currentJob.recordingId === recordingId) {
1141
+ sendToAgent(agent, { type: 'stopRecord', recordingId });
1142
+ break;
1143
+ }
1144
+ }
1145
+ }
1136
1146
  await new Promise(resolve => {
1137
1147
  if (recording.status === 'stopped') return resolve();
1138
1148
  const timeout = setTimeout(resolve, 5000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skopix",
3
- "version": "2.0.111",
3
+ "version": "2.0.113",
4
4
  "description": "Browser-based QA tool — record tests by using your app, replay them deterministically, generate Playwright code automatically",
5
5
  "main": "cli/index.js",
6
6
  "bin": {