thumbgate 1.40.10 → 1.40.13
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/.claude-plugin/plugin.json +1 -1
- package/.well-known/mcp/server-card.json +1 -1
- package/README.md +46 -40
- package/adapters/claude/.mcp.json +3 -3
- package/adapters/forge/forge.yaml +3 -3
- package/adapters/future-agi/.mcp.json +1 -1
- package/adapters/future-agi/config.toml +1 -1
- package/adapters/future-agi/opencode.json +1 -1
- package/adapters/herdr/herdr-plugin.toml +2 -2
- package/adapters/mcp/server-stdio.js +1 -1
- package/adapters/opencode/opencode.json +1 -1
- package/bin/cli.js +9 -8
- package/bin/postinstall.js +2 -2
- package/config/unit-costs.json +47 -0
- package/package.json +16 -5
- package/public/admin.html +284 -29
- package/public/agent-manager.html +2 -2
- package/public/agents-cost-savings.html +1 -1
- package/public/codex-enterprise.html +2 -2
- package/public/compare.html +3 -3
- package/public/dashboard.html +28 -9
- package/public/diagnostic.html +1 -1
- package/public/founders.html +1 -1
- package/public/guide.html +4 -4
- package/public/index.html +80 -116
- package/public/install.html +19 -19
- package/public/js/connect-panel.js +21 -7
- package/public/learn.html +8 -0
- package/public/lessons.html +1 -1
- package/public/numbers.html +2 -2
- package/public/pricing.html +12 -9
- package/public/pro.html +96 -137
- package/public/project-switcher.js +50 -19
- package/scripts/auto-wire-hooks.js +36 -2
- package/scripts/billing.js +3 -1
- package/scripts/cli-schema.js +2 -3
- package/scripts/commercial-offer.js +1 -1
- package/scripts/cost-meter.js +161 -0
- package/scripts/gates-engine.js +26 -8
- package/scripts/hook-runtime.js +18 -1
- package/scripts/mailer/resend-mailer.js +2 -0
- package/scripts/owner-admin.js +338 -16
- package/scripts/owner-alerts.js +79 -0
- package/scripts/owner-telemetry.js +113 -3
- package/scripts/pr-manager.js +156 -41
- package/scripts/project-catalog.js +3 -1
- package/scripts/project-identity.js +10 -2
- package/scripts/seo-gsd.js +1 -1
- package/scripts/telemetry-analytics.js +7 -1
- package/scripts/unit-economics.js +138 -0
- package/server.json +2 -2
- package/src/api/server.js +62 -4
- package/src/mcp-writeguard.js +2 -2
package/public/pro.html
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<meta name="robots" content="noindex, nofollow">
|
|
7
7
|
__GOOGLE_SITE_VERIFICATION_META__
|
|
8
|
-
<title>ThumbGate Pro |
|
|
9
|
-
<meta name="description" content="ThumbGate Pro
|
|
10
|
-
<meta property="og:title" content="ThumbGate Pro |
|
|
11
|
-
<meta property="og:description" content="
|
|
8
|
+
<title>ThumbGate Pro | Every learned rule active, recall and exports</title>
|
|
9
|
+
<meta name="description" content="ThumbGate Pro keeps every learned rule active, removes the free thumbs limit, and adds recall, lesson search and DPO export. $19 a month or $149 a year.">
|
|
10
|
+
<meta property="og:title" content="ThumbGate Pro | Every learned rule active, recall and exports">
|
|
11
|
+
<meta property="og:description" content="ThumbGate Pro keeps every learned rule active, removes the free thumbs limit, and adds recall, lesson search and DPO export.">
|
|
12
12
|
<meta property="og:type" content="website">
|
|
13
13
|
<meta property="og:url" content="__APP_ORIGIN__/pro">
|
|
14
14
|
<link rel="canonical" href="__APP_ORIGIN__/pro">
|
|
@@ -31,14 +31,48 @@ __GA_BOOTSTRAP__
|
|
|
31
31
|
<script type="application/ld+json">
|
|
32
32
|
{
|
|
33
33
|
"@context": "https://schema.org",
|
|
34
|
-
"@type": "SoftwareApplication", "name": "ThumbGate Pro", "applicationCategory": "DeveloperApplication", "operatingSystem": "Cross-platform, Node.js >=18.18.0", "description": "
|
|
34
|
+
"@type": "SoftwareApplication", "name": "ThumbGate Pro", "applicationCategory": "DeveloperApplication", "operatingSystem": "Cross-platform, Node.js >=18.18.0", "description": "ThumbGate Pro keeps every learned rule active, removes the free thumbs limit, and adds recall, lesson search and DPO export. Self-serve software for one person.", "url": "__APP_ORIGIN__/pro", "downloadUrl": "https://www.npmjs.com/package/thumbgate", "dateModified": "2026-11-24", "creator": { "@type": "Person", "name": "Igor Ganapolsky", "url": "https://github.com/IgorGanapolsky" }, "offers": [{ "@type": "Offer", "name": "ThumbGate Pro Monthly", "price": "__PRO_PRICE_DOLLARS__", "priceCurrency": "USD", "url": "__APP_ORIGIN__/checkout/pro?plan_id=pro&billing_cycle=monthly&landing_path=%2Fpro" }, { "@type": "Offer", "name": "ThumbGate Pro Annual", "price": "149", "priceCurrency": "USD", "url": "__APP_ORIGIN__/checkout/pro?plan_id=pro&billing_cycle=annual&landing_path=%2Fpro" }]
|
|
35
35
|
}
|
|
36
36
|
</script>
|
|
37
37
|
|
|
38
38
|
<script type="application/ld+json">
|
|
39
39
|
{
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
"@context": "https://schema.org",
|
|
41
|
+
"@type": "FAQPage",
|
|
42
|
+
"mainEntity": [
|
|
43
|
+
{
|
|
44
|
+
"@type": "Question",
|
|
45
|
+
"name": "How is Pro different from the free install?",
|
|
46
|
+
"acceptedAnswer": {
|
|
47
|
+
"@type": "Answer",
|
|
48
|
+
"text": "Pro keeps every learned rule active (free keeps 3), records unlimited thumbs (free: 2 a day, 10 in total), and adds recall, lesson search and DPO export. Blocking and the local dashboard are the same on both."
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"@type": "Question",
|
|
53
|
+
"name": "Does Pro require a cloud account?",
|
|
54
|
+
"acceptedAnswer": {
|
|
55
|
+
"@type": "Answer",
|
|
56
|
+
"text": "Pro runs locally. You pay through Stripe checkout and activate Pro with a license key. Hosted team sync and a hosted org dashboard are not generally available."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"@type": "Question",
|
|
61
|
+
"name": "What happens after checkout?",
|
|
62
|
+
"acceptedAnswer": {
|
|
63
|
+
"@type": "Answer",
|
|
64
|
+
"text": "You get a Pro license key. Once it is active, the free limits are lifted and recall, lesson search and exports start working."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"@type": "Question",
|
|
69
|
+
"name": "When should I choose Enterprise instead of Pro?",
|
|
70
|
+
"acceptedAnswer": {
|
|
71
|
+
"@type": "Answer",
|
|
72
|
+
"text": "Pro is software for one person. If you want Igor to set up a gate for one workflow, that is the separate $499 Setup Sprint. Hosted team features are not available."
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
]
|
|
42
76
|
}
|
|
43
77
|
</script>
|
|
44
78
|
|
|
@@ -729,29 +763,28 @@ __GA_BOOTSTRAP__
|
|
|
729
763
|
<div class="container hero-grid">
|
|
730
764
|
<div class="panel hero-copy">
|
|
731
765
|
<div class="eyebrow">Paid lane for individual operators</div>
|
|
732
|
-
<h1>
|
|
733
|
-
<p style="font-size:13px;opacity:0.8;margin-bottom:0.5rem;">Updated: <time datetime="2026-
|
|
734
|
-
<p>ThumbGate Pro is
|
|
735
|
-
<p>
|
|
766
|
+
<h1>Keep every lesson your agent learned, and ask it what went wrong before.</h1>
|
|
767
|
+
<p style="font-size:13px;opacity:0.8;margin-bottom:0.5rem;">Updated: <time datetime="2026-11-24">2026-11-24</time> · by <a href="https://github.com/IgorGanapolsky" style="color:inherit;">Igor Ganapolsky</a></p>
|
|
768
|
+
<p>The free CLI already denies catastrophic commands and secret leaks. ThumbGate Pro is about memory: every rule you teach with a thumbs-down stays active, you can record as many thumbs as you like, and you can search and export what was learned.</p>
|
|
769
|
+
<p>Pro is self-serve software for one person. Enterprise diagnostics and custom services are handled through intake, not this buyer path.</p>
|
|
736
770
|
<div class="hero-proof">
|
|
737
|
-
<div class="proof-pill">
|
|
738
|
-
<div class="proof-pill">
|
|
739
|
-
<div class="proof-pill">
|
|
740
|
-
<div class="proof-pill">
|
|
771
|
+
<div class="proof-pill">Every learned rule active</div>
|
|
772
|
+
<div class="proof-pill">Unlimited thumbs</div>
|
|
773
|
+
<div class="proof-pill">Recall and lesson search</div>
|
|
774
|
+
<div class="proof-pill">DPO export and data exports</div>
|
|
741
775
|
</div>
|
|
742
776
|
<div class="hero-actions">
|
|
743
|
-
<a class="btn-primary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_hero&utm_campaign=pro_pack&cta_id=pro_page_primary&cta_placement=hero&plan_id=pro&landing_path=%2Fpro">Start Pro
|
|
744
|
-
<a class="btn-secondary btn-demo" href="/dashboard?utm_source=website&utm_medium=pro_page&utm_campaign=pro_pack">Open dashboard demo</a>
|
|
777
|
+
<a class="btn-primary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_hero&utm_campaign=pro_pack&cta_id=pro_page_primary&cta_placement=hero&plan_id=pro&landing_path=%2Fpro">Start Pro</a>
|
|
745
778
|
<a class="btn-ghost btn-free-path" href="/guide?utm_source=website&utm_medium=pro_page&utm_campaign=free_install">Stay on Free and install locally</a>
|
|
746
779
|
</div>
|
|
747
|
-
<p class="hero-note"><strong>Honest split:</strong>
|
|
780
|
+
<p class="hero-note"><strong>Honest split:</strong> stay on Free if three learned rules and two thumbs a day are enough. The local dashboard and the default gates are free on both plans.</p>
|
|
748
781
|
</div>
|
|
749
782
|
|
|
750
783
|
<div class="panel hero-aside">
|
|
751
784
|
<div class="aside-card">
|
|
752
785
|
<div class="aside-kicker">What you are buying</div>
|
|
753
|
-
<h2>
|
|
754
|
-
<p>
|
|
786
|
+
<h2>Memory, not more blocking</h2>
|
|
787
|
+
<p>Pro removes the free limits on learned rules and thumbs, and unlocks recall, lesson search and exports. Blocking works the same on both plans.</p>
|
|
755
788
|
<div class="price-stack">
|
|
756
789
|
<div class="price-line">
|
|
757
790
|
<div>
|
|
@@ -763,7 +796,7 @@ __GA_BOOTSTRAP__
|
|
|
763
796
|
<div class="price-line">
|
|
764
797
|
<div>
|
|
765
798
|
<strong>$149/yr</strong>
|
|
766
|
-
<span
|
|
799
|
+
<span>$79 less than paying monthly</span>
|
|
767
800
|
</div>
|
|
768
801
|
<a class="btn-secondary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_annual&utm_campaign=pro_pack&cta_id=pro_page_annual&cta_placement=sidebar&plan_id=pro&billing_cycle=annual&landing_path=%2Fpro">Choose annual</a>
|
|
769
802
|
</div>
|
|
@@ -771,22 +804,15 @@ __GA_BOOTSTRAP__
|
|
|
771
804
|
</div>
|
|
772
805
|
|
|
773
806
|
<div class="aside-card">
|
|
774
|
-
<div class="aside-kicker">
|
|
775
|
-
<h3>Specific paid outcomes</h3>
|
|
776
|
-
<p>Visual check debugger, DPO export, auto-connect after activation, Model Hardening Advisor, and founder support for the risky flow you need to harden first.</p>
|
|
777
|
-
</div>
|
|
778
|
-
|
|
779
|
-
<div class="aside-card">
|
|
780
|
-
<div class="aside-kicker">Keep the buyer path warm</div>
|
|
807
|
+
<div class="aside-kicker">Not decided yet?</div>
|
|
781
808
|
<h3>Save your work email before you decide</h3>
|
|
782
|
-
<p>We
|
|
809
|
+
<p>We save your email for product updates and prefill the Pro checkout on this device.</p>
|
|
783
810
|
<form class="buyer-form" action="/api/newsletter" method="POST" data-newsletter-form data-page="pro" data-intent="buyer_follow_up">
|
|
784
811
|
<input type="email" name="email" data-buyer-email placeholder="you@company.com" required>
|
|
785
812
|
<div class="buyer-form-actions">
|
|
786
|
-
<button type="submit" class="btn-secondary">
|
|
813
|
+
<button type="submit" class="btn-secondary">Save my email</button>
|
|
787
814
|
<button type="button" class="btn-primary btn-email-checkout">Start Pro with this email</button>
|
|
788
815
|
</div>
|
|
789
|
-
<p class="buyer-form-note">No sales deck. Just the Pro demo path, launch updates, and a prefilled checkout when you are ready.</p>
|
|
790
816
|
<p class="buyer-form-status" data-newsletter-status aria-live="polite"></p>
|
|
791
817
|
</form>
|
|
792
818
|
</div>
|
|
@@ -799,106 +825,42 @@ __GA_BOOTSTRAP__
|
|
|
799
825
|
<div class="proof-links">
|
|
800
826
|
<a href="__VERIFICATION_URL__" target="_blank" rel="noopener">
|
|
801
827
|
<strong>Verification evidence</strong>
|
|
802
|
-
<span>
|
|
828
|
+
<span>The tests behind the claims on this site.</span>
|
|
803
829
|
</a>
|
|
804
830
|
<a href="__COMPATIBILITY_REPORT_URL__" target="_blank" rel="noopener">
|
|
805
831
|
<strong>Compatibility report</strong>
|
|
806
|
-
<span>
|
|
832
|
+
<span>Which agents block and which are advisory only.</span>
|
|
807
833
|
</a>
|
|
808
834
|
<a href="__AUTOMATION_REPORT_URL__" target="_blank" rel="noopener">
|
|
809
835
|
<strong>Automation report</strong>
|
|
810
|
-
<span>
|
|
836
|
+
<span>Machine-readable results of the automation checks.</span>
|
|
811
837
|
</a>
|
|
812
838
|
<a href="/dashboard?utm_source=website&utm_medium=pro_page_proof&utm_campaign=pro_pack">
|
|
813
|
-
<strong>
|
|
814
|
-
<span>
|
|
839
|
+
<strong>Hosted dashboard</strong>
|
|
840
|
+
<span>For subscribers; you sign in first. The local dashboard needs no sign-in.</span>
|
|
815
841
|
</a>
|
|
816
842
|
</div>
|
|
817
843
|
</div>
|
|
818
844
|
</section>
|
|
819
845
|
|
|
820
|
-
<section class="section" id="deterministic-loop">
|
|
821
|
-
<div class="container">
|
|
822
|
-
<div class="section-label">Why Pro now</div>
|
|
823
|
-
<h2 class="section-title">Black-box thumbs do not prove prevention. Pro gives the operator an audit loop.</h2>
|
|
824
|
-
<p class="section-intro">Native rating buttons can tell a vendor that an answer felt wrong. ThumbGate Pro gives you the operational record: the correction, the lesson, the rule, the blocked tool call, and the export path.</p>
|
|
825
|
-
<div class="grid-3">
|
|
826
|
-
<div class="feature-card">
|
|
827
|
-
<h3>Inspectable memory</h3>
|
|
828
|
-
<p>Search the exact lesson that came from a thumbs-down and see whether it is still active, warning-only, or blocking.</p>
|
|
829
|
-
</div>
|
|
830
|
-
<div class="feature-card">
|
|
831
|
-
<h3>Deterministic checks</h3>
|
|
832
|
-
<p>The enforcement layer evaluates tool name, arguments, working directory, command shape, confidence, and required evidence before the action runs.</p>
|
|
833
|
-
</div>
|
|
834
|
-
<div class="feature-card">
|
|
835
|
-
<h3>Exportable proof</h3>
|
|
836
|
-
<p>Take the same correction history into JSONL, DPO export, review packets, and team rollout conversations instead of trusting hidden memory.</p>
|
|
837
|
-
</div>
|
|
838
|
-
</div>
|
|
839
|
-
</div>
|
|
840
|
-
</section>
|
|
841
|
-
|
|
842
846
|
<section class="section" id="why-pay">
|
|
843
847
|
<div class="container">
|
|
844
|
-
<div class="section-label">
|
|
845
|
-
<h2 class="section-title">
|
|
846
|
-
<
|
|
847
|
-
|
|
848
|
-
<
|
|
849
|
-
<
|
|
850
|
-
<
|
|
851
|
-
<
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
</
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
<li>DPO export built from actual accepted vs rejected behavior.</li>
|
|
861
|
-
<li>Model Hardening Advisor helps decide when fine-tuning is worth it.</li>
|
|
862
|
-
</ul>
|
|
863
|
-
</div>
|
|
864
|
-
<div class="feature-card">
|
|
865
|
-
<h3>Ship proof, not just confidence</h3>
|
|
866
|
-
<p>When the next risky review happens, you have evidence links, reports, and a founder-supported path to harden the failure that keeps returning.</p>
|
|
867
|
-
<ul>
|
|
868
|
-
<li>Review-ready evidence for one operator's high-risk workflows.</li>
|
|
869
|
-
<li>Founder support on force-pushes, deploys, migrations, and CI.</li>
|
|
870
|
-
</ul>
|
|
871
|
-
</div>
|
|
872
|
-
</div>
|
|
873
|
-
</div>
|
|
874
|
-
</section>
|
|
875
|
-
|
|
876
|
-
<section class="section">
|
|
877
|
-
<div class="container">
|
|
878
|
-
<div class="section-label">Honest packaging</div>
|
|
879
|
-
<h2 class="section-title">Stay on Free when recall and checks are enough. Go Pro when you need proof and operator speed.</h2>
|
|
880
|
-
<div class="split-grid">
|
|
881
|
-
<div class="split-card free">
|
|
882
|
-
<div class="split-kicker">Stay on Free</div>
|
|
883
|
-
<h3>The local install is still the right first step</h3>
|
|
884
|
-
<p>If you only need local recall, Pre-Action Checks, MCP setup, and a way to catch repeated mistakes on one machine, keep the free install and move fast.</p>
|
|
885
|
-
<ul>
|
|
886
|
-
<li>Local-first recall, lessons, and enforcement.</li>
|
|
887
|
-
<li>No cloud account required.</li>
|
|
888
|
-
<li>Best when you do not yet need a personal dashboard or export path.</li>
|
|
889
|
-
</ul>
|
|
890
|
-
</div>
|
|
891
|
-
<div class="split-card pro">
|
|
892
|
-
<div class="split-kicker">Go Pro</div>
|
|
893
|
-
<h3>Buy Pro when the workflow owner asks for proof</h3>
|
|
894
|
-
<p>Pro is for the individual operator who now needs a personal local dashboard, DPO export, auto-connect, and a buyer-ready reason to pay instead of re-explaining the same failure pattern.</p>
|
|
895
|
-
<ul>
|
|
896
|
-
<li>Review-ready evidence and a dashboard of exactly what got blocked.</li>
|
|
897
|
-
<li>DPO export from real corrections, not synthetic examples.</li>
|
|
898
|
-
<li>Founder support for the first risky workflow you need to harden.</li>
|
|
899
|
-
</ul>
|
|
900
|
-
</div>
|
|
901
|
-
</div>
|
|
848
|
+
<div class="section-label">Free vs Pro</div>
|
|
849
|
+
<h2 class="section-title">Everything in this table comes from the license checks in the code.</h2>
|
|
850
|
+
<table class="compare" style="width:100%;border-collapse:collapse;margin-top:18px;">
|
|
851
|
+
<thead><tr><th style="text-align:left;padding:8px;">Feature</th><th style="text-align:left;padding:8px;">Free</th><th style="text-align:left;padding:8px;">Pro</th></tr></thead>
|
|
852
|
+
<tbody>
|
|
853
|
+
<tr><th style="text-align:left;padding:8px;">Default denies: force-push, <code>git reset --hard</code>, <code>git clean -f</code>, <code>rm -rf</code> on home or root, <code>DROP TABLE</code>, secret leaks</th><td style="padding:8px;">Yes</td><td style="padding:8px;">Yes</td></tr>
|
|
854
|
+
<tr><th style="text-align:left;padding:8px;">Learned rules that stay active</th><td style="padding:8px;">3</td><td style="padding:8px;">All</td></tr>
|
|
855
|
+
<tr><th style="text-align:left;padding:8px;">Thumbs recorded</th><td style="padding:8px;">2 a day, 10 in total</td><td style="padding:8px;">Unlimited</td></tr>
|
|
856
|
+
<tr><th style="text-align:left;padding:8px;">Local dashboard</th><td style="padding:8px;">Yes</td><td style="padding:8px;">Yes</td></tr>
|
|
857
|
+
<tr><th style="text-align:left;padding:8px;">Recall and lesson search</th><td style="padding:8px;">No</td><td style="padding:8px;">Yes</td></tr>
|
|
858
|
+
<tr><th style="text-align:left;padding:8px;">Multi-hop recall</th><td style="padding:8px;">No</td><td style="padding:8px;">Yes</td></tr>
|
|
859
|
+
<tr><th style="text-align:left;padding:8px;">DPO export and data exports</th><td style="padding:8px;">No</td><td style="padding:8px;">Yes</td></tr>
|
|
860
|
+
<tr><th style="text-align:left;padding:8px;">Team-shared rules, sync across machines, audit history</th><td style="padding:8px;">Not shipped</td><td style="padding:8px;">Not shipped</td></tr>
|
|
861
|
+
</tbody>
|
|
862
|
+
</table>
|
|
863
|
+
<p class="section-intro" style="margin-top:16px;">On both plans a learned rule matches the command you thumbed down, not its purpose, so a reworded command is not caught. <a href="/#coverage">See what it catches and what it misses</a>.</p>
|
|
902
864
|
</div>
|
|
903
865
|
</section>
|
|
904
866
|
|
|
@@ -909,34 +871,32 @@ __GA_BOOTSTRAP__
|
|
|
909
871
|
<h3>ThumbGate Pro</h3>
|
|
910
872
|
<div class="price">$19<span>/mo</span></div>
|
|
911
873
|
<div class="annual">$149/year available · Card required · billed today</div>
|
|
912
|
-
<p class="pricing-note">For the individual operator who wants a personal local dashboard, DPO export, review-ready evidence, and founder help on the first risky workflow.</p>
|
|
913
874
|
<ul>
|
|
914
|
-
<li><strong>
|
|
915
|
-
<li><strong>
|
|
916
|
-
<li><strong>
|
|
917
|
-
<li><strong>
|
|
875
|
+
<li><strong>Every learned rule stays active</strong> — free keeps the first 3.</li>
|
|
876
|
+
<li><strong>Unlimited thumbs</strong> — free records 2 a day and 10 in total.</li>
|
|
877
|
+
<li><strong>Recall and lesson search</strong> — ask what the agent got wrong before.</li>
|
|
878
|
+
<li><strong>DPO export</strong> — turn your own thumbs-down corrections into training pairs.</li>
|
|
918
879
|
</ul>
|
|
919
880
|
<div class="pricing-actions">
|
|
920
881
|
<a class="btn-primary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_pricing&utm_campaign=pro_pack&cta_id=pricing_pro&cta_placement=pricing&plan_id=pro&landing_path=%2Fpro">Start Pro Now</a>
|
|
921
882
|
<a class="btn-secondary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_pricing&utm_campaign=pro_pack&cta_id=pricing_pro_annual&cta_placement=pricing&plan_id=pro&billing_cycle=annual&landing_path=%2Fpro">Choose annual</a>
|
|
922
883
|
</div>
|
|
923
|
-
<div class="pricing-meta">Best for one operator with one repeated failure to prove. Stay on Free if you only need the local install; buy Pro when the dashboard, export, and proof trail save you time.</div>
|
|
924
884
|
</div>
|
|
925
885
|
|
|
926
886
|
<div class="pricing-sidebar">
|
|
927
887
|
<div class="team-card">
|
|
928
|
-
<div class="section-label" style="text-align:left;margin-bottom:8px;">
|
|
929
|
-
<h3>
|
|
930
|
-
<p>
|
|
888
|
+
<div class="section-label" style="text-align:left;margin-bottom:8px;">Separate from Pro</div>
|
|
889
|
+
<h3>Setup Sprint, $499 once</h3>
|
|
890
|
+
<p>A one-time service, not part of the Pro subscription: Igor turns one recurring failure in one supported local workflow into a configured gate with a regression test. The scope, delivery and refund terms are on the sprint page.</p>
|
|
931
891
|
<div class="hero-actions" style="margin-top:18px;">
|
|
932
|
-
<a class="btn-secondary" href="/
|
|
933
|
-
<a class="btn-secondary" href="
|
|
892
|
+
<a class="btn-secondary" href="/enterprise-governance">See the $499 sprint</a>
|
|
893
|
+
<a class="btn-secondary" href="/diagnostic#intake">Book an Enterprise Pilot Call</a>
|
|
934
894
|
</div>
|
|
935
895
|
</div>
|
|
936
896
|
<div class="team-card">
|
|
937
897
|
<div class="section-label" style="text-align:left;margin-bottom:8px;">Free path</div>
|
|
938
898
|
<h3>Prefer the local install first?</h3>
|
|
939
|
-
<p class="comparison-note">Install with <code style="font-family:var(--mono);color:var(--cyan);">npx thumbgate init</code
|
|
899
|
+
<p class="comparison-note">Install with <code style="font-family:var(--mono);color:var(--cyan);">npx thumbgate init</code> and come back when you hit the 3-rule or 2-thumbs-a-day limit.</p>
|
|
940
900
|
</div>
|
|
941
901
|
</div>
|
|
942
902
|
</div>
|
|
@@ -949,19 +909,19 @@ __GA_BOOTSTRAP__
|
|
|
949
909
|
<div class="faq-list">
|
|
950
910
|
<div class="faq-item open">
|
|
951
911
|
<button class="faq-q" type="button" onclick="toggleFaq(this)" onkeydown="handleFaqKeydown(event)" aria-expanded="true">How is Pro different from the free install?</button>
|
|
952
|
-
<div class="faq-a">
|
|
912
|
+
<div class="faq-a">Pro keeps every learned rule active (free keeps 3), records unlimited thumbs (free: 2 a day, 10 in total), and adds recall, lesson search and DPO export. Blocking and the local dashboard are the same on both.</div>
|
|
953
913
|
</div>
|
|
954
914
|
<div class="faq-item">
|
|
955
915
|
<button class="faq-q" type="button" onclick="toggleFaq(this)" onkeydown="handleFaqKeydown(event)" aria-expanded="false">Does Pro require a cloud account?</button>
|
|
956
|
-
<div class="faq-a">
|
|
916
|
+
<div class="faq-a">Pro runs locally. You pay through Stripe checkout and activate Pro with a license key. Hosted team sync and a hosted org dashboard are not generally available.</div>
|
|
957
917
|
</div>
|
|
958
918
|
<div class="faq-item">
|
|
959
919
|
<button class="faq-q" type="button" onclick="toggleFaq(this)" onkeydown="handleFaqKeydown(event)" aria-expanded="false">What happens after checkout?</button>
|
|
960
|
-
<div class="faq-a">You
|
|
920
|
+
<div class="faq-a">You get a Pro license key. Once it is active, the free limits are lifted and recall, lesson search and exports start working.</div>
|
|
961
921
|
</div>
|
|
962
922
|
<div class="faq-item">
|
|
963
923
|
<button class="faq-q" type="button" onclick="toggleFaq(this)" onkeydown="handleFaqKeydown(event)" aria-expanded="false">When should I choose Enterprise instead of Pro?</button>
|
|
964
|
-
<div class="faq-a">
|
|
924
|
+
<div class="faq-a">Pro is software for one person. If you want Igor to set up a gate for one workflow, that is the separate $499 Setup Sprint. Hosted team features are not available.</div>
|
|
965
925
|
</div>
|
|
966
926
|
</div>
|
|
967
927
|
</div>
|
|
@@ -970,11 +930,10 @@ __GA_BOOTSTRAP__
|
|
|
970
930
|
<section class="final-cta">
|
|
971
931
|
<div class="container">
|
|
972
932
|
<div class="final-shell">
|
|
973
|
-
<h2>
|
|
974
|
-
<p>Start Pro
|
|
933
|
+
<h2>Keep every lesson active.</h2>
|
|
934
|
+
<p>Start Pro when the free limits get in the way. Cancel from the billing portal.</p>
|
|
975
935
|
<div class="hero-actions" style="justify-content:center;">
|
|
976
936
|
<a class="btn-primary btn-pro-checkout" href="/checkout/pro?utm_source=website&utm_medium=pro_page_final&utm_campaign=pro_pack&cta_id=final_go_pro&cta_placement=final&plan_id=pro&landing_path=%2Fpro">Start Pro Now</a>
|
|
977
|
-
<a class="btn-secondary btn-demo" href="/dashboard?utm_source=website&utm_medium=pro_page_final&utm_campaign=pro_pack">Open dashboard demo</a>
|
|
978
937
|
</div>
|
|
979
938
|
</div>
|
|
980
939
|
</div>
|
|
@@ -985,14 +944,14 @@ __GA_BOOTSTRAP__
|
|
|
985
944
|
<div class="footer-links">
|
|
986
945
|
<a href="/">Home</a>
|
|
987
946
|
<a href="/guide">Setup Guide</a>
|
|
988
|
-
<a href="/dashboard">Dashboard
|
|
947
|
+
<a href="/dashboard">Dashboard sign-in</a>
|
|
989
948
|
<a href="/terms">Terms</a>
|
|
990
949
|
<a href="/privacy">Privacy</a>
|
|
991
950
|
<a href="/third-party-notices">Third-Party Notices</a>
|
|
992
951
|
<a href="__VERIFICATION_URL__" target="_blank" rel="noopener">Verification Evidence</a>
|
|
993
952
|
<a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub</a>
|
|
994
953
|
</div>
|
|
995
|
-
<div class="footer-copy">ThumbGate Pro for individual operators.
|
|
954
|
+
<div class="footer-copy">ThumbGate Pro for individual operators. The $499 Setup Sprint is a separate service.</div>
|
|
996
955
|
<div style="margin-top:10px;font-size:11px;color:#6b7280;">
|
|
997
956
|
Anthropic, Claude, OpenAI, ChatGPT, Cursor, Codex, Perplexity, Hermes, MCP, GitHub, Google, Nvidia, Railway, Stripe, Supabase, PostHog, and Plausible are trademarks of their respective owners. ThumbGate is an independent product.
|
|
998
957
|
</div>
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
'use strict';
|
|
3
3
|
var selected = new URL(window.location.href).searchParams.get('project');
|
|
4
|
+
var explicit = selected !== null;
|
|
4
5
|
if (selected === 'all') selected = null;
|
|
5
6
|
var selectedDir = selected ? new URL(window.location.href).searchParams.get('projectDir') : null;
|
|
6
7
|
var loading = null;
|
|
8
|
+
// The folder this page was opened for, if the URL names one; the server judges that folder (else its own).
|
|
9
|
+
var pageDir = new URL(window.location.href).searchParams.get('projectDir');
|
|
10
|
+
var folderQuery = pageDir ? '?projectDir=' + encodeURIComponent(pageDir) : '';
|
|
7
11
|
function url(input) {
|
|
8
12
|
var target = new URL(input, window.location.origin);
|
|
9
13
|
if (target.origin !== window.location.origin) return target.href;
|
|
@@ -16,40 +20,67 @@
|
|
|
16
20
|
var container = document.createElement('section');
|
|
17
21
|
container.id = 'projectOverview';
|
|
18
22
|
container.className = 'container';
|
|
19
|
-
container.style.cssText = 'padding:
|
|
23
|
+
container.style.cssText = 'padding:12px 20px;max-width:1200px;margin:auto';
|
|
24
|
+
var bar = document.createElement('div'); bar.style.cssText = 'display:flex;align-items:center;gap:12px;flex-wrap:wrap';
|
|
20
25
|
var label = document.createElement('label');
|
|
21
|
-
label.htmlFor = 'projectSwitcher'; label.textContent = 'Project';
|
|
26
|
+
label.htmlFor = 'projectSwitcher'; label.textContent = 'Project'; label.style.cssText = 'font-weight:600';
|
|
22
27
|
var select = document.createElement('select');
|
|
23
|
-
select.id = 'projectSwitcher'; select.style.cssText = '
|
|
28
|
+
select.id = 'projectSwitcher'; select.style.cssText = 'padding:8px;min-width:260px;max-width:100%;background:var(--bg-raised,#18181b);color:var(--text,#fafafa);border:1px solid var(--border,#444);border-radius:6px';
|
|
24
29
|
var all = document.createElement('option'); all.value = ''; all.textContent = 'All projects (account-wide, not one project)'; select.appendChild(all);
|
|
25
|
-
if (selected) { var pending = document.createElement('option'); pending.value = selected; pending.textContent = '
|
|
26
|
-
select.addEventListener('change', function () { var next = new URL(window.location.href); next.searchParams.delete('projectDir');
|
|
27
|
-
var status = document.createElement('span'); status.id = 'projectStatus'; status.setAttribute('role', 'status');
|
|
28
|
-
var cards = document.createElement('div'); cards.id = 'projectCards'; cards.style.cssText = 'display:
|
|
29
|
-
var sharedGates = document.createElement('p'); sharedGates.id = 'projectGlobalGates';
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
if (selected) { var pending = document.createElement('option'); pending.value = selected; pending.textContent = selectedDir ? selectedDir.split('/').filter(Boolean).pop() : 'Loading project…'; select.appendChild(pending); select.value = selected; }
|
|
31
|
+
select.addEventListener('change', function () { var next = new URL(window.location.href); next.searchParams.delete('projectDir'); next.searchParams.set('project', select.value || 'all'); window.location.assign(next.href); });
|
|
32
|
+
var status = document.createElement('span'); status.id = 'projectStatus'; status.setAttribute('role', 'status'); status.style.cssText = 'color:var(--text-muted,#a1a1aa)';
|
|
33
|
+
var cards = document.createElement('div'); cards.id = 'projectCards'; cards.style.cssText = 'display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:12px';
|
|
34
|
+
var sharedGates = document.createElement('p'); sharedGates.id = 'projectGlobalGates'; sharedGates.style.cssText = 'margin:8px 0 0;color:var(--text-muted,#a1a1aa);font-size:13px';
|
|
35
|
+
bar.append(label, select, status);
|
|
36
|
+
container.append(bar, sharedGates, cards);
|
|
37
|
+
// The dashboard's top bar is a <nav class="app-top-nav">, not a <header>: anchor under it so the switcher never lands above the site nav.
|
|
38
|
+
var anchor = document.querySelector('.app-top-nav') || document.querySelector('header');
|
|
39
|
+
if (anchor) anchor.after(container); else document.body.prepend(container);
|
|
40
|
+
}
|
|
41
|
+
function hasActivity(project) {
|
|
42
|
+
if (project.empty === true) return false;
|
|
43
|
+
var c = project.counts || {};
|
|
44
|
+
return Boolean(c.feedback || c.lessons || c.gates || c.blocks || c.warns || c.toolCalls || c.agents);
|
|
45
|
+
}
|
|
46
|
+
// A real project is one identified by its git remote (repo_ key). Legacy, local and unassigned identities are leftovers.
|
|
47
|
+
function isRealProject(project) { return /^repo_/.test(project.projectKey || ''); }
|
|
48
|
+
function displayName(project) {
|
|
49
|
+
if (project.projectKey === selected && selectedDir) return selectedDir.split('/').filter(Boolean).pop();
|
|
50
|
+
return String(project.projectName || '').split('/').pop();
|
|
33
51
|
}
|
|
34
52
|
function refresh(headers) {
|
|
35
53
|
mount();
|
|
36
54
|
if (loading) return loading;
|
|
37
|
-
loading = fetch('/v1/projects', { credentials: 'include', headers: headers || {} }).then(function (response) { if (!response.ok) throw new Error('Projects unavailable'); return response.json(); }).then(function (data) {
|
|
55
|
+
loading = fetch('/v1/projects' + folderQuery, { credentials: 'include', headers: headers || {} }).then(function (response) { if (!response.ok) throw new Error('Projects unavailable'); return response.json(); }).then(function (data) {
|
|
38
56
|
var select = document.getElementById('projectSwitcher');
|
|
39
57
|
while (select.options.length > 1) select.remove(1);
|
|
40
58
|
var projects = Array.isArray(data.projects) ? data.projects : [];
|
|
41
|
-
if (selected && !projects.some(function (project) { return project.projectKey === selected; })) projects.push({ projectKey: selected, projectName: 'Project with no recorded activity', counts: {} });
|
|
42
|
-
|
|
59
|
+
if (selected && !projects.some(function (project) { return project.projectKey === selected; })) projects.push({ projectKey: selected, projectName: selectedDir ? selectedDir.split('/').filter(Boolean).pop() : 'Project with no recorded activity', counts: {} });
|
|
60
|
+
// Leftover identities with nothing recorded are not worth a pick: hide them and say how many.
|
|
61
|
+
// A bare dashboard URL opens on a project; "All projects" is an explicit pick (project=all).
|
|
62
|
+
// A folder with no git remote (for example ~/workspace) is not a project: stay on All projects instead of jumping to the most recent one.
|
|
63
|
+
var nonProject = data.projectDirIsProject === false;
|
|
64
|
+
var inNonProject = nonProject && !explicit;
|
|
65
|
+
if (!explicit && !inNonProject) {
|
|
66
|
+
var recent = projects.filter(function (project) { return isRealProject(project) && project.lastActivity; }).sort(function (a, b) { return new Date(b.lastActivity) - new Date(a.lastActivity); })[0];
|
|
67
|
+
if (recent) { var next = new URL(window.location.href); next.searchParams.set('project', recent.projectKey); if (data.projectDir) next.searchParams.set('projectDir', data.projectDir); window.location.replace(next.href); return; }
|
|
68
|
+
}
|
|
69
|
+
// Only the selected project and other real projects with feedback are offered; legacy, local and unassigned identities are not.
|
|
70
|
+
var shown = projects.filter(function (project) { return project.projectKey === selected || isRealProject(project); });
|
|
71
|
+
shown.forEach(function (project) { var option = document.createElement('option'); option.value = project.projectKey; option.textContent = displayName(project); select.appendChild(option); });
|
|
43
72
|
select.value = selected || '';
|
|
44
73
|
var current = projects.find(function (project) { return project.projectKey === selected; });
|
|
45
|
-
|
|
74
|
+
var where = selectedDir ? selectedDir.replace(/^\/Users\/[^/]+/, '~') : '';
|
|
75
|
+
var folder = nonProject && data.projectDir ? String(data.projectDir).replace(/^\/Users\/[^/]+/, '~') : '';
|
|
76
|
+
document.getElementById('projectStatus').textContent = current ? displayName(current) + (where ? ' · ' + where : '') : folder ? 'All projects · you are in ' + folder + ' (not a project)' : 'All projects: account-wide, mixes every project. Pick a project for its own numbers.';
|
|
46
77
|
document.getElementById('projectGlobalGates').textContent = (data.globalGateCount || 0) + ' global gates shared across projects';
|
|
47
78
|
var cards = document.getElementById('projectCards'); cards.replaceChildren();
|
|
48
|
-
if (!selected)
|
|
49
|
-
var card = document.createElement('a'); card.href = '?project=' + encodeURIComponent(project.projectKey); card.style.cssText = 'display:
|
|
79
|
+
if (!selected) shown.forEach(function (project) {
|
|
80
|
+
var card = document.createElement('a'); card.href = '?project=' + encodeURIComponent(project.projectKey); card.style.cssText = 'display:flex;flex-direction:column;gap:4px;border:1px solid var(--border,#444);border-radius:8px;padding:12px;color:inherit;min-width:0;text-decoration:none';
|
|
50
81
|
var title = document.createElement('strong'); title.textContent = project.projectName;
|
|
51
|
-
var counts = document.createElement('div'); var c = project.counts || {}; counts.textContent = (c.feedback || 0) + ' feedback · ' + (c.lessons || 0) + ' lessons · ' + (c.gates || 0) + ' active gates · ' + (c.blocks || 0) + ' blocks · ' + (c.warns || 0) + ' warnings · ' + (c.toolCalls || 0) + ' tool calls · ' + (c.agents || 0) + ' agents';
|
|
52
|
-
var activity = document.createElement('small'); activity.textContent = project.lastActivity ? 'Last activity ' + new Date(project.lastActivity).toLocaleString() : 'No recorded activity';
|
|
82
|
+
var counts = document.createElement('div'); var c = project.counts || {}; counts.style.cssText = 'font-size:13px'; counts.textContent = (c.feedback || 0) + ' feedback · ' + (c.lessons || 0) + ' lessons · ' + (c.gates || 0) + ' active gates · ' + (c.blocks || 0) + ' blocks · ' + (c.warns || 0) + ' warnings · ' + (c.toolCalls || 0) + ' tool calls · ' + (c.agents || 0) + ' agents';
|
|
83
|
+
var activity = document.createElement('small'); activity.style.cssText = 'color:var(--text-muted,#a1a1aa)'; activity.textContent = project.lastActivity ? 'Last activity ' + new Date(project.lastActivity).toLocaleString() : 'No recorded activity';
|
|
53
84
|
card.append(title, counts, activity); cards.appendChild(card);
|
|
54
85
|
});
|
|
55
86
|
}).catch(function () { document.getElementById('projectStatus').textContent = 'Project list unavailable'; }).finally(function () { loading = null; });
|
|
@@ -30,6 +30,7 @@ const {
|
|
|
30
30
|
statuslineCommand,
|
|
31
31
|
userPromptHookCommand,
|
|
32
32
|
cursorShellGateHookCommand,
|
|
33
|
+
isDisposableCheckout,
|
|
33
34
|
} = require('./hook-runtime');
|
|
34
35
|
const { installShim } = require('./install-shim');
|
|
35
36
|
|
|
@@ -337,11 +338,30 @@ function expandShellToken(token, resolveBase) {
|
|
|
337
338
|
// missing script file, else null. Anything that doesn't look like a file
|
|
338
339
|
// reference, or contains unresolved $VAR after expansion, returns null —
|
|
339
340
|
// caller treats null as "keep the hook" (err on the side of NOT pruning).
|
|
341
|
+
const SCRIPT_INTERPRETERS = new Set(['node', 'nodejs', 'sh', 'bash', 'zsh', 'python', 'python3']);
|
|
342
|
+
|
|
340
343
|
function staleHookPath(command, resolveBase) {
|
|
341
344
|
if (!command) return null;
|
|
342
|
-
const
|
|
345
|
+
const tokens = command.trim().split(/\s+/);
|
|
346
|
+
let rawFirstToken = tokens[0];
|
|
347
|
+
let runsScript = false;
|
|
348
|
+
// `node /gone/script.js`: the interpreter is never a path, so check the script it runs.
|
|
349
|
+
// Without this a hook that points at a deleted worktree survives every cleanup and breaks
|
|
350
|
+
// each tool call (23 Nov 2026, ThumbGate-main-live).
|
|
351
|
+
if (SCRIPT_INTERPRETERS.has(path.basename(rawFirstToken))) {
|
|
352
|
+
// -c / -e / -p / --eval / --print run inline code, not a script file.
|
|
353
|
+
let script = null;
|
|
354
|
+
for (const token of tokens.slice(1)) {
|
|
355
|
+
if (/^(-[cep]|--eval|--print)$/.test(token)) return null;
|
|
356
|
+
if (!token.startsWith('-')) { script = token; break; }
|
|
357
|
+
}
|
|
358
|
+
if (!script) return null;
|
|
359
|
+
rawFirstToken = script;
|
|
360
|
+
runsScript = true;
|
|
361
|
+
}
|
|
343
362
|
const firstToken = expandShellToken(rawFirstToken, resolveBase);
|
|
344
363
|
const looksLikePath =
|
|
364
|
+
runsScript ||
|
|
345
365
|
firstToken.includes('/') ||
|
|
346
366
|
firstToken.includes('\\') ||
|
|
347
367
|
firstToken.endsWith('.sh');
|
|
@@ -469,7 +489,9 @@ function wireClaudeHooks(options) {
|
|
|
469
489
|
// The shim at ~/.thumbgate/bin/thumbgate-hook always resolves @latest,
|
|
470
490
|
// so hooks never go stale across version bumps (Volta-style pattern).
|
|
471
491
|
// Skip in source-checkout mode — developers use direct node commands.
|
|
472
|
-
|
|
492
|
+
// Worktree checkouts get hooks that call the stable launcher, so it must exist.
|
|
493
|
+
const sourceRoot = path.join(__dirname, '..');
|
|
494
|
+
if (!dryRun && (!require('./mcp-config').isSourceCheckout(sourceRoot) || isDisposableCheckout(sourceRoot))) {
|
|
473
495
|
try {
|
|
474
496
|
installShim();
|
|
475
497
|
} catch {
|
|
@@ -866,6 +888,7 @@ function parseFlags(argv) {
|
|
|
866
888
|
const flags = {};
|
|
867
889
|
for (const arg of argv) {
|
|
868
890
|
if (arg === '--dry-run') flags.dryRun = true;
|
|
891
|
+
if (arg === '--help' || arg === '-h') flags.help = true;
|
|
869
892
|
if (arg === '--wire-hooks') flags.wireHooks = true;
|
|
870
893
|
if (arg.startsWith('--agent=')) flags.agent = arg.slice('--agent='.length);
|
|
871
894
|
if (arg.startsWith('--agent') && !arg.includes('=')) {
|
|
@@ -900,6 +923,7 @@ module.exports = {
|
|
|
900
923
|
syncClaudeStatusLine,
|
|
901
924
|
forgeConfigPath,
|
|
902
925
|
pruneStaleFileHooks,
|
|
926
|
+
staleHookPath,
|
|
903
927
|
pruneStaleHooksInFile,
|
|
904
928
|
CLAUDE_HOOKS,
|
|
905
929
|
preToolHookCommand,
|
|
@@ -908,8 +932,18 @@ module.exports = {
|
|
|
908
932
|
sessionStartHookCommand,
|
|
909
933
|
};
|
|
910
934
|
|
|
935
|
+
const USAGE = `Usage: node scripts/auto-wire-hooks.js [--agent=<claude-code|codex|gemini|forge|cursor>] [--dry-run] [--help]
|
|
936
|
+
|
|
937
|
+
--dry-run print the entries that would be written; write nothing
|
|
938
|
+
--help, -h print this text; write nothing
|
|
939
|
+
`;
|
|
940
|
+
|
|
911
941
|
if (require.main === module) {
|
|
912
942
|
const flags = parseFlags(process.argv.slice(2));
|
|
943
|
+
if (flags.help) {
|
|
944
|
+
console.log(USAGE);
|
|
945
|
+
process.exit(0);
|
|
946
|
+
}
|
|
913
947
|
const result = wireHooks(flags);
|
|
914
948
|
|
|
915
949
|
if (result.error) {
|