zames_pro 2.82.63 → 2.82.64
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/attachments.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/attachments.js
CHANGED
|
@@ -78,8 +78,13 @@ export function formatSize(bytes) {
|
|
|
78
78
|
const n = Number(bytes) || 0;
|
|
79
79
|
if (n < 1024)
|
|
80
80
|
return n + ' B';
|
|
81
|
-
if (n < 1024 * 1024)
|
|
82
|
-
|
|
81
|
+
if (n < 1024 * 1024) {
|
|
82
|
+
const kb = (n / 1024).toFixed(1);
|
|
83
|
+
// toFixed ROUNDS: just under a megabyte the quotient is 1023.999 KB and
|
|
84
|
+
// the operator saw "1024.0 KB" — a size that should be "1.0 MB".
|
|
85
|
+
if (kb !== '1024.0')
|
|
86
|
+
return kb + ' KB';
|
|
87
|
+
}
|
|
83
88
|
return (n / (1024 * 1024)).toFixed(1) + ' MB';
|
|
84
89
|
}
|
|
85
90
|
export function isImageName(name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.64",
|
|
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": {
|