zames_pro 2.81.2 → 2.81.4
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/context.js +8 -4
- package/dist/web.js +7 -0
- 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.81.4] - 2026-10-21
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **web:** SSRF guard blocks metadata/kubernetes service aliases
|
|
15
|
+
|
|
16
|
+
## [2.81.3] - 2026-10-21
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **context:** allowed-tools accepts a space-separated list
|
|
21
|
+
|
|
10
22
|
## [2.81.2] - 2026-10-21
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/context.js
CHANGED
|
@@ -279,10 +279,14 @@ function parseFrontmatter(raw) {
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
const allowedTools = typeof out['allowed-tools'] === 'string'
|
|
282
|
-
?
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
.
|
|
282
|
+
? // A comma list is the documented form, but a hand-written SKILL.md
|
|
283
|
+
// often uses plain spaces (`allowed-tools: Read Bash Grep`). Splitting
|
|
284
|
+
// on commas alone made that ONE name, no tool matched, and the skill
|
|
285
|
+
// could only call respond.
|
|
286
|
+
out['allowed-tools']
|
|
287
|
+
.split(/[,\s]+/)
|
|
288
|
+
.map((s) => s.trim())
|
|
289
|
+
.filter(Boolean)
|
|
286
290
|
: undefined;
|
|
287
291
|
const userInvokable = typeof out['user-invokable'] === 'string'
|
|
288
292
|
? out['user-invokable'].toLowerCase() !== 'false'
|
package/dist/web.js
CHANGED
|
@@ -318,8 +318,15 @@ export function isPrivateHostname(host) {
|
|
|
318
318
|
return true;
|
|
319
319
|
if (h === 'localhost' || h.endsWith('.localhost'))
|
|
320
320
|
return true;
|
|
321
|
+
// Cloud metadata / cluster service ALIASES. `metadata` (GCP), `instance-data`
|
|
322
|
+
// (AWS) and `kubernetes.default[.svc]` are internal-only names; blocking them
|
|
323
|
+
// by name does not depend on a split-horizon DNS answering with a private IP.
|
|
321
324
|
if (h === 'metadata.google.internal')
|
|
322
325
|
return true;
|
|
326
|
+
if (h === 'metadata' || h === 'instance-data')
|
|
327
|
+
return true;
|
|
328
|
+
if (h === 'kubernetes.default' || h === 'kubernetes.default.svc')
|
|
329
|
+
return true;
|
|
323
330
|
// Internal/mDNS/service names that never belong to the public internet.
|
|
324
331
|
if (h.endsWith('.internal') || h === 'internal')
|
|
325
332
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.81.
|
|
3
|
+
"version": "2.81.4",
|
|
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": {
|