pi-soly 2.5.4 → 2.5.5
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/package.json +1 -1
- package/visual/footer.ts +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-soly",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "Workflow + project management for pi-coding-agent. Plans, state, MANDATORY rules, self-review, multi-question picker. One npm install, zero config. LLM drives the workflow inline via the soly_workflow tool — no external subagent plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
package/visual/footer.ts
CHANGED
|
@@ -75,6 +75,21 @@ export function buildFooterLine(data: ChromeData, fd: FooterData, width: number,
|
|
|
75
75
|
const quotaText = ascii ? `${data.quotaPercent}%` : `⬢ ${data.quotaPercent}%`;
|
|
76
76
|
const label = data.quotaResetsLabel ? `${quotaText} · ${data.quotaResetsLabel}` : quotaText;
|
|
77
77
|
left.push({ id: "quota", text: styler.fg("muted", label), priority: 6 });
|
|
78
|
+
// TEMP DEBUG
|
|
79
|
+
try {
|
|
80
|
+
const fs = require("node:fs");
|
|
81
|
+
const os = require("node:os");
|
|
82
|
+
const p = require("node:path");
|
|
83
|
+
fs.appendFileSync(p.join(os.tmpdir(), "pi-soly-quota-debug.log"), `[${new Date().toISOString()}] [footer] render: pushed quota segment pct=${data.quotaPercent}\n`);
|
|
84
|
+
} catch {}
|
|
85
|
+
} else {
|
|
86
|
+
// TEMP DEBUG
|
|
87
|
+
try {
|
|
88
|
+
const fs = require("node:fs");
|
|
89
|
+
const os = require("node:os");
|
|
90
|
+
const p = require("node:path");
|
|
91
|
+
fs.appendFileSync(p.join(os.tmpdir(), "pi-soly-quota-debug.log"), `[${new Date().toISOString()}] [footer] render: quotaPercent=null (segment skipped)\n`);
|
|
92
|
+
} catch {}
|
|
78
93
|
}
|
|
79
94
|
|
|
80
95
|
if (data.rulesActive > 0) {
|