@gaia-ai/conductor 0.5.4 → 0.5.5
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.
|
@@ -236,7 +236,9 @@ export class Conductor {
|
|
|
236
236
|
const branch = await this.remote.getRunTicketBranchName(r.runUuid);
|
|
237
237
|
if (branch) {
|
|
238
238
|
try {
|
|
239
|
-
|
|
239
|
+
// Run-scoped (GAIA-183): close only this done run's own tab
|
|
240
|
+
// (label `#<runId>`), never a sibling/concurrent run's tab.
|
|
241
|
+
await this.executor.cleanupRun(branch, r.runId);
|
|
240
242
|
}
|
|
241
243
|
catch (err) {
|
|
242
244
|
this.logger.warn({ run: r.runUuid, err: String(err) }, 'run tab cleanup failed');
|
|
@@ -386,8 +388,12 @@ export class Conductor {
|
|
|
386
388
|
await this.executor.runHook('after_create', ws.path, { ticket: t.identifier }, env);
|
|
387
389
|
}
|
|
388
390
|
await this.executor.runHook('before_run', ws.path, { ticket: t.identifier }, env);
|
|
389
|
-
// Clear
|
|
390
|
-
|
|
391
|
+
// Clear a leftover tab for THIS run id in a reused workspace before
|
|
392
|
+
// starting it (GAIA-183): run-scoped so a still-open sibling run's tab is
|
|
393
|
+
// never killed. A fresh dispatch has no matching tab yet → a quiet no-op;
|
|
394
|
+
// a re-dispatch of the same run drops its stale duplicate before startRun
|
|
395
|
+
// re-creates it. Sibling prior-state run tabs are left to the worktree reap.
|
|
396
|
+
await this.executor.cleanupRun(t.branchName, run.runId);
|
|
391
397
|
const prompt = ws.instructions
|
|
392
398
|
? renderPrompt(this.config.prompt, {
|
|
393
399
|
identifier: t.identifier,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaia-ai/conductor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "GAIA conductor engine + CLI: registers, claims tickets via JSON:API, dispatches agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "conductor/packages/conductor"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@gaia-ai/core": "^0.5.
|
|
28
|
+
"@gaia-ai/core": "^0.5.5",
|
|
29
29
|
"@dropsh/plugin-oauth2": "^0.5.7",
|
|
30
30
|
"@dropsh/plugin-jsonapi-schema": "^0.5.7",
|
|
31
31
|
"commander": "^12.1.0",
|