codeam-cli 1.4.30 → 1.4.31
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 +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -116,7 +116,7 @@ var import_qrcode_terminal = __toESM(require("qrcode-terminal"));
|
|
|
116
116
|
// package.json
|
|
117
117
|
var package_default = {
|
|
118
118
|
name: "codeam-cli",
|
|
119
|
-
version: "1.4.
|
|
119
|
+
version: "1.4.31",
|
|
120
120
|
description: "Remote control Claude Code from your mobile device",
|
|
121
121
|
main: "dist/index.js",
|
|
122
122
|
bin: {
|
|
@@ -1774,11 +1774,9 @@ except Exception:sys.exit(0)
|
|
|
1774
1774
|
proc.stdin?.write("/usage\r");
|
|
1775
1775
|
setTimeout(() => {
|
|
1776
1776
|
const clean = output.replace(/\x1B\[[^@-~]*[@-~]/g, "").replace(/[\x00-\x1F\x7F]/g, " ").replace(/\s+/g, " ");
|
|
1777
|
-
console.error("[quota-debug] output length:", output.length, "clean snippet:", clean.slice(0, 500));
|
|
1778
1777
|
const weekMatch = clean.match(/(\d+)%\s*used/i) || clean.match(/(\d+)\s*%/);
|
|
1779
1778
|
if (weekMatch) {
|
|
1780
1779
|
historySvc.setQuotaPercent(parseInt(weekMatch[1], 10));
|
|
1781
|
-
console.error("[quota-debug] matched quotaPercent:", weekMatch[1]);
|
|
1782
1780
|
}
|
|
1783
1781
|
const resetMatch = clean.match(/resets\s+(.+?)(?:\s*\(|$)/im);
|
|
1784
1782
|
if (resetMatch) {
|