@profullstack/qryptchat 0.4.5 → 0.4.7

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.
@@ -1092,8 +1092,9 @@ Usage:
1092
1092
  <chat> is a chat id or part of its name. Options: --json, --url <server> (or QC_URL).
1093
1093
  Keys and tokens are sealed (ChaCha20-Poly1305) in ${"$"}QC_HOME or ~/.config/qc; the key is in your
1094
1094
  OS keychain, or comes from a passphrase (QC_PASSPHRASE for scripts and qc mcp).
1095
- HD: emoji and icons are drawn as our OpenEmoji/OpenIcon images in Kitty and Ghostty. Over SSH or in
1096
- tmux (set -g allow-passthrough on), run with QC_HD=1; QC_HD=0 turns it off.`;
1095
+ HD: emoji and icons are drawn as our OpenEmoji/OpenIcon images in Kitty, Ghostty, WezTerm and iTerm2.
1096
+ Over SSH or in tmux (set -g allow-passthrough on) say which: QC_HD=1 (Kitty/Ghostty) or
1097
+ QC_HD=wezterm (WezTerm/iTerm2). QC_HD=0 turns it off.`;
1097
1098
  function parseArgs2(argv) {
1098
1099
  const args = { _: [], flags: {} };
1099
1100
  for (let i = 0;i < argv.length; i++) {
package/dist/commands.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  parseArgs2,
4
4
  findChat2,
5
5
  main2
6
- } from "./chunk-j7c5f40q.js";
6
+ } from "./chunk-8rzydycp.js";
7
7
  import"./chunk-vfahhydf.js";
8
8
  export {
9
9
  HELP2 as HELP,
package/dist/mcp.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import"./chunk-vfahhydf.js";
2
2
  import {
3
3
  findChat2
4
- } from "./chunk-j7c5f40q.js";
4
+ } from "./chunk-8rzydycp.js";
5
5
 
6
6
  // src/cli/mcp.js
7
7
  import { createInterface } from "node:readline";
package/dist/tui.js CHANGED
@@ -211,10 +211,11 @@ async function runTui(client, { initialChat } = {}) {
211
211
  const state = initialState(client.me);
212
212
  state.recent = loadRecent();
213
213
  const abort = new AbortController;
214
- const app = await createApp({ quitKeys: ["ctrl+c"], focusNavigation: false });
214
+ const app = await createApp({ quitKeys: ["ctrl+c"], focusNavigation: false, focusEvents: true });
215
215
  const redraw = () => app.invalidate();
216
216
  const env = process.env.QC_HD && !process.env.HQTUI_IMAGES ? { ...process.env, HQTUI_IMAGES: process.env.QC_HD } : process.env;
217
217
  state.images = createImageStore({ write: (seq) => app.terminal.write(seq), onReady: redraw, env });
218
+ state.images.attach(app);
218
219
  const note = (msg, { sticky = false } = {}) => {
219
220
  state.notice = msg;
220
221
  redraw();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profullstack/qryptchat",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "qc: qrypt.chat in your terminal. A full-screen end-to-end encrypted chat client (ML-KEM-1024), plus a scriptable CLI and an MCP server.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@noble/ciphers": "^2.0.0",
20
20
  "@profullstack/encrypt": "^0.1.0",
21
- "@profullstack/hqtui": "^0.9.0",
21
+ "@profullstack/hqtui": "^0.10.1",
22
22
  "mlkem": "^2.5.0"
23
23
  },
24
24
  "keywords": [