File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const parameterSchema = z.object({
2929 timeout : z
3030 . number ( )
3131 . optional ( )
32- . describe ( "Timeout in ms before switching to async mode (default: 100ms )" ) ,
32+ . describe ( "Timeout in ms before switching to async mode (default: 1s )" ) ,
3333} ) ;
3434
3535const returnSchema = z . union ( [
@@ -58,7 +58,7 @@ const returnSchema = z.union([
5858type Parameters = z . infer < typeof parameterSchema > ;
5959type ReturnType = z . infer < typeof returnSchema > ;
6060
61- const DEFAULT_TIMEOUT = 100 ;
61+ const DEFAULT_TIMEOUT = 1000 ;
6262
6363export const shellStartTool : Tool < Parameters , ReturnType > = {
6464 name : "shellStart" ,
@@ -67,6 +67,7 @@ export const shellStartTool: Tool<Parameters, ReturnType> = {
6767 parameters : zodToJsonSchema ( parameterSchema ) ,
6868 returns : zodToJsonSchema ( returnSchema ) ,
6969
70+ // eslint-disable-next-line max-lines-per-function
7071 execute : async (
7172 { command, timeout = DEFAULT_TIMEOUT } ,
7273 { logger }
You can’t perform that action at this time.
0 commit comments