Module: RubyCode
- Defined in:
- lib/rubycode.rb,
lib/rubycode/tools.rb,
lib/rubycode/client.rb,
lib/rubycode/errors.rb,
lib/rubycode/pricing.rb,
lib/rubycode/version.rb,
lib/rubycode/database.rb,
lib/rubycode/explorer.rb,
lib/rubycode/agent_loop.rb,
lib/rubycode/tools/base.rb,
lib/rubycode/tools/bash.rb,
lib/rubycode/tools/done.rb,
lib/rubycode/tools/read.rb,
lib/rubycode/models/base.rb,
lib/rubycode/tools/fetch.rb,
lib/rubycode/tools/write.rb,
lib/rubycode/tools/search.rb,
lib/rubycode/tools/update.rb,
lib/rubycode/adapters/base.rb,
lib/rubycode/configuration.rb,
lib/rubycode/models/memory.rb,
lib/rubycode/token_counter.rb,
lib/rubycode/tools/explore.rb,
lib/rubycode/value_objects.rb,
lib/rubycode/views/welcome.rb,
lib/rubycode/config_manager.rb,
lib/rubycode/models/api_key.rb,
lib/rubycode/adapters/gemini.rb,
lib/rubycode/adapters/ollama.rb,
lib/rubycode/adapters/openai.rb,
lib/rubycode/context_builder.rb,
lib/rubycode/tools/web_search.rb,
lib/rubycode/adapters/deepseek.rb,
lib/rubycode/adapters/openrouter.rb,
lib/rubycode/views/bash_approval.rb,
lib/rubycode/views/write_approval.rb,
lib/rubycode/search_providers/base.rb,
lib/rubycode/views/cli/setup_title.rb,
lib/rubycode/views/update_approval.rb,
lib/rubycode/views/cli/config_saved.rb,
lib/rubycode/views/cli/exit_message.rb,
lib/rubycode/views/cli/response_box.rb,
lib/rubycode/client/approval_handler.rb,
lib/rubycode/client/response_handler.rb,
lib/rubycode/search_providers/exa_ai.rb,
lib/rubycode/views/cli/error_display.rb,
lib/rubycode/views/cli/error_message.rb,
lib/rubycode/views/cli/ready_message.rb,
lib/rubycode/views/skip_notification.rb,
lib/rubycode/client/display_formatter.rb,
lib/rubycode/views/cli/plan_mode_exit.rb,
lib/rubycode/views/adapter/debug_delay.rb,
lib/rubycode/views/cli/api_key_missing.rb,
lib/rubycode/views/cli/plan_mode_enter.rb,
lib/rubycode/views/cli/restart_message.rb,
lib/rubycode/views/web_search_approval.rb,
lib/rubycode/views/cli/first_time_setup.rb,
lib/rubycode/adapters/concerns/debugging.rb,
lib/rubycode/views/adapter/debug_request.rb,
lib/rubycode/views/agent_loop/tool_error.rb,
lib/rubycode/views/cli/interrupt_message.rb,
lib/rubycode/views/formatter/tool_result.rb,
lib/rubycode/views/adapter/debug_response.rb,
lib/rubycode/views/formatter/info_message.rb,
lib/rubycode/adapters/concerns/http_client.rb,
lib/rubycode/search_providers/brave_search.rb,
lib/rubycode/views/agent_loop/retry_status.rb,
lib/rubycode/views/cli/auto_approve_status.rb,
lib/rubycode/views/cli/configuration_table.rb,
lib/rubycode/views/formatter/fetch_summary.rb,
lib/rubycode/views/agent_loop/adapter_error.rb,
lib/rubycode/views/agent_loop/token_summary.rb,
lib/rubycode/views/cli/auto_approve_enabled.rb,
lib/rubycode/search_providers/multi_provider.rb,
lib/rubycode/views/cli/auto_approve_disabled.rb,
lib/rubycode/views/formatter/debug_tool_info.rb,
lib/rubycode/adapters/concerns/error_handling.rb,
lib/rubycode/views/agent_loop/thinking_status.rb,
lib/rubycode/views/cli/memory_cleared_message.rb,
lib/rubycode/views/agent_loop/iteration_footer.rb,
lib/rubycode/views/agent_loop/iteration_header.rb,
lib/rubycode/views/formatter/minimal_tool_info.rb,
lib/rubycode/views/agent_loop/response_received.rb,
lib/rubycode/views/formatter/web_search_summary.rb,
lib/rubycode/search_providers/concerns/debugging.rb,
lib/rubycode/search_providers/duckduckgo_instant.rb,
lib/rubycode/views/search_provider/debug_request.rb,
lib/rubycode/views/search_provider/debug_response.rb,
lib/rubycode/search_providers/concerns/http_client.rb,
lib/rubycode/views/response_handler/agent_finished.rb,
lib/rubycode/views/response_handler/max_iterations.rb,
lib/rubycode/views/response_handler/max_tool_calls.rb,
lib/rubycode/views/response_handler/complete_message.rb,
lib/rubycode/search_providers/concerns/error_handling.rb,
lib/rubycode/views/response_handler/tool_injection_warning.rb
Overview
Rubycode is a Ruby-native AI coding agent with pluggable LLM adapters
Defined Under Namespace
Modules: Adapters, Models, Pricing, SearchProviders, Tools, Views Classes: AdapterConnectionError, AdapterError, AdapterRetryExhaustedError, AdapterTimeoutError, AgentLoop, Client, CommandExecutionError, CommandResult, ConfigManager, Configuration, ContextBuilder, Database, Error, Explorer, FileNotFoundError, HTTPError, Memory, Message, NetworkError, PathError, SearchProviderError, TokenCounter, ToolCall, ToolError, ToolResult, URLError, UnsafeCommandError
Constant Summary collapse
- VERSION =
"0.1.7"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
32 33 34 |
# File 'lib/rubycode.rb', line 32 def configuration @configuration end |
Class Method Details
.config ⇒ Object
40 41 42 |
# File 'lib/rubycode.rb', line 40 def self.config self.configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
35 36 37 38 |
# File 'lib/rubycode.rb', line 35 def self.configure self.configuration ||= Configuration.new yield(configuration) end |