MCPcopy Create free account

hub / github.com/Sompote/TigrimOSR / functions

Functions1,149 in github.com/Sompote/TigrimOSR

↓ 3 callersFunctioninit_mcp_servers
Initialize MCP servers from settings (reads `mcpTools` array from settings.json)
src/server/services/mcp.rs:207
↓ 3 callersFunctionis_error_reply
(content: &str)
src/server/services/skill_synthesizer.rs:252
↓ 3 callersFunctionis_server_connected
True if an MCP server with this name is currently connected. Used by web_search to decide whether it can route through the live browser.
src/server/services/mcp.rs:766
↓ 3 callersFunctionis_text_like
(ft: &FileType)
src/ui/files_view.rs:37
↓ 3 callersFunctionis_valid_vm_ip
(ip: &str)
src/vm/manager.rs:1213
↓ 3 callersFunctionkill_group
(pid: u32)
src/server/services/proc_registry.rs:72
↓ 3 callersFunctionlist_files
(sandbox_dir: &str, sub_path: &str)
src/server/data.rs:924
↓ 3 callersMethodload_from_value
(&mut self, val: &Value)
src/ui/agents_view.rs:1213
↓ 3 callersMethodnotify_handle
(&self)
src/server/services/protocols.rs:297
↓ 3 callersFunctionnotify_task_updated
(task_id: &str)
src/server/routes/remote.rs:70
↓ 3 callersFunctionnow_ms
()
src/server/services/compact.rs:105
↓ 3 callersFunctionparse_subagent_workflow
Parse the chat-log into per-agent traces. Sees AGENT_SPAWN/DONE, AGENT_WORKING/COMPLETE, and tool calls. Parse the chat-log into per-agent traces. Ha
src/server/services/skill_synthesizer.rs:323
↓ 3 callersMethodpopulate_loop_form
(&mut self, p: &crate::server::services::agent_loop::AgentLoopProfile)
src/ui/settings.rs:4360
↓ 3 callersMethodpropose
Propose a new task. Returns (task, skipped).
src/server/services/protocols.rs:610
↓ 3 callersFunctionpython_command
Build a Command for Python execution.
src/server/services/toolbox.rs:276
↓ 3 callersFunctionread_auto_skill_content
(name: &str)
src/server/services/skill_synthesizer.rs:202
↓ 3 callersFunctionread_file_content
(sandbox_dir: &str, file_path: &str)
src/server/data.rs:978
↓ 3 callersFunctionrefresh_state
Detect Tailscale and refresh cached state. Returns the status JSON.
src/server/services/vpn.rs:118
↓ 3 callersFunctionregistry
()
src/server/services/proc_registry.rs:23
↓ 3 callersFunctionrender_markdown_content
(ui: &mut egui::Ui, content: &str, default_color: egui::Color32)
src/ui/chat.rs:5585
↓ 3 callersFunctionrender_math_equation
Render a LaTeX math equation in the UI.
src/ui/math_render.rs:777
↓ 3 callersMethodrender_text_card
(&mut self, ui: &mut egui::Ui, rel_path: &str, border: egui::Color32, is_markdown: bool)
src/ui/output_panel.rs:1307
↓ 3 callersMethodreset_vm
Stop the VM and delete all artefacts so next start re-provisions.
src/vm/manager.rs:389
↓ 3 callersFunctionresolve_active_profile
Resolve the active profile: project override wins over the global setting. Empty/missing names and unreadable files resolve to None (built-in behavior
src/server/services/agent_loop.rs:325
↓ 3 callersFunctionresolve_skill_dir
(skill_name: &str, registry_entry: Option<&Value>)
src/server/services/toolbox.rs:4485
↓ 3 callersFunctionsave_plugins
(plugins: &[InstalledPlugin])
src/server/services/plugin.rs:112
↓ 3 callersMethodsave_shared_folder_config
Persist shared folder list to JSON.
src/vm/manager.rs:1126
↓ 3 callersFunctionset_result
(task_id: &str, result: &str)
src/server/routes/remote.rs:319
↓ 3 callersFunctionset_status
(task_id: &str, status: &str)
src/server/routes/remote.rs:307
↓ 3 callersMethodstart_vm
Full VM start lifecycle: 1. Ensure directories 2. Ensure qemu-img is available 3. Download & convert Ubuntu cloud image (if needed) 4. Create cloud-in
src/vm/manager.rs:266
↓ 3 callersMethodstop_vm
Kill the QEMU child process and reset observable state.
src/vm/manager.rs:349
↓ 3 callersFunctionstrip_reasoning
(text: &str)
src/server/services/skill_synthesizer.rs:783
↓ 3 callersFunctionsubagent_log_tx
()
src/server/services/toolbox.rs:569
↓ 3 callersFunctionsubscribe_subagent_log
Subscribe to subagent activity log for a given session.
src/server/services/toolbox.rs:577
↓ 3 callersFunctionsubstitute_dirname
Replace ${__dirname} and ${HOME} template variables in MCP config values.
src/server/services/plugin.rs:979
↓ 3 callersFunctionsurface_color
Surface color (main window / panel background).
src/ui/theme.rs:87
↓ 3 callersFunctiontailscale_status
Query `tailscale status --json` and extract the tailnet IP + MagicDNS name. Returns (running, ip, hostname).
src/server/services/vpn.rs:59
↓ 3 callersMethodtext_primary
(&self)
src/ui/theme.rs:408
↓ 3 callersFunctiontext_secondary_color
Secondary / muted text color.
src/ui/theme.rs:99
↓ 3 callersFunctiontoken_owns_task
Check whether a caller token is allowed to access a task. - Empty owner or empty caller ⇒ local-only mode, always allowed. - Otherwise tokens must mat
src/server/routes/remote.rs:97
↓ 3 callersFunctiontool_catalog
(name, description) of every base tool — for agent-loop profile editors.
src/server/services/toolbox.rs:2430
↓ 3 callersFunctiontool_definitions_for_mode
Build tool list dynamically based on mode and whether a session has been activated.
src/server/services/toolbox.rs:3100
↓ 3 callersFunctiontrack_file_read
Track a file read for post-compact context restoration.
src/server/services/compact.rs:133
↓ 3 callersFunctionworkdir
()
src/server/services/clawhub.rs:25
↓ 2 callersFunctionaccent_color
Accent color.
src/ui/theme.rs:101
↓ 2 callersFunctionadd_proposal_to_status
(proposal: &Proposal, model: &str, existing_content: Option<&str>)
src/server/services/skill_synthesizer.rs:1913
↓ 2 callersFunctionallow_unsandboxed_exec
()
src/server/services/toolbox.rs:3732
↓ 2 callersMethodalpha
(&mut self)
src/ui/math_render.rs:125
↓ 2 callersFunctionapprove_proposal
(proposal_id: &str)
src/server/services/skill_synthesizer.rs:1100
↓ 2 callersFunctionassistant_label
The assistant's display name shown on AI message bubbles, read from the `name:` field of IDENTITY.md (e.g. "Dr. Athena"). Falls back to "AI" when no i
src/ui/chat.rs:5559
↓ 2 callersMethodatom
(&mut self)
src/ui/math_render.rs:141
↓ 2 callersMethodattach_paths
Process and attach files from given paths (used by both file picker and drag-and-drop)
src/ui/chat.rs:2489
↓ 2 callersFunctionauth_rate_limited
()
src/server/mod.rs:81
↓ 2 callersFunctionauto_created_architectures
()
src/server/services/toolbox.rs:560
↓ 2 callersFunctionauto_swarm_selections
()
src/server/services/toolbox.rs:552
↓ 2 callersMethodaward
Award a task to the best bidder (or a specified agent).
src/server/services/protocols.rs:733
↓ 2 callersFunctionblackboard_get_task
( session_id: &str, task_id: &str, )
src/server/services/protocols.rs:941
↓ 2 callersMethodborder
(&self)
src/ui/theme.rs:407
↓ 2 callersMethodbraced
(&mut self)
src/ui/math_render.rs:151
↓ 2 callersMethodcalculate_storage
Calculate storage used in sandbox
src/ui/files_view.rs:677
↓ 2 callersFunctioncall_llm
(api_key: &str, api_url: &str, model: &str, messages: Vec<Value>)
src/server/services/skill_synthesizer.rs:1232
↓ 2 callersFunctioncall_llm_simple
Simple LLM call — returns the assistant content string.
src/server/routes/agents.rs:465
↓ 2 callersFunctioncall_stdio_tool
(conn: &McpConnection, tool_name: &str, args: &Value)
src/server/services/mcp.rs:815
↓ 2 callersFunctioncall_with_tools_inner
( api_key: &str, api_url: &str, model: &str, messages: Vec<Value>, system_prompt: Option<S
src/server/services/toolbox.rs:8069
↓ 2 callersFunctioncall_with_tools_realtime
( api_key: &str, api_url: &str, model: &str, messages: Vec<Value>, system_prompt: Option<S
src/server/services/toolbox.rs:6360
↓ 2 callersMethodcancel
(&self)
src/ui/chat.rs:81
↓ 2 callersMethodcanvas
(&self)
src/ui/theme.rs:404
↓ 2 callersFunctionchat_ai_bubble
Fill color for the AI's chat bubble (theme card color).
src/ui/theme.rs:60
↓ 2 callersFunctionchat_ai_text
Text color for the AI's chat bubble (theme primary text).
src/ui/theme.rs:65
↓ 2 callersFunctionclassify_file
(name: &str)
src/ui/files_view.rs:18
↓ 2 callersMethodconsume_from_history
Return the first unconsumed message on this topic (FIFO), marking it consumed.
src/server/services/protocols.rs:276
↓ 2 callersFunctioncontent_to_text
Extract plain text from message content that may be a bare string or an OpenAI multimodal content array (text + image_url parts). Used wherever we nee
src/server/services/toolbox.rs:6423
↓ 2 callersMethodcreate_session
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/chat.rs:564
↓ 2 callersFunctioncron_find_task
( tasks: &'a mut [crate::server::data::ScheduledTask], id_or_name: &str, )
src/server/services/toolbox.rs:6085
↓ 2 callersFunctionct_eq_pub
Constant-time comparison, exposed for the auth verify route.
src/server/mod.rs:60
↓ 2 callersFunctiondelete_agent_history
(session_id: &str)
src/server/data.rs:902
↓ 2 callersMethoddelete_session
(&mut self, runtime: &tokio::runtime::Handle, session_id: &str)
src/ui/chat.rs:604
↓ 2 callersFunctiondetect_vm_ip
Parse `TIGRIMOS_IP=<ip>` from raw console text.
src/vm/manager.rs:1184
↓ 2 callersFunctiondisconnect_all
Disconnect all MCP servers
src/server/services/mcp.rs:719
↓ 2 callersFunctiondraw
(n: &MathNode, p: &egui::Painter, x: f32, bl: f32, sz: f32, col: Color32, ui: &Ui)
src/ui/math_render.rs:467
↓ 2 callersFunctioneffective_max_spawn_depth
Effective max sub-agent recursion depth: profile knob clamped to 1..=5, default 3.
src/server/services/toolbox.rs:454
↓ 2 callersFunctionembed_files_in_chat
True when output files should be embedded inline in chat instead of the panel.
src/ui/theme.rs:108
↓ 2 callersFunctionexec_create_architecture
( args: &Value, sub_agent: &SubAgentConfig, )
src/server/services/toolbox.rs:5513
↓ 2 callersFunctionexec_openrouter_web_search
(args: &Value)
src/server/services/toolbox.rs:5408
↓ 2 callersFunctionexec_remote_task
remote_task — delegate to another TigrimOS instance via HTTP
src/server/services/toolbox.rs:4877
↓ 2 callersFunctionexec_run_python
(args: &Value, sandbox_dir: &str)
src/server/services/toolbox.rs:3836
↓ 2 callersFunctionexec_wait_result_from
wait_result with caller identity — enables self-wait and circular-wait (deadlock) detection: agent A waiting on B while B waits on A would otherwise s
src/server/services/toolbox.rs:1952
↓ 2 callersMethodexpr
(&mut self)
src/ui/math_render.rs:133
↓ 2 callersFunctionextract_json
(text: &str)
src/server/services/skill_synthesizer.rs:858
↓ 2 callersFunctionextract_json_object
Extract a JSON object from possibly messy LLM output.
src/server/routes/agents.rs:526
↓ 2 callersFunctionfind_balanced_json
(text: &str)
src/server/services/skill_synthesizer.rs:807
↓ 2 callersFunctionfind_claude_cli
Find claude CLI. Returns (node_path, script_path) for direct node invocation.
src/server/services/toolbox.rs:6826
↓ 2 callersFunctionfind_cloudflared
Find the cloudflared binary
src/server/services/tunnel.rs:29
↓ 2 callersFunctionfind_codex_cli
Find codex CLI. Returns (node_path, script_path) for direct node invocation. Falls back to ("codex", "") if not found (uses shebang).
src/server/services/toolbox.rs:6807
↓ 2 callersFunctionfind_node
Find a node binary.
src/server/services/toolbox.rs:6740
↓ 2 callersFunctionfind_python
Find python binary — checks PATH first, then common platform-specific locations.
src/server/services/toolbox.rs:118
↓ 2 callersFunctionflat
(v: Vec<MathNode>)
src/ui/math_render.rs:350
↓ 2 callersFunctionfont
(sz: f32)
src/ui/math_render.rs:374
↓ 2 callersFunctionforce_create_architecture
Force create_architecture on first message in auto_create mode. Called proactively by the UI — does NOT wait for LLM to choose the tool. Returns (ok,
src/server/services/toolbox.rs:672
↓ 2 callersFunctionforward_proposal_action
Forward an approve/reject action to the connected remote server. Returns Some(result) when remote mode handled it, None for local mode.
src/server/services/skill_synthesizer.rs:1081
← previousnext →201–300 of 1,149, ranked by callers