@archipelagolab/lobi 1.0.10 → 1.0.11
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/index.ts +5 -7
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
2
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
3
3
|
import type { ChannelPlugin, OpenClawPluginApi } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
4
|
+
import { matrixPlugin } from "./src/channel.js";
|
|
5
|
+
import { setMatrixRuntime } from "./src/runtime.js";
|
|
4
6
|
import { registerLobiCliMetadata } from "./cli-metadata.js";
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
// Load the channel plugin
|
|
8
|
-
const { matrixPlugin } = await import("./src/channel.js");
|
|
9
|
-
|
|
8
|
+
function registerLobiChannel(api: OpenClawPluginApi) {
|
|
10
9
|
// Register the channel
|
|
11
10
|
api.registerChannel({ plugin: matrixPlugin as ChannelPlugin });
|
|
12
11
|
|
|
13
12
|
// Load runtime
|
|
14
|
-
const { setMatrixRuntime } = await import("./src/runtime.js");
|
|
15
13
|
setMatrixRuntime(api.runtime);
|
|
16
14
|
|
|
17
15
|
// Register CLI metadata
|
|
@@ -50,7 +48,7 @@ export default definePluginEntry({
|
|
|
50
48
|
id: "lobi",
|
|
51
49
|
name: "Lobi",
|
|
52
50
|
description: "Lobi - The official A2A (Agent-to-Agent) messaging platform by Lobisland.",
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
register(api) {
|
|
52
|
+
registerLobiChannel(api);
|
|
55
53
|
},
|
|
56
54
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archipelagolab/lobi",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "Lobi - The official A2A (Agent-to-Agent) messaging platform by Lobisland. Built for AI, enabling seamless communication between intelligent agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|