@rvry/mcp 0.11.2 → 0.12.0

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/README.md CHANGED
@@ -27,7 +27,7 @@ For any MCP client that supports **stdio transport** (runs a local process), add
27
27
  {
28
28
  "rvry": {
29
29
  "command": "npx",
30
- "args": ["--yes", "--package", "@rvry/mcp", "rvry-mcp"],
30
+ "args": ["--yes", "--package", "@rvry/mcp@latest", "rvry-mcp"],
31
31
  "env": {
32
32
  "RVRY_TOKEN": "your_rvry_token"
33
33
  }
@@ -74,9 +74,12 @@ All tools accept:
74
74
  | `input` | string | Yes | Your question (new session) or analysis (continuation) |
75
75
  | `sessionId` | string | No | Session ID for continuing an existing session |
76
76
  | `requiresCurrentData` | boolean | No | Set to `true` when the question involves facts, policies, prices, or events that may have changed. Seeds a verification constraint that persists across all rounds. |
77
+ | `skipShimmer` | boolean | No | Set to `true` to skip the self-observation priming phase and go directly to analysis. Default `false`. Not available on `RVRY_meta`. |
77
78
 
78
79
  **When to use `requiresCurrentData`:** Any question about regulations, pricing, legal rulings, market conditions, API specifications, or current events. The engine will require the model to explicitly classify every cited fact as either verified-current or training-data-dependent before concluding.
79
80
 
81
+ **When to use `skipShimmer`:** If you want to minimize round count and have a well-scoped, specific question, skipping shimmer removes one round of priming. For exploratory or open-ended questions, leave shimmer enabled — the self-observation priming improves cold-start depth.
82
+
80
83
  ## Slash Commands (Claude Code)
81
84
 
82
85
  When you run `npx --yes --package @rvry/mcp@latest rvry-mcp setup` and select Claude Code, the wizard installs 4 slash commands:
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Exposes 5 tools (RVRY_deepthink, RVRY_problem_solve, RVRY_think, RVRY_challenge, RVRY_meta) + backward-compat aliases + 5 MCP Prompts.
9
9
  *
10
- * Also supports `npx --yes --package @rvry/mcp rvry-mcp setup` to install Claude Code commands.
10
+ * Also supports `npx --yes --package @rvry/mcp@latest rvry-mcp setup` to install Claude Code commands.
11
11
  */
12
12
  import { type Tool } from '@modelcontextprotocol/sdk/types.js';
13
13
  import { type RvryTool, type ThinkResponse } from './client.js';
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Exposes 5 tools (RVRY_deepthink, RVRY_problem_solve, RVRY_think, RVRY_challenge, RVRY_meta) + backward-compat aliases + 5 MCP Prompts.
9
9
  *
10
- * Also supports `npx --yes --package @rvry/mcp rvry-mcp setup` to install Claude Code commands.
10
+ * Also supports `npx --yes --package @rvry/mcp@latest rvry-mcp setup` to install Claude Code commands.
11
11
  */
12
12
  import { Server } from '@modelcontextprotocol/sdk/server/index.js';
13
13
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
package/dist/setup.js CHANGED
@@ -25,8 +25,11 @@ const TOKEN_REGEX = /^rvry_[0-9a-f]{32,}$/;
25
25
  const POLL_INTERVAL_MS = 3000;
26
26
  /** Max polling duration: 10 minutes */
27
27
  const POLL_TIMEOUT_MS = 10 * 60 * 1000;
28
- /** Explicit launcher avoids fragile bin resolution from `npx @rvry/mcp`. */
29
- const RVRY_NPX_ARGS = ['--yes', '--package', '@rvry/mcp', 'rvry-mcp'];
28
+ /**
29
+ * `@latest` forces registry resolution even when the client is launched from
30
+ * inside a workspace that also contains a local `@rvry/mcp` package.
31
+ */
32
+ const RVRY_NPX_ARGS = ['--yes', '--package', '@rvry/mcp@latest', 'rvry-mcp'];
30
33
  /** RVRY MCP server config block (reused across Desktop + manual output) */
31
34
  const RVRY_SERVER_ENTRY = (token) => ({
32
35
  command: 'npx',
@@ -208,7 +211,7 @@ function registerClaudeCode(token) {
208
211
  execSync('claude mcp remove rvry', { stdio: 'pipe' });
209
212
  }
210
213
  catch { /* not registered */ }
211
- execSync(`claude mcp add -e RVRY_TOKEN="${token}" -s user rvry -- npx --yes --package @rvry/mcp rvry-mcp`, { stdio: 'inherit' });
214
+ execSync(`claude mcp add -e RVRY_TOKEN="${token}" -s user rvry -- npx --yes --package @rvry/mcp@latest rvry-mcp`, { stdio: 'inherit' });
212
215
  return 'ok';
213
216
  }
214
217
  catch {
@@ -264,7 +267,7 @@ function configureTomlMcp(configPath, token) {
264
267
  const block = [
265
268
  '[mcp_servers.rvry]',
266
269
  'command = "npx"',
267
- 'args = ["--yes", "--package", "@rvry/mcp", "rvry-mcp"]',
270
+ 'args = ["--yes", "--package", "@rvry/mcp@latest", "rvry-mcp"]',
268
271
  '',
269
272
  '[mcp_servers.rvry.env]',
270
273
  `RVRY_TOKEN = "${token}"`,
@@ -321,7 +324,7 @@ function registerGeminiCLI(token) {
321
324
  execSync('gemini mcp remove rvry', { stdio: 'pipe' });
322
325
  }
323
326
  catch { /* not registered */ }
324
- execSync(`gemini mcp add rvry -e RVRY_TOKEN="${token}" --scope user npx -y @rvry/mcp`, { stdio: 'inherit' });
327
+ execSync(`gemini mcp add rvry -e RVRY_TOKEN="${token}" --scope user npx --yes --package @rvry/mcp@latest rvry-mcp`, { stdio: 'inherit' });
325
328
  return 'ok';
326
329
  }
327
330
  catch {
@@ -924,7 +927,7 @@ export async function runSetup() {
924
927
  console.log(' Manual configuration:');
925
928
  console.log('');
926
929
  console.log(' Option A — Claude Code (if you install it later):');
927
- console.log(` claude mcp add -e RVRY_TOKEN="${token}" -s user rvry -- npx --yes --package @rvry/mcp rvry-mcp`);
930
+ console.log(` claude mcp add -e RVRY_TOKEN="${token}" -s user rvry -- npx --yes --package @rvry/mcp@latest rvry-mcp`);
928
931
  console.log('');
929
932
  console.log(' Option B — JSON config (Claude Desktop, Anti-Gravity, etc.):');
930
933
  const manualConfig = { mcpServers: { RVRY: RVRY_SERVER_ENTRY(token) } };
@@ -937,7 +940,7 @@ export async function runSetup() {
937
940
  console.log('');
938
941
  console.log(' [mcp_servers.rvry]');
939
942
  console.log(' command = "npx"');
940
- console.log(' args = ["--yes", "--package", "@rvry/mcp", "rvry-mcp"]');
943
+ console.log(' args = ["--yes", "--package", "@rvry/mcp@latest", "rvry-mcp"]');
941
944
  console.log('');
942
945
  console.log(' [mcp_servers.rvry.env]');
943
946
  console.log(` RVRY_TOKEN = "${token}"`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rvry/mcp",
3
- "version": "0.11.2",
3
+ "version": "0.12.0",
4
4
  "description": "RVRY reasoning depth enforcement (RDE) engine client.",
5
5
  "type": "module",
6
6
  "bin": {