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 callers
Function
derive_skill
Derive a new skill from one or more existing skills. **Single parent** (``source_dirs`` is one Path): Copies parent directory → applies LLM
openspace/skill_engine/patch.py:181
↓ 1 callers
Function
describeEvent
(e: any)
showcase/my-daily-monitor/server/routes/github.ts:188
↓ 1 callers
Function
describeTimelineEvent
(event: WorkflowTimelineEvent)
frontend/src/pages/WorkflowDetailPage.tsx:289
↓ 1 callers
Method
disconnect
Close the session/connection and reset state. Ensures proper cleanup of all resources including aiohttp sessions.
openspace/grounding/core/transport/connectors/base.py:54
↓ 1 callers
Method
disconnect
Close the session/connection and reset state.
openspace/grounding/backends/mcp/transport/connectors/http.py:121
↓ 1 callers
Method
disconnect
(self)
openspace/grounding/backends/web/session.py:56
↓ 1 callers
Method
disconnect
(self)
openspace/communication/adapters/feishu.py:145
↓ 1 callers
Method
discover_from_dirs
Discover skills from additional directories and add to the registry. Unlike :meth:`discover`, this does **NOT** clear existing skills — it
openspace/skill_engine/registry.py:240
↓ 1 callers
Function
displayName
Show name — if it's a raw open_id, show "User" instead of hiding
showcase/my-daily-monitor/src/components/FeishuPanel.ts:21
↓ 1 callers
Function
durationToSeconds
Parse a duration string like "2h 15m" or "0m 12s" to total seconds.
showcase/my-daily-monitor/src/components/DevOpsPanel.ts:100
↓ 1 callers
Method
end_task
Stop per-task tracking, return its stats, reset ContextVar.
gdpval_bench/token_tracker.py:271
↓ 1 callers
Function
ensureContainer
()
showcase/my-daily-monitor/src/components/BreakingNewsBanner.ts:23
↓ 1 callers
Method
ensure_dependencies
Ensure the dependencies of the MCP server are installed. This method checks if the dependencies are installed, and if not, asks the u
openspace/grounding/backends/mcp/installer.py:539
↓ 1 callers
Method
ensure_initialized
(self)
openspace/communication/runtime_manager.py:33
↓ 1 callers
Method
ensure_session
(self, backend: BackendType, server: str | None = None)
openspace/grounding/core/grounding_client.py:331
↓ 1 callers
Method
enterFullscreen
()
showcase/my-daily-monitor/src/components/WebPanel.ts:92
↓ 1 callers
Method
evaluate_description
Evaluate tool description quality using LLM.
openspace/grounding/core/quality/manager.py:294
↓ 1 callers
Method
evolution_captured
Build the prompt for a CAPTURED evolution (brand-new skill). Args: direction: What pattern to capture. category: Desi
openspace/prompts/skill_engine_prompts.py:64
↓ 1 callers
Method
evolution_confirm
Build the prompt for LLM confirmation of rule-based evolution candidates. Used by Trigger 2 (tool degradation) and Trigger 3 (metric monitor)
openspace/prompts/skill_engine_prompts.py:86
↓ 1 callers
Method
evolution_derived
Build the prompt for a DERIVED evolution (enhanced version). Args: parent_content: Parent SKILL.md content. direction
openspace/prompts/skill_engine_prompts.py:39
↓ 1 callers
Method
evolution_fix
Build the prompt for a FIX evolution (in-place repair). Args: current_content: Current SKILL.md content. direction: W
openspace/prompts/skill_engine_prompts.py:11
↓ 1 callers
Method
evolve
Run self-evolution cycle on given tools. This method: 1. Detects tool changes 2. Re-evaluates descriptions w
openspace/grounding/core/quality/manager.py:791
↓ 1 callers
Method
evolve_quality
Run quality self-evolution cycle. This triggers: - Tool change detection - Description re-evaluation for upd
openspace/grounding/core/grounding_client.py:173
↓ 1 callers
Function
executePython
(code: string)
showcase/my-daily-monitor/server/routes/system.ts:338
↓ 1 callers
Method
execute_action
Direct action execution (bypass LLM planning). Args: action_type: Action type from ACTION_SPACE para
openspace/grounding/backends/gui/tool.py:531
↓ 1 callers
Method
execute_action
Execute a desktop action (same logic as GUIConnector).
openspace/grounding/backends/gui/transport/local_connector.py:258
↓ 1 callers
Method
execute_action
Execute a desktop action. This is the main method for action space execution. Args: action_type: Action
openspace/grounding/backends/gui/transport/connector.py:255
↓ 1 callers
Method
execute_safe
(self, command: str, **kwargs)
openspace/grounding/core/security/sandbox.py:23
↓ 1 callers
Method
execution_analysis
Build the prompt for post-execution skill quality analysis. Args: task_description: Human-readable description of the task.
openspace/prompts/skill_engine_prompts.py:118
↓ 1 callers
Function
expandWhatsAppIdentifiers
(identifier, sessionDir)
openspace/communication/bridges/whatsapp/allowlist.js:36
↓ 1 callers
Function
extractContextInfo
(message)
openspace/communication/bridges/whatsapp/bridge.js:176
↓ 1 callers
Function
extractItems
(xml: string)
showcase/my-daily-monitor/server/routes/news.ts:112
↓ 1 callers
Function
extract_errors
(trajectory: List[Dict[str, Any]])
openspace/recording/utils.py:268
↓ 1 callers
Method
fallbackIPLocation
()
showcase/my-daily-monitor/src/components/WeatherPanel.ts:96
↓ 1 callers
Function
feishuTime
Format like Feishu: today → "15:13", yesterday → "Yesterday", older → "Mar 9"
showcase/my-daily-monitor/src/components/FeishuPanel.ts:6
↓ 1 callers
Function
fetchEmails
()
showcase/my-daily-monitor/src/services/email.ts:19
↓ 1 callers
Function
fetchFeishuMessages
()
showcase/my-daily-monitor/src/services/feishu.ts:33
↓ 1 callers
Function
fetchFinnhub
(symbol: string, apiKey: string)
showcase/my-daily-monitor/server/routes/stock.ts:17
↓ 1 callers
Function
fetchRecentDocuments
* Fetch recent documents from Microsoft Graph API.
showcase/my-daily-monitor/server/routes/office.ts:91
↓ 1 callers
Function
fetchWorkflowRuns
()
showcase/my-daily-monitor/src/services/code-status.ts:27
↓ 1 callers
Function
fetchYahoo
(symbol: string)
showcase/my-daily-monitor/server/routes/stock.ts:35
↓ 1 callers
Method
fetch_record
GET /records/{record_id} — fetch record metadata.
openspace/cloud/client.py:120
↓ 1 callers
Method
final_summary
Build prompt for generating final summary across all iterations.
openspace/prompts/grounding_agent_prompts.py:198
↓ 1 callers
Method
find_dangerous_tokens
Find and return all dangerous tokens in the command. Returns empty list if no dangerous tokens found.
openspace/grounding/core/types.py:181
↓ 1 callers
Method
find_record_by_key
Find a record by exact or partial tool key. Tries in order: 1. Exact match (3-part ``backend:server:tool`` or 2-part) 2.
openspace/grounding/core/quality/manager.py:160
↓ 1 callers
Method
find_skills_by_tool
Only returns active records — deactivated (superseded) versions are excluded so that Trigger 2 never re-processes old versions.
openspace/skill_engine/store.py:867
↓ 1 callers
Function
fix_skill
In-place repair of an existing skill directory. Applies the LLM output to the skill directory, overwrites files on disk, returns a combined d
openspace/skill_engine/patch.py:126
↓ 1 callers
Method
flushStaleRefreshes
()
showcase/my-daily-monitor/src/services/refresh-scheduler.ts:167
↓ 1 callers
Method
fmtScore
(n: number)
showcase/my-daily-monitor/src/components/SocialPanel.ts:90
↓ 1 callers
Function
focusTab
(index: number)
frontend/src/components/skill-detail/DiffViewer.tsx:149
↓ 1 callers
Function
formatChange
(change: number | null)
showcase/my-daily-monitor/src/utils/format.ts:26
↓ 1 callers
Function
formatDate
(date: Date)
showcase/my-daily-monitor/src/utils/format.ts:47
↓ 1 callers
Function
formatDurationSeconds
(value?: number | null)
frontend/src/pages/WorkflowDetailPage.tsx:26
↓ 1 callers
Function
formatOutgoingMessage
(message)
openspace/communication/bridges/whatsapp/bridge.js:127
↓ 1 callers
Function
formatPercent
(value: number)
frontend/src/pages/WorkflowDetailPage.tsx:48
↓ 1 callers
Function
formatPrice
(price: number)
showcase/my-daily-monitor/src/utils/format.ts:19
↓ 1 callers
Method
formatUptime
* Format uptime seconds into human-readable string
showcase/my-daily-monitor/src/components/SystemHealthPanel.ts:117
↓ 1 callers
Method
formatUrl
* Format URL for display (remove protocol, truncate if too long)
showcase/my-daily-monitor/src/components/SystemHealthPanel.ts:134
↓ 1 callers
Function
format_agent_actions
Format agent actions for display.
openspace/recording/action_recorder.py:223
↓ 1 callers
Function
format_conversations
Format ``conversations.jsonl`` entries into a readable text block. Uses priority-based truncation instead of simple tail-truncation. When to
openspace/skill_engine/conversation_formatter.py:29
↓ 1 callers
Function
fuzzy_find_match
Locate *find* in *content* using the replacer chain. Returns ``(matched_text, position)`` where *matched_text* is the actual substring of *co
openspace/skill_engine/fuzzy_match.py:258
↓ 1 callers
Function
generateDailyBriefing
(data: { emails: Array<{ from: string; subject: string }>; events: Array<{ title: string; startTime: strin
showcase/my-daily-monitor/src/services/ai-summary.ts:145
↓ 1 callers
Method
generate_summary
Generate a comprehensive summary of the recording session.
openspace/recording/manager.py:1055
↓ 1 callers
Function
generate_summary_report
(recording_dir: str, output_file: Optional[str] = None)
openspace/recording/utils.py:275
↓ 1 callers
Function
geolocateUrl
(url: string)
showcase/my-daily-monitor/src/main.ts:365
↓ 1 callers
Function
getAccessToken
* Exchange client credentials for Microsoft Graph access token.
showcase/my-daily-monitor/server/routes/office.ts:43
↓ 1 callers
Function
getAccessToken
(clientId: string, clientSecret: string, refreshToken: string)
showcase/my-daily-monitor/server/routes/calendar.ts:10
↓ 1 callers
Function
getAllSecrets
()
showcase/my-daily-monitor/src/services/settings-store.ts:46
↓ 1 callers
Method
getBarColor
* Get bar fill color based on thresholds
showcase/my-daily-monitor/src/components/SystemHealthPanel.ts:108
↓ 1 callers
Method
getCachedOrDefault
(defaultValue: T)
showcase/my-daily-monitor/src/utils/circuit-breaker.ts:56
↓ 1 callers
Function
getChangeClass
(change: number | null)
showcase/my-daily-monitor/src/utils/format.ts:32
↓ 1 callers
Method
getColor
(type: MapMarker['type'])
showcase/my-daily-monitor/src/components/MapPanel.ts:207
↓ 1 callers
Function
getCommandPreview
(command?: string | null, max = 140)
frontend/src/pages/WorkflowDetailPage.tsx:141
↓ 1 callers
Function
getCommandTitle
(command?: string | null)
frontend/src/pages/WorkflowDetailPage.tsx:128
↓ 1 callers
Function
getCpuLoad
* Calculate CPU load average as percentage (0-100) * Uses 1-minute load average normalized by CPU count
showcase/my-daily-monitor/server/routes/health.ts:65
↓ 1 callers
Function
getDemoFinance
()
showcase/my-daily-monitor/src/services/finance.ts:112
↓ 1 callers
Method
getElement
()
showcase/my-daily-monitor/src/components/Panel.ts:272
↓ 1 callers
Function
getEventTone
(event: WorkflowTimelineEvent)
frontend/src/pages/WorkflowDetailPage.tsx:253
↓ 1 callers
Function
getGmailAccessToken
(clientId: string, clientSecret: string, refreshToken: string)
showcase/my-daily-monitor/server/routes/email.ts:10
↓ 1 callers
Function
getGridColumnCount
(el: HTMLElement)
showcase/my-daily-monitor/src/components/Panel.ts:56
↓ 1 callers
Function
getMarkerClasses
(tone: TimelineTone)
frontend/src/pages/WorkflowDetailPage.tsx:260
↓ 1 callers
Function
getMemoryUsage
* Calculate memory usage percentage
showcase/my-daily-monitor/server/routes/health.ts:75
↓ 1 callers
Method
getMetricColor
* Get color for metric value based on thresholds * Green: 0-60%, Yellow: 60-80%, Red: 80-100%
showcase/my-daily-monitor/src/components/SystemHealthPanel.ts:99
↓ 1 callers
Function
getMsCredentials
* Get Microsoft credentials from settings store. * This is a placeholder - replace with your actual settings store access.
showcase/my-daily-monitor/src/services/office.ts:25
↓ 1 callers
Function
getSavedLanguage
()
frontend/src/i18n/index.ts:8
↓ 1 callers
Method
getSourceColor
(source: string)
showcase/my-daily-monitor/src/components/NewsPanel.ts:117
↓ 1 callers
Function
getStatusTone
(status?: string)
frontend/src/pages/WorkflowDetailPage.tsx:243
↓ 1 callers
Function
getStringArray
(value: unknown)
frontend/src/pages/WorkflowDetailPage.tsx:19
↓ 1 callers
Function
getSystemUptime
* Get system uptime in seconds
showcase/my-daily-monitor/server/routes/health.ts:86
↓ 1 callers
Function
getTenantToken
(appId: string, appSecret: string)
showcase/my-daily-monitor/server/routes/feishu.ts:21
↓ 1 callers
Method
getTypeLabel
(type: MapMarker['type'])
showcase/my-daily-monitor/src/components/MapPanel.ts:229
↓ 1 callers
Method
get_accessibility_tree
Get accessibility tree locally.
openspace/grounding/backends/gui/transport/local_connector.py:319
↓ 1 callers
Method
get_accessibility_tree
Get accessibility tree from desktop environment. Args: max_depth: Maximum depth of accessibility tree traversal
openspace/grounding/backends/gui/transport/connector.py:325
↓ 1 callers
Method
get_accessibility_tree
Get macOS accessibility tree Args: max_depth: Maximum depth Returns: Accessibil
openspace/local_server/platform_adapters/macos_adapter.py:161
↓ 1 callers
Function
get_agent_config
Get the configuration of the specified agent
openspace/config/loader.py:151
↓ 1 callers
Method
get_all_sanitized_tools
Get all sanitized cached tools, grouped by server.
openspace/grounding/backends/mcp/tool_cache.py:226
↓ 1 callers
Method
get_bytes
(self, path: str, **kw)
openspace/grounding/core/transport/connectors/aiohttp_connector.py:63
↓ 1 callers
Method
get_cache_stats
Get statistics about the embedding cache. Returns: Dict with structure: { "total_embeddings": int,
openspace/grounding/core/search_tools.py:427
↓ 1 callers
Method
get_clickable_elements
(self, tree: Dict[str, Any])
openspace/local_server/utils/accessibility.py:115
↓ 1 callers
Method
get_cursor_position
Get current mouse cursor position. Useful for GUI debugging and relative positioning. Returns: (x, y) tu
openspace/grounding/backends/gui/transport/connector.py:349
← previous
next →
1,001–1,100 of 2,195, ranked by callers