@dyyz1993/pi-coding-agent 0.74.5 → 0.74.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +4 -0
- package/dist/core/agent-session.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +4 -4
|
@@ -172,6 +172,10 @@ export class AgentSession {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
_initMcpServers() {
|
|
175
|
+
if (this._mcpManager) {
|
|
176
|
+
this._mcpManager.dispose().catch(() => { });
|
|
177
|
+
this._mcpManager = undefined;
|
|
178
|
+
}
|
|
175
179
|
const settings = this.settingsManager.getMergedSettings();
|
|
176
180
|
const servers = settings?.mcp?.servers;
|
|
177
181
|
if (!servers || Object.keys(servers).length === 0)
|