(config: SessionConfig)
| 19 | } |
| 20 | |
| 21 | override createSession(config: SessionConfig) { |
| 22 | const isolated = { |
| 23 | ...config, |
| 24 | enableConfigDiscovery: false, |
| 25 | requestExtensions: false, |
| 26 | disabledSkills: [...new Set([...(config.disabledSkills ?? []), ...this.disabledBuiltins])], |
| 27 | }; |
| 28 | return super.createSession(this.afterTool ? afterSuccessfulTool(isolated, this.afterTool) : isolated); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | /** Prepares an isolated agent home: gh (observed by default), its token, and a git credential helper. */ |
nothing calls this directly
no test coverage detected