MCPcopy Create free account
hub / github.com/cli/cli / constructor

Method constructor

evals/src/core/home.ts:13–19  ·  view source on GitHub ↗
(
    private readonly disabledBuiltins: string[],
    options: ConstructorParameters<typeof CopilotClient>[0],
    private readonly afterTool?: () => Promise<void>,
  )

Source from the content-addressed store, hash-verified

11 */
12export class IsolatedClient extends CopilotClient {
13 constructor(
14 private readonly disabledBuiltins: string[],
15 options: ConstructorParameters<typeof CopilotClient>[0],
16 private readonly afterTool?: () => Promise<void>,
17 ) {
18 super(options);
19 }
20
21 override createSession(config: SessionConfig) {
22 const isolated = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected