linkshell-cli 0.2.100 → 0.2.101

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.
@@ -1781,10 +1781,11 @@ export class AgentWorkspaceProxy {
1781
1781
  if (normalized === "reasoning" || normalized === "thinking") {
1782
1782
  const text = firstString(item, ["text", "content", "summary", "message"]) ??
1783
1783
  stringifyDefined(item.contentItems ?? item.summary);
1784
+ if (!text?.trim()) return true;
1784
1785
  this.upsertItem(conversationId, {
1785
1786
  ...base,
1786
1787
  kind: "thinking",
1787
- text: text ?? (streaming ? "正在思考" : "完成思考"),
1788
+ text,
1788
1789
  });
1789
1790
  return true;
1790
1791
  }