Skip to content

plugin_origins 存在即致 Failed to load sessions,plugins/ 自动扫描不工作 (v1.15.13) #30081

Closed as not planned

Description

@rockeverm3m

Bug Report: plugin_origins 导致 Failed to load sessions + plugins/ 目录自动扫描不工作

版本

opencode Desktop v1.15.13 (macOS)

问题 1:plugin_origins 存在即崩溃

配置中只要加上 plugin_origins,重启后必崩。错误信息:Failed to load sessions + Failed to bootstrap instance。四次独立验证,每次都复现。

复现步骤

  1. 将本地插件放入 ~/.config/opencode/plugins/observer/,含 package.json + index.js
  2. opencode.jsonc 添加 plugin_origins(spec: "observer", source: 绝对路径)
  3. 重启 → 崩溃

问题 2:plugins/ 目录自动扫描不工作

~/.config/opencode/plugins/ 下的插件不会被自动加载。另一插件 auto-memory 放置多天,hook 从未触发。

影响

v1.15.13 完全无法使用本地 hook 插件。四种注册方式(node_modules 软链接、plugin 数组、plugin_origins、plugins/ 自动扫描)全部失败。

相关 Issue

Activity

  1. github-actions commented on Jul 31, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions