@bivy/bivy 0.16.19-staging.1 → 0.16.19-staging.2

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.
@@ -19,7 +19,10 @@ export function labelsMatch(filter, eventLabels) {
19
19
  const filters = (filter && filter.length > 0 ? filter : DEFAULT_LABEL_FILTER).map((l) => l.trim().toLowerCase()).filter(Boolean);
20
20
  if (filters.length === 0)
21
21
  return true;
22
- return normalized.some((label) => filters.some((f) => label === f || label.startsWith(`${f}/`)));
22
+ // Prefix matching is for routing labels, not status labels such as
23
+ // bivy/<node>:in-progress. Otherwise claiming work triggers another run.
24
+ // Explicit custom labels (including ones containing ':') still match exactly.
25
+ return normalized.some((label) => filters.some((f) => label === f || (label.startsWith(`${f}/`) && !label.includes(":"))));
23
26
  }
24
27
  function actionAllowed(rule, action) {
25
28
  if (!rule.actions?.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bivy/bivy",
3
- "version": "0.16.19-staging.1",
3
+ "version": "0.16.19-staging.2",
4
4
  "type": "module",
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "Run coding agents on machines you own. Open-source, self-hostable agent workspace.",