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.
- package/dist/cli/src/index.js +1 -0
- package/dist/cli/src/index.js.map +1 -1
- package/dist/cli/src/providers.js +49 -3
- package/dist/cli/src/providers.js.map +1 -1
- package/dist/cli/src/runtime/acp/agent-workspace.js +3 -1
- package/dist/cli/src/runtime/acp/agent-workspace.js.map +1 -1
- package/dist/cli/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/providers.ts +50 -3
- package/src/runtime/acp/agent-workspace.ts +2 -1
|
@@ -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
|
|
1788
|
+
text,
|
|
1788
1789
|
});
|
|
1789
1790
|
return true;
|
|
1790
1791
|
}
|