MCPcopy Create free account

hub / github.com/Infatoshi/OpenSquirrel / functions

Functions390 in github.com/Infatoshi/OpenSquirrel

↓ 1 callersFunctionagent_thread
( msg_tx: async_channel::Sender<AgentMsg>, prompt_rx: mpsc::Receiver<String>, runtime: RuntimeDef,
src/runtime.rs:767
↓ 1 callersFunctionagent_thread_claude_persistent
( msg_tx: &async_channel::Sender<AgentMsg>, prompt_rx: &mpsc::Receiver<String>, runtime: &RuntimeD
src/runtime.rs:985
↓ 1 callersFunctionbuild_agent_menu
(runtime: &str)
src/app.rs:809
↓ 1 callersFunctionbuild_remote_shell_command
( program: &str, args: &[String], prompt: &str, workdir: Option<&str>, )
src/runtime.rs:582
↓ 1 callersFunctionbuild_remote_wrapped_command
( runtime: &RuntimeDef, args: &[String], prompt: &str, workdir: Option<&str>, )
src/runtime.rs:601
↓ 1 callersMethodbuild_worker_handoff_prompt
( &self, worker_idx: usize, assignment: &WorkerAssignment, diff: &DiffSummary,
src/app.rs:2274
↓ 1 callersFunctionbuiltin_themes
()
src/theme.rs:132
↓ 1 callersMethodconnect
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 callersFunctioncurrent_branch
Get the current branch name of the repo at the given path.
src/worktree.rs:87
↓ 1 callersFunctiondefault_bg_blur
()
src/config.rs:27
↓ 1 callersFunctiondefault_bg_opacity
()
src/config.rs:24
↓ 1 callersFunctiondefault_view_mode
()
src/config.rs:30
↓ 1 callersMethoddiff_add_bg
(&self)
src/theme.rs:96
↓ 1 callersMethoddiff_hunk_bg
(&self)
src/theme.rs:102
↓ 1 callersMethoddiff_remove_bg
(&self)
src/theme.rs:99
↓ 1 callersMethoddrain_events
Drain all pending events.
src/hooks.rs:47
↓ 1 callersFunctionensure
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 callersMethodensure_remote_daemon
(&self)
src/daemon_client.rs:204
↓ 1 callersMethodexecute_agent_menu_item
(&mut self, cx: &mut Context<Self>)
src/app.rs:3034
↓ 1 callersFunctionfetch_cursor_model_list
()
src/runtime.rs:32
↓ 1 callersFunctionfetch_opencode_model_list
()
src/runtime.rs:10
↓ 1 callersMethodfile_at
Get the file path at the given flat index across all sections. Returns (path, is_staged).
src/changes.rs:133
↓ 1 callersFunctionfind_real_binary
Locate the real binary for `name`, skipping any path that lives inside `wrapper_dir`.
src/hooks.rs:155
↓ 1 callersMethodfinish_setup
(&mut self, cx: &mut Context<Self>)
src/app.rs:2826
↓ 1 callersMethodfont_family_options
(&self)
src/app.rs:2471
↓ 1 callersFunctiongenerate_script
(name: &str, real_path: &str)
src/hooks.rs:196
↓ 1 callersFunctiongenerate_stars
(count: usize, seed: u64)
src/app.rs:257
↓ 1 callersFunctiongenerate_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 callersMethodget_models_for_runtime
(&self, runtime_name: &str)
src/app.rs:1636
↓ 1 callersFunctionhandle_client
(stream: std::net::TcpStream, state: Arc<Mutex<DaemonState>>)
src/daemon.rs:120
↓ 1 callersMethodhandle_delegate_request
( &mut self, coordinator_idx: usize, request: DelegateRequest, cx: &mut Contex
src/app.rs:2223
↓ 1 callersMethodhandle_delegated_worker_done
(&mut self, worker_idx: usize, cx: &mut Context<Self>)
src/app.rs:2331
↓ 1 callersFunctionhandle_gpu_info
()
src/daemon.rs:224
↓ 1 callersFunctionhandle_kill_agent
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:321
↓ 1 callersFunctionhandle_list_agents
(state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:350
↓ 1 callersFunctionhandle_list_dirs
(msg: &JsonValue)
src/daemon.rs:195
↓ 1 callersFunctionhandle_ping
(state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:186
↓ 1 callersFunctionhandle_send_prompt
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:333
↓ 1 callersFunctionhandle_spawn_agent
(msg: &JsonValue, state: &Arc<Mutex<DaemonState>>)
src/daemon.rs:254
↓ 1 callersMethodheader_gradient_end
(&self)
src/theme.rs:108
↓ 1 callersMethodheader_gradient_start
(&self)
src/theme.rs:105
↓ 1 callersFunctionhook_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 callersFunctionis_git_repo
Check if a path is inside a git repository.
src/worktree.rs:107
↓ 1 callersFunctionkeystroke_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 callersFunctionlaunch_remote_tmux_session
( destination: &str, session_name: &str, runtime: &RuntimeDef, args: &[String], prompt: &s
src/runtime.rs:646
↓ 1 callersFunctionlist_home_dirs
()
src/app.rs:230
↓ 1 callersMethodmove_down
(&mut self)
src/app.rs:756
↓ 1 callersMethodmove_up
(&mut self)
src/app.rs:752
↓ 1 callersMethodnext_worker_name
(&self, parent_idx: usize, runtime_name: &str)
src/app.rs:1103
↓ 1 callersMethodopen_agent_menu
(&mut self, agent_idx: usize, cx: &mut Context<Self>)
src/app.rs:3022
↓ 1 callersMethodopen_settings
(&mut self, _: &OpenSettings, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:3000
↓ 1 callersFunctionparse_bullet
Detect if a line is a bullet point. Returns Some(indent_level, content) if it is.
src/lib.rs:227
↓ 1 callersFunctionparse_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 callersFunctionparse_heading
Detect if a line is a heading (# ... ######) Returns Some(level, content) where level is 1-6.
src/lib.rs:253
↓ 1 callersMethodpop_char
(&mut self)
src/app.rs:747
↓ 1 callersMethodpush_char
(&mut self, ch: &str)
src/app.rs:742
↓ 1 callersFunctionread_claude_config
()
src/config.rs:436
↓ 1 callersFunctionread_codex_config
()
src/config.rs:510
↓ 1 callersFunctionread_opencode_config
()
src/config.rs:562
↓ 1 callersMethodread_remote_port
(&self)
src/daemon_client.rs:216
↓ 1 callersFunctionread_runtime_info
(runtime_name: &str)
src/config.rs:590
↓ 1 callersFunctionremote_tmux_snapshot
( destination: &str, session_name: &str, )
src/runtime.rs:672
↓ 1 callersMethodrender_agent_menu
(&self, cx: &mut Context<Self>)
src/app.rs:6351
↓ 1 callersMethodrender_changes_panel
(&self)
src/app.rs:7882
↓ 1 callersMethodrender_copy_icon
( &self, text: String, element_id: String, cx: &mut Context<Self>, )
src/app.rs:8216
↓ 1 callersMethodrender_model_picker
(&self, cx: &mut Context<Self>)
src/app.rs:6282
↓ 1 callersMethodrender_palette
(&self, cx: &mut Context<Self>)
src/app.rs:6238
↓ 1 callersMethodrender_remove_confirm
(&self, cx: &mut Context<Self>)
src/app.rs:8114
↓ 1 callersMethodrender_search
(&self)
src/app.rs:7731
↓ 1 callersMethodrender_settings
(&self, cx: &mut Context<Self>)
src/app.rs:6935
↓ 1 callersMethodrender_setup
(&self, cx: &mut Context<Self>)
src/app.rs:6444
↓ 1 callersMethodrender_sidebar
(&self, cx: &mut Context<Self>)
src/app.rs:4655
↓ 1 callersMethodrender_sparkline
( &self, data: &[u64], color: Rgba, width: f32, height: f32, )
src/app.rs:5118
↓ 1 callersMethodrender_starfield
(&self, _cx: &Context<Self>)
src/app.rs:4369
↓ 1 callersMethodrender_stats
(&self)
src/app.rs:7401
↓ 1 callersMethodrender_top_bar
(&self, cx: &mut Context<Self>)
src/app.rs:8253
↓ 1 callersMethodresolve_machine_target
(&self, target_name: &str)
src/app.rs:1193
↓ 1 callersMethodrestart_agent
(&mut self, _: &RestartAgent, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:4215
↓ 1 callersFunctionrun_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 callersFunctionrun_teardown_script
Run .osq/teardown.sh if it exists in the repo root.
src/worktree.rs:196
↓ 1 callersMethodsave_recent_project
(&mut self, path: &str, machine: &str)
src/app.rs:1550
↓ 1 callersMethodselect_next
Navigate selection down.
src/changes.rs:251
↓ 1 callersMethodselect_prev
Navigate selection up.
src/changes.rs:243
↓ 1 callersMethodselected_id
Returns the selected item's id, if any.
src/app.rs:762
↓ 1 callersMethodselected_mcp_defs
(&self)
src/app.rs:1776
↓ 1 callersMethodset_default_view_mode
(&mut self, mode: ViewMode)
src/app.rs:2525
↓ 1 callersMethodsettings_activate_current_item
(&mut self)
src/app.rs:2625
↓ 1 callersMethodsetup_prev
(&mut self, _: &SetupPrev, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:3537
↓ 1 callersMethodshow_stats
(&mut self, _: &ShowStats, _w: &mut Window, cx: &mut Context<Self>)
src/app.rs:4289
↓ 1 callersMethodspawn_completion_particles
(&mut self, x: f32, y: f32, color: Rgba)
src/app.rs:4294
↓ 1 callersMethodstage_file
Stage a file. Runs `git add {path}`.
src/changes.rs:192
↓ 1 callersMethodstart_change_agent
(&mut self, _cx: &mut Context<Self>)
src/app.rs:2774
↓ 1 callersFunctionstream_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 callersMethodunstage_file
Unstage a file. Runs `git restore --staged {path}`.
src/changes.rs:201
↓ 1 callersMethodupdate_particles
(&mut self)
src/app.rs:4323
↓ 1 callersFunctionworktrees_base_dir
Return the base directory for all worktrees: ~/.osq/worktrees/
src/worktree.rs:81
Functionapprove_clears_pending
()
tests/state_tests.rs:414
Functionbinary_builds
()
tests/state_tests.rs:6
Functionbuild_persistent_runtime_args_empty_model_flag
()
tests/state_tests.rs:724
Functionbuild_persistent_runtime_args_no_base_args
()
tests/state_tests.rs:711
← previousnext →101–200 of 390, ranked by callers