@clawos-dev/clawd 0.2.344 → 0.2.346
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.cjs +14 -3
- package/dist/share-md-viewer-error.html +1 -1
- package/dist/share-md-viewer.html +1 -1
- package/dist/share-ui/assets/{guest-CKi1Ff96.js → guest-CuCYJfhF.js} +2 -2
- package/dist/share-ui/assets/{guest-DcTfIUG3.css → guest-D76btdbG.css} +1 -1
- package/dist/share-ui/guest.html +2 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -13936,10 +13936,21 @@ function isUserPlainTextLine(obj) {
|
|
|
13936
13936
|
return part?.type === "text";
|
|
13937
13937
|
}
|
|
13938
13938
|
function injectTurnBoundaries(messages) {
|
|
13939
|
-
|
|
13939
|
+
let lastBoundaryIdx = -1;
|
|
13940
|
+
for (let i = messages.length - 1; i >= 0; i--) {
|
|
13941
|
+
if (messages[i].kind === "turn-end") {
|
|
13942
|
+
lastBoundaryIdx = i;
|
|
13943
|
+
break;
|
|
13944
|
+
}
|
|
13945
|
+
}
|
|
13940
13946
|
const out = [];
|
|
13941
13947
|
let contentSeen = false;
|
|
13942
|
-
for (
|
|
13948
|
+
for (let i = 0; i < messages.length; i++) {
|
|
13949
|
+
const m2 = messages[i];
|
|
13950
|
+
if (i <= lastBoundaryIdx) {
|
|
13951
|
+
out.push(m2);
|
|
13952
|
+
continue;
|
|
13953
|
+
}
|
|
13943
13954
|
if (m2.isSidechain) {
|
|
13944
13955
|
out.push(m2);
|
|
13945
13956
|
continue;
|
|
@@ -60225,7 +60236,7 @@ function computeMethodAccess(args) {
|
|
|
60225
60236
|
}
|
|
60226
60237
|
|
|
60227
60238
|
// src/version.ts
|
|
60228
|
-
var version = "0.2.
|
|
60239
|
+
var version = "0.2.346".length > 0 ? "0.2.346" : "dev";
|
|
60229
60240
|
|
|
60230
60241
|
// src/cli-probe/probe.ts
|
|
60231
60242
|
var fs59 = __toESM(require("fs"), 1);
|