MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

↓ 4 callersFunctiontrusted_store
(tmp_path)
tests/test_mcp_trust.py:85
↓ 4 callersMethoduninstall
Remove an installed persona: registry entry, lifecycle state, and its snapshot dir. Built-ins can't be uninstalled (disable them instead). Liv
coworker/personas/registry.py:375
↓ 4 callersFunctionupdateConnectorTools
( name: string, enabled: Record<string, boolean>, machineId?: string | null, )
surfaces/gui/src/api.ts:1081
↓ 4 callersFunctionuseMachineData
(key: string, fetcher: () => Promise<T>)
surfaces/gui/src/useMachineData.ts:20
↓ 4 callersFunctionvalidate_all
()
scripts/validate_layered_corpora.py:151
↓ 4 callersMethodwait
Await an item's resolution; returns the resolution string. Used by the approver to suspend the agent until a human answers (from any surface).
coworker/inbox.py:450
↓ 4 callersFunctionwaitForCloudSignIn
( onDone: (s: CloudStatus | null) => void, )
surfaces/gui/src/api.ts:956
↓ 4 callersMethodworkspace_command_trust
(self, path: str | Path)
coworker/server/manager.py:539
↓ 4 callersFunctionwrite_private_text
Atomically write a user-only text file using the SecretStore's OS protections.
coworker/secrets.py:138
↓ 3 callersFunction_add_cache_breakpoints
Opt the request into prompt caching (5-minute ephemeral, prefix-matched). Two breakpoints, the standard agent-loop shape: - last system block
coworker/providers/anthropic_provider.py:389
↓ 3 callersFunction_anthropic_response
(stop_reason="end_turn")
tests/test_max_output_tokens.py:142
↓ 3 callersFunction_apollo_headers
(profile: dict[str, Any])
coworker/connectors/integration_tools.py:3826
↓ 3 callersFunction_auth_hint
(servers: EmailServers)
coworker/connectors/email_tools.py:96
↓ 3 callersFunction_bare_engine
(**kw)
tests/test_multiroot.py:23
↓ 3 callersMethod_base
(self, scope: str, workspace: Optional[str | Path])
coworker/skills/store.py:96
↓ 3 callersMethod_board_source
Display-only MessageSource sidecar for board deliveries — the same mechanism connector messages use, so the GUI renders a structured card
coworker/server/manager.py:3705
↓ 3 callersMethod_build_task_engine
(self, task, *, session_id: str)
coworker/server/manager.py:6117
↓ 3 callersMethod_case_exists
(self, case: str)
coworker/teams/journal.py:407
↓ 3 callersFunction_cd_and_set
(folder: str, name: str, value: str)
tests/test_sandbox_runner.py:40
↓ 3 callersFunction_channel_event
(text="deploy failed", chat_id="C1")
tests/test_message_source.py:41
↓ 3 callersMethod_channel_name
Resolve a channel/DM id to a display name via conversations.info, cached. Best-effort: None on failure (the caller falls back to the id). Mirr
coworker/connectors/adapters.py:338
↓ 3 callersMethod_clear_mcp_notified
(self, name: str)
coworker/server/manager.py:2105
↓ 3 callersMethod_client_for
(self, model: str)
coworker/providers/router.py:58
↓ 3 callersFunction_collect
(aiter)
tests/test_multiroot.py:33
↓ 3 callersFunction_collect
(engine)
tests/test_compaction_transcript.py:64
↓ 3 callersFunction_compacted_notices
(engine)
tests/test_compaction_persisted_summary.py:26
↓ 3 callersFunction_completed_event
(text="hello")
tests/test_codex_provider.py:269
↓ 3 callersFunction_config_path
(state: Path)
coworker/remote/joiner.py:51
↓ 3 callersFunction_connected_slack
(mgr, allowed=())
tests/test_connectors_allowlist.py:31
↓ 3 callersFunction_connector_of
(source: str)
coworker/subscription_sync.py:72
↓ 3 callersMethod_create
(self)
coworker/sandbox/providers/openshell.py:354
↓ 3 callersMethod_delegated_context
(self, tool_call: ToolCall)
coworker/engine.py:1427
↓ 3 callersMethod_dispatch_slack_event
Map a raw Slack event → MessageEvent, resolve display names via the per-team bot token, team-qualify the reply handle, and dispatch. `
coworker/connectors/relay_client.py:340
↓ 3 callersMethod_display
(self, name: str, description: str, keep: list)
coworker/sandbox/windows_wfp.py:211
↓ 3 callersMethod_display_name
(self, team_id: str, uid: Optional[str])
coworker/connectors/relay_client.py:446
↓ 3 callersMethod_downloaded_target
A file this call would run that the agent DOWNLOADED this session, or None. Fetch-then-execute has no quiet legitimate form, so it reaches a p
coworker/engine.py:1315
↓ 3 callersMethod_emit
Stamp a sequence number, remember results, send to whoever is attached.
coworker/sandbox/runner/daemon.py:132
↓ 3 callersFunction_engine
(tmp_path, turns)
tests/test_message_timestamps.py:53
↓ 3 callersFunction_engine
(tmp_path, requester, name, arguments)
tests/test_worker_connectors.py:281
↓ 3 callersFunction_engine
(tmp_path, model)
tests/test_matrix_current_models.py:138
↓ 3 callersFunction_engine
(tmp_path, turns, *, mode)
tests/test_dangerous_mode.py:140
↓ 3 callersFunction_engine_with_config
(tmp_path, toml: str, **kwargs)
tests/test_max_output_tokens.py:88
↓ 3 callersFunction_epoch_now
()
coworker/automation/store.py:71
↓ 3 callersFunction_events
(out: Path)
tests/test_headless_run.py:83
↓ 3 callersMethod_extra_roots_of
User/agent-added folders = the engine's roots minus the primary (index 0) AND the session's provisioned scratch root. Persisting the scratch a
coworker/server/manager.py:7227
↓ 3 callersMethod_fail_all
(self, error: P.RunnerError)
coworker/sandbox/client.py:184
↓ 3 callersFunction_fake_hubspot
(monkeypatch, responses: dict[str, dict])
tests/test_hubspot_portals.py:97
↓ 3 callersFunction_fake_pages
Stub the paginated fetch; records (method, token) per call.
tests/test_slack_directory.py:34
↓ 3 callersFunction_fake_tool
(name, schema=None, description="desc")
tests/test_mcp.py:28
↓ 3 callersMethod_family_client
(self, family: str)
coworker/providers/vertex_provider.py:149
↓ 3 callersFunction_file_part
(url: str)
tests/test_pdf_support.py:87
↓ 3 callersFunction_frontmatter_source
Read the optional ``source:`` frontmatter key (``uploaded`` etc.). Absent → created here.
coworker/skills/store.py:53
↓ 3 callersFunction_gallery_get
(secrets: SecretStore, config: Config, path: str)
coworker/cloud.py:791
↓ 3 callersFunction_gateway_with
(adapter)
tests/test_slack_status.py:51
↓ 3 callersFunction_github_auth
(headers, err). A manual PAT (`github:default.token`) wins, untouched; a managed relay profile mints a short-lived installation token instead —
coworker/connectors/integration_tools.py:397
↓ 3 callersFunction_github_git_auth_args
Per-invocation git auth: the token rides an HTTP header on the command line only — it must NEVER land in .git/config or a credential store (the
coworker/connectors/integration_tools.py:430
↓ 3 callersFunction_github_parts
`owner/repo#N` → (owner, repo, N); a bare repo has no number.
coworker/connectors/origin.py:36
↓ 3 callersFunction_gmail_profile
(email, profile, err) for the requested — or default — mailbox, with the managed token refreshed in place. Multi-account: `gmail:account:<email>`.
coworker/connectors/integration_tools.py:139
↓ 3 callersMethod_grant_thread
Pre-approve the reply to one thread for a session (the mention grant, §25 shape); persisted with the session's grants and re-applied on rebuil
coworker/server/manager.py:6688
↓ 3 callersFunction_history
()
tests/test_reasoning_replay.py:88
↓ 3 callersFunction_hunter_get
( profile: dict[str, Any], path: str, params: dict[str, Any] )
coworker/connectors/integration_tools.py:3932
↓ 3 callersMethod_inbound_connector_allowed
Whether an inbound message on `connector` should be DELIVERED to `session_id` (§4.3). Uses the SAME effective set as the engine's connector-t
coworker/server/manager.py:1366
↓ 3 callersFunction_items
(n, *, content_len=200, with_summary=True)
tests/test_memory.py:138
↓ 3 callersFunction_joined_state
(tmp_path, name, controller="http://10.0.0.5:8765")
tests/test_remote_home.py:1711
↓ 3 callersFunction_jwt
(claims: dict)
tests/test_codex_provider.py:37
↓ 3 callersFunction_last_assistant_text
(messages: list[dict[str, Any]])
coworker/server/manager.py:8319
↓ 3 callersMethod_lead_backstop_due
(self, team)
coworker/server/manager.py:3188
↓ 3 callersFunction_live_or_wake
(machine_id: str)
coworker/remote/acceptor.py:245
↓ 3 callersMethod_load
(self)
coworker/workspace_trust.py:29
↓ 3 callersMethod_load
(self)
coworker/memory/settings.py:31
↓ 3 callersMethod_load_dir
(self, directory: str | Path, *, builtin: bool)
coworker/personas/registry.py:176
↓ 3 callersFunction_loads
(s: str)
coworker/providers/openai_provider.py:581
↓ 3 callersMethod_loop
(self)
coworker/engine.py:638
↓ 3 callersFunction_matrix_key
(provider: str, model: str)
tests/test_matrix_current_models.py:66
↓ 3 callersMethod_maybe_autotitle
Kick off title generation after a turn completes, fire-and-forget. Only while the session has neither a manual rename nor a generated title, a
coworker/server/manager.py:7256
↓ 3 callersMethod_mcp_workspace_trusted
Whether workspace `.coworker/mcp.json` may be loaded (#213). Same consent boundary as repository ``allowed_commands``: an untrusted c
coworker/server/manager.py:561
↓ 3 callersMethod_merge
(self, patch: dict[str, Any])
coworker/mcp/oauth.py:64
↓ 3 callersMethod_mode_value
A stored mode string → Mode, accepting the legacy "auto" for bypass.
coworker/server/manager.py:1168
↓ 3 callersFunction_msg
(mid: str, sender: str, labels: list[str] | None = None)
tests/test_gmail_accounts.py:174
↓ 3 callersMethod_need_journal
(self)
coworker/teams/dialect.py:314
↓ 3 callersMethod_next_ts
(self)
coworker/testing/fake_slack/server.py:97
↓ 3 callersFunction_normalize_ollama_url
Accept `http://host:11434` or `.../v1` and return an OpenAI-compatible base URL. Ollama serves its OpenAI-compatible API under `/v1`; the native
coworker/providers/registry.py:106
↓ 3 callersMethod_note_token_health
Record what a Web API call said about the team's bot token: success proves it live; a token-class error marks it dead; anything else —
coworker/connectors/relay_client.py:409
↓ 3 callersMethod_notify
(self, method: str, params: dict[str, Any])
coworker/sandbox/runner/daemon.py:161
↓ 3 callersFunction_now
()
tests/test_self_wake.py:10
↓ 3 callersFunction_now
()
coworker/selfwake.py:32
↓ 3 callersMethod_on_event
A routed trigger (mention / label). Senders are logins — readable as they are, no resolution round-trips.
coworker/connectors/github_relay.py:135
↓ 3 callersFunction_open
(folder, **kwargs)
tests/test_sandbox_openshell.py:379
↓ 3 callersMethod_open
Tell the running sandbox. A failure does not undo the person's choice for the web tools; it is kept so the agent and the app can say the comma
coworker/permissions.py:772
↓ 3 callersFunction_openai_response
()
tests/test_max_output_tokens.py:253
↓ 3 callersFunction_openshell_home
()
coworker/sandbox/setup_cmd.py:127
↓ 3 callersMethod_openweight_client
OpenAIProvider over the Vertex MaaS endpoint, rebuilt whenever the bearer token has to be refreshed (google-auth tokens expire ~hourly).
coworker/providers/vertex_provider.py:188
↓ 3 callersFunction_ops_session
(mgr, session_id: str)
tests/test_persona_connections.py:46
↓ 3 callersMethod_owned_worker_prompt
(self, lead_session: str, arguments: dict)
coworker/server/manager.py:5747
↓ 3 callersFunction_parse_args
(raw: Any)
coworker/providers/bedrock_provider.py:112
↓ 3 callersFunction_parse_json
Parse a structured Inbox resolution (directory/plan carry their reply as a JSON string).
coworker/server/app.py:3436
↓ 3 callersMethod_persist_metadata
(self)
coworker/mcp/oauth.py:290
↓ 3 callersFunction_platform_key
`<os>_<arch>` using the naming the upstream release assets use.
coworker/toolchain.py:66
↓ 3 callersFunction_python
(code: str, *args: str)
tests/test_secrets_lock.py:25
↓ 3 callersFunction_quote
(path: str)
coworker/sandbox/providers/seatbelt_profile.py:77
← previousnext →1,001–1,100 of 8,537, ranked by callers