MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 3 callersMethodlist_enabled
List proactive-care configs for every enabled agent that should be scheduled. Agents without a ``proactive_care_config`` row use the same def
src/octop/infra/db/repos/proactive_care_config.py:94
↓ 3 callersFunctionlist_env_items
(path: Path)
src/octop/infra/utils/env_file.py:145
↓ 3 callersMethodlist_models
Return the current model list from ``ollama.list()``.
src/octop/infra/utils/ollama_manager.py:186
↓ 3 callersFunctionlist_providers
()
src/octop/infra/auth/captcha/providers.py:331
↓ 3 callersFunctionlist_storage_backend_tree
Single-level listing under *path*; returns JSON-friendly file info dicts. For ``kind=docker``, starts a short-lived sandbox container, lists via
src/octop/infra/backend/browse.py:38
↓ 3 callersMethodload
(self)
src/octop/infra/agents/langfuse.py:86
↓ 3 callersFunctionloadFormDraft
( scope: string, )
dashboard/src/utils/formDraft.ts:14
↓ 3 callersFunctionload_cookies
Load browser cookies from file.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/xhs_publish.py:88
↓ 3 callersFunctionlocalInviteUrl
(code: string)
dashboard/src/api/modules/invites.ts:48
↓ 3 callersFunctionlocalize_skill_summary
Resolve raw localized fields already returned by an upstream catalog.
src/octop/infra/skills/presentation.py:82
↓ 3 callersFunctionlocalized_rows
(rows: list[tuple[str, str]], locale: Locale)
src/octop/i18n/domains/slash.py:22
↓ 3 callersFunctionlockRemainingSeconds
(row: UserRow, nowSec: number)
dashboard/src/pages/Admin/Users/UsersListPanel.tsx:160
↓ 3 callersFunctionmake_image_url_block
(b64_data: str, mime_type: str)
src/octop/infra/gateway/media/attachment_hints.py:250
↓ 3 callersFunctionmarkSetupRequired
()
dashboard/src/api/request.ts:31
↓ 3 callersMethodmark_turn_active
(self, thread_id: str)
src/octop/infra/gateway/ws/ws_hub.py:103
↓ 3 callersFunctionmarkdown_kv_block
Markdown bullet list — renders with line breaks in chat UIs.
src/octop/infra/gateway/slash/formatting.py:42
↓ 3 callersFunctionmemory_namespace
Return the memory namespace harness-memory uses for ``agent_id``.
src/octop/api/common/memory_client.py:26
↓ 3 callersFunctionmerge_model_preferences_json
( current_raw: str | None, *, preferred_model: str | None | object = ..., model_reasoning: dic
src/octop/infra/users/preferences.py:135
↓ 3 callersFunctionmerge_preferences_json
( current_raw: str | None, bookmarks: list[RemoteBrowserBookmark], )
src/octop/infra/users/preferences.py:124
↓ 3 callersFunctionmerge_preserved_oauth
Drop client-supplied oauth blobs; keep stored tokens per server name.
src/octop/infra/connectors/custom_mcp.py:319
↓ 3 callersFunctionmetaForFile
( path: string, t: Translator, fallbackColor?: string | null, )
dashboard/src/pages/Experts/components/iconForName.tsx:239
↓ 3 callersMethodmetrics
(self, thread_id: str, *, refresh: bool = False)
src/octop/infra/trajectory/service.py:107
↓ 3 callersFunctionmkdir_host_subdir
Create a child directory under *parent* with an unused name from *base_name*.
src/octop/infra/utils/host_dirs.py:294
↓ 3 callersFunctionmodelShortLabel
(modelRefValue: string)
dashboard/src/utils/modelOptions.ts:50
↓ 3 callersFunctionmodel_cache_dir
(model_name: str)
src/octop/infra/agents/providers/onnx_service.py:194
↓ 3 callersMethodname_exists
( self, user_id: int, display_name: str, *, exclude_instance_id: str |
src/octop/infra/db/repos/connectors.py:156
↓ 3 callersFunctionnew_cron_id
Short human-friendly cron job id, e.g. ``cA1B2C3``.
src/octop/infra/utils/ulid.py:20
↓ 3 callersFunctionnormalizeChannelFieldValue
( fieldName: string, value: unknown, )
dashboard/src/pages/Agent/Channels/components/constants.ts:421
↓ 3 callersFunctionnormalizeRootDir
(rootDir?: string | null)
dashboard/src/pages/Experts/components/agentBackendForm.ts:79
↓ 3 callersFunctionnormalize_artifact_path
Return a path for ``threads.artifacts``, or ``\"\"``. Absolute paths are stored as-is. Relative paths are joined under ``workspace_dir`` (the
src/octop/infra/agents/middleware/thread_artifacts.py:89
↓ 3 callersFunctionnormalize_host_path
Canonical absolute path via ``os.path.realpath`` (CodeQL-recognized).
src/octop/infra/utils/host_dirs.py:108
↓ 3 callersFunctionnormalize_inbound_media_type
(media_type: str)
src/octop/infra/gateway/media/inbound_store.py:240
↓ 3 callersFunctionnormalize_model_ref
(value: Any)
src/octop/infra/users/preferences.py:77
↓ 3 callersFunctionnormalize_usage
Normalize provider usage into disjoint cache-aware input buckets.
src/octop/infra/gateway/process/usage_record.py:46
↓ 3 callersFunctionnot_applicable
Print a uniform "not applicable for Octop" error and exit 2.
src/octop/cli/support/stub.py:11
↓ 3 callersFunctionnotifyListeners
()
dashboard/src/pages/Chat/hooks/useSessions.ts:163
↓ 3 callersFunctionoauth_callback_path
()
src/octop/infra/auth/sso/public_base.py:21
↓ 3 callersFunctionoauth_state_kind_for_target
(target: dict[str, Any])
src/octop/infra/connectors/oauth/registry.py:229
↓ 3 callersFunctionoauth_token_file
(paths: PathLayout)
src/octop/infra/providers/codex_oauth.py:64
↓ 3 callersMethodobserve_chunk
(self, agent_id: str, thread_id: str, chunk: dict[str, Any])
src/octop/infra/trajectory/service.py:53
↓ 3 callersFunctiononeLine
(text: string)
dashboard/src/pages/Chat/utils/trajectoryModel.ts:96
↓ 3 callersFunctionopen_memory_kwargs
Return ``(namespace, backend_type, backend_config)`` for ``Memory(...)``.
src/octop/infra/agents/memory_backend.py:68
↓ 3 callersFunctionoptional_env
Return the env var value, or ``default`` when unset/empty.
tests/support/secrets.py:18
↓ 3 callersFunctionoverlay_stdio_mcp_configs
Apply :func:`overlay_stdio_spec_env` to every stdio entry in *configs*.
src/octop/infra/utils/env_file.py:127
↓ 3 callersFunctionoverlay_stdio_spec_env
Fold Admin env into an MCP stdio spec (spec env wins; skip protected keys).
src/octop/infra/utils/env_file.py:114
↓ 3 callersFunctionpaintBase64JpegToCanvas
( canvas: HTMLCanvasElement | null, base64Data: string, )
dashboard/src/utils/browserCanvas.ts:23
↓ 3 callersFunctionparseKnowledgeCitations
(rawOutput: string | undefined)
dashboard/src/utils/parseKnowledgeCitations.ts:33
↓ 3 callersFunctionparseStructuredToolOutput
( rawOutput: string | undefined, agentId?: string | null, )
dashboard/src/utils/toolMediaBlocks.ts:535
↓ 3 callersFunctionparseWriteTodosToolData
( argumentsRaw: string | undefined, outputRaw: string | undefined, allowPartial = false, )
dashboard/src/utils/parseWriteTodos.ts:121
↓ 3 callersFunctionparse_database_config
Validate and build ``DatabaseConfig`` from a merged dict (file + env).
src/octop/config.py:327
↓ 3 callersFunctionparse_frontmatter
Parse YAML frontmatter and body from a Markdown file.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/xhs_publish.py:99
↓ 3 callersFunctionparse_plugin_ui_meta
Return ``{entry, manifest}`` relative paths when ``plugin.yaml`` declares ``ui``. Missing entry file → ``None`` (treat as backend-only). Harness
src/octop/infra/agents/plugins/manager.py:128
↓ 3 callersFunctionparse_thread_artifacts
Decode the threads.artifacts JSON column into unique non-empty paths.
src/octop/infra/db/repos/threads.py:15
↓ 3 callersFunctionpasswordPolicyIssue
( password: string, oldPassword?: string, )
dashboard/src/utils/passwordPolicy.ts:29
↓ 3 callersFunctionpastelIconBackground
( color: string | null | undefined, index = 0, fallback = QUICK_CARD_PASTEL_COLORS[0], )
dashboard/src/utils/pastelIconBackground.ts:28
↓ 3 callersFunctionpathPermissionKeys
(pathname: string)
dashboard/src/utils/permissions.ts:125
↓ 3 callersFunctionpersist
()
dashboard/src/pages/Settings/AdvancedSettings/CaptchaSettings.tsx:60
↓ 3 callersFunctionpersist_backup_config
Merge ``backup`` into ``config.json`` and return the reloaded config.
src/octop/infra/backup/auto.py:98
↓ 3 callersFunctionpersist_mobile_probe
Merge probe result into ``config.json`` without overwriting unrelated keys.
src/octop/infra/mobile/config_probe.py:25
↓ 3 callersMethodpersist_skills_disabled
Persist ``skills_disabled`` and hot-sync the running agent (no rebuild). Unlike :meth:`update_config_json`, this does not schedule a harness
src/octop/infra/agents/manager.py:1718
↓ 3 callersMethodpersist_tools_disabled
Persist builtin ``tools_disabled`` and hot-sync the effective denylist.
src/octop/infra/agents/manager.py:1729
↓ 3 callersFunctionpickPreferredSession
(sessions: Session[])
dashboard/src/pages/Chat/hooks/useSessions.ts:81
↓ 3 callersFunctionpick_latest_versions
Return ``(latest_any, latest_stable)`` using PEP 440 order.
src/octop/infra/setup/self_update.py:159
↓ 3 callersFunctionplace
(state)
src/octop/infra/agents/plugins/bundled/tetris/ui/index.js:150
↓ 3 callersFunctionplace_backup_file
Move *src* into ``backups_dir`` under *filename* (atomic replace when possible).
src/octop/infra/backup/store.py:187
↓ 3 callersFunctionplugin_tools_disabled_names
Plugin tool names that should be hidden from the model.
src/octop/infra/agents/tool_catalog.py:147
↓ 3 callersFunctionprepareSpeechText
(raw: string)
dashboard/src/utils/plainTextForSpeech.ts:56
↓ 3 callersFunctionprepare_feishu_cli_env
Resolve binary, scrub external app env, set CONFIG_DIR, ensure config.
src/octop/infra/connectors/gateway/feishu_creds.py:16
↓ 3 callersFunctionpresetVariantLabel
(preset: ProviderPreset)
dashboard/src/pages/Settings/Models/presetUtils.ts:57
↓ 3 callersMethodpreview_document
Return extracted plain text for a readable knowledge document.
src/octop/infra/knowledge/service.py:179
↓ 3 callersFunctionpreview_paths_from_inventory
Build dashboard preview paths from manifest ``prompt_files`` + skills/agents.
src/octop/infra/agents/experts/catalog.py:168
↓ 3 callersMethodprobe_config
Probe credentials without persisting a channel row.
src/octop/infra/gateway/gateway.py:541
↓ 3 callersFunctionprobe_local_model
Time a tiny local embedding and report the vector width. Shared by the ONNX admin test endpoint and the generic provider probe so the local s
src/octop/infra/agents/providers/onnx_service.py:407
↓ 3 callersFunctionproject_resume_stream
( agent_manager: AgentManager, agent_id: str, thread_id: str, decisions: list[dict[str, Any]],
src/octop/infra/gateway/process/stream_project.py:262
↓ 3 callersFunctionprune_auto_backups
Delete oldest automatic backups beyond ``keep``; return deleted filenames. Manual ``octop-backup-*`` archives are never removed. ``keep <= 0`` de
src/octop/infra/backup/store.py:230
↓ 3 callersMethodpush_session_text
Deliver one complete proactive message to a resolved session.
src/octop/infra/gateway/gateway.py:411
↓ 3 callersMethodpush_text
Proactively push text to an IM user via ChannelManager.
src/octop/infra/gateway/gateway.py:522
↓ 3 callersMethodput_config
( self, body: Mapping[str, object], *, secret_repo: SecretRepo | None = None,
src/octop/infra/auth/sso/service.py:126
↓ 3 callersMethodput_document
( self, conn: sqlite3.Connection, *, doc_id: str, thread_id: str,
src/octop/infra/history/store.py:115
↓ 3 callersFunctionpythonExe
(root string)
desktop/src/download.go:30
↓ 3 callersFunctionpython_deps_install_cmd
Build install command for desktop optional Python packages.
src/octop/infra/desktop/setup.py:348
↓ 3 callersFunctionqmark_to_pyformat
Rewrite ``?`` placeholders to psycopg ``%s`` (no string-literal awareness).
src/octop/infra/db/pool.py:15
↓ 3 callersFunctionraise_if_backend_outside_user_root
(policy_repo: Any, user_id: int, backend: Any)
src/octop/infra/users/resource_policy.py:136
↓ 3 callersFunctionraise_skill_package_name_taken
(name: str)
src/octop/infra/skills/skill_package_store.py:43
↓ 3 callersFunctionread_geometry
()
src/octop/infra/desktop/setup.py:266
↓ 3 callersFunctionread_snapshot_avatar
Load ``.octop/avatar.*`` (or legacy root ``avatar.*``) from a published snapshot.
src/octop/infra/agents/avatar.py:137
↓ 3 callersFunctionread_workspace_manifest_data
Parse workspace ``.octop/manifest.json`` (legacy root fallback) as a dict.
src/octop/infra/agents/experts/catalog.py:346
↓ 3 callersFunctionread_workspace_manifest_welcome
Parse workspace welcome manifest (``.octop/manifest.json``), if present and valid.
src/octop/infra/agents/experts/catalog.py:361
↓ 3 callersFunctionreasoningModeLabel
(mode: "auto" | "enabled" | "disabled")
dashboard/src/pages/Chat/components/ChatInputActionsRow.tsx:312
↓ 3 callersFunctionredact_servers_for_api
(servers: dict[str, Any])
src/octop/infra/connectors/custom_mcp.py:311
↓ 3 callersFunctionregisterToolRenderer
(reg: ToolRendererRegistration)
dashboard/src/plugins/toolRenderers/registry.ts:46
↓ 3 callersMethodregister_from_request
( self, raw_request: dict[str, Any], *, ctx: HitlStreamContext, )
src/octop/infra/gateway/hitl/coordinator.py:120
↓ 3 callersMethodreindex_document
( self, kb_id: str, doc_id: str, *, actor_user_id: int, is_admin: bool = False )
src/octop/infra/knowledge/service.py:407
↓ 3 callersFunctionrename_host_dir
Rename a host directory in place (basename only).
src/octop/infra/utils/host_dirs.py:320
↓ 3 callersFunctionrender_user_text
(state: dict[str, Any])
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:2101
↓ 3 callersFunctionrepair_all_legacy_thread_titles
Persist :func:`repair_legacy_thread_title` for every row. Returns update count.
src/octop/infra/db/repos/threads.py:135
↓ 3 callersFunctionrepair_known_utf8_corruption
Return repaired bytes for known corruptions, or None if unchanged/unrepairable.
src/octop/infra/utils/utf8_text.py:59
↓ 3 callersFunctionrepair_legacy_thread_title
Rewrite hard-cut titles that hit the cap without an ellipsis. Pre-clipping storage truncated at ``max_len`` with no ``…``. New writes from :f
src/octop/infra/db/repos/threads.py:111
↓ 3 callersFunctionrepair_skill_manifest_file
Repair a on-disk ``SKILL.md`` for known corruption. Returns the decoded text when the file was repaired and rewritten, or ``None`` when the f
src/octop/infra/utils/utf8_text.py:131
↓ 3 callersMethodreplace_doc_chunks
Atomically replace all chunks belonging to one document.
src/octop/infra/knowledge/index.py:57
← previousnext →1,801–1,900 of 12,485, ranked by callers