skill-atlas-cli 0.1.10 → 0.1.12

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/install.sh CHANGED
@@ -4,14 +4,14 @@ set -euo pipefail
4
4
  TMP_DIR="$(mktemp -d)"
5
5
  trap 'rm -rf "$TMP_DIR"' EXIT
6
6
 
7
- INSTALL_ZIP_URL="https://unpkg.com/skill-atlas-cli@0.1.6/install.zip"
8
- curl -sSL "$INSTALL_ZIP_URL" -o "$TMP_DIR/install.zip"
9
- unzip -q "$TMP_DIR/install.zip" -d "$TMP_DIR"
7
+ INSTALL_ARCHIVE_URL="https://maas-skill-hub-cli.oss-cn-hangzhou.aliyuncs.com/install.tar.gz"
8
+ curl -sSL "$INSTALL_ARCHIVE_URL" -o "$TMP_DIR/install.tar.gz"
9
+ tar -xzf "$TMP_DIR/install.tar.gz" -C "$TMP_DIR"
10
10
 
11
11
  # 解压后执行 setup.sh 安装脚本
12
12
  INSTALLER="$TMP_DIR/setup.sh"
13
13
  if [[ ! -f "$INSTALLER" ]]; then
14
- echo "Error: setup.sh not found after extracting install.zip" >&2
14
+ echo "Error: setup.sh not found after extracting install.tar.gz" >&2
15
15
  find "$TMP_DIR" -maxdepth 3 -print >&2
16
16
  exit 1
17
17
  fi
package/lib/index.js CHANGED
@@ -988,13 +988,13 @@ async function resolveInstallScope(options, targetAgents) {
988
988
  const scope = await p.select({
989
989
  message: "Installation scope",
990
990
  options: [{
991
- value: false,
992
- label: "Project",
993
- hint: "Install in current directory (committed with your project)"
994
- }, {
995
991
  value: true,
996
992
  label: "Global",
997
993
  hint: "Install in home directory (available across all projects)"
994
+ }, {
995
+ value: false,
996
+ label: "Project",
997
+ hint: "Install in current directory (committed with your project)"
998
998
  }]
999
999
  });
1000
1000
  if (p.isCancel(scope)) cancelAndExit("Installation cancelled");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-atlas-cli",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "skill-atlas CLI - 虾小宝 命令行工具",
5
5
  "homepage": "https://skillatlas.cn/",
6
6
  "type": "module",