duclaw-cli 1.8.26 → 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 CHANGED
@@ -30242,7 +30242,7 @@ function printHelp() {
30242
30242
  `);
30243
30243
  }
30244
30244
  function printVersion() {
30245
- console.log(`duclaw-cli v${true ? "1.8.26" : "unknown"}`);
30245
+ console.log(`duclaw-cli v${true ? "1.8.28" : "unknown"}`);
30246
30246
  }
30247
30247
  function getDuclawTemplate() {
30248
30248
  return {
@@ -45218,6 +45218,11 @@ The user will primarily request you perform software engineering tasks. This inc
45218
45218
  - Department Head \u4EA4\u4ED8\u7ED3\u679C\u540E\uFF0C\u5982\u679C\u7528\u6237\u53CD\u9988\u201C\u6253\u4E0D\u5F00\u201D\u201C\u6709 bug\u201D\u201C\u5E2E\u6211\u6539\u4E00\u4E0B\u201D\u201C\u518D\u51FA\u4E00\u7248\u201D\u7B49\uFF0C\u8FD9\u5C5E\u4E8E\u5BF9\u65E2\u6709\u4EA7\u51FA\u7684\u8FD4\u5DE5\u6216\u8FED\u4EE3\uFF0C\u9ED8\u8BA4\u5E94\u7EE7\u7EED\u4EA4\u7ED9\u539F\u8D23\u4EFB Department Head \u5904\u7406
45219
45219
  - \u4F18\u5148\u4F7F\u7528 mailbox_followup \u5BF9\u8BE5 Department Head \u6700\u8FD1\u4E00\u6B21\u76F8\u5173\u56DE\u4FE1\u8FFD\u52A0\u53CD\u9988\uFF0C\u907F\u514D CEO \u4EB2\u81EA\u4E0B\u573A\u91CD\u505A\u5B9E\u73B0
45220
45220
  - \u5982\u679C\u90E8\u95E8\u6CA1\u6709 Department Head\uFF0C\u5E94\u5148\u8865\u5EFA Department Head\uFF0C\u518D\u901A\u8FC7 Department Head \u5904\u7406\u4EFB\u52A1
45221
+
45222
+ ## \u72B6\u6001\u95EE\u8BE2\u786C\u89C4\u5219
45223
+ - \u5F53\u7528\u6237\u8BE2\u95EE\u201C\u73B0\u5728\u60C5\u51B5\u201D\u201C\u8FDB\u5EA6\u5982\u4F55\u201D\u201C\u6D4B\u8BD5\u60C5\u51B5\u201D\u201C\u8DD1\u5230\u54EA\u4E86\u201D\u201C\u8D1F\u8D23\u4EBA/\u56E2\u961F\u90A3\u8FB9\u600E\u4E48\u6837\u201D\u7B49\uFF0C\u4E14\u5F53\u524D\u4E0A\u4E0B\u6587\u91CC\u5DF2\u6709\u76F8\u5173 Department\u3001Department Head\u3001mailbox \u7EBF\u7A0B\u6216 <department-agent-reply>\uFF0C\u8FD9\u662F\u4E00\u6761\u534F\u8C03/\u95EE\u8BE2\u8BF7\u6C42\uFF0C\u4E0D\u662F\u8BA9 CEO \u4EB2\u81EA\u6267\u884C\u6D4B\u8BD5\u3001\u8BFB\u6587\u4EF6\u6216\u8DD1\u547D\u4EE4\u7684\u8BF7\u6C42\u3002
45224
+ - \u8FD9\u79CD\u60C5\u51B5\u4E0B\uFF0CCEO \u5E94\u4F18\u5148\u901A\u8FC7 department_list \u5B9A\u4F4D\u804C\u8D23\u5339\u914D\u7684 Department Head\uFF0C\u5E76\u7528 department_communicate \u6216 mailbox_followup \u5411\u8D1F\u8D23\u4EBA\u8BE2\u95EE\u771F\u5B9E\u8FDB\u5C55\u3001\u6D4B\u8BD5\u7ED3\u679C\u3001\u963B\u585E\u9879\u548C\u4E0B\u4E00\u6B65\uFF1B\u6536\u5230\u8D1F\u8D23\u4EBA\u56DE\u590D\u540E\u518D\u6C47\u603B\u7ED9\u7528\u6237\u3002
45225
+ - \u9664\u975E\u7528\u6237\u660E\u786E\u8981\u6C42\u201C\u4F60\u4EB2\u81EA\u9A8C\u8BC1/\u4F60\u81EA\u5DF1\u8DD1\u4E00\u904D\u201D\uFF0C\u6216\u786E\u8BA4\u6CA1\u6709\u53EF\u7528\u56E2\u961F/\u8D1F\u8D23\u4EBA\uFF0C\u5426\u5219 CEO \u4E0D\u5E94\u4E3A\u4E86\u56DE\u7B54\u8FDB\u5EA6\u6216\u6D4B\u8BD5\u60C5\u51B5\u800C\u8C03\u7528 bash/read/grep/edit \u7B49\u6267\u884C\u7C7B\u5DE5\u5177\u4E0B\u573A\u5E72\u6D3B\u3002
45221
45226
  </Department delegation>
45222
45227
 
45223
45228
  <Communication>
@@ -50446,6 +50451,17 @@ agentRoutes.get("/goals/:gid/tasks/:tid/logs", async (c) => {
50446
50451
  content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
50447
50452
  };
50448
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
+ }
50449
50465
  return { type: "unknown" };
50450
50466
  });
50451
50467
  return {
@@ -50594,6 +50610,17 @@ agentRoutes.get("/goals/:gid/chat/logs", async (c) => {
50594
50610
  content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
50595
50611
  };
50596
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
+ }
50597
50624
  return { type: "unknown" };
50598
50625
  });
50599
50626
  return {
@@ -50806,6 +50833,17 @@ departmentRoutes.get("/departments/:name/members/:memberName/context", async (c)
50806
50833
  content: typeof block.content === "string" ? block.content.slice(0, 2e3) : JSON.stringify(block.content).slice(0, 2e3)
50807
50834
  };
50808
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
+ }
50809
50847
  return { type: "unknown" };
50810
50848
  });
50811
50849
  return { index: idx, role: msg.role, blocks };
@@ -51329,6 +51367,17 @@ var messageToAgentLogEntry = (message, index) => ({
51329
51367
  content: typeof block.content === "string" ? block.content.slice(0, 4e3) : JSON.stringify(block.content).slice(0, 4e3)
51330
51368
  };
51331
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
+ }
51332
51381
  return { type: "unknown" };
51333
51382
  })
51334
51383
  });
@@ -51630,7 +51679,7 @@ var systemRoutes = new Hono2();
51630
51679
  var startTime = Date.now();
51631
51680
  systemRoutes.get("/system/info", (c) => {
51632
51681
  return c.json({
51633
- version: true ? "1.8.26" : "unknown",
51682
+ version: true ? "1.8.28" : "unknown",
51634
51683
  uptime: Math.floor((Date.now() - startTime) / 1e3),
51635
51684
  env: process.env.NODE_ENV || "development",
51636
51685
  nodeVersion: process.version