xtrm-tools 2.1.23 → 2.1.24
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/cli/package.json
CHANGED
|
@@ -71,7 +71,9 @@ export default function (pi: ExtensionAPI) {
|
|
|
71
71
|
if (isBashToolResult(event)) {
|
|
72
72
|
const command = event.input.command;
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
// Auto-claim on bd update --claim regardless of exit code.
|
|
75
|
+
// bd returns exit 1 with "already in_progress" when status unchanged — still a valid claim intent.
|
|
76
|
+
if (command && /\bbd\s+update\b/.test(command) && /--claim\b/.test(command)) {
|
|
75
77
|
const issueMatch = command.match(/\bbd\s+update\s+(\S+)/);
|
|
76
78
|
if (issueMatch) {
|
|
77
79
|
const issueId = issueMatch[1];
|