Compare commits
2 commits
01b97a3249
...
fd1e9310e8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fd1e9310e8 | ||
|
|
bea3ee8157 |
5 changed files with 25 additions and 15 deletions
|
|
@ -45,10 +45,9 @@ RUN mise x -- cargo binstall -y cargo-nextest sqlx-cli
|
|||
RUN go install golang.org/x/tools/gopls@latest
|
||||
RUN fish -c 'fish_add_path /home/$USERNAME/go/bin'
|
||||
|
||||
# Install Claude Code CLI.
|
||||
RUN curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/bootstrap.sh | bash
|
||||
RUN fish -c 'fish_add_path /home/$USERNAME/.local/bin'
|
||||
COPY --chown=$USERNAME ./assets/claude/settings.json /home/$USERNAME/.claude/settings.json
|
||||
# Configure OpenCode.
|
||||
RUN mkdir -p ~/.config/opencode
|
||||
COPY --chown=$USERNAME ./assets/opencode/config.json /home/$USERNAME/.config/opencode/config.json
|
||||
|
||||
# Copy Helix configurations.
|
||||
# It seems there's a bug in `apple/container`'s COPY implementation that fails
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"permissions": {
|
||||
"defaultMode": "plan"
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"gopls-lsp@claude-plugins-official": true,
|
||||
"rust-analyzer-lsp@claude-plugins-official": true
|
||||
},
|
||||
"outputStyle": "Explanatory",
|
||||
"spinnerTipsEnabled": false
|
||||
}
|
||||
|
|
@ -3,3 +3,4 @@ node_modules
|
|||
dist
|
||||
target
|
||||
zig-out
|
||||
.next
|
||||
|
|
|
|||
|
|
@ -11,3 +11,5 @@ deno = "latest"
|
|||
uv = "latest"
|
||||
"pipx:pyright" = "latest"
|
||||
"pipx:ruff" = "latest"
|
||||
|
||||
"github:anomalyco/opencode" = "latest"
|
||||
|
|
|
|||
19
assets/opencode/config.json
Normal file
19
assets/opencode/config.json
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {
|
||||
"ollama": {
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"options": {
|
||||
"baseURL": "http://192.168.64.1:11434/v1"
|
||||
},
|
||||
"models": {
|
||||
"qwen3.5:9b": {
|
||||
"tools": true
|
||||
},
|
||||
"qwen3.6:27b": {
|
||||
"tools": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue