polydev-ai 1.8.88 → 1.8.89
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/mcp/stdio-wrapper.js +3 -4
- package/package.json +1 -1
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -589,16 +589,15 @@ After login, restart your IDE.`
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
try {
|
|
592
|
-
// Fetch account status
|
|
592
|
+
// Fetch account status from simple REST endpoint (not JSON-RPC)
|
|
593
593
|
const [accountResponse, cliStatus] = await Promise.all([
|
|
594
|
-
fetch('https://www.polydev.ai/api/
|
|
594
|
+
fetch('https://www.polydev.ai/api/auth/status', {
|
|
595
595
|
method: 'POST',
|
|
596
596
|
headers: {
|
|
597
597
|
'Content-Type': 'application/json',
|
|
598
598
|
'Authorization': `Bearer ${this.userToken}`,
|
|
599
599
|
'User-Agent': 'polydev-stdio-wrapper/1.0.0'
|
|
600
|
-
}
|
|
601
|
-
body: JSON.stringify({ action: 'check_status' })
|
|
600
|
+
}
|
|
602
601
|
}),
|
|
603
602
|
this.cliManager?.getQuickStatus?.() || null
|
|
604
603
|
]);
|