Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiberBinjio/claude-cli-rs
/ functions
Functions
1,121 in github.com/LiberBinjio/claude-cli-rs
⨍
Functions
1,121
◇
Types & classes
139
↓ 2 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_get.rs:31
↓ 2 callers
Method
call
(&self, input: Value, ctx: &mut ToolUseContext)
crates/tools/src/grep.rs:49
↓ 2 callers
Function
centered_rect
Compute a centred rectangle of the given size within `area`.
crates/tui/src/permission_dialog.rs:161
↓ 2 callers
Method
check_process_alive
Check that the child process has not exited. This is called before each write to avoid writing to a dead pipe.
crates/mcp/src/transport.rs:111
↓ 2 callers
Function
claude_home_dir
()
crates/tools/src/shared/mod.rs:79
↓ 2 callers
Method
clear_messages
Clear the message history.
crates/query/src/engine.rs:103
↓ 2 callers
Function
create_command_registry
()
crates/cli/src/setup.rs:90
↓ 2 callers
Function
create_tool_set
()
crates/cli/src/setup.rs:79
↓ 2 callers
Method
current_frame
(&self)
crates/tui/src/spinner.rs:48
↓ 2 callers
Function
ensure_dir
Ensure `path` exists as a directory (creates parents as needed).
crates/utils/src/fs.rs:43
↓ 2 callers
Method
execute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/help.rs:28
↓ 2 callers
Method
execute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/resume.rs:24
↓ 2 callers
Method
execute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/theme.rs:24
↓ 2 callers
Method
execute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/model.rs:24
↓ 2 callers
Function
extract_title
Extract a title from the first user message (up to 80 chars).
crates/services/src/session.rs:125
↓ 2 callers
Method
find
(&self, input: &str)
crates/commands/src/registry.rs:31
↓ 2 callers
Method
find
(&self, name: &str)
crates/query/src/tool_set.rs:31
↓ 2 callers
Method
finish_streaming
Commit the current streaming text as a completed assistant message.
crates/tui/src/message_view.rs:82
↓ 2 callers
Function
generate_code_challenge
(verifier: &str)
crates/auth/src/oauth.rs:167
↓ 2 callers
Function
generate_overview
Generate a quick overview of *all* commands registered with a temporary registry. Because `HelpCommand::execute` does not receive the registry, we bui
crates/commands/src/builtin/help.rs:50
↓ 2 callers
Function
get_api_key_from_config_file
()
crates/auth/src/api_key.rs:15
↓ 2 callers
Function
get_api_key_from_env
()
crates/auth/src/api_key.rs:9
↓ 2 callers
Function
get_env_or
(key: &str, default: &str)
crates/utils/src/env.rs:16
↓ 2 callers
Method
input_schema
(&self)
crates/tools/src/lsp.rs:15
↓ 2 callers
Function
install_panic_hook
Install a panic hook that restores the terminal before printing the default panic message, preventing a garbled terminal on crash.
crates/tui/src/terminal.rs:35
↓ 2 callers
Function
is_token_expired
(tokens: &OAuthTokens)
crates/auth/src/oauth.rs:201
↓ 2 callers
Method
load_history_entry
(&mut self, idx: usize)
crates/tui/src/prompt_input.rs:221
↓ 2 callers
Function
load_oauth_tokens
Load OAuth tokens from the system keychain. Returns `None` if not found.
crates/auth/src/keychain.rs:53
↓ 2 callers
Function
load_tokens
()
crates/auth/src/oauth.rs:192
↓ 2 callers
Function
make_proxy
()
crates/tools/src/mcp_tool.rs:58
↓ 2 callers
Method
name
(&self)
crates/tools/src/lsp.rs:12
↓ 2 callers
Method
name
(&self)
crates/tools/src/registry.rs:100
↓ 2 callers
Method
name
(&self)
crates/commands/src/registry.rs:102
↓ 2 callers
Method
page_down
(&mut self, visible_lines: u16)
crates/tui/src/message_view.rs:117
↓ 2 callers
Function
parse_token_response
(resp: reqwest::Response)
crates/auth/src/oauth.rs:216
↓ 2 callers
Function
read_only_commands
Set of command prefixes considered read-only.
crates/tools/src/bash.rs:17
↓ 2 callers
Method
receive_message
Receive the next [`BridgeMessage`]. Returns `None` when the peer closes the connection. Automatically responds to WebSocket `Ping` frames with `Pong`
crates/bridge/src/websocket.rs:51
↓ 2 callers
Function
register_all_tools
Register all built-in tools (P0 through P3) into an existing registry.
crates/tools/src/lib.rs:89
↓ 2 callers
Function
register_p1_tools
Register P1 tools (WebFetch, WebSearch, Agent) — network and delegation. Note: `McpProxyTool` is dynamically registered per-server, not here.
crates/tools/src/lib.rs:60
↓ 2 callers
Function
register_p2_tools
Register P2 tools (TodoWrite, Config, Task*, LSP, NotebookEdit).
crates/tools/src/lib.rs:67
↓ 2 callers
Function
register_p3_tools
Register P3 tools (Skill, Team*, SendMessage) — placeholder/future.
crates/tools/src/lib.rs:81
↓ 2 callers
Method
render_side_by_side
(&self, total_width: u16, theme: &Theme)
crates/tui/src/diff_view.rs:130
↓ 2 callers
Method
run_query
Run a query against the API.
crates/query/src/engine.rs:156
↓ 2 callers
Method
scroll_down
(&mut self)
crates/tui/src/diff_view.rs:62
↓ 2 callers
Method
scroll_to_bottom
(&mut self)
crates/tui/src/message_view.rs:123
↓ 2 callers
Method
set_model
Set the model to use.
crates/query/src/engine.rs:87
↓ 2 callers
Method
set_system_prompt
Override the system prompt.
crates/query/src/engine.rs:92
↓ 2 callers
Function
setup_context
()
tests/integration/test_commands.rs:12
↓ 2 callers
Function
shell_and_flag
()
crates/utils/src/shell.rs:112
↓ 2 callers
Method
start
Mark the task as running.
crates/core/src/task.rs:51
↓ 2 callers
Function
test_ctx
()
crates/tools/src/task_get.rs:55
↓ 2 callers
Function
test_ctx
()
crates/tools/src/grep.rs:143
↓ 2 callers
Method
tick
(&mut self)
crates/tui/src/spinner.rs:41
↓ 2 callers
Method
toggle_mode
Toggle between unified and side-by-side modes.
crates/tui/src/diff_view.rs:47
↓ 2 callers
Function
truncate_to_token_budget
(text: &str, max_tokens: u64)
crates/utils/src/tokens.rs:15
↓ 1 callers
Method
add_cost
(&self, micro_usd: u64)
crates/core/src/state.rs:59
↓ 1 callers
Method
aliases
(&self)
crates/commands/src/registry.rs:103
↓ 1 callers
Method
all
(&self)
crates/commands/src/registry.rs:56
↓ 1 callers
Method
all_definitions
(&self)
crates/tools/src/registry.rs:79
↓ 1 callers
Method
call
(&self, input: Value, ctx: &mut ToolUseContext)
crates/tools/src/notebook_edit.rs:29
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/agent.rs:43
↓ 1 callers
Method
call
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_list.rs:29
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_create.rs:28
↓ 1 callers
Method
call
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/send_message.rs:28
↓ 1 callers
Method
call
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/team_delete.rs:27
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_output.rs:31
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_update.rs:29
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_stop.rs:27
↓ 1 callers
Method
call
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/skill.rs:32
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/todo_write.rs:42
↓ 1 callers
Method
call
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/mcp_tool.rs:33
↓ 1 callers
Method
call
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/team_create.rs:28
↓ 1 callers
Method
cancel
Mark the task as cancelled.
crates/core/src/task.rs:68
↓ 1 callers
Function
centered_rect
Compute a centred rectangle of the given size within `area`.
crates/tui/src/onboarding.rs:116
↓ 1 callers
Function
check_proxy_health
Check if the Agent Maestro proxy is reachable. Sends a GET request to the `/api/v1/info` endpoint and returns `true` if it responds with a 2xx status
crates/auth/src/copilot.rs:12
↓ 1 callers
Method
close
Shut down the transport.
crates/mcp/src/client.rs:122
↓ 1 callers
Method
complete
Mark the task as completed.
crates/core/src/task.rs:56
↓ 1 callers
Function
config_dir
()
crates/utils/src/platform.rs:40
↓ 1 callers
Function
config_file_path
Path to `~/.claude.json`.
crates/auth/src/api_key.rs:45
↓ 1 callers
Method
connect_server
Connect to a single MCP server, run `initialize`, and store the client.
crates/mcp/src/manager.rs:41
↓ 1 callers
Method
cursor
(&self)
crates/tui/src/prompt_input.rs:80
↓ 1 callers
Function
delete_api_key
Delete the API key from the system keychain.
crates/auth/src/keychain.rs:32
↓ 1 callers
Function
delete_oauth_tokens
Delete OAuth tokens from the system keychain.
crates/auth/src/keychain.rs:67
↓ 1 callers
Function
detect_light_background
Heuristic: check `COLORFGBG` (e.g. `"15;0"` → bg=0 → dark).
crates/tui/src/theme.rs:145
↓ 1 callers
Method
disable
Disable event collection.
crates/services/src/analytics.rs:37
↓ 1 callers
Method
exchange_code
Exchange an authorization code for tokens.
crates/auth/src/oauth.rs:105
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/permissions.rs:24
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/config.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/compact.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/voice.rs:24
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/vim.rs:24
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/session.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/memory.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/status.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/version.rs:24
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/mcp.rs:20
↓ 1 callers
Method
execute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/diff.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/cost.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/init.rs:20
↓ 1 callers
Method
execute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/exit.rs:24
← previous
next →
101–200 of 1,121, ranked by callers