MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 6 callersFunction_scoped_cfg
(root: Path, **extra: object)
tests/unit/agents/test_workspace_dir.py:21
↓ 6 callersFunction_seed_builtin_skill
( env: Any, name: str = "web-search", content: str = BUILTIN_SKILL )
tests/integration/test_skills_api.py:51
↓ 6 callersFunction_send_json
(ws: WebSocket, payload: dict[str, Any])
src/octop/api/routers/mobile/stream.py:110
↓ 6 callersFunction_sent_messages
(ws: _FakeWS)
tests/unit/api/test_terminal_sessions.py:213
↓ 6 callersMethod_set_runtime_status
( self, channel_id: str, *, connected: bool, reason: str | None = None
src/octop/infra/gateway/gateway.py:608
↓ 6 callersFunction_slice_message_page
Return a chronological page skipping *offset* messages from the end.
src/octop/api/routers/chat/serialize.py:299
↓ 6 callersFunction_summary_dict
( name: str, meta: dict[str, Any], *, enabled: bool, kind: str, locale: Locale | None
src/octop/api/routers/skills.py:146
↓ 6 callersFunction_tool_ctx
()
src/octop/infra/cron/tools.py:56
↓ 6 callersFunction_tool_ctx
()
src/octop/infra/mobile/tools.py:33
↓ 6 callersFunction_ts
(year: int, month: int, day: int, hour: int = 0, minute: int = 0)
tests/unit/db/test_usage_window.py:15
↓ 6 callersFunction_usage
( *, used: int, segments: dict[str, int], source: str = "model_request", max_tokens: int =
tests/unit/agents/test_context_breakdown.py:29
↓ 6 callersFunction_wire_text
(item: ThreadMessageInput)
src/octop/infra/gateway/process/history_projection.py:132
↓ 6 callersFunction_workspace
(root: str)
tests/unit/gateway/test_attachment_hints.py:40
↓ 6 callersMethodappend
(self, event: TrajectoryEvent)
src/octop/infra/history/trajectory.py:38
↓ 6 callersMethodassert_backend_supports_skill_packages
Raise when *backend_spec* cannot mount host skill-package paths.
src/octop/infra/agents/manager.py:1931
↓ 6 callersMethodbackup_file
Resolve a backup archive path under :attr:`backups_dir` (basename only).
src/octop/infra/utils/paths.py:119
↓ 6 callersMethodboot
(self)
src/octop/infra/agents/manager.py:427
↓ 6 callersMethodboot
(self)
src/octop/infra/gateway/gateway.py:202
↓ 6 callersFunctionbuild_mobile_tools
Return adb mobile tools when ``capabilities.mobile.enabled``.
src/octop/infra/mobile/tools.py:76
↓ 6 callersFunctioncanonicalizeDockFilePath
( raw: string, agentId?: string | null, )
dashboard/src/pages/Chat/utils/dockFilePath.ts:36
↓ 6 callersMethodchange_password
(self, username: str, old: str, new: str)
src/octop/infra/users/manager.py:496
↓ 6 callersFunctionclearStreamActivity
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:446
↓ 6 callersFunctioncollect
()
tests/unit/mobile/test_docker_install.py:190
↓ 6 callersFunctioncompute_next_trigger
Compute the next trigger time. Algorithm: 1. Pick a random interval within [min_interval_hours, max_interval_hours]. 2. Compute candidate
src/octop/infra/proactive/scheduler.py:44
↓ 6 callersFunctioncontent_parts_from_dashboard_turn
Convert dashboard WS ``messages`` / ``text`` into gateway ContentParts. Attachments must already live under workspace ``inbound/`` (via upload).
src/octop/api/routers/chat/turn.py:155
↓ 6 callersFunctioncreate_channel_offline
( *, agent_id: str, user_id: int, kind: str, name: str, config: dict[str, Any], ho
src/octop/cli/support/offline_ops.py:430
↓ 6 callersFunctioncreate_task
()
src/octop/api/routers/update_store.py:63
↓ 6 callersFunctiondashboard_media_url
Sync dashboard URL — preserve absolute tool paths as ``file://`` preview sources.
src/octop/infra/gateway/media/backend_files.py:240
↓ 6 callersFunctiondecode_token
(secret: bytes, token: str)
src/octop/api/deps.py:47
↓ 6 callersFunctiondefault_cron_name
Build a readable fallback name from the prompt prefix, else *cron_id*.
src/octop/infra/cron/task_type.py:39
↓ 6 callersFunctionderiveMessageContent
(message: ChatMessage)
dashboard/src/pages/Chat/utils/messageContent.ts:16
↓ 6 callersMethodenqueue
(self, key: str, work: BackfillWork)
src/octop/infra/gateway/history_backfill.py:23
↓ 6 callersFunctionenrich_tool_result_with_backend
Import external ``file://`` media into workspace and set ``preview_url``.
src/octop/infra/gateway/media/tool_media.py:329
↓ 6 callersFunctionensureHydrated
()
dashboard/src/pages/Control/Terminal/useTerminal.ts:347
↓ 6 callersFunctionensureLocaleBundle
(locale: UiLocale)
dashboard/src/i18n.ts:20
↓ 6 callersFunctionensure_control_plane_bound
Bind default SQLite when greenfield start deferred the control-plane DB.
tests/support/app.py:29
↓ 6 callersFunctionensure_opencode_session_header
Return headers with a throwaway ``x-opencode-session`` when needed. Existing values (checked case-insensitively) always win. Non-Go URLs pass
src/octop/infra/agents/providers/opencode_session.py:42
↓ 6 callersFunctionensure_password
Generate the file if missing; return password or ``None`` if present.
src/octop/infra/setup/password_file.py:18
↓ 6 callersFunctionextract_profile_from_config
Lift legacy profile keys out of a config dict into column-oriented updates.
src/octop/infra/agents/profile.py:99
↓ 6 callersFunctionextract_servers
Return the servers map from a decrypted credential blob.
src/octop/infra/connectors/custom_mcp.py:52
↓ 6 callersFunctionfetch_authorization_metadata
(issuer: str)
src/octop/infra/connectors/oauth/mcp.py:71
↓ 6 callersFunctionfileTreeIcon
(path: string, size = 13)
dashboard/src/utils/fileTreeIcon.tsx:183
↓ 6 callersFunctionfile_url_to_abs_path
(file_url: str)
src/octop/infra/gateway/media/backend_files.py:138
↓ 6 callersFunctionfind_assistant_fork_index
Return the index of the selected assistant answer in *messages*. Prefers a suffix count of answer turns (stable across client-generated UI id
src/octop/infra/agents/thread_fork.py:94
↓ 6 callersFunctionfinish
()
dashboard/src/pages/Chat/hooks/chatStore.ts:1635
↓ 6 callersFunctionformatServerIsoDateTime
( iso: string, timeZone?: string, )
dashboard/src/utils/formatMessageTime.ts:123
↓ 6 callersFunctionformatServerYmd
( input: Date | string | number, timeZone?: string, )
dashboard/src/utils/formatMessageTime.ts:22
↓ 6 callersFunctionformat_agent_start_error
Return a stable ``octop:…`` key for known failures, else raw text (truncated).
src/octop/i18n/domains/agents.py:61
↓ 6 callersMethodfrom_request
(cls, request: dict[str, Any])
src/octop/infra/gateway/process/history_projection.py:166
↓ 6 callersFunctiongetSnapshot
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:504
↓ 6 callersMethodget_by_id
(self, provider_id: int)
src/octop/infra/db/repos/sso.py:114
↓ 6 callersFunctionget_profile
Look up a single MBTI profile by 4-letter code (case-insensitive).
src/octop/infra/agents/mbti_profiles.py:571
↓ 6 callersFunctionget_task
(task_id: str)
src/octop/api/routers/update_store.py:83
↓ 6 callersMethodget_thread
(self, thread_id: str)
tests/unit/api/test_chat_composer_context.py:19
↓ 6 callersMethodglobal_enabled_map
(self)
src/octop/infra/agents/plugins/manager.py:200
↓ 6 callersMethodharness_config
Build harness-agent ``LangfuseConfig`` for ``HarnessAgentManager``.
src/octop/infra/agents/langfuse.py:151
↓ 6 callersFunctionharness_spec_for_server
Strip Octop meta keys; keep langchain-mcp-adapters connection fields.
src/octop/infra/connectors/custom_mcp.py:342
↓ 6 callersFunctionhints_from_content_parts
Path hints for non-vision attachments (files, audio, video, oversized images).
src/octop/infra/gateway/media/attachment_hints.py:181
↓ 6 callersFunctioninferKindFromNameAndMime
( mediaType?: string, filename?: string, kind?: ChatAttachment["kind"], )
dashboard/src/pages/Chat/utils/chatAttachments.ts:14
↓ 6 callersFunctionisOnnxProviderRow
(provider: { name: string; api_key?: string | null; })
dashboard/src/pages/Settings/Models/presetUtils.ts:184
↓ 6 callersFunctionisProbablyText
(name: string)
dashboard/src/pages/Agent/Workspace/utils/fileKind.ts:85
↓ 6 callersFunctionisSharedExpertViewer
(agent: SharedExpertAccess)
dashboard/src/utils/sharedExpert.ts:6
↓ 6 callersMethodis_configured
(self, row: SsoProviderRow)
src/octop/infra/auth/sso/providers/oidc.py:26
↓ 6 callersFunctionis_embedding_model
True when *model* is embedding-only (not for chat / auto-route). Explicit flags win: - ``embedding: true`` - ``task: "embedding"`` L
src/octop/infra/agents/providers/model_flags.py:71
↓ 6 callersFunctionis_onnx_local_provider
True when this row is the local ONNX embedding preset. Prefer the stable placeholder API key written at create time. Fall back to exact prese
src/octop/infra/agents/providers/model_flags.py:16
↓ 6 callersFunctionis_renewal_mode
(config: OctopConfig)
src/octop/infra/setup/tls/modes.py:39
↓ 6 callersFunctionis_root
()
src/octop/infra/utils/posix_compat.py:32
↓ 6 callersFunctionis_service_installed
( mode: ServiceMode, scope: ServiceScope | None = None, *, run_as_user: str | None = None, )
src/octop/infra/setup/service.py:370
↓ 6 callersMethodis_turn_active
(self, thread_id: str)
src/octop/infra/gateway/ws/ws_hub.py:111
↓ 6 callersFunctioniter_media_blocks
(content: Any)
src/octop/infra/gateway/media/tool_media.py:96
↓ 6 callersMethoditer_turn_chunks
Run one agent turn and yield harness-native stream chunks. For transports that consume the dashboard chunk protocol (``token``, ``too
src/octop/infra/gateway/process/processor.py:923
↓ 6 callersFunctionknowledgeBasename
(path: string)
dashboard/src/utils/knowledgePath.ts:15
↓ 6 callersFunctionlaunchReady
(root string)
desktop/src/download.go:19
↓ 6 callersFunctionlist_specs
Return primary specs (no alias duplicates) visible for *origin*.
src/octop/infra/gateway/slash/catalog.py:262
↓ 6 callersMethodlist_summaries
Return expert cards for the library UI. By default only **bundled** templates (primary library root) are listed. SkillHub installs ar
src/octop/infra/agents/experts/catalog.py:735
↓ 6 callersFunctionlocal_embedding_deps_available
True when fastembed can be imported (preferred local embedding runtime).
src/octop/infra/agents/providers/onnx_service.py:64
↓ 6 callersMethodmark_resolved
(self, pending_id: str, status: Literal["approved", "rejected"])
src/octop/infra/gateway/hitl/store.py:165
↓ 6 callersFunctionmaterialize_image_part
Build a checkpoint-safe vision block, or degrade to a path hint. Prefer workspace path refs for files already under ``inbound/`` — bytes are
src/octop/infra/gateway/media/attachment_hints.py:399
↓ 6 callersFunctionmessage_input
Serialize one LangChain/dict message. Never invents ``checkpoint_ts``.
src/octop/infra/gateway/process/history_projection.py:64
↓ 6 callersFunctionmixHex
(a: string, b: string, t: number)
dashboard/src/styles/themePalettes.ts:292
↓ 6 callersFunctionmodelOptionLabel
(m: ModelPickerOption)
dashboard/src/utils/modelOptions.ts:20
↓ 6 callersFunctionnew_short_id
Random Crockford base32 id (default 6 chars, ~1B combinations).
src/octop/infra/utils/ulid.py:15
↓ 6 callersFunctionnormalizeQqGroupContextConfig
( value: unknown, )
dashboard/src/pages/Agent/Channels/components/constants.ts:216
↓ 6 callersFunctionnormalizeUiLocale
(raw: string | null | undefined)
dashboard/src/utils/localePrefs.ts:27
↓ 6 callersFunctionnormalize_server_spec
(name: str, raw: Any)
src/octop/infra/connectors/custom_mcp.py:143
↓ 6 callersFunctionoauth_tokens_from_spec
(spec: dict[str, Any])
src/octop/infra/connectors/custom_mcp.py:227
↓ 6 callersFunctionparseSkillSlugsInText
( text: string, skills: readonly SkillTokenRef[] = [], )
dashboard/src/pages/Chat/utils/skillSlash.ts:83
↓ 6 callersFunctionparse_optional_email
Normalize optional email input; optionally validate non-empty values.
src/octop/infra/users/email.py:27
↓ 6 callersFunctionpatch_channel_offline
( agent_id: str, channel_id: str, *, name: str | None = None, config: dict[str, Any] | Non
src/octop/cli/support/offline_ops.py:456
↓ 6 callersMethodpostgresql_conninfo
Return a libpq/psycopg conninfo URL for PostgreSQL.
src/octop/config.py:65
↓ 6 callersMethodpublish
(self, thread_id: str, message: dict[str, Any])
src/octop/infra/trajectory/live.py:27
↓ 6 callersMethodpush_to_user
(self, user_id: int, frame: dict[str, Any])
src/octop/infra/gateway/ws/ws_hub.py:137
↓ 6 callersMethodread_file_contents
Lazy-read text file bodies for ``GET /api/experts/{id}`` preview.
src/octop/infra/agents/experts/catalog.py:659
↓ 6 callersFunctionread_upload_capped
Read *upload* in chunks and abort as soon as *max_bytes* is exceeded.
src/octop/api/common/upload_limit.py:32
↓ 6 callersFunctionrefreshSelected
()
dashboard/src/pages/SkillPackages/index.tsx:290
↓ 6 callersMethodrefresh_agents_for_package
Hot-sync running agents that mount a changed package.
src/octop/infra/agents/manager.py:1957
↓ 6 callersFunctionremoveSession
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:742
↓ 6 callersFunctionrenderQrLoading
(step1: string, step2: string, step3: string)
dashboard/src/pages/Agent/Channels/components/ChannelDrawer.tsx:1204
↓ 6 callersMethodrequest
Authenticated Octop API request (path starts with ``/`` under ``/api``).
dashboard/src/plugins/toolRenderers/types.ts:70
↓ 6 callersFunctionrequire
(_agent_id: str, _key: str)
tests/unit/cron/test_cron_delivery.py:265
← previousnext →601–700 of 12,485, ranked by callers