@openclaw/lobster 2026.3.2 → 2026.3.7
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 +1 -1
- package/package.json +4 -1
- package/src/lobster-tool.test.ts +2 -1
- package/src/lobster-tool.ts +1 -1
- package/src/windows-spawn.ts +1 -1
package/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
AnyAgentTool,
|
|
3
3
|
OpenClawPluginApi,
|
|
4
4
|
OpenClawPluginToolFactory,
|
|
5
|
-
} from "
|
|
5
|
+
} from "openclaw/plugin-sdk/lobster";
|
|
6
6
|
import { createLobsterTool } from "./src/lobster-tool.js";
|
|
7
7
|
|
|
8
8
|
export default function register(api: OpenClawPluginApi) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/lobster",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.7",
|
|
4
4
|
"description": "Lobster workflow tool plugin (typed pipelines + resumable approvals)",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@sinclair/typebox": "0.34.48"
|
|
8
|
+
},
|
|
6
9
|
"openclaw": {
|
|
7
10
|
"extensions": [
|
|
8
11
|
"./index.ts"
|
package/src/lobster-tool.test.ts
CHANGED
|
@@ -3,8 +3,8 @@ import fs from "node:fs/promises";
|
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { PassThrough } from "node:stream";
|
|
6
|
+
import type { OpenClawPluginApi, OpenClawPluginToolContext } from "openclaw/plugin-sdk/lobster";
|
|
6
7
|
import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
|
|
7
|
-
import type { OpenClawPluginApi, OpenClawPluginToolContext } from "../../../src/plugins/types.js";
|
|
8
8
|
import {
|
|
9
9
|
createWindowsCmdShimFixture,
|
|
10
10
|
restorePlatformPathEnv,
|
|
@@ -46,6 +46,7 @@ function fakeApi(overrides: Partial<OpenClawPluginApi> = {}): OpenClawPluginApi
|
|
|
46
46
|
registerHook() {},
|
|
47
47
|
registerHttpRoute() {},
|
|
48
48
|
registerCommand() {},
|
|
49
|
+
registerContextEngine() {},
|
|
49
50
|
on() {},
|
|
50
51
|
resolvePath: (p) => p,
|
|
51
52
|
...overrides,
|
package/src/lobster-tool.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { spawn } from "node:child_process";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { Type } from "@sinclair/typebox";
|
|
4
|
-
import type { OpenClawPluginApi } from "
|
|
4
|
+
import type { OpenClawPluginApi } from "openclaw/plugin-sdk/lobster";
|
|
5
5
|
import { resolveWindowsLobsterSpawn } from "./windows-spawn.js";
|
|
6
6
|
|
|
7
7
|
type LobsterEnvelope =
|
package/src/windows-spawn.ts
CHANGED