blun-king-cli 7.0.4 → 7.0.5
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/lib/chat.js +2 -3
- package/lib/ui.js +2 -2
- package/package.json +1 -1
package/lib/chat.js
CHANGED
|
@@ -69,8 +69,6 @@ function startChat() {
|
|
|
69
69
|
var username = (creds ? creds.name : null) || "local";
|
|
70
70
|
var model = settings.model || "auto";
|
|
71
71
|
|
|
72
|
-
// Show permission line
|
|
73
|
-
ui.renderPermissionLine(permissionMode);
|
|
74
72
|
console.log();
|
|
75
73
|
|
|
76
74
|
var SLASH_COMMANDS = [
|
|
@@ -106,13 +104,14 @@ function startChat() {
|
|
|
106
104
|
return new Promise(function (resolveChat) {
|
|
107
105
|
rl.on("line", function (line) {
|
|
108
106
|
var input = line.trim();
|
|
109
|
-
ui.renderInputBoxClose();
|
|
110
107
|
|
|
111
108
|
if (!input) {
|
|
112
109
|
showPrompt(rl, username, model);
|
|
113
110
|
return;
|
|
114
111
|
}
|
|
115
112
|
|
|
113
|
+
ui.renderInputBoxClose();
|
|
114
|
+
|
|
116
115
|
// Commands
|
|
117
116
|
if (input === "/exit" || input === "/quit") {
|
|
118
117
|
ui.renderResponse("Goodbye!", "system");
|
package/lib/ui.js
CHANGED
|
@@ -114,10 +114,10 @@ function renderResponse(text, type) {
|
|
|
114
114
|
var rendered = renderMarkdown(text);
|
|
115
115
|
|
|
116
116
|
if (type === "agent") {
|
|
117
|
-
// Claude Code style - plain text
|
|
117
|
+
// Claude Code style - plain white text, no box, no color
|
|
118
118
|
var lines = rendered.split("\n");
|
|
119
119
|
lines.forEach(function (line) {
|
|
120
|
-
console.log(" " +
|
|
120
|
+
console.log(" " + line);
|
|
121
121
|
});
|
|
122
122
|
console.log();
|
|
123
123
|
} else if (type === "error") {
|