synapse-cli-agent 0.1.22__tar.gz → 0.1.24__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 (396) hide show
  1. synapse_cli_agent-0.1.24/.dockerignore +15 -0
  2. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/CHANGELOG.md +35 -0
  3. synapse_cli_agent-0.1.24/Dockerfile.web +40 -0
  4. synapse_cli_agent-0.1.24/LICENSE +190 -0
  5. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/PKG-INFO +207 -2
  6. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/README.md +14 -1
  7. synapse_cli_agent-0.1.24/agent-studio-prototype/favicon.svg +5 -0
  8. synapse_cli_agent-0.1.24/agent-studio-prototype/index.html +75 -0
  9. synapse_cli_agent-0.1.24/agent-studio-prototype/script.js +119 -0
  10. synapse_cli_agent-0.1.24/agent-studio-prototype/styles.css +8 -0
  11. synapse_cli_agent-0.1.24/debug_compact.py +98 -0
  12. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/config.md +55 -0
  13. synapse_cli_agent-0.1.24/docs/docker-web.md +85 -0
  14. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/models.md +8 -0
  15. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/sessions.md +56 -0
  16. synapse_cli_agent-0.1.24/docs/subagent-architecture-survey.md +373 -0
  17. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/mkdocs.yml +3 -1
  18. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/pyproject.toml +4 -1
  19. synapse_cli_agent-0.1.24/release_body.md +14 -0
  20. synapse_cli_agent-0.1.24/scripts/serve_web.py +12 -0
  21. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/app/agent.py +47 -1
  22. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/cli.py +184 -0
  23. synapse_cli_agent-0.1.24/src/synapse/commands/goal.py +147 -0
  24. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/slash_cmds.py +75 -0
  25. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/slash_complete.py +27 -0
  26. synapse_cli_agent-0.1.24/src/synapse/goals/__init__.py +49 -0
  27. synapse_cli_agent-0.1.24/src/synapse/goals/middleware.py +122 -0
  28. synapse_cli_agent-0.1.24/src/synapse/goals/model.py +131 -0
  29. synapse_cli_agent-0.1.24/src/synapse/goals/runtime.py +507 -0
  30. synapse_cli_agent-0.1.24/src/synapse/goals/steering.py +119 -0
  31. synapse_cli_agent-0.1.24/src/synapse/goals/store.py +253 -0
  32. synapse_cli_agent-0.1.24/src/synapse/goals/tools.py +115 -0
  33. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/llm_openai_websocket.py +6 -1
  34. synapse_cli_agent-0.1.24/src/synapse/integrations/openai_oauth_middleware.py +188 -0
  35. synapse_cli_agent-0.1.24/src/synapse/projects/__init__.py +39 -0
  36. synapse_cli_agent-0.1.24/src/synapse/projects/catalog.py +724 -0
  37. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/backends.py +24 -1
  38. synapse_cli_agent-0.1.24/src/synapse/runtime/session_prewarm.py +136 -0
  39. synapse_cli_agent-0.1.24/src/synapse/runtime/tool_response_truncate_middleware.py +236 -0
  40. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/__init__.py +10 -0
  41. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/store.py +22 -4
  42. synapse_cli_agent-0.1.24/src/synapse/sessions/summary.py +154 -0
  43. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/settings/schema.py +89 -0
  44. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/__init__.py +20 -1
  45. synapse_cli_agent-0.1.24/src/synapse/ui/bottombar/components/fast.py +39 -0
  46. synapse_cli_agent-0.1.24/src/synapse/ui/bottombar/components/goal.py +71 -0
  47. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/context.py +9 -0
  48. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/theme_designer.py +3 -0
  49. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/rendering.py +46 -0
  50. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/stream.py +16 -2
  51. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/theme.py +150 -0
  52. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/transcript_blocks.py +16 -3
  53. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/tui.py +384 -10
  54. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/turn_rail.py +7 -2
  55. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/user_turn.py +50 -4
  56. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/user_turn_block.py +59 -14
  57. synapse_cli_agent-0.1.24/src/synapse/web.py +54 -0
  58. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_backends.py +3 -2
  59. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_bottombar_registry.py +34 -0
  60. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_capabilities.py +6 -0
  61. synapse_cli_agent-0.1.24/tests/test_goals.py +569 -0
  62. synapse_cli_agent-0.1.24/tests/test_openai_oauth_middleware.py +154 -0
  63. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_openai_websocket.py +53 -0
  64. synapse_cli_agent-0.1.24/tests/test_project_catalog.py +256 -0
  65. synapse_cli_agent-0.1.24/tests/test_session_prewarm.py +127 -0
  66. synapse_cli_agent-0.1.24/tests/test_session_summary.py +81 -0
  67. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_stream_tool_items.py +117 -0
  68. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_stream_ui.py +72 -0
  69. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_theme.py +58 -0
  70. synapse_cli_agent-0.1.24/tests/test_tool_response_truncate_middleware.py +206 -0
  71. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tui_selection.py +52 -0
  72. synapse_cli_agent-0.1.24/tests/test_user_turn_style.py +79 -0
  73. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/uv.lock +518 -1
  74. synapse_cli_agent-0.1.22/release_body.md +0 -16
  75. synapse_cli_agent-0.1.22/src/synapse/integrations/openai_oauth_middleware.py +0 -65
  76. synapse_cli_agent-0.1.22/tests/test_openai_oauth_middleware.py +0 -52
  77. synapse_cli_agent-0.1.22/tests/test_user_turn_style.py +0 -45
  78. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.github/workflows/ci.yml +0 -0
  79. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.github/workflows/docs.yml +0 -0
  80. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.github/workflows/native-compression-wheels.yml +0 -0
  81. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.github/workflows/native-core-tool-wheels.yml +0 -0
  82. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.github/workflows/release.yml +0 -0
  83. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.gitignore +0 -0
  84. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.python-version +0 -0
  85. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/.readthedocs.yaml +0 -0
  86. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/AGENTS.md +0 -0
  87. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/agent_upstream.txt +0 -0
  88. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/cli_upstream.txt +0 -0
  89. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/decode_screenshot.py +0 -0
  90. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/agent-development-guide.md +0 -0
  91. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/architecture-flow.md +0 -0
  92. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/architecture.md +0 -0
  93. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/cli.md +0 -0
  94. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/codex-session-discovery-phase-1.md +0 -0
  95. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/codex-session-import-phase-2.md +0 -0
  96. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/design.md +0 -0
  97. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/index.md +0 -0
  98. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/install.md +0 -0
  99. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/mcp.md +0 -0
  100. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/native-compression-core.md +0 -0
  101. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/native-core-tool.md +0 -0
  102. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/permissions.md +0 -0
  103. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/quickstart.md +0 -0
  104. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/skills.md +0 -0
  105. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/smith_output.md +0 -0
  106. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/tool-output-transform.md +0 -0
  107. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/tui-cursor-refactor.md +0 -0
  108. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/tutorial.md +0 -0
  109. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/docs/x-agent-development-guide.md +0 -0
  110. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/examples/mcp.example.json +0 -0
  111. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/examples/models.example.json +0 -0
  112. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/examples/settings.example.json +0 -0
  113. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/middleware_upstream.txt +0 -0
  114. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/Cargo.lock +0 -0
  115. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/Cargo.toml +0 -0
  116. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/LICENSE +0 -0
  117. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/NOTICE +0 -0
  118. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/README.md +0 -0
  119. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/pyproject.toml +0 -0
  120. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/python/synapse_core_tool/__init__.py +0 -0
  121. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/src/file_access.rs +0 -0
  122. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/src/file_tools.rs +0 -0
  123. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/src/lib.rs +0 -0
  124. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/src/search.rs +0 -0
  125. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-core-tool/uv.lock +0 -0
  126. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/Cargo.lock +0 -0
  127. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/Cargo.toml +0 -0
  128. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/LICENSE +0 -0
  129. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/NOTICE +0 -0
  130. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/README.md +0 -0
  131. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/pyproject.toml +0 -0
  132. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/python/synapse_tool_compress_core/__init__.py +0 -0
  133. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/ccr.rs +0 -0
  134. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/ccr_in_memory.rs +0 -0
  135. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/mod.rs +0 -0
  136. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/relevance/base.rs +0 -0
  137. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/relevance/bm25.rs +0 -0
  138. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/signals/keyword_detector.rs +0 -0
  139. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/signals/line_importance.rs +0 -0
  140. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/adaptive_sizer.rs +0 -0
  141. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/anchor_selector.rs +0 -0
  142. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/code_compressor.rs +0 -0
  143. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/diff_compressor.rs +0 -0
  144. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/log_compressor.rs +0 -0
  145. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/search_compressor.rs +0 -0
  146. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/analyzer.rs +0 -0
  147. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/anchors.rs +0 -0
  148. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/builder.rs +0 -0
  149. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/classifier.rs +0 -0
  150. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/classifier.rs +0 -0
  151. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/compactor.rs +0 -0
  152. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/formatter.rs +0 -0
  153. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/ir.rs +0 -0
  154. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/mod.rs +0 -0
  155. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/compaction/walker.rs +0 -0
  156. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/config.rs +0 -0
  157. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/constraints.rs +0 -0
  158. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/crusher.rs +0 -0
  159. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/crushers.rs +0 -0
  160. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/error_keywords.rs +0 -0
  161. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/field_detect.rs +0 -0
  162. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/hashing.rs +0 -0
  163. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/mod.rs +0 -0
  164. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/observer.rs +0 -0
  165. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/orchestration.rs +0 -0
  166. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/outliers.rs +0 -0
  167. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/planning.rs +0 -0
  168. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/statistics.rs +0 -0
  169. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/stats_math.rs +0 -0
  170. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/traits.rs +0 -0
  171. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/headroom_port/transforms/smart_crusher/types.rs +0 -0
  172. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/rust/synapse-tool-compress-core/src/lib.rs +0 -0
  173. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/scripts/install.ps1 +0 -0
  174. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/scripts/release.ps1 +0 -0
  175. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/slash_cmds_upstream.txt +0 -0
  176. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/__init__.py +0 -0
  177. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/__main__.py +0 -0
  178. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/app/__init__.py +0 -0
  179. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/app/agent_md.py +0 -0
  180. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/__init__.py +0 -0
  181. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/compression.py +0 -0
  182. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/helpers.py +0 -0
  183. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/mcp.py +0 -0
  184. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/model.py +0 -0
  185. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/result.py +0 -0
  186. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/sessions.py +0 -0
  187. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/commands/theme.py +0 -0
  188. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/config.py +0 -0
  189. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/content/__init__.py +0 -0
  190. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/content/input_history.py +0 -0
  191. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/content/multimodal.py +0 -0
  192. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/content/prompts.py +0 -0
  193. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/content/skills_catalog.py +0 -0
  194. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/__init__.py +0 -0
  195. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/checkpoint_seed.py +0 -0
  196. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/codex_history.py +0 -0
  197. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/codex_import.py +0 -0
  198. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/codex_sessions.py +0 -0
  199. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/describe_image.py +0 -0
  200. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/http_clients.py +0 -0
  201. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/llm_openai_compat.py +0 -0
  202. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/mcp_client.py +0 -0
  203. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/openai_oauth.py +0 -0
  204. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/openai_usage.py +0 -0
  205. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/integrations/vision_middleware.py +0 -0
  206. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/memory/__init__.py +0 -0
  207. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/memory/auto_recorder.py +0 -0
  208. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/memory/embedder.py +0 -0
  209. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/memory/long_term.py +0 -0
  210. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models/__init__.py +0 -0
  211. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models/config.py +0 -0
  212. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models/helpers.py +0 -0
  213. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models/profile.py +0 -0
  214. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models/registry.py +0 -0
  215. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/models_registry.py +0 -0
  216. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/observability/__init__.py +0 -0
  217. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/observability/debug_inspector.html +0 -0
  218. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/observability/debug_server.py +0 -0
  219. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/observability/llm_debug.py +0 -0
  220. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/observability/startup_trace.py +0 -0
  221. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/parallel_subagents.py +0 -0
  222. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/planner/__init__.py +0 -0
  223. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/planner/task_planner.py +0 -0
  224. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/rag/__init__.py +0 -0
  225. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/rag/knowledge_base.py +0 -0
  226. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/__init__.py +0 -0
  227. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/async_runtime.py +0 -0
  228. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/context_compact.py +0 -0
  229. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/debug_capture_middleware.py +0 -0
  230. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/execute_capture.py +0 -0
  231. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/filesystem_tool_prompt_middleware.py +0 -0
  232. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/fs_permissions.py +0 -0
  233. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/harness.py +0 -0
  234. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/hitl.py +0 -0
  235. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/interaction_ledger.py +0 -0
  236. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/middleware.py +0 -0
  237. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/model_request_compression_middleware.py +0 -0
  238. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/pathing.py +0 -0
  239. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/safety.py +0 -0
  240. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/steer.py +0 -0
  241. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/subagent_routing.py +0 -0
  242. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/subagents.py +0 -0
  243. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/tool_ignore.py +0 -0
  244. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/tool_output_eval.py +0 -0
  245. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/tool_output_middleware.py +0 -0
  246. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/runtime/tool_output_usage_middleware.py +0 -0
  247. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/cancel_repair.py +0 -0
  248. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/search_index.py +0 -0
  249. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/session_recap.py +0 -0
  250. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/sessions/transcript.py +0 -0
  251. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/settings/__init__.py +0 -0
  252. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/settings/config_paths.py +0 -0
  253. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/subagent_monitor.py +0 -0
  254. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/subagents.py +0 -0
  255. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/__init__.py +0 -0
  256. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/detection.py +0 -0
  257. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/metrics.py +0 -0
  258. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/models.py +0 -0
  259. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/pipeline.py +0 -0
  260. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/repository.py +0 -0
  261. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tool_output/transformers.py +0 -0
  262. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tools/__init__.py +0 -0
  263. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tools/describe_image.py +0 -0
  264. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tools/filesystem_patch.py +0 -0
  265. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tools/filesystem_search.py +0 -0
  266. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/tools/session_tools.py +0 -0
  267. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/__init__.py +0 -0
  268. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/answer_divider.py +0 -0
  269. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/__init__.py +0 -0
  270. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/codex_usage.py +0 -0
  271. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/key_hints.py +0 -0
  272. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/mcp.py +0 -0
  273. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/mode.py +0 -0
  274. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/model.py +0 -0
  275. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/components/thread.py +0 -0
  276. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/bottombar/core.py +0 -0
  277. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/clipboard.py +0 -0
  278. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/__init__.py +0 -0
  279. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/base.py +0 -0
  280. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/codex_reset.py +0 -0
  281. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/codex_session_list.py +0 -0
  282. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/compression_diagnostics.py +0 -0
  283. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/git_explore.py +0 -0
  284. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/mcp_panel.py +0 -0
  285. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/model_picker.py +0 -0
  286. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/safety_panel.py +0 -0
  287. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/session_list.py +0 -0
  288. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/subagent_monitor.py +0 -0
  289. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/dialogs/theme_picker.py +0 -0
  290. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/formatters.py +0 -0
  291. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/git_explore/__init__.py +0 -0
  292. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/git_explore/engine.py +0 -0
  293. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/git_explore/provider.py +0 -0
  294. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/git_explore/unified.py +0 -0
  295. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/selectable_static.py +0 -0
  296. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/selectable_text.py +0 -0
  297. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/sink.py +0 -0
  298. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/steer_widget.py +0 -0
  299. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/stream_events.py +0 -0
  300. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/stream_runtime.py +0 -0
  301. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/textual_stream_sink.py +0 -0
  302. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/timeline.py +0 -0
  303. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/tool_blocks.py +0 -0
  304. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/__init__.py +0 -0
  305. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/__init__.py +0 -0
  306. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/branch.py +0 -0
  307. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/title.py +0 -0
  308. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/tool_output.py +0 -0
  309. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/usage.py +0 -0
  310. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/components/workspace.py +0 -0
  311. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/context.py +0 -0
  312. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/core.py +0 -0
  313. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/git_changes_popover.py +0 -0
  314. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/git_chrome.py +0 -0
  315. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/tool_output_popover.py +0 -0
  316. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/topbar/widget.py +0 -0
  317. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/turn_rail_widgets.py +0 -0
  318. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/src/synapse/ui/welcome.py +0 -0
  319. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/synapse.cmd +0 -0
  320. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/__init__.py +0 -0
  321. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/duplicate_response_item.jsonl +0 -0
  322. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/incomplete_and_aborted.jsonl +0 -0
  323. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/legacy_compaction.jsonl +0 -0
  324. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/normal_completed.jsonl +0 -0
  325. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/replacement_history.jsonl +0 -0
  326. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/rollback.jsonl +0 -0
  327. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/codex_rollouts/unsupported_replacement.jsonl +0 -0
  328. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/sample_repo/calculator.py +0 -0
  329. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/sample_repo/test_calculator.py +0 -0
  330. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/fixtures/tool_output_eval.json +0 -0
  331. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test.py +0 -0
  332. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_agent_factory.py +0 -0
  333. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_async_checkpointer.py +0 -0
  334. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_cancel_repair.py +0 -0
  335. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_checkpoint_seed.py +0 -0
  336. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_cli.py +0 -0
  337. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_cli_codex_import.py +0 -0
  338. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_codex_history.py +0 -0
  339. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_codex_import.py +0 -0
  340. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_codex_sessions.py +0 -0
  341. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_codex_sessions_windows.py +0 -0
  342. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_compact_tool_descriptions.py +0 -0
  343. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_config.py +0 -0
  344. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_context_compact.py +0 -0
  345. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_context_window.py +0 -0
  346. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_dag_parallel.py +0 -0
  347. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_debug_capture_middleware.py +0 -0
  348. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_debug_inspector.py +0 -0
  349. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_describe_image.py +0 -0
  350. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_dialogs.py +0 -0
  351. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_filesystem_patch_tool.py +0 -0
  352. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_filesystem_search_tools.py +0 -0
  353. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_git_changes_popover.py +0 -0
  354. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_git_chrome.py +0 -0
  355. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_git_explore.py +0 -0
  356. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_http_clients.py +0 -0
  357. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_input_history.py +0 -0
  358. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_iteration_abc.py +0 -0
  359. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_layered_config.py +0 -0
  360. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_mcp_schema.py +0 -0
  361. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_mermaid_render.py +0 -0
  362. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_middleware_async.py +0 -0
  363. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_model_request_compression_middleware.py +0 -0
  364. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_model_retry.py +0 -0
  365. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_multimodal.py +0 -0
  366. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_openai_compat_reasoning.py +0 -0
  367. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_openai_oauth.py +0 -0
  368. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_openai_usage.py +0 -0
  369. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_pathing.py +0 -0
  370. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_prompts.py +0 -0
  371. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_safety.py +0 -0
  372. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_search_index.py +0 -0
  373. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_session_recap.py +0 -0
  374. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_slash_and_mcp.py +0 -0
  375. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_slash_complete.py +0 -0
  376. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_startup_defer.py +0 -0
  377. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_steer.py +0 -0
  378. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_stream_cancel.py +0 -0
  379. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_subagent_monitor_dialog.py +0 -0
  380. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_subagent_status.py +0 -0
  381. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_textual_stream_sink.py +0 -0
  382. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_timeline.py +0 -0
  383. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_ignore.py +0 -0
  384. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_intent.py +0 -0
  385. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_output.py +0 -0
  386. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_output_eval.py +0 -0
  387. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_output_slash.py +0 -0
  388. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tool_output_usage_middleware.py +0 -0
  389. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_topbar_context_ratio.py +0 -0
  390. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_topbar_registry.py +0 -0
  391. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_transcript.py +0 -0
  392. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_tui_codex_import.py +0 -0
  393. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_turn_rail_minimap.py +0 -0
  394. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_usage_restore.py +0 -0
  395. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/test_welcome.py +0 -0
  396. {synapse_cli_agent-0.1.22 → synapse_cli_agent-0.1.24}/tests/tool_output_plugin_fixture.py +0 -0
