Compare commits

...
3 Commits
Author SHA1 Message Date
cole-maxwell1 0d4ba3e291 feat(zsh): add Bitwarden SSH agent support
Export SSH_AUTH_SOCK pointing to the Bitwarden SSH agent socket
(~/.bitwarden-ssh-agent.sock) on macOS, guarded by checks that the
Bitwarden application is installed and the socket file exists, so
unmodified environments are unaffected.

Also correct two indentation inconsistencies in the .local/bin PATH
export and the lsd alias else-branch.
2026-09-06 21:32:46 -05:00
cole-maxwell1 12a524a6c8 chore(opencode): update model and infrastructure permissions
Switch the default model to GPT-5.6 Sol and allow validation commands for Docker manifests, Ansible, and OpenTofu.
2026-08-27 09:24:13 -05:00
colem 3b797f3be1 chore(opencode): expand development tooling configuration
Allow package development and Vitest commands, and grant access to web
fetching, task delegation, todo tracking, and skills.
2026-08-18 09:51:00 -05:00
2 changed files with 35 additions and 4 deletions
+25 -2
View File
@@ -47,6 +47,8 @@
"npm run test:integration": "allow", "npm run test:integration": "allow",
"npm run test:e2e": "allow", "npm run test:e2e": "allow",
"npm run type-check": "allow", "npm run type-check": "allow",
"npm run package:dev": "allow",
"npx vitest run *": "allow",
"npx *": "ask", "npx *": "ask",
// Python // Python
"python -m unittest *": "allow", "python -m unittest *": "allow",
@@ -71,6 +73,17 @@
"docker ps *": "allow", "docker ps *": "allow",
"docker logs *": "allow", "docker logs *": "allow",
"docker compose logs *": "allow", "docker compose logs *": "allow",
"docker manifest inspect": "allow",
// Ansible
"ansible-playbook --version": "allow",
"ansible-playbook --syntax-check *": "allow",
"ansible-lint --version": "allow",
// OpenTofu
"tofu version": "allow",
"tofu init -backend=false": "allow",
"tofu validate *": "allow",
"tofu fmt -check *": "allow",
"tofu plan *": "allow",
}, },
"read": { "read": {
"/tmp/opencode": "allow", "/tmp/opencode": "allow",
@@ -129,6 +142,10 @@
"question": "allow", "question": "allow",
"lsp": "allow", "lsp": "allow",
"websearch": "allow", "websearch": "allow",
"webfetch": "allow",
"task": "allow",
"todowrite": "allow",
"skill": "allow",
}, },
"mcp": { "mcp": {
"zai-mcp-server": { "zai-mcp-server": {
@@ -162,13 +179,19 @@
}, },
"playwright": { "playwright": {
"type": "local", "type": "local",
"enabled": false,
"command": ["npx", "@playwright/mcp@latest"], "command": ["npx", "@playwright/mcp@latest"],
"enabled": true,
}, },
"chrome-devtools": { "chrome-devtools": {
"type": "local", "type": "local",
"enabled": false,
"command": ["npx", "-y", "chrome-devtools-mcp@latest"], "command": ["npx", "-y", "chrome-devtools-mcp@latest"],
}, },
"primevue": {
"type": "local",
"enabled": true,
"command": ["npx", "-y", "@primevue/mcp"],
},
"ibmi-server": { "ibmi-server": {
"type": "local", "type": "local",
"command": [ "command": [
@@ -201,7 +224,7 @@
}, },
"lsp": true, "lsp": true,
"formatter": true, "formatter": true,
"model": "openai/gpt-5.6-terra", "model": "openai/gpt-5.6-sol",
"small_model": "openai/gpt-5.6-luna", "small_model": "openai/gpt-5.6-luna",
"agent": { "agent": {
"explore": { "explore": {
+8
View File
@@ -53,6 +53,14 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
if [[ -d $HOME/Library/Python/3.8/bin && ":$PATH:" != *":$HOME/Library/Python/3.8/bin:"* ]]; then if [[ -d $HOME/Library/Python/3.8/bin && ":$PATH:" != *":$HOME/Library/Python/3.8/bin:"* ]]; then
export PATH=$PATH:$HOME/Library/Python/3.8/bin export PATH=$PATH:$HOME/Library/Python/3.8/bin
fi fi
# Bitwarden SSH agent (only if the application is installed and the socket file exists)
local bw_app="/Applications/Bitwarden.app"
local bw_sock="$HOME/.bitwarden-ssh-agent.sock"
if [[ -d "$bw_app" && -S "$bw_sock" ]]; then
export SSH_AUTH_SOCK="$bw_sock"
fi
fi fi
# Add goland $PATH if installed and not already in $PATH # Add goland $PATH if installed and not already in $PATH