codeep 1.1.10 → 1.1.11

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -27
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -34,33 +34,6 @@ Contact: info@codeep.dev
34
34
  }
35
35
  // Clear screen on start
36
36
  console.clear();
37
- // Enable synchronized output (DEC mode 2026) for compatible terminals
38
- // This tells the terminal to buffer output and display it all at once
39
- const SYNC_START = '\x1b[?2026h';
40
- const SYNC_END = '\x1b[?2026l';
41
- // Wrap stdout.write to add synchronized output
42
- const originalWrite = process.stdout.write.bind(process.stdout);
43
- let syncEnabled = false;
44
- // Check if terminal likely supports DEC 2026 (modern terminals)
45
- const termProgram = process.env.TERM_PROGRAM || '';
46
- const supportsSync = ['ghostty', 'wezterm', 'kitty', 'alacritty', 'iTerm.app', 'vscode'].some(t => termProgram.toLowerCase().includes(t.toLowerCase())) || process.env.TERM?.includes('256color');
47
- if (supportsSync) {
48
- process.stdout.write = ((chunk, encoding, callback) => {
49
- if (typeof chunk === 'string' && chunk.length > 100 && !syncEnabled) {
50
- // For larger outputs, use synchronized rendering
51
- syncEnabled = true;
52
- originalWrite(SYNC_START);
53
- const result = originalWrite(chunk, encoding, () => {
54
- originalWrite(SYNC_END);
55
- syncEnabled = false;
56
- if (typeof callback === 'function')
57
- callback();
58
- });
59
- return result;
60
- }
61
- return originalWrite(chunk, encoding, callback);
62
- });
63
- }
64
37
  // Render app with optimized settings
65
38
  render(_jsx(App, {}), {
66
39
  // Limit frames per second to reduce CPU usage and flickering
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",