clawculator 2.8.4 → 2.9.1
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/clawculator.js
CHANGED
|
@@ -175,7 +175,6 @@ async function main() {
|
|
|
175
175
|
exec(`open "${result.htmlPath}" 2>/dev/null || xdg-open "${result.htmlPath}" 2>/dev/null`, () => {
|
|
176
176
|
process.exit(0);
|
|
177
177
|
});
|
|
178
|
-
// Don't exit immediately — give exec time to open browser
|
|
179
178
|
setTimeout(() => process.exit(0), 2000);
|
|
180
179
|
return;
|
|
181
180
|
}
|
package/package.json
CHANGED
|
@@ -392,9 +392,8 @@ function generateSnapshotCard(analysis, outputDir) {
|
|
|
392
392
|
|
|
393
393
|
console.log(lines.join('\n'));
|
|
394
394
|
|
|
395
|
-
|
|
396
|
-
console.log(`
|
|
397
|
-
console.log(` ${D}Screenshot this terminal or open the HTML — both work!${R}\n`);
|
|
395
|
+
console.log(` \x1b[32m✓\x1b[0m Card saved: ${htmlPath}`);
|
|
396
|
+
console.log(` \x1b[90mOpen it → screenshot → drag into any tweet or post\x1b[0m\n`);
|
|
398
397
|
|
|
399
398
|
return { htmlPath, grade, costRange };
|
|
400
399
|
}
|
package/src/snapshotCard.js
CHANGED
|
@@ -392,9 +392,8 @@ function generateSnapshotCard(analysis, outputDir) {
|
|
|
392
392
|
|
|
393
393
|
console.log(lines.join('\n'));
|
|
394
394
|
|
|
395
|
-
|
|
396
|
-
console.log(`
|
|
397
|
-
console.log(` ${D}Screenshot this terminal or open the HTML — both work!${R}\n`);
|
|
395
|
+
console.log(` \x1b[32m✓\x1b[0m Card saved: ${htmlPath}`);
|
|
396
|
+
console.log(` \x1b[90mOpen it → screenshot → drag into any tweet or post\x1b[0m\n`);
|
|
398
397
|
|
|
399
398
|
return { htmlPath, grade, costRange };
|
|
400
399
|
}
|