geny-executor 2.0.2__tar.gz → 2.0.3__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 (622) hide show
  1. {geny_executor-2.0.2 → geny_executor-2.0.3}/PKG-INFO +1 -1
  2. {geny_executor-2.0.2 → geny_executor-2.0.3}/pyproject.toml +1 -1
  3. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/__init__.py +1 -1
  4. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/claude_code.py +35 -116
  5. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/translators/__init__.py +2 -0
  6. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/translators/_cli.py +266 -101
  7. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/_fixtures/fake_claude.py +64 -0
  8. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/test_claude_code.py +55 -0
  9. {geny_executor-2.0.2 → geny_executor-2.0.3}/.gitignore +0 -0
  10. {geny_executor-2.0.2 → geny_executor-2.0.3}/LICENSE +0 -0
  11. {geny_executor-2.0.2 → geny_executor-2.0.3}/README.md +0 -0
  12. {geny_executor-2.0.2 → geny_executor-2.0.3}/README_ko.md +0 -0
  13. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/channels/__init__.py +0 -0
  14. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/channels/send_message_channel.py +0 -0
  15. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/channels/user_file_channel.py +0 -0
  16. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/__init__.py +0 -0
  17. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/artifact.py +0 -0
  18. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/builder.py +0 -0
  19. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/config.py +0 -0
  20. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/diff.py +0 -0
  21. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/environment.py +0 -0
  22. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/errors.py +0 -0
  23. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/introspection.py +0 -0
  24. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/mutation.py +0 -0
  25. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/pipeline.py +0 -0
  26. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/presets.py +0 -0
  27. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/result.py +0 -0
  28. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/schema.py +0 -0
  29. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/shared_keys.py +0 -0
  30. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/slot.py +0 -0
  31. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/snapshot.py +0 -0
  32. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/stage.py +0 -0
  33. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/core/state.py +0 -0
  34. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/__init__.py +0 -0
  35. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/runner.py +0 -0
  36. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/store_abc.py +0 -0
  37. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/store_impl/__init__.py +0 -0
  38. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/store_impl/file_backed.py +0 -0
  39. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/store_impl/in_memory.py +0 -0
  40. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/cron/types.py +0 -0
  41. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/events/__init__.py +0 -0
  42. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/events/bus.py +0 -0
  43. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/events/types.py +0 -0
  44. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/__init__.py +0 -0
  45. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/ab_test.py +0 -0
  46. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/cost.py +0 -0
  47. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/models.py +0 -0
  48. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/monitor.py +0 -0
  49. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/replay.py +0 -0
  50. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/history/service.py +0 -0
  51. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/hooks/__init__.py +0 -0
  52. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/hooks/config.py +0 -0
  53. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/hooks/events.py +0 -0
  54. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/hooks/runner.py +0 -0
  55. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/__init__.py +0 -0
  56. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/_cli_runtime.py +0 -0
  57. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/anthropic.py +0 -0
  58. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/base.py +0 -0
  59. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/copilot.py +0 -0
  60. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/credentials.py +0 -0
  61. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/google.py +0 -0
  62. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/openai.py +0 -0
  63. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/registry.py +0 -0
  64. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/translators/_canonical.py +0 -0
  65. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/types.py +0 -0
  66. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/llm_client/vllm.py +0 -0
  67. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/__init__.py +0 -0
  68. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/_locks.py +0 -0
  69. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/_progressive.py +0 -0
  70. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/composite/__init__.py +0 -0
  71. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/composite/handles.py +0 -0
  72. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/composite/provider.py +0 -0
  73. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/composite/routing.py +0 -0
  74. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/composite/snapshot.py +0 -0
  75. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/__init__.py +0 -0
  76. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/client.py +0 -0
  77. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/google.py +0 -0
  78. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/local.py +0 -0
  79. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/openai.py +0 -0
  80. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/registry.py +0 -0
  81. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/embedding/voyage.py +0 -0
  82. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/factory.py +0 -0
  83. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/presets.py +0 -0
  84. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/provider.py +0 -0
  85. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/__init__.py +0 -0
  86. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/ephemeral.py +0 -0
  87. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/__init__.py +0 -0
  88. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/config.py +0 -0
  89. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/frontmatter.py +0 -0
  90. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/index_store.py +0 -0
  91. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/layout.py +0 -0
  92. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/ltm_store.py +0 -0
  93. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/notes_store.py +0 -0
  94. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/provider.py +0 -0
  95. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/snapshot.py +0 -0
  96. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/stm_store.py +0 -0
  97. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/timezone.py +0 -0
  98. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/file/vector_store.py +0 -0
  99. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/__init__.py +0 -0
  100. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/config.py +0 -0
  101. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/connection.py +0 -0
  102. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/index_store.py +0 -0
  103. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/ltm_store.py +0 -0
  104. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/notes_store.py +0 -0
  105. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/provider.py +0 -0
  106. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/schema.py +0 -0
  107. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/snapshot.py +0 -0
  108. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/stm_store.py +0 -0
  109. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/providers/sql/vector_store.py +0 -0
  110. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/retriever.py +0 -0
  111. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/memory/strategy.py +0 -0
  112. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/notifications/__init__.py +0 -0
  113. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/notifications/registry.py +0 -0
  114. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/permission/__init__.py +0 -0
  115. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/permission/loader.py +0 -0
  116. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/permission/matrix.py +0 -0
  117. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/permission/types.py +0 -0
  118. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/py.typed +0 -0
  119. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/runtime/__init__.py +0 -0
  120. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/runtime/task_executors.py +0 -0
  121. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/runtime/task_runner.py +0 -0
  122. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/security/__init__.py +0 -0
  123. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/security/import_validator.py +0 -0
  124. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/security/script_sandbox.py +0 -0
  125. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/session/__init__.py +0 -0
  126. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/session/freshness.py +0 -0
  127. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/session/manager.py +0 -0
  128. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/session/persistence.py +0 -0
  129. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/session/session.py +0 -0
  130. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/settings/__init__.py +0 -0
  131. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/settings/loader.py +0 -0
  132. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/settings/section_registry.py +0 -0
  133. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/__init__.py +0 -0
  134. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/batch/SKILL.md +0 -0
  135. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/debug/SKILL.md +0 -0
  136. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/loop/SKILL.md +0 -0
  137. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/lorem-ipsum/SKILL.md +0 -0
  138. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/simplify/SKILL.md +0 -0
  139. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/skillify/SKILL.md +0 -0
  140. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/stuck/SKILL.md +0 -0
  141. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled/verify/SKILL.md +0 -0
  142. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/bundled_skills.py +0 -0
  143. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/fork.py +0 -0
  144. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/frontmatter.py +0 -0
  145. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/loader.py +0 -0
  146. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/mcp_bridge.py +0 -0
  147. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/path_match.py +0 -0
  148. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/registry.py +0 -0
  149. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/shell_blocks.py +0 -0
  150. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/skill_tool.py +0 -0
  151. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/types.py +0 -0
  152. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/skills/watcher.py +0 -0
  153. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/__init__.py +0 -0
  154. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/__init__.py +0 -0
  155. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/_helpers.py +0 -0
  156. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/cancel.py +0 -0
  157. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/clear.py +0 -0
  158. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/compact.py +0 -0
  159. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/config.py +0 -0
  160. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/context.py +0 -0
  161. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/cost.py +0 -0
  162. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/help.py +0 -0
  163. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/memory.py +0 -0
  164. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/model.py +0 -0
  165. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/preset_info.py +0 -0
  166. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/status.py +0 -0
  167. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/built_in/tasks.py +0 -0
  168. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/md_template.py +0 -0
  169. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/parser.py +0 -0
  170. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/registry.py +0 -0
  171. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/slash_commands/types.py +0 -0
  172. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/__init__.py +0 -0
  173. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/__init__.py +0 -0
  174. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/artifact/__init__.py +0 -0
  175. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/artifact/default/__init__.py +0 -0
  176. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/artifact/default/normalizers.py +0 -0
  177. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/artifact/default/stage.py +0 -0
  178. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/artifact/default/validators.py +0 -0
  179. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/interface.py +0 -0
  180. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/normalizers.py +0 -0
  181. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/stage.py +0 -0
  182. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/types.py +0 -0
  183. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s01_input/validators.py +0 -0
  184. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/__init__.py +0 -0
  185. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/__init__.py +0 -0
  186. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/default/__init__.py +0 -0
  187. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/default/compactors.py +0 -0
  188. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/default/retrievers.py +0 -0
  189. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/default/stage.py +0 -0
  190. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/artifact/default/strategies.py +0 -0
  191. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/compactors.py +0 -0
  192. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/interface.py +0 -0
  193. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/retrievers.py +0 -0
  194. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/stage.py +0 -0
  195. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/strategies.py +0 -0
  196. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s02_context/types.py +0 -0
  197. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/__init__.py +0 -0
  198. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/artifact/__init__.py +0 -0
  199. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/artifact/default/__init__.py +0 -0
  200. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/artifact/default/builders.py +0 -0
  201. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/artifact/default/stage.py +0 -0
  202. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/builders.py +0 -0
  203. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/interface.py +0 -0
  204. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/persona/__init__.py +0 -0
  205. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/persona/builder.py +0 -0
  206. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/persona/provider.py +0 -0
  207. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s03_system/stage.py +0 -0
  208. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/__init__.py +0 -0
  209. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/artifact/__init__.py +0 -0
  210. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/artifact/default/__init__.py +0 -0
  211. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/artifact/default/guards.py +0 -0
  212. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/artifact/default/stage.py +0 -0
  213. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/guards.py +0 -0
  214. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/interface.py +0 -0
  215. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/stage.py +0 -0
  216. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s04_guard/types.py +0 -0
  217. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/__init__.py +0 -0
  218. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/artifact/__init__.py +0 -0
  219. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/artifact/default/__init__.py +0 -0
  220. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/artifact/default/stage.py +0 -0
  221. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/artifact/default/strategies.py +0 -0
  222. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/interface.py +0 -0
  223. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/stage.py +0 -0
  224. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s05_cache/strategies.py +0 -0
  225. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/__init__.py +0 -0
  226. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/_translate.py +0 -0
  227. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/__init__.py +0 -0
  228. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/default/__init__.py +0 -0
  229. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/default/providers.py +0 -0
  230. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/default/retry.py +0 -0
  231. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/default/router.py +0 -0
  232. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/default/stage.py +0 -0
  233. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/google/__init__.py +0 -0
  234. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/google/providers.py +0 -0
  235. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/openai/__init__.py +0 -0
  236. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/artifact/openai/providers.py +0 -0
  237. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/interface.py +0 -0
  238. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/providers.py +0 -0
  239. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/retry.py +0 -0
  240. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/stage.py +0 -0
  241. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s06_api/types.py +0 -0
  242. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/__init__.py +0 -0
  243. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/artifact/__init__.py +0 -0
  244. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/artifact/default/__init__.py +0 -0
  245. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/artifact/default/pricing.py +0 -0
  246. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/artifact/default/stage.py +0 -0
  247. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/artifact/default/trackers.py +0 -0
  248. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/interface.py +0 -0
  249. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/pricing.py +0 -0
  250. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/stage.py +0 -0
  251. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s07_token/trackers.py +0 -0
  252. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/__init__.py +0 -0
  253. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/artifact/default/__init__.py +0 -0
  254. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/artifact/default/budget.py +0 -0
  255. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/artifact/default/processors.py +0 -0
  256. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/artifact/default/stage.py +0 -0
  257. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/interface.py +0 -0
  258. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/processors.py +0 -0
  259. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/stage.py +0 -0
  260. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s08_think/types.py +0 -0
  261. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/__init__.py +0 -0
  262. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/artifact/default/__init__.py +0 -0
  263. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/artifact/default/parsers.py +0 -0
  264. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/artifact/default/signals.py +0 -0
  265. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/artifact/default/stage.py +0 -0
  266. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/interface.py +0 -0
  267. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/parsers.py +0 -0
  268. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/signals.py +0 -0
  269. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/stage.py +0 -0
  270. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s09_parse/types.py +0 -0
  271. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/__init__.py +0 -0
  272. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/artifact/__init__.py +0 -0
  273. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/artifact/default/__init__.py +0 -0
  274. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/artifact/default/executors.py +0 -0
  275. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/artifact/default/routers.py +0 -0
  276. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/artifact/default/stage.py +0 -0
  277. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/executors.py +0 -0
  278. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/interface.py +0 -0
  279. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/persistence.py +0 -0
  280. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/routers.py +0 -0
  281. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/stage.py +0 -0
  282. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/state_mutation.py +0 -0
  283. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s10_tool/streaming.py +0 -0
  284. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/__init__.py +0 -0
  285. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/artifact/__init__.py +0 -0
  286. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/artifact/default/__init__.py +0 -0
  287. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/artifact/default/reviewers.py +0 -0
  288. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/artifact/default/stage.py +0 -0
  289. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s11_tool_review/interface.py +0 -0
  290. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/__init__.py +0 -0
  291. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/artifact/__init__.py +0 -0
  292. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/artifact/default/__init__.py +0 -0
  293. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/artifact/default/orchestrators.py +0 -0
  294. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/artifact/default/stage.py +0 -0
  295. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/interface.py +0 -0
  296. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/orchestrators.py +0 -0
  297. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/stage.py +0 -0
  298. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/subagent_type.py +0 -0
  299. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s12_agent/types.py +0 -0
  300. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/__init__.py +0 -0
  301. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/__init__.py +0 -0
  302. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/default/__init__.py +0 -0
  303. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/default/file_backed_registry.py +0 -0
  304. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/default/policies.py +0 -0
  305. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/default/registry.py +0 -0
  306. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/artifact/default/stage.py +0 -0
  307. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/interface.py +0 -0
  308. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s13_task_registry/types.py +0 -0
  309. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/__init__.py +0 -0
  310. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/__init__.py +0 -0
  311. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/adaptive/__init__.py +0 -0
  312. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/adaptive/strategy.py +0 -0
  313. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/default/__init__.py +0 -0
  314. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/default/stage.py +0 -0
  315. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/artifact/default/strategies.py +0 -0
  316. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/interface.py +0 -0
  317. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/stage.py +0 -0
  318. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/strategies.py +0 -0
  319. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s14_evaluate/types.py +0 -0
  320. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/__init__.py +0 -0
  321. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/artifact/__init__.py +0 -0
  322. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/artifact/default/__init__.py +0 -0
  323. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/artifact/default/requesters.py +0 -0
  324. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/artifact/default/stage.py +0 -0
  325. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/artifact/default/timeouts.py +0 -0
  326. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/interface.py +0 -0
  327. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s15_hitl/types.py +0 -0
  328. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/__init__.py +0 -0
  329. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/artifact/__init__.py +0 -0
  330. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/artifact/default/__init__.py +0 -0
  331. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/artifact/default/controllers.py +0 -0
  332. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/artifact/default/stage.py +0 -0
  333. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/controllers.py +0 -0
  334. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/interface.py +0 -0
  335. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s16_loop/stage.py +0 -0
  336. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/__init__.py +0 -0
  337. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/artifact/__init__.py +0 -0
  338. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/artifact/default/__init__.py +0 -0
  339. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/artifact/default/emitters.py +0 -0
  340. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/artifact/default/stage.py +0 -0
  341. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/emitters.py +0 -0
  342. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/interface.py +0 -0
  343. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/stage.py +0 -0
  344. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s17_emit/types.py +0 -0
  345. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/__init__.py +0 -0
  346. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/_dehydrate.py +0 -0
  347. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/artifact/__init__.py +0 -0
  348. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/artifact/default/__init__.py +0 -0
  349. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/artifact/default/persistence.py +0 -0
  350. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/artifact/default/stage.py +0 -0
  351. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/artifact/default/strategies.py +0 -0
  352. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/insight.py +0 -0
  353. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/interface.py +0 -0
  354. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/persistence.py +0 -0
  355. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/stage.py +0 -0
  356. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s18_memory/strategies.py +0 -0
  357. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/__init__.py +0 -0
  358. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/artifact/__init__.py +0 -0
  359. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/artifact/default/__init__.py +0 -0
  360. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/artifact/default/importance.py +0 -0
  361. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/artifact/default/stage.py +0 -0
  362. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/artifact/default/summarizers.py +0 -0
  363. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/frequency_policy.py +0 -0
  364. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/interface.py +0 -0
  365. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s19_summarize/types.py +0 -0
  366. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/__init__.py +0 -0
  367. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/artifact/__init__.py +0 -0
  368. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/artifact/default/__init__.py +0 -0
  369. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/artifact/default/frequencies.py +0 -0
  370. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/artifact/default/persisters.py +0 -0
  371. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/artifact/default/stage.py +0 -0
  372. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/interface.py +0 -0
  373. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/restore.py +0 -0
  374. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s20_persist/types.py +0 -0
  375. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/__init__.py +0 -0
  376. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/artifact/__init__.py +0 -0
  377. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/artifact/default/__init__.py +0 -0
  378. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/artifact/default/formatters.py +0 -0
  379. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/artifact/default/multi_format.py +0 -0
  380. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/artifact/default/stage.py +0 -0
  381. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/formatters.py +0 -0
  382. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/interface.py +0 -0
  383. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/stages/s21_yield/stage.py +0 -0
  384. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/__init__.py +0 -0
  385. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/adhoc.py +0 -0
  386. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/base.py +0 -0
  387. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/__init__.py +0 -0
  388. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/_path_guard.py +0 -0
  389. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/agent_tool.py +0 -0
  390. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/ask_user_question_tool.py +0 -0
  391. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/bash_tool.py +0 -0
  392. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/cron_tools.py +0 -0
  393. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/dev_tools.py +0 -0
  394. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/edit_tool.py +0 -0
  395. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/glob_tool.py +0 -0
  396. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/grep_tool.py +0 -0
  397. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/mcp_wrapper_tools.py +0 -0
  398. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/notebook_edit_tool.py +0 -0
  399. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/operator_tools.py +0 -0
  400. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/plan_mode_tools.py +0 -0
  401. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/push_notification_tool.py +0 -0
  402. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/read_tool.py +0 -0
  403. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/send_message_tool.py +0 -0
  404. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/task_tools.py +0 -0
  405. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/todo_write_tool.py +0 -0
  406. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/tool_search_tool.py +0 -0
  407. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/web_fetch_tool.py +0 -0
  408. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/web_search_tool.py +0 -0
  409. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/worktree_tools.py +0 -0
  410. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/built_in/write_tool.py +0 -0
  411. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/composer.py +0 -0
  412. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/errors.py +0 -0
  413. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/__init__.py +0 -0
  414. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/adapter.py +0 -0
  415. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/credentials.py +0 -0
  416. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/errors.py +0 -0
  417. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/manager.py +0 -0
  418. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/oauth.py +0 -0
  419. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/state.py +0 -0
  420. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/mcp/uri.py +0 -0
  421. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/provider.py +0 -0
  422. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/providers.py +0 -0
  423. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/registry.py +0 -0
  424. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/sandbox.py +0 -0
  425. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/scope.py +0 -0
  426. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/tools/stage_binding.py +0 -0
  427. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/workspace/__init__.py +0 -0
  428. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/workspace/stack.py +0 -0
  429. {geny_executor-2.0.2 → geny_executor-2.0.3}/src/geny_executor/workspace/types.py +0 -0
  430. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/__init__.py +0 -0
  431. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/_fixtures/__init__.py +0 -0
  432. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/_fixtures/fake_echo_cli.py +0 -0
  433. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/_fixtures/fake_gh.py +0 -0
  434. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/__init__.py +0 -0
  435. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/conftest.py +0 -0
  436. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/fixtures/__init__.py +0 -0
  437. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/fixtures/adapter/__init__.py +0 -0
  438. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/fixtures/adapter/adapter.py +0 -0
  439. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c1_six_layer_retrieval.py +0 -0
  440. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c2_execution_recording.py +0 -0
  441. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c3_reflection_and_promotion.py +0 -0
  442. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c4_rest_coverage.py +0 -0
  443. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c5_embedding_migration.py +0 -0
  444. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c6_session_resume.py +0 -0
  445. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_c7_adapter_parity.py +0 -0
  446. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/completeness/test_spec_loads.py +0 -0
  447. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/__init__.py +0 -0
  448. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/memory_provider_contract.py +0 -0
  449. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_embedding_clients.py +0 -0
  450. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_auto_vector.py +0 -0
  451. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_composite.py +0 -0
  452. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_composite_routing.py +0 -0
  453. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_curated_global.py +0 -0
  454. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_ephemeral.py +0 -0
  455. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_factory.py +0 -0
  456. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_file.py +0 -0
  457. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_file_layout.py +0 -0
  458. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_file_vector.py +0 -0
  459. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_sql.py +0 -0
  460. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_sql_dialect.py +0 -0
  461. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_sql_schema.py +0 -0
  462. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_memory_provider_sql_vector.py +0 -0
  463. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/contract/test_stage_uniformity.py +0 -0
  464. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/integration/test_cycle_ab_cross_import.py +0 -0
  465. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/integration/test_integration.py +0 -0
  466. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/__init__.py +0 -0
  467. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/__init__.py +0 -0
  468. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/harness.py +0 -0
  469. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_anthropic.py +0 -0
  470. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_claude_code_cli.py +0 -0
  471. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_copilot_cli.py +0 -0
  472. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_google.py +0 -0
  473. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_openai.py +0 -0
  474. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/conformance/test_vllm.py +0 -0
  475. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/__init__.py +0 -0
  476. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/test_cli_runtime.py +0 -0
  477. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/test_copilot.py +0 -0
  478. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/test_credentials.py +0 -0
  479. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/llm_client/unit/test_translators_cli_claude_code.py +0 -0
  480. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/__init__.py +0 -0
  481. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_adaptive_model_router.py +0 -0
  482. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_adaptive_thinking_budget.py +0 -0
  483. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_adhoc_providers.py +0 -0
  484. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_agent_tool.py +0 -0
  485. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_artifact_metadata.py +0 -0
  486. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_ask_user_question_tool.py +0 -0
  487. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_binary_classify_manifest.py +0 -0
  488. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_built_in_autoregister.py +0 -0
  489. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_builtin_capabilities.py +0 -0
  490. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_builtin_features.py +0 -0
  491. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_composite_set_hooks.py +0 -0
  492. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_cron_runner.py +0 -0
  493. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_cron_store.py +0 -0
  494. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_cron_tools.py +0 -0
  495. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_dev_tools.py +0 -0
  496. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_dynamic_persona_builder.py +0 -0
  497. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_errors_categories.py +0 -0
  498. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_evaluation_chain.py +0 -0
  499. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_fork_multi_provider.py +0 -0
  500. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_hierarchical_sidecars.py +0 -0
  501. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_hook_in_process.py +0 -0
  502. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_hook_runner.py +0 -0
  503. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_hooks_and_shared_keys.py +0 -0
  504. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_index_list_categories.py +0 -0
  505. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_index_render_vault_map.py +0 -0
  506. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_interaction_fields.py +0 -0
  507. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_introspection.py +0 -0
  508. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_client_base.py +0 -0
  509. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_client_capabilities.py +0 -0
  510. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_client_registry.py +0 -0
  511. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_client_request_types.py +0 -0
  512. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_client_state.py +0 -0
  513. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_llm_summary_compactor.py +0 -0
  514. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_loop_agnostic_lock.py +0 -0
  515. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_manifest_provider_validation.py +0 -0
  516. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_manifest_v2.py +0 -0
  517. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_manifest_v3_migration.py +0 -0
  518. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_annotations_attach.py +0 -0
  519. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_credential_store.py +0 -0
  520. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_fsm.py +0 -0
  521. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_lifecycle.py +0 -0
  522. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_namespace.py +0 -0
  523. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_oauth.py +0 -0
  524. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_prompts_skills_bridge.py +0 -0
  525. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_resource_retriever.py +0 -0
  526. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_uri.py +0 -0
  527. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_mcp_wrapper_tools.py +0 -0
  528. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_memory_aware_retriever.py +0 -0
  529. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_memory_hooks_after_callbacks.py +0 -0
  530. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_memory_metadata_extension.py +0 -0
  531. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_multi_dim_budget_controller.py +0 -0
  532. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_multi_format_yield.py +0 -0
  533. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_multi_provider.py +0 -0
  534. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_multimodal.py +0 -0
  535. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_note_graph_queries.py +0 -0
  536. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_notebook_edit_tool.py +0 -0
  537. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_notes_load_pinned.py +0 -0
  538. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_operator_tools.py +0 -0
  539. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_ordered_emitter_chain.py +0 -0
  540. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_permission_matrix.py +0 -0
  541. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_permission_mode_promotions.py +0 -0
  542. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase1_foundation.py +0 -0
  543. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase1_pipeline.py +0 -0
  544. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase2_agent_loop.py +0 -0
  545. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase2_tools.py +0 -0
  546. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase3_context_memory.py +0 -0
  547. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase4_think_agent_evaluate.py +0 -0
  548. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase5_emit_presets_mcp.py +0 -0
  549. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase5_environment.py +0 -0
  550. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase6_history.py +0 -0
  551. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase6_integration.py +0 -0
  552. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase7_security.py +0 -0
  553. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase9a_preset_regen.py +0 -0
  554. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_phase9a_scaffolding.py +0 -0
  555. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_pipeline_attach_runtime.py +0 -0
  556. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_pipeline_from_manifest.py +0 -0
  557. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_pipeline_session_runtime.py +0 -0
  558. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_plan_mode_tools.py +0 -0
  559. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_progressive_disclosure.py +0 -0
  560. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_provider_driven_strategy.py +0 -0
  561. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_push_notification_tool.py +0 -0
  562. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_refresh_backlinks_extension.py +0 -0
  563. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_resolve_model_config.py +0 -0
  564. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_runtime_task_runner.py +0 -0
  565. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s06_provider_selection.py +0 -0
  566. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s13_file_backed_registry.py +0 -0
  567. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s13_task_registry_output.py +0 -0
  568. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s19_frequency_policy.py +0 -0
  569. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9b1_tool_review.py +0 -0
  570. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9b2_task_registry.py +0 -0
  571. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9b3_hitl.py +0 -0
  572. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9b4_summarize.py +0 -0
  573. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9b5_persist.py +0 -0
  574. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9c1_pipeline_resume.py +0 -0
  575. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_s9c2_restore_state.py +0 -0
  576. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_send_message_tool.py +0 -0
  577. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_settings_loader.py +0 -0
  578. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_1.py +0 -0
  579. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_2.py +0 -0
  580. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_3.py +0 -0
  581. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_4_bundled.py +0 -0
  582. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_5_fork.py +0 -0
  583. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_6_killer.py +0 -0
  584. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_phase_10_7_watcher.py +0 -0
  585. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_richer_schema.py +0 -0
  586. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skill_tool.py +0 -0
  587. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_skills_foundation.py +0 -0
  588. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_slash_built_in_control.py +0 -0
  589. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_slash_built_in_introspection.py +0 -0
  590. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_slash_commands.py +0 -0
  591. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_slash_md_template.py +0 -0
  592. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_stage10_hook_wiring.py +0 -0
  593. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_stage10_partition_executor.py +0 -0
  594. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_stage10_permission_matrix.py +0 -0
  595. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_stage19_session_summary.py +0 -0
  596. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_state_mutation_wiring.py +0 -0
  597. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_state_shared_and_local.py +0 -0
  598. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_stm_append_event.py +0 -0
  599. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_streaming_tool_executor.py +0 -0
  600. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_structured_output_parser.py +0 -0
  601. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_structured_reflection.py +0 -0
  602. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_subagent_credential_propagation.py +0 -0
  603. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_subagent_descriptor.py +0 -0
  604. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_subagent_orchestrator_zero_arg.py +0 -0
  605. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_subagent_parallel.py +0 -0
  606. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_subagent_type_orchestrator.py +0 -0
  607. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_task_tools.py +0 -0
  608. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_todo_write_tool.py +0 -0
  609. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_abc_uplift.py +0 -0
  610. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_call_events.py +0 -0
  611. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_errors.py +0 -0
  612. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_lifecycle_hooks.py +0 -0
  613. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_provider.py +0 -0
  614. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_result_persistence.py +0 -0
  615. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_search_tool.py +0 -0
  616. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_tool_stage_max_concurrency.py +0 -0
  617. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_web_fetch_tool.py +0 -0
  618. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_web_search_tool.py +0 -0
  619. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_workspace.py +0 -0
  620. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_workspace_propagation.py +0 -0
  621. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_workspace_tools_integration.py +0 -0
  622. {geny_executor-2.0.2 → geny_executor-2.0.3}/tests/unit/test_worktree_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: geny-executor
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Harness-engineered agent pipeline library with 21-stage dual-abstraction architecture, built on the Anthropic API
5
5
  Project-URL: Homepage, https://github.com/CocoRoF/geny-executor
