MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 3 callersFunctionbuild_upgrade_command
( installer: str, venv_python: str, *, index_url: str = "", allow_prerelease: bool = False
src/octop/infra/setup/self_update.py:381
↓ 3 callersFunctionbump
()
dashboard/src/plugins/toolRenderers/registry.ts:17
↓ 3 callersFunctionbundledPortableZip
()
desktop/src/download.go:273
↓ 3 callersFunctionbundled_scripts_dir
()
src/octop/infra/mobile/setup.py:36
↓ 3 callersFunctioncanAccessKeys
( user: PermissionHolder | null | undefined, keys: PermissionKeys, )
dashboard/src/utils/permissions.ts:98
↓ 3 callersFunctioncanDownloadKnowledgeOriginal
(doc: { is_dir?: boolean; has_original?: boolean; content_type?: string; filename?: string; })
dashboard/src/utils/knowledgeDocPreview.ts:22
↓ 3 callersMethodcan_mutate
(self, row: SkillPackageRow, user: User)
src/octop/infra/skills/skill_package_store.py:190
↓ 3 callersMethodcancel_stream
Signal harness-agent to stop the active stream for *(agent_id, thread_id)*.
src/octop/infra/agents/manager.py:1088
↓ 3 callersFunctioncatalog_entry_to_dict
( entry: ConnectorCatalogEntry, *, oauth_ready: bool = False )
src/octop/infra/connectors/catalog.py:545
↓ 3 callersFunctioncellsOf
(kind, rot, x, y)
src/octop/infra/agents/plugins/bundled/tetris/ui/index.js:78
↓ 3 callersFunctionchannel_tool_hint_start
(tool_name: str, locale: str | Locale = "en")
src/octop/i18n/domains/channel.py:17
↓ 3 callersFunctioncheckAtTop
()
dashboard/src/pages/Chat/hooks/useAutoScroll.ts:322
↓ 3 callersFunctionchunk_text
Split non-empty text into stable overlapping character windows.
src/octop/infra/knowledge/chunk.py:6
↓ 3 callersFunctioncleanup
()
dashboard/src/pages/Login/SlideCaptcha.tsx:120
↓ 3 callersFunctionclearCanvas
(canvas: HTMLCanvasElement | null)
dashboard/src/utils/browserCanvas.ts:59
↓ 3 callersFunctionclearLiveSocket
(sessionId: string, ws?: WebSocket)
dashboard/src/pages/Chat/hooks/chatStore.ts:677
↓ 3 callersFunctionclearMessages
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:648
↓ 3 callersFunctionclearSetupRequired
()
dashboard/src/api/request.ts:36
↓ 3 callersFunctionclearStoredUpdateStatus
()
dashboard/src/utils/updateStatusCache.ts:53
↓ 3 callersMethodclear_unread_for_agent
(self, agent_id: str, user_id: int)
src/octop/infra/db/repos/sessions.py:201
↓ 3 callersFunctionclipThreadTitle
( title: string | null | undefined, maxLen = THREAD_TITLE_MAX, )
dashboard/src/pages/Chat/utils/threadTitle.ts:18
↓ 3 callersFunctionclip_persisted_event
Bound summary + large payload fields before SQLite write.
src/octop/infra/trajectory/settings.py:62
↓ 3 callersFunctionclip_text
(value: str, limit: int)
src/octop/infra/trajectory/settings.py:43
↓ 3 callersMethodclose
(self)
src/octop/infra/desktop/session.py:45
↓ 3 callersMethodclose
(self)
src/octop/infra/desktop/capture.py:79
↓ 3 callersMethodclose
(self)
src/octop/infra/history/store.py:272
↓ 3 callersFunctioncloseLiveSocket
( sessionId: string, opts: { intentional: boolean; userCancelled?: boolean }, )
dashboard/src/pages/Chat/hooks/chatStore.ts:693
↓ 3 callersFunctioncloseSession
(id: string)
dashboard/src/pages/Control/Terminal/useTerminal.ts:566
↓ 3 callersFunctioncollectChatFilePaths
( messages: ChatMessage[], agentId?: string | null, )
dashboard/src/pages/Chat/hooks/useChatFileDetection.ts:156
↓ 3 callersFunctioncollides
(board, kind, rot, x, y)
src/octop/infra/agents/plugins/bundled/tetris/ui/index.js:82
↓ 3 callersFunctionconfigure_browser_profiles_dir
Point harness-browser at a profiles directory; return the resolved root. When *profiles_dir* is omitted, uses :func:`octop_browser_profiles_dir`
src/octop/infra/utils/browser_media.py:113
↓ 3 callersFunctionconfirmDeprecateAtom
({ agentId, atom, onSuccess, }: { agentId: string; atom: AtomItem; /** Callback after successful d
dashboard/src/pages/Agent/Memory/shared/deprecateAtom.tsx:17
↓ 3 callersFunctionconfirmEditAtom
({ agentId, atom, onSuccess, }: { agentId: string; atom: AtomItem; onSuccess?: (next: AtomItem) =>
dashboard/src/pages/Agent/Memory/shared/editAtom.tsx:13
↓ 3 callersMethodconsume_login_code
(self, login_code: str)
src/octop/infra/db/repos/sso.py:332
↓ 3 callersFunctioncontrastRatio
(a: string, b: string)
dashboard/src/styles/themePalettes.ts:307
↓ 3 callersFunctioncorrect_netease_imap_host
Fix legacy NetEase hosts (e.g. 126 stored as imap.163.com).
src/octop/infra/connectors/mail_servers.py:75
↓ 3 callersFunctioncountProcessStats
(split: AssistantTurnSplit)
dashboard/src/pages/Chat/utils/messageContent.ts:132
↓ 3 callersMethodcreate
( self, *, instance_id: str, user_id: int, kind: str, display_
src/octop/infra/db/repos/connectors.py:83
↓ 3 callersMethodcreate
( self, *, id: str, name: str, description: str = "", created_
src/octop/infra/db/repos/skill_packages.py:67
↓ 3 callersMethodcreate
( self, *, id: str, slug: str, name: str, description: str = "
src/octop/infra/db/repos/published_experts.py:76
↓ 3 callersFunctioncreateDetailRequestGate
()
dashboard/src/utils/detailRequestGate.ts:2
↓ 3 callersMethodcreate_base
( self, *, owner_user_id: int, name: str, description: str = "",
src/octop/infra/knowledge/service.py:95
↓ 3 callersFunctioncreate_provider
( client: httpx.AsyncClient, auth: dict[str, str], *, name: str = "openai", kind: str = "o
tests/support/auth.py:183
↓ 3 callersFunctioncreate_provider_offline
( *, name: str, kind: str, base_url: str | None = None, api_key: str | None = None, mo
src/octop/cli/support/offline_ops.py:337
↓ 3 callersFunctioncred_path_of_profile
凭证文件路径
src/octop/infra/agents/experts/library/cvm-cluster-doctor/skills/tencentcloud-infra/scripts/tccli-oauth-helper.py:74
↓ 3 callersFunctioncredential_fingerprint
Return a stable hex token for ``parts`` used as a local config dirty-check.
src/octop/infra/connectors/gateway/cli_fingerprint.py:12
↓ 3 callersFunctiondedupeDockFilePaths
( paths: string[], agentId?: string | null, )
dashboard/src/pages/Chat/utils/dockFilePath.ts:139
↓ 3 callersFunctiondefault_task_examples
Shared bilingual fallbacks for generated / padded ``task_examples``.
src/octop/infra/agents/experts/catalog.py:545
↓ 3 callersFunctiondefault_welcome_payload
Last-resort welcome: prefer bundled ``general-assistant``, else a small built-in set.
src/octop/infra/agents/experts/catalog.py:302
↓ 3 callersMethoddelete
Remove agent from DB, harness runtime, and workspace directory.
src/octop/infra/agents/manager.py:724
↓ 3 callersMethoddelete_expired
(self, now: int | None = None)
src/octop/infra/db/repos/sso.py:342
↓ 3 callersMethoddelete_for_thread
(self, thread_id: str)
src/octop/infra/trajectory/store.py:50
↓ 3 callersMethoddelete_package
(self, pack_id: str)
src/octop/infra/skills/skill_package_store.py:181
↓ 3 callersMethoddelete_skill
(self, pack_id: str, slug: str)
src/octop/infra/skills/skill_package_store.py:172
↓ 3 callersMethoddelete_thread
(self, thread_id: str)
src/octop/infra/gateway/threads.py:407
↓ 3 callersFunctiondelete_workspace_avatar
(workspace: WorkspaceAvatarIO)
src/octop/infra/agents/avatar.py:116
↓ 3 callersFunctionderiveCustomBrandColors
(hex: string)
dashboard/src/styles/themePalettes.ts:342
↓ 3 callersFunctionderiveSwimlaneSpans
( events: TrajectoryEvent[], mode: SwimlaneMode, )
dashboard/src/pages/Chat/utils/trajectoryTimeline.ts:194
↓ 3 callersMethoddescription_for
(self, locale: str)
src/octop/infra/gateway/slash/catalog.py:60
↓ 3 callersFunctiondesktopSQLitePath
(home string)
desktop/src/portable_upgrade.go:30
↓ 3 callersFunctiondetectSpeechLocale
(text: string)
dashboard/src/utils/plainTextForSpeech.ts:4
↓ 3 callersMethoddisconnect
()
dashboard/src/pages/Chat/hooks/useAutoScroll.test.ts:53
↓ 3 callersFunctiondiscover_oauth_from_mcp_url
Return OAuth discovery details for a remote MCP HTTP endpoint. Result shape:: { "available": bool, "issuer": str | N
src/octop/infra/connectors/oauth/discovery.py:138
↓ 3 callersFunctiondiscover_seed_paths
Return sorted workspace-relative paths for every file under *expert_dir*.
src/octop/infra/agents/experts/catalog.py:148
↓ 3 callersFunctiondisplay_agent_icon_url
Return the public ``icon_url``, cache-busting local workspace avatars.
src/octop/infra/agents/avatar.py:51
↓ 3 callersFunctiondisplay_str
(display: str | None)
src/octop/infra/desktop/capture.py:24
↓ 3 callersFunctiondockFileTabId
(path: string, agentId?: string | null)
dashboard/src/pages/Chat/utils/dockFilePath.ts:105
↓ 3 callersFunctiondownload_model_raced
Race sources and download *model_name* into *cache_dir*. Return winner kind.
src/octop/infra/agents/providers/onnx_download.py:205
↓ 3 callersFunctiondraftStorageKey
(scope: string)
dashboard/src/utils/formDraft.ts:10
↓ 3 callersFunctiondump_skill_package_ids
(ids: list[str])
src/octop/infra/agents/profile.py:69
↓ 3 callersFunctioneffective_tools_disabled
Builtin denylist plus explicitly disabled plugin tool names.
src/octop/infra/agents/tool_catalog.py:168
↓ 3 callersFunctioneffective_workspace_root_dir
Stored workspace-root policy, ignored when Octop runs in a container.
src/octop/infra/users/resource_policy.py:55
↓ 3 callersFunctionemit
()
dashboard/src/hooks/useDesktopInstall.ts:23
↓ 3 callersMethodenabled_values
(self, user_id: int)
src/octop/infra/db/repos/user_policies.py:74
↓ 3 callersFunctionenrich_docker_backend_spec
Inject Octop defaults into a docker harness spec (does not overwrite set keys). - ``sandbox_prefix`` defaults to ``octop_sandbox`` - ``sandbo
src/octop/infra/backend/docker_spec.py:55
↓ 3 callersFunctionenrich_tool_message_content
(content: Any, *, agent_id: str)
src/octop/infra/gateway/media/tool_media.py:289
↓ 3 callersFunctionenrich_tool_stream_chunk
Add ``display_name`` to harness tool stream chunks for dashboard clients.
src/octop/infra/gateway/process/stream_project.py:83
↓ 3 callersFunctionensureBwrapMessage
( result: EnsureBwrapResult, t: (key: string, opts?: Record<string, unknown>) => string, )
dashboard/src/pages/Experts/components/agentBackendForm.ts:179
↓ 3 callersFunctionensureBwrapToastKind
( status: EnsureBwrapStatus, )
dashboard/src/pages/Experts/components/agentBackendForm.ts:171
↓ 3 callersFunctionensure_cli_path
Prepend the user-level npm global bin dir to the in-process PATH. Octop 在 fnOS 上常以非 root 用户运行,``/usr/local`` 下的 npm 全局目录 不可写,安装会降级到用户级目录(~/.n
src/octop/infra/connectors/gateway/cli_install.py:104
↓ 3 callersMethodensure_fresh_custom_servers
(self, user_id: int)
src/octop/infra/connectors/service.py:225
↓ 3 callersFunctionensure_opensandbox_deps
Ensure the OpenSandbox SDK can be imported. Admin enable / probe / agent start pass ``allow_install=True``. Returns ``\"ready\"`` or ``\"inst
src/octop/infra/backend/opensandbox_deps.py:16
↓ 3 callersFunctionensure_playwright
Ensure playwright is installed and browsers are ready.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/xhs_publish.py:71
↓ 3 callersFunctionensure_users
( client: httpx.AsyncClient, admin_auth: dict[str, str], *usernames: str, password: str = TEST
tests/support/auth.py:157
↓ 3 callersFunctionescapeRegExp
(value: string)
dashboard/src/pages/Chat/utils/skillSlash.ts:41
↓ 3 callersFunctioneventIdAt
(target: EventTarget | null)
dashboard/src/pages/Chat/components/TrajectoryTimeline.tsx:115
↓ 3 callersFunctionevent_from_dict
(value: dict[str, Any])
src/octop/infra/history/trajectory.py:14
↓ 3 callersFunctionexception_display_message
Return ``str(exc)``, or the exception type name when the message is empty. Bare constructors like ``TimeoutError()`` / ``ConnectionError()`` yiel
src/octop/i18n/domains/stream.py:150
↓ 3 callersMethodexchange_login_code
(self, code: str)
src/octop/infra/auth/sso/service.py:341
↓ 3 callersFunctionexpand_plugin_tools_default_on
Return an agent plugins map where missing tools default to enabled. ``registered_tools`` is a list of ``(plugin_id, tool_name)`` from the pro
src/octop/infra/agents/plugin_tool_defaults.py:80
↓ 3 callersMethodexpert_dir
(self, expert_id: str)
src/octop/infra/agents/experts/catalog.py:652
↓ 3 callersFunctionextractImagePathFromText
(text: string)
dashboard/src/utils/toolMediaBlocks.ts:683
↓ 3 callersFunctionextractPromptFromJob
(job: { task_type?: string; text?: string; request?: { input?: unknown }; })
dashboard/src/pages/Control/CronJobs/cronDisplay.ts:18
↓ 3 callersFunctionextract_message_content
(message: Any)
src/octop/infra/gateway/media/tool_media.py:127
↓ 3 callersFunctionextract_raw_token
( *, authorization: str | None = None, access_token: str | None = None, )
src/octop/api/deps.py:117
↓ 3 callersMethodfeed
(self, data: bytes)
src/octop/infra/mobile/h264.py:77
↓ 3 callersFunctionfeishu_region
(row: SsoProviderRow)
src/octop/infra/auth/sso/providers/feishu.py:28
↓ 3 callersFunctionfetchConfigMdFiles
(agentId: string)
dashboard/src/pages/Experts/components/expertFileGroups.ts:119
↓ 3 callersFunctionfetchProviderModels
( params: FetchProviderModelsParams, )
dashboard/src/pages/Settings/Models/providerApi.ts:54
↓ 3 callersFunctionfetch_discovery
Fetch an issuer's OpenID Connect discovery document.
src/octop/infra/auth/sso/discovery.py:18
← previousnext →1,601–1,700 of 12,485, ranked by callers