@machina.ai/cell-cli 1.49.0-rc6 → 1.50.0-rc1
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/package.json +3 -3
- package/dist/src/config/config.js +8 -1
- package/dist/src/config/config.js.map +1 -1
- package/dist/src/config/settingsSchema.d.ts +24 -0
- package/dist/src/config/settingsSchema.js +26 -0
- package/dist/src/config/settingsSchema.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/ui/components/AsciiArt.d.ts +6 -6
- package/dist/src/ui/components/AsciiArt.js +6 -6
- package/dist/src/ui/components/InputPrompt.test.js +52 -1
- package/dist/src/ui/components/InputPrompt.test.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.js +248 -80
- package/dist/src/ui/components/ModelDialog.js.map +1 -1
- package/dist/src/ui/components/ModelDialog.test.js +158 -9
- package/dist/src/ui/components/ModelDialog.test.js.map +1 -1
- package/dist/src/ui/components/VoiceModelDialog.js +16 -6
- package/dist/src/ui/components/VoiceModelDialog.js.map +1 -1
- package/dist/src/ui/components/shared/TextInput.d.ts +2 -1
- package/dist/src/ui/components/shared/TextInput.js +7 -6
- package/dist/src/ui/components/shared/TextInput.js.map +1 -1
- package/dist/src/ui/hooks/useGeminiStream.js +11 -1
- package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
- package/dist/src/ui/hooks/useVoiceMode.js +3 -2
- package/dist/src/ui/hooks/useVoiceMode.js.map +1 -1
- package/dist/src/utils/handleAutoUpdate.test.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Copyright 2025 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
export declare const shortAsciiLogo = "\n \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.
|
|
7
|
-
export declare const longAsciiLogo = "\n\u2591\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588 \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.
|
|
8
|
-
export declare const tinyAsciiLogo = "\n \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\n \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \n \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D\u2588\u2588\u2551 \n \u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\n@machina.ai/cell-cli@1.
|
|
9
|
-
export declare const shortAsciiLogoIde = "\n \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.
|
|
10
|
-
export declare const longAsciiLogoIde = "\n\u2591\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588 \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.
|
|
11
|
-
export declare const tinyAsciiLogoIde = "\n \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\n \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \n \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D\u2588\u2588\u2551 \n \u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\n@machina.ai/cell-cli@1.
|
|
6
|
+
export declare const shortAsciiLogo = "\n \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.50.0-rc1\n";
|
|
7
|
+
export declare const longAsciiLogo = "\n\u2591\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588 \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.50.0-rc1 \n";
|
|
8
|
+
export declare const tinyAsciiLogo = "\n \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\n \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \n \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D\u2588\u2588\u2551 \n \u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\n@machina.ai/cell-cli@1.50.0-rc1\n";
|
|
9
|
+
export declare const shortAsciiLogoIde = "\n \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.50.0-rc1\n";
|
|
10
|
+
export declare const longAsciiLogoIde = "\n\u2591\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \n\u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2584\u2584 \u2584\u2584\u2584\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2593 \u2588\u2588\u2593 \n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2588\u2588\u2580 \u2580\u2588\u2588 \u2592\u2588\u2588 \u2580\u2588 \u2593\u2588\u2588\u2592 \u2593\u2588\u2588\u2592 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2592\u2593\u2588 \u2592\u2588\u2588\u2588\u2588\u2584 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2592\u2593\u2593\u2584 \u2584\u2588\u2588 \u2591\u2588\u2588 \u2588\u2588 \u2592\u2588\u2588\u2591 \u2592\u2588\u2588\u2591 \n\u2591\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2591\u2588\u2588 \u2592 \u2593\u2588\u2588\u2588\u2580 \u2591 \u2593\u2588\u2588\u2588\u2588\u2593\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2592\n \u2591 \u2591\u2592 \u2592 \u2591 \u2592\u2592 \u2593\u2592\u2588\u2591\u2591 \u2592\u2591\u2593 \u2591\u2591 \u2592\u2591\u2593 \u2591\n \u2591 \u2592 \u2592 \u2592\u2592 \u2591\u2591 \u2591 \u2592 \u2591\u2591 \u2591 \u2592 \u2591\n \u2591 \u2591 \u2592 \u2591 \u2591 \u2591 \u2591 \n \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591 \u2591\n \u2591 \n @machina.ai/cell-cli@1.50.0-rc1 \n";
|
|
11
|
+
export declare const tinyAsciiLogoIde = "\n \u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\n \u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \n \u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u255A\u2588\u2588\u2557 \u2588\u2588\u2554\u255D\u2588\u2588\u2551 \n \u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2554\u255D \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\n \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\n@machina.ai/cell-cli@1.50.0-rc1\n";
|
|
12
12
|
export declare const shortAsciiLogoCompactText = "\n\u2588\u2588\u2599 \u259C\u2588\u2598\n\u2588\u258C\u259C\u2599\u2590\u2588 \n\u2588\u258C \u259C\u2588\u2588 \n\u2580\u2580 \u2580\u2580\u2598\n";
|
|
13
13
|
export declare const longAsciiLogoCompactText = "\n\u259C\u2588\u2588\u2596\u259D\u2588\u259B\n\u2590\u2588\u259D\u2588\u2596\u2588\u258C \n\u2590\u2588 \u259D\u2588\u2588\u258C \n\u2580\u2580\u2598 \u2580\u2580\u2598 \n";
|
|
14
14
|
export declare const tinyAsciiLogoCompactText = "\n\u259C\u2588\u2588\u2596\u259D\u2588\u259B\n\u2590\u2588\u259D\u2588\u2596\u2588\u258C\n\u2590\u2588 \u259D\u2588\u2588\u258C\n\u2580\u2580\u2598 \u259D\u2580\u2580\n";
|
|
@@ -14,7 +14,7 @@ export const shortAsciiLogo = `
|
|
|
14
14
|
░ ░ ▒ ░ ░ ░ ░
|
|
15
15
|
░ ░ ░ ░ ░ ░ ░ ░
|
|
16
16
|
░
|
|
17
|
-
@machina.ai/cell-cli@1.
|
|
17
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
18
18
|
`;
|
|
19
19
|
export const longAsciiLogo = `
|
|
20
20
|
░███ ░██
|
|
@@ -29,7 +29,7 @@ export const longAsciiLogo = `
|
|
|
29
29
|
░ ░ ▒ ░ ░ ░ ░
|
|
30
30
|
░ ░ ░ ░ ░ ░ ░ ░
|
|
31
31
|
░
|
|
32
|
-
@machina.ai/cell-cli@1.
|
|
32
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
33
33
|
`;
|
|
34
34
|
export const tinyAsciiLogo = `
|
|
35
35
|
███╗ ██╗██╗ ██╗ ██████╗
|
|
@@ -38,7 +38,7 @@ export const tinyAsciiLogo = `
|
|
|
38
38
|
██║╚██╗██║╚██╗ ██╔╝██║
|
|
39
39
|
██║ ╚████║ ╚████╔╝ ╚██████╗
|
|
40
40
|
╚═╝ ╚═══╝ ╚═══╝ ╚═════╝
|
|
41
|
-
@machina.ai/cell-cli@1.
|
|
41
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
42
42
|
`;
|
|
43
43
|
export const shortAsciiLogoIde = `
|
|
44
44
|
▄████▄▄ ▄▄▄▄▄▄▄▄ ██▓ ██▓
|
|
@@ -51,7 +51,7 @@ export const shortAsciiLogoIde = `
|
|
|
51
51
|
░ ░ ▒ ░ ░ ░ ░
|
|
52
52
|
░ ░ ░ ░ ░ ░ ░ ░
|
|
53
53
|
░
|
|
54
|
-
@machina.ai/cell-cli@1.
|
|
54
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
55
55
|
`;
|
|
56
56
|
export const longAsciiLogoIde = `
|
|
57
57
|
░███ ░██
|
|
@@ -66,7 +66,7 @@ export const longAsciiLogoIde = `
|
|
|
66
66
|
░ ░ ▒ ░ ░ ░ ░
|
|
67
67
|
░ ░ ░ ░ ░ ░ ░ ░
|
|
68
68
|
░
|
|
69
|
-
@machina.ai/cell-cli@1.
|
|
69
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
70
70
|
`;
|
|
71
71
|
export const tinyAsciiLogoIde = `
|
|
72
72
|
███╗ ██╗██╗ ██╗ ██████╗
|
|
@@ -75,7 +75,7 @@ export const tinyAsciiLogoIde = `
|
|
|
75
75
|
██║╚██╗██║╚██╗ ██╔╝██║
|
|
76
76
|
██║ ╚████║ ╚████╔╝ ╚██████╗
|
|
77
77
|
╚═╝ ╚═══╝ ╚═══╝ ╚═════╝
|
|
78
|
-
@machina.ai/cell-cli@1.
|
|
78
|
+
@machina.ai/cell-cli@1.50.0-rc1
|
|
79
79
|
`;
|
|
80
80
|
export const shortAsciiLogoCompactText = `
|
|
81
81
|
██▙ ▜█▘
|
|
@@ -37,7 +37,7 @@ import { InputPrompt, tryTogglePasteExpansion, } from './InputPrompt.js';
|
|
|
37
37
|
import { InputContext } from '../contexts/InputContext.js';
|
|
38
38
|
import {} from '../contexts/UIStateContext.js';
|
|
39
39
|
import { calculateTransformationsForLine, calculateTransformedLine, } from './shared/text-buffer.js';
|
|
40
|
-
import { ApprovalMode, debugLogger, coreEvents, } from '@google/gemini-cli-core';
|
|
40
|
+
import { ApprovalMode, debugLogger, coreEvents, AuthType, } from '@google/gemini-cli-core';
|
|
41
41
|
import * as path from 'node:path';
|
|
42
42
|
import { CommandKind, } from '../commands/types.js';
|
|
43
43
|
import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest';
|
|
@@ -3810,6 +3810,57 @@ describe('InputPrompt', () => {
|
|
|
3810
3810
|
});
|
|
3811
3811
|
unmount();
|
|
3812
3812
|
});
|
|
3813
|
+
it('should allow starting voice mode without GEMINI_API_KEY when authType is KEYCLOAK', async () => {
|
|
3814
|
+
await act(async () => {
|
|
3815
|
+
mockBuffer.setText('');
|
|
3816
|
+
});
|
|
3817
|
+
// Mock config with no apiKey, but with Keycloak authType
|
|
3818
|
+
props.config.getContentGeneratorConfig = () => ({
|
|
3819
|
+
authType: AuthType.KEYCLOAK,
|
|
3820
|
+
});
|
|
3821
|
+
const { stdin, unmount } = await renderWithProviders(_jsx(TestInputPrompt, { ...props, focus: true, buffer: mockBuffer }), {
|
|
3822
|
+
uiState: { isVoiceModeEnabled: true },
|
|
3823
|
+
settings: createMockSettings({
|
|
3824
|
+
experimental: { voice: { activationMode: 'toggle' } },
|
|
3825
|
+
}),
|
|
3826
|
+
});
|
|
3827
|
+
// Press space to start
|
|
3828
|
+
await act(async () => {
|
|
3829
|
+
stdin.write(' ');
|
|
3830
|
+
});
|
|
3831
|
+
// Verify that the error queue message setter was NOT called with the missing API key error
|
|
3832
|
+
expect(props.setQueueErrorMessage).not.toHaveBeenCalledWith(expect.stringContaining('Cloud voice mode requires a GEMINI_API_KEY'));
|
|
3833
|
+
unmount();
|
|
3834
|
+
});
|
|
3835
|
+
it('should fail to start voice mode without GEMINI_API_KEY when authType is standard', async () => {
|
|
3836
|
+
await act(async () => {
|
|
3837
|
+
mockBuffer.setText('');
|
|
3838
|
+
});
|
|
3839
|
+
// Mock config with no apiKey and standard authType (or undefined)
|
|
3840
|
+
props.config.getContentGeneratorConfig = () => ({
|
|
3841
|
+
authType: AuthType.USE_GEMINI,
|
|
3842
|
+
});
|
|
3843
|
+
// Clean env just in case
|
|
3844
|
+
const originalEnv = process.env['GEMINI_API_KEY'];
|
|
3845
|
+
delete process.env['GEMINI_API_KEY'];
|
|
3846
|
+
const { stdin, unmount } = await renderWithProviders(_jsx(TestInputPrompt, { ...props, focus: true, buffer: mockBuffer }), {
|
|
3847
|
+
uiState: { isVoiceModeEnabled: true },
|
|
3848
|
+
settings: createMockSettings({
|
|
3849
|
+
experimental: { voice: { activationMode: 'toggle' } },
|
|
3850
|
+
}),
|
|
3851
|
+
});
|
|
3852
|
+
// Press space to start
|
|
3853
|
+
await act(async () => {
|
|
3854
|
+
stdin.write(' ');
|
|
3855
|
+
});
|
|
3856
|
+
// Verify that the error queue message setter was called with the missing API key error
|
|
3857
|
+
expect(props.setQueueErrorMessage).toHaveBeenCalledWith(expect.stringContaining('Cloud voice mode requires a GEMINI_API_KEY'));
|
|
3858
|
+
// Restore env
|
|
3859
|
+
if (originalEnv) {
|
|
3860
|
+
process.env['GEMINI_API_KEY'] = originalEnv;
|
|
3861
|
+
}
|
|
3862
|
+
unmount();
|
|
3863
|
+
});
|
|
3813
3864
|
it('should toggle recording off when space is pressed again (toggle)', async () => {
|
|
3814
3865
|
await act(async () => {
|
|
3815
3866
|
mockBuffer.setText('');
|