maiass 5.12.2 → 5.12.3
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/lib/account-info.js +7 -2
- package/package.json +1 -1
package/lib/account-info.js
CHANGED
|
@@ -442,9 +442,14 @@ export async function handleAccountInfoCommand(options = {}) {
|
|
|
442
442
|
} else {
|
|
443
443
|
console.log(`Status: ${result.status || 'unknown'}`);
|
|
444
444
|
}
|
|
445
|
-
|
|
445
|
+
|
|
446
|
+
if (subscriptionId && subscriptionId.startsWith('sub_anon_')) {
|
|
447
|
+
const topupEndpoint = process.env.MAIASS_TOPUP_ENDPOINT || 'https://maiass.net/top-up';
|
|
448
|
+
console.log(`Top-up link: ${topupEndpoint}/${subscriptionId}`);
|
|
449
|
+
}
|
|
450
|
+
|
|
446
451
|
console.log('');
|
|
447
|
-
|
|
452
|
+
|
|
448
453
|
} catch (error) {
|
|
449
454
|
if (debugMode) {
|
|
450
455
|
log.debug(SYMBOLS.WARNING, `[MAIASS DEBUG] Account info error: ${error.stack || error.message}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maiass",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.12.
|
|
4
|
+
"version": "5.12.3",
|
|
5
5
|
"description": "AI commit message generator, semantic versioning, and changelog automation for Git. One command stages, commits with AI, bumps version, and merges branches. Free credits on install — no sign-up needed.",
|
|
6
6
|
"main": "maiass.mjs",
|
|
7
7
|
"bin": {
|