MProcs 10.0__tar.gz → 10.12__tar.gz

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 (240) hide show
  1. {mprocs-10.0/src/MProcs.egg-info → mprocs-10.12}/PKG-INFO +70 -6
  2. {mprocs-10.0 → mprocs-10.12}/README.md +68 -5
  3. {mprocs-10.0 → mprocs-10.12}/pyproject.toml +3 -3
  4. {mprocs-10.0 → mprocs-10.12}/src/MProcs/__init__.py +1 -1
  5. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/gwf.py +40 -9
  6. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/lpro.py +71 -12
  7. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/lpro_s.py +71 -11
  8. {mprocs-10.0/src/MProcs → mprocs-10.12/src/MProcs/modules/flu0}/scripts/session.py +2 -0
  9. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/theme.py +3 -0
  10. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/tui.py +196 -3
  11. mprocs-10.12/src/MProcs/modules/flu0/scripts/version_checker.py +64 -0
  12. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data_loader.py +6 -1
  13. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/gwf.py +40 -9
  14. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/lpro.py +71 -12
  15. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/lpro_s.py +71 -11
  16. {mprocs-10.0/src/MProcs/modules/flu0 → mprocs-10.12/src/MProcs/modules/hmptunnel}/scripts/session.py +1 -0
  17. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/theme.py +4 -1
  18. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/tui.py +196 -3
  19. mprocs-10.12/src/MProcs/modules/hmptunnel/scripts/version_checker.py +64 -0
  20. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/app.py +5 -1
  21. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data_loader.py +6 -1
  22. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data_loader.py +9 -1
  23. mprocs-10.12/src/MProcs/scripts/gusher_cmd.py +432 -0
  24. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/gwf.py +86 -23
  25. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/inline_args.py +2 -1
  26. mprocs-10.12/src/MProcs/scripts/loadbar.py +102 -0
  27. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/lpro.py +90 -23
  28. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/lpro_s.py +90 -25
  29. mprocs-10.12/src/MProcs/scripts/record_line.py +139 -0
  30. mprocs-10.12/src/MProcs/scripts/search_context.py +152 -0
  31. {mprocs-10.0/src/MProcs/modules/hmptunnel → mprocs-10.12/src/MProcs}/scripts/session.py +1 -0
  32. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/tui.py +354 -3
  33. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/version_checker.py +27 -9
  34. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/wrappers.py +1 -0
  35. {mprocs-10.0 → mprocs-10.12/src/MProcs.egg-info}/PKG-INFO +70 -6
  36. {mprocs-10.0 → mprocs-10.12}/src/MProcs.egg-info/SOURCES.txt +4 -0
  37. {mprocs-10.0 → mprocs-10.12}/src/MProcs.egg-info/requires.txt +1 -0
  38. mprocs-10.0/src/MProcs/modules/flu0/scripts/version_checker.py +0 -30
  39. mprocs-10.0/src/MProcs/modules/hmptunnel/scripts/version_checker.py +0 -30
  40. {mprocs-10.0 → mprocs-10.12}/LICENSE +0 -0
  41. {mprocs-10.0 → mprocs-10.12}/MANIFEST.in +0 -0
  42. {mprocs-10.0 → mprocs-10.12}/setup.cfg +0 -0
  43. {mprocs-10.0 → mprocs-10.12}/src/MProcs/__main__.py +0 -0
  44. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/__init__.py +0 -0
  45. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/LICENSE +0 -0
  46. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/__init__.py +0 -0
  47. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/__init__.py +0 -0
  48. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/agent.py +0 -0
  49. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/ai_image.py +0 -0
  50. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/acadlist.json +0 -0
  51. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/ahb.json +0 -0
  52. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/bible1.json +0 -0
  53. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/biology1.json +0 -0
  54. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/chemistry1.json +0 -0
  55. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/chi_chars.json +0 -0
  56. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/degrees1.json +0 -0
  57. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/dhammapada1.json +0 -0
  58. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/diction.json +0 -0
  59. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/fcci.json +0 -0
  60. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/hospitals.json +0 -0
  61. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/jamo.json +0 -0
  62. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/katakana.json +0 -0
  63. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/koran1.json +0 -0
  64. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/legal_terms1.json +0 -0
  65. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/lexicon.json +0 -0
  66. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/medicals1.json +0 -0
  67. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/mims.json +0 -0
  68. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/proverbs.json +0 -0
  69. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/psychology1.json +0 -0
  70. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/science1.json +0 -0
  71. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/strains.json +0 -0
  72. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/acadlist.json +0 -0
  73. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/ahb.json +0 -0
  74. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/bible1.json +0 -0
  75. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/biology1.json +0 -0
  76. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/chemistry1.json +0 -0
  77. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/chi_chars.json +0 -0
  78. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/degrees1.json +0 -0
  79. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/dhammapada1.json +0 -0
  80. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/diction.json +0 -0
  81. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/fcci.json +0 -0
  82. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/hospitals.json +0 -0
  83. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/jamo.json +0 -0
  84. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/katakana.json +0 -0
  85. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/koran1.json +0 -0
  86. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/legal_terms1.json +0 -0
  87. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/medicals1.json +0 -0
  88. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/mims.json +0 -0
  89. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/proverbs.json +0 -0
  90. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/psychology1.json +0 -0
  91. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/science1.json +0 -0
  92. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/strains.json +0 -0
  93. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/tracks.json +0 -0
  94. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/themed/verses1.json +0 -0
  95. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/tracks.json +0 -0
  96. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data/verses1.json +0 -0
  97. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/data_loader.py +0 -0
  98. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/deepseek_ai.py +0 -0
  99. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/drills.py +0 -0
  100. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/ghostwrite.py +0 -0
  101. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/keys.py +0 -0
  102. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/lexicon.py +0 -0
  103. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/main.py +0 -0
  104. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/ops.py +0 -0
  105. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/program.py +0 -0
  106. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/scmpy.py +0 -0
  107. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/flu0/scripts/wrappers.py +0 -0
  108. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/LICENSE +0 -0
  109. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/__init__.py +0 -0
  110. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/__init__.py +0 -0
  111. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/agent.py +0 -0
  112. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/ai_image.py +0 -0
  113. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/acadlist.json +0 -0
  114. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/ahb.json +0 -0
  115. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/bible1.json +0 -0
  116. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/biology1.json +0 -0
  117. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/chemistry1.json +0 -0
  118. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/chi_chars.json +0 -0
  119. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/degrees1.json +0 -0
  120. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/dhammapada1.json +0 -0
  121. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/diction.json +0 -0
  122. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/fcci.json +0 -0
  123. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/hospitals.json +0 -0
  124. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/jamo.json +0 -0
  125. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/katakana.json +0 -0
  126. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/koran1.json +0 -0
  127. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/legal_terms1.json +0 -0
  128. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/medicals1.json +0 -0
  129. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/mims.json +0 -0
  130. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/proverbs.json +0 -0
  131. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/psychology1.json +0 -0
  132. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/science1.json +0 -0
  133. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/strains.json +0 -0
  134. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/acadlist.json +0 -0
  135. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/ahb.json +0 -0
  136. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/bible1.json +0 -0
  137. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/biology1.json +0 -0
  138. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/chemistry1.json +0 -0
  139. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/chi_chars.json +0 -0
  140. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/degrees1.json +0 -0
  141. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/dhammapada1.json +0 -0
  142. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/diction.json +0 -0
  143. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/fcci.json +0 -0
  144. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/hospitals.json +0 -0
  145. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/jamo.json +0 -0
  146. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/katakana.json +0 -0
  147. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/koran1.json +0 -0
  148. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/legal_terms1.json +0 -0
  149. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/medicals1.json +0 -0
  150. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/mims.json +0 -0
  151. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/proverbs.json +0 -0
  152. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/psychology1.json +0 -0
  153. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/science1.json +0 -0
  154. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/strains.json +0 -0
  155. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/tracks.json +0 -0
  156. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/themed/verses1.json +0 -0
  157. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/tracks.json +0 -0
  158. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/data/verses1.json +0 -0
  159. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/deepseek_ai.py +0 -0
  160. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/keys.py +0 -0
  161. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/main.py +0 -0
  162. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/scmpy.py +0 -0
  163. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/hmptunnel/scripts/wrappers.py +0 -0
  164. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/LICENSE +0 -0
  165. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/__init__.py +0 -0
  166. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/__main__.py +0 -0
  167. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/agent.py +0 -0
  168. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/__init__.py +0 -0
  169. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/almanac.py +0 -0
  170. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/domains.py +0 -0
  171. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/domains_applied.py +0 -0
  172. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/encyclopedia.py +0 -0
  173. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/lexicon.py +0 -0
  174. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/people.py +0 -0
  175. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/sources.py +0 -0
  176. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/content/timeline.py +0 -0
  177. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/acadlist.json +0 -0
  178. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/ahb.json +0 -0
  179. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/bible1.json +0 -0
  180. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/biology1.json +0 -0
  181. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/chemistry1.json +0 -0
  182. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/chi_chars.json +0 -0
  183. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/degrees1.json +0 -0
  184. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/dhammapada1.json +0 -0
  185. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/diction.json +0 -0
  186. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/diction_raw.json +0 -0
  187. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/fcci.json +0 -0
  188. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/hospitals.json +0 -0
  189. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/jamo.json +0 -0
  190. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/katakana.json +0 -0
  191. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/koran1.json +0 -0
  192. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/legal_terms1.json +0 -0
  193. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/manifest.json +0 -0
  194. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/medicals1.json +0 -0
  195. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/mims.json +0 -0
  196. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/proverbs.json +0 -0
  197. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/psychology1.json +0 -0
  198. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/science1.json +0 -0
  199. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/data/verses1.json +0 -0
  200. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/knowledge.py +0 -0
  201. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/py.typed +0 -0
  202. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/technica.py +0 -0
  203. {mprocs-10.0 → mprocs-10.12}/src/MProcs/modules/polyhistor/theme.py +0 -0
  204. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/__init__.py +0 -0
  205. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/ai_image.py +0 -0
  206. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/acadlist.json +0 -0
  207. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/ahb.json +0 -0
  208. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/bible1.json +0 -0
  209. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/biology1.json +0 -0
  210. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/chemistry1.json +0 -0
  211. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/chi_chars.json +0 -0
  212. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/degrees1.json +0 -0
  213. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/dhammapada1.json +0 -0
  214. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/diction.json +0 -0
  215. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/diction_former.json +0 -0
  216. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/fcci.json +0 -0
  217. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/hospitals.json +0 -0
  218. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/jamo.json +0 -0
  219. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/katakana.json +0 -0
  220. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/koran1.json +0 -0
  221. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/legal_terms1.json +0 -0
  222. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/medicals1.json +0 -0
  223. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/mims.json +0 -0
  224. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/proverbs.json +0 -0
  225. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/psychology1.json +0 -0
  226. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/science1.json +0 -0
  227. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/strains.json +0 -0
  228. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/tracks.json +0 -0
  229. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/data/verses1.json +0 -0
  230. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/deepseek_ai.py +0 -0
  231. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/keys.py +0 -0
  232. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/main.py +0 -0
  233. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/native.py +0 -0
  234. {mprocs-10.0 → mprocs-10.12}/src/MProcs/scripts/scmpy.py +0 -0
  235. {mprocs-10.0 → mprocs-10.12}/src/MProcs.egg-info/dependency_links.txt +0 -0
  236. {mprocs-10.0 → mprocs-10.12}/src/MProcs.egg-info/entry_points.txt +0 -0
  237. {mprocs-10.0 → mprocs-10.12}/src/MProcs.egg-info/top_level.txt +0 -0
  238. {mprocs-10.0 → mprocs-10.12}/tools/README.md +0 -0
  239. {mprocs-10.0 → mprocs-10.12}/tools/build_medical_diction.py +0 -0
  240. {mprocs-10.0 → mprocs-10.12}/tools/medical_wordlist.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MProcs
