MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

↓ 22 callersMethodwrite
(text: str)
coworker/headless/terminal.py:124
↓ 21 callersFunction_wait_connected
(base: str, expect: int = 1, timeout: float = 5.0)
tests/test_remote_home.py:233
↓ 21 callersMethodentries
(self)
coworker/teams/tokens.py:62
↓ 21 callersMethodregister
(self, adapter: BasePlatformAdapter)
coworker/connectors/gateway.py:70
↓ 20 callersFunction_mgr
(tmp_path, monkeypatch)
tests/test_persona_connections.py:28
↓ 20 callersMethod_save_prefs
(self)
coworker/server/manager.py:4344
↓ 20 callersFunctionbuild_runner_zipapp
Build (or reuse) the runner zipapp and return its path. The name carries a hash of the sources, so an upgraded or edited runner never reuses a sta
coworker/sandbox/bundle.py:74
↓ 20 callersMethodcomplete
( self, *, model: str, messages: list[dict[str, Any]], tools: Optional
coworker/providers/openai_provider.py:256
↓ 20 callersMethodget_settings
Model-access + UI status. Never returns the key; `source` says where it comes from.
coworker/server/manager.py:4632
↓ 20 callersFunctionrequest_for
(manager)
tests/test_team_live_gaps.py:40
↓ 19 callersFunction_collect
(engine, user_input)
tests/test_engine.py:66
↓ 19 callersFunction_engine
(tmp_path, turns, *, approver=None, loop=False, max_iterations=12)
tests/test_engine.py:50
↓ 19 callersFunction_safe
(func, *args, **kwargs)
coworker/teams/mcp_server.py:40
↓ 19 callersFunction_tenant
Resolve the caller's tenant from a Request or WebSocket; None = 401. The resolver may be sync or async (a hosted one awaits its IdP).
coworker/remote/acceptor.py:266
↓ 19 callersMethoddeliver_to_session
Deliver an out-of-band message to a (durable) session — the agent stays resumable forever, so this works with no live socket. Busy (mid tool-l
coworker/server/manager.py:6352
↓ 19 callersMethodkill
(self)
coworker/sandbox/runner/executor.py:137
↓ 19 callersMethodmint
Create a token for one actor identity; returns the plaintext ONCE.
coworker/teams/tokens.py:34
↓ 19 callersFunctionopen
()
surfaces/gui/src/api.ts:2591
↓ 18 callersFunction_dialect
(args)
coworker/teams/cli.py:192
↓ 18 callersFunction_response
(output, status="completed", incomplete_details=None)
tests/test_openai_responses.py:82
↓ 18 callersMethodcancel
(self)
coworker/sandbox/setup_job.py:70
↓ 18 callersMethodcreate
(**kwargs)
tests/test_served_by.py:22
↓ 18 callersMethodcreate_team
The staffing gate's approved action: PRE-SPAWN worker sessions (state on disk, zero tokens — the first model turn fires when the first assignm
coworker/server/manager.py:2988
↓ 18 callersMethodis_enabled
(self, persona_id: str)
coworker/personas/registry.py:267
↓ 18 callersMethodlist
(self, machine_id: Optional[str] = None)
coworker/sandbox/registry.py:138
↓ 18 callersMethodlist_sessions
(self, workspace: Optional[str] = None)
coworker/server/manager.py:7806
↓ 18 callersMethodread
(self)
tests/test_toolchain.py:99
↓ 18 callersMethodrecv
(self)
tests/test_slack_status.py:164
↓ 18 callersMethodscratch_base
Common area for per-conversation scratch directories. Configurable via prefs; the env override keeps tests (and any sandboxed run) out of the
coworker/server/manager.py:622
↓ 18 callersMethodsubscribe
(self, callback)
coworker/audit.py:86
↓ 17 callersFunction_controller
(tmp_path: Path)
tests/test_remote_home.py:196
↓ 17 callersFunction_store
(tmp_path)
tests/test_memory.py:25
↓ 17 callersFunctionconvert_messages
OpenAI-shaped history → (`system`, Anthropic `messages`). Leading system messages become the `system` param. Consecutive same-role outputs are fo
coworker/providers/anthropic_provider.py:284
↓ 17 callersMethodlist_items
Return actor-visible items in a space. A worker's slice contains items it owns or created, their direct links, and—while claims are o
coworker/teams/store.py:626
↓ 17 callersFunctionmake_send_message_tool
Build the `send_message` tool bound to a SecretStore (and optional sender registry).
coworker/connectors/tools.py:134
↓ 17 callersMethodset_enabled
(self, name: str, enabled: bool)
coworker/skills/store.py:265
↓ 16 callersFunction_arm
(base: str)
tests/test_remote_home.py:206
↓ 16 callersFunction_client
(tmp_path, turns=None)
tests/test_skills_api.py:36
↓ 16 callersFunction_message_item
(text)
tests/test_openai_responses.py:88
↓ 16 callersFunction_run
One run with a scripted model. `isolated` (the default here) is the sealed run a benchmark harness makes: nothing of the computer is read, everyth
tests/test_headless_run.py:43
↓ 16 callersMethodapproval_prompt_data
Extra Inbox-item payload for a parked approval. Always carries the tool name + arguments so the GUI can render the same humanized card (§35) i
coworker/server/manager.py:5855
↓ 16 callersFunctionbuild_provider_client
Build a `ProviderClient` for `name` from its stored profile. Unknown → OpenAI default.
coworker/providers/registry.py:707
↓ 16 callersFunctionconnect_connector
( secrets: SecretStore, name: str, fields: dict[str, Any], *, validate: bool = True, a
coworker/connectors/setup.py:306
↓ 16 callersFunctionfresh_access_token
Valid cloud session token, silently refreshed near expiry; None when signed out or the session can't be renewed (GUI shows "sign in again").
coworker/cloud.py:229
↓ 16 callersMethodis_running
(self, session_id: str)
coworker/server/manager.py:6340
↓ 16 callersMethodremove
(self, machine_id: str)
coworker/remote/stores.py:52
↓ 16 callersMethodrun
(self)
coworker/remote/channel.py:236
↓ 16 callersMethodsearch
(self, query: str, max_results: int = 5)
coworker/web/providers.py:88
↓ 16 callersMethodstart
Begins microphone capture. A host must call [`stop_and_transcribe`](Self::stop_and_transcribe) or [`cancel`](Self::cancel) before a new recording can
stt/src/lib.rs:273
↓ 16 callersFunctiontimer
(manager, seconds=180, note="Verify Maya's tests")
tests/test_idle_checkins.py:14
↓ 15 callersFunction_space
(args)
coworker/teams/cli.py:188
↓ 15 callersFunction_task
(**kw)
tests/test_automation.py:26
↓ 15 callersMethodadd_question
( self, session_id, title, *, body="", inbox="default",
coworker/inbox.py:215
↓ 15 callersMethodallow_tool_for_session
(self, tool_name: str)
coworker/permissions.py:663
↓ 15 callersMethodapproval_outcome
Map an approval resolution (from any surface) to an ApprovalOutcome, handling the task-persistent "always_task" vocabulary alongside the sessi
coworker/server/manager.py:5937
↓ 15 callersFunctionassigned_item
(store, assignee="worker-1")
tests/test_team_board.py:23
↓ 15 callersFunctionbuild_code_engine
Back-compat shim: build the Code agent's engine.
coworker/agent.py:865
↓ 15 callersMethodconnect
(self)
coworker/sandbox/client.py:67
↓ 15 callersMethodevents
( self, space: str, *, kinds: Optional[list[str]] = None, item_id: Opt
coworker/teams/store.py:290
↓ 15 callersFunctiongetConnectors
(machineId?: string | null)
surfaces/gui/src/api.ts:1023
↓ 15 callersMethodinstall_from_dir
Install persona(s) from a local directory by **snapshotting** their manifests into our managed area (so the definition is stable, independent
coworker/personas/registry.py:396
↓ 15 callersFunctionmachineApi
(mid: string)
surfaces/gui/src/api.ts:128
↓ 15 callersMethodopen
(self)
coworker/connectors/relay_client.py:44
↓ 15 callersFunctionresolve_from_reply
Correlate an inbound channel reply to its item (by the embedded id) and resolve it. Looks for the ``[ow:<id>]`` token (or legacy ``[ocw:…]``) and
coworker/inbox_routing.py:149
↓ 14 callersMethod_audit
(self, tool_call: ToolCall, **event: Any)
coworker/engine.py:2126
↓ 14 callersFunction_lead
(manager, sid="lead-sid", agent="swe-lead")
tests/test_worker_connectors.py:33
↓ 14 callersFunction_salvage_tool_calls_from_text
Best-effort recovery of tool calls embedded in assistant text. Tries, in order: 1. `<tool_call>…</tool_call>` blocks (anywhere, balanced); 2. embe
coworker/providers/openai_provider.py:659
↓ 14 callersFunction_summary
(out: Path)
tests/test_headless_run.py:75
↓ 14 callersMethod_user_actor
(self)
coworker/server/manager.py:2551
↓ 14 callersFunctionbrokerFetch
(path: string, init: RequestInit = {})
surfaces/gui/src/api.ts:3691
↓ 14 callersFunctioncode_agent
()
coworker/agents/code.py:66
↓ 14 callersMethodcomplete
( self, *, model: str, messages: list[dict[str, Any]], tools: Optional
coworker/providers/openai_responses.py:386
↓ 14 callersMethodcomplete
( self, *, model: str, messages: list[dict[str, Any]], tools: Optional
coworker/providers/anthropic_provider.py:557
↓ 14 callersMethodeffective_connectors
The connectors effectively enabled for this session (§4.1): connected AND not muted by the session override / persona default AND within the p
coworker/server/manager.py:1055
↓ 14 callersMethodget
(self, name: str)
coworker/tools/registry.py:56
↓ 14 callersFunctiongetSettings
(machineId?: string | null)
surfaces/gui/src/api.ts:2272
↓ 14 callersMethodregister
( self, func: Callable[..., Any], *, metadata: Any = None, schema: Opt
coworker/tools/registry.py:29
↓ 14 callersMethodselect
(self, folder, readonly=False)
tests/test_email_tools.py:34
↓ 14 callersMethodstatus
(self)
coworker/connectors/gateway.py:219
↓ 14 callersMethodtool
The engine's tool-install hook: only reached for a tool in the pinned catalog, so yes installs the verified build.
coworker/headless/terminal.py:332
↓ 14 callersMethodupdate
Rewrite SKILL.md fields in place; sibling resource files are untouched.
coworker/skills/store.py:204
↓ 14 callersMethodurl
(self)
coworker/sandbox/netproxy.py:73
↓ 14 callersFunctionuser
(text)
tests/test_compaction.py:32
↓ 14 callersMethodwait_dispatched
Test helper: wait until at least N frames have been dispatched.
coworker/connectors/relay_client.py:208
↓ 13 callersFunction_broker
(method: str, path: str, body: Optional[dict] = None)
coworker/server/app.py:1501
↓ 13 callersFunction_response
(parts, finish_reason="STOP")
tests/test_gemini_provider.py:42
↓ 13 callersFunction_response
(content=None, tool_calls=None, finish_reason="stop")
tests/test_providers.py:32
↓ 13 callersFunction_session_folders
(machine: Path, ws: Path)
tests/test_run_cli.py:60
↓ 13 callersMethodaccept
(timeout: float)
coworker/sandbox/runner/daemon.py:504
↓ 13 callersFunctionbuild_user_content
Return `str` (no attachments) or a list of OpenAI content-parts (with attachments). Each attachment is `{"kind": "image"|"pdf"|"text", "name"?, "
coworker/attachments.py:35
↓ 13 callersMethodcall
( self, method: str, params: Optional[dict[str, Any]] = None, *, timeo
coworker/sandbox/client.py:132
↓ 13 callersMethoddefault_id
(self)
coworker/personas/registry.py:287
↓ 13 callersMethodeffective_skill_names
The session's skill menu (§3): merged scopes − Settings disables − session mutes. The single resolver behind the engine catalog, the rail list
coworker/server/manager.py:7976
↓ 13 callersMethodget
(self, task_id: str)
coworker/automation/store.py:119
↓ 13 callersFunctionget_descriptor
(name: str)
coworker/connectors/descriptors.py:1469
↓ 13 callersFunctionlead_for_review
(manager, monkeypatch, *, verdict="allow", during=None)
tests/test_team_rehearsal_fixes.py:18
↓ 13 callersFunctionmake_integration_tools
( secrets: SecretStore, *, enabled_connectors: Optional[set[str]] = None, enabled_tools: Optio
coworker/connectors/integration_tools.py:546
↓ 13 callersMethodregister_session_client
(self, session_id: str, send_cb: Any)
coworker/server/manager.py:5560
↓ 13 callersMethodrun
(self, command: str, timeout: Optional[float] = None)
coworker/sandbox/runner/executor.py:58
↓ 12 callersFunction_call
(func, *args, **kwargs)
coworker/teams/tools.py:463
← previousnext →101–200 of 8,537, ranked by callers