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
↓ 3 callers
Method
consume_subscription
(self, space: str, subscriber: str, upto_seq: int)
coworker/teams/store.py:445
↓ 3 callers
Function
convert_messages
OpenAI-shaped history → (Converse `system`, Converse `messages`). Same shape discipline as the Anthropic converter (it's the same API family): le
coworker/providers/bedrock_provider.py:168
↓ 3 callers
Function
convert_tools
OpenAI function schemas → Gemini tool declarations (one tool, N function_declarations).
coworker/providers/gemini_provider.py:306
↓ 3 callers
Method
count_wake
The budget gate at the wake gate: count one automatic wake against the team's rolling hour; False = over cap (the caller skips the wake and th
coworker/teams/registry.py:124
↓ 3 callers
Function
create
(payload: { title: string; instructions: string; cron?: string; permissions?: { tool: string;
surfaces/gui/src/components/ScheduledView.tsx:89
↓ 3 callers
Method
create
(self)
coworker/sandbox/providers/openshell.py:346
↓ 3 callers
Method
create
(self)
coworker/sandbox/providers/runner_local.py:35
↓ 3 callers
Method
create
(self)
coworker/sandbox/providers/seatbelt.py:156
↓ 3 callers
Function
create_cloud_app
(data_dir: str | Path)
coworker/remote/service.py:92
↓ 3 callers
Method
create_item
( self, space: str, *, title: str, criteria: str, description:
coworker/teams/dialect.py:395
↓ 3 callers
Function
current
Setup has run and is of this version (an older record means: run it again).
coworker/sandbox/providers/windows_setup.py:181
↓ 3 callers
Method
decide_worker_call
The lead's `decide_worker_call` (spec §11.6): resolve one of ITS workers' parked tool calls. The tool call that got here already passed the le
coworker/server/manager.py:1258
↓ 3 callers
Function
default_name
()
coworker/remote/joiner.py:89
↓ 3 callers
Method
delete_skill
(self, name: str, workspace: Optional[str] = None)
coworker/server/manager.py:8091
↓ 3 callers
Function
deliver
Mirror an inbox item to its bound channel (if any). The item id is embedded so an inbound reply can be correlated back. In-app-only bindings deliv
coworker/inbox_routing.py:109
↓ 3 callers
Method
delivery_page
Read both delivery projections from ONE scanned log range. Even quiet/self/status events advance the scan. Never let a subscription c
coworker/teams/store.py:389
↓ 3 callers
Function
deploySealedSecrets
( machineId: string, sealedB64: string, profiles: string[], hashes: Record<string, string>, )
surfaces/gui/src/api.ts:3659
↓ 3 callers
Method
destroy
(self)
coworker/sandbox/providers/openshell.py:510
↓ 3 callers
Method
destroy
(self)
coworker/sandbox/providers/windows.py:382
↓ 3 callers
Method
dispatch
(self, frame: dict[str, Any])
coworker/remote/channel.py:168
↓ 3 callers
Function
docker_host_network
On a Mac: whether a container on Docker's host network reaches the gateway on this Mac's loopback address, tried from a throwaway container of the
coworker/sandbox/setup_cmd.py:201
↓ 3 callers
Function
done
(r: { error?: string }, ok: string)
surfaces/gui/src/components/MachineModelsPanel.tsx:87
↓ 3 callers
Function
download
()
surfaces/gui/src/components/SettingsView.tsx:514
↓ 3 callers
Function
effective
Resolve the effective-enabled connectors for a session — the §4 invariant. For each **connected** connector: a session override (if present) wins
coworker/connections.py:158
↓ 3 callers
Function
experimental_enabled
Whether the user has opted in to experimental (use-at-your-own-risk) connectors.
coworker/connectors/setup.py:20
↓ 3 callers
Function
extract_text_body
Best text rendering of a message: prefer text/plain, fall back to stripped HTML.
coworker/connectors/email_tools.py:177
↓ 3 callers
Function
extract_user_messages
Every user message in the span, chronological, VERBATIM (whitespace normalized). Preserved mechanically — the summarizer is also asked to list the
coworker/compaction.py:315
↓ 3 callers
Function
filterWorkers
(entries: RosterEntry[], filter: WorkerFilter)
surfaces/gui/src/teamRoster.ts:60
↓ 3 callers
Function
frozen
()
coworker/sandbox/launch.py:24
↓ 3 callers
Function
fullPersonaName
(name?: string, id?: string)
surfaces/gui/src/personaScope.ts:23
↓ 3 callers
Function
get
(key: str)
coworker/providers/registry.py:168
↓ 3 callers
Method
get
(self, url, headers=None, extensions=None)
tests/test_url_address_guard.py:128
↓ 3 callers
Method
get
(self, item_id: int)
coworker/memory/sqlite_store.py:67
↓ 3 callers
Function
getAllSessions
()
surfaces/gui/src/api.ts:299
↓ 3 callers
Function
getArtifacts
(sessionId: string)
surfaces/gui/src/api.ts:587
↓ 3 callers
Function
getCloudConnections
()
surfaces/gui/src/api.ts:3744
↓ 3 callers
Function
getHealth
()
surfaces/gui/src/api.ts:169
↓ 3 callers
Function
getInboxRouting
(machineId?: string | null)
surfaces/gui/src/api.ts:1983
↓ 3 callers
Function
getMachineSecrets
(machineId: string)
surfaces/gui/src/api.ts:3475
↓ 3 callers
Function
getMachineSettings
(machineId: string)
surfaces/gui/src/api.ts:3327
↓ 3 callers
Method
get_group
(self, group_id: str)
coworker/teams/chat.py:97
↓ 3 callers
Function
get_registry
()
coworker/personas/registry.py:557
↓ 3 callers
Method
get_tokens
(self)
coworker/mcp/oauth.py:67
↓ 3 callers
Method
get_web_search
(self)
coworker/server/manager.py:4002
↓ 3 callers
Method
grant_by_user_code
(self, user_code: str)
coworker/remote/stores.py:108
↓ 3 callers
Function
grant_entries
Validate a proposed `permissions` list (from the create-tool schema or the GUI create payload) down to the entries actually grantable. Only `acces
coworker/automation/models.py:39
↓ 3 callers
Method
grant_trust_for_tool
OPE-136 durable trust: persist a per-tool "don't ask" rule (survives sessions). Falls back to the session grant when no store is wired (epheme
coworker/permissions.py:675
↓ 3 callers
Function
handler
(ev: MessageEvent)
tests/test_connectors.py:148
↓ 3 callers
Function
hasPendingApproval
()
surfaces/gui/src/routes.ts:105
↓ 3 callers
Function
humanizeApprovalTitle
(name: string, args: any)
surfaces/gui/src/humanize.ts:110
↓ 3 callers
Function
humanizeTool
(name: string, args: any)
surfaces/gui/src/humanize.ts:29
↓ 3 callers
Method
inbox_approver
Inbox-based approver — the default for no-socket runs (background, self-wake, durable resume). On resume the item already exists + is resolved
coworker/server/manager.py:1591
↓ 3 callers
Function
indexConnectors
(list: Connector[])
surfaces/gui/src/connectors/visuals.ts:16
↓ 3 callers
Method
install_from_git
Clone a persona repo and install its personas (disabled pending consent).
coworker/personas/registry.py:535
↓ 3 callers
Method
install_from_zip
Install persona(s) from a shared bundle zip (the export format). The archive is extracted to a temp dir with a zip-slip guard, then installed
coworker/personas/registry.py:489
↓ 3 callers
Function
is_elevated
()
coworker/sandbox/providers/windows_setup.py:275
↓ 3 callers
Method
json
(self)
tests/test_github_installs.py:375
↓ 3 callers
Method
json
(self)
tests/test_machine_poll.py:230
↓ 3 callers
Method
last_stderr
Stderr tail from the most recent failed startup of `name`, if any.
coworker/mcp/client.py:111
↓ 3 callers
Method
lead_mode_for
The CURRENT mode of the lead of this worker's team, or None for non-workers.
coworker/server/manager.py:1187
↓ 3 callers
Method
list
(self, org_id: Optional[str] = None)
coworker/remote/stores.py:49
↓ 3 callers
Method
list
(self)
coworker/automation/store.py:126
↓ 3 callers
Function
list_accounts
(account_id, profile) for every connected account, migration included.
coworker/connectors/accounts.py:83
↓ 3 callers
Method
list_artifacts
(self, session_id: str)
coworker/server/manager.py:3779
↓ 3 callers
Function
list_portals
(hub_id, profile) for every connected portal, migration included.
coworker/connectors/hubspot_portals.py:56
↓ 3 callers
Function
load
()
surfaces/gui/src/components/SettingsView.tsx:234
↓ 3 callers
Function
loadSubs
()
surfaces/gui/src/components/AccessSection.tsx:165
↓ 3 callers
Function
load_manifest_file
(path: str | Path, *, builtin: bool = False)
coworker/personas/manifest.py:408
↓ 3 callers
Function
load_tool_settings
(secrets: SecretStore, connector: str)
coworker/connectors/tool_defs.py:1229
↓ 3 callers
Method
login
(self, user, password)
tests/test_email_tools.py:30
↓ 3 callers
Function
maybe_run_runner
`openworker-server sandbox-runner <serve|attach> ...`: run the runner and exit. Returns False when argv is anything else. Imports only the runner
coworker/sandbox/launch.py:99
↓ 3 callers
Method
mcp_connect_connector
One-click connect for an MCP-BACKED connector (descriptor.mcp_url): seed the global server entry pinned to the curated allowlist, run the brow
coworker/server/manager.py:2231
↓ 3 callers
Function
mcp_tool_defs
The connector's PINNED MCP tools (names `mcp__<connector>__<vendor tool>`).
coworker/connectors/tool_defs.py:1259
↓ 3 callers
Function
messageTarget
(target: string)
surfaces/gui/src/humanize.ts:21
↓ 3 callers
Function
modelLabelOf
(id: string)
surfaces/gui/src/components/TeamRequestCard.tsx:188
↓ 3 callers
Function
mutation_receipt
Keep full store/GUI projections, but never echo their history to the model.
coworker/teams/tools.py:44
↓ 3 callers
Method
name_allowed_tools
Legacy name-only entries (no target binding) — back-compatible behavior.
coworker/automation/models.py:171
↓ 3 callers
Function
newestFile
(scratchBase: string, name: string)
surfaces/gui/e2e-live/helpers.ts:47
↓ 3 callers
Function
normalize_attendance
Accept the three names or the legacy boolean; anything else reads as attended.
coworker/unattended.py:53
↓ 3 callers
Function
normalize_option
One option in canonical dict form: {label, description, recommended, preview}. Plain strings become {label: str, ...empty}. The label doubles as t
coworker/tools/ask.py:171
↓ 3 callers
Method
note
(self, tool: str, arguments: dict[str, Any] | None)
coworker/session_facts.py:192
↓ 3 callers
Function
openExternal
(url: string)
surfaces/gui/src/tauri.ts:139
↓ 3 callers
Method
open_workspace
(self, path: str, *, create: bool = False)
coworker/server/manager.py:511
↓ 3 callers
Method
other_connected
Everything connected on this machine that policy lets a worker hold — the staffing card's "Add another connector" list (the card subtracts eac
coworker/server/manager.py:1115
↓ 3 callers
Method
outbound
The recorded ``chat.postMessage`` / ``chat.update`` calls (most-recent last).
coworker/testing/fake_slack/server.py:306
↓ 3 callers
Method
overview
Case list with entry counts and last activity — the rail's summary view.
coworker/teams/journal.py:247
↓ 3 callers
Method
park
(self, **fields)
coworker/connectors/parked.py:69
↓ 3 callers
Function
parse_args
(argv: Optional[list[str]] = None)
coworker/headless/runner.py:57
↓ 3 callers
Function
parse_verdict
Parse the reviewer's reply. ANY defect → `unsure` (§8.5): there is no parse path that results in execution.
coworker/reviewer.py:235
↓ 3 callers
Method
pdf_settings
Fallback mode for models without native PDF support + the attach-time thresholds (Settings → Token savings: big PDFs quietly eat tokens).
coworker/server/manager.py:4805
↓ 3 callers
Function
platform_label
(platform: str)
coworker/connectors/origin.py:28
↓ 3 callers
Function
prefillComposer
(text: string, attachments?: Attachment[])
surfaces/gui/src/App.tsx:1457
↓ 3 callers
Function
provider_names
()
coworker/web/providers.py:127
↓ 3 callers
Method
raise_for_status
(self)
tests/test_url_address_guard.py:111
↓ 3 callers
Function
read_targets
Every file operand `command` would read, for scoping against the session's roots. Only meaningful for commands `is_readonly_command` accepts — it
coworker/readonly.py:254
↓ 3 callers
Method
recent_workspaces
Recent real projects for the folder gate. Per-conversation scratch dirs are excluded — they're workspaces to the session store, but never some
coworker/server/manager.py:604
↓ 3 callers
Function
recommendedFor
(persona: string)
surfaces/gui/src/components/TeamRequestCard.tsx:179
↓ 3 callers
Function
records
(team_id, artifact_id="", version=0, after_seq=0, limit=51)
coworker/teams/artifacts.py:28
↓ 3 callers
Function
refresh
()
surfaces/gui/src/components/AutomationQuickstart.tsx:185
↓ 3 callers
Method
register
( self, provider: str, handler: Callable[[dict], Awaitable[None]] )
coworker/connectors/relay_client.py:98
← previous
next →
1,201–1,300 of 8,537, ranked by callers