3
- Version: 10.0
3
+ Version: 10.12
4
4
  Summary: MProcs // Terminal Suite - MProcs, POLYHISTOR, FLU0 and JADE//WIRE in one launcher
5
5
  Author-email: tderk <usvu.tech@gmail.com>
6
6
  License: MIT
@@ -9,6 +9,7 @@ Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
10
  Requires-Dist: requests
11
11
  Requires-Dist: ddgs
12
+ Requires-Dist: gusher>=1.0.1
12
13
  Provides-Extra: dev
13
14
  Requires-Dist: pytest; extra == "dev"
14
15
  Requires-Dist: black; extra == "dev"
@@ -19,7 +20,7 @@ Dynamic: license-file
19
20
 
20
21
  Derived from NeonBunny. A Life program by tderk, originally LPro.py and Destiny [2024].
21
22
 
22
- ## MProcs // Terminal Suite (14 / app 10.0)
23
+ ## MProcs // Terminal Suite (14 / app 10.12)
23
24
 
24
25
  MProcs is now a single, self-contained launcher for every terminal in the
25
26
  suite. Nothing is looked up on PyPI, nothing is downloaded at startup, and the
@@ -55,6 +56,9 @@ that terminal's **original curses TUI**:
55
56
 
56
57
  ### Colours, boxes and resizing
