@exreve/exk 1.0.31 → 1.0.32
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/agentSession.js +1 -6
- package/dist/ttc-cli.tar.gz +0 -0
- package/package.json +1 -1
package/dist/agentSession.js
CHANGED
|
@@ -512,7 +512,7 @@ export class AgentSessionManager {
|
|
|
512
512
|
// Create a fresh MCP server for each query call (SDK connects transport internally, cannot reuse)
|
|
513
513
|
...(() => {
|
|
514
514
|
const mcpServer = this.buildMcpServer(sessionId, attachmentDir);
|
|
515
|
-
return
|
|
515
|
+
return { mcpServers: [mcpServer] };
|
|
516
516
|
})(),
|
|
517
517
|
...(pathToClaudeCodeExecutable ? { pathToClaudeCodeExecutable } : {}),
|
|
518
518
|
spawnClaudeCodeProcess: (spawnOptions) => {
|
|
@@ -1232,11 +1232,6 @@ export class AgentSessionManager {
|
|
|
1232
1232
|
* reuse a single instance across multiple queries. This must be called fresh each time.
|
|
1233
1233
|
*/
|
|
1234
1234
|
buildMcpServer(sessionId, attachmentDir) {
|
|
1235
|
-
const session = this.sessions.get(sessionId);
|
|
1236
|
-
if (!session) {
|
|
1237
|
-
console.log(`[buildMcpServer] No session found for ${sessionId}`);
|
|
1238
|
-
return undefined;
|
|
1239
|
-
}
|
|
1240
1235
|
console.log(`[buildMcpServer] Session ${sessionId}: attachmentDir=${attachmentDir || 'none'}`);
|
|
1241
1236
|
return createModuleMcpServer({
|
|
1242
1237
|
attachmentDir,
|
package/dist/ttc-cli.tar.gz
CHANGED
|
Binary file
|