lazyclaw 3.99.23 → 3.99.25
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/package.json +1 -1
- package/web/dashboard.html +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lazyclaw",
|
|
3
|
-
"version": "3.99.
|
|
3
|
+
"version": "3.99.25",
|
|
4
4
|
"description": "Lazy, elegant terminal CLI for chatting with Claude / OpenAI / Gemini / Ollama and orchestrating multi-step LLM workflows. Banner-on-launch, slash-command ghost autocomplete, persistent sessions, local HTTP gateway.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
package/web/dashboard.html
CHANGED
|
@@ -1405,7 +1405,13 @@
|
|
|
1405
1405
|
headers: { 'content-type': 'application/json' },
|
|
1406
1406
|
body: JSON.stringify(body),
|
|
1407
1407
|
});
|
|
1408
|
-
|
|
1408
|
+
// Daemon's POST /agent returns { reply, usage?, cost? }. Older
|
|
1409
|
+
// drafts used { text } / { output }; accept any of them so a
|
|
1410
|
+
// dashboard hitting an older or newer daemon both work.
|
|
1411
|
+
const reply = (typeof r.reply === 'string' ? r.reply : '')
|
|
1412
|
+
|| (typeof r.text === 'string' ? r.text : '')
|
|
1413
|
+
|| (typeof r.output === 'string' ? r.output : '')
|
|
1414
|
+
|| '(empty)';
|
|
1409
1415
|
appendMsg('assistant', reply);
|
|
1410
1416
|
chatHistory.push({ role: 'assistant', text: reply });
|
|
1411
1417
|
const dur = ((Date.now() - t0) / 1000).toFixed(1);
|