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

    Quick Quote

    opencode-quick-quote·v0.1.2·界面与主题

    Quote paragraphs from the last assistant reply with inline autocomplete.

    GitHub 星标

    7

    近 30 天 +6

    月装机量

    455

    近 7 天 41

    综合评分

    49.4

    生态多维模型

    最近提交

    17 分钟前

    2026-10-05

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-quick-quote@0.1.2"]
    }

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

    My personal plugins for OpenCode V2 (beta).

    Packages

    Development

    Use Bun 1.4.0.

    bun install
    bun run build
    bun run typecheck
    bun run test
    bun run test:packages
    bun run smoke
    bun run pack:dry-run
    

    Tests live in each package's test/*.test.ts files and use bun:test. Build first; tests and their typechecks use the package's compiled exports. bun run test:packages runs the same suites against tarballs installed in an isolated directory.

    Run scripts for one plugin with --filter:

    bun run --filter opencode-postgres build
    bun run --filter opencode-postgres typecheck
    bun run --filter opencode-postgres test
    

    Releases use Changesets and npm trusted publishing. The release workflow installs Node.js and the npm CLI for publishing; dependency installation and tests use Bun.

    Start local databases for the Postgres and MySQL plugins:

    docker compose up -d --wait
    

    The local Postgres wrapper connects on port 5432. The local MySQL wrapper connects on port 3307 so it can coexist with other MySQL services using the default port.

    License

    MIT

    同类生态推荐