tiger-agent 0.2.1 → 0.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiger-agent",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Cognitive AI agent with persistent memory, multi-provider LLM, and Telegram bot",
5
5
  "type": "commonjs",
6
6
  "main": "src/cli.js",
@@ -42,7 +42,7 @@ async function askHidden(prompt) {
42
42
  buf += ch; stdout.write('*');
43
43
  }
44
44
  }
45
- function cleanup() { stdin.off('data', onData); stdin.setRawMode(false); stdin.pause(); }
45
+ function cleanup() { stdin.off('data', onData); stdin.setRawMode(false); stdin.resume(); }
46
46
  stdin.on('data', onData);
47
47
  });
48
48
  }
@@ -181,7 +181,7 @@ Config will be saved to: ${TIGER_HOME}
181
181
  }
182
182
 
183
183
  // ── Active provider ────────────────────────────────────────────────────────
184
- console.log('\nAvailable providers: kimi, zai (Zhipu GLM-5), minimax, claude, moonshot');
184
+ console.log('\nAvailable providers: kimi, zai (Zhipu GLM-4.7), minimax, claude, moonshot');
185
185
  const activeProv = (await ask('Active provider (zai): ')).trim() || 'zai';
186
186
  const provOrder = (await ask(`Provider fallback order (${activeProv},claude,kimi,minimax,moonshot): `)).trim()
187
187
  || `${activeProv},claude,kimi,minimax,moonshot`;
@@ -231,8 +231,8 @@ Config will be saved to: ${TIGER_HOME}
231
231
  '',
232
232
  '# ── Z.ai (Zhipu GLM)',
233
233
  envLine('ZAI_API_KEY', zaiKey),
234
- envLine('ZAI_BASE_URL', 'https://open.bigmodel.cn/api/paas/v4'),
235
- envLine('ZAI_MODEL', 'glm-5'),
234
+ envLine('ZAI_BASE_URL', 'https://api.z.ai/api/coding/paas/v4'),
235
+ envLine('ZAI_MODEL', 'glm-4.7'),
236
236
  envLine('ZAI_TIMEOUT_MS', '30000'),
237
237
  '',
238
238
  '# ── MiniMax',