6
6
  Project-URL: Repository, https://github.com/CocoRoF/geny-executor
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "geny-executor"
7
- version = "2.0.2"
7
+ version = "2.0.3"
8
8
  description = "Harness-engineered agent pipeline library with 21-stage dual-abstraction architecture, built on the Anthropic API"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -95,7 +95,7 @@ from geny_executor.memory import (
95
95
  ProviderDrivenStrategy,
96
96
  )
97
97
 
98
- __version__ = "2.0.2"
98
+ __version__ = "2.0.3"
99
99
 
100
100
  __all__ = [
101
101
  # Core
@@ -42,17 +42,13 @@ from geny_executor.llm_client._cli_runtime import (
42
42
  )
43
43
  from geny_executor.llm_client.base import BaseClient, ClientCapabilities
44
44
  from geny_executor.llm_client.translators._cli import (
45
+ StreamJsonAccumulator,
45
46
  assemble_response_from_stream_json,
46
47
  build_stream_json_stdin,
47
48
  claude_code_argv,
48
49
  parse_json_output_to_response,
49
50
  )
50
- from geny_executor.llm_client.types import (
51
- APIRequest,
52
- APIResponse,
53
- ContentBlock,
54
- TokenUsage,
55
- )
51
+ from geny_executor.llm_client.types import APIRequest, APIResponse
56
52
 
57
53
 
58
54
  __all__ = ["ClaudeCodeCLIClient"]
@@ -272,127 +268,50 @@ class ClaudeCodeCLIClient(BaseClient):
272
268
  stdin = build_stream_json_stdin(messages)
273
269
 
274
270
  from geny_executor.llm_client._cli_runtime import parse_stream_json_line
275
- from geny_executor.llm_client.translators._cli import (
276
- stream_json_line_to_canonical_event,
277
- )
278
-
279
- # Accumulator state — mirrors ``assemble_response_from_stream_json``
280
- # so the final message_complete envelope carries the same
281
- # APIResponse the non-streaming path produces.
282
- import json as _json
283
271
 
284
- text_buf: List[str] = []
285
- thinking_buf: List[str] = []
286
- tool_uses: List[Dict[str, Any]] = []
287
- current_tool: Optional[Dict[str, Any]] = None
288
- final_obj: Optional[Dict[str, Any]] = None
289
- message_id = ""
290
- stop_reason = "end_turn"
291
- resolved_model = model_config.model
272
+ # Shared accumulator handles both stream-json shapes:
273
+ # - delta form (``--include-partial-messages`` on, true streaming)
274
+ # - full-message form (Claude Code 2.x default — content[]
275
+ # arrives in one ``assistant`` envelope).
276
+ # Without the message-form branch, every assistant frame yielded
277
+ # zero text and the terminal APIResponse came back empty —
278
+ # exactly the symptom the user reported (``output_len=0``).
279
+ accum = StreamJsonAccumulator(model=model_config.model)
292
280
 
293
281
  try:
294
282
  async for raw in runner.stream(argv, stdin_iter=aiter_bytes(stdin)):
295
283
  line_obj = parse_stream_json_line(raw)
296
284
  if line_obj is None:
297
285
  continue
298
-
299
- # ── Accumulate for the terminal APIResponse ──
300
- ltype = str(line_obj.get("type", ""))
301
- if ltype == "system":
302
- message_id = str(
303
- line_obj.get("session_id")
304
- or line_obj.get("message_id")
305
- or message_id
306
- )
307
- resolved_model = str(line_obj.get("model") or resolved_model)
308
- elif ltype == "assistant":
309
- delta = line_obj.get("delta") or {}
310
- dtype = str(delta.get("type", ""))
311
- if dtype == "text_delta":
312
- text_buf.append(str(delta.get("text", "")))
313
- elif dtype == "thinking_delta":
314
- thinking_buf.append(str(delta.get("text", "")))
315
- elif dtype == "input_json_delta":
316
- if current_tool is not None:
317
- current_tool.setdefault("_partial_json", "")
318
- current_tool["_partial_json"] += str(
319
- delta.get("partial_json", "")
320
- )
321
- else:
322
- cb = line_obj.get("content_block")
323
- if isinstance(cb, dict) and cb.get("type") == "tool_use":
324
- current_tool = {
325
- "id": cb.get("id"),
326
- "name": cb.get("name"),
327
- "input": cb.get("input") or {},
328
- }
329
- elif ltype == "content_block_stop":
330
- if current_tool is not None:
331
- partial = current_tool.pop("_partial_json", "")
332
- if partial and not current_tool.get("input"):
333
- try:
334
- current_tool["input"] = _json.loads(partial)
335
- except _json.JSONDecodeError:
336
- current_tool["input"] = {"_raw": partial}
337
- tool_uses.append(current_tool)
338
- current_tool = None
339
- elif ltype == "result":
340
- final_obj = line_obj
341
- stop_reason = str(line_obj.get("stop_reason", stop_reason))
342
-
343
- # ── Yield the per-line canonical event ──
344
- # Suppress the translator's bare ``message_complete``
345
- # (it carries no response field) — we emit the
346
- # populated version after the loop. Everything else
347
- # passes through unchanged.
348
- event = stream_json_line_to_canonical_event(line_obj)
349
- if event is None:
350
- continue
351
- if event.get("type") == "message_complete":
286
+ if "__malformed__" in line_obj:
352
287
  continue
353
- yield event
354
-
355
- # ── Assemble + emit the terminal message_complete ──
356
- blocks: List[ContentBlock] = []
357
- if thinking_buf:
358
- blocks.append(
359
- ContentBlock(type="thinking", thinking_text="".join(thinking_buf))
360
- )
361
- if text_buf:
362
- blocks.append(ContentBlock(type="text", text="".join(text_buf)))
363
- for tu in tool_uses:
364
- blocks.append(
365
- ContentBlock(
366
- type="tool_use",
367
- tool_use_id=tu.get("id"),
368
- tool_name=tu.get("name"),
369
- tool_input=tu.get("input") or {},
288
+ # Surface CLI-side errors as APIError so the stage's
289
+ # retry/escalate path runs instead of silently producing
290
+ # an empty response.
291
+ if str(line_obj.get("type", "")) == "error":
292
+ raise APIError(
293
+ f"Claude Code CLI reported error: "
294
+ f"{line_obj.get('message') or line_obj!r}",
295
+ category=ErrorCategory.CLI_PROTOCOL_ERROR,
296
+ )
297
+ # Surface the authentication_failed annotation that the
298
+ # CLI emits on the assistant frame when no credential
299
+ # is available — without this we'd swallow the
300
+ # "Not logged in" placeholder text as the assistant's
301
+ # answer and call the session "successful".
302
+ if str(line_obj.get("error", "")) == "authentication_failed":
303
+ raise APIError(
304
+ "Claude Code CLI is not authenticated (claude --print "
305
+ "returned error=authentication_failed). Sign in via "
306
+ "Settings → LLM Backends → Claude Code (CLI).",
307
+ category=ErrorCategory.CLI_AUTH_FAILED,
370
308
  )
371
- )
372
309
 
373
- usage_in: Dict[str, Any] = (final_obj or {}).get("usage", {}) or {}
374
- usage = TokenUsage(
375
- input_tokens=int(usage_in.get("input_tokens", 0) or 0),
376
- output_tokens=int(usage_in.get("output_tokens", 0) or 0),
377
- cache_creation_input_tokens=int(
378
- usage_in.get("cache_creation_input_tokens", 0) or 0
379
- ),
380
- cache_read_input_tokens=int(
381
- usage_in.get("cache_read_input_tokens", 0) or 0
382
- ),
383
- cost_usd=usage_in.get("cost_usd"),
384
- duration_ms=(final_obj or {}).get("duration_ms"),
385
- )
310
+ # Feed accumulator + stream canonical events to consumer.
311
+ for event in accum.feed(line_obj):
312
+ yield event
386
313
 
387
- response = APIResponse(
388
- content=blocks,
389
- stop_reason=stop_reason,
390
- usage=usage,
391
- model=resolved_model,
392
- message_id=message_id,
393
- raw=final_obj or {},
394
- )
395
- yield {"type": "message_complete", "response": response}
314
+ yield {"type": "message_complete", "response": accum.finalize()}
396
315
  except CLIBinaryNotFound as e:
397
316
  raise APIError(str(e), category=ErrorCategory.CLI_NOT_FOUND) from e
398
317
  except CLITimeout as e:
@@ -29,6 +29,7 @@ from geny_executor.llm_client.translators._canonical import (
29
29
  split_tool_uses,
30
30
  )
31
31
  from geny_executor.llm_client.translators._cli import (
32
+ StreamJsonAccumulator,
32
33
  assemble_response_from_stream_json,
33
34
  build_stream_json_stdin,
34
35
  claude_code_argv,
@@ -62,5 +63,6 @@ __all__ = [
62
63
  "split_tool_results",
63
64
  "split_tool_uses",
64
65
  "stream_json_line_to_canonical_event",
66
+ "StreamJsonAccumulator",
65
67
  "thinking_to_effort",
66
68
  ]
@@ -250,6 +250,21 @@ def stream_json_line_to_canonical_event(line_obj: Dict[str, Any]) -> Optional[Di
250
250
  "name": cb.get("name"),
251
251
  "input": cb.get("input") or {},
252
252
  }
253
+ # Full-message form (Claude Code 2.x default): collapse the
254
+ # entire content array to a single concatenated text_delta so
255
+ # legacy single-event consumers see SOME text. Callers that
256
+ # need per-block fidelity should use ``StreamJsonAccumulator``
257
+ # directly.
258
+ msg = line_obj.get("message") or {}
259
+ if isinstance(msg, dict):
260
+ parts: List[str] = []
261
+ for block in (msg.get("content") or []):
262
+ if isinstance(block, dict) and block.get("type") == "text":
263
+ text = str(block.get("text", ""))
264
+ if text:
265
+ parts.append(text)
266
+ if parts:
267
+ return {"type": "text_delta", "text": "".join(parts)}
253
268
  return None
254
269
 
255
270
  if ltype == "content_block_stop":
@@ -339,6 +354,245 @@ def parse_json_output_to_response(stdout: bytes, *, model: str) -> APIResponse:
339
354
  # ---------------------------------------------------------------------------
340
355
 
341
356
 
357
+ class StreamJsonAccumulator:
358
+ """Walk Claude Code stream-json lines and accumulate the final response.
359
+
360
+ Handles both shapes the CLI emits (the shape varies by version + by
361
+ ``--include-partial-messages``):
362
+
363
+ 1. **Delta form** (true streaming, ``--include-partial-messages`` on):
364
+ ``{"type":"assistant","delta":{"type":"text_delta","text":"..."}}``
365
+ — one delta per token-ish chunk; ``content_block_stop`` terminates a
366
+ block.
367
+ 2. **Message form** (default + observed on claude_code 2.1.144):
368
+ ``{"type":"assistant","message":{"content":[
369
+ {"type":"text","text":"..."},
370
+ {"type":"thinking","thinking":"..."},
371
+ {"type":"tool_use","id":"...","name":"...","input":{...}},
372
+ ],"stop_reason":"...","usage":{...}}}``
373
+ — the full assistant message arrives in one envelope.
374
+
375
+ The accumulator's ``feed(line)`` returns a list of canonical UI events
376
+ ({"type":"text_delta", ...} etc.) that callers stream to consumers,
377
+ while internally bookkeeping the state needed to call ``finalize()``
378
+ for the terminal :class:`APIResponse`.
379
+ """
380
+
381
+ def __init__(self, model: str) -> None:
382
+ self._text_buf: List[str] = []
383
+ self._thinking_buf: List[str] = []
384
+ self._tool_uses: List[Dict[str, Any]] = []
385
+ self._current_tool: Optional[Dict[str, Any]] = None
386
+ self._final_obj: Optional[Dict[str, Any]] = None
387
+ self._message_id = ""
388
+ self._stop_reason = "end_turn"
389
+ self._resolved_model = model
390
+
391
+ # ── Public ────────────────────────────────────────────────
392
+
393
+ def feed(self, line: Dict[str, Any]) -> List[Dict[str, Any]]:
394
+ """Update state from one stream-json line.
395
+
396
+ Returns the list of canonical UI events the line produced
397
+ (``text_delta`` / ``thinking_delta`` / ``tool_use`` / ...).
398
+ Caller is responsible for yielding them to its own consumer.
399
+ Empty list when the line is bookkeeping-only.
400
+ """
401
+ if not isinstance(line, dict) or "__malformed__" in line:
402
+ return []
403
+ ltype = str(line.get("type", ""))
404
+
405
+ if ltype == "system":
406
+ self._message_id = str(
407
+ line.get("session_id") or line.get("message_id") or self._message_id
408
+ )
409
+ self._resolved_model = str(line.get("model") or self._resolved_model)
410
+ return []
411
+
412
+ if ltype == "assistant":
413
+ return self._feed_assistant(line)
414
+
415
+ if ltype == "content_block_stop":
416
+ self._close_current_tool()
417
+ return [{"type": "content_block_stop"}]
418
+
419
+ if ltype == "message_stop":
420
+ # Suppressed at this layer — the streaming caller emits one
421
+ # populated ``message_complete`` after ``finalize()``.
422
+ return []
423
+
424
+ if ltype == "result":
425
+ self._final_obj = line
426
+ self._stop_reason = str(line.get("stop_reason", self._stop_reason))
427
+ # ``message`` form puts stop_reason on the assistant envelope
428
+ # too; keep whichever non-empty value won.
429
+ return [{"type": "result", "raw": line}]
430
+
431
+ if ltype == "error":
432
+ return [{"type": "error", "raw": line}]
433
+
434
+ return [{"type": "cli_unknown", "raw": line}]
435
+
436
+ def finalize(self) -> APIResponse:
437
+ """Build the canonical :class:`APIResponse` from accumulated state."""
438
+ # Flush any unclosed tool — the message form often skips
439
+ # ``content_block_stop`` entirely.
440
+ self._close_current_tool()
441
+
442
+ blocks: List[ContentBlock] = []
443
+ if self._thinking_buf:
444
+ blocks.append(
445
+ ContentBlock(type="thinking", thinking_text="".join(self._thinking_buf))
446
+ )
447
+ if self._text_buf:
448
+ blocks.append(ContentBlock(type="text", text="".join(self._text_buf)))
449
+ for tu in self._tool_uses:
450
+ blocks.append(
451
+ ContentBlock(
452
+ type="tool_use",
453
+ tool_use_id=tu.get("id"),
454
+ tool_name=tu.get("name"),
455
+ tool_input=tu.get("input") or {},
456
+ )
457
+ )
458
+
459
+ usage_in: Dict[str, Any] = (self._final_obj or {}).get("usage", {}) or {}
460
+ usage = TokenUsage(
461
+ input_tokens=int(usage_in.get("input_tokens", 0) or 0),
462
+ output_tokens=int(usage_in.get("output_tokens", 0) or 0),
463
+ cache_creation_input_tokens=int(
464
+ usage_in.get("cache_creation_input_tokens", 0) or 0
465
+ ),
466
+ cache_read_input_tokens=int(usage_in.get("cache_read_input_tokens", 0) or 0),
467
+ cost_usd=usage_in.get("cost_usd")
468
+ or (self._final_obj or {}).get("total_cost_usd"),
469
+ duration_ms=(self._final_obj or {}).get("duration_ms"),
470
+ )
471
+
472
+ return APIResponse(
473
+ content=blocks,
474
+ stop_reason=self._stop_reason,
475
+ usage=usage,
476
+ model=self._resolved_model,
477
+ message_id=self._message_id,
478
+ raw=self._final_obj or {},
479
+ )
480
+
481
+ # ── Internals ─────────────────────────────────────────────
482
+
483
+ def _feed_assistant(self, line: Dict[str, Any]) -> List[Dict[str, Any]]:
484
+ # Form 1 — delta (true streaming).
485
+ delta = line.get("delta") or {}
486
+ dtype = str(delta.get("type", ""))
487
+ if dtype == "text_delta":
488
+ text = str(delta.get("text", ""))
489
+ self._text_buf.append(text)
490
+ return [{"type": "text_delta", "text": text}] if text else []
491
+ if dtype == "thinking_delta":
492
+ text = str(delta.get("text", ""))
493
+ self._thinking_buf.append(text)
494
+ return [{"type": "thinking_delta", "text": text}] if text else []
495
+ if dtype == "input_json_delta":
496
+ partial = str(delta.get("partial_json", ""))
497
+ if self._current_tool is not None:
498
+ self._current_tool.setdefault("_partial_json", "")
499
+ self._current_tool["_partial_json"] += partial
500
+ return [{"type": "input_json_delta", "delta": partial}]
501
+ cb = line.get("content_block")
502
+ if isinstance(cb, dict) and cb.get("type") == "tool_use":
503
+ self._current_tool = {
504
+ "id": cb.get("id"),
505
+ "name": cb.get("name"),
506
+ "input": cb.get("input") or {},
507
+ }
508
+ return [
509
+ {
510
+ "type": "tool_use",
511
+ "id": cb.get("id"),
512
+ "name": cb.get("name"),
513
+ "input": cb.get("input") or {},
514
+ }
515
+ ]
516
+
517
+ # Form 2 — full message (default Claude Code 2.x output).
518
+ message = line.get("message") or {}
519
+ if isinstance(message, dict) and message.get("content"):
520
+ return self._feed_message(message)
521
+
522
+ return []
523
+
524
+ def _feed_message(self, message: Dict[str, Any]) -> List[Dict[str, Any]]:
525
+ """Process a full assistant message envelope's content array.
526
+
527
+ Emits synthetic per-block delta events so UI consumers see the
528
+ same canonical shape they would with true streaming, then
529
+ records the blocks for the eventual :class:`APIResponse`.
530
+ """
531
+ # Capture stop_reason / usage off the envelope if present —
532
+ # the ``message`` form lets the assistant frame carry these
533
+ # instead of waiting for the final ``result`` line.
534
+ sr = message.get("stop_reason")
535
+ if sr:
536
+ self._stop_reason = str(sr)
537
+ usage = message.get("usage")
538
+ if isinstance(usage, dict) and self._final_obj is None:
539
+ self._final_obj = {"usage": usage}
540
+ # Skip synthetic "Not logged in" messages — Claude Code emits
541
+ # them with ``error=authentication_failed`` and a placeholder
542
+ # text block. Surface as an APIError-friendly error event so
543
+ # callers raise instead of returning empty output.
544
+ # (Detected on the outer ``line``, but ``message`` is the
545
+ # carrier so we pass it through unchanged here.)
546
+
547
+ events: List[Dict[str, Any]] = []
548
+ content = message.get("content") or []
549
+ if not isinstance(content, list):
550
+ return events
551
+ for block in content:
552
+ if not isinstance(block, dict):
553
+ continue
554
+ btype = str(block.get("type", ""))
555
+ if btype == "text":
556
+ text = str(block.get("text", ""))
557
+ if text:
558
+ self._text_buf.append(text)
559
+ events.append({"type": "text_delta", "text": text})
560
+ elif btype == "thinking":
561
+ # Anthropic uses ``thinking`` field; some shims use ``text``.
562
+ text = str(block.get("thinking") or block.get("text") or "")
563
+ if text:
564
+ self._thinking_buf.append(text)
565
+ events.append({"type": "thinking_delta", "text": text})
566
+ elif btype == "tool_use":
567
+ tu = {
568
+ "id": block.get("id"),
569
+ "name": block.get("name"),
570
+ "input": block.get("input") or {},
571
+ }
572
+ self._tool_uses.append(tu)
573
+ events.append(
574
+ {
575
+ "type": "tool_use",
576
+ "id": tu["id"],
577
+ "name": tu["name"],
578
+ "input": tu["input"],
579
+ }
580
+ )
581
+ return events
582
+
583
+ def _close_current_tool(self) -> None:
584
+ if self._current_tool is None:
585
+ return
586
+ partial = self._current_tool.pop("_partial_json", "")
587
+ if partial and not self._current_tool.get("input"):
588
+ try:
589
+ self._current_tool["input"] = json.loads(partial)
590
+ except json.JSONDecodeError:
591
+ self._current_tool["input"] = {"_raw": partial}
592
+ self._tool_uses.append(self._current_tool)
593
+ self._current_tool = None
594
+
595
+
342
596
  async def assemble_response_from_stream_json(
343
597
  stream: AsyncIterator[bytes],
344
598
  *,
@@ -346,120 +600,31 @@ async def assemble_response_from_stream_json(
346
600
  ) -> APIResponse:
347
601
  """Drain a stream-json output and return a canonical APIResponse.
348
602
 
349
- Used by ``ClaudeCodeCLIClient._send`` when ``request.stream=True``. The
350
- final ``result`` envelope carries usage + stop_reason; the accumulated
351
- text / thinking / tool_use blocks come from intermediate ``assistant``
352
- deltas.
603
+ Used by ``ClaudeCodeCLIClient._send`` when ``request.stream=True``.
604
+ Thin wrapper around :class:`StreamJsonAccumulator` so the
605
+ streaming + non-streaming consumer paths share one parser Claude
606
+ Code's stream-json shape (delta vs full-message) varies by CLI
607
+ version and ``--include-partial-messages``, and we never want the
608
+ two paths to drift again.
353
609
  """
354
- text_buf: List[str] = []
355
- thinking_buf: List[str] = []
356
- tool_uses: List[Dict[str, Any]] = []
357
- current_tool: Optional[Dict[str, Any]] = None
358
- final_obj: Optional[Dict[str, Any]] = None
359
- message_id = ""
360
- stop_reason = "end_turn"
361
- resolved_model = model
362
-
363
610
  from geny_executor.llm_client._cli_runtime import parse_stream_json_line
364
611
 
612
+ accum = StreamJsonAccumulator(model=model)
365
613
  async for raw in stream:
366
614
  line = parse_stream_json_line(raw)
367
615
  if line is None:
368
616
  continue
369
617
  if "__malformed__" in line:
370
- # Skip malformed lines — caller's CLIProtocolError path
371
- # already runs on non-zero exits.
372
- continue
373
- ltype = str(line.get("type", ""))
374
-
375
- if ltype == "system":
376
- # The first system envelope carries session metadata.
377
- message_id = str(line.get("session_id") or line.get("message_id") or message_id)
378
- resolved_model = str(line.get("model") or resolved_model)
379
- continue
380
-
381
- if ltype == "assistant":
382
- delta = line.get("delta") or {}
383
- dtype = str(delta.get("type", ""))
384
- if dtype == "text_delta":
385
- text_buf.append(str(delta.get("text", "")))
386
- continue
387
- if dtype == "thinking_delta":
388
- thinking_buf.append(str(delta.get("text", "")))
389
- continue
390
- if dtype == "input_json_delta":
391
- if current_tool is not None:
392
- current_tool.setdefault("_partial_json", "")
393
- current_tool["_partial_json"] += str(delta.get("partial_json", ""))
394
- continue
395
- cb = line.get("content_block")
396
- if isinstance(cb, dict) and cb.get("type") == "tool_use":
397
- current_tool = {
398
- "id": cb.get("id"),
399
- "name": cb.get("name"),
400
- "input": cb.get("input") or {},
401
- }
402
- continue
403
-
404
- if ltype == "content_block_stop":
405
- if current_tool is not None:
406
- # Finalise the in-flight tool block. If we accumulated a
407
- # partial_json buffer, try parsing it as the input.
408
- partial = current_tool.pop("_partial_json", "")
409
- if partial and not current_tool.get("input"):
410
- try:
411
- current_tool["input"] = json.loads(partial)
412
- except json.JSONDecodeError:
413
- current_tool["input"] = {"_raw": partial}
414
- tool_uses.append(current_tool)
415
- current_tool = None
416
- continue
417
-
418
- if ltype == "result":
419
- final_obj = line
420
- stop_reason = str(line.get("stop_reason", stop_reason))
421
618
  continue
422
-
423
- if ltype == "error":
619
+ # ``error`` envelopes from the CLI need to raise so the caller's
620
+ # CLIProtocolError path runs — match the prior behaviour exactly.
621
+ if str(line.get("type", "")) == "error":
424
622
  raise RuntimeError(
425
623
  f"Claude Code CLI reported error: {line.get('message') or line!r}"
426
624
  )
625
+ accum.feed(line)
427
626
 
428
- blocks: List[ContentBlock] = []
429
- if thinking_buf:
430
- blocks.append(ContentBlock(type="thinking", thinking_text="".join(thinking_buf)))
431
- if text_buf:
432
- blocks.append(ContentBlock(type="text", text="".join(text_buf)))
433
- for tu in tool_uses:
434
- blocks.append(
435
- ContentBlock(
436
- type="tool_use",
437
- tool_use_id=tu.get("id"),
438
- tool_name=tu.get("name"),
439
- tool_input=tu.get("input") or {},
440
- )
441
- )
442
-
443
- usage_in: Dict[str, Any] = {}
444
- if final_obj:
445
- usage_in = final_obj.get("usage", {}) or {}
446
- usage = TokenUsage(
447
- input_tokens=int(usage_in.get("input_tokens", 0) or 0),
448
- output_tokens=int(usage_in.get("output_tokens", 0) or 0),
449
- cache_creation_input_tokens=int(usage_in.get("cache_creation_input_tokens", 0) or 0),
450
- cache_read_input_tokens=int(usage_in.get("cache_read_input_tokens", 0) or 0),
451
- cost_usd=usage_in.get("cost_usd"),
452
- duration_ms=(final_obj or {}).get("duration_ms"),
453
- )
454
-
455
- return APIResponse(
456
- content=blocks,
457
- stop_reason=stop_reason,
458
- usage=usage,
459
- model=resolved_model,
460
- message_id=message_id,
461
- raw=final_obj,
462
- )
627
+ return accum.finalize()
463
628
 
464
629
 
465
630
  # ---------------------------------------------------------------------------