pi-goosedump 0.12.3 → 0.12.4
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/README.md +2 -2
- package/dist/index.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -79,8 +79,8 @@ Optional settings live under `goosedump` in:
|
|
|
79
79
|
`turnsBeforeCompact` is an integer from 0 to 255. `0` disables scheduled
|
|
80
80
|
compaction. The countdown is restored when a session resumes and appears in the
|
|
81
81
|
footer with a status dot (green when >25% turns remain, yellow when ≤25%, red when ≤12.5%)
|
|
82
|
-
followed by hexadecimal turn countdown: `● GD:
|
|
83
|
-
to compact, and `● GD
|
|
82
|
+
followed by hexadecimal turn countdown: `● GD:0A` means ten turns remain, `● GD:00` is ready
|
|
83
|
+
to compact, and `● GD:--` is disabled. Clearing the project value restores the
|
|
84
84
|
global setting.
|
|
85
85
|
|
|
86
86
|
## Compaction behavior
|
package/dist/index.ts
CHANGED
|
@@ -1264,7 +1264,7 @@ function createGoosedumpIntegration(options = {}) {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
const dot = ctx.ui.theme.fg(dotColor, "●");
|
|
1266
1266
|
const counter = active ? Math.max(0, turnsRemaining).toString(16).toUpperCase().padStart(2, "0") : "--";
|
|
1267
|
-
const label = ctx.ui.theme.fg("text",
|
|
1267
|
+
const label = ctx.ui.theme.fg("text", `${ctx.ui.theme.bold?.("GD") ?? "GD"}:${counter}`);
|
|
1268
1268
|
ctx.ui.setStatus("goosedump", `${dot} ${label}`);
|
|
1269
1269
|
}
|
|
1270
1270
|
function noteCompletedTurn(ctx) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goosedump",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Pi extension for goosedump-backed session-history search, entry expansion, and compaction",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compaction",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@earendil-works/pi-tui": "^0.78.0",
|
|
41
|
-
"@jarkkojs/goosedump": "^0.12.
|
|
41
|
+
"@jarkkojs/goosedump": "^0.12.4",
|
|
42
42
|
"@sinclair/typebox": "^0.34.49"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|