MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

↓ 3 callersFunctionregistry_id
A short, stable id for a registry file: the same state folder always gives the same id, and another state folder a different one. It is a label va
coworker/sandbox/registry.py:61
↓ 3 callersFunctionrelTime
(epoch?: number | null, t?: TFunction)
surfaces/gui/src/providers/ProviderSetup.tsx:65
↓ 3 callersMethodrequire_attachment_access
Require an actor-visible item to carry an authoritative attachment.
coworker/teams/store.py:781
↓ 3 callersMethodrescan
Re-read the skill dirs. load_skill rescans on a miss so a skill created AFTER the session's engine was built is still loadable (the catalog li
coworker/skills/base.py:34
↓ 3 callersFunctionresolveConnector
(logo?: string)
surfaces/gui/src/connectors/registry.tsx:245
↓ 3 callersFunctionresolve_memory_key
The identity ladder for memory: explicit binding > git > path. Applies the one-time path→git re-key as a read-path side effect (idempotent: once m
coworker/projects.py:155
↓ 3 callersMethodresolve_worker_model
The model a TEAM WORKER runs on, and a warning when it is a fallback (worker-connector-grants spec §11). A persona's `models:` list is its aut
coworker/server/manager.py:4442
↓ 3 callersMethodresume_due_wakes
Resume sessions whose self-wakes are due (called each scheduler tick). A suspended agent (it called sleep_for / sleep_until / wake_on / wake_o
coworker/server/manager.py:6266
↓ 3 callersMethodretry
Re-run the model loop after a provider error — no new user message; the failed turn's input is already the tail of history. Guarded on the tai
coworker/engine.py:516
↓ 3 callersFunctionreviewer_text
A user message as the Auto-Approve reviewer may see it (§4.4): the user's TYPED words, with every attachment collapsed to a neutral marker — never
coworker/attachments.py:85
↓ 3 callersFunctionrevokeMachineSecrets
( machineId: string, profiles: string[], )
surfaces/gui/src/api.ts:3673
↓ 3 callersMethodrevoke_trust
(self, pattern: str)
coworker/overrides.py:153
↓ 3 callersFunctionrule_entry
(tool: str, target: Optional[str] = None)
coworker/automation/models.py:30
↓ 3 callersFunctionrule_parts
(entry: str)
coworker/automation/models.py:34
↓ 3 callersFunctionrun
()
tests/test_mcp_oauth.py:61
↓ 3 callersFunctionsandbox_image
The image a sandbox is created from: the pinned one, unless the environment says.
coworker/sandbox/providers/openshell.py:76
↓ 3 callersFunctionsandbox_status
How sessions on this machine will run: {"provider", "explicit", "warning"} or {"provider": None, "refused": why}.
coworker/remote/joiner.py:819
↓ 3 callersMethodsave
(self)
coworker/overrides.py:91
↓ 3 callersFunctionsave_worker
(manager, messages)
tests/test_team_reader_recovery.py:91
↓ 3 callersFunctionscenario
()
tests/test_slack_approval_owners.py:167
↓ 3 callersFunctionscenario
()
tests/test_engine_stop.py:168
↓ 3 callersFunctionsealTo
(recipientPubB64: string, plaintext: Uint8Array)
surfaces/gui/src/seal.ts:42
↓ 3 callersFunctionselectMode
(page: Page, label: "Full access" | "Plan" | "Discuss")
surfaces/gui/e2e-live/helpers.ts:75
↓ 3 callersFunctionselectSession
(id: string, ws: string, ag: string)
surfaces/gui/src/App.tsx:1624
↓ 3 callersFunctionselfwake_tools
Tools an agent calls to schedule its own resumption.
coworker/selfwake.py:234
↓ 3 callersFunctionsend
(text: string, attachments?: Attachment[], skill?: string)
surfaces/gui/src/App.tsx:1361
↓ 3 callersMethodsend
(events: list[dict[str, Any]])
coworker/remote/audit_export.py:277
↓ 3 callersMethodsend
(self, frame: bytes)
coworker/sandbox/runner/daemon.py:75
↓ 3 callersMethodsession_board
The session's board: items grouped by the workspace-keyed space. Empty (space=None) when the workspace has no items — the rail hides itself.
coworker/server/manager.py:2634
↓ 3 callersMethodsession_connections_view
The per-session connections drawer payload (UI-REFRESH §6): every account-connected connector with its effective on/off state (muted ones stay
coworker/server/manager.py:1508
↓ 3 callersFunctionsession_sandbox
What a session's header says about its sandbox (OPE-218): the walls THIS session runs behind, which were fixed when it started, not the machine's
coworker/sandbox/settings.py:343
↓ 3 callersMethodsession_sites
The session's sandbox as its header chip and Access section show it: the sites from Settings, and those allowed for this session only.
coworker/server/manager.py:7503
↓ 3 callersMethodset
Set the session's attendance (a name, or the legacy boolean) and return it.
coworker/unattended.py:91
↓ 3 callersFunctionsetInboxBinding
( name: string, channel: string | null, target: string, machineId?: string | null, )
surfaces/gui/src/api.ts:1990
↓ 3 callersMethodset_default_model
Set + persist the default model for new sessions (the UI pre-selects it).
coworker/server/manager.py:4924
↓ 3 callersFunctionset_experimental_enabled
(secrets: SecretStore, value: bool)
coworker/connectors/setup.py:25
↓ 3 callersMethodset_surfaced
(self, persona_id: str, surfaced: bool)
coworker/personas/registry.py:362
↓ 3 callersMethodset_unattended
Set the session's attendance (attended / inbox / auto, or the legacy boolean), with an audit row. Note this changes only WHO ANSWERS when the
coworker/server/manager.py:6042
↓ 3 callersFunctionshortArgs
(args: any)
surfaces/gui/src/components/ApprovalCard.tsx:9
↓ 3 callersFunctionshortPersonaName
(name?: string, id?: string)
surfaces/gui/src/personaScope.ts:15
↓ 3 callersFunctionskill_catalog_text
( loader: SkillLoader, allowed: Optional[set[str]] = None )
coworker/skills/base.py:92
↓ 3 callersFunctionskill_tools
`allowed` gates load_skill: a set is a build-time snapshot; a CALLABLE is consulted on every call — the manager passes one so Settings disables ap
coworker/skills/base.py:110
↓ 3 callersFunctionspace_for_workspace
Spaces are keyed to the project/workspace (boards are views over a space). The resolved path is the one unambiguous local key; a display name is i
coworker/teams/model.py:77
↓ 3 callersMethodspaces
(self)
coworker/teams/store.py:464
↓ 3 callersFunctionspawn_kwargs
How a daemon or relay is started so that it shares neither our session nor our console: its own session on POSIX, its own process group and no win
coworker/sandbox/launch.py:73
↓ 3 callersFunctionsplit_thread
`owner/repo#N` → ("owner/repo", N); a bare repo has no thread number.
coworker/connectors/github_relay.py:34
↓ 3 callersMethodstanding_rules
Target-bound entries as {tool: {targets}} — the shape the permission engine matches against the declared target argument.
coworker/automation/models.py:161
↓ 3 callersMethodstart
Open the socket (idempotent — the second adapter joins the running loop). True when the socket is up or already running.
coworker/connectors/relay_client.py:110
↓ 3 callersMethodstart_gateway
Build the messaging gateway and start enabled listeners. Inbound messages route to durable sessions: a channel message to its subscribers, a D
coworker/server/manager.py:5337
↓ 3 callersFunctionstate_dir
Mirror of `coworker.secrets.state_dir()` so the shell and server agree on `desktop.json`. Windows: `%APPDATA%\coworker`; POSIX: `~/.config/coworker`.
surfaces/gui/src-tauri/src/lib.rs:252
↓ 3 callersMethodstatus
(self, folder, what)
tests/test_email_tools.py:46
↓ 3 callersMethodstatus
Profile metadata only — **never** the secret values themselves.
coworker/secrets.py:277
↓ 3 callersMethodstop
(self)
coworker/sandbox/runner/daemon.py:586
↓ 3 callersMethodstop
(self)
coworker/automation/scheduler.py:45
↓ 3 callersMethodstop
(self)
coworker/connectors/relay_client.py:185
↓ 3 callersMethodstop_session
(self, session_id: str)
coworker/server/manager.py:3476
↓ 3 callersFunctionstore_managed_grant
Store a managed OAuth grant into `secrets`, routing to the connector's storage family (multi-account gmail/gcal, multi-portal hubspot, or the
coworker/connectors/setup.py:421
↓ 3 callersFunctionstore_managed_grant_bundle
Turn a broker OAuth callback (`form` = the callback's fields) into this connector's profile records in `secrets`, stamped with the delegation
coworker/connectors/setup.py:449
↓ 3 callersFunctionsubscribeChannel
( sessionId: string, channel: string, opts: { move?: boolean } = {}, )
surfaces/gui/src/api.ts:2043
↓ 3 callersMethodsubscribe_session
Claim `channel` for `session_id`: at the broker FIRST (one session across all the user's machines answers a source), then in the local mirror.
coworker/server/manager.py:6574
↓ 3 callersFunctionsubscription_tools
The channel-subscription tools for a messaging persona's session: subscribe / unsubscribe / list / catch up. The agent obtains a channel by asking
coworker/subscriptions.py:214
↓ 3 callersFunctionsummarize_span
One summarizer round-trip (blocking — the engine runs it off-loop). Tools are disabled; the Settings model override is just a different `model` id
coworker/compaction.py:485
↓ 3 callersFunctionsummarizer_messages
The provider-ready messages for the summarizer call. On repeated compaction the previous summary is message zero of the new span — summarized alon
coworker/compaction.py:460
↓ 3 callersFunctionteamApiBase
(sessionId?: string)
surfaces/gui/src/api.ts:537
↓ 3 callersFunctionteamRoster
( sessions: SessionInfo[], summary?: TeamSummary | null, machine = "", )
surfaces/gui/src/teamRoster.ts:21
↓ 3 callersMethodteam_card_extras
Everything the staffing card needs beyond the lead's raw proposal, computed on THIS machine (where the workers will run): the connector offer,
coworker/server/manager.py:4511
↓ 3 callersMethodteam_planned_items
Resolve declared responsibilities only within the lead's actual board.
coworker/server/manager.py:4485
↓ 3 callersMethodteam_staleness_digest
Attached to a lead's TIMER wakes: pure code over the board — a nothing's-wrong wake is one cheap glance, never a re-survey. Scoped by
coworker/server/manager.py:3726
↓ 3 callersMethodteam_summary
(self, team_id: str)
coworker/server/manager.py:2625
↓ 3 callersFunctionto_ocsf
One local audit row → one OCSF API Activity event. Content columns are dropped here, structurally, not by a filter someone could forget.
coworker/remote/audit_export.py:109
↓ 3 callersFunctiontoggle
( id: string, body: { enabled?: boolean; surfaced?: boolean; default?: boolean }, )
surfaces/gui/src/components/PersonasTab.tsx:92
↓ 3 callersFunctiontoolItemFromPayload
(d: any)
surfaces/gui/src/cardPayloads.ts:101
↓ 3 callersFunctiontotalTokens
(u: SessionUsage)
surfaces/gui/src/usage.ts:58
↓ 3 callersMethodtouch
(self, machine_id: str, app_version: Optional[str] = None)
coworker/remote/stores.py:50
↓ 3 callersFunctiontrigger_tokens
( context_window: Optional[int], *, threshold_pct: float = DEFAULT_THRESHOLD_PCT, cap_tokens:
coworker/compaction.py:85
↓ 3 callersFunctiontrunc
(s: string, n: number)
surfaces/gui/src/humanize.ts:16
↓ 3 callersMethoduid
(self, command, *args)
tests/test_email_tools.py:49
↓ 3 callersFunctionunit_name_for
`openworker-<machine>.service` — one unit per joined identity, so two installs on one box can never silently share a name (or a state dir).
coworker/remote/joiner.py:877
↓ 3 callersMethodunread_for
Messages this member should be WOKEN for: posts that @mention it, plus every user post. Its own posts never count.
coworker/teams/chat.py:166
↓ 3 callersMethodunregister_session_client
(self, session_id: str, send_cb: Any)
coworker/server/manager.py:5563
↓ 3 callersFunctionupdateAutomation
(id: string, changes: Record<string, any>)
surfaces/gui/src/api.ts:2642
↓ 3 callersFunctionupdate_connector_tools
( secrets: SecretStore, name: str, enabled: dict[str, Any] )
coworker/connectors/setup.py:298
↓ 3 callersMethoduserMessage
`model` = the composer's CURRENT selection, carried on every message so the turn uses * exactly what the user sees — immune to set_model races acro
surfaces/gui/src/api.ts:3032
↓ 3 callersFunctionvalidate_team_proposal
(args)
coworker/teams/proposals.py:128
↓ 3 callersFunctionvalue
(v: Any)
coworker/config.py:253
↓ 3 callersFunctionverify_b64
(pubkey_b64: str, data: bytes, signature_b64: str)
coworker/remote/identity.py:194
↓ 3 callersFunctionvisualFor
(ref: string, kind: string, byName: ConnectorMap)
surfaces/gui/src/connectors/visuals.ts:38
↓ 3 callersFunctionwaiting_items
(events, inbox, items)
coworker/teams/summary.py:75
↓ 3 callersFunctionwhere_line
`From Slack · workspace T… · #team (C…) · thread 1788….` — one line, ids kept so the model can copy them into the reply call.
coworker/connectors/origin.py:77
↓ 3 callersMethodwhoami
(self)
coworker/teams/dialect.py:41
↓ 3 callersFunctionworkspace_folder_name
The workspace's folder under sessions/: its full path with every character that is not a letter or a digit turned into a dash (`/Users/me/src/app`
coworker/headless/runner.py:704
↓ 3 callersFunctionwrite
Write a file. `if_match_sha256` makes an edit fail when the file changed underneath (pass the hash of the content the edit was based on; "" means
coworker/sandbox/runner/fsops.py:88
↓ 3 callersFunctionwrite_verification_marker
(model_path: &Path, marker_path: &Path)
stt/src/lib.rs:380
↓ 2 callersMethod_action_key
(tool_name: str, arguments: dict[str, Any] | None)
coworker/engine.py:1442
↓ 2 callersMethod_actor_owns_protected_item
Authorize a protected-item resolution over ANY transport. The owner check used to run only on the Slack lane, so a Telegram reply (or button)
coworker/server/manager.py:5102
↓ 2 callersMethod_after_connect
What a provider does once it can talk to its runner: prove the wall is up, then put in what it could not put in before the runner existed (cop
coworker/sandbox/workspace.py:198
↓ 2 callersFunction_all_but_the_image
(setup_cmd)
tests/test_sandbox_selection.py:143
↓ 2 callersFunction_allows_bind_mounts
Whether this gateway config lets a sandbox be given folders: the docker driver takes driver config and bind mounts, and resource admission is off
coworker/sandbox/setup_cmd.py:362
↓ 2 callersFunction_announce
Surface the write to the user (§5.1). Best-effort: the notice is never worth failing a write that already succeeded.
coworker/memory/tools.py:54
↓ 2 callersFunction_anthropic_extras
The `_anthropic` sidecar persisted on the assistant message (empty when nothing to keep): raw thinking blocks, which convert_messages replays verb
coworker/providers/anthropic_provider.py:431
← previousnext →1,301–1,400 of 8,537, ranked by callers