Compare commits
No commits in common. "fd1e9310e8bd8fc41a9d4a4beb30d64ac4e953b0" and "01b97a3249a2e145daaa81cf323b70c8de96ddb8" have entirely different histories.
fd1e9310e8
...
01b97a3249
5 changed files with 15 additions and 25 deletions
|
|
@ -45,9 +45,10 @@ 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'
|
||||
|
||||
# Configure OpenCode.
|
||||
RUN mkdir -p ~/.config/opencode
|
||||
COPY --chown=$USERNAME ./assets/opencode/config.json /home/$USERNAME/.config/opencode/config.json
|
||||
# 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
|
||||
|
||||
# Copy Helix configurations.
|
||||
# It seems there's a bug in `apple/container`'s COPY implementation that fails
|
||||
|
|
|
|||
11
assets/claude/settings.json
Normal file
11
assets/claude/settings.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"permissions": {
|
||||
"defaultMode": "plan"
|
||||
},
|
||||
"enabledPlugins": {
|
||||
"gopls-lsp@claude-plugins-official": true,
|
||||
"rust-analyzer-lsp@claude-plugins-official": true
|
||||
},
|
||||
"outputStyle": "Explanatory",
|
||||
"spinnerTipsEnabled": false
|
||||
}
|
||||
|
|
@ -3,4 +3,3 @@ node_modules
|
|||
dist
|
||||
target
|
||||
zig-out
|
||||
.next
|
||||
|
|
|
|||
|
|
@ -11,5 +11,3 @@ deno = "latest"
|
|||
uv = "latest"
|
||||
"pipx:pyright" = "latest"
|
||||
"pipx:ruff" = "latest"
|
||||
|
||||
"github:anomalyco/opencode" = "latest"
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"$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