@heuresis/mcp 1.0.0-rc.5 → 1.0.0-rc.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +6 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -174,16 +174,15 @@ export async function loginCommand(argv = []) {
174
174
  log('Pairing init returned no code. Aborting.');
175
175
  process.exit(1);
176
176
  }
177
- // 2. Tell the user where to go.
177
+ // 2. Tell the user where to go. The URL has the code baked in as a query
178
+ // param so the device page can pre-fill it; the user just clicks Confirm.
179
+ const confirmUrl = `${deviceBaseUrl}/device?code=${encodeURIComponent(init.code)}`;
178
180
  log('');
179
- log(`1. Open this page in your browser:`);
180
- log(` ${deviceBaseUrl}/device`);
181
+ log(`Open this URL to link this machine to your Heuresis account:`);
181
182
  log('');
182
- log(`2. Enter this code (case-insensitive):`);
183
- log(` ${init.code}`);
183
+ log(` ${confirmUrl}`);
184
184
  log('');
185
- log(`3. This window will finish on its own once you confirm. The code`);
186
- log(` expires in 15 minutes.`);
185
+ log(`(Code: ${init.code}, in case the page needs it manually. Expires in 15 min.)`);
187
186
  log('');
188
187
  log(`Waiting for confirmation…`);
189
188
  // 3. Poll until ok / 410 / timeout.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heuresis/mcp",
3
- "version": "1.0.0-rc.5",
3
+ "version": "1.0.0-rc.6",
4
4
  "description": "Cloud-authenticated Model Context Protocol server for a Heuresis workspace. Logs into the user's Heuresis account and lets any MCP client (Claude Desktop, Claude Code, Cursor, custom agents) read and write the same workspace the webapp uses. 31 data tools, 3 operator tools (Branch/Matrix/C-K/ASIT/TRIZ/Free/Combine/Explore), and live Realtime change subscriptions.",
5
5
  "type": "module",
6
6
  "bin": {