openclaw-sync-assistant 0.0.1 → 0.0.2
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/README.md +1 -1
- package/index.js +3 -7
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -19,13 +19,9 @@ module.exports = {
|
|
|
19
19
|
console.log("✅ openclaw-sync-assistant 插件已激活!");
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
//
|
|
23
|
-
if (
|
|
24
|
-
context.
|
|
25
|
-
context.api.commands &&
|
|
26
|
-
context.api.commands.registerCommand
|
|
27
|
-
) {
|
|
28
|
-
context.api.commands.registerCommand("sync.setup", async () => {
|
|
22
|
+
// 在 OpenClaw 插件 API 中注册 CLI 命令
|
|
23
|
+
if (context.registerCommand) {
|
|
24
|
+
context.registerCommand("sync.setup", async () => {
|
|
29
25
|
console.log("\n");
|
|
30
26
|
intro(pc.bgCyan(pc.black(" OpenClaw Sync Assistant Setup ")));
|
|
31
27
|
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED