noah-code 1.0.0__tar.gz → 2.0.0__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 (215) hide show
  1. {noah_code-1.0.0 → noah_code-2.0.0}/PKG-INFO +7 -8
  2. {noah_code-1.0.0 → noah_code-2.0.0}/README.md +1 -2
  3. noah_code-2.0.0/docs/releases/v2.0.0.md +40 -0
  4. {noah_code-1.0.0 → noah_code-2.0.0}/install.sh +12 -6
  5. {noah_code-1.0.0 → noah_code-2.0.0}/pyproject.toml +6 -7
  6. {noah_code-1.0.0 → noah_code-2.0.0}/scripts/eval_proxy.py +28 -10
  7. {noah_code-1.0.0 → noah_code-2.0.0}/scripts/evaluate_agents.py +66 -14
  8. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/__init__.py +1 -1
  9. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/acp.py +13 -1
  10. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/agent.py +56 -57
  11. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/agents.py +4 -2
  12. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/budget.py +75 -26
  13. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/checkpoints.py +30 -10
  14. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/cli.py +186 -99
  15. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/codex_client.py +7 -18
  16. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/codex_rpc.py +2 -1
  17. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/commands.py +18 -1
  18. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/composer.py +65 -9
  19. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/config.py +24 -0
  20. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/credentials.py +7 -3
  21. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/custom_commands.py +39 -19
  22. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/event_bridge.py +41 -8
  23. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/github.py +119 -18
  24. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/host.py +207 -45
  25. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/llm.py +28 -2
  26. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/llm_replies.py +43 -14
  27. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/macos_sandbox.py +16 -6
  28. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/mcp_setup.py +107 -21
  29. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/model_streaming.py +29 -5
  30. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/nooa_compat.py +37 -15
  31. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/permissions.py +194 -73
  32. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/predict.py +2 -0
  33. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/project_notes.py +18 -6
  34. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/redaction.py +22 -13
  35. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/runtime_state.py +54 -24
  36. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/service.py +136 -45
  37. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/skills_setup.py +95 -15
  38. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/snapshots.py +132 -30
  39. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/steer.py +13 -2
  40. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/telemetry.py +156 -22
  41. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/themes.py +16 -0
  42. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tool_output.py +23 -3
  43. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/diff_tools.py +98 -33
  44. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/git_tools.py +138 -42
  45. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/github_tools.py +75 -16
  46. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/lsp_tools.py +188 -34
  47. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/memory_tools.py +10 -1
  48. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/plan_tools.py +13 -4
  49. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/process_tools.py +93 -40
  50. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/question_tools.py +3 -1
  51. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/task_tools.py +87 -22
  52. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/web_tools.py +73 -17
  53. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/workspace_tools.py +139 -70
  54. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/console.py +31 -8
  55. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/textual.css +17 -4
  56. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/textual_app.py +388 -124
  57. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/updates.py +20 -4
  58. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/usage.py +17 -5
  59. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/verification.py +31 -13
  60. noah_code-2.0.0/src/noah_code/workspace.py +124 -0
  61. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/worktree.py +42 -9
  62. {noah_code-1.0.0 → noah_code-2.0.0}/tests/conftest.py +16 -0
  63. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_budget.py +1 -1
  64. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_cache_context.py +4 -2
  65. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_cli.py +84 -2
  66. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_codex_client.py +17 -11
  67. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_completion_verification.py +14 -11
  68. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_eval_proxy.py +25 -0
  69. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_event_bridge.py +1 -1
  70. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_host.py +16 -28
  71. noah_code-2.0.0/tests/test_lean_reasoning.py +190 -0
  72. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_llm_replies.py +35 -7
  73. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_model_streaming.py +13 -7
  74. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_persistent_tasks.py +6 -7
  75. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_plan_memory_tools.py +16 -3
  76. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_prompt_scorecard.py +14 -10
  77. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_redaction.py +10 -1
  78. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_run_exit.py +9 -6
  79. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_service.py +2 -2
  80. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_task_tools.py +3 -4
  81. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_telemetry.py +33 -0
  82. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_textual_tui.py +158 -0
  83. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_truncated_reply_recovery.py +46 -23
  84. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_updates.py +31 -0
  85. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_wave1_e2e.py +2 -4
  86. {noah_code-1.0.0 → noah_code-2.0.0}/uv.lock +190 -156
  87. noah_code-1.0.0/src/noah_code/workspace.py +0 -52
  88. noah_code-1.0.0/tests/test_lean_reasoning.py +0 -201
  89. {noah_code-1.0.0 → noah_code-2.0.0}/.github/workflows/ci.yml +0 -0
  90. {noah_code-1.0.0 → noah_code-2.0.0}/.github/workflows/release.yml +0 -0
  91. {noah_code-1.0.0 → noah_code-2.0.0}/.gitignore +0 -0
  92. {noah_code-1.0.0 → noah_code-2.0.0}/.pre-commit-config.yaml +0 -0
  93. {noah_code-1.0.0 → noah_code-2.0.0}/docs/assets/noah-command-menu.svg +0 -0
  94. {noah_code-1.0.0 → noah_code-2.0.0}/docs/assets/noah-in-action.svg +0 -0
  95. {noah_code-1.0.0 → noah_code-2.0.0}/docs/assets/noah-logo.svg +0 -0
  96. {noah_code-1.0.0 → noah_code-2.0.0}/docs/assets/noah-permissions.svg +0 -0
  97. {noah_code-1.0.0 → noah_code-2.0.0}/docs/browser.md +0 -0
  98. {noah_code-1.0.0 → noah_code-2.0.0}/docs/configuration.md +0 -0
  99. {noah_code-1.0.0 → noah_code-2.0.0}/docs/development.md +0 -0
  100. {noah_code-1.0.0 → noah_code-2.0.0}/docs/evaluation-results.json +0 -0
  101. {noah_code-1.0.0 → noah_code-2.0.0}/docs/evaluation-results.md +0 -0
  102. {noah_code-1.0.0 → noah_code-2.0.0}/docs/evaluation.md +0 -0
  103. {noah_code-1.0.0 → noah_code-2.0.0}/docs/extensions.md +0 -0
  104. {noah_code-1.0.0 → noah_code-2.0.0}/docs/interactive-reference.md +0 -0
  105. {noah_code-1.0.0 → noah_code-2.0.0}/docs/lifecycle-hooks.md +0 -0
  106. {noah_code-1.0.0 → noah_code-2.0.0}/docs/opencode-v2-comparison.md +0 -0
  107. {noah_code-1.0.0 → noah_code-2.0.0}/docs/persistent-tasks.md +0 -0
  108. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.1.0.md +0 -0
  109. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.1.1.md +0 -0
  110. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.2.0.md +0 -0
  111. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.2.1.md +0 -0
  112. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.2.2.md +0 -0
  113. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.2.3.md +0 -0
  114. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.2.4.md +0 -0
  115. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.3.0.md +0 -0
  116. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.4.0.md +0 -0
  117. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.4.1.md +0 -0
  118. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.5.0.md +0 -0
  119. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.5.1.md +0 -0
  120. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.6.0.md +0 -0
  121. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.7.0.md +0 -0
  122. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v0.8.0.md +0 -0
  123. {noah_code-1.0.0 → noah_code-2.0.0}/docs/releases/v1.0.0.md +0 -0
  124. {noah_code-1.0.0 → noah_code-2.0.0}/docs/reliability.md +0 -0
  125. {noah_code-1.0.0 → noah_code-2.0.0}/docs/security.md +0 -0
  126. {noah_code-1.0.0 → noah_code-2.0.0}/docs/service.md +0 -0
  127. {noah_code-1.0.0 → noah_code-2.0.0}/scripts/capture_readme.py +0 -0
  128. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/__main__.py +0 -0
  129. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/approvals.py +0 -0
  130. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/browser.py +0 -0
  131. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/codex_account.py +0 -0
  132. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/events.py +0 -0
  133. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/hooks.py +0 -0
  134. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/permission_modes.py +0 -0
  135. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/provider_discovery.py +0 -0
  136. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/providers.py +0 -0
  137. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/secure_files.py +0 -0
  138. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/sessions.py +0 -0
  139. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/summarization.py +0 -0
  140. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/teams.py +0 -0
  141. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tool_contracts.py +0 -0
  142. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/__init__.py +0 -0
  143. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/tools/media_tools.py +0 -0
  144. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/__init__.py +0 -0
  145. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/command_menu.py +0 -0
  146. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/protocol.py +0 -0
  147. {noah_code-1.0.0 → noah_code-2.0.0}/src/noah_code/ui/team_screen.py +0 -0
  148. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/fixtures/config-merge/config_merge.py +0 -0
  149. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/fixtures/config-merge/tests/acceptance.py +0 -0
  150. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/fixtures/page-ranges/pages.py +0 -0
  151. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/fixtures/page-ranges/tests/acceptance.py +0 -0
  152. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/tasks.json +0 -0
  153. {noah_code-1.0.0 → noah_code-2.0.0}/tests/evals/test_evaluate_agents.py +0 -0
  154. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_agent_security.py +0 -0
  155. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_agents.py +0 -0
  156. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_approvals.py +0 -0
  157. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_browser.py +0 -0
  158. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_cell_literal_preservation.py +0 -0
  159. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_checkpoints.py +0 -0
  160. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_codex_account.py +0 -0
  161. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_codex_onboarding_cli.py +0 -0
  162. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_codex_onboarding_tui.py +0 -0
  163. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_commands.py +0 -0
  164. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_compaction_eviction.py +0 -0
  165. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_composer.py +0 -0
  166. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_config.py +0 -0
  167. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_console_ui.py +0 -0
  168. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_credentials.py +0 -0
  169. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_custom_commands.py +0 -0
  170. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_diff_tools.py +0 -0
  171. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_efficiency.py +0 -0
  172. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_event_bridge_and_shell.py +0 -0
  173. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_git_tools.py +0 -0
  174. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_github.py +0 -0
  175. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_hooks.py +0 -0
  176. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_installer.py +0 -0
  177. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_lifecycle_hooks.py +0 -0
  178. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_llm.py +0 -0
  179. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_lsp_tools.py +0 -0
  180. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_mcp_setup.py +0 -0
  181. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_nooa_migration.py +0 -0
  182. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_permission_modes.py +0 -0
  183. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_permission_onboarding_cli.py +0 -0
  184. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_permission_onboarding_tui.py +0 -0
  185. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_permissions.py +0 -0
  186. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_process_tools.py +0 -0
  187. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_project_notes.py +0 -0
  188. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_provider_discovery.py +0 -0
  189. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_providers.py +0 -0
  190. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_python_edit_safety.py +0 -0
  191. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_question_tools.py +0 -0
  192. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_runtime_state.py +0 -0
  193. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_sessions.py +0 -0
  194. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_skills_setup.py +0 -0
  195. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_snapshots.py +0 -0
  196. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_steer.py +0 -0
  197. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_summarization.py +0 -0
  198. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_teams.py +0 -0
  199. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tool_contracts.py +0 -0
  200. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tool_output.py +0 -0
  201. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_transport_cli.py +0 -0
  202. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_approvals.py +0 -0
  203. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_command_menu.py +0 -0
  204. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_composer_queue.py +0 -0
  205. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_editing.py +0 -0
  206. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_history_dialogs.py +0 -0
  207. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_layout.py +0 -0
  208. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_review_receipt.py +0 -0
  209. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_tui_teams.py +0 -0
  210. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_verification.py +0 -0
  211. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_verification_completion.py +0 -0
  212. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_verification_tools.py +0 -0
  213. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_web_tools.py +0 -0
  214. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_workspace_tools.py +0 -0
  215. {noah_code-1.0.0 → noah_code-2.0.0}/tests/test_worktree.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: noah-code
