claude-coder 1.5.3 → 1.5.4
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/package.json +1 -1
- package/src/indicator.js +0 -10
package/package.json
CHANGED
package/src/indicator.js
CHANGED
|
@@ -17,7 +17,6 @@ class Indicator {
|
|
|
17
17
|
this.sessionNum = 0;
|
|
18
18
|
this.startTime = Date.now();
|
|
19
19
|
this._lastContentKey = '';
|
|
20
|
-
this._lastRenderTime = 0;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
22
|
start(sessionNum) {
|
|
@@ -88,15 +87,6 @@ class Indicator {
|
|
|
88
87
|
|
|
89
88
|
_render() {
|
|
90
89
|
this.spinnerIndex++;
|
|
91
|
-
const contentKey = `${this.phase}|${this.step}|${this.toolTarget}`;
|
|
92
|
-
const now = Date.now();
|
|
93
|
-
|
|
94
|
-
if (contentKey === this._lastContentKey && now - this._lastRenderTime < 5000) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
this._lastContentKey = contentKey;
|
|
98
|
-
this._lastRenderTime = now;
|
|
99
|
-
|
|
100
90
|
const line = this.getStatusLine();
|
|
101
91
|
const maxWidth = process.stderr.columns || 80;
|
|
102
92
|
const truncated = line.length > maxWidth + 20 ? line.slice(0, maxWidth + 20) : line;
|