refactor: trim lobster helper exports

This commit is contained in:
Peter Steinberger
2026-05-01 20:16:42 +01:00
parent c098846148
commit 4981ec7061
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ type BoundTaskFlow = ReturnType<
type FlowRecord = ReturnType<BoundTaskFlow["createManaged"]>;
type MutationResult = ReturnType<BoundTaskFlow["setWaiting"]>;
export type LobsterApprovalWaitState = {
type LobsterApprovalWaitState = {
kind: "lobster_approval";
prompt: string;
items: JsonLike[];
@@ -26,7 +26,7 @@ export type LobsterApprovalWaitState = {
approvalId?: string;
};
export type RunManagedLobsterFlowParams = {
type RunManagedLobsterFlowParams = {
taskFlow: BoundTaskFlow;
runner: LobsterRunner;
runnerParams: LobsterRunnerParams;
@@ -37,7 +37,7 @@ export type RunManagedLobsterFlowParams = {
waitingStep?: string;
};
export type ResumeManagedLobsterFlowParams = {
type ResumeManagedLobsterFlowParams = {
taskFlow: BoundTaskFlow;
runner: LobsterRunner;
runnerParams: LobsterRunnerParams & {

View File

@@ -1,7 +1,7 @@
import { vi } from "vitest";
import type { OpenClawPluginApi } from "../runtime-api.js";
export type BoundTaskFlow = ReturnType<
type BoundTaskFlow = ReturnType<
NonNullable<OpenClawPluginApi["runtime"]>["tasks"]["managedFlows"]["bindSession"]
>;