Import index.js

This commit is contained in:
QQ 2026-11-11 22:52:30 +08:00
parent 070c48b9a1
commit 044fc7d782
1 changed files with 6 additions and 7 deletions

View File

@ -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) {}