@snapcommit/cli 3.8.2 → 3.8.3
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/repl/interpreter.js +3 -3
- package/package.json +1 -1
package/dist/repl/interpreter.js
CHANGED
|
@@ -41,7 +41,6 @@ const chalk_1 = __importDefault(require("chalk"));
|
|
|
41
41
|
const child_process_1 = require("child_process");
|
|
42
42
|
const git_interpreter_1 = require("../ai/git-interpreter");
|
|
43
43
|
const gemini_client_1 = require("../ai/gemini-client");
|
|
44
|
-
const quick_1 = require("../commands/quick");
|
|
45
44
|
const stats_1 = require("../commands/stats");
|
|
46
45
|
const readline_1 = __importDefault(require("readline"));
|
|
47
46
|
const github = __importStar(require("../lib/github"));
|
|
@@ -156,12 +155,13 @@ function normalizeInput(input, context) {
|
|
|
156
155
|
*/
|
|
157
156
|
async function tryQuickCommands(input, context) {
|
|
158
157
|
const lower = input.toLowerCase();
|
|
159
|
-
// Commit commands
|
|
158
|
+
// Commit commands - Use Cursor-style handler!
|
|
160
159
|
if (lower === 'commit' ||
|
|
161
160
|
lower === 'commit my changes' ||
|
|
162
161
|
lower === 'commit my work' ||
|
|
163
162
|
lower.startsWith('commit ')) {
|
|
164
|
-
await (
|
|
163
|
+
const { executeCursorStyle } = await Promise.resolve().then(() => __importStar(require('../commands/cursor-style')));
|
|
164
|
+
await executeCursorStyle(input);
|
|
165
165
|
context.lastAction = 'commit';
|
|
166
166
|
return true;
|
|
167
167
|
}
|