Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ PY
check_symlink_target "$DOTFILES/herdr/config.toml" "$HOME/.config/herdr/config.toml"
check_symlink_target "$DOTFILES/opencode/tui.json" "$HOME/.config/opencode/tui.json"
check_symlink_target "$DOTFILES/opencode/themes" "$HOME/.config/opencode/themes"
check_symlink_target "$DOTFILES/pi/models.json" "$HOME/.pi/agent/models.json"
check_symlink_target "$DOTFILES/tmux/tmux.conf" "$HOME/.tmux.conf"
check_symlink_target "$DOTFILES/claude/statusline.sh" "$HOME/.claude/statusline.sh"
check_symlink_target "$DOTFILES/claude/themes" "$HOME/.claude/themes"
Expand Down Expand Up @@ -249,6 +250,7 @@ PY
check_shell "$path" bash
done
check_json "$DOTFILES/karabiner/karabiner.json"
check_json "$DOTFILES/pi/models.json"
for path in "$DOTFILES"/opencode/*.json "$DOTFILES"/opencode/**/*.json "$DOTFILES"/claude/themes/*.json; do
check_json "$path"
done
Expand Down Expand Up @@ -438,6 +440,7 @@ backup_if_exists "$HOME/.config/ghostty/config"
backup_if_exists "$HOME/.config/herdr/config.toml"
backup_if_exists "$HOME/.config/opencode/tui.json"
backup_if_exists "$HOME/.config/opencode/themes"
backup_if_exists "$HOME/.pi/agent/models.json"
backup_if_exists "$HOME/.tmux.conf"
backup_if_exists "$HOME/.claude/statusline.sh"
backup_if_exists "$HOME/.claude/themes"
Expand Down Expand Up @@ -467,6 +470,7 @@ create_symlink "$DOTFILES/ghostty/shaders" "$HOME/.config/ghostty/shader
create_symlink "$DOTFILES/herdr/config.toml" "$HOME/.config/herdr/config.toml"
create_symlink "$DOTFILES/opencode/tui.json" "$HOME/.config/opencode/tui.json"
create_symlink "$DOTFILES/opencode/themes" "$HOME/.config/opencode/themes"
create_symlink "$DOTFILES/pi/models.json" "$HOME/.pi/agent/models.json"
create_symlink "$DOTFILES/tmux/tmux.conf" "$HOME/.tmux.conf"
run_or_plan "chmod +x $DOTFILES/claude/statusline.sh" chmod +x "$DOTFILES/claude/statusline.sh"
run_or_plan "chmod +x cmux integration scripts" chmod +x "$DOTFILES/zsh/scripts/cmux-sidebar-refresh.sh"
Expand Down
67 changes: 67 additions & 0 deletions pi/models.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"providers": {
"nan": {
"baseUrl": "https://api.nan.builders/v1",
"api": "openai-completions",
"apiKey": "!cat \"$HOME/.config/opencode/secrets/nan-api-key\"",
"compat": {
"supportsDeveloperRole": true
},
"models": [
{
"id": "qwen3.6",
"name": "Qwen 3.6",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 262144,
"maxTokens": 16384
},
{
"id": "glm5.2",
"name": "GLM 5.2",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 500000,
"maxTokens": 16384
},
{
"id": "gemma4",
"name": "Gemma 4",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 262144,
"maxTokens": 16384
},
{
"id": "deepseek-v4-flash",
"name": "DeepSeek V4 Flash",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 1000000,
"maxTokens": 16384
},
{
"id": "mimo-v2.5",
"name": "Xiaomi MiMo V2.5",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1000000,
"maxTokens": 16384
}
]
}
}
}
Loading