@gpsglobal-ai/gpsglobal 1.4.8 → 1.4.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog — gpsglobal
2
2
 
3
+ ## 1.4.10 — 2026-06-21
4
+
5
+ - **`doctor`:** checks both DCR (`registration_endpoint`) and CIMD (`client_id_metadata_document_supported`)
6
+
7
+ ## 1.4.9 — 2026-06-21
8
+
9
+ - **`doctor`:** checks OAuth AS `registration_endpoint` (DCR) for VS Code zero-config Connect
10
+ - **`setup`:** prints VS Code Connect hint after OAuth config merge
11
+
3
12
  ## 1.4.8 — 2026-06-21
4
13
 
5
14
  - **fix(setup):** CLI exits cleanly after `setup` / `login` — clear OAuth timeout, close loopback server, disable axios keep-alive (no more Ctrl+C)
@@ -78,6 +78,28 @@ export async function runDoctor() {
78
78
  catch {
79
79
  checks.push({ name: 'mcp-http', ok: true, detail: 'remote MCP unreachable (stdio mode OK)' });
80
80
  }
81
+ try {
82
+ const asMeta = await axios.get(`${apiBase}/api/v2/oauth/mcp-cli/.well-known/oauth-authorization-server`, {
83
+ timeout: 10_000,
84
+ validateStatus: () => true,
85
+ });
86
+ const hasDcr = asMeta.status === 200 && Boolean(asMeta.data?.registration_endpoint);
87
+ const hasCimd = asMeta.status === 200 && asMeta.data?.client_id_metadata_document_supported === true;
88
+ checks.push({
89
+ name: 'oauth-registration',
90
+ ok: hasDcr && hasCimd,
91
+ detail: hasDcr && hasCimd
92
+ ? 'DCR + CIMD (SEP-991) supported — VS Code/Copilot zero-config Connect'
93
+ : `AS metadata → ${asMeta.status} (missing DCR or CIMD flags)`,
94
+ });
95
+ }
96
+ catch (err) {
97
+ checks.push({
98
+ name: 'oauth-dcr',
99
+ ok: false,
100
+ detail: err instanceof Error ? err.message : String(err),
101
+ });
102
+ }
81
103
  return { ok: checks.every((c) => c.ok), checks };
82
104
  }
83
105
  export function printDoctor(result) {
package/dist/cli/setup.js CHANGED
@@ -50,5 +50,8 @@ export async function runSetup(options) {
50
50
  }
51
51
  console.log(`\nVerify: npx ${PACKAGE} doctor`);
52
52
  console.log(`Local dev: GPS_API_BASE=${LOCAL_GPS_API_BASE} npx ${PACKAGE} setup --mode=stdio`);
53
+ if (mode === 'oauth' || mode === 'remote') {
54
+ console.log('\nVS Code / Copilot: restart IDE → MCP: List Servers → Connect gpsglobal (DCR — no manual client ID).');
55
+ }
53
56
  console.log(`Done. Ask your AI: "list my GPS funds using ${MCP_SERVER_KEY}"`);
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpsglobal-ai/gpsglobal",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "description": "GPS LP fund wiki MCP server — list_funds and get_fund_wiki for Cursor, Copilot, Claude",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",