@toothfairyai/cli 1.0.6 → 1.0.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/bin/toothfairy.js +3 -4
- package/package.json +2 -2
package/bin/toothfairy.js
CHANGED
|
@@ -298,7 +298,7 @@ program
|
|
|
298
298
|
if (text && type === 'response') {
|
|
299
299
|
// For real-time streaming, we overwrite the current line
|
|
300
300
|
process.stdout.write('\r\x1b[K'); // Clear current line
|
|
301
|
-
process.stdout.write(chalk.green('
|
|
301
|
+
process.stdout.write(chalk.green('🧚 Response: ') + text);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
304
|
|
|
@@ -361,14 +361,13 @@ program
|
|
|
361
361
|
// Final response with all metadata
|
|
362
362
|
finalResponse = eventData;
|
|
363
363
|
if (currentText) {
|
|
364
|
-
// Ensure we have a clean final display
|
|
364
|
+
// Ensure we have a clean final display - just add the final emoji
|
|
365
365
|
if (currentSpinner) {
|
|
366
366
|
currentSpinner.stop();
|
|
367
367
|
currentSpinner = null;
|
|
368
368
|
}
|
|
369
369
|
process.stdout.write('\r\x1b[K'); // Clear current line
|
|
370
|
-
|
|
371
|
-
console.log(currentText.trim());
|
|
370
|
+
process.stdout.write(chalk.blue('🪄 ') + currentText.trim());
|
|
372
371
|
}
|
|
373
372
|
} else if (eventType === 'error') {
|
|
374
373
|
const errorMsg = eventData.message || 'Unknown streaming error';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toothfairyai/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Command-line interface for ToothFairy AI API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test:watch": "jest --watch --passWithNoTests",
|
|
14
14
|
"lint": "eslint src/**/*.js bin/**/*.js || true",
|
|
15
15
|
"lint:fix": "eslint src/**/*.js bin/**/*.js --fix || true",
|
|
16
|
-
"prepack
|
|
16
|
+
"prepack": "npm run test"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"toothfairy",
|