MCPcopy Create free account

hub / github.com/HKUDS/OpenSpace / functions

Functions2,195 in github.com/HKUDS/OpenSpace

↓ 6 callersMethodrun_bash_script
Execute Bash script on remote server Args: script: Bash script content (can be multi-line) timeout:
openspace/grounding/backends/shell/transport/connector.py:145
↓ 6 callersMethodscheduleNextRun
(name: string, entry: RunnerEntry)
showcase/my-daily-monitor/src/services/refresh-scheduler.ts:50
↓ 6 callersFunctionset_call_source
Set the call source for the current async context. Returns a reset token.
gdpval_bench/token_tracker.py:70
↓ 6 callersMethodstop
Set self._active to False
openspace/grounding/core/security/sandbox.py:18
↓ 6 callersMethodtop_line
(self, indent: int = 2)
openspace/utils/display.py:101
↓ 6 callersFunctiontruncateText
(value: string, max = 180)
frontend/src/pages/WorkflowDetailPage.tsx:60
↓ 5 callersMethod__aenter__
(self)
openspace/grounding/core/session.py:38
↓ 5 callersMethod_compute_description_hash
Compute hash of tool description for change detection.
openspace/grounding/core/quality/manager.py:93
↓ 5 callersMethod_ensure_discovered
(self)
openspace/skill_engine/registry.py:632
↓ 5 callersMethod_generate_embedding
Generate embedding via OpenAI-compatible API (text-embedding-3-small). Delegates credential / base-URL resolution to :func:`openspace
openspace/skill_engine/skill_ranker.py:397
↓ 5 callersMethod_get_mcp_servers
Internal helper to get mcpServers configuration. Tries both 'mcpServers' and 'servers' keys for compatibility. Retur
openspace/grounding/backends/mcp/client.py:80
↓ 5 callersFunction_get_store
Get SkillStore — reuses OpenSpace's internal instance when available.
openspace/mcp_server.py:194
↓ 5 callersMethod_save_cache
Persist embedding cache to disk.
openspace/skill_engine/skill_ranker.py:470
↓ 5 callersFunction_serialize_skill
(record: SkillRecord, *, include_recent_analyses: bool = False)
openspace/dashboard_server.py:295
↓ 5 callersFunction_skill_score
(record: SkillRecord)
openspace/dashboard_server.py:291
↓ 5 callersMethod_to_analysis
Deserialize an execution_analyses row + judgments → ExecutionAnalysis.
openspace/skill_engine/store.py:1455
↓ 5 callersMethod_write_runtime_status
( self, gateway_state: str, *, fatal_error: Optional[str] = None, )
openspace/communication/gateway.py:213
↓ 5 callersMethodclearRetryCountdown
()
showcase/my-daily-monitor/src/components/Panel.ts:395
↓ 5 callersFunctionget
(key: string)
showcase/my-daily-monitor/server/routes/system.ts:259
↓ 5 callersFunctionget_conda_activation_prefix
Generate platform-specific conda activation command prefix Args: conda_env: Conda environment name (e.g., 'myenv') Retu
openspace/local_server/main.py:51
↓ 5 callersFunctionisRecord
(value: unknown)
frontend/src/pages/WorkflowDetailPage.tsx:15
↓ 5 callersMethodlist_providers
(self)
openspace/grounding/core/grounding_client.py:205
↓ 5 callersMethodlist_servers
Return all configured MCP server names from MCPClient config. Returns: List of server names
openspace/grounding/backends/mcp/provider.py:111
↓ 5 callersFunctionnormalizeId
(value)
openspace/communication/bridges/whatsapp/bridge.js:157
↓ 5 callersFunctionnormalizeWhatsAppIdentifier
(value)
openspace/communication/bridges/whatsapp/allowlist.js:4
↓ 5 callersMethodrecord_conversation_setup
Record initial conversation context to conversations.jsonl (called once before iterations). Writes a ``type: "setup"`` line containi
openspace/recording/manager.py:222
↓ 5 callersMethodrecord_iteration_context
Record a single iteration's delta messages to conversations.jsonl. Only the messages produced during this iteration are stored (assi
openspace/recording/manager.py:309
↓ 5 callersMethodrelease
(self)
openspace/communication/gateway_runtime.py:192
↓ 5 callersMethodstart
Set self._active to True
openspace/grounding/core/security/sandbox.py:13
↓ 5 callersMethodto_dict
(self)
openspace/skill_engine/types.py:404
↓ 4 callersFunction_apply_multi_file_full
Apply multi-file FULL format to a skill directory. For each file in the parsed output: - If the path exists → overwrite - If the path is
openspace/skill_engine/patch.py:420
↓ 4 callersFunction_apply_multi_file_patch
Parse and apply a ``*** Begin Patch`` block to a skill directory. Two-phase: validate all hunks first, then write to disk.
openspace/skill_engine/patch.py:773
↓ 4 callersFunction_auto_register_skill_dirs
Register bot skill directories into OpenSpace's SkillRegistry + DB. Called automatically by ``execute_task`` on every invocation. Directories
openspace/mcp_server.py:335
↓ 4 callersFunction_discover_workflow_dirs
()
openspace/dashboard_server.py:434
↓ 4 callersMethod_ensure_dir
Ensure cache directory exists.
openspace/grounding/backends/mcp/tool_cache.py:50
↓ 4 callersFunction_extract
(prov_dict: Dict[str, Any], default_base: str = "")
openspace/host_detection/nanobot.py:84
↓ 4 callersMethod_extract_npm_package
Extract package name from npx arguments. Args: args: npx arguments list, e.g. ["-y", "mcp-excalidraw-server"] or ["bazi-m
openspace/grounding/backends/mcp/installer.py:163
↓ 4 callersMethod_fetch_tools
Fetch tools from provider. Args: backend: Backend type session_name: - None: fetch
openspace/grounding/core/grounding_client.py:350
↓ 4 callersMethod_format_skill_dir_content
Format all text files in a skill directory for prompt inclusion. Returns a multi-file listing if there are auxiliary files beyond SKI
openspace/skill_engine/evolver.py:1502
↓ 4 callersMethod_load_skill_content
Load SKILL.md content from disk via registry or direct read.
openspace/skill_engine/evolver.py:1485
↓ 4 callersFunction_maybe_set_list
(target: Any, field_name: str, raw: Optional[str])
openspace/communication/config.py:354
↓ 4 callersFunction_normalize
(text: str)
openspace/skill_engine/fuzzy_match.py:180
↓ 4 callersFunction_optional_str
(value: Any)
openspace/communication/types.py:159
↓ 4 callersMethod_record_tool_scores
Record tool scores from ranking results.
openspace/grounding/core/search_tools.py:823
↓ 4 callersMethod_retry_invoke
( self, operation_name: str, operation_func, *args, **kwargs, )
openspace/grounding/backends/gui/transport/local_connector.py:87
↓ 4 callersMethod_retry_invoke
Execute operation with retry logic. Args: operation_name: Name of operation for logging operation_fu
openspace/grounding/backends/gui/transport/connector.py:47
↓ 4 callersMethod_run_sync_tool
(self, tool_obj: Any, args: Dict[str, Any])
openspace/grounding/backends/shell/productivity_tools.py:100
↓ 4 callersFunction_sanitize_skill_name
Enforce naming rules for skill names (used as directory names). - Lowercase, hyphens only (no underscores or special chars) - Truncate to ``_
openspace/skill_engine/evolver.py:76
↓ 4 callersMethod_save_metadata
Save metadata to metadata.json
openspace/recording/recorder.py:193
↓ 4 callersFunction_sort_skills
(records: Iterable[SkillRecord], *, sort_key: str)
openspace/dashboard_server.py:323
↓ 4 callersFunction_try_match
Attempt to find *pattern* inside *lines* using *compare*.
openspace/skill_engine/patch.py:456
↓ 4 callersMethod_upsert
Insert or update skill_records + sync related rows. Called within a transaction holding ``self._mu``.
openspace/skill_engine/store.py:1212
↓ 4 callersFunction_wait_for_exit
(proc: asyncio.subprocess.Process, timeout: float)
openspace/grounding/backends/shell/transport/local_connector.py:107
↓ 4 callersMethodarun
(self, **kwargs)
openspace/grounding/core/tool/base.py:140
↓ 4 callersFunctionbroadcast
(payload)
openspace/communication/bridges/whatsapp/bridge.js:83
↓ 4 callersFunctionbuildMapStyle
(tileUrls: string[], name: string)
showcase/my-daily-monitor/src/components/MapPanel.ts:16
↓ 4 callersFunctionbuild_llm_kwargs
Build litellm kwargs and resolve model for OpenSpace's LLM client. Resolution order (highest → lowest priority): Tier 1 — Explicit ``OPENSPA
openspace/host_detection/resolver.py:128
↓ 4 callersFunctioncacheMedia
(rawMessage, mediaMessage, targetDir, prefix, fallbackExt)
openspace/communication/bridges/whatsapp/bridge.js:189
↓ 4 callersFunctioncallLLM
(systemPrompt: string, userContent: string, maxTokens = 400)
showcase/my-daily-monitor/src/services/ai-summary.ts:11
↓ 4 callersMethodcapture
Capture a telemetry event
openspace/utils/telemetry/telemetry.py:161
↓ 4 callersMethodcheck_all_features
(self, use_cache: bool = True)
openspace/local_server/feature_checker.py:220
↓ 4 callersMethodcheck_command_allowed
(self, backend_type: BackendType, command: str)
openspace/grounding/core/security/policies.py:76
↓ 4 callersMethodcheck_screenshot_available
(self, use_cache: bool = True)
openspace/local_server/feature_checker.py:19
↓ 4 callersFunctioncheck_skill_safety
Check *text* against safety rules, return list of triggered flag names. Returns an empty list if no rules match (= safe).
openspace/skill_engine/skill_utils.py:36
↓ 4 callersMethodclear
Delete all data (keeps schema).
openspace/skill_engine/store.py:1189
↓ 4 callersFunctioncloseCommandPalette
()
showcase/my-daily-monitor/src/components/CommandPalette.ts:93
↓ 4 callersMethodconfigure
Configure the logging system. Usually called automatically on first use; pass ``force=True`` to reconfigure explicitly. Args
openspace/utils/logging.py:146
↓ 4 callersFunctioncreateCircuitBreaker
(options: CircuitBreakerOptions)
showcase/my-daily-monitor/src/utils/circuit-breaker.ts:95
↓ 4 callersMethodcreate_session
Create a new MCP session for a specific server. Args: session_config: Must contain 'server' in connection_params
openspace/grounding/backends/mcp/provider.py:119
↓ 4 callersFunctiondetect_patch_type
Auto-detect the patch format from LLM output. Detection uses **structural markers** that are unlikely to appear in normal skill prose, checke
openspace/skill_engine/patch.py:334
↓ 4 callersMethodend_recording
End screen recording and optionally save to file.
openspace/platforms/recording.py:89
↓ 4 callersMethodexecute
(fn: () => Promise<R>, defaultValue: R)
showcase/my-daily-monitor/src/utils/circuit-breaker.ts:73
↓ 4 callersMethodexitFullscreen
()
showcase/my-daily-monitor/src/components/WebPanel.ts:132
↓ 4 callersFunctionfetchCommunityPosts
(source: CommunitySource = 'all')
showcase/my-daily-monitor/src/services/social.ts:25
↓ 4 callersFunctionfirstMeaningfulLine
(value: string)
frontend/src/pages/WorkflowDetailPage.tsx:68
↓ 4 callersMethodfmtNum
(n: number)
showcase/my-daily-monitor/src/components/CodeStatusPanel.ts:278
↓ 4 callersMethodfrom_dict
(cls, data: Dict[str, Any])
openspace/communication/types.py:64
↓ 4 callersFunctiongetArg
(name, defaultValue)
openspace/communication/bridges/whatsapp/bridge.js:33
↓ 4 callersFunctiongetUpdatedAtTimestamp
(skill: Skill)
frontend/src/utils/skillClasses.ts:17
↓ 4 callersFunctiongetUserTransactions
* Get user transactions from localStorage
showcase/my-daily-monitor/src/services/finance.ts:23
↓ 4 callersMethodget_record
Get or create quality record for a tool.
openspace/grounding/core/quality/manager.py:98
↓ 4 callersFunctionget_tool_cache
Get global tool cache instance.
openspace/grounding/backends/mcp/tool_cache.py:248
↓ 4 callersMethodget_tool_key
Generate unique key for a tool.
openspace/grounding/core/quality/manager.py:80
↓ 4 callersMethodinitialize
Initialize provider, call `create_session` to create all sessions if not exist Subclasses should set `self.is_initialized = True` afte
openspace/grounding/core/provider.py:42
↓ 4 callersMethodinvoke
Invoke this tool using bound runtime information. Requires runtime info to be bound via bind_runtime_info(). If no runtime in
openspace/grounding/core/tool/base.py:198
↓ 4 callersFunctionis_skill_safe
Return True if *flags* contain no blocking flag. ``suspicious.*`` flags are informational (logged / attached to search results) but do NOT bl
openspace/skill_engine/skill_utils.py:44
↓ 4 callersMethodlist
(self)
openspace/grounding/core/provider.py:147
↓ 4 callersFunctionloadMap
(key: string)
showcase/my-daily-monitor/src/components/Panel.ts:8
↓ 4 callersFunctionloadSecrets
()
showcase/my-daily-monitor/src/services/settings-store.ts:19
↓ 4 callersMethodload_active
Load only active skill records, keyed by ``skill_id``. Convenience wrapper for ``load_all(active_only=True)``.
openspace/skill_engine/store.py:710
↓ 4 callersMethodload_analyses
Load recent analyses. Args: skill_id: True ``skill_id`` (e.g. ``weather__imp_a1b2c3d4``). ``skill_judgments.skill
openspace/skill_engine/store.py:774
↓ 4 callersFunctionload_runtime_env
Public wrapper for one-time runtime .env loading.
openspace/host_detection/resolver.py:65
↓ 4 callersMethodrank
( self, query: str, tools: List[BaseTool], *, top_k: int = 50,
openspace/grounding/core/search_tools.py:194
↓ 4 callersMethodrefresh
()
showcase/my-daily-monitor/src/components/DevOpsPanel.ts:242
↓ 4 callersMethodrefresh
()
showcase/my-daily-monitor/src/components/FinancePanel.ts:25
↓ 4 callersMethodrenderMarkers
()
showcase/my-daily-monitor/src/components/MapPanel.ts:168
↓ 4 callersMethodreset
(self)
gdpval_bench/token_tracker.py:131
↓ 4 callersMethodrun_python_script
Execute Python script on remote server Args: code: Python code string timeout: Execution timeout in
openspace/grounding/backends/shell/transport/connector.py:96
↓ 4 callersMethodsendMessage
(text: string)
showcase/my-daily-monitor/src/components/InsightsPanel.ts:400
↓ 4 callersFunctionsetTheme
(theme: Theme)
showcase/my-daily-monitor/src/utils/theme-manager.ts:27
← previousnext →101–200 of 2,195, ranked by callers