Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sompote/TigrimOSR
/ functions
Functions
1,149 in github.com/Sompote/TigrimOSR
⨍
Functions
1,149
◇
Types & classes
185
↓ 1 callers
Function
normalize_anthropic_response
Convert Anthropic response format to OpenAI format for unified processing
src/server/services/toolbox.rs:7795
↓ 1 callers
Method
notify
Send a fire-and-forget JSON-RPC notification (no id, no response).
src/server/services/mcp.rs:108
↓ 1 callers
Function
openai_content_to_anthropic
Convert OpenAI-style message content (string or multimodal array) into the Anthropic content shape. image_url data-URIs become base64 image blocks.
src/server/services/toolbox.rs:6580
↓ 1 callers
Function
origin_allowed
Browser cross-origin guard (anti drive-by / DNS-rebinding). Requests with an Origin header must originate either from loopback (the local web UI / des
src/server/mod.rs:101
↓ 1 callers
Function
parse_inline_segments
(text: &str, segments: &mut Vec<MdSegment>)
src/ui/chat.rs:227
↓ 1 callers
Function
parse_latex
(input: &str)
src/ui/math_render.rs:358
↓ 1 callers
Function
parse_table_row
Parse a markdown table line into cells
src/ui/chat.rs:5822
↓ 1 callers
Method
parse_yaml_to_graph
(&mut self)
src/ui/agents_view.rs:1400
↓ 1 callers
Method
pick_files
(&mut self)
src/ui/chat.rs:2450
↓ 1 callers
Function
plugins_dir
()
src/server/services/plugin.rs:120
↓ 1 callers
Function
point_to_segment_distance
Distance from point `p` to line segment `a`-`b`.
src/ui/agents_view.rs:131
↓ 1 callers
Method
poll_streaming
Check streaming state and finalize when done — supports parallel streams.
src/ui/chat.rs:2231
↓ 1 callers
Function
port
()
src/server/routes/vpn.rs:22
↓ 1 callers
Function
preset_colors
Color palette for a named preset, or `None` if the name is unknown.
src/ui/theme.rs:341
↓ 1 callers
Function
preset_names
Names of the built-in preset themes the user can pick from.
src/ui/theme.rs:321
↓ 1 callers
Function
process_remote_task
( task_id: String, session_id: String, task: String, config_file: Option<String>, mode: St
src/server/routes/remote.rs:336
↓ 1 callers
Function
project_file_rel_path
Compute the sandbox-relative path for a file inside a resolved project folder.
src/server/routes/projects.rs:79
↓ 1 callers
Method
publish
(&mut self, msg: ProtocolMessage)
src/server/services/protocols.rs:257
↓ 1 callers
Function
push_killed_chat_id
(id: &str)
src/ui/tasks_view.rs:46
↓ 1 callers
Function
queue_dequeue
( from: &str, to: &str, topic: Option<&str>, )
src/server/services/protocols.rs:498
↓ 1 callers
Function
queue_enqueue
( from: &str, to: &str, topic: &str, payload: Value, session_id: Option<&str>, )
src/server/services/protocols.rs:471
↓ 1 callers
Function
queue_peek
( from: &str, to: &str, topic: Option<&str>, count: usize, )
src/server/services/protocols.rs:508
↓ 1 callers
Function
rand_jitter
(max_ms: u64)
src/server/services/toolbox.rs:9830
↓ 1 callers
Function
read_chat_log_tail
(session_id: &str)
src/server/services/skill_synthesizer.rs:271
↓ 1 callers
Function
read_file_bytes
Read raw bytes from the sandbox — remote-aware (downloads from the connected server).
src/server/data.rs:1047
↓ 1 callers
Function
read_skill
Read a skill's SKILL.md content
src/server/services/clawhub.rs:151
↓ 1 callers
Function
realtime_agent_loop
The LLM loop for a realtime agent — waits for tasks, runs tools, publishes results.
src/server/services/toolbox.rs:1215
↓ 1 callers
Function
recover_tool_args
(tool_name: &str, raw_args: &str)
src/server/services/toolbox.rs:7893
↓ 1 callers
Method
refresh
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/files_view.rs:204
↓ 1 callers
Method
refresh_file_browser
(&mut self, runtime: &tokio::runtime::Handle, working_folder: &str)
src/ui/projects_view.rs:257
↓ 1 callers
Method
refresh_loop_profiles
(&mut self)
src/ui/settings.rs:4303
↓ 1 callers
Function
register
Record a process-group leader PID as belonging to `session_id`.
src/server/services/proc_registry.rs:28
↓ 1 callers
Function
remote_cache_clear
()
src/server/data.rs:83
↓ 1 callers
Function
remote_create_chat_session
Create a single chat session on the remote server. Returns the created session.
src/server/data.rs:320
↓ 1 callers
Function
remote_delete
(rb: &RemoteBackend, path: &str)
src/server/data.rs:224
↓ 1 callers
Function
remote_get_result
(rb: &RemoteBackend, path: &str)
src/server/data.rs:232
↓ 1 callers
Function
remote_post_json
(rb: &RemoteBackend, path: &str, body: &T)
src/server/data.rs:215
↓ 1 callers
Method
remove_shared_folder
Remove a shared folder by UUID.
src/vm/manager.rs:1102
↓ 1 callers
Method
rename_dialog
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/chat.rs:4312
↓ 1 callers
Method
rename_session
( &mut self, runtime: &tokio::runtime::Handle, session_id: &str, new_title: &s
src/ui/chat.rs:621
↓ 1 callers
Method
render_csv_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32)
src/ui/output_panel.rs:1487
↓ 1 callers
Method
render_excel_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32)
src/ui/output_panel.rs:1903
↓ 1 callers
Method
render_graphic_monitor
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/chat.rs:4943
↓ 1 callers
Method
render_image_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32)
src/ui/output_panel.rs:461
↓ 1 callers
Method
render_main_area
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/files_view.rs:1347
↓ 1 callers
Function
render_markdown_table
Render a markdown table as a formatted grid
src/ui/chat.rs:5842
↓ 1 callers
Method
render_message
( &self, ui: &mut egui::Ui, msg: &ChatMessage, index: usize, )
src/ui/chat.rs:3979
↓ 1 callers
Method
render_pdf_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32)
src/ui/output_panel.rs:1680
↓ 1 callers
Method
render_plugin_detail
( &mut self, ui: &mut egui::Ui, plugin: &crate::server::services::plugin::InstalledPlu
src/ui/settings.rs:3631
↓ 1 callers
Method
render_react_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32)
src/ui/output_panel.rs:550
↓ 1 callers
Method
render_sidebar
(&mut self, ui: &mut egui::Ui)
src/ui/files_view.rs:880
↓ 1 callers
Method
render_streaming_message
(&self, ui: &mut egui::Ui, text: &str, tool_calls: &[ToolCallDisplay])
src/ui/chat.rs:4219
↓ 1 callers
Method
render_viewer_window
( &mut self, ctx: &egui::Context, runtime: &tokio::runtime::Handle, )
src/ui/files_view.rs:1103
↓ 1 callers
Function
request_tool_approval
Called by the tool dispatch to request approval. Returns true if approved.
src/server/services/toolbox.rs:348
↓ 1 callers
Function
resolve_sandbox_dir
Resolve the sandbox directory to use as the working directory for Python.
src/server/routes/python.rs:31
↓ 1 callers
Method
resolve_upload_dir
Determine the upload directory: project working folder (with uploads/ sub-dir) when a project is selected and has a working folder configured, otherwi
src/ui/chat.rs:2476
↓ 1 callers
Function
respond_tool_approval
Called by the UI to approve or deny a pending tool execution.
src/server/services/toolbox.rs:386
↓ 1 callers
Method
run_auto_architecture
(&mut self, rt: &tokio::runtime::Handle)
src/ui/agents_view.rs:1455
↓ 1 callers
Function
run_output_nudge
( client: &Client, api_key: &str, api_url: &str, model: &str, all_messages: &mut Vec<Value
src/server/services/toolbox.rs:9756
↓ 1 callers
Function
run_python_sandboxed
Public entry for HTTP routes: run Python through the full sandboxed tier chain (dangerous-pattern check, container/sandbox-exec, 60s timeout).
src/server/services/toolbox.rs:3832
↓ 1 callers
Function
run_remediations
( candidates: &[SessionSummary], api_key: &str, api_url: &str, model: &str, )
src/server/services/skill_synthesizer.rs:1381
↓ 1 callers
Function
run_synthesis
()
src/server/services/skill_synthesizer.rs:1611
↓ 1 callers
Function
run_synthesis_core
(force: bool)
src/server/services/skill_synthesizer.rs:1635
↓ 1 callers
Function
run_task_now
Execute a task immediately (manual trigger from UI/API/chat). Returns the captured stdout on success.
src/server/services/scheduler.rs:155
↓ 1 callers
Function
safe_get_year
Safely extract year from nested dict structures, handling None/missing fields.
assets/skills/literature-review/scripts/lit_search.py:37
↓ 1 callers
Method
save
Persist the theme to `theme.yaml`. Returns an error string on failure.
src/ui/theme.rs:397
↓ 1 callers
Function
save_connector_config
(plugin_id: &str, service: &str, config: Value)
src/server/services/plugin.rs:456
↓ 1 callers
Method
save_current_system
(&mut self, rt: &tokio::runtime::Handle)
src/ui/agents_view.rs:1406
↓ 1 callers
Method
save_file_content
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/files_view.rs:333
↓ 1 callers
Method
save_memory
(&mut self, runtime: &tokio::runtime::Handle, project_id: &str)
src/ui/projects_view.rs:188
↓ 1 callers
Function
save_tunnel_to_settings
(url: &str)
src/server/services/tunnel.rs:255
↓ 1 callers
Function
save_vpn_running
(running: bool)
src/server/services/vpn.rs:326
↓ 1 callers
Function
save_vpn_to_settings
(url: &str)
src/server/services/vpn.rs:310
↓ 1 callers
Method
scripts
(&mut self, base: MathNode)
src/ui/math_render.rs:164
↓ 1 callers
Function
search_cr
(query, limit=10)
assets/skills/literature-review/scripts/lit_search.py:139
↓ 1 callers
Method
search_images
Search for images. Args: query: Search query max_results: Maximum number of results size: Image
assets/skills/web-search/scripts/search.py:110
↓ 1 callers
Method
search_news
Search for news articles. Args: query: Search query max_results: Maximum number of results time_
assets/skills/web-search/scripts/search.py:79
↓ 1 callers
Function
search_oa
(query, limit=10)
assets/skills/literature-review/scripts/lit_search.py:92
↓ 1 callers
Function
search_pm
Search PubMed using esearch + efetch for full abstracts and DOIs.
assets/skills/literature-review/scripts/lit_search.py:167
↓ 1 callers
Function
search_s2
(query, limit=10)
assets/skills/literature-review/scripts/lit_search.py:62
↓ 1 callers
Method
search_text
Perform a text/web search. Args: query: Search query max_results: Maximum number of results (default: 10)
assets/skills/web-search/scripts/search.py:48
↓ 1 callers
Method
search_videos
Search for videos. Args: query: Search query max_results: Maximum number of results duration: Vi
assets/skills/web-search/scripts/search.py:151
↓ 1 callers
Method
section_agent_loop
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:4551
↓ 1 callers
Method
section_ai
( &mut self, ui: &mut egui::Ui, ctx: &egui::Context, runtime: &tokio::runtime:
src/ui/settings.rs:1176
↓ 1 callers
Method
section_file_mounts
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2728
↓ 1 callers
Method
section_file_tokens
( &mut self, ui: &mut egui::Ui, _ctx: &egui::Context, runtime: &tokio::runtime
src/ui/settings.rs:2599
↓ 1 callers
Method
section_general
(&mut self, ui: &mut egui::Ui, vm_manager: &Arc<VmManager>, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:1024
↓ 1 callers
Method
section_mcp_tools
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2085
↓ 1 callers
Method
section_mcp_tools_form
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2238
↓ 1 callers
Method
section_mcp_tools_json
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2126
↓ 1 callers
Method
section_plugins
( &mut self, ui: &mut egui::Ui, ctx: &egui::Context, runtime: &tokio::runtime:
src/ui/settings.rs:3388
↓ 1 callers
Method
section_remote
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2399
↓ 1 callers
Method
section_security
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:3192
↓ 1 callers
Method
section_skill_update
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:2864
↓ 1 callers
Method
section_sub_agent
(&mut self, ui: &mut egui::Ui, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:1740
↓ 1 callers
Method
section_theme
(&mut self, ui: &mut egui::Ui, ctx: &egui::Context)
src/ui/settings.rs:3901
↓ 1 callers
Method
security_step
(&mut self, ui: &mut egui::Ui)
src/ui/setup.rs:122
↓ 1 callers
Method
select_session_from_sidebar
(&mut self, session_id: String)
src/ui/chat.rs:2551
↓ 1 callers
Function
select_swarm_tool
()
src/server/services/toolbox.rs:3059
↓ 1 callers
Method
session_summaries
(&self)
src/ui/chat.rs:2543
← previous
next →
601–700 of 1,149, ranked by callers