duclaw-cli 1.8.27 → 1.8.28
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/bundle.js +46 -2
- package/dist/main.js +1 -1
- package/dist/web/assets/index-C9gholC4.css +1 -0
- package/dist/web/assets/{index-IW6c8h0i.js → index-EQjlrIxL.js} +3 -3
- package/dist/web/index.html +2 -2
- package/dist/worker-main.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/index-DeFB8-yJ.css +0 -1
package/dist/bundle.js
CHANGED
|
@@ -30242,7 +30242,7 @@ function printHelp() {
|
|
|
30242
30242
|
`);
|
|
30243
30243
|
}
|
|
30244
30244
|
function printVersion() {
|
|
30245
|
-
console.log(`duclaw-cli v${true ? "1.8.
|
|
30245
|
+
console.log(`duclaw-cli v${true ? "1.8.28" : "unknown"}`);
|
|
30246
30246
|
}
|
|
30247
30247
|
function getDuclawTemplate() {
|
|
30248
30248
|
return {
|
|
@@ -50451,6 +50451,17 @@ agentRoutes.get("/goals/:gid/tasks/:tid/logs", async (c) => {
|
|
|
50451
50451
|
content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
|
|
50452
50452
|
};
|
|
50453
50453
|
}
|
|
50454
|
+
if (block.type === "thinking") {
|
|
50455
|
+
return {
|
|
50456
|
+
type: "thinking",
|
|
50457
|
+
thinking: block.thinking.slice(0, 2e3)
|
|
50458
|
+
};
|
|
50459
|
+
}
|
|
50460
|
+
if (block.type === "image") {
|
|
50461
|
+
return {
|
|
50462
|
+
type: "image"
|
|
50463
|
+
};
|
|
50464
|
+
}
|
|
50454
50465
|
return { type: "unknown" };
|
|
50455
50466
|
});
|
|
50456
50467
|
return {
|
|
@@ -50599,6 +50610,17 @@ agentRoutes.get("/goals/:gid/chat/logs", async (c) => {
|
|
|
50599
50610
|
content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
|
|
50600
50611
|
};
|
|
50601
50612
|
}
|
|
50613
|
+
if (block.type === "thinking") {
|
|
50614
|
+
return {
|
|
50615
|
+
type: "thinking",
|
|
50616
|
+
thinking: block.thinking.slice(0, 2e3)
|
|
50617
|
+
};
|
|
50618
|
+
}
|
|
50619
|
+
if (block.type === "image") {
|
|
50620
|
+
return {
|
|
50621
|
+
type: "image"
|
|
50622
|
+
};
|
|
50623
|
+
}
|
|
50602
50624
|
return { type: "unknown" };
|
|
50603
50625
|
});
|
|
50604
50626
|
return {
|
|
@@ -50811,6 +50833,17 @@ departmentRoutes.get("/departments/:name/members/:memberName/context", async (c)
|
|
|
50811
50833
|
content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
|
|
50812
50834
|
};
|
|
50813
50835
|
}
|
|
50836
|
+
if (block.type === "thinking") {
|
|
50837
|
+
return {
|
|
50838
|
+
type: "thinking",
|
|
50839
|
+
thinking: block.thinking.slice(0, 2e3)
|
|
50840
|
+
};
|
|
50841
|
+
}
|
|
50842
|
+
if (block.type === "image") {
|
|
50843
|
+
return {
|
|
50844
|
+
type: "image"
|
|
50845
|
+
};
|
|
50846
|
+
}
|
|
50814
50847
|
return { type: "unknown" };
|
|
50815
50848
|
});
|
|
50816
50849
|
return { index: idx, role: msg.role, blocks };
|
|
@@ -51334,6 +51367,17 @@ var messageToAgentLogEntry = (message, index) => ({
|
|
|
51334
51367
|
content: typeof block.content === "string" ? block.content.slice(0, 4e3) : JSON.stringify(block.content).slice(0, 4e3)
|
|
51335
51368
|
};
|
|
51336
51369
|
}
|
|
51370
|
+
if (block.type === "thinking") {
|
|
51371
|
+
return {
|
|
51372
|
+
type: "thinking",
|
|
51373
|
+
thinking: block.thinking.slice(0, 4e3)
|
|
51374
|
+
};
|
|
51375
|
+
}
|
|
51376
|
+
if (block.type === "image") {
|
|
51377
|
+
return {
|
|
51378
|
+
type: "image"
|
|
51379
|
+
};
|
|
51380
|
+
}
|
|
51337
51381
|
return { type: "unknown" };
|
|
51338
51382
|
})
|
|
51339
51383
|
});
|
|
@@ -51635,7 +51679,7 @@ var systemRoutes = new Hono2();
|
|
|
51635
51679
|
var startTime = Date.now();
|
|
51636
51680
|
systemRoutes.get("/system/info", (c) => {
|
|
51637
51681
|
return c.json({
|
|
51638
|
-
version: true ? "1.8.
|
|
51682
|
+
version: true ? "1.8.28" : "unknown",
|
|
51639
51683
|
uptime: Math.floor((Date.now() - startTime) / 1e3),
|
|
51640
51684
|
env: process.env.NODE_ENV || "development",
|
|
51641
51685
|
nodeVersion: process.version
|