@ebowwa/channel-ssh 1.1.2 → 1.1.3

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/dist/index.js CHANGED
@@ -325,7 +325,7 @@ async function main() {
325
325
  console.log("");
326
326
  ensureDir();
327
327
  try {
328
- getClient();
328
+ getAPIKey();
329
329
  console.log("GLM client initialized with retry support");
330
330
  } catch (e) {
331
331
  console.error("Failed to initialize GLM client:", e.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebowwa/channel-ssh",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "SSH chat channel for GLM AI - configurable via environment variables",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -419,9 +419,9 @@ async function main() {
419
419
  // Ensure directories exist
420
420
  ensureDir();
421
421
 
422
- // Initialize GLM client (will throw if no API key)
422
+ // Verify API key is configured
423
423
  try {
424
- getClient();
424
+ getAPIKey();
425
425
  console.log('GLM client initialized with retry support');
426
426
  } catch (e) {
427
427
  console.error('Failed to initialize GLM client:', (e as Error).message);