@@ -0,0 +1,15 @@
1
+ .git
2
+ .venv
3
+ site/
4
+ __pycache__/
5
+ *.py[oc]
6
+ .pytest_cache/
7
+ .ruff_cache/
8
+ .mypy_cache/
9
+ .coverage
10
+ htmlcov/
11
+ large_tool_results/
12
+ conversation_history/
13
+ landing/
14
+ logs/
15
+ *.egg-info
@@ -7,6 +7,41 @@ The release workflow automatically extracts the matching section as release note
7
7
 
8
8
  ---
9
9
 
10
+ ## v0.1.24
11
+
12
+ ### 新增功能
13
+
14
+ - 新增 `synapse-web` 控制台入口(`synapse.web:main`):无需源码即可通过安装的 wheel 启动 Web TUI,支持 `--host`、`--port`、`--workspace` 参数。
15
+ - 新增 `Dockerfile.web` 最小镜像:基于 `python:3.12-slim`,无 Rust 工具链,运行时依赖全部通过预编译 wheel 安装;支持 `pypi`(从 PyPI 安装发布版本)与 `local`(安装构建上下文中的本地 wheel)两种构建模式。
16
+ - 新增 `.dockerignore` 与 Docker 部署文档(`docs/docker-web.md`),包含远程机器构建、运行、端口映射与 `/workspace` 数据持久化说明。
17
+
18
+ ### 工程改进
19
+
20
+ - `scripts/serve_web.py` 改为 `synapse.web` 的兼容薄包装。
21
+ - 文档导航新增 Docker Web TUI 页面。
22
+
23
+ ---
24
+
25
+ ## v0.1.23
26
+
27
+ ### 新增功能
28
+
29
+ - Rich Markdown 渲染接入 Synapse 主题系统:内置主题提供完整 Markdown 样式映射,支持标题、段落、强调、行内代码、引用、链接、列表和表格等元素跟随主题配色。
30
+ - `themes.json` 支持通过独立的 `markdown` 字段覆盖 Markdown 元素的 Rich style,并支持主题继承与分层配置。
31
+ - 运行时切换主题会重绘已显示的答案、思考内容和独立 Markdown 块;主题设计器保存主题时保留 Markdown 样式配置。
32
+
33
+ ### 修复
34
+
35
+ - 修复 Rich Markdown 使用内置默认颜色、导致 Markdown 内容无法跟随 Synapse 主题切换的问题。
36
+ - 修复主题设计器保存已有主题时可能丢失手写 Markdown 样式覆盖的问题。
37
+
38
+ ### 工程改进
39
+
40
+ - 增加 Markdown 主题解析、Rich 样式注入、主题继承、运行时重绘和内置主题完整性测试。
41
+ - 补充 Markdown 主题配置文档,并保留代码块使用 `code_theme` 控制语法高亮的边界说明。
42
+
43
+ ---
44
+
10
45
  ## v0.1.22
