@google/gemini-cli 0.14.0-preview.0 → 0.15.0-nightly.20251110.c0b766ad
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/google-gemini-cli-0.15.0-nightly.20251107.b8eeb553.tgz +0 -0
- package/dist/package.json +3 -3
- package/dist/src/config/config.d.ts +1 -8
- package/dist/src/config/config.js +3 -23
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/config.test.js +11 -11
- package/dist/src/config/config.test.js.map +1 -1
- package/dist/src/config/extension-manager.js +8 -7
- package/dist/src/config/extension-manager.js.map +1 -1
- package/dist/src/config/extensions/github.d.ts +1 -1
- package/dist/src/config/extensions/github.js +8 -2
- package/dist/src/config/extensions/github.js.map +1 -1
- package/dist/src/config/extensions/github.test.js +8 -10
- package/dist/src/config/extensions/github.test.js.map +1 -1
- package/dist/src/gemini.js +2 -2
- package/dist/src/gemini.js.map +1 -1
- package/dist/src/generated/git-commit.d.ts +2 -2
- package/dist/src/generated/git-commit.js +2 -2
- package/dist/src/generated/git-commit.js.map +1 -1
- package/dist/src/services/FileCommandLoader.js +4 -2
- package/dist/src/services/FileCommandLoader.js.map +1 -1
- package/dist/src/services/FileCommandLoader.test.js +37 -0
- package/dist/src/services/FileCommandLoader.test.js.map +1 -1
- package/dist/src/test-utils/render.d.ts +1 -2
- package/dist/src/test-utils/render.js +2 -2
- package/dist/src/test-utils/render.js.map +1 -1
- package/dist/src/ui/AppContainer.js +14 -13
- package/dist/src/ui/AppContainer.js.map +1 -1
- package/dist/src/ui/commands/directoryCommand.js +2 -10
- package/dist/src/ui/commands/directoryCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.js +91 -2
- package/dist/src/ui/commands/extensionsCommand.js.map +1 -1
- package/dist/src/ui/commands/extensionsCommand.test.js +125 -1
- package/dist/src/ui/commands/extensionsCommand.test.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.js +2 -10
- package/dist/src/ui/commands/memoryCommand.js.map +1 -1
- package/dist/src/ui/commands/memoryCommand.test.js +11 -28
- package/dist/src/ui/commands/memoryCommand.test.js.map +1 -1
- package/dist/src/ui/commands/types.d.ts +0 -1
- package/dist/src/ui/commands/types.js.map +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.js +1 -1
- package/dist/src/ui/components/HistoryItemDisplay.js.map +1 -1
- package/dist/src/ui/components/InputPrompt.test.js +35 -26
- package/dist/src/ui/components/InputPrompt.test.js.map +1 -1
- package/dist/src/ui/components/SettingsDialog.test.js +4 -4
- package/dist/src/ui/components/SettingsDialog.test.js.map +1 -1
- package/dist/src/ui/components/ThemeDialog.test.js +3 -3
- package/dist/src/ui/components/ThemeDialog.test.js.map +1 -1
- package/dist/src/ui/components/messages/InfoMessage.d.ts +2 -0
- package/dist/src/ui/components/messages/InfoMessage.js +4 -3
- package/dist/src/ui/components/messages/InfoMessage.js.map +1 -1
- package/dist/src/ui/components/shared/Scrollable.js +9 -4
- package/dist/src/ui/components/shared/Scrollable.js.map +1 -1
- package/dist/src/ui/components/shared/Scrollable.test.js +39 -1
- package/dist/src/ui/components/shared/Scrollable.test.js.map +1 -1
- package/dist/src/ui/components/shared/ScrollableList.test.js +1 -1
- package/dist/src/ui/components/shared/ScrollableList.test.js.map +1 -1
- package/dist/src/ui/components/shared/VirtualizedList.js +10 -3
- package/dist/src/ui/components/shared/VirtualizedList.js.map +1 -1
- package/dist/src/ui/components/shared/VirtualizedList.test.js +23 -0
- package/dist/src/ui/components/shared/VirtualizedList.test.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.d.ts +5 -11
- package/dist/src/ui/contexts/KeypressContext.js +446 -755
- package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
- package/dist/src/ui/contexts/KeypressContext.test.js +103 -334
- package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
- package/dist/src/ui/contexts/ScrollProvider.js +25 -4
- package/dist/src/ui/contexts/ScrollProvider.js.map +1 -1
- package/dist/src/ui/contexts/ScrollProvider.test.d.ts +6 -0
- package/dist/src/ui/contexts/ScrollProvider.test.js +173 -0
- package/dist/src/ui/contexts/ScrollProvider.test.js.map +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.test.js +1 -0
- package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.d.ts +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.js +1 -3
- package/dist/src/ui/hooks/slashCommandProcessor.js.map +1 -1
- package/dist/src/ui/hooks/slashCommandProcessor.test.js +1 -2
- package/dist/src/ui/hooks/slashCommandProcessor.test.js.map +1 -1
- package/dist/src/ui/hooks/useBatchedScroll.d.ts +14 -0
- package/dist/src/ui/hooks/useBatchedScroll.js +27 -0
- package/dist/src/ui/hooks/useBatchedScroll.js.map +1 -0
- package/dist/src/ui/hooks/useBatchedScroll.test.d.ts +6 -0
- package/dist/src/ui/hooks/useBatchedScroll.test.js +62 -0
- package/dist/src/ui/hooks/useBatchedScroll.test.js.map +1 -0
- package/dist/src/ui/hooks/useFocus.test.js +10 -10
- package/dist/src/ui/hooks/useFocus.test.js.map +1 -1
- package/dist/src/ui/hooks/useKeypress.test.js +8 -14
- package/dist/src/ui/hooks/useKeypress.test.js.map +1 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.js +0 -1
- package/dist/src/ui/noninteractive/nonInteractiveUi.js.map +1 -1
- package/dist/src/ui/state/extensions.d.ts +5 -0
- package/dist/src/ui/state/extensions.js +12 -0
- package/dist/src/ui/state/extensions.js.map +1 -1
- package/dist/src/ui/state/extensions.test.d.ts +6 -0
- package/dist/src/ui/state/extensions.test.js +62 -0
- package/dist/src/ui/state/extensions.test.js.map +1 -0
- package/dist/src/ui/types.d.ts +6 -0
- package/dist/src/ui/types.js +4 -0
- package/dist/src/ui/types.js.map +1 -1
- package/dist/src/ui/utils/terminalSetup.d.ts +1 -0
- package/dist/src/ui/utils/terminalSetup.js +1 -1
- package/dist/src/ui/utils/terminalSetup.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/src/ui/utils/platformConstants.d.ts +0 -75
- package/dist/src/ui/utils/platformConstants.js +0 -78
- package/dist/src/ui/utils/platformConstants.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google/gemini-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0-nightly.20251110.c0b766ad",
|
|
4
4
|
"description": "Gemini CLI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"dist"
|
|
26
26
|
],
|
|
27
27
|
"config": {
|
|
28
|
-
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
28
|
+
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.15.0-nightly.20251110.c0b766ad"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@google/gemini-cli-core": "0.
|
|
31
|
+
"@google/gemini-cli-core": "0.15.0-nightly.20251110.c0b766ad",
|
|
32
32
|
"@google/genai": "1.16.0",
|
|
33
33
|
"@iarna/toml": "^2.2.5",
|
|
34
34
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"fzf": "^0.5.2",
|
|
43
43
|
"glob": "^10.4.5",
|
|
44
44
|
"highlight.js": "^11.11.1",
|
|
45
|
-
"ink": "npm:@jrichman/ink@6.4.
|
|
45
|
+
"ink": "npm:@jrichman/ink@6.4.1",
|
|
46
46
|
"ink-gradient": "^3.0.0",
|
|
47
47
|
"ink-spinner": "^5.0.0",
|
|
48
48
|
"latest-version": "^9.0.0",
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Terminal Platform Constants
|
|
8
|
-
*
|
|
9
|
-
* This file contains terminal-related constants used throughout the application,
|
|
10
|
-
* specifically for handling keyboard inputs and terminal protocols.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Kitty keyboard protocol sequences for enhanced keyboard input.
|
|
14
|
-
* @see https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
|
15
|
-
*/
|
|
16
|
-
export declare const KITTY_CTRL_C = "[99;5u";
|
|
17
|
-
/**
|
|
18
|
-
* Kitty keyboard protocol keycodes
|
|
19
|
-
*/
|
|
20
|
-
export declare const KITTY_KEYCODE_ENTER = 13;
|
|
21
|
-
export declare const KITTY_KEYCODE_NUMPAD_ENTER = 57414;
|
|
22
|
-
export declare const KITTY_KEYCODE_TAB = 9;
|
|
23
|
-
export declare const KITTY_KEYCODE_BACKSPACE = 127;
|
|
24
|
-
/**
|
|
25
|
-
* Kitty modifier decoding constants
|
|
26
|
-
*
|
|
27
|
-
* In Kitty/Ghostty, the modifier parameter is encoded as (1 + bitmask).
|
|
28
|
-
* Some terminals also set bit 7 (i.e., add 128) when reporting event types.
|
|
29
|
-
*/
|
|
30
|
-
export declare const KITTY_MODIFIER_BASE = 1;
|
|
31
|
-
export declare const KITTY_MODIFIER_EVENT_TYPES_OFFSET = 128;
|
|
32
|
-
/**
|
|
33
|
-
* Modifier bit flags for Kitty/Xterm-style parameters.
|
|
34
|
-
*
|
|
35
|
-
* Per spec, the modifiers parameter encodes (1 + bitmask) where:
|
|
36
|
-
* - 1: no modifiers
|
|
37
|
-
* - bit 0 (1): Shift
|
|
38
|
-
* - bit 1 (2): Alt/Option (reported as "alt" in spec; we map to meta)
|
|
39
|
-
* - bit 2 (4): Ctrl
|
|
40
|
-
*
|
|
41
|
-
* Some terminals add 128 to the entire modifiers field when reporting event types.
|
|
42
|
-
* See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
|
|
43
|
-
*/
|
|
44
|
-
export declare const MODIFIER_SHIFT_BIT = 1;
|
|
45
|
-
export declare const MODIFIER_ALT_BIT = 2;
|
|
46
|
-
export declare const MODIFIER_CTRL_BIT = 4;
|
|
47
|
-
/**
|
|
48
|
-
* Timing constants for terminal interactions
|
|
49
|
-
*/
|
|
50
|
-
export declare const CTRL_EXIT_PROMPT_DURATION_MS = 1000;
|
|
51
|
-
/**
|
|
52
|
-
* VS Code terminal integration constants
|
|
53
|
-
*/
|
|
54
|
-
export declare const VSCODE_SHIFT_ENTER_SEQUENCE = "\\\r\n";
|
|
55
|
-
/**
|
|
56
|
-
* Backslash + Enter detection window in milliseconds.
|
|
57
|
-
* Used to detect Shift+Enter pattern where backslash
|
|
58
|
-
* is followed by Enter within this timeframe.
|
|
59
|
-
*/
|
|
60
|
-
export declare const BACKSLASH_ENTER_DETECTION_WINDOW_MS = 5;
|
|
61
|
-
/**
|
|
62
|
-
* Maximum expected length of a Kitty keyboard protocol sequence.
|
|
63
|
-
* Format: ESC [ <keycode> ; <modifiers> u/~
|
|
64
|
-
* Example: \x1b[13;2u (Shift+Enter) = 8 chars
|
|
65
|
-
* Longest reasonable: \x1b[127;15~ = 11 chars (Del with all modifiers)
|
|
66
|
-
* We use 12 to provide a small buffer.
|
|
67
|
-
*/
|
|
68
|
-
export declare const MAX_KITTY_SEQUENCE_LENGTH = 32;
|
|
69
|
-
/**
|
|
70
|
-
* Character codes for common escape sequences
|
|
71
|
-
*/
|
|
72
|
-
export declare const CHAR_CODE_ESC = 27;
|
|
73
|
-
export declare const CHAR_CODE_LEFT_BRACKET = 91;
|
|
74
|
-
export declare const CHAR_CODE_1 = 49;
|
|
75
|
-
export declare const CHAR_CODE_2 = 50;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Terminal Platform Constants
|
|
8
|
-
*
|
|
9
|
-
* This file contains terminal-related constants used throughout the application,
|
|
10
|
-
* specifically for handling keyboard inputs and terminal protocols.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Kitty keyboard protocol sequences for enhanced keyboard input.
|
|
14
|
-
* @see https://sw.kovidgoyal.net/kitty/keyboard-protocol/
|
|
15
|
-
*/
|
|
16
|
-
export const KITTY_CTRL_C = '[99;5u';
|
|
17
|
-
/**
|
|
18
|
-
* Kitty keyboard protocol keycodes
|
|
19
|
-
*/
|
|
20
|
-
export const KITTY_KEYCODE_ENTER = 13;
|
|
21
|
-
export const KITTY_KEYCODE_NUMPAD_ENTER = 57414;
|
|
22
|
-
export const KITTY_KEYCODE_TAB = 9;
|
|
23
|
-
export const KITTY_KEYCODE_BACKSPACE = 127;
|
|
24
|
-
/**
|
|
25
|
-
* Kitty modifier decoding constants
|
|
26
|
-
*
|
|
27
|
-
* In Kitty/Ghostty, the modifier parameter is encoded as (1 + bitmask).
|
|
28
|
-
* Some terminals also set bit 7 (i.e., add 128) when reporting event types.
|
|
29
|
-
*/
|
|
30
|
-
export const KITTY_MODIFIER_BASE = 1; // Base value per spec before bitmask decode
|
|
31
|
-
export const KITTY_MODIFIER_EVENT_TYPES_OFFSET = 128; // Added when event types are included
|
|
32
|
-
/**
|
|
33
|
-
* Modifier bit flags for Kitty/Xterm-style parameters.
|
|
34
|
-
*
|
|
35
|
-
* Per spec, the modifiers parameter encodes (1 + bitmask) where:
|
|
36
|
-
* - 1: no modifiers
|
|
37
|
-
* - bit 0 (1): Shift
|
|
38
|
-
* - bit 1 (2): Alt/Option (reported as "alt" in spec; we map to meta)
|
|
39
|
-
* - bit 2 (4): Ctrl
|
|
40
|
-
*
|
|
41
|
-
* Some terminals add 128 to the entire modifiers field when reporting event types.
|
|
42
|
-
* See: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#modifiers
|
|
43
|
-
*/
|
|
44
|
-
export const MODIFIER_SHIFT_BIT = 1;
|
|
45
|
-
export const MODIFIER_ALT_BIT = 2;
|
|
46
|
-
export const MODIFIER_CTRL_BIT = 4;
|
|
47
|
-
/**
|
|
48
|
-
* Timing constants for terminal interactions
|
|
49
|
-
*/
|
|
50
|
-
export const CTRL_EXIT_PROMPT_DURATION_MS = 1000;
|
|
51
|
-
/**
|
|
52
|
-
* VS Code terminal integration constants
|
|
53
|
-
*/
|
|
54
|
-
export const VSCODE_SHIFT_ENTER_SEQUENCE = '\\\r\n';
|
|
55
|
-
/**
|
|
56
|
-
* Backslash + Enter detection window in milliseconds.
|
|
57
|
-
* Used to detect Shift+Enter pattern where backslash
|
|
58
|
-
* is followed by Enter within this timeframe.
|
|
59
|
-
*/
|
|
60
|
-
export const BACKSLASH_ENTER_DETECTION_WINDOW_MS = 5;
|
|
61
|
-
/**
|
|
62
|
-
* Maximum expected length of a Kitty keyboard protocol sequence.
|
|
63
|
-
* Format: ESC [ <keycode> ; <modifiers> u/~
|
|
64
|
-
* Example: \x1b[13;2u (Shift+Enter) = 8 chars
|
|
65
|
-
* Longest reasonable: \x1b[127;15~ = 11 chars (Del with all modifiers)
|
|
66
|
-
* We use 12 to provide a small buffer.
|
|
67
|
-
*/
|
|
68
|
-
// Increased to accommodate parameterized forms and occasional colon subfields
|
|
69
|
-
// while still being small enough to avoid pathological buffering.
|
|
70
|
-
export const MAX_KITTY_SEQUENCE_LENGTH = 32;
|
|
71
|
-
/**
|
|
72
|
-
* Character codes for common escape sequences
|
|
73
|
-
*/
|
|
74
|
-
export const CHAR_CODE_ESC = 27;
|
|
75
|
-
export const CHAR_CODE_LEFT_BRACKET = 91;
|
|
76
|
-
export const CHAR_CODE_1 = 49;
|
|
77
|
-
export const CHAR_CODE_2 = 50;
|
|
78
|
-
//# sourceMappingURL=platformConstants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"platformConstants.js","sourceRoot":"","sources":["../../../../src/ui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