shortcutxl 0.2.19 → 0.2.21

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 (951) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/agent-docs/api-reference.json +2041 -0
  3. package/agent-docs/examples/extensions/built-in-tool-renderer.ts +2 -13
  4. package/agent-docs/examples/extensions/claude-code.ts +69 -0
  5. package/agent-docs/examples/extensions/custom-provider-gitlab-duo/test.ts +1 -7
  6. package/agent-docs/examples/sdk/04-skills.ts +1 -6
  7. package/dist/cli/config-selector.js +1 -1
  8. package/dist/cli/session-picker.js +1 -1
  9. package/dist/config.js +15 -5
  10. package/dist/core/agent-loop.js +8 -9
  11. package/dist/core/agent-session.js +102 -462
  12. package/dist/core/agent.js +1 -0
  13. package/dist/core/export-html/template.js +14 -2
  14. package/dist/core/extensions/loader.js +4 -4
  15. package/dist/core/keybindings.js +1 -1
  16. package/dist/core/run-agent.js +84 -0
  17. package/dist/core/session/extension-emitter.js +36 -0
  18. package/dist/core/session/model-manager.js +111 -0
  19. package/dist/core/session/persistence-handler.js +104 -0
  20. package/dist/core/session/queue-tracker.js +91 -0
  21. package/dist/core/session/tool-registry.js +231 -0
  22. package/dist/core/settings-manager.js +11 -3
  23. package/dist/core/theme.js +1 -1
  24. package/dist/core/tools/edit.js +1 -1
  25. package/dist/core/tools/find.js +1 -1
  26. package/dist/core/tools/grep.js +1 -1
  27. package/dist/core/tools/ls.js +1 -1
  28. package/dist/core/tools/read.js +1 -1
  29. package/dist/core/tools/write.js +1 -1
  30. package/dist/custom/dev/index.js +16 -1
  31. package/dist/custom/excel-session.js +2 -2
  32. package/dist/custom/exec-mode-command.js +27 -0
  33. package/dist/custom/install-utils.js +1 -4
  34. package/dist/custom/new-sheet/api-guidelines.js +83 -0
  35. package/dist/custom/new-sheet/api-lookup.js +69 -0
  36. package/dist/custom/new-sheet/api-overlay.js +133 -0
  37. package/dist/custom/new-sheet/api-reference-loader.js +29 -0
  38. package/dist/custom/new-sheet/cell-diff/address-utils.js +80 -0
  39. package/dist/custom/new-sheet/cell-diff/cell-categorizer.js +100 -0
  40. package/dist/custom/new-sheet/cell-diff/cell-diff-formatter.js +201 -0
  41. package/dist/custom/new-sheet/cell-diff/index.js +23 -0
  42. package/dist/custom/new-sheet/cell-diff/types.js +33 -0
  43. package/dist/custom/new-sheet/mutation-tracker.js +358 -0
  44. package/dist/custom/new-sheet/sandbox-globals.js +118 -0
  45. package/dist/custom/new-sheet/sdk-types.js +9 -0
  46. package/dist/custom/new-sheet/sheet-engine-poc.js +112 -0
  47. package/dist/custom/new-sheet/sheet-engine.js +146 -0
  48. package/dist/custom/new-sheet/sheet-exec.js +219 -0
  49. package/dist/custom/new-sheet-command.js +24 -0
  50. package/dist/custom/preflight.js +28 -18
  51. package/dist/custom/prompts/action.js +33 -12
  52. package/dist/custom/prompts/shared.js +0 -6
  53. package/dist/custom/providers/llm-usage.js +1 -5
  54. package/dist/custom/providers/shortcut-invoke.js +3 -4
  55. package/dist/custom/providers/shortcut-stream.js +3 -4
  56. package/dist/custom/sandbox/index.js +6 -10
  57. package/dist/custom/sandbox/lib/bwrap.js +93 -0
  58. package/dist/custom/sandbox/lib/index.js +20 -0
  59. package/dist/custom/sandbox/lib/manager.js +87 -0
  60. package/dist/custom/sandbox/lib/network/domain-filter.js +29 -0
  61. package/dist/custom/sandbox/lib/network/http-proxy.js +172 -0
  62. package/dist/custom/sandbox/lib/network/index.js +5 -0
  63. package/dist/custom/sandbox/lib/network/proxy.js +145 -0
  64. package/dist/custom/sandbox/lib/network/socks-proxy.js +269 -0
  65. package/dist/custom/sandbox/{sandbox-paths.js → lib/paths.js} +1 -3
  66. package/dist/custom/sandbox/lib/resolve.js +320 -0
  67. package/dist/custom/sandbox/lib/smoke.js +87 -0
  68. package/dist/custom/sandbox/lib/types.js +9 -0
  69. package/dist/custom/sandbox/lib/wrap-command.js +110 -0
  70. package/dist/custom/sandbox/{wsl-detect.js → lib/wsl-detect.js} +10 -14
  71. package/dist/custom/sandbox/lib/wsl-setup.js +152 -0
  72. package/dist/custom/sandbox/sandbox-bash-tool.js +12 -7
  73. package/dist/custom/sandbox/sandbox-command.js +17 -16
  74. package/dist/custom/sandbox/sandbox-executor.js +13 -38
  75. package/dist/custom/sandbox/sandbox-manager.js +43 -31
  76. package/dist/custom/sandbox/sandbox-prompt.js +2 -2
  77. package/dist/custom/sandbox/tests/test-helpers.js +24 -0
  78. package/dist/custom/sheet-api/api-guidelines.js +83 -0
  79. package/dist/custom/sheet-api/api-lookup.js +69 -0
  80. package/dist/custom/sheet-api/api-overlay.js +133 -0
  81. package/dist/custom/sheet-api/api-reference-loader.js +29 -0
  82. package/dist/custom/sync-xll.js +1 -1
  83. package/dist/custom/tools/approval.js +2 -2
  84. package/dist/custom/tools/excel-exec.js +29 -9
  85. package/dist/custom/tools/llm-analysis.js +54 -29
  86. package/dist/custom/tools/task/task.js +4 -7
  87. package/dist/custom/tools/todo-list.js +5 -1
  88. package/dist/custom/tracing/session-upload.js +4 -1
  89. package/dist/custom/uninstall.js +31 -20
  90. package/dist/main.js +77 -22
  91. package/dist/modes/interactive/components/assistant-message.js +1 -1
  92. package/dist/modes/interactive/components/bash-execution.js +5 -9
  93. package/dist/modes/interactive/components/branch-summary-message.js +1 -1
  94. package/dist/modes/interactive/components/compaction-summary-message.js +1 -1
  95. package/dist/modes/interactive/components/config-selector.js +1 -1
  96. package/dist/modes/interactive/components/custom-editor.js +3 -1
  97. package/dist/modes/interactive/components/custom-message.js +1 -1
  98. package/dist/modes/interactive/components/extension-editor.js +1 -1
  99. package/dist/modes/interactive/components/extension-input.js +1 -1
  100. package/dist/modes/interactive/components/extension-selector.js +1 -1
  101. package/dist/modes/interactive/components/footer.js +3 -2
  102. package/dist/modes/interactive/components/keybinding-hints.js +1 -1
  103. package/dist/modes/interactive/components/layout.js +1 -1
  104. package/dist/modes/interactive/components/login-dialog.js +1 -1
  105. package/dist/modes/interactive/components/model-selector.js +1 -1
  106. package/dist/modes/interactive/components/oauth-selector.js +1 -1
  107. package/dist/modes/interactive/components/session-selector.js +1 -1
  108. package/dist/modes/interactive/components/skill-invocation-message.js +1 -1
  109. package/dist/modes/interactive/components/theme-selector.js +1 -1
  110. package/dist/modes/interactive/components/tool-execution.js +1 -1
  111. package/dist/modes/interactive/components/tool-group.js +1 -1
  112. package/dist/modes/interactive/components/tree-selector.js +1 -1
  113. package/dist/modes/interactive/components/user-message-selector.js +1 -1
  114. package/dist/modes/interactive/components/user-message.js +1 -1
  115. package/dist/modes/interactive/file-attachments.js +4 -9
  116. package/dist/modes/interactive/interactive-mode.js +8 -136
  117. package/dist/modes/print-mode.js +2 -1
  118. package/dist/modes/rpc/rpc-mode.js +3 -4
  119. package/dist/tui/autocomplete.js +543 -555
  120. package/dist/tui/components/box.js +93 -89
  121. package/dist/tui/components/cancellable-loader.js +23 -23
  122. package/dist/tui/components/editor.js +1671 -1642
  123. package/dist/tui/components/image.js +67 -63
  124. package/dist/tui/components/input.js +408 -408
  125. package/dist/tui/components/loader.js +42 -42
  126. package/dist/tui/components/markdown.js +612 -617
  127. package/dist/tui/components/select-list.js +148 -142
  128. package/dist/tui/components/settings-list.js +187 -172
  129. package/dist/tui/components/spacer.js +17 -17
  130. package/dist/tui/components/text.js +83 -80
  131. package/dist/tui/components/truncated-text.js +43 -43
  132. package/dist/tui/editor-component.js +1 -1
  133. package/dist/tui/fuzzy.js +86 -88
  134. package/dist/tui/get-east-asian-width/index.js +13 -17
  135. package/dist/tui/get-east-asian-width/lookup.js +386 -384
  136. package/dist/tui/index.js +54 -22
  137. package/dist/tui/keybindings.js +92 -95
  138. package/dist/tui/keys.js +794 -806
  139. package/dist/tui/kill-ring.js +31 -33
  140. package/dist/tui/stdin-buffer.js +236 -241
  141. package/dist/tui/terminal-image.js +210 -224
  142. package/dist/tui/terminal.js +235 -242
  143. package/dist/tui/tui/autocomplete.js +543 -555
  144. package/dist/tui/tui/components/box.js +91 -89
  145. package/dist/tui/tui/components/cancellable-loader.js +23 -23
  146. package/dist/tui/tui/components/editor.js +1671 -1642
  147. package/dist/tui/tui/components/image.js +67 -63
  148. package/dist/tui/tui/components/input.js +408 -408
  149. package/dist/tui/tui/components/loader.js +42 -42
  150. package/dist/tui/tui/components/markdown.js +612 -617
  151. package/dist/tui/tui/components/select-list.js +148 -142
  152. package/dist/tui/tui/components/settings-list.js +187 -172
  153. package/dist/tui/tui/components/spacer.js +17 -17
  154. package/dist/tui/tui/components/text.js +81 -80
  155. package/dist/tui/tui/components/truncated-text.js +43 -43
  156. package/dist/tui/tui/editor-component.js +1 -1
  157. package/dist/tui/tui/fuzzy.js +86 -88
  158. package/dist/tui/tui/get-east-asian-width/index.js +13 -17
  159. package/dist/tui/tui/get-east-asian-width/lookup.js +386 -384
  160. package/dist/tui/tui/index.js +54 -22
  161. package/dist/tui/tui/keybindings.js +92 -95
  162. package/dist/tui/tui/keys.js +794 -806
  163. package/dist/tui/tui/kill-ring.js +31 -33
  164. package/dist/tui/tui/stdin-buffer.js +236 -241
  165. package/dist/tui/tui/terminal-image.js +210 -224
  166. package/dist/tui/tui/terminal.js +235 -242
  167. package/dist/tui/tui/tui.js +908 -920
  168. package/dist/tui/tui/undo-stack.js +17 -17
  169. package/dist/tui/tui/utils.js +647 -674
  170. package/dist/tui/tui.js +908 -920
  171. package/dist/tui/undo-stack.js +17 -17
  172. package/dist/tui/utils.js +647 -674
  173. package/dist/utils/log.js +51 -0
  174. package/package.json +9 -5
  175. package/skills/{com-advanced-api → advanced-com-api}/SKILL.md +1 -1
  176. package/skills/advanced-com-api/excel-type-library.py +30935 -0
  177. package/skills/advanced-com-api/office-type-library.py +11220 -0
  178. package/skills/sec-edgar/sec_to_pdf.py +26 -28
  179. package/wsl/alpine-minirootfs.tar.gz +0 -0
  180. package/xll/ShortcutXL.xll +0 -0
  181. package/xll/modules/debug_render.py +289 -0
  182. package/xll/modules/shortcut_xl/_com.py +10 -11
  183. package/xll/modules/shortcut_xl/_diff_highlight.py +17 -15
  184. package/xll/modules/shortcut_xl/_exec_entry.py +32 -14
  185. package/xll/modules/shortcut_xl/_log.py +4 -4
  186. package/xll/modules/shortcut_xl/_managed.py +25 -8
  187. package/xll/modules/shortcut_xl/_registry.py +12 -7
  188. package/xll/modules/shortcut_xl/_threading.py +33 -20
  189. package/xll/modules/shortcut_xl/_tracking.py +31 -14
  190. package/xll/modules/shortcut_xl/api/categorize.py +31 -17
  191. package/xll/modules/shortcut_xl/api/format.py +16 -26
  192. package/xll/modules/shortcut_xl/api/named_ranges.py +10 -10
  193. package/xll/modules/shortcut_xl/api/picture.py +6 -6
  194. package/xll/modules/shortcut_xl/api/range_formatter.py +44 -22
  195. package/xll/modules/shortcut_xl/api/style.py +3 -3
  196. package/xll/modules/shortcut_xl/api/utils/helpers.py +16 -26
  197. package/xll/modules/shortcut_xl/api/utils/numerical.py +6 -1
  198. package/xll/modules/shortcut_xl/api/utils/ranges.py +12 -7
  199. package/xll/modules/shortcut_xl/api/workbook.py +14 -28
  200. package/xll/modules/shortcut_xl/api/worksheet.py +33 -49
  201. package/xll/modules/shortcut_xl/api-reference.py +9 -5
  202. package/xll/python/Lib/site-packages/__pycache__/typing_extensions.cpython-312.pyc +0 -0
  203. package/xll/python/Lib/site-packages/anyio/__pycache__/__init__.cpython-312.pyc +0 -0
  204. package/xll/python/Lib/site-packages/anyio/__pycache__/from_thread.cpython-312.pyc +0 -0
  205. package/xll/python/Lib/site-packages/anyio/__pycache__/functools.cpython-312.pyc +0 -0
  206. package/xll/python/Lib/site-packages/anyio/__pycache__/lowlevel.cpython-312.pyc +0 -0
  207. package/xll/python/Lib/site-packages/anyio/__pycache__/pytest_plugin.cpython-312.pyc +0 -0
  208. package/xll/python/Lib/site-packages/anyio/__pycache__/to_interpreter.cpython-312.pyc +0 -0
  209. package/xll/python/Lib/site-packages/anyio/__pycache__/to_process.cpython-312.pyc +0 -0
  210. package/xll/python/Lib/site-packages/anyio/__pycache__/to_thread.cpython-312.pyc +0 -0
  211. package/xll/python/Lib/site-packages/anyio/_backends/__pycache__/__init__.cpython-312.pyc +0 -0
  212. package/xll/python/Lib/site-packages/anyio/_backends/__pycache__/_asyncio.cpython-312.pyc +0 -0
  213. package/xll/python/Lib/site-packages/anyio/_backends/__pycache__/_trio.cpython-312.pyc +0 -0
  214. package/xll/python/Lib/site-packages/anyio/_backends/_asyncio.py +39 -23
  215. package/xll/python/Lib/site-packages/anyio/_backends/_trio.py +2 -5
  216. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/__init__.cpython-312.pyc +0 -0
  217. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_asyncio_selector_thread.cpython-312.pyc +0 -0
  218. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_contextmanagers.cpython-312.pyc +0 -0
  219. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_eventloop.cpython-312.pyc +0 -0
  220. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_exceptions.cpython-312.pyc +0 -0
  221. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_fileio.cpython-312.pyc +0 -0
  222. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_resources.cpython-312.pyc +0 -0
  223. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_signals.cpython-312.pyc +0 -0
  224. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_sockets.cpython-312.pyc +0 -0
  225. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_streams.cpython-312.pyc +0 -0
  226. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_subprocesses.cpython-312.pyc +0 -0
  227. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_synchronization.cpython-312.pyc +0 -0
  228. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_tasks.cpython-312.pyc +0 -0
  229. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_tempfile.cpython-312.pyc +0 -0
  230. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_testing.cpython-312.pyc +0 -0
  231. package/xll/python/Lib/site-packages/anyio/_core/__pycache__/_typedattr.cpython-312.pyc +0 -0
  232. package/xll/python/Lib/site-packages/anyio/_core/_fileio.py +12 -10
  233. package/xll/python/Lib/site-packages/anyio/_core/_subprocesses.py +2 -8
  234. package/xll/python/Lib/site-packages/anyio/_core/_synchronization.py +4 -0
  235. package/xll/python/Lib/site-packages/anyio/_core/_tempfile.py +1 -4
  236. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/__init__.cpython-312.pyc +0 -0
  237. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_eventloop.cpython-312.pyc +0 -0
  238. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_resources.cpython-312.pyc +0 -0
  239. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_sockets.cpython-312.pyc +0 -0
  240. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_streams.cpython-312.pyc +0 -0
  241. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_subprocesses.cpython-312.pyc +0 -0
  242. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_tasks.cpython-312.pyc +0 -0
  243. package/xll/python/Lib/site-packages/anyio/abc/__pycache__/_testing.cpython-312.pyc +0 -0
  244. package/xll/python/Lib/site-packages/anyio/abc/_eventloop.py +2 -7
  245. package/xll/python/Lib/site-packages/anyio/abc/_sockets.py +5 -11
  246. package/xll/python/Lib/site-packages/anyio/abc/_streams.py +14 -20
  247. package/xll/python/Lib/site-packages/anyio/functools.py +51 -17
  248. package/xll/python/Lib/site-packages/anyio/pytest_plugin.py +62 -1
  249. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/__init__.cpython-312.pyc +0 -0
  250. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/buffered.cpython-312.pyc +0 -0
  251. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/file.cpython-312.pyc +0 -0
  252. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/memory.cpython-312.pyc +0 -0
  253. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/stapled.cpython-312.pyc +0 -0
  254. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/text.cpython-312.pyc +0 -0
  255. package/xll/python/Lib/site-packages/anyio/streams/__pycache__/tls.cpython-312.pyc +0 -0
  256. package/xll/python/Lib/site-packages/anyio/streams/file.py +5 -5
  257. package/xll/python/Lib/site-packages/anyio/streams/tls.py +6 -9
  258. package/xll/python/Lib/site-packages/anyio/to_thread.py +3 -3
  259. package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/METADATA +14 -5
  260. package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/RECORD +21 -21
  261. package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/WHEEL +1 -1
  262. package/xll/python/Lib/site-packages/certifi/__pycache__/__init__.cpython-312.pyc +0 -0
  263. package/xll/python/Lib/site-packages/certifi/__pycache__/__main__.cpython-312.pyc +0 -0
  264. package/xll/python/Lib/site-packages/certifi/__pycache__/core.cpython-312.pyc +0 -0
  265. package/xll/python/Lib/site-packages/et_xmlfile/__pycache__/__init__.cpython-312.pyc +0 -0
  266. package/xll/python/Lib/site-packages/et_xmlfile/__pycache__/incremental_tree.cpython-312.pyc +0 -0
  267. package/xll/python/Lib/site-packages/et_xmlfile/__pycache__/xmlfile.cpython-312.pyc +0 -0
  268. package/xll/python/Lib/site-packages/h11/__pycache__/__init__.cpython-312.pyc +0 -0
  269. package/xll/python/Lib/site-packages/h11/__pycache__/_abnf.cpython-312.pyc +0 -0
  270. package/xll/python/Lib/site-packages/h11/__pycache__/_connection.cpython-312.pyc +0 -0
  271. package/xll/python/Lib/site-packages/h11/__pycache__/_events.cpython-312.pyc +0 -0
  272. package/xll/python/Lib/site-packages/h11/__pycache__/_headers.cpython-312.pyc +0 -0
  273. package/xll/python/Lib/site-packages/h11/__pycache__/_readers.cpython-312.pyc +0 -0
  274. package/xll/python/Lib/site-packages/h11/__pycache__/_receivebuffer.cpython-312.pyc +0 -0
  275. package/xll/python/Lib/site-packages/h11/__pycache__/_state.cpython-312.pyc +0 -0
  276. package/xll/python/Lib/site-packages/h11/__pycache__/_util.cpython-312.pyc +0 -0
  277. package/xll/python/Lib/site-packages/h11/__pycache__/_version.cpython-312.pyc +0 -0
  278. package/xll/python/Lib/site-packages/h11/__pycache__/_writers.cpython-312.pyc +0 -0
  279. package/xll/python/Lib/site-packages/httpcore/__pycache__/__init__.cpython-312.pyc +0 -0
  280. package/xll/python/Lib/site-packages/httpcore/__pycache__/_api.cpython-312.pyc +0 -0
  281. package/xll/python/Lib/site-packages/httpcore/__pycache__/_exceptions.cpython-312.pyc +0 -0
  282. package/xll/python/Lib/site-packages/httpcore/__pycache__/_models.cpython-312.pyc +0 -0
  283. package/xll/python/Lib/site-packages/httpcore/__pycache__/_ssl.cpython-312.pyc +0 -0
  284. package/xll/python/Lib/site-packages/httpcore/__pycache__/_synchronization.cpython-312.pyc +0 -0
  285. package/xll/python/Lib/site-packages/httpcore/__pycache__/_trace.cpython-312.pyc +0 -0
  286. package/xll/python/Lib/site-packages/httpcore/__pycache__/_utils.cpython-312.pyc +0 -0
  287. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/__init__.cpython-312.pyc +0 -0
  288. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/connection.cpython-312.pyc +0 -0
  289. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/connection_pool.cpython-312.pyc +0 -0
  290. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/http11.cpython-312.pyc +0 -0
  291. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/http2.cpython-312.pyc +0 -0
  292. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/http_proxy.cpython-312.pyc +0 -0
  293. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/interfaces.cpython-312.pyc +0 -0
  294. package/xll/python/Lib/site-packages/httpcore/_async/__pycache__/socks_proxy.cpython-312.pyc +0 -0
  295. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/__init__.cpython-312.pyc +0 -0
  296. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/anyio.cpython-312.pyc +0 -0
  297. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/auto.cpython-312.pyc +0 -0
  298. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/base.cpython-312.pyc +0 -0
  299. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/mock.cpython-312.pyc +0 -0
  300. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/sync.cpython-312.pyc +0 -0
  301. package/xll/python/Lib/site-packages/httpcore/_backends/__pycache__/trio.cpython-312.pyc +0 -0
  302. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/__init__.cpython-312.pyc +0 -0
  303. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/connection.cpython-312.pyc +0 -0
  304. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/connection_pool.cpython-312.pyc +0 -0
  305. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/http11.cpython-312.pyc +0 -0
  306. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/http2.cpython-312.pyc +0 -0
  307. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/http_proxy.cpython-312.pyc +0 -0
  308. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/interfaces.cpython-312.pyc +0 -0
  309. package/xll/python/Lib/site-packages/httpcore/_sync/__pycache__/socks_proxy.cpython-312.pyc +0 -0
  310. package/xll/python/Lib/site-packages/httpx/__pycache__/__init__.cpython-312.pyc +0 -0
  311. package/xll/python/Lib/site-packages/httpx/__pycache__/__version__.cpython-312.pyc +0 -0
  312. package/xll/python/Lib/site-packages/httpx/__pycache__/_api.cpython-312.pyc +0 -0
  313. package/xll/python/Lib/site-packages/httpx/__pycache__/_auth.cpython-312.pyc +0 -0
  314. package/xll/python/Lib/site-packages/httpx/__pycache__/_client.cpython-312.pyc +0 -0
  315. package/xll/python/Lib/site-packages/httpx/__pycache__/_config.cpython-312.pyc +0 -0
  316. package/xll/python/Lib/site-packages/httpx/__pycache__/_content.cpython-312.pyc +0 -0
  317. package/xll/python/Lib/site-packages/httpx/__pycache__/_decoders.cpython-312.pyc +0 -0
  318. package/xll/python/Lib/site-packages/httpx/__pycache__/_exceptions.cpython-312.pyc +0 -0
  319. package/xll/python/Lib/site-packages/httpx/__pycache__/_main.cpython-312.pyc +0 -0
  320. package/xll/python/Lib/site-packages/httpx/__pycache__/_models.cpython-312.pyc +0 -0
  321. package/xll/python/Lib/site-packages/httpx/__pycache__/_multipart.cpython-312.pyc +0 -0
  322. package/xll/python/Lib/site-packages/httpx/__pycache__/_status_codes.cpython-312.pyc +0 -0
  323. package/xll/python/Lib/site-packages/httpx/__pycache__/_types.cpython-312.pyc +0 -0
  324. package/xll/python/Lib/site-packages/httpx/__pycache__/_urlparse.cpython-312.pyc +0 -0
  325. package/xll/python/Lib/site-packages/httpx/__pycache__/_urls.cpython-312.pyc +0 -0
  326. package/xll/python/Lib/site-packages/httpx/__pycache__/_utils.cpython-312.pyc +0 -0
  327. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/__init__.cpython-312.pyc +0 -0
  328. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/asgi.cpython-312.pyc +0 -0
  329. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/base.cpython-312.pyc +0 -0
  330. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/default.cpython-312.pyc +0 -0
  331. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/mock.cpython-312.pyc +0 -0
  332. package/xll/python/Lib/site-packages/httpx/_transports/__pycache__/wsgi.cpython-312.pyc +0 -0
  333. package/xll/python/Lib/site-packages/httpx-0.28.1.dist-info/RECORD +1 -1
  334. package/xll/python/Lib/site-packages/idna/__pycache__/__init__.cpython-312.pyc +0 -0
  335. package/xll/python/Lib/site-packages/idna/__pycache__/codec.cpython-312.pyc +0 -0
  336. package/xll/python/Lib/site-packages/idna/__pycache__/compat.cpython-312.pyc +0 -0
  337. package/xll/python/Lib/site-packages/idna/__pycache__/core.cpython-312.pyc +0 -0
  338. package/xll/python/Lib/site-packages/idna/__pycache__/idnadata.cpython-312.pyc +0 -0
  339. package/xll/python/Lib/site-packages/idna/__pycache__/intranges.cpython-312.pyc +0 -0
  340. package/xll/python/Lib/site-packages/idna/__pycache__/package_data.cpython-312.pyc +0 -0
  341. package/xll/python/Lib/site-packages/idna/__pycache__/uts46data.cpython-312.pyc +0 -0
  342. package/xll/python/Lib/site-packages/openpyxl/__pycache__/__init__.cpython-312.pyc +0 -0
  343. package/xll/python/Lib/site-packages/openpyxl/__pycache__/_constants.cpython-312.pyc +0 -0
  344. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/__init__.cpython-312.pyc +0 -0
  345. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/_writer.cpython-312.pyc +0 -0
  346. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/cell.cpython-312.pyc +0 -0
  347. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/read_only.cpython-312.pyc +0 -0
  348. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/rich_text.cpython-312.pyc +0 -0
  349. package/xll/python/Lib/site-packages/openpyxl/cell/__pycache__/text.cpython-312.pyc +0 -0
  350. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/_3d.cpython-312.pyc +0 -0
  351. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/__init__.cpython-312.pyc +0 -0
  352. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/_chart.cpython-312.pyc +0 -0
  353. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/area_chart.cpython-312.pyc +0 -0
  354. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/axis.cpython-312.pyc +0 -0
  355. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/bar_chart.cpython-312.pyc +0 -0
  356. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/bubble_chart.cpython-312.pyc +0 -0
  357. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/chartspace.cpython-312.pyc +0 -0
  358. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/data_source.cpython-312.pyc +0 -0
  359. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/descriptors.cpython-312.pyc +0 -0
  360. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/error_bar.cpython-312.pyc +0 -0
  361. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/label.cpython-312.pyc +0 -0
  362. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/layout.cpython-312.pyc +0 -0
  363. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/legend.cpython-312.pyc +0 -0
  364. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/line_chart.cpython-312.pyc +0 -0
  365. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/marker.cpython-312.pyc +0 -0
  366. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/picture.cpython-312.pyc +0 -0
  367. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/pie_chart.cpython-312.pyc +0 -0
  368. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/pivot.cpython-312.pyc +0 -0
  369. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/plotarea.cpython-312.pyc +0 -0
  370. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/print_settings.cpython-312.pyc +0 -0
  371. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/radar_chart.cpython-312.pyc +0 -0
  372. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/reader.cpython-312.pyc +0 -0
  373. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/reference.cpython-312.pyc +0 -0
  374. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/scatter_chart.cpython-312.pyc +0 -0
  375. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/series.cpython-312.pyc +0 -0
  376. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/series_factory.cpython-312.pyc +0 -0
  377. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/shapes.cpython-312.pyc +0 -0
  378. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/stock_chart.cpython-312.pyc +0 -0
  379. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/surface_chart.cpython-312.pyc +0 -0
  380. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/text.cpython-312.pyc +0 -0
  381. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/title.cpython-312.pyc +0 -0
  382. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/trendline.cpython-312.pyc +0 -0
  383. package/xll/python/Lib/site-packages/openpyxl/chart/__pycache__/updown_bars.cpython-312.pyc +0 -0
  384. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/__init__.cpython-312.pyc +0 -0
  385. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/chartsheet.cpython-312.pyc +0 -0
  386. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/custom.cpython-312.pyc +0 -0
  387. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/properties.cpython-312.pyc +0 -0
  388. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/protection.cpython-312.pyc +0 -0
  389. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/publish.cpython-312.pyc +0 -0
  390. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/relation.cpython-312.pyc +0 -0
  391. package/xll/python/Lib/site-packages/openpyxl/chartsheet/__pycache__/views.cpython-312.pyc +0 -0
  392. package/xll/python/Lib/site-packages/openpyxl/comments/__pycache__/__init__.cpython-312.pyc +0 -0
  393. package/xll/python/Lib/site-packages/openpyxl/comments/__pycache__/author.cpython-312.pyc +0 -0
  394. package/xll/python/Lib/site-packages/openpyxl/comments/__pycache__/comment_sheet.cpython-312.pyc +0 -0
  395. package/xll/python/Lib/site-packages/openpyxl/comments/__pycache__/comments.cpython-312.pyc +0 -0
  396. package/xll/python/Lib/site-packages/openpyxl/comments/__pycache__/shape_writer.cpython-312.pyc +0 -0
  397. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/__init__.cpython-312.pyc +0 -0
  398. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/abc.cpython-312.pyc +0 -0
  399. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/numbers.cpython-312.pyc +0 -0
  400. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/product.cpython-312.pyc +0 -0
  401. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/singleton.cpython-312.pyc +0 -0
  402. package/xll/python/Lib/site-packages/openpyxl/compat/__pycache__/strings.cpython-312.pyc +0 -0
  403. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/__init__.cpython-312.pyc +0 -0
  404. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/base.cpython-312.pyc +0 -0
  405. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/container.cpython-312.pyc +0 -0
  406. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/excel.cpython-312.pyc +0 -0
  407. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/namespace.cpython-312.pyc +0 -0
  408. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/nested.cpython-312.pyc +0 -0
  409. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/sequence.cpython-312.pyc +0 -0
  410. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/serialisable.cpython-312.pyc +0 -0
  411. package/xll/python/Lib/site-packages/openpyxl/descriptors/__pycache__/slots.cpython-312.pyc +0 -0
  412. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/__init__.cpython-312.pyc +0 -0
  413. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/colors.cpython-312.pyc +0 -0
  414. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/connector.cpython-312.pyc +0 -0
  415. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/drawing.cpython-312.pyc +0 -0
  416. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/effect.cpython-312.pyc +0 -0
  417. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/fill.cpython-312.pyc +0 -0
  418. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/geometry.cpython-312.pyc +0 -0
  419. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/graphic.cpython-312.pyc +0 -0
  420. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/image.cpython-312.pyc +0 -0
  421. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/line.cpython-312.pyc +0 -0
  422. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/picture.cpython-312.pyc +0 -0
  423. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/properties.cpython-312.pyc +0 -0
  424. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/relation.cpython-312.pyc +0 -0
  425. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/spreadsheet_drawing.cpython-312.pyc +0 -0
  426. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/text.cpython-312.pyc +0 -0
  427. package/xll/python/Lib/site-packages/openpyxl/drawing/__pycache__/xdr.cpython-312.pyc +0 -0
  428. package/xll/python/Lib/site-packages/openpyxl/formatting/__pycache__/__init__.cpython-312.pyc +0 -0
  429. package/xll/python/Lib/site-packages/openpyxl/formatting/__pycache__/formatting.cpython-312.pyc +0 -0
  430. package/xll/python/Lib/site-packages/openpyxl/formatting/__pycache__/rule.cpython-312.pyc +0 -0
  431. package/xll/python/Lib/site-packages/openpyxl/formula/__pycache__/__init__.cpython-312.pyc +0 -0
  432. package/xll/python/Lib/site-packages/openpyxl/formula/__pycache__/tokenizer.cpython-312.pyc +0 -0
  433. package/xll/python/Lib/site-packages/openpyxl/formula/__pycache__/translate.cpython-312.pyc +0 -0
  434. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
  435. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/core.cpython-312.pyc +0 -0
  436. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/custom.cpython-312.pyc +0 -0
  437. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/extended.cpython-312.pyc +0 -0
  438. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/interface.cpython-312.pyc +0 -0
  439. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/manifest.cpython-312.pyc +0 -0
  440. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/relationship.cpython-312.pyc +0 -0
  441. package/xll/python/Lib/site-packages/openpyxl/packaging/__pycache__/workbook.cpython-312.pyc +0 -0
  442. package/xll/python/Lib/site-packages/openpyxl/pivot/__pycache__/__init__.cpython-312.pyc +0 -0
  443. package/xll/python/Lib/site-packages/openpyxl/pivot/__pycache__/cache.cpython-312.pyc +0 -0
  444. package/xll/python/Lib/site-packages/openpyxl/pivot/__pycache__/fields.cpython-312.pyc +0 -0
  445. package/xll/python/Lib/site-packages/openpyxl/pivot/__pycache__/record.cpython-312.pyc +0 -0
  446. package/xll/python/Lib/site-packages/openpyxl/pivot/__pycache__/table.cpython-312.pyc +0 -0
  447. package/xll/python/Lib/site-packages/openpyxl/reader/__pycache__/__init__.cpython-312.pyc +0 -0
  448. package/xll/python/Lib/site-packages/openpyxl/reader/__pycache__/drawings.cpython-312.pyc +0 -0
  449. package/xll/python/Lib/site-packages/openpyxl/reader/__pycache__/excel.cpython-312.pyc +0 -0
  450. package/xll/python/Lib/site-packages/openpyxl/reader/__pycache__/strings.cpython-312.pyc +0 -0
  451. package/xll/python/Lib/site-packages/openpyxl/reader/__pycache__/workbook.cpython-312.pyc +0 -0
  452. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/__init__.cpython-312.pyc +0 -0
  453. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/alignment.cpython-312.pyc +0 -0
  454. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/borders.cpython-312.pyc +0 -0
  455. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/builtins.cpython-312.pyc +0 -0
  456. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/cell_style.cpython-312.pyc +0 -0
  457. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/colors.cpython-312.pyc +0 -0
  458. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/differential.cpython-312.pyc +0 -0
  459. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/fills.cpython-312.pyc +0 -0
  460. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/fonts.cpython-312.pyc +0 -0
  461. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/named_styles.cpython-312.pyc +0 -0
  462. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/numbers.cpython-312.pyc +0 -0
  463. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/protection.cpython-312.pyc +0 -0
  464. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/proxy.cpython-312.pyc +0 -0
  465. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/styleable.cpython-312.pyc +0 -0
  466. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/stylesheet.cpython-312.pyc +0 -0
  467. package/xll/python/Lib/site-packages/openpyxl/styles/__pycache__/table.cpython-312.pyc +0 -0
  468. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  469. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/bound_dictionary.cpython-312.pyc +0 -0
  470. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/cell.cpython-312.pyc +0 -0
  471. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/dataframe.cpython-312.pyc +0 -0
  472. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/datetime.cpython-312.pyc +0 -0
  473. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/escape.cpython-312.pyc +0 -0
  474. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/exceptions.cpython-312.pyc +0 -0
  475. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/formulas.cpython-312.pyc +0 -0
  476. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/indexed_list.cpython-312.pyc +0 -0
  477. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/inference.cpython-312.pyc +0 -0
  478. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/protection.cpython-312.pyc +0 -0
  479. package/xll/python/Lib/site-packages/openpyxl/utils/__pycache__/units.cpython-312.pyc +0 -0
  480. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/__init__.cpython-312.pyc +0 -0
  481. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/_writer.cpython-312.pyc +0 -0
  482. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/child.cpython-312.pyc +0 -0
  483. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/defined_name.cpython-312.pyc +0 -0
  484. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/external_reference.cpython-312.pyc +0 -0
  485. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/function_group.cpython-312.pyc +0 -0
  486. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/properties.cpython-312.pyc +0 -0
  487. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/protection.cpython-312.pyc +0 -0
  488. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/smart_tags.cpython-312.pyc +0 -0
  489. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/views.cpython-312.pyc +0 -0
  490. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/web.cpython-312.pyc +0 -0
  491. package/xll/python/Lib/site-packages/openpyxl/workbook/__pycache__/workbook.cpython-312.pyc +0 -0
  492. package/xll/python/Lib/site-packages/openpyxl/workbook/external_link/__pycache__/__init__.cpython-312.pyc +0 -0
  493. package/xll/python/Lib/site-packages/openpyxl/workbook/external_link/__pycache__/external.cpython-312.pyc +0 -0
  494. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/__init__.cpython-312.pyc +0 -0
  495. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/_read_only.cpython-312.pyc +0 -0
  496. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/_reader.cpython-312.pyc +0 -0
  497. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/_write_only.cpython-312.pyc +0 -0
  498. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/_writer.cpython-312.pyc +0 -0
  499. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/cell_range.cpython-312.pyc +0 -0
  500. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/cell_watch.cpython-312.pyc +0 -0
  501. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/controls.cpython-312.pyc +0 -0
  502. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/copier.cpython-312.pyc +0 -0
  503. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/custom.cpython-312.pyc +0 -0
  504. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/datavalidation.cpython-312.pyc +0 -0
  505. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/dimensions.cpython-312.pyc +0 -0
  506. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/drawing.cpython-312.pyc +0 -0
  507. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/errors.cpython-312.pyc +0 -0
  508. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/filters.cpython-312.pyc +0 -0
  509. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/formula.cpython-312.pyc +0 -0
  510. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/header_footer.cpython-312.pyc +0 -0
  511. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/hyperlink.cpython-312.pyc +0 -0
  512. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/merge.cpython-312.pyc +0 -0
  513. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/ole.cpython-312.pyc +0 -0
  514. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/page.cpython-312.pyc +0 -0
  515. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/pagebreak.cpython-312.pyc +0 -0
  516. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/picture.cpython-312.pyc +0 -0
  517. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/print_settings.cpython-312.pyc +0 -0
  518. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/properties.cpython-312.pyc +0 -0
  519. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/protection.cpython-312.pyc +0 -0
  520. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/related.cpython-312.pyc +0 -0
  521. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/scenario.cpython-312.pyc +0 -0
  522. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/smart_tag.cpython-312.pyc +0 -0
  523. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/table.cpython-312.pyc +0 -0
  524. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/views.cpython-312.pyc +0 -0
  525. package/xll/python/Lib/site-packages/openpyxl/worksheet/__pycache__/worksheet.cpython-312.pyc +0 -0
  526. package/xll/python/Lib/site-packages/openpyxl/writer/__pycache__/__init__.cpython-312.pyc +0 -0
  527. package/xll/python/Lib/site-packages/openpyxl/writer/__pycache__/excel.cpython-312.pyc +0 -0
  528. package/xll/python/Lib/site-packages/openpyxl/writer/__pycache__/theme.cpython-312.pyc +0 -0
  529. package/xll/python/Lib/site-packages/openpyxl/xml/__pycache__/__init__.cpython-312.pyc +0 -0
  530. package/xll/python/Lib/site-packages/openpyxl/xml/__pycache__/constants.cpython-312.pyc +0 -0
  531. package/xll/python/Lib/site-packages/openpyxl/xml/__pycache__/functions.cpython-312.pyc +0 -0
  532. package/xll/python/Lib/site-packages/pip/__pycache__/__init__.cpython-312.pyc +0 -0
  533. package/xll/python/Lib/site-packages/pip/__pycache__/__main__.cpython-312.pyc +0 -0
  534. package/xll/python/Lib/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc +0 -0
  535. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc +0 -0
  536. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc +0 -0
  537. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc +0 -0
  538. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc +0 -0
  539. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc +0 -0
  540. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc +0 -0
  541. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc +0 -0
  542. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc +0 -0
  543. package/xll/python/Lib/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc +0 -0
  544. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  545. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc +0 -0
  546. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc +0 -0
  547. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc +0 -0
  548. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc +0 -0
  549. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc +0 -0
  550. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc +0 -0
  551. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc +0 -0
  552. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc +0 -0
  553. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc +0 -0
  554. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc +0 -0
  555. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc +0 -0
  556. package/xll/python/Lib/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc +0 -0
  557. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  558. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc +0 -0
  559. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc +0 -0
  560. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc +0 -0
  561. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc +0 -0
  562. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc +0 -0
  563. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc +0 -0
  564. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc +0 -0
  565. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc +0 -0
  566. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc +0 -0
  567. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc +0 -0
  568. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc +0 -0
  569. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc +0 -0
  570. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc +0 -0
  571. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/lock.cpython-312.pyc +0 -0
  572. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc +0 -0
  573. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc +0 -0
  574. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc +0 -0
  575. package/xll/python/Lib/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc +0 -0
  576. package/xll/python/Lib/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc +0 -0
  577. package/xll/python/Lib/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc +0 -0
  578. package/xll/python/Lib/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc +0 -0
  579. package/xll/python/Lib/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc +0 -0
  580. package/xll/python/Lib/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc +0 -0
  581. package/xll/python/Lib/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc +0 -0
  582. package/xll/python/Lib/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc +0 -0
  583. package/xll/python/Lib/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc +0 -0
  584. package/xll/python/Lib/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc +0 -0
  585. package/xll/python/Lib/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc +0 -0
  586. package/xll/python/Lib/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc +0 -0
  587. package/xll/python/Lib/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc +0 -0
  588. package/xll/python/Lib/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc +0 -0
  589. package/xll/python/Lib/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc +0 -0
  590. package/xll/python/Lib/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc +0 -0
  591. package/xll/python/Lib/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc +0 -0
  592. package/xll/python/Lib/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc +0 -0
  593. package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc +0 -0
  594. package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc +0 -0
  595. package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc +0 -0
  596. package/xll/python/Lib/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc +0 -0
  597. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc +0 -0
  598. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc +0 -0
  599. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc +0 -0
  600. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc +0 -0
  601. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc +0 -0
  602. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc +0 -0
  603. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc +0 -0
  604. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/release_control.cpython-312.pyc +0 -0
  605. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc +0 -0
  606. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc +0 -0
  607. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc +0 -0
  608. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc +0 -0
  609. package/xll/python/Lib/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc +0 -0
  610. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc +0 -0
  611. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc +0 -0
  612. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc +0 -0
  613. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc +0 -0
  614. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc +0 -0
  615. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc +0 -0
  616. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc +0 -0
  617. package/xll/python/Lib/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc +0 -0
  618. package/xll/python/Lib/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc +0 -0
  619. package/xll/python/Lib/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc +0 -0
  620. package/xll/python/Lib/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc +0 -0
  621. package/xll/python/Lib/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc +0 -0
  622. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc +0 -0
  623. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc +0 -0
  624. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc +0 -0
  625. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc +0 -0
  626. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc +0 -0
  627. package/xll/python/Lib/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc +0 -0
  628. package/xll/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc +0 -0
  629. package/xll/python/Lib/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc +0 -0
  630. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc +0 -0
  631. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc +0 -0
  632. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/pep723.cpython-312.pyc +0 -0
  633. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/req_dependency_group.cpython-312.pyc +0 -0
  634. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc +0 -0
  635. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc +0 -0
  636. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc +0 -0
  637. package/xll/python/Lib/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc +0 -0
  638. package/xll/python/Lib/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc +0 -0
  639. package/xll/python/Lib/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc +0 -0
  640. package/xll/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc +0 -0
  641. package/xll/python/Lib/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc +0 -0
  642. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
  643. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc +0 -0
  644. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc +0 -0
  645. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc +0 -0
  646. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc +0 -0
  647. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc +0 -0
  648. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc +0 -0
  649. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc +0 -0
  650. package/xll/python/Lib/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc +0 -0
  651. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  652. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc +0 -0
  653. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc +0 -0
  654. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc +0 -0
  655. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc +0 -0
  656. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc +0 -0
  657. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc +0 -0
  658. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc +0 -0
  659. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc +0 -0
  660. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc +0 -0
  661. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc +0 -0
  662. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc +0 -0
  663. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc +0 -0
  664. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc +0 -0
  665. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc +0 -0
  666. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc +0 -0
  667. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc +0 -0
  668. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc +0 -0
  669. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/pylock.cpython-312.pyc +0 -0
  670. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc +0 -0
  671. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc +0 -0
  672. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc +0 -0
  673. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc +0 -0
  674. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc +0 -0
  675. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc +0 -0
  676. package/xll/python/Lib/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc +0 -0
  677. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc +0 -0
  678. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc +0 -0
  679. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc +0 -0
  680. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc +0 -0
  681. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc +0 -0
  682. package/xll/python/Lib/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc +0 -0
  683. package/xll/python/Lib/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc +0 -0
  684. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc +0 -0
  685. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc +0 -0
  686. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc +0 -0
  687. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc +0 -0
  688. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc +0 -0
  689. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc +0 -0
  690. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc +0 -0
  691. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc +0 -0
  692. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc +0 -0
  693. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc +0 -0
  694. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc +0 -0
  695. package/xll/python/Lib/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc +0 -0
  696. package/xll/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc +0 -0
  697. package/xll/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc +0 -0
  698. package/xll/python/Lib/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc +0 -0
  699. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__init__.cpython-312.pyc +0 -0
  700. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/__main__.cpython-312.pyc +0 -0
  701. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_implementation.cpython-312.pyc +0 -0
  702. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_lint_dependency_groups.cpython-312.pyc +0 -0
  703. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_pip_wrapper.cpython-312.pyc +0 -0
  704. package/xll/python/Lib/site-packages/pip/_vendor/dependency_groups/__pycache__/_toml_compat.cpython-312.pyc +0 -0
  705. package/xll/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc +0 -0
  706. package/xll/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc +0 -0
  707. package/xll/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc +0 -0
  708. package/xll/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc +0 -0
  709. package/xll/python/Lib/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc +0 -0
  710. package/xll/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc +0 -0
  711. package/xll/python/Lib/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc +0 -0
  712. package/xll/python/Lib/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc +0 -0
  713. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc +0 -0
  714. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc +0 -0
  715. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc +0 -0
  716. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc +0 -0
  717. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc +0 -0
  718. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc +0 -0
  719. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc +0 -0
  720. package/xll/python/Lib/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc +0 -0
  721. package/xll/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc +0 -0
  722. package/xll/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc +0 -0
  723. package/xll/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc +0 -0
  724. package/xll/python/Lib/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc +0 -0
  725. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc +0 -0
  726. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc +0 -0
  727. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc +0 -0
  728. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc +0 -0
  729. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc +0 -0
  730. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc +0 -0
  731. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc +0 -0
  732. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc +0 -0
  733. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc +0 -0
  734. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/pylock.cpython-312.pyc +0 -0
  735. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc +0 -0
  736. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc +0 -0
  737. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc +0 -0
  738. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc +0 -0
  739. package/xll/python/Lib/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc +0 -0
  740. package/xll/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc +0 -0
  741. package/xll/python/Lib/site-packages/pip/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc +0 -0
  742. package/xll/python/Lib/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc +0 -0
  743. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc +0 -0
  744. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc +0 -0
  745. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc +0 -0
  746. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc +0 -0
  747. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc +0 -0
  748. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc +0 -0
  749. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc +0 -0
  750. package/xll/python/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc +0 -0
  751. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc +0 -0
  752. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc +0 -0
  753. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc +0 -0
  754. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc +0 -0
  755. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc +0 -0
  756. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc +0 -0
  757. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc +0 -0
  758. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc +0 -0
  759. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc +0 -0
  760. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc +0 -0
  761. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc +0 -0
  762. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc +0 -0
  763. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc +0 -0
  764. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc +0 -0
  765. package/xll/python/Lib/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc +0 -0
  766. package/xll/python/Lib/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc +0 -0
  767. package/xll/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc +0 -0
  768. package/xll/python/Lib/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc +0 -0
  769. package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc +0 -0
  770. package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc +0 -0
  771. package/xll/python/Lib/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc +0 -0
  772. package/xll/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc +0 -0
  773. package/xll/python/Lib/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc +0 -0
  774. package/xll/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc +0 -0
  775. package/xll/python/Lib/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc +0 -0
  776. package/xll/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc +0 -0
  777. package/xll/python/Lib/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc +0 -0
  778. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc +0 -0
  779. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc +0 -0
  780. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc +0 -0
  781. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc +0 -0
  782. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc +0 -0
  783. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc +0 -0
  784. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc +0 -0
  785. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc +0 -0
  786. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc +0 -0
  787. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc +0 -0
  788. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc +0 -0
  789. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc +0 -0
  790. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc +0 -0
  791. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc +0 -0
  792. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc +0 -0
  793. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc +0 -0
  794. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc +0 -0
  795. package/xll/python/Lib/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc +0 -0
  796. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc +0 -0
  797. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc +0 -0
  798. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc +0 -0
  799. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc +0 -0
  800. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/__init__.cpython-312.pyc +0 -0
  801. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/abstract.cpython-312.pyc +0 -0
  802. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/criterion.cpython-312.pyc +0 -0
  803. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/exceptions.cpython-312.pyc +0 -0
  804. package/xll/python/Lib/site-packages/pip/_vendor/resolvelib/resolvers/__pycache__/resolution.cpython-312.pyc +0 -0
  805. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc +0 -0
  806. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc +0 -0
  807. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc +0 -0
  808. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc +0 -0
  809. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc +0 -0
  810. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc +0 -0
  811. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc +0 -0
  812. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc +0 -0
  813. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc +0 -0
  814. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc +0 -0
  815. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc +0 -0
  816. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc +0 -0
  817. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc +0 -0
  818. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc +0 -0
  819. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc +0 -0
  820. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc +0 -0
  821. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc +0 -0
  822. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc +0 -0
  823. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc +0 -0
  824. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc +0 -0
  825. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc +0 -0
  826. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc +0 -0
  827. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc +0 -0
  828. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc +0 -0
  829. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc +0 -0
  830. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc +0 -0
  831. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc +0 -0
  832. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc +0 -0
  833. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc +0 -0
  834. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc +0 -0
  835. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc +0 -0
  836. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc +0 -0
  837. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc +0 -0
  838. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc +0 -0
  839. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc +0 -0
  840. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc +0 -0
  841. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc +0 -0
  842. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc +0 -0
  843. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc +0 -0
  844. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc +0 -0
  845. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc +0 -0
  846. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc +0 -0
  847. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc +0 -0
  848. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc +0 -0
  849. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc +0 -0
  850. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc +0 -0
  851. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc +0 -0
  852. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc +0 -0
  853. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc +0 -0
  854. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc +0 -0
  855. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc +0 -0
  856. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc +0 -0
  857. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc +0 -0
  858. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc +0 -0
  859. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc +0 -0
  860. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc +0 -0
  861. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc +0 -0
  862. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc +0 -0
  863. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc +0 -0
  864. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc +0 -0
  865. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc +0 -0
  866. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc +0 -0
  867. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc +0 -0
  868. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc +0 -0
  869. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc +0 -0
  870. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc +0 -0
  871. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc +0 -0
  872. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc +0 -0
  873. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc +0 -0
  874. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc +0 -0
  875. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc +0 -0
  876. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc +0 -0
  877. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc +0 -0
  878. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc +0 -0
  879. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc +0 -0
  880. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc +0 -0
  881. package/xll/python/Lib/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc +0 -0
  882. package/xll/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc +0 -0
  883. package/xll/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc +0 -0
  884. package/xll/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc +0 -0
  885. package/xll/python/Lib/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc +0 -0
  886. package/xll/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/__init__.cpython-312.pyc +0 -0
  887. package/xll/python/Lib/site-packages/pip/_vendor/tomli_w/__pycache__/_writer.cpython-312.pyc +0 -0
  888. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc +0 -0
  889. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc +0 -0
  890. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc +0 -0
  891. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc +0 -0
  892. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc +0 -0
  893. package/xll/python/Lib/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc +0 -0
  894. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc +0 -0
  895. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc +0 -0
  896. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc +0 -0
  897. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc +0 -0
  898. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc +0 -0
  899. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc +0 -0
  900. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc +0 -0
  901. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc +0 -0
  902. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc +0 -0
  903. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc +0 -0
  904. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc +0 -0
  905. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc +0 -0
  906. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc +0 -0
  907. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc +0 -0
  908. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc +0 -0
  909. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc +0 -0
  910. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc +0 -0
  911. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc +0 -0
  912. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc +0 -0
  913. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc +0 -0
  914. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc +0 -0
  915. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc +0 -0
  916. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc +0 -0
  917. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc +0 -0
  918. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc +0 -0
  919. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc +0 -0
  920. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc +0 -0
  921. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc +0 -0
  922. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc +0 -0
  923. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc +0 -0
  924. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc +0 -0
  925. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc +0 -0
  926. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc +0 -0
  927. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc +0 -0
  928. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc +0 -0
  929. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc +0 -0
  930. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc +0 -0
  931. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc +0 -0
  932. package/xll/python/Lib/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc +0 -0
  933. package/xll/python/Lib/site-packages/pip-26.0.1.dist-info/RECORD +3 -3
  934. package/xll/python/Scripts/httpx.exe +0 -0
  935. package/xll/python/Scripts/pip.exe +0 -0
  936. package/xll/python/Scripts/pip3.12.exe +0 -0
  937. package/xll/python/Scripts/pip3.exe +0 -0
  938. package/dist/custom/ensure-excel.js +0 -63
  939. package/dist/custom/sandbox/network/index.js +0 -8
  940. package/dist/custom/sandbox/network/network-proxy.js +0 -136
  941. package/dist/custom/sandbox/network/proxy-worker.py +0 -257
  942. package/dist/custom/sandbox/sandbox-config.js +0 -153
  943. package/dist/custom/sandbox/sandbox-smoke.js +0 -49
  944. package/dist/custom/sandbox/wsl-setup.js +0 -92
  945. package/dist/custom/tools/task/agents.js +0 -6
  946. package/skills/com-advanced-api/excel-type-library.py +0 -27767
  947. package/skills/com-advanced-api/office-type-library.py +0 -10867
  948. /package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/INSTALLER +0 -0
  949. /package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/entry_points.txt +0 -0
  950. /package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/licenses/LICENSE +0 -0
  951. /package/xll/python/Lib/site-packages/{anyio-4.12.1.dist-info → anyio-4.13.0.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Minimal TUI implementation with differential rendering
3
3
  */
4
- import * as fs from "node:fs";
5
- import * as os from "node:os";
6
- import * as path from "node:path";
7
- import { isKeyRelease, matchesKey } from "./keys.js";
8
- import { getCapabilities, isImageLine, setCellDimensions } from "./terminal-image.js";
9
- import { extractSegments, sliceByColumn, sliceWithWidth, visibleWidth } from "./utils.js";
4
+ import * as fs from 'node:fs';
5
+ import * as os from 'node:os';
6
+ import * as path from 'node:path';
7
+ import { isKeyRelease, matchesKey } from './keys.js';
8
+ import { getCapabilities, isImageLine, setCellDimensions } from './terminal-image.js';
9
+ import { extractSegments, sliceByColumn, sliceWithWidth, visibleWidth } from './utils.js';
10
10
  /** Type guard to check if a component implements Focusable */
11
11
  export function isFocusable(component) {
12
- return component !== null && "focused" in component;
12
+ return component !== null && 'focused' in component;
13
13
  }
14
14
  /**
15
15
  * Cursor position marker - APC (Application Program Command) sequence.
@@ -17,939 +17,927 @@ export function isFocusable(component) {
17
17
  * Components emit this at the cursor position when focused.
18
18
  * TUI finds and strips this marker, then positions the hardware cursor there.
19
19
  */
20
- export const CURSOR_MARKER = "\x1b_pi:c\x07";
20
+ export const CURSOR_MARKER = '\x1b_pi:c\x07';
21
21
  export { visibleWidth };
22
22
  /** Parse a SizeValue into absolute value given a reference size */
23
23
  function parseSizeValue(value, referenceSize) {
24
- if (value === undefined)
25
- return undefined;
26
- if (typeof value === "number")
27
- return value;
28
- // Parse percentage string like "50%"
29
- const match = value.match(/^(\d+(?:\.\d+)?)%$/);
30
- if (match) {
31
- return Math.floor((referenceSize * parseFloat(match[1])) / 100);
32
- }
33
- return undefined;
24
+ if (value === undefined) return undefined;
25
+ if (typeof value === 'number') return value;
26
+ // Parse percentage string like "50%"
27
+ const match = value.match(/^(\d+(?:\.\d+)?)%$/);
28
+ if (match) {
29
+ return Math.floor((referenceSize * parseFloat(match[1])) / 100);
30
+ }
31
+ return undefined;
34
32
  }
35
33
  /**
36
34
  * Container - a component that contains other components
37
35
  */
38
36
  export class Container {
39
- children = [];
40
- addChild(component) {
41
- this.children.push(component);
42
- }
43
- removeChild(component) {
44
- const index = this.children.indexOf(component);
45
- if (index !== -1) {
46
- this.children.splice(index, 1);
47
- }
48
- }
49
- clear() {
50
- this.children = [];
51
- }
52
- invalidate() {
53
- for (const child of this.children) {
54
- child.invalidate?.();
55
- }
56
- }
57
- render(width) {
58
- const lines = [];
59
- for (const child of this.children) {
60
- lines.push(...child.render(width));
61
- }
62
- return lines;
63
- }
37
+ children = [];
38
+ addChild(component) {
39
+ this.children.push(component);
40
+ }
41
+ removeChild(component) {
42
+ const index = this.children.indexOf(component);
43
+ if (index !== -1) {
44
+ this.children.splice(index, 1);
45
+ }
46
+ }
47
+ clear() {
48
+ this.children = [];
49
+ }
50
+ invalidate() {
51
+ for (const child of this.children) {
52
+ child.invalidate?.();
53
+ }
54
+ }
55
+ render(width) {
56
+ const lines = [];
57
+ for (const child of this.children) {
58
+ lines.push(...child.render(width));
59
+ }
60
+ return lines;
61
+ }
64
62
  }
65
63
  /**
66
64
  * TUI - Main class for managing terminal UI with differential rendering
67
65
  */
68
66
  export class TUI extends Container {
69
- terminal;
70
- previousLines = [];
71
- previousWidth = 0;
72
- focusedComponent = null;
73
- inputListeners = new Set();
74
- /** Global callback for debug key (Shift+Ctrl+D). Called before input is forwarded to focused component. */
75
- onDebug;
76
- renderRequested = false;
77
- cursorRow = 0; // Logical cursor row (end of rendered content)
78
- hardwareCursorRow = 0; // Actual terminal cursor row (may differ due to IME positioning)
79
- inputBuffer = ""; // Buffer for parsing terminal responses
80
- cellSizeQueryPending = false;
81
- showHardwareCursor = process.env.PI_HARDWARE_CURSOR === "1";
82
- clearOnShrink = process.env.PI_CLEAR_ON_SHRINK === "1"; // Clear empty rows when content shrinks (default: off)
83
- maxLinesRendered = 0; // Track terminal's working area (max lines ever rendered)
84
- previousViewportTop = 0; // Track previous viewport top for resize-aware cursor moves
85
- fullRedrawCount = 0;
86
- stopped = false;
87
- // Overlay stack for modal components rendered on top of base content
88
- overlayStack = [];
89
- constructor(terminal, showHardwareCursor) {
90
- super();
91
- this.terminal = terminal;
92
- if (showHardwareCursor !== undefined) {
93
- this.showHardwareCursor = showHardwareCursor;
94
- }
95
- }
96
- get fullRedraws() {
97
- return this.fullRedrawCount;
98
- }
99
- getShowHardwareCursor() {
100
- return this.showHardwareCursor;
101
- }
102
- setShowHardwareCursor(enabled) {
103
- if (this.showHardwareCursor === enabled)
104
- return;
105
- this.showHardwareCursor = enabled;
106
- if (!enabled) {
107
- this.terminal.hideCursor();
108
- }
109
- this.requestRender();
110
- }
111
- getClearOnShrink() {
112
- return this.clearOnShrink;
113
- }
114
- /**
115
- * Set whether to trigger full re-render when content shrinks.
116
- * When true (default), empty rows are cleared when content shrinks.
117
- * When false, empty rows remain (reduces redraws on slower terminals).
118
- */
119
- setClearOnShrink(enabled) {
120
- this.clearOnShrink = enabled;
121
- }
122
- setFocus(component) {
123
- // Clear focused flag on old component
124
- if (isFocusable(this.focusedComponent)) {
125
- this.focusedComponent.focused = false;
126
- }
127
- this.focusedComponent = component;
128
- // Set focused flag on new component
129
- if (isFocusable(component)) {
130
- component.focused = true;
131
- }
132
- }
133
- /**
134
- * Show an overlay component with configurable positioning and sizing.
135
- * Returns a handle to control the overlay's visibility.
136
- */
137
- showOverlay(component, options) {
138
- const entry = { component, options, preFocus: this.focusedComponent, hidden: false };
139
- this.overlayStack.push(entry);
140
- // Only focus if overlay is actually visible
141
- if (this.isOverlayVisible(entry)) {
67
+ terminal;
68
+ previousLines = [];
69
+ previousWidth = 0;
70
+ focusedComponent = null;
71
+ inputListeners = new Set();
72
+ /** Global callback for debug key (Shift+Ctrl+D). Called before input is forwarded to focused component. */
73
+ onDebug;
74
+ renderRequested = false;
75
+ cursorRow = 0; // Logical cursor row (end of rendered content)
76
+ hardwareCursorRow = 0; // Actual terminal cursor row (may differ due to IME positioning)
77
+ inputBuffer = ''; // Buffer for parsing terminal responses
78
+ cellSizeQueryPending = false;
79
+ showHardwareCursor = process.env.PI_HARDWARE_CURSOR === '1';
80
+ clearOnShrink = process.env.PI_CLEAR_ON_SHRINK === '1'; // Clear empty rows when content shrinks (default: off)
81
+ maxLinesRendered = 0; // Track terminal's working area (max lines ever rendered)
82
+ previousViewportTop = 0; // Track previous viewport top for resize-aware cursor moves
83
+ fullRedrawCount = 0;
84
+ stopped = false;
85
+ // Overlay stack for modal components rendered on top of base content
86
+ overlayStack = [];
87
+ constructor(terminal, showHardwareCursor) {
88
+ super();
89
+ this.terminal = terminal;
90
+ if (showHardwareCursor !== undefined) {
91
+ this.showHardwareCursor = showHardwareCursor;
92
+ }
93
+ }
94
+ get fullRedraws() {
95
+ return this.fullRedrawCount;
96
+ }
97
+ getShowHardwareCursor() {
98
+ return this.showHardwareCursor;
99
+ }
100
+ setShowHardwareCursor(enabled) {
101
+ if (this.showHardwareCursor === enabled) return;
102
+ this.showHardwareCursor = enabled;
103
+ if (!enabled) {
104
+ this.terminal.hideCursor();
105
+ }
106
+ this.requestRender();
107
+ }
108
+ getClearOnShrink() {
109
+ return this.clearOnShrink;
110
+ }
111
+ /**
112
+ * Set whether to trigger full re-render when content shrinks.
113
+ * When true (default), empty rows are cleared when content shrinks.
114
+ * When false, empty rows remain (reduces redraws on slower terminals).
115
+ */
116
+ setClearOnShrink(enabled) {
117
+ this.clearOnShrink = enabled;
118
+ }
119
+ setFocus(component) {
120
+ // Clear focused flag on old component
121
+ if (isFocusable(this.focusedComponent)) {
122
+ this.focusedComponent.focused = false;
123
+ }
124
+ this.focusedComponent = component;
125
+ // Set focused flag on new component
126
+ if (isFocusable(component)) {
127
+ component.focused = true;
128
+ }
129
+ }
130
+ /**
131
+ * Show an overlay component with configurable positioning and sizing.
132
+ * Returns a handle to control the overlay's visibility.
133
+ */
134
+ showOverlay(component, options) {
135
+ const entry = { component, options, preFocus: this.focusedComponent, hidden: false };
136
+ this.overlayStack.push(entry);
137
+ // Only focus if overlay is actually visible
138
+ if (this.isOverlayVisible(entry)) {
139
+ this.setFocus(component);
140
+ }
141
+ this.terminal.hideCursor();
142
+ this.requestRender();
143
+ // Return handle for controlling this overlay
144
+ return {
145
+ hide: () => {
146
+ const index = this.overlayStack.indexOf(entry);
147
+ if (index !== -1) {
148
+ this.overlayStack.splice(index, 1);
149
+ // Restore focus if this overlay had focus
150
+ if (this.focusedComponent === component) {
151
+ const topVisible = this.getTopmostVisibleOverlay();
152
+ this.setFocus(topVisible?.component ?? entry.preFocus);
153
+ }
154
+ if (this.overlayStack.length === 0) this.terminal.hideCursor();
155
+ this.requestRender();
156
+ }
157
+ },
158
+ setHidden: (hidden) => {
159
+ if (entry.hidden === hidden) return;
160
+ entry.hidden = hidden;
161
+ // Update focus when hiding/showing
162
+ if (hidden) {
163
+ // If this overlay had focus, move focus to next visible or preFocus
164
+ if (this.focusedComponent === component) {
165
+ const topVisible = this.getTopmostVisibleOverlay();
166
+ this.setFocus(topVisible?.component ?? entry.preFocus);
167
+ }
168
+ } else {
169
+ // Restore focus to this overlay when showing (if it's actually visible)
170
+ if (this.isOverlayVisible(entry)) {
142
171
  this.setFocus(component);
172
+ }
143
173
  }
144
- this.terminal.hideCursor();
145
174
  this.requestRender();
146
- // Return handle for controlling this overlay
147
- return {
148
- hide: () => {
149
- const index = this.overlayStack.indexOf(entry);
150
- if (index !== -1) {
151
- this.overlayStack.splice(index, 1);
152
- // Restore focus if this overlay had focus
153
- if (this.focusedComponent === component) {
154
- const topVisible = this.getTopmostVisibleOverlay();
155
- this.setFocus(topVisible?.component ?? entry.preFocus);
156
- }
157
- if (this.overlayStack.length === 0)
158
- this.terminal.hideCursor();
159
- this.requestRender();
160
- }
161
- },
162
- setHidden: (hidden) => {
163
- if (entry.hidden === hidden)
164
- return;
165
- entry.hidden = hidden;
166
- // Update focus when hiding/showing
167
- if (hidden) {
168
- // If this overlay had focus, move focus to next visible or preFocus
169
- if (this.focusedComponent === component) {
170
- const topVisible = this.getTopmostVisibleOverlay();
171
- this.setFocus(topVisible?.component ?? entry.preFocus);
172
- }
173
- }
174
- else {
175
- // Restore focus to this overlay when showing (if it's actually visible)
176
- if (this.isOverlayVisible(entry)) {
177
- this.setFocus(component);
178
- }
179
- }
180
- this.requestRender();
181
- },
182
- isHidden: () => entry.hidden,
183
- };
184
- }
185
- /** Hide the topmost overlay and restore previous focus. */
186
- hideOverlay() {
187
- const overlay = this.overlayStack.pop();
188
- if (!overlay)
189
- return;
190
- // Find topmost visible overlay, or fall back to preFocus
191
- const topVisible = this.getTopmostVisibleOverlay();
192
- this.setFocus(topVisible?.component ?? overlay.preFocus);
193
- if (this.overlayStack.length === 0)
194
- this.terminal.hideCursor();
195
- this.requestRender();
196
- }
197
- /** Check if there are any visible overlays */
198
- hasOverlay() {
199
- return this.overlayStack.some((o) => this.isOverlayVisible(o));
175
+ },
176
+ isHidden: () => entry.hidden
177
+ };
178
+ }
179
+ /** Hide the topmost overlay and restore previous focus. */
180
+ hideOverlay() {
181
+ const overlay = this.overlayStack.pop();
182
+ if (!overlay) return;
183
+ // Find topmost visible overlay, or fall back to preFocus
184
+ const topVisible = this.getTopmostVisibleOverlay();
185
+ this.setFocus(topVisible?.component ?? overlay.preFocus);
186
+ if (this.overlayStack.length === 0) this.terminal.hideCursor();
187
+ this.requestRender();
188
+ }
189
+ /** Check if there are any visible overlays */
190
+ hasOverlay() {
191
+ return this.overlayStack.some((o) => this.isOverlayVisible(o));
192
+ }
193
+ /** Check if an overlay entry is currently visible */
194
+ isOverlayVisible(entry) {
195
+ if (entry.hidden) return false;
196
+ if (entry.options?.visible) {
197
+ return entry.options.visible(this.terminal.columns, this.terminal.rows);
198
+ }
199
+ return true;
200
+ }
201
+ /** Find the topmost visible overlay, if any */
202
+ getTopmostVisibleOverlay() {
203
+ for (let i = this.overlayStack.length - 1; i >= 0; i--) {
204
+ if (this.isOverlayVisible(this.overlayStack[i])) {
205
+ return this.overlayStack[i];
206
+ }
200
207
  }
201
- /** Check if an overlay entry is currently visible */
202
- isOverlayVisible(entry) {
203
- if (entry.hidden)
204
- return false;
205
- if (entry.options?.visible) {
206
- return entry.options.visible(this.terminal.columns, this.terminal.rows);
207
- }
208
- return true;
209
- }
210
- /** Find the topmost visible overlay, if any */
211
- getTopmostVisibleOverlay() {
212
- for (let i = this.overlayStack.length - 1; i >= 0; i--) {
213
- if (this.isOverlayVisible(this.overlayStack[i])) {
214
- return this.overlayStack[i];
215
- }
216
- }
217
- return undefined;
218
- }
219
- invalidate() {
220
- super.invalidate();
221
- for (const overlay of this.overlayStack)
222
- overlay.component.invalidate?.();
223
- }
224
- start() {
225
- this.stopped = false;
226
- this.terminal.start((data) => this.handleInput(data), () => this.requestRender());
227
- this.terminal.hideCursor();
228
- this.queryCellSize();
208
+ return undefined;
209
+ }
210
+ invalidate() {
211
+ super.invalidate();
212
+ for (const overlay of this.overlayStack) overlay.component.invalidate?.();
213
+ }
214
+ start() {
215
+ this.stopped = false;
216
+ this.terminal.start(
217
+ (data) => this.handleInput(data),
218
+ () => this.requestRender()
219
+ );
220
+ this.terminal.hideCursor();
221
+ this.queryCellSize();
222
+ this.requestRender();
223
+ }
224
+ addInputListener(listener) {
225
+ this.inputListeners.add(listener);
226
+ return () => {
227
+ this.inputListeners.delete(listener);
228
+ };
229
+ }
230
+ removeInputListener(listener) {
231
+ this.inputListeners.delete(listener);
232
+ }
233
+ queryCellSize() {
234
+ // Only query if terminal supports images (cell size is only used for image rendering)
235
+ if (!getCapabilities().images) {
236
+ return;
237
+ }
238
+ // Query terminal for cell size in pixels: CSI 16 t
239
+ // Response format: CSI 6 ; height ; width t
240
+ this.cellSizeQueryPending = true;
241
+ this.terminal.write('\x1b[16t');
242
+ }
243
+ stop() {
244
+ this.stopped = true;
245
+ // Move cursor to the end of the content to prevent overwriting/artifacts on exit
246
+ if (this.previousLines.length > 0) {
247
+ const targetRow = this.previousLines.length; // Line after the last content
248
+ const lineDiff = targetRow - this.hardwareCursorRow;
249
+ if (lineDiff > 0) {
250
+ this.terminal.write(`\x1b[${lineDiff}B`);
251
+ } else if (lineDiff < 0) {
252
+ this.terminal.write(`\x1b[${-lineDiff}A`);
253
+ }
254
+ this.terminal.write('\r\n');
255
+ }
256
+ this.terminal.showCursor();
257
+ this.terminal.stop();
258
+ }
259
+ requestRender(force = false) {
260
+ if (force) {
261
+ this.previousLines = [];
262
+ this.previousWidth = -1; // -1 triggers widthChanged, forcing a full clear
263
+ this.cursorRow = 0;
264
+ this.hardwareCursorRow = 0;
265
+ this.maxLinesRendered = 0;
266
+ this.previousViewportTop = 0;
267
+ }
268
+ if (this.renderRequested) return;
269
+ this.renderRequested = true;
270
+ process.nextTick(() => {
271
+ this.renderRequested = false;
272
+ this.doRender();
273
+ });
274
+ }
275
+ handleInput(data) {
276
+ if (this.inputListeners.size > 0) {
277
+ let current = data;
278
+ for (const listener of this.inputListeners) {
279
+ const result = listener(current);
280
+ if (result?.consume) {
281
+ return;
282
+ }
283
+ if (result?.data !== undefined) {
284
+ current = result.data;
285
+ }
286
+ }
287
+ if (current.length === 0) {
288
+ return;
289
+ }
290
+ data = current;
291
+ }
292
+ // If we're waiting for cell size response, buffer input and parse
293
+ if (this.cellSizeQueryPending) {
294
+ this.inputBuffer += data;
295
+ const filtered = this.parseCellSizeResponse();
296
+ if (filtered.length === 0) return;
297
+ data = filtered;
298
+ }
299
+ // Global debug key handler (Shift+Ctrl+D)
300
+ if (matchesKey(data, 'shift+ctrl+d') && this.onDebug) {
301
+ this.onDebug();
302
+ return;
303
+ }
304
+ // If focused component is an overlay, verify it's still visible
305
+ // (visibility can change due to terminal resize or visible() callback)
306
+ const focusedOverlay = this.overlayStack.find((o) => o.component === this.focusedComponent);
307
+ if (focusedOverlay && !this.isOverlayVisible(focusedOverlay)) {
308
+ // Focused overlay is no longer visible, redirect to topmost visible overlay
309
+ const topVisible = this.getTopmostVisibleOverlay();
310
+ if (topVisible) {
311
+ this.setFocus(topVisible.component);
312
+ } else {
313
+ // No visible overlays, restore to preFocus
314
+ this.setFocus(focusedOverlay.preFocus);
315
+ }
316
+ }
317
+ // Pass input to focused component (including Ctrl+C)
318
+ // The focused component can decide how to handle Ctrl+C
319
+ if (this.focusedComponent?.handleInput) {
320
+ // Filter out key release events unless component opts in
321
+ if (isKeyRelease(data) && !this.focusedComponent.wantsKeyRelease) {
322
+ return;
323
+ }
324
+ this.focusedComponent.handleInput(data);
325
+ this.requestRender();
326
+ }
327
+ }
328
+ parseCellSizeResponse() {
329
+ // Response format: ESC [ 6 ; height ; width t
330
+ // Match the response pattern
331
+ const responsePattern = /\x1b\[6;(\d+);(\d+)t/;
332
+ const match = this.inputBuffer.match(responsePattern);
333
+ if (match) {
334
+ const heightPx = parseInt(match[1], 10);
335
+ const widthPx = parseInt(match[2], 10);
336
+ if (heightPx > 0 && widthPx > 0) {
337
+ setCellDimensions({ widthPx, heightPx });
338
+ // Invalidate all components so images re-render with correct dimensions
339
+ this.invalidate();
229
340
  this.requestRender();
230
- }
231
- addInputListener(listener) {
232
- this.inputListeners.add(listener);
233
- return () => {
234
- this.inputListeners.delete(listener);
235
- };
236
- }
237
- removeInputListener(listener) {
238
- this.inputListeners.delete(listener);
239
- }
240
- queryCellSize() {
241
- // Only query if terminal supports images (cell size is only used for image rendering)
242
- if (!getCapabilities().images) {
243
- return;
244
- }
245
- // Query terminal for cell size in pixels: CSI 16 t
246
- // Response format: CSI 6 ; height ; width t
247
- this.cellSizeQueryPending = true;
248
- this.terminal.write("\x1b[16t");
249
- }
250
- stop() {
251
- this.stopped = true;
252
- // Move cursor to the end of the content to prevent overwriting/artifacts on exit
253
- if (this.previousLines.length > 0) {
254
- const targetRow = this.previousLines.length; // Line after the last content
255
- const lineDiff = targetRow - this.hardwareCursorRow;
256
- if (lineDiff > 0) {
257
- this.terminal.write(`\x1b[${lineDiff}B`);
258
- }
259
- else if (lineDiff < 0) {
260
- this.terminal.write(`\x1b[${-lineDiff}A`);
261
- }
262
- this.terminal.write("\r\n");
263
- }
264
- this.terminal.showCursor();
265
- this.terminal.stop();
266
- }
267
- requestRender(force = false) {
268
- if (force) {
269
- this.previousLines = [];
270
- this.previousWidth = -1; // -1 triggers widthChanged, forcing a full clear
271
- this.cursorRow = 0;
272
- this.hardwareCursorRow = 0;
273
- this.maxLinesRendered = 0;
274
- this.previousViewportTop = 0;
275
- }
276
- if (this.renderRequested)
277
- return;
278
- this.renderRequested = true;
279
- process.nextTick(() => {
280
- this.renderRequested = false;
281
- this.doRender();
282
- });
283
- }
284
- handleInput(data) {
285
- if (this.inputListeners.size > 0) {
286
- let current = data;
287
- for (const listener of this.inputListeners) {
288
- const result = listener(current);
289
- if (result?.consume) {
290
- return;
291
- }
292
- if (result?.data !== undefined) {
293
- current = result.data;
294
- }
295
- }
296
- if (current.length === 0) {
297
- return;
298
- }
299
- data = current;
300
- }
301
- // If we're waiting for cell size response, buffer input and parse
302
- if (this.cellSizeQueryPending) {
303
- this.inputBuffer += data;
304
- const filtered = this.parseCellSizeResponse();
305
- if (filtered.length === 0)
306
- return;
307
- data = filtered;
308
- }
309
- // Global debug key handler (Shift+Ctrl+D)
310
- if (matchesKey(data, "shift+ctrl+d") && this.onDebug) {
311
- this.onDebug();
312
- return;
313
- }
314
- // If focused component is an overlay, verify it's still visible
315
- // (visibility can change due to terminal resize or visible() callback)
316
- const focusedOverlay = this.overlayStack.find((o) => o.component === this.focusedComponent);
317
- if (focusedOverlay && !this.isOverlayVisible(focusedOverlay)) {
318
- // Focused overlay is no longer visible, redirect to topmost visible overlay
319
- const topVisible = this.getTopmostVisibleOverlay();
320
- if (topVisible) {
321
- this.setFocus(topVisible.component);
322
- }
323
- else {
324
- // No visible overlays, restore to preFocus
325
- this.setFocus(focusedOverlay.preFocus);
326
- }
327
- }
328
- // Pass input to focused component (including Ctrl+C)
329
- // The focused component can decide how to handle Ctrl+C
330
- if (this.focusedComponent?.handleInput) {
331
- // Filter out key release events unless component opts in
332
- if (isKeyRelease(data) && !this.focusedComponent.wantsKeyRelease) {
333
- return;
334
- }
335
- this.focusedComponent.handleInput(data);
336
- this.requestRender();
337
- }
338
- }
339
- parseCellSizeResponse() {
340
- // Response format: ESC [ 6 ; height ; width t
341
- // Match the response pattern
342
- const responsePattern = /\x1b\[6;(\d+);(\d+)t/;
343
- const match = this.inputBuffer.match(responsePattern);
341
+ }
342
+ // Remove the response from buffer
343
+ this.inputBuffer = this.inputBuffer.replace(responsePattern, '');
344
+ this.cellSizeQueryPending = false;
345
+ }
346
+ // Check if we have a partial cell size response starting (wait for more data)
347
+ // Patterns that could be incomplete cell size response: \x1b, \x1b[, \x1b[6, \x1b[6;...(no t yet)
348
+ const partialCellSizePattern = /\x1b(\[6?;?[\d;]*)?$/;
349
+ if (partialCellSizePattern.test(this.inputBuffer)) {
350
+ // Check if it's actually a complete different escape sequence (ends with a letter)
351
+ // Cell size response ends with 't', Kitty keyboard ends with 'u', arrows end with A-D, etc.
352
+ const lastChar = this.inputBuffer[this.inputBuffer.length - 1];
353
+ if (!/[a-zA-Z~]/.test(lastChar)) {
354
+ // Doesn't end with a terminator, might be incomplete - wait for more
355
+ return '';
356
+ }
357
+ }
358
+ // No cell size response found, return buffered data as user input
359
+ const result = this.inputBuffer;
360
+ this.inputBuffer = '';
361
+ this.cellSizeQueryPending = false; // Give up waiting
362
+ return result;
363
+ }
364
+ /**
365
+ * Resolve overlay layout from options.
366
+ * Returns { width, row, col, maxHeight } for rendering.
367
+ */
368
+ resolveOverlayLayout(options, overlayHeight, termWidth, termHeight) {
369
+ const opt = options ?? {};
370
+ // Parse margin (clamp to non-negative)
371
+ const margin =
372
+ typeof opt.margin === 'number'
373
+ ? { top: opt.margin, right: opt.margin, bottom: opt.margin, left: opt.margin }
374
+ : (opt.margin ?? {});
375
+ const marginTop = Math.max(0, margin.top ?? 0);
376
+ const marginRight = Math.max(0, margin.right ?? 0);
377
+ const marginBottom = Math.max(0, margin.bottom ?? 0);
378
+ const marginLeft = Math.max(0, margin.left ?? 0);
379
+ // Available space after margins
380
+ const availWidth = Math.max(1, termWidth - marginLeft - marginRight);
381
+ const availHeight = Math.max(1, termHeight - marginTop - marginBottom);
382
+ // === Resolve width ===
383
+ let width = parseSizeValue(opt.width, termWidth) ?? Math.min(80, availWidth);
384
+ // Apply minWidth
385
+ if (opt.minWidth !== undefined) {
386
+ width = Math.max(width, opt.minWidth);
387
+ }
388
+ // Clamp to available space
389
+ width = Math.max(1, Math.min(width, availWidth));
390
+ // === Resolve maxHeight ===
391
+ let maxHeight = parseSizeValue(opt.maxHeight, termHeight);
392
+ // Clamp to available space
393
+ if (maxHeight !== undefined) {
394
+ maxHeight = Math.max(1, Math.min(maxHeight, availHeight));
395
+ }
396
+ // Effective overlay height (may be clamped by maxHeight)
397
+ const effectiveHeight =
398
+ maxHeight !== undefined ? Math.min(overlayHeight, maxHeight) : overlayHeight;
399
+ // === Resolve position ===
400
+ let row;
401
+ let col;
402
+ if (opt.row !== undefined) {
403
+ if (typeof opt.row === 'string') {
404
+ // Percentage: 0% = top, 100% = bottom (overlay stays within bounds)
405
+ const match = opt.row.match(/^(\d+(?:\.\d+)?)%$/);
344
406
  if (match) {
345
- const heightPx = parseInt(match[1], 10);
346
- const widthPx = parseInt(match[2], 10);
347
- if (heightPx > 0 && widthPx > 0) {
348
- setCellDimensions({ widthPx, heightPx });
349
- // Invalidate all components so images re-render with correct dimensions
350
- this.invalidate();
351
- this.requestRender();
352
- }
353
- // Remove the response from buffer
354
- this.inputBuffer = this.inputBuffer.replace(responsePattern, "");
355
- this.cellSizeQueryPending = false;
356
- }
357
- // Check if we have a partial cell size response starting (wait for more data)
358
- // Patterns that could be incomplete cell size response: \x1b, \x1b[, \x1b[6, \x1b[6;...(no t yet)
359
- const partialCellSizePattern = /\x1b(\[6?;?[\d;]*)?$/;
360
- if (partialCellSizePattern.test(this.inputBuffer)) {
361
- // Check if it's actually a complete different escape sequence (ends with a letter)
362
- // Cell size response ends with 't', Kitty keyboard ends with 'u', arrows end with A-D, etc.
363
- const lastChar = this.inputBuffer[this.inputBuffer.length - 1];
364
- if (!/[a-zA-Z~]/.test(lastChar)) {
365
- // Doesn't end with a terminator, might be incomplete - wait for more
366
- return "";
367
- }
368
- }
369
- // No cell size response found, return buffered data as user input
370
- const result = this.inputBuffer;
371
- this.inputBuffer = "";
372
- this.cellSizeQueryPending = false; // Give up waiting
373
- return result;
374
- }
375
- /**
376
- * Resolve overlay layout from options.
377
- * Returns { width, row, col, maxHeight } for rendering.
378
- */
379
- resolveOverlayLayout(options, overlayHeight, termWidth, termHeight) {
380
- const opt = options ?? {};
381
- // Parse margin (clamp to non-negative)
382
- const margin = typeof opt.margin === "number"
383
- ? { top: opt.margin, right: opt.margin, bottom: opt.margin, left: opt.margin }
384
- : (opt.margin ?? {});
385
- const marginTop = Math.max(0, margin.top ?? 0);
386
- const marginRight = Math.max(0, margin.right ?? 0);
387
- const marginBottom = Math.max(0, margin.bottom ?? 0);
388
- const marginLeft = Math.max(0, margin.left ?? 0);
389
- // Available space after margins
390
- const availWidth = Math.max(1, termWidth - marginLeft - marginRight);
391
- const availHeight = Math.max(1, termHeight - marginTop - marginBottom);
392
- // === Resolve width ===
393
- let width = parseSizeValue(opt.width, termWidth) ?? Math.min(80, availWidth);
394
- // Apply minWidth
395
- if (opt.minWidth !== undefined) {
396
- width = Math.max(width, opt.minWidth);
397
- }
398
- // Clamp to available space
399
- width = Math.max(1, Math.min(width, availWidth));
400
- // === Resolve maxHeight ===
401
- let maxHeight = parseSizeValue(opt.maxHeight, termHeight);
402
- // Clamp to available space
403
- if (maxHeight !== undefined) {
404
- maxHeight = Math.max(1, Math.min(maxHeight, availHeight));
405
- }
406
- // Effective overlay height (may be clamped by maxHeight)
407
- const effectiveHeight = maxHeight !== undefined ? Math.min(overlayHeight, maxHeight) : overlayHeight;
408
- // === Resolve position ===
409
- let row;
410
- let col;
411
- if (opt.row !== undefined) {
412
- if (typeof opt.row === "string") {
413
- // Percentage: 0% = top, 100% = bottom (overlay stays within bounds)
414
- const match = opt.row.match(/^(\d+(?:\.\d+)?)%$/);
415
- if (match) {
416
- const maxRow = Math.max(0, availHeight - effectiveHeight);
417
- const percent = parseFloat(match[1]) / 100;
418
- row = marginTop + Math.floor(maxRow * percent);
419
- }
420
- else {
421
- // Invalid format, fall back to center
422
- row = this.resolveAnchorRow("center", effectiveHeight, availHeight, marginTop);
423
- }
424
- }
425
- else {
426
- // Absolute row position
427
- row = opt.row;
428
- }
429
- }
430
- else {
431
- // Anchor-based (default: center)
432
- const anchor = opt.anchor ?? "center";
433
- row = this.resolveAnchorRow(anchor, effectiveHeight, availHeight, marginTop);
434
- }
435
- if (opt.col !== undefined) {
436
- if (typeof opt.col === "string") {
437
- // Percentage: 0% = left, 100% = right (overlay stays within bounds)
438
- const match = opt.col.match(/^(\d+(?:\.\d+)?)%$/);
439
- if (match) {
440
- const maxCol = Math.max(0, availWidth - width);
441
- const percent = parseFloat(match[1]) / 100;
442
- col = marginLeft + Math.floor(maxCol * percent);
443
- }
444
- else {
445
- // Invalid format, fall back to center
446
- col = this.resolveAnchorCol("center", width, availWidth, marginLeft);
447
- }
448
- }
449
- else {
450
- // Absolute column position
451
- col = opt.col;
452
- }
453
- }
454
- else {
455
- // Anchor-based (default: center)
456
- const anchor = opt.anchor ?? "center";
457
- col = this.resolveAnchorCol(anchor, width, availWidth, marginLeft);
458
- }
459
- // Apply offsets
460
- if (opt.offsetY !== undefined)
461
- row += opt.offsetY;
462
- if (opt.offsetX !== undefined)
463
- col += opt.offsetX;
464
- // Clamp to terminal bounds (respecting margins)
465
- row = Math.max(marginTop, Math.min(row, termHeight - marginBottom - effectiveHeight));
466
- col = Math.max(marginLeft, Math.min(col, termWidth - marginRight - width));
467
- return { width, row, col, maxHeight };
468
- }
469
- resolveAnchorRow(anchor, height, availHeight, marginTop) {
470
- switch (anchor) {
471
- case "top-left":
472
- case "top-center":
473
- case "top-right":
474
- return marginTop;
475
- case "bottom-left":
476
- case "bottom-center":
477
- case "bottom-right":
478
- return marginTop + availHeight - height;
479
- case "left-center":
480
- case "center":
481
- case "right-center":
482
- return marginTop + Math.floor((availHeight - height) / 2);
483
- }
484
- }
485
- resolveAnchorCol(anchor, width, availWidth, marginLeft) {
486
- switch (anchor) {
487
- case "top-left":
488
- case "left-center":
489
- case "bottom-left":
490
- return marginLeft;
491
- case "top-right":
492
- case "right-center":
493
- case "bottom-right":
494
- return marginLeft + availWidth - width;
495
- case "top-center":
496
- case "center":
497
- case "bottom-center":
498
- return marginLeft + Math.floor((availWidth - width) / 2);
499
- }
500
- }
501
- /** Composite all overlays into content lines (in stack order, later = on top). */
502
- compositeOverlays(lines, termWidth, termHeight) {
503
- if (this.overlayStack.length === 0)
504
- return lines;
505
- const result = [...lines];
506
- // Pre-render all visible overlays and calculate positions
507
- const rendered = [];
508
- let minLinesNeeded = result.length;
509
- for (const entry of this.overlayStack) {
510
- // Skip invisible overlays (hidden or visible() returns false)
511
- if (!this.isOverlayVisible(entry))
512
- continue;
513
- const { component, options } = entry;
514
- // Get layout with height=0 first to determine width and maxHeight
515
- // (width and maxHeight don't depend on overlay height)
516
- const { width, maxHeight } = this.resolveOverlayLayout(options, 0, termWidth, termHeight);
517
- // Render component at calculated width
518
- let overlayLines = component.render(width);
519
- // Apply maxHeight if specified
520
- if (maxHeight !== undefined && overlayLines.length > maxHeight) {
521
- overlayLines = overlayLines.slice(0, maxHeight);
522
- }
523
- // Get final row/col with actual overlay height
524
- const { row, col } = this.resolveOverlayLayout(options, overlayLines.length, termWidth, termHeight);
525
- rendered.push({ overlayLines, row, col, w: width });
526
- minLinesNeeded = Math.max(minLinesNeeded, row + overlayLines.length);
527
- }
528
- // Ensure result covers the terminal working area to keep overlay positioning stable across resizes.
529
- // maxLinesRendered can exceed current content length after a shrink; pad to keep viewportStart consistent.
530
- const workingHeight = Math.max(this.maxLinesRendered, minLinesNeeded);
531
- // Extend result with empty lines if content is too short for overlay placement or working area
532
- while (result.length < workingHeight) {
533
- result.push("");
534
- }
535
- const viewportStart = Math.max(0, workingHeight - termHeight);
536
- // Track which lines were modified for final verification
537
- const modifiedLines = new Set();
538
- // Composite each overlay
539
- for (const { overlayLines, row, col, w } of rendered) {
540
- for (let i = 0; i < overlayLines.length; i++) {
541
- const idx = viewportStart + row + i;
542
- if (idx >= 0 && idx < result.length) {
543
- // Defensive: truncate overlay line to declared width before compositing
544
- // (components should already respect width, but this ensures it)
545
- const truncatedOverlayLine = visibleWidth(overlayLines[i]) > w ? sliceByColumn(overlayLines[i], 0, w, true) : overlayLines[i];
546
- result[idx] = this.compositeLineAt(result[idx], truncatedOverlayLine, col, w, termWidth);
547
- modifiedLines.add(idx);
548
- }
549
- }
550
- }
551
- // Final verification: ensure no composited line exceeds terminal width
552
- // This is a belt-and-suspenders safeguard - compositeLineAt should already
553
- // guarantee this, but we verify here to prevent crashes from any edge cases
554
- // Only check lines that were actually modified (optimization)
555
- for (const idx of modifiedLines) {
556
- const lineWidth = visibleWidth(result[idx]);
557
- if (lineWidth > termWidth) {
558
- result[idx] = sliceByColumn(result[idx], 0, termWidth, true);
559
- }
560
- }
561
- return result;
562
- }
563
- static SEGMENT_RESET = "\x1b[0m\x1b]8;;\x07";
564
- applyLineResets(lines) {
565
- const reset = TUI.SEGMENT_RESET;
566
- for (let i = 0; i < lines.length; i++) {
567
- const line = lines[i];
568
- if (!isImageLine(line)) {
569
- lines[i] = line + reset;
570
- }
571
- }
572
- return lines;
573
- }
574
- /** Splice overlay content into a base line at a specific column. Single-pass optimized. */
575
- compositeLineAt(baseLine, overlayLine, startCol, overlayWidth, totalWidth) {
576
- if (isImageLine(baseLine))
577
- return baseLine;
578
- // Single pass through baseLine extracts both before and after segments
579
- const afterStart = startCol + overlayWidth;
580
- const base = extractSegments(baseLine, startCol, afterStart, totalWidth - afterStart, true);
581
- // Extract overlay with width tracking (strict=true to exclude wide chars at boundary)
582
- const overlay = sliceWithWidth(overlayLine, 0, overlayWidth, true);
583
- // Pad segments to target widths
584
- const beforePad = Math.max(0, startCol - base.beforeWidth);
585
- const overlayPad = Math.max(0, overlayWidth - overlay.width);
586
- const actualBeforeWidth = Math.max(startCol, base.beforeWidth);
587
- const actualOverlayWidth = Math.max(overlayWidth, overlay.width);
588
- const afterTarget = Math.max(0, totalWidth - actualBeforeWidth - actualOverlayWidth);
589
- const afterPad = Math.max(0, afterTarget - base.afterWidth);
590
- // Compose result
591
- const r = TUI.SEGMENT_RESET;
592
- const result = base.before +
593
- " ".repeat(beforePad) +
594
- r +
595
- overlay.text +
596
- " ".repeat(overlayPad) +
597
- r +
598
- base.after +
599
- " ".repeat(afterPad);
600
- // CRITICAL: Always verify and truncate to terminal width.
601
- // This is the final safeguard against width overflow which would crash the TUI.
602
- // Width tracking can drift from actual visible width due to:
603
- // - Complex ANSI/OSC sequences (hyperlinks, colors)
604
- // - Wide characters at segment boundaries
605
- // - Edge cases in segment extraction
606
- const resultWidth = visibleWidth(result);
607
- if (resultWidth <= totalWidth) {
608
- return result;
609
- }
610
- // Truncate with strict=true to ensure we don't exceed totalWidth
611
- return sliceByColumn(result, 0, totalWidth, true);
612
- }
613
- /**
614
- * Find and extract cursor position from rendered lines.
615
- * Searches for CURSOR_MARKER, calculates its position, and strips it from the output.
616
- * Only scans the bottom terminal height lines (visible viewport).
617
- * @param lines - Rendered lines to search
618
- * @param height - Terminal height (visible viewport size)
619
- * @returns Cursor position { row, col } or null if no marker found
620
- */
621
- extractCursorPosition(lines, height) {
622
- // Only scan the bottom `height` lines (visible viewport)
623
- const viewportTop = Math.max(0, lines.length - height);
624
- for (let row = lines.length - 1; row >= viewportTop; row--) {
625
- const line = lines[row];
626
- const markerIndex = line.indexOf(CURSOR_MARKER);
627
- if (markerIndex !== -1) {
628
- // Calculate visual column (width of text before marker)
629
- const beforeMarker = line.slice(0, markerIndex);
630
- const col = visibleWidth(beforeMarker);
631
- // Strip marker from the line
632
- lines[row] = line.slice(0, markerIndex) + line.slice(markerIndex + CURSOR_MARKER.length);
633
- return { row, col };
634
- }
635
- }
636
- return null;
637
- }
638
- doRender() {
639
- if (this.stopped)
640
- return;
641
- const width = this.terminal.columns;
642
- const height = this.terminal.rows;
643
- let viewportTop = Math.max(0, this.maxLinesRendered - height);
644
- let prevViewportTop = this.previousViewportTop;
645
- let hardwareCursorRow = this.hardwareCursorRow;
646
- const computeLineDiff = (targetRow) => {
647
- const currentScreenRow = hardwareCursorRow - prevViewportTop;
648
- const targetScreenRow = targetRow - viewportTop;
649
- return targetScreenRow - currentScreenRow;
650
- };
651
- // Render all components to get new lines
652
- let newLines = this.render(width);
653
- // Composite overlays into the rendered lines (before differential compare)
654
- if (this.overlayStack.length > 0) {
655
- newLines = this.compositeOverlays(newLines, width, height);
656
- }
657
- // Extract cursor position before applying line resets (marker must be found first)
658
- const cursorPos = this.extractCursorPosition(newLines, height);
659
- newLines = this.applyLineResets(newLines);
660
- // Width changed - need full re-render (line wrapping changes)
661
- const widthChanged = this.previousWidth !== 0 && this.previousWidth !== width;
662
- // Helper to clear scrollback and viewport and render all new lines
663
- const fullRender = (clear) => {
664
- this.fullRedrawCount += 1;
665
- let buffer = "\x1b[?2026h"; // Begin synchronized output
666
- if (clear)
667
- buffer += "\x1b[3J\x1b[2J\x1b[H"; // Clear scrollback, screen, and home
668
- for (let i = 0; i < newLines.length; i++) {
669
- if (i > 0)
670
- buffer += "\r\n";
671
- buffer += newLines[i];
672
- }
673
- buffer += "\x1b[?2026l"; // End synchronized output
674
- this.terminal.write(buffer);
675
- this.cursorRow = Math.max(0, newLines.length - 1);
676
- this.hardwareCursorRow = this.cursorRow;
677
- // Reset max lines when clearing, otherwise track growth
678
- if (clear) {
679
- this.maxLinesRendered = newLines.length;
680
- }
681
- else {
682
- this.maxLinesRendered = Math.max(this.maxLinesRendered, newLines.length);
683
- }
684
- this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
685
- this.positionHardwareCursor(cursorPos, newLines.length);
686
- this.previousLines = newLines;
687
- this.previousWidth = width;
688
- };
689
- const debugRedraw = process.env.PI_DEBUG_REDRAW === "1";
690
- const logRedraw = (reason) => {
691
- if (!debugRedraw)
692
- return;
693
- const logPath = path.join(os.homedir(), ".pi", "agent", "pi-debug.log");
694
- const msg = `[${new Date().toISOString()}] fullRender: ${reason} (prev=${this.previousLines.length}, new=${newLines.length}, height=${height})\n`;
695
- fs.appendFileSync(logPath, msg);
696
- };
697
- // First render - just output everything without clearing (assumes clean screen)
698
- if (this.previousLines.length === 0 && !widthChanged) {
699
- logRedraw("first render");
700
- fullRender(false);
701
- return;
702
- }
703
- // Width changed - full re-render (line wrapping changes)
704
- if (widthChanged) {
705
- logRedraw(`width changed (${this.previousWidth} -> ${width})`);
706
- fullRender(true);
707
- return;
708
- }
709
- // Content shrunk below the working area and no overlays - re-render to clear empty rows
710
- // (overlays need the padding, so only do this when no overlays are active)
711
- // Configurable via setClearOnShrink() or PI_CLEAR_ON_SHRINK=0 env var
712
- if (this.clearOnShrink && newLines.length < this.maxLinesRendered && this.overlayStack.length === 0) {
713
- logRedraw(`clearOnShrink (maxLinesRendered=${this.maxLinesRendered})`);
714
- fullRender(true);
715
- return;
716
- }
717
- // Find first and last changed lines
718
- let firstChanged = -1;
719
- let lastChanged = -1;
720
- const maxLines = Math.max(newLines.length, this.previousLines.length);
721
- for (let i = 0; i < maxLines; i++) {
722
- const oldLine = i < this.previousLines.length ? this.previousLines[i] : "";
723
- const newLine = i < newLines.length ? newLines[i] : "";
724
- if (oldLine !== newLine) {
725
- if (firstChanged === -1) {
726
- firstChanged = i;
727
- }
728
- lastChanged = i;
729
- }
730
- }
731
- const appendedLines = newLines.length > this.previousLines.length;
732
- if (appendedLines) {
733
- if (firstChanged === -1) {
734
- firstChanged = this.previousLines.length;
735
- }
736
- lastChanged = newLines.length - 1;
737
- }
738
- const appendStart = appendedLines && firstChanged === this.previousLines.length && firstChanged > 0;
739
- // No changes - but still need to update hardware cursor position if it moved
407
+ const maxRow = Math.max(0, availHeight - effectiveHeight);
408
+ const percent = parseFloat(match[1]) / 100;
409
+ row = marginTop + Math.floor(maxRow * percent);
410
+ } else {
411
+ // Invalid format, fall back to center
412
+ row = this.resolveAnchorRow('center', effectiveHeight, availHeight, marginTop);
413
+ }
414
+ } else {
415
+ // Absolute row position
416
+ row = opt.row;
417
+ }
418
+ } else {
419
+ // Anchor-based (default: center)
420
+ const anchor = opt.anchor ?? 'center';
421
+ row = this.resolveAnchorRow(anchor, effectiveHeight, availHeight, marginTop);
422
+ }
423
+ if (opt.col !== undefined) {
424
+ if (typeof opt.col === 'string') {
425
+ // Percentage: 0% = left, 100% = right (overlay stays within bounds)
426
+ const match = opt.col.match(/^(\d+(?:\.\d+)?)%$/);
427
+ if (match) {
428
+ const maxCol = Math.max(0, availWidth - width);
429
+ const percent = parseFloat(match[1]) / 100;
430
+ col = marginLeft + Math.floor(maxCol * percent);
431
+ } else {
432
+ // Invalid format, fall back to center
433
+ col = this.resolveAnchorCol('center', width, availWidth, marginLeft);
434
+ }
435
+ } else {
436
+ // Absolute column position
437
+ col = opt.col;
438
+ }
439
+ } else {
440
+ // Anchor-based (default: center)
441
+ const anchor = opt.anchor ?? 'center';
442
+ col = this.resolveAnchorCol(anchor, width, availWidth, marginLeft);
443
+ }
444
+ // Apply offsets
445
+ if (opt.offsetY !== undefined) row += opt.offsetY;
446
+ if (opt.offsetX !== undefined) col += opt.offsetX;
447
+ // Clamp to terminal bounds (respecting margins)
448
+ row = Math.max(marginTop, Math.min(row, termHeight - marginBottom - effectiveHeight));
449
+ col = Math.max(marginLeft, Math.min(col, termWidth - marginRight - width));
450
+ return { width, row, col, maxHeight };
451
+ }
452
+ resolveAnchorRow(anchor, height, availHeight, marginTop) {
453
+ switch (anchor) {
454
+ case 'top-left':
455
+ case 'top-center':
456
+ case 'top-right':
457
+ return marginTop;
458
+ case 'bottom-left':
459
+ case 'bottom-center':
460
+ case 'bottom-right':
461
+ return marginTop + availHeight - height;
462
+ case 'left-center':
463
+ case 'center':
464
+ case 'right-center':
465
+ return marginTop + Math.floor((availHeight - height) / 2);
466
+ }
467
+ }
468
+ resolveAnchorCol(anchor, width, availWidth, marginLeft) {
469
+ switch (anchor) {
470
+ case 'top-left':
471
+ case 'left-center':
472
+ case 'bottom-left':
473
+ return marginLeft;
474
+ case 'top-right':
475
+ case 'right-center':
476
+ case 'bottom-right':
477
+ return marginLeft + availWidth - width;
478
+ case 'top-center':
479
+ case 'center':
480
+ case 'bottom-center':
481
+ return marginLeft + Math.floor((availWidth - width) / 2);
482
+ }
483
+ }
484
+ /** Composite all overlays into content lines (in stack order, later = on top). */
485
+ compositeOverlays(lines, termWidth, termHeight) {
486
+ if (this.overlayStack.length === 0) return lines;
487
+ const result = [...lines];
488
+ // Pre-render all visible overlays and calculate positions
489
+ const rendered = [];
490
+ let minLinesNeeded = result.length;
491
+ for (const entry of this.overlayStack) {
492
+ // Skip invisible overlays (hidden or visible() returns false)
493
+ if (!this.isOverlayVisible(entry)) continue;
494
+ const { component, options } = entry;
495
+ // Get layout with height=0 first to determine width and maxHeight
496
+ // (width and maxHeight don't depend on overlay height)
497
+ const { width, maxHeight } = this.resolveOverlayLayout(options, 0, termWidth, termHeight);
498
+ // Render component at calculated width
499
+ let overlayLines = component.render(width);
500
+ // Apply maxHeight if specified
501
+ if (maxHeight !== undefined && overlayLines.length > maxHeight) {
502
+ overlayLines = overlayLines.slice(0, maxHeight);
503
+ }
504
+ // Get final row/col with actual overlay height
505
+ const { row, col } = this.resolveOverlayLayout(
506
+ options,
507
+ overlayLines.length,
508
+ termWidth,
509
+ termHeight
510
+ );
511
+ rendered.push({ overlayLines, row, col, w: width });
512
+ minLinesNeeded = Math.max(minLinesNeeded, row + overlayLines.length);
513
+ }
514
+ // Ensure result covers the terminal working area to keep overlay positioning stable across resizes.
515
+ // maxLinesRendered can exceed current content length after a shrink; pad to keep viewportStart consistent.
516
+ const workingHeight = Math.max(this.maxLinesRendered, minLinesNeeded);
517
+ // Extend result with empty lines if content is too short for overlay placement or working area
518
+ while (result.length < workingHeight) {
519
+ result.push('');
520
+ }
521
+ const viewportStart = Math.max(0, workingHeight - termHeight);
522
+ // Track which lines were modified for final verification
523
+ const modifiedLines = new Set();
524
+ // Composite each overlay
525
+ for (const { overlayLines, row, col, w } of rendered) {
526
+ for (let i = 0; i < overlayLines.length; i++) {
527
+ const idx = viewportStart + row + i;
528
+ if (idx >= 0 && idx < result.length) {
529
+ // Defensive: truncate overlay line to declared width before compositing
530
+ // (components should already respect width, but this ensures it)
531
+ const truncatedOverlayLine =
532
+ visibleWidth(overlayLines[i]) > w
533
+ ? sliceByColumn(overlayLines[i], 0, w, true)
534
+ : overlayLines[i];
535
+ result[idx] = this.compositeLineAt(result[idx], truncatedOverlayLine, col, w, termWidth);
536
+ modifiedLines.add(idx);
537
+ }
538
+ }
539
+ }
540
+ // Final verification: ensure no composited line exceeds terminal width
541
+ // This is a belt-and-suspenders safeguard - compositeLineAt should already
542
+ // guarantee this, but we verify here to prevent crashes from any edge cases
543
+ // Only check lines that were actually modified (optimization)
544
+ for (const idx of modifiedLines) {
545
+ const lineWidth = visibleWidth(result[idx]);
546
+ if (lineWidth > termWidth) {
547
+ result[idx] = sliceByColumn(result[idx], 0, termWidth, true);
548
+ }
549
+ }
550
+ return result;
551
+ }
552
+ static SEGMENT_RESET = '\x1b[0m\x1b]8;;\x07';
553
+ applyLineResets(lines) {
554
+ const reset = TUI.SEGMENT_RESET;
555
+ for (let i = 0; i < lines.length; i++) {
556
+ const line = lines[i];
557
+ if (!isImageLine(line)) {
558
+ lines[i] = line + reset;
559
+ }
560
+ }
561
+ return lines;
562
+ }
563
+ /** Splice overlay content into a base line at a specific column. Single-pass optimized. */
564
+ compositeLineAt(baseLine, overlayLine, startCol, overlayWidth, totalWidth) {
565
+ if (isImageLine(baseLine)) return baseLine;
566
+ // Single pass through baseLine extracts both before and after segments
567
+ const afterStart = startCol + overlayWidth;
568
+ const base = extractSegments(baseLine, startCol, afterStart, totalWidth - afterStart, true);
569
+ // Extract overlay with width tracking (strict=true to exclude wide chars at boundary)
570
+ const overlay = sliceWithWidth(overlayLine, 0, overlayWidth, true);
571
+ // Pad segments to target widths
572
+ const beforePad = Math.max(0, startCol - base.beforeWidth);
573
+ const overlayPad = Math.max(0, overlayWidth - overlay.width);
574
+ const actualBeforeWidth = Math.max(startCol, base.beforeWidth);
575
+ const actualOverlayWidth = Math.max(overlayWidth, overlay.width);
576
+ const afterTarget = Math.max(0, totalWidth - actualBeforeWidth - actualOverlayWidth);
577
+ const afterPad = Math.max(0, afterTarget - base.afterWidth);
578
+ // Compose result
579
+ const r = TUI.SEGMENT_RESET;
580
+ const result =
581
+ base.before +
582
+ ' '.repeat(beforePad) +
583
+ r +
584
+ overlay.text +
585
+ ' '.repeat(overlayPad) +
586
+ r +
587
+ base.after +
588
+ ' '.repeat(afterPad);
589
+ // CRITICAL: Always verify and truncate to terminal width.
590
+ // This is the final safeguard against width overflow which would crash the TUI.
591
+ // Width tracking can drift from actual visible width due to:
592
+ // - Complex ANSI/OSC sequences (hyperlinks, colors)
593
+ // - Wide characters at segment boundaries
594
+ // - Edge cases in segment extraction
595
+ const resultWidth = visibleWidth(result);
596
+ if (resultWidth <= totalWidth) {
597
+ return result;
598
+ }
599
+ // Truncate with strict=true to ensure we don't exceed totalWidth
600
+ return sliceByColumn(result, 0, totalWidth, true);
601
+ }
602
+ /**
603
+ * Find and extract cursor position from rendered lines.
604
+ * Searches for CURSOR_MARKER, calculates its position, and strips it from the output.
605
+ * Only scans the bottom terminal height lines (visible viewport).
606
+ * @param lines - Rendered lines to search
607
+ * @param height - Terminal height (visible viewport size)
608
+ * @returns Cursor position { row, col } or null if no marker found
609
+ */
610
+ extractCursorPosition(lines, height) {
611
+ // Only scan the bottom `height` lines (visible viewport)
612
+ const viewportTop = Math.max(0, lines.length - height);
613
+ for (let row = lines.length - 1; row >= viewportTop; row--) {
614
+ const line = lines[row];
615
+ const markerIndex = line.indexOf(CURSOR_MARKER);
616
+ if (markerIndex !== -1) {
617
+ // Calculate visual column (width of text before marker)
618
+ const beforeMarker = line.slice(0, markerIndex);
619
+ const col = visibleWidth(beforeMarker);
620
+ // Strip marker from the line
621
+ lines[row] = line.slice(0, markerIndex) + line.slice(markerIndex + CURSOR_MARKER.length);
622
+ return { row, col };
623
+ }
624
+ }
625
+ return null;
626
+ }
627
+ doRender() {
628
+ if (this.stopped) return;
629
+ const width = this.terminal.columns;
630
+ const height = this.terminal.rows;
631
+ let viewportTop = Math.max(0, this.maxLinesRendered - height);
632
+ let prevViewportTop = this.previousViewportTop;
633
+ let hardwareCursorRow = this.hardwareCursorRow;
634
+ const computeLineDiff = (targetRow) => {
635
+ const currentScreenRow = hardwareCursorRow - prevViewportTop;
636
+ const targetScreenRow = targetRow - viewportTop;
637
+ return targetScreenRow - currentScreenRow;
638
+ };
639
+ // Render all components to get new lines
640
+ let newLines = this.render(width);
641
+ // Composite overlays into the rendered lines (before differential compare)
642
+ if (this.overlayStack.length > 0) {
643
+ newLines = this.compositeOverlays(newLines, width, height);
644
+ }
645
+ // Extract cursor position before applying line resets (marker must be found first)
646
+ const cursorPos = this.extractCursorPosition(newLines, height);
647
+ newLines = this.applyLineResets(newLines);
648
+ // Width changed - need full re-render (line wrapping changes)
649
+ const widthChanged = this.previousWidth !== 0 && this.previousWidth !== width;
650
+ // Helper to clear scrollback and viewport and render all new lines
651
+ const fullRender = (clear) => {
652
+ this.fullRedrawCount += 1;
653
+ let buffer = '\x1b[?2026h'; // Begin synchronized output
654
+ if (clear) buffer += '\x1b[3J\x1b[2J\x1b[H'; // Clear scrollback, screen, and home
655
+ for (let i = 0; i < newLines.length; i++) {
656
+ if (i > 0) buffer += '\r\n';
657
+ buffer += newLines[i];
658
+ }
659
+ buffer += '\x1b[?2026l'; // End synchronized output
660
+ this.terminal.write(buffer);
661
+ this.cursorRow = Math.max(0, newLines.length - 1);
662
+ this.hardwareCursorRow = this.cursorRow;
663
+ // Reset max lines when clearing, otherwise track growth
664
+ if (clear) {
665
+ this.maxLinesRendered = newLines.length;
666
+ } else {
667
+ this.maxLinesRendered = Math.max(this.maxLinesRendered, newLines.length);
668
+ }
669
+ this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
670
+ this.positionHardwareCursor(cursorPos, newLines.length);
671
+ this.previousLines = newLines;
672
+ this.previousWidth = width;
673
+ };
674
+ const debugRedraw = process.env.PI_DEBUG_REDRAW === '1';
675
+ const logRedraw = (reason) => {
676
+ if (!debugRedraw) return;
677
+ const logPath = path.join(os.homedir(), '.pi', 'agent', 'pi-debug.log');
678
+ const msg = `[${new Date().toISOString()}] fullRender: ${reason} (prev=${this.previousLines.length}, new=${newLines.length}, height=${height})\n`;
679
+ fs.appendFileSync(logPath, msg);
680
+ };
681
+ // First render - just output everything without clearing (assumes clean screen)
682
+ if (this.previousLines.length === 0 && !widthChanged) {
683
+ logRedraw('first render');
684
+ fullRender(false);
685
+ return;
686
+ }
687
+ // Width changed - full re-render (line wrapping changes)
688
+ if (widthChanged) {
689
+ logRedraw(`width changed (${this.previousWidth} -> ${width})`);
690
+ fullRender(true);
691
+ return;
692
+ }
693
+ // Content shrunk below the working area and no overlays - re-render to clear empty rows
694
+ // (overlays need the padding, so only do this when no overlays are active)
695
+ // Configurable via setClearOnShrink() or PI_CLEAR_ON_SHRINK=0 env var
696
+ if (
697
+ this.clearOnShrink &&
698
+ newLines.length < this.maxLinesRendered &&
699
+ this.overlayStack.length === 0
700
+ ) {
701
+ logRedraw(`clearOnShrink (maxLinesRendered=${this.maxLinesRendered})`);
702
+ fullRender(true);
703
+ return;
704
+ }
705
+ // Find first and last changed lines
706
+ let firstChanged = -1;
707
+ let lastChanged = -1;
708
+ const maxLines = Math.max(newLines.length, this.previousLines.length);
709
+ for (let i = 0; i < maxLines; i++) {
710
+ const oldLine = i < this.previousLines.length ? this.previousLines[i] : '';
711
+ const newLine = i < newLines.length ? newLines[i] : '';
712
+ if (oldLine !== newLine) {
740
713
  if (firstChanged === -1) {
741
- this.positionHardwareCursor(cursorPos, newLines.length);
742
- this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
743
- return;
744
- }
745
- // All changes are in deleted lines (nothing to render, just clear)
746
- if (firstChanged >= newLines.length) {
747
- if (this.previousLines.length > newLines.length) {
748
- let buffer = "\x1b[?2026h";
749
- // Move to end of new content (clamp to 0 for empty content)
750
- const targetRow = Math.max(0, newLines.length - 1);
751
- const lineDiff = computeLineDiff(targetRow);
752
- if (lineDiff > 0)
753
- buffer += `\x1b[${lineDiff}B`;
754
- else if (lineDiff < 0)
755
- buffer += `\x1b[${-lineDiff}A`;
756
- buffer += "\r";
757
- // Clear extra lines without scrolling
758
- const extraLines = this.previousLines.length - newLines.length;
759
- if (extraLines > height) {
760
- logRedraw(`extraLines > height (${extraLines} > ${height})`);
761
- fullRender(true);
762
- return;
763
- }
764
- if (extraLines > 0) {
765
- buffer += "\x1b[1B";
766
- }
767
- for (let i = 0; i < extraLines; i++) {
768
- buffer += "\r\x1b[2K";
769
- if (i < extraLines - 1)
770
- buffer += "\x1b[1B";
771
- }
772
- if (extraLines > 0) {
773
- buffer += `\x1b[${extraLines}A`;
774
- }
775
- buffer += "\x1b[?2026l";
776
- this.terminal.write(buffer);
777
- this.cursorRow = targetRow;
778
- this.hardwareCursorRow = targetRow;
779
- }
780
- this.positionHardwareCursor(cursorPos, newLines.length);
781
- this.previousLines = newLines;
782
- this.previousWidth = width;
783
- this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
784
- return;
785
- }
786
- // Check if firstChanged is above what was previously visible
787
- // Use previousLines.length (not maxLinesRendered) to avoid false positives after content shrinks
788
- const previousContentViewportTop = Math.max(0, this.previousLines.length - height);
789
- if (firstChanged < previousContentViewportTop) {
790
- // First change is above previous viewport - need full re-render
791
- logRedraw(`firstChanged < viewportTop (${firstChanged} < ${previousContentViewportTop})`);
792
- fullRender(true);
793
- return;
794
- }
795
- // Render from first changed line to end
796
- // Build buffer with all updates wrapped in synchronized output
797
- let buffer = "\x1b[?2026h"; // Begin synchronized output
798
- const prevViewportBottom = prevViewportTop + height - 1;
799
- const moveTargetRow = appendStart ? firstChanged - 1 : firstChanged;
800
- if (moveTargetRow > prevViewportBottom) {
801
- const currentScreenRow = Math.max(0, Math.min(height - 1, hardwareCursorRow - prevViewportTop));
802
- const moveToBottom = height - 1 - currentScreenRow;
803
- if (moveToBottom > 0) {
804
- buffer += `\x1b[${moveToBottom}B`;
805
- }
806
- const scroll = moveTargetRow - prevViewportBottom;
807
- buffer += "\r\n".repeat(scroll);
808
- prevViewportTop += scroll;
809
- viewportTop += scroll;
810
- hardwareCursorRow = moveTargetRow;
811
- }
812
- // Move cursor to first changed line (use hardwareCursorRow for actual position)
813
- const lineDiff = computeLineDiff(moveTargetRow);
814
- if (lineDiff > 0) {
815
- buffer += `\x1b[${lineDiff}B`; // Move down
816
- }
817
- else if (lineDiff < 0) {
818
- buffer += `\x1b[${-lineDiff}A`; // Move up
819
- }
820
- buffer += appendStart ? "\r\n" : "\r"; // Move to column 0
821
- // Only render changed lines (firstChanged to lastChanged), not all lines to end
822
- // This reduces flicker when only a single line changes (e.g., spinner animation)
823
- const renderEnd = Math.min(lastChanged, newLines.length - 1);
824
- for (let i = firstChanged; i <= renderEnd; i++) {
825
- if (i > firstChanged)
826
- buffer += "\r\n";
827
- buffer += "\x1b[2K"; // Clear current line
828
- const line = newLines[i];
829
- const isImage = isImageLine(line);
830
- if (!isImage && visibleWidth(line) > width) {
831
- // Log all lines to crash file for debugging
832
- const crashLogPath = path.join(os.homedir(), ".pi", "agent", "pi-crash.log");
833
- const crashData = [
834
- `Crash at ${new Date().toISOString()}`,
835
- `Terminal width: ${width}`,
836
- `Line ${i} visible width: ${visibleWidth(line)}`,
837
- "",
838
- "=== All rendered lines ===",
839
- ...newLines.map((l, idx) => `[${idx}] (w=${visibleWidth(l)}) ${l}`),
840
- "",
841
- ].join("\n");
842
- fs.mkdirSync(path.dirname(crashLogPath), { recursive: true });
843
- fs.writeFileSync(crashLogPath, crashData);
844
- // Clean up terminal state before throwing
845
- this.stop();
846
- const errorMsg = [
847
- `Rendered line ${i} exceeds terminal width (${visibleWidth(line)} > ${width}).`,
848
- "",
849
- "This is likely caused by a custom TUI component not truncating its output.",
850
- "Use visibleWidth() to measure and truncateToWidth() to truncate lines.",
851
- "",
852
- `Debug log written to: ${crashLogPath}`,
853
- ].join("\n");
854
- throw new Error(errorMsg);
855
- }
856
- buffer += line;
857
- }
858
- // Track where cursor ended up after rendering
859
- let finalCursorRow = renderEnd;
860
- // If we had more lines before, clear them and move cursor back
861
- if (this.previousLines.length > newLines.length) {
862
- // Move to end of new content first if we stopped before it
863
- if (renderEnd < newLines.length - 1) {
864
- const moveDown = newLines.length - 1 - renderEnd;
865
- buffer += `\x1b[${moveDown}B`;
866
- finalCursorRow = newLines.length - 1;
867
- }
868
- const extraLines = this.previousLines.length - newLines.length;
869
- for (let i = newLines.length; i < this.previousLines.length; i++) {
870
- buffer += "\r\n\x1b[2K";
871
- }
872
- // Move cursor back to end of new content
873
- buffer += `\x1b[${extraLines}A`;
874
- }
875
- buffer += "\x1b[?2026l"; // End synchronized output
876
- if (process.env.PI_TUI_DEBUG === "1") {
877
- const debugDir = "/tmp/tui";
878
- fs.mkdirSync(debugDir, { recursive: true });
879
- const debugPath = path.join(debugDir, `render-${Date.now()}-${Math.random().toString(36).slice(2)}.log`);
880
- const debugData = [
881
- `firstChanged: ${firstChanged}`,
882
- `viewportTop: ${viewportTop}`,
883
- `cursorRow: ${this.cursorRow}`,
884
- `height: ${height}`,
885
- `lineDiff: ${lineDiff}`,
886
- `hardwareCursorRow: ${hardwareCursorRow}`,
887
- `renderEnd: ${renderEnd}`,
888
- `finalCursorRow: ${finalCursorRow}`,
889
- `cursorPos: ${JSON.stringify(cursorPos)}`,
890
- `newLines.length: ${newLines.length}`,
891
- `previousLines.length: ${this.previousLines.length}`,
892
- "",
893
- "=== newLines ===",
894
- JSON.stringify(newLines, null, 2),
895
- "",
896
- "=== previousLines ===",
897
- JSON.stringify(this.previousLines, null, 2),
898
- "",
899
- "=== buffer ===",
900
- JSON.stringify(buffer),
901
- ].join("\n");
902
- fs.writeFileSync(debugPath, debugData);
903
- }
904
- // Write entire buffer at once
714
+ firstChanged = i;
715
+ }
716
+ lastChanged = i;
717
+ }
718
+ }
719
+ const appendedLines = newLines.length > this.previousLines.length;
720
+ if (appendedLines) {
721
+ if (firstChanged === -1) {
722
+ firstChanged = this.previousLines.length;
723
+ }
724
+ lastChanged = newLines.length - 1;
725
+ }
726
+ const appendStart =
727
+ appendedLines && firstChanged === this.previousLines.length && firstChanged > 0;
728
+ // No changes - but still need to update hardware cursor position if it moved
729
+ if (firstChanged === -1) {
730
+ this.positionHardwareCursor(cursorPos, newLines.length);
731
+ this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
732
+ return;
733
+ }
734
+ // All changes are in deleted lines (nothing to render, just clear)
735
+ if (firstChanged >= newLines.length) {
736
+ if (this.previousLines.length > newLines.length) {
737
+ let buffer = '\x1b[?2026h';
738
+ // Move to end of new content (clamp to 0 for empty content)
739
+ const targetRow = Math.max(0, newLines.length - 1);
740
+ const lineDiff = computeLineDiff(targetRow);
741
+ if (lineDiff > 0) buffer += `\x1b[${lineDiff}B`;
742
+ else if (lineDiff < 0) buffer += `\x1b[${-lineDiff}A`;
743
+ buffer += '\r';
744
+ // Clear extra lines without scrolling
745
+ const extraLines = this.previousLines.length - newLines.length;
746
+ if (extraLines > height) {
747
+ logRedraw(`extraLines > height (${extraLines} > ${height})`);
748
+ fullRender(true);
749
+ return;
750
+ }
751
+ if (extraLines > 0) {
752
+ buffer += '\x1b[1B';
753
+ }
754
+ for (let i = 0; i < extraLines; i++) {
755
+ buffer += '\r\x1b[2K';
756
+ if (i < extraLines - 1) buffer += '\x1b[1B';
757
+ }
758
+ if (extraLines > 0) {
759
+ buffer += `\x1b[${extraLines}A`;
760
+ }
761
+ buffer += '\x1b[?2026l';
905
762
  this.terminal.write(buffer);
906
- // Track cursor position for next render
907
- // cursorRow tracks end of content (for viewport calculation)
908
- // hardwareCursorRow tracks actual terminal cursor position (for movement)
909
- this.cursorRow = Math.max(0, newLines.length - 1);
910
- this.hardwareCursorRow = finalCursorRow;
911
- // Track terminal's working area (grows but doesn't shrink unless cleared)
912
- this.maxLinesRendered = Math.max(this.maxLinesRendered, newLines.length);
913
- this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
914
- // Position hardware cursor for IME
915
- this.positionHardwareCursor(cursorPos, newLines.length);
916
- this.previousLines = newLines;
917
- this.previousWidth = width;
918
- }
919
- /**
920
- * Position the hardware cursor for IME candidate window.
921
- * @param cursorPos The cursor position extracted from rendered output, or null
922
- * @param totalLines Total number of rendered lines
923
- */
924
- positionHardwareCursor(cursorPos, totalLines) {
925
- if (!cursorPos || totalLines <= 0) {
926
- this.terminal.hideCursor();
927
- return;
928
- }
929
- // Clamp cursor position to valid range
930
- const targetRow = Math.max(0, Math.min(cursorPos.row, totalLines - 1));
931
- const targetCol = Math.max(0, cursorPos.col);
932
- // Move cursor from current position to target
933
- const rowDelta = targetRow - this.hardwareCursorRow;
934
- let buffer = "";
935
- if (rowDelta > 0) {
936
- buffer += `\x1b[${rowDelta}B`; // Move down
937
- }
938
- else if (rowDelta < 0) {
939
- buffer += `\x1b[${-rowDelta}A`; // Move up
940
- }
941
- // Move to absolute column (1-indexed)
942
- buffer += `\x1b[${targetCol + 1}G`;
943
- if (buffer) {
944
- this.terminal.write(buffer);
945
- }
763
+ this.cursorRow = targetRow;
946
764
  this.hardwareCursorRow = targetRow;
947
- if (this.showHardwareCursor) {
948
- this.terminal.showCursor();
949
- }
950
- else {
951
- this.terminal.hideCursor();
952
- }
953
- }
765
+ }
766
+ this.positionHardwareCursor(cursorPos, newLines.length);
767
+ this.previousLines = newLines;
768
+ this.previousWidth = width;
769
+ this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
770
+ return;
771
+ }
772
+ // Check if firstChanged is above what was previously visible
773
+ // Use previousLines.length (not maxLinesRendered) to avoid false positives after content shrinks
774
+ const previousContentViewportTop = Math.max(0, this.previousLines.length - height);
775
+ if (firstChanged < previousContentViewportTop) {
776
+ // First change is above previous viewport - need full re-render
777
+ logRedraw(`firstChanged < viewportTop (${firstChanged} < ${previousContentViewportTop})`);
778
+ fullRender(true);
779
+ return;
780
+ }
781
+ // Render from first changed line to end
782
+ // Build buffer with all updates wrapped in synchronized output
783
+ let buffer = '\x1b[?2026h'; // Begin synchronized output
784
+ const prevViewportBottom = prevViewportTop + height - 1;
785
+ const moveTargetRow = appendStart ? firstChanged - 1 : firstChanged;
786
+ if (moveTargetRow > prevViewportBottom) {
787
+ const currentScreenRow = Math.max(
788
+ 0,
789
+ Math.min(height - 1, hardwareCursorRow - prevViewportTop)
790
+ );
791
+ const moveToBottom = height - 1 - currentScreenRow;
792
+ if (moveToBottom > 0) {
793
+ buffer += `\x1b[${moveToBottom}B`;
794
+ }
795
+ const scroll = moveTargetRow - prevViewportBottom;
796
+ buffer += '\r\n'.repeat(scroll);
797
+ prevViewportTop += scroll;
798
+ viewportTop += scroll;
799
+ hardwareCursorRow = moveTargetRow;
800
+ }
801
+ // Move cursor to first changed line (use hardwareCursorRow for actual position)
802
+ const lineDiff = computeLineDiff(moveTargetRow);
803
+ if (lineDiff > 0) {
804
+ buffer += `\x1b[${lineDiff}B`; // Move down
805
+ } else if (lineDiff < 0) {
806
+ buffer += `\x1b[${-lineDiff}A`; // Move up
807
+ }
808
+ buffer += appendStart ? '\r\n' : '\r'; // Move to column 0
809
+ // Only render changed lines (firstChanged to lastChanged), not all lines to end
810
+ // This reduces flicker when only a single line changes (e.g., spinner animation)
811
+ const renderEnd = Math.min(lastChanged, newLines.length - 1);
812
+ for (let i = firstChanged; i <= renderEnd; i++) {
813
+ if (i > firstChanged) buffer += '\r\n';
814
+ buffer += '\x1b[2K'; // Clear current line
815
+ const line = newLines[i];
816
+ const isImage = isImageLine(line);
817
+ if (!isImage && visibleWidth(line) > width) {
818
+ // Log all lines to crash file for debugging
819
+ const crashLogPath = path.join(os.homedir(), '.pi', 'agent', 'pi-crash.log');
820
+ const crashData = [
821
+ `Crash at ${new Date().toISOString()}`,
822
+ `Terminal width: ${width}`,
823
+ `Line ${i} visible width: ${visibleWidth(line)}`,
824
+ '',
825
+ '=== All rendered lines ===',
826
+ ...newLines.map((l, idx) => `[${idx}] (w=${visibleWidth(l)}) ${l}`),
827
+ ''
828
+ ].join('\n');
829
+ fs.mkdirSync(path.dirname(crashLogPath), { recursive: true });
830
+ fs.writeFileSync(crashLogPath, crashData);
831
+ // Clean up terminal state before throwing
832
+ this.stop();
833
+ const errorMsg = [
834
+ `Rendered line ${i} exceeds terminal width (${visibleWidth(line)} > ${width}).`,
835
+ '',
836
+ 'This is likely caused by a custom TUI component not truncating its output.',
837
+ 'Use visibleWidth() to measure and truncateToWidth() to truncate lines.',
838
+ '',
839
+ `Debug log written to: ${crashLogPath}`
840
+ ].join('\n');
841
+ throw new Error(errorMsg);
842
+ }
843
+ buffer += line;
844
+ }
845
+ // Track where cursor ended up after rendering
846
+ let finalCursorRow = renderEnd;
847
+ // If we had more lines before, clear them and move cursor back
848
+ if (this.previousLines.length > newLines.length) {
849
+ // Move to end of new content first if we stopped before it
850
+ if (renderEnd < newLines.length - 1) {
851
+ const moveDown = newLines.length - 1 - renderEnd;
852
+ buffer += `\x1b[${moveDown}B`;
853
+ finalCursorRow = newLines.length - 1;
854
+ }
855
+ const extraLines = this.previousLines.length - newLines.length;
856
+ for (let i = newLines.length; i < this.previousLines.length; i++) {
857
+ buffer += '\r\n\x1b[2K';
858
+ }
859
+ // Move cursor back to end of new content
860
+ buffer += `\x1b[${extraLines}A`;
861
+ }
862
+ buffer += '\x1b[?2026l'; // End synchronized output
863
+ if (process.env.PI_TUI_DEBUG === '1') {
864
+ const debugDir = '/tmp/tui';
865
+ fs.mkdirSync(debugDir, { recursive: true });
866
+ const debugPath = path.join(
867
+ debugDir,
868
+ `render-${Date.now()}-${Math.random().toString(36).slice(2)}.log`
869
+ );
870
+ const debugData = [
871
+ `firstChanged: ${firstChanged}`,
872
+ `viewportTop: ${viewportTop}`,
873
+ `cursorRow: ${this.cursorRow}`,
874
+ `height: ${height}`,
875
+ `lineDiff: ${lineDiff}`,
876
+ `hardwareCursorRow: ${hardwareCursorRow}`,
877
+ `renderEnd: ${renderEnd}`,
878
+ `finalCursorRow: ${finalCursorRow}`,
879
+ `cursorPos: ${JSON.stringify(cursorPos)}`,
880
+ `newLines.length: ${newLines.length}`,
881
+ `previousLines.length: ${this.previousLines.length}`,
882
+ '',
883
+ '=== newLines ===',
884
+ JSON.stringify(newLines, null, 2),
885
+ '',
886
+ '=== previousLines ===',
887
+ JSON.stringify(this.previousLines, null, 2),
888
+ '',
889
+ '=== buffer ===',
890
+ JSON.stringify(buffer)
891
+ ].join('\n');
892
+ fs.writeFileSync(debugPath, debugData);
893
+ }
894
+ // Write entire buffer at once
895
+ this.terminal.write(buffer);
896
+ // Track cursor position for next render
897
+ // cursorRow tracks end of content (for viewport calculation)
898
+ // hardwareCursorRow tracks actual terminal cursor position (for movement)
899
+ this.cursorRow = Math.max(0, newLines.length - 1);
900
+ this.hardwareCursorRow = finalCursorRow;
901
+ // Track terminal's working area (grows but doesn't shrink unless cleared)
902
+ this.maxLinesRendered = Math.max(this.maxLinesRendered, newLines.length);
903
+ this.previousViewportTop = Math.max(0, this.maxLinesRendered - height);
904
+ // Position hardware cursor for IME
905
+ this.positionHardwareCursor(cursorPos, newLines.length);
906
+ this.previousLines = newLines;
907
+ this.previousWidth = width;
908
+ }
909
+ /**
910
+ * Position the hardware cursor for IME candidate window.
911
+ * @param cursorPos The cursor position extracted from rendered output, or null
912
+ * @param totalLines Total number of rendered lines
913
+ */
914
+ positionHardwareCursor(cursorPos, totalLines) {
915
+ if (!cursorPos || totalLines <= 0) {
916
+ this.terminal.hideCursor();
917
+ return;
918
+ }
919
+ // Clamp cursor position to valid range
920
+ const targetRow = Math.max(0, Math.min(cursorPos.row, totalLines - 1));
921
+ const targetCol = Math.max(0, cursorPos.col);
922
+ // Move cursor from current position to target
923
+ const rowDelta = targetRow - this.hardwareCursorRow;
924
+ let buffer = '';
925
+ if (rowDelta > 0) {
926
+ buffer += `\x1b[${rowDelta}B`; // Move down
927
+ } else if (rowDelta < 0) {
928
+ buffer += `\x1b[${-rowDelta}A`; // Move up
929
+ }
930
+ // Move to absolute column (1-indexed)
931
+ buffer += `\x1b[${targetCol + 1}G`;
932
+ if (buffer) {
933
+ this.terminal.write(buffer);
934
+ }
935
+ this.hardwareCursorRow = targetRow;
936
+ if (this.showHardwareCursor) {
937
+ this.terminal.showCursor();
938
+ } else {
939
+ this.terminal.hideCursor();
940
+ }
941
+ }
954
942
  }
955
- //# sourceMappingURL=tui.js.map
943
+ //# sourceMappingURL=tui.js.map