opencode-gitlab-duo-agentic 0.2.16 → 0.2.17

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1499,9 +1499,9 @@ var DuoWorkflowModel = class {
1499
1499
  dlog(`phase1: ${toolResults.length} total, ${freshResults.length} fresh`);
1500
1500
  let sentToolResults = false;
1501
1501
  for (const result of freshResults) {
1502
- const hashIdx = result.toolCallId.indexOf("#");
1503
- if (hashIdx !== -1) {
1504
- const originalId = result.toolCallId.substring(0, hashIdx);
1502
+ const subIdx = result.toolCallId.indexOf("_sub_");
1503
+ if (subIdx !== -1) {
1504
+ const originalId = result.toolCallId.substring(0, subIdx);
1505
1505
  const group = model.#multiCallGroups.get(originalId);
1506
1506
  if (!group) {
1507
1507
  model.#sentToolCallIds.add(result.toolCallId);
@@ -1600,7 +1600,7 @@ var DuoWorkflowModel = class {
1600
1600
  controller.enqueue({ type: "text-end", id: textId });
1601
1601
  }
1602
1602
  if (Array.isArray(mapped)) {
1603
- const subIds = mapped.map((_, i) => `${event.requestId}#${i}`);
1603
+ const subIds = mapped.map((_, i) => `${event.requestId}_sub_${i}`);
1604
1604
  model.#multiCallGroups.set(event.requestId, {
1605
1605
  subIds,
1606
1606
  collected: /* @__PURE__ */ new Map()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-gitlab-duo-agentic",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "OpenCode plugin and provider for GitLab Duo Agentic workflows",
5
5
  "license": "MIT",
6
6
  "type": "module",