@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.
@@ -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 mcpServer ? { mcpServers: [mcpServer] } : {};
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,
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {