@sodikinnaa/smart-report-plugin 1.0.5 → 1.0.6
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 +6 -1
- package/dist/index.js +7 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +8 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -48,7 +48,10 @@ async function callMcp(api, method, params = {}) {
|
|
|
48
48
|
}
|
|
49
49
|
return response.data.result;
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
/**
|
|
52
|
+
* MCP Activation Hook
|
|
53
|
+
*/
|
|
54
|
+
export function register(api) {
|
|
52
55
|
// 1. CLI Commands
|
|
53
56
|
api.registerCli(({ program }) => {
|
|
54
57
|
program
|
|
@@ -125,3 +128,6 @@ export default function register(api) {
|
|
|
125
128
|
}
|
|
126
129
|
});
|
|
127
130
|
}
|
|
131
|
+
// Ensure both default and named exports
|
|
132
|
+
export default register;
|
|
133
|
+
export const activate = register;
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -54,7 +54,10 @@ async function callMcp(api: any, method: string, params: any = {}) {
|
|
|
54
54
|
return response.data.result;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
|
+
* MCP Activation Hook
|
|
59
|
+
*/
|
|
60
|
+
export function register(api: any) {
|
|
58
61
|
// 1. CLI Commands
|
|
59
62
|
api.registerCli(({ program }: any) => {
|
|
60
63
|
program
|
|
@@ -133,3 +136,7 @@ export default function register(api: any) {
|
|
|
133
136
|
}
|
|
134
137
|
});
|
|
135
138
|
}
|
|
139
|
+
|
|
140
|
+
// Ensure both default and named exports
|
|
141
|
+
export default register;
|
|
142
|
+
export const activate = register;
|