3
- Version: 1.0.0
3
+ Version: 2.0.0
4
4
  Summary: Noah Code terminal coding agent, built on NVIDIA OO Agents (NOOA)
5
5
  Project-URL: Homepage, https://github.com/skundu42/noah-code
6
6
  Project-URL: Documentation, https://github.com/skundu42/noah-code#readme
@@ -21,9 +21,9 @@ Classifier: Topic :: Software Development
21
21
  Requires-Python: <3.14,>=3.12
22
22
  Requires-Dist: click<9.0.0,>=8.1.0
23
23
  Requires-Dist: httpx<1.0.0,>=0.28.1
24
- Requires-Dist: litellm<1.99.0,>=1.96.0
25
- Requires-Dist: nooa-cli==0.0.10
26
- Requires-Dist: nooa==0.0.10
24
+ Requires-Dist: litellm<1.106.0,>=1.97.0
25
+ Requires-Dist: nooa-cli==0.0.12
26
+ Requires-Dist: nooa==0.0.12
27
27
  Requires-Dist: packaging<27.0,>=24.0
28
28
  Requires-Dist: pydantic<3.0.0,>=2.5.0
29
29
  Requires-Dist: pyyaml<7.0.0,>=6.0.0
@@ -39,9 +39,9 @@ Requires-Dist: pytest>=8.0.0; extra == 'dev'
39
39
  Requires-Dist: ruff>=0.8.0; extra == 'dev'
