synapse-cli-agent 0.1.26__tar.gz → 0.1.28__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 (510) hide show
  1. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/CHANGELOG.md +45 -0
  2. synapse_cli_agent-0.1.28/PKG-INFO +401 -0
  3. synapse_cli_agent-0.1.28/README.md +171 -0
  4. synapse_cli_agent-0.1.26/README.md → synapse_cli_agent-0.1.28/README.zh-CN.md +2 -0
  5. synapse_cli_agent-0.1.28/assets/synapse-logo.svg +5 -0
  6. synapse_cli_agent-0.1.28/assets/tui-preview.png +0 -0
  7. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/debug_compact.py +5 -6
  8. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/baseline-report.md +79 -0
  9. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/decisions.md +87 -0
  10. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/index.md +323 -0
  11. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/migration.md +76 -0
  12. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-0-baseline.md +161 -0
  13. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-1-streaming-core.md +236 -0
  14. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-2-turn-runtime.md +184 -0
  15. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-3-tui-cutover.md +174 -0
  16. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-4-session-runtime.md +172 -0
  17. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-5-multi-session.md +147 -0
  18. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-6-project-runtime.md +176 -0
  19. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-7-global-control-plane.md +165 -0
  20. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/phase-8-hardening.md +180 -0
  21. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/post-review-fix-plan.md +236 -0
  22. synapse_cli_agent-0.1.28/docs/agent-runtime-decoupling/progress.md +198 -0
  23. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/architecture-flow.md +1 -5
  24. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/architecture.md +3 -38
  25. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/config.md +1 -1
  26. synapse_cli_agent-0.1.28/docs/math-formulas-test.md +119 -0
  27. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/sessions.md +24 -1
  28. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/tutorial.md +8 -9
  29. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/mkdocs.yml +16 -0
  30. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/pyproject.toml +2 -1
  31. synapse_cli_agent-0.1.28/release_body.md +24 -0
  32. synapse_cli_agent-0.1.28/rust/synapse-core-tool/Cargo.lock +1229 -0
  33. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/Cargo.toml +5 -1
  34. {synapse_cli_agent-0.1.26/rust/synapse-tool-compress-core → synapse_cli_agent-0.1.28/rust/synapse-core-tool}/NOTICE +12 -0
  35. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/README.md +16 -1
  36. synapse_cli_agent-0.1.28/rust/synapse-core-tool/python/synapse_core_tool/__init__.py +3 -0
  37. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/src/lib.rs +2 -0
  38. synapse_cli_agent-0.1.28/rust/synapse-core-tool/src/math_render.rs +141 -0
  39. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/app/agent.py +63 -116
  40. synapse_cli_agent-0.1.28/src/synapse/app/agent_assembly.py +216 -0
  41. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/cli.py +179 -25
  42. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/goal.py +2 -1
  43. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/result.py +3 -1
  44. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/slash_cmds.py +21 -44
  45. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/slash_complete.py +2 -2
  46. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/middleware.py +8 -5
  47. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/runtime.py +62 -9
  48. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/store.py +5 -1
  49. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/tools.py +19 -6
  50. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/mcp_client.py +100 -2
  51. synapse_cli_agent-0.1.28/src/synapse/observability/exit_trace.py +132 -0
  52. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/projects/catalog.py +119 -5
  53. synapse_cli_agent-0.1.28/src/synapse/runtime/agent_loop/__init__.py +27 -0
  54. synapse_cli_agent-0.1.28/src/synapse/runtime/agent_loop/model.py +132 -0
  55. synapse_cli_agent-0.1.28/src/synapse/runtime/agent_loop/request.py +115 -0
  56. synapse_cli_agent-0.1.28/src/synapse/runtime/agent_loop/turn.py +255 -0
  57. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/async_runtime.py +76 -6
  58. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/middleware.py +19 -10
  59. synapse_cli_agent-0.1.28/src/synapse/runtime/projects/__init__.py +25 -0
  60. synapse_cli_agent-0.1.28/src/synapse/runtime/projects/identity.py +83 -0
  61. synapse_cli_agent-0.1.28/src/synapse/runtime/projects/runtime.py +305 -0
  62. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/session_prewarm.py +18 -6
  63. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/__init__.py +49 -0
  64. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/events.py +158 -0
  65. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/manager.py +352 -0
  66. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/persistence.py +159 -0
  67. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/ref.py +155 -0
  68. synapse_cli_agent-0.1.28/src/synapse/runtime/sessions/runtime.py +575 -0
  69. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/__init__.py +59 -0
  70. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/accumulator.py +169 -0
  71. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/adapters.py +279 -0
  72. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/events.py +241 -0
  73. synapse_cli_agent-0.1.26/src/synapse/ui/stream.py → synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/parser.py +175 -520
  74. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/protocol.py +68 -0
  75. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/runtime.py +304 -0
  76. {synapse_cli_agent-0.1.26/src/synapse/ui → synapse_cli_agent-0.1.28/src/synapse/runtime/streaming}/stream_events.py +7 -33
  77. synapse_cli_agent-0.1.28/src/synapse/runtime/streaming/tool_model.py +22 -0
  78. {synapse_cli_agent-0.1.26/src/synapse/ui → synapse_cli_agent-0.1.28/src/synapse/runtime}/timeline.py +2 -15
  79. synapse_cli_agent-0.1.28/src/synapse/runtime/token_rate.py +124 -0
  80. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/store.py +18 -0
  81. synapse_cli_agent-0.1.28/src/synapse/sessions/transcript_migration.py +132 -0
  82. synapse_cli_agent-0.1.28/src/synapse/settings/__init__.py +19 -0
  83. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/settings/schema.py +58 -12
  84. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/repository.py +41 -1
  85. synapse_cli_agent-0.1.28/src/synapse/ui/agent_lifecycle.py +226 -0
  86. synapse_cli_agent-0.1.28/src/synapse/ui/chrome/__init__.py +5 -0
  87. synapse_cli_agent-0.1.28/src/synapse/ui/chrome/controller.py +895 -0
  88. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/__init__.py +6 -0
  89. synapse_cli_agent-0.1.28/src/synapse/ui/dialogs/active_session_switcher.py +145 -0
  90. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/base.py +100 -16
  91. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/codex_reset.py +3 -0
  92. synapse_cli_agent-0.1.28/src/synapse/ui/dialogs/controller.py +1308 -0
  93. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/git_explore.py +5 -0
  94. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/mcp_panel.py +4 -1
  95. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/session_list.py +12 -3
  96. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/subagent_monitor.py +10 -1
  97. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/theme_designer.py +24 -1
  98. synapse_cli_agent-0.1.28/src/synapse/ui/drawer.py +604 -0
  99. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/formatters.py +15 -0
  100. synapse_cli_agent-0.1.28/src/synapse/ui/image_preview.py +68 -0
  101. synapse_cli_agent-0.1.28/src/synapse/ui/image_render.py +351 -0
  102. synapse_cli_agent-0.1.28/src/synapse/ui/image_viewer.py +100 -0
  103. synapse_cli_agent-0.1.28/src/synapse/ui/math_image.py +222 -0
  104. synapse_cli_agent-0.1.28/src/synapse/ui/prompt_controller.py +497 -0
  105. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/sink.py +16 -0
  106. synapse_cli_agent-0.1.28/src/synapse/ui/status_controller.py +229 -0
  107. synapse_cli_agent-0.1.28/src/synapse/ui/steer_controller.py +77 -0
  108. synapse_cli_agent-0.1.28/src/synapse/ui/stream.py +568 -0
  109. synapse_cli_agent-0.1.28/src/synapse/ui/stream_events.py +46 -0
  110. synapse_cli_agent-0.1.28/src/synapse/ui/stream_runtime.py +52 -0
  111. synapse_cli_agent-0.1.28/src/synapse/ui/subagent_status_bar.py +23 -0
  112. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/textual_stream_sink.py +59 -13
  113. synapse_cli_agent-0.1.28/src/synapse/ui/theme_controller.py +87 -0
  114. synapse_cli_agent-0.1.28/src/synapse/ui/timeline.py +81 -0
  115. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/git_changes_popover.py +6 -2
  116. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/widget.py +42 -4
  117. synapse_cli_agent-0.1.28/src/synapse/ui/transcript/__init__.py +6 -0
  118. synapse_cli_agent-0.1.28/src/synapse/ui/transcript/controller.py +698 -0
  119. synapse_cli_agent-0.1.28/src/synapse/ui/transcript/factory.py +177 -0
  120. synapse_cli_agent-0.1.28/src/synapse/ui/transcript/history.py +541 -0
  121. synapse_cli_agent-0.1.28/src/synapse/ui/transcript/state.py +35 -0
  122. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/transcript_blocks.py +62 -1
  123. synapse_cli_agent-0.1.28/src/synapse/ui/tui.py +2419 -0
  124. synapse_cli_agent-0.1.28/src/synapse/ui/tui_launch.py +114 -0
  125. synapse_cli_agent-0.1.28/src/synapse/ui/tui_styles.py +280 -0
  126. synapse_cli_agent-0.1.28/src/synapse/ui/turn/__init__.py +12 -0
  127. synapse_cli_agent-0.1.28/src/synapse/ui/turn/controller.py +1393 -0
  128. synapse_cli_agent-0.1.28/src/synapse/ui/turn/event_bridge.py +166 -0
  129. synapse_cli_agent-0.1.28/src/synapse/ui/turn/event_renderer.py +209 -0
  130. synapse_cli_agent-0.1.28/src/synapse/ui/turn/persistence.py +221 -0
  131. synapse_cli_agent-0.1.28/src/synapse/ui/turn/request.py +44 -0
  132. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/user_turn_block.py +33 -3
  133. synapse_cli_agent-0.1.28/tests/fixtures/agent_stream/core_scenarios.json +63 -0
  134. synapse_cli_agent-0.1.28/tests/test_agent_lifecycle.py +99 -0
  135. synapse_cli_agent-0.1.28/tests/test_agent_turn_runtime.py +451 -0
  136. synapse_cli_agent-0.1.28/tests/test_chrome_controller.py +328 -0
  137. synapse_cli_agent-0.1.28/tests/test_cli.py +249 -0
  138. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_dialogs.py +803 -46
  139. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_git_changes_popover.py +54 -0
  140. synapse_cli_agent-0.1.28/tests/test_goal_live_tui.py +173 -0
  141. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_goals.py +410 -11
  142. synapse_cli_agent-0.1.28/tests/test_image_render.py +526 -0
  143. synapse_cli_agent-0.1.28/tests/test_math_image_render.py +132 -0
  144. synapse_cli_agent-0.1.28/tests/test_native_math_render.py +56 -0
  145. synapse_cli_agent-0.1.28/tests/test_project_drawer.py +635 -0
  146. synapse_cli_agent-0.1.28/tests/test_project_runtime.py +470 -0
  147. synapse_cli_agent-0.1.28/tests/test_project_switch.py +112 -0
  148. synapse_cli_agent-0.1.28/tests/test_prompt_controller.py +212 -0
  149. synapse_cli_agent-0.1.28/tests/test_runtime_hardening.py +299 -0
  150. synapse_cli_agent-0.1.28/tests/test_runtime_manager.py +586 -0
  151. synapse_cli_agent-0.1.28/tests/test_runtime_streaming.py +498 -0
  152. synapse_cli_agent-0.1.28/tests/test_session_runtime.py +819 -0
  153. synapse_cli_agent-0.1.28/tests/test_session_store.py +25 -0
  154. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_slash_and_mcp.py +104 -40
  155. synapse_cli_agent-0.1.28/tests/test_slash_effects.py +592 -0
  156. synapse_cli_agent-0.1.28/tests/test_steer_controller.py +69 -0
  157. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_stream_cancel.py +49 -1
  158. synapse_cli_agent-0.1.28/tests/test_stream_semantic_fixtures.py +140 -0
  159. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_stream_tool_items.py +62 -0
  160. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_stream_ui.py +3 -0
  161. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_textual_stream_sink.py +8 -0
  162. synapse_cli_agent-0.1.28/tests/test_theme_controller.py +34 -0
  163. synapse_cli_agent-0.1.28/tests/test_token_rate.py +100 -0
  164. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_output.py +3 -0
  165. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_topbar_context_ratio.py +5 -0
  166. synapse_cli_agent-0.1.28/tests/test_transcript_controller.py +254 -0
  167. synapse_cli_agent-0.1.28/tests/test_transcript_history.py +121 -0
  168. synapse_cli_agent-0.1.28/tests/test_transcript_history_controller.py +141 -0
  169. synapse_cli_agent-0.1.28/tests/test_transcript_migration.py +133 -0
  170. synapse_cli_agent-0.1.28/tests/test_tui_active_session_switcher.py +106 -0
  171. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tui_codex_import.py +59 -7
  172. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tui_selection.py +56 -16
  173. synapse_cli_agent-0.1.28/tests/test_turn_controller.py +1427 -0
  174. synapse_cli_agent-0.1.28/tests/test_turn_event_renderer.py +372 -0
  175. synapse_cli_agent-0.1.28/tests/test_turn_request.py +81 -0
  176. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/uv.lock +87 -1
  177. synapse_cli_agent-0.1.26/PKG-INFO +0 -689
  178. synapse_cli_agent-0.1.26/release_body.md +0 -19
  179. synapse_cli_agent-0.1.26/rust/synapse-core-tool/Cargo.lock +0 -459
  180. synapse_cli_agent-0.1.26/rust/synapse-core-tool/python/synapse_core_tool/__init__.py +0 -3
  181. synapse_cli_agent-0.1.26/src/synapse/sessions/session_recap.py +0 -174
  182. synapse_cli_agent-0.1.26/src/synapse/settings/__init__.py +0 -5
  183. synapse_cli_agent-0.1.26/src/synapse/ui/stream_runtime.py +0 -252
  184. synapse_cli_agent-0.1.26/src/synapse/ui/tui.py +0 -5471
  185. synapse_cli_agent-0.1.26/tests/test_cli.py +0 -108
  186. synapse_cli_agent-0.1.26/tests/test_session_recap.py +0 -97
  187. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.dockerignore +0 -0
  188. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.github/workflows/ci.yml +0 -0
  189. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.github/workflows/docs.yml +0 -0
  190. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.github/workflows/native-compression-wheels.yml +0 -0
  191. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.github/workflows/native-core-tool-wheels.yml +0 -0
  192. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.github/workflows/release.yml +0 -0
  193. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.gitignore +0 -0
  194. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.python-version +0 -0
  195. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/.readthedocs.yaml +0 -0
  196. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/AGENTS.md +0 -0
  197. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/Dockerfile.web +0 -0
  198. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/LICENSE +0 -0
  199. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/agent-studio-prototype/favicon.svg +0 -0
  200. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/agent-studio-prototype/index.html +0 -0
  201. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/agent-studio-prototype/script.js +0 -0
  202. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/agent-studio-prototype/styles.css +0 -0
  203. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/agent_upstream.txt +0 -0
  204. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/cli_upstream.txt +0 -0
  205. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/decode_screenshot.py +0 -0
  206. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/agent-development-guide.md +0 -0
  207. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/cli.md +0 -0
  208. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/codex-session-discovery-phase-1.md +0 -0
  209. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/codex-session-import-phase-2.md +0 -0
  210. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/design.md +0 -0
  211. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/docker-web.md +0 -0
  212. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/index.md +0 -0
  213. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/install.md +0 -0
  214. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/mcp.md +0 -0
  215. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/models.md +0 -0
  216. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/native-compression-core.md +0 -0
  217. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/native-core-tool.md +0 -0
  218. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/permissions.md +0 -0
  219. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/quickstart.md +0 -0
  220. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/skills.md +0 -0
  221. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/smith_output.md +0 -0
  222. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/subagent-architecture-survey.md +0 -0
  223. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/tool-output-transform.md +0 -0
  224. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/tui-cursor-refactor.md +0 -0
  225. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/docs/x-agent-development-guide.md +0 -0
  226. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/examples/mcp.example.json +0 -0
  227. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/examples/models.example.json +0 -0
  228. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/examples/settings.example.json +0 -0
  229. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/middleware_upstream.txt +0 -0
  230. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/LICENSE +0 -0
  231. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/pyproject.toml +0 -0
  232. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/src/file_access.rs +0 -0
  233. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/src/file_tools.rs +0 -0
  234. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/src/search.rs +0 -0
  235. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-core-tool/uv.lock +0 -0
  236. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/Cargo.lock +0 -0
  237. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/Cargo.toml +0 -0
  238. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/LICENSE +0 -0
  239. {synapse_cli_agent-0.1.26/rust/synapse-core-tool → synapse_cli_agent-0.1.28/rust/synapse-tool-compress-core}/NOTICE +0 -0
  240. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/README.md +0 -0
  241. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/pyproject.toml +0 -0
  242. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/python/synapse_tool_compress_core/__init__.py +0 -0
  243. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/ccr.rs +0 -0
  244. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/ccr_in_memory.rs +0 -0
  245. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/mod.rs +0 -0
  246. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/relevance/base.rs +0 -0
  247. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/relevance/bm25.rs +0 -0
  248. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/signals/keyword_detector.rs +0 -0
  249. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/signals/line_importance.rs +0 -0
  250. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/adaptive_sizer.rs +0 -0
  251. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/anchor_selector.rs +0 -0
  252. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/code_compressor.rs +0 -0
  253. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/diff_compressor.rs +0 -0
  254. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/log_compressor.rs +0 -0
  255. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/search_compressor.rs +0 -0
  256. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/analyzer.rs +0 -0
  257. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/anchors.rs +0 -0
  258. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/builder.rs +0 -0
  259. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/classifier.rs +0 -0
  260. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/classifier.rs +0 -0
  261. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/compactor.rs +0 -0
  262. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/formatter.rs +0 -0
  263. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/ir.rs +0 -0
  264. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/mod.rs +0 -0
  265. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/walker.rs +0 -0
  266. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/config.rs +0 -0
  267. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/constraints.rs +0 -0
  268. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/crusher.rs +0 -0
  269. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/crushers.rs +0 -0
  270. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/error_keywords.rs +0 -0
  271. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/field_detect.rs +0 -0
  272. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/hashing.rs +0 -0
  273. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/mod.rs +0 -0
  274. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/observer.rs +0 -0
  275. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/orchestration.rs +0 -0
  276. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/outliers.rs +0 -0
  277. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/planning.rs +0 -0
  278. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/statistics.rs +0 -0
  279. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/stats_math.rs +0 -0
  280. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/traits.rs +0 -0
  281. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/types.rs +0 -0
  282. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/rust/synapse-tool-compress-core/src/lib.rs +0 -0
  283. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/scripts/install.ps1 +0 -0
  284. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/scripts/release.ps1 +0 -0
  285. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/scripts/serve_web.py +0 -0
  286. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/slash_cmds_upstream.txt +0 -0
  287. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/__init__.py +0 -0
  288. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/__main__.py +0 -0
  289. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/app/__init__.py +0 -0
  290. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/app/agent_md.py +0 -0
  291. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/__init__.py +0 -0
  292. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/compression.py +0 -0
  293. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/helpers.py +0 -0
  294. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/mcp.py +0 -0
  295. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/model.py +0 -0
  296. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/sessions.py +0 -0
  297. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/commands/theme.py +0 -0
  298. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/config.py +0 -0
  299. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/content/__init__.py +0 -0
  300. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/content/input_history.py +0 -0
  301. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/content/multimodal.py +0 -0
  302. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/content/prompts.py +0 -0
  303. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/content/skills_catalog.py +0 -0
  304. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/__init__.py +0 -0
  305. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/model.py +0 -0
  306. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/goals/steering.py +0 -0
  307. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/__init__.py +0 -0
  308. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/checkpoint_seed.py +0 -0
  309. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/codex_history.py +0 -0
  310. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/codex_import.py +0 -0
  311. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/codex_sessions.py +0 -0
  312. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/describe_image.py +0 -0
  313. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/http_clients.py +0 -0
  314. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/llm_openai_compat.py +0 -0
  315. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/llm_openai_websocket.py +0 -0
  316. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/openai_oauth.py +0 -0
  317. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/openai_oauth_middleware.py +0 -0
  318. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/openai_usage.py +0 -0
  319. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/integrations/vision_middleware.py +0 -0
  320. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/memory/__init__.py +0 -0
  321. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/memory/auto_recorder.py +0 -0
  322. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/memory/embedder.py +0 -0
  323. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/memory/long_term.py +0 -0
  324. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models/__init__.py +0 -0
  325. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models/config.py +0 -0
  326. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models/helpers.py +0 -0
  327. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models/profile.py +0 -0
  328. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models/registry.py +0 -0
  329. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/models_registry.py +0 -0
  330. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/__init__.py +0 -0
  331. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/debug_inspector.html +0 -0
  332. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/debug_server.py +0 -0
  333. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/heap_dump.py +0 -0
  334. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/llm_debug.py +0 -0
  335. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/observability/startup_trace.py +0 -0
  336. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/parallel_subagents.py +0 -0
  337. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/planner/__init__.py +0 -0
  338. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/planner/task_planner.py +0 -0
  339. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/projects/__init__.py +0 -0
  340. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/rag/__init__.py +0 -0
  341. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/rag/knowledge_base.py +0 -0
  342. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/__init__.py +0 -0
  343. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/backends.py +0 -0
  344. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/context_compact.py +0 -0
  345. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/debug_capture_middleware.py +0 -0
  346. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/execute_capture.py +0 -0
  347. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/filesystem_tool_prompt_middleware.py +0 -0
  348. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/fs_permissions.py +0 -0
  349. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/harness.py +0 -0
  350. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/hitl.py +0 -0
  351. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/interaction_ledger.py +0 -0
  352. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/model_request_compression_middleware.py +0 -0
  353. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/pathing.py +0 -0
  354. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/safety.py +0 -0
  355. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/steer.py +0 -0
  356. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/subagent_routing.py +0 -0
  357. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/subagents.py +0 -0
  358. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/tool_ignore.py +0 -0
  359. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/tool_output_eval.py +0 -0
  360. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/tool_output_middleware.py +0 -0
  361. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/tool_output_usage_middleware.py +0 -0
  362. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/runtime/tool_response_truncate_middleware.py +0 -0
  363. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/__init__.py +0 -0
  364. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/cancel_repair.py +0 -0
  365. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/search_index.py +0 -0
  366. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/summary.py +0 -0
  367. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/transcript.py +0 -0
  368. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/sessions/transcript_projection.py +0 -0
  369. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/settings/config_paths.py +0 -0
  370. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/subagent_monitor.py +0 -0
  371. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/subagents.py +0 -0
  372. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/__init__.py +0 -0
  373. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/detection.py +0 -0
  374. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/metrics.py +0 -0
  375. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/models.py +0 -0
  376. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/pipeline.py +0 -0
  377. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tool_output/transformers.py +0 -0
  378. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tools/__init__.py +0 -0
  379. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tools/describe_image.py +0 -0
  380. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tools/filesystem_patch.py +0 -0
  381. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tools/filesystem_search.py +0 -0
  382. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/tools/session_tools.py +0 -0
  383. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/__init__.py +0 -0
  384. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/answer_divider.py +0 -0
  385. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/__init__.py +0 -0
  386. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/__init__.py +0 -0
  387. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/codex_usage.py +0 -0
  388. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/fast.py +0 -0
  389. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/goal.py +0 -0
  390. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/key_hints.py +0 -0
  391. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/mcp.py +0 -0
  392. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/mode.py +0 -0
  393. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/model.py +0 -0
  394. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/components/thread.py +0 -0
  395. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/context.py +0 -0
  396. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/bottombar/core.py +0 -0
  397. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/clipboard.py +0 -0
  398. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/codex_session_list.py +0 -0
  399. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/compression_diagnostics.py +0 -0
  400. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/model_picker.py +0 -0
  401. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/safety_panel.py +0 -0
  402. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/dialogs/theme_picker.py +0 -0
  403. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/git_explore/__init__.py +0 -0
  404. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/git_explore/engine.py +0 -0
  405. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/git_explore/provider.py +0 -0
  406. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/git_explore/unified.py +0 -0
  407. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/rendering.py +0 -0
  408. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/selectable_static.py +0 -0
  409. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/selectable_text.py +0 -0
  410. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/steer_widget.py +0 -0
  411. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/textual_lifecycle.py +0 -0
  412. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/theme.py +0 -0
  413. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/tool_blocks.py +0 -0
  414. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/__init__.py +0 -0
  415. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/__init__.py +0 -0
  416. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/branch.py +0 -0
  417. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/title.py +0 -0
  418. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/tool_output.py +0 -0
  419. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/usage.py +0 -0
  420. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/components/workspace.py +0 -0
  421. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/context.py +0 -0
  422. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/core.py +0 -0
  423. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/git_chrome.py +0 -0
  424. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/topbar/tool_output_popover.py +0 -0
  425. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/turn_rail.py +0 -0
  426. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/turn_rail_widgets.py +0 -0
  427. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/user_turn.py +0 -0
  428. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/ui/welcome.py +0 -0
  429. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/src/synapse/web.py +0 -0
  430. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/synapse.cmd +0 -0
  431. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/__init__.py +0 -0
  432. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/duplicate_response_item.jsonl +0 -0
  433. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/incomplete_and_aborted.jsonl +0 -0
  434. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/legacy_compaction.jsonl +0 -0
  435. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/normal_completed.jsonl +0 -0
  436. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/replacement_history.jsonl +0 -0
  437. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/rollback.jsonl +0 -0
  438. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/codex_rollouts/unsupported_replacement.jsonl +0 -0
  439. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/sample_repo/calculator.py +0 -0
  440. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/sample_repo/test_calculator.py +0 -0
  441. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/fixtures/tool_output_eval.json +0 -0
  442. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test.py +0 -0
  443. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_agent_factory.py +0 -0
  444. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_async_checkpointer.py +0 -0
  445. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_backends.py +0 -0
  446. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_bottombar_registry.py +0 -0
  447. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_cancel_repair.py +0 -0
  448. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_capabilities.py +0 -0
  449. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_checkpoint_seed.py +0 -0
  450. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_cli_codex_import.py +0 -0
  451. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_codex_history.py +0 -0
  452. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_codex_import.py +0 -0
  453. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_codex_sessions.py +0 -0
  454. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_codex_sessions_windows.py +0 -0
  455. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_compact_tool_descriptions.py +0 -0
  456. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_config.py +0 -0
  457. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_context_compact.py +0 -0
  458. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_context_window.py +0 -0
  459. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_dag_parallel.py +0 -0
  460. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_debug_capture_middleware.py +0 -0
  461. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_debug_inspector.py +0 -0
  462. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_describe_image.py +0 -0
  463. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_filesystem_patch_tool.py +0 -0
  464. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_filesystem_search_tools.py +0 -0
  465. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_git_chrome.py +0 -0
  466. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_git_explore.py +0 -0
  467. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_heap_dump.py +0 -0
  468. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_http_clients.py +0 -0
  469. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_input_history.py +0 -0
  470. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_iteration_abc.py +0 -0
  471. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_layered_config.py +0 -0
  472. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_mcp_schema.py +0 -0
  473. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_mermaid_render.py +0 -0
  474. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_middleware_async.py +0 -0
  475. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_model_request_compression_middleware.py +0 -0
  476. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_model_retry.py +0 -0
  477. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_multimodal.py +0 -0
  478. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_openai_compat_reasoning.py +0 -0
  479. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_openai_oauth.py +0 -0
  480. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_openai_oauth_middleware.py +0 -0
  481. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_openai_usage.py +0 -0
  482. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_openai_websocket.py +0 -0
  483. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_pathing.py +0 -0
  484. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_project_catalog.py +0 -0
  485. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_prompts.py +0 -0
  486. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_safety.py +0 -0
  487. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_search_index.py +0 -0
  488. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_session_prewarm.py +0 -0
  489. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_session_summary.py +0 -0
  490. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_slash_complete.py +0 -0
  491. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_startup_defer.py +0 -0
  492. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_steer.py +0 -0
  493. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_subagent_monitor_dialog.py +0 -0
  494. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_subagent_status.py +0 -0
  495. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_theme.py +0 -0
  496. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_timeline.py +0 -0
  497. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_ignore.py +0 -0
  498. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_intent.py +0 -0
  499. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_output_eval.py +0 -0
  500. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_output_slash.py +0 -0
  501. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_output_usage_middleware.py +0 -0
  502. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_tool_response_truncate_middleware.py +0 -0
  503. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_topbar_registry.py +0 -0
  504. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_transcript.py +0 -0
  505. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_transcript_projection.py +0 -0
  506. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_turn_rail_minimap.py +0 -0
  507. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_usage_restore.py +0 -0
  508. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_user_turn_style.py +0 -0
  509. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/test_welcome.py +0 -0
  510. {synapse_cli_agent-0.1.26 → synapse_cli_agent-0.1.28}/tests/tool_output_plugin_fixture.py +0 -0
