diff --git a/index.js b/index.js index c4ae838..ea9e988 100644 --- a/index.js +++ b/index.js @@ -1,14 +1,13 @@ /** - * dsh-better-chat — DSH 聊天增强插件(骨架)。 + * dsh-better-chat — DSH 聊天增强插件。 * - * 功能尚未定义;这个入口只是让插件能被 DSH 加载,apply 里暂不做任何事。 - * 定下第一个功能后从这里开始加。 + * 宿主侧入口只是占位(让 bundle 能被加载);功能都在 Web 客户端 + * (client.js,见 package.json 的 exports / dsh 清单): + * 功能一 = 审批卡片的回车批准 / Esc 拒绝(自动送入焦点 + 全局兜底路由)。 */ /** Plugin identity for cordis.yml rows. */ export const name = 'dsh-better-chat' -/** Plugin body. TODO: register the first feature here. */ -export function apply(ctx) { - // TODO(dsh-better-chat): first feature goes here. -} +/** Plugin body: nothing host-side yet; the client half does the work. */ +export function apply(ctx) {}