MCPcopy Create free account

hub / github.com/LiberBinjio/claude-cli-rs / functions

Functions1,121 in github.com/LiberBinjio/claude-cli-rs

↓ 2 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_get.rs:31
↓ 2 callersMethodcall
(&self, input: Value, ctx: &mut ToolUseContext)
crates/tools/src/grep.rs:49
↓ 2 callersFunctioncentered_rect
Compute a centred rectangle of the given size within `area`.
crates/tui/src/permission_dialog.rs:161
↓ 2 callersMethodcheck_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 callersFunctionclaude_home_dir
()
crates/tools/src/shared/mod.rs:79
↓ 2 callersMethodclear_messages
Clear the message history.
crates/query/src/engine.rs:103
↓ 2 callersFunctioncreate_command_registry
()
crates/cli/src/setup.rs:90
↓ 2 callersFunctioncreate_tool_set
()
crates/cli/src/setup.rs:79
↓ 2 callersMethodcurrent_frame
(&self)
crates/tui/src/spinner.rs:48
↓ 2 callersFunctionensure_dir
Ensure `path` exists as a directory (creates parents as needed).
crates/utils/src/fs.rs:43
↓ 2 callersMethodexecute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/help.rs:28
↓ 2 callersMethodexecute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/resume.rs:24
↓ 2 callersMethodexecute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/theme.rs:24
↓ 2 callersMethodexecute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/model.rs:24
↓ 2 callersFunctionextract_title
Extract a title from the first user message (up to 80 chars).
crates/services/src/session.rs:125
↓ 2 callersMethodfind
(&self, input: &str)
crates/commands/src/registry.rs:31
↓ 2 callersMethodfind
(&self, name: &str)
crates/query/src/tool_set.rs:31
↓ 2 callersMethodfinish_streaming
Commit the current streaming text as a completed assistant message.
crates/tui/src/message_view.rs:82
↓ 2 callersFunctiongenerate_code_challenge
(verifier: &str)
crates/auth/src/oauth.rs:167
↓ 2 callersFunctiongenerate_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 callersFunctionget_api_key_from_config_file
()
crates/auth/src/api_key.rs:15
↓ 2 callersFunctionget_api_key_from_env
()
crates/auth/src/api_key.rs:9
↓ 2 callersFunctionget_env_or
(key: &str, default: &str)
crates/utils/src/env.rs:16
↓ 2 callersMethodinput_schema
(&self)
crates/tools/src/lsp.rs:15
↓ 2 callersFunctioninstall_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 callersFunctionis_token_expired
(tokens: &OAuthTokens)
crates/auth/src/oauth.rs:201
↓ 2 callersMethodload_history_entry
(&mut self, idx: usize)
crates/tui/src/prompt_input.rs:221
↓ 2 callersFunctionload_oauth_tokens
Load OAuth tokens from the system keychain. Returns `None` if not found.
crates/auth/src/keychain.rs:53
↓ 2 callersFunctionload_tokens
()
crates/auth/src/oauth.rs:192
↓ 2 callersFunctionmake_proxy
()
crates/tools/src/mcp_tool.rs:58
↓ 2 callersMethodname
(&self)
crates/tools/src/lsp.rs:12
↓ 2 callersMethodname
(&self)
crates/tools/src/registry.rs:100
↓ 2 callersMethodname
(&self)
crates/commands/src/registry.rs:102
↓ 2 callersMethodpage_down
(&mut self, visible_lines: u16)
crates/tui/src/message_view.rs:117
↓ 2 callersFunctionparse_token_response
(resp: reqwest::Response)
crates/auth/src/oauth.rs:216
↓ 2 callersFunctionread_only_commands
Set of command prefixes considered read-only.
crates/tools/src/bash.rs:17
↓ 2 callersMethodreceive_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 callersFunctionregister_all_tools
Register all built-in tools (P0 through P3) into an existing registry.
crates/tools/src/lib.rs:89
↓ 2 callersFunctionregister_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 callersFunctionregister_p2_tools
Register P2 tools (TodoWrite, Config, Task*, LSP, NotebookEdit).
crates/tools/src/lib.rs:67
↓ 2 callersFunctionregister_p3_tools
Register P3 tools (Skill, Team*, SendMessage) — placeholder/future.
crates/tools/src/lib.rs:81
↓ 2 callersMethodrender_side_by_side
(&self, total_width: u16, theme: &Theme)
crates/tui/src/diff_view.rs:130
↓ 2 callersMethodrun_query
Run a query against the API.
crates/query/src/engine.rs:156
↓ 2 callersMethodscroll_down
(&mut self)
crates/tui/src/diff_view.rs:62
↓ 2 callersMethodscroll_to_bottom
(&mut self)
crates/tui/src/message_view.rs:123
↓ 2 callersMethodset_model
Set the model to use.
crates/query/src/engine.rs:87
↓ 2 callersMethodset_system_prompt
Override the system prompt.
crates/query/src/engine.rs:92
↓ 2 callersFunctionsetup_context
()
tests/integration/test_commands.rs:12
↓ 2 callersFunctionshell_and_flag
()
crates/utils/src/shell.rs:112
↓ 2 callersMethodstart
Mark the task as running.
crates/core/src/task.rs:51
↓ 2 callersFunctiontest_ctx
()
crates/tools/src/task_get.rs:55
↓ 2 callersFunctiontest_ctx
()
crates/tools/src/grep.rs:143
↓ 2 callersMethodtick
(&mut self)
crates/tui/src/spinner.rs:41
↓ 2 callersMethodtoggle_mode
Toggle between unified and side-by-side modes.
crates/tui/src/diff_view.rs:47
↓ 2 callersFunctiontruncate_to_token_budget
(text: &str, max_tokens: u64)
crates/utils/src/tokens.rs:15
↓ 1 callersMethodadd_cost
(&self, micro_usd: u64)
crates/core/src/state.rs:59
↓ 1 callersMethodaliases
(&self)
crates/commands/src/registry.rs:103
↓ 1 callersMethodall
(&self)
crates/commands/src/registry.rs:56
↓ 1 callersMethodall_definitions
(&self)
crates/tools/src/registry.rs:79
↓ 1 callersMethodcall
(&self, input: Value, ctx: &mut ToolUseContext)
crates/tools/src/notebook_edit.rs:29
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/agent.rs:43
↓ 1 callersMethodcall
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_list.rs:29
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_create.rs:28
↓ 1 callersMethodcall
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/send_message.rs:28
↓ 1 callersMethodcall
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/team_delete.rs:27
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_output.rs:31
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_update.rs:29
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/task_stop.rs:27
↓ 1 callersMethodcall
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/skill.rs:32
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/todo_write.rs:42
↓ 1 callersMethodcall
(&self, input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/mcp_tool.rs:33
↓ 1 callersMethodcall
(&self, _input: Value, _ctx: &mut ToolUseContext)
crates/tools/src/team_create.rs:28
↓ 1 callersMethodcancel
Mark the task as cancelled.
crates/core/src/task.rs:68
↓ 1 callersFunctioncentered_rect
Compute a centred rectangle of the given size within `area`.
crates/tui/src/onboarding.rs:116
↓ 1 callersFunctioncheck_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 callersMethodclose
Shut down the transport.
crates/mcp/src/client.rs:122
↓ 1 callersMethodcomplete
Mark the task as completed.
crates/core/src/task.rs:56
↓ 1 callersFunctionconfig_dir
()
crates/utils/src/platform.rs:40
↓ 1 callersFunctionconfig_file_path
Path to `~/.claude.json`.
crates/auth/src/api_key.rs:45
↓ 1 callersMethodconnect_server
Connect to a single MCP server, run `initialize`, and store the client.
crates/mcp/src/manager.rs:41
↓ 1 callersMethodcursor
(&self)
crates/tui/src/prompt_input.rs:80
↓ 1 callersFunctiondelete_api_key
Delete the API key from the system keychain.
crates/auth/src/keychain.rs:32
↓ 1 callersFunctiondelete_oauth_tokens
Delete OAuth tokens from the system keychain.
crates/auth/src/keychain.rs:67
↓ 1 callersFunctiondetect_light_background
Heuristic: check `COLORFGBG` (e.g. `"15;0"` → bg=0 → dark).
crates/tui/src/theme.rs:145
↓ 1 callersMethoddisable
Disable event collection.
crates/services/src/analytics.rs:37
↓ 1 callersMethodexchange_code
Exchange an authorization code for tokens.
crates/auth/src/oauth.rs:105
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/permissions.rs:24
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/config.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/compact.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/voice.rs:24
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/vim.rs:24
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/session.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/memory.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/status.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/version.rs:24
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/mcp.rs:20
↓ 1 callersMethodexecute
( &self, args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/diff.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/cost.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/init.rs:20
↓ 1 callersMethodexecute
( &self, _args: &str, _ctx: &mut CommandContext, )
crates/commands/src/builtin/exit.rs:24
← previousnext →101–200 of 1,121, ranked by callers