Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save VladimirCores/23d245a21fbf30c28cbf0a122762d9c5 to your computer and use it in GitHub Desktop.

Select an option

Save VladimirCores/23d245a21fbf30c28cbf0a122762d9c5 to your computer and use it in GitHub Desktop.
OpenCode Config
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"playwright": {
"type": "local",
"enabled": true,
"command": ["npx", "-y", "@playwright/mcp@latest"]
}
},
"autoupdate": true,
"server": {
"port": 4096
},
"permission": {
"question": "allow",
"websearch": "allow",
"webfetch": "allow",
"todoread": "allow",
"todowrite": "allow",
"skill": "allow",
"edit": "allow",
"read": "allow",
"lsp": "allow",
"list": "allow",
"glob": "allow",
"grep": "allow",
"bash": "allow"
},
"provider": {
"ollama": {
"name": "Ollama (local)",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://127.0.0.1:11434/v1"
}
}
},
"plugin": ["opencode-firecrawl", "opencode-scheduler"]
}
@VladimirCores

Copy link
Copy Markdown
Author

opencode.jsonc

{
  "plugin": [
    "opencode-supermemory@latest"
  ],
  "$schema": "https://opencode.ai/config.json",
  "disabled_providers": [],
  "provider": {
    "timeweb-deepseek": {
      "name": "Timeweb",
      "npm": "@ai-sdk/openai-compatible",
      "models": {
        "gpt-5": {
          "name": "Deepseek 4 Flash"
        }
      },
      "options": {
        "baseURL": "https://agent.timeweb.cloud/api/v1/cloud-ai/agents/258e8483-dd7b-41f2-831d-348b933da86b/v1"
      }
    },
    "ollama": {
      "name": "Ollama (local)",
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "http://localhost:11434/v2"
      },
      "models": {
        "qwen3-coder:latest": {
          "name": "QWEN 3 Coder"
        },
        "qwen3.5:9b": {
          "name": "QWEN 3.5 9B"
        },
        "glm-4.7-flash:latest": {
          "name": "GLM 4.7 Flash"
        }
      }
    },
    "router-ai": {
      "name": "RouterAI",
      "npm": "@ai-sdk/openai-compatible",
      "models": {
        "deepseek/deepseek-v4-flash-0731": {
          "name": "DeepSeek V4 Flash 0731",
          "limit": {
            "context": 1048576,
            "output": 384000
          },
          "cost": {
            "input": 3.61,
            "output": 15,
            "cache": 1.20,
          }
        },
        "openai/gpt-5-nano": {
          "name": "GPT-5 Nano",
          "limit": {
              "context": 400000,
              "output": 32768
            },
            "cost": {
              "input": 5.47,
              "output": 43,
              "cache": 1.00,
            }
        },
        "inception/mercury-2.5": {
          "name": "Mercury 2.5",
          "limit": {
              "context": 260000,
              "output": 32768
            },
            "cost": {
              "input": 4.38,
              "output": 16,
              "cache": 0.44
            }
        },
        "poolside/laguna-xs-2.1": {
          "name": "Poolside laguna XS 2.1",
          "limit": {
              "context": 262144,
              "output": 32768
            }
        },
        "google/gemma-4-31b-it": {
          "name": "Gemma 4 31b IT",
          "limit": {
            "context": 262144,
            "output": 32768
          }
        },
        "stealth/union-alpha": {
          "name": "Union Alpha",
          "limit": {
            "context": 262144,
            "output": 32768
          }
        },
        "inclusionai/ling-3.0-flash": {
          "name": "Ling 3.0 Flash",
          "limit": {
            "context": 262144,
            "output": 32768
          },
          "cost": {
            "input": 2.24,
            "output": 6,
            "cache": 0.45,
          }
        },
        "deepseek/deepseek-v4-flash": {
          "name": "DeepSeek V4 Flash",
          "limit": {
            "context": 1048576,
            "output": 384000
          }
        }
      },
      "options": {
        "baseURL": "https://routerai.ru/api/v1"
      }
    }
  },
  "permission": {
    "read": {
      "~/.config/opencode/get-shit-done/*": "allow",
      "~/.config/opencode/gsd-core/*": "allow"
    },
    "external_directory": {
      "~/.config/opencode/get-shit-done/*": "allow",
      "~/.config/opencode/gsd-core/*": "allow"
    }
  },
  "mcp": {
    "gsd": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "-p",
        "@opengsd/gsd-core",
        "gsd-mcp-server"
      ],
      "enabled": true
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment