zames_pro 2.82.14 → 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,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.16] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **glm:** read feature flags given as an object map
15
+
16
+ ## [2.82.15] - 2026-10-22
17
+
18
+ ### Fixed
19
+
20
+ - **glm:** probe the send button so a missing one is a critical UI failure
21
+
10
22
  ## [2.82.14] - 2026-10-22
11
23
 
12
24
  ### Fixed
@@ -1306,6 +1306,11 @@ export class GlmBrowser {
1306
1306
  _uiCapabilities() {
1307
1307
  return [
1308
1308
  { capability: 'input', selectors: INPUT_SELECTORS, critical: true },
1309
+ // z.ai's send button is present on an idle page (a disabled
1310
+ // `button#send-message-button`), so a missing one is a REAL failure: the
1311
+ // prompt would be typed and never submitted. Without this entry the page
1312
+ // reported healthy while no send control existed.
1313
+ { capability: 'send', selectors: SEND_SELECTORS, critical: true },
1309
1314
  { capability: 'toggles', selectors: [], critical: false },
1310
1315
  {
1311
1316
  capability: 'newChat',
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.14",
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": {