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 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.16] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **glm:** read feature flags given as an object map
15
+
10
16
  ## [2.82.15] - 2026-10-22
11
17
 
12
18
  ### Fixed
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.15",
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": {