zames_pro 2.82.7 → 2.82.9
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 +12 -0
- package/dist/mcp.js +13 -4
- package/dist/tui/edit.js +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.82.9] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **tui:** wordRight stops at a newline instead of jumping to the next line
|
|
15
|
+
|
|
16
|
+
## [2.82.8] - 2026-10-22
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **mcp:** --isolated=false no longer counts as an isolated profile
|
|
21
|
+
|
|
10
22
|
## [2.82.7] - 2026-10-22
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/mcp.js
CHANGED
|
@@ -44,10 +44,19 @@ export function hardenPlaywrightArgs(command, args) {
|
|
|
44
44
|
const hay = (String(command || '') + ' ' + args.join(' ')).toLowerCase();
|
|
45
45
|
if (!hay.includes('playwright') || !hay.includes('mcp'))
|
|
46
46
|
return args;
|
|
47
|
-
if (args.some((a) =>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
if (args.some((a) =>
|
|
48
|
+
// A PREFIX match treated `--isolated=false` as the isolated flag, so
|
|
49
|
+
// the hardener added nothing and the MCP browser opened the agent's
|
|
50
|
+
// live profile anyway. Only a flag EXPLICITLY ON, or a value-taking
|
|
51
|
+
// profile flag, counts; `=false` does not.
|
|
52
|
+
a === '--isolated' ||
|
|
53
|
+
/^--isolated=(?!false$)/.test(a) ||
|
|
54
|
+
a === '--user-data-dir' ||
|
|
55
|
+
a.startsWith('--user-data-dir=') ||
|
|
56
|
+
a === '--extension' ||
|
|
57
|
+
a.startsWith('--extension=') ||
|
|
58
|
+
a === '--cdp-endpoint' ||
|
|
59
|
+
a.startsWith('--cdp-endpoint='))) {
|
|
51
60
|
return args;
|
|
52
61
|
}
|
|
53
62
|
return [...args, '--isolated'];
|
package/dist/tui/edit.js
CHANGED
|
@@ -156,9 +156,12 @@ export function wordLeft(s) {
|
|
|
156
156
|
export function wordRight(s) {
|
|
157
157
|
const chars = charsOf(s);
|
|
158
158
|
let i = s.cursor;
|
|
159
|
-
|
|
159
|
+
// Stop at a NEWLINE, like wordLeft/deleteWordLeft/deleteWordRight do: the
|
|
160
|
+
// caret must never jump ACROSS a line break. Without the guard, Alt+F at the
|
|
161
|
+
// end of a line skipped the break and landed at the end of the NEXT line.
|
|
162
|
+
while (i < chars.length && chars[i] !== NL && /\s/.test(chars[i]))
|
|
160
163
|
i++;
|
|
161
|
-
while (i < chars.length && !/\s/.test(chars[i]))
|
|
164
|
+
while (i < chars.length && chars[i] !== NL && !/\s/.test(chars[i]))
|
|
162
165
|
i++;
|
|
163
166
|
return i === s.cursor ? s : { ...s, cursor: i };
|
|
164
167
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.9",
|
|
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": {
|