thumbgate 1.40.7 โ†’ 1.40.8

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thumbgate",
3
3
  "description": "One ๐Ÿ‘Ž becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.",
4
- "version": "1.40.7",
4
+ "version": "1.40.8",
5
5
  "author": {
6
6
  "name": "Igor Ganapolsky",
7
7
  "email": "ig5973700@gmail.com",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.40.7",
3
+ "version": "1.40.8",
4
4
  "description": "ThumbGate โ€” ๐Ÿ‘๐Ÿ‘Ž feedback that teaches your AI agent. Thumbs down a mistake, it never happens again.",
5
5
  "homepage": "https://thumbgate.ai",
6
6
  "transport": "stdio",
@@ -2,17 +2,17 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "serve"]
6
6
  }
7
7
  },
8
8
  "hooks": {
9
9
  "preToolUse": {
10
10
  "command": "npx",
11
- "args": ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "gate-check"]
11
+ "args": ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "gate-check"]
12
12
  },
13
13
  "userPromptSubmit": {
14
14
  "command": "npx",
15
- "args": ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "hook-auto-capture"]
15
+ "args": ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "hook-auto-capture"]
16
16
  }
17
17
  }
18
18
  }
@@ -9,12 +9,12 @@ version: "1"
9
9
  skills:
10
10
  thumbgate-gate-check:
11
11
  description: "ThumbGate PreToolUse gate โ€” blocks known-bad tool calls"
12
- command: "npx --yes --package thumbgate@1.40.7 thumbgate gate-check"
12
+ command: "npx --yes --package thumbgate@1.40.8 thumbgate gate-check"
13
13
  trigger: pre_tool_use
14
14
 
15
15
  thumbgate-feedback:
16
16
  description: "ThumbGate UserPromptSubmit guard & feedback capture โ€” blocks pasted passwords/keys and logs safe prompt context"
17
- command: "npx --yes --package thumbgate@1.40.7 thumbgate hook-auto-capture"
17
+ command: "npx --yes --package thumbgate@1.40.8 thumbgate hook-auto-capture"
18
18
  trigger: user_prompt
19
19
 
20
20
  mcp:
@@ -23,6 +23,6 @@ mcp:
23
23
  args:
24
24
  - "--yes"
25
25
  - "--package"
26
- - "thumbgate@1.40.7"
26
+ - "thumbgate@1.40.8"
27
27
  - "thumbgate"
28
28
  - "serve"
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "serve"]
6
6
  }
7
7
  }
8
8
  }
@@ -1,3 +1,3 @@
1
1
  [mcp.servers.thumbgate]
2
2
  command = "npx"
3
- args = ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "serve"]
3
+ args = ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "serve"]
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "thumbgate": {
4
4
  "command": "npx",
5
- "args": ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "serve"]
5
+ "args": ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "serve"]
6
6
  }
7
7
  }
8
8
  }
@@ -1,7 +1,7 @@
1
1
  [plugin]
2
2
  id = "thumbgate-approvals"
3
3
  name = "ThumbGate Approvals"
4
- version = "1.40.7"
4
+ version = "1.40.8"
5
5
  minHerdrVersion = "0.7.0"
6
6
  description = "Pre-action governance, spend guard, and safety approval gates for multi-agent terminal sessions in Herdr."
7
7
  platforms = ["linux", "macos", "windows"]
@@ -12,7 +12,7 @@ category = "Security & Governance"
12
12
 
13
13
  [mcp_server]
14
14
  command = "npx"
15
- args = ["--yes", "--package", "thumbgate@1.40.7", "thumbgate", "serve"]
15
+ args = ["--yes", "--package", "thumbgate@1.40.8", "thumbgate", "serve"]
16
16
 
17
17
  [mcp_server.env]
18
18
  THUMBGATE_ENFORCE_ENTITLEMENTS = "1"
@@ -334,7 +334,7 @@ const {
334
334
  finalizeSession: finalizeFeedbackSession,
335
335
  } = require('../../scripts/feedback-session');
336
336
 