40
40
  Requires-Dist: types-pyyaml>=6.0.12.20260815; extra == 'dev'
41
41
  Provides-Extra: mcp
42
- Requires-Dist: nooa[mcp]==0.0.10; extra == 'mcp'
42
+ Requires-Dist: nooa[mcp]==0.0.12; extra == 'mcp'
43
43
  Provides-Extra: tracing
44
- Requires-Dist: nooa[tracing]==0.0.10; extra == 'tracing'
44
+ Requires-Dist: nooa[tracing]==0.0.12; extra == 'tracing'
45
45
  Requires-Dist: opentelemetry-exporter-otlp-proto-http<2.0.0,>=1.44.0; extra == 'tracing'
46
46
  Description-Content-Type: text/markdown
47
47
 
@@ -198,8 +198,7 @@ noah config show .
198
198
  noah update --check
199
199
  ```
200
200
 
201
- The package also installs `noah-code` and `nc` as equivalent entry points. Because `nc` commonly
202
- means netcat, `noah` or `noah-code` is recommended.
201
+ The package also installs `noah-code` alongside `noah` as an equivalent entry point.
203
202
 
204
203
  ## Inside the TUI
205
204
 
@@ -151,8 +151,7 @@ noah config show .
151
151
  noah update --check
152
152
  ```