@@ -7,6 +7,51 @@ The release workflow automatically extracts the matching section as release note
7
7
 
8
8
  ---
9
9
 
10
+ ## v0.1.28
11
+
12
+ ### 新增功能
13
+
14
+ - TUI 支持终端内 LaTeX 数学公式渲染:transcript 中 display math(`$$...$$`)块经原生 RaTeX 内核渲染为 PNG 图片展示,支持前景/背景色、字号、padding 与 device pixel ratio,无需 Node.js、浏览器或系统 TeX。
15
+ - TUI 图片渲染增强:粘贴图片可在终端内预览(textual-image),transcript 显示图片,点击图片可在模态窗口中放大查看。
16
+ - 会话切换器:Ctrl+Tab 快速切换最近 10 个会话并高亮当前项,冷历史合并进 recents。
17
+ - 项目抽屉(project drawer)绑定 F12 并支持交互,可读性与渲染稳定性改进。
18
+ - 跨项目进程内切换与多会话并发支持(runtime 与 TUI 解耦重构)。
19
+
20
+ ### 修复
21
+
22
+ - 修复退出死锁,新增退出耗时诊断。
23
+ - 修复会话切换后 turn 轮换内容丢失、replay 终态关闭、断链渲染冻结等问题。
24
+ - 修复事件渲染阻塞输入的问题。
25
+ - 隔离各会话的 model 与 MCP 状态,避免跨会话切换串扰。
26
+ - 修复 goal follow-up 轮次的 reservation/settlement 竞态。
27
+
28
+ ### 工程改进
29
+
30
+ - runtime 与 TUI 解耦:stream parser 移出 UI 包,工具事件结构化输出并保留工具 item 生命周期。
31
+ - synapse-core-tool 原生扩展新增 `render_math_png`(RaTeX 内核 + 嵌入 KaTeX 字体)。
32
+
33
+ ---
34
+
35
+ ## v0.1.27
36
+
37
+ ### 新增功能
38
+
39
+ - TUI topbar 实时显示 token 输出速率与首 token 时间(TTFT)。
40
+ - README 重设计并拆分中英文版本,`docs/sessions.md` 同步补充会话说明。
41
+
42
+ ### 修复
43
+
44
+ - 修复 TUI 控制器拆分后 Esc 取消与 goal 状态未保留的问题(跨控制器保留 goal 取消状态、Esc 时暂停 active goal)。
45
+ - 修复 TUI 旧版 transcript projections 迁移在主线程阻塞的问题,改为在子进程中执行。
46
+ - 修复对话框 modal 屏幕出现第二个滚动条、git changes popover 滚动条重复的问题。
47
+
48
+ ### 工程改进
49
+
50
+ - `tui.py` 拆分为领域控制器(ChromeController、TranscriptController、SlashController、PromptController、TurnController),完成控制器抽取并修复 Codex usage 线程模型。
51
+ - 限制 TUI session 与工具输出内存占用,降低长会话资源消耗。
52
+
53
+ ---
54
+
10
55
  ## v0.1.26
