@stevederico/dotbot 0.20.2 → 0.21.0
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/CHANGELOG.md +4 -0
- package/bin/dotbot.js +5 -2
- package/dotbot.db +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/dotbot.js
CHANGED
|
@@ -64,6 +64,7 @@ const DEFAULT_DB = './dotbot.db';
|
|
|
64
64
|
let spinnerInterval = null;
|
|
65
65
|
|
|
66
66
|
function startSpinner() {
|
|
67
|
+
if (spinnerInterval) clearInterval(spinnerInterval);
|
|
67
68
|
spinnerInterval = setInterval(() => {
|
|
68
69
|
process.stdout.write('.');
|
|
69
70
|
}, 300);
|
|
@@ -256,7 +257,8 @@ async function runChat(message, options) {
|
|
|
256
257
|
process.stdout.write(event.text);
|
|
257
258
|
break;
|
|
258
259
|
case 'tool_start':
|
|
259
|
-
|
|
260
|
+
stopSpinner(''); // Stop thinking spinner silently
|
|
261
|
+
process.stdout.write(`[${event.name}] `);
|
|
260
262
|
startSpinner();
|
|
261
263
|
break;
|
|
262
264
|
case 'tool_result':
|
|
@@ -348,7 +350,8 @@ async function runRepl(options) {
|
|
|
348
350
|
assistantContent += event.text;
|
|
349
351
|
break;
|
|
350
352
|
case 'tool_start':
|
|
351
|
-
|
|
353
|
+
stopSpinner(''); // Stop thinking spinner silently
|
|
354
|
+
process.stdout.write(`[${event.name}] `);
|
|
352
355
|
startSpinner();
|
|
353
356
|
break;
|
|
354
357
|
case 'tool_result':
|
package/dotbot.db
CHANGED
|
Binary file
|
package/package.json
CHANGED