JSPM

omp-dashscope

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

    Alibaba DashScope (ModelScope) provider for Oh My Pi — Qwen3, GLM-5, Minimax M2.5, Kimi K2.5 via OpenAI-compatible coding API

    Package Exports

      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 (omp-dashscope) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      omp-dashscope

      Alibaba DashScope (ModelScope) provider for Oh My Pi — routes Qwen3 / GLM-5 / Kimi models through the OpenAI-compatible coding endpoint.

      Models

      ID Name Context Output Thinking
      qwen3.5-plus Qwen 3.5 Plus 960K 64K
      qwen3-max-2026-01-23 Qwen3 Max (2026-01-23) 252K 32K
      qwen3-coder-plus Qwen3 Coder Plus 975K 64K
      qwen3-coder-next Qwen3 Coder Next 200K 64K
      glm-5 GLM-5 200k 16k
      glm-4.7 GLM-4.7 166K 16K
      minimax-m2.5 MiniMax M2.5 196k 64k
      kimi-k2.5 Kimi K2.5 252K 32K

      Installation

      From local path (development)

      omp plugin link /path/to/omp-dashscope

      From npm (when published)

      omp plugin install omp-dashscope

      Verify Installation

      After installation, verify it's working:

      # List available models
      omp model list
      
      # Check if dashscope models appear:
      # dashscope/qwen3.5-plus
      # dashscope/qwen3-max-2026-01-23
      # etc.

      Configuration

      After installing, run the configure command inside OMP:

      /dashscope-configure

      It will prompt you for your API key and save it to ~/.omp/agent/dashscope.json. The key is applied immediately — no restart needed.

      Environment variable

      Set DASHSCOPE_API_KEY in your environment (takes precedence over the saved config):

      export DASHSCOPE_API_KEY=sk-sp-...

      Get your API key from the Model Studio console.

      Usage

      After installing, use /model or Ctrl+L in OMP to select a dashscope/... model. Use Ctrl+T to toggle thinking for models that support it.

      Differences from pi-dashscope

      This plugin is specifically designed for Oh My Pi (OMP) and differs from the original pi-dashscope:

      • Uses @oh-my-pi/pi-coding-agent scope instead of @mariozechner/pi-coding-agent
      • Stores config in ~/.omp/agent/dashscope.json instead of ~/.pi/agent/dashscope.json
      • Uses Bun file APIs for async operations
      • Uses omp manifest key in package.json

      License

      MIT