kitstore-cli 1.0.33 → 1.0.34

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.
Files changed (2) hide show
  1. package/dist/config.js +3 -1
  2. package/package.json +1 -1
package/dist/config.js CHANGED
@@ -65,7 +65,9 @@ async function getConfig() {
65
65
  const content = await fs.readJson(CONFIG_FILE);
66
66
  // Environment variable takes precedence over config file, bundled default, then localhost
67
67
  const defaultConfig = await loadBundledDefaultConfig();
68
- const server = process.env.AGENTKIT_BACKEND_URL || content.server || defaultConfig?.server || 'http://localhost:3000';
68
+ // If content.server exists (even if falsy like empty string), use it; otherwise use fallback
69
+ const server = process.env.AGENTKIT_BACKEND_URL ||
70
+ (content.server !== undefined ? content.server : (defaultConfig?.server || 'http://localhost:3000'));
69
71
  return { ...content, server };
70
72
  }
71
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitstore-cli",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "CLI tool for Cursor Kit",
5
5
  "main": "dist/index.js",
6
6
  "bin": {