codexui-android 0.1.95 → 0.1.96

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 (696) hide show
  1. package/dist/assets/{ReviewPane-D1nOf7-W.js → ReviewPane-CUrlR8zS.js} +1 -1
  2. package/dist/assets/{SkillsHub-BpqR2Yu5.js → SkillsHub-BxltnLjE.js} +1 -1
  3. package/dist/assets/{ThreadConversation-DgJc2aJG.js → ThreadConversation-BNvqi1ws.js} +1 -1
  4. package/dist/assets/{ThreadTerminalPanel-Dy-oA46U.js → ThreadTerminalPanel-DjP4TSjB.js} +1 -1
  5. package/dist/assets/index-Bqk3qCGk.js +64 -0
  6. package/dist/assets/{index-Dj8HigAf.css → index-CfRa3ma1.css} +1 -1
  7. package/dist/index.html +2 -2
  8. package/dist-cli/index.js +52 -67
  9. package/dist-cli/index.js.map +1 -1
  10. package/package.json +2 -3
  11. package/dist/assets/index-HcEz2bUL.js +0 -64
  12. package/vendor/node_modules/nan/.github/workflows/ci.yml +0 -52
  13. package/vendor/node_modules/nan/.pre-commit-config.yaml +0 -8
  14. package/vendor/node_modules/nan/CHANGELOG.md +0 -599
  15. package/vendor/node_modules/nan/CMakeLists.txt +0 -138
  16. package/vendor/node_modules/nan/LICENSE.md +0 -9
  17. package/vendor/node_modules/nan/README.md +0 -456
  18. package/vendor/node_modules/nan/doc/asyncworker.md +0 -146
  19. package/vendor/node_modules/nan/doc/buffers.md +0 -54
  20. package/vendor/node_modules/nan/doc/callback.md +0 -76
  21. package/vendor/node_modules/nan/doc/converters.md +0 -41
  22. package/vendor/node_modules/nan/doc/errors.md +0 -226
  23. package/vendor/node_modules/nan/doc/json.md +0 -62
  24. package/vendor/node_modules/nan/doc/maybe_types.md +0 -583
  25. package/vendor/node_modules/nan/doc/methods.md +0 -689
  26. package/vendor/node_modules/nan/doc/new.md +0 -147
  27. package/vendor/node_modules/nan/doc/node_misc.md +0 -123
  28. package/vendor/node_modules/nan/doc/object_wrappers.md +0 -263
  29. package/vendor/node_modules/nan/doc/persistent.md +0 -296
  30. package/vendor/node_modules/nan/doc/scopes.md +0 -73
  31. package/vendor/node_modules/nan/doc/script.md +0 -58
  32. package/vendor/node_modules/nan/doc/string_bytes.md +0 -81
  33. package/vendor/node_modules/nan/doc/v8_internals.md +0 -199
  34. package/vendor/node_modules/nan/doc/v8_misc.md +0 -85
  35. package/vendor/node_modules/nan/include_dirs.js +0 -1
  36. package/vendor/node_modules/nan/nan.h +0 -3202
  37. package/vendor/node_modules/nan/nan_callbacks.h +0 -141
  38. package/vendor/node_modules/nan/nan_callbacks_12_inl.h +0 -690
  39. package/vendor/node_modules/nan/nan_callbacks_pre_12_inl.h +0 -524
  40. package/vendor/node_modules/nan/nan_converters.h +0 -72
  41. package/vendor/node_modules/nan/nan_converters_43_inl.h +0 -68
  42. package/vendor/node_modules/nan/nan_converters_pre_43_inl.h +0 -42
  43. package/vendor/node_modules/nan/nan_define_own_property_helper.h +0 -29
  44. package/vendor/node_modules/nan/nan_implementation_12_inl.h +0 -430
  45. package/vendor/node_modules/nan/nan_implementation_pre_12_inl.h +0 -263
  46. package/vendor/node_modules/nan/nan_json.h +0 -166
  47. package/vendor/node_modules/nan/nan_maybe_43_inl.h +0 -360
  48. package/vendor/node_modules/nan/nan_maybe_pre_43_inl.h +0 -268
  49. package/vendor/node_modules/nan/nan_new.h +0 -340
  50. package/vendor/node_modules/nan/nan_object_wrap.h +0 -156
  51. package/vendor/node_modules/nan/nan_persistent_12_inl.h +0 -132
  52. package/vendor/node_modules/nan/nan_persistent_pre_12_inl.h +0 -242
  53. package/vendor/node_modules/nan/nan_private.h +0 -73
  54. package/vendor/node_modules/nan/nan_scriptorigin.h +0 -97
  55. package/vendor/node_modules/nan/nan_string_bytes.h +0 -305
  56. package/vendor/node_modules/nan/nan_typedarray_contents.h +0 -96
  57. package/vendor/node_modules/nan/nan_weak.h +0 -453
  58. package/vendor/node_modules/nan/package.json +0 -38
  59. package/vendor/node_modules/nan/tools/1to2.js +0 -412
  60. package/vendor/node_modules/nan/tools/README.md +0 -14
  61. package/vendor/node_modules/nan/tools/package.json +0 -19
  62. package/vendor/node_modules/node-addon-api/LICENSE.md +0 -9
  63. package/vendor/node_modules/node-addon-api/README.md +0 -319
  64. package/vendor/node_modules/node-addon-api/common.gypi +0 -20
  65. package/vendor/node_modules/node-addon-api/except.gypi +0 -25
  66. package/vendor/node_modules/node-addon-api/index.js +0 -12
  67. package/vendor/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
  68. package/vendor/node_modules/node-addon-api/napi-inl.h +0 -6607
  69. package/vendor/node_modules/node-addon-api/napi.h +0 -3201
  70. package/vendor/node_modules/node-addon-api/node_addon_api.gyp +0 -32
  71. package/vendor/node_modules/node-addon-api/node_api.gyp +0 -9
  72. package/vendor/node_modules/node-addon-api/noexcept.gypi +0 -26
  73. package/vendor/node_modules/node-addon-api/nothing.c +0 -0
  74. package/vendor/node_modules/node-addon-api/package-support.json +0 -21
  75. package/vendor/node_modules/node-addon-api/package.json +0 -480
  76. package/vendor/node_modules/node-addon-api/tools/README.md +0 -73
  77. package/vendor/node_modules/node-addon-api/tools/check-napi.js +0 -99
  78. package/vendor/node_modules/node-addon-api/tools/clang-format.js +0 -71
  79. package/vendor/node_modules/node-addon-api/tools/conversion.js +0 -301
  80. package/vendor/node_modules/node-addon-api/tools/eslint-format.js +0 -79
  81. package/vendor/node_modules/node-pty/LICENSE +0 -69
  82. package/vendor/node_modules/node-pty/README.md +0 -165
  83. package/vendor/node_modules/node-pty/binding.gyp +0 -111
  84. package/vendor/node_modules/node-pty/deps/.editorconfig +0 -2
  85. package/vendor/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
  86. package/vendor/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
  87. package/vendor/node_modules/node-pty/deps/winpty/LICENSE +0 -21
  88. package/vendor/node_modules/node-pty/deps/winpty/Makefile +0 -166
  89. package/vendor/node_modules/node-pty/deps/winpty/README.md +0 -151
  90. package/vendor/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
  91. package/vendor/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
  92. package/vendor/node_modules/node-pty/deps/winpty/configure +0 -167
  93. package/vendor/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
  94. package/vendor/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
  95. package/vendor/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
  96. package/vendor/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
  97. package/vendor/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
  98. package/vendor/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
  99. package/vendor/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
  100. package/vendor/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
  101. package/vendor/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
  102. package/vendor/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
  103. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
  104. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
  105. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
  106. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
  107. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
  108. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
  109. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
  110. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
  111. package/vendor/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
  112. package/vendor/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
  113. package/vendor/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
  114. package/vendor/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
  115. package/vendor/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
  116. package/vendor/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
  117. package/vendor/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
  118. package/vendor/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
  119. package/vendor/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
  120. package/vendor/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
  121. package/vendor/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
  122. package/vendor/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
  123. package/vendor/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
  124. package/vendor/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
  125. package/vendor/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
  126. package/vendor/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
  127. package/vendor/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
  128. package/vendor/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
  129. package/vendor/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
  130. package/vendor/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
  131. package/vendor/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
  132. package/vendor/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
  133. package/vendor/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
  134. package/vendor/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
  135. package/vendor/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
  136. package/vendor/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
  137. package/vendor/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
  138. package/vendor/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
  139. package/vendor/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
  140. package/vendor/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
  141. package/vendor/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
  142. package/vendor/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
  143. package/vendor/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
  144. package/vendor/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
  145. package/vendor/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
  146. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
  147. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
  148. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
  149. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
  150. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
  151. package/vendor/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
  152. package/vendor/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
  153. package/vendor/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
  154. package/vendor/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
  155. package/vendor/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
  156. package/vendor/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
  157. package/vendor/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
  158. package/vendor/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
  159. package/vendor/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
  160. package/vendor/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
  161. package/vendor/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
  162. package/vendor/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
  163. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
  164. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
  165. package/vendor/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
  166. package/vendor/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
  167. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
  168. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
  169. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
  170. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
  171. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
  172. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
  173. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
  174. package/vendor/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
  175. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
  176. package/vendor/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
  177. package/vendor/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
  178. package/vendor/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
  179. package/vendor/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
  180. package/vendor/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
  181. package/vendor/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
  182. package/vendor/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
  183. package/vendor/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
  184. package/vendor/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
  185. package/vendor/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
  186. package/vendor/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
  187. package/vendor/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
  188. package/vendor/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
  189. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
  190. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
  191. package/vendor/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
  192. package/vendor/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
  193. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
  194. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
  195. package/vendor/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
  196. package/vendor/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
  197. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
  198. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
  199. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
  200. package/vendor/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
  201. package/vendor/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
  202. package/vendor/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
  203. package/vendor/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
  204. package/vendor/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
  205. package/vendor/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
  206. package/vendor/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
  207. package/vendor/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
  208. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
  209. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
  210. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
  211. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
  212. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
  213. package/vendor/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
  214. package/vendor/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
  215. package/vendor/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
  216. package/vendor/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
  217. package/vendor/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
  218. package/vendor/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
  219. package/vendor/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
  220. package/vendor/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
  221. package/vendor/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
  222. package/vendor/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
  223. package/vendor/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
  224. package/vendor/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
  225. package/vendor/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
  226. package/vendor/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
  227. package/vendor/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
  228. package/vendor/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
  229. package/vendor/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
  230. package/vendor/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
  231. package/vendor/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
  232. package/vendor/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
  233. package/vendor/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
  234. package/vendor/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
  235. package/vendor/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
  236. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
  237. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
  238. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
  239. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
  240. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
  241. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
  242. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
  243. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
  244. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
  245. package/vendor/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
  246. package/vendor/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
  247. package/vendor/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
  248. package/vendor/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
  249. package/vendor/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
  250. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
  251. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
  252. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
  253. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
  254. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
  255. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
  256. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
  257. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
  258. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
  259. package/vendor/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
  260. package/vendor/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
  261. package/vendor/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
  262. package/vendor/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -16
  263. package/vendor/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
  264. package/vendor/node_modules/node-pty/lib/eventEmitter2.js +0 -47
  265. package/vendor/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
  266. package/vendor/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
  267. package/vendor/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
  268. package/vendor/node_modules/node-pty/lib/index.js +0 -52
  269. package/vendor/node_modules/node-pty/lib/index.js.map +0 -1
  270. package/vendor/node_modules/node-pty/lib/interfaces.js +0 -7
  271. package/vendor/node_modules/node-pty/lib/interfaces.js.map +0 -1
  272. package/vendor/node_modules/node-pty/lib/shared/conout.js +0 -11
  273. package/vendor/node_modules/node-pty/lib/shared/conout.js.map +0 -1
  274. package/vendor/node_modules/node-pty/lib/terminal.js +0 -190
  275. package/vendor/node_modules/node-pty/lib/terminal.js.map +0 -1
  276. package/vendor/node_modules/node-pty/lib/terminal.test.js +0 -139
  277. package/vendor/node_modules/node-pty/lib/terminal.test.js.map +0 -1
  278. package/vendor/node_modules/node-pty/lib/testUtils.test.js +0 -28
  279. package/vendor/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
  280. package/vendor/node_modules/node-pty/lib/types.js +0 -7
  281. package/vendor/node_modules/node-pty/lib/types.js.map +0 -1
  282. package/vendor/node_modules/node-pty/lib/unixTerminal.js +0 -346
  283. package/vendor/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
  284. package/vendor/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
  285. package/vendor/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
  286. package/vendor/node_modules/node-pty/lib/utils.js +0 -39
  287. package/vendor/node_modules/node-pty/lib/utils.js.map +0 -1
  288. package/vendor/node_modules/node-pty/lib/windowsConoutConnection.js +0 -125
  289. package/vendor/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
  290. package/vendor/node_modules/node-pty/lib/windowsPtyAgent.js +0 -320
  291. package/vendor/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
  292. package/vendor/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
  293. package/vendor/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
  294. package/vendor/node_modules/node-pty/lib/windowsTerminal.js +0 -199
  295. package/vendor/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
  296. package/vendor/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
  297. package/vendor/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
  298. package/vendor/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
  299. package/vendor/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
  300. package/vendor/node_modules/node-pty/package.json +0 -64
  301. package/vendor/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
  302. package/vendor/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
  303. package/vendor/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
  304. package/vendor/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
  305. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  306. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  307. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  308. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
  309. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  310. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
  311. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
  312. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
  313. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
  314. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
  315. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
  316. package/vendor/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
  317. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
  318. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
  319. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
  320. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
  321. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
  322. package/vendor/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
  323. package/vendor/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
  324. package/vendor/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
  325. package/vendor/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
  326. package/vendor/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
  327. package/vendor/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
  328. package/vendor/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
  329. package/vendor/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
  330. package/vendor/node_modules/node-pty/scripts/increment-version.js +0 -54
  331. package/vendor/node_modules/node-pty/scripts/post-install.js +0 -80
  332. package/vendor/node_modules/node-pty/scripts/prebuild.js +0 -34
  333. package/vendor/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
  334. package/vendor/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
  335. package/vendor/node_modules/node-pty/src/eventEmitter2.ts +0 -48
  336. package/vendor/node_modules/node-pty/src/index.ts +0 -52
  337. package/vendor/node_modules/node-pty/src/interfaces.ts +0 -130
  338. package/vendor/node_modules/node-pty/src/native.d.ts +0 -54
  339. package/vendor/node_modules/node-pty/src/shared/conout.ts +0 -15
  340. package/vendor/node_modules/node-pty/src/terminal.test.ts +0 -119
  341. package/vendor/node_modules/node-pty/src/terminal.ts +0 -211
  342. package/vendor/node_modules/node-pty/src/testUtils.test.ts +0 -23
  343. package/vendor/node_modules/node-pty/src/tsconfig.json +0 -22
  344. package/vendor/node_modules/node-pty/src/types.ts +0 -15
  345. package/vendor/node_modules/node-pty/src/unix/pty.cc +0 -799
  346. package/vendor/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
  347. package/vendor/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
  348. package/vendor/node_modules/node-pty/src/unixTerminal.ts +0 -388
  349. package/vendor/node_modules/node-pty/src/utils.ts +0 -29
  350. package/vendor/node_modules/node-pty/src/win/conpty.cc +0 -583
  351. package/vendor/node_modules/node-pty/src/win/conpty.h +0 -41
  352. package/vendor/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
  353. package/vendor/node_modules/node-pty/src/win/path_util.cc +0 -95
  354. package/vendor/node_modules/node-pty/src/win/path_util.h +0 -26
  355. package/vendor/node_modules/node-pty/src/win/winpty.cc +0 -333
  356. package/vendor/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
  357. package/vendor/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
  358. package/vendor/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
  359. package/vendor/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
  360. package/vendor/node_modules/node-pty/src/windowsTerminal.ts +0 -203
  361. package/vendor/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
  362. package/vendor/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
  363. package/vendor/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
  364. package/vendor/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
  365. package/vendor/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
  366. package/vendor/node_modules/node-pty/typings/node-pty.d.ts +0 -211
  367. package/vendor/node_modules/node-pty-prebuilt-multiarch/LICENSE +0 -69
  368. package/vendor/node_modules/node-pty-prebuilt-multiarch/README.md +0 -39
  369. package/vendor/node_modules/node-pty-prebuilt-multiarch/binding.gyp +0 -78
  370. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/.editorconfig +0 -2
  371. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/.drone.yml +0 -17
  372. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/.gitattributes +0 -19
  373. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/LICENSE +0 -21
  374. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/Makefile +0 -166
  375. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/README.md +0 -151
  376. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/RELEASES.md +0 -280
  377. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/VERSION.txt +0 -1
  378. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/configure +0 -167
  379. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/BufferResizeTests.cc +0 -90
  380. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
  381. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ClearConsole.cc +0 -72
  382. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConinMode.cc +0 -117
  383. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConinMode.ps1 +0 -116
  384. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ConoutMode.cc +0 -113
  385. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DebugClient.py +0 -42
  386. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DebugServer.py +0 -63
  387. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/DumpLines.py +0 -5
  388. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
  389. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
  390. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
  391. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
  392. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
  393. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
  394. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
  395. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
  396. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
  397. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
  398. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FontSurvey.cc +0 -100
  399. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FormatChar.h +0 -21
  400. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/FreezePerfTest.cc +0 -62
  401. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetCh.cc +0 -20
  402. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetConsolePos.cc +0 -41
  403. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/GetFont.cc +0 -261
  404. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
  405. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/IsNewConsole.cc +0 -87
  406. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/MouseInputNotes.txt +0 -90
  407. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
  408. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Notes.txt +0 -219
  409. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/OSVersion.cc +0 -27
  410. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
  411. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferTest.cc +0 -671
  412. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
  413. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SelectAllTest.cc +0 -45
  414. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetBufferSize.cc +0 -32
  415. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetCursorPos.cc +0 -10
  416. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetFont.cc +0 -145
  417. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/SetWindowRect.cc +0 -36
  418. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ShowArgv.cc +0 -12
  419. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/ShowConsoleInput.cc +0 -40
  420. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Spew.py +0 -5
  421. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/TestUtil.cc +0 -172
  422. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
  423. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
  424. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
  425. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/UnixEcho.cc +0 -89
  426. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Utf16Echo.cc +0 -46
  427. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/VeryLargeRead.cc +0 -122
  428. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/VkEscapeTest.cc +0 -56
  429. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
  430. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10WrapTest1.cc +0 -57
  431. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win10WrapTest2.cc +0 -30
  432. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Echo1.cc +0 -26
  433. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Echo2.cc +0 -19
  434. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test1.cc +0 -46
  435. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test2.cc +0 -70
  436. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Test3.cc +0 -78
  437. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/Win32Write1.cc +0 -44
  438. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
  439. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/WriteConsole.cc +0 -106
  440. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/build32.sh +0 -9
  441. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/build64.sh +0 -9
  442. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/color-test.sh +0 -212
  443. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/font-notes.txt +0 -300
  444. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/misc/winbug-15048.cc +0 -201
  445. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
  446. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/common_ship.py +0 -53
  447. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/make_msvc_package.py +0 -165
  448. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/ship/ship.py +0 -108
  449. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Agent.cc +0 -605
  450. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Agent.h +0 -103
  451. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
  452. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
  453. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleFont.cc +0 -632
  454. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleFont.h +0 -28
  455. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInput.cc +0 -852
  456. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInput.h +0 -109
  457. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
  458. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
  459. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleLine.cc +0 -152
  460. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/ConsoleLine.h +0 -41
  461. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Coord.h +0 -87
  462. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DebugShowInput.cc +0 -239
  463. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DebugShowInput.h +0 -32
  464. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
  465. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DefaultInputMap.h +0 -28
  466. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/DsrSender.h +0 -30
  467. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/EventLoop.cc +0 -99
  468. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/EventLoop.h +0 -47
  469. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/InputMap.cc +0 -246
  470. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/InputMap.h +0 -114
  471. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
  472. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
  473. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/NamedPipe.cc +0 -378
  474. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/NamedPipe.h +0 -125
  475. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Scraper.cc +0 -699
  476. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Scraper.h +0 -103
  477. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/SimplePool.h +0 -75
  478. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/SmallRect.h +0 -143
  479. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Terminal.cc +0 -535
  480. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Terminal.h +0 -69
  481. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
  482. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
  483. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32Console.cc +0 -107
  484. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32Console.h +0 -67
  485. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
  486. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
  487. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/main.cc +0 -114
  488. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/agent/subdir.mk +0 -61
  489. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/configurations.gypi +0 -60
  490. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/debugserver/DebugServer.cc +0 -117
  491. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/debugserver/subdir.mk +0 -41
  492. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/include/winpty.h +0 -242
  493. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/include/winpty_constants.h +0 -131
  494. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
  495. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
  496. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
  497. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
  498. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/subdir.mk +0 -46
  499. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/libwinpty/winpty.cc +0 -970
  500. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/AgentMsg.h +0 -38
  501. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
  502. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
  503. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Buffer.cc +0 -103
  504. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Buffer.h +0 -102
  505. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/DebugClient.cc +0 -187
  506. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/DebugClient.h +0 -38
  507. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GenRandom.cc +0 -138
  508. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GenRandom.h +0 -55
  509. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/GetCommitHash.bat +0 -13
  510. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/Mutex.h +0 -54
  511. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OsModule.h +0 -63
  512. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OwnedHandle.cc +0 -36
  513. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/OwnedHandle.h +0 -45
  514. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
  515. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringBuilder.h +0 -227
  516. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
  517. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringUtil.cc +0 -55
  518. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/StringUtil.h +0 -80
  519. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/TimeMeasurement.h +0 -63
  520. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
  521. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
  522. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
  523. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsSecurity.h +0 -104
  524. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsVersion.cc +0 -252
  525. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WindowsVersion.h +0 -29
  526. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyAssert.cc +0 -55
  527. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyAssert.h +0 -64
  528. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyException.cc +0 -57
  529. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyException.h +0 -43
  530. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyVersion.cc +0 -42
  531. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/WinptyVersion.h +0 -27
  532. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/shared/winpty_snprintf.h +0 -99
  533. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/subdir.mk +0 -5
  534. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/tests/subdir.mk +0 -28
  535. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/tests/trivial_test.cc +0 -158
  536. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
  537. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
  538. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
  539. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
  540. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/Util.cc +0 -86
  541. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/Util.h +0 -31
  542. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
  543. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
  544. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/main.cc +0 -729
  545. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/unix-adapter/subdir.mk +0 -41
  546. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/src/winpty.gyp +0 -206
  547. package/vendor/node_modules/node-pty-prebuilt-multiarch/deps/winpty/vcbuild.bat +0 -83
  548. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/conpty_console_list_agent.js +0 -20
  549. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/conpty_console_list_agent.js.map +0 -1
  550. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.js +0 -47
  551. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.js.map +0 -1
  552. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.test.js +0 -30
  553. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/eventEmitter2.test.js.map +0 -1
  554. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/index.js +0 -51
  555. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/index.js.map +0 -1
  556. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/interfaces.js +0 -7
  557. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/interfaces.js.map +0 -1
  558. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-file-path.js +0 -18
  559. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-file-path.js.map +0 -1
  560. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-loader.js +0 -19
  561. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/prebuild-loader.js.map +0 -1
  562. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/terminal.js +0 -182
  563. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/terminal.js.map +0 -1
  564. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/terminal.test.js +0 -136
  565. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/terminal.test.js.map +0 -1
  566. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/testUtils.test.js +0 -28
  567. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/testUtils.test.js.map +0 -1
  568. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/types.js +0 -7
  569. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/types.js.map +0 -1
  570. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js +0 -265
  571. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js.map +0 -1
  572. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.test.js +0 -201
  573. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.test.js.map +0 -1
  574. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/utils.js +0 -17
  575. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/utils.js.map +0 -1
  576. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js +0 -311
  577. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.js.map +0 -1
  578. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.test.js +0 -90
  579. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsPtyAgent.test.js.map +0 -1
  580. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js +0 -183
  581. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.js.map +0 -1
  582. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.test.js +0 -195
  583. package/vendor/node_modules/node-pty-prebuilt-multiarch/lib/windowsTerminal.test.js.map +0 -1
  584. package/vendor/node_modules/node-pty-prebuilt-multiarch/package.json +0 -69
  585. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi102.node +0 -0
  586. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi108.node +0 -0
  587. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi64.node +0 -0
  588. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi67.node +0 -0
  589. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi72.node +0 -0
  590. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi79.node +0 -0
  591. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi83.node +0 -0
  592. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi88.node +0 -0
  593. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-arm64/node.abi93.node +0 -0
  594. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi102.node +0 -0
  595. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi108.node +0 -0
  596. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi64.node +0 -0
  597. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi67.node +0 -0
  598. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi72.node +0 -0
  599. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi79.node +0 -0
  600. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi83.node +0 -0
  601. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi88.node +0 -0
  602. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/darwin-x64/node.abi93.node +0 -0
  603. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi102.musl.node +0 -0
  604. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi102.node +0 -0
  605. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi108.musl.node +0 -0
  606. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi108.node +0 -0
  607. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi64.musl.node +0 -0
  608. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi64.node +0 -0
  609. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi67.musl.node +0 -0
  610. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi67.node +0 -0
  611. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi72.musl.node +0 -0
  612. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi72.node +0 -0
  613. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi79.musl.node +0 -0
  614. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi79.node +0 -0
  615. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi83.musl.node +0 -0
  616. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi83.node +0 -0
  617. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi88.musl.node +0 -0
  618. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi88.node +0 -0
  619. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi93.musl.node +0 -0
  620. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm/node.abi93.node +0 -0
  621. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi102.musl.node +0 -0
  622. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi102.node +0 -0
  623. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi108.musl.node +0 -0
  624. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi108.node +0 -0
  625. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi64.musl.node +0 -0
  626. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi64.node +0 -0
  627. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi67.musl.node +0 -0
  628. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi67.node +0 -0
  629. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi72.musl.node +0 -0
  630. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi72.node +0 -0
  631. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi79.musl.node +0 -0
  632. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi79.node +0 -0
  633. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi83.musl.node +0 -0
  634. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi83.node +0 -0
  635. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi88.musl.node +0 -0
  636. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi88.node +0 -0
  637. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi93.musl.node +0 -0
  638. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-arm64/node.abi93.node +0 -0
  639. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi102.node +0 -0
  640. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi108.node +0 -0
  641. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi64.node +0 -0
  642. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi67.node +0 -0
  643. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi72.node +0 -0
  644. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi79.node +0 -0
  645. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi83.node +0 -0
  646. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi88.node +0 -0
  647. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-ia32/node.abi93.node +0 -0
  648. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi102.musl.node +0 -0
  649. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi102.node +0 -0
  650. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi108.musl.node +0 -0
  651. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi108.node +0 -0
  652. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi64.musl.node +0 -0
  653. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi64.node +0 -0
  654. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi67.musl.node +0 -0
  655. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi67.node +0 -0
  656. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi72.musl.node +0 -0
  657. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi72.node +0 -0
  658. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi79.musl.node +0 -0
  659. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi79.node +0 -0
  660. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi83.musl.node +0 -0
  661. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi83.node +0 -0
  662. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi88.musl.node +0 -0
  663. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi88.node +0 -0
  664. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi93.musl.node +0 -0
  665. package/vendor/node_modules/node-pty-prebuilt-multiarch/prebuilds/linux-x64/node.abi93.node +0 -0
  666. package/vendor/node_modules/node-pty-prebuilt-multiarch/scripts/check-prebuild.js +0 -15
  667. package/vendor/node_modules/node-pty-prebuilt-multiarch/scripts/install.js +0 -18
  668. package/vendor/node_modules/node-pty-prebuilt-multiarch/scripts/post-install.js +0 -41
  669. package/vendor/node_modules/node-pty-prebuilt-multiarch/scripts/publish.js +0 -62
  670. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/conpty_console_list_agent.ts +0 -19
  671. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/eventEmitter2.test.ts +0 -30
  672. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/eventEmitter2.ts +0 -48
  673. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/index.ts +0 -52
  674. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/interfaces.ts +0 -125
  675. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/native.d.ts +0 -54
  676. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/prebuild-file-path.ts +0 -21
  677. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/prebuild-loader.ts +0 -17
  678. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/terminal.test.ts +0 -116
  679. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/terminal.ts +0 -208
  680. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/testUtils.test.ts +0 -23
  681. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/tsconfig.json +0 -24
  682. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/types.ts +0 -15
  683. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/unix/pty.cc +0 -734
  684. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/unixTerminal.test.ts +0 -243
  685. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/unixTerminal.ts +0 -288
  686. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/utils.ts +0 -9
  687. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/win/conpty.cc +0 -455
  688. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/win/conpty_console_list.cc +0 -43
  689. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/win/path_util.cc +0 -73
  690. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/win/path_util.h +0 -22
  691. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/win/winpty.cc +0 -312
  692. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/windowsPtyAgent.test.ts +0 -94
  693. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/windowsPtyAgent.ts +0 -312
  694. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/windowsTerminal.test.ts +0 -205
  695. package/vendor/node_modules/node-pty-prebuilt-multiarch/src/windowsTerminal.ts +0 -189
  696. package/vendor/node_modules/node-pty-prebuilt-multiarch/typings/node-pty.d.ts +0 -212
