@getjack/jack 0.1.27 → 0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/lib/hooks.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getjack/jack",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Ship before you forget why you started. The vibecoder's deployment CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
package/src/lib/hooks.ts CHANGED
@@ -11,6 +11,10 @@ import { restoreTty } from "./tty";
11
11
  * User pastes JSON, then presses Enter on empty line to submit
12
12
  */
13
13
  async function readMultilineJson(prompt: string): Promise<string> {
14
+ // Ensure TTY is in a clean state before starting readline
15
+ // This prevents conflicts with previous @clack/prompts selections
16
+ restoreTty();
17
+
14
18
  console.error(prompt);
15
19
  console.error("(Paste JSON, then press Enter on empty line to submit)\n");
16
20