createSessionRequest builds a runtime.CreateSessionRequest from the current flags and the supplied working directory.
(workingDir string)
| 18 | // createSessionRequest builds a runtime.CreateSessionRequest from the |
| 19 | // current flags and the supplied working directory. |
| 20 | func (f *runExecFlags) createSessionRequest(workingDir string) runtime.CreateSessionRequest { |
| 21 | return runtime.CreateSessionRequest{ |
| 22 | AgentName: f.agentName, |
| 23 | ToolsApproved: f.autoApprove, |
| 24 | HideToolResults: f.hideToolResults, |
| 25 | SessionDB: f.sessionDB, |
| 26 | ResumeSessionID: f.sessionID, |
| 27 | SnapshotsEnabled: f.snapshotsEnabled, |
| 28 | GlobalPermissions: f.globalPermissions, |
| 29 | WorkingDir: workingDir, |
| 30 | } |
| 31 | } |
no outgoing calls
no test coverage detected