ccmanager 3.2.9 → 3.2.10
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.
|
@@ -17,7 +17,8 @@ export class ClaudeStateDetector extends BaseStateDetector {
|
|
|
17
17
|
return 'waiting_input';
|
|
18
18
|
}
|
|
19
19
|
// Check for busy state
|
|
20
|
-
if (lowerContent.includes('esc to interrupt')
|
|
20
|
+
if (lowerContent.includes('esc to interrupt') ||
|
|
21
|
+
lowerContent.includes('ctrl+c to interrupt')) {
|
|
21
22
|
return 'busy';
|
|
22
23
|
}
|
|
23
24
|
// Otherwise idle
|
|
@@ -30,6 +30,17 @@ describe('ClaudeStateDetector', () => {
|
|
|
30
30
|
// Assert
|
|
31
31
|
expect(state).toBe('busy');
|
|
32
32
|
});
|
|
33
|
+
it('should detect busy when "ctrl+c to interrupt" is present (web search)', () => {
|
|
34
|
+
// Arrange
|
|
35
|
+
terminal = createMockTerminal([
|
|
36
|
+
'Googling. (ctrl+c to interrupt',
|
|
37
|
+
'Searching for relevant information...',
|
|
38
|
+
]);
|
|
39
|
+
// Act
|
|
40
|
+
const state = detector.detectState(terminal, 'idle');
|
|
41
|
+
// Assert
|
|
42
|
+
expect(state).toBe('busy');
|
|
43
|
+
});
|
|
33
44
|
it('should detect idle when no specific patterns are found', () => {
|
|
34
45
|
// Arrange
|
|
35
46
|
terminal = createMockTerminal([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccmanager",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.10",
|
|
4
4
|
"description": "TUI application for managing multiple Claude Code sessions across Git worktrees",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Kodai Kabasawa",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"bin"
|
|
42
42
|
],
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@kodaikabasawa/ccmanager-darwin-arm64": "3.2.
|
|
45
|
-
"@kodaikabasawa/ccmanager-darwin-x64": "3.2.
|
|
46
|
-
"@kodaikabasawa/ccmanager-linux-arm64": "3.2.
|
|
47
|
-
"@kodaikabasawa/ccmanager-linux-x64": "3.2.
|
|
48
|
-
"@kodaikabasawa/ccmanager-win32-x64": "3.2.
|
|
44
|
+
"@kodaikabasawa/ccmanager-darwin-arm64": "3.2.10",
|
|
45
|
+
"@kodaikabasawa/ccmanager-darwin-x64": "3.2.10",
|
|
46
|
+
"@kodaikabasawa/ccmanager-linux-arm64": "3.2.10",
|
|
47
|
+
"@kodaikabasawa/ccmanager-linux-x64": "3.2.10",
|
|
48
|
+
"@kodaikabasawa/ccmanager-win32-x64": "3.2.10"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@eslint/js": "^9.28.0",
|