337
- const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.40.7' };
337
+ const SERVER_INFO = { name: 'thumbgate-mcp', version: '1.40.8' };
338
338
  const COMMERCE_CATEGORIES = [
339
339
  'product_recommendation',
340
340
  'brand_compliance',
@@ -7,7 +7,7 @@
7
7
  "npx",
8
8
  "--yes",
9
9
  "--package",
10
- "thumbgate@1.40.7",
10
+ "thumbgate@1.40.8",
11
11
  "thumbgate",
12
12
  "serve"
13
13
  ],
@@ -28,8 +28,8 @@
28
28
  },
29
29
  {
30
30
  "route": "/dashboard",
31
- "sentinel": "ThumbGate Dashboard",
32
- "description": "Dashboard demo (already enforced by /dashboard step; included here for symmetry with PR comment surface)"
31
+ "sentinel": "Sign in to ThumbGate",
32
+ "description": "A signed-out visit to /dashboard on the hosted site lands on the one sign-in page (since 19 Nov 2026); the signed-in dashboard is not covered by this signed-out check"
33
33
  },
34
34
  {
35
35
  "route": "/federal",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thumbgate",
3
- "version": "1.40.7",
3
+ "version": "1.40.8",
4
4
  "description": "ThumbGate Pre-Action Checks self-improve from ranked lessons and repeated failures, hard-block detected secret leaks, and block matches in strict mode.",
5
5
  "homepage": "https://thumbgate.ai",
6
6
  "repository": {
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.40.7">
8
+ <meta name="thumbgate-version" content="1.40.8">
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__/">
@@ -1065,7 +1065,7 @@ next decision recorded before execution</pre>
1065
1065
 
1066
1066
  <footer>
1067
1067
  <div class="shell footer-inner">
1068
- <span>ThumbGate ยท MIT License ยท npm v1.40.7</span>
1068
+ <span>ThumbGate ยท MIT License ยท npm v1.40.8</span>
1069
1069
  <div class="footer-links">
1070
1070
  <a href="https://github.com/IgorGanapolsky/ThumbGate" target="_blank" rel="noopener">GitHub</a>
1071
1071
  <a href="/guide">Technical setup</a>
@@ -140,7 +140,7 @@ __GA_BOOTSTRAP__
140
140
  <a class="btn-secondary" href="/diagnostic?utm_source=install_page&utm_medium=owned_page&utm_campaign=marketplace_distribution">Harden one workflow</a>
141
141
  </div>
142
142
  <div class="proof-strip" aria-label="Verified live distribution surfaces">
143
- <div class="proof"><strong>npm</strong><span>thumbgate@1.40.7</span></div>
143
+ <div class="proof"><strong>npm</strong><span>thumbgate@1.40.8</span></div>
144
144
  <div class="proof"><strong>VS Code</strong><span>Marketplace version live</span></div>
145
145
  <div class="proof"><strong>Open VSX</strong><span>Antigravity-compatible path</span></div>
146
146
  <div class="proof"><strong>MCP Registry</strong><span>1.27.20 is latest</span></div>
@@ -154,12 +154,12 @@ __GA_BOOTSTRAP__
154
154
  <p class="section-lede">Use the local CLI path for immediate enforcement. Use marketplace installs where your editor supports them. Use the diagnostic path when you need a human-reviewed gate map for one risky workflow. New install: <a href="/guides/progressive-wiring">prove the pipe first</a> (doctor green, empty dashboard OK) before expecting a gate to fire.</p>
155
155
  <div class="grid">
156
156
  <article class="card" id="quickstart"><h3>First gate block in one command</h3><p>Promote your first prevention rule, watch ThumbGate block a repeat mistake live, and unlock the built-in safety rule pack + 3 custom block rules on the Free tier (7-day local Pro trial included).</p><pre><code>npx thumbgate quickstart</code></pre></article>
157
- <article class="card"><h3>CLI and MCP-compatible agents</h3><p>Fastest path for Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, OpenCode, and local MCP-compatible agents.</p><pre><code>npx -y thumbgate@1.40.7 init --agent claude
158
- npx -y thumbgate@1.40.7 doctor
159
- npx -y thumbgate@1.40.7 doctor --fix</code></pre></article>
160
- <article class="card"><h3>Claude Desktop</h3><p>Use the npm-backed MCP server today. The Claude Desktop `.mcpb` directory submission packet is prepared separately.</p><pre><code>claude mcp add thumbgate -- npx --yes --package thumbgate@1.40.7 thumbgate serve</code></pre></article>
161
- <article class="card"><h3>Cursor</h3><p>The public Cursor Marketplace listing is not live yet. Use the CLI wiring while the dashboard submission is resolved.</p><pre><code>npx -y thumbgate@1.40.7 init --agent cursor</code></pre></article>
162
- <article class="card"><h3>Codex</h3><p>Use the local adapter now. Public Codex self-serve plugin publishing is not open yet, so the GitHub Release asset is the distribution proof.</p><pre><code>npx -y thumbgate@1.40.7 init --agent codex</code></pre></article>
157
+ <article class="card"><h3>CLI and MCP-compatible agents</h3><p>Fastest path for Claude Code, Cursor, Codex, Gemini CLI, Amp, Cline, OpenCode, and local MCP-compatible agents.</p><pre><code>npx -y thumbgate@1.40.8 init --agent claude
158
+ npx -y thumbgate@1.40.8 doctor
159
+ npx -y thumbgate@1.40.8 doctor --fix</code></pre></article>
160
+ <article class="card"><h3>Claude Desktop</h3><p>Use the npm-backed MCP server today. The Claude Desktop `.mcpb` directory submission packet is prepared separately.</p><pre><code>claude mcp add thumbgate -- npx --yes --package thumbgate@1.40.8 thumbgate serve</code></pre></article>
161
+ <article class="card"><h3>Cursor</h3><p>The public Cursor Marketplace listing is not live yet. Use the CLI wiring while the dashboard submission is resolved.</p><pre><code>npx -y thumbgate@1.40.8 init --agent cursor</code></pre></article>
162
+ <article class="card"><h3>Codex</h3><p>Use the local adapter now. Public Codex self-serve plugin publishing is not open yet, so the GitHub Release asset is the distribution proof.</p><pre><code>npx -y thumbgate@1.40.8 init --agent codex</code></pre></article>
163
163
  <article class="card" id="grok"><h3>Grok</h3><p>Grok Build CLI. There is no Grok store listing. This command adds the npm server. <code>npx thumbgate init</code> also writes the Claude-style config Grok reads.</p><pre><code>grok mcp add thumbgate -- npx -y thumbgate mcp</code></pre></article>
164
164
  <article class="card" id="hermes"><h3>Hermes</h3><p>Local hook for Nous Research Hermes. Merge <code>adapters/hermes/config.yaml</code> into <code>~/.hermes/config.yaml</code>. There is no Hermes directory listing.</p><pre><code>npx --yes --package thumbgate thumbgate hermes-gate</code></pre></article>
165
165
  </div>
@@ -170,7 +170,7 @@ npx -y thumbgate@1.40.7 doctor --fix</code></pre></article>
170
170
  <h2>Verified public surfaces.</h2>
171
171
  <p class="section-lede">These are the surfaces safe to claim in public copy right now. Pending surfaces are listed so buyers do not get sent to dead marketplace pages.</p>
172
172
  <div class="status-list">
173
- <div class="status"><span class="badge live">LIVE</span><div><strong><a href="https://www.npmjs.com/package/thumbgate">npm package</a></strong><span>`thumbgate@1.40.7` is the canonical runtime install.</span></div></div>
173
+ <div class="status"><span class="badge live">LIVE</span><div><strong><a href="https://www.npmjs.com/package/thumbgate">npm package</a></strong><span>`thumbgate@1.40.8` is the canonical runtime install.</span></div></div>
174
174
  <div class="status"><span class="badge live">LIVE</span><div><strong><a href="https://marketplace.visualstudio.com/items?itemName=igorganapolsky.thumbgate">VS Code Marketplace</a></strong><span>Marketplace version-list API includes `1.27.20`.</span></div></div>
175
175
  <div class="status"><span class="badge live">LIVE</span><div><strong><a href="https://open-vsx.org/extension/igorganapolsky/thumbgate">Open VSX</a></strong><span>Public registry latest version is `1.27.20`; use this path for VS Code-compatible IDEs that consume Open VSX.</span></div></div>
176
176
  <div class="status"><span class="badge live">LIVE</span><div><strong><a href="https://registry.modelcontextprotocol.io/v0/servers?search=thumbgate">MCP Registry</a></strong><span>Public search returns `io.github.IgorGanapolsky/thumbgate` version `1.27.20` as latest.</span></div></div>
@@ -26,7 +26,7 @@
26
26
  "alternateName": "thumbgate",
27
27
  "applicationCategory": "DeveloperApplication",
28
28
  "operatingSystem": "Cross-platform, Node.js >=18.18.0",
29
- "softwareVersion": "1.40.7",
29
+ "softwareVersion": "1.40.8",
30
30
  "url": "https://thumbgate-production.up.railway.app/numbers",
31
31
  "dateModified": "2026-11-12",
32
32
  "creator": {
@@ -201,7 +201,7 @@
201
201
  <main class="container">
202
202
  <h1>The Numbers</h1>
203
203
  <p class="subtitle">Generated first-party operational snapshot from the ThumbGate runtime. This is not customer traction, install volume, revenue, or proof that a configured gate has fired.</p>
204
- <div class="freshness">Updated: 2026-11-12 ยท Version 1.40.7</div>
204
+ <div class="freshness">Updated: 2026-11-12 ยท Version 1.40.8</div>
205
205
  <div class="truth-note"><strong>Read this first:</strong> configured checks are inventory. Recorded blocks and warnings are usage evidence. This snapshot currently reports 8,602 recorded hard-block event(s) and 2 recorded warning event(s).</div>
206
206
 
207
207
  <h2>Gate enforcement</h2>
@@ -13,10 +13,26 @@ STATUSLINE_VERBOSE="${THUMBGATE_STATUSLINE_VERBOSE:-0}"
13
13
  eval "$(cat | jq -r '
14
14
  def n(f): f // 0;
15
15
  @sh "CTX_PCT=\(n(.context_window.used_percentage) | floor)",
16
- @sh "PROJECT_CWD=\(.cwd // .working_directory // "")"
16
+ @sh "PROJECT_CWD=\(.cwd // .working_directory // "")",
17
+ @sh "CLAUDE_PROJECT_ROOT=\(.workspace.project_dir // "")"
17
18
  ' 2>/dev/null)"
18
19
  CTX_PCT="${CTX_PCT:-0}"
19
20
  PROJECT_CWD="${PROJECT_CWD:-}"
21
+ CLAUDE_PROJECT_ROOT="${CLAUDE_PROJECT_ROOT:-}"
22
+
23
+ # Feedback is captured against the project root, not whichever subfolder the session
24
+ # has cd'd into. Use the project dir Claude reports, else the git root of the cwd,
25
+ # else the cwd itself, so "this project" counts the same thumbs the captures wrote.
26
+ if [ -n "$PROJECT_CWD" ] && [ -d "$PROJECT_CWD" ]; then
27
+ if [ -n "$CLAUDE_PROJECT_ROOT" ] && [ -d "$CLAUDE_PROJECT_ROOT" ]; then
28
+ PROJECT_CWD="$CLAUDE_PROJECT_ROOT"
29
+ else
30
+ _GIT_ROOT="$(git -C "$PROJECT_CWD" rev-parse --show-toplevel 2>/dev/null)"
31
+ if [ -n "$_GIT_ROOT" ] && [ -d "$_GIT_ROOT" ]; then
32
+ PROJECT_CWD="$_GIT_ROOT"
33
+ fi
34
+ fi
35
+ fi
20
36
 
21
37
  if [ -n "$PROJECT_CWD" ] && [ -d "$PROJECT_CWD" ]; then
22
38
  export THUMBGATE_PROJECT_DIR="$PROJECT_CWD"
package/server.json CHANGED
@@ -8,13 +8,13 @@
8
8
  "source": "github",
9
9
  "url": "https://github.com/IgorGanapolsky/ThumbGate"
10
10
  },
11
- "version": "1.40.7",
11
+ "version": "1.40.8",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "thumbgate",
17
- "version": "1.40.7",
17
+ "version": "1.40.8",
18
18
  "runtimeHint": "npx",
19
19
  "runtimeArguments": [
20
20
  {