JSPM

opencode-disable-zen

1.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q46150F
  • License MIT

OpenCode plugin to disable Zen provider for safe use at work

Package Exports

  • opencode-disable-zen
  • opencode-disable-zen/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (opencode-disable-zen) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

opencode-disable-zen

OpenCode plugin to disable Zen provider for safe use at work.

Why?

OpenCode Zen's free models may collect data for model training during their free period:

Model Data Collection
grok-code May be used to improve Grok Code
glm-4.7-free May be used to improve the model
minimax-m2.1-free May be used to improve the model
big-pickle May be used to improve the model

Source: OpenCode Zen Privacy Policy

Installation

npx opencode-disable-zen install --global

Manual Install

Add to your ~/.config/opencode/opencode.json:

{
  "plugin": ["opencode-disable-zen"]
}

What it does

Adds "opencode" to disabled_providers list, preventing Zen models from being used.

CLI Commands

npx opencode-disable-zen install --global  # Add to global config
npx opencode-disable-zen uninstall --global # Remove from global config
npx opencode-disable-zen --help            # Show help

For oh-my-opencode users

If you're using oh-my-opencode, also update your agent models:

{
  "agents": {
    "explore": { "model": "anthropic/claude-haiku-4-5" },
    "librarian": { "model": "anthropic/claude-sonnet-4-5" }
  }
}

Alternative: Config-only approach

If you prefer not to use a plugin:

{
  "disabled_providers": ["opencode"]
}

License

MIT