@kkcode-app/opencode-ios-notify
v0.1.0
Published
Send OpenCode session completion notifications to the KKCode iOS app.
Readme
@kkcode-app/opencode-ios-notify
OpenCode 插件:会话进入 session.idle 时通知 KKCode iOS App,session.error 时发送错误提醒。插件仅发送会话 ID、项目显示名和状态,不发送 prompt、文件或模型输出。
安装与配对
在 KKCode 的“OpenCode 提醒”页启用通知。
在电脑执行:
npx @kkcode-app/opencode-ios-notify pair将短码填入 App;命令成功后会将安装凭据以
0600权限写入~/.config/opencode/kkcode-notify.json。在
opencode.json加入:{ "plugin": ["@kkcode-app/opencode-ios-notify"] }重启 OpenCode。npm 插件由 OpenCode/Bun 自动安装。
可用 KKCODE_NOTIFY_API_URL 覆盖服务地址,用于本地 Worker 开发;KKCODE_NOTIFY_CONFIG 可覆盖凭据路径。
