Skip to content

Releases

v0.1.0

Choose a tag to compare

@micaiguai micaiguai released this 22 Oct 02:47

首个版本。

OpenCode v2 插件:会话完成、执行失败、等待回答、等待授权时发系统通知(Windows / macOS / Linux)。

  • 基于 @opencode/plugin v2.1.2 的 { id, setup } 接口,只订阅事件,不改 opencode 行为
  • 覆盖 session.execution.succeeded / session.execution.failed / session.idle / form.created / permission.asked
  • 一轮只提醒一次(durable.seq 去重 + session.idle 3 秒窗口),同一 event id 10 秒内不重复
  • 子会话不提醒;不回放插件启动前的历史事件;session.get 失败时退回通用文案
  • 跨平台通知:macOS osascript、Linux notify-send、Windows PowerShell toast

安装:

opencode plugin add opencode-notify-plugin

发布经 GitHub Actions 的 Trusted Publishing(OIDC)带 provenance 上传。