@bakers-build/addon-remote-drupal 0.4.1-next.476 → 0.4.1-next.513
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/dist/src/index.js +10 -3
- package/package.json +4 -4
package/dist/src/index.js
CHANGED
|
@@ -472,15 +472,22 @@ export class DrupalBbRemote {
|
|
|
472
472
|
// transcript, then close the run's terminal tab. Two queries are used
|
|
473
473
|
// because this builder has no `IN` operator in use.
|
|
474
474
|
const rows = [
|
|
475
|
-
...(await this.finalizableRunsInState(id, 'done'))
|
|
476
|
-
|
|
475
|
+
...(await this.finalizableRunsInState(id, 'done')).map((row) => ({
|
|
476
|
+
row,
|
|
477
|
+
state: 'done',
|
|
478
|
+
})),
|
|
479
|
+
...(await this.finalizableRunsInState(id, 'cancelled')).map((row) => ({
|
|
480
|
+
row,
|
|
481
|
+
state: 'cancelled',
|
|
482
|
+
})),
|
|
477
483
|
];
|
|
478
484
|
// `started_at` is read back ONLY as a transcript-selection lower bound
|
|
479
485
|
// (BB-473, `AgentRunIdentity.startedAt`) for agents with no session-id
|
|
480
486
|
// mechanism (codex, opencode). It is NOT used to (re)compute duration_s,
|
|
481
487
|
// which stays derived from the transcript itself (BB-151).
|
|
482
|
-
return rows.map((r) => ({
|
|
488
|
+
return rows.map(({ row: r, state }) => ({
|
|
483
489
|
runUuid: r.id,
|
|
490
|
+
state,
|
|
484
491
|
// The `#<runId>` tab-label token: scopes the run's tab-close (BB-183).
|
|
485
492
|
runId: Number(r.attr('drupal_internal__id')),
|
|
486
493
|
// The `after_run` context (BB-599): durable, so it survives a restart.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-remote-drupal",
|
|
3
|
-
"version": "0.4.1-next.
|
|
3
|
+
"version": "0.4.1-next.513",
|
|
4
4
|
"description": "bakers.build conductor remote addon: the Drupal/JSON:API control-plane remote.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dropsh": "^0.8.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@bakers-build/conductor": "^0.4.1-next.
|
|
27
|
-
"@bakers-build/core": "^0.4.1-next.
|
|
28
|
-
"@bakers-build/message": "^0.4.1-next.
|
|
26
|
+
"@bakers-build/conductor": "^0.4.1-next.513",
|
|
27
|
+
"@bakers-build/core": "^0.4.1-next.513",
|
|
28
|
+
"@bakers-build/message": "^0.4.1-next.513"
|
|
29
29
|
}
|
|
30
30
|
}
|