lupacode 0.2.3 → 0.2.4
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/bin/lupacode +1 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/bin/lupacode
CHANGED
package/dist/index.js
CHANGED
|
@@ -97541,6 +97541,8 @@ function groupConsecutiveParts(parts) {
|
|
|
97541
97541
|
const groups = [];
|
|
97542
97542
|
for (let i = 0;i < parts.length; i++) {
|
|
97543
97543
|
const part = parts[i];
|
|
97544
|
+
if (part.type === "step-start")
|
|
97545
|
+
continue;
|
|
97544
97546
|
const lastGroup = groups[groups.length - 1];
|
|
97545
97547
|
if (lastGroup && isToolPart(part) && isToolPart(lastGroup.parts[0])) {
|
|
97546
97548
|
lastGroup.parts.push(part);
|