| 37 | } |
| 38 | |
| 39 | type ExecTool struct { |
| 40 | workingDir string |
| 41 | timeout time.Duration |
| 42 | denyPatterns []*regexp.Regexp |
| 43 | allowPatterns []*regexp.Regexp |
| 44 | customAllowPatterns []*regexp.Regexp |
| 45 | allowedPathPatterns []*regexp.Regexp |
| 46 | restrictToWorkspace bool |
| 47 | allowRemote bool |
| 48 | sessionManager *SessionManager |
| 49 | } |
| 50 | |
| 51 | var ( |
| 52 | defaultDenyPatterns = []*regexp.Regexp{ |
nothing calls this directly
no outgoing calls
no test coverage detected