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({
29
29
timeout : z
30
30
. number ( )
31
31
. 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 )" ) ,
33
33
} ) ;
34
34
35
35
const returnSchema = z . union ( [
@@ -58,7 +58,7 @@ const returnSchema = z.union([
58
58
type Parameters = z . infer < typeof parameterSchema > ;
59
59
type ReturnType = z . infer < typeof returnSchema > ;
60
60
61
- const DEFAULT_TIMEOUT = 100 ;
61
+ const DEFAULT_TIMEOUT = 1000 ;
62
62
63
63
export const shellStartTool : Tool < Parameters , ReturnType > = {
64
64
name : "shellStart" ,
@@ -67,6 +67,7 @@ export const shellStartTool: Tool<Parameters, ReturnType> = {
67
67
parameters : zodToJsonSchema ( parameterSchema ) ,
68
68
returns : zodToJsonSchema ( returnSchema ) ,
69
69
70
+ // eslint-disable-next-line max-lines-per-function
70
71
execute : async (
71
72
{ command, timeout = DEFAULT_TIMEOUT } ,
72
73
{ logger }
You can’t perform that action at this time.
0 commit comments