chore: update code template for OpenCode and Gemini CLI (#20)

This commit is contained in:
JY Tan
2026-01-22 15:41:30 -08:00
committed by GitHub
parent 5b57527a83
commit 9bb11a2f40
2 changed files with 24 additions and 12 deletions

View File

@@ -14,6 +14,10 @@
"api.together.xyz",
"openrouter.ai",
// OpenCode
"opencode.ai",
"api.opencode.ai",
// Cursor API
"*.cursor.sh",
@@ -23,6 +27,7 @@
"raw.githubusercontent.com",
"codeload.github.com",
"objects.githubusercontent.com",
"release-assets.githubusercontent.com",
"gitlab.com",
// Package registries
@@ -62,16 +67,23 @@
// Local cache, needed by tools like `uv`
"~/.cache/**",
// Claude Code state/config
// Claude Code
"~/.claude*",
"~/.claude/**",
// Codex state/config
// Codex
"~/.codex/**",
// Cursor state/config
// Cursor
"~/.cursor/**",
// OpenCode
"~/.opencode/**",
"~/.local/state/**",
// Gemini CLI
"~/.gemini/**",
// Package manager caches
"~/.npm/_cacache",
"~/.cache",
@@ -87,10 +99,7 @@
// XDG directories for app configs/data
"~/.local/share/**",
"~/.config/**",
// OpenCode state
"~/.opencode/**"
"~/.config/**"
],
"denyWrite": [