@scemoon/cdh 1.0.9 → 1.0.10-beta.2

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 (200) hide show
  1. package/cdh/__pycache__/__init__.cpython-314.pyc +0 -0
  2. package/cdh/__pycache__/cli.cpython-314.pyc +0 -0
  3. package/cdh/__pycache__/cli_logging.cpython-314.pyc +0 -0
  4. package/cdh/__pycache__/config.cpython-314.pyc +0 -0
  5. package/cdh/__pycache__/project_loader.cpython-314.pyc +0 -0
  6. package/cdh/__pycache__/scaffold.cpython-314.pyc +0 -0
  7. package/cdh/__pycache__/session_store.cpython-314.pyc +0 -0
  8. package/cdh/trace/__pycache__/__init__.cpython-314.pyc +0 -0
  9. package/cdh/validators/__pycache__/__init__.cpython-314.pyc +0 -0
  10. package/cdh/validators/__pycache__/bdd.cpython-314.pyc +0 -0
  11. package/cdh/validators/__pycache__/dag.cpython-314.pyc +0 -0
  12. package/cdh/validators/__pycache__/ears.cpython-314.pyc +0 -0
  13. package/cdh/validators/__pycache__/fr_namespace.cpython-314.pyc +0 -0
  14. package/onecode/__init__.py +1 -1
  15. package/onecode/__pycache__/__init__.cpython-314.pyc +0 -0
  16. package/onecode/__pycache__/cli.cpython-314.pyc +0 -0
  17. package/onecode/__pycache__/commands.cpython-314.pyc +0 -0
  18. package/onecode/__pycache__/config.cpython-314.pyc +0 -0
  19. package/onecode/__pycache__/config_screen.cpython-314.pyc +0 -0
  20. package/onecode/__pycache__/migrate.cpython-314.pyc +0 -0
  21. package/onecode/agent/__pycache__/__init__.cpython-314.pyc +0 -0
  22. package/onecode/agent/__pycache__/cdh_loader.cpython-314.pyc +0 -0
  23. package/onecode/agent/__pycache__/checkpoint.cpython-314.pyc +0 -0
  24. package/onecode/agent/__pycache__/context.cpython-314.pyc +0 -0
  25. package/onecode/agent/__pycache__/engine.cpython-314.pyc +0 -0
  26. package/onecode/agent/__pycache__/hooks.cpython-314.pyc +0 -0
  27. package/onecode/agent/__pycache__/onecode_agent_acp.cpython-314.pyc +0 -0
  28. package/onecode/agent/__pycache__/permissions.cpython-314.pyc +0 -0
  29. package/onecode/agent/__pycache__/permissions_store.cpython-314.pyc +0 -0
  30. package/onecode/agent/__pycache__/session.cpython-314.pyc +0 -0
  31. package/onecode/agent/__pycache__/turn_record.cpython-314.pyc +0 -0
  32. package/onecode/agent/agents/__pycache__/__init__.cpython-314.pyc +0 -0
  33. package/onecode/agent/agents/__pycache__/types.cpython-314.pyc +0 -0
  34. package/onecode/agent/engine.py +24 -4
  35. package/onecode/agent/tools/__pycache__/__init__.cpython-314.pyc +0 -0
  36. package/onecode/agent/tools/__pycache__/agent_tools.cpython-314.pyc +0 -0
  37. package/onecode/agent/tools/__pycache__/apply_patch_tool.cpython-314.pyc +0 -0
  38. package/onecode/agent/tools/__pycache__/bash_tool.cpython-314.pyc +0 -0
  39. package/onecode/agent/tools/__pycache__/communication_tools.cpython-314.pyc +0 -0
  40. package/onecode/agent/tools/__pycache__/config_tool.cpython-314.pyc +0 -0
  41. package/onecode/agent/tools/__pycache__/cron_tools.cpython-314.pyc +0 -0
  42. package/onecode/agent/tools/__pycache__/errors.cpython-314.pyc +0 -0
  43. package/onecode/agent/tools/__pycache__/file_ops.cpython-314.pyc +0 -0
  44. package/onecode/agent/tools/__pycache__/file_tools.cpython-314.pyc +0 -0
  45. package/onecode/agent/tools/__pycache__/git_tools.cpython-314.pyc +0 -0
  46. package/onecode/agent/tools/__pycache__/lsp_tools.cpython-314.pyc +0 -0
  47. package/onecode/agent/tools/__pycache__/mcp_tools.cpython-314.pyc +0 -0
  48. package/onecode/agent/tools/__pycache__/permission_handler.cpython-314.pyc +0 -0
  49. package/onecode/agent/tools/__pycache__/permissions.cpython-314.pyc +0 -0
  50. package/onecode/agent/tools/__pycache__/protocol.cpython-314.pyc +0 -0
  51. package/onecode/agent/tools/__pycache__/registry.cpython-314.pyc +0 -0
  52. package/onecode/agent/tools/__pycache__/sandbox.cpython-314.pyc +0 -0
  53. package/onecode/agent/tools/__pycache__/schema_validation.cpython-314.pyc +0 -0
  54. package/onecode/agent/tools/__pycache__/skill_tools.cpython-314.pyc +0 -0
  55. package/onecode/agent/tools/__pycache__/todo_tools.cpython-314.pyc +0 -0
  56. package/onecode/agent/tools/__pycache__/web_tools.cpython-314.pyc +0 -0
  57. package/onecode/codebase/__pycache__/__init__.cpython-314.pyc +0 -0
  58. package/onecode/codebase/__pycache__/chunker.cpython-314.pyc +0 -0
  59. package/onecode/codebase/__pycache__/indexer.cpython-314.pyc +0 -0
  60. package/onecode/codebase/__pycache__/retriever.cpython-314.pyc +0 -0
  61. package/onecode/codebase/__pycache__/storage.cpython-314.pyc +0 -0
  62. package/onecode/codebase/__pycache__/tools.cpython-314.pyc +0 -0
  63. package/onecode/commands.py +245 -0
  64. package/onecode/config_screen.py +13 -13
  65. package/onecode/mcp/__pycache__/__init__.cpython-314.pyc +0 -0
  66. package/onecode/mcp/__pycache__/client.cpython-314.pyc +0 -0
  67. package/onecode/mcp/__pycache__/cloudbase.cpython-314.pyc +0 -0
  68. package/onecode/mcp/__pycache__/config.cpython-314.pyc +0 -0
  69. package/onecode/mcp/__pycache__/manager.cpython-314.pyc +0 -0
  70. package/onecode/mcp/__pycache__/oauth.cpython-314.pyc +0 -0
  71. package/onecode/memory/__pycache__/__init__.cpython-314.pyc +0 -0
  72. package/onecode/memory/__pycache__/backend.cpython-314.pyc +0 -0
  73. package/onecode/memory/__pycache__/pyramid.cpython-314.pyc +0 -0
  74. package/onecode/memory/__pycache__/recall.cpython-314.pyc +0 -0
  75. package/onecode/models/__pycache__/__init__.cpython-314.pyc +0 -0
  76. package/onecode/models/__pycache__/errors.cpython-314.pyc +0 -0
  77. package/onecode/models/__pycache__/messages.cpython-314.pyc +0 -0
  78. package/onecode/models/__pycache__/ollama_manager.cpython-314.pyc +0 -0
  79. package/onecode/models/__pycache__/provider.cpython-314.pyc +0 -0
  80. package/onecode/models/__pycache__/registry.cpython-314.pyc +0 -0
  81. package/onecode/models/providers/__pycache__/__init__.cpython-314.pyc +0 -0
  82. package/onecode/models/providers/__pycache__/anthropic_provider.cpython-314.pyc +0 -0
  83. package/onecode/models/providers/__pycache__/deepseek_provider.cpython-314.pyc +0 -0
  84. package/onecode/models/providers/__pycache__/glm_provider.cpython-314.pyc +0 -0
  85. package/onecode/models/providers/__pycache__/minimax_provider.cpython-314.pyc +0 -0
  86. package/onecode/models/providers/__pycache__/minimaxi_provider.cpython-314.pyc +0 -0
  87. package/onecode/models/providers/__pycache__/ollama_provider.cpython-314.pyc +0 -0
  88. package/onecode/models/providers/__pycache__/openai_provider.cpython-314.pyc +0 -0
  89. package/onecode/skills/__pycache__/__init__.cpython-314.pyc +0 -0
  90. package/onecode/skills/__pycache__/argument_substitution.cpython-314.pyc +0 -0
  91. package/onecode/skills/__pycache__/bootstrap.cpython-314.pyc +0 -0
  92. package/onecode/skills/__pycache__/create.cpython-314.pyc +0 -0
  93. package/onecode/skills/__pycache__/frontmatter.cpython-314.pyc +0 -0
  94. package/onecode/skills/__pycache__/loader.cpython-314.pyc +0 -0
  95. package/onecode/skills/__pycache__/model.cpython-314.pyc +0 -0
  96. package/onecode/verification/__pycache__/__init__.cpython-314.pyc +0 -0
  97. package/onecode/verification/__pycache__/aggregation.cpython-314.pyc +0 -0
  98. package/onecode/verification/__pycache__/loop.cpython-314.pyc +0 -0
  99. package/onecode/verification/__pycache__/policy.cpython-314.pyc +0 -0
  100. package/onecode/verification/gates/__pycache__/__init__.cpython-314.pyc +0 -0
  101. package/onecode/verification/gates/__pycache__/base.cpython-314.pyc +0 -0
  102. package/onecode/verification/gates/__pycache__/lint_gate.cpython-314.pyc +0 -0
  103. package/onecode/verification/gates/__pycache__/test_gate.cpython-314.pyc +0 -0
  104. package/onecode/verification/gates/__pycache__/type_gate.cpython-314.pyc +0 -0
  105. package/package.json +1 -1
  106. package/pyproject.toml +1 -1
  107. package/tui/__pycache__/__init__.cpython-314.pyc +0 -0
  108. package/tui/__pycache__/_loop.cpython-314.pyc +0 -0
  109. package/tui/__pycache__/_path_fuzzy_search.cpython-314.pyc +0 -0
  110. package/tui/__pycache__/_path_match.cpython-314.pyc +0 -0
  111. package/tui/__pycache__/agent.cpython-314.pyc +0 -0
  112. package/tui/__pycache__/agent_schema.cpython-314.pyc +0 -0
  113. package/tui/__pycache__/agents.cpython-314.pyc +0 -0
  114. package/tui/__pycache__/answer.cpython-314.pyc +0 -0
  115. package/tui/__pycache__/app.cpython-314.pyc +0 -0
  116. package/tui/__pycache__/atomic.cpython-314.pyc +0 -0
  117. package/tui/__pycache__/complete.cpython-314.pyc +0 -0
  118. package/tui/__pycache__/constants.cpython-314.pyc +0 -0
  119. package/tui/__pycache__/db.cpython-314.pyc +0 -0
  120. package/tui/__pycache__/dec.cpython-314.pyc +0 -0
  121. package/tui/__pycache__/directory.cpython-314.pyc +0 -0
  122. package/tui/__pycache__/directory_watcher.cpython-314.pyc +0 -0
  123. package/tui/__pycache__/format_path.cpython-314.pyc +0 -0
  124. package/tui/__pycache__/fuzzy.cpython-314.pyc +0 -0
  125. package/tui/__pycache__/fuzzy_index.cpython-314.pyc +0 -0
  126. package/tui/__pycache__/history.cpython-314.pyc +0 -0
  127. package/tui/__pycache__/jsonrpc.cpython-314.pyc +0 -0
  128. package/tui/__pycache__/menus.cpython-314.pyc +0 -0
  129. package/tui/__pycache__/message_log.cpython-314.pyc +0 -0
  130. package/tui/__pycache__/messages.cpython-314.pyc +0 -0
  131. package/tui/__pycache__/path_complete.cpython-314.pyc +0 -0
  132. package/tui/__pycache__/path_filter.cpython-314.pyc +0 -0
  133. package/tui/__pycache__/paths.cpython-314.pyc +0 -0
  134. package/tui/__pycache__/pill.cpython-314.pyc +0 -0
  135. package/tui/__pycache__/platform_commands.cpython-314.pyc +0 -0
  136. package/tui/__pycache__/protocol.cpython-314.pyc +0 -0
  137. package/tui/__pycache__/session_tracker.cpython-314.pyc +0 -0
  138. package/tui/__pycache__/settings.cpython-314.pyc +0 -0
  139. package/tui/__pycache__/settings_schema.cpython-314.pyc +0 -0
  140. package/tui/__pycache__/shell.cpython-314.pyc +0 -0
  141. package/tui/__pycache__/shell_read.cpython-314.pyc +0 -0
  142. package/tui/__pycache__/slash_command.cpython-314.pyc +0 -0
  143. package/tui/__pycache__/version.cpython-314.pyc +0 -0
  144. package/tui/acp/__pycache__/agent.cpython-314.pyc +0 -0
  145. package/tui/acp/__pycache__/api.cpython-314.pyc +0 -0
  146. package/tui/acp/__pycache__/encode_tool_call_id.cpython-314.pyc +0 -0
  147. package/tui/acp/__pycache__/event_tap.cpython-314.pyc +0 -0
  148. package/tui/acp/__pycache__/messages.cpython-314.pyc +0 -0
  149. package/tui/acp/__pycache__/prompt.cpython-314.pyc +0 -0
  150. package/tui/acp/__pycache__/protocol.cpython-314.pyc +0 -0
  151. package/tui/ansi/__pycache__/__init__.cpython-314.pyc +0 -0
  152. package/tui/ansi/__pycache__/_ansi.cpython-314.pyc +0 -0
  153. package/tui/ansi/__pycache__/_ansi_colors.cpython-314.pyc +0 -0
  154. package/tui/ansi/__pycache__/_control_codes.cpython-314.pyc +0 -0
  155. package/tui/ansi/__pycache__/_keys.cpython-314.pyc +0 -0
  156. package/tui/ansi/__pycache__/_sgr_styles.cpython-314.pyc +0 -0
  157. package/tui/ansi/__pycache__/_stream_parser.cpython-314.pyc +0 -0
  158. package/tui/app.py +10 -1
  159. package/tui/prompt/__pycache__/extract.cpython-314.pyc +0 -0
  160. package/tui/prompt/__pycache__/resource.cpython-314.pyc +0 -0
  161. package/tui/screens/__pycache__/__init__.cpython-314.pyc +0 -0
  162. package/tui/screens/__pycache__/diff_screen.cpython-314.pyc +0 -0
  163. package/tui/screens/__pycache__/main.cpython-314.pyc +0 -0
  164. package/tui/screens/__pycache__/sessions.cpython-314.pyc +0 -0
  165. package/tui/screens/sessions.py +1 -4
  166. package/tui/visuals/__pycache__/__init__.cpython-314.pyc +0 -0
  167. package/tui/visuals/__pycache__/columns.cpython-314.pyc +0 -0
  168. package/tui/widgets/__pycache__/__init__.cpython-314.pyc +0 -0
  169. package/tui/widgets/__pycache__/aidlc.cpython-314.pyc +0 -0
  170. package/tui/widgets/__pycache__/ask_user.cpython-314.pyc +0 -0
  171. package/tui/widgets/__pycache__/condensed_path.cpython-314.pyc +0 -0
  172. package/tui/widgets/__pycache__/context_stats.cpython-314.pyc +0 -0
  173. package/tui/widgets/__pycache__/conversation.cpython-314.pyc +0 -0
  174. package/tui/widgets/__pycache__/diff_view.cpython-314.pyc +0 -0
  175. package/tui/widgets/__pycache__/edit_field.cpython-314.pyc +0 -0
  176. package/tui/widgets/__pycache__/flash.cpython-314.pyc +0 -0
  177. package/tui/widgets/__pycache__/grid_select.cpython-314.pyc +0 -0
  178. package/tui/widgets/__pycache__/highlighted_textarea.cpython-314.pyc +0 -0
  179. package/tui/widgets/__pycache__/load_more.cpython-314.pyc +0 -0
  180. package/tui/widgets/__pycache__/menu.cpython-314.pyc +0 -0
  181. package/tui/widgets/__pycache__/modified_files.cpython-314.pyc +0 -0
  182. package/tui/widgets/__pycache__/non_selectable_label.cpython-314.pyc +0 -0
  183. package/tui/widgets/__pycache__/note.cpython-314.pyc +0 -0
  184. package/tui/widgets/__pycache__/path_search.cpython-314.pyc +0 -0
  185. package/tui/widgets/__pycache__/pending_prompts.cpython-314.pyc +0 -0
  186. package/tui/widgets/__pycache__/plan.cpython-314.pyc +0 -0
  187. package/tui/widgets/__pycache__/project_directory_tree.cpython-314.pyc +0 -0
  188. package/tui/widgets/__pycache__/prompt.cpython-314.pyc +0 -0
  189. package/tui/widgets/__pycache__/question.cpython-314.pyc +0 -0
  190. package/tui/widgets/__pycache__/session_grid_select.cpython-314.pyc +0 -0
  191. package/tui/widgets/__pycache__/session_summary.cpython-314.pyc +0 -0
  192. package/tui/widgets/__pycache__/session_tabs.cpython-314.pyc +0 -0
  193. package/tui/widgets/__pycache__/shell_terminal.cpython-314.pyc +0 -0
  194. package/tui/widgets/__pycache__/side_bar.cpython-314.pyc +0 -0
  195. package/tui/widgets/__pycache__/slash_complete.cpython-314.pyc +0 -0
  196. package/tui/widgets/__pycache__/strike_text.cpython-314.pyc +0 -0
  197. package/tui/widgets/__pycache__/terminal.cpython-314.pyc +0 -0
  198. package/tui/widgets/__pycache__/throbber.cpython-314.pyc +0 -0
  199. package/tui/widgets/__pycache__/user_input.cpython-314.pyc +0 -0
  200. package/tui/widgets/conversation.py +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scemoon/cdh",