11
56
 
12
57
  ### 新增功能
@@ -0,0 +1,401 @@
1
+ Metadata-Version: 2.5
2
+ Name: synapse-cli-agent
3
+ Version: 0.1.28
4
+ Summary: Local coding agent built on LangChain Deep Agents (LocalShell, no sandbox)
5
+ Project-URL: Homepage, https://github.com/alex8224/synapse-agent
6
+ Project-URL: Repository, https://github.com/alex8224/synapse-agent
7
+ Project-URL: Issues, https://github.com/alex8224/synapse-agent/issues
8
+ Project-URL: Changelog, https://github.com/alex8224/synapse-agent/blob/main/CHANGELOG.md
9
+ Author-email: alex8224 <alex8224@gmail.com>
10
+ License: Apache License
11
+ Version 2.0, January 2004
12
+ http://www.apache.org/licenses/
13
+
14
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
15
+
16
+ 1. Definitions.
17
+
18
+ "License" shall mean the terms and conditions for use, reproduction,
19
+ and distribution as defined by Sections 1 through 9 of this document.
20
+
21
+ "Licensor" shall mean the copyright owner or entity authorized by
22
+ the copyright owner that is granting the License.
23
+
24
+ "Legal Entity" shall mean the union of the acting entity and all
25
+ other entities that control, are controlled by, or are under common
26
+ control with that entity. For the purposes of this definition,
27
+ "control" means (i) the power, direct or indirect, to cause the
28
+ direction or management of such entity, whether by contract or
29
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
30
+ outstanding shares, or (iii) beneficial ownership of such entity.
31
+
32
+ "You" (or "Your") shall mean an individual or Legal Entity
33
+ exercising permissions granted by this License.
34
+
35
+ "Source" form shall mean the preferred form for making modifications,
36
+ including but not limited to software source code, documentation
37
+ source, and configuration files.
38
+
39
+ "Object" form shall mean any form resulting from mechanical
40
+ transformation or translation of a Source form, including but
41
+ not limited to compiled object code, generated documentation,
42
+ and conversions to other media types.
43
+
44
+ "Work" shall mean the work of authorship, whether in Source or
45
+ Object form, made available under the License, as indicated by a
46
+ copyright notice that is included in or attached to the work
47
+ (an example is provided in the Appendix below).
48
+
49
+ "Derivative Works" shall mean any work, whether in Source or Object
50
+ form, that is based on (or derived from) the Work and for which the
51
+ editorial revisions, annotations, elaborations, or other modifications
52
+ represent, as a whole, an original work of authorship. For the purposes
53
+ of this License, Derivative Works shall not include works that remain
54
+ separable from, or merely link (or bind by name) to the interfaces of,
55
+ the Work and Derivative Works thereof.
56
+
57
+ "Contribution" shall mean any work of authorship, including
58
+ the original version of the Work and any modifications or additions
59
+ to that Work or Derivative Works thereof, that is intentionally
60
+ submitted to the Licensor for inclusion in the Work by the copyright owner
61
+ or by an individual or Legal Entity authorized to submit on behalf of
62
+ the copyright owner. For the purposes of this definition, "submitted"
63
+ means any form of electronic, verbal, or written communication sent
64
+ to the Licensor or its representatives, including but not limited to
65
+ communication on electronic mailing lists, source code control systems,
66
+ and issue tracking systems that are managed by, or on behalf of, the
67
+ Licensor for the purpose of discussing and improving the Work, but
68
+ excluding communication that is conspicuously marked or otherwise
69
+ designated in writing by the copyright owner as "Not a Contribution."
70
+
71
+ "Contributor" shall mean Licensor and any individual or Legal Entity
72
+ on behalf of whom a Contribution has been received by Licensor and
73
+ subsequently incorporated within the Work.
74
+
75
+ 2. Grant of Copyright License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ copyright license to reproduce, prepare Derivative Works of,
79
+ publicly display, publicly perform, sublicense, and distribute the
80
+ Work and such Derivative Works in Source or Object form.
81
+
82
+ 3. Grant of Patent License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ (except as stated in this section) patent license to make, have made,
86
+ use, offer to sell, sell, import, and otherwise transfer the Work,
87
+ where such license applies only to those patent claims licensable
88
+ by such Contributor that are necessarily infringed by their
89
+ Contribution(s) alone or by combination of their Contribution(s)
90
+ with the Work to which such Contribution(s) was submitted. If You
91
+ institute patent litigation against any entity (including a
92
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
93
+ or a Contribution incorporated within the Work constitutes direct
94
+ or contributory patent infringement, then any patent licenses
95
+ granted to You under this License for that Work shall terminate
96
+ as of the date such litigation is filed.
97
+
98
+ 4. Redistribution. You may reproduce and distribute copies of the
99
+ Work or Derivative Works thereof in any medium, with or without
100
+ modifications, and in Source or Object form, provided that You
101
+ meet the following conditions:
102
+
103
+ (a) You must give any other recipients of the Work or
104
+ Derivative Works a copy of this License; and
105
+
106
+ (b) You must cause any modified files to carry prominent notices
107
+ stating that You changed the files; and
108
+
109
+ (c) You must retain, in the Source form of any Derivative Works
110
+ that You distribute, all copyright, patent, trademark, and
111
+ attribution notices from the Source form of the Work,
112
+ excluding those notices that do not pertain to any part of
113
+ the Derivative Works; and
114
+
115
+ (d) If the Work includes a "NOTICE" text file as part of its
116
+ distribution, then any Derivative Works that You distribute must
117
+ include a readable copy of the attribution notices contained
118
+ within such NOTICE file, excluding those notices that do not
119
+ pertain to any part of the Derivative Works, in at least one
120
+ of the following places: within a NOTICE text file distributed
121
+ as part of the Derivative Works; within the Source form or
122
+ documentation, if provided along with the Derivative Works; or,
123
+ within a display generated by the Derivative Works, if and
124
+ wherever such third-party notices normally appear. The contents
125
+ of the NOTICE file are for informational purposes only and
126
+ do not modify the License. You may add Your own attribution
127
+ notices within Derivative Works that You distribute, alongside
128
+ or as an addendum to the NOTICE text from the Work, provided
129
+ that such additional attribution notices cannot be construed
130
+ as modifying the License.
131
+
132
+ You may add Your own copyright statement to Your modifications and
133
+ may provide additional or different license terms and conditions
134
+ for use, reproduction, or distribution of Your modifications, or
135
+ for any such Derivative Works as a whole, provided Your use,
136
+ reproduction, and distribution of the Work otherwise complies with
137
+ the conditions stated in this License.
138
+
139
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
140
+ any Contribution intentionally submitted for inclusion in the Work
141
+ by You to the Licensor shall be under the terms and conditions of
142
+ this License, without any additional terms or conditions.
143
+ Notwithstanding the above, nothing herein shall supersede or modify
144
+ the terms of any separate license agreement you may have executed
145
+ with Licensor regarding such Contributions.
146
+
147
+ 6. Trademarks. This License does not grant permission to use the trade
148
+ names, trademarks, service marks, or product names of the Licensor,
149
+ except as required for reasonable and customary use in describing the
150
+ origin of the Work and reproducing the content of the NOTICE file.
151
+
152
+ 7. Disclaimer of Warranty. Unless required by applicable law or
153
+ agreed to in writing, Licensor provides the Work (and each
154
+ Contributor provides its Contributions) on an "AS IS" BASIS,
155
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
156
+ implied, including, without limitation, any warranties or conditions
157
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
158
+ PARTICULAR PURPOSE. You are solely responsible for determining the
159
+ appropriateness of using or redistributing the Work and assume any
160
+ risks associated with Your exercise of permissions under this License.
161
+
162
+ 8. Limitation of Liability. In no event and under no legal theory,
163
+ whether in tort (including negligence), contract, or otherwise,
164
+ unless required by applicable law (such as deliberate and grossly
165
+ negligent acts) or agreed to in writing, shall any Contributor be
166
+ liable to You for damages, including any direct, indirect, special,
167
+ incidental, or consequential damages of any character arising as a
168
+ result of this License or out of the use or inability to use the
169
+ Work (including but not limited to damages for loss of goodwill,
170
+ work stoppage, computer failure or malfunction, or any and all
171
+ other commercial damages or losses), even if such Contributor
172
+ has been advised of the possibility of such damages.
173
+
174
+ 9. Accepting Warranty or Additional Liability. While redistributing
175
+ the Work or Derivative Works thereof, You may choose to offer,
176
+ and charge a fee for, acceptance of support, warranty, indemnity,
177
+ or other liability obligations and/or rights consistent with this
178
+ License. However, in accepting such obligations, You may act only
179
+ on Your own behalf and on Your sole responsibility, not on behalf
180
+ of any other Contributor, and only if You agree to indemnify,
181
+ defend, and hold each Contributor harmless for any liability
182
+ incurred by, or claims asserted against, such Contributor by reason
183
+ of your accepting any such warranty or additional liability.
184
+
185
+ END OF TERMS AND CONDITIONS
186
+
187
+ Copyright 2025 alex8224
188
+
189
+ Licensed under the Apache License, Version 2.0 (the "License");
190
+ you may not use this file except in compliance with the License.
191
+ You may obtain a copy of the License at
192
+
193
+ http://www.apache.org/licenses/LICENSE-2.0
194
+
195
+ Unless required by applicable law or agreed to in writing, software
196
+ distributed under the License is distributed on an "AS IS" BASIS,
197
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198
+ See the License for the specific language governing permissions and
199
+ limitations under the License.
200
+ License-File: LICENSE
201
+ Requires-Python: >=3.12
202
+ Requires-Dist: aiosqlite==0.22.1
203
+ Requires-Dist: deepagents==0.6.12
204
+ Requires-Dist: httpx[socks]==0.28.1
205
+ Requires-Dist: langchain-anthropic==1.4.8
206
+ Requires-Dist: langchain-openai==1.3.5
207
+ Requires-Dist: langchain==1.3.14
208
+ Requires-Dist: langgraph-checkpoint-sqlite==3.1.0
209
+ Requires-Dist: langgraph==1.2.9
210
+ Requires-Dist: mcp==1.28.1
211
+ Requires-Dist: pydantic-settings==2.14.2
212
+ Requires-Dist: python-dotenv==1.2.2
213
+ Requires-Dist: rich==15.0.0
214
+ Requires-Dist: synapse-core-tool<0.2.0,>=0.1.0
215
+ Requires-Dist: termaid==0.7.1
216
+ Requires-Dist: texicode==1.0.3
217
+ Requires-Dist: textual-diff-view==0.1.5
218
+ Requires-Dist: textual-image==0.13.2
219
+ Requires-Dist: textual-serve==1.1.3
220
+ Requires-Dist: textual==8.2.8
221
+ Requires-Dist: typer==0.27.0
222
+ Requires-Dist: websockets==15.0.1
223
+ Requires-Dist: zstandard==0.25.0
224
+ Provides-Extra: dev
225
+ Requires-Dist: mkdocs-material>=9.7.7; extra == 'dev'
226
+ Requires-Dist: mkdocs>=1.6.1; extra == 'dev'
227
+ Requires-Dist: pytest>=9.1.1; extra == 'dev'
228
+ Requires-Dist: ruff>=0.15.22; extra == 'dev'
229
+ Description-Content-Type: text/markdown
230
+
231
+ <p align="center">
232
+ <img src="assets/synapse-logo.svg" alt="Synapse" width="96">
233
+ </p>
234
+
235
+ <h1 align="center">Synapse</h1>
236
+
237
+ <p align="center">
238
+ The open-source coding agent that lives in your terminal — built on <strong>LangChain Deep Agents</strong>. Ask it to fix a test, refactor a module, or carry a goal across turns until it is done.
239
+ </p>
240
+
241
+ <p align="center">
242
+ <a href="https://pypi.org/project/synapse-cli-agent/"><img src="https://img.shields.io/pypi/v/synapse-cli-agent?style=for-the-badge&logo=pypi&logoColor=white&label=PyPI" alt="PyPI version"></a>
243
+ <a href="https://github.com/alex8224/synapse-agent"><img src="https://img.shields.io/badge/GitHub-synapse--agent-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"></a>
244
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-3da639?style=for-the-badge&logo=apache&logoColor=white" alt="Apache 2.0"></a>
245
+ </p>
246
+
247
+ <p align="center">
248
+ <a href="README.md">English</a> ·
249
+ <a href="README.zh-CN.md">简体中文</a> ·
250
+ <a href="docs/">Docs</a> ·
251
+ <a href="CHANGELOG.md">Changelog</a>
252
+ </p>
253
+
254
+ ![Synapse TUI](assets/tui-preview.png)
255
+
256
+ Synapse is a terminal-first coding-agent runtime. Unlike a one-shot "run this and reply" prompt, it is designed for sessions that last more than a few turns: a responsive TUI that keeps the timeline, tool calls, and context usage visible; token-aware handling of tool output; and persistent goals that keep the agent working until the work is actually done.
257
+
258
+ ## Install
259
+
260
+ One command, no clone required:
261
+
262
+ ```bash
263
+ uv tool install synapse-cli-agent
264
+ ```
265
+
266
+ Then start the TUI from anywhere:
267
+
268
+ ```bash
269
+ synapse tui -w .
270
+ ```
271
+
272
+ Open a session in any registered project from the global catalog:
273
+
274
+ ```bash
275
+ synapse --session <project_id>:<thread_id> # global session reference
276
+ synapse --project <ref> # project by id prefix, name, or path
277
+ ```
278
+
279
+ Inside the TUI, click the topbar `≡` (or the workspace label) to open the
280
+ floating project drawer: it lists every registered project, groups their
281
+ sessions, marks live runtime status, and lets you switch sessions in place or
282
+ jump to another project (the TUI restarts into that project).
283
+
284
+ Press `Ctrl+Tab` for a lighter active-session switcher: it lists only sessions
285
+ that are doing work right now (across projects), lets you `Tab` / `Shift+Tab`
286
+ through them and `Enter` to switch — the old session keeps running in the
287
+ background and is never cancelled. Some terminals never forward `Ctrl+Tab` to
288
+ the app; `Ctrl+O` is a drop-in alternative.
289
+
290
+ <details>
291
+ <summary><b>Or run from source</b></summary>
292
+
293
+ ```bash
294
+ git clone https://github.com/alex8224/synapse-agent.git
295
+ cd synapse-agent
296
+ uv sync
297
+
298
+ # Windows venv entry
299
+ .\.venv\Scripts\synapse.exe tui -w .
300
+
301
+ # Or module entry
302
+ uv run python -m synapse tui -w .
303
+ ```
304
+
305
+ </details>
306
+
307
+ ## Use it
308
+
309
+ Type it like you would ask a colleague:
310
+
311
+ - "Fix the failing test in `tests/test_backends.py`"
312
+ - "Refactor this module and add type annotations"
313
+ - "Review the latest commit and suggest improvements"
314
+ - "Keep working on this goal until it is done" (via `/goal`)
315
+
316
+ Three ways to talk to it:
317
+
318
+ | Mode | What it does |
319
+ | --- | --- |
320
+ | **TUI** | Full terminal UI: timeline, turn rail, tool groups, context usage, themes |
321
+ | **Chat** | Plain interactive REPL — `synapse chat -w .` |
322
+ | **Run** | One-shot task that prints the answer — `synapse run "summarize this repo" -w .` |
323
+
324
+ ## Why it is built for long sessions
325
+
326
+ - **Long-running goals** — `/goal <objective>` survives turn boundaries, tracks tokens and elapsed time, and steers the next turn automatically until the goal is completed, paused, blocked, or budget-limited.
327
+ - **Token-aware tool output** — search results, logs, diffs, JSON, and code are classified and compressed before they re-enter the model context; large originals stay recoverable through references.
328
+ - **Managed long context** — automatic summarization and `/compact` keep sessions inside the model window, with occupancy and savings visible in the TUI.
329
+ - **Direct Codex OAuth** — sign in with the Codex-compatible browser flow or import an existing Codex grant. No API key required; tokens refresh automatically.
330
+ - **Your model, your choice** — OpenAI-compatible providers via `models.json` profiles (OpenAI, DeepSeek, local gateways, and more), including a persistent WebSocket mode.
331
+ - **MCP built in** — attach MCP servers and their tools appear in the agent automatically.
332
+ - **Sessions that resume** — SQLite checkpoints, a global project catalog across all your projects, and a lightweight paged transcript so even huge sessions reopen fast.
333
+ - **Memory and skills** — `AGENTS.md` memory plus Agent Skills (`skills/**`) that load only when relevant.
334
+ - **Sub-agents** — built-in `researcher`, `tester`, and `reviewer` roles for parallel delegation.
335
+ - **Approvals when you want them** — optional human-in-the-loop (`--require-approval`) and safety profiles.
336
+
337
+ ## Slash commands
338
+
339
+ Type `/help` in the TUI for the full reference. The essentials:
340
+
341
+ | Command | What it does |
342
+ | --- | --- |
343
+ | `/goal <objective>` | Set a long-running goal that auto-continues across turns |
344
+ | `/goal pause` · `/goal resume` · `/goal clear` | Manage the active goal |
345
+ | `/new` · `/switch <id>` · `/sessions` | Create, switch, and list sessions |
346
+ | `/export [md\|json]` | Export the transcript to a file |
347
+ | `/model <provider:model>` | Switch models at runtime |
348
+ | `/fast [on\|off\|status]` | Toggle the Codex Fast tier (OAuth profiles) |
349
+ | `/mcp list` · `/mcp reload` | Manage MCP servers |
350
+ | `/theme <name>` | Switch UI themes |
351
+ | `/compact` | Force context compaction |
352
+ | `/context` | Show context usage stats |
353
+ | `/safety <profile>` | Switch safety profiles |
354
+ | `/approve` · `/reject` | Human-in-the-loop decisions |
355
+
356
+ ## Pick a model
357
+
358
+ Synapse works with any OpenAI-compatible endpoint. Configure profiles in `~/.synapse/models.json` (or `<workspace>/.synapse/models.json`):
359
+
360
+ ```json
361
+ {
362
+ "default": "deepseek",
363
+ "models": {
364
+ "deepseek": {
365
+ "model": "openai:deepseek-v4-pro",
366
+ "api_key": "sk-...",
367
+ "base_url": "http://127.0.0.1:3000/v1",
368
+ "thinking": "high"
369
+ }
370
+ }
371
+ }
372
+ ```
373
+
374
+ For a zero-config Codex experience, use the OAuth profile — see [Models](docs/models.md).
375
+
376
+ ## Documentation
377
+
378
+ | | |
379
+ | --- | --- |
380
+ | [Quickstart](docs/quickstart.md) | First run, CLI reference, common workflows |
381
+ | [Configuration](docs/config.md) | Layered settings, environment variables, paths |
382
+ | [Models](docs/models.md) | Provider profiles, OAuth, Fast tier, WebSocket mode |
383
+ | [MCP](docs/mcp.md) | Attaching and managing MCP servers |
384
+ | [Sessions](docs/sessions.md) | Checkpoints, resume, transcript paging |
385
+ | [Skills](docs/skills.md) | Bundled skills and the Agent Skills format |
386
+ | [Permissions](docs/permissions.md) | Read-only mode and approval flows |
387
+ | [Install](docs/install.md) | All installation methods |
388
+
389
+ ## Repository layout
390
+
391
+ ```
392
+ src/synapse/ Agent assembly, commands, runtime, sessions, TUI, integrations
393
+ rust/ Optional native compression cores (PyO3)
394
+ docs/ User documentation
395
+ tests/ Python test suite
396
+ scripts/ Install / release helpers
397
+ ```
398
+
399
+ ## License
400
+
401
+ Apache License 2.0 — see [LICENSE](LICENSE). Third-party dependencies and Rust subcomponents may carry their own licenses; retain the corresponding license and NOTICE files when distributing.
@@ -0,0 +1,171 @@
1
+ <p align="center">
2
+ <img src="assets/synapse-logo.svg" alt="Synapse" width="96">
3
+ </p>
4
+
5
+ <h1 align="center">Synapse</h1>
6
+
7
+ <p align="center">
8
+ The open-source coding agent that lives in your terminal — built on <strong>LangChain Deep Agents</strong>. Ask it to fix a test, refactor a module, or carry a goal across turns until it is done.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="https://pypi.org/project/synapse-cli-agent/"><img src="https://img.shields.io/pypi/v/synapse-cli-agent?style=for-the-badge&logo=pypi&logoColor=white&label=PyPI" alt="PyPI version"></a>
13
+ <a href="https://github.com/alex8224/synapse-agent"><img src="https://img.shields.io/badge/GitHub-synapse--agent-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"></a>
14
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-3da639?style=for-the-badge&logo=apache&logoColor=white" alt="Apache 2.0"></a>
15
+ </p>
16
+
17
+ <p align="center">
18
+ <a href="README.md">English</a> ·
19
+ <a href="README.zh-CN.md">简体中文</a> ·
20
+ <a href="docs/">Docs</a> ·
21
+ <a href="CHANGELOG.md">Changelog</a>
22
+ </p>
23
+
24
+ ![Synapse TUI](assets/tui-preview.png)
25
+
26
+ Synapse is a terminal-first coding-agent runtime. Unlike a one-shot "run this and reply" prompt, it is designed for sessions that last more than a few turns: a responsive TUI that keeps the timeline, tool calls, and context usage visible; token-aware handling of tool output; and persistent goals that keep the agent working until the work is actually done.
27
+
28
+ ## Install
29
+
30
+ One command, no clone required:
31
+
32
+ ```bash
33
+ uv tool install synapse-cli-agent
34
+ ```
35
+
36
+ Then start the TUI from anywhere:
37
+
38
+ ```bash
39
+ synapse tui -w .
40
+ ```
41
+
42
+ Open a session in any registered project from the global catalog:
43
+
44
+ ```bash
45
+ synapse --session <project_id>:<thread_id> # global session reference
46
+ synapse --project <ref> # project by id prefix, name, or path
47
+ ```
48
+
49
+ Inside the TUI, click the topbar `≡` (or the workspace label) to open the
50
+ floating project drawer: it lists every registered project, groups their
51
+ sessions, marks live runtime status, and lets you switch sessions in place or
52
+ jump to another project (the TUI restarts into that project).
53
+
54
+ Press `Ctrl+Tab` for a lighter active-session switcher: it lists only sessions
55
+ that are doing work right now (across projects), lets you `Tab` / `Shift+Tab`
56
+ through them and `Enter` to switch — the old session keeps running in the
57
+ background and is never cancelled. Some terminals never forward `Ctrl+Tab` to
58
+ the app; `Ctrl+O` is a drop-in alternative.
59
+
60
+ <details>
61
+ <summary><b>Or run from source</b></summary>
62
+
63
+ ```bash
64
+ git clone https://github.com/alex8224/synapse-agent.git
65
+ cd synapse-agent
66
+ uv sync
67
+
68
+ # Windows venv entry
69
+ .\.venv\Scripts\synapse.exe tui -w .
70
+
71
+ # Or module entry
72
+ uv run python -m synapse tui -w .
73
+ ```
74
+
75
+ </details>
76
+
77
+ ## Use it
78
+
79
+ Type it like you would ask a colleague:
80
+
81
+ - "Fix the failing test in `tests/test_backends.py`"
82
+ - "Refactor this module and add type annotations"
83
+ - "Review the latest commit and suggest improvements"
84
+ - "Keep working on this goal until it is done" (via `/goal`)
85
+
86
+ Three ways to talk to it:
87
+
88
+ | Mode | What it does |
89
+ | --- | --- |
90
+ | **TUI** | Full terminal UI: timeline, turn rail, tool groups, context usage, themes |
91
+ | **Chat** | Plain interactive REPL — `synapse chat -w .` |
92
+ | **Run** | One-shot task that prints the answer — `synapse run "summarize this repo" -w .` |
93
+
94
+ ## Why it is built for long sessions
95
+
96
+ - **Long-running goals** — `/goal <objective>` survives turn boundaries, tracks tokens and elapsed time, and steers the next turn automatically until the goal is completed, paused, blocked, or budget-limited.
97
+ - **Token-aware tool output** — search results, logs, diffs, JSON, and code are classified and compressed before they re-enter the model context; large originals stay recoverable through references.
98
+ - **Managed long context** — automatic summarization and `/compact` keep sessions inside the model window, with occupancy and savings visible in the TUI.
99
+ - **Direct Codex OAuth** — sign in with the Codex-compatible browser flow or import an existing Codex grant. No API key required; tokens refresh automatically.
100
+ - **Your model, your choice** — OpenAI-compatible providers via `models.json` profiles (OpenAI, DeepSeek, local gateways, and more), including a persistent WebSocket mode.
101
+ - **MCP built in** — attach MCP servers and their tools appear in the agent automatically.
102
+ - **Sessions that resume** — SQLite checkpoints, a global project catalog across all your projects, and a lightweight paged transcript so even huge sessions reopen fast.
103
+ - **Memory and skills** — `AGENTS.md` memory plus Agent Skills (`skills/**`) that load only when relevant.
104
+ - **Sub-agents** — built-in `researcher`, `tester`, and `reviewer` roles for parallel delegation.
105
+ - **Approvals when you want them** — optional human-in-the-loop (`--require-approval`) and safety profiles.
106
+
107
+ ## Slash commands
108
+
109
+ Type `/help` in the TUI for the full reference. The essentials:
110
+
111
+ | Command | What it does |
112
+ | --- | --- |
113
+ | `/goal <objective>` | Set a long-running goal that auto-continues across turns |
114
+ | `/goal pause` · `/goal resume` · `/goal clear` | Manage the active goal |
115
+ | `/new` · `/switch <id>` · `/sessions` | Create, switch, and list sessions |
116
+ | `/export [md\|json]` | Export the transcript to a file |
117
+ | `/model <provider:model>` | Switch models at runtime |
118
+ | `/fast [on\|off\|status]` | Toggle the Codex Fast tier (OAuth profiles) |
119
+ | `/mcp list` · `/mcp reload` | Manage MCP servers |
120
+ | `/theme <name>` | Switch UI themes |
121
+ | `/compact` | Force context compaction |
122
+ | `/context` | Show context usage stats |
123
+ | `/safety <profile>` | Switch safety profiles |
124
+ | `/approve` · `/reject` | Human-in-the-loop decisions |
125
+
126
+ ## Pick a model
127
+
128
+ Synapse works with any OpenAI-compatible endpoint. Configure profiles in `~/.synapse/models.json` (or `<workspace>/.synapse/models.json`):
129
+
130
+ ```json
131
+ {
132
+ "default": "deepseek",
133
+ "models": {
134
+ "deepseek": {
135
+ "model": "openai:deepseek-v4-pro",
136
+ "api_key": "sk-...",
137
+ "base_url": "http://127.0.0.1:3000/v1",
138
+ "thinking": "high"
139
+ }
140
+ }
141
+ }
142
+ ```
143
+
144
+ For a zero-config Codex experience, use the OAuth profile — see [Models](docs/models.md).
145
+
146
+ ## Documentation
147
+
148
+ | | |
149
+ | --- | --- |
150
+ | [Quickstart](docs/quickstart.md) | First run, CLI reference, common workflows |
151
+ | [Configuration](docs/config.md) | Layered settings, environment variables, paths |
152
+ | [Models](docs/models.md) | Provider profiles, OAuth, Fast tier, WebSocket mode |
153
+ | [MCP](docs/mcp.md) | Attaching and managing MCP servers |
154
+ | [Sessions](docs/sessions.md) | Checkpoints, resume, transcript paging |
155
+ | [Skills](docs/skills.md) | Bundled skills and the Agent Skills format |
156
+ | [Permissions](docs/permissions.md) | Read-only mode and approval flows |
157
+ | [Install](docs/install.md) | All installation methods |
158
+
159
+ ## Repository layout
160
+
161
+ ```
162
+ src/synapse/ Agent assembly, commands, runtime, sessions, TUI, integrations
163
+ rust/ Optional native compression cores (PyO3)
164
+ docs/ User documentation
165
+ tests/ Python test suite
166
+ scripts/ Install / release helpers
167
+ ```
168
+
169
+ ## License
170
+
171
+ Apache License 2.0 — see [LICENSE](LICENSE). Third-party dependencies and Rust subcomponents may carry their own licenses; retain the corresponding license and NOTICE files when distributing.
@@ -1,5 +1,7 @@
1
1
  # Synapse
2
2
 
3
+ > **English**: [README.md](README.md)
4
+
3
5
  基于 **LangChain Deep Agents** 的本地 Synapse。
4
6
 
5
7
  本项目以 [Apache License 2.0](LICENSE) 发布。第三方依赖和 Rust 子组件可能使用各自的许可证;分发时请同时保留相应的许可证与 NOTICE 文件。
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" role="img" aria-label="Synapse">
2
+ <rect width="32" height="32" fill="#201e1c"/>
3
+ <path fill="#dfff57" d="M5 5h9v9H5zM18 5h9v9h-9zM5 18h9v9H5z"/>
4
+ <path fill="#f8f6f1" d="M18 18h9v9h-9z"/>
5
+ </svg>
@@ -1,13 +1,12 @@
1
- """Debug: why _find_summarization_middleware returns None with deepagents 0.6.12 + langchain 1.3.14."""
2
- import asyncio
3
- import inspect
1
+ """Debug: why _find_summarization_middleware returns None with deepagents
2
+ 0.6.12 + langchain 1.3.14."""
3
+
4
4
  import functools
5
+ import inspect
5
6
  from collections.abc import Mapping
6
7
 
7
- from langchain_core.language_models.fake_chat_models import FakeListChatModel
8
- from langchain_core.messages import AIMessage
9
-
10
8
  from deepagents import create_deep_agent
9
+ from langchain_core.language_models.fake_chat_models import FakeListChatModel
11
10
 
12
11
  from synapse.runtime.context_compact import (
13
12
  _find_summarization_middleware,