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
↓ 1,428 callers
Method
get
(self, backend: BackendType)
openspace/grounding/core/provider.py:142
↓ 364 callers
Method
info
(self)
openspace/grounding/core/session.py:110
↓ 108 callers
Function
colorize
(text: str, color: str = '', bold: bool = False)
openspace/utils/display.py:66
↓ 92 callers
Method
get_logger
Return a logger with *name* (defaults to ``openspace``). The first call triggers :meth:`configure` automatically.
openspace/utils/logging.py:124
↓ 89 callers
Method
execute
Execute tool and auto-capture screenshot.
openspace/platforms/screenshot.py:233
↓ 79 callers
Method
filter
(self, record)
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:333
↓ 63 callers
Function
escapeHtml
(str: string)
showcase/my-daily-monitor/src/utils/format.ts:37
↓ 58 callers
Method
add
()
showcase/my-daily-monitor/src/components/DevOpsPanel.ts:515
↓ 52 callers
Method
text_line
(self, text: str, align: str = 'left', indent: int = 2, text_color: str = '')
openspace/utils/display.py:134
↓ 46 callers
Method
resolve
Priority: user_value → config → default
openspace/grounding/core/search_tools.py:608
↓ 44 callers
Function
get_config_value
(config: Any, key: str, default=None)
openspace/config/utils.py:6
↓ 44 callers
Method
run
(self, **kwargs)
openspace/grounding/core/tool/base.py:127
↓ 35 callers
Function
_optional_str
(value: Any)
openspace/communication/adapters/feishu.py:759
↓ 31 callers
Method
write
( self, *, gateway_state: str, platforms: dict[str, dict[str, Any]], f
openspace/communication/gateway_runtime.py:261
↓ 26 callers
Method
load
Load cache from disk. Returns empty dict if not exists.
openspace/grounding/backends/mcp/tool_cache.py:54
↓ 24 callers
Method
read
(self)
openspace/communication/gateway_runtime.py:280
↓ 24 callers
Method
setFetching
(v: boolean)
showcase/my-daily-monitor/src/components/Panel.ts:370
↓ 23 callers
Method
clear
(cls)
openspace/agents/base.py:192
↓ 23 callers
Function
getSecret
(key: SecretKey)
showcase/my-daily-monitor/src/services/settings-store.ts:31
↓ 21 callers
Method
setDataBadge
(state: 'live' | 'cached' | 'unavailable', detail?: string)
showcase/my-daily-monitor/src/components/Panel.ts:338
↓ 20 callers
Function
_maybe_set_str
(target: Any, field_name: str, raw: Optional[str])
openspace/communication/config.py:370
↓ 19 callers
Method
_reader
Open a temporary read-only connection. WAL mode allows concurrent readers and one writer. Each read operation gets its own connection
openspace/skill_engine/store.py:226
↓ 19 callers
Method
setCount
(count: number)
showcase/my-daily-monitor/src/components/Panel.ts:327
↓ 18 callers
Method
bottom_line
(self, indent: int = 2)
openspace/utils/display.py:110
↓ 17 callers
Method
format
(self, record: logging.LogRecord)
openspace/utils/logging.py:69
↓ 16 callers
Method
separator_line
(self, indent: int = 2)
openspace/utils/display.py:119
↓ 15 callers
Method
search
Run the full search pipeline on candidates. Each candidate dict should have at minimum: - ``skill_id``, ``name``, ``description``
openspace/cloud/search.py:99
↓ 15 callers
Method
setContent
(html: string)
showcase/my-daily-monitor/src/components/Panel.ts:320
↓ 15 callers
Method
showError
(message = 'Failed to load', onRetry?: () => void, autoRetrySeconds?: number)
showcase/my-daily-monitor/src/components/Panel.ts:287
↓ 14 callers
Function
humanizeToken
(value: string)
frontend/src/pages/WorkflowDetailPage.tsx:77
↓ 13 callers
Function
_pct
Percentage savings: (a - b) / a * 100. Positive = saved.
gdpval_bench/run_benchmark.py:784
↓ 13 callers
Method
complete
Single-round LLM call with optional tool execution. Args: messages: conversation history (List[Dict] for standar
openspace/llm/client.py:619
↓ 13 callers
Function
getPreferences
()
showcase/my-daily-monitor/src/services/settings-store.ts:80
↓ 13 callers
Function
print_separator
(width: int = 68, color: str = 'bl', indent: int = 2)
openspace/utils/display.py:233
↓ 12 callers
Function
_json_error
(error: Any, **extra)
openspace/mcp_server.py:525
↓ 12 callers
Method
_send_jsonrpc_request
Send a JSON-RPC request and return the result. Args: method: The JSON-RPC method name (e.g., "tools/list", "tools/call")
openspace/grounding/backends/mcp/transport/connectors/http.py:385
↓ 12 callers
Method
close
(self)
openspace/communication/runtime_manager.py:65
↓ 12 callers
Function
formatDate
(value?: string | null)
frontend/src/utils/format.ts:5
↓ 11 callers
Method
_ensure_open
(self)
openspace/skill_engine/store.py:309
↓ 11 callers
Method
empty_line
(self, indent: int = 2)
openspace/utils/display.py:125
↓ 11 callers
Function
get_config
Get global configuration instance. Usage: - Get configuration in Provider: get_config().get_backend_config('shell') - Ge
openspace/config/loader.py:118
↓ 11 callers
Method
refresh
()
showcase/my-daily-monitor/src/components/WebPanel.ts:139
↓ 11 callers
Function
scrollToPanel
(id: string)
showcase/my-daily-monitor/src/main.ts:287
↓ 10 callers
Method
__aexit__
Exit the async context manager. Args: exc_type: The exception type, if an exception was raised. exc_val: The exceptio
openspace/grounding/core/session.py:45
↓ 10 callers
Function
_maybe_set_bool
(target: Any, field_name: str, raw: Optional[str])
openspace/communication/config.py:335
↓ 10 callers
Method
build
(self, title: Optional[str] = None, lines: List[str] = None, footer
openspace/utils/display.py:164
↓ 10 callers
Method
record_step
Record one step operation Args: backend: backend type (gui/shell/mcp/web/system) tool: tool name (na
openspace/recording/recorder.py:72
↓ 10 callers
Method
save
Save tool metadata to disk (overwrites existing cache). Args: servers: Dict mapping server_name -> list of tool
openspace/grounding/backends/mcp/tool_cache.py:73
↓ 9 callers
Function
_maybe_set_int
(target: Any, field_name: str, raw: Optional[str])
openspace/communication/config.py:345
↓ 9 callers
Function
_optional_str
(value: Any)
openspace/communication/adapters/whatsapp.py:445
↓ 9 callers
Method
add_metadata
(self, key: str, value: Any)
openspace/recording/manager.py:926
↓ 9 callers
Method
close
Close the persistent connection. Subsequent ops will raise. Performs a WAL checkpoint before closing so that all committed data is fl
openspace/skill_engine/store.py:280
↓ 9 callers
Function
extractTag
(xml: string, tag: string)
showcase/my-daily-monitor/server/routes/news.ts:79
↓ 9 callers
Function
formatTime
(date: Date)
showcase/my-daily-monitor/src/utils/format.ts:1
↓ 9 callers
Method
list_skills
List all discovered skills.
openspace/skill_engine/registry.py:179
↓ 8 callers
Method
_ensure_connected
Ensure the connector is connected.
openspace/grounding/backends/mcp/transport/connectors/http.py:581
↓ 8 callers
Method
_record_webhook_anomaly
(self, remote_ip: str, status: str)
openspace/communication/adapters/feishu.py:738
↓ 8 callers
Method
_request
( self, method: str, path: str, *, json: Any | BaseModel | None = None
openspace/grounding/core/transport/connectors/aiohttp_connector.py:31
↓ 8 callers
Method
clear
Delete all quality data.
openspace/grounding/core/quality/store.py:195
↓ 8 callers
Function
compute_unified_diff
Unified diff (git diff format) between two strings.
openspace/skill_engine/patch.py:903
↓ 8 callers
Method
flush
Flush any queued telemetry events
openspace/utils/telemetry/telemetry.py:289
↓ 8 callers
Function
getString
(value: unknown)
frontend/src/pages/WorkflowDetailPage.tsx:52
↓ 8 callers
Method
get_trajectory_dir
Get trajectory directory path
openspace/recording/recorder.py:274
↓ 8 callers
Function
gn
(q: string)
showcase/my-daily-monitor/server/routes/news.ts:15
↓ 8 callers
Method
renderBody
()
showcase/my-daily-monitor/src/components/DevOpsPanel.ts:310
↓ 8 callers
Method
renderChat
()
showcase/my-daily-monitor/src/components/InsightsPanel.ts:327
↓ 7 callers
Method
__init__
(self, session: "ShellSession")
openspace/grounding/backends/shell/session.py:239
↓ 7 callers
Function
_collect_files
Collect all text files in a directory (recursive). Excludes the ``.skill_id`` sidecar (internal metadata, not skill content).
openspace/skill_engine/patch.py:961
↓ 7 callers
Method
_ensure_connected
Ensure the connector is connected, reconnecting if necessary. Raises: RuntimeError: If connection cannot be established and auto_
openspace/grounding/backends/mcp/transport/connectors/base.py:218
↓ 7 callers
Function
_get_store
()
openspace/dashboard_server.py:257
↓ 7 callers
Method
add_log
Add log message
openspace/utils/ui.py:397
↓ 7 callers
Function
ago
(mins: number)
showcase/my-daily-monitor/src/services/office.ts:94
↓ 7 callers
Method
bind_runtime_info
Bind runtime information to the tool instance. Allow the tool to be invoked directly without specifying backend/session/server.
openspace/grounding/core/tool/base.py:163
↓ 7 callers
Method
cleanup
Close all sessions and release resources. Automatically called when using context manager.
openspace/tool_layer.py:913
↓ 7 callers
Function
feishuGet
(path: string, token: string, params: Record<string, string> = {})
showcase/my-daily-monitor/server/routes/feishu.ts:40
↓ 7 callers
Method
list_tools
List tools from backend(s) or session. 1. session_name is provided → return tools from that session 2. backend is li
openspace/grounding/core/grounding_client.py:456
↓ 7 callers
Function
load_agent_actions
Load agent actions from a trajectory directory.
openspace/recording/action_recorder.py:168
↓ 7 callers
Function
load_jsonl
(path: Path)
gdpval_bench/calc_subset_performance.py:76
↓ 7 callers
Method
load_record
Load a single :class:`SkillRecord` by id.
openspace/skill_engine/store.py:677
↓ 7 callers
Function
reset_call_source
Reset call source to its previous value.
gdpval_bench/token_tracker.py:75
↓ 7 callers
Method
write
Write to stderr, filtering out harmless error messages. Args: s: The string to write Returns:
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:45
↓ 6 callers
Function
_coerce_env_value
(value: Any)
openspace/host_detection/openclaw.py:127
↓ 6 callers
Function
_get_openspace
Lazy-initialise the OpenSpace engine.
openspace/mcp_server.py:129
↓ 6 callers
Function
_json_ok
(data: Any)
openspace/mcp_server.py:521
↓ 6 callers
Method
_parse_arguments
Safely parse tool_call.function.arguments which may be JSON string. Handles: 1. Proper JSON strings with true/false/null 2. P
openspace/recording/manager.py:445
↓ 6 callers
Function
_parse_shell_result
Parse a connector result dict into ``(stdout, stderr, returncode)``.
openspace/grounding/backends/shell/session.py:17
↓ 6 callers
Method
_request
Execute HTTP request. Returns ``(status_code, response_body)``.
openspace/cloud/client.py:71
↓ 6 callers
Function
_results_dir
(cfg: Dict)
gdpval_bench/run_benchmark.py:132
↓ 6 callers
Method
_send_request
Send a request and wait for a response.
openspace/grounding/backends/mcp/transport/connectors/websocket.py:169
↓ 6 callers
Function
_stats
(lst: list)
gdpval_bench/run_benchmark.py:952
↓ 6 callers
Method
_to_record
Deserialize a skill_records row + related rows → SkillRecord.
openspace/skill_engine/store.py:1373
↓ 6 callers
Function
escapeHtml
* Escape HTML to prevent XSS
showcase/my-daily-monitor/src/components/CommandPalette.ts:301
↓ 6 callers
Function
fetchNews
()
showcase/my-daily-monitor/src/services/news.ts:28
↓ 6 callers
Method
flush
Flush any remaining buffered content and the underlying stream.
openspace/grounding/backends/mcp/transport/task_managers/stdio.py:206
↓ 6 callers
Function
formatCurrency
(amount: number, currency = 'CNY')
showcase/my-daily-monitor/src/utils/format.ts:43
↓ 6 callers
Method
initialize
(self)
openspace/tool_layer.py:102
↓ 6 callers
Method
is_initialized
(self)
openspace/tool_layer.py:952
↓ 6 callers
Method
load_all
Load skill records, keyed by ``skill_id``. Args: active_only: If True, only return records with ``is_active=True``.
openspace/skill_engine/store.py:687
↓ 6 callers
Function
load_recording_session
Load complete recording session including trajectory, metadata, plans, and snapshots. Args: recording_dir: Path to recording dir
openspace/recording/utils.py:176
↓ 6 callers
Method
renderTabs
()
showcase/my-daily-monitor/src/components/DevOpsPanel.ts:221
next →
1–100 of 2,195, ranked by callers