zames_pro 2.75.2 → 2.75.3
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/README.md +1 -1
- package/dist/markdown.js +17 -1
- package/package.json +2 -2
- /package/{logo-small.jpg → logo.jpg} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.75.3] - 2026-10-15
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **markdown:** always apply the theme in rendered answers; rename logo-small.jpg to logo.jpg
|
|
15
|
+
|
|
10
16
|
## [2.75.2] - 2026-10-15
|
|
11
17
|
|
|
12
18
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/Viqto0r/zames_pro/master/logo
|
|
2
|
+
<img src="https://raw.githubusercontent.com/Viqto0r/zames_pro/master/logo.jpg" alt="zames logo" width="430">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">zames_pro</h1>
|
package/dist/markdown.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { render } from 'markdansi';
|
|
2
2
|
import { highlight } from 'cli-highlight';
|
|
3
|
+
import supportsHyperlinks from 'supports-hyperlinks';
|
|
3
4
|
const theme = {
|
|
4
5
|
heading: { color: '#9fb8d8', bold: true },
|
|
5
6
|
strong: { color: '#e6e0cc', bold: true },
|
|
@@ -37,16 +38,31 @@ export function setAnswerWidth(width) {
|
|
|
37
38
|
export function renderMarkdown(text) {
|
|
38
39
|
if (!text)
|
|
39
40
|
return '';
|
|
41
|
+
// NO_COLOR (https://no-color.org) is the ONE color opt-out. markdansi
|
|
42
|
+
// builds its OWN Chalk instance, so the `chalk.level = 0` that theme.ts
|
|
43
|
+
// sets for NO_COLOR never reaches it; without this guard the answers would
|
|
44
|
+
// stay colored while everything else went plain.
|
|
45
|
+
if (process.env.NO_COLOR)
|
|
46
|
+
return String(text);
|
|
40
47
|
try {
|
|
41
48
|
const width = contentWidth();
|
|
42
49
|
return render(String(text), {
|
|
43
50
|
width,
|
|
51
|
+
// markdansi infers color support itself (`process.stdout.isTTY`), so
|
|
52
|
+
// under a non-TTY stdout — a piped answer, `--json`, a test — it emitted
|
|
53
|
+
// PLAIN text and the whole theme below was silently unused (answers
|
|
54
|
+
// looked unformatted). `color: true` makes it always emit SGR; the ONE
|
|
55
|
+
// opt-out is NO_COLOR, handled above.
|
|
56
|
+
color: true,
|
|
44
57
|
theme: theme,
|
|
45
58
|
highlighter,
|
|
46
59
|
codeBox: true,
|
|
47
60
|
tableBorder: 'unicode',
|
|
48
61
|
listIndent: 2,
|
|
49
|
-
hyperlinks:
|
|
62
|
+
// OSC-8 hyperlinks: the URL disappears into a clickable label. Only
|
|
63
|
+
// when the terminal advertises support — otherwise the raw URL is
|
|
64
|
+
// printed, which is the safer default for a log that may be piped.
|
|
65
|
+
hyperlinks: supportsHyperlinks.stdout,
|
|
50
66
|
});
|
|
51
67
|
}
|
|
52
68
|
catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.75.
|
|
3
|
+
"version": "2.75.3",
|
|
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": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"README.md",
|
|
13
13
|
"CHANGELOG.md",
|
|
14
14
|
"LICENSE",
|
|
15
|
-
"logo
|
|
15
|
+
"logo.jpg"
|
|
16
16
|
],
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "node ./dist/index.js",
|
|
File without changes
|