153
153
 
154
- The package also installs `noah-code` and `nc` as equivalent entry points. Because `nc` commonly
155
- means netcat, `noah` or `noah-code` is recommended.
154
+ The package also installs `noah-code` alongside `noah` as an equivalent entry point.
156
155
 
157
156
  ## Inside the TUI
158
157
 
@@ -0,0 +1,40 @@
1
+ # Noah Code v2.0.0
2
+
3
+ Noah Code `v2.0.0` upgrades the agent runtime to **NOOA `0.0.12`**, delivers comprehensive security and tool hardening across local, Git, LSP, web, and service boundaries, and sharpens the Textual TUI experience.
4
+
5
+ ## NOOA 0.0.12 runtime & model streaming
6
+
7
+ - Upgraded `nooa` and `nooa-cli` dependencies (`nooa==0.0.12`, `nooa-cli==0.0.12`, plus `nooa[mcp]` and `nooa[tracing]`), updating event usage (`LLMUsage`), parsed response tracking (`LLMResponse.parsed`), and hermetic test isolation.
8
+ - Improved `StreamingLLM` cancellation handling (`_Call` / `_ObservedStream`) so cancelling a model turn promptly closes the active underlying transport stream (`aclose()` / `close()`) even under shielded async provider tasks.
9
+
10
+ ## Textual TUI & Daylight theme
11
+
12
+ - Added the **`daylight`** light theme alongside the existing themes while keeping `atom-one-dark` as the default.
13
+ - Upgraded `FilteredPicker` with multi-token fuzzy scoring across command, provider, skill, and model pickers, and added `@@` hunk styling plus a `c` copy-patch shortcut in `DiffReviewScreen`.
14
+ - Hardened Rich markup rendering (`markup=False` and escaped button shortcut labels) across dynamic banners, approvals, and modals (`OnboardingScreen`, `QuestionModal`, `ConfirmationModal`, `TextPromptModal`, `DiffReviewScreen`) so paths and errors with brackets never raise `MarkupError`.
15
+ - Made `OnboardingScreen`, `QuestionModal`, and `ConfirmationModal` fit `80×24` terminals without clipping primary controls, preserved non-destructive mouse copy on `Ctrl+C`, switched timeline/activity IDs to monotonic sequence counters (`itertools.count`), cleaned up transient activity/stream state on cancellation, fixed cursor-aware `@mention` completion, enabled multi-page history loading, synchronized transcript selection across eviction/resize, and auto-cleared unread counters on scroll-to-end.
16
+
17
+ ## Security, permissions, Git/LSP & runtime hardening
18
+
19
+ - Enforced strict workspace path confinement in workspace tools, required explicit confirmation on `plan -> build` transitions (`exit_to_build`), and constrained untrusted project custom commands from escalating modes or shadowing built-in commands.
20
+ - Hardened `WEBFETCH` redirect-hop approvals and `_is_public_unicast` SSRF validation, validated GitHub PR CLI targets with `DEVNULL`/timeout subprocess guards, shared `parse_porcelain_z` across Git/LSP/TUI, added JSON-RPC server request responses + UTF-16 column positioning + deleted-file `didClose` sync in LSP tools, preserved shell exit codes across `{ set +x; }` + `SIGINT` timeout interruption in process tools, and guarded MCP calls even when no runtime store is attached.
21
+ - Exported newline-preserving `redact_secrets` shared with telemetry attribute filtering, added FIFO generation duration pairing, tracked active-turn budget clocks, and tightened service/ACP reload and multi-subscriber handling.
22
+
23
+ ## CLI, installer & self-update
24
+
25
+ - Removed the `nc` console script entry point so POSIX `netcat` is never shadowed; added a subcommand summary to `noah --help`, fixed `noah config show --auto` to clear saved `yolo`, added path/workspace support on `checkpoints list` and `sessions show/delete`, respected `NOAH_CODE_MODEL` in `--console` mode, and validated workspaces/sessions before persisting first-run defaults.
26
+ - Separated notice vs auto-install rate-limit timestamps (`auto_checked_at` / `checked_at`) with `~/.cargo/bin/uv` lookup in the updater, and hardened `install.sh` with `--https-only --secure-protocol=TLSv1_2`, `< /dev/null` stdin guards, and signal-preserving cleanup traps.
27
+
28
+ ## Upgrade
29
+
30
+ ```bash
31
+ noah update
32
+ ```
33
+
34
+ Or install directly:
35
+
36
+ ```bash
37
+ curl -LsSf https://github.com/skundu42/noah-code/releases/latest/download/install.sh | sh
38
+ ```
39
+
40
+ **Full changelog:** https://github.com/skundu42/noah-code/compare/v1.0.0...v2.0.0
@@ -25,7 +25,13 @@ case "$(uname -m 2>/dev/null || true)" in
25
25
  esac
