@openclaw/lobster 2026.2.2 → 2026.2.9
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 +8 -4
- package/package.json +1 -1
- package/src/lobster-tool.ts +1 -0
package/index.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
AnyAgentTool,
|
|
3
|
+
OpenClawPluginApi,
|
|
4
|
+
OpenClawPluginToolFactory,
|
|
5
|
+
} from "../../src/plugins/types.js";
|
|
2
6
|
import { createLobsterTool } from "./src/lobster-tool.js";
|
|
3
7
|
|
|
4
8
|
export default function register(api: OpenClawPluginApi) {
|
|
5
9
|
api.registerTool(
|
|
6
|
-
(ctx) => {
|
|
10
|
+
((ctx) => {
|
|
7
11
|
if (ctx.sandboxed) {
|
|
8
12
|
return null;
|
|
9
13
|
}
|
|
10
|
-
return createLobsterTool(api);
|
|
11
|
-
},
|
|
14
|
+
return createLobsterTool(api) as AnyAgentTool;
|
|
15
|
+
}) as OpenClawPluginToolFactory,
|
|
12
16
|
{ optional: true },
|
|
13
17
|
);
|
|
14
18
|
}
|
package/package.json
CHANGED
package/src/lobster-tool.ts
CHANGED
|
@@ -232,6 +232,7 @@ function parseEnvelope(stdout: string): LobsterEnvelope {
|
|
|
232
232
|
export function createLobsterTool(api: OpenClawPluginApi) {
|
|
233
233
|
return {
|
|
234
234
|
name: "lobster",
|
|
235
|
+
label: "Lobster Workflow",
|
|
235
236
|
description:
|
|
236
237
|
"Run Lobster pipelines as a local-first workflow runtime (typed JSON envelope + resumable approvals).",
|
|
237
238
|
parameters: Type.Object({
|