coder-config 0.44.43 → 0.44.45

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.
@@ -19,7 +19,7 @@
19
19
 
20
20
  <!-- PWA Manifest -->
21
21
  <link rel="manifest" href="/manifest.json">
22
- <script type="module" crossorigin src="/assets/index-CZMA0Sz_.js"></script>
22
+ <script type="module" crossorigin src="/assets/index-Duz9pFi2.js"></script>
23
23
  <link rel="stylesheet" crossorigin href="/assets/index-ChBU02w_.css">
24
24
  </head>
25
25
  <body>
@@ -119,19 +119,18 @@ class TerminalServer {
119
119
  lastFewLines.includes('> Try') ||
120
120
  lastFewLines.includes(']133;B')) { // Terminal prompt marker
121
121
  delayedCmdSent = true;
122
- console.log('[Terminal] Prompt detected, sending command...');
122
+ console.log('[Terminal] Prompt detected, waiting 2s before sending...');
123
123
  console.log('[Terminal] Command length:', delayedCmd?.length || 0);
124
- // Small delay after detecting ready state
124
+ // Wait for Claude to be fully ready
125
125
  setTimeout(() => {
126
- // Send command first, then Enter separately
127
- // Claude Code treats large text as paste and waits for Enter confirmation
126
+ console.log('[Terminal] Sending command...');
128
127
  ptyProcess.write(delayedCmd);
129
- console.log('[Terminal] Command sent, sending Enter in 100ms...');
128
+ console.log('[Terminal] Command sent, waiting 2s before Enter...');
130
129
  setTimeout(() => {
131
- ptyProcess.write('\n');
132
- console.log('[Terminal] Enter sent');
133
- }, 500);
134
- }, 200);
130
+ ptyProcess.write('\r\n');
131
+ console.log('[Terminal] Enter sent (\\r\\n)');
132
+ }, 2000);
133
+ }, 2000);
135
134
  }
136
135
  }
137
136
  };
@@ -144,11 +143,11 @@ class TerminalServer {
144
143
  if (!delayedCmdSent) {
145
144
  console.log('[Terminal] Fallback timeout triggered after', delayedCmdDelay, 'ms');
146
145
  delayedCmdSent = true;
147
- // Send command first, then Enter separately
146
+ // Send command first, then Enter separately with longer delays
148
147
  ptyProcess.write(delayedCmd);
149
148
  setTimeout(() => {
150
- ptyProcess.write('\n');
151
- }, 500);
149
+ ptyProcess.write('\r\n');
150
+ }, 2000);
152
151
  }
153
152
  }, delayedCmdDelay);
154
153
  }