@candledottv/mcp 0.6.2 → 0.6.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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -431,10 +431,12 @@ async function executionStatus(cfg, doFetch) {
|
|
|
431
431
|
["tier", tier],
|
|
432
432
|
["limits", limits]
|
|
433
433
|
].filter(([, r]) => !r.ok);
|
|
434
|
+
const tierBody = tier.ok ? tier.body : undefined;
|
|
434
435
|
return {
|
|
435
436
|
text: JSON.stringify({
|
|
436
437
|
success: true,
|
|
437
438
|
ready: unreadable.length === 0 ? true : undefined,
|
|
439
|
+
notice: tierBody?.maxExpired ? tierBody.maxExpiredNotice : undefined,
|
|
438
440
|
unreadable: unreadable.length > 0 ? unreadable.map(([name]) => name) : undefined,
|
|
439
441
|
wallets: wallets.body,
|
|
440
442
|
tier: tier.body,
|
|
@@ -787,7 +789,7 @@ function registerTools(server, env = process.env) {
|
|
|
787
789
|
}
|
|
788
790
|
|
|
789
791
|
// src/version.ts
|
|
790
|
-
var SERVER_VERSION = "0.6.
|
|
792
|
+
var SERVER_VERSION = "0.6.3";
|
|
791
793
|
|
|
792
794
|
// src/server.ts
|
|
793
795
|
function createCandleMcpServer(env = process.env) {
|