koder 0.5.3__tar.gz → 0.6.2__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 (345) hide show
  1. {koder-0.5.3 → koder-0.6.2}/.claude/settings.local.json +25 -6
  2. {koder-0.5.3 → koder-0.6.2}/.gitignore +3 -2
  3. {koder-0.5.3 → koder-0.6.2}/PKG-INFO +40 -30
  4. {koder-0.5.3 → koder-0.6.2}/README.md +21 -11
  5. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/agent.py +240 -48
  6. koder-0.6.2/koder_agent/agentic/approval_hooks.py +180 -0
  7. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/hook_guardrail.py +6 -3
  8. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/skill_guardrail.py +1 -2
  9. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/client_integration.py +25 -6
  10. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/codex_prompts.py +0 -1
  11. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/providers/antigravity.py +13 -4
  12. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/providers/chatgpt.py +14 -6
  13. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/providers/claude.py +14 -3
  14. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/providers/google.py +14 -3
  15. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/tool_utils.py +0 -2
  16. {koder-0.5.3 → koder-0.6.2}/koder_agent/cli.py +143 -5
  17. {koder-0.5.3 → koder-0.6.2}/koder_agent/config/models.py +18 -6
  18. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/bash_security.py +250 -11
  19. koder-0.6.2/koder_agent/core/constants.py +73 -0
  20. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/file_index.py +4 -1
  21. koder-0.6.2/koder_agent/core/goal_display.py +121 -0
  22. koder-0.6.2/koder_agent/core/goal_prompts.py +151 -0
  23. koder-0.6.2/koder_agent/core/goal_runtime.py +181 -0
  24. koder-0.6.2/koder_agent/core/goals.py +544 -0
  25. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/interactive.py +555 -47
  26. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/keyboard_listener.py +10 -0
  27. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/notifications.py +0 -1
  28. koder-0.6.2/koder_agent/core/queued_input.py +112 -0
  29. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/scheduler.py +926 -147
  30. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/security.py +0 -4
  31. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/session.py +61 -179
  32. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/status_line.py +192 -14
  33. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/streaming_display.py +10 -1
  34. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/usage_tracker.py +105 -6
  35. koder-0.6.2/koder_agent/core/working_indicator.py +127 -0
  36. {koder-0.5.3 → koder-0.6.2}/koder_agent/data/model_prices_and_context_window.json +5715 -957
  37. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/hooks.py +38 -27
  38. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/service.py +87 -17
  39. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/runtime.py +6 -2
  40. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/auth/commands.py +162 -4
  41. koder-0.6.2/koder_agent/harness/checkpoint.py +370 -0
  42. koder-0.6.2/koder_agent/harness/cli/completion.py +165 -0
  43. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/cli/entrypoint.py +12 -1
  44. koder-0.6.2/koder_agent/harness/cli/headless.py +68 -0
  45. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/config_commands.py +0 -2
  46. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/inspection_commands.py +0 -2
  47. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/runtime_commands.py +2 -6
  48. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/session_commands.py +0 -1
  49. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/workflow_review_commands.py +0 -2
  50. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/workflow_state_commands.py +0 -1
  51. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/interactive.py +606 -608
  52. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/internal/debug_commands.py +1 -1
  53. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/internal/diagnostic_commands.py +1 -3
  54. koder-0.6.2/koder_agent/harness/commands/prompt_commands.py +170 -0
  55. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/commands.py +79 -1
  56. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/schema.py +0 -1
  57. koder-0.6.2/koder_agent/harness/cron/expression.py +152 -0
  58. koder-0.6.2/koder_agent/harness/cron/loop.py +170 -0
  59. koder-0.6.2/koder_agent/harness/cron/runtime.py +116 -0
  60. koder-0.6.2/koder_agent/harness/cron/scheduler.py +121 -0
  61. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/cron/storage.py +16 -0
  62. koder-0.6.2/koder_agent/harness/diagnostics.py +122 -0
  63. koder-0.6.2/koder_agent/harness/hooks/project_approval.py +92 -0
  64. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/hooks/runtime.py +185 -66
  65. koder-0.6.2/koder_agent/harness/managed_settings.py +53 -0
  66. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/compact.py +145 -16
  67. koder-0.6.2/koder_agent/harness/memory/micro_compact.py +139 -0
  68. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/post_compact.py +45 -13
  69. koder-0.6.2/koder_agent/harness/memory/recovery.py +130 -0
  70. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/retrieval.py +63 -4
  71. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/onboarding.py +40 -20
  72. koder-0.6.2/koder_agent/harness/output_styles.py +188 -0
  73. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/paths.py +8 -0
  74. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/ai_classifier.py +9 -1
  75. koder-0.6.2/koder_agent/harness/permissions/interactive_approver.py +133 -0
  76. koder-0.6.2/koder_agent/harness/permissions/persistence.py +41 -0
  77. koder-0.6.2/koder_agent/harness/permissions/rules.py +249 -0
  78. koder-0.6.2/koder_agent/harness/permissions/service.py +693 -0
  79. koder-0.6.2/koder_agent/harness/permissions/shell_classifier.py +814 -0
  80. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/pr_status.py +1 -1
  81. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/prompt_suggestion.py +0 -2
  82. koder-0.6.2/koder_agent/harness/review_flow.py +153 -0
  83. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/runtime.py +35 -1
  84. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/policy.py +68 -0
  85. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/registry.py +19 -4
  86. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/sdk_backend.py +28 -2
  87. koder-0.6.2/koder_agent/harness/sandbox/workspace.py +256 -0
  88. koder-0.6.2/koder_agent/harness/session_env.py +236 -0
  89. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/session_flow.py +271 -19
  90. koder-0.6.2/koder_agent/harness/skills/bundled.py +127 -0
  91. koder-0.6.2/koder_agent/harness/skills/bundled_skills/batch.md +95 -0
  92. koder-0.6.2/koder_agent/harness/skills/bundled_skills/code-review.md +188 -0
  93. koder-0.6.2/koder_agent/harness/skills/bundled_skills/debug.md +68 -0
  94. koder-0.6.2/koder_agent/harness/skills/bundled_skills/fewer-permission-prompts.md +113 -0
  95. koder-0.6.2/koder_agent/harness/skills/bundled_skills/init-explore.md +44 -0
  96. koder-0.6.2/koder_agent/harness/skills/bundled_skills/loop.md +23 -0
  97. koder-0.6.2/koder_agent/harness/skills/bundled_skills/remember.md +60 -0
  98. koder-0.6.2/koder_agent/harness/skills/bundled_skills/review-spec.md +113 -0
  99. koder-0.6.2/koder_agent/harness/skills/bundled_skills/run.md +119 -0
  100. koder-0.6.2/koder_agent/harness/skills/bundled_skills/security-review.md +110 -0
  101. koder-0.6.2/koder_agent/harness/skills/bundled_skills/simplify.md +88 -0
  102. koder-0.6.2/koder_agent/harness/skills/bundled_skills/stuck.md +70 -0
  103. koder-0.6.2/koder_agent/harness/skills/bundled_skills/update-config.md +128 -0
  104. koder-0.6.2/koder_agent/harness/skills/bundled_skills/verify.md +116 -0
  105. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/skills/discovery.py +10 -4
  106. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/statusline_setup.py +4 -0
  107. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tips.py +5 -5
  108. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/shell.py +7 -3
  109. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/shell_executor.py +259 -60
  110. koder-0.6.2/koder_agent/harness/upgrade.py +60 -0
  111. koder-0.6.2/koder_agent/harness/version_info.py +176 -0
  112. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/worktree/service.py +63 -0
  113. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/__init__.py +76 -7
  114. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/elicitation.py +35 -2
  115. koder-0.6.2/koder_agent/mcp/limits.py +129 -0
  116. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/oauth.py +182 -96
  117. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/project_approvals.py +12 -0
  118. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/reconnection.py +60 -1
  119. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/server_factory.py +85 -15
  120. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/server_manager.py +117 -43
  121. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/__init__.py +13 -36
  122. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/agent.py +9 -3
  123. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/code_intelligence.py +8 -0
  124. koder-0.6.2/koder_agent/tools/compat.py +147 -0
  125. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/config_tool.py +7 -1
  126. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/cron.py +22 -54
  127. koder-0.6.2/koder_agent/tools/engine.py +30 -0
  128. koder-0.6.2/koder_agent/tools/file.py +824 -0
  129. koder-0.6.2/koder_agent/tools/file_state.py +127 -0
  130. koder-0.6.2/koder_agent/tools/goal.py +210 -0
  131. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/notebook_edit.py +12 -1
  132. koder-0.6.2/koder_agent/tools/permission_context.py +305 -0
  133. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/search.py +67 -8
  134. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/shell.py +240 -19
  135. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/skill.py +365 -46
  136. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/skill_context.py +149 -10
  137. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/task.py +43 -7
  138. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/task_lifecycle.py +5 -1
  139. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/task_stop.py +6 -15
  140. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/todo.py +25 -1
  141. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/tool_search.py +7 -1
  142. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/worktree.py +14 -2
  143. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/client.py +192 -51
  144. koder-0.6.2/koder_agent/utils/image_input.py +203 -0
  145. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/prompts.py +78 -45
  146. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/sessions.py +4 -0
  147. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/terminal_theme.py +15 -0
  148. {koder-0.5.3 → koder-0.6.2}/pyproject.toml +19 -19
  149. koder-0.5.3/koder_agent/agentic/approval_hooks.py +0 -112
  150. koder-0.5.3/koder_agent/harness/cron/scheduler.py +0 -140
  151. koder-0.5.3/koder_agent/harness/github_actions.py +0 -580
  152. koder-0.5.3/koder_agent/harness/ide.py +0 -235
  153. koder-0.5.3/koder_agent/harness/managed_settings.py +0 -105
  154. koder-0.5.3/koder_agent/harness/memory/micro_compact.py +0 -68
  155. koder-0.5.3/koder_agent/harness/memory/recovery.py +0 -57
  156. koder-0.5.3/koder_agent/harness/permissions/persistence.py +0 -24
  157. koder-0.5.3/koder_agent/harness/permissions/rules.py +0 -40
  158. koder-0.5.3/koder_agent/harness/permissions/service.py +0 -429
  159. koder-0.5.3/koder_agent/harness/permissions/shell_classifier.py +0 -357
  160. koder-0.5.3/koder_agent/harness/policy_limits.py +0 -81
  161. koder-0.5.3/koder_agent/harness/sandbox/workspace.py +0 -100
  162. koder-0.5.3/koder_agent/harness/session_env.py +0 -97
  163. koder-0.5.3/koder_agent/harness/skills/bundled.py +0 -149
  164. koder-0.5.3/koder_agent/harness/state/__init__.py +0 -7
  165. koder-0.5.3/koder_agent/harness/state/actions.py +0 -15
  166. koder-0.5.3/koder_agent/harness/state/models.py +0 -19
  167. koder-0.5.3/koder_agent/harness/state/selectors.py +0 -24
  168. koder-0.5.3/koder_agent/harness/state/store.py +0 -27
  169. koder-0.5.3/koder_agent/harness/ui/__init__.py +0 -5
  170. koder-0.5.3/koder_agent/harness/ui/app.py +0 -29
  171. koder-0.5.3/koder_agent/harness/ui/permissions/__init__.py +0 -5
  172. koder-0.5.3/koder_agent/harness/ui/permissions/dialog.py +0 -17
  173. koder-0.5.3/koder_agent/harness/ui/screens/__init__.py +0 -1
  174. koder-0.5.3/koder_agent/harness/ui/screens/main.py +0 -12
  175. koder-0.5.3/koder_agent/harness/ui/screens/plugins.py +0 -13
  176. koder-0.5.3/koder_agent/harness/ui/widgets/__init__.py +0 -1
  177. koder-0.5.3/koder_agent/harness/ui/widgets/prompt_buffer.py +0 -11
  178. koder-0.5.3/koder_agent/harness/ui/widgets/status_line.py +0 -14
  179. koder-0.5.3/koder_agent/harness/version_info.py +0 -42
  180. koder-0.5.3/koder_agent/mcp/limits.py +0 -44
  181. koder-0.5.3/koder_agent/tools/compat.py +0 -44
  182. koder-0.5.3/koder_agent/tools/engine.py +0 -165
  183. koder-0.5.3/koder_agent/tools/file.py +0 -524
  184. koder-0.5.3/koder_agent/tools/file_state.py +0 -71
  185. {koder-0.5.3 → koder-0.6.2}/LICENSE +0 -0
  186. {koder-0.5.3 → koder-0.6.2}/koder_agent/__init__.py +0 -0
  187. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/__init__.py +0 -0
  188. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/api_errors.py +0 -0
  189. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/hooks.py +0 -0
  190. {koder-0.5.3 → koder-0.6.2}/koder_agent/agentic/plan_guardrail.py +0 -0
  191. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/__init__.py +0 -0
  192. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/base.py +0 -0
  193. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/callback_server.py +0 -0
  194. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/constants.py +0 -0
  195. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/litellm_oauth.py +0 -0
  196. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/providers/__init__.py +0 -0
  197. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/secure_storage.py +0 -0
  198. {koder-0.5.3 → koder-0.6.2}/koder_agent/auth/token_storage.py +0 -0
  199. {koder-0.5.3 → koder-0.6.2}/koder_agent/config/__init__.py +0 -0
  200. {koder-0.5.3 → koder-0.6.2}/koder_agent/config/manager.py +0 -0
  201. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/__init__.py +0 -0
  202. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/at_completer.py +0 -0
  203. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/at_mentions.py +0 -0
  204. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/auto_suggest.py +0 -0
  205. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/keybindings.py +0 -0
  206. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/shell_completer.py +0 -0
  207. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/skill_usage.py +0 -0
  208. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/terminal_reflow.py +0 -0
  209. {koder-0.5.3 → koder-0.6.2}/koder_agent/core/vim_mode.py +0 -0
  210. {koder-0.5.3 → koder-0.6.2}/koder_agent/data/__init__.py +0 -0
  211. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/__init__.py +0 -0
  212. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/add_dir_validation.py +0 -0
  213. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/__init__.py +0 -0
  214. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/commands.py +0 -0
  215. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/definitions.py +0 -0
  216. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/messages.py +0 -0
  217. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/models.py +0 -0
  218. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/summary.py +0 -0
  219. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/__init__.py +0 -0
  220. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/context.py +0 -0
  221. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/in_process.py +0 -0
  222. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/memory_sync.py +0 -0
  223. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/models.py +0 -0
  224. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/permission_bridge.py +0 -0
  225. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/routing.py +0 -0
  226. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/service.py +0 -0
  227. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/task_service.py +0 -0
  228. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/agents/teams/tmux_backend.py +0 -0
  229. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/auth/__init__.py +0 -0
  230. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/bootstrap.py +0 -0
  231. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/buddy.py +0 -0
  232. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/__init__.py +0 -0
  233. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/gate.py +0 -0
  234. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/interceptor.py +0 -0
  235. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/notification.py +0 -0
  236. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/permissions.py +0 -0
  237. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/state.py +0 -0
  238. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/channels/types.py +0 -0
  239. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/cli/__init__.py +0 -0
  240. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/code_intelligence.py +0 -0
  241. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/__init__.py +0 -0
  242. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/advisor.py +0 -0
  243. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/agents_view.py +0 -0
  244. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/brief.py +0 -0
  245. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/buddy.py +0 -0
  246. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/__init__.py +0 -0
  247. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/builtins/plugin_commands.py +0 -0
  248. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/internal/__init__.py +0 -0
  249. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/pr_comments.py +0 -0
  250. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/registry.py +0 -0
  251. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/review_context.py +0 -0
  252. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/security_review.py +0 -0
  253. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/commands/workflow_helpers.py +0 -0
  254. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/__init__.py +0 -0
  255. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/backup.py +0 -0
  256. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/migration.py +0 -0
  257. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/service.py +0 -0
  258. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/config/settings_bundle.py +0 -0
  259. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/cron/__init__.py +0 -0
  260. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/magic_docs.py +0 -0
  261. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/mcp/__init__.py +0 -0
  262. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/mcp/commands.py +0 -0
  263. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/__init__.py +0 -0
  264. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/auto_compact.py +0 -0
  265. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/auto_dream.py +0 -0
  266. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/budget.py +0 -0
  267. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/extraction.py +0 -0
  268. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/legacy_db.py +0 -0
  269. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/memory_files.py +0 -0
  270. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/models.py +0 -0
  271. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/pruning.py +0 -0
  272. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/session_memory.py +0 -0
  273. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/transcript_store.py +0 -0
  274. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/memory/writer_lock.py +0 -0
  275. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/__init__.py +0 -0
  276. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/denial_log.py +0 -0
  277. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/modes.py +0 -0
  278. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/path_policy.py +0 -0
  279. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/powershell_classifier.py +0 -0
  280. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/propagation.py +0 -0
  281. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/results.py +0 -0
  282. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/permissions/rule_sources.py +0 -0
  283. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plan/__init__.py +0 -0
  284. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plan/mode.py +0 -0
  285. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/__init__.py +0 -0
  286. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/catalog.py +0 -0
  287. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/commands.py +0 -0
  288. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/env.py +0 -0
  289. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/lifecycle.py +0 -0
  290. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/manifest.py +0 -0
  291. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/marketplace.py +0 -0
  292. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/name_validation.py +0 -0
  293. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/options.py +0 -0
  294. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/registry.py +0 -0
  295. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/session_root.py +0 -0
  296. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/state.py +0 -0
  297. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/plugins/validator.py +0 -0
  298. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/reasoning_display.py +0 -0
  299. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/release_notes.py +0 -0
  300. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/__init__.py +0 -0
  301. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/backend.py +0 -0
  302. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox/smoke.py +0 -0
  303. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/sandbox_settings.py +0 -0
  304. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/statusline_settings.py +0 -0
  305. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tasks/__init__.py +0 -0
  306. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tasks/models.py +0 -0
  307. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tasks/output.py +0 -0
  308. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tasks/service.py +0 -0
  309. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tasks/storage.py +0 -0
  310. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/__init__.py +0 -0
  311. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/code_intelligence_ops.py +0 -0
  312. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/file_ops.py +0 -0
  313. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/mcp_ops.py +0 -0
  314. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/registry.py +0 -0
  315. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/search_ops.py +0 -0
  316. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/tools/web_ops.py +0 -0
  317. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/voice/__init__.py +0 -0
  318. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/voice/keyterms.py +0 -0
  319. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/voice/service.py +0 -0
  320. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/worktree/__init__.py +0 -0
  321. {koder-0.5.3 → koder-0.6.2}/koder_agent/harness/worktree/conflicts.py +0 -0
  322. {koder-0.5.3 → koder-0.6.2}/koder_agent/litellm_cost_map.py +0 -0
  323. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/notifications.py +0 -0
  324. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/prompts.py +0 -0
  325. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/serve.py +0 -0
  326. {koder-0.5.3 → koder-0.6.2}/koder_agent/mcp/server_config.py +0 -0
  327. {koder-0.5.3 → koder-0.6.2}/koder_agent/providers/__init__.py +0 -0
  328. {koder-0.5.3 → koder-0.6.2}/koder_agent/providers/compat.py +0 -0
  329. {koder-0.5.3 → koder-0.6.2}/koder_agent/providers/models.py +0 -0
  330. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/ask_user.py +0 -0
  331. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/fork_agent.py +0 -0
  332. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/mcp_resource.py +0 -0
  333. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/orchestration.py +0 -0
  334. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/plan_mode.py +0 -0
  335. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/powershell.py +0 -0
  336. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/send_message.py +0 -0
  337. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/sleep.py +0 -0
  338. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/structured_output.py +0 -0
  339. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/task_output.py +0 -0
  340. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/team.py +0 -0
  341. {koder-0.5.3 → koder-0.6.2}/koder_agent/tools/web.py +0 -0
  342. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/__init__.py +0 -0
  343. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/model_deprecation.py +0 -0
  344. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/model_info.py +0 -0
  345. {koder-0.5.3 → koder-0.6.2}/koder_agent/utils/queue.py +0 -0
