codeep 1.1.26 → 1.1.27

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.
@@ -1287,8 +1287,8 @@ export class App {
1287
1287
  this.pasteApiKey();
1288
1288
  return;
1289
1289
  }
1290
- // Ctrl+O to open subscribe URL
1291
- if (event.ctrl && event.key === 'o') {
1290
+ // Ctrl+G to open subscribe URL
1291
+ if (event.ctrl && event.key === 'g') {
1292
1292
  const provider = this.loginProviders[this.loginProviderIndex];
1293
1293
  if (provider.subscribeUrl) {
1294
1294
  try {
@@ -2775,7 +2775,7 @@ export class App {
2775
2775
  y++;
2776
2776
  const hints = ['Ctrl+V Paste'];
2777
2777
  if (selectedProvider.subscribeUrl) {
2778
- hints.push('Ctrl+O Get API key');
2778
+ hints.push('Ctrl+G Get API key');
2779
2779
  }
2780
2780
  hints.push('Enter Submit', 'Esc Back');
2781
2781
  this.screen.writeLine(y, hints.join(' • '), fg.gray);
@@ -154,6 +154,24 @@ export class Input {
154
154
  event.ctrl = true;
155
155
  return event;
156
156
  }
157
+ // Ctrl+G
158
+ if (data === '\x07') {
159
+ event.key = 'g';
160
+ event.ctrl = true;
161
+ return event;
162
+ }
163
+ // Ctrl+O
164
+ if (data === '\x0f') {
165
+ event.key = 'o';
166
+ event.ctrl = true;
167
+ return event;
168
+ }
169
+ // Ctrl+T
170
+ if (data === '\x14') {
171
+ event.key = 't';
172
+ event.ctrl = true;
173
+ return event;
174
+ }
157
175
  // Enter
158
176
  if (data === '\r' || data === '\n') {
159
177
  event.key = 'enter';
@@ -35,7 +35,7 @@ export class LoginScreen {
35
35
  return true;
36
36
  }
37
37
  // Open subscribe URL in browser
38
- if (event.ctrl && event.key === 'o' && this.options.subscribeUrl) {
38
+ if (event.ctrl && event.key === 'g' && this.options.subscribeUrl) {
39
39
  openUrl(this.options.subscribeUrl);
40
40
  return true;
41
41
  }
@@ -122,7 +122,7 @@ export class LoginScreen {
122
122
  // Help text
123
123
  const helpParts = ['Ctrl+T: Toggle visibility'];
124
124
  if (this.options.subscribeUrl) {
125
- helpParts.push('Ctrl+O: Get API key');
125
+ helpParts.push('Ctrl+G: Get API key');
126
126
  }
127
127
  helpParts.push('Esc: Cancel');
128
128
  this.screen.write(contentX, contentY, helpParts.join(' | '), fg.gray);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.1.26",
3
+ "version": "1.1.27",
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",