Add ez-assistant and kerberos service folders
This commit is contained in:
13
docker-compose/ez-assistant/extensions/lobster/index.ts
Normal file
13
docker-compose/ez-assistant/extensions/lobster/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { MoltbotPluginApi } from "../../src/plugins/types.js";
|
||||
|
||||
import { createLobsterTool } from "./src/lobster-tool.js";
|
||||
|
||||
export default function register(api: MoltbotPluginApi) {
|
||||
api.registerTool(
|
||||
(ctx) => {
|
||||
if (ctx.sandboxed) return null;
|
||||
return createLobsterTool(api);
|
||||
},
|
||||
{ optional: true },
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user