MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 657 callersFunctiont
(key: string, opts?: Record<string, unknown>)
dashboard/src/pages/Experts/components/agentBackendForm.ensureBwrap.test.ts:13
↓ 551 callersMethodappend
(self, event: TrajectoryEvent)
src/octop/infra/trajectory/store.py:19
↓ 396 callersMethodget
(self, user_id: int)
src/octop/infra/db/repos/users.py:126
↓ 371 callersMethodget
(self, expert_id: str)
src/octop/infra/agents/experts/catalog.py:754
↓ 361 callersMethodjson
(self, content_type=None)
tests/integration/test_browser_api.py:169
↓ 348 callersMethodcreate
( self, *, username: str, password_hash: str | None = None, role: str,
src/octop/infra/db/repos/users.py:92
↓ 347 callersMethodexecute
(self, sql: str, params: Any = None)
src/octop/infra/db/pool.py:114
↓ 313 callersMethodpost
(self, url: str, *, headers: dict[str, str], json: dict[str, object])
tests/unit/test_connectors.py:602
↓ 296 callersMethodget
(self, _url: str, timeout=None)
tests/integration/test_browser_api.py:192
↓ 233 callersFunctionlist
()
dashboard/src/api/modules/plugins.ts:73
↓ 230 callersMethodexists
(self, key: str)
src/octop/infra/gateway/media/ingress.py:32
↓ 230 callersMethodread_text
(self)
src/octop/infra/agents/security/tool_guard_rules.py:40
↓ 214 callersMethodresolve
(self, name: str)
src/octop/infra/voice/manager.py:74
↓ 193 callersFunctionset
(value: number)
dashboard/src/pages/Chat/components/TrajectoryLedger.test.tsx:230
↓ 182 callersMethodconnect
(self)
src/octop/infra/db/pool.py:55
↓ 176 callersFunctionrequire_permission
Dependency factory: require the module permission ``key``. ``admin`` is bypassed inside ``user_has_permission``. Unknown keys fail fast at co
src/octop/api/deps.py:201
↓ 154 callersFunctionpatch
( agentId: string, toolName: string, body: ToolSettingPatchBody, )
dashboard/src/api/modules/agentTools.ts:65
↓ 152 callersFunctionrun_migrations
(db: DatabasePool)
src/octop/infra/db/migrate.py:1676
↓ 149 callersMethodis_file
(self)
tests/unit/infra/utils/test_host_dirs.py:287
↓ 148 callersMethoddelete
(self, user_id: int)
src/octop/infra/db/repos/users.py:312
↓ 139 callersMethodget
(self, cron_id: str)
src/octop/infra/cron/manager.py:146
↓ 139 callersMethodtransaction
(self)
src/octop/infra/db/pool.py:60
↓ 135 callersMethodget
(self, pending_id: str)
src/octop/infra/gateway/hitl/store.py:70
↓ 125 callersFunctionrequest
( path: string, options: RequestInit = {}, )
dashboard/src/api/request.ts:298
↓ 120 callersMethoddecode
(sample: Uint8Array, key: boolean)
dashboard/src/utils/h264CanvasDecoder.ts:72
↓ 117 callersMethodget
(self, key: str)
tests/unit/i18n/test_errors.py:41
↓ 117 callersMethodrun
(self)
src/octop/infra/cron/job.py:78
↓ 113 callersMethodencode
(item: Any, key: str = "")
src/octop/infra/history/store.py:140
↓ 108 callersMethodpush
* Feed one raw HTTP response chunk. Strips the WAV header on the first * call, re-buffers partial frames, and schedules complete frames. * Retur
dashboard/src/utils/wavStreamPlayer.ts:96
↓ 105 callersMethodget
()
desktop/src/settings.go:84
↓ 104 callersFunctionapiErrorMessage
( error: unknown, fallback: string, t?: TFunction, )
dashboard/src/utils/apiError.ts:68
↓ 94 callersMethodwrite
( self, *, actor: str | None, action: str, target: str | None = None,
src/octop/infra/db/repos/audit.py:39
↓ 82 callersMethodjson
(self)
tests/unit/test_connectors.py:589
↓ 80 callersMethodwrite_bytes
(self, path: str, data: bytes)
tests/support/fakes.py:364
↓ 77 callersMethodget_agent
Return the live HarnessAgent for agent_id (ULID). Raises: AGENT_NOT_FOUND — no such agent row AGENT_FAILED — agent ex
src/octop/infra/agents/manager.py:939
↓ 75 callersFunctionresolve_request_locale
Pick locale from HTTP ``Accept-Language`` (first tag), else default.
src/octop/infra/utils/locale.py:75
↓ 73 callersMethodset
(enabled bool)
desktop/src/preventsleep.go:10
↓ 71 callersMethodinvoke
(value: list[object])
tests/unit/knowledge/test_ocr.py:146
↓ 70 callersFunctionnew_ulid
()
src/octop/infra/utils/ulid.py:25
↓ 69 callersMethodclose
(self)
src/octop/infra/db/pool.py:70
↓ 66 callersFunctionload_config
Load ``config.json``; write defaults if absent. Apply env overrides. A corrupt file raises with the path and parser position named, and is never
src/octop/config.py:412
↓ 65 callersMethodget_row
Return the raw UserRow (includes disabled flag) for admin read operations.
src/octop/infra/users/manager.py:221
↓ 65 callersFunctionnow_ts
()
src/octop/infra/db/repos/_base.py:22
↓ 64 callersMethodget_config
Return harness config for agent_id, overlaying column skill_package_ids.
src/octop/infra/agents/manager.py:853
↓ 63 callersMethodraise_for_status
(self)
tests/unit/test_connectors.py:586
↓ 60 callersMethodget
(self, token: str)
src/octop/infra/setup/tls/challenge.py:19
↓ 58 callersMethodaddEventListener
(type: string, listener: EventListener)
dashboard/src/pages/Chat/hooks/useTrajectorySession.test.ts:36
↓ 58 callersMethodclick
(self, x: int, y: int, *, button: str = "left", clicks: int = 1)
src/octop/infra/desktop/input.py:150
↓ 57 callersMethodget
(self, key: str)
tests/unit/api/test_update_router.py:272
↓ 56 callersFunction_make_services
(tmp_path: Path)
tests/unit/agents/test_agent_registry.py:31
↓ 56 callersMethodget
(self, _key: str)
tests/unit/test_connectors.py:932
↓ 53 callersMethodget
(self, username: str)
src/octop/infra/users/manager.py:212
↓ 49 callersMethodremoveEventListener
(type: string, listener: EventListener)
dashboard/src/pages/Chat/hooks/useTrajectorySession.test.ts:42
↓ 49 callersMethodsearch
Return the ``k`` best chunk hits using in-process cosine similarity.
src/octop/infra/knowledge/index.py:98
↓ 49 callersFunctiontr
Resolve *key* (e.g. ``slash.help.title``) for *locale*, fallback to ``en``.
src/octop/i18n/loader.py:44
↓ 48 callersFunctionget_catalog_entry
(kind: str)
src/octop/infra/connectors/catalog.py:538
↓ 47 callersFunctionnormalize_locale
(raw: str | None)
src/octop/infra/utils/locale.py:13
↓ 44 callersMethodlist_all
(self, *, include_disabled: bool = True)
src/octop/infra/cron/manager.py:162
↓ 44 callersMethodupdate
( self, cron_id: str, *, trigger: str | None = None, name: str | None
src/octop/infra/cron/manager.py:165
↓ 43 callersMethodclear
(self)
src/octop/infra/setup/tls/challenge.py:23
↓ 43 callersMethodupdate
(self, provider_id: int, **kwargs: Any)
tests/unit/providers/test_opencode_session.py:112
↓ 42 callersFunctionbootstrap_admin
Run verify-password → initial-admin → finish (creates default ``main`` agent).
tests/support/auth.py:32
↓ 42 callersMethodkeys
(self)
src/octop/infra/db/pool.py:95
↓ 41 callersMethodinsert
( self, *, thread_id: str, agent_id: str, user_id: int, channe
src/octop/infra/db/repos/threads.py:159
↓ 40 callersMethodcreate_base
( self, *, owner_user_id: int, name: str, description: str = "",
src/octop/infra/db/repos/knowledge.py:110
↓ 39 callersMethodget
(self, issuer: str, *, httpx_client: httpx.Client)
src/octop/infra/auth/sso/discovery.py:36
↓ 39 callersFunctionreplace
(nodes: TreeDataNode[])
dashboard/src/pages/Admin/Storage/StorageBrowseDrawer.tsx:142
↓ 38 callersFunction_make_registry
Construct a registry with harness already injected (skips boot()).
tests/unit/agents/test_agent_registry.py:76
↓ 38 callersMethodread
(self, key: str)
src/octop/infra/gateway/media/ingress.py:25
↓ 37 callersFunctionopen_cli_services
Open DB + repos for offline CLI reads (caller must not hold while server writes).
src/octop/cli/support/db.py:21
↓ 37 callersMethodset
(self, key: str, value: str)
tests/unit/api/test_update_router.py:275
↓ 35 callersMethodfrom_env
Resolve install root from ``OCTOP_HOME`` or ``~/.octop``.
src/octop/infra/utils/paths.py:15
↓ 34 callersMethodappend
(self, event: TrajectoryEvent)
src/octop/infra/db/repos/trajectory_events.py:44
↓ 34 callersFunctionbuild_shared_services
( *, db: DatabasePool, paths: PathLayout, config: OctopConfig )
src/octop/infra/db/services.py:203
↓ 34 callersMethodget_by_username
(self, username: str)
src/octop/infra/db/repos/users.py:131
↓ 33 callersMethodwait
(self)
tests/unit/mobile/test_docker_install.py:184
↓ 32 callersMethodget_or_create_by_key
( self, *, session_key: str, agent_id: str, user_id: int, chan
src/octop/infra/gateway/threads.py:165
↓ 32 callersMethodmake_key
Globally unique session key: agent:channel:subject:chat_type.
src/octop/infra/gateway/threads.py:22
↓ 32 callersMethodunlink
(self, _path: object)
tests/unit/infra/setup/test_service.py:863
↓ 32 callersFunctionuseIsMobile
()
dashboard/src/hooks/useIsMobile.ts:5
↓ 31 callersMethodbegin
( self, agent_id: str, thread_id: str, *, anchor: dict[str, Any] | Non
src/octop/infra/history/service.py:42
↓ 31 callersMethodclose
Release the AudioContext (keeps it usable until closed).
dashboard/src/utils/wavStreamPlayer.ts:177
↓ 31 callersMethodensure_root
(self)
src/octop/infra/utils/paths.py:92
↓ 31 callersMethodlist
(self)
src/octop/infra/db/repos/sso.py:126
↓ 30 callersFunction_make_manager
(services, *, gateway: MagicMock | None = None)
tests/unit/cron/test_cron_manager.py:78
↓ 30 callersFunction_make_services
(tmp_path: Path)
tests/unit/cron/test_cron_manager.py:39
↓ 29 callersFunctioncreate_user
( client: httpx.AsyncClient, admin_auth: dict[str, str], *, username: str, password: str =
tests/support/auth.py:129
↓ 29 callersMethodexecutescript
(self, sql: str)
src/octop/infra/db/pool.py:117
↓ 29 callersFunctionmap_rows
(rows: Sequence[DbRow], cls: type[_FromRow[R_co]])
src/octop/infra/db/repos/_base.py:30
↓ 28 callersMethodcount
(self)
src/octop/infra/db/repos/users.py:316
↓ 28 callersMethodread_bytes
(self, path: str)
tests/support/fakes.py:367
↓ 28 callersFunctionvalidate_create_credentials
( kind: str, credentials: dict[str, Any], )
src/octop/infra/connectors/builder.py:212
↓ 27 callersFunction_runtime
(tmp_path: Path)
tests/unit/infra/setup/test_service.py:36
↓ 27 callersMethodcancel
Cancel an agent's scheduling task. Args: agent_id: The agent ID to cancel.
src/octop/infra/proactive/scheduler.py:223
↓ 27 callersMethodconnect
(self, timeout: float = _WS_RECEIVE_TIMEOUT_S)
tests/support/http.py:81
↓ 27 callersMethodupsert
( self, *, session_key: str, agent_id: str, user_id: int, chan
src/octop/infra/db/repos/sessions.py:122
↓ 27 callersFunctionuseCurrentUser
()
dashboard/src/hooks/useCurrentUser.tsx:39
↓ 26 callersMethod_build_harness_config
Convert an AgentRow into a HarnessAgentConfig.
src/octop/infra/agents/manager.py:2683
↓ 26 callersFunction_make_fake_hm
Return a MagicMock that quacks like HarnessAgentManager.
tests/unit/agents/test_agent_registry.py:52
↓ 26 callersFunctionrequire_agent
Resolve agent id or exit with code 2.
src/octop/cli/support/ctx.py:62
next →1–100 of 12,485, ranked by callers