@peninsula-med/beisen-ehr-plugin 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ import { OpenClawPlugin } from 'openclaw/plugin-sdk';
8
8
  */
9
9
 
10
10
  declare const pluginId = "beisen-ehr-plugin";
11
- declare const pluginVersion = "1.0.0";
11
+ declare const pluginVersion = "1.1.0";
12
12
  /**
13
13
  * 北森 EHR 插件配置接口
14
14
  */
@@ -31,20 +31,14 @@ interface BeisenEHRConfig {
31
31
  */
32
32
  declare const defaultConfig: Partial<BeisenEHRConfig>;
33
33
  /**
34
- * 插件激活函数
35
- *
36
- * 当插件被激活时,自动配置 MCP 服务器
34
+ * 插件注册函数
37
35
  */
38
- declare function activate(runtime: any, config?: BeisenEHRConfig): Promise<void>;
36
+ declare function register(api: any): Promise<void>;
39
37
  /**
40
38
  * 插件停用函数
41
39
  */
42
- declare function deactivate(): Promise<void>;
43
- /**
44
- * 配置变更回调
45
- */
46
- declare function onConfigChange(config: BeisenEHRConfig): Promise<void>;
40
+ declare function unregister(): Promise<void>;
47
41
  declare const plugin: OpenClawPlugin;
48
42
 
49
- export { activate, deactivate, plugin as default, defaultConfig, onConfigChange, pluginId, pluginVersion };
43
+ export { plugin as default, defaultConfig, pluginId, pluginVersion, register, unregister };
50
44
  export type { BeisenEHRConfig };