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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawculator",
3
- "version": "2.8.4",
3
+ "version": "2.9.1",
4
4
  "description": "AI cost forensics for OpenClaw and multi-model setups. Your friendly penny pincher. 100% offline. Zero AI. Pure deterministic logic.",
5
5
  "main": "src/analyzer.js",
6
6
  "bin": {
@@ -392,9 +392,8 @@ function generateSnapshotCard(analysis, outputDir) {
392
392
 
393
393
  console.log(lines.join('\n'));
394
394
 
395
- // Also mention the HTML file
396
- console.log(` ${D}HTML card saved: ${htmlPath}${R}`);
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
  }
@@ -392,9 +392,8 @@ function generateSnapshotCard(analysis, outputDir) {
392
392
 
393
393
  console.log(lines.join('\n'));
394
394
 
395
- // Also mention the HTML file
396
- console.log(` ${D}HTML card saved: ${htmlPath}${R}`);
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
  }