@arearseth/tmux-mcp 0.3.0 → 0.3.1
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/build/tmux.js +1 -10
- package/package.json +1 -1
package/build/tmux.js
CHANGED
|
@@ -324,16 +324,7 @@ function buildWrappedCommand(command, shellType) {
|
|
|
324
324
|
return `echo "${startMarkerText}"; ${command}; echo "${endMarkerText}"`;
|
|
325
325
|
}
|
|
326
326
|
function buildTclshCommand(command) {
|
|
327
|
-
|
|
328
|
-
return `::tmux_mcp::run {${escaped}}`;
|
|
329
|
-
}
|
|
330
|
-
function escapeForTcl(command) {
|
|
331
|
-
return command
|
|
332
|
-
.replace(/\\/g, '\\\\')
|
|
333
|
-
.replace(/\r/g, '\\r')
|
|
334
|
-
.replace(/\n/g, '\\n')
|
|
335
|
-
.replace(/\{/g, '\\{')
|
|
336
|
-
.replace(/\}/g, '\\}');
|
|
327
|
+
return `::tmux_mcp::run {${command}}`;
|
|
337
328
|
}
|
|
338
329
|
async function ensureTclshInitialized(paneId) {
|
|
339
330
|
if (tclshInitializedPanes.has(paneId)) {
|