Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/OpenSpace
/ functions
Functions
2,195 in github.com/HKUDS/OpenSpace
⨍
Functions
2,195
◇
Types & classes
373
↳
Endpoints
35
Function
_bar
(ratio: float, width: int = 40)
gdpval_bench/calc_subset_performance.py:88
Method
_before_connect
Set up the sandbox and prepare the connection manager.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:151
Method
_before_connect
Log connection attempt.
openspace/grounding/backends/mcp/transport/connectors/stdio.py:64
Method
_before_disconnect
Clean up MCP-specific resources before disconnection.
openspace/grounding/backends/mcp/transport/connectors/base.py:89
Method
_before_disconnect
Clean up sandbox-specific resources before disconnection.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:203
Method
_before_disconnect
Clean up WebSocket-specific resources before disconnection.
openspace/grounding/backends/mcp/transport/connectors/websocket.py:108
Method
_bridge_tokens_dir
(self)
openspace/communication/gateway.py:302
Method
_build_iteration_feedback
Build feedback message to add to next iteration.
openspace/agents/grounding_agent.py:696
Method
_cleanup_on_connect_failure
Clean up sandbox resources on connection failure.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:226
Method
_cleanup_on_connect_failure
Clean up WebSocket resources on connection failure.
openspace/grounding/backends/mcp/transport/connectors/websocket.py:145
Method
_close_connection
Close the session and then call the parent cleanup. Ensures proper cleanup even if close() fails.
openspace/grounding/core/transport/task_managers/aiohttp_connection_manager.py:42
Method
_close_connection
Close the connection (placeholder implementation).
openspace/grounding/core/transport/task_managers/placeholder.py:16
Method
_close_connection
No-op: nothing to close.
openspace/grounding/core/transport/task_managers/noop.py:23
Method
_close_connection
Exit the context manager if it exists. Uses try-finally to ensure ctx is cleared even if __aexit__ fails. This prevents resou
openspace/grounding/core/transport/task_managers/async_ctx.py:69
Method
_close_connection
Request the background task to exit its context and wait for it.
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:301
Method
_create_openspace_runtime
(self, session: ChannelSession)
openspace/communication/gateway.py:458
Method
_create_with_semaphore
(server: str)
openspace/grounding/backends/mcp/provider.py:353
Function
_db_retry
Retry on transient SQLite errors with exponential backoff. Catches ``OperationalError`` (e.g. "database is locked") and ``DatabaseError`` but
openspace/skill_engine/store.py:42
Method
_deactivate_record_sync
(self, skill_id: str)
openspace/skill_engine/store.py:640
Method
_default_cli_prompt
(self, message: str)
openspace/grounding/core/security/policies.py:27
Method
_default_cli_prompt
Default CLI prompt function (called within lock by ensure_dependencies).
openspace/grounding/backends/mcp/installer.py:68
Method
_delete_record_sync
(self, skill_id: str)
openspace/skill_engine/store.py:664
Method
_establish_connection
Create and enter the aiohttp.ClientSession context.
openspace/grounding/core/transport/task_managers/aiohttp_connection_manager.py:36
Method
_establish_connection
Establish the connection (placeholder implementation).
openspace/grounding/core/transport/task_managers/placeholder.py:12
Method
_establish_connection
No-op: return a sentinel value.
openspace/grounding/core/transport/task_managers/noop.py:19
Method
_establish_connection
Create the context manager and enter it.
openspace/grounding/core/transport/task_managers/async_ctx.py:32
Method
_establish_connection
Establish connection in a dedicated task to avoid cancel-scope issues.
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:269
Method
_evolve_skill_sync
Atomic: insert new version + deactivate parents (for FIXED).
openspace/skill_engine/store.py:603
Method
_execute
()
openspace/grounding/backends/gui/transport/local_connector.py:233
Method
_execute
()
openspace/grounding/backends/gui/transport/connector.py:247
Function
_execute_one_task
Build a result record (called after cs.execute finishes).
gdpval_bench/run_benchmark.py:408
Method
_fetch_bot_open_id
(self)
openspace/communication/adapters/feishu.py:554
Method
_format_ranked
(results: list[tuple[BaseTool, float]], mode: SearchMode)
openspace/grounding/core/search_tools.py:1074
Method
_format_tool_list
(tools: list[BaseTool])
openspace/grounding/core/search_tools.py:1069
Method
_generate_final_summary
Generate final summary across all iterations for reporting to upper layer. Returns: tuple[str, bool, List[Dict]]
openspace/agents/grounding_agent.py:732
Method
_get
()
openspace/grounding/backends/gui/transport/local_connector.py:209
Method
_get
()
openspace/grounding/backends/gui/transport/connector.py:212
Method
_get_streams_from_connection
WebSocket doesn't use streams, return None to skip ClientSession creation.
openspace/grounding/backends/mcp/transport/connectors/websocket.py:60
Method
_handle_health
(self, request: web.Request)
openspace/communication/gateway.py:440
Method
_handle_stderr
Handle stderr data from the sandbox process.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:93
Method
_handle_stdout
Handle stdout data from the sandbox process.
openspace/grounding/backends/mcp/transport/connectors/sandbox.py:88
Method
_handle_webhook
(self, request: web.Request)
openspace/communication/adapters/feishu.py:209
Method
_is_valid_image_response
(content_type: str, data: Optional[bytes])
openspace/grounding/backends/gui/transport/local_connector.py:172
Method
_locks_dir
(self)
openspace/communication/gateway.py:298
Method
_log_background_result
Log the outcome of a background evolution task.
openspace/skill_engine/evolver.py:575
Method
_mark_message_seen
(self, message_id: str)
openspace/communication/adapters/feishu.py:697
Method
_move_cursor_home
Move cursor to home position
openspace/utils/ui.py:95
Method
_on_message_sync
(self, data: Any)
openspace/communication/adapters/feishu.py:311
Method
_outbound_media_dir
(self)
openspace/communication/gateway.py:306
Method
_reactivate_record_sync
(self, skill_id: str)
openspace/skill_engine/store.py:652
Function
_read_attachment_body
(raw_file: Any, max_bytes: int)
openspace/communication/adapters/feishu.py:863
Method
_record_analysis_sync
Persist an analysis and update skill quality counters. ``SkillJudgment.skill_id`` is the **true skill_id** (e.g. ``weather__imp_a1b2c
openspace/skill_engine/store.py:554
Method
_record_intermediate_step
Record an intermediate step of GUI agent execution. This method records each planning-action cycle to the recording system,
openspace/grounding/backends/gui/tool.py:576
Method
_remove_previous_guidance
Remove guidance section from previous iteration feedback messages.
openspace/agents/grounding_agent.py:719
Function
_run
()
openspace/local_server/main.py:1073
Method
_run
(self, *args, **kwargs)
openspace/grounding/core/search_tools.py:1080
Method
_run
(self, **kwargs)
openspace/grounding/core/tool/base.py:303
Method
_run_ws_forever
()
openspace/communication/adapters/feishu.py:285
Method
_runner
()
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:280
Method
_runtime_status_path
(self)
openspace/communication/gateway.py:294
Method
_save_record_sync
(self, record: SkillRecord)
openspace/skill_engine/store.py:529
Method
_save_records_sync
(self, records: List[SkillRecord])
openspace/skill_engine/store.py:541
Method
_setup_security_policy
(self, config: dict | None = None)
openspace/grounding/backends/shell/provider.py:22
Function
_shim
(**kw)
openspace/grounding/backends/mcp/transport/task_managers/streamable_http.py:26
Method
_sync_from_registry_sync
( self, discovered_skills: List[Any], )
openspace/skill_engine/store.py:343
Function
_sync_invoke
Invoke a LangChain-style tool (sync) from async context.
openspace/grounding/backends/shell/productivity_tools.py:79
Method
_throttled
(c: EvolutionContext)
openspace/skill_engine/evolver.py:528
Method
_va_callback
( result: ToolResult, tool_name: str, tool_call: Dict, backend: str )
openspace/agents/grounding_agent.py:214
Method
acquire
( self, scope: str, identity: str, metadata: Optional[dict[str, Any]] = None,
openspace/communication/gateway_runtime.py:239
Function
activate_window
Activate window
openspace/local_server/main.py:735
Method
activate_window
Activate window (Linux uses wmctrl) Args: window_name: Window name strict: Whether to strictly match
openspace/local_server/platform_adapters/linux_adapter.py:67
Method
activate_window
Activate window (Windows uses pygetwindow) Args: window_name: Window title strict: Whether to strict
openspace/local_server/platform_adapters/windows_adapter.py:114
Method
add_file_handler
Append a file handler to the given (default ``openspace``) logger. Args: filepath: Log file path log
openspace/utils/logging.py:261
Method
add_metadata
Add metadata
openspace/recording/recorder.py:228
Method
add_server
Add a server configuration. Args: name: The name to identify this server. server_config: The server configuration.
openspace/grounding/backends/mcp/client.py:140
Function
analyzeProcessExit
(info: { label: string; command: string; duration: string; cpu: number; mem: number; tailOutput?:
showcase/my-daily-monitor/src/services/ai-summary.ts:93
Method
annotate_screenshot
Add annotations to screenshot Args: input_path: Input image path output_path: Output image path
openspace/local_server/utils/screenshot.py:196
Method
applied_rate
Ratio of selections where the skill was actually applied.
openspace/skill_engine/types.py:381
Method
async_log_success_event
(self, kwargs: dict, response_obj: Any, start_time: Any, end_time: Any)
gdpval_bench/token_tracker.py:174
Method
avg_execution_time_ms
Average execution time.
openspace/grounding/core/quality/types.py:82
Method
backend_scope
(self)
openspace/agents/base.py:57
Method
base_url
(self)
openspace/communication/config.py:84
Function
block_anchor_replacer
Anchor on first/last lines (trimmed) and use Levenshtein on middles.
openspace/skill_engine/fuzzy_match.py:87
Method
bridge_assets_dir
(self)
openspace/communication/config.py:170
Method
bridge_tokens_dir
(self)
openspace/communication/config.py:182
Method
buffer
(self)
openspace/mcp_server.py:38
Function
build_skill_embedding_text
Build text for skill embedding: ``name + description + SKILL.md body``. Unified strategy matching MCP search_skills and clawhub platform.
openspace/skill_engine/skill_ranker.py:513
Function
call_source_ctx
Context manager for temporarily setting call source.
gdpval_bench/token_tracker.py:81
Method
call_tool
(self, tool_name: str, parameters=None)
openspace/grounding/core/session.py:90
Method
call_tool
( self, session_name: str, tool_name: str, parameters: Dict[str, Any] | None =
openspace/grounding/core/system/provider.py:30
Method
call_tool
Call an MCP tool with the given arguments.
openspace/grounding/backends/mcp/transport/connectors/websocket.py:220
Method
candidate_for_evolution
Whether any evolution suggestions exist.
openspace/skill_engine/types.py:287
Method
capture_region
Capture specified screen region Args: output_path: Output path x: Starting x coordinate
openspace/local_server/utils/screenshot.py:50
Function
capture_screen_with_cursor
Capture screenshot (including mouse cursor)
openspace/local_server/main.py:597
Method
capture_screenshot_with_cursor
Use pyautogui + pyxcursor to capture screenshot (including cursor) Args: output_path: Output file path
openspace/local_server/platform_adapters/linux_adapter.py:27
Method
capture_screenshot_with_cursor
Capture screenshot using ImageGrab (including cursor) Args: output_path: Output file path R
openspace/local_server/platform_adapters/windows_adapter.py:29
Method
capture_to_base64
Capture screenshot and convert to base64 Args: with_cursor: Whether to include cursor Retur
openspace/local_server/utils/screenshot.py:111
Method
capture_to_file
(self, output_path: str)
openspace/platforms/screenshot.py:117
Method
check_accessibility
Test accessibility tree
openspace/local_server/health_checker.py:357
Method
check_bash_script
Functionally test Bash script execution
openspace/local_server/health_checker.py:227
← previous
next →
1,601–1,700 of 2,195, ranked by callers