57
58
 
59
+ - On startup the launcher plays a four-second colourful Matrix-rain intro with
60
+ the MProcs wordmark before the menu appears. Press any key to skip it, or set
61
+ `MPROCS_NO_SPLASH=1` to disable it.
58
62
  - POLYHISTOR uses the MProcs 256-colour ANSI renderer (`38;5;n`, bold, dim,
59
63
  underline, reverse) and is sized to the live content width.
60
64
  - FLU0 and JADE//WIRE run their original TUI directly, so their colours,
@@ -71,9 +75,68 @@ that terminal's **original curses TUI**:
71
75
  - `u` opens **Update & Restart** on the launcher.
72
76
  - `q` quits MProcs from the launcher.
73
77
  - Inside native FLU0/JADE//WIRE, use their own keys; `^C` exits back to MProcs.
78
+ - The mouse wheel scrolls terminal output in the launcher and in every hosted
79
+ terminal. On touch terminals that forward mouse events, dragging scrolls the
80
+ same buffer; in the launcher the wheel/drag moves the menu selection.
74
81
 
75
82
  `quit` / `exit` inside a MProcs-hosted terminal returns to the launcher.
76
83
 
84
+ ### gusher / gxr
85
+
86
+ Every MProcs terminal (interactive and pipeline/passive modes, `lpro.py` and
87
+ `lpro_s.py`) includes the **gusher** phrase-seeded glitch terminal from
88
+ `BDCS/gusher`. It is available under both names:
89
+
90
+ ```text
91
+ gusher
92
+ gxr
93
+ ```
94
+
95
+ All flags can be written on the single command line. The terminal's current
96
+ username is used for gusher's user variable unless `-u` / `--user` is given:
97
+
98
+ ```text
99
+ gusher -u ghost -n 24 -w 80 "ghost in the wire"
100
+ gusher -n 120 -w 120 "long operation"
101
+ gusher --sources
102
+ gusher --fingerprint
103
+ gusher --refresh-fingerprint
104
+ gusher --install --yes
105
+ gusher --version
106
+ ```
107
+
108
+ The same command is also available as a launcher flag, for example
109
+ `MProcs -gusher -u ghost -n 8 "signal in"` or `mprocs -gxr --sources`.
110
+
111
+ Inside a running terminal, `gusher` / `gxr` with no phrase opens the gusher
112
+ prompt. **Ctrl-D** (or `exit`, `quit`, `:q`, `終了`) closes it and returns to
113
+ the hosting terminal. Ctrl-D at the outer prompt exits the terminal back to the
114
+ launcher.
115
+
116
+ ### rline / record line
117
+
118
+ Every terminal also has:
119
+
120
+ ```text
121
+ rline [N]
122
+ record line [N]
123
+ ```
124
+
125
+ It appends the last **N** previous prompt blocks to `MProcs-logs.txt` (the
126
+ normal `file=z` log), even in the non-recording `lpro_s.py` mode. Each block
127
+ starts with the username prompt line, contains the command as entered and the
128
+ result lines, and ends with the usual blank line:
129
+
130
+ ```text
131
+ st ( ghost ) $ gusher -n 24 "signal in" 2026-10-31 15:20:51.737838
132
+ [...result lines...]
133
+
134
+ ```
135
+
136
+ `N` defaults to 1. The `rline` command itself is not included. Fumuda-XY also
137
+ accepts `記録行 [N]`, `記録ライン [N]`, `行を記録 [N]` and
138
+ `最後のプロンプトを記録 [N]`.
139
+
77
140
  ### Update check / SOP
