@lasso-ai/cli 2.1.6 → 2.1.7
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/overlay.js +24 -8
- package/package.json +1 -1
package/dist/overlay.js
CHANGED
|
@@ -20626,14 +20626,30 @@
|
|
|
20626
20626
|
}
|
|
20627
20627
|
}
|
|
20628
20628
|
function handleCommandBarPrompt(message) {
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20629
|
+
const taskId2 = message.taskId;
|
|
20630
|
+
let targetMsg = commandMessages.find((m) => m.id === taskId2);
|
|
20631
|
+
if (!targetMsg) {
|
|
20632
|
+
targetMsg = [...commandMessages].reverse().find((m) => m.role === "assistant");
|
|
20633
|
+
}
|
|
20634
|
+
if (!targetMsg) return;
|
|
20635
|
+
if (activeThinkingInterval) {
|
|
20636
|
+
clearInterval(activeThinkingInterval);
|
|
20637
|
+
activeThinkingInterval = null;
|
|
20638
|
+
}
|
|
20639
|
+
targetMsg.thinking = void 0;
|
|
20640
|
+
const question = message.prompt?.question || message.message || "";
|
|
20641
|
+
targetMsg.content = question;
|
|
20642
|
+
targetMsg.isStreaming = false;
|
|
20643
|
+
activeTaskId = null;
|
|
20644
|
+
updateSubmitButton(false);
|
|
20645
|
+
collabEmit("collab:action", {
|
|
20646
|
+
sessionId: state.collabProjectId,
|
|
20647
|
+
status: "idle"
|
|
20648
|
+
});
|
|
20649
|
+
renderMessages();
|
|
20650
|
+
scrollToBottom();
|
|
20651
|
+
if (commandInput) {
|
|
20652
|
+
commandInput.focus();
|
|
20637
20653
|
}
|
|
20638
20654
|
}
|
|
20639
20655
|
function renderMessages() {
|
package/package.json
CHANGED