MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 5 callersFunctionassert_agent_access
Ensure agent exists and is accessible to the current user.
src/octop/api/common/agent.py:77
↓ 5 callersFunctionassert_user_backend_root_dirs
Reject local backend ``root_dir`` values that fail denylist or user policy. When *policy_repo* is provided, ``local_shell`` / ``filesystem`` root
src/octop/api/common/validators.py:12
↓ 5 callersFunctionbearer
(token: str)
tests/support/auth.py:70
↓ 5 callersFunctionbuild_content
Sync build for unit tests / callers with already-resolved image bytes.
src/octop/infra/gateway/process/harness_request.py:197
↓ 5 callersFunctionbuild_create_spec_from_expert
Build :class:`AgentCreateSpec` for ``AgentManager.create`` from a catalog entry.
src/octop/infra/agents/experts/catalog.py:786
↓ 5 callersFunctionbuild_harness_manager_mock
Return a MagicMock that quacks like HarnessAgentManager.
tests/support/harness.py:47
↓ 5 callersFunctionbuild_knowledge_tools
Return built-in knowledge retrieval tools (wired via HarnessAgentConfig.tools).
src/octop/infra/knowledge/tools.py:71
↓ 5 callersFunctionbuild_probe_chat_model
Construct a chat model from a provider row for probing.
src/octop/infra/agents/providers/probe.py:42
↓ 5 callersFunctionbuild_turn_start_chunks
Return projector-ready chunks aligned with harness injection. ``workspace_files`` must already be filtered to files harness may load (``DEFAU
src/octop/infra/trajectory/turn_context.py:52
↓ 5 callersFunctioncanonicalizeMediaApiUrl
( url: string, chatAgentId?: string | null, )
dashboard/src/utils/toolMediaBlocks.ts:267
↓ 5 callersFunctioncardsToServers
(cards: ServerCardState[])
dashboard/src/pages/Agent/Connectors/customMcpUtils.ts:136
↓ 5 callersFunctionchannelFromSessionKey
(sessionKey: string)
dashboard/src/pages/Control/CronJobs/cronDisplay.ts:5
↓ 5 callersFunctioncheck503ForSetupRequired
* Inspect a response for the lockdown signal (503 + body * `{setup_required: true}`) and trigger a one-shot navigate to /setup. * * Returns ``true`
dashboard/src/api/request.ts:119
↓ 5 callersFunctionclamp
(value: number, min: number, max: number)
dashboard/src/pages/Chat/utils/trajectoryTimeline.ts:25
↓ 5 callersFunctionclearAuthToken
()
dashboard/src/api/request.ts:57
↓ 5 callersFunctionclearFormDraft
(scope: string)
dashboard/src/utils/formDraft.ts:43
↓ 5 callersFunctionclearStreamWatchdog
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:433
↓ 5 callersMethodclose
(self)
src/octop/infra/db/pool.py:168
↓ 5 callersFunctioncloseCompactPicker
()
dashboard/src/pages/Chat/components/ChatInputActionsRow.tsx:275
↓ 5 callersFunctioncollapse_to_invoke_response
Collapse a streamed agent turn into one final user-visible response. The agent still runs through the streaming path, preserving cancellation,
src/octop/infra/gateway/process/response_mode.py:46
↓ 5 callersFunctioncompareVersions
(left, right string)
desktop/src/download.go:218
↓ 5 callersFunctionconnect
(id: string, agentId: string, cbs: TerminalCallbacks)
dashboard/src/pages/Control/Terminal/useTerminal.ts:436
↓ 5 callersFunctioncontent_blocks_need_vision
True when a harness user ``content`` list includes image blocks.
src/octop/infra/gateway/media/attachment_hints.py:79
↓ 5 callersMethodcontent_for
Return the content for *locale*; return ``""`` when not available.
src/octop/infra/agents/subagents/catalog.py:79
↓ 5 callersFunctioncorrupt_config_error
``OctopError`` for a config file that exists but cannot be parsed. Raised instead of writing back a merged-into-empty dict, which would destroy
src/octop/infra/errors.py:266
↓ 5 callersMethodcount_documents
(self, kb_id: str)
src/octop/infra/db/repos/knowledge.py:432
↓ 5 callersFunctioncreateSession
()
dashboard/src/pages/Control/Terminal/useTerminal.ts:545
↓ 5 callersFunctioncreate_package_from_skillhub
Create a global package from a SkillHub skillset without using its cache.
src/octop/infra/skills/skill_package_from_skillhub.py:34
↓ 5 callersFunctioncurrent_env
()
src/octop/infra/auth/captcha/config.py:60
↓ 5 callersFunctiondefault_bundled_plugins_root
Directory containing one subdirectory per shipped plugin.
src/octop/infra/agents/plugins/bundled/__init__.py:6
↓ 5 callersMethoddelete_document
Delete a file or a folder (and its descendants). Return removed rows.
src/octop/infra/db/repos/knowledge.py:396
↓ 5 callersMethoddelete_thread_checkpoint
Best-effort delete of a thread's actual conversation data. Octop's own ``thread_registry`` only tracks UI metadata (title, pinned, la
src/octop/infra/agents/manager.py:964
↓ 5 callersFunctiondesktop_env_file
()
src/octop/infra/desktop/setup.py:156
↓ 5 callersMethoddisable
(self, username: str)
src/octop/infra/users/manager.py:689
↓ 5 callersFunctiondisplay_env
(display: str | None)
src/octop/infra/desktop/capture.py:43
↓ 5 callersFunctiondockFileBasename
(path: string)
dashboard/src/pages/Chat/utils/dockFilePath.ts:98
↓ 5 callersMethoddrain_turn
Collect frames until the turn reports ``done`` or ``error``.
tests/support/http.py:108
↓ 5 callersFunctiondump_id_list
(ids: list[str])
src/octop/infra/agents/profile.py:60
↓ 5 callersFunctiondumps_config
(cfg: dict[str, Any])
src/octop/infra/agents/profile.py:40
↓ 5 callersFunctionemitStreamEvent
(event: StreamEvent)
dashboard/src/pages/Chat/hooks/chatStore.ts:281
↓ 5 callersMethodencrypt_and_store
( self, *, instance_id: str, payload: dict[str, Any], )
src/octop/infra/connectors/service.py:107
↓ 5 callersFunctionencrypt_credentials
(repo: SecretRepo, payload: dict[str, Any])
src/octop/infra/connectors/crypto.py:20
↓ 5 callersMethodensure_connector_cli_instance_dir
(self, kind: str, instance_key: str)
src/octop/infra/utils/paths.py:147
↓ 5 callersMethodensure_fresh_credentials
( self, instance_id: str, kind: str, )
src/octop/infra/connectors/service.py:120
↓ 5 callersFunctionensure_local_embedding_deps_async
Async wrapper for :func:`ensure_local_embedding_deps`.
src/octop/infra/agents/providers/onnx_service.py:112
↓ 5 callersFunctionensure_workspace_media_path
Resolve or import a ``file://`` URL into the agent workspace (``outbound/``).
src/octop/infra/gateway/media/backend_files.py:497
↓ 5 callersFunctionexpertMentionToken
(name: string)
dashboard/src/pages/Chat/utils/expertMention.ts:9
↓ 5 callersFunctionexport_workspace_zip
Pack workspace files into a zip archive.
src/octop/infra/backup/workspace_archive.py:135
↓ 5 callersFunctionextractText
(content: unknown)
dashboard/src/utils/messageParser.ts:67
↓ 5 callersFunctionextract_questions
Pull the normalized ``questions`` list out of an ask action request.
src/octop/infra/gateway/hitl/format.py:54
↓ 5 callersMethodfind_referencing_agent_ids
(self, agent_repo: AgentRepo, provider_name: str)
src/octop/infra/db/repos/providers.py:142
↓ 5 callersMethodfinish
(self, turn_id: str, status: str, *, error: str | None = None)
src/octop/infra/history/service.py:132
↓ 5 callersFunctionformatAgentError
( error: string | null | undefined, t: TFunction, )
dashboard/src/utils/agentError.ts:42
↓ 5 callersFunctionformatServerHourMinute
( input: Date | string | number, timeZone?: string, )
dashboard/src/utils/formatMessageTime.ts:43
↓ 5 callersFunctionformatThreadTitle
(title: string | null | undefined)
dashboard/src/pages/Chat/utils/threadTitle.ts:32
↓ 5 callersFunctionformat_hitl_card
Render the IM card for a paused turn (approval or question).
src/octop/infra/gateway/hitl/format.py:86
↓ 5 callersFunctionformat_search_knowledge_description
Build the LLM-facing tool description, including attached KB titles/descriptions.
src/octop/infra/knowledge/tools.py:36
↓ 5 callersMethodfrom_markdown
(markdown: str)
src/octop/infra/utils/doc_edit.py:132
↓ 5 callersMethodget_by_user_kind
(self, user_id: int, kind: str)
src/octop/infra/db/repos/connectors.py:122
↓ 5 callersFunctionget_env
Get environment variable with optional requirement check.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/wechat_publish.py:97
↓ 5 callersFunctionget_local_version
()
src/octop/infra/setup/self_update.py:102
↓ 5 callersFunctionget_mobile_agent_control
()
src/octop/infra/mobile/agent_control.py:25
↓ 5 callersMethodget_provider
Return the OIDC provider row (legacy single-provider helper).
src/octop/infra/db/repos/sso.py:110
↓ 5 callersFunctionget_user_rotation
Return ``user_rotation`` (0–3) or None when unreadable.
src/octop/infra/mobile/adb.py:430
↓ 5 callersFunctionhold_backup_lock
Acquire ``BACKUP_LOCK`` and publish *operation* for status polling.
src/octop/infra/backup/auto.py:62
↓ 5 callersFunctioninbound_extension
Return a lowercase extension for workspace storage (includes leading dot).
src/octop/infra/gateway/media/inbound_store.py:244
↓ 5 callersMethodinc
(self, name: str, n: int = 1)
src/octop/infra/metrics.py:18
↓ 5 callersFunctionisDesktopShell
( win: Pick<DesktopWindow, "_wails"> = window as DesktopWindow, )
dashboard/src/utils/desktopChrome.ts:51
↓ 5 callersFunctionisEditableDoc
(path: string)
dashboard/src/utils/docKind.ts:34
↓ 5 callersFunctionisEmbeddingModel
( model: Pick<ProviderModel, "embedding" | "task"> | undefined, )
dashboard/src/pages/Settings/Models/useProviders.ts:30
↓ 5 callersFunctionisProtectedPath
(path: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:118
↓ 5 callersFunctionisWorkspaceRoot
(path: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:133
↓ 5 callersFunctionis_allowed_host_download_abs_path
Allow host-absolute download when under workspace / agents / temp, or non-system user paths (e.g. Desktop tool outputs). Deny OS system roots.
src/octop/infra/gateway/media/backend_files.py:322
↓ 5 callersFunctionis_ask_action_requests
True when this HITL pause is an ``ask_user_question`` interrupt.
src/octop/infra/gateway/hitl/format.py:49
↓ 5 callersMethodis_bootstrapped
Whether onboarding has completed for a running agent.
src/octop/infra/agents/manager.py:903
↓ 5 callersFunctionis_host_absolute_path
True for host filesystem absolute paths (``/…``, ``file://``, drive letter). With ``from_workspace=false``, API leading ``/`` means host-absolute
src/octop/infra/gateway/media/backend_files.py:374
↓ 5 callersFunctionis_linux_virtual_display
True for VNC virtual seats (:1, :99, …); :0 is the local physical display.
src/octop/infra/desktop/capture.py:28
↓ 5 callersFunctionis_mcp_oauth_remote
True when this catalog entry is a dynamic-OAuth remote MCP connector.
src/octop/infra/connectors/catalog.py:75
↓ 5 callersFunctionis_newer
(remote: str, local: str)
src/octop/infra/setup/self_update.py:319
↓ 5 callersMethoditer_slash_resolution
( self, cmd: SlashCommand, ctx: SlashCtx, *, agent_manager: AgentManag
src/octop/infra/gateway/hitl/coordinator.py:312
↓ 5 callersMethoditer_usable_rows
Yield enabled DB providers that have credentials and at least one enabled model.
src/octop/infra/agents/providers/store.py:114
↓ 5 callersFunctionknowledgeIconForName
( name: string | null | undefined, size = 18, )
dashboard/src/pages/KnowledgeBases/knowledgeIcons.tsx:58
↓ 5 callersMethodlist_documents
(self, kb_id: str)
src/octop/infra/db/repos/knowledge.py:331
↓ 5 callersMethodlist_for_user
(self, user_id: int)
src/octop/infra/db/repos/user_policies.py:50
↓ 5 callersFunctionlist_host_subdirs
List readable child directories under *path*.
src/octop/infra/utils/host_dirs.py:185
↓ 5 callersFunctionlist_onnx_catalog_models
Return catalog entries for the Models local ONNX panel.
src/octop/infra/agents/providers/onnx_catalog.py:129
↓ 5 callersMethodlist_skill_summaries
Mirror harness skill catalog: list workspace + builtin ``SKILL.md`` manifests. Skills are written via ``agent.workspace`` (the in-memory fake
tests/support/fakes.py:216
↓ 5 callersMethodlist_summaries
( self, *, division: str | None = None, query: str | None = None, loca
src/octop/infra/agents/subagents/catalog.py:501
↓ 5 callersFunctionlive_message_input
Serialize a current-turn message, stamping ``checkpoint_ts`` if missing.
src/octop/infra/gateway/process/history_projection.py:83
↓ 5 callersFunctionload_state
(root: Path = PACKAGE_ROOT)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:645
↓ 5 callersFunctionlocal_backend_root_dir
Return ``root_dir`` from a local ``filesystem`` / ``local_shell`` backend spec.
src/octop/infra/agents/workspace_dir.py:55
↓ 5 callersFunctionmarkdown_bullets
(title: str, bullets: list[str])
src/octop/infra/gateway/slash/formatting.py:60
↓ 5 callersFunctionmedia_preview_url
(agent_id: str, source: str, mime_hint: str = "")
src/octop/infra/gateway/media/backend_files.py:219
↓ 5 callersFunctionmock_mimo_http
Install an httpx.MockTransport-backed AsyncClient inside adapters.
tests/unit/api/test_voice_mimo.py:64
↓ 5 callersFunctionnormalizeHexColor
( input: string | null | undefined, )
dashboard/src/styles/themePalettes.ts:262
↓ 5 callersFunctionnormalizeTreeRoot
(path: string)
dashboard/src/pages/Experts/components/rootDirTree.ts:14
↓ 5 callersFunctionnormalizeUrl
(raw: string)
dashboard/src/utils/normalizeUrl.ts:2
↓ 5 callersFunctionnormalizeWorkspaceRelPath
(path: string)
dashboard/src/pages/Chat/utils/fileMention.ts:39
↓ 5 callersFunctionnormalize_email
Strip and lowercase; empty / whitespace-only becomes ``None``.
src/octop/infra/users/email.py:13
↓ 5 callersFunctionnormalize_tools_disabled
Normalize a config value to a sorted denylist, dropping critical tools.
src/octop/infra/agents/tool_catalog.py:101
← previousnext →801–900 of 12,485, ranked by callers