MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 4 callersFunctionhexToRgb
(hex: string)
dashboard/src/styles/themePalettes.ts:279
↓ 4 callersFunctionhitl_tool_catalog
Built-in tools eligible for human-in-the-loop approval (excludes must-use internals).
src/octop/i18n/domains/tools.py:109
↓ 4 callersFunctionhost_system_dir
(workspace_dir: Path, cfg: dict[str, Any] | None)
src/octop/infra/agents/workspace_dir.py:325
↓ 4 callersFunctionhttp_error_message
(response: httpx.Response)
src/octop/infra/connectors/probe.py:77
↓ 4 callersFunctionimport_workspace_zip
Import a zip archive into the workspace.
src/octop/infra/backup/workspace_archive.py:148
↓ 4 callersMethodinstall_archive
Install a plugin from a local ZIP archive. The archive must contain exactly one plugin directory (at the zip root or in a single top-
src/octop/infra/agents/plugins/manager.py:453
↓ 4 callersFunctioninstall_packages
Install *spec* into the running interpreter with multiple fallbacks.
src/octop/infra/utils/runtime_packages.py:204
↓ 4 callersMethodinstall_url
(self, url: str, *, force: bool = False)
src/octop/infra/agents/plugins/manager.py:492
↓ 4 callersMethodinterpret
(self, body: dict[str, Any], *, min_score: float)
tests/unit/auth/test_captcha_providers.py:72
↓ 4 callersFunctionisChunkLoadError
(error: unknown)
dashboard/src/utils/reloadOnStaleChunk.ts:36
↓ 4 callersFunctionisCuratedPalette
(value: string)
dashboard/src/styles/themePalettes.ts:32
↓ 4 callersFunctionisEditableKnowledgeDocument
(doc: { is_dir?: boolean; content_type?: string; filename?: string; })
dashboard/src/utils/knowledgeDocPreview.ts:6
↓ 4 callersFunctionisHostAbsolutePath
(path: string)
dashboard/src/utils/workspaceIoPath.ts:25
↓ 4 callersFunctionisPendingThread
(threadId: string)
dashboard/src/pages/Chat/hooks/useSessions.ts:159
↓ 4 callersFunctionisSensitiveKey
(key: string)
dashboard/src/pages/Settings/Environments/utils/sensitive.ts:33
↓ 4 callersFunctionisWriteTodosToolName
(name: string | undefined)
dashboard/src/utils/parseWriteTodos.ts:29
↓ 4 callersFunctionis_issue_eligible
(config: OctopConfig)
src/octop/infra/setup/tls/modes.py:35
↓ 4 callersFunctionis_vision_model
True when a model entry declares or conventionally supports image input.
src/octop/infra/agents/providers/model_flags.py:94
↓ 4 callersFunctionis_workspace_image_ref
True when *block* is a path-only vision ref (not yet a data URI).
src/octop/infra/gateway/media/attachment_hints.py:265
↓ 4 callersFunctioniter_dashboard_hitl_resume_sse
Stream dashboard HITL resume chunks and persist any nested ``hitl_required``. Follow-up interrupts during resume must land in the pending store s
src/octop/api/routers/chat/routes.py:93
↓ 4 callersFunctionjoinKnowledgePath
(prefix: string, name: string)
dashboard/src/utils/knowledgePath.ts:29
↓ 4 callersFunctionjoinPath
(dir: string, name: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:196
↓ 4 callersFunctionkindLabelFor
(kind: string)
dashboard/src/pages/Chat/utils/trajectoryModel.ts:52
↓ 4 callersFunctionlaunchd_bootstrap_target
Return the launchd domain-target for `launchctl bootstrap`. Unlike :func:`launchd_domain` this is the *target* (``gui/$UID``, ``system``), no
src/octop/infra/setup/service.py:155
↓ 4 callersFunctionlistAgentSubagents
( agentId: string, )
dashboard/src/api/modules/subagents.ts:72
↓ 4 callersFunctionlistAtomsResp
(items: AtomItem[])
dashboard/src/test/memoryFixtures.ts:126
↓ 4 callersFunctionlistDockFilePathsForTree
( paths: string[], agentId?: string | null, )
dashboard/src/pages/Chat/utils/dockFilePath.ts:131
↓ 4 callersMethodlist_by_kind
(self, kind: str)
src/octop/infra/db/repos/connectors.py:148
↓ 4 callersFunctionlist_devices
(*, adb: str | None = None)
src/octop/infra/mobile/adb.py:45
↓ 4 callersMethodlist_skill_summaries
( self, pack_id: str, *, locale: Locale | None = None, )
src/octop/infra/skills/skill_package_store.py:89
↓ 4 callersMethodlist_sso_identities
(self, user_id: int)
src/octop/infra/db/repos/users.py:157
↓ 4 callersFunctionlist_workspace_skill_summaries
Scan ``skills/`` including ``.octop/skills`` and symlinked directories.
src/octop/infra/skills/workspace_catalog.py:131
↓ 4 callersFunctionloadConfig
()
src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/run.js:615
↓ 4 callersFunctionload_config
(settings_get: Any)
src/octop/infra/agents/providers/onnx_service.py:343
↓ 4 callersFunctionload_ocr_config
(settings_get: Any)
src/octop/infra/knowledge/ocr.py:63
↓ 4 callersFunctionload_provider_presets
Serialize harness-agent provider templates for API / CLI.
src/octop/infra/agents/providers/presets.py:214
↓ 4 callersFunctionlocal_ocr_deps_available
()
src/octop/infra/knowledge/ocr.py:73
↓ 4 callersMethodlocalized_message
(self, locale: str | Locale, **kwargs: object)
src/octop/infra/errors.py:230
↓ 4 callersMethodlog
(self)
src/octop/infra/utils/paths.py:32
↓ 4 callersFunctionlogin
( client: httpx.AsyncClient, *, username: str = "admin", password: str = TEST_PASSWORD, )
tests/support/auth.py:59
↓ 4 callersFunctionmakeAtom
(overrides: Partial<AtomItem> = {})
dashboard/src/test/memoryFixtures.ts:35
↓ 4 callersFunctionmarkDirty
()
dashboard/src/pages/Experts/components/WelcomeConfig.tsx:79
↓ 4 callersFunctionmcp_oauth_kinds
()
src/octop/infra/connectors/oauth/mcp.py:26
↓ 4 callersFunctionmedia_backend_for_agent
harness-gateway ``MediaBackend`` adapter for IM channel ingress.
src/octop/infra/gateway/process/agent_resolve.py:30
↓ 4 callersFunctionmemory_db_path
Return the default SQLite file path within an agent workspace. Prefer an explicit on-disk file. When neither exists, treat a populated ``.oct
src/octop/api/common/memory_client.py:31
↓ 4 callersFunctionmemory_db_path_for_cfg
Return the default SQLite file path for a specific agent config.
src/octop/api/common/memory_client.py:49
↓ 4 callersMethodmerge
(self, user_id: int, updates: Mapping[str, str | None])
src/octop/infra/db/repos/user_policies.py:84
↓ 4 callersFunctionmerge_knowledge_base_ids
Use the actor's own default-open bases when a turn omits a list. ``default_open`` is per-owner preference: shared bases marked default-open a
src/octop/infra/knowledge/default_open.py:11
↓ 4 callersFunctionmerge_mcp_servers_with_defaults
Resolve turn MCP servers. - ``apply_defaults=True``: always union explicit picks with defaults (Cron / IM). - ``apply_defaults=False``: trust
src/octop/infra/connectors/default_open.py:36
↓ 4 callersFunctionmerge_plugins_tool_settings
Merge plugin tool ``enabled`` / ``config`` without dropping other keys. Used by both Admin Plugins and Experts → Tools so they share one storage
src/octop/infra/agents/plugin_tool_defaults.py:41
↓ 4 callersFunctionmodelOptionValue
(m: ModelPickerOption)
dashboard/src/utils/modelOptions.ts:16
↓ 4 callersFunctionnormSlug
(slug: string)
dashboard/src/pages/Chat/utils/skillSlash.ts:25
↓ 4 callersFunctionnormalize_skill_files
Validate and canonicalize source-relative skill files.
src/octop/infra/skills/skill_packages.py:68
↓ 4 callersFunctionnormalize_task_examples_for_display
Keep display lists at 3 or 6 entries; 4–5 truncate to 3, extras cap at 6.
src/octop/infra/agents/experts/catalog.py:573
↓ 4 callersFunctionnormalize_tools
(raw: list[Any] | None)
src/octop/infra/connectors/probe.py:60
↓ 4 callersFunctionoauth_ready_for_kind
(kind: str, settings_repo: Any)
src/octop/infra/connectors/oauth/registry.py:67
↓ 4 callersMethodobserve
()
dashboard/src/pages/Chat/hooks/useAutoScroll.test.ts:51
↓ 4 callersFunctiononChanged
(event: Event)
dashboard/src/hooks/useUpdateStatus.ts:71
↓ 4 callersFunctionopenUrl
(url: string | null | undefined)
dashboard/src/pages/Agent/Connectors/index.tsx:435
↓ 4 callersFunctionopenWs
(session: TerminalSession)
dashboard/src/pages/Control/Terminal/useTerminal.ts:241
↓ 4 callersFunctionorderedRange
(a: number, b: number)
dashboard/src/pages/Chat/utils/trajectoryTimeline.ts:21
↓ 4 callersFunctionownedExperts
(agents: T[])
dashboard/src/utils/sharedExpert.ts:32
↓ 4 callersFunctionparentDir
(path: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:190
↓ 4 callersFunctionparseStoredColor
( color: string | null | undefined, )
dashboard/src/utils/expertColor.ts:71
↓ 4 callersFunctionparseSubagentForm
( content: string, slugFallback = "", )
dashboard/src/pages/Experts/components/SubagentDrawer.tsx:86
↓ 4 callersFunctionparseToolExecutionFeedback
( rawOutput: string | undefined, )
dashboard/src/utils/toolMediaBlocks.ts:424
↓ 4 callersFunctionparse_checkpoint_ts_ms
Normalize a checkpoint/created_at value to epoch milliseconds.
src/octop/infra/gateway/process/message_keys.py:21
↓ 4 callersMethodparse_config_json
(row: ConnectorRow)
src/octop/infra/db/repos/connectors.py:284
↓ 4 callersFunctionparse_device_info_payload
Parse ``_DEVICE_INFO_SHELL`` stdout into a JSON-ready dict.
src/octop/infra/mobile/adb.py:594
↓ 4 callersFunctionpartitionPinnedTools
(split: AssistantTurnSplit)
dashboard/src/plugins/toolRenderers/isPinnedToolUi.ts:39
↓ 4 callersMethodpatchResult
L2: update display payload for a tool call without re-running the LLM.
dashboard/src/plugins/toolRenderers/types.ts:68
↓ 4 callersMethodpatch_custom_server
( self, user_id: int, server_name: str, *, enabled: bool | None = None
src/octop/infra/connectors/service.py:276
↓ 4 callersFunctionpath_basename
(path: str)
src/octop/infra/knowledge/relpath.py:19
↓ 4 callersFunctionpeek_backup_contents
Read ``manifest.json`` from the start of an archive. Octop writes ``manifest.json`` as the first tar member. Only that member is read so list
src/octop/infra/backup/store.py:135
↓ 4 callersMethodpersist_plugin_tools_config
Persist ``config.plugins`` and hot-sync tool denylist (no harness reload).
src/octop/infra/agents/manager.py:1739
↓ 4 callersFunctionpresetLogoId
(preset: ProviderPreset)
dashboard/src/pages/Settings/Models/presetUtils.ts:64
↓ 4 callersFunctionprobe_database
Validate connectivity (or path writability for new SQLite files). For an existing SQLite file or any PostgreSQL target, opens a short-lived p
src/octop/infra/db/probe.py:11
↓ 4 callersFunctionproject_stream
( agent_manager: AgentManager, agent_id: str, request: dict[str, Any], *, media_backend: M
src/octop/infra/gateway/process/stream_project.py:234
↓ 4 callersFunctionprovider_headers
(row: Any)
src/octop/infra/agents/providers/probe.py:24
↓ 4 callersFunctionrace_download_sources
Race probes in parallel; first success wins, the rest are fallbacks. Losing probes are cancelled instead of being joined, so a blocked official
src/octop/infra/agents/providers/onnx_download.py:172
↓ 4 callersMethodrange_rows
Read an immutable legacy interval without triggering projection backfill.
src/octop/infra/db/repos/thread_messages.py:70
↓ 4 callersMethodread
(self, _n: int)
tests/unit/agents/test_agent_avatar.py:138
↓ 4 callersFunctionreadAgentRuntimeFormValues
( cfg: object, )
dashboard/src/utils/agentRuntimeConfig.ts:20
↓ 4 callersFunctionread_page
( archive: HistoryArchive, registry: Any, agent_id: str, thread_id: str, *, limit: int
src/octop/infra/history/reader.py:14
↓ 4 callersFunctionread_workspace_manifest_task_examples
Return ``task_examples`` from the workspace manifest, or ``None`` if absent.
src/octop/infra/agents/experts/catalog.py:372
↓ 4 callersMethodrebind
(self, **_kwargs: object)
tests/unit/api/test_chat_composer_context.py:23
↓ 4 callersFunctionredact_server_for_api
Remove secrets; expose oauth preview for the dashboard.
src/octop/infra/connectors/custom_mcp.py:297
↓ 4 callersFunctionrefreshServerLabels
(lng?: string)
dashboard/src/i18n.ts:77
↓ 4 callersMethodrender
( self, *, mbti: str | None, agent_name: str, user_display: str,
src/octop/infra/agents/persona.py:56
↓ 4 callersFunctionrender_launchd_plist
Render the launchd plist for ``runtime``. ``UserName`` is only valid for system-domain (``/Library/LaunchDaemons``) plists; launchd rejects i
src/octop/infra/setup/service.py:420
↓ 4 callersFunctionrender_qrcode_terminal
Render a QR in the terminal, or fall back to printing the URL.
src/octop/cli/support/qr.py:116
↓ 4 callersFunctionrequire_env
Return the env var value, or skip the test when missing. Use inside a test (or a fixture) so that absent secrets cause a skip rather than a f
tests/support/secrets.py:24
↓ 4 callersFunctionrequire_published_expert
(services: Any, expert_id: str)
src/octop/infra/agents/experts/published_creation.py:145
↓ 4 callersFunctionrequire_utf8_skill_manifest
Decode/repair a skill manifest, or raise if it is still not valid UTF-8.
src/octop/infra/utils/utf8_text.py:115
↓ 4 callersFunctionresetOverscroll
()
dashboard/src/pages/Chat/hooks/useAutoScroll.ts:330
↓ 4 callersFunctionresolveDesktopChromeStyle
( userAgent = navigator.userAgent, )
dashboard/src/utils/desktopChrome.ts:57
↓ 4 callersFunctionresolveSubagentAccent
( color: string | null | undefined, )
dashboard/src/utils/expertColor.ts:96
↓ 4 callersFunctionresolve_agent_backend_spec
Expand ``named`` refs (and composite trees) into harness-ready specs.
src/octop/infra/backend/resolver.py:79
↓ 4 callersFunctionresolve_browser_display
Pick a usable X11 display for headed Chrome (virtual desktop or env). When Octop's Linux virtual desktop (Xvnc ``:99``) is running, inject ``
src/octop/infra/browser/setup.py:92
↓ 4 callersFunctionresolve_tool_display_name
( name: str | None, locale: str | Locale = "en", *, mcp_server_labels: Mapping[str, str] | Non
src/octop/i18n/domains/tools.py:67
← previousnext →1,201–1,300 of 12,485, ranked by callers