26
26
 
27
27
  temporary_dir="$(mktemp -d 2>/dev/null || mktemp -d -t noah-code)"
28
- trap 'rm -rf "$temporary_dir"' EXIT HUP INT TERM
28
+ cleanup() {
29
+ rm -rf "$temporary_dir"
30
+ }
31
+ trap cleanup EXIT
32
+ trap 'cleanup; exit 129' HUP
33
+ trap 'cleanup; exit 130' INT
34
+ trap 'cleanup; exit 143' TERM
29
35
 
30
36
  download() {
31
37
  source_url="$1"
@@ -33,7 +39,7 @@ download() {
33
39
  if command -v curl >/dev/null 2>&1; then
34
40
  curl --proto '=https' --tlsv1.2 -LsSf "$source_url" -o "$destination"
35
41
  elif command -v wget >/dev/null 2>&1; then
36
- wget -qO "$destination" "$source_url"
42
+ wget --https-only --secure-protocol=TLSv1_2 -O "$destination" "$source_url"
37
43
  else
38
44
  fail "curl or wget is required to download the installer"
39
45
  fi
@@ -58,7 +64,7 @@ if uv_path="$(find_uv)"; then
58
64
  else
59
65
  say "Installing the self-contained uv package manager..."
60
66
  download "$UV_INSTALL_URL" "$temporary_dir/uv-installer.sh"
61
- sh "$temporary_dir/uv-installer.sh"
67
+ sh "$temporary_dir/uv-installer.sh" < /dev/null
62
68
  uv_path="$(find_uv)" || fail "uv installed but could not be located"
63
69
  fi
64
70
 
@@ -68,12 +74,12 @@ if [ -n "${NOAH_CODE_VERSION:-}" ]; then
68
74
  fi
69
75
 
70
76
  say "Installing $package with a managed Python 3.12 runtime..."
71
- "$uv_path" tool install --managed-python --python 3.12 --no-build --force "$package"
72
- "$uv_path" tool update-shell >/dev/null 2>&1 || true
77
+ "$uv_path" tool install --managed-python --python 3.12 --no-build --force "$package" < /dev/null
78
+ "$uv_path" tool update-shell >/dev/null 2>&1 < /dev/null || true
73
79
 
74
80
  say ""
75
81
  say "Noah Code is installed. Open a new terminal, then run:"
76
82
  say ""
77
83
  say " noah ."
78
84
  say ""
79
- say "Updates are installed automatically. Run 'noah update' to update immediately."
85
+ say "Run 'noah update' to check for and install updates."
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "noah-code"
3
- version = "1.0.0"
3
+ version = "2.0.0"
4
4
  description = "Noah Code terminal coding agent, built on NVIDIA OO Agents (NOOA)"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12,<3.14"
@@ -19,12 +19,12 @@ classifiers = [
19
19
  ]
20
20
 
21
21
  dependencies = [
22
- "nooa==0.0.10",
23
- "nooa-cli==0.0.10",
22
+ "nooa==0.0.12",
23
+ "nooa-cli==0.0.12",
24
24
  # LiteLLM 1.92.0-1.95.x intermittently shipped without macOS wheels,
25
25
  # forcing a Rust source build. Wheels are back for every release since
26
26
  # 1.96.0 (abi3 since 1.96.2), so the installer stays binary-only.
27
- "litellm>=1.96.0,<1.99.0",
27
+ "litellm>=1.97.0,<1.106.0",
28
28
  # Upper bounds guard fresh end-user installs (uv tool install / pip),
29
29
  # which ignore uv.lock; caps always admit the currently locked versions.
30
30
  "click>=8.1.0,<9.0.0",
@@ -55,16 +55,15 @@ dev = [
55
55
  "types-pyyaml>=6.0.12.20260815",
56
56
  ]
57
57
  mcp = [
58
- "nooa[mcp]==0.0.10",
58
+ "nooa[mcp]==0.0.12",
59
59
  ]
60
60
  tracing = [
61
- "nooa[tracing]==0.0.10",
61
+ "nooa[tracing]==0.0.12",
62
62
  "opentelemetry-exporter-otlp-proto-http>=1.44.0,<2.0.0",
63
63
  ]
64
64
 
65
65
  [project.scripts]
66
66
  noah-code = "noah_code.cli:main"
67
- nc = "noah_code.cli:main"
68
67
  noah = "noah_code.cli:main"
69
68
 
70
69
  [build-system]
@@ -64,6 +64,8 @@ class EvalProxy:
64
64
  not api_key
65
65
  or not model
66
66
  or not 0 < budget_usd <= 5
67
+ or not isinstance(max_output_tokens, int)
68
+ or isinstance(max_output_tokens, bool)
67
69
  or not 1 <= max_output_tokens <= 8192
68
70
  ):
69
71
  raise ValueError("invalid evaluation model, key, budget, or output cap")
@@ -122,9 +124,13 @@ class EvalProxy:
122
124
  )
123
125
  ):
