@trim21/personal-pi-extensions 0.0.201 → 0.0.202
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/src/talk/format.ts +2 -1
package/package.json
CHANGED
package/src/talk/format.ts
CHANGED
|
@@ -23,7 +23,8 @@ export function age(ts: number, now: number = Date.now()): string {
|
|
|
23
23
|
|
|
24
24
|
/** Delivery text injected into the receiving session's LLM context. */
|
|
25
25
|
export function formatDelivery(letter: Letter, now: number = Date.now()): string {
|
|
26
|
-
const
|
|
26
|
+
const from = letter.from;
|
|
27
|
+
const header = `From pi session ${from.sessionId} (${from.cwd}) — "${from.name}"`;
|
|
27
28
|
const meta = `_id ${letter.id} · ${letter.kind} · sent ${age(letter.ts, now)}_`;
|
|
28
29
|
const hint =
|
|
29
30
|
letter.kind === "ask" ? `\n\nReply with the talk-reply tool, replyTo: "${letter.id}"` : "";
|