MCPcopy Index your code
hub / github.com/github/copilot-sdk / stop

Method stop

test/harness/replayingCapiProxy.ts:139–150  ·  view source on GitHub ↗
(skipWritingCache?: boolean)

Source from the content-addressed store, hash-verified

137 }
138
139 async stop(skipWritingCache?: boolean): Promise<void> {
140 await super.stop();
141
142 // In CI mode we never write — the snapshots are read-only.
143 if (
144 this.state &&
145 !skipWritingCache &&
146 process.env.GITHUB_ACTIONS !== "true"
147 ) {
148 await writeCapturesToDisk(this.exchanges, this.state);
149 }
150 }
151
152 addToolResultNormalizer(
153 toolName: string,

Callers 2

createProxyFunction · 0.95
performRequestMethod · 0.95

Calls 1

writeCapturesToDiskFunction · 0.85

Tested by 1

createProxyFunction · 0.76