MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 8 callersFunction_seed_memory
Populate the agent's memory.sqlite with one row per layer.
tests/integration/test_memory_api.py:40
↓ 8 callersFunction_service
(server: Any)
src/octop/api/routers/auth_oidc.py:46
↓ 8 callersFunction_service
(server: Any)
src/octop/api/routers/auth_oauth.py:51
↓ 8 callersFunction_settings_server
(stable_only: bool | None = None)
tests/unit/api/test_update_router.py:266
↓ 8 callersMethod_setup_logging
(self)
src/octop/infra/server.py:545
↓ 8 callersFunction_sse
(event: dict[str, object])
src/octop/infra/desktop/setup.py:706
↓ 8 callersMethod_start_agent
( self, row: AgentRow, *, init_workspace: bool = True )
src/octop/infra/agents/manager.py:2221
↓ 8 callersFunction_tool_by_name
(tools: list, name: str)
tests/unit/cron/test_cron_tools.py:60
↓ 8 callersMethod_with_display
(self, fn: Any)
src/octop/infra/desktop/input.py:141
↓ 8 callersFunction_workspace
(root: Path)
tests/unit/agents/test_expert_publish_snapshot.py:31
↓ 8 callersFunction_write_manifest
(expert_dir: Path, *, extra: dict | None = None)
tests/unit/agents/test_expert_catalog.py:9
↓ 8 callersFunction_write_plugin
(root: Path, plugin_id: str, *, version: str = "0.1.0")
tests/unit/test_plugin_seed.py:17
↓ 8 callersFunctionapplyUserLocale
( raw: string | null | undefined, )
dashboard/src/utils/locale.ts:22
↓ 8 callersFunctionapply_skill_presentation
Overlay optional UI metadata without changing the stable skill slug. Without ``locale``, ``name`` / ``description`` stay the frontmatter identity
src/octop/infra/skills/presentation.py:34
↓ 8 callersMethodaupload_bytes
(self, path: str, data: bytes)
src/octop/infra/agents/avatar.py:36
↓ 8 callersMethodaupload_bytes
(self, path: str, data: bytes)
tests/unit/agents/test_agent_avatar.py:30
↓ 8 callersFunctionclearStreamingFlags
(state: SessionStreamState)
dashboard/src/pages/Chat/hooks/chatStore.ts:390
↓ 8 callersFunctionclip_thread_title
Bound stored thread titles; longer names end with an ellipsis. Whitespace is collapsed so auto-titles from multi-line messages stay tidy. Exa
src/octop/infra/db/repos/threads.py:95
↓ 8 callersMethodclose
(self)
tests/unit/db/test_db_factory.py:130
↓ 8 callersMethodcommunicate
(self, timeout: float | None = None)
tests/unit/desktop/test_capture.py:93
↓ 8 callersMethodcreate
Create a new agent, persist to DB, and register with harness.
src/octop/infra/agents/manager.py:505
↓ 8 callersFunctioncreate_agent
( client: httpx.AsyncClient, auth: dict[str, str], *, name: str = "bot", config: dict[str,
tests/support/auth.py:112
↓ 8 callersMethoddocuments
( self, thread_id: str, kind: str, *, segment_id: int | None = None,
src/octop/infra/history/store.py:196
↓ 8 callersFunctionembedded_runtime
Boot OctopServer once per event loop; nested ``async with`` shares it.
src/octop/cli/repl/embedded_session.py:17
↓ 8 callersFunctionemitStore
()
dashboard/src/pages/Control/Terminal/useTerminal.ts:162
↓ 8 callersFunctionencrypt_secret
Encrypt an SSO secret using the installation-specific Fernet key.
src/octop/infra/auth/sso/crypto.py:17
↓ 8 callersMethodensure_folder
(self, kb_id: str, path: str)
src/octop/infra/db/repos/knowledge.py:256
↓ 8 callersMethodensure_seeded
(self)
src/octop/infra/agents/security/tool_guard_rules.py:34
↓ 8 callersFunctionformatServerDateTime
( epochSec: number, timeZone?: string, )
dashboard/src/utils/formatMessageTime.ts:111
↓ 8 callersMethodfrom_dict
(cls, raw: dict[str, Any] | None)
src/octop/infra/agents/providers/onnx_service.py:181
↓ 8 callersFunctiongetDocKind
(path: string)
dashboard/src/utils/docKind.ts:13
↓ 8 callersMethodget_active_model
Return (provider_name, model_id); empty strings if not set.
src/octop/infra/db/repos/settings.py:31
↓ 8 callersMethodget_by_email
(self, email: str)
src/octop/infra/db/repos/users.py:215
↓ 8 callersMethodget_by_kind
(self, kind: str)
src/octop/infra/db/repos/sso.py:121
↓ 8 callersMethodget_channel
(self, channel_id: str)
src/octop/infra/gateway/gateway.py:301
↓ 8 callersMethodget_extra
(self)
src/octop/infra/db/repos/voice_providers.py:50
↓ 8 callersMethodget_row
Look up an agent row by its public agent_id (ULID). Returns None if absent.
src/octop/infra/agents/manager.py:809
↓ 8 callersMethodhandle_callback
( self, *, code: str | None, state: str | None, error: str | None,
src/octop/infra/auth/sso/service.py:255
↓ 8 callersFunctionhost_home_dir
Absolute home directory of the OS user running the Octop process.
src/octop/infra/utils/host_dirs.py:35
↓ 8 callersFunctioninject_agent_execute_env
Fold Octop platform identity into shell/sandbox backend specs.
src/octop/infra/agents/execute_env.py:93
↓ 8 callersFunctionis_custom_mcp_kind
(kind: str)
src/octop/infra/connectors/custom_mcp.py:25
↓ 8 callersFunctionis_prerelease
True when *value* is a PEP 440 pre-release (a/b/rc/dev).
src/octop/infra/setup/self_update.py:311
↓ 8 callersMethodissue
(self)
src/octop/infra/setup/wizard_tokens.py:33
↓ 8 callersMethodlist_tools
(self)
src/octop/infra/connectors/gateway/registry.py:25
↓ 8 callersMethodload_installed
(self, *, install_deps: bool = True)
src/octop/infra/agents/plugins/manager.py:214
↓ 8 callersFunctionmobile_status
(config: OctopConfig, *, locale: str = "en")
src/octop/infra/mobile/setup.py:79
↓ 8 callersFunctionnormalizeKnowledgePath
(raw: string | null | undefined)
dashboard/src/utils/knowledgePath.ts:3
↓ 8 callersFunctionnormalize_backup_filename
Return a safe basename for a backup archive under ``backups_dir``.
src/octop/infra/backup/store.py:74
↓ 8 callersFunctionnormalize_cron_task_type
Coerce unknown values to the default delivery mode.
src/octop/infra/cron/task_type.py:15
↓ 8 callersFunctiononDelete
(row: ProviderRow)
dashboard/src/pages/Settings/octop/Providers.tsx:115
↓ 8 callersFunctionparse_preferences_json
(raw: str | None)
src/octop/infra/users/preferences.py:35
↓ 8 callersFunctionpartial_updates
Build SET clauses for optional fields (None = skip).
src/octop/infra/db/repos/_base.py:34
↓ 8 callersFunctionportableVersion
(root string)
desktop/src/download.go:103
↓ 8 callersFunctionpublic_config
(effective: EffectiveCaptcha)
src/octop/infra/auth/captcha/store.py:41
↓ 8 callersFunctionreasoning_request_parameters
Build model-field and request-body overrides for one provider adapter.
src/octop/infra/agents/providers/reasoning.py:160
↓ 8 callersMethodreceive_json
(self, *, timeout: float = _WS_RECEIVE_TIMEOUT_S)
tests/support/http.py:98
↓ 8 callersFunctionrequire_cron_name
Return a non-empty display name; blank input falls back to the prompt prefix.
src/octop/infra/cron/task_type.py:48
↓ 8 callersFunctionrequire_cron_prompt
Validate cron instruction length and non-empty content.
src/octop/infra/cron/task_type.py:29
↓ 8 callersFunctionresolve
( t: HitlTranslate, key: string, fallback: string, vars?: Record<string, unknown>, )
dashboard/src/pages/Chat/utils/summarizeHitlAction.ts:61
↓ 8 callersFunctionresolve_bind
Resolve the uvicorn bind address: CLI flag > env > config.json.
src/octop/cli/commands/run.py:98
↓ 8 callersFunctionresolve_cron_user_id
(agent_id: str, as_user: str | None, *, home: Path | None = None)
src/octop/cli/support/offline_ops.py:236
↓ 8 callersFunctionsafe_request
Validate, resolve, pin the IP, and perform an outbound HTTPS request. URL scheme/host must be https and resolve to a public IP (see :func:`va
src/octop/infra/utils/ssrf_guard.py:165
↓ 8 callersFunctionseed_bundled_plugins
Copy missing bundled plugins into ``plugins_dir``, globally disabled. An id listed in ``bundled_plugins_seeded`` is never re-created after un
src/octop/infra/agents/plugins/seed.py:55
↓ 8 callersMethodsend_text
(self, text: str)
tests/unit/api/test_terminal_sessions.py:189
↓ 8 callersFunctionset_mobile_agent_control
Enable/disable agent control for a concrete adb serial. Enabling requires a non-empty ``device``. Disabling clears the binding. Prefer lettin
src/octop/infra/mobile/agent_control.py:30
↓ 8 callersFunctiontool_display_name
(name: str | None, locale: str | Locale = "en")
src/octop/i18n/domains/tools.py:94
↓ 8 callersMethodupdate
Update agent config in DB and reload harness agent in the background.
src/octop/infra/agents/manager.py:648
↓ 8 callersFunctionuseCardTableView
(defaultMode: CardTableViewMode = "table")
dashboard/src/hooks/useCardTableView.ts:11
↓ 8 callersFunctionvalidate_remote_browser_bookmarks
(items: list[Any])
src/octop/infra/users/preferences.py:45
↓ 8 callersFunctionwindows_neutralize_host_root
Windows: rewrite local backends rooted at ``/`` to the agent workspace. ``root_dir: "/"`` is the dashboard's default for local backends. On Windo
src/octop/infra/backend/resolver.py:34
↓ 8 callersFunctionwriteTestGreenZip
(t *testing.T, path, version string)
desktop/src/download_test.go:395
↓ 8 callersFunctionwrite_backup_file
(paths: PathLayout, filename: str, data: bytes)
src/octop/infra/backup/store.py:179
↓ 7 callersFunction_aread_text
(workspace: Any, path: str)
src/octop/api/routers/skills.py:134
↓ 7 callersFunction_block_file_refs
(block: dict[str, Any])
src/octop/infra/gateway/media/tool_media.py:133
↓ 7 callersFunction_emit
(action: str, level: str, step: str, message: str, **extra: Any)
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:83
↓ 7 callersFunction_ensure_mcp_oauth_url
Block SSRF: only public https endpoints under the issuer domain.
src/octop/infra/connectors/oauth/mcp.py:46
↓ 7 callersFunction_fake_row
(channel_id: str = "ch1")
tests/unit/gateway/test_gateway_runtime_status.py:31
↓ 7 callersFunction_fake_sess
()
tests/unit/api/test_browser_stream_mouse.py:13
↓ 7 callersFunction_integer_pk_sql
(db: DatabasePool)
src/octop/infra/db/migrate.py:266
↓ 7 callersFunction_make_gateway
(tmp_path: Path)
tests/unit/gateway/test_gateway_runtime_status.py:19
↓ 7 callersFunction_mock_response
(status: int, payload: Any)
tests/unit/test_provider_fetch_models.py:14
↓ 7 callersFunction_normalize_id
(label: str, value: str, *, prefix: str, fallback_label: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:317
↓ 7 callersFunction_parse_frontmatter
Split a markdown file with optional YAML frontmatter. Accepts both ``---``-delimited and ``+++`` (TOML) blocks; we only handle YAML for simpl
src/octop/api/routers/skills.py:109
↓ 7 callersMethod_register
(self, store: HitlPendingStore, actions: list[dict])
tests/unit/gateway/test_hitl_ask_user.py:207
↓ 7 callersFunction_registry
(usage: object | None, *, history: list[object] | None = None)
tests/unit/agents/test_context_breakdown.py:60
↓ 7 callersFunction_repos
(tmp_path: Path)
tests/unit/auth/test_captcha_store.py:17
↓ 7 callersFunction_row
(**kwargs: object)
tests/unit/test_storage_probe.py:16
↓ 7 callersFunction_row_payload
(row: Any, *, has_original: bool | None = None)
src/octop/api/routers/knowledge_bases.py:148
↓ 7 callersFunction_schedule_connector_reload
(server: Any, user_id: int, *, all_users: bool = False)
src/octop/api/routers/connectors.py:417
↓ 7 callersFunction_scoped_spec
(tmp_path: Path)
tests/integration/test_bwrap_jail.py:34
↓ 7 callersFunction_session_key
(agent_id: str, user_id: int)
tests/unit/db/test_repo_cron.py:44
↓ 7 callersFunction_shared_agent
(env)
tests/integration/test_agents_shared.py:15
↓ 7 callersFunction_tencent
()
tests/unit/auth/test_captcha_providers.py:85
↓ 7 callersFunction_voice_manager
(server: Any)
src/octop/api/routers/voice.py:22
↓ 7 callersFunction_wav_header
Minimal canonical WAV header for PCM16LE mono audio. ``data_len`` is clamped to uint32 range; streaming callers pass a max-size sentinel (pla
src/octop/infra/voice/adapters.py:283
↓ 7 callersFunction_workspace
(root: str, *, virtual_mode: bool = False)
tests/unit/gateway/test_tool_media.py:29
↓ 7 callersMethodaccept
(self)
tests/unit/api/test_terminal_sessions.py:185
↓ 7 callersMethodadelete
(self, path: str)
src/octop/infra/agents/avatar.py:40
↓ 7 callersFunctionassert_knowledge_usable
Raise a distinguishable runtime error when the capability cannot be used.
src/octop/infra/knowledge/gate.py:138
↓ 7 callersFunctionauth_header
( client: httpx.AsyncClient, *, username: str = "admin", password: str = TEST_PASSWORD, )
tests/support/auth.py:74
← previousnext →401–500 of 12,485, ranked by callers