MCPcopy Create free account

hub / github.com/andrewyng/openworker / functions

Functions8,537 in github.com/andrewyng/openworker

↓ 2 callersMethod_append
(self, sid: str, messages: list[dict])
coworker/conversations.py:274
↓ 2 callersMethod_append_locked
( self, space: str, kind: str, actor: Actor, *, item_id: Optio
coworker/teams/store.py:224
↓ 2 callersMethod_apply
Fold one event into the projections. The ONLY writer of item, link, and attachment-reference projections — shared by live appends and
coworker/teams/store.py:1108
↓ 2 callersFunction_artifact_kind
(path: Path)
coworker/server/manager.py:8345
↓ 2 callersMethod_artifact_target
Resolve an artifact path under one of the session's roots — workspace first, then the scratch dir, then user-granted extra roots. Universal sc
coworker/server/manager.py:3852
↓ 2 callersMethod_asking
(self)
coworker/sandbox/workspace.py:226
↓ 2 callersFunction_assistants
(engine)
tests/test_truncation_continuation.py:90
↓ 2 callersFunction_atomic_private_write
Write `content` to `target` atomically, never exposing it through a readable temp. The temp file used to be created by `Path.write_text` and only
coworker/secrets.py:99
↓ 2 callersMethod_audit_session_site
(self, session_id: str, what: str, entry: str)
coworker/server/manager.py:7565
↓ 2 callersMethod_authorize
Permission flow for one call (TOOL_PROPOSED is emitted by the caller). Yields its events, then True/False (allowed) last. Denied/unknown calls
coworker/engine.py:1528
↓ 2 callersFunction_bare_engine
(tmp_path, turns)
tests/test_engine.py:214
↓ 2 callersFunction_blocked_entry
A refused target as "host:port", or "" when it is not a host name. The target is whatever a sandboxed program asked for, and it is shown to the ag
coworker/sandbox/netproxy.py:179
↓ 2 callersMethod_board_receipt
(team, actor, directs, subs, chats, chat_handle, *, through_seq=None, is_lead=False)
coworker/server/manager.py:3357
↓ 2 callersFunction_bot_token
The workspace's bot token: per-team profile (managed relay) or the flat default profile (manual Socket Mode — team_id "default").
coworker/connectors/slack_directory.py:40
↓ 2 callersFunction_both
Run one tool in both modes. Returns the two outcomes with each folder's own path replaced by a placeholder, so they can be compared.
tests/test_sandbox_tools.py:67
↓ 2 callersMethod_build_and_start_gateway
(self)
coworker/server/manager.py:5401
↓ 2 callersFunction_cached
(key: tuple[str, str], compute)
coworker/pdf_support.py:56
↓ 2 callersFunction_cached
(team_id: str, kind: str, fetch, refresh: bool)
coworker/connectors/slack_directory.py:82
↓ 2 callersMethod_call
(client: Any, method: str, kwargs: dict[str, Any])
coworker/providers/bedrock_provider.py:345
↓ 2 callersMethod_call_on
( self, transport: Transport, method: str, params: dict[str, Any], *,
coworker/sandbox/client.py:152
↓ 2 callersFunction_call_part
(name, args)
tests/test_gemini_provider.py:57
↓ 2 callersMethod_call_with_effort_fallback
Run `fn(kwargs)`; if the endpoint rejects the effort parameter (HTTP 400 naming it), drop it, remember the model, and run once more. Returns (
coworker/providers/anthropic_provider.py:656
↓ 2 callersFunction_calls
(out: Path)
tests/test_headless_run.py:91
↓ 2 callersFunction_capture_requests
(monkeypatch)
tests/test_github_installs.py:411
↓ 2 callersMethod_claim
(self, task_id: str)
coworker/automation/scheduler.py:96
↓ 2 callersMethod_clamp
(text: str, limit: int, *, suffix: str = "…")
coworker/server/manager.py:3493
↓ 2 callersFunction_clean_name
(name: str)
coworker/remote/registry.py:20
↓ 2 callersFunction_clean_roots
(roots: Sequence[dict[str, Any]])
coworker/sandbox/providers/windows.py:400
↓ 2 callersMethod_clear_team_batch
(self, session_id: str)
coworker/server/manager.py:3350
↓ 2 callersMethod_close_out
(self)
coworker/remote/channel.py:281
↓ 2 callersMethod_close_sandbox
(engine: Any)
coworker/server/manager.py:5677
↓ 2 callersFunction_cmd_auth_join
Device flow: print a code, wait for approval in the controller UI, then run the ordinary token join. `poll_interval` overrides the server's pacing
coworker/remote/joiner.py:714
↓ 2 callersFunction_cmd_join
(state: Path, url: str, name: Optional[str])
coworker/remote/joiner.py:691
↓ 2 callersFunction_config_provider
()
coworker/web/tool.py:78
↓ 2 callersMethod_connect_locked
(self)
coworker/sandbox/client.py:71
↓ 2 callersMethod_connected_connectors
The account-connected connector names (the first layer of the §4 hierarchy).
coworker/server/manager.py:1375
↓ 2 callersFunction_connector_title
Display name for the loopback page — 'Slack connected', never 'slack connected'.
coworker/server/app.py:143
↓ 2 callersMethod_consult_reviewer
The parked verdict from `_preconsult_reviewer`, or a fresh single call.
coworker/engine.py:1390
↓ 2 callersMethod_consume_board_receipt
(self, receipt: dict)
coworker/server/manager.py:3364
↓ 2 callersMethod_create
(self)
coworker/sandbox/providers/windows.py:154
↓ 2 callersMethod_create
(self, client: Any, kwargs: dict[str, Any])
coworker/providers/openai_responses.py:376
↓ 2 callersMethod_curated_models
The models offered in the composer's selector: every curated-matrix model (`get_settings` culls the ones whose provider has no key) plus custo
coworker/server/manager.py:4559
↓ 2 callersMethod_cursor
(self, group_id: str, member: str)
coworker/teams/chat.py:201
↓ 2 callersMethod_cursor_path
(self)
coworker/remote/audit_export.py:226
↓ 2 callersMethod_delete
(self)
coworker/sandbox/providers/openshell.py:500
↓ 2 callersFunction_delta_reasoning
Thinking text off a delta/message: `reasoning_content` (DeepSeek, GLM, Kimi, and most compat vendors) or `reasoning` (xAI, OpenRouter). Extra resp
coworker/providers/openai_provider.py:98
↓ 2 callersFunction_describe_edit_tools
Give the file tools descriptions that say WHEN to use each (the registry builds the schema the model sees from the docstring).
coworker/catalog.py:88
↓ 2 callersFunction_descriptions
(capability: str, tmp_path)
tests/test_edit_tool_guidance.py:13
↓ 2 callersFunction_digest
(file_data: str)
coworker/pdf_support.py:66
↓ 2 callersFunction_digest
(token: str)
coworker/teams/tokens.py:96
↓ 2 callersFunction_display_title
Title precedence for every read path: a manual rename (renamed=1) always wins, then the generated auto_title, then the first-line snapshot `save()
coworker/conversations.py:57
↓ 2 callersFunction_dm
(text, chat_id="D1", user="bob")
tests/test_dm_routing.py:23
↓ 2 callersFunction_drive_quote
(term: str)
coworker/connectors/integration_tools.py:4596
↓ 2 callersFunction_dropbox_path
(path: str)
coworker/connectors/integration_tools.py:2888
↓ 2 callersFunction_echo_var_and_leaf
Prints the variable and the current folder's last component.
tests/test_sandbox_runner.py:44
↓ 2 callersMethod_effort_plan
(self, model: str, settings: dict[str, Any])
coworker/providers/anthropic_provider.py:643
↓ 2 callersMethod_effort_plan
Pop the engine-level `reasoning_effort` setting (it must never ride the wire unmapped) and translate it for this model; None when unset.
coworker/providers/openai_provider.py:312
↓ 2 callersFunction_effort_record
What the run record says about reasoning effort for this reply (OPE-176): the provider's own mapping when it reported one; otherwise, when a level
coworker/engine.py:2847
↓ 2 callersFunction_effort_record
(plan: Optional[EffortPlan], fallback_note: Optional[str])
coworker/providers/anthropic_provider.py:423
↓ 2 callersMethod_emit_session_created
Phase 5 telemetry, fired once per brand-new session on a background thread (never blocks session start). cloud.emit_session_created is a hard
coworker/server/manager.py:987
↓ 2 callersFunction_engine_with_config
(tmp_path, toml, **kwargs)
tests/test_reasoning_effort.py:85
↓ 2 callersFunction_engine_with_web_tool
(tmp_path, *, facts)
tests/test_session_facts.py:157
↓ 2 callersFunction_engine_world
The engine-side KnownWorld a live session would hold for this corpus setup.
tests/test_shadow_eval.py:227
↓ 2 callersMethod_ensure_client
(self)
coworker/providers/bedrock_provider.py:305
↓ 2 callersMethod_ensure_client
(self)
coworker/providers/anthropic_provider.py:483
↓ 2 callersMethod_ensure_client
(self)
coworker/providers/gemini_provider.py:418
↓ 2 callersMethod_ensure_client
(self)
coworker/providers/openai_provider.py:239
↓ 2 callersFunction_epoch
()
coworker/server/manager.py:8298
↓ 2 callersMethod_explicit_credentials
The service-account credentials, or None to let each SDK use ADC.
coworker/providers/vertex_provider.py:126
↓ 2 callersFunction_extract_balanced
Return the balanced `{…}`/`[…]` substring beginning at `text[start]` (string-aware), or None if it doesn't close — so nested braces/brackets are h
coworker/providers/openai_provider.py:588
↓ 2 callersFunction_factory
A transport_factory that hands out the given transports in order.
tests/test_slack_relay.py:59
↓ 2 callersFunction_fail_closed
(reason: str, *, error: bool = False)
coworker/reviewer.py:231
↓ 2 callersFunction_fake_descriptor
(name="acmeapp", account_field="project_id", managed=False)
tests/test_accounts.py:20
↓ 2 callersFunction_fake_home
A home with a real (throwaway) ssh key, made by Windows' own ssh-keygen.
tests/test_sandbox_windows.py:118
↓ 2 callersFunction_fetch_message
( imap: imaplib.IMAP4, uid: str )
coworker/connectors/email_tools.py:292
↓ 2 callersFunction_field
(number: int, payload: bytes)
coworker/sandbox/providers/openshell_wire.py:39
↓ 2 callersFunction_final_assistant_texts
(mgr, sid)
tests/test_durable_resume.py:58
↓ 2 callersFunction_fingerprint
(pubkey_b64: str)
coworker/remote/acceptor.py:182
↓ 2 callersMethod_flush
(self)
coworker/sandbox/runner/daemon.py:563
↓ 2 callersFunction_folder_script
(exports: Path)
tests/test_run_cli.py:511
↓ 2 callersFunction_for_display
A shipped entry's title and wording are left out when the user has not changed them, so the app can show them in the user's language; a user's own
coworker/sandbox/settings.py:140
↓ 2 callersFunction_forward
( method: str, path: str, token: str, *, body: Optional[bytes] = None,
coworker/remote/cloudproxy.py:56
↓ 2 callersFunction_git
(cwd: Path, *args: str)
tests/test_projects.py:24
↓ 2 callersFunction_git
(tmp_path, *args)
tests/test_session_facts.py:33
↓ 2 callersFunction_git_repo
(tmp_path)
tests/test_environment.py:11
↓ 2 callersFunction_github_connection_row
(**meta_extra)
tests/test_cloud.py:125
↓ 2 callersFunction_gmail_filters
(secrets: SecretStore)
coworker/connectors/integration_tools.py:257
↓ 2 callersFunction_gmail_is_hidden
( message: dict[str, Any], filters: dict[str, list[str]], label_map: dict[str, str], )
coworker/connectors/integration_tools.py:286
↓ 2 callersFunction_gmail_label_map
Label id → name for the mailbox (names are what the user filters on).
coworker/connectors/integration_tools.py:273
↓ 2 callersFunction_go
()
tests/test_auto_approve.py:295
↓ 2 callersFunction_go
()
tests/test_shadow_eval.py:100
↓ 2 callersMethod_grant
(self, folder: str, kind: str)
coworker/sandbox/providers/windows.py:306
↓ 2 callersMethod_grant_worker_connectors
Turn the human's ticks into the worker's connectors: anything connected and not policy-denied. A tick outside the persona's default set is an
coworker/server/manager.py:1127
↓ 2 callersFunction_grants_of
The engine's session-scoped "Always allow" approvals, in persistable shape.
coworker/server/manager.py:117
↓ 2 callersMethod_handle_tool_calls
Run one assistant turn's tool calls: authorize all of them first (sequentially — approval prompts are interactive), then execute. Low-risk cal
coworker/engine.py:1072
↓ 2 callersMethod_head_hash
(self, case: str)
coworker/teams/journal.py:415
↓ 2 callersMethod_head_hash
(self, space: str)
coworker/teams/store.py:1454
↓ 2 callersFunction_hit_callback
(query: str)
tests/test_codex_provider.py:112
↓ 2 callersFunction_home_relative
(path: str)
coworker/headless/terminal.py:42
↓ 2 callersFunction_html_to_text
(html: str)
coworker/web/fetch.py:69
← previousnext →1,401–1,500 of 8,537, ranked by callers