opencode-usage 0.5.7 → 0.5.8

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.
@@ -14,7 +14,7 @@
14
14
  if (d) document.documentElement.classList.add("dark");
15
15
  })();
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-ybRDM9XN.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-Ctp6fkHv.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-BQeHKMP0.css">
19
19
  </head>
20
20
  <body>
@@ -14,7 +14,7 @@
14
14
  if (d) document.documentElement.classList.add("dark");
15
15
  })();
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-ybRDM9XN.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-Ctp6fkHv.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-BQeHKMP0.css">
19
19
  </head>
20
20
  <body>
package/dist/index.js CHANGED
@@ -746,7 +746,11 @@ var init_plugin_adapters = __esm(() => {
746
746
  input.alias
747
747
  ]);
748
748
  const status = String(result.status ?? "error");
749
+ const quota = result.quota;
749
750
  ctx.log("info", `Result: ${status}`);
751
+ if (quota) {
752
+ ctx.log("info", `Quota from ping: ${JSON.stringify(quota)}`);
753
+ }
750
754
  if (status === "ok") {
751
755
  await clearStaleMetrics(input.provider, input.alias);
752
756
  }
@@ -31154,4 +31158,4 @@ async function main2() {
31154
31158
  var WATCH_INTERVAL_MS = 5 * 60 * 1000;
31155
31159
  main2().catch(console.error);
31156
31160
 
31157
- //# debugId=31E49E1C5B0730A864756E2164756E21
31161
+ //# debugId=5A3E5FE73F68D7CA64756E2164756E21