@alfe.ai/openclaw 0.0.34 → 0.0.35
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/plugin2.cjs +9 -3
- package/dist/plugin2.js +8 -3
- package/openclaw.plugin.json +0 -1
- package/package.json +1 -1
package/dist/plugin2.cjs
CHANGED
|
@@ -32,6 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
//#endregion
|
|
33
33
|
let node_path = require("node:path");
|
|
34
34
|
let node_os = require("node:os");
|
|
35
|
+
let node_module = require("node:module");
|
|
35
36
|
let _alfe_ai_config = require("@alfe.ai/config");
|
|
36
37
|
let _alfe_ai_agent_api_client = require("@alfe.ai/agent-api-client");
|
|
37
38
|
let node_net = require("node:net");
|
|
@@ -3079,6 +3080,7 @@ async function registerWithDaemon(client, log, pluginName = "@alfe.ai/openclaw")
|
|
|
3079
3080
|
*
|
|
3080
3081
|
* Follows the same plugin pattern as @alfe.ai/openclaw-voice.
|
|
3081
3082
|
*/
|
|
3083
|
+
const pkg = (0, node_module.createRequire)(require("url").pathToFileURL(__filename).href)("../package.json");
|
|
3082
3084
|
const DEFAULT_SOCKET_PATH = (0, node_path.join)((0, node_os.homedir)(), ".alfe", "gateway.sock");
|
|
3083
3085
|
let ipcClient = null;
|
|
3084
3086
|
function ok(result) {
|
|
@@ -3177,7 +3179,7 @@ const plugin = {
|
|
|
3177
3179
|
id: "@alfe.ai/openclaw",
|
|
3178
3180
|
name: "Alfe OpenClaw Plugin",
|
|
3179
3181
|
description: "Connects OpenClaw to the local Alfe gateway daemon",
|
|
3180
|
-
version:
|
|
3182
|
+
version: pkg.version,
|
|
3181
3183
|
activate(api) {
|
|
3182
3184
|
const log = api.logger;
|
|
3183
3185
|
let cfg = null;
|
|
@@ -3258,8 +3260,12 @@ const plugin = {
|
|
|
3258
3260
|
};
|
|
3259
3261
|
if (api.registerService) api.registerService({
|
|
3260
3262
|
id: "alfe-daemon-ipc",
|
|
3261
|
-
start: () =>
|
|
3262
|
-
|
|
3263
|
+
start: () => {
|
|
3264
|
+
startDaemonIpc();
|
|
3265
|
+
},
|
|
3266
|
+
stop: () => {
|
|
3267
|
+
stopDaemonIpc();
|
|
3268
|
+
}
|
|
3263
3269
|
});
|
|
3264
3270
|
else startDaemonIpc();
|
|
3265
3271
|
},
|
package/dist/plugin2.js
CHANGED
|
@@ -3081,6 +3081,7 @@ async function registerWithDaemon(client, log, pluginName = "@alfe.ai/openclaw")
|
|
|
3081
3081
|
*
|
|
3082
3082
|
* Follows the same plugin pattern as @alfe.ai/openclaw-voice.
|
|
3083
3083
|
*/
|
|
3084
|
+
const pkg = createRequire(import.meta.url)("../package.json");
|
|
3084
3085
|
const DEFAULT_SOCKET_PATH = join(homedir(), ".alfe", "gateway.sock");
|
|
3085
3086
|
let ipcClient = null;
|
|
3086
3087
|
function ok(result) {
|
|
@@ -3179,7 +3180,7 @@ const plugin = {
|
|
|
3179
3180
|
id: "@alfe.ai/openclaw",
|
|
3180
3181
|
name: "Alfe OpenClaw Plugin",
|
|
3181
3182
|
description: "Connects OpenClaw to the local Alfe gateway daemon",
|
|
3182
|
-
version:
|
|
3183
|
+
version: pkg.version,
|
|
3183
3184
|
activate(api) {
|
|
3184
3185
|
const log = api.logger;
|
|
3185
3186
|
let cfg = null;
|
|
@@ -3260,8 +3261,12 @@ const plugin = {
|
|
|
3260
3261
|
};
|
|
3261
3262
|
if (api.registerService) api.registerService({
|
|
3262
3263
|
id: "alfe-daemon-ipc",
|
|
3263
|
-
start: () =>
|
|
3264
|
-
|
|
3264
|
+
start: () => {
|
|
3265
|
+
startDaemonIpc();
|
|
3266
|
+
},
|
|
3267
|
+
stop: () => {
|
|
3268
|
+
stopDaemonIpc();
|
|
3269
|
+
}
|
|
3265
3270
|
});
|
|
3266
3271
|
else startDaemonIpc();
|
|
3267
3272
|
},
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "@alfe.ai/openclaw",
|
|
3
3
|
"name": "Alfe Integration Plugin",
|
|
4
|
-
"version": "0.1.0",
|
|
5
4
|
"description": "Connects OpenClaw to the local Alfe gateway daemon for remote integration management via the Alfe dashboard.",
|
|
6
5
|
"entry": "./dist/plugin.js",
|
|
7
6
|
"configSchema": {
|
package/package.json
CHANGED