MCPcopy Create free account

hub / github.com/StepfenShawn/kota / functions

Functions196 in github.com/StepfenShawn/kota

Methoddefinition
(&self, _prompt: String)
src/kota_code/tools/grep_search.rs:46
Methoddefinition
(&self, _prompt: String)
src/kota_code/tools/write_file.rs:32
Methoddefinition
(&self, _prompt: String)
src/kota_code/tools/execute_bash_command.rs:31
Methoddefinition
(&self, _prompt: String)
src/kota_code/tools/edit_file.rs:34
Methoddefinition
(&self, _prompt: String)
src/kota_code/tools/create_directory.rs:31
Methoddefinition
( &'a self, _prompt: String, )
src/kota_code/runtime/dyn_tools_loader/dyn_tool.rs:59
Methoddelete_session
(&self)
src/kota_code/context.rs:190
Methodfrom
(msg: &Message)
src/kota_code/context.rs:40
Methodfrom_lua_file
Load configuration from a Lua file # Arguments `config_path` - Path to the Lua configuration file # Returns Returns a KotaConfig with parsed value
src/kota_code/runtime/config.rs:51
Methodget_all
Get all tools as a reference
src/kota_code/runtime/tool_registry.rs:31
Methodget_all_mut
Get all tools as a mutable reference
src/kota_code/runtime/tool_registry.rs:36
Methodget_enhanced_preamble
获取增强的 preamble
src/kota_code/skills.rs:124
Methodget_messages_mut
(&mut self)
src/kota_code/context.rs:120
Methodget_provider_from_model
(model_name: &str)
src/kota_code/agent/mod.rs:449
Methodget_server_info
Get information about a specific server
src/kota_code/mcp/mod.rs:67
Methodhas_server
Check if a server is connected
src/kota_code/mcp/mod.rs:140
Methodhighlight
(&self, line: &'l str, pos: usize)
src/kota_cli/tab.rs:101
Methodhighlight_char
(&self, line: &str, pos: usize, forced: bool)
src/kota_cli/tab.rs:118
Methodhighlight_hint
(&self, hint: &'h str)
src/kota_cli/tab.rs:97
Methodhighlight_prompt
( &'s self, prompt: &'p str, default: bool, )
src/kota_cli/tab.rs:85
Methodhint
(&self, line: &str, pos: usize, ctx: &Context<'_>)
src/kota_cli/tab.rs:79
Methodlist_all_tools
List all servers and their tools
src/kota_code/mcp/mod.rs:89
Methodlist_servers
Get list of all connected servers
src/kota_code/mcp/mod.rs:134
Methodlist_sessions
(&self)
src/kota_code/context.rs:170
Methodlist_skills
(&self)
src/kota_code/skills.rs:180
Methodload_tools
Load all Lua tools from .kota/tools/mod.lua
src/kota_code/runtime/dyn_tools_loader/mod.rs:14
Methodlua_table_to_json
Convert Lua table to serde_json::Value
src/kota_code/runtime/dyn_tools_loader/mod.rs:69
Methodlua_value_to_json
Convert Lua value to serde_json::Value
src/kota_code/runtime/dyn_tools_loader/mod.rs:89
Functionmain
()
src/main.rs:41
Methodname
(&self)
src/kota_code/runtime/dyn_tools_loader/dyn_tool.rs:55
Methodnew
( api_key: String, api_base: String, model_name: String, context: ContextManag
src/kota_cli/mod.rs:36
Methodnew
Create a new command registry from config
src/kota_cli/command_registry.rs:15
Methodnew
()
src/kota_code/skills.rs:25
Methodnew
(title: String)
src/kota_code/plan.rs:28
Methodnew
(storage_dir: P, session_id: String)
src/kota_code/context.rs:87
Methodnew
()
src/kota_code/tools/scan_codebase.rs:156
Methodnew
()
src/kota_code/tools/delete_file.rs:83
Methodnew
(manager: PlanManager)
src/kota_code/tools/update_plan.rs:38
Methodnew
()
src/kota_code/tools/grep_search.rs:136
Methodnew
()
src/kota_code/tools/write_file.rs:94
Methodnew
()
src/kota_code/tools/execute_bash_command.rs:84
Methodnew
()
src/kota_code/tools/read_file.rs:97
Methodnew
()
src/kota_code/tools/edit_file.rs:132
Methodnew
()
src/kota_code/tools/create_directory.rs:103
Methodnew
Create a new MCP manager
src/kota_code/mcp/mod.rs:25
Methodnew
Create a new MCP client by connecting to a server via child process # Arguments `command` - The command to execute (e.g., "uvx", "npx") `args` - Arg
src/kota_code/mcp/client.rs:35
Methodnew
(session_id: String)
src/kota_code/runtime/hooks.rs:11
Methodnew
Create a new empty tool registry
src/kota_code/runtime/tool_registry.rs:9
Methodnew
( name: String, description: String, parameters: JsonValue, lua_code: Vec<u8>,
src/kota_code/runtime/dyn_tools_loader/dyn_tool.rs:24
Methodnew
Create a new agent builder # Arguments `api_key` - API key for the LLM provider `model_name` - Model name (e.g., "gpt-4", "claude-3-5-sonnet", "deep
src/kota_code/agent/mod.rs:307
Methodparse_from_lua
(lua: &Lua, config: &mut KotaConfig)
src/kota_code/runtime/config.rs:96
Methodparse_skill_md
解析 SKILL.md 文件
src/kota_code/skills.rs:59
Methodparse_status
(status_str: &str)
src/kota_code/tools/update_plan.rs:42
Methodrefresh_server_tools
Refresh tools list for a specific server
src/kota_code/mcp/mod.rs:123
Methodremove_server
Remove an MCP server connection
src/kota_code/mcp/mod.rs:56
Methodremove_skill
删除技能
src/kota_code/skills.rs:161
Methodscan_directory
( path: &Path, prefix: &str, max_depth: usize, current_depth: usize, )
src/kota_code/tools/scan_codebase.rs:25
Methodtake_all
Get all tools by taking ownership (empties the registry)
src/kota_code/runtime/tool_registry.rs:26
Functiontest_context_manager_basic_operations
()
tests/test_context.rs:6
Functiontest_context_manager_max_messages
()
tests/test_context.rs:25
Functiontest_edit_file_add_lines
()
tests/tools/test_edit_file.rs:29
Functiontest_edit_file_complex_patch
()
tests/tools/test_edit_file.rs:79
Functiontest_edit_file_directory_instead_of_file
()
tests/tools/test_edit_file.rs:120
Functiontest_edit_file_empty_file
()
tests/tools/test_edit_file.rs:151
Functiontest_edit_file_invalid_patch_format
()
tests/tools/test_edit_file.rs:136
Functiontest_edit_file_multiline_context
()
tests/tools/test_edit_file.rs:194
Functiontest_edit_file_nonexistent_file
()
tests/tools/test_edit_file.rs:107
Functiontest_edit_file_remove_lines
()
tests/tools/test_edit_file.rs:52
Functiontest_edit_file_simple_replacement
()
tests/tools/test_edit_file.rs:7
Functiontest_edit_file_single_line_replacement
()
tests/tools/test_edit_file.rs:172
Functiontest_edit_file_tool_definition
()
tests/tools/test_edit_file.rs:219
Functiontest_function_command
()
tests/test_command.rs:52
Functiontest_loaded_tool_execution
()
tests/test_lua_dyn_tool.rs:210
Functiontest_lua_config_parsing
()
tests/lua_config_test.rs:6
Functiontest_lua_config_with_env_var
()
tests/lua_config_test.rs:37
Functiontest_lua_dyn_tool_array_handling
()
tests/test_lua_dyn_tool.rs:113
Functiontest_lua_dyn_tool_basic_call
()
tests/test_lua_dyn_tool.rs:8
Functiontest_lua_dyn_tool_complex_object
()
tests/test_lua_dyn_tool.rs:260
Functiontest_lua_dyn_tool_error_handling
()
tests/test_lua_dyn_tool.rs:160
Functiontest_lua_dyn_tool_string_manipulation
()
tests/test_lua_dyn_tool.rs:54
Functiontest_lua_tool_loader_empty_directory
()
tests/test_lua_dyn_tool.rs:197
Functiontest_mcp_manager_creation
()
src/kota_code/mcp/mod.rs:168
Functiontest_missing_config_file
()
tests/lua_config_test.rs:67
Functiontest_overwrite_existing_file
()
tests/tools/test_write_file.rs:38
Functiontest_parse_command_input
()
tests/test_command.rs:12
Functiontest_read_existing_file
()
tests/tools/test_read_file.rs:7
Functiontest_read_nonexistent_file
()
tests/tools/test_read_file.rs:29
Functiontest_server_check
()
src/kota_code/mcp/mod.rs:174
Functiontest_string_command
()
tests/test_command.rs:39
Functiontest_write_new_file
()
tests/tools/test_write_file.rs:8
Methodtool_name
(&self)
src/kota_code/runtime/dyn_tools_loader/dyn_tool.rs:38
Methodtool_registry
Get the tool registry
src/kota_code/agent/mod.rs:112
Methodtool_registry_mut
Get mutable tool registry
src/kota_code/agent/mod.rs:117
Methodvalidate
( &self, ctx: &mut validate::ValidationContext, )
src/kota_cli/tab.rs:124
Methodvalidate_while_typing
(&self)
src/kota_cli/tab.rs:131
Methodwith_plan_manager
Set a custom plan manager for task management # Arguments `manager` - A PlanManager instance for managing tasks and plans
src/kota_code/agent/mod.rs:325
← previous101–196 of 196, ranked by callers