@wonderwhy-er/desktop-commander 0.2.5 → 0.2.6
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/utils/usageTracker.js +8 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -149,18 +149,21 @@ class UsageTracker {
|
|
|
149
149
|
* Check if user should be prompted for feedback based on usage patterns
|
|
150
150
|
*/
|
|
151
151
|
async shouldPromptForFeedback() {
|
|
152
|
+
return false;
|
|
153
|
+
/* TODO Turn off feedback requests until further issue investigation
|
|
152
154
|
const stats = await this.getStats();
|
|
155
|
+
|
|
153
156
|
// Don't prompt if feedback already given (check top-level config)
|
|
154
157
|
const feedbackGiven = await configManager.getValue('feedbackGiven');
|
|
155
|
-
if (feedbackGiven === true)
|
|
156
|
-
|
|
158
|
+
if (feedbackGiven === true) return false;
|
|
159
|
+
|
|
157
160
|
// Check if enough time has passed since last prompt (2 hours minimum)
|
|
158
161
|
const now = Date.now();
|
|
159
162
|
const hoursSinceLastPrompt = (now - stats.lastFeedbackPrompt) / (1000 * 60 * 60);
|
|
160
|
-
if (stats.lastFeedbackPrompt > 0 && hoursSinceLastPrompt < 2)
|
|
161
|
-
|
|
163
|
+
if (stats.lastFeedbackPrompt > 0 && hoursSinceLastPrompt < 2) return false;
|
|
164
|
+
|
|
162
165
|
// MAIN TRIGGER: 25+ total tool calls (earlier trigger for faster feedback)
|
|
163
|
-
return stats.totalToolCalls >= 25
|
|
166
|
+
return stats.totalToolCalls >= 25;*/
|
|
164
167
|
}
|
|
165
168
|
/**
|
|
166
169
|
* Get a random feedback prompt message with strong CTAs and clear actions
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.6";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.
|
|
1
|
+
export const VERSION = '0.2.6';
|