noah-code 1.0.0__tar.gz → 2.1.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 (243) hide show
  1. noah_code-2.1.0/.github/workflows/ci.yml +60 -0
  2. {noah_code-1.0.0 → noah_code-2.1.0}/.github/workflows/release.yml +12 -14
  3. {noah_code-1.0.0 → noah_code-2.1.0}/PKG-INFO +9 -9
  4. {noah_code-1.0.0 → noah_code-2.1.0}/README.md +1 -2
  5. noah_code-2.1.0/docs/releases/v2.0.0.md +40 -0
  6. noah_code-2.1.0/docs/releases/v2.1.0.md +44 -0
  7. {noah_code-1.0.0 → noah_code-2.1.0}/install.sh +12 -6
  8. {noah_code-1.0.0 → noah_code-2.1.0}/pyproject.toml +8 -8
  9. {noah_code-1.0.0 → noah_code-2.1.0}/scripts/eval_proxy.py +153 -20
  10. {noah_code-1.0.0 → noah_code-2.1.0}/scripts/evaluate_agents.py +397 -58
  11. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/__init__.py +1 -1
  12. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/acp.py +317 -54
  13. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/agent.py +142 -78
  14. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/agents.py +4 -2
  15. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/budget.py +178 -53
  16. noah_code-2.1.0/src/noah_code/checkpoints.py +746 -0
  17. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/cli.py +572 -113
  18. noah_code-2.1.0/src/noah_code/codex_client.py +466 -0
  19. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/codex_rpc.py +78 -22
  20. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/commands.py +18 -1
  21. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/composer.py +97 -10
  22. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/config.py +24 -0
  23. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/credentials.py +33 -3
  24. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/custom_commands.py +39 -19
  25. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/event_bridge.py +54 -10
  26. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/github.py +119 -18
  27. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/hooks.py +3 -0
  28. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/host.py +686 -1296
  29. noah_code-2.1.0/src/noah_code/host_commands.py +1247 -0
  30. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/llm.py +127 -8
  31. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/llm_replies.py +110 -15
  32. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/macos_sandbox.py +143 -6
  33. noah_code-2.1.0/src/noah_code/mcp_setup.py +769 -0
  34. noah_code-2.1.0/src/noah_code/model_streaming.py +536 -0
  35. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/nooa_compat.py +100 -15
  36. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/permissions.py +423 -124
  37. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/predict.py +2 -0
  38. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/project_notes.py +18 -6
  39. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/redaction.py +22 -13
  40. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/runtime_state.py +151 -48
  41. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/service.py +259 -53
  42. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/sessions.py +55 -11
  43. noah_code-2.1.0/src/noah_code/skills_setup.py +495 -0
  44. noah_code-2.1.0/src/noah_code/snapshots.py +608 -0
  45. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/steer.py +13 -2
  46. noah_code-2.1.0/src/noah_code/summarization.py +388 -0
  47. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/telemetry.py +263 -23
  48. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/themes.py +16 -0
  49. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tool_contracts.py +15 -0
  50. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tool_output.py +23 -3
  51. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/diff_tools.py +98 -33
  52. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/git_tools.py +138 -42
  53. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/github_tools.py +75 -16
  54. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/lsp_tools.py +749 -64
  55. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/memory_tools.py +10 -1
  56. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/plan_tools.py +13 -4
  57. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/process_tools.py +170 -79
  58. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/question_tools.py +3 -1
  59. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/task_tools.py +465 -48
  60. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/web_tools.py +73 -17
  61. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/workspace_tools.py +305 -92
  62. noah_code-2.1.0/src/noah_code/ui/clipboard.py +342 -0
  63. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/console.py +31 -8
  64. noah_code-2.1.0/src/noah_code/ui/diff_screen.py +558 -0
  65. noah_code-2.1.0/src/noah_code/ui/modals.py +1882 -0
  66. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/textual.css +17 -4
  67. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/textual_app.py +560 -2368
  68. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/updates.py +20 -4
  69. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/usage.py +34 -6
  70. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/verification.py +281 -38
  71. noah_code-2.1.0/src/noah_code/workspace.py +124 -0
  72. noah_code-2.1.0/src/noah_code/worktree.py +434 -0
  73. {noah_code-1.0.0 → noah_code-2.1.0}/tests/conftest.py +16 -0
  74. noah_code-2.1.0/tests/evals/fixtures/build-graph/buildgraph/__init__.py +10 -0
  75. noah_code-2.1.0/tests/evals/fixtures/build-graph/buildgraph/cache.py +30 -0
  76. noah_code-2.1.0/tests/evals/fixtures/build-graph/buildgraph/graph.py +65 -0
  77. noah_code-2.1.0/tests/evals/fixtures/build-graph/buildgraph/planner.py +42 -0
  78. noah_code-2.1.0/tests/evals/fixtures/build-graph/tests/acceptance.py +89 -0
  79. noah_code-2.1.0/tests/evals/fixtures/event-pipeline/pkg/__init__.py +3 -0
  80. noah_code-2.1.0/tests/evals/fixtures/event-pipeline/pkg/parser.py +28 -0
  81. noah_code-2.1.0/tests/evals/fixtures/event-pipeline/pkg/pipeline.py +38 -0
  82. noah_code-2.1.0/tests/evals/fixtures/event-pipeline/pkg/validator.py +41 -0
  83. noah_code-2.1.0/tests/evals/fixtures/event-pipeline/tests/acceptance.py +153 -0
  84. noah_code-2.1.0/tests/evals/tasks.json +85 -0
  85. noah_code-2.1.0/tests/evals/test_evaluate_agents.py +590 -0
  86. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_agent_security.py +63 -0
  87. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_budget.py +49 -10
  88. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_cache_context.py +4 -2
  89. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_checkpoints.py +66 -3
  90. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_cli.py +218 -2
  91. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_codex_client.py +164 -26
  92. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_compaction_eviction.py +28 -0
  93. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_completion_verification.py +14 -11
  94. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_composer.py +61 -0
  95. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_credentials.py +71 -0
  96. noah_code-2.1.0/tests/test_eval_proxy.py +185 -0
  97. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_event_bridge.py +22 -1
  98. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_host.py +97 -28
  99. noah_code-2.1.0/tests/test_lean_reasoning.py +190 -0
  100. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_lifecycle_hooks.py +39 -0
  101. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_llm.py +79 -1
  102. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_llm_replies.py +35 -7
  103. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_lsp_tools.py +199 -0
  104. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_mcp_setup.py +134 -0
  105. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_model_streaming.py +241 -13
  106. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_permissions.py +107 -0
  107. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_persistent_tasks.py +51 -7
  108. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_plan_memory_tools.py +16 -3
  109. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_process_tools.py +76 -0
  110. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_prompt_scorecard.py +14 -10
  111. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_redaction.py +10 -1
  112. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_run_exit.py +9 -6
  113. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_runtime_state.py +54 -5
  114. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_service.py +55 -2
  115. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_sessions.py +85 -0
  116. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_skills_setup.py +56 -1
  117. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_snapshots.py +48 -0
  118. noah_code-2.1.0/tests/test_summarization.py +318 -0
  119. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_task_tools.py +3 -4
  120. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_telemetry.py +33 -0
  121. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_textual_tui.py +312 -0
  122. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_truncated_reply_recovery.py +75 -23
  123. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_review_receipt.py +47 -1
  124. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_updates.py +31 -0
  125. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_verification.py +68 -0
  126. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_verification_completion.py +35 -0
  127. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_wave1_e2e.py +2 -4
  128. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_workspace_tools.py +150 -0
  129. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_worktree.py +51 -0
  130. {noah_code-1.0.0 → noah_code-2.1.0}/uv.lock +779 -157
  131. noah_code-1.0.0/.github/workflows/ci.yml +0 -160
  132. noah_code-1.0.0/src/noah_code/checkpoints.py +0 -349
  133. noah_code-1.0.0/src/noah_code/codex_client.py +0 -335
  134. noah_code-1.0.0/src/noah_code/mcp_setup.py +0 -407
  135. noah_code-1.0.0/src/noah_code/model_streaming.py +0 -275
  136. noah_code-1.0.0/src/noah_code/skills_setup.py +0 -219
  137. noah_code-1.0.0/src/noah_code/snapshots.py +0 -342
  138. noah_code-1.0.0/src/noah_code/summarization.py +0 -129
  139. noah_code-1.0.0/src/noah_code/workspace.py +0 -52
  140. noah_code-1.0.0/src/noah_code/worktree.py +0 -249
  141. noah_code-1.0.0/tests/evals/tasks.json +0 -43
  142. noah_code-1.0.0/tests/evals/test_evaluate_agents.py +0 -259
  143. noah_code-1.0.0/tests/test_eval_proxy.py +0 -87
  144. noah_code-1.0.0/tests/test_lean_reasoning.py +0 -201
  145. noah_code-1.0.0/tests/test_summarization.py +0 -37
  146. {noah_code-1.0.0 → noah_code-2.1.0}/.gitignore +0 -0
  147. {noah_code-1.0.0 → noah_code-2.1.0}/.pre-commit-config.yaml +0 -0
  148. {noah_code-1.0.0 → noah_code-2.1.0}/docs/assets/noah-command-menu.svg +0 -0
  149. {noah_code-1.0.0 → noah_code-2.1.0}/docs/assets/noah-in-action.svg +0 -0
  150. {noah_code-1.0.0 → noah_code-2.1.0}/docs/assets/noah-logo.svg +0 -0
  151. {noah_code-1.0.0 → noah_code-2.1.0}/docs/assets/noah-permissions.svg +0 -0
  152. {noah_code-1.0.0 → noah_code-2.1.0}/docs/browser.md +0 -0
  153. {noah_code-1.0.0 → noah_code-2.1.0}/docs/configuration.md +0 -0
  154. {noah_code-1.0.0 → noah_code-2.1.0}/docs/development.md +0 -0
  155. {noah_code-1.0.0 → noah_code-2.1.0}/docs/evaluation-results.json +0 -0
  156. {noah_code-1.0.0 → noah_code-2.1.0}/docs/evaluation-results.md +0 -0
  157. {noah_code-1.0.0 → noah_code-2.1.0}/docs/evaluation.md +0 -0
  158. {noah_code-1.0.0 → noah_code-2.1.0}/docs/extensions.md +0 -0
  159. {noah_code-1.0.0 → noah_code-2.1.0}/docs/interactive-reference.md +0 -0
  160. {noah_code-1.0.0 → noah_code-2.1.0}/docs/lifecycle-hooks.md +0 -0
  161. {noah_code-1.0.0 → noah_code-2.1.0}/docs/opencode-v2-comparison.md +0 -0
  162. {noah_code-1.0.0 → noah_code-2.1.0}/docs/persistent-tasks.md +0 -0
  163. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.1.0.md +0 -0
  164. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.1.1.md +0 -0
  165. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.2.0.md +0 -0
  166. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.2.1.md +0 -0
  167. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.2.2.md +0 -0
  168. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.2.3.md +0 -0
  169. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.2.4.md +0 -0
  170. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.3.0.md +0 -0
  171. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.4.0.md +0 -0
  172. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.4.1.md +0 -0
  173. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.5.0.md +0 -0
  174. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.5.1.md +0 -0
  175. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.6.0.md +0 -0
  176. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.7.0.md +0 -0
  177. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v0.8.0.md +0 -0
  178. {noah_code-1.0.0 → noah_code-2.1.0}/docs/releases/v1.0.0.md +0 -0
  179. {noah_code-1.0.0 → noah_code-2.1.0}/docs/reliability.md +0 -0
  180. {noah_code-1.0.0 → noah_code-2.1.0}/docs/security.md +0 -0
  181. {noah_code-1.0.0 → noah_code-2.1.0}/docs/service.md +0 -0
  182. {noah_code-1.0.0 → noah_code-2.1.0}/scripts/capture_readme.py +0 -0
  183. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/__main__.py +0 -0
  184. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/approvals.py +0 -0
  185. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/browser.py +0 -0
  186. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/codex_account.py +0 -0
  187. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/events.py +0 -0
  188. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/permission_modes.py +0 -0
  189. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/provider_discovery.py +0 -0
  190. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/providers.py +0 -0
  191. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/secure_files.py +0 -0
  192. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/teams.py +0 -0
  193. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/__init__.py +0 -0
  194. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/tools/media_tools.py +0 -0
  195. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/__init__.py +0 -0
  196. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/command_menu.py +0 -0
  197. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/protocol.py +0 -0
  198. {noah_code-1.0.0 → noah_code-2.1.0}/src/noah_code/ui/team_screen.py +0 -0
  199. {noah_code-1.0.0 → noah_code-2.1.0}/tests/evals/fixtures/config-merge/config_merge.py +0 -0
  200. {noah_code-1.0.0 → noah_code-2.1.0}/tests/evals/fixtures/config-merge/tests/acceptance.py +0 -0
  201. {noah_code-1.0.0 → noah_code-2.1.0}/tests/evals/fixtures/page-ranges/pages.py +0 -0
  202. {noah_code-1.0.0 → noah_code-2.1.0}/tests/evals/fixtures/page-ranges/tests/acceptance.py +0 -0
  203. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_agents.py +0 -0
  204. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_approvals.py +0 -0
  205. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_browser.py +0 -0
  206. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_cell_literal_preservation.py +0 -0
  207. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_codex_account.py +0 -0
  208. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_codex_onboarding_cli.py +0 -0
  209. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_codex_onboarding_tui.py +0 -0
  210. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_commands.py +0 -0
  211. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_config.py +0 -0
  212. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_console_ui.py +0 -0
  213. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_custom_commands.py +0 -0
  214. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_diff_tools.py +0 -0
  215. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_efficiency.py +0 -0
  216. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_event_bridge_and_shell.py +0 -0
  217. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_git_tools.py +0 -0
  218. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_github.py +0 -0
  219. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_hooks.py +0 -0
  220. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_installer.py +0 -0
  221. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_nooa_migration.py +0 -0
  222. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_permission_modes.py +0 -0
  223. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_permission_onboarding_cli.py +0 -0
  224. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_permission_onboarding_tui.py +0 -0
  225. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_project_notes.py +0 -0
  226. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_provider_discovery.py +0 -0
  227. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_providers.py +0 -0
  228. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_python_edit_safety.py +0 -0
  229. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_question_tools.py +0 -0
  230. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_steer.py +0 -0
  231. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_teams.py +0 -0
  232. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tool_contracts.py +0 -0
  233. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tool_output.py +0 -0
  234. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_transport_cli.py +0 -0
  235. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_approvals.py +0 -0
  236. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_command_menu.py +0 -0
  237. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_composer_queue.py +0 -0
  238. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_editing.py +0 -0
  239. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_history_dialogs.py +0 -0
  240. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_layout.py +0 -0
  241. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_tui_teams.py +0 -0
  242. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_verification_tools.py +0 -0
  243. {noah_code-1.0.0 → noah_code-2.1.0}/tests/test_web_tools.py +0 -0
