zames_pro 2.82.21 → 2.82.22
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 +6 -0
- package/dist/web.js +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/web.js
CHANGED
|
@@ -55,9 +55,13 @@ export function htmlToText(html) {
|
|
|
55
55
|
const t = text.replace(/<[^>]+>/g, '').trim();
|
|
56
56
|
return t ? `${t} (${href})` : href;
|
|
57
57
|
});
|
|
58
|
-
// Headings, paragraphs, BR → newlines
|
|
58
|
+
// Headings, paragraphs, BR → newlines. A table CELL ends with a space: the
|
|
59
|
+
// cells are joined without any separator otherwise, so `<td>Name</td>`
|
|
60
|
+
// `<td>42</td>` became `Name42` — two independent values fused into one, and
|
|
61
|
+
// the model reported a number that never appeared on the page.
|
|
59
62
|
s = s
|
|
60
63
|
.replace(/<\/(h[1-6]|p|div|li|tr|section|article)>/gi, '\n')
|
|
64
|
+
.replace(/<\/(td|th)>/gi, ' ')
|
|
61
65
|
.replace(/<br\s*\/?>/gi, '\n')
|
|
62
66
|
.replace(/<li[^>]*>/gi, '- ')
|
|
63
67
|
.replace(/<[^>]+>/g, '');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.22",
|
|
4
4
|
"description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen and other web LLMs — no API key required. Reads and edits files, runs commands, commits to git, like Claude Code / Codex CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|