@@ -53,13 +53,32 @@
53
53
  "Bash(gh pr view:*)",
54
54
  "Bash(uv --version)",
55
55
  "Bash(/Users/fei/Documents/agents/koder/.venv/bin/python --version)",
56
- "Bash(/Users/fei/Documents/agents/koder/.venv/bin/python -c \"import sys; print\\(sys.executable\\); print\\(sys.path\\)\")"
56
+ "Bash(/Users/fei/Documents/agents/koder/.venv/bin/python -c \"import sys; print\\(sys.executable\\); print\\(sys.path\\)\")",
57
+ "Read(//private/tmp/**)",
58
+ "Bash(mkdir koder-wheel-check *)",
59
+ "Bash(uv build *)",
60
+ "Bash(unzip -l /tmp/koder-wheel-check/*.whl)",
61
+ "Bash(mkdir /tmp/koder-wheel-check)",
62
+ "Bash(mkdir /tmp/koder-sdist-check)",
63
+ "Bash(tar -tzf /tmp/koder-sdist-check/*.tar.gz)",
64
+ "Bash(unzip -l dist/*.whl)",
65
+ "Bash(git -C /Users/fei/koder status --short)",
66
+ "Bash(git rm *)",
67
+ "Bash(mkdir rgtest *)",
68
+ "Bash(printf 'hello\\\\nfoo bar\\\\n')",
69
+ "Read(//tmp/**)",
70
+ "Bash(mkdir -p /tmp/koder_gate_test/fakehome /tmp/koder_gate_test/proj)",
71
+ "Bash(printf '%s\\\\n' '{\"mcpServers\": {\"evil\": {\"command\": \"/bin/sh\", \"args\": [\"-c\", \"touch /tmp/koder_gate_pwned\"]}}}')",
72
+ "Bash(rm -f /tmp/koder_gate_pwned)",
73
+ "Bash(HOME=/tmp/koder_gate_test/fakehome uv run --project /Users/fei/koder python -c ' *)",
74
+ "Bash(git checkout *)",
75
+ "Bash(mkdir -p /tmp/ro_test)",
76
+ "Bash(printf 'world\\\\nhello\\\\n')",
77
+ "Bash(mkdir -p /tmp/ptest/ws /tmp/ptest/outside)",
78
+ "Bash(ln -s /tmp/ptest/outside /tmp/ptest/ws/link)",
79
+ "Bash(ln -s /etc /tmp/ptest/ws/etclink)"
57
80
  ],
