reasonix 0.33.1 → 0.33.2

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 (27) hide show
  1. package/dist/cli/{chat-Q5ZCVIOO.js → chat-ZMSAXE77.js} +5 -4
  2. package/dist/cli/chunk-DAEAAVDF.js +199 -0
  3. package/dist/cli/chunk-DAEAAVDF.js.map +1 -0
  4. package/dist/cli/{chunk-Q6YFXW7H.js → chunk-G7M3QWEN.js} +27 -213
  5. package/dist/cli/chunk-G7M3QWEN.js.map +1 -0
  6. package/dist/cli/{chunk-MDHVWCJ4.js → chunk-OW7IHE6M.js} +10 -14
  7. package/dist/cli/chunk-OW7IHE6M.js.map +1 -0
  8. package/dist/cli/{chunk-D5DKXIP5.js → chunk-WVJL7ZO2.js} +15 -24
  9. package/dist/cli/chunk-WVJL7ZO2.js.map +1 -0
  10. package/dist/cli/{code-DLR77NPZ.js → code-R4TXQQEE.js} +5 -4
  11. package/dist/cli/{code-DLR77NPZ.js.map → code-R4TXQQEE.js.map} +1 -1
  12. package/dist/cli/{doctor-3TGB2NZN.js → doctor-V5HLCMSQ.js} +3 -2
  13. package/dist/cli/index.js +9 -8
  14. package/dist/cli/index.js.map +1 -1
  15. package/dist/cli/{run-JMEOTQCG.js → run-HK3FP266.js} +3 -2
  16. package/dist/cli/{run-JMEOTQCG.js.map → run-HK3FP266.js.map} +1 -1
  17. package/dist/cli/{sessions-MOJAALJI.js → sessions-3XU2GGHX.js} +3 -2
  18. package/dist/cli/{sessions-MOJAALJI.js.map → sessions-3XU2GGHX.js.map} +1 -1
  19. package/dist/cli/{version-3MYFE4G6.js → version-5SGI2SEE.js} +3 -2
  20. package/dist/cli/{version-3MYFE4G6.js.map → version-5SGI2SEE.js.map} +1 -1
  21. package/dist/index.js.map +1 -1
  22. package/package.json +1 -1
  23. package/dist/cli/chunk-D5DKXIP5.js.map +0 -1
  24. package/dist/cli/chunk-MDHVWCJ4.js.map +0 -1
  25. package/dist/cli/chunk-Q6YFXW7H.js.map +0 -1
  26. /package/dist/cli/{chat-Q5ZCVIOO.js.map → chat-ZMSAXE77.js.map} +0 -0
  27. /package/dist/cli/{doctor-3TGB2NZN.js.map → doctor-V5HLCMSQ.js.map} +0 -0
@@ -26,7 +26,6 @@ import {
26
26
  ToolRegistry,
27
27
  applyEditBlocks,
28
28
  bridgeMcpTools,
29
- countTokens,
30
29
  detectAtPicker,
31
30
  expandAtMentions,
32
31
  expandAtUrls,
@@ -43,7 +42,7 @@ import {
43
42
  spawnSubagent,
44
43
  toWholeFileEditBlock,
45
44
  webFetch
46
- } from "./chunk-Q6YFXW7H.js";
45
+ } from "./chunk-G7M3QWEN.js";
47
46
  import {
48
47
  McpClient,
49
48
  SseTransport,
@@ -77,7 +76,10 @@ import {
77
76
  } from "./chunk-MHDNZXJJ.js";
78
77
  import {
79
78
  runDoctorChecks
80
- } from "./chunk-D5DKXIP5.js";
79
+ } from "./chunk-WVJL7ZO2.js";
80
+ import {
81
+ countTokens
82
+ } from "./chunk-DAEAAVDF.js";
81
83
  import {
82
84
  DeepSeekClient
83
85
  } from "./chunk-KMWKGPFZ.js";
@@ -5264,12 +5266,12 @@ function processMultilineKey(value, cursor, keyIn) {
5264
5266
  return { next: null, cursor: Math.min(value.length, cursor + 1), submit: false };
5265
5267
  }
5266
5268
  if (key.upArrow) {
5267
- if (value.length === 0) return { ...NOOP, chatScrollHandoff: "up" };
5269
+ if (value.length === 0) return { ...NOOP, historyHandoff: "prev" };
5268
5270
  const moved = moveCursorUp(value, cursor);
5269
5271
  return moved === cursor ? NOOP : { next: null, cursor: moved, submit: false };
5270
5272
  }
5271
5273
  if (key.downArrow) {
5272
- if (value.length === 0) return { ...NOOP, chatScrollHandoff: "down" };
5274
+ if (value.length === 0) return { ...NOOP, historyHandoff: "next" };
5273
5275
  const moved = moveCursorDown(value, cursor);
5274
5276
  return moved === cursor ? NOOP : { next: null, cursor: moved, submit: false };
5275
5277
  }
@@ -5622,9 +5624,7 @@ function PromptInput({
5622
5624
  disabled,
5623
5625
  placeholder,
5624
5626
  onHistoryPrev,
5625
- onHistoryNext,
5626
- onChatScrollUp,
5627
- onChatScrollDown
5627
+ onHistoryNext
5628
5628
  }) {
5629
5629
  const inputLineCount = value.length > 0 ? value.split("\n").length : 1;
5630
5630
  const reserveMax = Math.min(Math.ceil(inputLineCount / 4) * 4 + 3, 24);
@@ -5706,8 +5706,6 @@ function PromptInput({
5706
5706
  }
5707
5707
  if (action.historyHandoff === "prev") onHistoryPrev?.();
5708
5708
  if (action.historyHandoff === "next") onHistoryNext?.();
5709
- if (action.chatScrollHandoff === "up") onChatScrollUp?.();
5710
- if (action.chatScrollHandoff === "down") onChatScrollDown?.();
5711
5709
  }, !disabled);
5712
5710
  const { stdout } = useStdout6();
5713
5711
  const cols = stdout?.columns ?? 80;
@@ -14486,9 +14484,7 @@ Stay in plan mode \u2014 address the feedback (explore more if needed), then sub
14486
14484
  onSubmit: handleSubmit,
14487
14485
  disabled: busy,
14488
14486
  onHistoryPrev: recallPrev,
14489
- onHistoryNext: recallNext,
14490
- onChatScrollUp: chatScroll.scrollUp,
14491
- onChatScrollDown: chatScroll.scrollDown
14487
+ onHistoryNext: recallNext
14492
14488
  }
14493
14489
  ), slashMatches !== null ? /* @__PURE__ */ React59.createElement(
14494
14490
  SlashSuggestions,
@@ -14962,4 +14958,4 @@ async function chatCommand(opts) {
14962
14958
  export {
14963
14959
  chatCommand
14964
14960
  };
14965
- //# sourceMappingURL=chunk-MDHVWCJ4.js.map
14961
+ //# sourceMappingURL=chunk-OW7IHE6M.js.map