78
141
 
79
142
  The launcher performs a lightweight background PyPI version check when it
@@ -90,7 +153,8 @@ the standard operating procedure:
90
153
 
91
154
  If pip reports `externally-managed-environment`, the flow offers to retry with
92
155
  `--break-system-packages`. After a successful install it offers to restart
93
- MProcs in place.
156
+ MProcs in place. Every update also upgrades **gusher**, and the update flow
157
+ shows a progress bar while pip runs.
94
158
 
95
159
  ### Offline by design
96
160
 
@@ -151,7 +215,7 @@ Fix applied vs. original PyPI sdist: moved `dependencies = ["requests","ddgs"]`
151
215
  ```bash
152
216
  # from this directory (/home/kredt/BDCS/MProcs)
153
217
  pip install --upgrade build twine
154
- python -m build # creates dist/mprocs-10.0.tar.gz + .whl
218
+ python -m build # creates dist/mprocs-10.12.tar.gz + .whl
155
219
  # or
156
220
  pip wheel . --no-deps
157
221
  pip install dist/mprocs-*.whl # test install
@@ -287,7 +351,7 @@ Display full article from source header? (enter header/title/id or n): agent-tra
287
351
  terminal summary.
288
352
  - `MProcs --list`, `MProcs --version` and `MProcs --help` are available without
289
353
  starting the TUI.
290
- - `pyproject.toml` application version `10.0` (suite version `14`); package data includes every terminal data
354
+ - `pyproject.toml` application version `10.12` (suite version `14`); package data includes every terminal data
291
355
  directory.
292
356
 
293
357
  **Layout:** `src/MProcs/modules/{polyhistor,flu0,hmptunnel}`.
@@ -343,7 +407,7 @@ PASSED.
343
407
  between blank lines.
344
408
  - **Wording:** removed previous integration labels from the UI, package description and
345
409
  documentation.
346
- - **Versions:** MProcs `14`; application package `10.0`.
410
+ - **Versions:** MProcs `14`; application package `10.12`.
347
411
 
348
412
  **Verified:** 256-colour POLYHISTOR output and spacing, FLU0/JADE//WIRE boards
349
413
  with rails/frame, both GWFs, nested Esc/Ctrl-G navigation, update screen and
@@ -2,7 +2,7 @@
2
2
 
3
3
  Derived from NeonBunny. A Life program by tderk, originally LPro.py and Destiny [2024].
4
4
 
5
- ## MProcs // Terminal Suite (14 / app 10.0)
5
+ ## MProcs // Terminal Suite (14 / app 10.12)
6
6
 
7
7
  MProcs is now a single, self-contained launcher for every terminal in the
8
8
  suite. Nothing is looked up on PyPI, nothing is downloaded at startup, and the
@@ -38,6 +38,9 @@ that terminal's **original curses TUI**:
38
38
 
39
39
  ### Colours, boxes and resizing
40
40
 
41
+ - On startup the launcher plays a four-second colourful Matrix-rain intro with
42
+ the MProcs wordmark before the menu appears. Press any key to skip it, or set
43
+ `MPROCS_NO_SPLASH=1` to disable it.
41
44
  - POLYHISTOR uses the MProcs 256-colour ANSI renderer (`38;5;n`, bold, dim,
42
45
  underline, reverse) and is sized to the live content width.
43
46
  - FLU0 and JADE//WIRE run their original TUI directly, so their colours,
@@ -54,9 +57,68 @@ that terminal's **original curses TUI**:
54
57
  - `u` opens **Update & Restart** on the launcher.
55
58
  - `q` quits MProcs from the launcher.
56
59
  - Inside native FLU0/JADE//WIRE, use their own keys; `^C` exits back to MProcs.
60
+ - The mouse wheel scrolls terminal output in the launcher and in every hosted
61
+ terminal. On touch terminals that forward mouse events, dragging scrolls the
62
+ same buffer; in the launcher the wheel/drag moves the menu selection.
57
63
 
58
64
  `quit` / `exit` inside a MProcs-hosted terminal returns to the launcher.
59
65
 
66
+ ### gusher / gxr
67
+
68
+ Every MProcs terminal (interactive and pipeline/passive modes, `lpro.py` and
69
+ `lpro_s.py`) includes the **gusher** phrase-seeded glitch terminal from
70
+ `BDCS/gusher`. It is available under both names:
71
+
72
+ ```text
73
+ gusher
74
+ gxr
75
+ ```
76
+
77
+ All flags can be written on the single command line. The terminal's current
78
+ username is used for gusher's user variable unless `-u` / `--user` is given:
79
+
80
+ ```text
81
+ gusher -u ghost -n 24 -w 80 "ghost in the wire"
82
+ gusher -n 120 -w 120 "long operation"
83
+ gusher --sources
84
+ gusher --fingerprint
85
+ gusher --refresh-fingerprint
86
+ gusher --install --yes
87
+ gusher --version
88
+ ```
89
+
90
+ The same command is also available as a launcher flag, for example
91
+ `MProcs -gusher -u ghost -n 8 "signal in"` or `mprocs -gxr --sources`.
92
+
93
+ Inside a running terminal, `gusher` / `gxr` with no phrase opens the gusher
94
+ prompt. **Ctrl-D** (or `exit`, `quit`, `:q`, `終了`) closes it and returns to
95
+ the hosting terminal. Ctrl-D at the outer prompt exits the terminal back to the
96
+ launcher.
97
+
98
+ ### rline / record line
99
+
100
+ Every terminal also has:
101
+
102
+ ```text
103
+ rline [N]
104
+ record line [N]
105
+ ```
106
+
107
+ It appends the last **N** previous prompt blocks to `MProcs-logs.txt` (the
108
+ normal `file=z` log), even in the non-recording `lpro_s.py` mode. Each block
109
+ starts with the username prompt line, contains the command as entered and the
110
+ result lines, and ends with the usual blank line:
111
+
112
+ ```text
113
+ st ( ghost ) $ gusher -n 24 "signal in" 2026-10-31 15:20:51.737838
114
+ [...result lines...]
115
+
116
+ ```
117
+
118
+ `N` defaults to 1. The `rline` command itself is not included. Fumuda-XY also
119
+ accepts `記録行 [N]`, `記録ライン [N]`, `行を記録 [N]` and
120
+ `最後のプロンプトを記録 [N]`.
121
+
60
122
  ### Update check / SOP
61
123
 
62
124
  The launcher performs a lightweight background PyPI version check when it
@@ -73,7 +135,8 @@ the standard operating procedure:
73
135
 
74
136
  If pip reports `externally-managed-environment`, the flow offers to retry with
75
137
  `--break-system-packages`. After a successful install it offers to restart
76
- MProcs in place.
138
+ MProcs in place. Every update also upgrades **gusher**, and the update flow
139
+ shows a progress bar while pip runs.
77
140
 
78
141
  ### Offline by design
79
142
 
@@ -134,7 +197,7 @@ Fix applied vs. original PyPI sdist: moved `dependencies = ["requests","ddgs"]`
134
197
  ```bash
