koder 0.6.3__tar.gz → 0.7.1__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 (884) hide show
  1. koder-0.7.1/.gitignore +214 -0
  2. koder-0.7.1/PKG-INFO +485 -0
  3. koder-0.7.1/README.md +432 -0
  4. koder-0.7.1/koder_agent/__init__.py +23 -0
  5. koder-0.7.1/koder_agent/agentic/agent.py +1704 -0
  6. koder-0.7.1/koder_agent/agentic/api_errors.py +162 -0
  7. koder-0.7.1/koder_agent/agentic/approval_hooks.py +207 -0
  8. koder-0.7.1/koder_agent/agentic/call_ids.py +84 -0
  9. koder-0.7.1/koder_agent/agentic/hooks.py +173 -0
  10. koder-0.7.1/koder_agent/agentic/oauth_model.py +547 -0
  11. koder-0.7.1/koder_agent/agentic/prefix_diagnostics.py +420 -0
  12. koder-0.7.1/koder_agent/agentic/prompt_cache.py +556 -0
  13. koder-0.7.1/koder_agent/agentic/prompt_render.py +1028 -0
  14. koder-0.7.1/koder_agent/agentic/request_context.py +797 -0
  15. koder-0.7.1/koder_agent/agentic/responses_compat.py +158 -0
  16. koder-0.7.1/koder_agent/auth/base.py +374 -0
  17. koder-0.7.1/koder_agent/auth/callback_server.py +297 -0
  18. koder-0.7.1/koder_agent/auth/client_integration.py +379 -0
  19. koder-0.7.1/koder_agent/auth/constants.py +236 -0
  20. koder-0.7.1/koder_agent/auth/copilot_cache.py +213 -0
  21. koder-0.7.1/koder_agent/auth/copilot_fallback.py +320 -0
  22. koder-0.7.1/koder_agent/auth/copilot_model.py +350 -0
  23. koder-0.7.1/koder_agent/auth/copilot_native.py +360 -0
  24. koder-0.7.1/koder_agent/auth/copilot_refresh.py +54 -0
  25. koder-0.7.1/koder_agent/auth/copilot_session.py +264 -0
  26. koder-0.7.1/koder_agent/auth/github_copilot.py +243 -0
  27. koder-0.7.1/koder_agent/auth/keychain_backend.py +283 -0
  28. koder-0.7.1/koder_agent/auth/legacy_session.py +252 -0
  29. koder-0.7.1/koder_agent/auth/oauth_routing.py +224 -0
  30. koder-0.7.1/koder_agent/auth/oauth_session.py +884 -0
  31. koder-0.7.1/koder_agent/auth/oauth_vault.py +653 -0
  32. koder-0.7.1/koder_agent/auth/provider_leases.py +250 -0
  33. koder-0.7.1/koder_agent/auth/providers/__init__.py +238 -0
  34. koder-0.7.1/koder_agent/auth/providers/antigravity.py +1418 -0
  35. koder-0.7.1/koder_agent/auth/providers/chatgpt.py +1200 -0
  36. koder-0.7.1/koder_agent/auth/providers/claude.py +842 -0
  37. koder-0.7.1/koder_agent/auth/providers/google.py +899 -0
  38. koder-0.7.1/koder_agent/auth/secure_storage.py +173 -0
  39. koder-0.7.1/koder_agent/auth/token_storage.py +346 -0
  40. koder-0.7.1/koder_agent/auth/tool_utils.py +2743 -0
  41. koder-0.7.1/koder_agent/auth/vault.py +532 -0
  42. koder-0.7.1/koder_agent/cli.py +703 -0
  43. koder-0.7.1/koder_agent/config/manager.py +133 -0
  44. koder-0.7.1/koder_agent/config/models.py +197 -0
  45. koder-0.7.1/koder_agent/core/at_completer.py +225 -0
  46. koder-0.7.1/koder_agent/core/display_context.py +145 -0
  47. koder-0.7.1/koder_agent/core/goal_prompts.py +122 -0
  48. koder-0.7.1/koder_agent/core/goals.py +578 -0
  49. koder-0.7.1/koder_agent/core/interactive.py +1829 -0
  50. koder-0.7.1/koder_agent/core/keybindings.py +182 -0
  51. koder-0.7.1/koder_agent/core/legacy_sessions.py +135 -0
  52. koder-0.7.1/koder_agent/core/notifications.py +68 -0
  53. koder-0.7.1/koder_agent/core/queued_input.py +616 -0
  54. koder-0.7.1/koder_agent/core/scheduler.py +4115 -0
  55. koder-0.7.1/koder_agent/core/session.py +1267 -0
  56. koder-0.7.1/koder_agent/core/shell_completer.py +114 -0
  57. koder-0.7.1/koder_agent/core/status_line.py +892 -0
  58. koder-0.7.1/koder_agent/core/streaming_display.py +1666 -0
  59. koder-0.7.1/koder_agent/core/terminal_reflow.py +79 -0
  60. koder-0.7.1/koder_agent/core/tool_interruption.py +23 -0
  61. koder-0.7.1/koder_agent/core/turn_cancellation.py +110 -0
  62. koder-0.7.1/koder_agent/core/usage_accounting.py +645 -0
  63. koder-0.7.1/koder_agent/core/usage_collector.py +641 -0
  64. koder-0.7.1/koder_agent/core/usage_tracker.py +1355 -0
  65. koder-0.7.1/koder_agent/core/working_indicator.py +334 -0
  66. koder-0.7.1/koder_agent/data/model_prices_and_context_window.json +75784 -0
  67. koder-0.7.1/koder_agent/harness/agents/definitions.py +990 -0
  68. koder-0.7.1/koder_agent/harness/agents/hooks.py +303 -0
  69. koder-0.7.1/koder_agent/harness/agents/models.py +96 -0
  70. koder-0.7.1/koder_agent/harness/agents/native_graph.py +482 -0
  71. koder-0.7.1/koder_agent/harness/agents/runtime_context.py +139 -0
  72. koder-0.7.1/koder_agent/harness/agents/service.py +1964 -0
  73. koder-0.7.1/koder_agent/harness/agents/summary.py +60 -0
  74. koder-0.7.1/koder_agent/harness/agents/teams/in_process.py +542 -0
  75. koder-0.7.1/koder_agent/harness/agents/teams/models.py +129 -0
  76. koder-0.7.1/koder_agent/harness/agents/teams/service.py +864 -0
  77. koder-0.7.1/koder_agent/harness/agents/teams/task_service.py +580 -0
  78. koder-0.7.1/koder_agent/harness/agents/teams/tmux_backend.py +257 -0
  79. koder-0.7.1/koder_agent/harness/agents/teams/tool_runtime.py +130 -0
  80. koder-0.7.1/koder_agent/harness/auth/commands.py +836 -0
  81. koder-0.7.1/koder_agent/harness/auth/mcp_sources.py +155 -0
  82. koder-0.7.1/koder_agent/harness/auth/provider_vault.py +73 -0
  83. koder-0.7.1/koder_agent/harness/auth/vault_commands.py +404 -0
  84. koder-0.7.1/koder_agent/harness/channels/admission.py +73 -0
  85. koder-0.7.1/koder_agent/harness/channels/gate.py +114 -0
  86. koder-0.7.1/koder_agent/harness/channels/inbox.py +430 -0
  87. koder-0.7.1/koder_agent/harness/channels/interceptor.py +130 -0
  88. koder-0.7.1/koder_agent/harness/channels/notification.py +194 -0
  89. koder-0.7.1/koder_agent/harness/channels/permissions.py +187 -0
  90. koder-0.7.1/koder_agent/harness/channels/state.py +75 -0
  91. koder-0.7.1/koder_agent/harness/checkpoint.py +422 -0
  92. koder-0.7.1/koder_agent/harness/cli/completion.py +168 -0
  93. koder-0.7.1/koder_agent/harness/cli/entrypoint.py +131 -0
  94. koder-0.7.1/koder_agent/harness/cli/headless.py +72 -0
  95. koder-0.7.1/koder_agent/harness/cli/sandbox_serve.py +325 -0
  96. koder-0.7.1/koder_agent/harness/code_intelligence.py +592 -0
  97. koder-0.7.1/koder_agent/harness/commands/agents_view.py +168 -0
  98. koder-0.7.1/koder_agent/harness/commands/builtins/config_commands.py +12 -0
  99. koder-0.7.1/koder_agent/harness/commands/builtins/inspection_commands.py +11 -0
  100. koder-0.7.1/koder_agent/harness/commands/builtins/plugin_commands.py +8 -0
  101. koder-0.7.1/koder_agent/harness/commands/builtins/runtime_commands.py +31 -0
  102. koder-0.7.1/koder_agent/harness/commands/builtins/session_commands.py +21 -0
  103. koder-0.7.1/koder_agent/harness/commands/builtins/workflow_review_commands.py +15 -0
  104. koder-0.7.1/koder_agent/harness/commands/builtins/workflow_state_commands.py +8 -0
  105. koder-0.7.1/koder_agent/harness/commands/interactive.py +5660 -0
  106. koder-0.7.1/koder_agent/harness/commands/internal/debug_commands.py +3 -0
  107. koder-0.7.1/koder_agent/harness/commands/internal/diagnostic_commands.py +5 -0
  108. koder-0.7.1/koder_agent/harness/commands/next_view.py +169 -0
  109. koder-0.7.1/koder_agent/harness/commands/pr_comments.py +198 -0
  110. koder-0.7.1/koder_agent/harness/commands/prompt_commands.py +40 -0
  111. koder-0.7.1/koder_agent/harness/commands/registry.py +84 -0
  112. koder-0.7.1/koder_agent/harness/commands/review_context.py +120 -0
  113. koder-0.7.1/koder_agent/harness/commands/sandbox_control.py +1202 -0
  114. koder-0.7.1/koder_agent/harness/commands/workflow_helpers.py +46 -0
  115. koder-0.7.1/koder_agent/harness/config/backup.py +19 -0
  116. koder-0.7.1/koder_agent/harness/config/commands.py +302 -0
  117. koder-0.7.1/koder_agent/harness/config/migration.py +36 -0
  118. koder-0.7.1/koder_agent/harness/config/schema.py +149 -0
  119. koder-0.7.1/koder_agent/harness/config/service.py +168 -0
  120. koder-0.7.1/koder_agent/harness/config/settings_bundle.py +403 -0
  121. koder-0.7.1/koder_agent/harness/cron/loop.py +171 -0
  122. koder-0.7.1/koder_agent/harness/cron/runtime.py +169 -0
  123. koder-0.7.1/koder_agent/harness/cron/scheduler.py +140 -0
  124. koder-0.7.1/koder_agent/harness/cron/storage.py +202 -0
  125. koder-0.7.1/koder_agent/harness/diagnostics.py +136 -0
  126. koder-0.7.1/koder_agent/harness/execution_context.py +87 -0
  127. koder-0.7.1/koder_agent/harness/hooks/command_process.py +94 -0
  128. koder-0.7.1/koder_agent/harness/hooks/runtime.py +1600 -0
  129. koder-0.7.1/koder_agent/harness/instructions.py +93 -0
  130. koder-0.7.1/koder_agent/harness/memory/budget.py +483 -0
  131. koder-0.7.1/koder_agent/harness/memory/compact.py +834 -0
  132. koder-0.7.1/koder_agent/harness/memory/extraction.py +211 -0
  133. koder-0.7.1/koder_agent/harness/memory/micro_compact.py +161 -0
  134. koder-0.7.1/koder_agent/harness/memory/recovery.py +136 -0
  135. koder-0.7.1/koder_agent/harness/memory/storage_policy.py +93 -0
  136. koder-0.7.1/koder_agent/harness/memory/transcript_store.py +171 -0
  137. koder-0.7.1/koder_agent/harness/permissions/ai_classifier.py +143 -0
  138. koder-0.7.1/koder_agent/harness/permissions/interactive_approver.py +502 -0
  139. koder-0.7.1/koder_agent/harness/permissions/modes.py +43 -0
  140. koder-0.7.1/koder_agent/harness/permissions/path_policy.py +282 -0
  141. koder-0.7.1/koder_agent/harness/permissions/propagation.py +24 -0
  142. koder-0.7.1/koder_agent/harness/permissions/rule_sources.py +244 -0
  143. koder-0.7.1/koder_agent/harness/permissions/rules.py +240 -0
  144. koder-0.7.1/koder_agent/harness/permissions/sed_classifier.py +201 -0
  145. koder-0.7.1/koder_agent/harness/permissions/service.py +811 -0
  146. koder-0.7.1/koder_agent/harness/permissions/shell_classifier.py +735 -0
  147. koder-0.7.1/koder_agent/harness/permissions/shell_runners.py +153 -0
  148. koder-0.7.1/koder_agent/harness/permissions/shell_segments.py +147 -0
  149. koder-0.7.1/koder_agent/harness/permissions/tool_arguments.py +120 -0
  150. koder-0.7.1/koder_agent/harness/plugins/commands.py +228 -0
  151. koder-0.7.1/koder_agent/harness/plugins/context.py +41 -0
  152. koder-0.7.1/koder_agent/harness/plugins/lifecycle.py +671 -0
  153. koder-0.7.1/koder_agent/harness/plugins/marketplace.py +393 -0
  154. koder-0.7.1/koder_agent/harness/plugins/state.py +268 -0
  155. koder-0.7.1/koder_agent/harness/pr_status.py +317 -0
  156. koder-0.7.1/koder_agent/harness/prompt_context.py +301 -0
  157. koder-0.7.1/koder_agent/harness/prompt_suggestion.py +405 -0
  158. koder-0.7.1/koder_agent/harness/review_flow.py +379 -0
  159. koder-0.7.1/koder_agent/harness/runtime.py +161 -0
  160. koder-0.7.1/koder_agent/harness/sandbox/apple_container_control.py +752 -0
  161. koder-0.7.1/koder_agent/harness/sandbox/apple_container_sdk.py +496 -0
  162. koder-0.7.1/koder_agent/harness/sandbox/artifact_catalog.py +494 -0
  163. koder-0.7.1/koder_agent/harness/sandbox/artifacts.py +459 -0
  164. koder-0.7.1/koder_agent/harness/sandbox/audit.py +387 -0
  165. koder-0.7.1/koder_agent/harness/sandbox/auth_runtime.py +170 -0
  166. koder-0.7.1/koder_agent/harness/sandbox/auth_transition.py +366 -0
  167. koder-0.7.1/koder_agent/harness/sandbox/authority.py +316 -0
  168. koder-0.7.1/koder_agent/harness/sandbox/backend_control.py +474 -0
  169. koder-0.7.1/koder_agent/harness/sandbox/blaxel_control.py +1076 -0
  170. koder-0.7.1/koder_agent/harness/sandbox/blaxel_stdio.py +283 -0
  171. koder-0.7.1/koder_agent/harness/sandbox/capabilities.py +1533 -0
  172. koder-0.7.1/koder_agent/harness/sandbox/capability_refresh.py +1433 -0
  173. koder-0.7.1/koder_agent/harness/sandbox/capability_update.py +393 -0
  174. koder-0.7.1/koder_agent/harness/sandbox/cleanup.py +15 -0
  175. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/README.md +51 -0
  176. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/__init__.py +1 -0
  177. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/assets.d.ts +4 -0
  178. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/control.ts +950 -0
  179. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/launcher.py +394 -0
  180. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/upstream.patch +48 -0
  181. koder-0.7.1/koder_agent/harness/sandbox/cloudflare_control.py +1217 -0
  182. koder-0.7.1/koder_agent/harness/sandbox/command_environment.py +130 -0
  183. koder-0.7.1/koder_agent/harness/sandbox/command_timeout.py +37 -0
  184. koder-0.7.1/koder_agent/harness/sandbox/compaction.py +231 -0
  185. koder-0.7.1/koder_agent/harness/sandbox/composition.py +804 -0
  186. koder-0.7.1/koder_agent/harness/sandbox/config.py +1063 -0
  187. koder-0.7.1/koder_agent/harness/sandbox/configuration_update.py +604 -0
  188. koder-0.7.1/koder_agent/harness/sandbox/conformance/__init__.py +1 -0
  189. koder-0.7.1/koder_agent/harness/sandbox/conformance/contracts.py +221 -0
  190. koder-0.7.1/koder_agent/harness/sandbox/conformance/tls_fixture.py +475 -0
  191. koder-0.7.1/koder_agent/harness/sandbox/content.py +247 -0
  192. koder-0.7.1/koder_agent/harness/sandbox/control.py +1944 -0
  193. koder-0.7.1/koder_agent/harness/sandbox/coverage.py +55 -0
  194. koder-0.7.1/koder_agent/harness/sandbox/credential_approval.py +190 -0
  195. koder-0.7.1/koder_agent/harness/sandbox/daytona_control.py +1024 -0
  196. koder-0.7.1/koder_agent/harness/sandbox/daytona_stdio.py +345 -0
  197. koder-0.7.1/koder_agent/harness/sandbox/daytona_stdio_guest.py +120 -0
  198. koder-0.7.1/koder_agent/harness/sandbox/directory_refresh.py +618 -0
  199. koder-0.7.1/koder_agent/harness/sandbox/docker_control.py +1764 -0
  200. koder-0.7.1/koder_agent/harness/sandbox/e2b_compat.py +45 -0
  201. koder-0.7.1/koder_agent/harness/sandbox/e2b_control.py +1195 -0
  202. koder-0.7.1/koder_agent/harness/sandbox/e2b_stdio.py +218 -0
  203. koder-0.7.1/koder_agent/harness/sandbox/egress.py +2526 -0
  204. koder-0.7.1/koder_agent/harness/sandbox/egress_inspector.py +374 -0
  205. koder-0.7.1/koder_agent/harness/sandbox/enforcement.py +365 -0
  206. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/__init__.py +1 -0
  207. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/codex.py +621 -0
  208. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/guest.py +276 -0
  209. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/process.py +129 -0
  210. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/proxy_profile.py +333 -0
  211. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/server.py +651 -0
  212. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/validation.py +142 -0
  213. koder-0.7.1/koder_agent/harness/sandbox/external_protocol/workspace.py +360 -0
  214. koder-0.7.1/koder_agent/harness/sandbox/file_bridge.py +907 -0
  215. koder-0.7.1/koder_agent/harness/sandbox/gateway.py +280 -0
  216. koder-0.7.1/koder_agent/harness/sandbox/git_apply.py +385 -0
  217. koder-0.7.1/koder_agent/harness/sandbox/git_entry.py +71 -0
  218. koder-0.7.1/koder_agent/harness/sandbox/git_materialization.py +316 -0
  219. koder-0.7.1/koder_agent/harness/sandbox/git_preparation.py +240 -0
  220. koder-0.7.1/koder_agent/harness/sandbox/git_refresh.py +375 -0
  221. koder-0.7.1/koder_agent/harness/sandbox/git_views.py +133 -0
  222. koder-0.7.1/koder_agent/harness/sandbox/guest_cgroup.py +114 -0
  223. koder-0.7.1/koder_agent/harness/sandbox/guest_file_io.py +149 -0
  224. koder-0.7.1/koder_agent/harness/sandbox/http2_client.py +304 -0
  225. koder-0.7.1/koder_agent/harness/sandbox/http2_server.py +555 -0
  226. koder-0.7.1/koder_agent/harness/sandbox/input_migration.py +243 -0
  227. koder-0.7.1/koder_agent/harness/sandbox/input_refresh.py +926 -0
  228. koder-0.7.1/koder_agent/harness/sandbox/macos_control.py +1680 -0
  229. koder-0.7.1/koder_agent/harness/sandbox/macos_native/README.md +44 -0
  230. koder-0.7.1/koder_agent/harness/sandbox/macos_native/domain.h +110 -0
  231. koder-0.7.1/koder_agent/harness/sandbox/macos_native/domain.mm +745 -0
  232. koder-0.7.1/koder_agent/harness/sandbox/macos_native/runner.c +63 -0
  233. koder-0.7.1/koder_agent/harness/sandbox/macos_process.py +389 -0
  234. koder-0.7.1/koder_agent/harness/sandbox/maintenance.py +515 -0
  235. koder-0.7.1/koder_agent/harness/sandbox/manifest.py +503 -0
  236. koder-0.7.1/koder_agent/harness/sandbox/mcp_auth.py +554 -0
  237. koder-0.7.1/koder_agent/harness/sandbox/mcp_file_bridge.py +190 -0
  238. koder-0.7.1/koder_agent/harness/sandbox/memory.py +583 -0
  239. koder-0.7.1/koder_agent/harness/sandbox/modal_control.py +877 -0
  240. koder-0.7.1/koder_agent/harness/sandbox/modal_stdio.py +176 -0
  241. koder-0.7.1/koder_agent/harness/sandbox/native_commands.py +189 -0
  242. koder-0.7.1/koder_agent/harness/sandbox/network_allowance.py +216 -0
  243. koder-0.7.1/koder_agent/harness/sandbox/output_artifacts.py +862 -0
  244. koder-0.7.1/koder_agent/harness/sandbox/package_preparation.py +684 -0
  245. koder-0.7.1/koder_agent/harness/sandbox/package_refresh_runtime.py +157 -0
  246. koder-0.7.1/koder_agent/harness/sandbox/path_arguments.py +35 -0
  247. koder-0.7.1/koder_agent/harness/sandbox/policy.py +245 -0
  248. koder-0.7.1/koder_agent/harness/sandbox/process_domain.py +276 -0
  249. koder-0.7.1/koder_agent/harness/sandbox/profile.py +104 -0
  250. koder-0.7.1/koder_agent/harness/sandbox/provider_auth.py +555 -0
  251. koder-0.7.1/koder_agent/harness/sandbox/provider_options.py +145 -0
  252. koder-0.7.1/koder_agent/harness/sandbox/proxy.py +1576 -0
  253. koder-0.7.1/koder_agent/harness/sandbox/proxy_relay.py +483 -0
  254. koder-0.7.1/koder_agent/harness/sandbox/quicksand_control.py +1185 -0
  255. koder-0.7.1/koder_agent/harness/sandbox/quicksand_images.py +603 -0
  256. koder-0.7.1/koder_agent/harness/sandbox/quicksand_platform.py +108 -0
  257. koder-0.7.1/koder_agent/harness/sandbox/quicksand_rpc.py +430 -0
  258. koder-0.7.1/koder_agent/harness/sandbox/quicksand_sdk.py +752 -0
  259. koder-0.7.1/koder_agent/harness/sandbox/recovery.py +564 -0
  260. koder-0.7.1/koder_agent/harness/sandbox/registry.py +538 -0
  261. koder-0.7.1/koder_agent/harness/sandbox/replacement_auth.py +83 -0
  262. koder-0.7.1/koder_agent/harness/sandbox/run_state.py +229 -0
  263. koder-0.7.1/koder_agent/harness/sandbox/runtime_inputs.py +66 -0
  264. koder-0.7.1/koder_agent/harness/sandbox/sdk_backend.py +259 -0
  265. koder-0.7.1/koder_agent/harness/sandbox/sdk_binding.py +4088 -0
  266. koder-0.7.1/koder_agent/harness/sandbox/sessions.py +349 -0
  267. koder-0.7.1/koder_agent/harness/sandbox/setup_commands.py +94 -0
  268. koder-0.7.1/koder_agent/harness/sandbox/setup_fetch.py +507 -0
  269. koder-0.7.1/koder_agent/harness/sandbox/sigv4.py +97 -0
  270. koder-0.7.1/koder_agent/harness/sandbox/skills.py +580 -0
  271. koder-0.7.1/koder_agent/harness/sandbox/snapshots.py +189 -0
  272. koder-0.7.1/koder_agent/harness/sandbox/source_update.py +915 -0
  273. koder-0.7.1/koder_agent/harness/sandbox/state_store.py +90 -0
  274. koder-0.7.1/koder_agent/harness/sandbox/tls_hello.py +195 -0
  275. koder-0.7.1/koder_agent/harness/sandbox/tls_stream.py +279 -0
  276. koder-0.7.1/koder_agent/harness/sandbox/unix_compat.py +66 -0
  277. koder-0.7.1/koder_agent/harness/sandbox/vercel_control.py +1062 -0
  278. koder-0.7.1/koder_agent/harness/sandbox/vercel_stdio.py +206 -0
  279. koder-0.7.1/koder_agent/harness/sandbox/websocket.py +431 -0
  280. koder-0.7.1/koder_agent/harness/sandbox/workspace.py +291 -0
  281. koder-0.7.1/koder_agent/harness/sandbox/workspace_io.py +603 -0
  282. koder-0.7.1/koder_agent/harness/sandbox/workspace_stdio.py +21 -0
  283. koder-0.7.1/koder_agent/harness/sandbox_settings.py +505 -0
  284. koder-0.7.1/koder_agent/harness/session_env.py +248 -0
  285. koder-0.7.1/koder_agent/harness/session_flow.py +3378 -0
  286. koder-0.7.1/koder_agent/harness/session_presence.py +171 -0
  287. koder-0.7.1/koder_agent/harness/skills/bundled.py +145 -0
  288. koder-0.7.1/koder_agent/harness/skills/bundled_skills/batch/worker-brief.md +31 -0
  289. koder-0.7.1/koder_agent/harness/skills/bundled_skills/batch.md +66 -0
  290. koder-0.7.1/koder_agent/harness/skills/bundled_skills/code-review/finders.md +73 -0
  291. koder-0.7.1/koder_agent/harness/skills/bundled_skills/code-review.md +88 -0
  292. koder-0.7.1/koder_agent/harness/skills/bundled_skills/debug.md +62 -0
  293. koder-0.7.1/koder_agent/harness/skills/bundled_skills/init.md +53 -0
  294. koder-0.7.1/koder_agent/harness/skills/bundled_skills/remember.md +57 -0
  295. koder-0.7.1/koder_agent/harness/skills/bundled_skills/review-spec/reviewers.md +34 -0
  296. koder-0.7.1/koder_agent/harness/skills/bundled_skills/review-spec.md +74 -0
  297. koder-0.7.1/koder_agent/harness/skills/bundled_skills/run/project-types.md +67 -0
  298. koder-0.7.1/koder_agent/harness/skills/bundled_skills/run.md +63 -0
  299. koder-0.7.1/koder_agent/harness/skills/bundled_skills/security-review.md +106 -0
  300. koder-0.7.1/koder_agent/harness/skills/bundled_skills/simplify/angles.md +34 -0
  301. koder-0.7.1/koder_agent/harness/skills/bundled_skills/simplify.md +57 -0
  302. koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/history-query.md +42 -0
  303. koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/permission-prompts.md +87 -0
  304. koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/settings-reference.md +101 -0
  305. koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/statusline.md +46 -0
  306. koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config.md +84 -0
  307. koder-0.7.1/koder_agent/harness/skills/bundled_skills/verify.md +102 -0
  308. koder-0.7.1/koder_agent/harness/skills/discovery.py +84 -0
  309. koder-0.7.1/koder_agent/harness/tasks/storage.py +370 -0
  310. koder-0.7.1/koder_agent/harness/termination.py +110 -0
  311. koder-0.7.1/koder_agent/harness/tools/mcp_ops.py +152 -0
  312. koder-0.7.1/koder_agent/harness/tools/registry.py +1274 -0
  313. koder-0.7.1/koder_agent/harness/tools/shell_executor.py +986 -0
  314. koder-0.7.1/koder_agent/harness/version_info.py +166 -0
  315. koder-0.7.1/koder_agent/harness/voice/__init__.py +24 -0
  316. koder-0.7.1/koder_agent/harness/voice/service.py +585 -0
  317. koder-0.7.1/koder_agent/harness/worktree/service.py +275 -0
  318. koder-0.7.1/koder_agent/litellm_cost_map.py +177 -0
  319. koder-0.7.1/koder_agent/mcp/__init__.py +1350 -0
  320. koder-0.7.1/koder_agent/mcp/connection.py +94 -0
  321. koder-0.7.1/koder_agent/mcp/elicitation.py +400 -0
  322. koder-0.7.1/koder_agent/mcp/file_adapters.py +215 -0
  323. koder-0.7.1/koder_agent/mcp/file_bridge_call.py +199 -0
  324. koder-0.7.1/koder_agent/mcp/iterators.py +26 -0
  325. koder-0.7.1/koder_agent/mcp/legacy_consumers.py +131 -0
  326. koder-0.7.1/koder_agent/mcp/limits.py +162 -0
  327. koder-0.7.1/koder_agent/mcp/managed_http.py +189 -0
  328. koder-0.7.1/koder_agent/mcp/notifications.py +95 -0
  329. koder-0.7.1/koder_agent/mcp/oauth.py +2051 -0
  330. koder-0.7.1/koder_agent/mcp/oauth_leases.py +192 -0
  331. koder-0.7.1/koder_agent/mcp/oauth_session.py +822 -0
  332. koder-0.7.1/koder_agent/mcp/oauth_vault.py +700 -0
  333. koder-0.7.1/koder_agent/mcp/reauthorization.py +220 -0
  334. koder-0.7.1/koder_agent/mcp/reconnection.py +1193 -0
  335. koder-0.7.1/koder_agent/mcp/runtime_authorization.py +826 -0
  336. koder-0.7.1/koder_agent/mcp/sandbox.py +245 -0
  337. koder-0.7.1/koder_agent/mcp/serve.py +141 -0
  338. koder-0.7.1/koder_agent/mcp/server_config.py +286 -0
  339. koder-0.7.1/koder_agent/mcp/server_factory.py +977 -0
  340. koder-0.7.1/koder_agent/mcp/server_manager.py +973 -0
  341. koder-0.7.1/koder_agent/mcp/workspace_transport.py +233 -0
  342. koder-0.7.1/koder_agent/providers/compat.py +44 -0
  343. koder-0.7.1/koder_agent/providers/stream_integrity.py +95 -0
  344. koder-0.7.1/koder_agent/tools/__init__.py +306 -0
  345. koder-0.7.1/koder_agent/tools/agent.py +408 -0
  346. koder-0.7.1/koder_agent/tools/ask_user.py +163 -0
  347. koder-0.7.1/koder_agent/tools/compat.py +431 -0
  348. koder-0.7.1/koder_agent/tools/engine.py +30 -0
  349. koder-0.7.1/koder_agent/tools/file.py +886 -0
  350. koder-0.7.1/koder_agent/tools/file_state.py +158 -0
  351. koder-0.7.1/koder_agent/tools/fork_agent.py +431 -0
  352. koder-0.7.1/koder_agent/tools/goal.py +207 -0
  353. koder-0.7.1/koder_agent/tools/mcp_resource.py +84 -0
  354. koder-0.7.1/koder_agent/tools/notebook_edit.py +97 -0
  355. koder-0.7.1/koder_agent/tools/permission_context.py +676 -0
  356. koder-0.7.1/koder_agent/tools/powershell.py +98 -0
  357. koder-0.7.1/koder_agent/tools/search.py +338 -0
  358. koder-0.7.1/koder_agent/tools/send_message.py +191 -0
  359. koder-0.7.1/koder_agent/tools/shell.py +619 -0
  360. koder-0.7.1/koder_agent/tools/skill.py +1104 -0
  361. koder-0.7.1/koder_agent/tools/skill_context.py +616 -0
  362. koder-0.7.1/koder_agent/tools/structured_output.py +54 -0
  363. koder-0.7.1/koder_agent/tools/task.py +729 -0
  364. koder-0.7.1/koder_agent/tools/task_lifecycle.py +252 -0
  365. koder-0.7.1/koder_agent/tools/team.py +133 -0
  366. koder-0.7.1/koder_agent/tools/todo.py +155 -0
  367. koder-0.7.1/koder_agent/tools/tool_search.py +141 -0
  368. koder-0.7.1/koder_agent/tools/web.py +131 -0
  369. koder-0.7.1/koder_agent/tools/worktree.py +1714 -0
  370. koder-0.7.1/koder_agent/ui/__init__.py +1 -0
  371. koder-0.7.1/koder_agent/ui/adapters.py +678 -0
  372. koder-0.7.1/koder_agent/ui/chrome.py +98 -0
  373. koder-0.7.1/koder_agent/ui/completion.py +235 -0
  374. koder-0.7.1/koder_agent/ui/contracts.py +166 -0
  375. koder-0.7.1/koder_agent/ui/copy.py +100 -0
  376. koder-0.7.1/koder_agent/ui/frontend.py +64 -0
  377. koder-0.7.1/koder_agent/ui/history_view.py +118 -0
  378. koder-0.7.1/koder_agent/ui/host.py +2173 -0
  379. koder-0.7.1/koder_agent/ui/interactions.py +230 -0
  380. koder-0.7.1/koder_agent/ui/markdown.py +678 -0
  381. koder-0.7.1/koder_agent/ui/output.py +232 -0
  382. koder-0.7.1/koder_agent/ui/panels/__init__.py +1 -0
  383. koder-0.7.1/koder_agent/ui/panels/agents.py +239 -0
  384. koder-0.7.1/koder_agent/ui/panels/approvals.py +647 -0
  385. koder-0.7.1/koder_agent/ui/panels/diff.py +333 -0
  386. koder-0.7.1/koder_agent/ui/panels/todo.py +89 -0
  387. koder-0.7.1/koder_agent/ui/panels/tools.py +882 -0
  388. koder-0.7.1/koder_agent/ui/paste.py +84 -0
  389. koder-0.7.1/koder_agent/ui/render_cache.py +127 -0
  390. koder-0.7.1/koder_agent/ui/segments.py +225 -0
  391. koder-0.7.1/koder_agent/ui/selection.py +118 -0
  392. koder-0.7.1/koder_agent/ui/shortcuts.py +130 -0
  393. koder-0.7.1/koder_agent/ui/startup.py +261 -0
  394. koder-0.7.1/koder_agent/ui/state.py +268 -0
  395. koder-0.7.1/koder_agent/ui/terminal.py +188 -0
  396. koder-0.7.1/koder_agent/ui/theme.py +292 -0
  397. koder-0.7.1/koder_agent/ui/transcript.py +451 -0
  398. koder-0.7.1/koder_agent/ui/window.py +321 -0
  399. koder-0.7.1/koder_agent/utils/__init__.py +30 -0
  400. koder-0.7.1/koder_agent/utils/async_tasks.py +49 -0
  401. koder-0.7.1/koder_agent/utils/atomic_file.py +33 -0
  402. koder-0.7.1/koder_agent/utils/client.py +1243 -0
  403. koder-0.7.1/koder_agent/utils/definition_files.py +44 -0
  404. koder-0.7.1/koder_agent/utils/error_text.py +191 -0
  405. koder-0.7.1/koder_agent/utils/image_input.py +203 -0
  406. koder-0.7.1/koder_agent/utils/model_info.py +325 -0
  407. koder-0.7.1/koder_agent/utils/prompts.py +162 -0
  408. koder-0.7.1/koder_agent/utils/sqlite_connections.py +45 -0
  409. koder-0.7.1/koder_agent/version.py +41 -0
  410. koder-0.7.1/koder_agent/web/__init__.py +8 -0
  411. koder-0.7.1/koder_agent/web/api/__init__.py +47 -0
  412. koder-0.7.1/koder_agent/web/api/accounts.py +980 -0
  413. koder-0.7.1/koder_agent/web/api/agents.py +618 -0
  414. koder-0.7.1/koder_agent/web/api/automations.py +836 -0
  415. koder-0.7.1/koder_agent/web/api/complete.py +541 -0
  416. koder-0.7.1/koder_agent/web/api/config.py +174 -0
  417. koder-0.7.1/koder_agent/web/api/diagnostics.py +352 -0
  418. koder-0.7.1/koder_agent/web/api/environment.py +443 -0
  419. koder-0.7.1/koder_agent/web/api/git.py +1223 -0
  420. koder-0.7.1/koder_agent/web/api/hooks.py +394 -0
  421. koder-0.7.1/koder_agent/web/api/library.py +832 -0
  422. koder-0.7.1/koder_agent/web/api/mcp.py +1275 -0
  423. koder-0.7.1/koder_agent/web/api/memory.py +613 -0
  424. koder-0.7.1/koder_agent/web/api/permissions.py +357 -0
  425. koder-0.7.1/koder_agent/web/api/personalization.py +147 -0
  426. koder-0.7.1/koder_agent/web/api/plugins.py +620 -0
  427. koder-0.7.1/koder_agent/web/api/prefs.py +59 -0
  428. koder-0.7.1/koder_agent/web/api/rawfiles.py +449 -0
  429. koder-0.7.1/koder_agent/web/api/runtime_views.py +517 -0
  430. koder-0.7.1/koder_agent/web/api/sandbox.py +519 -0
  431. koder-0.7.1/koder_agent/web/api/skills.py +477 -0
  432. koder-0.7.1/koder_agent/web/api/terminal.py +657 -0
  433. koder-0.7.1/koder_agent/web/api/usage.py +293 -0
  434. koder-0.7.1/koder_agent/web/api/voice.py +156 -0
  435. koder-0.7.1/koder_agent/web/api/workspace.py +837 -0
  436. koder-0.7.1/koder_agent/web/cli.py +127 -0
  437. koder-0.7.1/koder_agent/web/history.py +281 -0
  438. koder-0.7.1/koder_agent/web/http.py +86 -0
  439. koder-0.7.1/koder_agent/web/jsonfile.py +147 -0
  440. koder-0.7.1/koder_agent/web/protocol.py +83 -0
  441. koder-0.7.1/koder_agent/web/server.py +1009 -0
  442. koder-0.7.1/koder_agent/web/static/assets/Automations-D9JUIK_I.css +1 -0
  443. koder-0.7.1/koder_agent/web/static/assets/Automations-DtepplsY.js +1 -0
  444. koder-0.7.1/koder_agent/web/static/assets/Browser-xP9weKxp.js +1 -0
  445. koder-0.7.1/koder_agent/web/static/assets/Files-DWzOvm-P.js +2 -0
  446. koder-0.7.1/koder_agent/web/static/assets/Markdown-B9-D7i2n.js +77 -0
  447. koder-0.7.1/koder_agent/web/static/assets/Review-BkdndIKl.css +1 -0
  448. koder-0.7.1/koder_agent/web/static/assets/Review-MtD9gOAZ.js +2 -0
  449. koder-0.7.1/koder_agent/web/static/assets/SearchDialog-D2g-IBTl.js +1 -0
  450. koder-0.7.1/koder_agent/web/static/assets/Terminal-BYZRlB50.js +17 -0
  451. koder-0.7.1/koder_agent/web/static/assets/Terminal-Cr-7SCSC.css +1 -0
  452. koder-0.7.1/koder_agent/web/static/assets/abnfDiagram-S7VZAUFO-BauO5u2x.js +1 -0
  453. koder-0.7.1/koder_agent/web/static/assets/architecture-WOLXFQ4H-WVG-a5A_.js +1 -0
  454. koder-0.7.1/koder_agent/web/static/assets/architectureDiagram-YGSQEFNW-D5oR8vkt.js +36 -0
  455. koder-0.7.1/koder_agent/web/static/assets/blockDiagram-APKKGZFW-MDyaeLKW.js +140 -0
  456. koder-0.7.1/koder_agent/web/static/assets/bpmnIcons-APHXDYXF-C0jbCElo.js +1 -0
  457. koder-0.7.1/koder_agent/web/static/assets/c4Diagram-KJ2TOQU5-B_CbeSzU.js +38 -0
  458. koder-0.7.1/koder_agent/web/static/assets/chevron-right-Ch3TIW6H.js +1 -0
  459. koder-0.7.1/koder_agent/web/static/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
  460. koder-0.7.1/koder_agent/web/static/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
  461. koder-0.7.1/koder_agent/web/static/assets/chunk-6MUBBAK2-BTG3Go1H.js +2 -0
  462. koder-0.7.1/koder_agent/web/static/assets/chunk-AXFCVDMN-D4Crlffc.js +62 -0
  463. koder-0.7.1/koder_agent/web/static/assets/chunk-BG4553SI-FDTGKL_7.js +127 -0
  464. koder-0.7.1/koder_agent/web/static/assets/chunk-DQASFODM-DgbhGQhQ.js +10 -0
  465. koder-0.7.1/koder_agent/web/static/assets/chunk-DUW6YSOI-Dgx8z5s3.js +1 -0
  466. koder-0.7.1/koder_agent/web/static/assets/chunk-HFQBQIA3-DRS2MVq7.js +1 -0
  467. koder-0.7.1/koder_agent/web/static/assets/chunk-J5ZVWO5B-oDCd-gWO.js +1 -0
  468. koder-0.7.1/koder_agent/web/static/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
  469. koder-0.7.1/koder_agent/web/static/assets/chunk-KQLB2F66-DrIh_Ctw.js +2 -0
  470. koder-0.7.1/koder_agent/web/static/assets/chunk-KS47KZWR-Dq9hBtSW.js +1 -0
  471. koder-0.7.1/koder_agent/web/static/assets/chunk-LEVMRMFU-BdIO5eaP.js +1 -0
  472. koder-0.7.1/koder_agent/web/static/assets/chunk-M57EVK23-BhZyoSXW.js +1 -0
  473. koder-0.7.1/koder_agent/web/static/assets/chunk-NGNAAXSQ-DI_UYJZ4.js +136 -0
  474. koder-0.7.1/koder_agent/web/static/assets/chunk-OY52VR5R-BFcxZ863.js +88 -0
  475. koder-0.7.1/koder_agent/web/static/assets/chunk-QB3YPZ4I-Dzd7zN3y.js +213 -0
  476. koder-0.7.1/koder_agent/web/static/assets/chunk-R3KSYZAL-CY8njmXv.js +1 -0
  477. koder-0.7.1/koder_agent/web/static/assets/chunk-STOXU5M4-DZjOzQky.js +72 -0
  478. koder-0.7.1/koder_agent/web/static/assets/chunk-TU62E6Q5-jbRm0h-R.js +1 -0
  479. koder-0.7.1/koder_agent/web/static/assets/chunk-X4PVCEUW-BXrUlMa-.js +1 -0
  480. koder-0.7.1/koder_agent/web/static/assets/chunk-XXDRQBXY-i7MKP1NY.js +1 -0
  481. koder-0.7.1/koder_agent/web/static/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
  482. koder-0.7.1/koder_agent/web/static/assets/classDiagram-v2-L25IHNXF-BuZagqLd.js +217 -0
  483. koder-0.7.1/koder_agent/web/static/assets/commit-mono-latin-400-normal-wzhe4RuD.woff2 +0 -0
  484. koder-0.7.1/koder_agent/web/static/assets/commit-mono-latin-700-normal-DU8mrtj2.woff2 +0 -0
  485. koder-0.7.1/koder_agent/web/static/assets/cose-bilkent-JH36ORCC-C6J2IoHg.js +1 -0
  486. koder-0.7.1/koder_agent/web/static/assets/cynefin-EF2NZ3EQ-DlX8S2BB.js +1 -0
  487. koder-0.7.1/koder_agent/web/static/assets/cynefinDiagram-L36ESFBY-Dzr5jrcp.js +62 -0
  488. koder-0.7.1/koder_agent/web/static/assets/cytoscape.esm-nTrd5EVq.js +321 -0
  489. koder-0.7.1/koder_agent/web/static/assets/d3-scale-CElPUUud.js +1 -0
  490. koder-0.7.1/koder_agent/web/static/assets/d3-selection-COWvaQNI.js +1 -0
  491. koder-0.7.1/koder_agent/web/static/assets/dagre-SPEB5RXH-Bmjupfv0.js +4 -0
  492. koder-0.7.1/koder_agent/web/static/assets/diagram-3B7GL73J-HV3KtlJb.js +200 -0
  493. koder-0.7.1/koder_agent/web/static/assets/diagram-DNEMPZML-b3Oc1j-5.js +24 -0
  494. koder-0.7.1/koder_agent/web/static/assets/diagram-L3MUGCDN-D6Bf88Lq.js +41 -0
  495. koder-0.7.1/koder_agent/web/static/assets/diagram-LA4NIPWU-BbN9Hkcw.js +24 -0
  496. koder-0.7.1/koder_agent/web/static/assets/diagram-MHCOC4E2-B6sN7aS7.js +3 -0
  497. koder-0.7.1/koder_agent/web/static/assets/diagram-XPFHEONP-BT5NlWdN.js +30 -0
  498. koder-0.7.1/koder_agent/web/static/assets/dist-DdXDFcej.js +1 -0
  499. koder-0.7.1/koder_agent/web/static/assets/dock-files-DeUddGYq.css +1 -0
  500. koder-0.7.1/koder_agent/web/static/assets/ebnfDiagram-UZSYDL2S-CWUclMuZ.js +1 -0
  501. koder-0.7.1/koder_agent/web/static/assets/elk-XV6XMXQE-i3fQBQjC.js +27 -0
  502. koder-0.7.1/koder_agent/web/static/assets/erDiagram-EYBAPDEH-DwIO5bMY.js +99 -0
  503. koder-0.7.1/koder_agent/web/static/assets/eventmodeling-K75KTNOO-Ch3lNLiI.js +1 -0
  504. koder-0.7.1/koder_agent/web/static/assets/flowDiagram-MALGAFMO-CeUD2ahq.js +1 -0
  505. koder-0.7.1/koder_agent/web/static/assets/form-C-kkWR1E.css +1 -0
  506. koder-0.7.1/koder_agent/web/static/assets/form-P0rGpsL0.js +1 -0
  507. koder-0.7.1/koder_agent/web/static/assets/ganttDiagram-23REXITY-2sXT846U.js +292 -0
  508. koder-0.7.1/koder_agent/web/static/assets/gitGraph-VSP46ZUC-BfhCB5zc.js +1 -0
  509. koder-0.7.1/koder_agent/web/static/assets/gitGraphDiagram-STJD7YCW-hEUVqaST.js +106 -0
  510. koder-0.7.1/koder_agent/web/static/assets/graphlib-DS17s2tU.js +1 -0
  511. koder-0.7.1/koder_agent/web/static/assets/index-BTELVgOt.css +1 -0
  512. koder-0.7.1/koder_agent/web/static/assets/index-Z_eYMMz3.js +77 -0
  513. koder-0.7.1/koder_agent/web/static/assets/info-OHQRW6UA-D0Q8Wg57.js +1 -0
  514. koder-0.7.1/koder_agent/web/static/assets/infoDiagram-KBXO4MBG-DkqL2ZDU.js +2 -0
  515. koder-0.7.1/koder_agent/web/static/assets/ishikawaDiagram-M35NCXHK-zC7d3vhr.js +70 -0
  516. koder-0.7.1/koder_agent/web/static/assets/journeyDiagram-OPLOXDXO-7rnrFfHN.js +139 -0
  517. koder-0.7.1/koder_agent/web/static/assets/kanban-definition-BZKZHSQY-CeVNgRIy.js +89 -0
  518. koder-0.7.1/koder_agent/web/static/assets/katex-BYLiqMcl.js +257 -0
  519. koder-0.7.1/koder_agent/web/static/assets/katex-MEuSR36T.js +257 -0
  520. koder-0.7.1/koder_agent/web/static/assets/mermaid-parser.core-DKSh9lOj.js +7 -0
  521. koder-0.7.1/koder_agent/web/static/assets/mermaid.core-CKMrXPy_.js +44 -0
  522. koder-0.7.1/koder_agent/web/static/assets/mindmap-definition-I2QAS2VK-CC3lmGPX.js +98 -0
  523. koder-0.7.1/koder_agent/web/static/assets/packet-JDAUHWVQ-DeNc0tJe.js +1 -0
  524. koder-0.7.1/koder_agent/web/static/assets/pegDiagram-FD4XPPHP-BRxvKCq8.js +1 -0
  525. koder-0.7.1/koder_agent/web/static/assets/pie-XZMESJXO-dnqr36GK.js +1 -0
  526. koder-0.7.1/koder_agent/web/static/assets/pieDiagram-J4AKIIQI-CFpyOITC.js +39 -0
  527. koder-0.7.1/koder_agent/web/static/assets/purify.es-DEJ1Qu1j.js +3 -0
  528. koder-0.7.1/koder_agent/web/static/assets/quadrantDiagram-XTYBLID2-DKJfkRB7.js +7 -0
  529. koder-0.7.1/koder_agent/web/static/assets/radar-ABXABTNO-D9qU4xM1.js +1 -0
  530. koder-0.7.1/koder_agent/web/static/assets/railroad-I3PHUGI6-DZCAzRzk.js +1 -0
  531. koder-0.7.1/koder_agent/web/static/assets/railroad-abnf-LNEFI6M7-BcBgBBVL.js +1 -0
  532. koder-0.7.1/koder_agent/web/static/assets/railroad-ebnf-DWYD2UWJ-BEhe_XlJ.js +1 -0
  533. koder-0.7.1/koder_agent/web/static/assets/railroad-peg-JR7BVNR7-CZt47uZh.js +1 -0
  534. koder-0.7.1/koder_agent/web/static/assets/railroadDiagram-MRQ6NCDL-BLaibjdC.js +1 -0
  535. koder-0.7.1/koder_agent/web/static/assets/requirementDiagram-Y7LWUY3S-C9Esh5D3.js +84 -0
  536. koder-0.7.1/koder_agent/web/static/assets/rolldown-runtime-COiEfhsA.js +1 -0
  537. koder-0.7.1/koder_agent/web/static/assets/rough.esm-Dy-Kn_BL.js +1 -0
  538. koder-0.7.1/koder_agent/web/static/assets/sankeyDiagram-WGJFYUXA-DTJX2hHY.js +40 -0
  539. koder-0.7.1/koder_agent/web/static/assets/sequenceDiagram-5NDRBG5M-DJ4I9lb_.js +169 -0
  540. koder-0.7.1/koder_agent/web/static/assets/sizeCapture-INFHLROL-3uHXrFqA.js +1 -0
  541. koder-0.7.1/koder_agent/web/static/assets/stateDiagram-v2-FJ4FJNEA-DMF6Ej0f.js +291 -0
  542. koder-0.7.1/koder_agent/web/static/assets/swimlanes-UMQ2AFYF-DsbureNb.js +1 -0
  543. koder-0.7.1/koder_agent/web/static/assets/swimlanesDiagram-OMPLPG4O-C4224jUd.js +8 -0
  544. koder-0.7.1/koder_agent/web/static/assets/timeline-definition-SEUHKTQE-BG8-h_hG.js +120 -0
  545. koder-0.7.1/koder_agent/web/static/assets/treeView-D4JQ5SDB-B99FAFUF.js +1 -0
  546. koder-0.7.1/koder_agent/web/static/assets/treemap-SAJKECNS-B-X3qDok.js +1 -0
  547. koder-0.7.1/koder_agent/web/static/assets/usecaseDiagram-AFA6YXN4-BajUcmdI.js +328 -0
  548. koder-0.7.1/koder_agent/web/static/assets/vennDiagram-NNMJR3RB-B1VCjgsX.js +34 -0
  549. koder-0.7.1/koder_agent/web/static/assets/wardley-7MLQ67FV-GRnXLWNo.js +1 -0
  550. koder-0.7.1/koder_agent/web/static/assets/wardleyDiagram-S7YFUSEH-DKfw2UFI.js +78 -0
  551. koder-0.7.1/koder_agent/web/static/assets/workspaceApi-DMWpQv4Q.js +1 -0
  552. koder-0.7.1/koder_agent/web/static/assets/xychartDiagram-GGNKY7IX-DHbwlaXd.js +7 -0
  553. koder-0.7.1/koder_agent/web/static/index.html +43 -0
  554. koder-0.7.1/koder_agent/web/static/seal.svg +1 -0
  555. koder-0.7.1/koder_agent/web/store.py +193 -0
  556. koder-0.7.1/koder_agent/web/supervisor.py +507 -0
  557. koder-0.7.1/koder_agent/web/worker/__init__.py +1 -0
  558. koder-0.7.1/koder_agent/web/worker/__main__.py +71 -0
  559. koder-0.7.1/koder_agent/web/worker/channel.py +169 -0
  560. koder-0.7.1/koder_agent/web/worker/host.py +816 -0
  561. koder-0.7.1/koder_agent/web/worker/prompt.py +757 -0
  562. koder-0.7.1/koder_agent/web/worker/render.py +35 -0
  563. koder-0.7.1/koder_agent/web/worker/stream.py +294 -0
  564. koder-0.7.1/pyproject.toml +133 -0
  565. koder-0.6.3/.claude/settings.local.json +0 -84
  566. koder-0.6.3/.gitignore +0 -192
  567. koder-0.6.3/PKG-INFO +0 -458
  568. koder-0.6.3/README.md +0 -411
  569. koder-0.6.3/koder_agent/__init__.py +0 -30
  570. koder-0.6.3/koder_agent/agentic/agent.py +0 -1169
  571. koder-0.6.3/koder_agent/agentic/api_errors.py +0 -112
  572. koder-0.6.3/koder_agent/agentic/approval_hooks.py +0 -180
  573. koder-0.6.3/koder_agent/agentic/hooks.py +0 -172
  574. koder-0.6.3/koder_agent/auth/base.py +0 -333
  575. koder-0.6.3/koder_agent/auth/callback_server.py +0 -263
  576. koder-0.6.3/koder_agent/auth/client_integration.py +0 -258
  577. koder-0.6.3/koder_agent/auth/constants.py +0 -248
  578. koder-0.6.3/koder_agent/auth/providers/__init__.py +0 -166
  579. koder-0.6.3/koder_agent/auth/providers/antigravity.py +0 -1367
  580. koder-0.6.3/koder_agent/auth/providers/chatgpt.py +0 -1032
  581. koder-0.6.3/koder_agent/auth/providers/claude.py +0 -710
  582. koder-0.6.3/koder_agent/auth/providers/google.py +0 -773
  583. koder-0.6.3/koder_agent/auth/secure_storage.py +0 -137
  584. koder-0.6.3/koder_agent/auth/token_storage.py +0 -205
  585. koder-0.6.3/koder_agent/auth/tool_utils.py +0 -2542
  586. koder-0.6.3/koder_agent/cli.py +0 -658
  587. koder-0.6.3/koder_agent/config/manager.py +0 -164
  588. koder-0.6.3/koder_agent/config/models.py +0 -145
  589. koder-0.6.3/koder_agent/core/at_completer.py +0 -211
  590. koder-0.6.3/koder_agent/core/display_context.py +0 -127
  591. koder-0.6.3/koder_agent/core/goal_prompts.py +0 -151
  592. koder-0.6.3/koder_agent/core/goals.py +0 -544
  593. koder-0.6.3/koder_agent/core/interactive.py +0 -1478
  594. koder-0.6.3/koder_agent/core/keybindings.py +0 -125
  595. koder-0.6.3/koder_agent/core/notifications.py +0 -64
  596. koder-0.6.3/koder_agent/core/queued_input.py +0 -206
  597. koder-0.6.3/koder_agent/core/scheduler.py +0 -2531
  598. koder-0.6.3/koder_agent/core/session.py +0 -914
  599. koder-0.6.3/koder_agent/core/shell_completer.py +0 -90
  600. koder-0.6.3/koder_agent/core/status_line.py +0 -558
  601. koder-0.6.3/koder_agent/core/streaming_display.py +0 -1511
  602. koder-0.6.3/koder_agent/core/terminal_reflow.py +0 -114
  603. koder-0.6.3/koder_agent/core/turn_cancellation.py +0 -94
  604. koder-0.6.3/koder_agent/core/usage_tracker.py +0 -336
  605. koder-0.6.3/koder_agent/core/working_indicator.py +0 -127
  606. koder-0.6.3/koder_agent/data/model_prices_and_context_window.json +0 -44715
  607. koder-0.6.3/koder_agent/harness/agents/definitions.py +0 -903
  608. koder-0.6.3/koder_agent/harness/agents/hooks.py +0 -191
  609. koder-0.6.3/koder_agent/harness/agents/models.py +0 -86
  610. koder-0.6.3/koder_agent/harness/agents/service.py +0 -898
  611. koder-0.6.3/koder_agent/harness/agents/summary.py +0 -58
  612. koder-0.6.3/koder_agent/harness/agents/teams/in_process.py +0 -342
  613. koder-0.6.3/koder_agent/harness/agents/teams/models.py +0 -124
  614. koder-0.6.3/koder_agent/harness/agents/teams/service.py +0 -618
  615. koder-0.6.3/koder_agent/harness/agents/teams/task_service.py +0 -327
  616. koder-0.6.3/koder_agent/harness/agents/teams/tmux_backend.py +0 -252
  617. koder-0.6.3/koder_agent/harness/auth/commands.py +0 -576
  618. koder-0.6.3/koder_agent/harness/buddy.py +0 -1096
  619. koder-0.6.3/koder_agent/harness/channels/gate.py +0 -90
  620. koder-0.6.3/koder_agent/harness/channels/interceptor.py +0 -118
  621. koder-0.6.3/koder_agent/harness/channels/notification.py +0 -185
  622. koder-0.6.3/koder_agent/harness/channels/permissions.py +0 -168
  623. koder-0.6.3/koder_agent/harness/channels/state.py +0 -37
  624. koder-0.6.3/koder_agent/harness/checkpoint.py +0 -370
  625. koder-0.6.3/koder_agent/harness/cli/completion.py +0 -165
  626. koder-0.6.3/koder_agent/harness/cli/entrypoint.py +0 -93
  627. koder-0.6.3/koder_agent/harness/cli/headless.py +0 -68
  628. koder-0.6.3/koder_agent/harness/code_intelligence.py +0 -590
  629. koder-0.6.3/koder_agent/harness/commands/advisor.py +0 -202
  630. koder-0.6.3/koder_agent/harness/commands/agents_view.py +0 -164
  631. koder-0.6.3/koder_agent/harness/commands/buddy.py +0 -60
  632. koder-0.6.3/koder_agent/harness/commands/builtins/config_commands.py +0 -10
  633. koder-0.6.3/koder_agent/harness/commands/builtins/inspection_commands.py +0 -11
  634. koder-0.6.3/koder_agent/harness/commands/builtins/plugin_commands.py +0 -9
  635. koder-0.6.3/koder_agent/harness/commands/builtins/runtime_commands.py +0 -37
  636. koder-0.6.3/koder_agent/harness/commands/builtins/session_commands.py +0 -11
  637. koder-0.6.3/koder_agent/harness/commands/builtins/workflow_review_commands.py +0 -8
  638. koder-0.6.3/koder_agent/harness/commands/builtins/workflow_state_commands.py +0 -12
  639. koder-0.6.3/koder_agent/harness/commands/interactive.py +0 -5586
  640. koder-0.6.3/koder_agent/harness/commands/internal/debug_commands.py +0 -6
  641. koder-0.6.3/koder_agent/harness/commands/internal/diagnostic_commands.py +0 -11
  642. koder-0.6.3/koder_agent/harness/commands/pr_comments.py +0 -184
  643. koder-0.6.3/koder_agent/harness/commands/prompt_commands.py +0 -170
  644. koder-0.6.3/koder_agent/harness/commands/registry.py +0 -79
  645. koder-0.6.3/koder_agent/harness/commands/review_context.py +0 -78
  646. koder-0.6.3/koder_agent/harness/commands/security_review.py +0 -190
  647. koder-0.6.3/koder_agent/harness/commands/workflow_helpers.py +0 -50
  648. koder-0.6.3/koder_agent/harness/config/backup.py +0 -13
  649. koder-0.6.3/koder_agent/harness/config/commands.py +0 -251
  650. koder-0.6.3/koder_agent/harness/config/migration.py +0 -50
  651. koder-0.6.3/koder_agent/harness/config/schema.py +0 -157
  652. koder-0.6.3/koder_agent/harness/config/service.py +0 -86
  653. koder-0.6.3/koder_agent/harness/config/settings_bundle.py +0 -277
  654. koder-0.6.3/koder_agent/harness/cron/loop.py +0 -170
  655. koder-0.6.3/koder_agent/harness/cron/runtime.py +0 -150
  656. koder-0.6.3/koder_agent/harness/cron/scheduler.py +0 -121
  657. koder-0.6.3/koder_agent/harness/cron/storage.py +0 -86
  658. koder-0.6.3/koder_agent/harness/diagnostics.py +0 -122
  659. koder-0.6.3/koder_agent/harness/hooks/runtime.py +0 -1335
  660. koder-0.6.3/koder_agent/harness/magic_docs.py +0 -386
  661. koder-0.6.3/koder_agent/harness/memory/budget.py +0 -470
  662. koder-0.6.3/koder_agent/harness/memory/compact.py +0 -546
  663. koder-0.6.3/koder_agent/harness/memory/extraction.py +0 -206
  664. koder-0.6.3/koder_agent/harness/memory/micro_compact.py +0 -139
  665. koder-0.6.3/koder_agent/harness/memory/recovery.py +0 -130
  666. koder-0.6.3/koder_agent/harness/memory/transcript_store.py +0 -163
  667. koder-0.6.3/koder_agent/harness/output_styles.py +0 -188
  668. koder-0.6.3/koder_agent/harness/permissions/ai_classifier.py +0 -140
  669. koder-0.6.3/koder_agent/harness/permissions/interactive_approver.py +0 -164
  670. koder-0.6.3/koder_agent/harness/permissions/modes.py +0 -40
  671. koder-0.6.3/koder_agent/harness/permissions/path_policy.py +0 -234
  672. koder-0.6.3/koder_agent/harness/permissions/propagation.py +0 -22
  673. koder-0.6.3/koder_agent/harness/permissions/rule_sources.py +0 -136
  674. koder-0.6.3/koder_agent/harness/permissions/rules.py +0 -249
  675. koder-0.6.3/koder_agent/harness/permissions/service.py +0 -740
  676. koder-0.6.3/koder_agent/harness/permissions/shell_classifier.py +0 -814
  677. koder-0.6.3/koder_agent/harness/permissions/tool_arguments.py +0 -114
  678. koder-0.6.3/koder_agent/harness/plugins/commands.py +0 -231
  679. koder-0.6.3/koder_agent/harness/plugins/lifecycle.py +0 -662
  680. koder-0.6.3/koder_agent/harness/plugins/marketplace.py +0 -351
  681. koder-0.6.3/koder_agent/harness/plugins/state.py +0 -240
  682. koder-0.6.3/koder_agent/harness/pr_status.py +0 -293
  683. koder-0.6.3/koder_agent/harness/prompt_suggestion.py +0 -382
  684. koder-0.6.3/koder_agent/harness/release_notes.py +0 -135
  685. koder-0.6.3/koder_agent/harness/review_flow.py +0 -167
  686. koder-0.6.3/koder_agent/harness/runtime.py +0 -152
  687. koder-0.6.3/koder_agent/harness/sandbox/enforcement.py +0 -349
  688. koder-0.6.3/koder_agent/harness/sandbox/policy.py +0 -214
  689. koder-0.6.3/koder_agent/harness/sandbox/registry.py +0 -331
  690. koder-0.6.3/koder_agent/harness/sandbox/sdk_backend.py +0 -161
  691. koder-0.6.3/koder_agent/harness/sandbox/workspace.py +0 -256
  692. koder-0.6.3/koder_agent/harness/sandbox_settings.py +0 -311
  693. koder-0.6.3/koder_agent/harness/session_env.py +0 -236
  694. koder-0.6.3/koder_agent/harness/session_flow.py +0 -2325
  695. koder-0.6.3/koder_agent/harness/skills/bundled.py +0 -146
  696. koder-0.6.3/koder_agent/harness/skills/bundled_skills/batch.md +0 -95
  697. koder-0.6.3/koder_agent/harness/skills/bundled_skills/code-review.md +0 -188
  698. koder-0.6.3/koder_agent/harness/skills/bundled_skills/debug.md +0 -68
  699. koder-0.6.3/koder_agent/harness/skills/bundled_skills/fewer-permission-prompts.md +0 -113
  700. koder-0.6.3/koder_agent/harness/skills/bundled_skills/init-explore.md +0 -44
  701. koder-0.6.3/koder_agent/harness/skills/bundled_skills/loop.md +0 -23
  702. koder-0.6.3/koder_agent/harness/skills/bundled_skills/remember.md +0 -60
  703. koder-0.6.3/koder_agent/harness/skills/bundled_skills/review-spec.md +0 -113
  704. koder-0.6.3/koder_agent/harness/skills/bundled_skills/run.md +0 -119
  705. koder-0.6.3/koder_agent/harness/skills/bundled_skills/security-review.md +0 -110
  706. koder-0.6.3/koder_agent/harness/skills/bundled_skills/simplify.md +0 -88
  707. koder-0.6.3/koder_agent/harness/skills/bundled_skills/stuck.md +0 -70
  708. koder-0.6.3/koder_agent/harness/skills/bundled_skills/update-config.md +0 -128
  709. koder-0.6.3/koder_agent/harness/skills/bundled_skills/verify.md +0 -116
  710. koder-0.6.3/koder_agent/harness/skills/discovery.py +0 -77
  711. koder-0.6.3/koder_agent/harness/tasks/storage.py +0 -206
  712. koder-0.6.3/koder_agent/harness/tips.py +0 -261
  713. koder-0.6.3/koder_agent/harness/tools/mcp_ops.py +0 -152
  714. koder-0.6.3/koder_agent/harness/tools/registry.py +0 -1214
  715. koder-0.6.3/koder_agent/harness/tools/shell_executor.py +0 -910
  716. koder-0.6.3/koder_agent/harness/version_info.py +0 -176
  717. koder-0.6.3/koder_agent/harness/voice/__init__.py +0 -19
  718. koder-0.6.3/koder_agent/harness/voice/service.py +0 -474
  719. koder-0.6.3/koder_agent/harness/worktree/service.py +0 -173
  720. koder-0.6.3/koder_agent/litellm_cost_map.py +0 -112
  721. koder-0.6.3/koder_agent/mcp/__init__.py +0 -858
  722. koder-0.6.3/koder_agent/mcp/elicitation.py +0 -281
  723. koder-0.6.3/koder_agent/mcp/limits.py +0 -129
  724. koder-0.6.3/koder_agent/mcp/notifications.py +0 -77
  725. koder-0.6.3/koder_agent/mcp/oauth.py +0 -1896
  726. koder-0.6.3/koder_agent/mcp/reconnection.py +0 -1052
  727. koder-0.6.3/koder_agent/mcp/runtime_authorization.py +0 -799
  728. koder-0.6.3/koder_agent/mcp/serve.py +0 -111
  729. koder-0.6.3/koder_agent/mcp/server_config.py +0 -201
  730. koder-0.6.3/koder_agent/mcp/server_factory.py +0 -799
  731. koder-0.6.3/koder_agent/mcp/server_manager.py +0 -954
  732. koder-0.6.3/koder_agent/providers/compat.py +0 -48
  733. koder-0.6.3/koder_agent/tools/__init__.py +0 -304
  734. koder-0.6.3/koder_agent/tools/agent.py +0 -204
  735. koder-0.6.3/koder_agent/tools/ask_user.py +0 -114
  736. koder-0.6.3/koder_agent/tools/compat.py +0 -398
  737. koder-0.6.3/koder_agent/tools/engine.py +0 -30
  738. koder-0.6.3/koder_agent/tools/file.py +0 -870
  739. koder-0.6.3/koder_agent/tools/file_state.py +0 -127
  740. koder-0.6.3/koder_agent/tools/fork_agent.py +0 -116
  741. koder-0.6.3/koder_agent/tools/goal.py +0 -210
  742. koder-0.6.3/koder_agent/tools/mcp_resource.py +0 -84
  743. koder-0.6.3/koder_agent/tools/notebook_edit.py +0 -96
  744. koder-0.6.3/koder_agent/tools/permission_context.py +0 -446
  745. koder-0.6.3/koder_agent/tools/powershell.py +0 -99
  746. koder-0.6.3/koder_agent/tools/search.py +0 -356
  747. koder-0.6.3/koder_agent/tools/send_message.py +0 -182
  748. koder-0.6.3/koder_agent/tools/shell.py +0 -607
  749. koder-0.6.3/koder_agent/tools/skill.py +0 -965
  750. koder-0.6.3/koder_agent/tools/skill_context.py +0 -583
  751. koder-0.6.3/koder_agent/tools/structured_output.py +0 -53
  752. koder-0.6.3/koder_agent/tools/task.py +0 -494
  753. koder-0.6.3/koder_agent/tools/task_lifecycle.py +0 -260
  754. koder-0.6.3/koder_agent/tools/team.py +0 -120
  755. koder-0.6.3/koder_agent/tools/todo.py +0 -169
  756. koder-0.6.3/koder_agent/tools/tool_search.py +0 -115
  757. koder-0.6.3/koder_agent/tools/web.py +0 -139
  758. koder-0.6.3/koder_agent/tools/worktree.py +0 -1663
  759. koder-0.6.3/koder_agent/utils/__init__.py +0 -24
  760. koder-0.6.3/koder_agent/utils/client.py +0 -1023
  761. koder-0.6.3/koder_agent/utils/image_input.py +0 -203
  762. koder-0.6.3/koder_agent/utils/model_info.py +0 -199
  763. koder-0.6.3/koder_agent/utils/prompts.py +0 -354
  764. koder-0.6.3/pyproject.toml +0 -125
  765. {koder-0.6.3 → koder-0.7.1}/LICENSE +0 -0
  766. {koder-0.6.3 → koder-0.7.1}/koder_agent/agentic/__init__.py +0 -0
  767. {koder-0.6.3 → koder-0.7.1}/koder_agent/agentic/hook_guardrail.py +0 -0
  768. {koder-0.6.3 → koder-0.7.1}/koder_agent/agentic/plan_guardrail.py +0 -0
  769. {koder-0.6.3 → koder-0.7.1}/koder_agent/agentic/skill_guardrail.py +0 -0
  770. {koder-0.6.3 → koder-0.7.1}/koder_agent/auth/__init__.py +0 -0
  771. {koder-0.6.3 → koder-0.7.1}/koder_agent/auth/codex_prompts.py +0 -0
  772. {koder-0.6.3 → koder-0.7.1}/koder_agent/auth/litellm_oauth.py +0 -0
  773. {koder-0.6.3 → koder-0.7.1}/koder_agent/config/__init__.py +0 -0
  774. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/__init__.py +0 -0
  775. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/at_mentions.py +0 -0
  776. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/auto_suggest.py +0 -0
  777. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/bash_security.py +0 -0
  778. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/constants.py +0 -0
  779. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/file_index.py +0 -0
  780. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/goal_display.py +0 -0
  781. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/goal_runtime.py +0 -0
  782. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/keyboard_listener.py +0 -0
  783. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/security.py +0 -0
  784. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/skill_usage.py +0 -0
  785. {koder-0.6.3 → koder-0.7.1}/koder_agent/core/vim_mode.py +0 -0
  786. {koder-0.6.3 → koder-0.7.1}/koder_agent/data/__init__.py +0 -0
  787. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/__init__.py +0 -0
  788. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/add_dir_validation.py +0 -0
  789. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/__init__.py +0 -0
  790. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/commands.py +0 -0
  791. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/messages.py +0 -0
  792. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/__init__.py +0 -0
  793. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/context.py +0 -0
  794. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/memory_sync.py +0 -0
  795. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/permission_bridge.py +0 -0
  796. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/routing.py +0 -0
  797. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/agents/teams/runtime.py +0 -0
  798. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/auth/__init__.py +0 -0
  799. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/bootstrap.py +0 -0
  800. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/channels/__init__.py +0 -0
  801. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/channels/types.py +0 -0
  802. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/cli/__init__.py +0 -0
  803. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/commands/__init__.py +0 -0
  804. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/commands/brief.py +0 -0
  805. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/commands/builtins/__init__.py +0 -0
  806. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/commands/internal/__init__.py +0 -0
  807. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/config/__init__.py +0 -0
  808. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/config/task_delegate_limits.py +0 -0
  809. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/cron/__init__.py +0 -0
  810. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/cron/expression.py +0 -0
  811. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/hooks/project_approval.py +0 -0
  812. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/managed_settings.py +0 -0
  813. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/mcp/__init__.py +0 -0
  814. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/mcp/commands.py +0 -0
  815. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/__init__.py +0 -0
  816. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/approved_writer.py +0 -0
  817. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/auto_compact.py +0 -0
  818. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/auto_dream.py +0 -0
  819. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/candidates.py +0 -0
  820. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/governance.py +0 -0
  821. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/legacy_db.py +0 -0
  822. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/memory_files.py +0 -0
  823. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/models.py +0 -0
  824. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/post_compact.py +0 -0
  825. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/pruning.py +0 -0
  826. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/retrieval.py +0 -0
  827. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/session_memory.py +0 -0
  828. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/memory/writer_lock.py +0 -0
  829. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/onboarding.py +0 -0
  830. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/paths.py +0 -0
  831. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/permissions/__init__.py +0 -0
  832. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/permissions/denial_log.py +0 -0
  833. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/permissions/persistence.py +0 -0
  834. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/permissions/powershell_classifier.py +0 -0
  835. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/permissions/results.py +0 -0
  836. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plan/__init__.py +0 -0
  837. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plan/mode.py +0 -0
  838. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/__init__.py +0 -0
  839. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/catalog.py +0 -0
  840. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/env.py +0 -0
  841. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/manifest.py +0 -0
  842. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/name_validation.py +0 -0
  843. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/options.py +0 -0
  844. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/path_safety.py +0 -0
  845. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/registry.py +0 -0
  846. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/session_root.py +0 -0
  847. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/plugins/validator.py +0 -0
  848. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/reasoning_display.py +0 -0
  849. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/sandbox/__init__.py +0 -0
  850. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/sandbox/backend.py +0 -0
  851. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/sandbox/smoke.py +0 -0
  852. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/statusline_settings.py +0 -0
  853. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/statusline_setup.py +0 -0
  854. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tasks/__init__.py +0 -0
  855. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tasks/models.py +0 -0
  856. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tasks/output.py +0 -0
  857. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tasks/service.py +0 -0
  858. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/__init__.py +0 -0
  859. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/code_intelligence_ops.py +0 -0
  860. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/file_ops.py +0 -0
  861. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/search_ops.py +0 -0
  862. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/shell.py +0 -0
  863. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/tools/web_ops.py +0 -0
  864. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/upgrade.py +0 -0
  865. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/voice/keyterms.py +0 -0
  866. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/worktree/__init__.py +0 -0
  867. {koder-0.6.3 → koder-0.7.1}/koder_agent/harness/worktree/conflicts.py +0 -0
  868. {koder-0.6.3 → koder-0.7.1}/koder_agent/mcp/lifecycle.py +0 -0
  869. {koder-0.6.3 → koder-0.7.1}/koder_agent/mcp/project_approvals.py +0 -0
  870. {koder-0.6.3 → koder-0.7.1}/koder_agent/mcp/prompts.py +0 -0
  871. {koder-0.6.3 → koder-0.7.1}/koder_agent/providers/__init__.py +0 -0
  872. {koder-0.6.3 → koder-0.7.1}/koder_agent/providers/models.py +0 -0
  873. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/code_intelligence.py +0 -0
  874. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/config_tool.py +0 -0
  875. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/cron.py +0 -0
  876. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/orchestration.py +0 -0
  877. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/plan_mode.py +0 -0
  878. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/sleep.py +0 -0
  879. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/task_output.py +0 -0
  880. {koder-0.6.3 → koder-0.7.1}/koder_agent/tools/task_stop.py +0 -0
  881. {koder-0.6.3 → koder-0.7.1}/koder_agent/utils/model_deprecation.py +0 -0
  882. {koder-0.6.3 → koder-0.7.1}/koder_agent/utils/queue.py +0 -0
  883. {koder-0.6.3 → koder-0.7.1}/koder_agent/utils/sessions.py +0 -0
  884. {koder-0.6.3 → koder-0.7.1}/koder_agent/utils/terminal_theme.py +0 -0
