clawaid 1.1.29 → 1.1.30

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/web/index.html +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawaid",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "AI-powered diagnostic and repair tool for OpenClaw",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/web/index.html CHANGED
@@ -1271,8 +1271,16 @@
1271
1271
  scrollDown();
1272
1272
  }
1273
1273
 
1274
- // ═══ Paywall ══════════════════════════════════════════════════════════════
1274
+ // ═══ Paywall (v4: ClawAid is now completely FREE — this should never be shown) ══
1275
1275
  function showPaywall(data) {
1276
+ // v4: ClawAid is completely free. If this function is called, show a friendly message.
1277
+ var freeMsg = isZh
1278
+ ? '<div style="text-align:center;padding:40px 20px;"><div style="font-size:48px;margin-bottom:16px;">🎉</div><h2 style="margin-bottom:12px;">ClawAid 完全免费!</h2><p style="color:var(--text-secondary);">请重新运行 <code>npx clawaid@latest</code> 获取最新版本</p></div>'
1279
+ : '<div style="text-align:center;padding:40px 20px;"><div style="font-size:48px;margin-bottom:16px;">🎉</div><h2 style="margin-bottom:12px;">ClawAid is Completely Free!</h2><p style="color:var(--text-secondary);">Please run <code>npx clawaid@latest</code> to get the latest version</p></div>';
1280
+ resultEl.innerHTML = freeMsg;
1281
+ return; // Skip all payment UI below
1282
+
1283
+ // === Legacy payment code kept for reference (unreachable) ===
1276
1284
  var STRIPE_URL = 'https://buy.stripe.com/bJe8wReoT7oZ9XH7tU0oM02';
1277
1285
  var payMethod = data.payMethod || (data.isChinese ? 'xunhupay' : 'stripe');
1278
1286
  if (isZh && payMethod !== 'xunhupay') payMethod = 'xunhupay';