135
198
  # from this directory (/home/kredt/BDCS/MProcs)
136
199
  pip install --upgrade build twine
137
- python -m build # creates dist/mprocs-10.0.tar.gz + .whl
200
+ python -m build # creates dist/mprocs-10.12.tar.gz + .whl
138
201
  # or
139
202
  pip wheel . --no-deps
140
203
  pip install dist/mprocs-*.whl # test install
@@ -270,7 +333,7 @@ Display full article from source header? (enter header/title/id or n): agent-tra
270
333
  terminal summary.
271
334
  - `MProcs --list`, `MProcs --version` and `MProcs --help` are available without
272
335
  starting the TUI.
273
- - `pyproject.toml` application version `10.0` (suite version `14`); package data includes every terminal data
336
+ - `pyproject.toml` application version `10.12` (suite version `14`); package data includes every terminal data
274
337
  directory.
275
338
 
276
339
  **Layout:** `src/MProcs/modules/{polyhistor,flu0,hmptunnel}`.
@@ -326,7 +389,7 @@ PASSED.
326
389
  between blank lines.
327
390
  - **Wording:** removed previous integration labels from the UI, package description and
328
391
  documentation.
329
- - **Versions:** MProcs `14`; application package `10.0`.
392
+ - **Versions:** MProcs `14`; application package `10.12`.
330
393
 
331
394
  **Verified:** 256-colour POLYHISTOR output and spacing, FLU0/JADE//WIRE boards
332
395
  with rails/frame, both GWFs, nested Esc/Ctrl-G navigation, update screen and
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "MProcs"
7
- version = "10.0"
7
+ version = "10.12"
8
8
  description = "MProcs // Terminal Suite - MProcs, POLYHISTOR, FLU0 and JADE//WIRE in one launcher"
9
9
  requires-python = ">=3.8"
10
10
  readme = "README.md"
@@ -12,7 +12,7 @@ license = { text = "MIT" }
12
12
  authors = [
13
13
  { name = "tderk", email = "usvu.tech@gmail.com" }
14
14
  ]
15
- dependencies = ["requests", "ddgs"]
15
+ dependencies = ["requests", "ddgs", "gusher>=1.0.1"]
16
16
 
17
17
  [project.scripts]
18
18
  MProcs = "MProcs.scripts.main:run"
@@ -23,7 +23,7 @@ gwf = "MProcs.scripts.gwf:run"
23
23
 
24
24
  [tool.mprocs]
25
25
  version = "14"
26
- app-version = "10.0"
26
+ app-version = "10.12"
27
27
 
28
28
  [project.optional-dependencies]
29
29
  dev = ["pytest", "black", "flake8"]
@@ -1,7 +1,7 @@
1
1
  """MProcs terminal suite."""
2
2
 
3
3
  __version__ = "14"
4
- __app_version__ = "10.0"
4
+ __app_version__ = "10.12"
5
5
 
6
6
 
7
7
  def switch_diction(source=None):
@@ -356,7 +356,7 @@ class GWF:
356
356
  lines.extend(rows[:body_rows])
357
357
  if chrome:
358
358
  lines.append(self._status_line(width))
