chore: select Pi gate agent and DeepSeek default

This commit is contained in:
Lap Tran committed 2026-09-30 21:05:39 -04:00
1 parent 03e872eebc
commit 258dc2afa1
2 files changed
+10 -8

No files matched your search

+7 -5
View File
@@ -293,8 +293,10 @@ in
'';
# kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config
# Uses OpenCode only for pipeline steps (the opencode-go subscription), by the
# captain's decision. Binary lives in ~/.no-mistakes/bin
# Uses Pi for pipeline steps (the opencode-go subscription), by the captain's
# decision: Pi is a neutralization-capable gate agent, which opencode is not, so
# it is required to run the gate in firstmate's own checkout. Binary lives in
# ~/.no-mistakes/bin
# with symlink ~/.local/bin/no-mistakes (installer default). Do NOT npm install -g no-mistakes
# - that npm name is jonathanong's static-analysis tool (shadowing bug fixed 2026-09-21).
home.activation.noMistakes = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
@@ -308,14 +310,14 @@ in
fi
curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh
fi
# Ensure global config selects OpenCode (idempotent - only writes if missing or still `agent: auto`)
# Ensure global config uses Pi (idempotent - only writes if missing or still `agent: auto`)
cfg="$HOME/.no-mistakes/config.yaml"
if [ -f "$cfg" ] && grep -qE '^\s*agent:\s*auto\s*$' "$cfg"; then
tmp="$(mktemp)"
awk '
/^\s*agent:\s*auto\s*$/ {
print "# Managed by dotfiles/home.nix home.activation.noMistakes";
print "agent: [opencode]";
print "agent: [pi]";
next
}
{ print }
@@ -323,7 +325,7 @@ in
fi
if [ ! -f "$cfg" ]; then
mkdir -p "$(dirname "$cfg")"
printf 'agent: [opencode]\n' > "$cfg"
printf 'agent: [pi]\n' > "$cfg"
fi
# Ensure daemon running (launchd on macOS)
"$bin" daemon restart >/dev/null 2>&1 || "$bin" daemon start >/dev/null 2>&1 || true
+3 -3
View File
@@ -1,8 +1,8 @@
{
"lastChangelogVersion": "0.84.1",
"lastChangelogVersion": "0.87.1",
"theme": "rose-pine-moon",
"defaultProvider": "omlx",
"defaultModel": "qwen3.6-35b",
"defaultProvider": "opencode-go",
"defaultModel": "deepseek-v4.1-flash",
"models": [
{
"name": "Qwen 3.6 35B (o4-mtp)",