guanwei 1.2.0 → 1.2.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/dist/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>观微 · 玄学问道 —— 九术参详,观微知著</title>
8
8
  <meta name="description" content="以纸墨留白为骨,融四柱八字、紫微斗数、奇门遁甲、梅花易数、六爻、大六壬、小六壬、星盘、塔罗九术于一体。观微知著,以术问道。" />
9
- <script type="module" crossorigin src="/assets/index-CRUHghuF.js"></script>
9
+ <script type="module" crossorigin src="/assets/index-CQjUFsty.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="/assets/index-hLV3S-Cj.css">
11
11
  </head>
12
12
  <body>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "guanwei",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/scripts/guanwei CHANGED
@@ -119,9 +119,12 @@ cmd_start() {
119
119
  esac
120
120
  done
121
121
  if [[ ! -f "${ENV_FILE}" ]]; then
122
- echo "⚠️ 尚未配置,先运行:guanwei setup --key 你的APIKey"; exit 1
122
+ echo "ℹ️ 尚未配置模型 Key——排盘/演示等功能不受影响,仅 AI 解读不可用"
123
+ echo " 配置:guanwei setup --key 你的APIKey(DeepSeek 等 5 家任选)"
124
+ echo ""
125
+ else
126
+ set -a; source "${ENV_FILE}"; set +a
123
127
  fi
124
- set -a; source "${ENV_FILE}"; set +a
125
128
  export PORT="${api_port}" # 后端实际监听端口
126
129
 
127
130
  local mode_label="生产"