3
- "version": "1.0.9",
3
+ "version": "1.0.10-beta.2",
4
4
  "description": "Cloud Dev Harness - cloud-native development Agent framework",
5
5
  "keywords": ["ai", "agent", "cloud", "development", "cli", "tui"],
6
6
  "license": "MIT",
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cloud-dev-harness"
3
- version = "1.0.9"
3
+ version = "1.0.10-beta.2"
4
4
  description = "Cloud Dev Harness - cloud-native development Agent framework with A2TUI"
5
5
  requires-python = ">=3.14.2"
6
6
  dependencies = [
Binary file
Binary file
Binary file
package/tui/app.py CHANGED
@@ -227,6 +227,12 @@ def get_sessions_screen() -> SessionsScreen:
227
227
  return SessionsScreen()
228
228
 
229
229
 
230
+ def get_config_screen() -> Screen:
231
+ from onecode.config_screen import ConfigScreen
232
+
233
+ return ConfigScreen()
234
+
235
+
230
236
  def get_store_screen():
231
237
  from tui.screens.store import StoreScreen
232
238
 
@@ -242,6 +248,7 @@ class A2TUIApp(App, inherit_bindings=False):
242
248
  "settings": get_settings_screen,
243
249
  "sessions": get_sessions_screen,
244
250
  "store": get_store_screen,
251
+ "config": get_config_screen,
245
252
  }