124
126
  raise ValueError("only text content is allowed")
125
- if any(
126
- not isinstance(tool, dict) or tool.get("type") != "function"
127
- for tool in payload.get("tools", [])
127
+ tools = payload.get("tools")
128
+ if tools is not None and (
129
+ not isinstance(tools, list)
130
+ or any(
131
+ not isinstance(tool, dict) or tool.get("type") != "function"
132
+ for tool in tools
133
+ )
128
134
  ):
129
135
  raise ValueError("paid server tools are not allowed")
130
136
  request = dict(payload)
@@ -152,7 +158,11 @@ class EvalProxy:
152
158
  size = len(json.dumps(request, ensure_ascii=False).encode())
153
159
  if size > _MAX_BODY:
154
160
  raise ValueError("request exceeds evaluation size limit")
155
- ceiling = 2 * size + 16_384 + 1024 * (len(messages) + len(request.get("tools", [])))
161
+ ceiling = (
162
+ 2 * size
163
+ + 16_384
164
+ + 1024 * (len(messages) + len(request.get("tools") or []))
165
+ )
156
166
  reservation = ceiling * self._input_price + self.max_output_tokens * self._output_price
157
167
  # Reserve an extra 25% for rounding/account-dependent billing overhead.
158
168
  reservation *= Decimal("1.25")
@@ -254,7 +264,8 @@ class EvalProxy:
254
264
  json=request,
255
265
  ) as response,
256
266
  ):
257
- record["http_status"] = response.status_code
267
+ with owner._lock:
268
+ record["http_status"] = response.status_code
258
269
  self.send_response(response.status_code)