koder-0.7.1/.gitignore ADDED
@@ -0,0 +1,214 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ .DS_Store
6
+
7
+ # Helm files
8
+ .cr-index
9
+ .cr-release-packages
10
+ index.yaml
11
+
12
+ # C extensions
13
+ *.so
14
+
15
+ # Distribution / packaging
16
+ .Python
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ pip-wheel-metadata/
30
+ share/python-wheels/
31
+ *.egg-info/
32
+ .installed.cfg
33
+ .ruff_cache
34
+ .uv-cache
35
+ *.egg
36
+ MANIFEST
37
+
38
+ # PyInstaller
39
+ # Usually these files are written by a python script from a template
40
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
41
+ *.manifest
42
+ *.spec
43
+
44
+ # Installer logs
45
+ pip-log.txt
46
+ pip-delete-this-directory.txt
47
+
48
+ # Unit test / coverage reports
49
+ htmlcov/
50
+ .tox/
51
+ .nox/
52
+ .coverage
53
+ .coverage.*
54
+ .cache
55
+ nosetests.xml
56
+ coverage.xml
57
+ *.cover
58
+ *.py,cover
59
+ .hypothesis/
60
+ .pytest_cache/
61
+ cover/
62
+
63
+ # Translations
64
+ *.mo
65
+ *.pot
66
+
67
+ # Django stuff:
68
+ *.log
69
+ local_settings.py
70
+ db.sqlite3
71
+ db.sqlite3-journal
72
+
73
+ # Flask stuff:
74
+ instance/
75
+ .webassets-cache
76
+
77
+ # Scrapy stuff:
78
+ .scrapy
79
+
80
+ # Sphinx documentation
81
+ docs/_build/
82
+
83
+ # PyBuilder
84
+ .pybuilder/
85
+ target/
86
+
87
+ # Jupyter Notebook
88
+ .ipynb_checkpoints
89
+
90
+ # IPython
91
+ profile_default/
92
+ ipython_config.py
93
+
94
+ # pyenv
95
+ .python-version
96
+
97
+ # pipenv
98
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
99
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
100
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
101
+ # install all needed dependencies.
102
+ #Pipfile.lock
103
+
104
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
105
+ __pypackages__/
106
+
107
+ # Celery stuff
108
+ celerybeat-schedule
109
+ celerybeat.pid
110
+
111
+ # SageMath parsed files
112
+ *.sage.py
113
+
114
+ # Environments
115
+ .env
116
+ .envrc
117
+ .venv
118
+ env/
119
+ venv/
120
+ ENV/
121
+ env.bak/
122
+ venv.bak/
123
+
124
+ # Spyder project settings
125
+ .spyderproject
126
+ .spyproject
127
+
128
+ # Rope project settings
129
+ .ropeproject
130
+
131
+ # mkdocs documentation
132
+ /site
133
+
134
+ # mypy
135
+ .mypy_cache/
136
+ .dmypy.json
137
+ dmypy.json
138
+
139
+ # Pyre type checker
140
+ .pyre/
141
+ .streamlit/
142
+ .koder.db
143
+
144
+ # pytype static type analyzer
145
+ .pytype/
146
+
147
+ # Cython debug symbols
148
+ cython_debug/
149
+
150
+ # PyCharm
151
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
152
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
153
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
154
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
155
+ #.idea/
156
+
157
+ # Abstra
158
+ # Abstra is an AI-powered process automation framework.
159
+ # Ignore directories containing user credentials, local state, and settings.
160
+ # Learn more at https://abstra.io/docs
161
+ .abstra/
162
+
163
+ # Visual Studio Code
164
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
165
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
166
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
167
+ # you could uncomment the following to ignore the entire vscode folder
168
+ # .vscode/
169
+
170
+ # Ruff stuff:
171
+ .ruff_cache/
172
+
173
+ # PyPI configuration file
174
+ .pypirc
175
+
176
+ # Cursor
177
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
178
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
179
+ # refer to https://docs.cursor.com/context/ignore-files
180
+ .cursorignore
181
+ .cursorindexingignore
182
+
183
+ # Marimo
184
+ marimo/_static/
185
+ marimo/_lsp/
186
+ __marimo__/
187
+ .tmp/
188
+ .tmp-team-members
189
+ .tmp-team-service
190
+ # Local AI agent & research directories
191
+ .claude/
192
+ .codex/
193
+ .cursor/
194
+ .gemini/
195
+ .agents/
196
+ .agent/
197
+ .research/
198
+ .superpowers/
199
+ .worktrees/
200
+ .windsurf/
201
+ .aider*
202
+ CLAUDE.md
203
+ GEMINI.md
204
+ .koder/
205
+ /tasks
206
+ /.mcp.json
207
+ agent-output/
208
+
209
+ # Koder Web client
210
+ node_modules/
211
+ # Design round scratch (the direction contract under surfaces/ is tracked)
212
+ .impeccable/mocks/
213
+ .impeccable/questions/
214
+ .impeccable/review/
koder-0.7.1/PKG-INFO ADDED
@@ -0,0 +1,485 @@
1
+ Metadata-Version: 2.5
2
+ Name: koder
3
+ Version: 0.7.1
4
+ Summary: An intuitive AI coding assistant and interactive CLI tool that boosts developer productivity with intelligent automation and context-aware support.
5
+ Project-URL: Homepage, https://github.com/feiskyer/koder
6
+ Project-URL: Repository, https://github.com/feiskyer/koder
7
+ Author: Pengfei Ni
8
+ License-File: LICENSE
9
+ Keywords: agent,agentic,ai,copilot,litellm,openai,vibe coding
10
+ Requires-Python: >=3.11.5
11
+ Requires-Dist: aiohttp<4,>=3.14.5
12
+ Requires-Dist: aiosqlite>=0.22.1
13
+ Requires-Dist: anthropic>=2.3.0
14
+ Requires-Dist: beautifulsoup4>=4.15.0
15
+ Requires-Dist: boto3>=1.43.122
16
+ Requires-Dist: cryptography>=50.0.2
17
+ Requires-Dist: ddgs>=9.16.1
18
+ Requires-Dist: docker>=7.2.0
19
+ Requires-Dist: e2b-code-interpreter>=2.11.6
20
+ Requires-Dist: e2b>=2.62.0
21
+ Requires-Dist: fastapi>=0.162.0
22
+ Requires-Dist: filelock<5,>=4.2.1
23
+ Requires-Dist: google-cloud-aiplatform>=2.7.0
24
+ Requires-Dist: h11<1,>=0.16.0
25
+ Requires-Dist: h2<5,>=4.4.1
26
+ Requires-Dist: httpx[socks]>=0.28.1
27
+ Requires-Dist: jsonschema>=4.26.0
28
+ Requires-Dist: litellm>=1.110.2
29
+ Requires-Dist: mcp<3,>=1.30.0
30
+ Requires-Dist: modal>=1.6.3
31
+ Requires-Dist: openai-agents[litellm]<0.25,>=0.24.0
32
+ Requires-Dist: openai<4,>=3.41.0
33
+ Requires-Dist: prompt-toolkit>=3.0.53
34
+ Requires-Dist: pydantic>=2.14.2
35
+ Requires-Dist: pyjwt>=2.15.1
36
+ Requires-Dist: python-multipart>=0.0.32
37
+ Requires-Dist: pyyaml>=6.0.3
38
+ Requires-Dist: requests>=2.34.2
39
+ Requires-Dist: rich>=15.0.0
40
+ Requires-Dist: sounddevice>=0.5.6
41
+ Requires-Dist: tenacity<9.2,>=9.1.4
42
+ Requires-Dist: tiktoken>=0.14.0
43
+ Requires-Dist: vercel>=0.12.1
44
+ Requires-Dist: websockets<17,>=16.1.1
45
+ Requires-Dist: whatthepatch>=1.0.7
46
+ Provides-Extra: blaxel
47
+ Requires-Dist: openai-agents[blaxel]<0.25,>=0.24.0; extra == 'blaxel'
48
+ Provides-Extra: daytona
49
+ Requires-Dist: openai-agents[daytona]<0.25,>=0.24.0; extra == 'daytona'
50
+ Provides-Extra: quicksand
51
+ Requires-Dist: quick-sandbox<1,>=0.13.0; extra == 'quicksand'
52
+ Description-Content-Type: text/markdown
53
+
54
+ <h1 align="center">
55
+ <picture>
56
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/feiskyer/koder/main/docs/assets/koder-logo-dark.svg">
57
+ <img src="https://raw.githubusercontent.com/feiskyer/koder/main/docs/assets/koder-logo.svg" alt="Koder" width="260">
58
+ </picture>
59
+ </h1>
60
+
61
+ <div align="center">
62
+
63
+ [![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
64
+ [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
65
+ [![PyPI Downloads](https://static.pepy.tech/badge/koder)](https://pepy.tech/projects/koder)
66
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
67
+
68
+ </div>
69
+
70
+ Koder is an experimental, open-source AI coding assistant for the terminal. It combines a streaming TUI, persistent local sessions, durable goals and scheduled loops, repository-aware tools, extensible skills, MCP integrations, sandbox-aware permissions, and multi-agent workflows in one Python runtime.
71
+
72
+ Status: Alpha. Koder is a learning-focused project for exploring agentic coding systems. Expect rapid iteration and occasional sharp edges.
73
+
74
+ ## Start Here
75
+
76
+ ```bash
77
+ uv tool install koder
78
+ export KODER_API_KEY="your-api-key"
79
+ export KODER_MODEL="gpt-4o"
80
+ koder
81
+ ```
82
+
83
+ Prefer a provider-specific key or subscription login? Jump to [Model Configuration](#model-configuration).
84
+
85
+ ## Why Koder
86
+
87
+ Koder is designed for developers who want a local-first coding agent they can inspect, extend, and run across model providers without changing their workflow.
88
+
89
+ - Bring your own model: OpenAI, Anthropic, Google/Gemini, GitHub Copilot, Azure, OAuth-backed subscriptions, OpenRouter, and 100+ LiteLLM providers.
90
+ - Stay in the terminal: use slash commands, file mentions, shell mode, history search, live usage output, and optional voice dictation.
91
+ - Keep long work honest: set session goals with optional token budgets, pause or resume them, and schedule recurring prompts with local cron-backed loops.
92
+ - Keep runtime state local: sessions, transcripts, memories, task records, settings, skills, agents, and team state live under Koder-owned local paths. Model requests still go to the provider you configure.
93
+ - Extend the runtime: add project skills, user skills, plugins, MCP servers, channels, and Magic Docs.
94
+ - Delegate carefully: run background subagents and local teams while the main session stays responsible for integration.
95
+ - Study the system: the Python codebase is organized to make agent scheduling, provider routing, permissions, tools, and TUI behavior easy to trace.
96
+
97
+ ## How It Fits
98
+
99
+ Koder is in the same broad family as terminal-first and open-source AI coding agents. Its emphasis is different:
100
+
101
+ | If you care about... | Koder emphasizes |
102
+ |---|---|
103
+ | Provider choice | Universal `KODER_*` variables, provider-specific keys, OAuth-backed subscriptions, custom base URLs, and LiteLLM provider routing. |
104
+ | Terminal ergonomics | A persistent Rich TUI with slash commands, shell mode, file mentions, usage/cost output, voice input, and resume. |
105
+ | Long-running work | Session goals, token budgets, automatic continuation, and cron-backed loop prompts. |
106
+ | Local inspectability | SQLite sessions, local goals, local memory, local settings, local tokens, and documented privacy boundaries. |
107
+ | Extension experiments | Skills, verifier skills, plugins, MCP servers, channels, Magic Docs, and project instructions. |
108
+ | Multi-agent workflows | Background subagents, local teams, tmux teammates, mailbox/task records, and team memory. |
109
+ | Safety research | Permission rules, managed settings, sandbox policy, backend diagnostics, and explicit local/remote data boundaries. |
110
+
111
+ ## Highlights
112
+
113
+ | Area | What You Get |
114
+ |---|---|
115
+ | Interactive TUI | Streaming output, slash completion, shell mode, file mentions, status line, reverse history search, and multi-line prompts. |
116
+ | Model routing | Universal `KODER_*` variables, provider-specific keys, custom base URLs, reasoning effort, and subscription-backed OAuth providers. |
117
+ | Durable context | SQLite sessions, named sessions, goals, resume, export, compaction, rewind, session history, local memories, and AutoDream consolidation. |
118
+ | Coding tools | File operations, search, shell execution, git helpers, notebooks, web fetch/search, todos, and local code intelligence. |
119
+ | Workflows | Goals, scheduled loops, review, security review, advisor, planning, commit readiness, PR comments, GitHub Actions setup, release notes, and verification summaries. |
120
+ | Agents and teams | Project/user agents, `task_delegate`, `/fork`, `/peers`, in-process teammates, tmux teammates, mailbox routing, tasks, and team memory. |
121
+ | Extensions | Skills, verifier skills, plugins, MCP servers, channels, and Magic Docs. |
122
+ | Safety controls | Permission rules, sandbox policy, managed settings, workspace roots, privacy diagnostics, and local storage boundaries. |
123
+
124
+ ## Installation
125
+
126
+ Install the published CLI with `uv`:
127
+
128
+ ```bash
129
+ uv tool install koder
130
+ ```
131
+
132
+ Or use `pip`:
133
+
134
+ ```bash
135
+ pip install koder
136
+ ```
137
+
138
+ For local development from this repository:
139
+
140
+ ```bash
141
+ git clone https://github.com/feiskyer/koder.git
142
+ cd koder
143
+ uv sync
144
+ uv run koder
145
+ ```
146
+
147
+ Requirements: Python 3.11 or newer and a model provider credential or subscription login.
148
+ Python 3.10 is no longer supported; task cancellation relies on Python 3.11's asyncio APIs.
149
+
150
+ ## Quick Start
151
+
152
+ Set a model credential and start the interactive TUI:
153
+
154
+ ```bash
155
+ export KODER_API_KEY="your-api-key"
156
+ export KODER_MODEL="gpt-4o"
157
+ koder
158
+ ```
159
+
160
+ Run a single prompt from the shell:
161
+
162
+ ```bash
163
+ koder "summarize the current repository"
164
+ ```
165
+
166
+ Use a named session when you want durable context for a project or feature:
167
+
168
+ ```bash
169
+ koder -s billing-refactor
170
+ koder -s billing-refactor "continue the failing test investigation"
171
+ koder --resume
172
+ ```
173
+
174
+ Good first commands inside the TUI:
175
+
176
+ ```bash
177
+ /onboarding
178
+ /status
179
+ /model
180
+ /files
181
+ /permissions
182
+ /help
183
+ ```
184
+
185
+ Good first prompts:
186
+
187
+ ```text
188
+ Inspect this repository and explain the test command.
189
+ Find the smallest safe fix for the failing test, then run the focused test.
190
+ Review the current diff for correctness and missing verification.
191
+ ```
192
+
193
+ ## Common Usage
194
+
195
+ | Task | Command |
196
+ |---|---|
197
+ | Open the TUI | `koder` |
198
+ | Open the browser client | `koder web` |
199
+ | Run one prompt | `koder "fix the failing test"` |
200
+ | Print script-friendly output | `koder --print "summarize"` |
201
+ | Use a named session | `koder -s my-project` |
202
+ | Resume previous work | `koder --resume` or `koder --continue` |
203
+ | Inspect runtime state | `/status`, `/session summary`, `/doctor` |
204
+ | Inspect context | `/files`, `/context`, `/context details` |
205
+ | Review changes | `/diff`, `/review`, `/review --mode security` |
206
+ | Check usage and cost | `/usage`, `/usage details` |
207
+ | Manage agents and teams | `/agents`, `/fork`, `/peers`, `/tasks` |
208
+ | Manage goals and loops | `/goal`, `/loop`, `/loop list` |
209
+ | Manage extensions | `/skills`, `/plugin`, `/mcp`, `/channels` |
210
+ | Manage permissions | `/permissions`, `/sandbox`, `/add-dir` |
211
+
212
+ See the [Command Reference](docs/commands.md) for the complete slash-command catalog.
213
+
214
+ ## Trust Boundaries
215
+
216
+ Koder is local-first, not offline-only:
217
+
218
+ - Koder stores product state under `~/.koder/` and project `.koder/` paths by default.
219
+ - Koder does not upload sessions to a Koder-hosted service.
220
+ - Prompts, selected context, and tool results needed for a turn are sent to the model provider you configure.
221
+ - Goals are stored with local session state, and scheduled loop prompts are stored locally before they are run.
222
+ - MCP servers, plugins, shell commands, and teammate processes can access whatever their local permissions allow unless constrained by Koder policy and sandbox settings.
223
+ - OAuth tokens are stored under `~/.koder/tokens/`; avoid committing secrets into project files.
224
+
225
+ Inspect the current boundary with:
226
+
227
+ ```bash
228
+ /privacy-settings
229
+ /permissions
230
+ /sandbox status
231
+ /files
232
+ /context
233
+ ```
234
+
235
+ ## Model Configuration
236
+
237
+ Koder resolves configuration in this order:
238
+
239
+ 1. CLI arguments
240
+ 2. Environment variables
241
+ 3. `~/.koder/config.yaml`
242
+ 4. Built-in defaults
243
+
244
+ Universal environment variables work across providers:
245
+
246
+ | Variable | Purpose | Example |
247
+ |---|---|---|
248
+ | `KODER_API_KEY` | Universal API key | `sk-...` |
249
+ | `KODER_MODEL` | Active model | `gpt-4o`, `claude-opus-4-20250514` |
250
+ | `KODER_BASE_URL` | Custom OpenAI-compatible endpoint | `http://localhost:8080/v1` |
251
+ | `KODER_REASONING_EFFORT` | Reasoning effort | `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` |
252
+ | `KODER_REASONING_DISPLAY` | Reasoning display mode | `off`, `summary`, `full` |
253
+ | `KODER_ENFORCE_TOOL_APPROVAL` | Approval-required tool calls when no interactive approver is wired. Unset = TTY-aware (fail-closed when non-interactive, allow+log when a TTY is attached) | `1`/`true` (fail closed), `0`/`false` (allow+log) |
254
+ | `KODER_GOAL_MAX_CONTINUATIONS` | Max hidden goal continuation turns per turn before the loop stops; `0` disables continuations | `25` (default), `0`, `10` |
255
+ | `KODER_BG_SHELL_MAX_LINES` | Max retained output lines per background shell (older lines are evicted) | `10000` (default) |
256
+ | `KODER_SKILL_INLINE_COMMANDS` | Whether skills may execute inline ``` !`cmd` ``` at render time | `1` (default), `0`/`false` (disable) |
257
+
258
+ Provider-specific examples:
259
+
260
+ ```bash
261
+ OPENAI_API_KEY="sk-..." KODER_MODEL="gpt-4o" koder
262
+ ANTHROPIC_API_KEY="..." KODER_MODEL="claude-opus-4-20250514" koder
263
+ GOOGLE_API_KEY="..." KODER_MODEL="gemini/gemini-2.5-pro" koder
264
+ KODER_BASE_URL="http://localhost:8080/v1" KODER_MODEL="openai/local-model" koder
265
+ ```
266
+
267
+ Subscription-backed providers use local OAuth token stores:
268
+
269
+ ```bash
270
+ koder auth login google
271
+ koder auth login claude
272
+ koder auth login chatgpt
273
+ koder auth login antigravity
274
+ koder auth login github-copilot
275
+ koder auth list
276
+ ```
277
+
278
+ After login, select an OAuth-backed model with its provider prefix:
279
+
280
+ ```bash
281
+ KODER_MODEL="google/gemini-3-pro-preview" koder
282
+ KODER_MODEL="claude/claude-opus-4-5-20250514" koder
283
+ KODER_MODEL="chatgpt/gpt-5.2" koder
284
+ ```
285
+
286
+ OAuth tokens and cached model lists are stored under `~/.koder/tokens/`.
287
+
288
+ ## Configuration File
289
+
290
+ Persistent defaults live in `~/.koder/config.yaml`:
291
+
292
+ ```yaml
293
+ model:
294
+ name: "gpt-4o"
295
+ provider: "openai"
296
+ reasoning_effort: medium
297
+
298
+ cli:
299
+ session: null
300
+ stream: true
301
+
302
+ mcp_servers: []
303
+
304
+ voice:
305
+ enabled: false
306
+ provider: null
307
+ model: null
308
+
309
+ harness:
310
+ reasoning_display: "off"
311
+ ```
312
+
313
+ Useful configuration commands:
314
+
315
+ ```bash
316
+ koder config show
317
+ koder config edit
318
+ koder config export ~/koder-settings.json
319
+ koder config import ~/koder-settings.json --dry-run
320
+ ```
321
+
322
+ See the [Configuration Guide](docs/configuration.md) for provider setup, OAuth, settings bundles, managed settings, MCP configuration, and voice routing.
323
+
324
+ ## Extending Koder
325
+
326
+ Koder can be extended at the project, user, and plugin levels.
327
+
328
+ ### Skills
329
+
330
+ Skills are local instruction bundles loaded on demand:
331
+
332
+ ```text
333
+ .koder/skills/api-review/SKILL.md
334
+ ~/.koder/skills/personal-style/SKILL.md
335
+ ```
336
+
337
+ ```markdown
338
+ ---
339
+ name: api-review
340
+ description: Review API changes for compatibility and error handling
341
+ allowed_tools:
342
+ - read_file
343
+ - grep_search
344
+ ---
345
+
346
+ Review public API changes for request shape, response shape, status codes, and migration notes.
347
+ ```
348
+
349
+ Inspect skills with `/skills`. `/init` creates or updates `AGENTS.md` from
350
+ repository evidence. For project-specific verifier skills, see the
351
+ [optional verifier-writing skill](examples/skills/init-verifiers/SKILL.md).
352
+
353
+ ### MCP Servers
354
+
355
+ MCP servers add external tools to the runtime:
356
+
357
+ ```bash
358
+ koder mcp add filesystem "python -m mcp.server.filesystem" --scope project
359
+ koder mcp add api --transport http --url http://localhost:8000
360
+ koder mcp list
361
+ ```
362
+
363
+ ### Plugins And Channels
364
+
365
+ Plugins can contribute skills, commands, MCP servers, channels, and dependencies:
366
+
367
+ ```bash
368
+ koder plugin install ./my-plugin --scope project
369
+ koder plugin list
370
+ koder --channels server:my-channel
371
+ koder --channels plugin:team-chat@local
372
+ koder /channels
373
+ ```
374
+
375
+ See [Skills, Plugins, and MCP](docs/extensions.md) for the full extension model.
376
+
377
+ ## Architecture
378
+
379
+ ```text
380
+ koder_agent/
381
+ ├── agentic/ # Agent creation, hooks, guardrails, approvals
382
+ ├── auth/ # OAuth providers, token storage, provider-specific routing
383
+ ├── cli.py # Main CLI entry point
384
+ ├── config/ # YAML, environment, and settings management
385
+ ├── core/ # Scheduler, sessions, goals, streaming, security, TUI prompt
386
+ ├── harness/ # Runtime commands, cron loops, plugins, memory, permissions, teams, UI scaffolding
387
+ ├── mcp/ # Model Context Protocol integration
388
+ ├── providers/ # Provider routing metadata
389
+ ├── tools/ # Tool implementations
390
+ └── utils/ # Client setup, prompts, sessions, model info, terminal theme
391
+ ```
392
+
393
+ Runtime flow:
394
+
395
+ 1. `cli.py` parses arguments and builds a runtime request.
396
+ 2. `HarnessRuntime` loads permissions and dispatches interactive, prompt, and subcommand modes.
397
+ 3. Session flow wires context, hooks, plugins, agents, slash commands, and scheduler execution.
398
+ 4. `AgentScheduler` streams model execution, usage tracking, queued input, and goal continuations.
399
+ 5. Tool and permission layers validate file, shell, MCP, skill, and teammate operations.
400
+ 6. `EnhancedSQLiteSession` persists transcripts and session metadata in `~/.koder/koder.db`.
401
+
402
+ ## Development
403
+
404
+ Set up the repository:
405
+
406
+ ```bash
407
+ uv sync
408
+ uv run koder
409
+ ```
410
+
411
+ Code quality and tests:
412
+
413
+ ```bash
414
+ uv run ruff format && uv run ruff check --fix
415
+ uv run --frozen --no-env-file python scripts/run_isolated_tests.py -q
416
+ ```
417
+
418
+ Focused test examples:
419
+
420
+ ```bash
421
+ uv run --frozen --no-env-file python scripts/run_isolated_tests.py --test tests/test_file_tools.py -q
422
+ uv run --frozen --no-env-file python scripts/run_isolated_tests.py -v -k "test_name"
423
+ ```
424
+
425
+ The isolated runner uses disposable application state, drops inherited provider
426
+ credentials before collection, and guards ordinary Python child processes. It
427
+ excludes real TUI and manual/live-provider tests; it is not an OS sandbox for
428
+ untrusted code. See [test validation](CONTRIBUTING.md#isolated-test-validation)
429
+ for result artifacts and exact boundaries, and
430
+ [wheel validation](CONTRIBUTING.md#wheel-validation) for distribution checks.
431
+
432
+ ## Security And Privacy
433
+
434
+ - API keys should live in environment variables or local user config, not project files.
435
+ - OAuth tokens and cached provider model lists are stored under `~/.koder/tokens/`.
436
+ - Conversation history, goals, scheduled tasks, agent definitions, teams, and host memory are stored locally under `~/.koder/` and project `.koder/` paths. Sandbox files and optional sandbox memory use the configured compute and snapshot storage.
437
+ - Koder does not upload sessions to a Koder-hosted service. Model requests still go to the provider you configure.
438
+ - Shell, file, MCP, and teammate operations use Koder's permission policy. In sandbox workspace mode, model file tools and commands share a persistent sandbox; MCP and orchestration stay on the host. `/sandbox status` reports the selected backend and its policy limits.
439
+
440
+ Use these commands to inspect boundaries:
441
+
442
+ ```bash
443
+ /privacy-settings
444
+ /permissions
445
+ /sandbox
446
+ /managed-settings
447
+ /files
448
+ /context
449
+ ```
450
+
451
+ See [Sandbox Guide](docs/sandbox.md) and [Permissions and Privacy](docs/permissions-and-privacy.md) for details.
452
+
453
+ ## Documentation
454
+
455
+ - [Feature Guide](docs/features.md) - topic map for Koder's main user-facing capabilities
456
+ - [Getting Started](docs/getting-started.md) - first install, provider setup, and a safe first session
457
+ - [Interactive TUI](docs/interactive-tui.md) - prompt controls, slash commands, mentions, shell mode, and voice input
458
+ - [Web](docs/web.md) - `koder web`: the same sessions, configuration and approvals in a browser
459
+ - [Configuration Guide](docs/configuration.md) - config files, environment variables, providers, OAuth, and settings bundles
460
+ - [Sessions and Memory](docs/sessions-and-memory.md) - named sessions, goals, scheduled loops, resume, compaction, rewind, memory, and local storage
461
+ - [Agents and Teams](docs/agents-and-teams.md) - background subagents, project agents, teams, teammate modes, and team memory
462
+ - [Workflows](docs/workflows.md) - review, planning, Git, GitHub, release, and verification workflows
463
+ - [Skills, Plugins, and MCP](docs/extensions.md) - extending Koder with skills, plugins, MCP servers, channels, and Magic Docs
464
+ - [Permissions and Privacy](docs/permissions-and-privacy.md) - approvals, sandbox policy, managed settings, workspace roots, and data boundaries
465
+ - [Hooks](docs/hooks.md) - run your own commands on session, tool, permission, and agent lifecycle events
466
+ - [Sandbox Guide](docs/sandbox.md) - persistent workspaces, backends, recovery, and troubleshooting
467
+ - [Sandbox Files and Storage](docs/sandbox-storage.md) - local files, snapshots, and optional cloud storage mounts
468
+ - [Voice Mode](docs/voice-mode.md) - voice dictation setup and provider-specific notes
469
+ - [Command Reference](docs/commands.md) - complete slash-command catalog
470
+
471
+ ## Contributing
472
+
473
+ Contributions are welcome.
474
+
475
+ 1. Fork the repository.
476
+ 2. Create a feature branch: `git checkout -b feature/amazing-feature`.
477
+ 3. Make a focused change with tests or validation.
478
+ 4. Commit your changes: `git commit -m 'Add amazing feature'`.
479
+ 5. Push the branch and open a pull request.
480
+
481
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
482
+
483
+ ## License
484
+
485
+ MIT License. See [LICENSE](LICENSE) for details.