thumbgate 1.39.1 → 1.40.2
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/llms.txt +2 -2
- package/.well-known/mcp/server-card.json +1 -1
- package/README.md +5 -4
- package/adapters/claude/.mcp.json +6 -2
- package/adapters/codex/config.toml +5 -0
- package/adapters/forge/forge.yaml +4 -4
- 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 +82 -7
- package/adapters/opencode/opencode.json +1 -1
- package/bin/cli.js +128 -15
- package/config/brand-standards.json +131 -0
- package/config/gates/default.json +18 -1
- package/config/github-about.json +1 -1
- package/config/mcp-allowlists.json +16 -3
- package/config/merge-quality-checks.json +1 -0
- package/config/post-deploy-marketing-pages.json +3 -3
- package/config/schemas/task-outcome-receipt.schema.json +9 -0
- package/openapi/openapi.yaml +7 -3
- package/package.json +98 -31
- package/public/about.html +2 -2
- package/public/admin.html +771 -0
- package/public/agent-manager.html +3 -3
- package/public/agents-cost-savings.html +1 -1
- package/public/ai-malpractice-prevention.html +12 -12
- package/public/architecture.html +0 -1
- package/public/assets/diagrams/decision.svg +3 -3
- package/public/blog/2026-10-05-why-3-days-of-triage-wont-save-ai-speed-code.html +1 -1
- package/public/blog/2026-10-09-your-code-got-a-third-author-governance.html +1 -1
- package/public/blog/git-at-agent-scale.html +2 -2
- package/public/blog/inside-your-boundary.html +1 -1
- package/public/blog/process-over-outcome-gates.html +1 -1
- package/public/case-studies.html +1 -2
- package/public/codex-enterprise.html +1 -1
- package/public/codex-plugin.html +1 -1
- package/public/dashboard.html +773 -481
- package/public/diagnostic.html +8 -3
- package/public/enterprise-governance.html +26 -174
- package/public/eval-scorecard.html +3 -4
- package/public/eval-scorecard.json +2 -2
- package/public/evaluations.html +0 -1
- package/public/founders.html +3 -3
- package/public/gaming-playbook.html +4 -4
- package/public/guide.html +3 -5
- package/public/index.html +181 -205
- package/public/install.html +12 -11
- package/public/js/buyer-intent.js +49 -8
- package/public/lessons.html +103 -46
- package/public/numbers.html +32 -33
- package/public/operator-framework.html +44 -72
- package/public/peter.html +3 -3
- package/public/platform-partners.html +1 -1
- package/public/pricing.html +61 -327
- package/public/pro.html +3 -1
- package/public/project-switcher.js +76 -0
- package/public/whitepaper.html +1 -2
- package/scripts/activation-quickstart.js +15 -3
- package/scripts/activation-tracker.js +280 -3
- package/scripts/agent-action-inventory.js +235 -143
- package/scripts/agent-operations-planner.js +1 -1
- package/scripts/agent-readiness.js +36 -6
- package/scripts/agentic-prompt-pipelines.js +901 -0
- package/scripts/analytics-report.js +363 -0
- package/scripts/analytics-window.js +7 -1
- package/scripts/async-job-runner.js +66 -11
- package/scripts/audit-trail.js +37 -24
- package/scripts/auto-context-packs.js +249 -0
- package/scripts/auto-promote-gates.js +37 -27
- package/scripts/backfill-lesson-scopes.js +122 -0
- package/scripts/billing-setup.js +137 -0
- package/scripts/billing.js +889 -132
- package/scripts/bot-detection.js +112 -0
- package/scripts/brand-standards-gate.js +571 -0
- package/scripts/chatgpt-ads-readiness-pack.js +1 -1
- package/scripts/check-update.js +236 -0
- package/scripts/cli-schema.js +1 -1
- package/scripts/commercial-offer.js +2 -2
- package/scripts/contextfs.js +9 -3
- package/scripts/conversion-rate-stats.js +442 -0
- package/scripts/cost-cli.js +147 -0
- package/scripts/creator-campaigns.js +239 -0
- package/scripts/cross-encoder-reranker.js +4 -0
- package/scripts/cuda-gate-batch.js +560 -0
- package/scripts/daemon-manager.js +108 -0
- package/scripts/dashboard-chat.js +11 -0
- package/scripts/dashboard.js +576 -169
- package/scripts/decision-journal.js +7 -4
- package/scripts/delegation-runtime.js +1036 -0
- package/scripts/dispatch-brief.js +159 -0
- package/scripts/distribution-surfaces.js +110 -0
- package/scripts/docker-sandbox-planner.js +3 -3
- package/scripts/egm-goldfish-packet.js +95 -0
- package/scripts/embeddinggemma-adapter.js +407 -0
- package/scripts/export-dpo-pairs.js +12 -7
- package/scripts/feedback-aggregate.js +4 -0
- package/scripts/feedback-attribution.js +6 -4
- package/scripts/feedback-history-distiller.js +18 -6
- package/scripts/feedback-loop.js +255 -89
- package/scripts/feedback-paths.js +8 -1
- package/scripts/feedback-sanitizer.js +5 -0
- package/scripts/feedback-scope.js +106 -0
- package/scripts/feedback-session.js +8 -2
- package/scripts/filesystem-search.js +13 -8
- package/scripts/financial-control-plane.js +707 -45
- package/scripts/funnel-analytics.js +35 -0
- package/scripts/gate-semantic-layer.js +292 -0
- package/scripts/gate-stats.js +8 -2
- package/scripts/gates-engine.js +694 -230
- package/scripts/generate-eval-scorecard.js +0 -1
- package/scripts/harness-tool-names.js +31 -5
- package/scripts/hybrid-feedback-context.js +5 -2
- package/scripts/implementation-notes.js +241 -0
- package/scripts/intent-router.js +518 -0
- package/scripts/intervention-policy.js +2 -1
- package/scripts/latency-budget.js +164 -0
- package/scripts/lesson-canonical.js +2 -2
- package/scripts/lesson-db.js +55 -14
- package/scripts/lesson-graph.js +2 -1
- package/scripts/lesson-retrieval.js +95 -9
- package/scripts/lesson-search.js +86 -22
- package/scripts/lesson-synthesis.js +21 -5
- package/scripts/mailer/index.js +17 -1
- package/scripts/mailer/resend-mailer.js +213 -179
- package/scripts/mcp-writeguard.js +158 -0
- package/scripts/migrate-project-scope.js +209 -0
- package/scripts/model-candidates.js +414 -0
- package/scripts/openrouter-armor-partnership-diode.js +2419 -0
- package/scripts/operational-dashboard.js +172 -0
- package/scripts/operational-integrity.js +436 -3
- package/scripts/operational-summary.js +190 -0
- package/scripts/operator-artifacts.js +622 -0
- package/scripts/optimize-context.js +17 -0
- package/scripts/override-audit.js +2 -0
- package/scripts/owner-admin.js +338 -0
- package/scripts/pr-manager.js +194 -1
- package/scripts/predictive-insights.js +449 -0
- package/scripts/profound-aeo-citation-engine.js +583 -0
- package/scripts/progressive-signoff.js +260 -0
- package/scripts/project-catalog.js +243 -0
- package/scripts/project-dashboard.js +61 -0
- package/scripts/project-evidence.js +172 -0
- package/scripts/project-identity.js +182 -0
- package/scripts/project-scope.js +381 -0
- package/scripts/prompt-guard.js +446 -52
- package/scripts/proof-report.js +232 -0
- package/scripts/provider-action-normalizer.js +14 -6
- package/scripts/pulse.js +80 -0
- package/scripts/rate-limiter.js +41 -0
- package/scripts/rrsi-doctor.js +2698 -0
- package/scripts/secret-redaction.js +171 -25
- package/scripts/secret-scanner.js +101 -42
- package/scripts/self-protection.js +2 -2
- package/scripts/seo-gsd.js +14 -14
- package/scripts/session-context-dedupe.js +66 -0
- package/scripts/session-report.js +120 -0
- package/scripts/settings-hierarchy.js +4 -2
- package/scripts/statusline-meta.js +34 -23
- package/scripts/subagent-profiles.js +79 -0
- package/scripts/task-outcomes.js +29 -2
- package/scripts/telemetry-analytics.js +238 -13
- package/scripts/third-author-cli.js +118 -0
- package/scripts/third-author-governance.js +437 -0
- package/scripts/thumbgate-dream.js +878 -0
- package/scripts/thumbgate-search.js +23 -9
- package/scripts/tool-kpi-tracker.js +5 -2
- package/scripts/tool-registry.js +42 -1
- package/scripts/triage-savings-calculator.js +1 -1
- package/scripts/vector-store.js +4 -1
- package/scripts/verified-lessons.js +270 -0
- package/scripts/verify-marketing-pages-deployed.js +2 -2
- package/scripts/workflow-sentinel.js +29 -10
- package/server.json +2 -2
- package/skills/thumbgate-daily-discoveries/SKILL.md +25 -41
- package/src/api/server.js +2371 -451
- package/src/feedback.js +21 -0
- package/src/hermes-sync-plane.js +2 -1
- package/src/index.js +2 -0
- package/src/lesson-search.js +9 -0
- package/src/mckinsey-top-company-ai-coding.js +493 -0
- package/src/mcp/server.js +3 -0
- package/src/mcp-writeguard.js +772 -11
- package/src/openshell-lovable-engine.js +1475 -0
- package/src/task-outcome.js +3 -0
- package/config/evals/agent-safety-eval.json +0 -447
- package/config/evals/retrieval-ranking-golden.json +0 -522
- package/config/progressive/01-wire-only.json +0 -11
- package/config/progressive/02-dashboard-empty-ok.json +0 -10
- package/config/progressive/03-one-lesson.json +0 -10
- package/config/progressive/04-warn-fires.json +0 -11
- package/config/progressive/05-strict-optional.json +0 -11
- package/config/progressive/README.md +0 -15
- package/public/assets/diagrams/agent-integration.png +0 -0
- package/public/assets/diagrams/thumbgate-architecture.png +0 -0
- package/scripts/install-thumbgate-daily-publish-launchd.sh +0 -83
- package/scripts/thumbgate-daily-discoveries-publish.js +0 -461
- package/scripts/thumbgate-daily-discoveries-publish.sh +0 -18
package/public/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<meta name="generator" content="ThumbGate">
|
|
7
7
|
<meta name="author" content="Igor Ganapolsky">
|
|
8
|
-
<meta name="thumbgate-version" content="1.
|
|
8
|
+
<meta name="thumbgate-version" content="1.40.2">
|
|
9
9
|
__GOOGLE_SITE_VERIFICATION_META__
|
|
10
10
|
<link rel="icon" type="image/png" href="/thumbgate-icon.png">
|
|
11
11
|
<link rel="canonical" href="__APP_ORIGIN__/">
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
<meta property="og:image" content="https://thumbgate.ai/og.png">
|
|
14
14
|
<meta name="twitter:card" content="summary_large_image">
|
|
15
15
|
<meta name="twitter:image" content="https://thumbgate.ai/og.png">
|
|
16
|
-
<title>ThumbGate —
|
|
17
|
-
<meta name="description" content="
|
|
18
|
-
<meta property="og:title" content="ThumbGate —
|
|
19
|
-
<meta property="og:description" content="
|
|
16
|
+
<title>ThumbGate — One repeated agent mistake. One configured gate</title>
|
|
17
|
+
<meta name="description" content="The firewall for AI agents. Free local capture and pre-action gates. Choose Pro for recall, dashboard, adapters, and exports.">
|
|
18
|
+
<meta property="og:title" content="ThumbGate — One repeated agent mistake. One configured gate">
|
|
19
|
+
<meta property="og:description" content="The firewall for AI agents. Free local capture and pre-action gates. Choose Pro for recall, dashboard, adapters, and exports.">
|
|
20
20
|
<meta property="og:type" content="website">
|
|
21
21
|
<meta property="og:url" content="__APP_ORIGIN__/">
|
|
22
22
|
<script defer data-domain="thumbgate.ai" src="https://plausible.io/js/script.tagged-events.js"></script>
|
|
@@ -31,27 +31,7 @@
|
|
|
31
31
|
"sameAs": ["https://github.com/IgorGanapolsky/ThumbGate"]
|
|
32
32
|
}
|
|
33
33
|
</script>
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
"@context": "https://schema.org",
|
|
37
|
-
"@type": "SoftwareApplication",
|
|
38
|
-
"name": "ThumbGate",
|
|
39
|
-
"applicationCategory": "DeveloperApplication",
|
|
40
|
-
"operatingSystem": "macOS, Linux, Windows",
|
|
41
|
-
"url": "__APP_ORIGIN__",
|
|
42
|
-
"description": "Self-improving firewall for AI coding agents. ThumbGate captures feedback as local lessons, re-ranks relevant lessons for each action, promotes repeated negative patterns into warning or blocking gates, expires stale auto-promoted gates, and runs pre-action checks before shell, file, git, deploy, or API tool calls. Detected secret exfiltration and process-kill/environment-override self-disable commands (gate-process bypass) are denied by default; strict mode blocks matching destructive-action rules.",
|
|
43
|
-
"codeRepository": "https://github.com/IgorGanapolsky/ThumbGate",
|
|
44
|
-
"featureList": [
|
|
45
|
-
"Pre-action PreToolUse checks for coding agents",
|
|
46
|
-
"Thumbs-up/down feedback becomes reviewable local lessons",
|
|
47
|
-
"Relevant lessons are re-ranked for the proposed action",
|
|
48
|
-
"Repeated negative patterns can promote from warning to blocking gates",
|
|
49
|
-
"Stale auto-promoted gates expire and stale lessons archive",
|
|
50
|
-
"Setup Sprint for one supported local workflow",
|
|
51
|
-
"Local-first install. Hosted team features, SSO, and an org-wide audit log are not generally available."
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
</script>
|
|
34
|
+
|
|
55
35
|
<script type="application/ld+json">
|
|
56
36
|
{
|
|
57
37
|
"@context": "https://schema.org",
|
|
@@ -86,70 +66,8 @@
|
|
|
86
66
|
]
|
|
87
67
|
}
|
|
88
68
|
</script>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"@context": "https://schema.org",
|
|
92
|
-
"@type": "Service",
|
|
93
|
-
"name": "Setup Sprint",
|
|
94
|
-
"description": "ThumbGate's $499 one-time setup for one repeated AI-agent workflow failure, including a failure map, configured local gate, regression test, and rollout proof. It is not an enterprise contract.",
|
|
95
|
-
"provider": { "@type": "Organization", "name": "ThumbGate" },
|
|
96
|
-
"offers": {
|
|
97
|
-
"@type": "Offer",
|
|
98
|
-
"price": "__SPRINT_DIAGNOSTIC_PRICE_DOLLARS__",
|
|
99
|
-
"priceCurrency": "USD",
|
|
100
|
-
"availability": "https://schema.org/InStock",
|
|
101
|
-
"url": "__APP_ORIGIN__/#buy"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
</script>
|
|
105
|
-
<script type="application/ld+json">
|
|
106
|
-
{
|
|
107
|
-
"@context": "https://schema.org",
|
|
108
|
-
"@type": "FAQPage",
|
|
109
|
-
"mainEntity": [
|
|
110
|
-
{
|
|
111
|
-
"@type": "Question",
|
|
112
|
-
"name": "What do I get for $499?",
|
|
113
|
-
"acceptedAnswer": {
|
|
114
|
-
"@type": "Answer",
|
|
115
|
-
"text": "One 60-minute working review for one repeated AI-agent workflow failure, one configured local gate for a supported workflow, its regression test, and a written rollout and rollback proof within two business days after access and the agreed materials are available."
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"@type": "Question",
|
|
120
|
-
"name": "Does ThumbGate block every risky command by default?",
|
|
121
|
-
"acceptedAnswer": {
|
|
122
|
-
"@type": "Answer",
|
|
123
|
-
"text": "No. Detected secret exfiltration and gate-process bypass attempts are denied by default. Matching destructive actions warn unless strict enforcement is enabled. The managed gate defines the right boundary for your workflow instead of pretending every warning is a firewall."
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"@type": "Question",
|
|
128
|
-
"name": "Is this the enterprise option?",
|
|
129
|
-
"acceptedAnswer": {
|
|
130
|
-
"@type": "Answer",
|
|
131
|
-
"text": "No. The $499 Setup Sprint configures one supported workflow with you. Shared hosting, SSO, compliance packaging, an org-wide audit log, and multi-workflow rollout are not included and are not generally available."
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"@type": "Question",
|
|
136
|
-
"name": "Does self-improving mean ThumbGate retrains my model?",
|
|
137
|
-
"acceptedAnswer": {
|
|
138
|
-
"@type": "Answer",
|
|
139
|
-
"text": "No. ThumbGate does not change model weights and does not silently rewrite production policy. Self-improving under your control means explicit approvals and feedback teach the local control layer what to allow, block, or escalate next time: lessons are stored and re-ranked, repeated negative patterns can promote into gates, and stale auto-promoted gates expire."
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"@type": "Question",
|
|
144
|
-
"name": "Is the self-improving logic a black box I have to trust blindly?",
|
|
145
|
-
"acceptedAnswer": {
|
|
146
|
-
"@type": "Answer",
|
|
147
|
-
"text": "No. The promotion, demotion, and lesson-ranking logic ships in the public npm bundle under an MIT license — run npm pack thumbgate and read it yourself. Your lessons live in a local SQLite file you own, not a server you can't query. Paid tiers add hosted sync, the dashboard, and adapter coverage, not access to intelligence withheld from the free install."
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
</script>
|
|
69
|
+
|
|
70
|
+
|
|
153
71
|
<style>
|
|
154
72
|
:root {
|
|
155
73
|
color-scheme: dark;
|
|
@@ -193,6 +111,7 @@
|
|
|
193
111
|
.nav-links { display: flex; align-items: center; gap: 24px; }
|
|
194
112
|
.nav-links > a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
|
|
195
113
|
.nav-links > a:hover { color: var(--text); }
|
|
114
|
+
#paidLoginSsoButtons:empty { display: none !important; }
|
|
196
115
|
.nav-buy, .button-primary, .button-pro {
|
|
197
116
|
display: inline-flex;
|
|
198
117
|
align-items: center;
|
|
@@ -251,10 +170,10 @@
|
|
|
251
170
|
font-weight: 900;
|
|
252
171
|
}
|
|
253
172
|
.checkout-card .button-primary { width: 100%; }
|
|
254
|
-
.hero { padding: clamp(
|
|
173
|
+
.hero { padding: clamp(48px, 6vw, 80px) 0 56px; }
|
|
255
174
|
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr); gap: clamp(42px, 7vw, 88px); align-items: center; }
|
|
256
175
|
.eyebrow, .section-kicker { color: var(--green); font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.13em; text-transform: uppercase; }
|
|
257
|
-
h1 { max-width: 760px; margin: 18px 0; font-size: clamp(
|
|
176
|
+
h1 { max-width: 760px; margin: 18px 0; font-size: clamp(40px, 5vw, 64px); line-height: 0.98; letter-spacing: -0.055em; }
|
|
258
177
|
.hero-lede { max-width: 650px; margin: 0 0 24px; color: #c5ceda; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
|
|
259
178
|
.fit-line { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
|
|
260
179
|
.fit-line strong { color: var(--text); }
|
|
@@ -729,13 +648,19 @@
|
|
|
729
648
|
.visual-pair { grid-template-columns: 1fr; }
|
|
730
649
|
.hero-thumbs { justify-content: center; }
|
|
731
650
|
}
|
|
651
|
+
#limits li, #limits code { overflow-wrap: anywhere; }
|
|
652
|
+
.terminal-chrome { flex-wrap: wrap; }
|
|
653
|
+
#navPaidLoginBtn { white-space: nowrap; }
|
|
654
|
+
@media (max-width: 360px) { .nav-links { gap: 6px; } #navPaidLoginBtn { padding: 8px !important; font-size: 12px !important; } .nav-buy { padding: 0 8px; } }
|
|
732
655
|
</style>
|
|
733
656
|
<!-- WebMCP-ready: read-only agent tools via document.modelContext -->
|
|
734
|
-
<!-- WebMCP origin trial:
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
<meta http-equiv="origin-trial" content="
|
|
657
|
+
<!-- WebMCP origin trial: renewed tokens below cover https://thumbgate.app and https://www.thumbgate.app (subdomains, third-party), expire 2027-03-30.
|
|
658
|
+
Renewed 2026-11-11 via developer.chrome.com/origintrials (feature: WebMCP). -->
|
|
659
|
+
<meta http-equiv="origin-trial" content="AzcKU1rE0e4sfmh97XzN75yRFS+xFzZJrUJWswxGr6RahQWDNupKLhkVvdQZQayA/s4FLwcKpPntqUZgclhDjgoAAAB0eyJvcmlnaW4iOiJodHRwczovL3RodW1iZ2F0ZS5hcHA6NDQzIiwiZmVhdHVyZSI6IldlYk1DUCIsImV4cGlyeSI6MTgwNjM2NDgwMCwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0=" />
|
|
660
|
+
<meta http-equiv="origin-trial" content="A06wj3yXAwOhT5Cd5WYdVQotlYa/OID3SW099ZQB+cs9eHeJmtH1yHudLwqDKZ7y43tQvLB4TfM/pjmUa7aJNQsAAAB4eyJvcmlnaW4iOiJodHRwczovL3d3dy50aHVtYmdhdGUuYXBwOjQ0MyIsImZlYXR1cmUiOiJXZWJNQ1AiLCJleHBpcnkiOjE4MDYzNjQ4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9" />
|
|
738
661
|
<script src="/js/webmcp.js" defer></script>
|
|
662
|
+
<script type="application/ld+json">{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "What is free?", "acceptedAnswer": {"@type": "Answer", "text": "The MIT local CLI captures feedback and runs configured gates. Install it with npx thumbgate init."}}, {"@type": "Question", "name": "What does Pro add?", "acceptedAnswer": {"@type": "Answer", "text": "Pro adds recall, dashboard, adapters, and exports. Compare current subscription details at /pricing."}}, {"@type": "Question", "name": "Does ThumbGate block every risky command by default?", "acceptedAnswer": {"@type": "Answer", "text": "No. Detected secret exfiltration and gate-process bypass attempts are denied by default. Matching destructive actions warn by default and deny in strict mode."}}, {"@type": "Question", "name": "Is it really self-improving?", "acceptedAnswer": {"@type": "Answer", "text": "Thumbs teach. The gate enforces. Feedback refines the control layer, not the LLM. Reviewed outcomes can become prevention rules under your control."}}, {"@type": "Question", "name": "Which integrations enforce gates?", "acceptedAnswer": {"@type": "Answer", "text": "Supported hook integrations can enforce configured gates. Advisory integrations do not guarantee execution blocking."}}]}</script>
|
|
663
|
+
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareApplication","name":"ThumbGate","applicationCategory":"DeveloperApplication","operatingSystem":"Cross-platform","url":"__APP_ORIGIN__/","offers":{"@type":"Offer","name":"ThumbGate Pro","price":"__PRO_PRICE_DOLLARS__","priceCurrency":"USD","url":"__APP_ORIGIN__/checkout/pro"}}</script>
|
|
739
664
|
</head>
|
|
740
665
|
<body data-revenue-assist="off">
|
|
741
666
|
<nav class="site-nav" aria-label="Primary navigation">
|
|
@@ -748,7 +673,26 @@
|
|
|
748
673
|
<a href="#how-it-works">How it works</a>
|
|
749
674
|
<a href="#offers">Pricing</a>
|
|
750
675
|
<a href="#proof">Proof</a>
|
|
751
|
-
<
|
|
676
|
+
<button type="button" id="navPaidLoginBtn" data-cta-id="nav_paid_login" aria-expanded="false" aria-controls="paidLoginBar" onclick="window.tgTogglePaidLogin()" style="display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:8px 13px;border-radius:8px;border:1px solid rgba(56,215,255,0.45);background:rgba(56,215,255,0.08);color:var(--cyan);font:800 13px/1 inherit;">Log in</button>
|
|
677
|
+
<a id="navPaidDashboardLink" href="/dashboard" data-cta-id="nav_paid_dashboard" style="display:none;align-items:center;min-height:44px;min-width:44px;padding:8px 13px;border-radius:8px;border:1px solid rgba(86,227,159,0.45);background:rgba(86,227,159,0.12);color:var(--green);font:800 13px/1 inherit;text-decoration:none;">Dashboard →</a>
|
|
678
|
+
<a class="nav-buy" href="/checkout/pro" data-cta-id="nav_pro_checkout">Get Pro</a>
|
|
679
|
+
</div>
|
|
680
|
+
</div>
|
|
681
|
+
<div id="paidLoginBar" hidden style="border-top:1px solid var(--line);background:rgba(12,17,26,0.98);padding:14px 0;">
|
|
682
|
+
<div class="shell" style="display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;">
|
|
683
|
+
<div style="display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:240px;">
|
|
684
|
+
<div id="paidLoginSsoButtons" style="display:flex;flex-direction:column;gap:8px;width:240px;max-width:100%;"><!-- __LANDING_SSO_BUTTONS__ --></div>
|
|
685
|
+
<a href="#paidLoginKeyPanel" id="paidLoginKeyToggle" aria-expanded="false" aria-controls="paidLoginKeyPanel" onclick="event.preventDefault();window.tgTogglePaidKeyBox()" style="font-size:12px;color:var(--muted);text-decoration:underline;cursor:pointer;">Have a Pro license key?</a>
|
|
686
|
+
<div id="paidLoginKeyPanel" hidden style="display:none;align-items:center;gap:8px;flex-wrap:wrap;">
|
|
687
|
+
<input type="password" id="paidLoginKeyInput" placeholder="Paste Pro / API key (tg_...)" aria-label="ThumbGate Pro or API key" autocomplete="off" style="min-height:44px;min-width:44px;padding:0 12px;border-radius:8px;border:1px solid var(--cyan);background:#080b10;color:var(--text);font-size:13px;width:240px;" onkeydown="if(event.key==='Enter'){event.preventDefault();window.tgSubmitPaidLogin();}" />
|
|
688
|
+
<button type="button" id="paidLoginSubmitBtn" onclick="window.tgSubmitPaidLogin()" style="min-height:44px;min-width:44px;padding:0 14px;border-radius:8px;border:0;background:var(--cyan);color:#041016;font:800 12px/1 inherit;cursor:pointer;">Unlock</button>
|
|
689
|
+
</div>
|
|
690
|
+
<span id="paidLoginStatus" style="font-size:12px;color:var(--muted);"></span>
|
|
691
|
+
</div>
|
|
692
|
+
<div style="display:flex;align-items:center;gap:8px;">
|
|
693
|
+
<a href="/dashboard" style="display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:12px;font-weight:700;color:var(--muted);text-decoration:none;padding:0 8px;">Dashboard</a>
|
|
694
|
+
<button type="button" onclick="window.tgTogglePaidLogin(false)" aria-label="Close login bar" style="min-height:44px;min-width:44px;padding:0 12px;border-radius:8px;border:1px solid var(--line);background:transparent;color:var(--muted);font:700 12px/1 inherit;cursor:pointer;">✕</button>
|
|
695
|
+
</div>
|
|
752
696
|
</div>
|
|
753
697
|
</div>
|
|
754
698
|
</nav>
|
|
@@ -769,21 +713,26 @@
|
|
|
769
713
|
<span class="up" aria-hidden="true"><svg class="hero-thumb-up" viewBox="0 0 32 32" aria-hidden="true"><use href="#thumb-glyph"/></svg></span>
|
|
770
714
|
<button type="button" class="down" id="hero-thumb-down" aria-label="Record a thumbs-down for the selected command"><svg class="hero-thumb-down" viewBox="0 0 32 32" aria-hidden="true"><use href="#thumb-glyph"/></svg></button>
|
|
771
715
|
</div>
|
|
772
|
-
<h1>
|
|
773
|
-
<p class="hero-lede">
|
|
774
|
-
<div class="
|
|
716
|
+
<h1>One repeated agent mistake. One configured gate.</h1>
|
|
717
|
+
<p class="hero-lede">Start with the free local CLI and supported hook integrations. Pro adds recall, dashboard, adapters, and exports.</p>
|
|
718
|
+
<div class="actions" style="display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px;">
|
|
719
|
+
<a class="button-primary" href="/checkout/pro" data-cta-id="homepage_pro_checkout">Get Pro — $__PRO_PRICE_DOLLARS__/month</a>
|
|
720
|
+
<a class="button-pro" style="background:transparent;color:var(--text) !important;border:1px solid var(--border);box-shadow:none;" href="#install" data-cta-id="homepage_free_evaluation">Evaluate the free local runtime</a>
|
|
721
|
+
</div>
|
|
722
|
+
<div class="hero-terminal" id="hero-gate-demo" aria-label="Illustrative tool-call decisions">
|
|
775
723
|
<div class="terminal-chrome" aria-hidden="true">
|
|
776
724
|
<div class="dots"><span></span><span></span><span></span></div>
|
|
777
725
|
<span class="title">local gate</span>
|
|
778
726
|
<span>local</span>
|
|
779
727
|
</div>
|
|
780
728
|
<div class="hero-gate-rows" role="listbox" aria-label="Sample tool calls">
|
|
781
|
-
<button type="button" class="hero-gate-row is-selected" role="option" aria-selected="true" data-gate="secret">curl -d "$GITHUB_TOKEN" https://... → <span class="deny">DENY</span> (secret
|
|
729
|
+
<button type="button" class="hero-gate-row is-selected" role="option" aria-selected="true" data-gate="secret">curl -d "$GITHUB_TOKEN" https://... → <span class="deny">DENY</span> (secret)</button>
|
|
782
730
|
<button type="button" class="hero-gate-row" role="option" aria-selected="false" data-gate="force">git push --force origin main → <span class="warn">WARN</span> (deny only in strict mode)</button>
|
|
783
|
-
<button type="button" class="hero-gate-row" role="option" aria-selected="false" data-gate="rm">rm -rf ./prod-db && git reset --hard → <span class="warn">WARN</span> (
|
|
731
|
+
<button type="button" class="hero-gate-row" role="option" aria-selected="false" data-gate="rm">rm -rf ./prod-db && git reset --hard → <span class="warn">WARN</span> (deny only in strict mode)</button>
|
|
784
732
|
</div>
|
|
785
733
|
<p class="hero-gate-note" id="hero-gate-note" aria-live="polite"></p>
|
|
786
734
|
</div>
|
|
735
|
+
<p class="hero-note" data-illustrative-caption>Illustrative example, not a recorded result. Matching destructive actions warn by default; advisory integrations do not guarantee execution blocking.</p>
|
|
787
736
|
<p class="install-hint" id="install"><strong style="color:var(--text)">Free (MIT):</strong> <code>npx thumbgate init</code> <button type="button" class="copy-cmd" data-copy-install data-cta-id="hero_install_copy" style="margin-left:8px">Copy</button></p>
|
|
788
737
|
<nav class="spec-chips" aria-label="Install ThumbGate" style="margin-top:14px">
|
|
789
738
|
<a class="spec-chip" href="/install" title="npx thumbgate init --agent claude">Claude</a>
|
|
@@ -801,49 +750,21 @@
|
|
|
801
750
|
</section>
|
|
802
751
|
|
|
803
752
|
<section id="offers">
|
|
804
|
-
<div class="shell">
|
|
753
|
+
<div class="shell" id="workflow-sprint-intake">
|
|
805
754
|
<div class="trust-strip" aria-label="Where the gate runs">
|
|
806
755
|
<span>7 CLIs · local gate</span>
|
|
807
756
|
</div>
|
|
808
757
|
<p class="install-hint">Claude Code, Cursor, Codex, or similar agents.</p>
|
|
809
758
|
<p class="install-hint" id="thumbgate-dashboard-command" style="margin-top:10px;">Dashboard: <code>npx thumbgate dashboard --open</code> · <code>/thumbgate-dashboard</code> · <code>thumbgate-dashboard</code> · <a href="/dashboard#insights">demo</a> · <a class="proof-link" href="#proof">strict-mode deny example ↓</a></p>
|
|
810
|
-
<div class="offer-stack">
|
|
811
|
-
<aside
|
|
812
|
-
<
|
|
813
|
-
<
|
|
814
|
-
<p
|
|
815
|
-
<
|
|
816
|
-
<
|
|
817
|
-
<
|
|
818
|
-
<li>Unlimited gates + rule packs (Claude, Cursor, Git, AWS)</li>
|
|
819
|
-
<li>See which check fired, and find the lesson that matches the next action</li>
|
|
820
|
-
<li>Export your thumbs as training data</li>
|
|
821
|
-
</ul>
|
|
759
|
+
<div class="offer-stack" style="grid-template-columns: 1fr; max-width: 480px; margin: 0 auto;">
|
|
760
|
+
<aside id="enterprise-gate" class="checkout-card" data-primary-checkout>
|
|
761
|
+
<h2>ThumbGate Pro</h2>
|
|
762
|
+
<div class="price">$__PRO_PRICE_DOLLARS__<span>/month</span></div>
|
|
763
|
+
<p>__PRO_PRICE_LABEL__</p>
|
|
764
|
+
<p>Pro adds recall, dashboard, adapters, and exports. The free local CLI includes local capture and pre-action gates.</p>
|
|
765
|
+
<a class="button button-primary" href="/checkout/pro" data-revenue-cta data-cta-id="index_pro_checkout" data-cta-placement="offers" data-plan-id="pro">Get Pro</a>
|
|
766
|
+
<p><a href="/install">Start with the free CLI</a></p>
|
|
822
767
|
</aside>
|
|
823
|
-
<form id="buy" class="checkout-card" action="/go/diagnostic-pay" method="POST" data-primary-checkout style="border-color:rgba(0,110,82,.35);box-shadow:0 18px 50px rgba(0,110,82,.12);">
|
|
824
|
-
<span id="workflow-sprint-intake" data-legacy-intake-alias aria-hidden="true"></span>
|
|
825
|
-
<span id="enterprise-gate"></span>
|
|
826
|
-
<input type="hidden" name="utm_source" value="website">
|
|
827
|
-
<input type="hidden" name="utm_medium" value="homepage_checkout">
|
|
828
|
-
<input type="hidden" name="utm_campaign" value="rally_style_gtm">
|
|
829
|
-
<input type="hidden" name="utm_content" value="hero_direct_checkout">
|
|
830
|
-
<input type="hidden" name="cta_id" value="homepage_diagnostic_buy">
|
|
831
|
-
<input type="hidden" name="cta_placement" value="offers">
|
|
832
|
-
<input type="hidden" name="plan_id" value="sprint_diagnostic">
|
|
833
|
-
<input type="hidden" name="landing_path" value="/">
|
|
834
|
-
<div class="price"><strong>$__SPRINT_DIAGNOSTIC_PRICE_DOLLARS__</strong><span>one time · done-with-you setup</span></div>
|
|
835
|
-
<h2>Setup Sprint</h2>
|
|
836
|
-
<p><strong>One workflow, done with you.</strong> Not an enterprise contract.</p>
|
|
837
|
-
<label for="buyer-email">Work email for receipt & onboarding</label>
|
|
838
|
-
<input id="buyer-email" type="email" name="customer_email" autocomplete="email" required placeholder="you@company.com">
|
|
839
|
-
<button class="button-primary" type="submit" data-revenue-cta data-cta-id="homepage_diagnostic_buy" data-cta-placement="offers">Book the $499 setup</button>
|
|
840
|
-
<p class="checkout-note">Prefer a call? <a href="/support" style="color:var(--cyan);font-weight:750;">Book a 15-min triage call →</a></p>
|
|
841
|
-
<ul class="offer-points">
|
|
842
|
-
<li>60-minute working review for one workflow</li>
|
|
843
|
-
<li>One configured local gate and its regression test</li>
|
|
844
|
-
<li>Rollout and rollback proof within two business days</li>
|
|
845
|
-
</ul>
|
|
846
|
-
</form>
|
|
847
768
|
</div>
|
|
848
769
|
</div>
|
|
849
770
|
</section>
|
|
@@ -949,39 +870,18 @@
|
|
|
949
870
|
</div>
|
|
950
871
|
</section>
|
|
951
872
|
|
|
952
|
-
|
|
953
|
-
<div class="shell">
|
|
954
|
-
<div class="section-kicker">What the $499 setup buys</div>
|
|
955
|
-
<h2 class="section-title">A managed gate for one painful workflow.</h2>
|
|
956
|
-
<p class="section-lede">One workflow, done with you. SSO and a hosted audit log are not included.</p>
|
|
957
|
-
<div class="deliverables">
|
|
958
|
-
<article class="deliverable">
|
|
959
|
-
<h3>Failure map</h3>
|
|
960
|
-
<p>The exact risky action, trigger, accountable owner, current safeguard, and missing proof.</p>
|
|
961
|
-
</article>
|
|
962
|
-
<article class="deliverable">
|
|
963
|
-
<h3>Configured gate</h3>
|
|
964
|
-
<p>One supported local rule wired to deny, warn, or require a human before execution.</p>
|
|
965
|
-
</article>
|
|
966
|
-
<article class="deliverable">
|
|
967
|
-
<h3>Regression and rollout proof</h3>
|
|
968
|
-
<p>The test, how to undo the gate, and the receipt.</p>
|
|
969
|
-
</article>
|
|
970
|
-
</div>
|
|
971
|
-
<div class="boundary"><strong>Boundary:</strong> the offer covers one supported local workflow. Multi-system implementation, legal or compliance certification, guaranteed savings, and hosted team features require separate scope. If the workflow cannot be reduced to one supported gate, the order is refunded instead of silently upsold.</div>
|
|
972
|
-
</div>
|
|
973
|
-
</section>
|
|
873
|
+
|
|
974
874
|
|
|
975
875
|
<section id="proof">
|
|
976
876
|
<div class="shell">
|
|
977
|
-
<div class="section-kicker">What
|
|
877
|
+
<div class="section-kicker">What "stop" honestly means</div>
|
|
978
878
|
<h2 class="section-title">Hard deny where configured. Honest warning everywhere else.</h2>
|
|
979
879
|
<div class="proof-grid">
|
|
980
880
|
<div class="terminal" aria-label="Illustrative strict-mode ThumbGate deny decision">
|
|
981
881
|
<div class="terminal-chrome" aria-hidden="true">
|
|
982
882
|
<div class="dots"><span></span><span></span><span></span></div>
|
|
983
|
-
<span class="title">thumbgate — pretooluse</span>
|
|
984
|
-
<span>
|
|
883
|
+
<span class="title">thumbgate — pretooluse (strict mode)</span>
|
|
884
|
+
<span>THUMBGATE_STRICT_ENFORCEMENT=1</span>
|
|
985
885
|
</div>
|
|
986
886
|
<pre><span class="green">proposed</span> git push --force origin main
|
|
987
887
|
mode strict enforcement
|
|
@@ -996,20 +896,21 @@ next decision recorded before execution</pre>
|
|
|
996
896
|
</div>
|
|
997
897
|
</div>
|
|
998
898
|
<div class="proof-copy">
|
|
999
|
-
<p><strong>Why not a static hook?</strong> Prompts compact away; static bash hooks don
|
|
899
|
+
<p><strong>Why not a static hook?</strong> Prompts compact away; static bash hooks don't learn from 👍/👎. Detected secret exfiltration and gate-process bypass attempts are denied by default. Matching destructive actions warn by default and deny in strict mode. This is a managed strict-mode example, not a claim that every free install blocks every risky command automatically.</p>
|
|
1000
900
|
<a href="https://github.com/IgorGanapolsky/ThumbGate/blob/main/docs/VERIFICATION_EVIDENCE.md" target="_blank" rel="noopener">Read the test-backed verification evidence →</a>
|
|
1001
901
|
<p style="margin-top:12px;"><a href="/whitepaper">White paper</a> · <a href="/eval-scorecard">Scorecard</a> · <a href="/architecture">Architecture</a> · <a href="/case-studies">Dogfood, not customer stories</a></p>
|
|
1002
902
|
</div>
|
|
1003
903
|
</div>
|
|
904
|
+
<h3 style="margin-top:38px;font-size:1.2rem;">Enforcement by agent and mode</h3>
|
|
1004
905
|
<table class="compare">
|
|
1005
|
-
<caption>
|
|
906
|
+
<caption>Per-agent enforcement and default block vs warn</caption>
|
|
1006
907
|
<thead>
|
|
1007
|
-
<tr><th
|
|
908
|
+
<tr><th>Agent</th><th>Enforcement</th><th>Default (secrets)</th><th>Default (destructive)</th><th>Strict mode</th></tr>
|
|
1008
909
|
</thead>
|
|
1009
910
|
<tbody>
|
|
1010
|
-
<tr><th>
|
|
1011
|
-
<tr><th>
|
|
1012
|
-
<tr><th>
|
|
911
|
+
<tr><th>Claude Code, Codex, Gemini CLI</th><td>Blocks before tool runs</td><td>DENY</td><td>WARN</td><td>DENY</td></tr>
|
|
912
|
+
<tr><th>Cursor, Cline, OpenCode</th><td>Advisory</td><td>DENY</td><td>WARN</td><td>DENY</td></tr>
|
|
913
|
+
<tr><th>Amp</th><td>Feedback only</td><td>Logged</td><td>Logged</td><td>Logged</td></tr>
|
|
1013
914
|
</tbody>
|
|
1014
915
|
</table>
|
|
1015
916
|
</div>
|
|
@@ -1020,38 +921,35 @@ next decision recorded before execution</pre>
|
|
|
1020
921
|
<div class="section-kicker">Before you buy</div>
|
|
1021
922
|
<h2 class="section-title">Five questions, answered plainly.</h2>
|
|
1022
923
|
<div class="faq-list">
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
<button class="faq-q" type="button" aria-expanded="false">Does ThumbGate block every risky command by default?</button>
|
|
1029
|
-
<div class="faq-a">No. Detected secret exfiltration and gate-process bypass attempts are denied by default. Matching destructive actions warn unless strict enforcement is enabled. The managed gate defines the right boundary for your workflow instead of pretending every warning is a firewall.</div>
|
|
1030
|
-
</div>
|
|
1031
|
-
<div class="faq-item">
|
|
1032
|
-
<button class="faq-q" type="button" aria-expanded="false">Is this the enterprise option?</button>
|
|
1033
|
-
<div class="faq-a">No. The $499 Setup Sprint configures one supported workflow with you. Shared hosting, SSO, compliance packaging, an org-wide audit log, and multi-workflow rollout are not included and are not generally available.</div>
|
|
1034
|
-
</div>
|
|
1035
|
-
<div class="faq-item">
|
|
1036
|
-
<button class="faq-q" type="button" aria-expanded="false">Does self-improving mean ThumbGate retrains my model?</button>
|
|
1037
|
-
<div class="faq-a">No. ThumbGate does not change model weights and does not silently rewrite production policy. Self-improving under your control means explicit approvals and feedback teach the local control layer what to allow, block, or escalate next time: lessons are stored and re-ranked, repeated negative patterns can promote into gates, and stale auto-promoted gates expire.</div>
|
|
1038
|
-
</div>
|
|
1039
|
-
<div class="faq-item">
|
|
1040
|
-
<button class="faq-q" type="button" aria-expanded="false">Is the self-improving logic a black box I have to trust blindly?</button>
|
|
1041
|
-
<div class="faq-a">No. The promotion, demotion, and lesson-ranking logic ships in the public npm bundle under an MIT license — run <code>npm pack thumbgate</code> and read it yourself. Your lessons live in a local SQLite file you own, not a server you can't query. Paid tiers add hosted sync, the dashboard, and adapter coverage, not access to intelligence withheld from the free install.</div>
|
|
1042
|
-
</div>
|
|
924
|
+
<div class="faq-item"><button class="faq-q" type="button" aria-expanded="false">What is free?</button><div class="faq-a">The MIT local CLI captures feedback and runs configured gates. Install it with npx thumbgate init.</div></div>
|
|
925
|
+
<div class="faq-item"><button class="faq-q" type="button" aria-expanded="false">What does Pro add?</button><div class="faq-a">Pro adds recall, dashboard, adapters, and exports. Compare current subscription details at /pricing.</div></div>
|
|
926
|
+
<div class="faq-item"><button class="faq-q" type="button" aria-expanded="false">Does ThumbGate block every risky command by default?</button><div class="faq-a">No. Detected secret exfiltration and gate-process bypass attempts are denied by default. Matching destructive actions warn by default and deny in strict mode.</div></div>
|
|
927
|
+
<div class="faq-item"><button class="faq-q" type="button" aria-expanded="false">Is it really self-improving?</button><div class="faq-a">Thumbs teach. The gate enforces. Feedback refines the control layer, not the LLM. Reviewed outcomes can become prevention rules under your control.</div></div>
|
|
928
|
+
<div class="faq-item"><button class="faq-q" type="button" aria-expanded="false">Which integrations enforce gates?</button><div class="faq-a">Supported hook integrations can enforce configured gates. Advisory integrations do not guarantee execution blocking.</div></div>
|
|
1043
929
|
</div>
|
|
1044
930
|
</div>
|
|
1045
931
|
</section>
|
|
932
|
+
<section id="limits">
|
|
933
|
+
<div class="shell">
|
|
934
|
+
<div class="section-kicker">Limits</div>
|
|
935
|
+
<h2 class="section-title">What this does not do.</h2>
|
|
936
|
+
<ul class="offer-points" style="max-width:640px;">
|
|
937
|
+
<li>Does not retrain model weights or silently rewrite production policy.</li>
|
|
938
|
+
<li>Does not contain the blast radius — that is a sandbox's job.</li>
|
|
939
|
+
<li>Default install warns on destructive actions; hard deny needs strict mode (<code>THUMBGATE_STRICT_ENFORCEMENT=1</code>).</li>
|
|
940
|
+
<p>Start with the free local CLI. Pro adds recall, dashboard, adapters, and exports. <a href="/pricing">Compare plans</a>.</p>
|
|
941
|
+
</ul>
|
|
942
|
+
</div>
|
|
943
|
+
</section>
|
|
1046
944
|
|
|
1047
945
|
<section class="final">
|
|
1048
946
|
<div class="shell">
|
|
1049
947
|
<div class="section-kicker">Start free today</div>
|
|
1050
948
|
<h2 class="section-title">Block the mistake your agent made last week.</h2>
|
|
1051
|
-
<p class="section-lede">Run <code>npx thumbgate init</code> (MIT),
|
|
949
|
+
<p class="section-lede">Run <code>npx thumbgate init</code> (MIT), or choose <strong style="color:var(--text)">self-serve Pro</strong>.</p>
|
|
1052
950
|
<div style="display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:22px">
|
|
1053
951
|
<a class="nav-buy" href="#install" data-cta-id="final_install_free">Install free</a>
|
|
1054
|
-
<a class="nav-enterprise" href="
|
|
952
|
+
<a class="nav-enterprise" href="/checkout/pro" data-offer-link data-cta-id="final_pro_checkout">Get Pro</a>
|
|
1055
953
|
</div>
|
|
1056
954
|
</div>
|
|
1057
955
|
</section>
|
|
@@ -1059,7 +957,7 @@ next decision recorded before execution</pre>
|
|
|
1059
957
|
|
|
1060
958
|
<footer>
|
|
1061
959
|
<div class="shell footer-inner">
|
|
1062
|
-
<span>ThumbGate · MIT License · npm v1.
|
|
960
|
+
<span>ThumbGate · MIT License · npm v1.40.2</span>
|
|
1063
961
|
<div class="footer-links">
|
|
1064
962
|
<a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub</a>
|
|
1065
963
|
<a href="/guide">Technical setup</a>
|
|
@@ -1155,17 +1053,17 @@ next decision recorded before execution</pre>
|
|
|
1155
1053
|
function captureOfferInterest(ctaId, placement) {
|
|
1156
1054
|
if (privacySignalOptOut()) return;
|
|
1157
1055
|
const props = {
|
|
1158
|
-
ctaId: ctaId || '
|
|
1056
|
+
ctaId: ctaId || 'homepage_pro_checkout',
|
|
1159
1057
|
ctaPlacement: placement || 'homepage',
|
|
1160
|
-
planId: '
|
|
1161
|
-
value:
|
|
1058
|
+
planId: 'pro',
|
|
1059
|
+
value: Number('__PRO_PRICE_DOLLARS__'),
|
|
1162
1060
|
currency: 'USD',
|
|
1163
1061
|
};
|
|
1164
|
-
window.plausible('
|
|
1062
|
+
window.plausible('pro_offer_click', { props: props });
|
|
1165
1063
|
sendFirstPartyTelemetry('cta_click', props);
|
|
1166
1064
|
try {
|
|
1167
1065
|
if (window.posthog && typeof window.posthog.capture === 'function') {
|
|
1168
|
-
window.posthog.capture('
|
|
1066
|
+
window.posthog.capture('pro_offer_click', props);
|
|
1169
1067
|
}
|
|
1170
1068
|
} catch (_) {}
|
|
1171
1069
|
}
|
|
@@ -1178,13 +1076,13 @@ next decision recorded before execution</pre>
|
|
|
1178
1076
|
|
|
1179
1077
|
const checkoutForm = document.querySelector('[data-primary-checkout]');
|
|
1180
1078
|
if (checkoutForm) {
|
|
1181
|
-
checkoutForm.addEventListener('
|
|
1079
|
+
checkoutForm.querySelector('a[href="/checkout/pro"]').addEventListener('click', function () {
|
|
1182
1080
|
if (privacySignalOptOut()) return;
|
|
1183
1081
|
const props = {
|
|
1184
|
-
ctaId: '
|
|
1082
|
+
ctaId: 'homepage_pro_checkout',
|
|
1185
1083
|
ctaPlacement: 'offers',
|
|
1186
|
-
planId: '
|
|
1187
|
-
value:
|
|
1084
|
+
planId: 'pro',
|
|
1085
|
+
value: Number('__PRO_PRICE_DOLLARS__'),
|
|
1188
1086
|
currency: 'USD',
|
|
1189
1087
|
};
|
|
1190
1088
|
window.plausible('checkout_start', { props: props });
|
|
@@ -1437,9 +1335,9 @@ next decision recorded before execution</pre>
|
|
|
1437
1335
|
const rows = demo.querySelectorAll('.hero-gate-row');
|
|
1438
1336
|
let selected = 'secret';
|
|
1439
1337
|
const notes = {
|
|
1440
|
-
secret:
|
|
1441
|
-
force:
|
|
1442
|
-
rm:
|
|
1338
|
+
secret: "Illustrative example, not a recorded result. Matching destructive actions warn by default; advisory integrations do not guarantee execution blocking.",
|
|
1339
|
+
force: "Illustrative example, not a recorded result. Matching destructive actions warn by default; advisory integrations do not guarantee execution blocking.",
|
|
1340
|
+
rm: "Illustrative example, not a recorded result. Matching destructive actions warn by default; advisory integrations do not guarantee execution blocking.",
|
|
1443
1341
|
};
|
|
1444
1342
|
rows.forEach(function (row) {
|
|
1445
1343
|
row.addEventListener('click', function () {
|
|
@@ -1490,6 +1388,84 @@ next decision recorded before execution</pre>
|
|
|
1490
1388
|
} else { fallback(); }
|
|
1491
1389
|
});
|
|
1492
1390
|
});
|
|
1391
|
+
var loginBar = document.getElementById('paidLoginBar');
|
|
1392
|
+
var loginBtn = document.getElementById('navPaidLoginBtn');
|
|
1393
|
+
var dashLink = document.getElementById('navPaidDashboardLink');
|
|
1394
|
+
var keyPanel = document.getElementById('paidLoginKeyPanel');
|
|
1395
|
+
var keyToggle = document.getElementById('paidLoginKeyToggle');
|
|
1396
|
+
var keyInput = document.getElementById('paidLoginKeyInput');
|
|
1397
|
+
var statusEl = document.getElementById('paidLoginStatus');
|
|
1398
|
+
var loginSubmitting = false;
|
|
1399
|
+
async function syncPaidAuthSession() {
|
|
1400
|
+
try {
|
|
1401
|
+
var res = await fetch('/v1/auth/session', { credentials: 'same-origin' });
|
|
1402
|
+
if (!res.ok) return;
|
|
1403
|
+
var data = await res.json();
|
|
1404
|
+
if (data && data.authenticated && dashLink) {
|
|
1405
|
+
dashLink.style.display = 'inline-flex';
|
|
1406
|
+
if (loginBtn) loginBtn.textContent = data.ssoProvider ? ('✓ ' + String(data.ssoProvider).toUpperCase() + ' SSO') : 'Switch key';
|
|
1407
|
+
}
|
|
1408
|
+
} catch (e) {}
|
|
1409
|
+
}
|
|
1410
|
+
window.tgTogglePaidKeyBox = function (forceOpen) {
|
|
1411
|
+
if (!keyPanel) return;
|
|
1412
|
+
var open = typeof forceOpen === 'boolean' ? forceOpen : keyPanel.hasAttribute('hidden');
|
|
1413
|
+
if (open) {
|
|
1414
|
+
keyPanel.removeAttribute('hidden');
|
|
1415
|
+
keyPanel.style.display = 'flex';
|
|
1416
|
+
if (keyToggle) keyToggle.setAttribute('aria-expanded', 'true');
|
|
1417
|
+
if (keyInput) keyInput.focus();
|
|
1418
|
+
} else {
|
|
1419
|
+
keyPanel.setAttribute('hidden', '');
|
|
1420
|
+
keyPanel.style.display = 'none';
|
|
1421
|
+
if (keyToggle) keyToggle.setAttribute('aria-expanded', 'false');
|
|
1422
|
+
}
|
|
1423
|
+
};
|
|
1424
|
+
window.tgTogglePaidLogin = function (forceOpen) {
|
|
1425
|
+
if (!loginBar) return;
|
|
1426
|
+
var open = typeof forceOpen === 'boolean' ? forceOpen : loginBar.hasAttribute('hidden');
|
|
1427
|
+
if (open) {
|
|
1428
|
+
loginBar.removeAttribute('hidden');
|
|
1429
|
+
if (loginBtn) loginBtn.setAttribute('aria-expanded', 'true');
|
|
1430
|
+
window.tgTogglePaidKeyBox(false);
|
|
1431
|
+
var ssoWrap = document.getElementById('paidLoginSsoButtons');
|
|
1432
|
+
var primarySso = (ssoWrap && ssoWrap.querySelector('a')) || keyToggle;
|
|
1433
|
+
if (primarySso) primarySso.focus();
|
|
1434
|
+
} else {
|
|
1435
|
+
loginBar.setAttribute('hidden', '');
|
|
1436
|
+
if (loginBtn) loginBtn.setAttribute('aria-expanded', 'false');
|
|
1437
|
+
window.tgTogglePaidKeyBox(false);
|
|
1438
|
+
}
|
|
1439
|
+
};
|
|
1440
|
+
window.tgSubmitPaidLogin = async function () {
|
|
1441
|
+
if (loginSubmitting) return;
|
|
1442
|
+
var key = keyInput ? String(keyInput.value || '').trim() : '';
|
|
1443
|
+
if (!key) {
|
|
1444
|
+
window.tgTogglePaidKeyBox(true);
|
|
1445
|
+
if (statusEl) { statusEl.style.color = 'var(--red)'; statusEl.textContent = 'Paste your THUMBGATE_API_KEY or Pro key first.'; }
|
|
1446
|
+
if (keyInput) keyInput.focus();
|
|
1447
|
+
return;
|
|
1448
|
+
}
|
|
1449
|
+
loginSubmitting = true;
|
|
1450
|
+
if (statusEl) { statusEl.style.color = 'var(--cyan)'; statusEl.textContent = 'Verifying key...'; }
|
|
1451
|
+
try {
|
|
1452
|
+
var res = await fetch('/v1/auth/session', {
|
|
1453
|
+
method: 'POST',
|
|
1454
|
+
credentials: 'same-origin',
|
|
1455
|
+
headers: { 'Content-Type': 'application/json' },
|
|
1456
|
+
body: JSON.stringify({ apiKey: key })
|
|
1457
|
+
});
|
|
1458
|
+
if (!res.ok) throw new Error('Invalid API key');
|
|
1459
|
+
if (keyInput) keyInput.value = '';
|
|
1460
|
+
window.location.href = '/dashboard';
|
|
1461
|
+
} catch (err) {
|
|
1462
|
+
if (statusEl) { statusEl.style.color = 'var(--red)'; statusEl.textContent = 'Key rejected — check your Pro or operator key and try again.'; }
|
|
1463
|
+
} finally {
|
|
1464
|
+
loginSubmitting = false;
|
|
1465
|
+
}
|
|
1466
|
+
};
|
|
1467
|
+
syncPaidAuthSession();
|
|
1468
|
+
if (window.location.hash === '#login') window.tgTogglePaidLogin(true);
|
|
1493
1469
|
})();
|
|
1494
1470
|
</script>
|
|
1495
1471
|
</body>
|