Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andrewyng/openworker
/ functions
Functions
8,537 in github.com/andrewyng/openworker
⨍
Functions
8,537
◇
Types & classes
636
↳
Endpoints
260
↓ 4 callers
Function
_engine
(tmp_path, provider)
tests/test_mangled_tool_calls.py:46
↓ 4 callers
Method
_ensure_client
(self)
coworker/providers/openai_responses.py:329
↓ 4 callers
Method
_entry_allowed
Whether a "host:port" entry is already open to this session's commands: on the machine's list (same port; `*.example.com` covers subdomains) o
coworker/permissions.py:783
↓ 4 callers
Function
_env
(extra: dict | None = None)
tests/test_headless_run.py:30
↓ 4 callers
Function
_event
(text, *, chat_type, chat_id="C1", user="bob")
tests/test_subscriptions.py:132
↓ 4 callers
Function
_fake_cli
`subprocess.run` answering by the first argument after the program: `--version`, `status`, `gateway` (info), and `image` (docker image inspect).
tests/test_sandbox_openshell.py:93
↓ 4 callers
Function
_fake_senders
(record)
tests/test_connectors.py:58
↓ 4 callers
Function
_figma_headers
(profile: dict[str, Any])
coworker/connectors/integration_tools.py:4442
↓ 4 callers
Method
_folder_of
The skill's folder, guarded against escaping its scope dir (symlinked folders that resolve elsewhere are treated as absent rather than followe
coworker/skills/store.py:108
↓ 4 callers
Function
_full_context
(tmp_path)
tests/test_catalog.py:55
↓ 4 callers
Function
_git
(args, cwd)
tests/test_github_installs.py:537
↓ 4 callers
Function
_gitlab_api
(profile: dict[str, Any])
coworker/connectors/integration_tools.py:518
↓ 4 callers
Method
_grant_locked
( self, case: str, principal: str, *, source: str, space: str
coworker/teams/journal.py:392
↓ 4 callers
Method
_handle_directory_request
Emit the grant prompt, await the user's out-of-band decision (which the requester also applies to this session's roots), and return the outcom
coworker/engine.py:2507
↓ 4 callers
Function
_hash_profile
(data: Any)
coworker/remote/acceptor.py:1274
↓ 4 callers
Function
_history
(turns=8, bulk=1500)
tests/test_compaction_transcript.py:47
↓ 4 callers
Function
_id_token
(email: str = "user@example.com", account: str = "acct_1")
tests/test_codex_provider.py:51
↓ 4 callers
Function
_install_form
(team_id: str)
tests/test_slack_workspaces.py:28
↓ 4 callers
Method
_item_visible_to
Whether an actor may read one item through any board surface.
coworker/teams/store.py:1291
↓ 4 callers
Function
_joined
(tmp_path: Path, name: str = "mini")
tests/test_cli_surface.py:112
↓ 4 callers
Function
_jwt_claims
Decode a JWT payload WITHOUT verification — we only read routing claims (`exp`, the account object); the backend is the one verifying signatures.
coworker/providers/codex_auth.py:110
↓ 4 callers
Function
_linear_gql
(api_key: str, query: str, variables: dict[str, Any])
coworker/connectors/integration_tools.py:523
↓ 4 callers
Method
_load
(self)
coworker/teams/tokens.py:83
↓ 4 callers
Function
_make_exe
(path, body: str = "#!/bin/sh\necho hi\n")
tests/test_toolchain.py:18
↓ 4 callers
Function
_manager
(tmp_path)
tests/test_telegram_approval_bypass.py:28
↓ 4 callers
Function
_manager
(tmp_path, monkeypatch)
tests/test_sandbox_lifetime.py:25
↓ 4 callers
Function
_manager
(tmp_path, monkeypatch)
tests/test_automation_create.py:14
↓ 4 callers
Method
_memory_key_for
Binding > git > path, with the one-time path→git re-key on the way.
coworker/server/manager.py:2526
↓ 4 callers
Function
_mgr
(tmp_path, monkeypatch)
tests/test_temp_workspace.py:29
↓ 4 callers
Method
_model_provider
The provider a model string routes to (known `prefix:` or the OpenAI default).
coworker/server/manager.py:4320
↓ 4 callers
Function
_names
(agent, ctx)
tests/test_builtin_personas.py:20
↓ 4 callers
Function
_no_cloud
The cloud row delete is best-effort HTTP; record instead of calling out.
tests/test_slack_workspaces.py:44
↓ 4 callers
Function
_norm
(value: Any)
coworker/connectors/github_installs.py:25
↓ 4 callers
Function
_notion_headers
(profile: dict[str, Any])
coworker/connectors/integration_tools.py:3251
↓ 4 callers
Method
_on_interaction
(self, event: InteractionEvent)
coworker/connectors/gateway.py:76
↓ 4 callers
Method
_override_store
A fresh view of the user-local override store — the FILE is the source of truth (sessions hold their own instances; a fresh read here always a
coworker/server/manager.py:2361
↓ 4 callers
Function
_param_fix_retry
Kwargs for the one retry an unsupported-parameter error earns, or re-raise. Same contract as the Chat Completions retries: fix exactly what the s
coworker/providers/openai_responses.py:66
↓ 4 callers
Method
_persona_connector_grant
The persona's declared connector allowlist (OPE-93). None = unrestricted (the `all` sentinel of general builtins); a set = only these ids can
coworker/server/manager.py:1040
↓ 4 callers
Method
_persona_of
(self, session_id: str, persona_id: Optional[str] = None)
coworker/server/manager.py:1028
↓ 4 callers
Function
_placed
Where the workspace tools run. In `direct` mode (and whenever the session has no tool runner) they are returned untouched. With a runner, each is
coworker/catalog.py:101
↓ 4 callers
Function
_profile
(name: str)
coworker/mcp/oauth.py:49
↓ 4 callers
Method
_prompt
One typed line. Read on a daemon thread, not the loop's pool: a run that ends while the prompt waits (Ctrl-C, the time limit) must not wait fo
coworker/headless/terminal.py:132
↓ 4 callers
Function
_provider
A CodexProvider over seeded tokens whose SDK clients come from `clients` (each OpenAI() construction pops the next one and records its init kwargs
tests/test_codex_provider.py:292
↓ 4 callers
Method
_provider_configured
(self, name: str)
coworker/server/manager.py:4328
↓ 4 callers
Function
_qbo_base
(profile: dict[str, Any])
coworker/connectors/integration_tools.py:536
↓ 4 callers
Method
_read
(self)
coworker/secrets.py:311
↓ 4 callers
Function
_record_sender
(record: list)
tests/test_send_target_resolution.py:69
↓ 4 callers
Method
_refresh_session_tools
A connector change takes effect on the session's next turn: drop the live engine (rebuilt from the store on next use). A running turn keeps it
coworker/server/manager.py:1325
↓ 4 callers
Function
_reg
(tmp_path)
tests/test_sharing_v1.py:46
↓ 4 callers
Function
_request
(tool: str, arguments: dict, reason: str = "requires approval")
tests/test_run_cli.py:222
↓ 4 callers
Method
_resolve_inbox_reply
Try to handle an inbound Slack/Telegram message as an Inbox reply. Returns True if the message carried an `[ow:<id>]` token (so it's consumed
coworker/server/manager.py:6230
↓ 4 callers
Function
_response
(**message_fields)
tests/test_reasoning_replay.py:35
↓ 4 callers
Function
_review
(rv, **kw)
tests/test_auto_approve.py:402
↓ 4 callers
Function
_roots
(tmp_path)
tests/test_multiroot.py:37
↓ 4 callers
Function
_run
(engine)
tests/test_mangled_tool_calls.py:55
↓ 4 callers
Function
_sealed
(identity, frame: dict)
tests/test_machine_poll.py:38
↓ 4 callers
Function
_secrets
(tmp_path, **team_extra)
tests/test_sender_attribution.py:14
↓ 4 callers
Function
_select_readonly
(imap: imaplib.IMAP4, folder: str)
coworker/connectors/email_tools.py:285
↓ 4 callers
Method
_send
(self, transport: Transport, frame: bytes)
coworker/sandbox/client.py:177
↓ 4 callers
Function
_session
(mgr, sid, agent)
tests/test_persona_skills.py:60
↓ 4 callers
Function
_short
(text: str, limit: int = _VALUE_LIMIT)
coworker/headless/terminal.py:37
↓ 4 callers
Function
_site
(tmp_path)
tests/test_list_files_folders.py:20
↓ 4 callers
Function
_slack_channel_name_like
(chat_id: str)
coworker/connectors/tools.py:52
↓ 4 callers
Function
_slack_team_profiles
(team_id, profile) for every managed-install workspace (`slack:team:*`).
coworker/connectors/config.py:119
↓ 4 callers
Function
_stages
(manager, session_id: str)
tests/test_approval_integrity.py:34
↓ 4 callers
Function
_steps
(*rows: tuple[str, bool])
tests/test_sandbox_setup_job.py:32
↓ 4 callers
Function
_store
(tmp_path)
tests/test_session_persona.py:13
↓ 4 callers
Function
_strip_foreign_sidecars
Drop provider-private message sidecars (underscore-prefixed keys, e.g. `_gemini` thought signatures — see providers/base.py): they belong to other
coworker/providers/openai_provider.py:106
↓ 4 callers
Method
_submit
(self, fn: Callable[[], dict[str, Any]])
coworker/connectors/browser_automation.py:140
↓ 4 callers
Function
_target_locator
(page, target: str)
coworker/connectors/browser_automation.py:247
↓ 4 callers
Function
_tenant_app
(tmp_path)
tests/test_remote_home.py:1476
↓ 4 callers
Function
_text
(text)
tests/test_session_events.py:30
↓ 4 callers
Function
_tools
(secrets, record)
tests/test_chat_tools.py:23
↓ 4 callers
Function
_traj
(messages, model="anthropic:claude-sonnet-5")
tests/test_headless_trajectory.py:10
↓ 4 callers
Function
_uses_budget_thinking
(model: str)
coworker/providers/anthropic_provider.py:94
↓ 4 callers
Function
_wire_join
Speak the machine handshake by hand; return the post-auth frame.
tests/test_remote_home.py:398
↓ 4 callers
Function
_writable_target
Resolve a directory inside a WRITABLE granted root — clones and pulls never touch anything the user hasn't shared with the session.
coworker/connectors/integration_tools.py:787
↓ 4 callers
Function
act
(id: string, action: "dismiss" | "allow" | "allow_deliver")
surfaces/gui/src/components/ManageTabs.tsx:247
↓ 4 callers
Function
addTurnUsage
(prev: SessionUsage, raw: any)
surfaces/gui/src/usage.ts:20
↓ 4 callers
Method
add_hosts
Let more "host:port" entries out, from now on: the person allowed a site for this session or for good (OPE-219). The list only grows while a s
coworker/sandbox/netproxy.py:52
↓ 4 callers
Function
all_events
Read every page, not just the first 500 events of a long-running team.
coworker/teams/summary.py:64
↓ 4 callers
Function
announceAutomationsChanged
()
surfaces/gui/src/api.ts:2578
↓ 4 callers
Function
announceCloudChanged
()
surfaces/gui/src/api.ts:1357
↓ 4 callers
Function
announcePersonasChanged
()
surfaces/gui/src/api.ts:1373
↓ 4 callers
Function
apiToken
()
surfaces/gui/src/api.ts:31
↓ 4 callers
Function
approvalItemFromPayload
(d: any)
surfaces/gui/src/cardPayloads.ts:22
↓ 4 callers
Function
approver
(req)
tests/test_run_grant.py:162
↓ 4 callers
Method
arm
Mint one single-use enrollment token; arming is per-token, not a mode. A bound token enrolls only the machine identity it was approved
coworker/remote/acceptor.py:86
↓ 4 callers
Method
audit_autonomy_change
Record a change to how much the agent may do unsupervised — the permission mode, or the attended/unattended toggle. Without this, "who turned
coworker/server/manager.py:5994
↓ 4 callers
Function
brokerMachineId
The broker's machine id for a GUI machine row: cloud rows carry the * `cloud:` prefix the broker never sees; local-registry machines are * unknown t
surfaces/gui/src/components/RemoteConnectorsPanel.tsx:56
↓ 4 callers
Function
buttons_for
The discrete-choice buttons for an Inbox item, or [] if it has none (free-text question, notification, …) — the caller then sends plain text with
coworker/interactions.py:44
↓ 4 callers
Method
by_id
(self, machine_id: str)
coworker/remote/stores.py:48
↓ 4 callers
Method
canonical
(path: str | Path)
coworker/workspace_trust.py:26
↓ 4 callers
Function
case_item
(board, case="findings", assignee="worker-1", space=SPACE)
tests/test_team_journal.py:39
↓ 4 callers
Method
cases
Cases visible to this actor (all of them for the user).
coworker/teams/journal.py:267
↓ 4 callers
Method
close
()
surfaces/gui/src/api.ts:3107
↓ 4 callers
Function
closeRowMenu
()
surfaces/gui/src/components/Sidebar.tsx:248
↓ 4 callers
Function
commit
(path, filename, content)
tests/test_team_git_handoff.py:47
↓ 4 callers
Function
configured_opening
The opening turn of a configuration-started (or configuration-targeted) session: what happened, the origin block (where to answer), where the code
coworker/server/manager.py:237
↓ 4 callers
Method
confirm_upload
( self, token: str, *, scope: str = GLOBAL_SCOPE, workspace: Optional[
coworker/skills/store.py:372
← previous
next →
801–900 of 8,537, ranked by callers