Skip to content

Commit 4981ec7

Browse files
committed
refactor: trim lobster helper exports
1 parent c098846 commit 4981ec7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

extensions/lobster/src/lobster-taskflow.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ type BoundTaskFlow = ReturnType<
1818
type FlowRecord = ReturnType<BoundTaskFlow["createManaged"]>;
1919
type MutationResult = ReturnType<BoundTaskFlow["setWaiting"]>;
2020

21-
export type LobsterApprovalWaitState = {
21+
type LobsterApprovalWaitState = {
2222
kind: "lobster_approval";
2323
prompt: string;
2424
items: JsonLike[];
2525
resumeToken?: string;
2626
approvalId?: string;
2727
};
2828

29-
export type RunManagedLobsterFlowParams = {
29+
type RunManagedLobsterFlowParams = {
3030
taskFlow: BoundTaskFlow;
3131
runner: LobsterRunner;
3232
runnerParams: LobsterRunnerParams;
@@ -37,7 +37,7 @@ export type RunManagedLobsterFlowParams = {
3737
waitingStep?: string;
3838
};
3939

40-
export type ResumeManagedLobsterFlowParams = {
40+
type ResumeManagedLobsterFlowParams = {
4141
taskFlow: BoundTaskFlow;
4242
runner: LobsterRunner;
4343
runnerParams: LobsterRunnerParams & {

extensions/lobster/src/taskflow-test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { vi } from "vitest";
22
import type { OpenClawPluginApi } from "../runtime-api.js";
33

4-
export type BoundTaskFlow = ReturnType<
4+
type BoundTaskFlow = ReturnType<
55
NonNullable<OpenClawPluginApi["runtime"]>["tasks"]["managedFlows"]["bindSession"]
66
>;
77

0 commit comments

Comments
 (0)