跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    yee94

    Gpt Talk Normal

    v0.1.0其他
    opencode-gpt-talk-normal

    OpenCode server plugin — auto-inject talk-normal system prompt for GPT models

    GitHub 星标

    0

    月装机量

    11

    近 7 天 5

    综合评分SCORE

    19.7

    生态多维模型

    最近提交

    4 个月前

    2026-04-11

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-gpt-talk-normal@0.1.0"]
    }

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

    English | 中文

    OpenCode server plugin — automatically injects the talk-normal system prompt when using GPT models.

    What it does

    When model.id or model.modelID contains gpt (case-insensitive), this plugin prepends the talk-normal prompt to the system message before it reaches the LLM. Non-GPT models are completely unaffected.

    The prompt source is talk-normal v0.6.1 by hexiecs.

    Install

    # via opencode CLI (recommended)
    opencode plugin opencode-gpt-talk-normal
    
    # or pnpm
    pnpm add -D opencode-gpt-talk-normal
    
    # or npm
    npm install -D opencode-gpt-talk-normal
    

    Configure

    Add to your opencode.json:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-gpt-talk-normal"]
    }
    

    Or with a local path for development:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["/absolute/path/to/opencode-gpt-talk-normal"]
    }
    

    Behavior

    Condition Result
    model.id contains gpt talk-normal prompt prepended to system[]
    model is Claude, Gemini, etc. no change
    prompt already injected skipped (idempotent)

    E2E verified

    Tested against real openai/gpt-5.4 through OpenCode's plugin hook (experimental.chat.system.transform). The captured request confirmed talk-normal appears as the first system message, while a control run with claude-sonnet-4.6 showed no injection.

    Test

    node --test
    

    License

    MIT