zames_pro 2.82.15 → 2.82.16
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/glm-flags.js +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/glm-flags.js
CHANGED
|
@@ -41,6 +41,14 @@ export function readGlmBodyFeatures(body) {
|
|
|
41
41
|
if (Array.isArray(feat.flags)) {
|
|
42
42
|
out.flags = feat.flags.filter((x) => typeof x === 'string');
|
|
43
43
|
}
|
|
44
|
+
else if (feat.flags && typeof feat.flags === 'object') {
|
|
45
|
+
// Some builds send the flags as an OBJECT MAP (`{"general_agent": true}`)
|
|
46
|
+
// instead of an array. Reading only the array shape turned a map into "no
|
|
47
|
+
// flags", so z.ai's own agent runtime was reported as OFF.
|
|
48
|
+
out.flags = Object.entries(feat.flags)
|
|
49
|
+
.filter(([, v]) => v === true || (typeof v === 'string' && v !== 'false'))
|
|
50
|
+
.map(([k]) => k);
|
|
51
|
+
}
|
|
44
52
|
return out;
|
|
45
53
|
}
|
|
46
54
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.16",
|
|
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": {
|