@simonyea/holysheep-cli 1.1.8 → 1.1.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonyea/holysheep-cli",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "一键配置所有 AI 编程工具接入 HolySheep API — Claude Code / Codex / Gemini CLI / OpenCode / OpenClaw / Aider / Cursor",
5
5
  "keywords": [
6
6
  "claude",
@@ -240,11 +240,11 @@ async function setup(options) {
240
240
  // 显示启动命令
241
241
  if (r.tool.launchCmd) {
242
242
  if (r.tool._winJustInstalled) {
243
- // Windows 刚安装:PATH 未刷新,提示用 npx 或重开终端
244
- console.log(` ${chalk.yellow('▶ Windows:新开一个终端后运行:')} ${chalk.cyan.bold(r.tool.launchCmd)}`)
243
+ // Windows 刚安装:PATH 未刷新,统一用 npx 运行
245
244
  const cmdBin = r.tool.launchCmd.split(' ')[0]
246
245
  const cmdArgs = r.tool.launchCmd.split(' ').slice(1).join(' ')
247
- console.log(` ${chalk.gray(' 或现在用 npx 直接运行:')} ${chalk.cyan.bold('npx ' + cmdBin + (cmdArgs ? ' ' + cmdArgs : ''))}`)
246
+ const npxCmd = 'npx ' + cmdBin + (cmdArgs ? ' ' + cmdArgs : '')
247
+ console.log(` ${chalk.gray('▶ 启动命令:')} ${chalk.cyan.bold(npxCmd)}`)
248
248
  if (r.tool.launchNote) console.log(` ${chalk.gray(' ' + r.tool.launchNote)}`)
249
249
  } else {
250
250
  console.log(` ${chalk.gray('▶ 启动命令:')} ${chalk.cyan.bold(r.tool.launchCmd)}`)