MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 14 callersFunction_services
(**extra: object)
tests/unit/api/test_knowledge_bases.py:22
↓ 14 callersFunction_workspace_io_path
Resolve an API path for ``BackendWorkspace``. ``file://`` is always a host absolute path. When ``from_workspace`` is true (workspace UI): le
src/octop/api/routers/workspace.py:85
↓ 14 callersFunctionbuild_http_mcp_spec
( *, entry: ConnectorCatalogEntry, instance_id: str, creds: dict[str, Any], config: OctopC
src/octop/infra/connectors/builder.py:78
↓ 14 callersFunctiondefault_library_root
Return the in-package library directory.
src/octop/infra/agents/experts/catalog.py:758
↓ 14 callersFunctionhandler
(request: httpx.Request)
tests/unit/test_connectors.py:442
↓ 14 callersFunctionhash_password
(plain: str)
src/octop/infra/users/password.py:35
↓ 14 callersMethodlist_events
( self, thread_id: str, *, before_seq: int | None, limit: int,
src/octop/infra/trajectory/service.py:85
↓ 14 callersFunctionnormalize_kb_path
Return a workspace-style relative path (no leading slash, no ``..``).
src/octop/infra/knowledge/relpath.py:6
↓ 14 callersFunctiononSelect
(keys: React.Key[])
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:791
↓ 14 callersFunctionparse_document
Extract searchable text from a supported local document.
src/octop/infra/knowledge/parse.py:32
↓ 14 callersFunctionpickLocale
( node: LocalizedText | undefined, locale: UiLocale, options?: { crossFallback?: boolean }, )
dashboard/src/utils/localizedText.ts:9
↓ 14 callersMethodpost
(self, url, *, headers, json)
tests/unit/knowledge/test_embed.py:38
↓ 14 callersFunctionproject_harness_chunk
( chunk: dict[str, Any], *, agent_id: str, thread_id: str, seq: int, )
src/octop/infra/trajectory/projector.py:33
↓ 14 callersMethodreload
Rebuild harness runtime for one agent (e.g. after plugin install).
src/octop/infra/agents/manager.py:1119
↓ 14 callersFunctionrequire_agent_row
Load an agent row after owner / shared-agent / admin ``as_user`` checks.
src/octop/api/common/agent.py:39
↓ 14 callersFunctionvalidate_skill_slug
(slug: str)
src/octop/infra/skills/skill_packages.py:38
↓ 14 callersMethodworkspace_for_agent
Return the agent's :class:`BackendWorkspace`. Reuses the live harness agent's workspace when the agent is running; only falls back to
src/octop/infra/agents/manager.py:813
↓ 13 callersFunction_create_thread
(client: Any, auth: dict[str, str], agent_id: str)
tests/integration/test_trajectory_api.py:19
↓ 13 callersFunction_install_httpx_mock
(monkeypatch: pytest.MonkeyPatch, captured: dict[str, object])
tests/unit/connectors/test_tencent_ima.py:10
↓ 13 callersFunction_make_app
(server, user)
tests/unit/gateway/test_channels_qr.py:32
↓ 13 callersFunction_require_thread
( server: Any, agent_id: str, thread_id: str, user: Any, as_user: int | None )
src/octop/api/routers/chat/history.py:81
↓ 13 callersFunction_store
(server: OctopServer)
src/octop/api/routers/skill_packages.py:131
↓ 13 callersMethodadownload_bytes
(self, path: str)
tests/unit/agents/test_agent_avatar.py:33
↓ 13 callersFunctionbuild_app
(server: OctopServer)
src/octop/api/app.py:101
↓ 13 callersFunctionbuild_content_from_message
Convert ``InboundMessage.content`` into harness user content. Images within :data:`VISION_MAX_COUNT` / size limits become ``image_url`` block
src/octop/infra/gateway/process/harness_request.py:96
↓ 13 callersMethodclose
(self, code: int = 1000, reason: str | None = None)
tests/unit/api/test_terminal_sessions.py:197
↓ 13 callersFunctionconfigure_provider
( service: SsoService, *, enabled: bool = True, issuer: str = "https://issuer.example/", c
tests/unit/auth/test_sso_service.py:33
↓ 13 callersFunctionenv_file_path
(root: Path)
src/octop/infra/utils/env_file.py:35
↓ 13 callersFunctionisAgentChatReady
(state: string | null | undefined)
dashboard/src/utils/agentError.ts:61
↓ 13 callersFunctionis_model_downloaded
True only when catalog-safe id has actual ONNX weight files on disk.
src/octop/infra/agents/providers/onnx_service.py:257
↓ 13 callersMethodjson
(self)
tests/unit/knowledge/test_embed.py:28
↓ 13 callersFunctionparse_slug
(raw: str)
src/octop/infra/auth/captcha/providers.py:335
↓ 13 callersFunctionprobe_provider_row
Probe a provider: chat models get a one-token ping; embedding models POST /embeddings.
src/octop/infra/agents/providers/probe.py:215
↓ 13 callersMethodput_custom_servers
(self, user_id: int, servers: dict[str, Any])
src/octop/infra/connectors/service.py:164
↓ 13 callersFunctionreasoning_capability
Return a stable capability shape, accepting legacy model metadata.
src/octop/infra/agents/providers/reasoning.py:61
↓ 13 callersMethodrename_document
(self, *_args: object, **_kwargs: object)
tests/unit/api/test_knowledge_bases.py:579
↓ 13 callersFunctionresolve
()
dashboard/src/utils/antdModal.ts:18
↓ 13 callersMethodset
(self, key: str, value: str)
src/octop/infra/db/repos/settings.py:19
↓ 13 callersFunctionskill_package_ids_list
Return non-empty skill package ids from agent config.
src/octop/infra/agents/manager.py:119
↓ 12 callersFunctionDocument
({ onLoadSuccess, children, }: { onLoadSuccess?: (pdf: unknown) => void; children?: React.Re
dashboard/src/components/PdfDocumentPreview.windowed.test.tsx:18
↓ 12 callersFunction_attach_registry
Attach a preconfigured harness mock without syncing DB providers.
tests/unit/agents/test_agent_registry.py:89
↓ 12 callersFunction_ctx
( agent_id: str, *, user: Any, as_user: int | None, server: Any, owner_only: bool = Tr
src/octop/api/routers/skills.py:92
↓ 12 callersFunction_make_server
(*, has_agent: bool = True)
tests/unit/api/test_terminal_sessions.py:202
↓ 12 callersFunction_table_columns
(db: DatabasePool, table: str)
src/octop/infra/db/migrate.py:77
↓ 12 callersFunction_url
(agent_id: str, thread_id: str, suffix: str = "")
tests/integration/test_trajectory_api.py:15
↓ 12 callersMethodcall_tool
(self, creds: dict[str, Any], name: str, args: dict[str, Any])
src/octop/infra/connectors/gateway/registry.py:27
↓ 12 callersFunctionclassify_stream_error_message
Return a stable ``octop:stream_errors.*`` key for known model failures.
src/octop/i18n/domains/stream.py:53
↓ 12 callersFunctiondesktop_status
(*, locale: str = "en")
src/octop/infra/desktop/setup.py:606
↓ 12 callersFunctiongetOrCreate
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:345
↓ 12 callersMethodget_session
(self, session_key: str)
src/octop/infra/gateway/threads.py:201
↓ 12 callersFunctionjson_output_enabled
Return True if the root ``--json`` flag was set.
src/octop/cli/support/ctx.py:57
↓ 12 callersFunctionnodeKey
(t: TreeKey)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:81
↓ 12 callersFunctionnormalize_manifest_assets
Validate and trim generated manifest fields.
src/octop/infra/agents/experts/manifest_generator.py:330
↓ 12 callersFunctionparse_task_examples
Parse ``task_examples`` from a manifest dict. Canonical form is locale-keyed string arrays:: {"zh": ["…"], "en": ["…"]} A plain ``[
src/octop/infra/agents/experts/catalog.py:514
↓ 12 callersFunctionprobe_connector
( entry: ConnectorCatalogEntry, cred_payload: dict[str, Any], *, instance_id: str, config:
src/octop/infra/connectors/probe.py:369
↓ 12 callersMethodset_active_model
(self, provider_name: str, model_id: str)
src/octop/infra/db/repos/settings.py:37
↓ 12 callersMethodshutdown
(self)
src/octop/infra/gateway/gateway.py:288
↓ 12 callersMethodstatus
(self, *, now: int | None = None)
src/octop/infra/db/repos/invites.py:41
↓ 12 callersMethodtext
(self)
src/octop/infra/knowledge/parse.py:204
↓ 12 callersMethodto_public_dict
(self, *, include_agent: bool = False)
src/octop/infra/db/repos/cron.py:108
↓ 12 callersMethodturn
(self, thread_id: str, *, unfinished: bool = False)
src/octop/infra/history/store.py:102
↓ 12 callersMethodupdate
(self, n: float | None = 1)
src/octop/infra/agents/providers/onnx_download.py:248
↓ 12 callersFunctionuseTheme
()
dashboard/src/context/ThemeContext.tsx:191
↓ 11 callersFunction_b64
(text: str)
tests/integration/test_skills_api.py:15
↓ 11 callersFunction_generated_payload
(*, prompt_count: int = 6)
tests/unit/agents/test_expert_manifest_generator.py:24
↓ 11 callersFunction_install_log
(locale: str, key: str, **kwargs: object)
src/octop/infra/desktop/setup.py:38
↓ 11 callersFunction_make_session
Build a real ``_PtySession`` backed by a mock process + a real fd. ``proc.poll()`` returns 0 (exited) so ``_destroy_session`` skips the proce
tests/unit/api/test_terminal_sessions.py:29
↓ 11 callersFunction_registry
(server: Any)
src/octop/api/routers/acp.py:63
↓ 11 callersFunction_resolve_user
(agent_id: str, as_user: str | None)
src/octop/cli/commands/channel.py:22
↓ 11 callersMethodadownload_bytes
(self, path: str)
src/octop/infra/agents/avatar.py:38
↓ 11 callersFunctionbuild_default_dispatcher
()
src/octop/infra/gateway/slash/dispatcher.py:78
↓ 11 callersMethodensure_agent_workspace
Global agent workspace, mkdir -p.
src/octop/infra/utils/paths.py:86
↓ 11 callersFunctionexport_agent_workspace_to_dir
Atomically replace *dest* with exported workspace files.
src/octop/infra/agents/experts/publish.py:111
↓ 11 callersFunctionextract_workspace_rel
Return ``outbound/…`` or ``inbound/…`` when present in *path* (any common shape).
src/octop/infra/gateway/media/backend_files.py:160
↓ 11 callersFunctiongenerateId
()
dashboard/src/utils/messageParser.ts:28
↓ 11 callersMethodget_base
(self, kb_id: str)
src/octop/infra/db/repos/knowledge.py:197
↓ 11 callersFunctionhost_path_text
Serialize a host path for API/UI (POSIX separators, even on Windows).
src/octop/infra/utils/host_dirs.py:30
↓ 11 callersFunctionis_chat_eligible_model
True when *model* may appear in chat pickers and auto-route candidates.
src/octop/infra/agents/providers/model_flags.py:116
↓ 11 callersMethoditer_turn_chunks
(self, msg: InboundMessage)
tests/unit/gateway/test_cli_channel.py:38
↓ 11 callersFunctionlaunchd_domain
Return the launchd service-target for the given scope. This is the form accepted by `launchctl kickstart -k` / `bootout` / `print` — e.g. ``g
src/octop/infra/setup/service.py:143
↓ 11 callersMethodlist_installed
(self)
src/octop/infra/agents/plugins/manager.py:275
↓ 11 callersFunctionload
(path: Path)
src/octop/cli/support/state.py:24
↓ 11 callersMethodload
(self, code: str | None)
src/octop/infra/agents/persona.py:44
↓ 11 callersFunctionparse_ask_reply
Turn a plain IM reply into the ``respond`` message sent back to the model. Selection shorthands (``a``, ``2``, ``a,c``) are expanded to their opt
src/octop/infra/gateway/hitl/format.py:234
↓ 11 callersFunctionparse_frontmatter
Split markdown with optional ``---`` YAML frontmatter. Returns ``(metadata_dict, body)``. Malformed frontmatter is treated as no-frontmatter
src/octop/infra/utils/frontmatter.py:61
↓ 11 callersFunctionportableDir
()
desktop/src/settings.go:48
↓ 11 callersMethodread
(self, size: int = -1)
tests/unit/backup/test_store.py:241
↓ 11 callersMethodregister
( self, *, thread_id: str, agent_id: str, user_id: int, sessio
src/octop/infra/gateway/hitl/store.py:38
↓ 11 callersMethodregisterRenderer
( reg: Omit<ToolRendererRegistration, "pluginId"> & { pluginId?: string }, )
dashboard/src/plugins/toolRenderers/types.ts:63
↓ 11 callersFunctionresolve_agent_workspace_dir
Prefer ``config.workspace_dir`` via agent registry; else Octop default layout.
src/octop/api/common/agent_workspace.py:9
↓ 11 callersFunctionresolve_usage_window
Map a window alias to ``[start, end)`` unix seconds in *timezone*. Supported: today | yesterday | last_7d | last_30d | all day:YYYY-M
src/octop/infra/db/repos/usage.py:73
↓ 11 callersFunctionrun_cli
Run argv; return stdout on success. Raise ValueError on failure.
src/octop/infra/connectors/gateway/cli_runner.py:26
↓ 11 callersMethodset_state
(self, agent_id: str, state: str, *, error: str | None = None)
src/octop/infra/db/repos/agents.py:193
↓ 11 callersFunctionstopPolling
()
dashboard/src/pages/Settings/HttpsSettings/index.tsx:90
↓ 11 callersFunctionunit_path
Return the on-disk path where the unit file should live for ``mode``/``scope``. ``scope`` defaults to the inferred value via :func:`resolve_servi
src/octop/infra/setup/service.py:344
↓ 11 callersMethodupload_document
( self, kb_id: str, *, actor_user_id: int, filename: str, cont
src/octop/infra/knowledge/service.py:347
↓ 11 callersFunctionuser_browser_profile
Stable harness-browser profile name for one Octop user. Dashboard and CLI turns use the logged-in user. IM turns use the agent owner (the sam
src/octop/infra/utils/browser_media.py:34
↓ 11 callersFunctionvalidate_inbound_media_type
(media_type: str, filename: str = "")
src/octop/infra/gateway/media/inbound_store.py:343
↓ 11 callersFunctionvalidate_password_policy
Raise ``OctopError`` when ``password`` is too weak or equals ``old_password``. Rules: at least ``MIN_PASSWORD_LENGTH`` chars, include a letter an
src/octop/infra/users/password.py:48
↓ 11 callersMethodwrite_skill
( self, pack_id: str, slug: str, files: list[tuple[str, bytes]], )
src/octop/infra/skills/skill_package_store.py:147
← previousnext →201–300 of 12,485, ranked by callers