Skip to content

Commit f17f092

Browse files
committed
Format files
1 parent 9077711 commit f17f092

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/services/tools/wrapWithInitWait.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import type { ToolConfiguration } from "@/utils/tools/tools";
33

44
/**
55
* Wraps a tool to wait for workspace initialization before execution.
6-
*
6+
*
77
* This wrapper handles the cross-cutting concern of init state waiting,
88
* keeping individual tools simple and focused on their core functionality.
9-
*
9+
*
1010
* Only runtime-dependent tools (bash, file_read, file_edit_*) need this wrapper.
1111
* Non-runtime tools (propose_plan, todo, web_search) execute immediately.
12-
*
12+
*
1313
* @param tool The tool to wrap (returned from a tool factory)
1414
* @param config Tool configuration containing initStateManager
1515
* @returns Wrapped tool that waits for init before executing
@@ -33,4 +33,3 @@ export function wrapWithInitWait<TParameters, TResult>(
3333
},
3434
} as Tool<TParameters, TResult>;
3535
}
36-

0 commit comments

Comments
 (0)