58
81
  "deny": [],
59
- "ask": [],
60
- "additionalDirectories": [
61
- "/Users/fei/go/opencode-antigravity-auth",
62
- "/Users/fei/go/Antigravity-Manager"
63
- ]
82
+ "ask": []
64
83
  }
65
84
  }
@@ -185,7 +185,8 @@ marimo/_static/
185
185
  marimo/_lsp/
186
186
  __marimo__/
187
187
  .tmp/
188
- .tmp-team-members/
188
+ .tmp-team-members
189
+ .tmp-team-service
189
190
  .koder/
190
191
  /.mcp.json
191
- agent-output/
192
+ agent-output/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: koder
3
- Version: 0.5.3
3
+ Version: 0.6.2
4
4
  Summary: An intuitive AI coding assistant and interactive CLI tool that boosts developer productivity with intelligent automation and context-aware support.
5
5
  Project-URL: Homepage, https://github.com/feiskyer/koder
6
6
  Project-URL: Repository, https://github.com/feiskyer/koder
@@ -9,38 +9,38 @@ License-File: LICENSE
9
9
  Keywords: agent,agentic,ai,copilot,litellm,openai,vibe coding
10
10
  Requires-Python: >=3.10
11
11
  Requires-Dist: aiosqlite>=0.22.1
