@exreve/exk 1.0.40 → 1.0.41
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 +4 -3
- package/dist/ttc-cli.tar.gz +0 -0
- package/package.json +1 -1
package/dist/agentSession.js
CHANGED
|
@@ -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
|
}
|
package/dist/ttc-cli.tar.gz
CHANGED
|
Binary file
|