MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 7 callersFunctionbootstrap_default_agent
Create ``general-assistant`` for *user_id* when they have no agents yet. Returns the created agent row, or ``None`` when skipped (user already ha
src/octop/infra/agents/default_agent.py:32
↓ 7 callersFunctionbuild_composer_context
Snapshot of per-turn composer selections for history display chips. Shared by dashboard chat and cron agent runs so MessageBubble can render
src/octop/infra/gateway/process/message_keys.py:28
↓ 7 callersFunctionbuild_redirect_uri
Build Octop's SSO callback URL from a public origin. ``callback_path`` defaults to the OIDC callback so existing one-argument callers and IdP
src/octop/infra/auth/sso/public_base.py:11
↓ 7 callersMethodcall
Non-streaming harness invocation (one-shot agent call).
src/octop/infra/agents/manager.py:1060
↓ 7 callersMethodclose
(self)
src/octop/cli/repl/runtime.py:58
↓ 7 callersFunctioncmd_compact
Force summarization + history offload on the current thread. This mirrors deepagents ``SummarizationMiddleware`` (summary message + ``convers
src/octop/infra/gateway/slash/handlers/composite.py:63
↓ 7 callersFunctioncoerce_utf8_text_bytes
Return *data* as valid UTF-8 bytes for non-manifest text files. Binary-looking paths are returned unchanged. Text paths that are already vali
src/octop/infra/utils/utf8_text.py:80
↓ 7 callersFunctioncommit_skill_install
Write a resolved package into the target and run post-install hooks.
src/octop/infra/skills/install.py:142
↓ 7 callersFunctioncompareKey
(path: string)
dashboard/src/pages/Experts/components/rootDirTree.ts:24
↓ 7 callersMethodcontains
Whether this process is actively responsible for a persisted job.
src/octop/infra/gateway/history_backfill.py:44
↓ 7 callersFunctiondecision_rejection_reason
Check decisions against the pause's ``allowed_decisions``. The agent middleware raises deep inside the graph when a decision type is not allo
src/octop/infra/gateway/hitl/coordinator.py:77
↓ 7 callersFunctiondefault_state_path
Default location for the CLI state file (``~/.octop/cli_state.json``).
src/octop/cli/support/state.py:13
↓ 7 callersFunctiondesktopText
(locale Locale, key string, args ...any)
desktop/src/desktop_copy.go:72
↓ 7 callersFunctionenqueue_index_document
Schedule CPU- and I/O-bound indexing outside the event loop.
src/octop/infra/knowledge/jobs.py:63
↓ 7 callersFunctionexpertPaletteColor
(palette: ThemePalette)
dashboard/src/utils/expertColor.ts:83
↓ 7 callersFunctionextractWorkspaceRel
(path: string)
dashboard/src/utils/toolMediaBlocks.ts:55
↓ 7 callersFunctionformat_ask_card
Render one ``ask_user_question`` item as a plain-text IM card. IM clients do not provide the dashboard's interactive multi-question card. Sho
src/octop/infra/gateway/hitl/format.py:129
↓ 7 callersFunctiongetMediaKind
(path: string)
dashboard/src/pages/Agent/Workspace/utils/mediaKind.ts:38
↓ 7 callersFunctiongetProviderLogo
(providerId: string)
dashboard/src/assets/providers/index.ts:57
↓ 7 callersMethodget_active
(self)
src/octop/infra/voice/manager.py:34
↓ 7 callersFunctionget_mcp_oauth_remote
(kind: str)
src/octop/infra/connectors/catalog.py:89
↓ 7 callersFunctionget_onnx_model_meta
Return size / HF source metadata for a model id.
src/octop/infra/agents/providers/onnx_catalog.py:109
↓ 7 callersMethodget_readable_base
( self, kb_id: str, *, actor_user_id: int, is_admin: bool = False )
src/octop/infra/knowledge/service.py:323
↓ 7 callersMethodget_writable_base
( self, kb_id: str, *, actor_user_id: int, is_admin: bool = False )
src/octop/infra/knowledge/service.py:331
↓ 7 callersFunctionhandle_mcp_request
( *, kind: str, creds: dict[str, Any], body: dict[str, Any], )
src/octop/infra/connectors/gateway/protocol.py:15
↓ 7 callersFunctionhost_fs_tree_root
Browse-tree root for the root_dir picker. When *allow_outside_home* is true (current API default for all users): host ``/`` on POSIX, or the
src/octop/infra/utils/host_dirs.py:40
↓ 7 callersFunctionisDataUrl
(url: string)
dashboard/src/utils/toolMediaBlocks.ts:23
↓ 7 callersFunctionisLiveSocketOpen
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:419
↓ 7 callersFunctionis_in_active_hours
Check whether the current time is within the active hours.
src/octop/infra/proactive/scheduler.py:111
↓ 7 callersFunctionissuer_for_kind
(kind: str)
src/octop/infra/connectors/oauth/mcp.py:30
↓ 7 callersMethodlist_agents
(self, user_id: int)
src/octop/infra/agents/manager.py:830
↓ 7 callersMethodlist_all
(self)
tests/unit/providers/test_opencode_session.py:109
↓ 7 callersMethodlist_pushed_episode_ids
Query the set of episode_ids pushed within the last after_days days. Args: agent_id: The agent ID to query. after_day
src/octop/infra/db/repos/care_push.py:49
↓ 7 callersFunctionlooks_like_ssl_error
Return True when *text* looks like a TLS/SSL stack failure.
src/octop/infra/utils/ssl_errors.py:13
↓ 7 callersMethodmark_projection
( self, thread_id: str, status: str, *, error: str | None = None,
src/octop/infra/db/repos/thread_messages.py:138
↓ 7 callersFunctionneedsAuthBlobFetch
(url: string)
dashboard/src/utils/toolMediaBlocks.ts:28
↓ 7 callersFunctionparse_config_json
(raw: str | None)
src/octop/infra/agents/profile.py:27
↓ 7 callersMethodpersist_harness_config
Write harness keys to ``config_json`` and lift leftover profile fields. ``dumps_config`` strips profile keys (including ``skill_package_ids``
src/octop/infra/agents/manager.py:860
↓ 7 callersMethodpersist_skill_package_ids
Persist package ids after validation and hot-sync a running agent. Unlike :meth:`update_config_json`, this does not schedule a harness rebuil
src/octop/infra/agents/manager.py:1806
↓ 7 callersMethodprobe_channel
Start/stop an ephemeral channel instance to verify credentials.
src/octop/infra/gateway/gateway.py:532
↓ 7 callersMethodprobe_credentials
(self, creds: dict[str, Any])
src/octop/infra/connectors/gateway/registry.py:29
↓ 7 callersMethodpush_text_from_session
Push complete text without running the agent.
src/octop/infra/gateway/gateway.py:395
↓ 7 callersMethodpush_to_thread
(self, thread_id: str, frame: dict[str, Any])
src/octop/infra/gateway/ws/ws_hub.py:124
↓ 7 callersMethodreceive_text
(self)
tests/unit/api/test_terminal_sessions.py:192
↓ 7 callersMethodrefresh
Re-scan the library directory; quietly skip malformed entries. Reads ``library/<locale>/divisions.json`` for every locale that has on
src/octop/infra/agents/subagents/catalog.py:174
↓ 7 callersMethodreload_all
Rebuild harness runtime for every enabled agent (bounded parallel).
src/octop/infra/agents/manager.py:1123
↓ 7 callersFunctionrenderQrSteps
(step1: string, step2: string, step3: string)
dashboard/src/pages/Agent/Channels/components/ChannelDrawer.tsx:1183
↓ 7 callersFunctionrender_systemd_unit
(runtime: ServiceRuntime, *, user_unit: bool | None = None)
src/octop/infra/setup/service.py:379
↓ 7 callersFunctionresolve_inbound_attachment_path
Agent-facing path for attachment hints (not a host ``root_dir`` join).
src/octop/infra/gateway/media/inbound_store.py:317
↓ 7 callersMethodresolve_or_create_sso_user
( self, *, provider_id: int, subject: str, claims: dict[str, Any],
src/octop/infra/users/manager.py:237
↓ 7 callersFunctionresolve_run_as_user
Return the OS account the installed service should run as. Root always runs services as root (system scope). Non-root users run services as
src/octop/infra/setup/service.py:195
↓ 7 callersFunctionresolve_skill_package
( *, slug: str, files: list[tuple[str, bytes]], source: str, source_url: str = "", )
src/octop/infra/skills/skill_packages.py:103
↓ 7 callersFunctionseed_openai_provider
( client: httpx.AsyncClient, auth: dict[str, str], *, name: str = "openai", api_key: str =
tests/support/auth.py:83
↓ 7 callersFunctionshowConfirmModal
( props: ModalFuncProps, options?: { isMobile?: boolean }, )
dashboard/src/utils/confirmModal.ts:11
↓ 7 callersMethodstream
Stream harness chunks (Langfuse tracing handled inside harness-agent).
src/octop/infra/agents/manager.py:1048
↓ 7 callersFunctiontls_issue_mode
(config: OctopConfig)
src/octop/infra/setup/tls/modes.py:21
↓ 7 callersFunctionunzipGreen
(zipPath, dest string)
desktop/src/download.go:306
↓ 7 callersMethodupsert_by_kind
( self, kind: str, *, enabled: bool, display_name: str, issuer
src/octop/infra/db/repos/sso.py:153
↓ 7 callersMethodupsert_credentials
( self, *, instance_id: str, blob: bytes, expires_at: int | None = Non
src/octop/infra/db/repos/connectors.py:213
↓ 7 callersFunctionvalidate_https_url
Reject non-https URLs and literal private/reserved IPs.
src/octop/infra/utils/ssrf_guard.py:71
↓ 7 callersFunctionwrite_octop_config
Ensure ``home/config.json`` exists and apply overrides (for tests).
tests/support/app.py:20
↓ 6 callersMethod_adapter
(self, kind: str)
src/octop/infra/auth/sso/service.py:353
↓ 6 callersFunction_agent_row
(server: Any, agent_id: str, user: Any)
src/octop/api/routers/acp.py:139
↓ 6 callersFunction_ai
( input_tokens: int, output_tokens: int, *, model: str = "openai:gpt-4o-mini", )
tests/unit/gateway/test_usage_record.py:14
↓ 6 callersFunction_ask
Indirection point for tests; dispatches to the matching questionary call.
src/octop/cli/support/prompts.py:8
↓ 6 callersFunction_cmd_ok
(proc: subprocess.CompletedProcess[str], fallback: str)
src/octop/infra/setup/service.py:502
↓ 6 callersFunction_conninfo
()
tests/integration/test_postgresql_control_plane.py:25
↓ 6 callersFunction_create_agent
(client: Any, auth: dict[str, str], name: str)
tests/integration/test_plugin_tool_disable.py:34
↓ 6 callersFunction_dashboard_msg
()
tests/unit/gateway/test_processor_trajectory_observe.py:79
↓ 6 callersFunction_err
(exc: Exception)
src/octop/infra/cron/tools.py:93
↓ 6 callersFunction_expert_label_zh
(item: SkillHubSkillset)
src/octop/infra/agents/experts/skillhub_market.py:807
↓ 6 callersFunction_feishu_row
(service: SsoService, *, region: str = "feishu")
tests/unit/auth/test_feishu_adapter.py:33
↓ 6 callersFunction_file
(home: Path)
tests/unit/test_wizard_password.py:19
↓ 6 callersMethod_gc
(self)
src/octop/infra/gateway/hitl/store.py:179
↓ 6 callersFunction_get_cron_manager
(server: Any)
src/octop/api/routers/cron.py:62
↓ 6 callersFunction_guard
(callable_: Callable[[], T])
src/octop/cli/support/prompts.py:15
↓ 6 callersFunction_hash
(value: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:302
↓ 6 callersFunction_install_echo
(client: Any, auth: dict[str, str])
tests/integration/test_plugin_tool_disable.py:24
↓ 6 callersFunction_install_failure
(message: str)
src/octop/infra/desktop/setup.py:756
↓ 6 callersFunction_make_agent
Create a mock HarnessAgent.
tests/unit/proactive/test_proactive_service.py:74
↓ 6 callersFunction_make_library
(tmp_path: Path)
tests/unit/agents/test_subagent_catalog.py:52
↓ 6 callersFunction_map_skillhub_error
(exc: SkillHubMarketError)
src/octop/api/routers/experts.py:281
↓ 6 callersFunction_now
()
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:193
↓ 6 callersFunction_ok
(data: Any)
src/octop/infra/cron/tools.py:89
↓ 6 callersFunction_open_asgi_sse
Drive the ASGI app concurrently so infinite SSE can be consumed chunk-wise. httpx.ASGITransport buffers the full body and cannot test live stream
tests/integration/test_trajectory_api.py:57
↓ 6 callersFunction_owner_and_peer
( env: tuple[Any, Any, dict[str, str]], )
tests/integration/test_published_experts.py:17
↓ 6 callersFunction_package_skill_or_404
( store: SkillPackageStore, package_id: str, slug: str, *, locale: Locale | None = None, )
src/octop/api/routers/skill_packages.py:236
↓ 6 callersFunction_platform_delivery_lifecycle_unavailable
()
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:1464
↓ 6 callersFunction_processor
( *, trajectory_service: object | None, enable_trajectory: bool = True, )
tests/unit/gateway/test_processor_trajectory_observe.py:45
↓ 6 callersFunction_read_sse_until
(response: _SseStream, *, predicate: Any, timeout: float = 5.0)
tests/integration/test_trajectory_api.py:126
↓ 6 callersMethod_record
(self, actions: list[dict], review: list[dict] | None)
tests/unit/gateway/test_hitl_ask_user.py:295
↓ 6 callersMethod_reload_agent
(self, agent_id: str)
src/octop/infra/agents/manager.py:2510
↓ 6 callersFunction_require_mobile_access
(config: OctopConfig, ctx: dict[str, Any], user_repo: Any)
src/octop/infra/mobile/tools.py:37
↓ 6 callersFunction_require_usable
(server: OctopServer, request: Request)
src/octop/api/routers/knowledge_bases.py:286
↓ 6 callersMethod_resolve_harness_model
Per-turn ``model`` for harness requests. - Expert AUTO (no ``default_model`` on row): omit ``model`` → harness routes. - Expert defau
src/octop/infra/gateway/process/processor.py:558
↓ 6 callersFunction_role
(message: Any)
src/octop/infra/gateway/process/history_projection.py:26
↓ 6 callersFunction_row
( *, kind: str, api_key: str | None = "k", extra: dict[str, Any] | None = None, )
tests/unit/test_voice_probe.py:23
↓ 6 callersFunction_row
(agent_id: str = "a1")
tests/unit/agents/test_execute_env.py:13
↓ 6 callersFunction_runtime
(tmp_path: Path, *, mode: str = "systemd", scope: str = "system")
tests/unit/cli/test_service_cmd.py:23
↓ 6 callersMethod_schedule
(self, row: Any)
src/octop/infra/cron/manager.py:236
← previousnext →501–600 of 12,485, ranked by callers