pi-quiver 6.17.0 → 6.17.1
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/CHANGELOG.md +4 -0
- package/extensions/message-timestamps.ts +8 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
Format follows sibling pi packages (e.g. [`pi-condense`](https://github.com/jjuraszek/pi-condense/blob/main/CHANGELOG.md)):
|
|
4
4
|
one entry per `vX.Y.Z` tag, newest first, terse bullets, dated.
|
|
5
5
|
|
|
6
|
+
## v6.17.1 - 2026-11-22
|
|
7
|
+
|
|
8
|
+
- `message-timestamps` shows times as `2026-11-22 15:24` (`YYYY-MM-DD HH:mm`, local time zone, same for every system language) in the footer and the transcript. The footer no longer prefixes the time with `last message`.
|
|
9
|
+
|
|
6
10
|
## v6.17.0 - 2026-11-20
|
|
7
11
|
|
|
8
12
|
- `message-timestamps` shows the newest saved message's local date and time in pi's shared terminal footer by default. Set `quiver.messageTimestamps.transcript` to `true` for dim time lines after prompts and settled runs, or use `/timestamps` to change either display for the current session. (#44)
|
|
@@ -23,10 +23,13 @@ export function resolveTimestampConfig(settings: ReturnType<ExtensionAPI["getSet
|
|
|
23
23
|
return { ...global, ...coerce(quiver?.messageTimestamps) };
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export function formatTime(date: Date
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
export function formatTime(date: Date): string {
|
|
27
|
+
const year = String(date.getFullYear()).padStart(4, "0");
|
|
28
|
+
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
29
|
+
const day = String(date.getDate()).padStart(2, "0");
|
|
30
|
+
const hour = String(date.getHours()).padStart(2, "0");
|
|
31
|
+
const minute = String(date.getMinutes()).padStart(2, "0");
|
|
32
|
+
return `${year}-${month}-${day} ${hour}:${minute}`;
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
export function newestMessageTime(branch: readonly SessionEntry[]): string | undefined {
|
|
@@ -63,7 +66,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
63
66
|
function refreshFooter(ctx: ExtensionContext) {
|
|
64
67
|
const timestamp = config.footer ? newestMessageTime(ctx.sessionManager.getBranch()) : undefined;
|
|
65
68
|
ctx.ui.setStatus("message-timestamps", timestamp === undefined ? undefined :
|
|
66
|
-
ctx.ui.theme.fg("dim",
|
|
69
|
+
ctx.ui.theme.fg("dim", formatTime(new Date(timestamp))));
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
pi.on("session_start", (_event, ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-quiver",
|
|
3
|
-
"version": "6.17.
|
|
3
|
+
"version": "6.17.1",
|
|
4
4
|
"description": "Personal pack of Pi coding-agent extensions: context-safe fetch, doc_to_md PDF/DOCX/PPTX-to-Markdown conversion, session naming, a themed ASCII startup header, Anthropic fast mode, and a provider-stall watchdog.",
|
|
5
5
|
"author": "Jacek Juraszek",
|
|
6
6
|
"license": "MIT",
|