@gpsglobal-ai/gpsglobal 1.4.8 → 1.4.9
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 +5 -0
- package/dist/cli/doctor.js +21 -0
- package/dist/cli/setup.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog — gpsglobal
|
|
2
2
|
|
|
3
|
+
## 1.4.9 — 2026-06-21
|
|
4
|
+
|
|
5
|
+
- **`doctor`:** checks OAuth AS `registration_endpoint` (DCR) for VS Code zero-config Connect
|
|
6
|
+
- **`setup`:** prints VS Code Connect hint after OAuth config merge
|
|
7
|
+
|
|
3
8
|
## 1.4.8 — 2026-06-21
|
|
4
9
|
|
|
5
10
|
- **fix(setup):** CLI exits cleanly after `setup` / `login` — clear OAuth timeout, close loopback server, disable axios keep-alive (no more Ctrl+C)
|
package/dist/cli/doctor.js
CHANGED
|
@@ -78,6 +78,27 @@ 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
|
+
checks.push({
|
|
88
|
+
name: 'oauth-dcr',
|
|
89
|
+
ok: hasDcr,
|
|
90
|
+
detail: hasDcr
|
|
91
|
+
? 'registration_endpoint present (VS Code Connect OK)'
|
|
92
|
+
: `AS metadata → ${asMeta.status} (VS Code may ask for manual client ID)`,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
catch (err) {
|
|
96
|
+
checks.push({
|
|
97
|
+
name: 'oauth-dcr',
|
|
98
|
+
ok: false,
|
|
99
|
+
detail: err instanceof Error ? err.message : String(err),
|
|
100
|
+
});
|
|
101
|
+
}
|
|
81
102
|
return { ok: checks.every((c) => c.ok), checks };
|
|
82
103
|
}
|
|
83
104
|
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
|
}
|