opencode-swarm 7.52.0 → 7.52.1

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/cli/index.js CHANGED
@@ -52,7 +52,7 @@ var package_default;
52
52
  var init_package = __esm(() => {
53
53
  package_default = {
54
54
  name: "opencode-swarm",
55
- version: "7.52.0",
55
+ version: "7.52.1",
56
56
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
57
57
  main: "dist/index.js",
58
58
  types: "dist/index.d.ts",
package/dist/index.js CHANGED
@@ -69,7 +69,7 @@ var package_default;
69
69
  var init_package = __esm(() => {
70
70
  package_default = {
71
71
  name: "opencode-swarm",
72
- version: "7.52.0",
72
+ version: "7.52.1",
73
73
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
74
74
  main: "dist/index.js",
75
75
  types: "dist/index.d.ts",
@@ -40634,6 +40634,27 @@ function resolveDelegatedPlanTaskId(args2, knownPlanTaskIds) {
40634
40634
  args2.task,
40635
40635
  args2.input
40636
40636
  ];
40637
+ const taskLineMatches = new Set;
40638
+ for (const field of candidateTextFields) {
40639
+ if (typeof field !== "string")
40640
+ continue;
40641
+ const taskLine = extractTaskLine(field);
40642
+ if (!taskLine)
40643
+ continue;
40644
+ for (const m of taskLine.matchAll(/\b(\d+\.\d+(?:\.\d+)*)\b/g)) {
40645
+ const candidate = m[1];
40646
+ if (!isStrictTaskId(candidate))
40647
+ continue;
40648
+ if (knownPlanTaskIds && !knownPlanTaskIds.has(candidate))
40649
+ continue;
40650
+ taskLineMatches.add(candidate);
40651
+ }
40652
+ }
40653
+ if (taskLineMatches.size === 1) {
40654
+ return taskLineMatches.values().next().value;
40655
+ }
40656
+ if (taskLineMatches.size > 1)
40657
+ return null;
40637
40658
  const seen = new Set;
40638
40659
  for (const field of candidateTextFields) {
40639
40660
  if (typeof field !== "string")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.52.0",
3
+ "version": "7.52.1",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",