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.
- package/dist/index.js +4 -4
- 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
|
|
1503
|
-
if (
|
|
1504
|
-
const originalId = result.toolCallId.substring(0,
|
|
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}
|
|
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()
|