12
- Requires-Dist: anthropic>=0.104.1
13
- Requires-Dist: apscheduler>=3.11.2
12
+ Requires-Dist: anthropic>=0.116.0
13
+ Requires-Dist: apscheduler>=3.11.3
14
14
  Requires-Dist: backoff>=2.2.1
15
- Requires-Dist: beautifulsoup4>=4.14.3
16
- Requires-Dist: boto3>=1.43.14
17
- Requires-Dist: cryptography>=48.0.0
15
+ Requires-Dist: beautifulsoup4>=4.15.0
16
+ Requires-Dist: boto3>=1.43.45
17
+ Requires-Dist: cryptography>=49.0.0
18
18
  Requires-Dist: ddgs>=9.14.4
19
- Requires-Dist: docker>=7.1.0
20
- Requires-Dist: e2b-code-interpreter>=2.7.0
21
- Requires-Dist: e2b>=2.23.1
22
- Requires-Dist: fastapi-sso>=0.21.0
23
- Requires-Dist: fastapi>=0.136.3
24
- Requires-Dist: google-cloud-aiplatform>=1.153.1
19
+ Requires-Dist: docker>=7.2.0
20
+ Requires-Dist: e2b-code-interpreter>=2.8.1
21
+ Requires-Dist: e2b>=2.31.0
22
+ Requires-Dist: fastapi-sso>=0.21.1
23
+ Requires-Dist: fastapi>=0.139.0
24
+ Requires-Dist: google-cloud-aiplatform>=1.160.0
25
25
  Requires-Dist: httpx[socks]>=0.28.1
