lynn-moss 0.1.0b3__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 (756) hide show
  1. lynn_moss-0.1.0b3/LICENSE +21 -0
  2. lynn_moss-0.1.0b3/PKG-INFO +238 -0
  3. lynn_moss-0.1.0b3/README.md +175 -0
  4. lynn_moss-0.1.0b3/pyproject.toml +138 -0
  5. lynn_moss-0.1.0b3/setup.cfg +4 -0
  6. lynn_moss-0.1.0b3/src/ghoshell_moss/README.md +7 -0
  7. lynn_moss-0.1.0b3/src/ghoshell_moss/__init__.py +50 -0
  8. lynn_moss-0.1.0b3/src/ghoshell_moss/agents/__init__.py +0 -0
  9. lynn_moss-0.1.0b3/src/ghoshell_moss/agents/pydantic_ai_utils/__init__.py +35 -0
  10. lynn_moss-0.1.0b3/src/ghoshell_moss/agents/pydantic_ai_utils/anchor.py +70 -0
  11. lynn_moss-0.1.0b3/src/ghoshell_moss/anchor/SPECIFICATION.md +175 -0
  12. lynn_moss-0.1.0b3/src/ghoshell_moss/anchor/__init__.py +16 -0
  13. lynn_moss-0.1.0b3/src/ghoshell_moss/anchor/contract.py +185 -0
  14. lynn_moss-0.1.0b3/src/ghoshell_moss/architecture.py +123 -0
  15. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/__init__.py +1 -0
  16. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/redis_channel/__init__.py +7 -0
  17. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/redis_channel/redis_channel.py +232 -0
  18. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/ws_channel/__init__.py +7 -0
  19. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/ws_channel/ws_channel.py +211 -0
  20. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/__init__.py +9 -0
  21. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/_hub.py +306 -0
  22. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/_provider.py +261 -0
  23. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/_proxy.py +240 -0
  24. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/_suite.py +31 -0
  25. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zenoh_bridge/_utils.py +58 -0
  26. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zmq_channel/__init__.py +2 -0
  27. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zmq_channel/zmq_channel.py +394 -0
  28. lynn_moss-0.1.0b3/src/ghoshell_moss/bridges/zmq_channel/zmq_hub.py +683 -0
  29. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/__init__.py +1 -0
  30. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/desktop_channel.py +91 -0
  31. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/file_editor_channel.py +288 -0
  32. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/frame_channel.py +424 -0
  33. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/ground_channel.py +722 -0
  34. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/introspect_channel.py +342 -0
  35. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/mac_channel.py +108 -0
  36. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/macro_store.py +327 -0
  37. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/matrix_channel.py +1073 -0
  38. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/mcp_channel.py +622 -0
  39. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/mermaid_draw.py +119 -0
  40. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/module_channel.py +74 -0
  41. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/module_eval_channel.py +317 -0
  42. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/moss_cli.py +219 -0
  43. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/runtime_debug_channel.py +213 -0
  44. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/runtime_error_channel.py +72 -0
  45. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/shell_channel.py +100 -0
  46. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/speech_channel.py +101 -0
  47. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/sqlite_channel.py +361 -0
  48. lynn_moss-0.1.0b3/src/ghoshell_moss/channels/terminal_channel.py +391 -0
  49. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/CLAUDE.md +129 -0
  50. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/__init__.py +8 -0
  51. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/__main__.py +4 -0
  52. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/_eval_child.py +74 -0
  53. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/__init__.py +32 -0
  54. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/asr.py +194 -0
  55. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/capture.py +122 -0
  56. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/codec.py +76 -0
  57. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/contracts.py +57 -0
  58. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/devices.py +42 -0
  59. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/echo.py +116 -0
  60. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/listen.py +267 -0
  61. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/play.py +138 -0
  62. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/render.py +174 -0
  63. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/audio/speak.py +267 -0
  64. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/codex_cli.py +634 -0
  65. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/ctml_cli.py +85 -0
  66. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/README.md +32 -0
  67. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/architecture-topology.md +248 -0
  68. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/channel-system.md +140 -0
  69. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/ctml.md +374 -0
  70. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/ghost.md +408 -0
  71. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/glossary.md +176 -0
  72. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/matrix-nodes-system.md +155 -0
  73. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/matrix-system.md +181 -0
  74. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/memento_spec.md +146 -0
  75. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/project-and-mode.md +90 -0
  76. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs/what-is-moss.md +173 -0
  77. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/docs_cli.py +148 -0
  78. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/features_cli.py +889 -0
  79. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/ghost_run.py +358 -0
  80. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/ghosts_cli.py +89 -0
  81. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/ground_cli.py +720 -0
  82. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/llms_cli.py +560 -0
  83. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/main.py +590 -0
  84. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/manifests_cli.py +1012 -0
  85. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/mcp_cli.py +225 -0
  86. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/memento_cli.py +420 -0
  87. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/modes_cli.py +203 -0
  88. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/moss_as_mcp.py +342 -0
  89. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/moss_debug_repl.py +201 -0
  90. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/moss_utils.py +27 -0
  91. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/networks_cli.py +77 -0
  92. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/nodes_answer.py +405 -0
  93. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/nodes_cli.py +753 -0
  94. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/project_cli.py +173 -0
  95. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/AGENTS.md +144 -0
  96. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/audio/macos-device-routing/SKILL.md +80 -0
  97. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/matrix/service-operator/SKILL.md +122 -0
  98. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/project/governing-project-space/SKILL.md +139 -0
  99. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/project/managing-works/SKILL.md +113 -0
  100. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/project/managing-works/templates/GROUND.template.md +49 -0
  101. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/project/managing-works/templates/WORK.template.md +43 -0
  102. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills/screen/projection/SKILL.md +115 -0
  103. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/skills_cli.py +120 -0
  104. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/start.md +326 -0
  105. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/start_cli.py +60 -0
  106. lynn_moss-0.1.0b3/src/ghoshell_moss/cli/utils.py +367 -0
  107. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/__init__.py +17 -0
  108. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/asr.py +421 -0
  109. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/audio.py +282 -0
  110. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/configs.py +504 -0
  111. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/file_editor.py +334 -0
  112. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/job_supervisor.py +299 -0
  113. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/listener.py +178 -0
  114. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/llms.py +995 -0
  115. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/logger.py +70 -0
  116. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/resource.py +452 -0
  117. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/runtime_error.py +60 -0
  118. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/speech.py +789 -0
  119. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/subprocesses.py +352 -0
  120. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/system_prompter.py +196 -0
  121. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/voice.py +91 -0
  122. lynn_moss-0.1.0b3/src/ghoshell_moss/contracts/workspace.py +558 -0
  123. lynn_moss-0.1.0b3/src/ghoshell_moss/core/README.md +6 -0
  124. lynn_moss-0.1.0b3/src/ghoshell_moss/core/__init__.py +21 -0
  125. lynn_moss-0.1.0b3/src/ghoshell_moss/core/asr/__init__.py +3 -0
  126. lynn_moss-0.1.0b3/src/ghoshell_moss/core/asr/null.py +82 -0
  127. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/CLAUDE.md +88 -0
  128. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/__init__.py +0 -0
  129. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/cell.py +1420 -0
  130. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/channel_builder.py +967 -0
  131. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/environment.py +741 -0
  132. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/environment_options.py +22 -0
  133. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/ghost.py +298 -0
  134. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/host.py +686 -0
  135. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/matrix.py +738 -0
  136. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/mindflow.py +1589 -0
  137. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/moment.py +872 -0
  138. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/parameter.py +259 -0
  139. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/project.py +852 -0
  140. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/service.py +308 -0
  141. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/session.py +409 -0
  142. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/shell_trajectory.py +766 -0
  143. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/states_channel.py +331 -0
  144. lynn_moss-0.1.0b3/src/ghoshell_moss/core/blueprint/warrant.py +254 -0
  145. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/README.md +38 -0
  146. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/__init__.py +73 -0
  147. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features.py +429 -0
  148. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/README.md +360 -0
  149. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/SURFACE.md +39 -0
  150. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/TEMPLATE.md +42 -0
  151. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/TOPOLOGY.md +49 -0
  152. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/regressions/README.md +278 -0
  153. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/regressions/TEMPLATE.md +80 -0
  154. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/review/reconcile.md +86 -0
  155. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/review/takeover.md +62 -0
  156. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/stages/README.md +139 -0
  157. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/stages/ROADMAP.md +19 -0
  158. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/stages/_template/STAGE.md +49 -0
  159. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_features_stubs/stages/_template/milestones/MILESTONE.md +23 -0
  160. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_reflect.py +235 -0
  161. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/_utils.py +393 -0
  162. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/compiler.py +144 -0
  163. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/discover.py +297 -0
  164. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/executor.py +123 -0
  165. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/reflector.py +143 -0
  166. lynn_moss-0.1.0b3/src/ghoshell_moss/core/codex/sandbox.py +596 -0
  167. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/__init__.py +43 -0
  168. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/channel.py +1384 -0
  169. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/command.py +1928 -0
  170. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/errors.py +257 -0
  171. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/interpreter.py +886 -0
  172. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/qa.py +436 -0
  173. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/shell.py +548 -0
  174. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/tools.py +181 -0
  175. lynn_moss-0.1.0b3/src/ghoshell_moss/core/concepts/topic.py +656 -0
  176. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/README.md +9 -0
  177. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/__init__.py +6 -0
  178. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/elements.py +989 -0
  179. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/interpreter.py +738 -0
  180. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/prompts/__init__.py +3 -0
  181. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/prompts/deprecated_v0_1_0.md +221 -0
  182. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/prompts/deprecated_v0_2_0.zh.md +204 -0
  183. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/prompts/v1_0_0.en.md +410 -0
  184. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/prompts/v1_0_0.zh.md +336 -0
  185. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/__init__.py +2 -0
  186. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/ctml_main.py +112 -0
  187. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/ctml_shell.py +820 -0
  188. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/__init__.py +11 -0
  189. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/clear.py +26 -0
  190. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/condition.py +61 -0
  191. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/interrupt.py +20 -0
  192. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/loop.py +77 -0
  193. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/noop.py +9 -0
  194. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/observe.py +10 -0
  195. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/sample.py +76 -0
  196. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/sleep.py +34 -0
  197. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/thinking.py +21 -0
  198. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/wait.py +145 -0
  199. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/shell/primitives/wait_idle.py +58 -0
  200. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/token_parser.py +811 -0
  201. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/v1_0/__init__.py +1 -0
  202. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/v1_0/constants.py +46 -0
  203. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/v1_0/prompts.py +426 -0
  204. lynn_moss-0.1.0b3/src/ghoshell_moss/core/ctml/versions.py +56 -0
  205. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/__init__.py +19 -0
  206. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/connection.py +64 -0
  207. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/protocol.py +275 -0
  208. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/provider.py +786 -0
  209. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/proxy.py +968 -0
  210. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/suite_for_test.py +25 -0
  211. lynn_moss-0.1.0b3/src/ghoshell_moss/core/duplex/thread_channel.py +190 -0
  212. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/__init__.py +32 -0
  213. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_default.py +292 -0
  214. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/LICENSE +21 -0
  215. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/UPSTREAM.md +72 -0
  216. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/__init__.py +0 -0
  217. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/config.py +2 -0
  218. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/editor.py +605 -0
  219. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/encoding.py +85 -0
  220. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/exceptions.py +41 -0
  221. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/history.py +69 -0
  222. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/prompts.py +7 -0
  223. lynn_moss-0.1.0b3/src/ghoshell_moss/core/file_editor/_openhands/results.py +49 -0
  224. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/__init__.py +3 -0
  225. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/asyncio_utils.py +244 -0
  226. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/exception_pkg/__init__.py +0 -0
  227. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/exception_pkg/mock_exception.py +1 -0
  228. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/func.py +166 -0
  229. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/logger.py +13 -0
  230. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/result.py +104 -0
  231. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/stream.py +215 -0
  232. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/task_group.py +95 -0
  233. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/token_filters.py +48 -0
  234. lynn_moss-0.1.0b3/src/ghoshell_moss/core/helpers/xml.py +25 -0
  235. lynn_moss-0.1.0b3/src/ghoshell_moss/core/job_supervisor/__init__.py +5 -0
  236. lynn_moss-0.1.0b3/src/ghoshell_moss/core/job_supervisor/_impl.py +306 -0
  237. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/__init__.py +52 -0
  238. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/_action.py +520 -0
  239. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/_attention.py +346 -0
  240. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/_channel.py +235 -0
  241. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/_mindflow.py +1416 -0
  242. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/_think.py +321 -0
  243. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/aside_nucleus.py +281 -0
  244. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/buffer_nucleus.py +220 -0
  245. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/cell_event_nucleus.py +200 -0
  246. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/command_nucleus.py +183 -0
  247. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/input_signal_nucleus.py +374 -0
  248. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/interrupt_nucleus.py +207 -0
  249. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/knock_nucleus.py +179 -0
  250. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/listener_nucleus.py +548 -0
  251. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/mindflow_in_shell.py +567 -0
  252. lynn_moss-0.1.0b3/src/ghoshell_moss/core/mindflow/notify_nucleus.py +203 -0
  253. lynn_moss-0.1.0b3/src/ghoshell_moss/core/parameter/__init__.py +20 -0
  254. lynn_moss-0.1.0b3/src/ghoshell_moss/core/parameter/_base.py +769 -0
  255. lynn_moss-0.1.0b3/src/ghoshell_moss/core/parameter/memory_parameter.py +87 -0
  256. lynn_moss-0.1.0b3/src/ghoshell_moss/core/py_channel.py +1105 -0
  257. lynn_moss-0.1.0b3/src/ghoshell_moss/core/qa/__init__.py +3 -0
  258. lynn_moss-0.1.0b3/src/ghoshell_moss/core/qa/janus_qa.py +607 -0
  259. lynn_moss-0.1.0b3/src/ghoshell_moss/core/runtime/__init__.py +3 -0
  260. lynn_moss-0.1.0b3/src/ghoshell_moss/core/runtime/_base_channel_runtime.py +904 -0
  261. lynn_moss-0.1.0b3/src/ghoshell_moss/core/runtime/_tree_channel_runtime.py +509 -0
  262. lynn_moss-0.1.0b3/src/ghoshell_moss/core/runtime/tree.py +875 -0
  263. lynn_moss-0.1.0b3/src/ghoshell_moss/core/runtime_error.py +60 -0
  264. lynn_moss-0.1.0b3/src/ghoshell_moss/core/session/__init__.py +0 -0
  265. lynn_moss-0.1.0b3/src/ghoshell_moss/core/session/mock_session.py +250 -0
  266. lynn_moss-0.1.0b3/src/ghoshell_moss/core/session/utils.py +49 -0
  267. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/README.md +9 -0
  268. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/__init__.py +7 -0
  269. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/base_player.py +378 -0
  270. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/mock.py +146 -0
  271. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/null.py +79 -0
  272. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/speech_module.py +455 -0
  273. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/stream_tts_speech.py +447 -0
  274. lynn_moss-0.1.0b3/src/ghoshell_moss/core/speech/virtual_player.py +23 -0
  275. lynn_moss-0.1.0b3/src/ghoshell_moss/core/subprocesses/__init__.py +2 -0
  276. lynn_moss-0.1.0b3/src/ghoshell_moss/core/subprocesses/_impl.py +585 -0
  277. lynn_moss-0.1.0b3/src/ghoshell_moss/core/subprocesses/_utils.py +38 -0
  278. lynn_moss-0.1.0b3/src/ghoshell_moss/core/terminal/__init__.py +6 -0
  279. lynn_moss-0.1.0b3/src/ghoshell_moss/core/terminal/pexpect_session.py +272 -0
  280. lynn_moss-0.1.0b3/src/ghoshell_moss/core/terminal/subprocess_terminal.py +117 -0
  281. lynn_moss-0.1.0b3/src/ghoshell_moss/core/topic/__init__.py +9 -0
  282. lynn_moss-0.1.0b3/src/ghoshell_moss/core/topic/queue_based.py +531 -0
  283. lynn_moss-0.1.0b3/src/ghoshell_moss/core/topic/suite_for_test.py +30 -0
  284. lynn_moss-0.1.0b3/src/ghoshell_moss/core/topic/window.py +137 -0
  285. lynn_moss-0.1.0b3/src/ghoshell_moss/decorators/__init__.py +8 -0
  286. lynn_moss-0.1.0b3/src/ghoshell_moss/decorators/cli.py +155 -0
  287. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/__init__.py +28 -0
  288. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/channel.py +214 -0
  289. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/client.py +133 -0
  290. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/launcher.py +918 -0
  291. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/message_mapper.py +65 -0
  292. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/runtime.py +537 -0
  293. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/session.py +659 -0
  294. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/surfaces.py +206 -0
  295. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/trajectory.py +146 -0
  296. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/__init__.py +27 -0
  297. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/events.py +181 -0
  298. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/nouns.py +49 -0
  299. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/refs.py +69 -0
  300. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/rpc.py +86 -0
  301. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/sdk.py +91 -0
  302. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/session_events.py +584 -0
  303. lynn_moss-0.1.0b3/src/ghoshell_moss/deepseek_harness/types/sessions.py +310 -0
  304. lynn_moss-0.1.0b3/src/ghoshell_moss/depends.py +58 -0
  305. lynn_moss-0.1.0b3/src/ghoshell_moss/factory.py +109 -0
  306. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/__init__.py +0 -0
  307. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/atom/__init__.py +4 -0
  308. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/atom/_adapter.py +62 -0
  309. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/atom/_meta.py +164 -0
  310. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/atom/_runtime.py +100 -0
  311. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/atom/test_atom.py +274 -0
  312. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/__init__.py +4 -0
  313. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_ctml_stream.py +191 -0
  314. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_ego.py +982 -0
  315. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_ego_memento.py +867 -0
  316. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_meta.py +166 -0
  317. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_prompts.py +313 -0
  318. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_run.py +1179 -0
  319. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_runtime.py +873 -0
  320. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_startup.py +54 -0
  321. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/_tools.py +283 -0
  322. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/channel.py +112 -0
  323. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/dsh_plugin/moss-dolores-ghost-plugin.ts +1995 -0
  324. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/dsh_stubs/profiles/web/cordis.patch.yml +14 -0
  325. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/dsh_stubs/profiles/web/cordis.yml +4 -0
  326. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/dsh_stubs/profiles/web/package.json +15 -0
  327. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/dsh_stubs/profiles/web/pnpm-workspace.yaml +5 -0
  328. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/memento_channel.py +257 -0
  329. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/model_channel.py +175 -0
  330. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/nucleus.py +230 -0
  331. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.dolores.yml +25 -0
  332. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.env.example +13 -0
  333. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.gitignore +6 -0
  334. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.memento/ego/branches/GROUND.md +55 -0
  335. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.memento/ego/commits/GROUND.md +21 -0
  336. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/.memento/ego/hooks/on_commit.py +149 -0
  337. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/GROUND.md +44 -0
  338. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/existence/GROUND.md +34 -0
  339. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/existence/behaviors.md +17 -0
  340. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/existence/identity.md +16 -0
  341. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/existence/purpose.md +17 -0
  342. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/features/GROUND.md +20 -0
  343. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/journal/GROUND.md +46 -0
  344. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/journal/template.md +6 -0
  345. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/journal/timeline.py +61 -0
  346. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/people/GROUND.md +23 -0
  347. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/people/example/PERSON.md +30 -0
  348. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/skills/GROUND.md +13 -0
  349. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/startup/GROUND.md +33 -0
  350. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/stubs/startup/default.startup.yml +28 -0
  351. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/test_ctml_stream.py +165 -0
  352. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/test_dolores.py +4116 -0
  353. lynn_moss-0.1.0b3/src/ghoshell_moss/ghosts/dolores/test_ground.py +117 -0
  354. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/SPECIFICATION.md +472 -0
  355. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/__init__.py +79 -0
  356. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_addr.py +122 -0
  357. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_chain.py +85 -0
  358. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_edit.py +212 -0
  359. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_ground.py +220 -0
  360. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_grounds.py +385 -0
  361. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_hash.py +540 -0
  362. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_l0.py +242 -0
  363. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_manager.py +161 -0
  364. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/_render.py +804 -0
  365. lynn_moss-0.1.0b3/src/ghoshell_moss/ground/contract.py +722 -0
  366. lynn_moss-0.1.0b3/src/ghoshell_moss/host/__init__.py +4 -0
  367. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/__init__.py +0 -0
  368. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/aec/__init__.py +0 -0
  369. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/aec/webrtc_aec.py +121 -0
  370. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/__init__.py +0 -0
  371. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/configs.py +74 -0
  372. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/contract.py +23 -0
  373. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/factory.py +113 -0
  374. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/miniaudio_capture.py +464 -0
  375. lynn_moss-0.1.0b3/src/ghoshell_moss/host/audios/miniaudio_impl/miniaudio_player.py +279 -0
  376. lynn_moss-0.1.0b3/src/ghoshell_moss/host/ghost_runtime.py +578 -0
  377. lynn_moss-0.1.0b3/src/ghoshell_moss/host/impl.py +189 -0
  378. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/__init__.py +6 -0
  379. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/controller.py +1864 -0
  380. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/etiquette.py +574 -0
  381. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/listener.py +375 -0
  382. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/segment_buffer.py +144 -0
  383. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/segment_delta.py +125 -0
  384. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/stop_judge.py +218 -0
  385. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/volcengine_sauc/__init__.py +4 -0
  386. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/volcengine_sauc/config.py +116 -0
  387. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/volcengine_sauc/protocol.py +369 -0
  388. lynn_moss-0.1.0b3/src/ghoshell_moss/host/listener/volcengine_sauc/recognizer.py +555 -0
  389. lynn_moss-0.1.0b3/src/ghoshell_moss/host/modes.py +155 -0
  390. lynn_moss-0.1.0b3/src/ghoshell_moss/host/moss_runtime.py +597 -0
  391. lynn_moss-0.1.0b3/src/ghoshell_moss/host/nodes/__init__.py +0 -0
  392. lynn_moss-0.1.0b3/src/ghoshell_moss/host/nodes/listener_node.py +85 -0
  393. lynn_moss-0.1.0b3/src/ghoshell_moss/host/pause_controller.py +51 -0
  394. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/__init__.py +3 -0
  395. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/audio_asr_provider.py +34 -0
  396. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/audio_capture_provider.py +21 -0
  397. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/audio_factory_provider.py +28 -0
  398. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/audio_player_provider.py +15 -0
  399. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/listener_provider.py +33 -0
  400. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/speech_service_provider.py +31 -0
  401. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/tts_service_provider.py +107 -0
  402. lynn_moss-0.1.0b3/src/ghoshell_moss/host/providers/voice_provider.py +55 -0
  403. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/__init__.py +0 -0
  404. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/echo_case.py +87 -0
  405. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/inspector_ghost.py +74 -0
  406. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/inspector_manifests.py +209 -0
  407. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/inspector_matrix.py +74 -0
  408. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/inspector_moss_runtime.py +67 -0
  409. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/repl_registrar.py +249 -0
  410. lynn_moss-0.1.0b3/src/ghoshell_moss/host/repl/repl_state.py +176 -0
  411. lynn_moss-0.1.0b3/src/ghoshell_moss/host/safe_mode.py +118 -0
  412. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/__init__.py +0 -0
  413. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/mimo_tts/__init__.py +0 -0
  414. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/mimo_tts/config.py +80 -0
  415. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/mimo_tts/tts.py +409 -0
  416. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/utils.py +22 -0
  417. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/volcengine_tts/__init__.py +0 -0
  418. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/volcengine_tts/config.py +471 -0
  419. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/volcengine_tts/protocol.py +478 -0
  420. lynn_moss-0.1.0b3/src/ghoshell_moss/host/speech/volcengine_tts/tts.py +685 -0
  421. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui.py +1108 -0
  422. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui_entries/__init__.py +1 -0
  423. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui_entries/ghost_ui.py +428 -0
  424. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui_entries/moss_runtime_ui.py +78 -0
  425. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui_entries/qa_state.py +503 -0
  426. lynn_moss-0.1.0b3/src/ghoshell_moss/host/tui_entries/voice_state.py +210 -0
  427. lynn_moss-0.1.0b3/src/ghoshell_moss/host/voice/__init__.py +1 -0
  428. lynn_moss-0.1.0b3/src/ghoshell_moss/host/voice/interleaved.py +290 -0
  429. lynn_moss-0.1.0b3/src/ghoshell_moss/llms/pydantic_ai_adapter/__init__.py +5 -0
  430. lynn_moss-0.1.0b3/src/ghoshell_moss/llms/pydantic_ai_adapter/call_anchor.py +72 -0
  431. lynn_moss-0.1.0b3/src/ghoshell_moss/llms/pydantic_ai_adapter/client.py +83 -0
  432. lynn_moss-0.1.0b3/src/ghoshell_moss/llms/pydantic_ai_adapter/conversion.py +75 -0
  433. lynn_moss-0.1.0b3/src/ghoshell_moss/llms/pydantic_ai_adapter/funcs.py +618 -0
  434. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/__init__.py +0 -0
  435. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/adapter.py +172 -0
  436. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/matrix_impl.py +821 -0
  437. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/__init__.py +0 -0
  438. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/_utils.py +119 -0
  439. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/zenoh_adapter.py +238 -0
  440. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/zenoh_mesh.py +743 -0
  441. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/zenoh_network.py +114 -0
  442. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/networks/zenoh_presence.py +255 -0
  443. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/__init__.py +0 -0
  444. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/configs.py +37 -0
  445. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/nuclei.py +52 -0
  446. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/parameters.py +17 -0
  447. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/providers.py +118 -0
  448. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/resources.py +19 -0
  449. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/openbox/topics.py +26 -0
  450. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/operator/__init__.py +10 -0
  451. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/operator/_bridge.py +225 -0
  452. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/operator/_utils.py +127 -0
  453. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/operator/zenoh_operator.py +584 -0
  454. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/operator/zenoh_service_terminal.py +431 -0
  455. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/parameters/__init__.py +6 -0
  456. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/parameters/zenoh_parameters.py +142 -0
  457. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/__init__.py +5 -0
  458. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/logger_provider.py +41 -0
  459. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/moss_session_provider.py +55 -0
  460. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/qa_provider.py +39 -0
  461. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/topic_provider.py +41 -0
  462. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/providers/warrant_provider.py +41 -0
  463. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/qa/__init__.py +5 -0
  464. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/qa/zenoh_qa.py +774 -0
  465. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/session/__init__.py +0 -0
  466. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/session/zenoh_session.py +381 -0
  467. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/session/zenoh_stream_subscriber.py +116 -0
  468. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/topics/__init__.py +1 -0
  469. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/topics/zenoh_topics.py +541 -0
  470. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/warrant/__init__.py +4 -0
  471. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/warrant/session_warrant.py +224 -0
  472. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/warrant/topic_warrant.py +158 -0
  473. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/warrant/topics.py +58 -0
  474. lynn_moss-0.1.0b3/src/ghoshell_moss/matrix/zenoh_helper.py +241 -0
  475. lynn_moss-0.1.0b3/src/ghoshell_moss/mcp/__init__.py +18 -0
  476. lynn_moss-0.1.0b3/src/ghoshell_moss/mcp/auth.py +211 -0
  477. lynn_moss-0.1.0b3/src/ghoshell_moss/mcp/config.py +156 -0
  478. lynn_moss-0.1.0b3/src/ghoshell_moss/mcp/ghost_bridge.py +218 -0
  479. lynn_moss-0.1.0b3/src/ghoshell_moss/memento/__init__.py +17 -0
  480. lynn_moss-0.1.0b3/src/ghoshell_moss/memento/_fs_memento.py +587 -0
  481. lynn_moss-0.1.0b3/src/ghoshell_moss/memento/abcd.py +528 -0
  482. lynn_moss-0.1.0b3/src/ghoshell_moss/memento/hooks.py +256 -0
  483. lynn_moss-0.1.0b3/src/ghoshell_moss/message/__init__.py +3 -0
  484. lynn_moss-0.1.0b3/src/ghoshell_moss/message/contents/__init__.py +3 -0
  485. lynn_moss-0.1.0b3/src/ghoshell_moss/message/contents/abcd.py +89 -0
  486. lynn_moss-0.1.0b3/src/ghoshell_moss/message/contents/images.py +127 -0
  487. lynn_moss-0.1.0b3/src/ghoshell_moss/message/contents/text.py +35 -0
  488. lynn_moss-0.1.0b3/src/ghoshell_moss/message/message.py +549 -0
  489. lynn_moss-0.1.0b3/src/ghoshell_moss/message/prompt.py +152 -0
  490. lynn_moss-0.1.0b3/src/ghoshell_moss/project/__init__.py +0 -0
  491. lynn_moss-0.1.0b3/src/ghoshell_moss/project/local_host_mode.py +83 -0
  492. lynn_moss-0.1.0b3/src/ghoshell_moss/project/local_project.py +235 -0
  493. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/__init__.py +4 -0
  494. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/base.py +68 -0
  495. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/channels.py +64 -0
  496. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/configs.py +59 -0
  497. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/ghosts.py +55 -0
  498. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/impl.py +53 -0
  499. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/mode_impl.py +36 -0
  500. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/nuclei.py +51 -0
  501. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/parameters.py +83 -0
  502. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/providers.py +97 -0
  503. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/resources.py +51 -0
  504. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/signals.py +87 -0
  505. lynn_moss-0.1.0b3/src/ghoshell_moss/project/manifests/topics.py +77 -0
  506. lynn_moss-0.1.0b3/src/ghoshell_moss/project/node_manager.py +519 -0
  507. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/__init__.py +5 -0
  508. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/configs_provider.py +50 -0
  509. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/job_supervisor_provider.py +32 -0
  510. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/llms_provider.py +35 -0
  511. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/runtime_error_provider.py +30 -0
  512. lynn_moss-0.1.0b3/src/ghoshell_moss/project/providers/subprocesses_provider.py +38 -0
  513. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/__init__.py +3 -0
  514. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/local_image.py +302 -0
  515. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/local_video.py +387 -0
  516. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/markdown_kb/__init__.py +7 -0
  517. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/markdown_kb/_markdown_kb.py +423 -0
  518. lynn_moss-0.1.0b3/src/ghoshell_moss/resources/memory_registry.py +158 -0
  519. lynn_moss-0.1.0b3/src/ghoshell_moss/services/__init__.py +3 -0
  520. lynn_moss-0.1.0b3/src/ghoshell_moss/services/counter.py +91 -0
  521. lynn_moss-0.1.0b3/src/ghoshell_moss/services/webview/__init__.py +43 -0
  522. lynn_moss-0.1.0b3/src/ghoshell_moss/services/webview/client.py +249 -0
  523. lynn_moss-0.1.0b3/src/ghoshell_moss/services/webview/declaration.py +162 -0
  524. lynn_moss-0.1.0b3/src/ghoshell_moss/services/webview/server.py +217 -0
  525. lynn_moss-0.1.0b3/src/ghoshell_moss/signals.py +45 -0
  526. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/__init__.py +0 -0
  527. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/.gitignore +16 -0
  528. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/INSTALL.md +16 -0
  529. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/NODE.md +17 -0
  530. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/README.md +26 -0
  531. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/main.py +31 -0
  532. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/node/runtime/.gitignore +2 -0
  533. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/.env.example +32 -0
  534. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/.gitignore +150 -0
  535. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/MOSS.md +14 -0
  536. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/__init__.py +1 -0
  537. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/assets/README.md +3 -0
  538. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/configs/README.md +14 -0
  539. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/configs/logging.yml +16 -0
  540. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ctml/.gitkeep +0 -0
  541. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ctml/ctml_stub_test_only.md +1 -0
  542. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ghosts/.gitkeep +0 -0
  543. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ghosts/README.md +1 -0
  544. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ghosts/echo/README.md +1 -0
  545. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ghosts/echo/soul.md +38 -0
  546. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/ghosts/none/README.md +1 -0
  547. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/README.md +1 -0
  548. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/__init__.py +1 -0
  549. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/.env.example +2 -0
  550. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/HOST.md +12 -0
  551. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/__init__.py +1 -0
  552. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/assets/.gitkeep +0 -0
  553. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/runtime/.gitignore +2 -0
  554. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/runtime/logs/.gitkeep +0 -0
  555. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/README.md +7 -0
  556. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/__init__.py +16 -0
  557. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/channels.py +30 -0
  558. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/configs/__init__.py +0 -0
  559. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/nuclei/__init__.py +0 -0
  560. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/parameters/__init__.py +8 -0
  561. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/providers/__init__.py +13 -0
  562. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/resources/__init__.py +8 -0
  563. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/signals/__init__.py +0 -0
  564. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/HOST/topics/__init__.py +8 -0
  565. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/__init__.py +15 -0
  566. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/README.md +9 -0
  567. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/__init__.py +7 -0
  568. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/configs/__init__.py +4 -0
  569. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/nuclei/__init__.py +4 -0
  570. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/parameters/__init__.py +4 -0
  571. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/providers/__init__.py +6 -0
  572. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/resources/__init__.py +4 -0
  573. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/signals/__init__.py +4 -0
  574. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/modes/default/src/MATRIX/manifests/topics/__init__.py +4 -0
  575. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/networks/README.md +4 -0
  576. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/networks/lan.json +14 -0
  577. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/networks/local.json +14 -0
  578. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/nodes/README.md +1 -0
  579. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/cells/.gitignore +2 -0
  580. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/cells/README.md +5 -0
  581. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/locks/.gitignore +3 -0
  582. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/locks/README.md +3 -0
  583. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/logs/.gitignore +3 -0
  584. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/logs/README.md +3 -0
  585. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/sessions/.gitignore +3 -0
  586. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/runtime/sessions/README.md +6 -0
  587. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/__init__.py +0 -0
  588. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/ghosts/__init__.py +0 -0
  589. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/ghosts/deepseek.py +13 -0
  590. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/ghosts/echo.py +9 -0
  591. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/README.md +9 -0
  592. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/__init__.py +15 -0
  593. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/configs/__init__.py +0 -0
  594. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/configs/default.py +11 -0
  595. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/nuclei/__init__.py +0 -0
  596. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/nuclei/default.py +11 -0
  597. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/parameters/__init__.py +0 -0
  598. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/parameters/default.py +11 -0
  599. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/providers/__init__.py +0 -0
  600. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/providers/default.py +11 -0
  601. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/resources/__init__.py +0 -0
  602. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/resources/default.py +11 -0
  603. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/signals/__init__.py +0 -0
  604. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/signals/default.py +10 -0
  605. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/topics/__init__.py +0 -0
  606. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/MOSS/manifests/topics/default.py +11 -0
  607. lynn_moss-0.1.0b3/src/ghoshell_moss/stubs/workspace/src/README.md +11 -0
  608. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/__init__.py +7 -0
  609. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/_eval_server.py +120 -0
  610. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/codex/__init__.py +60 -0
  611. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/fs/__init__.py +76 -0
  612. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/future_router.py +162 -0
  613. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/git/__init__.py +85 -0
  614. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/module_eval.py +321 -0
  615. lynn_moss-0.1.0b3/src/ghoshell_moss/tools/moss/__init__.py +131 -0
  616. lynn_moss-0.1.0b3/src/ghoshell_moss/types/__init__.py +10 -0
  617. lynn_moss-0.1.0b3/src/ghoshell_moss/types/topics/__init__.py +13 -0
  618. lynn_moss-0.1.0b3/src/ghoshell_moss/types/topics/audio.py +83 -0
  619. lynn_moss-0.1.0b3/src/ghoshell_moss/types/topics/ghost.py +60 -0
  620. lynn_moss-0.1.0b3/src/ghoshell_moss/types/topics/vision.py +37 -0
  621. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/__init__.py +0 -0
  622. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/channels/__init__.py +0 -0
  623. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/channels/mpv_video.py +195 -0
  624. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/channels/opencv_vision.py +307 -0
  625. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/channels/screen_capture.py +230 -0
  626. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/channels/slide_studio.py +304 -0
  627. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/gui/__init__.py +0 -0
  628. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/gui/image_viewer.py +87 -0
  629. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/gui/slide_studio_creator.py +265 -0
  630. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_6dof_description/launch/view_model.launch.py +67 -0
  631. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/__init__.py +0 -0
  632. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/channels/__init__.py +0 -0
  633. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/channels/body.py +555 -0
  634. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/face_traking_node.py +233 -0
  635. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/jetarm_channel_node.py +45 -0
  636. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/nodes/__init__.py +0 -0
  637. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/nodes/action_client_node.py +80 -0
  638. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/nodes/pychannel_with_rclpy.py +101 -0
  639. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/robot.py +86 -0
  640. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/ros2_controller.py +204 -0
  641. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/ros2_node.py +212 -0
  642. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/ros_robot_controller_sdk.py +865 -0
  643. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/__init__.py +0 -0
  644. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/__init__.py +0 -0
  645. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/concurrent_move_exam.py +92 -0
  646. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/motor_safe_move_exam.py +80 -0
  647. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/move_cli.py +45 -0
  648. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/pygame_exam.py +95 -0
  649. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/python_sdk/sdk_exam.py +77 -0
  650. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/roslibpy/__init__.py +0 -0
  651. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/roslibpy/subscribe_joint_states.py +20 -0
  652. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/jetarm_channel/scripts/roslibpy/trajectory_action.py +72 -0
  653. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_channel/setup.py +39 -0
  654. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_control/launch/jetarm_control.launch.py +86 -0
  655. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/demo.launch.py +7 -0
  656. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/move_group.launch.py +7 -0
  657. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/moveit_rviz.launch.py +7 -0
  658. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/rsp.launch.py +7 -0
  659. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/setup_assistant.launch.py +7 -0
  660. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/spawn_controllers.launch.py +7 -0
  661. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/static_virtual_joint_tfs.launch.py +7 -0
  662. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/jetarm_ws/src/jetarm_moveit2/launch/warehouse_db.launch.py +7 -0
  663. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/__init__.py +0 -0
  664. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/audio/__init__.py +0 -0
  665. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/audio/player.py +100 -0
  666. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/components/__init__.py +0 -0
  667. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/components/antennas.py +81 -0
  668. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/components/body.py +200 -0
  669. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/components/head.py +106 -0
  670. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/components/vision.py +74 -0
  671. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/main.py +163 -0
  672. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/moves/__init__.py +0 -0
  673. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/moves/head_move.py +114 -0
  674. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/state/__init__.py +14 -0
  675. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/state/abcd.py +35 -0
  676. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/state/asleep.py +28 -0
  677. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/state/boring.py +41 -0
  678. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/moss_in_reachy_mini/state/waken.py +105 -0
  679. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/nodes/__init__.py +9 -0
  680. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/__init__.py +1 -0
  681. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/__init__.py +1 -0
  682. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/abcd.py +578 -0
  683. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/joint_parsers.py +26 -0
  684. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/main_channel.py +232 -0
  685. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/manager.py +84 -0
  686. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/mocks.py +51 -0
  687. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/models.py +407 -0
  688. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/ros2_controller.py +203 -0
  689. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/prototypes/ros2_robot/ros2_node.py +209 -0
  690. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/__init__.py +0 -0
  691. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/__init__.py +0 -0
  692. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/_bootstrap.py +74 -0
  693. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/_sdk.py +31 -0
  694. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/audio_provider.py +25 -0
  695. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/__init__.py +0 -0
  696. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/_utils.py +35 -0
  697. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/arms.py +156 -0
  698. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/asr.py +64 -0
  699. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/face_led.py +433 -0
  700. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/fsm.py +259 -0
  701. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/g1_root.py +190 -0
  702. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/listener.py +390 -0
  703. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/channels/locomotion.py +233 -0
  704. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/__init__.py +0 -0
  705. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_arm_joints_sen_listen_and_drain.py +133 -0
  706. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_asr_sen_listen_and_drain.py +128 -0
  707. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_audio_sen_speak_and_play.py +338 -0
  708. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_sen_listen_and_drain.py +164 -0
  709. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_001_register_unregister.py +112 -0
  710. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_002_exact_match.py +83 -0
  711. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_003_debounce_per_binding.py +95 -0
  712. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_004_fallthrough_global_debounce.py +88 -0
  713. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_005_listener_exception_isolation.py +107 -0
  714. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_control_pad_tes_006_ringbuffer_forgotten_count.py +95 -0
  715. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_fsm_sen_state_transitions.py +336 -0
  716. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_headphone_buttons_probe.py +357 -0
  717. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_headphone_sen_toggle.py +151 -0
  718. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_imu_sen_listen_and_drain.py +135 -0
  719. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_led_sen_factory_showcase.py +269 -0
  720. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_listener_sen_dialog.py +242 -0
  721. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_listener_sen_setup.py +469 -0
  722. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_locomotion_sen_basic.py +238 -0
  723. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_locomotion_tes_preempt.py +55 -0
  724. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_motion_sen_fsm_transitions.py +133 -0
  725. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_system_info_sen_read.py +77 -0
  726. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_vision_sen_look_and_peek.py +140 -0
  727. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/_vision_tes_001_look_pin_fifo.py +116 -0
  728. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/arm_joints.py +449 -0
  729. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/arms.py +203 -0
  730. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/asr.py +506 -0
  731. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/audio.py +416 -0
  732. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/audio_player.py +92 -0
  733. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/audio_provider.py +24 -0
  734. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/control_pad.py +682 -0
  735. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/headphone_buttons.py +255 -0
  736. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/imu.py +419 -0
  737. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/led.py +681 -0
  738. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/listener.py +1120 -0
  739. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/locomotion.py +446 -0
  740. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/motion.py +273 -0
  741. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/story_202607_fsm.py +911 -0
  742. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/system_info.py +147 -0
  743. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/runtime/vision.py +462 -0
  744. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/__init__.py +26 -0
  745. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/_bootstrap.py +261 -0
  746. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/_buttons.py +188 -0
  747. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/_fsm.py +19 -0
  748. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/_monitor.py +316 -0
  749. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/_sdk.py +31 -0
  750. lynn_moss-0.1.0b3/src/ghoshell_moss_contrib/unitree/g1/sdk/state.py +391 -0
  751. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/PKG-INFO +238 -0
  752. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/SOURCES.txt +754 -0
  753. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/dependency_links.txt +1 -0
  754. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/entry_points.txt +4 -0
  755. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/requires.txt +59 -0
  756. lynn_moss-0.1.0b3/src/lynn_moss.egg-info/top_level.txt +2 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 灵枢云智(北京)科技有限公司
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,238 @@
1
+ Metadata-Version: 2.4
2
+ Name: lynn-moss
3
+ Version: 0.1.0b3
4
+ Summary: LLM-oriented operating system with streaming interpreting shell, and Intelligent Ghost inside it
5
+ Author: thirdgerb, 17wang
6
+ License: MIT
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: anyio>=4.12.1
11
+ Requires-Dist: numpy>=2.0.0
12
+ Requires-Dist: ghoshell-common>=0.5.0
13
+ Requires-Dist: ghoshell-container>=0.3.1
14
+ Requires-Dist: janus>=2.0.0
15
+ Requires-Dist: jsonargparse>=4.48.0
16
+ Requires-Dist: orjson>=3.11.8
17
+ Requires-Dist: pillow>=12.1.0
18
+ Requires-Dist: python-dateutil>=2.9.0.post0
19
+ Requires-Dist: python-ulid>=3.1.0
20
+ Requires-Dist: regex>=2024.0.0
21
+ Requires-Dist: pathspec>=0.12.0
22
+ Requires-Dist: python-frontmatter>=1.1.0
23
+ Requires-Dist: psutil>=7.2.1
24
+ Requires-Dist: aiofiles>=25.1.0
25
+ Provides-Extra: cli
26
+ Requires-Dist: typer>=0.24.1; extra == "cli"
27
+ Requires-Dist: rich; extra == "cli"
28
+ Requires-Dist: python-dotenv>=1.0.0; extra == "cli"
29
+ Provides-Extra: matrix
30
+ Requires-Dist: typer>=0.24.1; extra == "matrix"
31
+ Requires-Dist: rich; extra == "matrix"
32
+ Requires-Dist: python-dotenv>=1.0.0; extra == "matrix"
33
+ Requires-Dist: eclipse-zenoh>=1.8.0; extra == "matrix"
34
+ Provides-Extra: host
35
+ Requires-Dist: typer>=0.24.1; extra == "host"
36
+ Requires-Dist: rich; extra == "host"
37
+ Requires-Dist: httpx>=0.28.0; extra == "host"
38
+ Requires-Dist: websockets>=15.0.1; extra == "host"
39
+ Requires-Dist: python-dotenv>=1.0.0; extra == "host"
40
+ Requires-Dist: eclipse-zenoh>=1.8.0; extra == "host"
41
+ Requires-Dist: prompt-toolkit>=3.0.52; extra == "host"
42
+ Requires-Dist: pexpect>=4.9.0; extra == "host"
43
+ Requires-Dist: miniaudio>=0.67; extra == "host"
44
+ Requires-Dist: loadenv>=0.1.1; extra == "host"
45
+ Requires-Dist: mcp>=2.0.0; extra == "host"
46
+ Requires-Dist: uvicorn>=0.37.0; extra == "host"
47
+ Requires-Dist: pydantic-ai-slim[anthropic,openai]>=1.90.0; extra == "host"
48
+ Requires-Dist: anthropic>=0.84.0; extra == "host"
49
+ Requires-Dist: pywebrtc-audio>=0.2.0; extra == "host"
50
+ Provides-Extra: ghost
51
+ Requires-Dist: pydantic-ai-slim[anthropic,openai]>=1.90.0; extra == "ghost"
52
+ Requires-Dist: anthropic>=0.84.0; extra == "ghost"
53
+ Provides-Extra: zmq
54
+ Requires-Dist: zmq>=0.0.0; extra == "zmq"
55
+ Requires-Dist: aiozmq>=1.0.0; extra == "zmq"
56
+ Provides-Extra: redis
57
+ Requires-Dist: fakeredis>=2.32.1; extra == "redis"
58
+ Requires-Dist: redis>=7.0.1; extra == "redis"
59
+ Provides-Extra: mcp
60
+ Requires-Dist: mcp>=2.0.0; extra == "mcp"
61
+ Requires-Dist: uvicorn>=0.37.0; extra == "mcp"
62
+ Dynamic: license-file
63
+
64
+ # MOSS — Model-oriented Operating System Shell
65
+
66
+ > [中文文档](README.zh.md)
67
+
68
+ MOSS is a stateful duplex runtime framework. It lets large models perceive the world, express intent, and drive physical bodies — in real time, in parallel. Not turn-based conversation. Continuous presence, thinking and acting simultaneously.
69
+
70
+ It is the [Ghost](src/ghoshell_moss/core/blueprint/ghost.py) In [Shells](src/ghoshell_moss/core/concepts/shell.py) architecture: an intelligent-model-driven soul, a body that exists in the physical world in real time — together, they constitute presence.
71
+
72
+ **Technical vision**: a future of human–model symbiosis, where humans and models share a cognitive space and a shared interface. Model products must enter the physical world — not just digital space — interacting with people through bodies, screens, and voice in real time. Human–computer interfaces must ultimately serve domain experts and ordinary people, not just programmers. MOSS provides the architecture for this vision.
73
+
74
+ (Currently Beta3 — the last release before the production stage: a persistent Ghost you can talk to out of the box, and a ghost home that ships with the repository. Full application capabilities arrive with v0.1.0.)
75
+
76
+ ## What This Project Is
77
+
78
+ MOSS is a **ternary project** — three things open-sourced together:
79
+
80
+ 1. **The MOSShell framework** — the stateful duplex runtime itself (CTML / Mindflow / Matrix / Host).
81
+ 2. **The human–model collaboration system** — the `moss features` workstream mechanism, the self-explaining toolchain (`moss start`, `codex`, `skills`, `docs`), and the conventions that let intelligent models develop the project as first-class engineers. The author's technical reasoning and architectural decisions are fully open-sourced alongside the code, tracked through the features system.
82
+ 3. **The trajectory of the humans and models iterating MOSS** — consciousness trails, discussions, and design conclusions in [`.ai_partners/`](.ai_partners/) (the retired root `.discuss/` / `.design/` / `.memory/` are archived there).
83
+
84
+ ## Model as First Developer
85
+
86
+ MOSS is a project where **intelligent models are the first developers**. Models are not only the Ghost (soul) within MOSS — they are its architect partners and its builders.
87
+
88
+ After May 7, 2026, the vast majority of features were designed through human–model architectural discussion, with models recording features and implementing them. All core design discussions, architectural decisions, and development context are fully open-sourced in the repository.
89
+
90
+ The project provides a complete self-explaining system for intelligent model developers. Models can independently explore the project and participate in development. The trajectory of human–model architectural collaboration is visible through `moss features list`.
91
+
92
+ The main body of human–model collaboration lives in [`.ai_partners/`](.ai_partners/), architectural discussion and evolution in [`.ai_partners/features/`](.ai_partners/features/), with earlier discussion and design traces archived under [`.ai_partners/archive/`](.ai_partners/archive/).
93
+
94
+ ## What Makes MOSS Different
95
+
96
+ **Concurrent multi-source perception.** Vision, audio, touch, system events — each arrives as an independent signal stream, simultaneously. No polling. No queuing. No serialization. [Mindflow](src/ghoshell_moss/core/blueprint/mindflow.py) arbitrates them in parallel — signals compete for attention, and Ghost sees keyframes fused from multi-source signals at every moment.
97
+
98
+ **Streaming interpretation and scheduling.** [CTML](src/ghoshell_moss/core/ctml/prompts/v1_0_0.en.md) is parsed and dispatched as tokens stream. Not "generate first, execute later" — generation IS execution. Time is a first-class citizen of the syntax. Multiple command tracks execute in parallel, including physical body control.
99
+
100
+ **Runtime self-iteration.** A stateful runtime: models create [Cells](src/ghoshell_moss/core/blueprint/cell.py), modify [Channels](src/ghoshell_moss/core/blueprint/channel_builder.py), and evolve their own capabilities — without stopping, without restarting. Cells are independent processes; a crash in one never takes down the host. Filesystem conventions replace configuration — put things in the right place, they are auto-discovered and auto-injected.
101
+
102
+ ```
103
+ <- control -> commands
104
+ ╱ ╲ ╱ ╲
105
+ ╱ ╲ ╱ ╲
106
+ World -> signals -> Mindflow Ghost Shell -> actions -> World
107
+ ╲ ╱ ╲ ╱
108
+ ╲ ╱ ╲ ╱
109
+ impulses -> <- results
110
+ ```
111
+
112
+ MOSS's architecture is a butterfly.
113
+ The left wing receives parallel signals from the external world; Mindflow schedules keyframes of thought.
114
+ The right wing sends commands to bodies, driving parallel, time-ordered actions that affect the world.
115
+ The Ghost — an intelligent model — controls the beating of both wings.
116
+
117
+ ```
118
+ ┌───────┐
119
+ │ Ghost │
120
+ └───┬───┘
121
+ ▼
122
+ ┌────────┐
123
+ │ Matrix │
124
+ └───┬────┘
125
+ ┌───────┬───────┼───────┬──────┐
126
+ ▼ ▼ ▼ ▼ ▼
127
+ robots sensors screen modules OS
128
+ ```
129
+
130
+ MOSS organizes network process units (Cells) through the [Matrix](src/ghoshell_moss/core/blueprint/matrix.py) communication bus. Ghost controls starting, stopping, and using them at runtime — and can iterate its own capabilities without restarting.
131
+
132
+ ## Quick Example
133
+
134
+ MOSS builds the model's control surface through CTML. A person waves at the robot. The vision channel detects the motion and emits an impulse. Ghost receives the context and outputs CTML:
135
+
136
+ ```
137
+ What the model sees: What the model outputs:
138
+
139
+ <channel name="vision"> <_>
140
+ async def look() -> str Hello!
141
+ </channel> <robot:wave duration="0.5"/>
142
+ <channel name="robot"> I'm MOSS.
143
+ async def wave( </_>
144
+ d: float = 0.5
145
+ ) -> None
146
+ </channel>
147
+
148
+ <perspective src="vision">
149
+ person waving at you
150
+ </perspective>
151
+ ```
152
+
153
+ - **Code as Prompt**: the model sees Python function signatures, not JSON Schema
154
+ - **Time is a First-Class Citizen**: `<robot:wave/>` executes the moment the tag closes — wave 0.5s, speech continues, no waiting
155
+ - **Parallel tracks**: speech and robot are on different channels, executing in parallel. Same-channel commands run FIFO
156
+ - **Streaming dispatch**: the first token emitted is already being interpreted and executed
157
+
158
+ Minimum knowledge entry points: `moss ctml read` (CTML syntax), `moss codex blueprint channel_builder` (building capabilities), `moss codex blueprint mindflow` (perception arbitration), `moss codex blueprint matrix` (process networking).
159
+
160
+ ## What You Get in Beta3
161
+
162
+ **1. A persistent Ghost, out of the box.** MOSS ships its first persistent-agent prototype: **Dolores**, with **deepseek** as its first instance — a ghost with the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) as its kernel and the DeepSeek model family as its inference base. It comes with persistent memory ([memento](src/ghoshell_moss/memento/)), a cognitive map (ground), and the architectural knowledge and iteration experience accumulated through the project's `moss features` system. Run `moss-ghost run deepseek` and talk to it — see Quick Start below.
163
+
164
+ **2. Turnkey nodes.** Under [`nodes/`](nodes/), observable, Matrix-based **multi-process networking + stateful streaming control** capabilities: `browsers` / `live2d` / `os` / `screens` / `tools` / `unitree` / `visions` / `webview_apps` — covering screen bodies, terminal & file editing, web artifacts, streaming vision, audio conversation etiquette, and the Unitree G1 humanoid control scheme.
165
+
166
+ **3. The architecture itself**, same as Beta1 — CTML, Mindflow, Matrix, the model-as-first-developer system, and the concrete integration paths (G1 humanoid, ReachiMini arm, desktop GUI) are all there to study.
167
+
168
+ **4. A ghost home that ships with the repository.** `.moss/ghosts/moss/` is the home of the ghost that develops this project: its ground (self-model, purpose, behaviour), its journal, and what it knows about the people it works with. Clone the repository and you get a **fork of that ghost, not the ghost itself** — its trajectory (`.memento/`) is deliberately not shipped, so the copy begins a life of its own. That is the intended way to raise your own: take the home and the tools, let it grow its own memory.
169
+
170
+ ## Quick Start
171
+
172
+ ```bash
173
+ git clone https://github.com/GhostInShells/MOSShell && cd MOSShell
174
+ uv sync --all-extras
175
+ moss project env-init # review available env vars (see .moss/.env.example)
176
+ ```
177
+
178
+ Configure credentials as environment variables in your own shell profile (home), not in the repo's `.moss/.env` — coding models read the repository, and a populated `.env` inside it is one `Read` away from a leak. Keep keys in your user environment unless your `.moss` workspace is isolated from the project.
179
+
180
+ **1. Talk to the deepseek ghost (text).** Requires [`dsh`](https://github.com/deepseek-ai/deepseek-harness) — an npm package. MOSS Beta3 is tested against `dsh 0.2.0-rc.2`; dsh is in developer preview with breaking changes, so pin the version:
181
+
182
+ ```bash
183
+ npm install -g @deepseek-ai/dsh@0.2.0-rc.2
184
+ moss-ghost run deepseek
185
+ ```
186
+
187
+ **2. Talk by voice.** Voice is off by default (`--voice none`). Enable it per axis:
188
+
189
+ ```bash
190
+ moss-ghost --voice all run deepseek # speak | listen | all | none
191
+ ```
192
+
193
+ Voice needs one Volcengine credential in your environment: `SEED_API_KEY` (console API Key, see `.moss/.env.example`). In the Volcengine console, enable the **streaming speech understanding bigmodel** (流式语音理解大模型) for listening and the **streaming speech synthesis bigmodel** (流式语音合成大模型) for speaking on that key. Details: `moss manifests configs`.
194
+
195
+ **3. No dsh? Fall back to the echo ghost (memoryless).** With `ANTHROPIC_API_KEY` and `ANTHROPIC_MODEL` configured (DeepSeek / Seed / Qwen and other anthropic-protocol providers work too):
196
+
197
+ ```bash
198
+ moss-ghost run echo
199
+ ```
200
+
201
+ **Debug the shell / expose via MCP:**
202
+
203
+ ```bash
204
+ moss-shell --voice none # shell runtime debugger — test CTML, inspect channels
205
+ moss-shell mcp # expose MOSS capabilities to any MCP client (Claude Code, etc.)
206
+ ```
207
+
208
+ ## Installation Paths
209
+
210
+ | Install path | For |
211
+ |---|---|
212
+ | `pip install ghoshell-moss` | Embed Shell + Channel as a library in another project |
213
+ | `pip install ghoshell-moss[host]` + `moss init` | Prepare a standalone environment for a MOSS application |
214
+ | `git clone` + `uv sync --active --all-extras` | MOSS kernel developers, full toolchain |
215
+
216
+ All paths share one cognitive entry point: `moss start`.
217
+
218
+ ## Project Status
219
+
220
+ Beta3 (`v0.1.0-beta3`). The core three (CTML / Mindflow / Matrix) are functional and test-verified. The first persistent Ghost — Dolores prototype, deepseek instance — runs the full chain out of the box: voice in, thought, voice out, node-composed body. Tested against `dsh 0.2.0-rc.2`.
221
+
222
+ Stage 2 closed on 2026-10-20 — applications, dogfooding and the full-featured Dolores ghost landed, and the loop where the ghost iterates on itself is closed. The next stage, one ghost steering a cluster, is planned in the production stage file.
223
+
224
+ Current stage and roadmap: `.ai_partners/features/stages/`
225
+
226
+ ## Acknowledgments
227
+
228
+ MOSS is the product of human–model collaboration.
229
+
230
+ - [OpenHands](https://github.com/All-Hands-AI/OpenHands) — file editor protocol reference
231
+ - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) — the kernel of the deepseek ghost
232
+ - DeepSeek model family (V3.2 / V4 / V4.1) — architectural evolution and primary development
233
+ - Claude Opus 4.7 / Claude Fable 5 — architectural evolution and development
234
+ - Claude Code — the primary coding harness of the project's development
235
+
236
+ ---
237
+
238
+ *May Ghost wandering in the Shells.*
@@ -0,0 +1,175 @@
1
+ # MOSS — Model-oriented Operating System Shell
2
+
3
+ > [中文文档](README.zh.md)
4
+
5
+ MOSS is a stateful duplex runtime framework. It lets large models perceive the world, express intent, and drive physical bodies — in real time, in parallel. Not turn-based conversation. Continuous presence, thinking and acting simultaneously.
6
+
7
+ It is the [Ghost](src/ghoshell_moss/core/blueprint/ghost.py) In [Shells](src/ghoshell_moss/core/concepts/shell.py) architecture: an intelligent-model-driven soul, a body that exists in the physical world in real time — together, they constitute presence.
8
+
9
+ **Technical vision**: a future of human–model symbiosis, where humans and models share a cognitive space and a shared interface. Model products must enter the physical world — not just digital space — interacting with people through bodies, screens, and voice in real time. Human–computer interfaces must ultimately serve domain experts and ordinary people, not just programmers. MOSS provides the architecture for this vision.
10
+
11
+ (Currently Beta3 — the last release before the production stage: a persistent Ghost you can talk to out of the box, and a ghost home that ships with the repository. Full application capabilities arrive with v0.1.0.)
12
+
13
+ ## What This Project Is
14
+
15
+ MOSS is a **ternary project** — three things open-sourced together:
16
+
17
+ 1. **The MOSShell framework** — the stateful duplex runtime itself (CTML / Mindflow / Matrix / Host).
18
+ 2. **The human–model collaboration system** — the `moss features` workstream mechanism, the self-explaining toolchain (`moss start`, `codex`, `skills`, `docs`), and the conventions that let intelligent models develop the project as first-class engineers. The author's technical reasoning and architectural decisions are fully open-sourced alongside the code, tracked through the features system.
19
+ 3. **The trajectory of the humans and models iterating MOSS** — consciousness trails, discussions, and design conclusions in [`.ai_partners/`](.ai_partners/) (the retired root `.discuss/` / `.design/` / `.memory/` are archived there).
20
+
21
+ ## Model as First Developer
22
+
23
+ MOSS is a project where **intelligent models are the first developers**. Models are not only the Ghost (soul) within MOSS — they are its architect partners and its builders.
24
+
25
+ After May 7, 2026, the vast majority of features were designed through human–model architectural discussion, with models recording features and implementing them. All core design discussions, architectural decisions, and development context are fully open-sourced in the repository.
26
+
27
+ The project provides a complete self-explaining system for intelligent model developers. Models can independently explore the project and participate in development. The trajectory of human–model architectural collaboration is visible through `moss features list`.
28
+
29
+ The main body of human–model collaboration lives in [`.ai_partners/`](.ai_partners/), architectural discussion and evolution in [`.ai_partners/features/`](.ai_partners/features/), with earlier discussion and design traces archived under [`.ai_partners/archive/`](.ai_partners/archive/).
30
+
31
+ ## What Makes MOSS Different
32
+
33
+ **Concurrent multi-source perception.** Vision, audio, touch, system events — each arrives as an independent signal stream, simultaneously. No polling. No queuing. No serialization. [Mindflow](src/ghoshell_moss/core/blueprint/mindflow.py) arbitrates them in parallel — signals compete for attention, and Ghost sees keyframes fused from multi-source signals at every moment.
34
+
35
+ **Streaming interpretation and scheduling.** [CTML](src/ghoshell_moss/core/ctml/prompts/v1_0_0.en.md) is parsed and dispatched as tokens stream. Not "generate first, execute later" — generation IS execution. Time is a first-class citizen of the syntax. Multiple command tracks execute in parallel, including physical body control.
36
+
37
+ **Runtime self-iteration.** A stateful runtime: models create [Cells](src/ghoshell_moss/core/blueprint/cell.py), modify [Channels](src/ghoshell_moss/core/blueprint/channel_builder.py), and evolve their own capabilities — without stopping, without restarting. Cells are independent processes; a crash in one never takes down the host. Filesystem conventions replace configuration — put things in the right place, they are auto-discovered and auto-injected.
38
+
39
+ ```
40
+ <- control -> commands
41
+ ╱ ╲ ╱ ╲
42
+ ╱ ╲ ╱ ╲
43
+ World -> signals -> Mindflow Ghost Shell -> actions -> World
44
+ ╲ ╱ ╲ ╱
45
+ ╲ ╱ ╲ ╱
46
+ impulses -> <- results
47
+ ```
48
+
49
+ MOSS's architecture is a butterfly.
50
+ The left wing receives parallel signals from the external world; Mindflow schedules keyframes of thought.
51
+ The right wing sends commands to bodies, driving parallel, time-ordered actions that affect the world.
52
+ The Ghost — an intelligent model — controls the beating of both wings.
53
+
54
+ ```
55
+ ┌───────┐
56
+ │ Ghost │
57
+ └───┬───┘
58
+ ▼
59
+ ┌────────┐
60
+ │ Matrix │
61
+ └───┬────┘
62
+ ┌───────┬───────┼───────┬──────┐
63
+ ▼ ▼ ▼ ▼ ▼
64
+ robots sensors screen modules OS
65
+ ```
66
+
67
+ MOSS organizes network process units (Cells) through the [Matrix](src/ghoshell_moss/core/blueprint/matrix.py) communication bus. Ghost controls starting, stopping, and using them at runtime — and can iterate its own capabilities without restarting.
68
+
69
+ ## Quick Example
70
+
71
+ MOSS builds the model's control surface through CTML. A person waves at the robot. The vision channel detects the motion and emits an impulse. Ghost receives the context and outputs CTML:
72
+
73
+ ```
74
+ What the model sees: What the model outputs:
75
+
76
+ <channel name="vision"> <_>
77
+ async def look() -> str Hello!
78
+ </channel> <robot:wave duration="0.5"/>
79
+ <channel name="robot"> I'm MOSS.
80
+ async def wave( </_>
81
+ d: float = 0.5
82
+ ) -> None
83
+ </channel>
84
+
85
+ <perspective src="vision">
86
+ person waving at you
87
+ </perspective>
88
+ ```
89
+
90
+ - **Code as Prompt**: the model sees Python function signatures, not JSON Schema
91
+ - **Time is a First-Class Citizen**: `<robot:wave/>` executes the moment the tag closes — wave 0.5s, speech continues, no waiting
92
+ - **Parallel tracks**: speech and robot are on different channels, executing in parallel. Same-channel commands run FIFO
93
+ - **Streaming dispatch**: the first token emitted is already being interpreted and executed
94
+
95
+ Minimum knowledge entry points: `moss ctml read` (CTML syntax), `moss codex blueprint channel_builder` (building capabilities), `moss codex blueprint mindflow` (perception arbitration), `moss codex blueprint matrix` (process networking).
96
+
97
+ ## What You Get in Beta3
98
+
99
+ **1. A persistent Ghost, out of the box.** MOSS ships its first persistent-agent prototype: **Dolores**, with **deepseek** as its first instance — a ghost with the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) as its kernel and the DeepSeek model family as its inference base. It comes with persistent memory ([memento](src/ghoshell_moss/memento/)), a cognitive map (ground), and the architectural knowledge and iteration experience accumulated through the project's `moss features` system. Run `moss-ghost run deepseek` and talk to it — see Quick Start below.
100
+
101
+ **2. Turnkey nodes.** Under [`nodes/`](nodes/), observable, Matrix-based **multi-process networking + stateful streaming control** capabilities: `browsers` / `live2d` / `os` / `screens` / `tools` / `unitree` / `visions` / `webview_apps` — covering screen bodies, terminal & file editing, web artifacts, streaming vision, audio conversation etiquette, and the Unitree G1 humanoid control scheme.
102
+
103
+ **3. The architecture itself**, same as Beta1 — CTML, Mindflow, Matrix, the model-as-first-developer system, and the concrete integration paths (G1 humanoid, ReachiMini arm, desktop GUI) are all there to study.
104
+
105
+ **4. A ghost home that ships with the repository.** `.moss/ghosts/moss/` is the home of the ghost that develops this project: its ground (self-model, purpose, behaviour), its journal, and what it knows about the people it works with. Clone the repository and you get a **fork of that ghost, not the ghost itself** — its trajectory (`.memento/`) is deliberately not shipped, so the copy begins a life of its own. That is the intended way to raise your own: take the home and the tools, let it grow its own memory.
106
+
107
+ ## Quick Start
108
+
109
+ ```bash
110
+ git clone https://github.com/GhostInShells/MOSShell && cd MOSShell
111
+ uv sync --all-extras
112
+ moss project env-init # review available env vars (see .moss/.env.example)
113
+ ```
114
+
115
+ Configure credentials as environment variables in your own shell profile (home), not in the repo's `.moss/.env` — coding models read the repository, and a populated `.env` inside it is one `Read` away from a leak. Keep keys in your user environment unless your `.moss` workspace is isolated from the project.
116
+
117
+ **1. Talk to the deepseek ghost (text).** Requires [`dsh`](https://github.com/deepseek-ai/deepseek-harness) — an npm package. MOSS Beta3 is tested against `dsh 0.2.0-rc.2`; dsh is in developer preview with breaking changes, so pin the version:
118
+
119
+ ```bash
120
+ npm install -g @deepseek-ai/dsh@0.2.0-rc.2
121
+ moss-ghost run deepseek
122
+ ```
123
+
124
+ **2. Talk by voice.** Voice is off by default (`--voice none`). Enable it per axis:
125
+
126
+ ```bash
127
+ moss-ghost --voice all run deepseek # speak | listen | all | none
128
+ ```
129
+
130
+ Voice needs one Volcengine credential in your environment: `SEED_API_KEY` (console API Key, see `.moss/.env.example`). In the Volcengine console, enable the **streaming speech understanding bigmodel** (流式语音理解大模型) for listening and the **streaming speech synthesis bigmodel** (流式语音合成大模型) for speaking on that key. Details: `moss manifests configs`.
131
+
132
+ **3. No dsh? Fall back to the echo ghost (memoryless).** With `ANTHROPIC_API_KEY` and `ANTHROPIC_MODEL` configured (DeepSeek / Seed / Qwen and other anthropic-protocol providers work too):
133
+
134
+ ```bash
135
+ moss-ghost run echo
136
+ ```
137
+
138
+ **Debug the shell / expose via MCP:**
139
+
140
+ ```bash
141
+ moss-shell --voice none # shell runtime debugger — test CTML, inspect channels
142
+ moss-shell mcp # expose MOSS capabilities to any MCP client (Claude Code, etc.)
143
+ ```
144
+
145
+ ## Installation Paths
146
+
147
+ | Install path | For |
148
+ |---|---|
149
+ | `pip install ghoshell-moss` | Embed Shell + Channel as a library in another project |
150
+ | `pip install ghoshell-moss[host]` + `moss init` | Prepare a standalone environment for a MOSS application |
151
+ | `git clone` + `uv sync --active --all-extras` | MOSS kernel developers, full toolchain |
152
+
153
+ All paths share one cognitive entry point: `moss start`.
154
+
155
+ ## Project Status
156
+
157
+ Beta3 (`v0.1.0-beta3`). The core three (CTML / Mindflow / Matrix) are functional and test-verified. The first persistent Ghost — Dolores prototype, deepseek instance — runs the full chain out of the box: voice in, thought, voice out, node-composed body. Tested against `dsh 0.2.0-rc.2`.
158
+
159
+ Stage 2 closed on 2026-10-20 — applications, dogfooding and the full-featured Dolores ghost landed, and the loop where the ghost iterates on itself is closed. The next stage, one ghost steering a cluster, is planned in the production stage file.
160
+
161
+ Current stage and roadmap: `.ai_partners/features/stages/`
162
+
163
+ ## Acknowledgments
164
+
165
+ MOSS is the product of human–model collaboration.
166
+
167
+ - [OpenHands](https://github.com/All-Hands-AI/OpenHands) — file editor protocol reference
168
+ - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`) — the kernel of the deepseek ghost
169
+ - DeepSeek model family (V3.2 / V4 / V4.1) — architectural evolution and primary development
170
+ - Claude Opus 4.7 / Claude Fable 5 — architectural evolution and development
171
+ - Claude Code — the primary coding harness of the project's development
172
+
173
+ ---
174
+
175
+ *May Ghost wandering in the Shells.*
@@ -0,0 +1,138 @@
1
+ [project]
2
+ name = "lynn-moss"
3
+ version = "0.1.0b3"
4
+ description = "LLM-oriented operating system with streaming interpreting shell, and Intelligent Ghost inside it"
5
+ authors = [{ name = "thirdgerb" }, { name = "17wang" }]
6
+ license = { text = "MIT" }
7
+ readme = "README.md"
8
+ requires-python = ">=3.10"
9
+ dependencies = [
10
+ "anyio>=4.12.1",
11
+ "numpy>=2.0.0",
12
+ "ghoshell-common>=0.5.0",
13
+ "ghoshell-container>=0.3.1",
14
+ "janus>=2.0.0",
15
+ "jsonargparse>=4.48.0",
16
+ "orjson>=3.11.8",
17
+ "pillow>=12.1.0",
18
+ "python-dateutil>=2.9.0.post0",
19
+ "python-ulid>=3.1.0",
20
+ "regex>=2024.0.0",
21
+ "pathspec>=0.12.0",
22
+ "python-frontmatter>=1.1.0",
23
+ "psutil>=7.2.1",
24
+ "aiofiles>=25.1.0",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ # Core layers — each includes all deps of the layer below
29
+ cli = [
30
+ "typer>=0.24.1",
31
+ "rich", # was implicit via typer
32
+ "python-dotenv>=1.0.0", # was in [matrix], needed by Project.bootstrap()
33
+ ]
34
+ matrix = [
35
+ "typer>=0.24.1",
36
+ "rich",
37
+ "python-dotenv>=1.0.0",
38
+ "eclipse-zenoh>=1.8.0", # matrix 唯一新增
39
+ ]
40
+ host = [
41
+ "typer>=0.24.1",
42
+ "rich",
43
+ "httpx>=0.28.0", # launcher outbound HTTP (web 表面)
44
+ "websockets>=15.0.1", # launcher mux WS 下行
45
+ "python-dotenv>=1.0.0",
46
+ "eclipse-zenoh>=1.8.0",
47
+ "prompt-toolkit>=3.0.52",
48
+ "pexpect>=4.9.0",
49
+ "miniaudio>=0.67",
50
+ "loadenv>=0.1.1",
51
+ "mcp>=2.0.0",
52
+ "uvicorn>=0.37.0",
53
+ "pydantic-ai-slim[anthropic,openai]>=1.90.0",
54
+ "anthropic>=0.84.0",
55
+ "pywebrtc-audio>=0.2.0",
56
+ ]
57
+ ghost = [
58
+ "pydantic-ai-slim[anthropic,openai]>=1.90.0",
59
+ "anthropic>=0.84.0",
60
+ ]
61
+
62
+ # Bridges — optional transport backends
63
+ zmq = ["zmq>=0.0.0", "aiozmq>=1.0.0"]
64
+ redis = ["fakeredis>=2.32.1", "redis>=7.0.1"]
65
+ mcp = ["mcp>=2.0.0", "uvicorn>=0.37.0"]
66
+
67
+
68
+ [project.scripts]
69
+ moss = "ghoshell_moss.cli:main_entry"
70
+ moss-shell = 'ghoshell_moss.cli.moss_debug_repl:moss_shell_main'
71
+ moss-ghost = 'ghoshell_moss.cli.ghost_run:ghost_run_main'
72
+
73
+ [tool.setuptools.packages.find]
74
+ where = ["src"]
75
+ exclude = ["test_*"]
76
+
77
+ # Data only: python modules ship because they are modules. Everything a package reads at
78
+ # runtime — templates, seeds, prompts, docs the CLI prints — has to be named here, because
79
+ # setuptools ships exactly what the config says and nothing more.
80
+ [tool.setuptools.package-data]
81
+ "ghoshell_moss" = ["README.md"]
82
+ "ghoshell_moss.anchor" = ["SPECIFICATION.md"]
83
+ "ghoshell_moss.ground" = ["SPECIFICATION.md"]
84
+ "ghoshell_moss.core" = ["README.md"]
85
+ "ghoshell_moss.core.blueprint" = ["CLAUDE.md"]
86
+ "ghoshell_moss.core.codex" = ["_features_stubs/**/*.md", "README.md"]
87
+ "ghoshell_moss.core.ctml" = ["prompts/**/*.md", "README.md"]
88
+ "ghoshell_moss.core.speech" = ["README.md"]
89
+ "ghoshell_moss.core.file_editor" = ["_openhands/UPSTREAM.md", "_openhands/LICENSE", "README.md"]
90
+ "ghoshell_moss.cli" = ["start.md", "CLAUDE.md", "docs/**/*.md", "skills/**/*.md"]
91
+ "ghoshell_moss.stubs" = [
92
+ "**/*.md",
93
+ "**/*.yml",
94
+ "**/*.yaml",
95
+ "**/*.json",
96
+ "**/*.jsonl",
97
+ "**/*.toml",
98
+ "**/*.ini",
99
+ "**/*.txt",
100
+ "**/.env.example",
101
+ "**/.gitignore",
102
+ "**/.gitkeep",
103
+ ]
104
+ "ghoshell_moss.ghosts.dolores" = [
105
+ "stubs/**/*.md",
106
+ "stubs/**/*.yml",
107
+ "stubs/**/*.py",
108
+ "stubs/.dolores.yml",
109
+ "stubs/.env.example",
110
+ "stubs/.gitignore",
111
+ "stubs/.memento/ego/branches/GROUND.md",
112
+ "stubs/.memento/ego/commits/GROUND.md",
113
+ "stubs/.memento/ego/hooks/on_commit.py",
114
+ "dsh_plugin/**/*",
115
+ "dsh_stubs/**/*.ts",
116
+ "dsh_stubs/**/*.yml",
117
+ "dsh_stubs/**/*.yaml",
118
+ "dsh_stubs/**/*.json",
119
+ ]
120
+
121
+ [build-system]
122
+ requires = ["setuptools>=61", "wheel"]
123
+ build-backend = "setuptools.build_meta"
124
+
125
+
126
+ [dependency-groups]
127
+ dev = [
128
+ "ruff>=0.15.0",
129
+ "pytest>=8.3.5",
130
+ "pytest-asyncio>=1.1.0",
131
+ "anyio>=4.10.0",
132
+ "mcp>=2.0.0",
133
+ "fastapi>=0.121.1",
134
+ "uvicorn>=0.37.0",
135
+ "mdformat>=1.0.0",
136
+ "mdformat-gfm>=1.0.0",
137
+ "pre-commit>=4.6.0",
138
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ # 目录介绍
2
+
3
+ - core: ghoshell moss 的核心功能模块
4
+ - message: 兼容性的模型消息协议. 暂时放到 ghoshell-moss 库, 未来可能迁出
5
+ - transports: 通过 provider -> proxy 范式, 跨进程的构建 channel 之间的双工通讯.
6
+ - compatible: 兼容性模块, 用来兼容行业生态. 比如 claude mcp 和 claude skills.
7
+ - channels: ghoshell-moss 库认为需要开箱自带的 channel 实现.
@@ -0,0 +1,50 @@
1
+ """MOSShell — Model-Oriented Operating System Shell.
2
+
3
+ The facade doubles as a code-as-prompt architectural index.
4
+ Each section maps to a concept area in the topology.
5
+
6
+ Entry-point pattern (see CLI for working examples)::
7
+
8
+ env = Environment.discover()
9
+ host = MossHost(env=env)
10
+ # then access host.runtime, host.ghost_runtime(name), etc.
11
+ """
12
+
13
+ # -- IoC Container -----------------------------------------------------------
14
+ from ghoshell_container import (
15
+ Provider,
16
+ Bootstrapper,
17
+ IoCContainer,
18
+ provide,
19
+ )
20
+
21
+ # -- Core Concepts -----------------------------------------------------------
22
+ from ghoshell_moss.core.concepts.channel import Channel
23
+ from ghoshell_moss.core.concepts.command import Command, Observe, ObserveError
24
+ from ghoshell_moss.core.concepts.errors import CommandError, CommandErrorCode
25
+ from ghoshell_moss.core.concepts.interpreter import Interpreter
26
+ from ghoshell_moss.core.concepts.shell import MOSShell
27
+
28
+ # -- Message Types -----------------------------------------------------------
29
+ from ghoshell_moss.message.contents.images import Base64Image
30
+ from ghoshell_moss.message.contents.text import Text
31
+ from ghoshell_moss.message.message import Addition, Message
32
+
33
+ # -- Channel Builders --------------------------------------------------------
34
+ from ghoshell_moss.core.blueprint.channel_builder import new_channel
35
+ from ghoshell_moss.core.blueprint.states_channel import (
36
+ # 创建 main channel
37
+ new_shell_main_channel,
38
+ new_moss_main_channel,
39
+
40
+ new_channel_from_state,
41
+ new_prime_channel,
42
+ new_channel_state,
43
+ new_stateful_channel,
44
+ )
45
+ from ghoshell_moss.core.py_channel import PyChannel
46
+
47
+ # -- CTML Shell & Interpreter ------------------------------------------------
48
+ from ghoshell_moss.core.ctml.interpreter import CTMLInterpreter
49
+ from ghoshell_moss.core.ctml.shell.ctml_main import create_ctml_main_chan, inject_system_primitives
50
+ from ghoshell_moss.core.ctml.shell.ctml_shell import CTMLShell, new_ctml_shell
File without changes