11
46
 
12
47
  ### 新增功能
@@ -0,0 +1,40 @@
1
+ # Minimal image for running the Synapse Web TUI via textual-serve.
2
+ # No Rust toolchain: every runtime dependency installs from prebuilt wheels.
3
+ #
4
+ # Build (installs the published wheel from PyPI):
5
+ # docker build -f Dockerfile.web -t synapse-web .
6
+ #
7
+ # Build (installs a local prebuilt wheel copied into the build context):
8
+ # docker build -f Dockerfile.web --build-arg SYNAPSE_MODE=local -t synapse-web .
9
+ #
10
+ # Run (mount a workspace for the agent and publish the web port):
11
+ # docker run --rm -p 8000:8000 -v "$PWD:/workspace" synapse-web
12
+ # # then open http://<host>:8000
13
+
14
+ ARG SYNAPSE_MODE=pypi
15
+
16
+ # pypi mode: install the released wheel and its dependencies from PyPI.
17
+ FROM python:3.12-slim AS pypi
18
+ ARG SYNAPSE_VERSION=0.1.23
19
+ RUN pip install --no-cache-dir --disable-pip-version-check \
20
+ "synapse-cli-agent==${SYNAPSE_VERSION}"
21
+
22
+ # local mode: install a locally built wheel from the build context (dist/).
23
+ FROM python:3.12-slim AS local
24
+ COPY dist/ /tmp/dist/
25
+ RUN pip install --no-cache-dir --disable-pip-version-check /tmp/dist/*.whl
26
+
27
+ FROM ${SYNAPSE_MODE} AS runtime
28
+
29
+ ENV PYTHONDONTWRITEBYTECODE=1 \
30
+ PYTHONUNBUFFERED=1
31
+
32
+ # Run as an unprivileged user.
33
+ RUN useradd --create-home --uid 1000 synapse
34
+ USER synapse
35
+ WORKDIR /workspace
36
+
37
+ EXPOSE 8000
38
+
39
+ ENTRYPOINT ["synapse-web"]
40
+ CMD ["--host", "0.0.0.0", "--port", "8000"]
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to the Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2025 alex8224
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -1,12 +1,203 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: synapse-cli-agent
3
- Version: 0.1.22
3
+ Version: 0.1.24
4
4
  Summary: Local coding agent built on LangChain Deep Agents (LocalShell, no sandbox)
5
5
  Project-URL: Homepage, https://github.com/alex8224/synapse-agent
6
6
  Project-URL: Repository, https://github.com/alex8224/synapse-agent
7
7
  Project-URL: Issues, https://github.com/alex8224/synapse-agent/issues
8
8
  Project-URL: Changelog, https://github.com/alex8224/synapse-agent/blob/main/CHANGELOG.md
9
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
10
201
  Requires-Python: >=3.12
11
202
  Requires-Dist: aiosqlite==0.22.1
12
203
  Requires-Dist: deepagents==0.6.12
@@ -24,6 +215,7 @@ Requires-Dist: synapse-core-tool<0.2.0,>=0.1.0
24
215
  Requires-Dist: termaid==0.7.1
25
216
  Requires-Dist: texicode==1.0.3
26
217
  Requires-Dist: textual-diff-view==0.1.5
218
+ Requires-Dist: textual-serve==1.1.3
27
219
  Requires-Dist: textual==8.2.8
28
220
  Requires-Dist: typer==0.27.0
29
221
  Requires-Dist: websockets==15.0.1
@@ -39,6 +231,8 @@ Description-Content-Type: text/markdown
39
231
 
40
232
  基于 **LangChain Deep Agents** 的本地 Synapse。
41
233
 
234
+ 本项目以 [Apache License 2.0](LICENSE) 发布。第三方依赖和 Rust 子组件可能使用各自的许可证;分发时请同时保留相应的许可证与 NOTICE 文件。
235
+
42
236
  - Harness: `deepagents.create_deep_agent`
43
237
  - Backend: `LocalShellBackend`(**无 sandbox**)
44
238
  - 默认审批: **关闭 / 自动通过**
@@ -53,13 +247,15 @@ Description-Content-Type: text/markdown
53
247
  | 规划 | `write_todos` |
54
248
  | 子代理 | 默认 `researcher` / `tester` / `reviewer`(`task` 委派) |
55
249
  | 自定义工具 | 会话查阅工具;git/测试/搜索等通过 `execute` 调用项目命令 |
250
+ | 长程目标 | `/goal <objective>` 设置跨回合持久目标,Agent 自动续跑直至完成/受阻/预算耗尽;`get_goal`/`create_goal`/`update_goal` 工具 + token/时间用量记账 |
56
251
  | 记忆 | `AGENTS.md` |
57
252
  | Skills | `skills/**`(Agent Skills frontmatter) |
58
253
  | 会话 | sqlite checkpointer + 会话元数据管理 |
254
+ | 全局项目目录 | 用户层 `~/.synapse/catalog.sqlite` 投影所有项目的会话元数据与运行记录,支持跨项目查看/搜索(`synapse projects ...`) |
59
255
  | 多模型 | `ModelRegistry`(单模型兼容 / JSON 多 profile) |
60
256
  | MCP | 配置 MCP Server 后注入为 tools |
61
257
  | 权限/只读 | `FilesystemPermission` + `HarnessProfile.excluded_tools` |
62
- | CLI | `run` / `chat` / `tui` / `sessions` / `models` / `mcp` / `version` |
258
+ | CLI | `run` / `chat` / `tui` / `sessions` / `projects` / `models` / `mcp` / `version` |
63
259
  | 可选 HITL | `--require-approval`(默认关) |
64
260
 
65
261
  ## 安装
@@ -228,6 +424,13 @@ OpenAI 兼容网关,也不需要设置 `OPENAI_API_KEY`。浏览器授权回
228
424
  Agent 的 OpenAI `system` 消息转换为 Codex backend 接受的 `developer` 消息,并移除 DeepSeek
229
425
  兼容的 `extra_body.thinking` 字段,只发送 Codex 支持的 reasoning 参数,并强制设置 `store: false`。
230
426
 
427
+ #### Codex Fast 档(service_tier=priority)
428
+
429
+ 设置 `OPENAI_FAST_MODE=true` 或运行 `/fast on` 可对 Codex OAuth profile 启用 Fast 档:
430
+ 每条 Responses 请求注入 `service_tier=priority`(优先处理,费用更高)。运行时可用
431
+ `/fast`、`/fast on`、`/fast off`、`/fast status` 切换,无需重建模型;开启后底栏模型
432
+ 思考级别旁显示黄色 `FAST` 徽标。仅对 `auth=openai_oauth` 模型生效,第三方网关不受影响。
433
+
231
434
  ### 方式二:models.json(多模型 profiles,推荐)
232
435
 
233
436
  在 `~/.synapse/` 或 `<workspace>/.synapse/` 下创建 `models.json`。支持多 profile、自定义模型参数(temperature、max_tokens、thinking 等)。
@@ -436,6 +639,8 @@ uv run synapse run "修复 calculator.sub 的 bug,使 tests 全部通过" -w t
436
639
  | `AGENT_TUI_DEFER_AGENT` | `true` | TUI 先起 UI,后台 build agent |
437
640
  | `AGENT_MCP_CONFIG` | - | MCP servers JSON |
438
641
  | `CHECKPOINT_BACKEND` | `sqlite` | `sqlite` 或 `memory` |
642
+ | `AGENT_SESSION_PREWARM_ENABLED` | `false` | 恢复大上下文会话后在后台预热 provider 缓存(首次请求仍按输入 token 计费;详见 `docs/config.md`) |
643
+ | `AGENT_ENABLE_TOOL_RESPONSE_TRUNCATE` | `false` | 启用工具响应折叠(keep 窗口外的大工具输出压成摘要+引用,大上下文会话可省 20-30%;详见 `docs/config.md`) |
439
644
  | `INHERIT_ENV` | `true` | shell 继承主机环境 |
440
645
  | `VIRTUAL_MODE` | `true` | 文件路径虚拟根 |
441
646
  | `AGENT_SHOW_REASONING_PLACEHOLDERS` | `true` | 是否显示网关未暴露推理文本时的占位思考节点;Codex 加密推理可设为 `false` 隐藏 |
@@ -2,6 +2,8 @@
2
2
 
3
3
  基于 **LangChain Deep Agents** 的本地 Synapse。
4
4
 
5
+ 本项目以 [Apache License 2.0](LICENSE) 发布。第三方依赖和 Rust 子组件可能使用各自的许可证;分发时请同时保留相应的许可证与 NOTICE 文件。
6
+
5
7
  - Harness: `deepagents.create_deep_agent`
6
8
  - Backend: `LocalShellBackend`(**无 sandbox**)
7
9
  - 默认审批: **关闭 / 自动通过**
@@ -16,13 +18,15 @@
16
18
  | 规划 | `write_todos` |
17
19
  | 子代理 | 默认 `researcher` / `tester` / `reviewer`(`task` 委派) |
18
20
  | 自定义工具 | 会话查阅工具;git/测试/搜索等通过 `execute` 调用项目命令 |
21
+ | 长程目标 | `/goal <objective>` 设置跨回合持久目标,Agent 自动续跑直至完成/受阻/预算耗尽;`get_goal`/`create_goal`/`update_goal` 工具 + token/时间用量记账 |
19
22
  | 记忆 | `AGENTS.md` |
20
23
  | Skills | `skills/**`(Agent Skills frontmatter) |
21
24
  | 会话 | sqlite checkpointer + 会话元数据管理 |
25
+ | 全局项目目录 | 用户层 `~/.synapse/catalog.sqlite` 投影所有项目的会话元数据与运行记录,支持跨项目查看/搜索(`synapse projects ...`) |
22
26
  | 多模型 | `ModelRegistry`(单模型兼容 / JSON 多 profile) |
23
27
  | MCP | 配置 MCP Server 后注入为 tools |
24
28
  | 权限/只读 | `FilesystemPermission` + `HarnessProfile.excluded_tools` |
25
- | CLI | `run` / `chat` / `tui` / `sessions` / `models` / `mcp` / `version` |
29
+ | CLI | `run` / `chat` / `tui` / `sessions` / `projects` / `models` / `mcp` / `version` |
26
30
  | 可选 HITL | `--require-approval`(默认关) |
27
31
 
28
32
  ## 安装
@@ -191,6 +195,13 @@ OpenAI 兼容网关,也不需要设置 `OPENAI_API_KEY`。浏览器授权回
191
195
  Agent 的 OpenAI `system` 消息转换为 Codex backend 接受的 `developer` 消息,并移除 DeepSeek
192
196
  兼容的 `extra_body.thinking` 字段,只发送 Codex 支持的 reasoning 参数,并强制设置 `store: false`。
193
197
 
198
+ #### Codex Fast 档(service_tier=priority)
199
+
200
+ 设置 `OPENAI_FAST_MODE=true` 或运行 `/fast on` 可对 Codex OAuth profile 启用 Fast 档:
201
+ 每条 Responses 请求注入 `service_tier=priority`(优先处理,费用更高)。运行时可用
202
+ `/fast`、`/fast on`、`/fast off`、`/fast status` 切换,无需重建模型;开启后底栏模型
203
+ 思考级别旁显示黄色 `FAST` 徽标。仅对 `auth=openai_oauth` 模型生效,第三方网关不受影响。
204
+
194
205
  ### 方式二:models.json(多模型 profiles,推荐)
195
206
 
196
207
  在 `~/.synapse/` 或 `<workspace>/.synapse/` 下创建 `models.json`。支持多 profile、自定义模型参数(temperature、max_tokens、thinking 等)。
@@ -399,6 +410,8 @@ uv run synapse run "修复 calculator.sub 的 bug,使 tests 全部通过" -w t
399
410
  | `AGENT_TUI_DEFER_AGENT` | `true` | TUI 先起 UI,后台 build agent |
400
411
  | `AGENT_MCP_CONFIG` | - | MCP servers JSON |
401
412
  | `CHECKPOINT_BACKEND` | `sqlite` | `sqlite` 或 `memory` |
413
+ | `AGENT_SESSION_PREWARM_ENABLED` | `false` | 恢复大上下文会话后在后台预热 provider 缓存(首次请求仍按输入 token 计费;详见 `docs/config.md`) |
414
+ | `AGENT_ENABLE_TOOL_RESPONSE_TRUNCATE` | `false` | 启用工具响应折叠(keep 窗口外的大工具输出压成摘要+引用,大上下文会话可省 20-30%;详见 `docs/config.md`) |
402
415
  | `INHERIT_ENV` | `true` | shell 继承主机环境 |
403
416
  | `VIRTUAL_MODE` | `true` | 文件路径虚拟根 |
404
417
  | `AGENT_SHOW_REASONING_PLACEHOLDERS` | `true` | 是否显示网关未暴露推理文本时的占位思考节点;Codex 加密推理可设为 `false` 隐藏 |
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-labelledby="title">
2
+ <title>Synapse</title>
3
+ <rect width="64" height="64" rx="12" fill="#22d3ee"/>
4
+ <path d="M45 19c-3.2-2.6-7.2-4-11.7-4-7.7 0-13.3 3.7-13.3 9.4 0 5.5 4.2 7.5 13.5 9.2 5.1.9 7.1 2 7.1 4.5 0 2.4-2.5 4-6.8 4-4.7 0-8.6-1.6-11.8-4.8l-4.2 5.3c3.9 3.9 9.1 5.9 15.8 5.9 8.6 0 14.4-4 14.4-10.7 0-6.1-4.5-8.1-13.7-9.8-5-.9-6.9-1.8-6.9-4 0-2 2.2-3.5 6-3.5 3.7 0 7 1.2 9.9 3.6z" fill="#04141a"/>
5
+ </svg>