Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Infatoshi/OpenSquirrel
/ functions
Functions
390 in github.com/Infatoshi/OpenSquirrel
⨍
Functions
390
◇
Types & classes
58
↓ 1 callers
Function
agent_thread
( msg_tx: async_channel::Sender<AgentMsg>, prompt_rx: mpsc::Receiver<String>, runtime: RuntimeDef,
src/runtime.rs:767
↓ 1 callers
Function
agent_thread_claude_persistent
( msg_tx: &async_channel::Sender<AgentMsg>, prompt_rx: &mpsc::Receiver<String>, runtime: &RuntimeD
src/runtime.rs:985
↓ 1 callers
Function
build_agent_menu
(runtime: &str)
src/app.rs:809
↓ 1 callers
Function
build_remote_shell_command
( program: &str, args: &[String], prompt: &str, workdir: Option<&str>, )
src/runtime.rs:582
↓ 1 callers
Function
build_remote_wrapped_command
( runtime: &RuntimeDef, args: &[String], prompt: &str, workdir: Option<&str>, )
src/runtime.rs:601
↓ 1 callers
Method
build_worker_handoff_prompt
( &self, worker_idx: usize, assignment: &WorkerAssignment, diff: &DiffSummary,
src/app.rs:2274
↓ 1 callers
Function
builtin_themes
()
src/theme.rs:132
↓ 1 callers
Method
connect
Connect to the remote daemon. Sets up SSH tunnel and TCP connection. If the daemon is not running, starts it via `osqd --ensure`.
src/daemon_client.rs:30
↓ 1 callers
Function
current_branch
Get the current branch name of the repo at the given path.
src/worktree.rs:87
↓ 1 callers
Function
default_bg_blur
()
src/config.rs:27
↓ 1 callers
Function
default_bg_opacity
()
src/config.rs:24
↓ 1 callers
Function
default_view_mode
()
src/config.rs:30
↓ 1 callers
Method
diff_add_bg
(&self)
src/theme.rs:96
↓ 1 callers
Method
diff_hunk_bg
(&self)
src/theme.rs:102
↓ 1 callers
Method
diff_remove_bg
(&self)
src/theme.rs:99
↓ 1 callers
Method
drain_events
Drain all pending events.
src/hooks.rs:47
↓ 1 callers
Function
ensure
Ensure the daemon is running. If a valid PID file exists and the process is alive, exit. Otherwise start the daemon as a background process.
src/daemon.rs:87
↓ 1 callers
Method
ensure_remote_daemon
(&self)
src/daemon_client.rs:204
↓ 1 callers
Method
execute_agent_menu_item
(&mut self, cx: &mut Context<Self>)
src/app.rs:3034
↓ 1 callers
Function
fetch_cursor_model_list
()
src/runtime.rs:32
↓ 1 callers
Function
fetch_opencode_model_list
()
src/runtime.rs:10
↓ 1 callers
Method
file_at
Get the file path at the given flat index across all sections. Returns (path, is_staged).
src/changes.rs:133
↓ 1 callers
Function
find_real_binary
Locate the real binary for `name`, skipping any path that lives inside `wrapper_dir`.
src/hooks.rs:155
↓ 1 callers
Method
finish_setup
(&mut self, cx: &mut Context<Self>)
src/app.rs:2826
↓ 1 callers
Method
font_family_options
(&self)
src/app.rs:2471
↓ 1 callers
Function
generate_script
(name: &str, real_path: &str)
src/hooks.rs:196
↓ 1 callers
Function
generate_stars
(count: usize, seed: u64)
src/app.rs:257
↓ 1 callers
Function
generate_wrapper_scripts
Generate wrapper scripts in ~/.osq/bin/ for each runtime. Each wrapper: 1. Traps EXIT to POST a Stop event 2. POSTs a Start event 3. exec's the real
src/hooks.rs:124
↓ 1 callers
Method
get_models_for_runtime
(&self, runtime_name: &str)
src/app.rs:1636
↓ 1 callers
Function
handle_client
(stream: std::net::TcpStream, state: Arc<Mutex<DaemonState>>)
src/daemon.rs:120
↓ 1 callers
Method
handle_delegate_request
( &mut self, coordinator_idx: usize, request: DelegateRequest, cx: &mut Contex
src/app.rs:2223
↓ 1 callers
Method
handle_delegated_worker_done
(&mut self, worker_idx: usize, cx: &mut Context<Self>)
src/app.rs:2331
↓ 1 callers
Function
handle_gpu_info
()
src/daemon.rs:224
↓ 1 callers
Function
handle_kill_agent
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:321
↓ 1 callers
Function
handle_list_agents
(state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:350
↓ 1 callers
Function
handle_list_dirs
(msg: &JsonValue)
src/daemon.rs:195
↓ 1 callers
Function
handle_ping
(state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:186
↓ 1 callers
Function
handle_send_prompt
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:333
↓ 1 callers
Function
handle_spawn_agent
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:254
↓ 1 callers
Method
header_gradient_end
(&self)
src/theme.rs:108
↓ 1 callers
Method
header_gradient_start
(&self)
src/theme.rs:105
↓ 1 callers
Function
hook_env_vars
Get the environment variables to set in spawned PTY/subprocesses so that wrapper scripts can communicate back to the hooks server.
src/hooks.rs:230
↓ 1 callers
Function
is_git_repo
Check if a path is inside a git repository.
src/worktree.rs:107
↓ 1 callers
Function
keystroke_to_pty_bytes
Convert a GPUI keystroke to PTY bytes. Handles modifier combos that gpui-terminal's keystroke_to_bytes misses (Alt+arrows, Cmd+arrows).
src/app.rs:47
↓ 1 callers
Function
launch_remote_tmux_session
( destination: &str, session_name: &str, runtime: &RuntimeDef, args: &[String], prompt: &s
src/runtime.rs:646
↓ 1 callers
Function
list_home_dirs
()
src/app.rs:230
↓ 1 callers
Method
move_down
(&mut self)
src/app.rs:756
↓ 1 callers
Method
move_up
(&mut self)
src/app.rs:752
↓ 1 callers
Method
next_worker_name
(&self, parent_idx: usize, runtime_name: &str)
src/app.rs:1103
↓ 1 callers
Method
open_agent_menu
(&mut self, agent_idx: usize, cx: &mut Context<Self>)
src/app.rs:3022
↓ 1 callers
Method
open_settings
(&mut self, _: &OpenSettings, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:3000
↓ 1 callers
Function
parse_bullet
Detect if a line is a bullet point. Returns Some(indent_level, content) if it is.
src/lib.rs:227
↓ 1 callers
Function
parse_code_fence
Detect if a line is a code fence (``` with optional language). Returns Some(language) for opening fences, Some("") for closing fences. Returns None if
src/lib.rs:215
↓ 1 callers
Function
parse_heading
Detect if a line is a heading (# ... ######) Returns Some(level, content) where level is 1-6.
src/lib.rs:253
↓ 1 callers
Method
pop_char
(&mut self)
src/app.rs:747
↓ 1 callers
Method
push_char
(&mut self, ch: &str)
src/app.rs:742
↓ 1 callers
Function
read_claude_config
()
src/config.rs:436
↓ 1 callers
Function
read_codex_config
()
src/config.rs:510
↓ 1 callers
Function
read_opencode_config
()
src/config.rs:562
↓ 1 callers
Method
read_remote_port
(&self)
src/daemon_client.rs:216
↓ 1 callers
Function
read_runtime_info
(runtime_name: &str)
src/config.rs:590
↓ 1 callers
Function
remote_tmux_snapshot
( destination: &str, session_name: &str, )
src/runtime.rs:672
↓ 1 callers
Method
render_agent_menu
(&self, cx: &mut Context<Self>)
src/app.rs:6351
↓ 1 callers
Method
render_changes_panel
(&self)
src/app.rs:7882
↓ 1 callers
Method
render_copy_icon
( &self, text: String, element_id: String, cx: &mut Context<Self>, )
src/app.rs:8216
↓ 1 callers
Method
render_model_picker
(&self, cx: &mut Context<Self>)
src/app.rs:6282
↓ 1 callers
Method
render_palette
(&self, cx: &mut Context<Self>)
src/app.rs:6238
↓ 1 callers
Method
render_remove_confirm
(&self, cx: &mut Context<Self>)
src/app.rs:8114
↓ 1 callers
Method
render_search
(&self)
src/app.rs:7731
↓ 1 callers
Method
render_settings
(&self, cx: &mut Context<Self>)
src/app.rs:6935
↓ 1 callers
Method
render_setup
(&self, cx: &mut Context<Self>)
src/app.rs:6444
↓ 1 callers
Method
render_sidebar
(&self, cx: &mut Context<Self>)
src/app.rs:4655
↓ 1 callers
Method
render_sparkline
( &self, data: &[u64], color: Rgba, width: f32, height: f32, )
src/app.rs:5118
↓ 1 callers
Method
render_starfield
(&self, _cx: &Context<Self>)
src/app.rs:4369
↓ 1 callers
Method
render_stats
(&self)
src/app.rs:7401
↓ 1 callers
Method
render_top_bar
(&self, cx: &mut Context<Self>)
src/app.rs:8253
↓ 1 callers
Method
resolve_machine_target
(&self, target_name: &str)
src/app.rs:1193
↓ 1 callers
Method
restart_agent
(&mut self, _: &RestartAgent, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:4215
↓ 1 callers
Function
run_setup_script
Run .osq/setup.sh if it exists in the repo root. Environment: OPENSQUIRREL_WORKSPACE_NAME, OPENSQUIRREL_ROOT_PATH, OPENSQUIRREL_WORKTREE_PATH
src/worktree.rs:187
↓ 1 callers
Function
run_teardown_script
Run .osq/teardown.sh if it exists in the repo root.
src/worktree.rs:196
↓ 1 callers
Method
save_recent_project
(&mut self, path: &str, machine: &str)
src/app.rs:1550
↓ 1 callers
Method
select_next
Navigate selection down.
src/changes.rs:251
↓ 1 callers
Method
select_prev
Navigate selection up.
src/changes.rs:243
↓ 1 callers
Method
selected_id
Returns the selected item's id, if any.
src/app.rs:762
↓ 1 callers
Method
selected_mcp_defs
(&self)
src/app.rs:1776
↓ 1 callers
Method
set_default_view_mode
(&mut self, mode: ViewMode)
src/app.rs:2525
↓ 1 callers
Method
settings_activate_current_item
(&mut self)
src/app.rs:2625
↓ 1 callers
Method
setup_prev
(&mut self, _: &SetupPrev, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:3537
↓ 1 callers
Method
show_stats
(&mut self, _: &ShowStats, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:4289
↓ 1 callers
Method
spawn_completion_particles
(&mut self, x: f32, y: f32, color: Rgba)
src/app.rs:4294
↓ 1 callers
Method
stage_file
Stage a file. Runs `git add {path}`.
src/changes.rs:192
↓ 1 callers
Method
start_change_agent
(&mut self, _cx: &mut Context<Self>)
src/app.rs:2774
↓ 1 callers
Function
stream_agent_output
Stream stdout from a spawned agent back to the client. Collects output into the agent's buffer so reconnecting clients can retrieve missed lines.
src/daemon.rs:377
↓ 1 callers
Method
unstage_file
Unstage a file. Runs `git restore --staged {path}`.
src/changes.rs:201
↓ 1 callers
Method
update_particles
(&mut self)
src/app.rs:4323
↓ 1 callers
Function
worktrees_base_dir
Return the base directory for all worktrees: ~/.osq/worktrees/
src/worktree.rs:81
Function
approve_clears_pending
()
tests/state_tests.rs:414
Function
binary_builds
()
tests/state_tests.rs:6
Function
build_persistent_runtime_args_empty_model_flag
()
tests/state_tests.rs:724
Function
build_persistent_runtime_args_no_base_args
()
tests/state_tests.rs:711
← previous
next →
101–200 of 390, ranked by callers