@pipod/cli 0.1.21 → 0.1.22
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 +7 -0
- 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/docs/keyboard-input.md +42 -5
- 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/cli.js
CHANGED
|
@@ -14661,6 +14661,8 @@ ${choices.join("\n")}`,
|
|
|
14661
14661
|
};
|
|
14662
14662
|
let unwireDisconnectedQuit = () => {
|
|
14663
14663
|
};
|
|
14664
|
+
let unwireKeyEncoding = () => {
|
|
14665
|
+
};
|
|
14664
14666
|
let unwireKeyRepeat = () => {
|
|
14665
14667
|
};
|
|
14666
14668
|
let mode;
|
|
@@ -14668,6 +14670,7 @@ ${choices.join("\n")}`,
|
|
|
14668
14670
|
await runtime.init();
|
|
14669
14671
|
const { InteractiveMode } = await import("@earendil-works/pi-coding-agent");
|
|
14670
14672
|
const { wirePodChords } = await import("./chords-SOJBLC6R.js");
|
|
14673
|
+
const { wireKeyEncodingGuard } = await import("./key-encoding-guard-6UOKKTJQ.js");
|
|
14671
14674
|
const { wireKeyRepeatGuard } = await import("./key-repeat-guard-7OVKW5KD.js");
|
|
14672
14675
|
const { guardStdinFragments } = await import("./stdin-fragment-guard-SPIJC7GT.js");
|
|
14673
14676
|
guardStdinFragments();
|
|
@@ -14675,12 +14678,14 @@ ${choices.join("\n")}`,
|
|
|
14675
14678
|
runtime.bridge.setOnUiBound(() => {
|
|
14676
14679
|
unwireChords();
|
|
14677
14680
|
unwireDisconnectedQuit();
|
|
14681
|
+
unwireKeyEncoding();
|
|
14678
14682
|
unwireKeyRepeat();
|
|
14679
14683
|
unwireChords = wirePodChords(runtime.bridge, runtime.router, chords);
|
|
14680
14684
|
unwireDisconnectedQuit = wireDisconnectedQuit(
|
|
14681
14685
|
runtime.bridge,
|
|
14682
14686
|
() => connectionAllowsQuit(latestConnectionState)
|
|
14683
14687
|
);
|
|
14688
|
+
unwireKeyEncoding = wireKeyEncodingGuard(runtime.bridge.ui);
|
|
14684
14689
|
unwireKeyRepeat = wireKeyRepeatGuard(runtime.bridge.ui);
|
|
14685
14690
|
});
|
|
14686
14691
|
const tuiMode = opts.tuiMode ?? tuiModeFromArgv(context.config.pi.args);
|
|
@@ -14711,6 +14716,7 @@ ${choices.join("\n")}`,
|
|
|
14711
14716
|
runtime.bridge.setOnUiBound(null);
|
|
14712
14717
|
unwireChords();
|
|
14713
14718
|
unwireDisconnectedQuit();
|
|
14719
|
+
unwireKeyEncoding();
|
|
14714
14720
|
unwireKeyRepeat();
|
|
14715
14721
|
rpc.close();
|
|
14716
14722
|
derived?.dispose();
|
|
@@ -14738,6 +14744,7 @@ ${choices.join("\n")}`,
|
|
|
14738
14744
|
runtime.bridge.setOnUiBound(null);
|
|
14739
14745
|
unwireChords();
|
|
14740
14746
|
unwireDisconnectedQuit();
|
|
14747
|
+
unwireKeyEncoding();
|
|
14741
14748
|
unwireKeyRepeat();
|
|
14742
14749
|
process.off("SIGHUP", onHangUp);
|
|
14743
14750
|
process.off("SIGTERM", onHangUp);
|