zames_pro 2.82.23 → 2.82.24
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/permissions.js +9 -0
- package/package.json +1 -1
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.82.24] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **permissions:** drop a rule with an unknown condition key
|
|
15
|
+
|
|
10
16
|
## [2.82.23] - 2026-10-22
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/permissions.js
CHANGED
|
@@ -25,6 +25,15 @@ export function parsePermissions(raw) {
|
|
|
25
25
|
const action = normAltion(e['action']);
|
|
26
26
|
if (!action)
|
|
27
27
|
continue;
|
|
28
|
+
// A rule whose condition key is not one we understand (`paths`, `tools`,
|
|
29
|
+
// `cmd`) would otherwise lose that condition and match EVERY call of the
|
|
30
|
+
// listed tool — the operator wrote a narrow rule and got a global block.
|
|
31
|
+
// Such a rule is UNUSABLE: dropping it keeps the operator's policy honest
|
|
32
|
+
// (the default still applies) instead of silently widening it.
|
|
33
|
+
const KNOWN = new Set(['action', 'tool', 'command', 'path']);
|
|
34
|
+
const unknown = Object.keys(e).find((k) => !KNOWN.has(k));
|
|
35
|
+
if (unknown !== undefined)
|
|
36
|
+
continue;
|
|
28
37
|
out.push({
|
|
29
38
|
action,
|
|
30
39
|
tool: typeof e['tool'] === 'string' ? e['tool'] : undefined,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.24",
|
|
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": {
|