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 +1 -1
- package/scripts/onboard.js +4 -4
package/package.json
CHANGED
package/scripts/onboard.js
CHANGED
|
@@ -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.
|
|
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-
|
|
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://
|
|
235
|
-
envLine('ZAI_MODEL', 'glm-
|
|
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',
|