MCPcopy Create free account

hub / github.com/Sompote/TigrimOSR / functions

Functions1,149 in github.com/Sompote/TigrimOSR

↓ 2 callersFunctionget_all_agent_statuses
Query live agent statuses from the active realtime session. Returns a map of agent_id -> status ("idle", "working").
src/server/services/toolbox.rs:642
↓ 2 callersMethodget_files
(&self)
src/ui/chat.rs:106
↓ 2 callersFunctionget_headers
()
assets/skills/literature-review/scripts/lit_search.py:34
↓ 2 callersFunctionget_or_spawn_proc
Get the live process for `name`, spawning a fresh one if absent (e.g. after a crash). Used by call_stdio_tool so a dead server transparently recovers.
src/server/services/mcp.rs:189
↓ 2 callersFunctionget_plugin_readme
(id: &str)
src/server/services/plugin.rs:430
↓ 2 callersFunctionget_s2_headers
()
assets/skills/literature-review/scripts/lit_search.py:23
↓ 2 callersMethodget_text
(&self)
src/ui/chat.rs:90
↓ 2 callersMethodhover
(&self)
src/ui/theme.rs:406
↓ 2 callersFunctioninflight
()
src/server/services/skill_synthesizer.rs:153
↓ 2 callersFunctioninstall_plugin
(zip_bytes: &[u8])
src/server/services/plugin.rs:135
↓ 2 callersFunctionis_context_overflow
Check if an error message indicates a context overflow.
src/server/services/compact.rs:1536
↓ 2 callersMethodis_done
(&self)
src/ui/chat.rs:94
↓ 2 callersFunctionis_image_file
True if the path looks like a raster/vector image we can render inline.
src/ui/chat.rs:5525
↓ 2 callersFunctionis_mcp_package
Check if a package.json looks like an MCP server
src/server/services/plugin.rs:822
↓ 2 callersFunctionis_protected_tool
Tools the profile filter must never remove while orchestration is active, so a user profile cannot brick swarm/router coordination.
src/server/services/toolbox.rs:466
↓ 2 callersFunctionis_vm_running
Check if the VM is running by probing the SSH port.
src/server/services/toolbox.rs:236
↓ 2 callersFunctionjudge_task_result
Score how well `answer` satisfies `objective`, with `evidence` (tool summary + files) as ground truth. Near-deterministic, small reply. Returns None w
src/server/services/toolbox.rs:9389
↓ 2 callersFunctionkill_session
SIGKILL every process group still tracked for `session_id`. Returns how many groups were signalled. Called when a chat task is killed so nothing the s
src/server/services/proc_registry.rs:52
↓ 2 callersMethodload_agent_file
(&mut self, filename: &str, rt: &tokio::runtime::Handle)
src/ui/agents_view.rs:1181
↓ 2 callersMethodload_memory
(&mut self, runtime: &tokio::runtime::Handle, project_id: &str)
src/ui/projects_view.rs:157
↓ 2 callersFunctionlog_agent_tool_call
Log agent tool call to the Activity panel (mirrors TS socket.ts onToolCall).
src/server/services/toolbox.rs:600
↓ 2 callersMethodlog_audit
Append an audit record. If the log exceeds `MAX_AUDIT_ENTRIES` the oldest entries are trimmed so that only the most recent 1000 remain.
src/security/file_access.rs:162
↓ 2 callersMethodloop_form_to_profile
(&self)
src/ui/settings.rs:4408
↓ 2 callersFunctionmark_chat_finished
Call this when a chat session completes to record it in the finished list.
src/ui/tasks_view.rs:77
↓ 2 callersFunctionnormalize_cron
The `cron` crate requires a seconds field; UI presets and crontab habits use the classic 5-field form (min hour dom mon dow).
src/server/services/scheduler.rs:23
↓ 2 callersFunctionnormalize_filename
Normalize "foo" / "foo.yaml" / "foo.yml" to an on-disk filename.
src/server/services/agent_loop.rs:204
↓ 2 callersMethodopen_loop_profile
(&mut self, filename: &str)
src/ui/settings.rs:4344
↓ 2 callersFunctionparse_data_uri
Split a `data:<media>;base64,<data>` URI into (media_type, base64_data).
src/server/services/toolbox.rs:6612
↓ 2 callersFunctionparse_frontmatter
Parse YAML frontmatter from a SKILL.md file and return (name, description).
src/server/routes/skills.rs:58
↓ 2 callersFunctionpdf_cache
Cache extracted PDF text to avoid re-extracting on every chunk read
src/server/services/toolbox.rs:4220
↓ 2 callersFunctionpop_result
Pop the oldest pending result for `from` (FIFO). Removes the key when empty.
src/server/services/toolbox.rs:1934
↓ 2 callersFunctionprofile_from_agent_def
Build a profile from a team-YAML agent definition's optional fields: tools: {mode, list} mcp_servers: [..] — shorthand: present = selected, [] = non
src/server/services/agent_loop.rs:347
↓ 2 callersMethodprogress
(&self)
src/vm/manager.rs:235
↓ 2 callersFunctionread_skills_registry
()
src/server/services/toolbox.rs:4477
↓ 2 callersFunctionreadable_on
Pick a readable foreground (near-black or white) for a given background, based on perceived luminance.
src/ui/theme.rs:311
↓ 2 callersFunctionrecord_auth_fail
()
src/server/mod.rs:89
↓ 2 callersFunctionrecord_result
(task_id: &str, result: &Result<String, String>)
src/server/services/scheduler.rs:140
↓ 2 callersMethodrefresh
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/chat.rs:498
↓ 2 callersFunctionreject_proposal
(proposal_id: &str)
src/server/services/skill_synthesizer.rs:1146
↓ 2 callersFunctionremote_cache
()
src/server/data.rs:60
↓ 2 callersFunctionremote_cache_get
(key: &str)
src/server/data.rs:64
↓ 2 callersFunctionremote_cache_set
(key: &str, data: String, ttl_secs: u64)
src/server/data.rs:74
↓ 2 callersMethodremote_get
HTTP GET helper
src/ui/remote_view.rs:200
↓ 2 callersFunctionresolve_mcp_paths
(config: &mut Value, plugin_dir: &Path)
src/server/services/plugin.rs:1005
↓ 2 callersFunctionresolve_script
Resolve a symlink to its real JS script path.
src/server/services/toolbox.rs:6784
↓ 2 callersFunctionrole_color
(role: &str)
src/ui/agents_view.rs:1645
↓ 2 callersFunctionrun_command
(command: &str)
src/server/services/scheduler.rs:96
↓ 2 callersFunctionrun_evaluation_loop
( client: &Client, api_key: &str, api_url: &str, model: &str, all_messages: &mut Vec<Value
src/server/services/toolbox.rs:9599
↓ 2 callersFunctionrun_in_vm
Run a command inside the VM via SSH. Returns Ok((stdout, stderr, success)) or Err.
src/server/services/toolbox.rs:243
↓ 2 callersFunctionrun_synthesis_forced
()
src/server/services/skill_synthesizer.rs:1607
↓ 2 callersFunctionrun_synthesis_inner
(force: bool)
src/server/services/skill_synthesizer.rs:1615
↓ 2 callersFunctionrunning_jobs
()
src/server/services/scheduler.rs:16
↓ 2 callersFunctionsanitize_messages
Sanitize messages before sending to LLM API (ported from tiger_cowork sanitizeMessages). Handles: null content, orphaned tool pairs, mid-conversation
src/server/services/toolbox.rs:7446
↓ 2 callersMethodsave
Save access entries and audit log to their respective JSON files.
src/security/file_access.rs:129
↓ 2 callersMethodsave_active_loop_profile
(&mut self, runtime: &tokio::runtime::Handle)
src/ui/settings.rs:4542
↓ 2 callersFunctionsave_checkpoint
( session_id: &str, round: usize, all_messages: &[Value], tool_records: &[ToolCallRecord],
src/server/services/toolbox.rs:7959
↓ 2 callersMethodsave_loop_profile
(&mut self)
src/ui/settings.rs:4501
↓ 2 callersFunctionselect_remediation_target
( excerpt: &str, comment: &str, auto_skills: &[(String, String)], // (name, description) conte
src/server/services/skill_synthesizer.rs:1352
↓ 2 callersMethodsend_message
(&mut self, runtime: &tokio::runtime::Handle, ctx: &egui::Context)
src/ui/chat.rs:640
↓ 2 callersMethodservice_ready
(&self)
src/vm/manager.rs:247
↓ 2 callersFunctionset_remote_backend
(backend: Option<RemoteBackend>)
src/server/data.rs:21
↓ 2 callersFunctionshell_command
Build a shell Command.
src/server/services/toolbox.rs:283
↓ 2 callersFunctionskill_candidates
(skill_name: &str, registry_entry: Option<&Value>)
src/server/services/toolbox.rs:4447
↓ 2 callersFunctionskills_search_dirs
()
src/server/services/toolbox.rs:4468
↓ 2 callersMethodsort_files
(&mut self)
src/ui/files_view.rs:262
↓ 2 callersFunctionspawn_and_init
Spawn a stdio MCP server and perform the `initialize` handshake, leaving the process alive and ready for `tools/list` / `tools/call`. stderr is draine
src/server/services/mcp.rs:132
↓ 2 callersFunctionstart_cron
(runtime: tokio::runtime::Handle)
src/server/services/skill_synthesizer.rs:1970
↓ 2 callersFunctionstart_server
(sandbox_dir: String, access_token: String)
src/server/mod.rs:224
↓ 2 callersFunctionstart_vpn
Start / connect the Tailscale VPN. If the node needs authentication, captures the login URL (like cloudflared's tunnel URL) and returns it so the UI c
src/server/services/vpn.rs:156
↓ 2 callersMethodstate
(&self)
src/vm/manager.rs:227
↓ 2 callersFunctionstdio_result
Shape an MCP `tools/call` JSON-RPC response into TigrimOS's tool-result form.
src/server/services/mcp.rs:858
↓ 2 callersFunctionstop_vpn
Disconnect the Tailscale VPN (`tailscale down`).
src/server/services/vpn.rs:249
↓ 2 callersFunctionsummarize_tool_records
Summarize tool-call records for a judge prompt: most recent records first (newest are the most relevant after a gap-fix pass), capped in total size.
src/server/services/toolbox.rs:9358
↓ 2 callersMethodsurface
--- color accessors (hex string -> Color32, with safe fallbacks) ---
src/ui/theme.rs:403
↓ 2 callersFunctiontask_tx
()
src/server/routes/remote.rs:60
↓ 2 callersFunctiontest_write_permission
Test if a directory is writable by attempting to create and remove a temp file.
src/server/routes/local_files.rs:611
↓ 2 callersMethodtext_secondary
(&self)
src/ui/theme.rs:409
↓ 2 callersFunctiontokenize
(s: &str)
src/server/services/skill_synthesizer.rs:1337
↓ 2 callersFunctiontry_tcp_connect
Raw TCP connect test with a 2-second timeout.
src/vm/manager.rs:1252
↓ 2 callersFunctionuninstall_plugin
(id: &str)
src/server/services/plugin.rs:339
↓ 2 callersFunctionuninstall_plugin_inner
(id: &str, plugins: &mut Vec<InstalledPlugin>)
src/server/services/plugin.rs:346
↓ 2 callersFunctionvalidate_profile_yaml
Typed validation shared by save: shape errors are rejected, soft issues (unknown tool/mode names) come back as warnings.
src/server/routes/agent_loops.rs:142
↓ 2 callersFunctionvalidate_proposal
( raw: &Value, existing: &[(String, String)], // (name, source) )
src/server/services/skill_synthesizer.rs:891
↓ 2 callersFunctionvalidate_url_no_ssrf
Validate that a URL does not target private/internal addresses. Returns `Ok(())` if the URL is safe, or `Err(reason)` if it should be blocked.
src/server/services/toolbox.rs:3647
↓ 2 callersFunctionvalue_to_mcp_tool
Convert a JSON value to an McpTool struct.
src/server/services/plugin.rs:870
↓ 2 callersFunctionvpn_url
Build the URL a remote peer would use to reach this host over the tailnet.
src/server/services/vpn.rs:53
↓ 2 callersFunctionwait_result_json
Build the wait_result success JSON, including the step-verification verdict when verification ran. A failed verdict carries a hint so the orchestrator
src/server/services/toolbox.rs:1908
↓ 2 callersFunctionwrite_file_bytes
Write raw bytes into the sandbox — remote-aware (multipart upload to the connected server). `file_path` is sandbox-relative including the filename.
src/server/data.rs:1010
↓ 2 callersFunctionwrite_new_auto_skill
(p: &Proposal, model: &str)
src/server/services/skill_synthesizer.rs:977
↓ 2 callersFunctionwrite_proposed_update
(p: &Proposal, model: &str)
src/server/services/skill_synthesizer.rs:1017
↓ 2 callersMethodwrite_store
(&self, store: &BookmarkStore)
src/security/sandbox.rs:99
↓ 1 callersMethodaccent_hover
(&self)
src/ui/theme.rs:411
↓ 1 callersMethodadd_shared_folder
Add a new shared folder entry.
src/vm/manager.rs:1078
↓ 1 callersFunctionagent_browser_launch_lock
()
src/server/services/mcp.rs:373
↓ 1 callersMethodai_bubble
AI bubble fill: explicit `ai_bubble`, else the card color.
src/ui/theme.rs:421
↓ 1 callersMethodallows
(&self, name: &str)
src/server/services/agent_loop.rs:79
↓ 1 callersMethodapply_preset
Replace this theme's colors with a named preset (fonts are kept). Returns `false` if the preset name is unknown.
src/ui/theme.rs:375
↓ 1 callersMethodbackslash
(&mut self)
src/ui/math_render.rs:182
↓ 1 callersFunctionblackboard_award
( session_id: &str, task_id: &str, award_to: Option<&str>, mechanism: Option<&str>, )
src/server/services/protocols.rs:906
↓ 1 callersFunctionblackboard_bid
( session_id: &str, agent_id: &str, task_id: &str, confidence: f64, cost: Option<f64>,
src/server/services/protocols.rs:892
← previousnext →301–400 of 1,149, ranked by callers