@@ -0,0 +1,60 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: ${{ github.workflow }}-${{ github.ref }}
14
+ cancel-in-progress: true
15
+
16
+ jobs:
17
+ check:
18
+ name: Check
19
+ runs-on: ubuntu-24.04
20
+ timeout-minutes: 20
21
+ steps:
22
+ - name: Check out source
23
+ uses: actions/checkout@v7
24
+ with:
25
+ persist-credentials: false
26
+
27
+ - name: Install uv and Python
28
+ uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
29
+ with:
30
+ enable-cache: true
31
+ python-version: "3.12"
32
+
33
+ - name: Ensure ripgrep
34
+ run: |
35
+ if ! command -v rg >/dev/null 2>&1; then
36
+ sudo apt-get update && sudo apt-get install -y ripgrep
37
+ fi
38
+ rg --version
39
+
40
+ - name: Sync locked environment
41
+ run: uv sync --locked --all-extras --dev
42
+
43
+ - name: Lint and type check
44
+ run: |
45
+ uv run ruff check src tests scripts
46
+ uv run mypy src/noah_code
47
+
48
+ - name: Test with coverage
49
+ run: |
50
+ uv run pytest tests --cov=noah_code --cov-report=term-missing \
51
+ --cov-fail-under=70 -W error::pytest.PytestUnraisableExceptionWarning
52
+
53
+ - name: Build and smoke-test wheel install
54
+ env:
55
+ UV_TOOL_DIR: ${{ runner.temp }}/noah-tools
56
+ UV_TOOL_BIN_DIR: ${{ runner.temp }}/noah-bin
57
+ run: |
58
+ uv build --out-dir build-dist
59
+ uv tool install --python 3.12 --no-build --with 'nooa[mcp,tracing]' build-dist/*.whl
60
+ "${UV_TOOL_BIN_DIR}/noah" --version
@@ -11,7 +11,7 @@ permissions:
11
11
  jobs:
12
12
  build:
13
13
  name: Build and verify distributions
14
- runs-on: ubuntu-latest
14
+ runs-on: ubuntu-24.04
15
15
  steps:
16
16
  - name: Check out tagged source
17
17
  uses: actions/checkout@v7
@@ -22,7 +22,7 @@ jobs:
22
22
  uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
23
23
  with:
24
24
  enable-cache: true
25
- python-version: "3.13"
25
+ python-version: "3.12"
26
26
 
27
27
  - name: Verify tag and package versions
28
28
  env:
@@ -47,20 +47,18 @@ jobs:
47
47
  - name: Install locked dependencies
48
48
  run: uv sync --locked --all-extras --dev
49
49
 
50
- - name: Install ripgrep
50
+ - name: Ensure ripgrep
51
51
  run: |
52
- sudo apt-get update
53
- sudo apt-get install -y ripgrep
52
+ if ! command -v rg >/dev/null 2>&1; then
53
+ sudo apt-get update && sudo apt-get install -y ripgrep
54
+ fi
54
55
  rg --version
55
56
 
56
- - name: Type check
57
- run: uv run mypy src/noah_code
58
-
59
- - name: Run release checks
57
+ - name: Lint, type check, and test
60
58
  run: |
61
- uv run ruff check src tests
59
+ uv run ruff check src tests scripts
60
+ uv run mypy src/noah_code
62
61
  uv run pytest tests -W error::pytest.PytestUnraisableExceptionWarning
63
- uv lock --check
64
62
 
65
63
  - name: Build wheel and source distribution
66
64
  run: uv build
@@ -73,7 +71,7 @@ jobs:
73
71
  UV_TOOL_DIR: ${{ runner.temp }}/noah-tools
74
72
  UV_TOOL_BIN_DIR: ${{ runner.temp }}/noah-bin
75
73
  run: |
76
- uv tool install --managed-python --python 3.12 --no-build --with 'nooa[mcp,tracing]' dist/*.whl
74
+ uv tool install --python 3.12 --no-build --with 'nooa[mcp,tracing]' dist/*.whl
77
75
  "${UV_TOOL_BIN_DIR}/noah" --version
78
76
 
79
77
  - name: Upload release distributions
@@ -87,7 +85,7 @@ jobs:
87
85
  publish-pypi:
88
86
  name: Publish to PyPI
89
87
  needs: build
90
- runs-on: ubuntu-latest
88
+ runs-on: ubuntu-24.04
91
89
  environment:
92
90
  name: pypi
93
91
  url: https://pypi.org/p/noah-code
@@ -108,7 +106,7 @@ jobs:
108
106
  needs:
109
107
  - build
110
108
  - publish-pypi
111
- runs-on: ubuntu-latest
109
+ runs-on: ubuntu-24.04
112
110
  permissions:
113
111
  contents: write
114
112
  id-token: write
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: noah-code
3
- Version: 1.0.0
3
+ Version: 2.1.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
@@ -17,13 +17,14 @@ Classifier: Operating System :: MacOS
17
17
  Classifier: Operating System :: POSIX :: Linux
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
20
21
  Classifier: Topic :: Software Development
21
- Requires-Python: <3.14,>=3.12
22
+ Requires-Python: <3.15,>=3.12
22
23
  Requires-Dist: click<9.0.0,>=8.1.0
23
24
  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
25
+ Requires-Dist: litellm<1.106.0,>=1.97.0
26
+ Requires-Dist: nooa-cli==0.0.12
27
+ Requires-Dist: nooa==0.0.12
27
28
  Requires-Dist: packaging<27.0,>=24.0
28
29
  Requires-Dist: pydantic<3.0.0,>=2.5.0
29
30
  Requires-Dist: pyyaml<7.0.0,>=6.0.0
@@ -39,9 +40,9 @@ Requires-Dist: pytest>=8.0.0; extra == 'dev'
39
40
  Requires-Dist: ruff>=0.8.0; extra == 'dev'
40
41
  Requires-Dist: types-pyyaml>=6.0.12.20260815; extra == 'dev'
41
42
  Provides-Extra: mcp
42
- Requires-Dist: nooa[mcp]==0.0.10; extra == 'mcp'
43
+ Requires-Dist: nooa[mcp]==0.0.12; extra == 'mcp'
43
44
  Provides-Extra: tracing
44
- Requires-Dist: nooa[tracing]==0.0.10; extra == 'tracing'
45
+ Requires-Dist: nooa[tracing]==0.0.12; extra == 'tracing'
45
46
  Requires-Dist: opentelemetry-exporter-otlp-proto-http<2.0.0,>=1.44.0; extra == 'tracing'
46
47
  Description-Content-Type: text/markdown
47
48
 
@@ -198,8 +199,7 @@ noah config show .
198
199
  noah update --check
199
200
  ```
200
201
 
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.
202
+ The package also installs `noah-code` alongside `noah` as an equivalent entry point.
203
203
 
204
204
  ## Inside the TUI
205
205
 
@@ -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
@@ -0,0 +1,44 @@
1
+ # Noah Code v2.1.0
2
+
3
+ Noah Code `v2.1.0` fixes silent functional edge cases across automatic compaction, prompt caching, MCP session pooling, and ACP streaming, scales Git checkpoints and SQLite/undo persistence to large repositories, completes end-to-end isolated worktree workflows, and decomposes the TUI and host runtime.
4
+
5
+ ## Compaction, prompt caching, streaming & MCP persistence
6
+
7
+ - Fixed `CodingSessionSummarizer` automatic background compaction on `nooa==0.0.12` by routing summary forks through `LeanPredictStrategy` (`ISOLATED_PREDICT_CONTEXT`) on `_lightweight_llm`, spilling/evicting oversized unspilled `PythonOutput` payloads, and keeping token-budget subscriptions active across turns.
8
+ - Added `CachedMarkdownBlockFormatter` for the default `"lean"` strategy to partition static system blocks ahead of `CacheBoundary()` and dynamic `<context>` tails, restored `prefix=True` static metadata across SQLite session snapshot restores, and updated `UsageTracker.observe_prefix` to measure cached-prefix stability up to `CacheBoundary`.
9
+ - Added live SSE streaming for OpenAI `ResponsesClient` routes (`with_model_streaming`) and explicit host truncation recovery notices on partial `finish_reason="length"` prose replies.
10
+ - Added persistent task-safe `stdio` MCP session pooling with automatic broken-pipe reconnection, mapped `oauth_scopes` / `oauth_callback_port` to `nooa` OAuth fields, filtered incompatible `nemo.*` built-in skills, and gated `self.skills.activate` fail-closed through the sandbox broker.
11
+ - Added live ACP `agent_thought_chunk` reasoning streaming with committed-event deduplication and non-fatal `replay_gap` handling (`ServiceUI` default replay buffer raised to `4096`).
12
+
13
+ ## Security & sandboxing hardening
14
+
15
+ - Scrubbed `NOAH_CODE_SERVER_TOKEN`, hydrated credentials, and provider preset API keys from child shell sessions, background processes, LSP servers, and lifecycle/tool hooks while preserving in-process `os.environ` hydration; added `build_macos_workspace_command_profile` Seatbelt SBPL generation.
16
+ - Closed unquoted subshell `(...)` and brace-group `{ ...; }` parsing gaps in `PermissionEngine` across all deny, secret-token, env-dump, and interpreter rules; added `bun`, `deno`, `tsx`, `ts-node`, `lua`, and `luajit` interpreter guards; and permitted safe `python -m unittest` runs under `--auto`.
17
+ - Eliminated the runtime `os.umask(0)` race in `WorkspaceTools` via `/proc/self/status` and startup umask capture.
18
+
19
+ ## Performance & large-repository scalability
20
+
21
+ - Upgraded `CheckpointManager.capture()` to `O(changed files)` via shadow-index + stat-sidecar + `git diff-index` delta staging (capping untracked blobs at 20 MB, keeping untracked files unstaged on `restore()`, and cleaning up checkpoint refs on session deletion).
22
+ - Switched `RuntimeStateStore` to a persistent thread-safe SQLite WAL connection (`synchronous=NORMAL`), moved file-journal undo pre/post bytes into content-addressed `<session>/blobs/<sha256>` storage, and buffered JSONL telemetry writes.
23
+ - Kept a persistent `CodexAppServer` per `CodexClient` with cached CLI binary verification, released `BudgetedLLM` locks across network `acall()` requests so parallel subagents (`run_many`, `/team`) execute concurrently, and added RFC 7231 HTTP-date `Retry-After` parsing plus `aclose()` cleanup.
24
+
25
+ ## Verification, repo map, worktrees, service & TUI
26
+
27
+ - Switched foreground `ws.run` to `run_stream` for live output chunks, preserved file-journal `/undo` across clean verification commands, added `/undo --checkpoint`, ignored coverage/build cache artifacts in `CheckLedger` staleness checks, and allowed passing suite checks to supersede prior failed runs of the same `(label, cwd)`.
28
+ - Upgraded `RepositoryMap` with multi-language symbol extraction (Python `Class.method` + params, Rust `pub`/`pub(crate)`, Go receiver methods, TS/JS `export const`, Ruby, Java/C/C++) and cross-file reference centrality ranking.
29
+ - Completed isolated child worktree workflows with `include_dirty` seeding, `task.diff`, journaled `task.apply`, `task.cleanup`, and background subagent `WAIT` wakeups; added canonical Git-toplevel shared (`LOCK_SH`) `plan`-mode workspace leases, `--restrict-workspace` service scoping, lazy CLI startup, and `noah run --attach URL`.
30
+ - Extracted `ui/clipboard.py`, `ui/modals.py`, `ui/diff_screen.py`, and `host_commands.py`; added transcript row-count LRU caching, resize debouncing, wrapped-diff hunk navigation, native PNG clipboard image paste, multi-module evaluation benchmarks (`event-pipeline`, `build-graph`), Python `3.14` packaging metadata (`>=3.12,<3.15`), and streamlined single-job CI.
31
+
32
+ ## Upgrade
33
+
34
+ ```bash
35
+ noah update
36
+ ```
37
+
38
+ Or install directly:
39
+
40
+ ```bash
41
+ curl -LsSf https://github.com/skundu42/noah-code/releases/latest/download/install.sh | sh
42
+ ```
43
+
44
+ **Full changelog:** https://github.com/skundu42/noah-code/compare/v2.0.0...v2.1.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,9 +1,9 @@
1
1
  [project]
2
2
  name = "noah-code"
3
- version = "1.0.0"
3
+ version = "2.1.0"
4
4
  description = "Noah Code terminal coding agent, built on NVIDIA OO Agents (NOOA)"
5
5
  readme = "README.md"
6
- requires-python = ">=3.12,<3.14"
6
+ requires-python = ">=3.12,<3.15"
7
7
  license = { text = "Apache-2.0" }
8
8
  authors = [{ name = "noah-code contributors" }]
9
9
  keywords = ["agents", "coding", "nooa", "terminal"]
@@ -15,16 +15,17 @@ classifiers = [
15
15
  "Operating System :: POSIX :: Linux",
16
16
  "Programming Language :: Python :: 3.12",
17
17
  "Programming Language :: Python :: 3.13",
18
+ "Programming Language :: Python :: 3.14",
18
19
  "Topic :: Software Development",
19
20
  ]
20
21
 
21
22
  dependencies = [
22
- "nooa==0.0.10",
23
- "nooa-cli==0.0.10",
23
+ "nooa==0.0.12",
24
+ "nooa-cli==0.0.12",
24
25
  # LiteLLM 1.92.0-1.95.x intermittently shipped without macOS wheels,
25
26
  # forcing a Rust source build. Wheels are back for every release since
26
27
  # 1.96.0 (abi3 since 1.96.2), so the installer stays binary-only.
27
- "litellm>=1.96.0,<1.99.0",
28
+ "litellm>=1.97.0,<1.106.0",
28
29
  # Upper bounds guard fresh end-user installs (uv tool install / pip),
29
30
  # which ignore uv.lock; caps always admit the currently locked versions.
30
31
  "click>=8.1.0,<9.0.0",
@@ -55,16 +56,15 @@ dev = [
55
56
  "types-pyyaml>=6.0.12.20260815",
56
57
  ]
57
58
  mcp = [
58
- "nooa[mcp]==0.0.10",
59
+ "nooa[mcp]==0.0.12",
59
60
  ]
60
61
  tracing = [
61
- "nooa[tracing]==0.0.10",
62
+ "nooa[tracing]==0.0.12",
62
63
  "opentelemetry-exporter-otlp-proto-http>=1.44.0,<2.0.0",
63
64
  ]
64
65
 
65
66
  [project.scripts]
66
67
  noah-code = "noah_code.cli:main"
67
- nc = "noah_code.cli:main"
68
68
  noah = "noah_code.cli:main"
69
69
 
70
70
  [build-system]