Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avibe-bot/avibe
/ functions
Functions
10,036 in github.com/avibe-bot/avibe
⨍
Functions
10,036
◇
Types & classes
782
↳
Endpoints
185
↓ 13 callers
Method
prepare
(self, *, force: bool | None = None, offline: bool | None = None)
core/show_runtime.py:460
↓ 13 callers
Method
reconcile_platforms
Hot-apply IM platform enablement and runtime credential changes.
core/controller.py:384
↓ 13 callers
Method
remove_active_poll
(self, opencode_session_id: str)
modules/sessions_facade.py:480
↓ 13 callers
Function
run_coroutine_blocking
Run a coroutine from legacy synchronous code. New UI request handlers should await directly on the ASGI event loop. This helper exists for ol
vibe/async_bridge.py:13
↓ 13 callers
Method
send_request
Send a JSON-RPC request and return the result (blocking).
modules/agents/codex/transport.py:190
↓ 13 callers
Function
withSecretDraft
( section: SecretSection, field: string, draftValue: string | null | undefined )
ui/src/lib/secretFields.ts:14
↓ 12 callers
Function
_add_doctor_item
(items: list[dict], status: str, message: str, action: str | None = None)
vibe/cli.py:4042
↓ 12 callers
Method
_adopt_pending_turn_token
Copy the pending turn tokens onto the reused receiver context. Claude runs one long-lived receiver per runtime session, so the context
modules/agents/claude_agent.py:992
↓ 12 callers
Method
_begin_claude_oauth_attempt
(self)
core/agent_auth_service.py:3048
↓ 12 callers
Function
_client
(api_url: str)
tests/e2e/test_api.py:6
↓ 12 callers
Method
_ensure_user_namespace
(self, user_id: str)
config/v2_sessions.py:334
↓ 12 callers
Method
_get_tenant_token
Get tenant access token for raw HTTP calls (non-blocking).
modules/im/feishu.py:227
↓ 12 callers
Function
_harness_store
()
vibe/ui_server.py:5463
↓ 12 callers
Function
_make_scoped_key
(platform: str, item_id: str)
config/v2_settings.py:46
↓ 12 callers
Function
_parse_agent_run
(argv: list[str])
tests/test_cli_task_command.py:45
↓ 12 callers
Function
_print_json
(payload: dict)
vibe/cli.py:595
↓ 12 callers
Function
_seed_session
(session_id: str = "ses_mark")
tests/test_show_session_events.py:23
↓ 12 callers
Function
_stream_chunk
Forward one durable agent message to the live streaming turn sink. A web Chat caller registers a per-session sink in ``controller.active_turn
core/message_dispatcher.py:49
↓ 12 callers
Function
_table_names
(conn: sqlite3.Connection)
storage/migrations.py:278
↓ 12 callers
Function
_utc_now_iso
()
core/watches.py:27
↓ 12 callers
Function
_utc_now_iso
()
storage/sessions_service.py:1333
↓ 12 callers
Function
_write_runtime_archive
(tmp_path: Path, *, text: str = "#!/usr/bin/env node\n")
tests/test_ui_show_pages.py:122
↓ 12 callers
Function
_write_runtime_manifest
(tmp_path: Path, archive_path: Path, *, sha256: str | None = None, size: int | None = None)
tests/test_ui_show_pages.py:141
↓ 12 callers
Function
check_auth
Run the centralized authorization pipeline. Order of checks: 1. DM bind gate — DM users must be bound (except ``bind`` / ``/bind``)
core/auth.py:76
↓ 12 callers
Method
clear
Remove all state for a session.
modules/agents/codex/session.py:75
↓ 12 callers
Function
dispatch_turn
Run one agent turn for ``context`` and return the primary message id. ``source`` selects between the human-initiated and scheduler-initiated
core/services/dispatch.py:49
↓ 12 callers
Method
get_cwd
Get the current cwd without creating an Agent Session row.
core/controller.py:819
↓ 12 callers
Method
getlist
(self, key: str)
vibe/ui_compat.py:218
↓ 12 callers
Function
load_first_opencode_user_config
( *, home: Path | None = None, logger_instance: Optional[logging.Logger] = None, )
vibe/opencode_config.py:411
↓ 12 callers
Method
load_state
(self)
storage/settings_service.py:48
↓ 12 callers
Method
mark_thread_active
(self, user_id: Union[int, str], channel_id: str, thread_ts: str)
modules/sessions_facade.py:320
↓ 12 callers
Function
normalize_show_message_types
(show_message_types: Optional[List[str]])
config/v2_settings.py:29
↓ 12 callers
Function
parse_jsonc_object
(content: str)
vibe/opencode_config.py:165
↓ 12 callers
Method
parse_text_command
Parse slash-style command text. Returns: (command, args) when ``text`` starts with ``/`` and contains a non-empty com
modules/im/base.py:205
↓ 12 callers
Function
pid_alive
(pid)
vibe/runtime.py:477
↓ 12 callers
Function
resolve_primary_platform_from_config
Best-effort primary platform lookup for store-level SQLite bootstrap.
storage/importer.py:140
↓ 12 callers
Function
runCli
(args, envOverrides = {}, binPath = cliPath)
npm/avibe/test/cli.test.js:45
↓ 12 callers
Function
secretInputValue
(section: SecretSection, field: string)
ui/src/lib/secretFields.ts:6
↓ 12 callers
Method
set_settings_manager
Set the settings manager for thread tracking
modules/im/slack.py:101
↓ 12 callers
Function
tenant_exec
(target: RegressionTarget, command: str, *args: str, remote: str | None = None)
scripts/incus_regression.py:649
↓ 12 callers
Function
validate_agent_backend
(backend: str)
core/vibe_agents.py:45
↓ 11 callers
Function
_bind_session
(service: SQLiteSessionsService, *, channel: str, anchor: str, native: str)
tests/test_session_archive.py:28
↓ 11 callers
Method
_build_context
( self, target: ParsedSessionKey, *, delivery_target: Optional[ParsedSessionKe
core/scheduled_tasks.py:1977
↓ 11 callers
Function
_coerce_opencode_provider_catalog
Normalize OpenCode ``/provider`` payloads into an id-keyed map. OpenCode 1.x returns ``{all: [Provider, ...], default: {...}, connected: [...
vibe/api.py:5558
↓ 11 callers
Method
_delete_interaction_message
(self, context: MessageContext, message_id: str)
modules/im/telegram.py:1300
↓ 11 callers
Method
_do_check
Perform a single update check.
core/update_checker.py:368
↓ 11 callers
Method
_fetch_channel
(self, channel_id: Optional[str])
modules/im/discord.py:376
↓ 11 callers
Method
_get_lock
Get or create an asyncio.Lock bound to the current event loop.
modules/agents/opencode/server.py:95
↓ 11 callers
Function
_get_oauth_service
Lazily build the (singleton) AgentAuthService for web flows.
vibe/api.py:4395
↓ 11 callers
Method
_get_session_key
(self, context: MessageContext)
core/handlers/base.py:29
↓ 11 callers
Function
_normalize_json_object
(raw: Any)
core/show_session_events.py:278
↓ 11 callers
Function
_parse_watch_add
(argv: list[str])
tests/test_cli_watch_command.py:37
↓ 11 callers
Function
_percent_encode_path
Percent-encode *path* so it is safe for an HTTP header value. RFC 7230 only allows visible US-ASCII characters (plus whitespace) in header fi
modules/agents/opencode/server.py:44
↓ 11 callers
Method
_release_service_runtime_turn
(self, context: MessageContext)
modules/agents/claude_agent.py:186
↓ 11 callers
Function
_report_runtime_status_async
(config: V2Config | None = None, event: str = "heartbeat", last_error: str | None = None)
vibe/remote_access.py:464
↓ 11 callers
Method
_request_path
(self, request_id: str, *, state: str)
core/scheduled_tasks.py:736
↓ 11 callers
Function
_row_to_payload
(row: dict[str, Any])
storage/messages_service.py:46
↓ 11 callers
Function
_scheduled_provenance
(row: dict)
core/session_turns.py:127
↓ 11 callers
Function
_utc_now_iso
()
storage/background.py:36
↓ 11 callers
Function
add_common
(parser: argparse.ArgumentParser)
scripts/incus_tenant.py:619
↓ 11 callers
Method
cleanup_session
Clean up a specific session by composite key
core/handlers/session_handler.py:1165
↓ 11 callers
Function
copyTextToClipboard
(text: string)
ui/src/lib/utils.ts:8
↓ 11 callers
Method
ensure_default_agent
(self, *, backend: str = "claude")
core/vibe_agents.py:282
↓ 11 callers
Method
evict_idle_sessions
Disconnect Claude sessions that have been idle beyond the timeout. A session is normally exempt from eviction while it is flagged ``a
core/handlers/session_handler.py:1251
↓ 11 callers
Method
get_base_session_id
Get base session ID based on platform and context (without path)
core/handlers/session_handler.py:241
↓ 11 callers
Function
get_state_dir
()
config/paths.py:113
↓ 11 callers
Method
handle_resume
Open resume-session modal (Slack) or explain availability.
core/handlers/command_handlers.py:765
↓ 11 callers
Method
handle_routing_update
Handle routing update submission (from modal).
core/handlers/settings_handler.py:798
↓ 11 callers
Method
has_external_write
(self)
storage/db.py:55
↓ 11 callers
Function
maybe_require_incus
(args: argparse.Namespace)
scripts/incus_tenant.py:366
↓ 11 callers
Function
persist
(nextConfig: any, extraPatch?: Record<string, unknown>)
ui/src/components/settings/SettingsMessagingPage.tsx:94
↓ 11 callers
Method
poll_status
Poll login status for a single cycle. Returns: dict with ``status``, ``message``, and on success also ``bot_token``,
modules/im/wechat_auth.py:253
↓ 11 callers
Method
release
(self)
storage/lock.py:42
↓ 11 callers
Function
requestJson
( path: string, init: RequestInit, errorPath = path, { clearCache = true, handleError = true }
ui/src/context/ApiContext.tsx:1427
↓ 11 callers
Method
require_enabled
(self, name: str)
core/vibe_agents.py:146
↓ 11 callers
Function
resolve_opencode_reasoning_effort
Return the variant OpenCode should receive for this model.
modules/agents/opencode/utils.py:151
↓ 11 callers
Function
save_agents_md
Write ``AGENTS.md`` and reconcile the ``CLAUDE.md`` symlink to ``symlink``. Invariant: this only ever creates, re-points, or removes a *symlink*
vibe/project_agents_md.py:71
↓ 11 callers
Method
send_message
( self, context: MessageContext, text: str, parse_mode: Optional[str] = None, reply_to: Optional[str]
modules/im/telegram.py:1132
↓ 11 callers
Method
set_share_id
Set a custom public share suffix; return (page, previous_share_id). A custom suffix is just a chosen value for the same ``share_id`` that
core/show_pages.py:403
↓ 11 callers
Function
show_page_payload
(page: ShowPage, *, config: V2Config | None = None)
core/show_pages.py:497
↓ 11 callers
Function
signal_process_tree
Signal a managed process group, falling back to the direct process.
core/process_isolation.py:59
↓ 11 callers
Function
status
(config: V2Config | None = None)
vibe/remote_access.py:303
↓ 11 callers
Method
stop
Release the run loop so the im-runtime thread can exit. Called from the controller's (main-thread) ``cleanup_sync``; the stop event l
modules/im/avibe.py:249
↓ 11 callers
Function
validate_session_id
(session_id: str)
core/show_pages.py:64
↓ 10 callers
Function
_avibe_controller_double
A controller double sufficient for ``_execute_request`` → ``_build_context`` on an avibe target: a virtual ``avibe`` IM client (so ``validate_plat
tests/test_scheduled_tasks.py:2709
↓ 10 callers
Function
_bool_int
(value: Any)
storage/settings_service.py:443
↓ 10 callers
Method
_cleanup_runtime_session
Drop Claude runtime state without canceling the current receiver task.
modules/agents/claude_agent.py:345
↓ 10 callers
Function
_fake_stop_runtime
(calls, *, ui_stopped=True, ui_pid=None, service_stopped=True)
tests/test_restart_supervisor.py:20
↓ 10 callers
Method
_gather_routing_modal_data
Collect backend/agent/model data for routing modal renderers.
core/handlers/settings_handler.py:416
↓ 10 callers
Method
_get_formatter
(self, context: MessageContext)
core/handlers/base.py:50
↓ 10 callers
Function
_is_loopback_host
(value: str | None)
vibe/ui_server.py:420
↓ 10 callers
Function
_load_module
()
tests/test_wait_for_github_action_runs.py:11
↓ 10 callers
Function
_normalized_host
(value: str | None)
vibe/ui_server.py:978
↓ 10 callers
Function
_parse_task_add
(argv: list[str])
tests/test_cli_task_command.py:35
↓ 10 callers
Method
_process_inbound_message
Convert an iLink message to MessageContext and dispatch.
modules/im/wechat.py:1289
↓ 10 callers
Function
_receiver
()
tests/test_claude_cli_path.py:1460
↓ 10 callers
Method
_reload_if_changed
Reload runtime settings if the underlying store has changed on disk. Uses a locally tracked mtime so that same-process writes (e.g. from
modules/settings_manager.py:205
↓ 10 callers
Function
_stored_platform_secret
(platform: str, field: str)
vibe/api.py:1533
↓ 10 callers
Function
_utc_now_iso
()
storage/importer.py:690
↓ 10 callers
Function
_write_claude_settings
(home: Path, env: dict)
tests/test_settings_disk_fallback.py:91
← previous
next →
301–400 of 10,036, ranked by callers