reasonix 0.44.0 → 0.44.2-rc.1

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.
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __cr } from 'node:module'; if (typeof globalThis.require === 'undefined') { globalThis.require = __cr(import.meta.url); }
3
3
  import {
4
4
  chatCommand
5
- } from "./chunk-Z4S7EYXG.js";
5
+ } from "./chunk-WF6BGFJH.js";
6
6
  import "./chunk-TKVXTQ3T.js";
7
7
  import "./chunk-JMBMLOBP.js";
8
8
  import "./chunk-2V6EAEUW.js";
@@ -48,4 +48,4 @@ import "./chunk-TUK7OWJA.js";
48
48
  export {
49
49
  chatCommand
50
50
  };
51
- //# sourceMappingURL=chat-TH7VNNCJ.js.map
51
+ //# sourceMappingURL=chat-X2WVADEO.js.map
@@ -63728,6 +63728,8 @@ async function chatCommand(opts) {
63728
63728
  const rustInputChild = rustRendererActive && !rustIntegrated && resolved ? createRustKeystrokeReader({ command: resolved.inputCommand }) : void 0;
63729
63729
  const keystrokeReader = rustIntegrated ? nullKeystrokeReader : rustInputChild;
63730
63730
  const stderrRestore = rustRendererActive ? redirectStderrToLogFile() : void 0;
63731
+ const rustKeepAlive = rustRendererActive ? setInterval(() => {
63732
+ }, 2147483647) : void 0;
63731
63733
  if (rustIntegrated) {
63732
63734
  setIntegratedEventHandler((event) => {
63733
63735
  if (event.event === "submit") {
@@ -63799,6 +63801,7 @@ async function chatCommand(opts) {
63799
63801
  try {
63800
63802
  await waitUntilExit();
63801
63803
  } finally {
63804
+ if (rustKeepAlive) clearInterval(rustKeepAlive);
63802
63805
  await runtime.closeAll();
63803
63806
  qqChannel?.stop();
63804
63807
  if (rustInputChild) await rustInputChild.close();
@@ -63810,4 +63813,4 @@ async function chatCommand(opts) {
63810
63813
  export {
63811
63814
  chatCommand
63812
63815
  };
63813
- //# sourceMappingURL=chunk-Z4S7EYXG.js.map
63816
+ //# sourceMappingURL=chunk-WF6BGFJH.js.map