polydev-ai 1.8.96 → 1.8.97
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 +8 -4
- package/package.json +1 -1
package/mcp/stdio-wrapper.js
CHANGED
|
@@ -650,6 +650,7 @@ After login, restart your IDE.`
|
|
|
650
650
|
if (accountResponse.ok) {
|
|
651
651
|
const data = await accountResponse.json();
|
|
652
652
|
const credits = data.credits_remaining?.toLocaleString() || 0;
|
|
653
|
+
const messages = data.messages_remaining?.toLocaleString() || 0;
|
|
653
654
|
const tier = data.subscription_tier || 'Free';
|
|
654
655
|
const email = data.email || 'Connected';
|
|
655
656
|
|
|
@@ -657,10 +658,12 @@ After login, restart your IDE.`
|
|
|
657
658
|
let cliSection = '';
|
|
658
659
|
if (cliStatus) {
|
|
659
660
|
const cliLines = [];
|
|
660
|
-
if (cliStatus.claude_code) cliLines.push(` ✓ Claude Code ${cliStatus.claude_code.available ? '(ready)' : '(not found)'}`);
|
|
661
|
-
if (cliStatus.codex_cli) cliLines.push(` ✓ Codex CLI ${cliStatus.codex_cli.available ? '(ready)' : '(not found)'}`);
|
|
662
|
-
if (cliStatus.gemini_cli) cliLines.push(` ✓ Gemini CLI ${cliStatus.gemini_cli.available ? '(ready)' : '(not found)'}`);
|
|
663
|
-
|
|
661
|
+
if (cliStatus.claude_code) cliLines.push(` ${cliStatus.claude_code.available ? '✓' : '✗'} Claude Code ${cliStatus.claude_code.available ? '(ready)' : '(not found)'}`);
|
|
662
|
+
if (cliStatus.codex_cli) cliLines.push(` ${cliStatus.codex_cli.available ? '✓' : '✗'} Codex CLI ${cliStatus.codex_cli.available ? '(ready)' : '(not found)'}`);
|
|
663
|
+
if (cliStatus.gemini_cli) cliLines.push(` ${cliStatus.gemini_cli.available ? '✓' : '✗'} Gemini CLI ${cliStatus.gemini_cli.available ? '(ready)' : '(not found)'}`);
|
|
664
|
+
if (cliLines.length > 0) {
|
|
665
|
+
cliSection = `\n🖥️ Local CLI Tools:\n${cliLines.join('\n')}`;
|
|
666
|
+
}
|
|
664
667
|
}
|
|
665
668
|
|
|
666
669
|
return {
|
|
@@ -676,6 +679,7 @@ After login, restart your IDE.`
|
|
|
676
679
|
🔐 Authentication: ✓ Logged in
|
|
677
680
|
👤 Account: ${email}
|
|
678
681
|
💰 Credits: ${credits}
|
|
682
|
+
📨 Messages: ${messages}
|
|
679
683
|
⭐ Tier: ${tier}
|
|
680
684
|
${cliSection}
|
|
681
685
|
|