claude-tmux 1.0.6 → 1.0.7
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/index.js +3 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,17 +23,8 @@ function sleep(ms) {
|
|
|
23
23
|
return new Promise(resolve => setTimeout(resolve, ms));
|
|
24
24
|
}
|
|
25
25
|
function isBusy(output) {
|
|
26
|
-
// Claude shows
|
|
27
|
-
|
|
28
|
-
'ctrl+c to interrupt',
|
|
29
|
-
'esc to interrupt',
|
|
30
|
-
];
|
|
31
|
-
for (const pattern of busyPatterns) {
|
|
32
|
-
if (output.includes(pattern)) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return false;
|
|
26
|
+
// Claude shows "(ctrl+c to interrupt" when actively working
|
|
27
|
+
return output.includes('(ctrl+c to interrupt');
|
|
37
28
|
}
|
|
38
29
|
function isDone(output) {
|
|
39
30
|
// Claude shows "✻ [verb] for [duration]" when task completes
|
|
@@ -96,7 +87,7 @@ async function waitForIdle(session) {
|
|
|
96
87
|
}
|
|
97
88
|
const server = new McpServer({
|
|
98
89
|
name: "claude-tmux",
|
|
99
|
-
version: "1.0.
|
|
90
|
+
version: "1.0.7",
|
|
100
91
|
}, {
|
|
101
92
|
instructions: `# claude-tmux: Autonomous Claude Agents
|
|
102
93
|
|