koder 0.6.4__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.
- koder-0.7.1/.gitignore +214 -0
- koder-0.7.1/PKG-INFO +485 -0
- koder-0.7.1/README.md +432 -0
- koder-0.7.1/koder_agent/agentic/agent.py +1704 -0
- koder-0.7.1/koder_agent/agentic/api_errors.py +162 -0
- koder-0.7.1/koder_agent/agentic/approval_hooks.py +207 -0
- koder-0.7.1/koder_agent/agentic/call_ids.py +84 -0
- koder-0.7.1/koder_agent/agentic/hooks.py +173 -0
- koder-0.7.1/koder_agent/agentic/oauth_model.py +547 -0
- koder-0.7.1/koder_agent/agentic/prefix_diagnostics.py +420 -0
- koder-0.7.1/koder_agent/agentic/prompt_cache.py +556 -0
- koder-0.7.1/koder_agent/agentic/prompt_render.py +1028 -0
- koder-0.7.1/koder_agent/agentic/request_context.py +797 -0
- koder-0.7.1/koder_agent/agentic/responses_compat.py +158 -0
- koder-0.7.1/koder_agent/auth/base.py +374 -0
- koder-0.7.1/koder_agent/auth/client_integration.py +379 -0
- koder-0.7.1/koder_agent/auth/constants.py +236 -0
- koder-0.7.1/koder_agent/auth/copilot_cache.py +213 -0
- koder-0.7.1/koder_agent/auth/copilot_fallback.py +320 -0
- koder-0.7.1/koder_agent/auth/copilot_model.py +350 -0
- koder-0.7.1/koder_agent/auth/copilot_native.py +360 -0
- koder-0.7.1/koder_agent/auth/copilot_refresh.py +54 -0
- koder-0.7.1/koder_agent/auth/copilot_session.py +264 -0
- koder-0.7.1/koder_agent/auth/github_copilot.py +243 -0
- koder-0.7.1/koder_agent/auth/legacy_session.py +252 -0
- koder-0.7.1/koder_agent/auth/oauth_routing.py +224 -0
- koder-0.7.1/koder_agent/auth/oauth_session.py +884 -0
- koder-0.7.1/koder_agent/auth/oauth_vault.py +653 -0
- koder-0.7.1/koder_agent/auth/provider_leases.py +250 -0
- koder-0.7.1/koder_agent/auth/providers/antigravity.py +1418 -0
- koder-0.7.1/koder_agent/auth/providers/chatgpt.py +1200 -0
- koder-0.7.1/koder_agent/auth/providers/claude.py +842 -0
- koder-0.7.1/koder_agent/auth/providers/google.py +899 -0
- koder-0.7.1/koder_agent/auth/token_storage.py +346 -0
- koder-0.7.1/koder_agent/auth/tool_utils.py +2743 -0
- koder-0.7.1/koder_agent/auth/vault.py +532 -0
- koder-0.7.1/koder_agent/cli.py +703 -0
- koder-0.7.1/koder_agent/config/models.py +197 -0
- koder-0.7.1/koder_agent/core/at_completer.py +225 -0
- koder-0.7.1/koder_agent/core/display_context.py +145 -0
- koder-0.7.1/koder_agent/core/goal_prompts.py +122 -0
- koder-0.7.1/koder_agent/core/interactive.py +1829 -0
- koder-0.7.1/koder_agent/core/keybindings.py +182 -0
- koder-0.7.1/koder_agent/core/notifications.py +68 -0
- koder-0.7.1/koder_agent/core/queued_input.py +616 -0
- koder-0.7.1/koder_agent/core/scheduler.py +4115 -0
- koder-0.7.1/koder_agent/core/session.py +1267 -0
- koder-0.7.1/koder_agent/core/shell_completer.py +114 -0
- koder-0.7.1/koder_agent/core/status_line.py +892 -0
- koder-0.7.1/koder_agent/core/streaming_display.py +1666 -0
- koder-0.7.1/koder_agent/core/terminal_reflow.py +79 -0
- koder-0.7.1/koder_agent/core/tool_interruption.py +23 -0
- koder-0.7.1/koder_agent/core/usage_accounting.py +645 -0
- koder-0.7.1/koder_agent/core/usage_collector.py +641 -0
- koder-0.7.1/koder_agent/core/usage_tracker.py +1355 -0
- koder-0.7.1/koder_agent/core/working_indicator.py +334 -0
- koder-0.7.1/koder_agent/data/model_prices_and_context_window.json +75784 -0
- koder-0.7.1/koder_agent/harness/agents/definitions.py +990 -0
- koder-0.7.1/koder_agent/harness/agents/hooks.py +303 -0
- koder-0.7.1/koder_agent/harness/agents/models.py +96 -0
- koder-0.7.1/koder_agent/harness/agents/native_graph.py +482 -0
- koder-0.7.1/koder_agent/harness/agents/runtime_context.py +139 -0
- koder-0.7.1/koder_agent/harness/agents/service.py +1964 -0
- koder-0.7.1/koder_agent/harness/agents/summary.py +60 -0
- koder-0.7.1/koder_agent/harness/agents/teams/in_process.py +542 -0
- koder-0.7.1/koder_agent/harness/agents/teams/service.py +864 -0
- koder-0.7.1/koder_agent/harness/agents/teams/task_service.py +580 -0
- koder-0.7.1/koder_agent/harness/agents/teams/tmux_backend.py +257 -0
- koder-0.7.1/koder_agent/harness/auth/commands.py +836 -0
- koder-0.7.1/koder_agent/harness/auth/mcp_sources.py +155 -0
- koder-0.7.1/koder_agent/harness/auth/provider_vault.py +73 -0
- koder-0.7.1/koder_agent/harness/auth/vault_commands.py +404 -0
- koder-0.7.1/koder_agent/harness/checkpoint.py +422 -0
- koder-0.7.1/koder_agent/harness/cli/completion.py +168 -0
- koder-0.7.1/koder_agent/harness/cli/entrypoint.py +131 -0
- koder-0.7.1/koder_agent/harness/cli/headless.py +72 -0
- koder-0.7.1/koder_agent/harness/cli/sandbox_serve.py +325 -0
- koder-0.7.1/koder_agent/harness/commands/agents_view.py +168 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/config_commands.py +12 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/inspection_commands.py +11 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/plugin_commands.py +8 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/runtime_commands.py +31 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/session_commands.py +21 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/workflow_review_commands.py +15 -0
- koder-0.7.1/koder_agent/harness/commands/builtins/workflow_state_commands.py +8 -0
- koder-0.7.1/koder_agent/harness/commands/interactive.py +5660 -0
- koder-0.7.1/koder_agent/harness/commands/internal/debug_commands.py +3 -0
- koder-0.7.1/koder_agent/harness/commands/internal/diagnostic_commands.py +5 -0
- koder-0.7.1/koder_agent/harness/commands/next_view.py +169 -0
- koder-0.7.1/koder_agent/harness/commands/pr_comments.py +198 -0
- koder-0.7.1/koder_agent/harness/commands/prompt_commands.py +40 -0
- koder-0.7.1/koder_agent/harness/commands/registry.py +84 -0
- koder-0.7.1/koder_agent/harness/commands/review_context.py +120 -0
- koder-0.7.1/koder_agent/harness/commands/sandbox_control.py +1202 -0
- koder-0.7.1/koder_agent/harness/commands/workflow_helpers.py +46 -0
- koder-0.7.1/koder_agent/harness/config/commands.py +302 -0
- koder-0.7.1/koder_agent/harness/config/schema.py +149 -0
- koder-0.7.1/koder_agent/harness/config/service.py +168 -0
- koder-0.7.1/koder_agent/harness/cron/loop.py +171 -0
- koder-0.7.1/koder_agent/harness/diagnostics.py +136 -0
- koder-0.7.1/koder_agent/harness/hooks/runtime.py +1600 -0
- koder-0.7.1/koder_agent/harness/instructions.py +93 -0
- koder-0.7.1/koder_agent/harness/memory/budget.py +483 -0
- koder-0.7.1/koder_agent/harness/memory/compact.py +834 -0
- koder-0.7.1/koder_agent/harness/memory/extraction.py +211 -0
- koder-0.7.1/koder_agent/harness/memory/micro_compact.py +161 -0
- koder-0.7.1/koder_agent/harness/memory/storage_policy.py +93 -0
- koder-0.7.1/koder_agent/harness/permissions/ai_classifier.py +143 -0
- koder-0.7.1/koder_agent/harness/permissions/interactive_approver.py +502 -0
- koder-0.7.1/koder_agent/harness/permissions/modes.py +43 -0
- koder-0.7.1/koder_agent/harness/permissions/path_policy.py +282 -0
- koder-0.7.1/koder_agent/harness/permissions/propagation.py +24 -0
- koder-0.7.1/koder_agent/harness/permissions/rule_sources.py +244 -0
- koder-0.7.1/koder_agent/harness/permissions/rules.py +240 -0
- koder-0.7.1/koder_agent/harness/permissions/service.py +811 -0
- koder-0.7.1/koder_agent/harness/permissions/tool_arguments.py +120 -0
- koder-0.7.1/koder_agent/harness/pr_status.py +317 -0
- koder-0.7.1/koder_agent/harness/prompt_context.py +301 -0
- koder-0.7.1/koder_agent/harness/prompt_suggestion.py +405 -0
- koder-0.7.1/koder_agent/harness/review_flow.py +379 -0
- koder-0.7.1/koder_agent/harness/runtime.py +161 -0
- koder-0.7.1/koder_agent/harness/sandbox/apple_container_control.py +752 -0
- koder-0.7.1/koder_agent/harness/sandbox/apple_container_sdk.py +496 -0
- koder-0.7.1/koder_agent/harness/sandbox/artifact_catalog.py +494 -0
- koder-0.7.1/koder_agent/harness/sandbox/artifacts.py +459 -0
- koder-0.7.1/koder_agent/harness/sandbox/audit.py +387 -0
- koder-0.7.1/koder_agent/harness/sandbox/auth_runtime.py +170 -0
- koder-0.7.1/koder_agent/harness/sandbox/auth_transition.py +366 -0
- koder-0.7.1/koder_agent/harness/sandbox/authority.py +316 -0
- koder-0.7.1/koder_agent/harness/sandbox/backend_control.py +474 -0
- koder-0.7.1/koder_agent/harness/sandbox/blaxel_control.py +1076 -0
- koder-0.7.1/koder_agent/harness/sandbox/blaxel_stdio.py +283 -0
- koder-0.7.1/koder_agent/harness/sandbox/capabilities.py +1533 -0
- koder-0.7.1/koder_agent/harness/sandbox/capability_refresh.py +1433 -0
- koder-0.7.1/koder_agent/harness/sandbox/capability_update.py +393 -0
- koder-0.7.1/koder_agent/harness/sandbox/cleanup.py +15 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/README.md +51 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/__init__.py +1 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/assets.d.ts +4 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/control.ts +950 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/launcher.py +394 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_bridge/upstream.patch +48 -0
- koder-0.7.1/koder_agent/harness/sandbox/cloudflare_control.py +1217 -0
- koder-0.7.1/koder_agent/harness/sandbox/command_environment.py +130 -0
- koder-0.7.1/koder_agent/harness/sandbox/command_timeout.py +37 -0
- koder-0.7.1/koder_agent/harness/sandbox/compaction.py +231 -0
- koder-0.7.1/koder_agent/harness/sandbox/composition.py +804 -0
- koder-0.7.1/koder_agent/harness/sandbox/config.py +1063 -0
- koder-0.7.1/koder_agent/harness/sandbox/configuration_update.py +604 -0
- koder-0.7.1/koder_agent/harness/sandbox/conformance/__init__.py +1 -0
- koder-0.7.1/koder_agent/harness/sandbox/conformance/contracts.py +221 -0
- koder-0.7.1/koder_agent/harness/sandbox/conformance/tls_fixture.py +475 -0
- koder-0.7.1/koder_agent/harness/sandbox/content.py +247 -0
- koder-0.7.1/koder_agent/harness/sandbox/control.py +1944 -0
- koder-0.7.1/koder_agent/harness/sandbox/coverage.py +55 -0
- koder-0.7.1/koder_agent/harness/sandbox/credential_approval.py +190 -0
- koder-0.7.1/koder_agent/harness/sandbox/daytona_control.py +1024 -0
- koder-0.7.1/koder_agent/harness/sandbox/daytona_stdio.py +345 -0
- koder-0.7.1/koder_agent/harness/sandbox/daytona_stdio_guest.py +120 -0
- koder-0.7.1/koder_agent/harness/sandbox/directory_refresh.py +618 -0
- koder-0.7.1/koder_agent/harness/sandbox/docker_control.py +1764 -0
- koder-0.7.1/koder_agent/harness/sandbox/e2b_compat.py +45 -0
- koder-0.7.1/koder_agent/harness/sandbox/e2b_control.py +1195 -0
- koder-0.7.1/koder_agent/harness/sandbox/e2b_stdio.py +218 -0
- koder-0.7.1/koder_agent/harness/sandbox/egress.py +2526 -0
- koder-0.7.1/koder_agent/harness/sandbox/egress_inspector.py +374 -0
- koder-0.7.1/koder_agent/harness/sandbox/enforcement.py +365 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/__init__.py +1 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/codex.py +621 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/guest.py +276 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/process.py +129 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/proxy_profile.py +333 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/server.py +651 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/validation.py +142 -0
- koder-0.7.1/koder_agent/harness/sandbox/external_protocol/workspace.py +360 -0
- koder-0.7.1/koder_agent/harness/sandbox/file_bridge.py +907 -0
- koder-0.7.1/koder_agent/harness/sandbox/gateway.py +280 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_apply.py +385 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_entry.py +71 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_materialization.py +316 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_preparation.py +240 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_refresh.py +375 -0
- koder-0.7.1/koder_agent/harness/sandbox/git_views.py +133 -0
- koder-0.7.1/koder_agent/harness/sandbox/guest_cgroup.py +114 -0
- koder-0.7.1/koder_agent/harness/sandbox/guest_file_io.py +149 -0
- koder-0.7.1/koder_agent/harness/sandbox/http2_client.py +304 -0
- koder-0.7.1/koder_agent/harness/sandbox/http2_server.py +555 -0
- koder-0.7.1/koder_agent/harness/sandbox/input_migration.py +243 -0
- koder-0.7.1/koder_agent/harness/sandbox/input_refresh.py +926 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_control.py +1680 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_native/README.md +44 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_native/domain.h +110 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_native/domain.mm +745 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_native/runner.c +63 -0
- koder-0.7.1/koder_agent/harness/sandbox/macos_process.py +389 -0
- koder-0.7.1/koder_agent/harness/sandbox/maintenance.py +515 -0
- koder-0.7.1/koder_agent/harness/sandbox/manifest.py +503 -0
- koder-0.7.1/koder_agent/harness/sandbox/mcp_auth.py +554 -0
- koder-0.7.1/koder_agent/harness/sandbox/mcp_file_bridge.py +190 -0
- koder-0.7.1/koder_agent/harness/sandbox/memory.py +583 -0
- koder-0.7.1/koder_agent/harness/sandbox/modal_control.py +877 -0
- koder-0.7.1/koder_agent/harness/sandbox/modal_stdio.py +176 -0
- koder-0.7.1/koder_agent/harness/sandbox/native_commands.py +189 -0
- koder-0.7.1/koder_agent/harness/sandbox/network_allowance.py +216 -0
- koder-0.7.1/koder_agent/harness/sandbox/output_artifacts.py +862 -0
- koder-0.7.1/koder_agent/harness/sandbox/package_preparation.py +684 -0
- koder-0.7.1/koder_agent/harness/sandbox/package_refresh_runtime.py +157 -0
- koder-0.7.1/koder_agent/harness/sandbox/path_arguments.py +35 -0
- koder-0.7.1/koder_agent/harness/sandbox/policy.py +245 -0
- koder-0.7.1/koder_agent/harness/sandbox/process_domain.py +276 -0
- koder-0.7.1/koder_agent/harness/sandbox/profile.py +104 -0
- koder-0.7.1/koder_agent/harness/sandbox/provider_auth.py +555 -0
- koder-0.7.1/koder_agent/harness/sandbox/provider_options.py +145 -0
- koder-0.7.1/koder_agent/harness/sandbox/proxy.py +1576 -0
- koder-0.7.1/koder_agent/harness/sandbox/proxy_relay.py +483 -0
- koder-0.7.1/koder_agent/harness/sandbox/quicksand_control.py +1185 -0
- koder-0.7.1/koder_agent/harness/sandbox/quicksand_images.py +603 -0
- koder-0.7.1/koder_agent/harness/sandbox/quicksand_platform.py +108 -0
- koder-0.7.1/koder_agent/harness/sandbox/quicksand_rpc.py +430 -0
- koder-0.7.1/koder_agent/harness/sandbox/quicksand_sdk.py +752 -0
- koder-0.7.1/koder_agent/harness/sandbox/recovery.py +564 -0
- koder-0.7.1/koder_agent/harness/sandbox/registry.py +538 -0
- koder-0.7.1/koder_agent/harness/sandbox/replacement_auth.py +83 -0
- koder-0.7.1/koder_agent/harness/sandbox/run_state.py +229 -0
- koder-0.7.1/koder_agent/harness/sandbox/runtime_inputs.py +66 -0
- koder-0.7.1/koder_agent/harness/sandbox/sdk_backend.py +259 -0
- koder-0.7.1/koder_agent/harness/sandbox/sdk_binding.py +4088 -0
- koder-0.7.1/koder_agent/harness/sandbox/sessions.py +349 -0
- koder-0.7.1/koder_agent/harness/sandbox/setup_commands.py +94 -0
- koder-0.7.1/koder_agent/harness/sandbox/setup_fetch.py +507 -0
- koder-0.7.1/koder_agent/harness/sandbox/sigv4.py +97 -0
- koder-0.7.1/koder_agent/harness/sandbox/skills.py +580 -0
- koder-0.7.1/koder_agent/harness/sandbox/snapshots.py +189 -0
- koder-0.7.1/koder_agent/harness/sandbox/source_update.py +915 -0
- koder-0.7.1/koder_agent/harness/sandbox/state_store.py +90 -0
- koder-0.7.1/koder_agent/harness/sandbox/tls_hello.py +195 -0
- koder-0.7.1/koder_agent/harness/sandbox/tls_stream.py +279 -0
- koder-0.7.1/koder_agent/harness/sandbox/unix_compat.py +66 -0
- koder-0.7.1/koder_agent/harness/sandbox/vercel_control.py +1062 -0
- koder-0.7.1/koder_agent/harness/sandbox/vercel_stdio.py +206 -0
- koder-0.7.1/koder_agent/harness/sandbox/websocket.py +431 -0
- koder-0.7.1/koder_agent/harness/sandbox/workspace.py +291 -0
- koder-0.7.1/koder_agent/harness/sandbox/workspace_io.py +603 -0
- koder-0.7.1/koder_agent/harness/sandbox/workspace_stdio.py +21 -0
- koder-0.7.1/koder_agent/harness/sandbox_settings.py +505 -0
- koder-0.7.1/koder_agent/harness/session_env.py +248 -0
- koder-0.7.1/koder_agent/harness/session_flow.py +3378 -0
- koder-0.7.1/koder_agent/harness/session_presence.py +171 -0
- koder-0.7.1/koder_agent/harness/skills/bundled.py +145 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/batch/worker-brief.md +31 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/batch.md +66 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/code-review/finders.md +73 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/code-review.md +88 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/debug.md +62 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/init.md +53 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/remember.md +57 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/review-spec/reviewers.md +34 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/review-spec.md +74 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/run/project-types.md +67 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/run.md +63 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/security-review.md +106 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/simplify/angles.md +34 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/simplify.md +57 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/history-query.md +42 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/permission-prompts.md +87 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/settings-reference.md +101 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config/statusline.md +46 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/update-config.md +84 -0
- koder-0.7.1/koder_agent/harness/skills/bundled_skills/verify.md +102 -0
- koder-0.7.1/koder_agent/harness/skills/discovery.py +84 -0
- koder-0.7.1/koder_agent/harness/termination.py +110 -0
- koder-0.7.1/koder_agent/harness/tools/registry.py +1274 -0
- koder-0.7.1/koder_agent/harness/tools/shell_executor.py +986 -0
- koder-0.7.1/koder_agent/harness/voice/__init__.py +24 -0
- koder-0.7.1/koder_agent/harness/voice/service.py +585 -0
- koder-0.7.1/koder_agent/harness/worktree/service.py +275 -0
- koder-0.7.1/koder_agent/litellm_cost_map.py +177 -0
- koder-0.7.1/koder_agent/mcp/__init__.py +1350 -0
- koder-0.7.1/koder_agent/mcp/connection.py +94 -0
- koder-0.7.1/koder_agent/mcp/elicitation.py +400 -0
- koder-0.7.1/koder_agent/mcp/file_adapters.py +215 -0
- koder-0.7.1/koder_agent/mcp/file_bridge_call.py +199 -0
- koder-0.7.1/koder_agent/mcp/legacy_consumers.py +131 -0
- koder-0.7.1/koder_agent/mcp/limits.py +162 -0
- koder-0.7.1/koder_agent/mcp/managed_http.py +189 -0
- koder-0.7.1/koder_agent/mcp/oauth.py +2051 -0
- koder-0.7.1/koder_agent/mcp/oauth_leases.py +192 -0
- koder-0.7.1/koder_agent/mcp/oauth_session.py +822 -0
- koder-0.7.1/koder_agent/mcp/oauth_vault.py +700 -0
- koder-0.7.1/koder_agent/mcp/reauthorization.py +220 -0
- koder-0.7.1/koder_agent/mcp/reconnection.py +1193 -0
- koder-0.7.1/koder_agent/mcp/sandbox.py +245 -0
- koder-0.7.1/koder_agent/mcp/serve.py +141 -0
- koder-0.7.1/koder_agent/mcp/server_config.py +286 -0
- koder-0.7.1/koder_agent/mcp/server_factory.py +977 -0
- koder-0.7.1/koder_agent/mcp/server_manager.py +973 -0
- koder-0.7.1/koder_agent/mcp/workspace_transport.py +233 -0
- koder-0.7.1/koder_agent/providers/stream_integrity.py +95 -0
- koder-0.7.1/koder_agent/tools/__init__.py +306 -0
- koder-0.7.1/koder_agent/tools/agent.py +408 -0
- koder-0.7.1/koder_agent/tools/ask_user.py +163 -0
- koder-0.7.1/koder_agent/tools/compat.py +431 -0
- koder-0.7.1/koder_agent/tools/file.py +886 -0
- koder-0.7.1/koder_agent/tools/file_state.py +158 -0
- koder-0.7.1/koder_agent/tools/fork_agent.py +431 -0
- koder-0.7.1/koder_agent/tools/goal.py +207 -0
- koder-0.7.1/koder_agent/tools/permission_context.py +676 -0
- koder-0.7.1/koder_agent/tools/search.py +338 -0
- koder-0.7.1/koder_agent/tools/shell.py +619 -0
- koder-0.7.1/koder_agent/tools/skill.py +1104 -0
- koder-0.7.1/koder_agent/tools/skill_context.py +616 -0
- koder-0.7.1/koder_agent/tools/structured_output.py +54 -0
- koder-0.7.1/koder_agent/tools/task.py +729 -0
- koder-0.7.1/koder_agent/tools/todo.py +155 -0
- koder-0.7.1/koder_agent/tools/tool_search.py +141 -0
- koder-0.7.1/koder_agent/tools/web.py +131 -0
- koder-0.7.1/koder_agent/ui/__init__.py +1 -0
- koder-0.7.1/koder_agent/ui/adapters.py +678 -0
- koder-0.7.1/koder_agent/ui/chrome.py +98 -0
- koder-0.7.1/koder_agent/ui/completion.py +235 -0
- koder-0.7.1/koder_agent/ui/contracts.py +166 -0
- koder-0.7.1/koder_agent/ui/copy.py +100 -0
- koder-0.7.1/koder_agent/ui/frontend.py +64 -0
- koder-0.7.1/koder_agent/ui/history_view.py +118 -0
- koder-0.7.1/koder_agent/ui/host.py +2173 -0
- koder-0.7.1/koder_agent/ui/interactions.py +230 -0
- koder-0.7.1/koder_agent/ui/markdown.py +678 -0
- koder-0.7.1/koder_agent/ui/output.py +232 -0
- koder-0.7.1/koder_agent/ui/panels/__init__.py +1 -0
- koder-0.7.1/koder_agent/ui/panels/agents.py +239 -0
- koder-0.7.1/koder_agent/ui/panels/approvals.py +647 -0
- koder-0.7.1/koder_agent/ui/panels/diff.py +333 -0
- koder-0.7.1/koder_agent/ui/panels/todo.py +89 -0
- koder-0.7.1/koder_agent/ui/panels/tools.py +882 -0
- koder-0.7.1/koder_agent/ui/paste.py +84 -0
- koder-0.7.1/koder_agent/ui/render_cache.py +127 -0
- koder-0.7.1/koder_agent/ui/segments.py +225 -0
- koder-0.7.1/koder_agent/ui/selection.py +118 -0
- koder-0.7.1/koder_agent/ui/shortcuts.py +130 -0
- koder-0.7.1/koder_agent/ui/startup.py +261 -0
- koder-0.7.1/koder_agent/ui/state.py +268 -0
- koder-0.7.1/koder_agent/ui/terminal.py +188 -0
- koder-0.7.1/koder_agent/ui/theme.py +292 -0
- koder-0.7.1/koder_agent/ui/transcript.py +451 -0
- koder-0.7.1/koder_agent/ui/window.py +321 -0
- koder-0.7.1/koder_agent/utils/client.py +1243 -0
- koder-0.7.1/koder_agent/utils/definition_files.py +44 -0
- koder-0.7.1/koder_agent/utils/error_text.py +191 -0
- koder-0.7.1/koder_agent/utils/model_info.py +325 -0
- koder-0.7.1/koder_agent/utils/prompts.py +162 -0
- koder-0.7.1/koder_agent/web/__init__.py +8 -0
- koder-0.7.1/koder_agent/web/api/__init__.py +47 -0
- koder-0.7.1/koder_agent/web/api/accounts.py +980 -0
- koder-0.7.1/koder_agent/web/api/agents.py +618 -0
- koder-0.7.1/koder_agent/web/api/automations.py +836 -0
- koder-0.7.1/koder_agent/web/api/complete.py +541 -0
- koder-0.7.1/koder_agent/web/api/config.py +174 -0
- koder-0.7.1/koder_agent/web/api/diagnostics.py +352 -0
- koder-0.7.1/koder_agent/web/api/environment.py +443 -0
- koder-0.7.1/koder_agent/web/api/git.py +1223 -0
- koder-0.7.1/koder_agent/web/api/hooks.py +394 -0
- koder-0.7.1/koder_agent/web/api/library.py +832 -0
- koder-0.7.1/koder_agent/web/api/mcp.py +1275 -0
- koder-0.7.1/koder_agent/web/api/memory.py +613 -0
- koder-0.7.1/koder_agent/web/api/permissions.py +357 -0
- koder-0.7.1/koder_agent/web/api/personalization.py +147 -0
- koder-0.7.1/koder_agent/web/api/plugins.py +620 -0
- koder-0.7.1/koder_agent/web/api/prefs.py +59 -0
- koder-0.7.1/koder_agent/web/api/rawfiles.py +449 -0
- koder-0.7.1/koder_agent/web/api/runtime_views.py +517 -0
- koder-0.7.1/koder_agent/web/api/sandbox.py +519 -0
- koder-0.7.1/koder_agent/web/api/skills.py +477 -0
- koder-0.7.1/koder_agent/web/api/terminal.py +657 -0
- koder-0.7.1/koder_agent/web/api/usage.py +293 -0
- koder-0.7.1/koder_agent/web/api/voice.py +156 -0
- koder-0.7.1/koder_agent/web/api/workspace.py +837 -0
- koder-0.7.1/koder_agent/web/cli.py +127 -0
- koder-0.7.1/koder_agent/web/history.py +281 -0
- koder-0.7.1/koder_agent/web/http.py +86 -0
- koder-0.7.1/koder_agent/web/jsonfile.py +147 -0
- koder-0.7.1/koder_agent/web/protocol.py +83 -0
- koder-0.7.1/koder_agent/web/server.py +1009 -0
- koder-0.7.1/koder_agent/web/static/assets/Automations-D9JUIK_I.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/Automations-DtepplsY.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/Browser-xP9weKxp.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/Files-DWzOvm-P.js +2 -0
- koder-0.7.1/koder_agent/web/static/assets/Markdown-B9-D7i2n.js +77 -0
- koder-0.7.1/koder_agent/web/static/assets/Review-BkdndIKl.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/Review-MtD9gOAZ.js +2 -0
- koder-0.7.1/koder_agent/web/static/assets/SearchDialog-D2g-IBTl.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/Terminal-BYZRlB50.js +17 -0
- koder-0.7.1/koder_agent/web/static/assets/Terminal-Cr-7SCSC.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/abnfDiagram-S7VZAUFO-BauO5u2x.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/architecture-WOLXFQ4H-WVG-a5A_.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/architectureDiagram-YGSQEFNW-D5oR8vkt.js +36 -0
- koder-0.7.1/koder_agent/web/static/assets/blockDiagram-APKKGZFW-MDyaeLKW.js +140 -0
- koder-0.7.1/koder_agent/web/static/assets/bpmnIcons-APHXDYXF-C0jbCElo.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/c4Diagram-KJ2TOQU5-B_CbeSzU.js +38 -0
- koder-0.7.1/koder_agent/web/static/assets/chevron-right-Ch3TIW6H.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-6MUBBAK2-BTG3Go1H.js +2 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-AXFCVDMN-D4Crlffc.js +62 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-BG4553SI-FDTGKL_7.js +127 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-DQASFODM-DgbhGQhQ.js +10 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-DUW6YSOI-Dgx8z5s3.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-HFQBQIA3-DRS2MVq7.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-J5ZVWO5B-oDCd-gWO.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-KQLB2F66-DrIh_Ctw.js +2 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-KS47KZWR-Dq9hBtSW.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-LEVMRMFU-BdIO5eaP.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-M57EVK23-BhZyoSXW.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-NGNAAXSQ-DI_UYJZ4.js +136 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-OY52VR5R-BFcxZ863.js +88 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-QB3YPZ4I-Dzd7zN3y.js +213 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-R3KSYZAL-CY8njmXv.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-STOXU5M4-DZjOzQky.js +72 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-TU62E6Q5-jbRm0h-R.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-X4PVCEUW-BXrUlMa-.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-XXDRQBXY-i7MKP1NY.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/classDiagram-v2-L25IHNXF-BuZagqLd.js +217 -0
- koder-0.7.1/koder_agent/web/static/assets/commit-mono-latin-400-normal-wzhe4RuD.woff2 +0 -0
- koder-0.7.1/koder_agent/web/static/assets/commit-mono-latin-700-normal-DU8mrtj2.woff2 +0 -0
- koder-0.7.1/koder_agent/web/static/assets/cose-bilkent-JH36ORCC-C6J2IoHg.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/cynefin-EF2NZ3EQ-DlX8S2BB.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/cynefinDiagram-L36ESFBY-Dzr5jrcp.js +62 -0
- koder-0.7.1/koder_agent/web/static/assets/cytoscape.esm-nTrd5EVq.js +321 -0
- koder-0.7.1/koder_agent/web/static/assets/d3-scale-CElPUUud.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/d3-selection-COWvaQNI.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/dagre-SPEB5RXH-Bmjupfv0.js +4 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-3B7GL73J-HV3KtlJb.js +200 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-DNEMPZML-b3Oc1j-5.js +24 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-L3MUGCDN-D6Bf88Lq.js +41 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-LA4NIPWU-BbN9Hkcw.js +24 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-MHCOC4E2-B6sN7aS7.js +3 -0
- koder-0.7.1/koder_agent/web/static/assets/diagram-XPFHEONP-BT5NlWdN.js +30 -0
- koder-0.7.1/koder_agent/web/static/assets/dist-DdXDFcej.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/dock-files-DeUddGYq.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/ebnfDiagram-UZSYDL2S-CWUclMuZ.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/elk-XV6XMXQE-i3fQBQjC.js +27 -0
- koder-0.7.1/koder_agent/web/static/assets/erDiagram-EYBAPDEH-DwIO5bMY.js +99 -0
- koder-0.7.1/koder_agent/web/static/assets/eventmodeling-K75KTNOO-Ch3lNLiI.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/flowDiagram-MALGAFMO-CeUD2ahq.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/form-C-kkWR1E.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/form-P0rGpsL0.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/ganttDiagram-23REXITY-2sXT846U.js +292 -0
- koder-0.7.1/koder_agent/web/static/assets/gitGraph-VSP46ZUC-BfhCB5zc.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/gitGraphDiagram-STJD7YCW-hEUVqaST.js +106 -0
- koder-0.7.1/koder_agent/web/static/assets/graphlib-DS17s2tU.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/index-BTELVgOt.css +1 -0
- koder-0.7.1/koder_agent/web/static/assets/index-Z_eYMMz3.js +77 -0
- koder-0.7.1/koder_agent/web/static/assets/info-OHQRW6UA-D0Q8Wg57.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/infoDiagram-KBXO4MBG-DkqL2ZDU.js +2 -0
- koder-0.7.1/koder_agent/web/static/assets/ishikawaDiagram-M35NCXHK-zC7d3vhr.js +70 -0
- koder-0.7.1/koder_agent/web/static/assets/journeyDiagram-OPLOXDXO-7rnrFfHN.js +139 -0
- koder-0.7.1/koder_agent/web/static/assets/kanban-definition-BZKZHSQY-CeVNgRIy.js +89 -0
- koder-0.7.1/koder_agent/web/static/assets/katex-BYLiqMcl.js +257 -0
- koder-0.7.1/koder_agent/web/static/assets/katex-MEuSR36T.js +257 -0
- koder-0.7.1/koder_agent/web/static/assets/mermaid-parser.core-DKSh9lOj.js +7 -0
- koder-0.7.1/koder_agent/web/static/assets/mermaid.core-CKMrXPy_.js +44 -0
- koder-0.7.1/koder_agent/web/static/assets/mindmap-definition-I2QAS2VK-CC3lmGPX.js +98 -0
- koder-0.7.1/koder_agent/web/static/assets/packet-JDAUHWVQ-DeNc0tJe.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/pegDiagram-FD4XPPHP-BRxvKCq8.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/pie-XZMESJXO-dnqr36GK.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/pieDiagram-J4AKIIQI-CFpyOITC.js +39 -0
- koder-0.7.1/koder_agent/web/static/assets/purify.es-DEJ1Qu1j.js +3 -0
- koder-0.7.1/koder_agent/web/static/assets/quadrantDiagram-XTYBLID2-DKJfkRB7.js +7 -0
- koder-0.7.1/koder_agent/web/static/assets/radar-ABXABTNO-D9qU4xM1.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/railroad-I3PHUGI6-DZCAzRzk.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/railroad-abnf-LNEFI6M7-BcBgBBVL.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/railroad-ebnf-DWYD2UWJ-BEhe_XlJ.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/railroad-peg-JR7BVNR7-CZt47uZh.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/railroadDiagram-MRQ6NCDL-BLaibjdC.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/requirementDiagram-Y7LWUY3S-C9Esh5D3.js +84 -0
- koder-0.7.1/koder_agent/web/static/assets/rolldown-runtime-COiEfhsA.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/rough.esm-Dy-Kn_BL.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/sankeyDiagram-WGJFYUXA-DTJX2hHY.js +40 -0
- koder-0.7.1/koder_agent/web/static/assets/sequenceDiagram-5NDRBG5M-DJ4I9lb_.js +169 -0
- koder-0.7.1/koder_agent/web/static/assets/sizeCapture-INFHLROL-3uHXrFqA.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/stateDiagram-v2-FJ4FJNEA-DMF6Ej0f.js +291 -0
- koder-0.7.1/koder_agent/web/static/assets/swimlanes-UMQ2AFYF-DsbureNb.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/swimlanesDiagram-OMPLPG4O-C4224jUd.js +8 -0
- koder-0.7.1/koder_agent/web/static/assets/timeline-definition-SEUHKTQE-BG8-h_hG.js +120 -0
- koder-0.7.1/koder_agent/web/static/assets/treeView-D4JQ5SDB-B99FAFUF.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/treemap-SAJKECNS-B-X3qDok.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/usecaseDiagram-AFA6YXN4-BajUcmdI.js +328 -0
- koder-0.7.1/koder_agent/web/static/assets/vennDiagram-NNMJR3RB-B1VCjgsX.js +34 -0
- koder-0.7.1/koder_agent/web/static/assets/wardley-7MLQ67FV-GRnXLWNo.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/wardleyDiagram-S7YFUSEH-DKfw2UFI.js +78 -0
- koder-0.7.1/koder_agent/web/static/assets/workspaceApi-DMWpQv4Q.js +1 -0
- koder-0.7.1/koder_agent/web/static/assets/xychartDiagram-GGNKY7IX-DHbwlaXd.js +7 -0
- koder-0.7.1/koder_agent/web/static/index.html +43 -0
- koder-0.7.1/koder_agent/web/static/seal.svg +1 -0
- koder-0.7.1/koder_agent/web/store.py +193 -0
- koder-0.7.1/koder_agent/web/supervisor.py +507 -0
- koder-0.7.1/koder_agent/web/worker/__init__.py +1 -0
- koder-0.7.1/koder_agent/web/worker/__main__.py +71 -0
- koder-0.7.1/koder_agent/web/worker/channel.py +169 -0
- koder-0.7.1/koder_agent/web/worker/host.py +816 -0
- koder-0.7.1/koder_agent/web/worker/prompt.py +757 -0
- koder-0.7.1/koder_agent/web/worker/render.py +35 -0
- koder-0.7.1/koder_agent/web/worker/stream.py +294 -0
- koder-0.7.1/pyproject.toml +133 -0
- koder-0.6.4/.claude/settings.local.json +0 -84
- koder-0.6.4/.gitignore +0 -192
- koder-0.6.4/PKG-INFO +0 -466
- koder-0.6.4/README.md +0 -419
- koder-0.6.4/koder_agent/agentic/agent.py +0 -1162
- koder-0.6.4/koder_agent/agentic/api_errors.py +0 -112
- koder-0.6.4/koder_agent/agentic/approval_hooks.py +0 -180
- koder-0.6.4/koder_agent/agentic/hooks.py +0 -172
- koder-0.6.4/koder_agent/agentic/oauth_model.py +0 -309
- koder-0.6.4/koder_agent/agentic/responses_compat.py +0 -122
- koder-0.6.4/koder_agent/auth/base.py +0 -372
- koder-0.6.4/koder_agent/auth/client_integration.py +0 -347
- koder-0.6.4/koder_agent/auth/constants.py +0 -248
- koder-0.6.4/koder_agent/auth/github_copilot.py +0 -186
- koder-0.6.4/koder_agent/auth/oauth_routing.py +0 -179
- koder-0.6.4/koder_agent/auth/providers/antigravity.py +0 -1367
- koder-0.6.4/koder_agent/auth/providers/chatgpt.py +0 -1032
- koder-0.6.4/koder_agent/auth/providers/claude.py +0 -718
- koder-0.6.4/koder_agent/auth/providers/google.py +0 -773
- koder-0.6.4/koder_agent/auth/token_storage.py +0 -317
- koder-0.6.4/koder_agent/auth/tool_utils.py +0 -2542
- koder-0.6.4/koder_agent/cli.py +0 -658
- koder-0.6.4/koder_agent/config/models.py +0 -145
- koder-0.6.4/koder_agent/core/at_completer.py +0 -211
- koder-0.6.4/koder_agent/core/display_context.py +0 -127
- koder-0.6.4/koder_agent/core/goal_prompts.py +0 -151
- koder-0.6.4/koder_agent/core/interactive.py +0 -1478
- koder-0.6.4/koder_agent/core/keybindings.py +0 -125
- koder-0.6.4/koder_agent/core/notifications.py +0 -64
- koder-0.6.4/koder_agent/core/queued_input.py +0 -206
- koder-0.6.4/koder_agent/core/scheduler.py +0 -2573
- koder-0.6.4/koder_agent/core/session.py +0 -869
- koder-0.6.4/koder_agent/core/shell_completer.py +0 -90
- koder-0.6.4/koder_agent/core/status_line.py +0 -559
- koder-0.6.4/koder_agent/core/streaming_display.py +0 -1511
- koder-0.6.4/koder_agent/core/terminal_reflow.py +0 -114
- koder-0.6.4/koder_agent/core/usage_tracker.py +0 -370
- koder-0.6.4/koder_agent/core/working_indicator.py +0 -127
- koder-0.6.4/koder_agent/data/model_prices_and_context_window.json +0 -58559
- koder-0.6.4/koder_agent/harness/agents/definitions.py +0 -902
- koder-0.6.4/koder_agent/harness/agents/hooks.py +0 -248
- koder-0.6.4/koder_agent/harness/agents/models.py +0 -90
- koder-0.6.4/koder_agent/harness/agents/runtime_context.py +0 -116
- koder-0.6.4/koder_agent/harness/agents/service.py +0 -1292
- koder-0.6.4/koder_agent/harness/agents/summary.py +0 -58
- koder-0.6.4/koder_agent/harness/agents/teams/in_process.py +0 -489
- koder-0.6.4/koder_agent/harness/agents/teams/service.py +0 -783
- koder-0.6.4/koder_agent/harness/agents/teams/task_service.py +0 -410
- koder-0.6.4/koder_agent/harness/agents/teams/tmux_backend.py +0 -252
- koder-0.6.4/koder_agent/harness/auth/commands.py +0 -608
- koder-0.6.4/koder_agent/harness/buddy.py +0 -1096
- koder-0.6.4/koder_agent/harness/checkpoint.py +0 -370
- koder-0.6.4/koder_agent/harness/cli/completion.py +0 -165
- koder-0.6.4/koder_agent/harness/cli/entrypoint.py +0 -112
- koder-0.6.4/koder_agent/harness/cli/headless.py +0 -68
- koder-0.6.4/koder_agent/harness/commands/advisor.py +0 -202
- koder-0.6.4/koder_agent/harness/commands/agents_view.py +0 -164
- koder-0.6.4/koder_agent/harness/commands/buddy.py +0 -60
- koder-0.6.4/koder_agent/harness/commands/builtins/config_commands.py +0 -10
- koder-0.6.4/koder_agent/harness/commands/builtins/inspection_commands.py +0 -11
- koder-0.6.4/koder_agent/harness/commands/builtins/plugin_commands.py +0 -9
- koder-0.6.4/koder_agent/harness/commands/builtins/runtime_commands.py +0 -37
- koder-0.6.4/koder_agent/harness/commands/builtins/session_commands.py +0 -11
- koder-0.6.4/koder_agent/harness/commands/builtins/workflow_review_commands.py +0 -8
- koder-0.6.4/koder_agent/harness/commands/builtins/workflow_state_commands.py +0 -12
- koder-0.6.4/koder_agent/harness/commands/interactive.py +0 -5605
- koder-0.6.4/koder_agent/harness/commands/internal/debug_commands.py +0 -6
- koder-0.6.4/koder_agent/harness/commands/internal/diagnostic_commands.py +0 -11
- koder-0.6.4/koder_agent/harness/commands/pr_comments.py +0 -184
- koder-0.6.4/koder_agent/harness/commands/prompt_commands.py +0 -170
- koder-0.6.4/koder_agent/harness/commands/registry.py +0 -79
- koder-0.6.4/koder_agent/harness/commands/review_context.py +0 -78
- koder-0.6.4/koder_agent/harness/commands/security_review.py +0 -190
- koder-0.6.4/koder_agent/harness/commands/workflow_helpers.py +0 -50
- koder-0.6.4/koder_agent/harness/config/commands.py +0 -300
- koder-0.6.4/koder_agent/harness/config/schema.py +0 -161
- koder-0.6.4/koder_agent/harness/config/service.py +0 -154
- koder-0.6.4/koder_agent/harness/cron/loop.py +0 -170
- koder-0.6.4/koder_agent/harness/diagnostics.py +0 -122
- koder-0.6.4/koder_agent/harness/hooks/runtime.py +0 -1430
- koder-0.6.4/koder_agent/harness/magic_docs.py +0 -386
- koder-0.6.4/koder_agent/harness/memory/budget.py +0 -470
- koder-0.6.4/koder_agent/harness/memory/compact.py +0 -566
- koder-0.6.4/koder_agent/harness/memory/extraction.py +0 -206
- koder-0.6.4/koder_agent/harness/memory/micro_compact.py +0 -139
- koder-0.6.4/koder_agent/harness/output_styles.py +0 -188
- koder-0.6.4/koder_agent/harness/permissions/ai_classifier.py +0 -140
- koder-0.6.4/koder_agent/harness/permissions/interactive_approver.py +0 -164
- koder-0.6.4/koder_agent/harness/permissions/modes.py +0 -40
- koder-0.6.4/koder_agent/harness/permissions/path_policy.py +0 -243
- koder-0.6.4/koder_agent/harness/permissions/propagation.py +0 -22
- koder-0.6.4/koder_agent/harness/permissions/rule_sources.py +0 -136
- koder-0.6.4/koder_agent/harness/permissions/rules.py +0 -240
- koder-0.6.4/koder_agent/harness/permissions/service.py +0 -749
- koder-0.6.4/koder_agent/harness/permissions/tool_arguments.py +0 -114
- koder-0.6.4/koder_agent/harness/pr_status.py +0 -293
- koder-0.6.4/koder_agent/harness/prompt_suggestion.py +0 -382
- koder-0.6.4/koder_agent/harness/release_notes.py +0 -135
- koder-0.6.4/koder_agent/harness/review_flow.py +0 -167
- koder-0.6.4/koder_agent/harness/runtime.py +0 -151
- koder-0.6.4/koder_agent/harness/sandbox/enforcement.py +0 -349
- koder-0.6.4/koder_agent/harness/sandbox/policy.py +0 -214
- koder-0.6.4/koder_agent/harness/sandbox/registry.py +0 -331
- koder-0.6.4/koder_agent/harness/sandbox/sdk_backend.py +0 -246
- koder-0.6.4/koder_agent/harness/sandbox/workspace.py +0 -256
- koder-0.6.4/koder_agent/harness/sandbox_settings.py +0 -311
- koder-0.6.4/koder_agent/harness/session_env.py +0 -236
- koder-0.6.4/koder_agent/harness/session_flow.py +0 -2454
- koder-0.6.4/koder_agent/harness/skills/bundled.py +0 -146
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/batch.md +0 -95
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/code-review.md +0 -188
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/debug.md +0 -68
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/fewer-permission-prompts.md +0 -113
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/init-explore.md +0 -44
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/loop.md +0 -23
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/remember.md +0 -60
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/review-spec.md +0 -113
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/run.md +0 -119
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/security-review.md +0 -110
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/simplify.md +0 -88
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/stuck.md +0 -70
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/update-config.md +0 -128
- koder-0.6.4/koder_agent/harness/skills/bundled_skills/verify.md +0 -116
- koder-0.6.4/koder_agent/harness/skills/discovery.py +0 -81
- koder-0.6.4/koder_agent/harness/tips.py +0 -261
- koder-0.6.4/koder_agent/harness/tools/registry.py +0 -1260
- koder-0.6.4/koder_agent/harness/tools/shell_executor.py +0 -922
- koder-0.6.4/koder_agent/harness/voice/__init__.py +0 -19
- koder-0.6.4/koder_agent/harness/voice/service.py +0 -543
- koder-0.6.4/koder_agent/harness/worktree/service.py +0 -205
- koder-0.6.4/koder_agent/litellm_cost_map.py +0 -143
- koder-0.6.4/koder_agent/mcp/__init__.py +0 -894
- koder-0.6.4/koder_agent/mcp/connection.py +0 -88
- koder-0.6.4/koder_agent/mcp/elicitation.py +0 -263
- koder-0.6.4/koder_agent/mcp/limits.py +0 -129
- koder-0.6.4/koder_agent/mcp/oauth.py +0 -1974
- koder-0.6.4/koder_agent/mcp/reconnection.py +0 -1057
- koder-0.6.4/koder_agent/mcp/serve.py +0 -139
- koder-0.6.4/koder_agent/mcp/server_config.py +0 -201
- koder-0.6.4/koder_agent/mcp/server_factory.py +0 -795
- koder-0.6.4/koder_agent/mcp/server_manager.py +0 -955
- koder-0.6.4/koder_agent/tools/__init__.py +0 -304
- koder-0.6.4/koder_agent/tools/agent.py +0 -362
- koder-0.6.4/koder_agent/tools/ask_user.py +0 -114
- koder-0.6.4/koder_agent/tools/compat.py +0 -400
- koder-0.6.4/koder_agent/tools/file.py +0 -900
- koder-0.6.4/koder_agent/tools/file_state.py +0 -129
- koder-0.6.4/koder_agent/tools/fork_agent.py +0 -138
- koder-0.6.4/koder_agent/tools/goal.py +0 -210
- koder-0.6.4/koder_agent/tools/permission_context.py +0 -448
- koder-0.6.4/koder_agent/tools/search.py +0 -360
- koder-0.6.4/koder_agent/tools/shell.py +0 -631
- koder-0.6.4/koder_agent/tools/skill.py +0 -969
- koder-0.6.4/koder_agent/tools/skill_context.py +0 -583
- koder-0.6.4/koder_agent/tools/structured_output.py +0 -53
- koder-0.6.4/koder_agent/tools/task.py +0 -494
- koder-0.6.4/koder_agent/tools/todo.py +0 -169
- koder-0.6.4/koder_agent/tools/tool_search.py +0 -115
- koder-0.6.4/koder_agent/tools/web.py +0 -139
- koder-0.6.4/koder_agent/utils/client.py +0 -1033
- koder-0.6.4/koder_agent/utils/model_info.py +0 -201
- koder-0.6.4/koder_agent/utils/prompts.py +0 -354
- koder-0.6.4/pyproject.toml +0 -126
- {koder-0.6.4 → koder-0.7.1}/LICENSE +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/agentic/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/agentic/hook_guardrail.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/agentic/plan_guardrail.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/agentic/skill_guardrail.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/callback_server.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/codex_prompts.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/keychain_backend.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/litellm_oauth.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/providers/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/auth/secure_storage.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/config/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/config/manager.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/at_mentions.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/auto_suggest.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/bash_security.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/constants.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/file_index.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/goal_display.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/goal_runtime.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/goals.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/keyboard_listener.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/legacy_sessions.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/security.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/skill_usage.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/turn_cancellation.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/core/vim_mode.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/data/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/add_dir_validation.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/commands.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/messages.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/context.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/memory_sync.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/models.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/permission_bridge.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/routing.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/runtime.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/agents/teams/tool_runtime.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/auth/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/bootstrap.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/admission.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/gate.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/inbox.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/interceptor.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/notification.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/permissions.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/state.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/channels/types.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cli/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/code_intelligence.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/commands/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/commands/brief.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/commands/builtins/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/commands/internal/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/config/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/config/backup.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/config/migration.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/config/settings_bundle.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/config/task_delegate_limits.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cron/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cron/expression.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cron/runtime.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cron/scheduler.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/cron/storage.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/execution_context.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/hooks/command_process.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/hooks/project_approval.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/managed_settings.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/mcp/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/mcp/commands.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/approved_writer.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/auto_compact.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/auto_dream.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/candidates.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/governance.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/legacy_db.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/memory_files.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/models.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/post_compact.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/pruning.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/recovery.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/retrieval.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/session_memory.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/transcript_store.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/memory/writer_lock.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/onboarding.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/paths.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/denial_log.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/persistence.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/powershell_classifier.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/results.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/sed_classifier.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/shell_classifier.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/shell_runners.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/permissions/shell_segments.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plan/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plan/mode.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/catalog.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/commands.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/context.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/env.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/lifecycle.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/manifest.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/marketplace.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/name_validation.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/options.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/path_safety.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/registry.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/session_root.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/state.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/plugins/validator.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/reasoning_display.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/sandbox/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/sandbox/backend.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/sandbox/smoke.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/statusline_settings.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/statusline_setup.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tasks/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tasks/models.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tasks/output.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tasks/service.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tasks/storage.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/code_intelligence_ops.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/file_ops.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/mcp_ops.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/search_ops.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/shell.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/tools/web_ops.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/upgrade.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/version_info.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/voice/keyterms.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/worktree/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/harness/worktree/conflicts.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/iterators.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/lifecycle.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/notifications.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/project_approvals.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/prompts.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/mcp/runtime_authorization.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/providers/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/providers/compat.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/providers/models.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/code_intelligence.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/config_tool.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/cron.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/engine.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/mcp_resource.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/notebook_edit.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/orchestration.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/plan_mode.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/powershell.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/send_message.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/sleep.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/task_lifecycle.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/task_output.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/task_stop.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/team.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/tools/worktree.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/__init__.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/async_tasks.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/atomic_file.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/image_input.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/model_deprecation.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/queue.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/sessions.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/sqlite_connections.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/utils/terminal_theme.py +0 -0
- {koder-0.6.4 → koder-0.7.1}/koder_agent/version.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
|
+
[](https://www.python.org/downloads/)
|
|
64
|
+
[](LICENSE)
|
|
65
|
+
[](https://pepy.tech/projects/koder)
|
|
66
|
+
[](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.
|