MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 3 callersFunction_read_plugin_yaml
(plugin_dir: Path)
src/octop/infra/agents/plugins/manager.py:123
↓ 3 callersFunction_read_stable_only
Missing key defaults to true (only remind about stables).
src/octop/api/routers/update.py:63
↓ 3 callersFunction_read_state_unlocked
(root: Path)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:248
↓ 3 callersFunction_readonly_sqlite_uri
Build a read-only SQLite URI with a percent-encoded filesystem path.
src/octop/infra/backup/snapshot.py:28
↓ 3 callersFunction_rebuild_knowledge_identity_schema
Give knowledge tables integer PKs + public string ids; add document folders.
src/octop/infra/db/migrate.py:551
↓ 3 callersMethod_record_stream_error
(self, *, user_id: int, agent_id: str, exc: Exception)
src/octop/infra/gateway/process/processor.py:1377
↓ 3 callersMethod_record_turn_usage
( self, *, agent_id: str, user_id: int, thread_id: str, usage:
src/octop/infra/gateway/process/processor.py:1396
↓ 3 callersFunction_redact_env_items
(items: list[dict[str, str]])
src/octop/api/routers/envs.py:31
↓ 3 callersFunction_redact_mcp_configs_for_log
(configs: dict[str, Any])
src/octop/infra/connectors/builder.py:427
↓ 3 callersFunction_refresh_legacy_guideline_projection
(state: dict[str, Any])
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:514
↓ 3 callersMethod_refresh_status
(self)
src/octop/cli/repl/render.py:214
↓ 3 callersFunction_refuse_postgres_portable
Portable pack/adopt is a SQLite-file mechanism; PostgreSQL memory has a different migration model. SQLite: one file per agent — pack/adopt mo
src/octop/api/routers/memory_portable.py:47
↓ 3 callersFunction_relation_exists
(db: DatabasePool, table: str, conn: Any | None = None)
src/octop/infra/db/migrate.py:453
↓ 3 callersMethod_reload_agents
Reload agents concurrently with a fixed concurrency cap.
src/octop/infra/agents/manager.py:1174
↓ 3 callersFunction_remote_ready
(provider: Any | None, model_id: str)
src/octop/infra/knowledge/ocr.py:125
↓ 3 callersFunction_repos
(tmp_path: Path)
tests/unit/db/test_thread_messages_repo.py:13
↓ 3 callersMethod_require_channel_manager
(self)
src/octop/infra/gateway/gateway.py:486
↓ 3 callersFunction_require_published_expert
(server: Any, expert_id: str)
src/octop/api/routers/experts.py:339
↓ 3 callersFunction_resolve_active_track
(state: dict[str, Any], track_id: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:1194
↓ 3 callersFunction_resolve_agent_row
Look up the agent row by id via AgentManager.
src/octop/api/routers/mbti.py:36
↓ 3 callersFunction_resolve_custom_target
( instance_id: str, *, user: Any, server: Any, )
src/octop/api/routers/connectors.py:456
↓ 3 callersFunction_resolve_host
(host: str | None)
src/octop/infra/skills/skillhub_market.py:61
↓ 3 callersFunction_resolve_timezone
Resolve timezone with UTC fallback.
src/octop/infra/proactive/scheduler.py:126
↓ 3 callersMethod_resolve_turn_mcp_servers
Merge turn picks with default_open and ensure tools are loaded. Dashboard / HTTP paths should keep ``raise_on_failure=True`` so the c
src/octop/infra/gateway/process/processor.py:1334
↓ 3 callersFunction_root_obj
Return the root group's ``ctx.obj`` dict, or an empty dict. Looks up the *current* click context via ``click.get_current_context``; walks to
src/octop/cli/support/ctx.py:20
↓ 3 callersFunction_row
( *, agent_id: str = "01AGENT", default_model: str | None = None, )
tests/unit/agents/test_provider_store.py:32
↓ 3 callersFunction_row_with_extra
(extra_json: str | None, base_url: str = GO_OPENAI_URL)
tests/unit/providers/test_opencode_session.py:116
↓ 3 callersFunction_run
(command: list[str], *, timeout: int = 120)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:211
↓ 3 callersFunction_run_cmd
(cmd: list[str], *, use_sudo: bool)
src/octop/infra/setup/service.py:496
↓ 3 callersFunction_runtime_dir_for_uid
(uid: int | None = None)
src/octop/infra/browser/setup.py:49
↓ 3 callersFunction_save_configfile_overrides
Persist resolved host/port to config.json (read-merge-write, atomic). A corrupt config.json is a hard error, never an empty base: merging into
src/octop/cli/commands/run.py:109
↓ 3 callersFunction_scene_icon_name
(scene: str)
src/octop/infra/agents/experts/skillhub_market.py:1282
↓ 3 callersFunction_send_json
(ws: WebSocket, payload: dict[str, Any])
src/octop/api/routers/desktop/stream.py:54
↓ 3 callersFunction_service
(server: Any)
src/octop/api/routers/internal_mcp.py:28
↓ 3 callersMethod_set_task
(self, **kwargs: object)
src/octop/infra/setup/tls/manager.py:82
↓ 3 callersFunction_set_winsize
ioctl TIOCSWINSZ on the master fd. Errors are non-fatal.
src/octop/api/routers/terminal.py:110
↓ 3 callersFunction_settings_get
(server: Any)
src/octop/api/routers/onnx_models.py:64
↓ 3 callersFunction_setup_password_required
(server: Any)
src/octop/api/routers/setup.py:100
↓ 3 callersFunction_sheet_text
(title: str, rows: Iterable[Iterable[object]])
src/octop/infra/knowledge/parse.py:224
↓ 3 callersFunction_skill_disable_keys
Return slug / display-name keys to toggle for enable/disable.
src/octop/api/routers/skills.py:1023
↓ 3 callersFunction_skills_roots
(workspace_dir: Path)
src/octop/infra/skills/workspace_catalog.py:74
↓ 3 callersFunction_skillset_from_raw
(raw: dict[str, Any])
src/octop/infra/agents/experts/skillhub_market.py:442
↓ 3 callersFunction_slim_file_block
Dashboard file cards only need workspace path + display name — no preview URLs.
src/octop/infra/gateway/media/tool_media.py:174
↓ 3 callersFunction_stale_path
Create a rotated log file with an mtime shifted ``age_days`` into the past.
tests/unit/test_logging.py:49
↓ 3 callersFunction_stream
(*chunks: bytes)
tests/unit/test_voice_probe.py:44
↓ 3 callersFunction_stt_raising
(exc: Exception)
tests/unit/test_voice_stt_probe.py:46
↓ 3 callersFunction_summary_or_raise
( *, server: Any, user_id: int | None, agent_id: str | None, window: str, granularity:
src/octop/api/routers/usage.py:67
↓ 3 callersFunction_temp_scope_token
Stable per-user suffix for temp dirs (never process id). Linux/macOS use ``uid`` / ``getuid()``. Windows has no ``getuid`` — use ``USERNAME``
src/octop/infra/browser/setup.py:31
↓ 3 callersFunction_text
(value: object)
src/octop/infra/skills/presentation.py:15
↓ 3 callersFunction_token_int
(value: Any)
src/octop/infra/agents/context_breakdown.py:77
↓ 3 callersFunction_tool_by_name
(tools: list, name: str)
tests/unit/mobile/test_mobile_tools.py:38
↓ 3 callersMethod_track_invocation
(self, agent_id: str)
src/octop/infra/agents/manager.py:1041
↓ 3 callersFunction_ts_to_ms
(ts: float | None)
src/octop/api/routers/chat/serialize.py:579
↓ 3 callersMethod_unregister
(self, channel_id: str)
src/octop/infra/gateway/gateway.py:673
↓ 3 callersMethod_upsert
(self, event: TrajectoryEvent, *, final: bool = False)
src/octop/infra/trajectory/service.py:248
↓ 3 callersFunction_user_row_to_dict
(row: Any)
src/octop/cli/support/offline_ops.py:28
↓ 3 callersFunction_validated_session_defaults
( registry: Any, user_id: int, *, knowledge_base_ids: list[str] | None, mcp_servers: list[
src/octop/api/routers/experts.py:72
↓ 3 callersFunction_virtual_desktop_installed
True when the stack is complete enough to start (not a partial leftover).
src/octop/infra/desktop/setup.py:457
↓ 3 callersFunction_voice_format
Map an upload MIME type onto a Tencent ASR ``VoiceFormat`` token.
src/octop/infra/voice/adapters.py:54
↓ 3 callersMethod_wire
(part: dict[str, Any])
src/octop/infra/history/recorder.py:318
↓ 3 callersFunction_with_url
(payload: dict[str, Any], *, base_url: str)
src/octop/api/routers/invites.py:45
↓ 3 callersFunction_workspace
(value: str)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:51
↓ 3 callersFunction_write_skill_files
Write skill files into a workspace, creating empty directories first.
src/octop/api/routers/skills.py:717
↓ 3 callersFunction_zip_files
()
tests/integration/test_plugin_upload.py:22
↓ 3 callersFunctionactivateSelection
(key: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:756
↓ 3 callersFunctionactive_policy_value
Return ``value`` when the policy row exists and is enabled.
src/octop/infra/users/resource_policy.py:21
↓ 3 callersFunctionadmin_patch_provider
( provider_id: int, body: ProviderPatchBody, _: Any = Depends(require_permission("providers")),
src/octop/api/routers/providers.py:233
↓ 3 callersFunctionagentIdFromWorkspacePath
(path: string)
dashboard/src/utils/toolMediaBlocks.ts:182
↓ 3 callersFunctionagent_facing_workspace_dir_from_config
Persisted / agent-visible ``workspace_dir`` for path hints and artifacts.
src/octop/infra/agents/workspace_dir.py:261
↓ 3 callersFunctionagent_is_shared
(row: Any)
src/octop/api/common/agent.py:10
↓ 3 callersFunctionagent_max_input_tokens
Return context-window cap override from ``max_input_length`` when configured.
src/octop/infra/agents/runtime_limits.py:52
↓ 3 callersFunctionagent_model_settings
Map agent config onto LangChain ``model.bind(...)`` kwargs.
src/octop/infra/agents/runtime_limits.py:90
↓ 3 callersFunctionaggregate_metrics
Roll up session metrics from trajectory events. ``turns`` counts events with ``kind == "user"`` (not distinct ``turn_id``). ``steps`` is ``le
src/octop/infra/trajectory/metrics.py:75
↓ 3 callersFunctionainvoke_text
Invoke *llm* with *messages* and return stripped plain text. When *timeout* is set, wraps ``ainvoke`` in ``asyncio.wait_for`` (same pattern a
src/octop/infra/utils/llm_text.py:74
↓ 3 callersFunctionall_keys_for_locale
(locale: Locale = "en")
src/octop/i18n/loader.py:63
↓ 3 callersFunctionall_tool_labels
(locale: str | Locale = "en")
src/octop/i18n/domains/tools.py:98
↓ 3 callersFunctionancestor_dirs
Parent folder paths from root toward the file, excluding the file itself.
src/octop/infra/knowledge/relpath.py:47
↓ 3 callersFunctionappendChildren
( nodes: DirTreeNode[], parentPath: string, children: DirTreeNode[], )
dashboard/src/pages/Experts/components/rootDirTree.ts:141
↓ 3 callersFunctionappendErrorBubble
Append an assistant error bubble — used for backend-emitted error * chunks and HTTP-layer failures.
dashboard/src/pages/Chat/hooks/chatStore.ts:1552
↓ 3 callersFunctionappendUserMessage
(sessionId: string, msg: ChatMessage)
dashboard/src/pages/Chat/hooks/chatStore.ts:589
↓ 3 callersMethodappend_scrollback
Append output to the bounded scrollback buffer.
src/octop/api/routers/terminal.py:234
↓ 3 callersFunctionapplyGuestLocale
()
dashboard/src/utils/locale.ts:36
↓ 3 callersMethodapply_custom_server_oauth
( self, user_id: int, server_name: str, tokens: dict[str, Any], *,
src/octop/infra/connectors/service.py:204
↓ 3 callersFunctionapply_env_file_replace
Apply the file to ``os.environ`` and drop keys that left the file.
src/octop/infra/utils/env_file.py:95
↓ 3 callersFunctionartifacts_for_response
Normalize stored artifact paths for API responses. Absolute entries pass through; legacy relative entries are joined to ``workspace_dir``.
src/octop/infra/agents/middleware/thread_artifacts.py:112
↓ 3 callersFunctionasDate
(input: Date | string | number)
dashboard/src/utils/formatMessageTime.ts:16
↓ 3 callersFunctionassert_can_mutate_published
Allow a published expert's creator or an administrator to mutate it.
src/octop/infra/agents/experts/publish.py:78
↓ 3 callersFunctionattachment_empty_image
(locale: str | Locale = "en")
src/octop/i18n/domains/attachment.py:39
↓ 3 callersFunctionbackup_file_info
Build ``BackupFileInfo`` from an existing archive path.
src/octop/infra/backup/store.py:98
↓ 3 callersFunctionbeginStream
(state: SessionStreamState, sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:384
↓ 3 callersMethodboot
(self)
src/octop/infra/users/manager.py:103
↓ 3 callersMethodboot
(self)
src/octop/infra/cron/manager.py:75
↓ 3 callersFunctionbrandTokensFor
( palette: ThemePalette, isDark: boolean, customColor?: string | null, )
dashboard/src/styles/themePalettes.ts:382
↓ 3 callersFunctionbuildNavSections
( user: OctopUser | null, opts?: { mobileEnabled?: boolean }, )
dashboard/src/layouts/sidebarNav.tsx:74
↓ 3 callersFunctionbuildSubagentMarkdown
(values: SubagentFormValues)
dashboard/src/pages/Experts/components/SubagentDrawer.tsx:71
↓ 3 callersFunctionbuild_download_candidates
Build COS + official HF + hf-mirror candidates.
src/octop/infra/agents/providers/onnx_download.py:103
↓ 3 callersFunctionbuild_gateway_langchain_tools
In-process LangChain tools when harness HTTP MCP load misses gateway servers.
src/octop/infra/connectors/gateway/langchain.py:15
↓ 3 callersFunctionbuild_listen_plan
When TLS is active, bind HTTPS on ``port`` and HTTP on ``tls.http_port``.
src/octop/infra/setup/tls/listeners.py:33
↓ 3 callersFunctionbuild_oauth_storage
( tokens: dict[str, Any], *, issuer: str, resource: str | None, )
src/octop/infra/connectors/custom_mcp.py:271
↓ 3 callersFunctionbuild_protected_resource_metadata_urls
Ordered PRM discovery URLs per MCP authorization / RFC 9728.
src/octop/infra/connectors/oauth/discovery.py:36
← previousnext →1,501–1,600 of 12,485, ranked by callers