MCPcopy Create free account

hub / github.com/Sompote/TigrimOSR / functions

Functions1,149 in github.com/Sompote/TigrimOSR

↓ 6 callersFunctionsanitize_slug
(name: &str)
src/server/services/skill_synthesizer.rs:190
↓ 6 callersFunctionstart_realtime_session
( session_id: &str, config_file: &str, api_key: &str, api_url: &str, model: &str, sand
src/server/services/toolbox.rs:700
↓ 6 callersMethodsubscribe
(&self)
src/server/services/protocols.rs:293
↓ 5 callersFunctionactivity_log_dir
()
src/server/routes/chat.rs:33
↓ 5 callersMethodapply_fonts
Build the egui font definitions for this theme and apply them to `ctx`. Proportional (UI) family priority: 1. custom font file (if `custom_font_path`
src/ui/theme.rs:440
↓ 5 callersFunctionborder_color
Border / hairline color.
src/ui/theme.rs:95
↓ 5 callersFunctionchart_color
(idx: usize)
src/ui/output_panel.rs:102
↓ 5 callersFunctioncli_env_path
Unified LLM call supporting both Anthropic and OpenAI formats Find the `codex` CLI binary. Build a PATH string that includes common node/bun/homebrew
src/server/services/toolbox.rs:6697
↓ 5 callersFunctioncompress_tool_result
Compress a tool result intelligently based on tool type.
src/server/services/compact.rs:528
↓ 5 callersFunctionconnect_server_impl
(name: &str, transport: &str, config: &Value)
src/server/services/mcp.rs:504
↓ 5 callersMethodeat
(&mut self, c: char)
src/ui/math_render.rs:122
↓ 5 callersFunctionencode
(input: &str)
src/server/services/toolbox.rs:6296
↓ 5 callersMethodfetch_files
Fetch remote files
src/ui/remote_view.rs:423
↓ 5 callersFunctionfinish_status
(summary: &str)
src/server/services/skill_synthesizer.rs:1959
↓ 5 callersFunctionget_plugins
()
src/server/services/plugin.rs:108
↓ 5 callersFunctionis_masked
Returns true if the value is a masked placeholder (contains "...").
src/server/routes/settings.rs:30
↓ 5 callersFunctionload_agent_settings
Load agent loop settings from settings.json (cached per call)
src/server/services/toolbox.rs:6333
↓ 5 callersMethodload_linked_sessions
(&mut self, runtime: &tokio::runtime::Handle, project_id: &str)
src/ui/projects_view.rs:243
↓ 5 callersMethodload_store
(&self)
src/security/sandbox.rs:92
↓ 5 callersFunctionmk_colors
( surface: &str, canvas: &str, card: &str, hover: &str, border: &str, text_primary: &str, text_seconda
src/ui/theme.rs:326
↓ 5 callersFunctionparse_judge_verdict
Extract the verdict JSON from a judge reply. Shared by the text-only and tool-using judges. Returns None (fail open) when no JSON can be parsed.
src/server/services/toolbox.rs:9339
↓ 5 callersFunctionqueue_key
(from: &str, to: &str, topic: Option<&str>)
src/server/services/protocols.rs:455
↓ 5 callersFunctionrealtime_tools
(agent_list: &str)
src/server/services/toolbox.rs:2989
↓ 5 callersFunctionremote_bg_fetch
Trigger a background fetch for a cache key without blocking. Spawns a tokio task to fetch and populate the cache.
src/server/data.rs:133
↓ 5 callersFunctionremote_put_json
(rb: &RemoteBackend, path: &str, body: &T)
src/server/data.rs:206
↓ 5 callersMethodselected_instance
(&self)
src/ui/remote_view.rs:180
↓ 5 callersFunctionskills_dir
()
src/server/services/skill_synthesizer.rs:183
↓ 5 callersFunctionslugify
Sanitize a name to a filesystem-safe slug.
src/server/routes/skills.rs:105
↓ 5 callersFunctionslugify
(name: &str)
src/server/services/plugin.rs:860
↓ 5 callersFunctiontrim_conversation_context
Trim conversation messages to fit within a character budget. Keeps system messages from the start + most recent messages. Tool-pair aware: groups assi
src/server/services/compact.rs:401
↓ 5 callersFunctionupdate_settings_after_run
`cursor: None` leaves the cursor untouched — used on LLM/parse failures so the affected sessions are retried on the next run instead of being skipped
src/server/services/skill_synthesizer.rs:1933
↓ 5 callersFunctionvpn_state
()
src/server/services/vpn.rs:27
↓ 5 callersMethodws
(&mut self)
src/ui/math_render.rs:123
↓ 4 callersMethodaccent
(&self)
src/ui/theme.rs:410
↓ 4 callersFunctionagent_has_mesh
Check if an agent has mesh.enabled in its YAML definition.
src/server/services/toolbox.rs:862
↓ 4 callersFunctionagent_node_color
Color palette for agent nodes
src/ui/chat.rs:335
↓ 4 callersFunctionagents_dir
Directory where agent YAML configs are stored.
src/server/routes/agents.rs:20
↓ 4 callersFunctionbuild_enabled_skills_block_pub
Public wrapper for chat.rs to inject skills into the main agent prompt. When `project_skills` is Some, only skills whose id/name matches the list are
src/server/services/toolbox.rs:1012
↓ 4 callersFunctionbus_publish
(session_id: &str, from: &str, topic: &str, payload: Value)
src/server/services/protocols.rs:317
↓ 4 callersFunctioncancel_flags
()
src/server/routes/chat.rs:25
↓ 4 callersMethodcard
(&self)
src/ui/theme.rs:405
↓ 4 callersFunctionchat_font_size
Current chat message base font size (in points). Read by the chat renderer.
src/ui/theme.rs:22
↓ 4 callersFunctionchat_log_dir
()
src/server/routes/chat.rs:37
↓ 4 callersFunctioncompress_older_messages
Full Compact Algorithm — structured 9-step compaction pipeline. Replaces older messages with a structured LLM-generated summary, restores critical co
src/server/services/compact.rs:1027
↓ 4 callersFunctiondelete_file_or_dir
(sandbox_dir: &str, file_path: &str)
src/server/data.rs:1067
↓ 4 callersFunctiondraw_bracket
(p: &egui::Painter, ch: char, x: f32, top: f32, bot: f32, s: egui::Stroke, _left: bool)
src/ui/math_render.rs:692
↓ 4 callersFunctionexecute_tool_dispatch
( tool_name: &str, tool_args: &Value, sandbox_dir: &str, sub_agent: &SubAgentConfig, on_up
src/server/services/toolbox.rs:9219
↓ 4 callersFunctionextract_caller_token
Extract the authenticated token from request headers (Bearer) or query string. Returns an empty string when no token is present (local-only / no-auth
src/server/routes/remote.rs:84
↓ 4 callersMethodfetch_tasks
Fetch remote tasks
src/ui/remote_view.rs:305
↓ 4 callersFunctionfind_tailscale
Find the tailscale CLI binary.
src/server/services/vpn.rs:32
↓ 4 callersFunctionforce_final_response
( client: &Client, api_key: &str, api_url: &str, model: &str, all_messages: &[Value],
src/server/services/toolbox.rs:9840
↓ 4 callersFunctionget_all_remote_tasks
Public: get all remote tasks as JSON values (for native UI)
src/server/routes/remote.rs:600
↓ 4 callersFunctionget_synth_status
()
src/server/services/skill_synthesizer.rs:157
↓ 4 callersFunctionget_vpn_state
Get current VPN status as JSON.
src/server/services/vpn.rs:101
↓ 4 callersFunctioninterrupted_reason
Distinguish a user-cancelled run from a genuine timeout for an `Err(())` returned by `run_guarded`.
src/server/services/toolbox.rs:102
↓ 4 callersFunctionlist_plugins
()
src/server/services/plugin.rs:422
↓ 4 callersMethodload_graphic_data
(&mut self, session_id: &str)
src/ui/chat.rs:4396
↓ 4 callersMethodload_instances
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/remote_view.rs:295
↓ 4 callersFunctionmodel_requires_default_temperature
Models that only accept the default temperature of 1 and 400 on anything else (Kimi K2 "thinking" and similar reasoning models). For these we must pin
src/server/services/toolbox.rs:7649
↓ 4 callersMethodnavigate_to
(&mut self, path: &str)
src/ui/files_view.rs:592
↓ 4 callersFunctionnow_iso
()
src/server/routes/remote.rs:74
↓ 4 callersMethodremote_post
HTTP POST helper
src/ui/remote_view.rs:232
↓ 4 callersMethodrequest
Send a JSON-RPC request and read until the response with the matching id arrives (skipping interleaved notifications), bounded by `timeout_secs`.
src/server/services/mcp.rs:60
↓ 4 callersFunctionresolve_sandbox_dir
Resolve the sandbox directory from settings or environment.
src/server/routes/projects.rs:23
↓ 4 callersFunctionscan_output_files
Scan a directory (and output_file subdirectory) for recently created output files.
src/server/services/toolbox.rs:3798
↓ 4 callersMethodshow
(&mut self, ui: &mut egui::Ui, rt: &tokio::runtime::Handle)
src/ui/agents_view.rs:145
↓ 4 callersFunctiontcp_channel_key
(a: &str, b: &str)
src/server/services/protocols.rs:53
↓ 4 callersFunctiontool_definitions
()
src/server/services/toolbox.rs:2443
↓ 4 callersFunctiontruncate_str
(s: &str, max_len: usize)
src/ui/chat.rs:5949
↓ 4 callersFunctiontunnel_state
()
src/server/services/tunnel.rs:17
↓ 4 callersFunctionwrite_skill_file
(name: &str, content: &str, proposed: bool)
src/server/services/skill_synthesizer.rs:237
↓ 3 callersFunctionadd_progress_inner
(entry: &mut RemoteTaskEntry, msg: &str)
src/server/routes/remote.rs:284
↓ 3 callersFunctionagent_browser_key
(session_id: &str, agent_id: &str)
src/server/services/mcp.rs:377
↓ 3 callersFunctionall_non_human_ids
Get all non-human agent IDs from the system config.
src/server/services/toolbox.rs:829
↓ 3 callersFunctionappend_agent_history
(session_id: &str, filename: &str, line: &str)
src/server/services/protocols.rs:1059
↓ 3 callersFunctionblackboard_get_tasks
( session_id: &str, status: Option<&str>, )
src/server/services/protocols.rs:949
↓ 3 callersFunctionboot_realtime_session_deferred
Boot all agents in the YAML config as persistent tokio tasks. Returns immediately; agents wait for tasks on their mpsc channels. Fire-and-forget helpe
src/server/services/toolbox.rs:659
↓ 3 callersFunctionbuild_enabled_skills_block
Build the `=== INSTALLED SKILLS ===` block that is injected into sub-agent and realtime-agent prompts so they can discover available skills without ha
src/server/services/toolbox.rs:892
↓ 3 callersFunctionbuild_image_content
Scan a user message for sandbox image-file references and, if any resolve to readable images, return an OpenAI multimodal content array (the original
src/server/services/toolbox.rs:6480
↓ 3 callersMethodcheck_connection
Ping the remote server
src/ui/remote_view.rs:266
↓ 3 callersFunctioncheck_dangerous
Check if code/command contains dangerous patterns
src/server/services/toolbox.rs:3759
↓ 3 callersFunctioncreate_architecture_tool
()
src/server/services/toolbox.rs:3036
↓ 3 callersFunctionct_eq
Constant-time string comparison — token checks must not leak length or prefix-match timing to a remote attacker.
src/server/mod.rs:66
↓ 3 callersFunctiondefault_profile_from_settings
Build the profile that mirrors CURRENT loop behavior: everything enabled, knobs taken from live settings.json values (same keys/defaults as the toolbo
src/server/services/agent_loop.rs:233
↓ 3 callersMethoddownload_file
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/files_view.rs:515
↓ 3 callersFunctionensure_default_profile
Seed data_dir()/agent_loops/default.yaml if missing. Never overwrites an existing file. Returns true if the file exists after the call.
src/server/services/agent_loop.rs:290
↓ 3 callersFunctionensure_full_path
Ensure PATH includes common tool locations (for .app bundles / Windows shortcuts).
src/server/services/toolbox.rs:198
↓ 3 callersFunctionexec_run_shell
(args: &Value, sandbox_dir: &str)
src/server/services/toolbox.rs:4042
↓ 3 callersFunctionexec_send_task_from
send_task with caller ID for access control
src/server/services/toolbox.rs:1739
↓ 3 callersFunctionexecute_tool_with_context
( name: &str, args: &Value, sandbox_dir: &str, session_id: &str, agent_id: &str, )
src/server/services/toolbox.rs:6231
↓ 3 callersMethodfetch_chat_sessions
Fetch remote chat sessions
src/ui/remote_view.rs:458
↓ 3 callersFunctionfind_clawhub_bin
Find the clawhub CLI binary — checks node_modules first, then PATH
src/server/services/clawhub.rs:6
↓ 3 callersFunctionfind_skill_file
Try to find a skill's SKILL.md file on disk.
src/server/routes/skills.rs:118
↓ 3 callersFunctionfinished_chats
()
src/ui/tasks_view.rs:72
↓ 3 callersMethodgenerate_yaml
(&self)
src/ui/agents_view.rs:1342
↓ 3 callersFunctionget_connection_status
Get connection status for all servers (for UI display)
src/server/services/mcp.rs:726
↓ 3 callersMethodget_log
(&self)
src/ui/chat.rs:110
↓ 3 callersFunctionget_session_architecture
Check if this session already has an auto-created architecture.
src/server/services/toolbox.rs:696
↓ 3 callersMethodget_tool_calls
(&self)
src/ui/chat.rs:102
↓ 3 callersFunctionhover_color
Hover / rail color (sidebar background).
src/ui/theme.rs:93
← previousnext →101–200 of 1,149, ranked by callers