@sciagent/cli 1.0.45 → 1.0.47
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/package.json +3 -3
- package/scripts/postinstall.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sciagent/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "SciAgent CLI - AI Research Assistant",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"postinstall": "node scripts/postinstall.js"
|
|
16
16
|
},
|
|
17
17
|
"optionalDependencies": {
|
|
18
|
-
"@sciagent/cli-linux-x64": "1.0.
|
|
18
|
+
"@sciagent/cli-linux-x64": "1.0.47",
|
|
19
19
|
"@sciagent/cli-linux-arm64": "1.0.39",
|
|
20
20
|
"@sciagent/cli-darwin-x64": "1.0.39",
|
|
21
21
|
"@sciagent/cli-darwin-arm64": "1.0.39",
|
|
22
|
-
"@sciagent/cli-win32-x64": "1.0.
|
|
22
|
+
"@sciagent/cli-win32-x64": "1.0.47",
|
|
23
23
|
"@sciagent/cli-win32-arm64": "1.0.39"
|
|
24
24
|
},
|
|
25
25
|
"keywords": [
|
package/scripts/postinstall.js
CHANGED
|
@@ -27,12 +27,12 @@ const ARCH_MAP = {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
// 当前版本号 - 每次发布时同步更新
|
|
30
|
-
const CURRENT_VERSION = '1.0.
|
|
30
|
+
const CURRENT_VERSION = '1.0.47';
|
|
31
31
|
|
|
32
32
|
// Releases 服务器配置
|
|
33
33
|
// 优先使用环境变量,否则使用默认服务器
|
|
34
34
|
const RELEASE_SERVER_URL = process.env.RELEASE_SERVER_URL ||
|
|
35
|
-
'https://u250924-
|
|
35
|
+
'https://u250924-adc6-f977430f.westb.seetacloud.com:8443';
|
|
36
36
|
|
|
37
37
|
// PyPI 镜像源列表(国内优先)
|
|
38
38
|
const PYPI_MIRRORS = [
|
|
@@ -409,7 +409,7 @@ async function downloadFromServer(platform, arch, version) {
|
|
|
409
409
|
|
|
410
410
|
function installBinaryPackage(platform, arch) {
|
|
411
411
|
// 版本回退列表:先尝试当前版本,再尝试已知存在的版本
|
|
412
|
-
const FALLBACK_VERSIONS = [CURRENT_VERSION, '1.0.40', '1.0.38', '1.0.36', '1.0.33'];
|
|
412
|
+
const FALLBACK_VERSIONS = [CURRENT_VERSION, '1.0.46', '1.0.40', '1.0.38', '1.0.36', '1.0.33'];
|
|
413
413
|
|
|
414
414
|
let npmCmd = 'npm';
|
|
415
415
|
const isGlobal = process.env.npm_config_global === 'true' ||
|