From 38f8cc7cbf589566ca77db6f8efdf924c7064cc2 Mon Sep 17 00:00:00 2001 From: hotwa Date: Thu, 19 Mar 2026 14:01:43 +0800 Subject: [PATCH] memory: record opencode cleanup and model preference --- daily/2026-03-19.md | 5 +++++ .../long-term/decisions/opencode-runtime-preferences.md | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 shared/long-term/decisions/opencode-runtime-preferences.md diff --git a/daily/2026-03-19.md b/daily/2026-03-19.md index 06ed69a..89b1061 100644 --- a/daily/2026-03-19.md +++ b/daily/2026-03-19.md @@ -16,3 +16,8 @@ - `mac-7` 生成 key `~/.ssh/work2ai_gitea_mac7_ed25519`,注册到 Gitea user key id `20`,title `work2ai-mac7-gitea`,fingerprint `SHA256:bzlSYi6JR+T5o+0ka/M4ihSPZj8pTw83Y1Z+6wYqous` - 两台机器都写入了 `~/.ssh/config` 的 `gitea-work2ai` host 别名(`HostName gitea.jmsu.top`, `Port 2222`, `User git`, `IdentitiesOnly yes`) - 两台机器都完成验证:`ssh -T gitea-work2ai` 认证成功、`git ls-remote gitea-work2ai:work2ai/agent.git` 成功、`tea login add` 成功、`tea api user` 返回 `work2ai` +- 已按方案 B 清理三台机器的 Homebrew `opencode` formula,只保留 `opencode-desktop` cask: + - mac-5 / mac-6 / mac-7 均已执行 `brew uninstall opencode` + - 三台机器的 `opencode --version` 保持为 `1.2.27` + - `/opt/homebrew/bin/opencode` 继续指向 `../lib/node_modules/opencode-ai/bin/opencode` +- hotwa 新偏好:后续调用 opencode / ACP 时,优先使用 opencode zen 提供的免费模型;当前 mac-6、mac-7 默认工作模型应使用 `MiMo V2 Pro Free`。 diff --git a/shared/long-term/decisions/opencode-runtime-preferences.md b/shared/long-term/decisions/opencode-runtime-preferences.md new file mode 100644 index 0000000..fe85918 --- /dev/null +++ b/shared/long-term/decisions/opencode-runtime-preferences.md @@ -0,0 +1,9 @@ +# Opencode runtime preferences + +## Packaging policy +- On mac-5 / mac-6 / mac-7, keep `opencode-desktop` cask and remove the Homebrew `opencode` formula to avoid CLI path conflicts. +- Verified stable CLI after cleanup: `opencode --version` = `1.2.27`. + +## Model preference +- For later opencode / ACP usage, prefer free models exposed via opencode zen when suitable. +- Current default execution preference for mac-6 and mac-7: `MiMo V2 Pro Free`.