ypshidifu
|
ba26fd512a
|
更新探测版插件:添加延时避免 toast 被覆盖
|
2026-09-22 21:23:54 +08:00 |
|
ypshidifu
|
3d8f093d7e
|
更新探测版插件:尝试 keymap.layer 注册命令
|
2026-09-22 21:13:07 +08:00 |
|
ypshidifu
|
459f038f8e
|
更新探测版插件:将探测结果写入日志文件
|
2026-09-22 21:02:06 +08:00 |
|
ypshidifu
|
fd1a475abc
|
更新探测版插件:更详细的 context 结构探测
|
2026-09-22 20:55:42 +08:00 |
|
ypshidifu
|
ec7b461147
|
更新探测版插件:尝试 context.command.register 注册命令
|
2026-09-22 20:48:33 +08:00 |
|
ypshidifu
|
9f17ac9936
|
修复: keymap.layer → keymap.registerLayer(方法名修正)
|
2026-09-22 20:00:28 +08:00 |
|
ypshidifu
|
057e698f22
|
测试隔离版: keymap.layer commands(无 bindings、无 data.on)
|
2026-09-22 17:49:05 +08:00 |
|
ypshidifu
|
028af01b3d
|
v2: 加回全部功能 - session列表/快捷键/MCP拦截
|
2026-09-22 15:58:26 +08:00 |
|
ypshidifu
|
952b31127c
|
v2: 简化 oc-session-all 为最小化版本测试加载
|
2026-09-22 15:37:54 +08:00 |
|
ypshidifu
|
a5a8c5e011
|
v2: 将 oc-session-all 从 v1 格式转为 v2 Plugin.define 格式
- 使用 import { Plugin } from "@opencode/plugin/tui"
- 使用 Plugin.define({ id, setup(context) }) 格式
- api.* 调用全部替换为 context.*: api.event.on → context.data.on, api.ui.toast → context.ui.toast.show, api.ui.dialog.* → context.ui.dialog.*, api.command.register + api.keymap.registerLayer 合并为 context.keymap.layer({commands, bindings})
- package.json exports 添加 ./tui 入口点,engines.opencode 升级为 >=2.0.0
- 已通过 minimal-v2-test 验证 v2 格式可正确加载
|
2026-09-22 15:19:14 +08:00 |
|
ypshidifu
|
47c668f446
|
添加调试版本插件,修改gitignore允许提交js文件
|
2026-09-22 11:02:38 +08:00 |
|
ypshidifu
|
6c4d97362f
|
整合: 将 tui-plugins 目录移入项目根目录,统一代码管理
|
2026-09-21 19:31:08 +08:00 |
|