@heuresis/mcp 1.0.0-rc.1 → 1.0.0-rc.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/dist/cli.js CHANGED
@@ -12,7 +12,7 @@
12
12
  // ----------------------------------------------------------
13
13
  // 1. POST to the `mcp-device-init` Edge Function with the chosen device name.
14
14
  // Receive a short XXXX-XXXX code + an expiry.
15
- // 2. Tell the user to open https://heuresis.app/device (overridable via
15
+ // 2. Tell the user to open https://heuresis.pages.dev/device (overridable via
16
16
  // HEURESIS_DEVICE_BASE_URL for staging / self-hosted setups) and enter
17
17
  // the code.
18
18
  // 3. Poll `mcp-device-poll` every 5s until status: ok (claim accepted) or
@@ -31,8 +31,8 @@ import { credentialsPath, defaultDeviceName, deleteCredentials, readCredentials,
31
31
  // for staging / self-hosted deploys via HEURESIS_DEVICE_BASE_URL. We also
32
32
  // allow HEURESIS_SUPABASE_URL to override which Supabase project the CLI
33
33
  // talks to (e.g. a staging instance). Both default to production.
34
- const DEFAULT_DEVICE_BASE_URL = 'https://heuresis.app';
35
- const DEFAULT_SUPABASE_URL = 'https://heuresis.supabase.co';
34
+ const DEFAULT_DEVICE_BASE_URL = 'https://heuresis.pages.dev';
35
+ const DEFAULT_SUPABASE_URL = 'https://wpgniquyuppljeqkedqh.supabase.co';
36
36
  const POLL_INTERVAL_MS = 5_000;
37
37
  const POLL_TIMEOUT_MS = 15 * 60 * 1_000;
38
38
  function log(...args) {
@@ -56,7 +56,7 @@ function printHelp() {
56
56
  ` ${credentialsPath()}`,
57
57
  '',
58
58
  'Environment overrides:',
59
- ' HEURESIS_DEVICE_BASE_URL Webapp origin (default https://heuresis.app)',
59
+ ' HEURESIS_DEVICE_BASE_URL Webapp origin (default https://heuresis.pages.dev)',
60
60
  ' HEURESIS_SUPABASE_URL Supabase project URL (default the heuresis.app project)',
61
61
  '',
62
62
  'Legacy snapshot mode (deprecated, removed after 19.7):',
package/dist/index.js CHANGED
@@ -146,7 +146,7 @@ async function runServer() {
146
146
  'To use legacy snapshot mode (deprecated, removed after 19.7):',
147
147
  ' HEURESIS_SNAPSHOT=/path/to/export.json npx @heuresis/mcp',
148
148
  '',
149
- 'See https://heuresis.app/mcp for setup details.',
149
+ 'See https://heuresis.pages.dev/mcp for setup details.',
150
150
  ].join('\n'));
151
151
  process.exit(1);
152
152
  }
@@ -106,7 +106,7 @@ async function callOpenRouter(config, input, maxTokens, temperature) {
106
106
  apiKey: config.apiKey,
107
107
  baseURL: 'https://openrouter.ai/api/v1',
108
108
  defaultHeaders: {
109
- 'HTTP-Referer': 'https://heuresis.app',
109
+ 'HTTP-Referer': 'https://heuresis.pages.dev',
110
110
  'X-Title': 'Heuresis MCP',
111
111
  },
112
112
  });
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@heuresis/mcp",
3
- "version": "1.0.0-rc.1",
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
- "type": "module",
6
- "bin": {
7
- "heuresis-mcp": "dist/index.js"
8
- },
9
- "files": [
10
- "dist",
11
- "README.md"
12
- ],
13
- "scripts": {
14
- "build": "tsc",
15
- "start": "node dist/index.js",
16
- "dev": "tsc --watch",
17
- "prepublishOnly": "npm run build"
18
- },
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "homepage": "https://heuresis.app/mcp",
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/ToremLabs/Heuresis.git",
26
- "directory": "mcp-server"
27
- },
28
- "keywords": [
29
- "mcp",
30
- "model-context-protocol",
31
- "heuresis",
32
- "ideation",
33
- "knowledge-graph",
34
- "claude-code",
35
- "claude-desktop",
36
- "cursor"
37
- ],
38
- "dependencies": {
39
- "@anthropic-ai/sdk": "^0.40.0",
40
- "@google/generative-ai": "^0.21.0",
41
- "@modelcontextprotocol/sdk": "^1.0.0",
42
- "@supabase/supabase-js": "^2.45.0",
43
- "openai": "^4.71.0",
44
- "zod": "^3.23.0"
45
- },
46
- "devDependencies": {
47
- "typescript": "^5.6.0",
48
- "@types/node": "^22.0.0"
49
- },
50
- "engines": {
51
- "node": ">=18"
52
- },
53
- "license": "AGPL-3.0-or-later"
54
- }
1
+ {
2
+ "name": "@heuresis/mcp",
3
+ "version": "1.0.0-rc.2",
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
+ "type": "module",
6
+ "bin": {
7
+ "heuresis-mcp": "dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "start": "node dist/index.js",
16
+ "dev": "tsc --watch",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "homepage": "https://heuresis.pages.dev/mcp",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/ToremLabs/Heuresis.git",
26
+ "directory": "mcp-server"
27
+ },
28
+ "keywords": [
29
+ "mcp",
30
+ "model-context-protocol",
31
+ "heuresis",
32
+ "ideation",
33
+ "knowledge-graph",
34
+ "claude-code",
35
+ "claude-desktop",
36
+ "cursor"
37
+ ],
38
+ "dependencies": {
39
+ "@anthropic-ai/sdk": "^0.40.0",
40
+ "@google/generative-ai": "^0.21.0",
41
+ "@modelcontextprotocol/sdk": "^1.0.0",
42
+ "@supabase/supabase-js": "^2.45.0",
43
+ "openai": "^4.71.0",
44
+ "zod": "^3.23.0"
45
+ },
46
+ "devDependencies": {
47
+ "typescript": "^5.6.0",
48
+ "@types/node": "^22.0.0"
49
+ },
50
+ "engines": {
51
+ "node": ">=18"
52
+ },
53
+ "license": "AGPL-3.0-or-later"
54
+ }