MCPcopy Create free account

hub / github.com/HKUDS/OpenSpace / functions

Functions2,195 in github.com/HKUDS/OpenSpace

↓ 1 callersFunctionresponse_to_params
Convert Anthropic response to parameter list. Handles both text blocks, tool use blocks, and thinking blocks. Args: response
openspace/grounding/backends/gui/anthropic_utils.py:188
↓ 1 callersMethodrun_bash_script
Execute a Bash script locally. Return format matches the server's ``/run_bash_script`` endpoint.
openspace/grounding/backends/shell/transport/local_connector.py:428
↓ 1 callersFunctionrun_health_check_async
Asynchronous running health check
openspace/local_server/main.py:1071
↓ 1 callersFunctionrun_main
Run main function
openspace/__main__.py:543
↓ 1 callersFunctionrun_main
()
openspace/communication/gateway.py:572
↓ 1 callersFunctionrun_mcp_server
Console-script entry point for ``openspace-mcp``.
openspace/mcp_server.py:915
↓ 1 callersMethodrun_python_script
Execute a Python script locally. Return format matches the server's ``/run_python`` endpoint.
openspace/grounding/backends/shell/transport/local_connector.py:355
↓ 1 callersMethodsaveImage
(self, imgarray, text)
openspace/local_server/platform_adapters/pyxcursor.py:137
↓ 1 callersFunctionsavePrefs
(container: HTMLElement)
showcase/my-daily-monitor/src/components/SettingsModal.ts:238
↓ 1 callersFunctionsaveSecrets
(container: HTMLElement)
showcase/my-daily-monitor/src/components/SettingsModal.ts:221
↓ 1 callersFunctionsaveToRecent
* Save command to recent history
showcase/my-daily-monitor/src/components/CommandPalette.ts:159
↓ 1 callersMethodsave_bytes
( self, *, session_key: str, data: bytes, filename: str, kind:
openspace/communication/attachment_cache.py:33
↓ 1 callersMethodsave_execution_outcome
Persist task-level execution outcome into metadata.json. Should be called **before** ``stop()`` so the data is included in the finali
openspace/recording/manager.py:556
↓ 1 callersMethodsave_init_screenshot
Save initial screenshot to screenshots dir and update metadata.
openspace/recording/recorder.py:168
↓ 1 callersFunctionsave_json_file
(data: dict[str, Any], filepath: str | Path, indent: int = 2)
openspace/config/utils.py:20
↓ 1 callersMethodsave_record
Upsert a single :class:`SkillRecord`.
openspace/skill_engine/store.py:314
↓ 1 callersMethodsave_sanitized
Save sanitized tool metadata to disk. Args: servers: Dict mapping server_name -> list of sanitized tool metadata
openspace/grounding/backends/mcp/tool_cache.py:202
↓ 1 callersMethodsave_server
Save/update a single server's tools to cache (incremental append). Args: server_name: Name of the MCP server
openspace/grounding/backends/mcp/tool_cache.py:97
↓ 1 callersFunctionscanCursorTerminals
(tailLines: number)
showcase/my-daily-monitor/server/routes/system.ts:212
↓ 1 callersFunctionscanForBreakingNews
(articles: Array<{ title: string; source: string; url: string; threatLevel?: string }>)
showcase/my-daily-monitor/src/components/BreakingNewsBanner.ts:64
↓ 1 callersMethodscheduleRefresh
( name: string, fn: () => Promise<boolean | void>, intervalMs: number, condition?: () => boole
showcase/my-daily-monitor/src/services/refresh-scheduler.ts:141
↓ 1 callersFunctionsearchNews
(query: string)
showcase/my-daily-monitor/src/services/news.ts:44
↓ 1 callersMethodsearch_tools
Search tools from backend(s) or session. Args: task_description: Task description for searching relevant tools
openspace/grounding/core/grounding_client.py:549
↓ 1 callersMethodselectTools
(query: string)
showcase/my-daily-monitor/src/components/InsightsPanel.ts:375
↓ 1 callersFunctionsendMedia
(to, filePath, mimetype, caption, fileName, replyToMessageId)
openspace/communication/bridges/whatsapp/bridge.js:235
↓ 1 callersFunctionsendText
(to, text, replyToMessageId)
openspace/communication/bridges/whatsapp/bridge.js:222
↓ 1 callersFunctionsetAllSecrets
(secrets: Record<string, string>)
showcase/my-daily-monitor/src/services/settings-store.ts:50
↓ 1 callersMethodsetMarkers
(markers: MapMarker[])
showcase/my-daily-monitor/src/components/MapPanel.ts:154
↓ 1 callersMethodsetNewBadge
(count: number, pulse = false)
showcase/my-daily-monitor/src/components/Panel.ts:351
↓ 1 callersFunctionsetVariant
(variant: ThemeVariant)
showcase/my-daily-monitor/src/utils/theme-manager.ts:34
↓ 1 callersMethodset_level
Set log level by name (e.g. ``"DEBUG"``, ``"INFO"``, ``"WARNING"``).
openspace/utils/logging.py:237
↓ 1 callersFunctionset_quality_manager
Set the global quality manager instance.
openspace/grounding/core/quality/__init__.py:14
↓ 1 callersMethodset_server_order
Set expected server order (from config). Used when saving to disk.
openspace/grounding/backends/mcp/tool_cache.py:30
↓ 1 callersMethodset_skill_context
Inject skill guidance into the agent's system prompt. Called by ``OpenSpace.execute()`` before ``process()`` when skills are matched.
openspace/agents/grounding_agent.py:95
↓ 1 callersMethodset_skill_registry
Attach a SkillRegistry so the agent can offer ``retrieve_skill`` as a tool.
openspace/agents/grounding_agent.py:126
↓ 1 callersMethodset_wallpaper
Set desktop wallpaper Args: image_path: Image path Returns: Result dictionary
openspace/local_server/platform_adapters/macos_adapter.py:332
↓ 1 callersMethodsetupColResize
()
showcase/my-daily-monitor/src/components/Panel.ts:237
↓ 1 callersMethodsetupRowResize
()
showcase/my-daily-monitor/src/components/Panel.ts:204
↓ 1 callersFunctionshortenPaths
* Shorten absolute file paths in instruction text for display. * * "/Users/foo/bar/project/src/components/Panel.tsx" * → "…/src/components/Panel.
frontend/src/utils/format.ts:37
↓ 1 callersFunctionshould_accept_message
( message: ChannelMessage, platform_config: Any, reply_to_bot: bool, )
openspace/communication/policy.py:44
↓ 1 callersMethodshould_evolve
Check if evolution should be triggered based on global execution count.
openspace/grounding/core/quality/manager.py:847
↓ 1 callersMethodshould_reevaluate_description
Check if a tool's description should be re-evaluated. Triggers re-evaluation when: - Description hash changed
openspace/grounding/core/quality/manager.py:761
↓ 1 callersMethodshowTaskList
()
showcase/my-daily-monitor/src/components/InsightsPanel.ts:571
↓ 1 callersMethodshow_agent_actions
(self, format_type: str = "compact", agent_name: Optional[str] = None)
openspace/recording/viewer.py:81
↓ 1 callersMethodshow_summary
Display a summary of the recording. Returns: Formatted summary string
openspace/recording/viewer.py:44
↓ 1 callersFunctionshutdown
(server)
openspace/communication/bridges/whatsapp/bridge.js:544
↓ 1 callersFunctionsingle_query_mode
(openspace: OpenSpace, query: str, ui_manager: UIManager)
openspace/__main__.py:107
↓ 1 callersMethodsortTransactionsByDate
(transactions: any[])
showcase/my-daily-monitor/src/components/FinancePanel.ts:42
↓ 1 callersMethodstage_artifact
POST /artifacts/stage — upload skill files. Returns ``(artifact_id, file_count)``.
openspace/cloud/client.py:195
↓ 1 callersMethodstart
Start automatic recording Args: task_id: If provided, override the current task_id for this recording session. This allows
openspace/recording/manager.py:469
↓ 1 callersMethodstart
Start the connection manager and establish a connection. Args: timeout: Optional timeout in seconds. If None, waits indefinitely.
openspace/grounding/core/transport/task_managers/base.py:58
↓ 1 callersMethodstart
Start tracking (serial). Resets counters and installs callback.
gdpval_bench/token_tracker.py:223
↓ 1 callersFunctionstartBridgeServer
()
openspace/communication/bridges/whatsapp/bridge.js:458
↓ 1 callersFunctionstartSocket
()
openspace/communication/bridges/whatsapp/bridge.js:395
↓ 1 callersMethodstart_live_display
(self)
openspace/__main__.py:23
↓ 1 callersMethodstart_monitoring
Start monitoring and updating UI Args: poll_interval: Update interval in seconds
openspace/utils/ui_integration.py:60
↓ 1 callersMethodstart_recording
(self, output_path: str)
openspace/local_server/platform_adapters/macos_adapter.py:443
↓ 1 callersMethodstatus
(self)
openspace/communication/runtime_manager.py:123
↓ 1 callersMethodstop
Stop automatic recording
openspace/recording/manager.py:578
↓ 1 callersMethodstop
Stop tracking (serial) and return final stats.
gdpval_bench/token_tracker.py:231
↓ 1 callersMethodstop_live_display
(self)
openspace/__main__.py:37
↓ 1 callersMethodstop_monitoring
Stop monitoring
openspace/utils/ui_integration.py:81
↓ 1 callersMethodstop_recording
(self, process)
openspace/local_server/platform_adapters/macos_adapter.py:544
↓ 1 callersMethodstop_video_recording
Stop video recording
openspace/recording/recorder.py:218
↓ 1 callersFunctionstringify
(value: unknown)
frontend/src/pages/WorkflowDetailPage.tsx:7
↓ 1 callersFunctionstrip_ansi
Strip ANSI color codes from text Args: text: Text with potential ANSI codes Returns: Clean text without ANS
openspace/utils/display.py:52
↓ 1 callersFunctionstrip_frontmatter
Remove YAML frontmatter from markdown content.
openspace/skill_engine/skill_utils.py:177
↓ 1 callersMethodswitchChannel
(idx: number, tabs: HTMLElement)
showcase/my-daily-monitor/src/components/LiveNewsPanel.ts:64
↓ 1 callersMethodswitchChannel
(idx: number)
showcase/my-daily-monitor/src/components/NewsWebPanel.ts:40
↓ 1 callersMethodswitchMapStyle
Switch map tiles when theme changes (dark ↔ light, default ↔ happy)
showcase/my-daily-monitor/src/components/MapPanel.ts:221
↓ 1 callersMethodto_channel_context
(self, session_key: str)
openspace/communication/types.py:88
↓ 1 callersMethodto_dict
(self)
openspace/grounding/core/search_tools.py:534
↓ 1 callersMethodtoggleCategory
(cat: string)
showcase/my-daily-monitor/src/components/NewsPanel.ts:77
↓ 1 callersMethodtoggleFullscreen
()
showcase/my-daily-monitor/src/components/WebPanel.ts:84
↓ 1 callersFunctiontoggleTheme
()
showcase/my-daily-monitor/src/utils/theme-manager.ts:45
↓ 1 callersMethodtrack_package_download
Track package download event specifically for Scarf analytics
openspace/utils/telemetry/telemetry.py:189
↓ 1 callersMethodtrigger
(name: string)
showcase/my-daily-monitor/src/services/refresh-scheduler.ts:190
↓ 1 callersFunctiontruncate_messages
Truncate conversation history to fit within token budget. Preserves system messages and the first user instruction while keeping only the mos
openspace/agents/message_utils.py:45
↓ 1 callersFunctiontry_read_nanobot_config
Read LLM credentials from ``~/.nanobot/config.json``. Returns litellm kwargs dict (``api_key``, ``api_base``, ``extra_headers``), or None. M
openspace/host_detection/nanobot.py:142
↓ 1 callersFunctiontry_read_openclaw_config
Read LLM credentials from OpenClaw's env-style config blocks.
openspace/host_detection/openclaw.py:289
↓ 1 callersMethoduninstall
Remove persistent callback after all concurrent tasks finish.
gdpval_bench/token_tracker.py:256
↓ 1 callersFunctionupdateClock
()
showcase/my-daily-monitor/src/main.ts:215
↓ 1 callersMethodupdateClocks
()
showcase/my-daily-monitor/src/components/WeatherPanel.ts:149
↓ 1 callersMethodupdateHeaderWithAddButton
()
showcase/my-daily-monitor/src/components/FinancePanel.ts:228
↓ 1 callersFunctionupdateTodayFocus
(data: FocusData)
showcase/my-daily-monitor/src/components/TodayFocusSidebar.ts:46
↓ 1 callersMethodupdate_display
Update display (alias for render())
openspace/utils/ui.py:217
↓ 1 callersMethodupdate_grounding_backends
Update grounding backends information Args: backends: List of backend info dicts with keys: - na
openspace/utils/ui.py:374
↓ 1 callersMethodupdate_skill
Replace a skill entry after FIX evolution. Removes *old_skill_id* from the registry and inserts *new_meta* under its (new) ``skill_id
openspace/skill_engine/registry.py:197
↓ 1 callersMethodupload_skill
Upload a local skill to the cloud (stage → diff → create record). Returns a result dict with status, record_id, etc.
openspace/cloud/client.py:286
↓ 1 callersFunctionuseSkillEvolutionGraphData
( lineage: SkillLineage | null, originFilter: string, tagFilter: string, alwaysVisibleSkillIds: string
frontend/src/hooks/useSkillEvolutionGraphData.ts:57
↓ 1 callersMethodvalidate_configuration
(self)
openspace/communication/adapters/feishu.py:103
↓ 1 callersMethodvalidate_configuration
(self)
openspace/communication/adapters/whatsapp.py:59
↓ 1 callersMethodvalidate_parameters
(self, params: Dict[str, Any])
openspace/grounding/core/tool/base.py:117
↓ 1 callersFunctionview_recording
Quick interactive viewer for a recording.
openspace/recording/viewer.py:261
↓ 1 callersMethodvisual_analysis
Build prompt for visual analysis of screenshots. Args: tool_name: Tool name that generated the screenshots
openspace/prompts/grounding_agent_prompts.py:157
↓ 1 callersMethodwait_background
Await all outstanding background evolution tasks. Call this during shutdown / cleanup to ensure nothing is lost.
openspace/skill_engine/evolver.py:218
↓ 1 callersMethodwait_for_server_response
Wait for the server to respond to HTTP requests. Args: base_url: The base URL to check for server readiness t
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:98
↓ 1 callersFunctionweatherDesc
(code: number)
showcase/my-daily-monitor/src/components/WeatherPanel.ts:35
↓ 1 callersMethodworkspace_directory
Build workspace directory information for cross-iteration/cross-backend data sharing.
openspace/prompts/grounding_agent_prompts.py:229
↓ 1 callersMethodworkspace_file_list
Build list of all existing files.
openspace/prompts/grounding_agent_prompts.py:278
← previousnext →1,301–1,400 of 2,195, ranked by callers