@hanhnd/agent-kit 1.0.14 → 1.0.15

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.
@@ -21361,7 +21361,9 @@ function loadCredentials() {
21361
21361
  return cachedCredentials;
21362
21362
  }
21363
21363
  function getCredential(key) {
21364
- if (process.env[key] !== void 0) return process.env[key];
21364
+ if (process.env[key]) {
21365
+ return process.env[key];
21366
+ }
21365
21367
  return loadCredentials()[key];
21366
21368
  }
21367
21369
 
@@ -82,7 +82,8 @@ function loadCredentials() {
82
82
  * process.env.KEY → ~/.claude/credentials [profile] → undefined
83
83
  */
84
84
  export function getCredential(key) {
85
- if (process.env[key] !== undefined)
85
+ if (process.env[key]) {
86
86
  return process.env[key];
87
+ }
87
88
  return loadCredentials()[key];
88
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanhnd/agent-kit",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Super Engineer - Team of AI Agents for software development (Claude Code Plugin)",
5
5
  "type": "module",
6
6
  "main": "dist/kit-server.js",