@@ -131,6 +131,7 @@ enum MacNodeCodexThreadCatalog {
131131 static let defaultUserMacOSBetaAppExecutable = FileManager . default. homeDirectoryForCurrentUser
132132 . appendingPathComponent ( " Applications/Codex Beta.app/Contents/Resources/codex " )
133133 . path
134+ static let defaultTimeoutSeconds : Double = 24
134135 private static let maxSessionIdLength = 256
135136 private static let maxSessionNameLength = 500
136137 private static let maxCwdLength = 4096
@@ -208,7 +209,7 @@ enum MacNodeCodexThreadCatalog {
208209 arguments: [ String ] ? = nil ,
209210 cwd: URL ? = nil ,
210211 clearEnv: [ String ] = [ ] ,
211- timeoutSeconds: Double = 12 ,
212+ timeoutSeconds: Double = MacNodeCodexThreadCatalog . defaultTimeoutSeconds ,
212213 maxLineBytes: Int = 5 * 1024 * 1024 ) async throws -> String
213214 {
214215 let params = try self . decodeParams ( paramsJSON)
@@ -226,7 +227,7 @@ enum MacNodeCodexThreadCatalog {
226227 private static func list(
227228 params: ListParams ,
228229 invocation: ResolvedInvocation ,
229- timeoutSeconds: Double = 12 ,
230+ timeoutSeconds: Double = MacNodeCodexThreadCatalog . defaultTimeoutSeconds ,
230231 maxLineBytes: Int = 5 * 1024 * 1024 ) async throws -> String
231232 {
232233 guard params. searchTerm != nil else {
0 commit comments