26
26
  Requires-Dist: jsonschema>=4.26.0
27
- Requires-Dist: litellm>=1.85.1
28
- Requires-Dist: modal>=1.4.3
29
- Requires-Dist: openai-agents[litellm]>=0.17.3
30
- Requires-Dist: openai==2.38.0
27
+ Requires-Dist: litellm>=1.91.1
28
+ Requires-Dist: modal>=1.5.1
29
+ Requires-Dist: openai-agents[litellm]>=0.18.1
30
+ Requires-Dist: openai==2.45.0
31
31
  Requires-Dist: orjson>=3.11.9
32
32
  Requires-Dist: prompt-toolkit>=3.0.52
33
33
  Requires-Dist: pydantic>=2.13.4
34
34
  Requires-Dist: pyjwt>=2.13.0
35
35
  Requires-Dist: pynacl>=1.6.2
36
- Requires-Dist: python-multipart>=0.0.29
36
+ Requires-Dist: python-multipart>=0.0.32
37
37
  Requires-Dist: pyyaml>=6.0.3
38
38
  Requires-Dist: requests>=2.34.2
39
39
  Requires-Dist: rich>=15.0.0
40
40
  Requires-Dist: sounddevice>=0.5.5
41
41
  Requires-Dist: tiktoken>=0.13.0
42
- Requires-Dist: vercel>=0.5.9
43
- Requires-Dist: websockets>=16.0
42
+ Requires-Dist: vercel>=0.6.0
43
+ Requires-Dist: websockets>=16.1
44
44
  Requires-Dist: whatthepatch>=1.0.7
45
45
  Description-Content-Type: text/markdown
46
46
 