359
- keys = self._fit(' [g] green [c] blip-color [w] words [n] new [p] pause [+/-] speed ', width)
359
+ keys = self._fit(' [g] green [c] blip-color [w] words [n] new [p] pause [+/-] speed [q/Esc] quit ', width)
360
360
  lines.append(_YELLOW + keys + _RESET)
361
361
  while len(lines) < total:
362
362
  lines.append('')
@@ -399,11 +399,11 @@ class GWF:
399
399
  return True
400
400
 
401
401
  def _on_key(self, key):
402
+ if key == 27 or key == '\x1b':
403
+ self.running = False
404
+ return True
402
405
  if isinstance(key, str):
403
406
  k = key.lower()
404
- if k == '\x1b':
405
- self.running = False
406
- return True
407
407
  if k == 'g':
408
408
  self._green_paused = not self._green_paused
409
409
  return True
@@ -425,16 +425,45 @@ class GWF:
425
425
  if k == '-':
426
426
  self._speed = max(0.05, self._speed / 1.5)
427
427
  return True
428
+ if k == 'q':
429
+ self.running = False
430
+ return True
428
431
  return False
429
432
 
430
- def run_wrapper(self, tui, lpro, lpro_s, session_usr='zeta', active='s', first=True):
433
+ def _read_keys(self):
434
+ """Standalone key loop: Esc or q closes GWF when no host TUI is present."""
435
+ try:
436
+ import select
437
+ import termios
438
+ import tty
439
+ except ImportError:
440
+ return
441
+ if not sys.stdin.isatty():
442
+ return
443
+ fd = sys.stdin.fileno()
444
+ saved = termios.tcgetattr(fd)
445
+ try:
446
+ tty.setcbreak(fd)
447
+ while self.running:
448
+ ready, _, _ = select.select([sys.stdin], [], [], 0.1)
449
+ if not ready:
450
+ continue
451
+ ch = os.read(fd, 1).decode('utf-8', 'ignore')
452
+ if not ch:
453
+ break
454
+ self._on_key(ch)
455
+ finally:
456
+ termios.tcsetattr(fd, termios.TCSADRAIN, saved)
457
+
458
+ def run_wrapper(self, tui, lpro, lpro_s, session_usr='zeta', active='s', first=True,
459
+ return_to_menu=True):
431
460
  self.tui = tui
432
461
  standalone = tui is None
433
462
  try:
434
463
  from . import tui as tui_mod
435
- return_to_menu = tui_mod._ReturnToMenu
464
+ return_to_menu_exc = tui_mod._ReturnToMenu
436
465
  except ImportError:
437
- return_to_menu = None
466
+ return_to_menu_exc = None
438
467
  if standalone:
439
468
  sys.stdout.write('\x1b[?1049h\x1b[?25l')
440
469
  sys.stdout.flush()
@@ -447,6 +476,8 @@ class GWF:
447
476
  thread = threading.Thread(target=self._animate, args=(stop,), daemon=True)
448
477
  thread.start()
449
478
  try:
479
+ if standalone:
480
+ self._read_keys()
450
481
  while self.running:
451
482
  if not standalone and tui.exit_requested:
452
483
  break
@@ -461,8 +492,8 @@ class GWF:
461
492
  sys.stdout.flush()
462
493
  else:
463
494
  tui.set_app_key_handler(None)
464
- if not standalone and return_to_menu is not None:
465
- raise return_to_menu()
495
+ if not standalone and return_to_menu and return_to_menu_exc is not None:
496
+ raise return_to_menu_exc()
466
497
 
467
498
 
468
499
  def run():
@@ -12,6 +12,10 @@ import argparse
12
12
  import math
13
13
  import struct
14
14
  import sys
15
+ try:
16
+ import readline # noqa: F401 enable line editing/history for input()
17
+ except ImportError:
18
+ readline = None
15
19
  from . import session
16
20
  import re
17
21
  from . import version_checker
@@ -23,6 +27,18 @@ try:
23
27
  from MProcs.scripts import inline_args
24
28
  except ImportError:
25
29
  from ....scripts import inline_args
30
+ try:
31
+ from MProcs.scripts import gusher_cmd
32
+ except ImportError:
33
+ from ....scripts import gusher_cmd
34
+ try:
35
+ from MProcs.scripts import record_line
36
+ except ImportError:
37
+ from ....scripts import record_line
38
+ try:
39
+ from MProcs.scripts import search_context
40
+ except ImportError:
41
+ from ....scripts import search_context
26
42
 
27
43
  # Values can be written inline (``user AAPL``, ``medicals 5``, ...).
28
44
  input = inline_args.input
@@ -93,6 +109,21 @@ def change_username(provided_name=None):
93
109
 
94
110
  return usr
95
111
 
112
+ def GWF():
113
+ """Open FLU0's GWF; Esc or q closes it and returns to this terminal."""
114
+ tui = getattr(session, 'current_tui', None)
115
+ from . import gwf
116
+ if tui is None:
117
+ gwf.GWF(None).run_wrapper(None, None, None, return_to_menu=False)
118
+ return
119
+ was_input_active = tui.input_active
120
+ tui.input_active = False
121
+ try:
122
+ gwf.GWF(tui).run_wrapper(tui, None, None, return_to_menu=False)
123
+ finally:
124
+ tui.input_active = was_input_active
125
+ tui._dirty = True
126
+
96
127
  omit_result = False
97
128
  current_ddd = [""]
98
129
  jot_log = None
@@ -134,6 +165,9 @@ skip_log = SkipLog()
134
165
  def jot_print(*args, **kwargs):
