Commit Graph
7 Commits
Author SHA1 Message Date
ypshidifu bfe683d7e2 修复: 将TUI插件从plugins/自动发现目录移出,避免server loader报错failed, local
- 将oc-session-all.ts从plugins/移至tui-plugins/目录
- 更新tui.json引用路径为./tui-plugins/oc-session-all.ts
- 移除空的@opencode-ai/plugin/tui类型导入
- 改用api.client.experimental.session.list获取会话
- 优化MCP错误toast拦截:将error替换为info静默提示
- 同步更新源码目录src/index.ts
2026-09-21 18:58:37 +08:00
ypshidifu 37df56c6d9 重写为TUI插件:弹出面板显示所有会话,点击跳转,拦截MCP报错 2026-09-21 18:19:18 +08:00
ypshidifu 289ff13132 修复:将插件从 Tool 改为 Command,支持用户输入 /sessions-all 命令 2026-09-21 17:29:21 +08:00
ypshidifu 45e68bfecf 更新插件:使用 node:sqlite 替代 sqlite3 命令行,提高 Windows 兼容性 2026-09-21 17:21:54 +08:00
ypshidifu 0d19143065 重写插件为V2格式:使用define+id+setup(ctx)+ctx.tool.transform注册工具 2026-09-21 17:04:34 +08:00
ypshidifu 5d43b5ed76 修复:使用 OpenCode 2.x Plugin API,正确导入类型和 tool helper 2026-09-20 23:45:41 +08:00
ypshidifu 02f3ded256 初始化插件:oc-session-all - 显示所有会话记录,绕过目录过滤 2026-09-20 23:35:05 +08:00