@@ -1,320 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2012-2015, Christopher Jeffrey, Peter Sunde (MIT License)
4
- * Copyright (c) 2016, Daniel Imms (MIT License).
5
- * Copyright (c) 2018, Microsoft Corporation (MIT License).
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.argsToCommandLine = exports.WindowsPtyAgent = void 0;
9
- var fs = require("fs");
10
- var os = require("os");
11
- var path = require("path");
12
- var child_process_1 = require("child_process");
13
- var net_1 = require("net");
14
- var windowsConoutConnection_1 = require("./windowsConoutConnection");
15
- var utils_1 = require("./utils");
16
- var conptyNative;
17
- var winptyNative;
18
- /**
19
- * The amount of time to wait for additional data after the conpty shell process has exited before
20
- * shutting down the socket. The timer will be reset if a new data event comes in after the timer
21
- * has started.
22
- */
23
- var FLUSH_DATA_INTERVAL = 1000;
24
- /**
25
- * This agent sits between the WindowsTerminal class and provides a common interface for both conpty
26
- * and winpty.
27
- */
28
- var WindowsPtyAgent = /** @class */ (function () {
29
- function WindowsPtyAgent(file, args, env, cwd, cols, rows, debug, _useConpty, _useConptyDll, conptyInheritCursor) {
30
- var _this = this;
31
- if (_useConptyDll === void 0) { _useConptyDll = false; }
32
- if (conptyInheritCursor === void 0) { conptyInheritCursor = false; }
33
- this._useConpty = _useConpty;
34
- this._useConptyDll = _useConptyDll;
35
- this._pid = 0;
36
- this._innerPid = 0;
37
- if (this._useConpty === undefined || this._useConpty === true) {
38
- this._useConpty = this._getWindowsBuildNumber() >= 18309;
39
- }
40
- if (this._useConpty) {
41
- if (!conptyNative) {
42
- conptyNative = utils_1.loadNativeModule('conpty').module;
43
- }
44
- }
45
- else {
46
- if (!winptyNative) {
47
- winptyNative = utils_1.loadNativeModule('pty').module;
48
- }
49
- }
50
- this._ptyNative = this._useConpty ? conptyNative : winptyNative;
51
- // Sanitize input variable.
52
- cwd = path.resolve(cwd);
53
- // Compose command line
54
- var commandLine = argsToCommandLine(file, args);
55
- // Open pty session.
56
- var term;
57
- if (this._useConpty) {
58
- term = this._ptyNative.startProcess(file, cols, rows, debug, this._generatePipeName(), conptyInheritCursor, this._useConptyDll);
59
- }
60
- else {
61
- term = this._ptyNative.startProcess(file, commandLine, env, cwd, cols, rows, debug);
62
- this._pid = term.pid;
63
- this._innerPid = term.innerPid;
64
- }
65
- // Not available on windows.
66
- this._fd = term.fd;
67
- // Generated incremental number that has no real purpose besides using it
68
- // as a terminal id.
69
- this._pty = term.pty;
70
- // Create terminal pipe IPC channel and forward to a local unix socket.
71
- this._outSocket = new net_1.Socket();
72
- this._outSocket.setEncoding('utf8');
73
- // The conout socket must be ready out on another thread to avoid deadlocks
74
- this._conoutSocketWorker = new windowsConoutConnection_1.ConoutConnection(term.conout, this._useConptyDll);
75
- this._conoutSocketWorker.onReady(function () {
76
- _this._conoutSocketWorker.connectSocket(_this._outSocket);
77
- });
78
- this._outSocket.on('connect', function () {
79
- _this._outSocket.emit('ready_datapipe');
80
- });
81
- var inSocketFD = fs.openSync(term.conin, 'w');
82
- this._inSocket = new net_1.Socket({
83
- fd: inSocketFD,
84
- readable: false,
85
- writable: true
86
- });
87
- this._inSocket.setEncoding('utf8');
88
- if (this._useConpty) {
89
- var connect = this._ptyNative.connect(this._pty, commandLine, cwd, env, this._useConptyDll, function (c) { return _this._$onProcessExit(c); });
90
- this._innerPid = connect.pid;
91
- }
92
- }
93
- Object.defineProperty(WindowsPtyAgent.prototype, "inSocket", {
94
- get: function () { return this._inSocket; },
95
- enumerable: false,
96
- configurable: true
97
- });
98
- Object.defineProperty(WindowsPtyAgent.prototype, "outSocket", {
99
- get: function () { return this._outSocket; },
100
- enumerable: false,
101
- configurable: true
102
- });
103
- Object.defineProperty(WindowsPtyAgent.prototype, "fd", {
104
- get: function () { return this._fd; },
105
- enumerable: false,
106
- configurable: true
107
- });
108
- Object.defineProperty(WindowsPtyAgent.prototype, "innerPid", {
109
- get: function () { return this._innerPid; },
110
- enumerable: false,
111
- configurable: true
112
- });
113
- Object.defineProperty(WindowsPtyAgent.prototype, "pty", {
114
- get: function () { return this._pty; },
115
- enumerable: false,
116
- configurable: true
117
- });
118
- WindowsPtyAgent.prototype.resize = function (cols, rows) {
119
- if (this._useConpty) {
120
- if (this._exitCode !== undefined) {
121
- throw new Error('Cannot resize a pty that has already exited');
122
- }
123
- this._ptyNative.resize(this._pty, cols, rows, this._useConptyDll);
124
- return;
125
- }
126
- this._ptyNative.resize(this._pid, cols, rows);
127
- };
128
- WindowsPtyAgent.prototype.clear = function () {
129
- if (this._useConpty) {
130
- this._ptyNative.clear(this._pty, this._useConptyDll);
131
- }
132
- };
133
- WindowsPtyAgent.prototype.kill = function () {
134
- var _this = this;
135
- // Tell the agent to kill the pty, this releases handles to the process
136
- if (this._useConpty) {
137
- if (!this._useConptyDll) {
138
- this._inSocket.readable = false;
139
- this._outSocket.readable = false;
140
- this._getConsoleProcessList().then(function (consoleProcessList) {
141
- consoleProcessList.forEach(function (pid) {
142
- try {
143
- process.kill(pid);
144
- }
145
- catch (e) {
146
- // Ignore if process cannot be found (kill ESRCH error)
147
- }
148
- });
149
- });
150
- this._ptyNative.kill(this._pty, this._useConptyDll);
151
- this._conoutSocketWorker.dispose();
152
- }
153
- else {
154
- // Close the input write handle to signal the end of session.
155
- this._inSocket.destroy();
156
- this._ptyNative.kill(this._pty, this._useConptyDll);
157
- this._outSocket.on('data', function () {
158
- _this._conoutSocketWorker.dispose();
159
- });
160
- }
161
- }
162
- else {
163
- // Because pty.kill closes the handle, it will kill most processes by itself.
164
- // Process IDs can be reused as soon as all handles to them are
165
- // dropped, so we want to immediately kill the entire console process list.
166
- // If we do not force kill all processes here, node servers in particular
167
- // seem to become detached and remain running (see
168
- // Microsoft/vscode#26807).
169
- var processList = this._ptyNative.getProcessList(this._pid);
170
- this._ptyNative.kill(this._pid, this._innerPid);
171
- processList.forEach(function (pid) {
172
- try {
173
- process.kill(pid);
174
- }
175
- catch (e) {
176
- // Ignore if process cannot be found (kill ESRCH error)
177
- }
178
- });
179
- }
180
- };
181
- WindowsPtyAgent.prototype._getConsoleProcessList = function () {
182
- var _this = this;
183
- return new Promise(function (resolve) {
184
- var agent = child_process_1.fork(path.join(__dirname, 'conpty_console_list_agent'), [_this._innerPid.toString()]);
185
- agent.on('message', function (message) {
186
- clearTimeout(timeout);
187
- resolve(message.consoleProcessList);
188
- });
189
- var timeout = setTimeout(function () {
190
- // Something went wrong, just send back the shell PID
191
- agent.kill();
192
- resolve([_this._innerPid]);
193
- }, 5000);
194
- });
195
- };
196
- Object.defineProperty(WindowsPtyAgent.prototype, "exitCode", {
197
- get: function () {
198
- if (this._useConpty) {
199
- return this._exitCode;
200
- }
201
- var winptyExitCode = this._ptyNative.getExitCode(this._innerPid);
202
- return winptyExitCode === -1 ? undefined : winptyExitCode;
203
- },
204
- enumerable: false,
205
- configurable: true
206
- });
207
- WindowsPtyAgent.prototype._getWindowsBuildNumber = function () {
208
- var osVersion = (/(\d+)\.(\d+)\.(\d+)/g).exec(os.release());
209
- var buildNumber = 0;
210
- if (osVersion && osVersion.length === 4) {
211
- buildNumber = parseInt(osVersion[3]);
212
- }
213
- return buildNumber;
214
- };
215
- WindowsPtyAgent.prototype._generatePipeName = function () {
216
- return "conpty-" + Math.random() * 10000000;
217
- };
218
- /**
219
- * Triggered from the native side when a contpy process exits.
220
- */
221
- WindowsPtyAgent.prototype._$onProcessExit = function (exitCode) {
222
- var _this = this;
223
- this._exitCode = exitCode;
224
- if (!this._useConptyDll) {
225
- this._flushDataAndCleanUp();
226
- this._outSocket.on('data', function () { return _this._flushDataAndCleanUp(); });
227
- }
228
- };
229
- WindowsPtyAgent.prototype._flushDataAndCleanUp = function () {
230
- var _this = this;
231
- if (this._useConptyDll) {
232
- return;
233
- }
234
- if (this._closeTimeout) {
235
- clearTimeout(this._closeTimeout);
236
- }
237
- this._closeTimeout = setTimeout(function () { return _this._cleanUpProcess(); }, FLUSH_DATA_INTERVAL);
238
- };
239
- WindowsPtyAgent.prototype._cleanUpProcess = function () {
240
- if (this._useConptyDll) {
241
- return;
242
- }
243
- this._inSocket.readable = false;
244
- this._outSocket.readable = false;
245
- this._outSocket.destroy();
246
- };
247
- return WindowsPtyAgent;
248
- }());
249
- exports.WindowsPtyAgent = WindowsPtyAgent;
250
- // Convert argc/argv into a Win32 command-line following the escaping convention
251
- // documented on MSDN (e.g. see CommandLineToArgvW documentation). Copied from
252
- // winpty project.
253
- function argsToCommandLine(file, args) {
254
- if (isCommandLine(args)) {
255
- if (args.length === 0) {
256
- return file;
257
- }
258
- return argsToCommandLine(file, []) + " " + args;
259
- }
260
- var argv = [file];
261
- Array.prototype.push.apply(argv, args);
262
- var result = '';
263
- for (var argIndex = 0; argIndex < argv.length; argIndex++) {
264
- if (argIndex > 0) {
265
- result += ' ';
266
- }
267
- var arg = argv[argIndex];
268
- // if it is empty or it contains whitespace and is not already quoted
269
- var hasLopsidedEnclosingQuote = xOr((arg[0] !== '"'), (arg[arg.length - 1] !== '"'));
270
- var hasNoEnclosingQuotes = ((arg[0] !== '"') && (arg[arg.length - 1] !== '"'));
271
- var quote = arg === '' ||
272
- (arg.indexOf(' ') !== -1 ||
273
- arg.indexOf('\t') !== -1) &&
274
- ((arg.length > 1) &&
275
- (hasLopsidedEnclosingQuote || hasNoEnclosingQuotes));
276
- if (quote) {
277
- result += '\"';
278
- }
279
- var bsCount = 0;
280
- for (var i = 0; i < arg.length; i++) {
281
- var p = arg[i];
282
- if (p === '\\') {
283
- bsCount++;
284
- }
285
- else if (p === '"') {
286
- result += repeatText('\\', bsCount * 2 + 1);
287
- result += '"';
288
- bsCount = 0;
289
- }
290
- else {
291
- result += repeatText('\\', bsCount);
292
- bsCount = 0;
293
- result += p;
294
- }
295
- }
296
- if (quote) {
297
- result += repeatText('\\', bsCount * 2);
298
- result += '\"';
299
- }
300
- else {
301
- result += repeatText('\\', bsCount);
302
- }
303
- }
304
- return result;
305
- }
306
- exports.argsToCommandLine = argsToCommandLine;
307
- function isCommandLine(args) {
308
- return typeof args === 'string';
309
- }
310
- function repeatText(text, count) {
311
- var result = '';
312
- for (var i = 0; i < count; i++) {
313
- result += text;
314
- }
315
- return result;
316
- }
317
- function xOr(arg1, arg2) {
318
- return ((arg1 && !arg2) || (!arg1 && arg2));
319
- }
320
- //# sourceMappingURL=windowsPtyAgent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"windowsPtyAgent.js","sourceRoot":"","sources":["../src/windowsPtyAgent.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,uBAAyB;AACzB,uBAAyB;AACzB,2BAA6B;AAC7B,+CAAqC;AACrC,2BAA6B;AAE7B,qEAA6D;AAC7D,iCAA2C;AAE3C,IAAI,YAA2B,CAAC;AAChC,IAAI,YAA2B,CAAC;AAEhC;;;;GAIG;AACH,IAAM,mBAAmB,GAAG,IAAI,CAAC;AAEjC;;;GAGG;AACH;IAmBE,yBACE,IAAY,EACZ,IAAuB,EACvB,GAAa,EACb,GAAW,EACX,IAAY,EACZ,IAAY,EACZ,KAAc,EACN,UAA+B,EAC/B,aAA8B,EACtC,mBAAoC;QAVtC,iBAyEC;QAhES,8BAAA,EAAA,qBAA8B;QACtC,oCAAA,EAAA,2BAAoC;QAF5B,eAAU,GAAV,UAAU,CAAqB;QAC/B,kBAAa,GAAb,aAAa,CAAiB;QAzBhC,SAAI,GAAW,CAAC,C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D,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,GAAG,CAAC,IAAa,EAAE,IAAa;IACvC,OAAO,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC;AAC9C,CAAC"}
@@ -1,90 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2017, Daniel Imms (MIT License).
4
- * Copyright (c) 2018, Microsoft Corporation (MIT License).
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var assert = require("assert");
8
- var windowsPtyAgent_1 = require("./windowsPtyAgent");
9
- function check(file, args, expected) {
10
- assert.equal(windowsPtyAgent_1.argsToCommandLine(file, args), expected);
11
- }
12
- if (process.platform === 'win32') {
13
- describe('argsToCommandLine', function () {
14
- describe('Plain strings', function () {
15
- it('doesn\'t quote plain string', function () {
16
- check('asdf', [], 'asdf');
17
- });
18
- it('doesn\'t escape backslashes', function () {
19
- check('\\asdf\\qwer\\', [], '\\asdf\\qwer\\');
20
- });
21
- it('doesn\'t escape multiple backslashes', function () {
22
- check('asdf\\\\qwer', [], 'asdf\\\\qwer');
23
- });
24
- it('adds backslashes before quotes', function () {
25
- check('"asdf"qwer"', [], '\\"asdf\\"qwer\\"');
26
- });
27
- it('escapes backslashes before quotes', function () {
28
- check('asdf\\"qwer', [], 'asdf\\\\\\"qwer');
29
- });
30
- });
31
- describe('Quoted strings', function () {
32
- it('quotes string with spaces', function () {
33
- check('asdf qwer', [], '"asdf qwer"');
34
- });
35
- it('quotes empty string', function () {
36
- check('', [], '""');
37
- });
38
- it('quotes string with tabs', function () {
39
- check('asdf\tqwer', [], '"asdf\tqwer"');
40
- });
41
- it('escapes only the last backslash', function () {
42
- check('\\asdf \\qwer\\', [], '"\\asdf \\qwer\\\\"');
43
- });
44
- it('doesn\'t escape multiple backslashes', function () {
45
- check('asdf \\\\qwer', [], '"asdf \\\\qwer"');
46
- });
47
- it('escapes backslashes before quotes', function () {
48
- check('asdf \\"qwer', [], '"asdf \\\\\\"qwer"');
49
- });
50
- it('escapes multiple backslashes at the end', function () {
51
- check('asdf qwer\\\\', [], '"asdf qwer\\\\\\\\"');
52
- });
53
- });
54
- describe('Multiple arguments', function () {
55
- it('joins arguments with spaces', function () {
56
- check('asdf', ['qwer zxcv', '', '"'], 'asdf "qwer zxcv" "" \\"');
57
- });
58
- it('array argument all in quotes', function () {
59
- check('asdf', ['"surounded by quotes"'], 'asdf \\"surounded by quotes\\"');
60
- });
61
- it('array argument quotes in the middle', function () {
62
- check('asdf', ['quotes "in the" middle'], 'asdf "quotes \\"in the\\" middle"');
63
- });
64
- it('array argument quotes near start', function () {
65
- check('asdf', ['"quotes" near start'], 'asdf "\\"quotes\\" near start"');
66
- });
67
- it('array argument quotes near end', function () {
68
- check('asdf', ['quotes "near end"'], 'asdf "quotes \\"near end\\""');
69
- });
70
- });
71
- describe('Args as CommandLine', function () {
72
- it('should handle empty string', function () {
73
- check('file', '', 'file');
74
- });
75
- it('should not change args', function () {
76
- check('file', 'foo bar baz', 'file foo bar baz');
77
- check('file', 'foo \\ba"r \baz', 'file foo \\ba"r \baz');
78
- });
79
- });
80
- describe('Real-world cases', function () {
81
- it('quotes within quotes', function () {
82
- check('cmd.exe', ['/c', 'powershell -noexit -command \'Set-location \"C:\\user\"\''], 'cmd.exe /c "powershell -noexit -command \'Set-location \\\"C:\\user\\"\'"');
83
- });
84
- it('space within quotes', function () {
85
- check('cmd.exe', ['/k', '"C:\\Users\\alros\\Desktop\\test script.bat"'], 'cmd.exe /k \\"C:\\Users\\alros\\Desktop\\test script.bat\\"');
86
- });
87
- });
88
- });
89
- }
90
- //# sourceMappingURL=windowsPtyAgent.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"windowsPtyAgent.test.js","sourceRoot":"","sources":["../src/windowsPtyAgent.test.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAEH,+BAAiC;AACjC,qDAAsD;AAEtD,SAAS,KA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B,CAAC,CAAC;YACvE,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,QAAQ,CAAC,qBAAqB,EAAE;YAC9B,EAAE,CAAC,4BAA4B,EAAE;gBAC/B,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,CAAC;YAC5B,CAAC,CAAC,CAAC;YACH,EAAE,CAAC,wBAAwB,EAAE;gBAC3B,KAAK,CAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,CAAC,CAAC;gBACjD,KAAK,CAAC,MAAM,EAAE,iBAAiB,EAAE,sBAAsB,CAAC,CAAC;YAC3D,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,QAAQ,CAAC,kBAAkB,EAAE;YAC3B,EAAE,CAAC,sBAAsB,EAAE;gBACzB,KAAK,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,2DAA2D,CAAC,EAAE,2EAA2E,CAAC,CAAC;YACrK,CAAC,CAAC,CAAC;YACH,EAAE,CAAC,qBAAqB,EAAE;gBACxB,KAAK,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,8CAA8C,CAAC,EAAE,6DAA6D,CAAC,CAAC;YAC1I,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"}
@@ -1,199 +0,0 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) 2012-2015, Christopher Jeffrey, Peter Sunde (MIT License)
4
- * Copyright (c) 2016, Daniel Imms (MIT License).
5
- * Copyright (c) 2018, Microsoft Corporation (MIT License).
6
- */
7
- var __extends = (this && this.__extends) || (function () {
8
- var extendStatics = function (d, b) {
9
- extendStatics = Object.setPrototypeOf ||
10
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12
- return extendStatics(d, b);
13
- };
14
- return function (d, b) {
15
- extendStatics(d, b);
16
- function __() { this.constructor = d; }
17
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
- };
19
- })();
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.WindowsTerminal = void 0;
22
- var terminal_1 = require("./terminal");
23
- var windowsPtyAgent_1 = require("./windowsPtyAgent");
24
- var utils_1 = require("./utils");
25
- var DEFAULT_FILE = 'cmd.exe';
26
- var DEFAULT_NAME = 'Windows Shell';
27
- var WindowsTerminal = /** @class */ (function (_super) {
28
- __extends(WindowsTerminal, _super);
29
- function WindowsTerminal(file, args, opt) {
30
- var _this = _super.call(this, opt) || this;
31
- _this._checkType('args', args, 'string', true);
32
- // Initialize arguments
33
- args = args || [];
34
- file = file || DEFAULT_FILE;
35
- opt = opt || {};
36
- opt.env = opt.env || process.env;
37
- if (opt.encoding) {
38
- console.warn('Setting encoding on Windows is not supported');
39
- }
40
- var env = utils_1.assign({}, opt.env);
41
- _this._cols = opt.cols || terminal_1.DEFAULT_COLS;
42
- _this._rows = opt.rows || terminal_1.DEFAULT_ROWS;
43
- var cwd = opt.cwd || process.cwd();
44
- var name = opt.name || env.TERM || DEFAULT_NAME;
45
- var parsedEnv = _this._parseEnv(env);
46
- // If the terminal is ready
47
- _this._isReady = false;
48
- // Functions that need to run after `ready` event is emitted.
49
- _this._deferreds = [];
50
- // Create new termal.
51
- _this._agent = new windowsPtyAgent_1.WindowsPtyAgent(file, args, parsedEnv, cwd, _this._cols, _this._rows, false, opt.useConpty, opt.useConptyDll, opt.conptyInheritCursor);
52
- _this._socket = _this._agent.outSocket;
53
- // Not available until `ready` event emitted.
54
- _this._pid = _this._agent.innerPid;
55
- _this._fd = _this._agent.fd;
56
- _this._pty = _this._agent.pty;
57
- // The forked windows terminal is not available until `ready` event is
58
- // emitted.
59
- _this._socket.on('ready_datapipe', function () {
60
- // Run deferreds and set ready state once the first data event is received.
61
- _this._socket.once('data', function () {
62
- // Wait until the first data event is fired then we can run deferreds.
63
- if (!_this._isReady) {
64
- // Terminal is now ready and we can avoid having to defer method
65
- // calls.
66
- _this._isReady = true;
67
- // Execute all deferred methods
68
- _this._deferreds.forEach(function (fn) {
69
- // NB! In order to ensure that `this` has all its references
70
- // updated any variable that need to be available in `this` before
71
- // the deferred is run has to be declared above this forEach
72
- // statement.
73
- fn.run();
74
- });
75
- // Reset
76
- _this._deferreds = [];
77
- }
78
- });
79
- // Shutdown if `error` event is emitted.
80
- _this._socket.on('error', function (err) {
81
- // Close terminal session.
82
- _this._close();
83
- // EIO, happens when someone closes our child process: the only process
84
- // in the terminal.
85
- // node < 0.6.14: errno 5
86
- // node >= 0.6.14: read EIO
87
- if (err.code) {
88
- if (~err.code.indexOf('errno 5') || ~err.code.indexOf('EIO'))
89
- return;
90
- }
91
- // Throw anything else.
92
- if (_this.listeners('error').length < 2) {
93
- throw err;
94
- }
95
- });
96
- // Cleanup after the socket is closed.
97
- _this._socket.on('close', function () {
98
- _this.emit('exit', _this._agent.exitCode);
99
- _this._close();
100
- });
101
- });
102
- _this._file = file;
103
- _this._name = name;
104
- _this._readable = true;
105
- _this._writable = true;
106
- _this._forwardEvents();
107
- return _this;
108
- }
109
- WindowsTerminal.prototype._write = function (data) {
110
- this._defer(this._doWrite, data);
111
- };
112
- WindowsTerminal.prototype._doWrite = function (data) {
113
- this._agent.inSocket.write(data);
114
- };
115
- /**
116
- * openpty
117
- */
118
- WindowsTerminal.open = function (options) {
119
- throw new Error('open() not supported on windows, use Fork() instead.');
120
- };
121
- /**
122
- * TTY
123
- */
124
- WindowsTerminal.prototype.resize = function (cols, rows) {
125
- var _this = this;
126
- if (cols <= 0 || rows <= 0 || isNaN(cols) || isNaN(rows) || cols === Infinity || rows === Infinity) {
127
- throw new Error('resizing must be done using positive cols and rows');
128
- }
129
- this._deferNoArgs(function () {
130
- _this._agent.resize(cols, rows);
131
- _this._cols = cols;
132
- _this._rows = rows;
133
- });
134
- };
135
- WindowsTerminal.prototype.clear = function () {
136
- var _this = this;
137
- this._deferNoArgs(function () {
138
- _this._agent.clear();
139
- });
140
- };
141
- WindowsTerminal.prototype.destroy = function () {
142
- var _this = this;
143
- this._deferNoArgs(function () {
144
- _this.kill();
145
- });
146
- };
147
- WindowsTerminal.prototype.kill = function (signal) {
148
- var _this = this;
149
- this._deferNoArgs(function () {
150
- if (signal) {
151
- throw new Error('Signals not supported on windows.');
152
- }
153
- _this._close();
154
- _this._agent.kill();
155
- });
156
- };
157
- WindowsTerminal.prototype._deferNoArgs = function (deferredFn) {
158
- var _this = this;
159
- // If the terminal is ready, execute.
160
- if (this._isReady) {
161
- deferredFn.call(this);
162
- return;
163
- }
164
- // Queue until terminal is ready.
165
- this._deferreds.push({
166
- run: function () { return deferredFn.call(_this); }
167
- });
168
- };
169
- WindowsTerminal.prototype._defer = function (deferredFn, arg) {
170
- var _this = this;
171
- // If the terminal is ready, execute.
172
- if (this._isReady) {
173
- deferredFn.call(this, arg);
174
- return;
175
- }
176
- // Queue until terminal is ready.
177
- this._deferreds.push({
178
- run: function () { return deferredFn.call(_this, arg); }
179
- });
180
- };
181
- Object.defineProperty(WindowsTerminal.prototype, "process", {
182
- get: function () { return this._name; },
183
- enumerable: false,
184
- configurable: true
185
- });
186
- Object.defineProperty(WindowsTerminal.prototype, "master", {
187
- get: function () { throw new Error('master is not supported on Windows'); },
188
- enumerable: false,
189
- configurable: true
190
- });
191
- Object.defineProperty(WindowsTerminal.prototype, "slave", {
192
- get: function () { throw new Error('slave is not supported on Windows'); },
193
- enumerable: false,
194
- configurable: true
195
- });
196
- return WindowsTerminal;
197
- }(terminal_1.Terminal));
198
- exports.WindowsTerminal = WindowsTerminal;
199
- //# sourceMappingURL=windowsTerminal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"windowsTerminal.js","sourceRoot":"","sources":["../src/windowsTerminal.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAGH,uCAAkE;AAClE,qDAAoD;AAGpD,iCAAiC;AAEjC,IAAM,YAAY,GAAG,SAAS,CAAC;AAC/B,IAA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