259
270
  self.send_header(
260
271
  "Content-Type", response.headers.get("Content-Type", "application/json")
@@ -266,12 +277,19 @@ class EvalProxy:
266
277
  for chunk in response.iter_bytes():
267
278
  self.wfile.write(chunk)
268
279
  self.wfile.flush()
269
- if len(buffer) < 2_000_000:
270
- buffer.extend(chunk[: 2_000_000 - len(buffer)])
271
- owner._capture_usage(bytes(buffer), record)
272
- record["status"] = "finished"
280
+ if len(chunk) >= 2_000_000:
281
+ buffer = bytearray(chunk[-2_000_000:])
282
+ else:
283
+ excess = len(buffer) + len(chunk) - 2_000_000
284
+ if excess > 0:
285
+ del buffer[:excess]
286
+ buffer.extend(chunk)
287
+ with owner._lock:
288
+ owner._capture_usage(bytes(buffer), record)
289
+ record["status"] = "finished"
273
290
  except (OSError, httpx.HTTPError):
274
- record["status"] = "interrupted"
291
+ with owner._lock:
292
+ record["status"] = "interrupted"
275
293
  if not started:
276
294
  self.error(502, "evaluation upstream request failed")
277
295
  finally:
@@ -8,6 +8,7 @@ from __future__ import annotations
8
8
 
9
9
  import argparse
10
10
  import asyncio
11
+ import contextlib
11
12
  import hashlib
12
13
  import json
13
14
  import math
@@ -17,6 +18,7 @@ import shutil
17
18
  import signal
18
19
  import subprocess
19
20
  import sys
21
+ import tempfile
20
22
  import time
21
23
  from dataclasses import asdict, dataclass
22
24
  from pathlib import Path
@@ -175,7 +177,11 @@ async def run_process(
175
177
  try:
176
178
  async with asyncio.timeout(seconds):
177
179
  await process.wait()
178
- await asyncio.gather(*readers)
180
+ with contextlib.suppress(TimeoutError):
181
+ await asyncio.wait_for(
182
+ asyncio.gather(*readers),
183
+ timeout=min(2.0, max(0.05, seconds * 0.25)),
184
+ )
179
185
  except TimeoutError:
180
186
  timed_out = True
181
187
  finally:
@@ -403,15 +409,19 @@ async def score_worktree(
403
409
  target.parent.mkdir(parents=True, exist_ok=True)
404
410
  target.write_bytes(data)
405
411
  bootstrap = """
406
- import unittest, json, sys, importlib.util
412
+ import io, json, pathlib, sys, unittest
407
413
  root, expected = sys.argv[1], int(sys.argv[2])
414
+ started_path, report_path, pattern = pathlib.Path(sys.argv[3]), pathlib.Path(sys.argv[4]), sys.argv[5]
415
+ started_path.write_text("1")
408
416
  sys.path.insert(0, root)
409
417
  report = {"passed": False, "tests_discovered": 0, "tests_run": 0, "expected_tests": expected}
418
+ real_stdout = sys.stdout
419
+ captured = io.StringIO()
410
420
  try:
411
- spec = importlib.util.spec_from_file_location("frozen_acceptance", root + "/tests/acceptance.py")
412
- module = importlib.util.module_from_spec(spec)
413
- spec.loader.exec_module(module)
414
- suite = unittest.defaultTestLoader.loadTestsFromModule(module)
421
+ sys.stdout = captured
422
+ suite = unittest.defaultTestLoader.discover(
423
+ start_dir=root + "/tests", pattern=pattern, top_level_dir=root + "/tests"
424
+ )
415
425
  count = suite.countTestCases()
416
426
  result = unittest.TestResult()
417
427
  suite.run(result)
@@ -420,16 +430,51 @@ try:
420
430
  failures=result.failures, errors=result.errors, skipped=result.skipped)
421
431
  except BaseException as error:
422
432
  report["load_error"] = type(error).__name__ + ": " + str(error)
423
- print(json.dumps(report, default=str))
433
+ finally:
434
+ sys.stdout = real_stdout
435
+ payload = json.dumps(report, default=str)
436
+ report_path.write_text(payload)
437
+ print(payload)
424
438
  sys.exit(0 if report["passed"] else 1)
425
439
  """
426
- return await run_process(
427
- [python, "-I", "-c", bootstrap, str(scoring), str(task.expected_tests)],
440
+ pattern = "acceptance.py"
441
+ if "-p" in task.acceptance:
442
+ idx = task.acceptance.index("-p")
443
+ if idx + 1 < len(task.acceptance):
444
+ pattern = task.acceptance[idx + 1]
445
+ started_path = state / "acceptance.started"
446
+ report_path = state / "acceptance-report.json"
447
+ result = await run_process(
448
+ [
449
+ python,
450
+ "-I",
451
+ "-c",
452
+ bootstrap,
453
+ str(scoring),
454
+ str(task.expected_tests),
455
+ str(started_path),
456
+ str(report_path),
457
+ pattern,
458
+ ],
428
459
  cwd=scoring,
429
460
  env=env,
430
461
  seconds=30,
431
462
  secrets=secrets,
432
463
  )
464
+ if report_path.is_file():
465
+ result.stdout = report_path.read_text()
466
+ elif started_path.is_file():
467
+ result.exit_code = result.exit_code or 1
468
+ result.stdout = json.dumps(
469
+ {
470
+ "passed": False,
471
+ "tests_discovered": 0,
472
+ "tests_run": 0,
473
+ "expected_tests": task.expected_tests,
474
+ "load_error": "acceptance runner terminated before writing report",
475
+ }
476
+ )
477
+ return result
433
478
 
434
479
 
435
480
  def acceptance_passed(result: ProcessResult, expected: int) -> bool:
@@ -450,7 +495,8 @@ async def evaluate(
450
495
  tasks: list[Task], args: argparse.Namespace, proxy: Any, secrets: tuple[str, ...]
451
496
  ) -> dict[str, Any]:
452
497
  output = Path(args.output).resolve()
453
- output.mkdir(parents=True, exist_ok=False)
498
+ output.mkdir(parents=True, exist_ok=False, mode=0o700)
499
+ os.chmod(output, 0o700)
454
500
  result: dict[str, Any] = {
455
501
  "schema_version": 1,
456
502
  "model": args.model,
@@ -616,7 +662,10 @@ def main(argv: list[str] | None = None) -> int:
616
662
  parser.add_argument("--model", default=DEFAULT_MODEL)
617
663
  parser.add_argument("--python", default=sys.executable)
618
664
  parser.add_argument("--opencode", default="opencode")
619
- parser.add_argument("--output", default=f"/tmp/noah-comparison-{time.time_ns()}")
665
+ parser.add_argument(
666
+ "--output",
667
+ default=str(Path(tempfile.gettempdir()) / f"noah-comparison-{time.time_ns()}"),
668
+ )
620
669
  parser.add_argument("--seconds", type=float, default=150)
621
670
  parser.add_argument("--output-tokens", type=int, default=4096)
622
671
  parser.add_argument("--budget-usd", type=float, default=4.0)
@@ -661,9 +710,12 @@ def main(argv: list[str] | None = None) -> int:
661
710
  )
662
711
  )
663
712
  return 0
664
- version = subprocess.run(
665
- [args.opencode, "--version"], capture_output=True, text=True, timeout=10, check=True
666
- ).stdout.strip()
713
+ try:
714
+ version = subprocess.run(
715
+ [args.opencode, "--version"], capture_output=True, text=True, timeout=10, check=True
716
+ ).stdout.strip()
717
+ except (OSError, subprocess.SubprocessError) as exc:
718
+ parser.error(f"Could not run OpenCode CLI ({args.opencode}): {exc}")
667
719
  if version.removeprefix("opencode v").removeprefix("v") != OPENCODE_VERSION:
668
720
  parser.error(
669
721
  f"Use the separately installed OpenCode {OPENCODE_VERSION} executable; found {version}"
@@ -1,3 +1,3 @@
1
1
  """Noah Code: terminal coding agent on NVIDIA OO Agents."""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "2.0.0"
@@ -208,7 +208,7 @@ class ACPConnection:
208
208
  str(payload.get("prompt", "")),
209
209
  kind="user_message_chunk",
210
210
  )
211
- elif row.event_type in {"Message", "AssistantEvent"}:
211
+ elif row.event_type in {"Message", "AgentMessage", "AssistantEvent"}:
212
212
  await self._message(session.meta.session_id, str(payload.get("content", "")))
213
213
  elif row.event_type == "Summary":
214
214
  await self._message(
@@ -237,6 +237,8 @@ class ACPConnection:
237
237
  await self._message(session_id, text)
238
238
  elif kind == "reasoning":
239
239
  await self._message(session_id, text, kind="agent_thought_chunk")
240
+ elif kind == "error" and text.strip():
241
+ await self._message(session_id, f"Error: {text}")
240
242
  elif kind in {"tool_start", "tool_finish"}:
241
243
  meta = event.get("meta", {})
242
244
  tool_id = meta.get("activity_id")
@@ -304,12 +306,22 @@ class ACPConnection:
304
306
  if method in {"session/new", "session/load"}:
305
307
  from pathlib import Path
306
308
 
309
+ from noah_code.workspace import open_workspace
310
+
307
311
  cwd = _string(params, "cwd")
308
312
  if not Path(cwd).is_absolute() or params.get("additionalDirectories"):
309
313
  raise RPCError(
310
314
  -32602, "cwd must be absolute; additional directories are unsupported"
311
315
  )
312
316
  session_id = _string(params, "sessionId") if method == "session/load" else None
317
+ workspace_root = open_workspace(cwd).root
318
+ for existing in list(self.service.sessions.values()):
319
+ same_session = session_id is not None and existing.meta.session_id == session_id
320
+ same_workspace = existing.host.workspace.root == workspace_root
321
+ if same_session or same_workspace:
322
+ if existing.active or existing.meta.session_id in self._loading:
323
+ raise RPCError(-32000, "session is busy")
324
+ await self.service.close_session(existing.meta.session_id)
313
325
  session = await self.service.open_session(
314
326
  cwd=cwd, session_id=session_id, mcp_servers=_mcp_servers(params)
315
327
  )