跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    fer-git

    Xai Extras

    opencode-xai-extras·v0.0.2·通知与集成

    OpenCode V2 plugin: xAI SuperGrok web search, X search, Grok Imagine, speech-to-text, and text-to-speech.

    GitHub 星标

    0

    月装机量

    179

    近 7 天 23

    综合评分

    33.4

    生态多维模型

    最近提交

    14 天前

    2026-09-20

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-xai-extras@0.0.2"]
    }

    OpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    OpenCode V2 plugins.

    Package Plugin id What it adds
    opencode-xai-extras ferspective07.xai-extras xAI SuperGrok web search, X search, Grok Imagine, speech-to-text, text-to-speech

    Each package has its own README (install, /connect, tools, options).

    Development

    pnpm install
    pnpm check
    

    Requires pnpm. pnpm check runs typecheck (every packages/*), oxlint, oxfmt, and Vitest.

    New plugin:

    pnpm new-plugin session-foo
    

    That creates packages/session-foo (npm opencode-session-foo, plugin id ferspective07.session-foo). Add a row to the table above. Each package versions and publishes independently through Changesets.

    After a user-facing change, record it:

    pnpm changeset
    

    On GitHub, pushing user-facing changes to main opens a Version packages PR. CI must pass; that PR is then merged automatically. That bump updates CHANGELOG, creates git tags plus GitHub Releases (opencode-xai-extras@x.y.z), and publishes to npm via trusted publishing.

    同类生态推荐