@hagicode/hagilight-core 0.21.1-dev.204.1.c72b9e4 → 0.21.1-dev.205.1.cf08609

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.
@@ -220,7 +220,7 @@
220
220
  "id": "opencode-vs-hagicode-section-5-steps",
221
221
  "type": "bullet-list",
222
222
  "items": [
223
- "Install OpenCode (for example curl -fsSL https://opencode.ai/install | bash, or npm install -g opencode-ai) and run /connect to add a provider.",
223
+ "Install OpenCode (for example curl -fsSL https://opencode.ai/v2/install | bash, or npm install -g @opencode/cli) and run /connect to add a provider.",
224
224
  "Install HagiCode Desktop for Windows, macOS or Linux.",
225
225
  "In HagiCode, choose OpenCode as the Agent CLI and pick one of your configured models.",
226
226
  "Open a repository and start a session or a proposal.",
@@ -311,7 +311,7 @@
311
311
  },
312
312
  {
313
313
  "question": "How do I install OpenCode?",
314
- "answer": "Run curl -fsSL https://opencode.ai/install | bash, or npm install -g opencode-ai, or brew install anomalyco/tap/opencode. The docs note these methods install OpenCode 1, so check opencode.ai/docs for the current version."
314
+ "answer": "Run curl -fsSL https://opencode.ai/v2/install | bash, or npm install -g @opencode/cli, or brew install anomalyco/tap/opencode-v2. These install OpenCode 2; check opencode.ai/docs for the current version."
315
315
  },
316
316
  {
317
317
  "question": "Can I use OpenCode with HagiCode?",
@@ -220,7 +220,7 @@
220
220
  "id": "opencode-vs-hagicode-section-5-steps",
221
221
  "type": "bullet-list",
222
222
  "items": [
223
- "安装 OpenCode(例如 curl -fsSL https://opencode.ai/install | bash,或 npm install -g opencode-ai),然后运行 /connect 添加供应商。",
223
+ "安装 OpenCode(例如 curl -fsSL https://opencode.ai/v2/install | bash,或 npm install -g @opencode/cli),然后运行 /connect 添加供应商。",
224
224
  "安装适用于 Windows、macOS 或 Linux 的 HagiCode Desktop。",
225
225
  "在 HagiCode 里把 OpenCode 选为 Agent CLI,并从你已配置的模型中选一个。",
226
226
  "打开一个仓库,开始会话或提案。",
@@ -311,7 +311,7 @@
311
311
  },
312
312
  {
313
313
  "question": "怎么安装 OpenCode?",
314
- "answer": "运行 curl -fsSL https://opencode.ai/install | bash,或 npm install -g opencode-ai,或 brew install anomalyco/tap/opencode。文档提示这些方式安装的是 OpenCode 1,当前版本请查看 opencode.ai/docs。"
314
+ "answer": "运行 curl -fsSL https://opencode.ai/v2/install | bash,或 npm install -g @opencode/cli,或 brew install anomalyco/tap/opencode-v2。这些方式安装的是 OpenCode 2,当前版本请查看 opencode.ai/docs。"
315
315
  },
316
316
  {
317
317
  "question": "OpenCode 能和 HagiCode 一起用吗?",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-core",
3
- "version": "0.21.1-dev.204.1.c72b9e4",
3
+ "version": "0.21.1-dev.205.1.cf08609",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript utilities, components, and assets for HagiCode Astro and Starlight sites",
6
6
  "repository": {