@exreve/exk 1.0.40 → 1.0.42

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.
@@ -531,7 +531,7 @@ export class AgentSessionManager {
531
531
  allowDangerouslySkipPermissions: true,
532
532
  // Create a fresh MCP server for each query call (SDK connects transport internally, cannot reuse)
533
533
  ...(() => {
534
- const mcpServer = this.buildMcpServer(sessionId, attachmentDir);
534
+ const mcpServer = this.buildMcpServer(sessionId, attachmentDir, promptId);
535
535
  return { mcpServers: { 'claude-voice-modules': mcpServer } };
536
536
  })(),
537
537
  ...(pathToClaudeCodeExecutable ? { pathToClaudeCodeExecutable } : {}),
@@ -1252,11 +1252,12 @@ export class AgentSessionManager {
1252
1252
  * The SDK's query() connects the MCP server's internal transport, so we cannot
1253
1253
  * reuse a single instance across multiple queries. This must be called fresh each time.
1254
1254
  */
1255
- buildMcpServer(sessionId, attachmentDir) {
1256
- console.log(`[buildMcpServer] Session ${sessionId}: attachmentDir=${attachmentDir || 'none'}`);
1255
+ buildMcpServer(sessionId, attachmentDir, promptId) {
1256
+ console.log(`[buildMcpServer] Session ${sessionId}: attachmentDir=${attachmentDir || 'none'}, promptId=${promptId || 'none'}`);
1257
1257
  return createModuleMcpServer({
1258
1258
  attachmentDir,
1259
1259
  sessionId,
1260
+ promptId,
1260
1261
  });
1261
1262
  }
1262
1263
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.40",
3
+ "version": "1.0.42",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {