@hienlh/ppm 0.9.60 → 0.9.61
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
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.61] - 2026-04-08
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Telegram message clarity**: Thinking blocks now wrapped in `<blockquote>` (indented with vertical bar), tool calls in `<pre>` blocks (monospace background). Much easier to distinguish from actual response text.
|
|
7
|
+
|
|
3
8
|
## [0.9.60] - 2026-04-08
|
|
4
9
|
|
|
5
10
|
### Fixed
|
package/package.json
CHANGED
|
@@ -66,7 +66,7 @@ function renderSegments(segments: Segment[]): string {
|
|
|
66
66
|
return segments
|
|
67
67
|
.map((s) => {
|
|
68
68
|
if (s.type === "md") return markdownToTelegramHtml(s.text);
|
|
69
|
-
if (s.type === "thinking") return `\n<
|
|
69
|
+
if (s.type === "thinking") return `\n<blockquote>💭 <i>${escapeHtml(s.text)}</i></blockquote>\n`;
|
|
70
70
|
return s.text;
|
|
71
71
|
})
|
|
72
72
|
.join("");
|
|
@@ -192,7 +192,7 @@ export async function streamToTelegram(
|
|
|
192
192
|
const inputPreview = formatToolInput(event.input);
|
|
193
193
|
appendHtml(
|
|
194
194
|
segments,
|
|
195
|
-
`\n
|
|
195
|
+
`\n<pre>🔧 ${escapeHtml(toolName)}: ${escapeHtml(inputPreview)}</pre>\n`,
|
|
196
196
|
);
|
|
197
197
|
await editCurrent();
|
|
198
198
|
}
|
|
@@ -203,7 +203,7 @@ export async function streamToTelegram(
|
|
|
203
203
|
if (config.showToolCalls && event.isError) {
|
|
204
204
|
appendHtml(
|
|
205
205
|
segments,
|
|
206
|
-
`\n
|
|
206
|
+
`\n<pre>⚠️ ${escapeHtml(event.output.slice(0, 200))}</pre>\n`,
|
|
207
207
|
);
|
|
208
208
|
await editCurrent();
|
|
209
209
|
}
|