galaxytus 1.0.1 ā 1.0.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/index.js +7 -5
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -10,8 +10,8 @@ import os from 'os';
|
|
|
10
10
|
// Tentukan lokasi penyimpanan API Key di komputer user (~/.galaxytus.json)
|
|
11
11
|
const CONFIG_PATH = path.join(os.homedir(), '.galaxytus.json');
|
|
12
12
|
|
|
13
|
-
//
|
|
14
|
-
const BASE_URL = process.env.GALAXYTUS_URL || '
|
|
13
|
+
// š DOMAIN CLOUD RUN LU UDAH DIPASANG DI SINI
|
|
14
|
+
const BASE_URL = process.env.GALAXYTUS_URL || 'https://galaxytus-web-259656672808.asia-southeast2.run.app';
|
|
15
15
|
const API_PROJECT_URL = `${BASE_URL}/api/cli/project`;
|
|
16
16
|
const API_SCAN_URL = `${BASE_URL}/api/cli/scan`;
|
|
17
17
|
|
|
@@ -136,7 +136,8 @@ program
|
|
|
136
136
|
|
|
137
137
|
if (fs.existsSync(CONFIG_PATH)) fs.unlinkSync(CONFIG_PATH);
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
// š URL DASHBOARD DIUPDATE
|
|
140
|
+
console.log(chalk.cyan(`\nā Silakan generate API Key baru di: ${BASE_URL}/dashboard`));
|
|
140
141
|
console.log('ā Lalu login kembali dengan perintah:', chalk.white.bold('galaxytus login <key_baru>'));
|
|
141
142
|
process.exit(1);
|
|
142
143
|
}
|
|
@@ -230,7 +231,8 @@ program
|
|
|
230
231
|
|
|
231
232
|
if (fs.existsSync(CONFIG_PATH)) fs.unlinkSync(CONFIG_PATH);
|
|
232
233
|
|
|
233
|
-
|
|
234
|
+
// š URL DASHBOARD DIUPDATE
|
|
235
|
+
console.log(chalk.cyan(`\nā Silakan generate API Key baru di: ${BASE_URL}/dashboard`));
|
|
234
236
|
console.log('ā Lalu login kembali dengan perintah:', chalk.white.bold('galaxytus login <key_baru>'));
|
|
235
237
|
process.exit(1);
|
|
236
238
|
}
|
|
@@ -252,4 +254,4 @@ program
|
|
|
252
254
|
}
|
|
253
255
|
});
|
|
254
256
|
|
|
255
|
-
program.parse(process.argv);
|
|
257
|
+
program.parse(process.argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "galaxytus",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Galaxytus AI Security Agent CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"gemini",
|
|
17
17
|
"cli"
|
|
18
18
|
],
|
|
19
|
-
"author": "
|
|
19
|
+
"author": "Dean Jagadita Ahmad Monsi",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"chalk": "^4.1.2",
|