MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

↓ 4 callersFunctionconnectMcp
(name: string)
surfaces/gui/src/api.ts:768
↓ 4 callersMethodcreate_proposal
Atomically materialize an accepted plan, its intent and dependency links.
coworker/teams/store.py:528
↓ 4 callersFunctiond
(delay: string, extra?: Record<string, string>)
surfaces/gui/src/components/connectors/SlackHowItWorks.tsx:264
↓ 4 callersFunctiondecode
`(item_id, resolution)` from a button value, or None if it isn't ours.
coworker/interactions.py:33
↓ 4 callersMethoddescribe
(self)
coworker/sandbox/workspace.py:289
↓ 4 callersMethoddisallow_user
( self, name: str, user_id: str, team_id: Optional[str] = None )
coworker/server/manager.py:4972
↓ 4 callersMethoddue
(self, *, now: Optional[float] = None)
coworker/automation/store.py:142
↓ 4 callersFunctionengine
(mode: Mode, tmp_path)
tests/test_run_grant.py:19
↓ 4 callersFunctionexplorer_tools
( *, workspace: str | Path, provider: Any, model: str, model_settings: Optional[dict[str,
coworker/tools/subagent.py:79
↓ 4 callersFunctionextract_working_state
The mechanical block appended to the summary by CODE, from the span's tool-call records: files written, recent commands (+ exit status), artifacts
coworker/compaction.py:250
↓ 4 callersMethodfind
(self, session_id: str, agent: str = "")
coworker/sandbox/registry.py:151
↓ 4 callersFunctionfriendly_model_error
One actionable sentence for "your account can't use this model" failures, or None.
coworker/providers/errors.py:38
↓ 4 callersFunctionfrom
(connector: string, kind: "channel" | "dm", channel: [string, string], sender: [string, string], text: string)
surfaces/gui/src/gallery/states/connector-message.ts:4
↓ 4 callersMethodget
The persona's stored row (a copy). Empty dict if it was never seeded/edited — this does NOT seed; use :meth:`defaults_for` to seed from a mani
coworker/connections.py:58
↓ 4 callersFunctiongetCloudBase
()
surfaces/gui/src/api.ts:3375
↓ 4 callersFunctiongetPersonaDetail
(id: string, machineId?: string | null)
surfaces/gui/src/api.ts:1604
↓ 4 callersFunctiongetPersonas
()
surfaces/gui/src/api.ts:1429
↓ 4 callersFunctiongetPersonasIndex
(machineId?: string | null)
surfaces/gui/src/api.ts:1442
↓ 4 callersFunctiongetSessions
(workspace?: string)
surfaces/gui/src/api.ts:267
↓ 4 callersFunctiongit_tools
(workspace: str)
coworker/tools/git.py:41
↓ 4 callersMethodgrant
Explicit cross-team sharing. The user may grant any case; a lead may grant cases it holds. Workers never grant — evidence flows up, access
coworker/teams/journal.py:284
↓ 4 callersMethodgrant_worker_connector
The approved side of `grant_connector`: turn a connector on for one worker of this lead's team and rebuild its tools. The human has already sa
coworker/server/manager.py:1294
↓ 4 callersFunctionhasWallet
()
surfaces/gui/src/api.ts:3358
↓ 4 callersFunctionheld_policy
(app)
coworker/remote/joiner.py:396
↓ 4 callersMethodhuman
Best-effort human label ('Every day at ~7:10 PM'); falls back to the raw cron.
coworker/automation/models.py:79
↓ 4 callersFunctionidentity
()
coworker/teams/artifacts.py:22
↓ 4 callersMethodinbox_connector_requester
`request_connector` / `grant_connector` for any turn (spec §11.6).
coworker/server/manager.py:1821
↓ 4 callersMethodinbox_items_approver
The decomposition gate for any turn (see inbox_team_approver).
coworker/server/manager.py:1789
↓ 4 callersFunctioninstallPersona
( body: { dir?: string; git_url?: string; gallery_slug?: string; zip_b64?: string; filename?: string }, ma
surfaces/gui/src/api.ts:1539
↓ 4 callersMethodinteraction
Push a Block Kit button click over Socket Mode as an ``interactive`` envelope.
coworker/testing/fake_slack/server.py:251
↓ 4 callersFunctionisProjectScoped
(p?: { requires_folder?: boolean })
surfaces/gui/src/personaScope.ts:5
↓ 4 callersMethodjson
(self)
tests/test_slack_status.py:207
↓ 4 callersMethodlabel
(self)
coworker/connectors/base.py:56
↓ 4 callersMethodlist
( self, *, scope: Optional[Scope] = None, workspace: Optional[str] = None,
coworker/memory/sqlite_store.py:74
↓ 4 callersFunctionlist_descriptors
()
coworker/connectors/descriptors.py:1465
↓ 4 callersMethodlist_since
Rows with id > after_id, OLDEST first — the export cursor's read.
coworker/audit.py:89
↓ 4 callersFunctionload_credentials
Explicit service-account JSON (content or path) → Credentials; blank → None (the SDKs and the token path then fall back to Application Default Cre
coworker/providers/vertex_provider.py:57
↓ 4 callersFunctionmake_browser_automation_tools
( *, roots: Optional[list[Any]] = None )
coworker/connectors/browser_automation.py:346
↓ 4 callersFunctionmake_web_fetch_tool
()
coworker/web/fetch.py:78
↓ 4 callersFunctionmanaged_connect_install
Store a managed GitHub App install from the broker's form-POST. Writes `github:install:<id>` (metadata only — the loopback POST carries no to
coworker/connectors/github_installs.py:62
↓ 4 callersFunctionmanaged_profile_from_callback
Local connector profile from the broker's form-POST payload. Field-compatible with a manual paste (`access_token` etc.) so tools and gating t
coworker/cloud.py:428
↓ 4 callersFunctionmcp_pinned_tools
Vendor-side tool names of the pinned allowlist (prefix stripped) — what goes into the seeded server config's `include_tools`.
coworker/connectors/tool_defs.py:1266
↓ 4 callersMethodmime_for
(self, stored: str)
coworker/teams/attachments.py:99
↓ 4 callersFunctionmount_acceptor
`ws_authenticated` is the sidecar's GUI WebSocket auth check — passed in because it lives in create_app's closure and guards the GUI-facing bridge
coworker/remote/acceptor.py:193
↓ 4 callersFunctionnearest_supported
The accepted level closest in rank to `level`; ties resolve to the higher one. Levels outside `_RANK` (e.g. "none", an effort value OpenAI-compat
coworker/providers/effort.py:73
↓ 4 callersFunctionnormalize_roots
Coerce a mixed list (RootDir | dict{path,writable,label} | str/Path) into RootDirs. Bare str/Path entries are treated as read-only; pass dicts/Roo
coworker/roots.py:33
↓ 4 callersMethodnote_session_actor
Record the verified login behind a session — first writer wins, so a later viewer never rewrites who started it. Kept in memory until the
coworker/server/manager.py:5571
↓ 4 callersFunctionopenSettings
(tab: SetTab = "appearance")
surfaces/gui/src/App.tsx:359
↓ 4 callersFunctionopenWorkspace
( path: string, create = false, machineId?: string | null, )
surfaces/gui/src/api.ts:193
↓ 4 callersFunctionopenshell_problem
None when OpenShell is usable on this machine, else why not. The answer is kept for a short while, because it is asked for every session and costs
coworker/sandbox/selection.py:40
↓ 4 callersFunctionpatchMcpServer
(name: string, changes: Record<string, any>)
surfaces/gui/src/api.ts:706
↓ 4 callersMethodpersona_skill_scope
The persona's own skill folder + optional allowlist (OPE-58). A manifest-backed persona carries skills as a `skills/` dir next to its manifes
coworker/server/manager.py:7957
↓ 4 callersFunctionpick_boundary
The canonical index where the verbatim tail begins: the earliest turn start whose suffix fits the keep budget. Prefers user-message boundaries; fa
coworker/compaction.py:178
↓ 4 callersFunctionpolicy_version
The document's version; 0 when unversioned (desktop controllers, tests).
coworker/remote/joiner.py:388
↓ 4 callersMethodproject_dir
(self, workspace: str | Path)
coworker/skills/store.py:93
↓ 4 callersFunctionproject_label
Display info for a derived key. kind 'git' when the key currently looks like a repo (has a .git); label rules per UX-044: git = repo folder name,
coworker/projects.py:62
↓ 4 callersMethodpromote_workspace
Root promotion (workspace-scratch-design.md §5): adopt `path` as the session's primary workspace. One-way and once — only while the primary is
coworker/server/manager.py:7460
↓ 4 callersFunctionqualify
Build a team-qualified chat_id, or the bare channel when no team.
coworker/connectors/slack_addr.py:20
↓ 4 callersMethodread
Filtered read. `raw` captures are skipped unless asked for (by `kind="raw"` or `include_raw`) so dumps never bury the signal entries.
coworker/teams/journal.py:198
↓ 4 callersFunctionread_file
( path: str, start_line: int = 1, max_lines: int = _DEFAULT_MAX_LINES, )
coworker/tools/files.py:98
↓ 4 callersFunctionrefresh
()
surfaces/gui/src/components/SettingsView.tsx:999
↓ 4 callersMethodrefresh
refresh_token grant → fresh (access token, account id). A rejected refresh token blanks the profile — the provider reads as cleanly signed out
coworker/providers/codex_auth.py:244
↓ 4 callersFunctionrefreshProviders
()
surfaces/gui/src/providers/ProviderSetup.tsx:124
↓ 4 callersMethodrelease
An adapter is done; the socket closes when the last one leaves.
coworker/connectors/relay_client.py:103
↓ 4 callersMethodrename_session
(self, session_id: str, title: str)
coworker/server/manager.py:7719
↓ 4 callersMethodresolve
(self, kind: str, name: str)
coworker/projects.py:115
↓ 4 callersFunctionresolveUnauthorized
( name: string, itemId: string, action: "dismiss" | "allow" | "allow_deliver", )
surfaces/gui/src/api.ts:2741
↓ 4 callersMethodresolve_unauthorized
Resolve one parked message: "dismiss" throws it away; "allow" adds the sender to the allow-list (future messages flow); "allow_deliver" also r
coworker/server/manager.py:5505
↓ 4 callersMethodresolver
A callable for ``PermissionEngine.risk_overrides`` / ``risk.classify``.
coworker/overrides.py:135
↓ 4 callersMethodreview
Never raises. Every failure mode is an `unsure` (§8.5).
coworker/reviewer.py:373
↓ 4 callersMethodreviewer_opted
Whether the Auto-Approve reviewer may judge this session's calls without a human attending: a configuration-spawned session whose Approval mod
coworker/server/manager.py:1196
↓ 4 callersMethodrevoke
Revoke every token whose display prefix matches; returns the count.
coworker/teams/tokens.py:66
↓ 4 callersFunctionrun
()
tests/test_team_live_gaps.py:103
↓ 4 callersFunctionsave
(patch: Parameters<typeof setSandboxSettings>[0])
surfaces/gui/src/components/SandboxSection.tsx:199
↓ 4 callersFunctionsave
(patch: Partial<PdfSettings>)
surfaces/gui/src/components/SettingsView.tsx:1135
↓ 4 callersFunctionscheduling_tools
( store: TaskStore, *, origin: dict[str, Any], default_workspace: str, )
coworker/automation/tools.py:151
↓ 4 callersFunctionselect
Raises `OpenShellUnavailable` or `SeatbeltUnavailable` when that sandbox was chosen explicitly and is not usable: a silent fallback would hide the
coworker/sandbox/selection.py:59
↓ 4 callersFunctionsendSessionEvent
(page: Page, obj: unknown)
surfaces/gui/e2e/fixtures.ts:12
↓ 4 callersFunctionsender_prefix
[Rohit] ' for a Slack chat_id whose workspace install knows its human, else ''.
coworker/connectors/attribution.py:53
↓ 4 callersFunctionservice_log_path
(state: Path)
coworker/remote/joiner.py:1051
↓ 4 callersMethodsession_actor
(self, session_id: str)
coworker/server/manager.py:5591
↓ 4 callersMethodset
( self, *, enabled: Optional[bool] = None, user_rules: Optional[str] = None )
coworker/memory/settings.py:51
↓ 4 callersFunctionsetProvider
( name: string, fields: Record<string, string>, )
surfaces/gui/src/api.ts:2461
↓ 4 callersMethodset_auto_approve
(self, on: Any)
coworker/server/manager.py:4781
↓ 4 callersMethodset_flags
Update pin/archive flags without touching updated_at (so pinning doesn't reorder).
coworker/conversations.py:610
↓ 4 callersMethodset_origin
Mark where a spawned session came from (§31). Set once at spawn; `save()` never names these columns, so per-turn saves can't clobber them (the
coworker/conversations.py:635
↓ 4 callersMethodset_slack_approval_owner
Edit Manual Socket Mode approval owners. Owner status implies inbound permission. Relay ownership is derived from the OAuth installer
coworker/server/manager.py:5018
↓ 4 callersMethodset_trusted
(self, workspace: str | Path, trusted: bool)
coworker/workspace_trust.py:47
↓ 4 callersMethodsigned_in
(self)
coworker/providers/codex_auth.py:194
↓ 4 callersFunctionslack_event_to_event
( event: dict, bot_user_id: Optional[str] )
coworker/connectors/adapters.py:67
↓ 4 callersFunctionstartCoworkSession
(page: Page)
surfaces/gui/e2e-live/helpers.ts:68
↓ 4 callersFunctionstatePayload
(card: CardId, id: string)
surfaces/gui/src/gallery/states/index.ts:35
↓ 4 callersMethodstatus
(&self)
stt/src/lib.rs:111
↓ 4 callersMethodstatus
What the machine SHOWS about its governance (visible-governance rule).
coworker/remote/audit_export.py:256
↓ 4 callersMethodsync_cached_reviewers
(self)
coworker/server/manager.py:1254
↓ 4 callersFunctiontaskDot
(state: string, waiting = false)
surfaces/gui/src/components/TaskChip.tsx:11
↓ 4 callersFunctiontitle_from
(messages: list[dict])
coworker/conversations.py:65
↓ 4 callersFunctiontool_turn
[assistant tool-call, matching tool result] with a properly paired call id.
tests/test_compaction.py:66
↓ 4 callersFunctiontrim_state
The no-LLM fallback: advance the boundary past ~`fraction` of the outbound messages. No summary — but the mechanical block and the user-message li
coworker/compaction.py:577
↓ 4 callersMethodtrust_patterns
(self)
coworker/overrides.py:159
← previousnext →901–1,000 of 8,537, ranked by callers