Import index.js
This commit is contained in:
parent
070c48b9a1
commit
044fc7d782
13
index.js
13
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. */
|
/** Plugin identity for cordis.yml rows. */
|
||||||
export const name = 'dsh-better-chat'
|
export const name = 'dsh-better-chat'
|
||||||
|
|
||||||
/** Plugin body. TODO: register the first feature here. */
|
/** Plugin body: nothing host-side yet; the client half does the work. */
|
||||||
export function apply(ctx) {
|
export function apply(ctx) {}
|
||||||
// TODO(dsh-better-chat): first feature goes here.
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue