@pipod/cli 0.1.21 → 0.1.23
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/cli.js +11 -2
- package/dist/cli.js.map +1 -1
- package/dist/key-encoding-guard-6UOKKTJQ.js +41 -0
- package/dist/key-encoding-guard-6UOKKTJQ.js.map +1 -0
- package/dist/{stdin-fragment-guard-SPIJC7GT.js → stdin-fragment-guard-DHHVSIXM.js} +3 -2
- package/dist/stdin-fragment-guard-DHHVSIXM.js.map +1 -0
- package/docs/fullscreen.md +57 -0
- package/docs/keyboard-input.md +48 -8
- package/man/pipod-config.5 +1 -1
- package/man/pipod.1 +4 -3
- package/man/pipod.1.md +3 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/stdin-fragment-guard-SPIJC7GT.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -8117,7 +8117,9 @@ var UI_SETTINGS_SCHEMA = {
|
|
|
8117
8117
|
warnings: subObject({ anthropicExtraUsage: bool }),
|
|
8118
8118
|
tuiMode: oneOf("regular", "fullscreen"),
|
|
8119
8119
|
fullscreenExitOutput: oneOf("transcript", "resume-hint"),
|
|
8120
|
-
fullscreenScrollbar: oneOf("hidden", "auto", "always")
|
|
8120
|
+
fullscreenScrollbar: oneOf("hidden", "auto", "always"),
|
|
8121
|
+
fullscreenCopyOnSelect: bool,
|
|
8122
|
+
fullscreenWheelScrollLines: (value) => value === "auto" ? value : intIn(1, 100)(value)
|
|
8121
8123
|
};
|
|
8122
8124
|
function validateUiSettings(value) {
|
|
8123
8125
|
if (!isPlainObject3(value)) return {};
|
|
@@ -14661,6 +14663,8 @@ ${choices.join("\n")}`,
|
|
|
14661
14663
|
};
|
|
14662
14664
|
let unwireDisconnectedQuit = () => {
|
|
14663
14665
|
};
|
|
14666
|
+
let unwireKeyEncoding = () => {
|
|
14667
|
+
};
|
|
14664
14668
|
let unwireKeyRepeat = () => {
|
|
14665
14669
|
};
|
|
14666
14670
|
let mode;
|
|
@@ -14668,19 +14672,22 @@ ${choices.join("\n")}`,
|
|
|
14668
14672
|
await runtime.init();
|
|
14669
14673
|
const { InteractiveMode } = await import("@earendil-works/pi-coding-agent");
|
|
14670
14674
|
const { wirePodChords } = await import("./chords-SOJBLC6R.js");
|
|
14675
|
+
const { wireKeyEncodingGuard } = await import("./key-encoding-guard-6UOKKTJQ.js");
|
|
14671
14676
|
const { wireKeyRepeatGuard } = await import("./key-repeat-guard-7OVKW5KD.js");
|
|
14672
|
-
const { guardStdinFragments } = await import("./stdin-fragment-guard-
|
|
14677
|
+
const { guardStdinFragments } = await import("./stdin-fragment-guard-DHHVSIXM.js");
|
|
14673
14678
|
guardStdinFragments();
|
|
14674
14679
|
const chords = context.config.pi.chords;
|
|
14675
14680
|
runtime.bridge.setOnUiBound(() => {
|
|
14676
14681
|
unwireChords();
|
|
14677
14682
|
unwireDisconnectedQuit();
|
|
14683
|
+
unwireKeyEncoding();
|
|
14678
14684
|
unwireKeyRepeat();
|
|
14679
14685
|
unwireChords = wirePodChords(runtime.bridge, runtime.router, chords);
|
|
14680
14686
|
unwireDisconnectedQuit = wireDisconnectedQuit(
|
|
14681
14687
|
runtime.bridge,
|
|
14682
14688
|
() => connectionAllowsQuit(latestConnectionState)
|
|
14683
14689
|
);
|
|
14690
|
+
unwireKeyEncoding = wireKeyEncodingGuard(runtime.bridge.ui);
|
|
14684
14691
|
unwireKeyRepeat = wireKeyRepeatGuard(runtime.bridge.ui);
|
|
14685
14692
|
});
|
|
14686
14693
|
const tuiMode = opts.tuiMode ?? tuiModeFromArgv(context.config.pi.args);
|
|
@@ -14711,6 +14718,7 @@ ${choices.join("\n")}`,
|
|
|
14711
14718
|
runtime.bridge.setOnUiBound(null);
|
|
14712
14719
|
unwireChords();
|
|
14713
14720
|
unwireDisconnectedQuit();
|
|
14721
|
+
unwireKeyEncoding();
|
|
14714
14722
|
unwireKeyRepeat();
|
|
14715
14723
|
rpc.close();
|
|
14716
14724
|
derived?.dispose();
|
|
@@ -14738,6 +14746,7 @@ ${choices.join("\n")}`,
|
|
|
14738
14746
|
runtime.bridge.setOnUiBound(null);
|
|
14739
14747
|
unwireChords();
|
|
14740
14748
|
unwireDisconnectedQuit();
|
|
14749
|
+
unwireKeyEncoding();
|
|
14741
14750
|
unwireKeyRepeat();
|
|
14742
14751
|
process.off("SIGHUP", onHangUp);
|
|
14743
14752
|
process.off("SIGTERM", onHangUp);
|