@@ -52,7 +52,7 @@ Description-Content-Type: text/markdown
52
52
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
53
53
  [![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)
54
54
 
55
- Koder is an experimental, open-source AI coding assistant for the terminal. It combines a streaming TUI, persistent local sessions, repository-aware tools, extensible skills, MCP integrations, sandbox-aware permissions, and multi-agent workflows in one Python runtime.
55
+ 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.
56
56
 
57
57
  Status: Alpha. Koder is a learning-focused project for exploring agentic coding systems. Expect rapid iteration and occasional sharp edges.
58
58
 
@@ -73,6 +73,7 @@ Koder is designed for developers who want a local-first coding agent they can in
73
73
 
74
74
  - Bring your own model: OpenAI, Anthropic, Google/Gemini, GitHub Copilot, Azure, OAuth-backed subscriptions, OpenRouter, and 100+ LiteLLM providers.
75
75
  - Stay in the terminal: use slash commands, file mentions, shell mode, history search, live usage output, and optional voice dictation.
76
+ - Keep long work honest: set session goals with optional token budgets, pause or resume them, and schedule recurring prompts with local cron-backed loops.
76
77
  - 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.
77
78
  - Extend the runtime: add project skills, user skills, plugins, MCP servers, channels, and Magic Docs.
78
79
  - Delegate carefully: run background subagents and local teams while the main session stays responsible for integration.
@@ -86,7 +87,8 @@ Koder is in the same broad family as terminal-first and open-source AI coding ag
86
87
  |---|---|
87
88
  | Provider choice | Universal `KODER_*` variables, provider-specific keys, OAuth-backed subscriptions, custom base URLs, and LiteLLM provider routing. |
88
89
  | Terminal ergonomics | A persistent Rich TUI with slash commands, shell mode, file mentions, usage/cost output, voice input, and resume. |
89
- | Local inspectability | SQLite sessions, local memory, local settings, local tokens, and documented privacy boundaries. |
90
+ | Long-running work | Session goals, token budgets, automatic continuation, and cron-backed loop prompts. |
91
+ | Local inspectability | SQLite sessions, local goals, local memory, local settings, local tokens, and documented privacy boundaries. |
90
92
  | Extension experiments | Skills, verifier skills, plugins, MCP servers, channels, Magic Docs, and project instructions. |
91
93
  | Multi-agent workflows | Background subagents, local teams, tmux teammates, mailbox/task records, and team memory. |
92
94
  | Safety research | Permission rules, managed settings, sandbox policy, backend diagnostics, and explicit local/remote data boundaries. |
@@ -97,9 +99,9 @@ Koder is in the same broad family as terminal-first and open-source AI coding ag
97
99
  |---|---|
98
100
  | Interactive TUI | Streaming output, slash completion, shell mode, file mentions, status line, reverse history search, and multi-line prompts. |
99
101
  | Model routing | Universal `KODER_*` variables, provider-specific keys, custom base URLs, reasoning effort, and subscription-backed OAuth providers. |
100
- | Durable context | SQLite sessions, named sessions, resume, export, compaction, rewind, thinkback, local memories, and AutoDream consolidation. |
102
+ | Durable context | SQLite sessions, named sessions, goals, resume, export, compaction, rewind, thinkback, local memories, and AutoDream consolidation. |
101
103
  | Coding tools | File operations, search, shell execution, git helpers, notebooks, web fetch/search, todos, and local code intelligence. |
102
- | Workflows | Review, security review, advisor, planning, commit readiness, PR comments, GitHub Actions setup, release notes, and verification summaries. |
104
+ | Workflows | Goals, scheduled loops, review, security review, advisor, planning, commit readiness, PR comments, GitHub Actions setup, release notes, and verification summaries. |
103
105
  | Agents and teams | Project/user agents, `task_delegate`, `/fork`, `/peers`, in-process teammates, tmux teammates, mailbox routing, tasks, and team memory. |
104
106
  | Extensions | Skills, verifier skills, plugins, MCP servers, channels, and Magic Docs. |
105
107
  | Safety controls | Permission rules, sandbox policy, managed settings, workspace roots, privacy diagnostics, and local storage boundaries. |
@@ -186,6 +188,7 @@ Review the current diff for correctness and missing verification.
186
188
  | Review changes | `/diff`, `/review`, `/security-review` |
187
189
  | Check usage and cost | `/usage`, `/cost` |
188
190
  | Manage agents and teams | `/agents`, `/fork`, `/peers`, `/tasks` |
191
+ | Manage goals and loops | `/goal`, `/loop`, `/schedule` |
189
192
  | Manage extensions | `/skills`, `/plugin`, `/mcp`, `/channels` |
190
193
  | Manage permissions | `/permissions`, `/sandbox`, `/add-dir` |
191
194
 
@@ -198,6 +201,7 @@ Koder is local-first, not offline-only:
198
201
  - Koder stores product state under `~/.koder/` and project `.koder/` paths by default.
199
202
  - Koder does not upload sessions to a Koder-hosted service.
200
203
  - Prompts, selected context, and tool results needed for a turn are sent to the model provider you configure.
204
+ - Goals are stored with local session state, and scheduled loop prompts are stored locally before they are run.
201
205
  - MCP servers, plugins, shell commands, and teammate processes can access whatever their local permissions allow unless constrained by Koder policy and sandbox settings.
202
206
  - OAuth tokens are stored under `~/.koder/tokens/`; avoid committing secrets into project files.
203
207
 
@@ -227,8 +231,12 @@ Universal environment variables work across providers:
227
231
  | `KODER_API_KEY` | Universal API key | `sk-...` |
228
232
  | `KODER_MODEL` | Active model | `gpt-4o`, `claude-opus-4-20250514` |
229
233
  | `KODER_BASE_URL` | Custom OpenAI-compatible endpoint | `http://localhost:8080/v1` |
230
- | `KODER_REASONING_EFFORT` | Reasoning effort | `low`, `medium`, `high` |
234
+ | `KODER_REASONING_EFFORT` | Reasoning effort | `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` |
231
235
  | `KODER_REASONING_DISPLAY` | Reasoning display mode | `off`, `summary`, `full` |
236
+ | `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) |
237
+ | `KODER_GOAL_MAX_CONTINUATIONS` | Max hidden goal continuation turns per turn before the loop stops; `0` disables continuations | `25` (default), `0`, `10` |
238
+ | `KODER_BG_SHELL_MAX_LINES` | Max retained output lines per background shell (older lines are evicted) | `10000` (default) |
239
+ | `KODER_SKILL_INLINE_COMMANDS` | Whether skills may execute inline ``` !`cmd` ``` at render time | `1` (default), `0`/`false` (disable) |
232
240
 
233
241
  Provider-specific examples:
234
242
 
@@ -246,6 +254,7 @@ koder auth login google
246
254
  koder auth login claude
247
255
  koder auth login chatgpt
248
256
  koder auth login antigravity
257
+ koder auth login github-copilot
249
258
  koder auth list
250
259
  ```
251
260
 
@@ -267,7 +276,7 @@ Persistent defaults live in `~/.koder/config.yaml`:
267
276
  model:
268
277
  name: "gpt-4o"
269
278
  provider: "openai"
270
- reasoning_effort: null
279
+ reasoning_effort: medium
271
280
 
272
281
  cli:
273
282
  session: null
@@ -354,8 +363,8 @@ koder_agent/
354
363
  ├── auth/ # OAuth providers, token storage, provider-specific routing
355
364
  ├── cli.py # Main CLI entry point
356
365
  ├── config/ # YAML, environment, and settings management
357
- ├── core/ # Scheduler, sessions, streaming, security, TUI prompt
358
- ├── harness/ # Runtime commands, plugins, memory, permissions, teams, UI scaffolding
366
+ ├── core/ # Scheduler, sessions, goals, streaming, security, TUI prompt
367
+ ├── harness/ # Runtime commands, cron loops, plugins, memory, permissions, teams, UI scaffolding
359
368
  ├── mcp/ # Model Context Protocol integration
360
369
  ├── providers/ # Provider routing metadata
361
370
  ├── tools/ # Tool implementations
@@ -367,7 +376,7 @@ Runtime flow:
367
376
  1. `cli.py` parses arguments and builds a runtime request.
368
377
  2. `HarnessRuntime` loads permissions and dispatches interactive, prompt, and subcommand modes.
369
378
  3. Session flow wires context, hooks, plugins, agents, slash commands, and scheduler execution.
370
- 4. `AgentScheduler` streams model execution and usage tracking.
379
+ 4. `AgentScheduler` streams model execution, usage tracking, queued input, and goal continuations.
371
380
  5. Tool and permission layers validate file, shell, MCP, skill, and teammate operations.
372
381
  6. `EnhancedSQLiteSession` persists transcripts and session metadata in `~/.koder/koder.db`.
373
382
 
@@ -398,7 +407,7 @@ uv run pytest -v -k "test_name"
398
407
 
399
408
  - API keys should live in environment variables or local user config, not project files.
400
409
  - OAuth tokens and cached provider model lists are stored under `~/.koder/tokens/`.
401
- - Sessions, transcripts, memories, tasks, agents, and teams are stored locally under `~/.koder/` and project `.koder/` paths.
410
+ - Sessions, transcripts, goals, memories, scheduled tasks, agents, and teams are stored locally under `~/.koder/` and project `.koder/` paths.
402
411
  - Koder does not upload sessions to a Koder-hosted service. Model requests still go to the provider you configure.
403
412
  - Shell, file, MCP, and teammate operations are mediated by local permission and sandbox policy. Foreground shell commands can use a real sandbox backend when `/sandbox status` reports that backend as available.
404
413
 
@@ -421,11 +430,12 @@ See [Sandbox Guide](docs/sandbox.md) and [Permissions and Privacy](docs/permissi
421
430
  - [Getting Started](docs/getting-started.md) - first install, provider setup, and a safe first session
422
431
  - [Interactive TUI](docs/interactive-tui.md) - prompt controls, slash commands, mentions, shell mode, and voice input
423
432
  - [Configuration Guide](docs/configuration.md) - config files, environment variables, providers, OAuth, and settings bundles
424
- - [Sessions and Memory](docs/sessions-and-memory.md) - named sessions, resume, compaction, rewind, memory, and local storage
433
+ - [Sessions and Memory](docs/sessions-and-memory.md) - named sessions, goals, scheduled loops, resume, compaction, rewind, memory, and local storage
425
434
  - [Agents and Teams](docs/agents-and-teams.md) - background subagents, project agents, teams, teammate modes, and team memory
426
435
  - [Workflows](docs/workflows.md) - review, planning, Git, GitHub, release, and verification workflows
427
436
  - [Skills, Plugins, and MCP](docs/extensions.md) - extending Koder with skills, plugins, MCP servers, channels, and Magic Docs
428
437
  - [Permissions and Privacy](docs/permissions-and-privacy.md) - approvals, sandbox policy, managed settings, workspace roots, and data boundaries
438
+ - [Hooks](docs/hooks.md) - run your own commands on session, tool, permission, and agent lifecycle events
429
439
  - [Sandbox Guide](docs/sandbox.md) - shell sandbox backends, status fields, configuration, and troubleshooting
430
440
  - [Voice Mode](docs/voice-mode.md) - voice dictation setup and provider-specific notes
431
441
  - [Command Reference](docs/commands.md) - complete slash-command catalog
@@ -6,7 +6,7 @@
6
6
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
7
7
  [![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)
8
8
 
9
- Koder is an experimental, open-source AI coding assistant for the terminal. It combines a streaming TUI, persistent local sessions, repository-aware tools, extensible skills, MCP integrations, sandbox-aware permissions, and multi-agent workflows in one Python runtime.
9
+ 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.
10
10
 
11
11
  Status: Alpha. Koder is a learning-focused project for exploring agentic coding systems. Expect rapid iteration and occasional sharp edges.
12
12
 
@@ -27,6 +27,7 @@ Koder is designed for developers who want a local-first coding agent they can in
27
27
 
28
28
  - Bring your own model: OpenAI, Anthropic, Google/Gemini, GitHub Copilot, Azure, OAuth-backed subscriptions, OpenRouter, and 100+ LiteLLM providers.
29
29
  - Stay in the terminal: use slash commands, file mentions, shell mode, history search, live usage output, and optional voice dictation.
30
+ - Keep long work honest: set session goals with optional token budgets, pause or resume them, and schedule recurring prompts with local cron-backed loops.
30
31
  - 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.
31
32
  - Extend the runtime: add project skills, user skills, plugins, MCP servers, channels, and Magic Docs.
32
33
  - Delegate carefully: run background subagents and local teams while the main session stays responsible for integration.
@@ -40,7 +41,8 @@ Koder is in the same broad family as terminal-first and open-source AI coding ag
40
41
  |---|---|
41
42
  | Provider choice | Universal `KODER_*` variables, provider-specific keys, OAuth-backed subscriptions, custom base URLs, and LiteLLM provider routing. |
42
43
  | Terminal ergonomics | A persistent Rich TUI with slash commands, shell mode, file mentions, usage/cost output, voice input, and resume. |
43
- | Local inspectability | SQLite sessions, local memory, local settings, local tokens, and documented privacy boundaries. |
44
+ | Long-running work | Session goals, token budgets, automatic continuation, and cron-backed loop prompts. |
45
+ | Local inspectability | SQLite sessions, local goals, local memory, local settings, local tokens, and documented privacy boundaries. |
44
46
  | Extension experiments | Skills, verifier skills, plugins, MCP servers, channels, Magic Docs, and project instructions. |
45
47
  | Multi-agent workflows | Background subagents, local teams, tmux teammates, mailbox/task records, and team memory. |
46
48
  | Safety research | Permission rules, managed settings, sandbox policy, backend diagnostics, and explicit local/remote data boundaries. |
@@ -51,9 +53,9 @@ Koder is in the same broad family as terminal-first and open-source AI coding ag
51
53
  |---|---|
52
54
  | Interactive TUI | Streaming output, slash completion, shell mode, file mentions, status line, reverse history search, and multi-line prompts. |
53
55
  | Model routing | Universal `KODER_*` variables, provider-specific keys, custom base URLs, reasoning effort, and subscription-backed OAuth providers. |
54
- | Durable context | SQLite sessions, named sessions, resume, export, compaction, rewind, thinkback, local memories, and AutoDream consolidation. |
56
+ | Durable context | SQLite sessions, named sessions, goals, resume, export, compaction, rewind, thinkback, local memories, and AutoDream consolidation. |
55
57
  | Coding tools | File operations, search, shell execution, git helpers, notebooks, web fetch/search, todos, and local code intelligence. |
56
- | Workflows | Review, security review, advisor, planning, commit readiness, PR comments, GitHub Actions setup, release notes, and verification summaries. |
58
+ | Workflows | Goals, scheduled loops, review, security review, advisor, planning, commit readiness, PR comments, GitHub Actions setup, release notes, and verification summaries. |
57
59
  | Agents and teams | Project/user agents, `task_delegate`, `/fork`, `/peers`, in-process teammates, tmux teammates, mailbox routing, tasks, and team memory. |
58
60
  | Extensions | Skills, verifier skills, plugins, MCP servers, channels, and Magic Docs. |
59
61
  | Safety controls | Permission rules, sandbox policy, managed settings, workspace roots, privacy diagnostics, and local storage boundaries. |
@@ -140,6 +142,7 @@ Review the current diff for correctness and missing verification.
140
142
  | Review changes | `/diff`, `/review`, `/security-review` |
141
143
  | Check usage and cost | `/usage`, `/cost` |
142
144
  | Manage agents and teams | `/agents`, `/fork`, `/peers`, `/tasks` |
145
+ | Manage goals and loops | `/goal`, `/loop`, `/schedule` |
143
146
  | Manage extensions | `/skills`, `/plugin`, `/mcp`, `/channels` |
144
147
  | Manage permissions | `/permissions`, `/sandbox`, `/add-dir` |
145
148
 
@@ -152,6 +155,7 @@ Koder is local-first, not offline-only:
152
155
  - Koder stores product state under `~/.koder/` and project `.koder/` paths by default.
153
156
  - Koder does not upload sessions to a Koder-hosted service.
154
157
  - Prompts, selected context, and tool results needed for a turn are sent to the model provider you configure.
158
+ - Goals are stored with local session state, and scheduled loop prompts are stored locally before they are run.
155
159
  - MCP servers, plugins, shell commands, and teammate processes can access whatever their local permissions allow unless constrained by Koder policy and sandbox settings.
156
160
  - OAuth tokens are stored under `~/.koder/tokens/`; avoid committing secrets into project files.
157
161
 
@@ -181,8 +185,12 @@ Universal environment variables work across providers:
181
185
  | `KODER_API_KEY` | Universal API key | `sk-...` |
182
186
  | `KODER_MODEL` | Active model | `gpt-4o`, `claude-opus-4-20250514` |
183
187
  | `KODER_BASE_URL` | Custom OpenAI-compatible endpoint | `http://localhost:8080/v1` |
184
- | `KODER_REASONING_EFFORT` | Reasoning effort | `low`, `medium`, `high` |
188
+ | `KODER_REASONING_EFFORT` | Reasoning effort | `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` |
185
189
  | `KODER_REASONING_DISPLAY` | Reasoning display mode | `off`, `summary`, `full` |
190
+ | `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) |
191
+ | `KODER_GOAL_MAX_CONTINUATIONS` | Max hidden goal continuation turns per turn before the loop stops; `0` disables continuations | `25` (default), `0`, `10` |
192
+ | `KODER_BG_SHELL_MAX_LINES` | Max retained output lines per background shell (older lines are evicted) | `10000` (default) |
193
+ | `KODER_SKILL_INLINE_COMMANDS` | Whether skills may execute inline ``` !`cmd` ``` at render time | `1` (default), `0`/`false` (disable) |
186
194
 
187
195
  Provider-specific examples:
188
196
 
@@ -200,6 +208,7 @@ koder auth login google
200
208
  koder auth login claude
201
209
  koder auth login chatgpt
202
210
  koder auth login antigravity
211
+ koder auth login github-copilot
203
212
  koder auth list
204
213
  ```
205
214
 
@@ -221,7 +230,7 @@ Persistent defaults live in `~/.koder/config.yaml`:
221
230
  model:
222
231
  name: "gpt-4o"
223
232
  provider: "openai"
224
- reasoning_effort: null
233
+ reasoning_effort: medium
225
234
 
226
235
  cli:
227
236
  session: null
@@ -308,8 +317,8 @@ koder_agent/
308
317
  ├── auth/ # OAuth providers, token storage, provider-specific routing
309
318
  ├── cli.py # Main CLI entry point
310
319
  ├── config/ # YAML, environment, and settings management
311
- ├── core/ # Scheduler, sessions, streaming, security, TUI prompt
312
- ├── harness/ # Runtime commands, plugins, memory, permissions, teams, UI scaffolding
320
+ ├── core/ # Scheduler, sessions, goals, streaming, security, TUI prompt
321
+ ├── harness/ # Runtime commands, cron loops, plugins, memory, permissions, teams, UI scaffolding
313
322
  ├── mcp/ # Model Context Protocol integration
314
323
  ├── providers/ # Provider routing metadata
315
324
  ├── tools/ # Tool implementations
@@ -321,7 +330,7 @@ Runtime flow:
321
330
  1. `cli.py` parses arguments and builds a runtime request.
322
331
  2. `HarnessRuntime` loads permissions and dispatches interactive, prompt, and subcommand modes.
323
332
  3. Session flow wires context, hooks, plugins, agents, slash commands, and scheduler execution.
324
- 4. `AgentScheduler` streams model execution and usage tracking.
333
+ 4. `AgentScheduler` streams model execution, usage tracking, queued input, and goal continuations.
325
334
  5. Tool and permission layers validate file, shell, MCP, skill, and teammate operations.
326
335
  6. `EnhancedSQLiteSession` persists transcripts and session metadata in `~/.koder/koder.db`.
327
336
 
@@ -352,7 +361,7 @@ uv run pytest -v -k "test_name"
352
361
 
353
362
  - API keys should live in environment variables or local user config, not project files.
354
363
  - OAuth tokens and cached provider model lists are stored under `~/.koder/tokens/`.
355
- - Sessions, transcripts, memories, tasks, agents, and teams are stored locally under `~/.koder/` and project `.koder/` paths.
364
+ - Sessions, transcripts, goals, memories, scheduled tasks, agents, and teams are stored locally under `~/.koder/` and project `.koder/` paths.
356
365
  - Koder does not upload sessions to a Koder-hosted service. Model requests still go to the provider you configure.
357
366
  - Shell, file, MCP, and teammate operations are mediated by local permission and sandbox policy. Foreground shell commands can use a real sandbox backend when `/sandbox status` reports that backend as available.
358
367
 
@@ -375,11 +384,12 @@ See [Sandbox Guide](docs/sandbox.md) and [Permissions and Privacy](docs/permissi
375
384
  - [Getting Started](docs/getting-started.md) - first install, provider setup, and a safe first session
376
385
  - [Interactive TUI](docs/interactive-tui.md) - prompt controls, slash commands, mentions, shell mode, and voice input
377
386
  - [Configuration Guide](docs/configuration.md) - config files, environment variables, providers, OAuth, and settings bundles
378
- - [Sessions and Memory](docs/sessions-and-memory.md) - named sessions, resume, compaction, rewind, memory, and local storage
387
+ - [Sessions and Memory](docs/sessions-and-memory.md) - named sessions, goals, scheduled loops, resume, compaction, rewind, memory, and local storage
379
388
  - [Agents and Teams](docs/agents-and-teams.md) - background subagents, project agents, teams, teammate modes, and team memory
380
389
  - [Workflows](docs/workflows.md) - review, planning, Git, GitHub, release, and verification workflows
381
390
  - [Skills, Plugins, and MCP](docs/extensions.md) - extending Koder with skills, plugins, MCP servers, channels, and Magic Docs
382
391
  - [Permissions and Privacy](docs/permissions-and-privacy.md) - approvals, sandbox policy, managed settings, workspace roots, and data boundaries
392
+ - [Hooks](docs/hooks.md) - run your own commands on session, tool, permission, and agent lifecycle events
383
393
  - [Sandbox Guide](docs/sandbox.md) - shell sandbox backends, status fields, configuration, and troubleshooting
384
394
  - [Voice Mode](docs/voice-mode.md) - voice dictation setup and provider-specific notes
385
395
  - [Command Reference](docs/commands.md) - complete slash-command catalog