codeep 1.1.26 → 1.1.28
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/renderer/App.js
CHANGED
|
@@ -1287,8 +1287,8 @@ export class App {
|
|
|
1287
1287
|
this.pasteApiKey();
|
|
1288
1288
|
return;
|
|
1289
1289
|
}
|
|
1290
|
-
// Ctrl+
|
|
1291
|
-
if (event.ctrl && event.key === '
|
|
1290
|
+
// Ctrl+B to open subscribe URL
|
|
1291
|
+
if (event.ctrl && event.key === 'b') {
|
|
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+
|
|
2778
|
+
hints.push('Ctrl+B Get API key');
|
|
2779
2779
|
}
|
|
2780
2780
|
hints.push('Enter Submit', 'Esc Back');
|
|
2781
2781
|
this.screen.writeLine(y, hints.join(' • '), fg.gray);
|
package/dist/renderer/Input.js
CHANGED
|
@@ -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 === '
|
|
38
|
+
if (event.ctrl && event.key === 'b' && 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+
|
|
125
|
+
helpParts.push('Ctrl+B: 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.
|
|
3
|
+
"version": "1.1.28",
|
|
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",
|