135
166
  global jot_log, jot_active
136
167
  converted = tuple(theme.retranslate(a) if isinstance(a, str) else a for a in args)
168
+ if _no_color_on:
169
+ converted = tuple(re.sub(r'\x1b\[[0-9;]*m', '', a) if isinstance(a, str) else a
170
+ for a in converted)
137
171
  if 'file' in kwargs and isinstance(kwargs['file'], SkipLog):
138
172
  print_orig(*converted, **kwargs)
139
173
  return
@@ -143,6 +177,7 @@ def jot_print(*args, **kwargs):
143
177
  jot_log.write(clean_text + "\n")
144
178
  jot_log.flush()
145
179
  if 'file' not in kwargs and clean_text.strip():
180
+ record_line.write_output(clean_text)
146
181
  deepseek_ai.write_output(clean_text)
147
182
  print_orig(*converted, **kwargs)
148
183
 
@@ -424,7 +459,7 @@ def main():
424
459
  print(ha_sh, wonyao_str, acadl, ct)
425
460
  print(usr, ha_sh, wonyao_str, acadl, ct, file=z)
426
461
 
427
- def no_color():
462
+ def no_color(quiet=False):
428
463
  global _no_color_on, _orig_colors, RED, GREEN, PURPLE, ORANGE, BLUE, PINK, RESET, colors, usr
429
464
  _no_color_on = not _no_color_on
430
465
  if _no_color_on:
@@ -438,7 +473,8 @@ def main():
438
473
  _orig_colors.clear()
439
474
  theme.set_color_enabled(not _no_color_on)
440
475
  usr = theme.terminal_prompt(raw_usr, "full capture")
441
- print(f"ANSI colors {'disabled' if _no_color_on else 'enabled'}")
476
+ if not quiet:
477
+ print(f"ANSI colors {'disabled' if _no_color_on else 'enabled'}")
442
478
 
443
479
  def commands():
444
480
  print(theme.command_help())
@@ -611,16 +647,10 @@ def main():
611
647
  print(usr + "" + " " + "" + "save: " + "" + save, l_time, t_time, file=z)
612
648
 
613
649
  def search():
614
- zen = input("Search: ")
650
+ zen = input('Search: ')
615
651
  print()
616
- print(file=z)
617
- with open(r"flu0-logs.txt", 'r') as fp:
618
- for l_no, line in enumerate(fp):
619
- # search string
620
- if zen in line:
621
- print(zen + "" + ' found')
622
- print('Line Number:', l_no)
623
- print('Line:', line)
652
+ search_context.search_log('flu0-logs.txt', zen, session.raw_usr,
653
+ printer=print)
624
654
 
625
655
  def msearch():
626
656
  zen = input("Monitor-Search: ")
@@ -7705,6 +7735,10 @@ def main():
7705
7735
  return
7706
7736
 
7707
7737
 
7738
+ def rline():
7739
+ value = inline_args.take()
7740
+ record_line.record_last(value, log_file=z, printer=print)
7741
+
7708
7742
  def choice():
7709
7743
  choice = ''
7710
7744
  while choice !='pray' and choice !='slot' and choice !='search for items' and choice !='surf' and choice !='sleep' and choice !='eat' and choice !='meditate' and choice !='find coins' and choice !='draw card' and choice !='fly' and choice !='drink coffee' and choice !='drink tea' and choice !='surf' and choice !='dhammapada' and choice !='skate' and choice !='art' and choice !='give alms' and choice !='radio' and choice !='hack' and choice !='message' and choice !='brawl' and choice !='souls'and choice !='hipster tarot' and choice !='mp3' and choice !='spar' and choice !='train' and choice !='rest' and choice !='psalms' and choice !='haiku' and choice !='muslim prayer' and choice !='karate' and choice !='koans' and choice !='equips' and choice !='rpg' and choice !='archery' and choice !='color key' and choice !='doodling' and choice !='BUMP' and choice !='MA' and choice !='Magic' and choice !='commands' and choice !='scmpy' and choice !='scm' and choice !='ascii' and choice !='zen melody' and choice !='monopoly' and choice !='light incense' and choice !='stats' and choice !='prayer' and choice !='progress' and choice !='collections' and choice !='football' and choice !='c' and choice !='map' and choice !='search' and choice !='print time' and choice !='entry' and choice !='posting' and choice !='koran' and choice !='heBrews' and choice !='Medicals' and choice !='M' and choice !='Clearance' and choice !='MiCasa' and choice !='stuff' and choice !='worship' and choice !='Earth Science' and choice !='SCI' and choice !='value' and choice !='psychology' and choice !='psyc' and choice !='Patient Simu' and choice !='biology' and choice !='B' and choice !='legal terms' and choice !='Law' and choice !='the heart sutra' and choice !='License' and choice !='police' and choice !='prad' and choice !='climb' and choice !='chemistry' and choice !='ch' and choice !='weapon start' and choice !='wstart' and choice !='teletubby' and choice !='note' and choice !='save' and choice !='journal' and choice !='version' and choice !='ai' and choice !='auto-mat' and choice !='AAM' and choice !='ID' and choice !='IDC' and choice !='echo' and choice !='monitor-start' and choice !='mstart' and choice !='change username' and choice !='username' and choice !='user' and choice !='fuzz' and choice !='message-scan' and choice !='scan' and choice !='monitor-search' and choice !='msearch' and choice !='tag' and choice !='atag' and choice !='a-tag' and choice !='acad-monitor' and choice !='astart' and choice !='acad-search' and choice !='asearch' and choice !='oscillator' and choice !='oscillate' and choice !='oscill' and choice !='amror' and choice !='game' and choice !='amsearch' and choice !='amror-search' and choice !='amror search' and choice !='profile' and choice !='Profile' and choice !='herbs' and choice !='herbals' and choice !='degree' and choice !='degrees' and choice !='major' and choice !='majors' and choice !='MedProc AI' and choice !='MAI' and choice !='frames' and choice !='fsearch' and choice !='ascsearch' and choice !='alerts' and choice !='Alerts' and choice !='burner-start' and choice !='burner start' and choice !='burner' and choice !='burn' and choice !='MAIc' and choice !='MPC' and choice !='mpc' and choice !='GES' and choice !='call' and choice !='time-monitor' and choice !='rhospital' and choice !='rhosp' and choice !='random hospital' and choice !='ghosthunt' and choice !='update' and choice !='restart':
