aistorehub 0.2.0 → 0.2.1
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/config.js +3 -2
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
export const DEFAULT_PRODUCTION_API = "https://aistorehub-be-
|
|
4
|
+
export const DEFAULT_PRODUCTION_API = "https://aistorehub-be-ya19.onrender.com/api/v1";
|
|
5
5
|
const CONFIG_DIR = path.join(os.homedir(), ".aistorehub");
|
|
6
6
|
const CONFIG_FILE = path.join(CONFIG_DIR, "config.json");
|
|
7
7
|
function isDefunctUrl(url) {
|
|
@@ -9,7 +9,8 @@ function isDefunctUrl(url) {
|
|
|
9
9
|
return (lower.includes("aistorehub-be.onrender.com") ||
|
|
10
10
|
lower.includes("aistorehub-be-3weo") ||
|
|
11
11
|
lower.includes("aistorehub-be-5dwr") ||
|
|
12
|
-
lower.includes("aistorehub-be-z2m1")
|
|
12
|
+
lower.includes("aistorehub-be-z2m1") ||
|
|
13
|
+
lower.includes("aistorehub-be-cgsu"));
|
|
13
14
|
}
|
|
14
15
|
export function loadConfig() {
|
|
15
16
|
const envUrl = process.env.AISTOREHUB_API_URL?.replace(/\/$/, "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aistorehub",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Official Node.js / TypeScript CLI for AIStoreHub - search, pull, scan, and 1-click install AI systems, skills, and MCP servers into Cursor, Claude Desktop, Windsurf, and Zed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|