246
253
  MODES = {}
247
254
  BINDING_GROUP_TITLE = "System"
@@ -1048,7 +1055,9 @@ class A2TUIApp(App, inherit_bindings=False):
1048
1055
  @work
1049
1056
  async def action_sessions(self) -> None:
1050
1057
  if (session_screen_name := await self.push_screen_wait("sessions")) is not None:
1051
- if session_screen_name.startswith("session-"):
1058
+ if session_screen_name == "new-session":
1059
+ await self.new_session_screen(self.get_main_screen)
1060
+ elif session_screen_name.startswith("session-"):
1052
1061
  parts = session_screen_name.split("-")
1053
1062
  session_pk = int(parts[1])
1054
1063
  existing_mode = self._find_mode_for_session_pk(session_pk)
@@ -104,10 +104,7 @@ class SessionsScreen(ModalScreen[str]):
104
104
  self.notify(f"Deleted session: {title}")
105
105
 
106
106
  async def action_new_session(self) -> None:
107
- session_details = await self.app.new_session_screen(
108
- lambda: self.app.SessionScreen()
109
- )
110
- self.dismiss(session_details.mode_name)
107
+ self.dismiss("new-session")
111
108
 
112
109
  async def _load_historical_sessions(self) -> None:
113
110
  seen_pks: set[int] = set()
@@ -969,7 +969,6 @@ class Conversation(containers.Vertical):
969
969
  self.prompt.display = True
970
970
  self._pending_prompts.append(text)
971
971
  self.prompt.pending_prompts = list(self._pending_prompts)
972
- await self.post(UserInput(text))
973
972
  self.window.scroll_end(animate=False)
974
973
  self._loading = await self.post(Loading("Please wait..."), loading=True)
975
974
  await asyncio.sleep(0)