@@ -7712,7 +7746,12 @@ def main():
7712
7746
  print()
7713
7747
  print(file=z)
7714
7748
  inline_args.clear()
7715
- raw_choice = input(usr)
7749
+ try:
7750
+ raw_choice = input(usr)
7751
+ except (EOFError, KeyboardInterrupt):
7752
+ print()
7753
+ raise SystemExit(0)
7754
+ record_line.remember(usr, raw_choice)
7716
7755
  choice, inline_value = inline_args.split(raw_choice)
7717
7756
  choice = theme.resolve_alias(choice)
7718
7757
  inline_args.push(inline_value)
@@ -8381,6 +8420,9 @@ def main():
8381
8420
  if choice == "soundstream" or choice == "sst" or choice == "SST" or choice == "sound stream" or choice == "stream sound" or choice == "streamsound":
8382
8421
  sound_stream()
8383
8422
 
8423
+ if choice == "GWF" or choice == "gwf":
8424
+ GWF()
8425
+
8384
8426
  if choice == "rhospital" or choice == "random hospital" or choice == "ghosthunt" or choice == "rhosp":
8385
8427
  rhospital()
8386
8428
 
@@ -8416,11 +8458,19 @@ def main():
8416
8458
  if choice in ("theme", "program", "briefing"):
8417
8459
  print(theme.theme_info())
8418
8460
 
8461
+ if record_line.is_command(choice):
8462
+ rline()
8463
+
8464
+ if gusher_cmd.is_command(choice):
8465
+ gusher_cmd.run_line(inline_args.take(), username=session.raw_usr,
8466
+ printer=print, input_func=input)
8467
+
8419
8468
  if choice in ("switch", "lx", "lpro-s", "hmptl_s", "hmptl-s"):
8420
8469
  return "switch"
8421
8470
 
8422
8471
  parser = argparse.ArgumentParser(description="flu0", prefix_chars='-')
8423
8472
 
8473
+ parser.add_argument("--no-color", "--nc", action="store_true", help="Disable ANSI colors")
8424
8474
  parser.add_argument("--user", "--username", nargs='?', const='ASK', help="Set username *lx-switch persistent")
8425
8475
  parser.add_argument("--charset", "--nanochars", "-ch", nargs='?', const='ASK', help="Set Nano charset (e.g. 1, 2a, korean) *lx-switch persistent")
8426
8476
  parser.add_argument("--version", "--about", "--wm", "--intro", action="store_true", help="Display intro, version, and welcome message")
@@ -8594,6 +8644,7 @@ def main():
8594
8644
  parser.add_argument("-sound-stream", "-sst", action="store_true")
8595
8645
  parser.add_argument("-rhospital", "-ghosthunt", action="store_true")
8596
8646
  parser.add_argument("-ahb", "-A-HB", "-agent-handbook", action="store_true", help="Agent Handbook - random article passages (A-HB:)")
8647
+ parser.add_argument("-gusher", "-gxr", dest="gusher", nargs=argparse.REMAINDER, metavar="ARGS", help="gusher / gxr phrase-seeded glitch terminal; all flags on one line (default user: terminal username)")
8597
8648
  parser.add_argument("-agent", "-dossier", nargs='?', const='ASK', help="Show a deterministic FLU0 agent dossier")
8598
8649
  parser.add_argument("-implements", "-implants", "-loadout", action="store_true", help="Show the agent implements for the current handle")
8599
8650
  parser.add_argument("-canon", nargs='?', const='all', help="Browse the FLU0 canon (regions, eras, factions, rigs, languages, protocols, culture, pop)")
@@ -8655,6 +8706,9 @@ def main():
8655
8706
 
8656
8707
  args = parser.parse_args()
8657
8708
 
8709
+ if getattr(args, 'no_color', False):
8710
+ no_color(quiet=True)
8711
+
8658
8712
  if args.ds:
8659
8713
  prompt = input("DS prompt: ") if args.ds == 'ASK' else args.ds
8660
8714
  reply = deepseek_ai.chat_once(str(prompt))
@@ -9260,6 +9314,11 @@ def main():
9260
9314
  if args.ahb:
9261
9315
  ahb()
9262
9316
 
9317
+ if args.gusher is not None:
9318
+ gusher_cmd.run_tokens(args.gusher, username=session.raw_usr,
9319
+ printer=print, input_func=input)
9320
+ sys.exit(0)
9321
+
9263
9322
  if args.flu0_commands:
9264
9323
  commands()
9265
9324