Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/OpenOPC
/ functions
Functions
10,715 in github.com/HKUDS/OpenOPC
⨍
Functions
10,715
◇
Types & classes
1,083
↳
Endpoints
9
↓ 18 callers
Method
ensure_session
( self, session_id: str, project_id: str | None = None, *, title: str
opc/layer5_memory/memory_manager.py:546
↓ 18 callers
Method
get_tasks
(self, **_kw)
tests/cli_board/test_actions.py:22
↓ 18 callers
Function
ir
(e,t=tE)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 18 callers
Function
kanban_column
Project Phase to one of the four kanban columns.
opc/layer2_organization/phase.py:309
↓ 18 callers
Function
l
(f,x,b,j,F)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 18 callers
Method
publish
(self, event: OPCEvent)
opc/core/events.py:35
↓ 18 callers
Function
validate_organization_id
(value: Any)
opc/core/config.py:144
↓ 18 callers
Function
validate_saved_org_id
(value: Any)
opc/core/org_config.py:50
↓ 17 callers
Function
A
(U)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:1
↓ 17 callers
Function
_cleanup_test_dir
(path: str)
tests/test_external_agent_monitoring.py:103
↓ 17 callers
Function
_infrastructure_error
(message: str, *, tool_name: str = "")
opc/layer4_tools/collaboration_rpc.py:41
↓ 17 callers
Function
_make_test_dir
(name: str)
tests/test_external_agent_monitoring.py:95
↓ 17 callers
Method
_migrate_role_sessions_merge_by_role
Collapse every ``(run_id, role_id)`` group into a single canonical row, merging state field-by-field so inbox / memory / adapter sessi
opc/database/store.py:4624
↓ 17 callers
Method
_role_id_for_task
(task: Task)
opc/layer2_organization/company_mode.py:12145
↓ 17 callers
Method
_state
(self)
opc/layer2_organization/company_runtime.py:224
↓ 17 callers
Function
apply_task_status_transition
Apply a task status intent through the right source of truth. Company WorkItem runtime tasks must transition their linked WorkItem phase; pla
opc/layer2_organization/work_item_transition.py:334
↓ 17 callers
Method
build_runtime_delegation_topology
Build runtime team/seat topology from the org tree. The topology is org-first rather than runtime-plan-first: every manager role gets
opc/layer2_organization/org_engine.py:640
↓ 17 callers
Function
callback
(text: str, **_: Any)
opc/cli/app.py:169
↓ 17 callers
Method
children
(p=t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:154
↓ 17 callers
Function
fr
(s,l,f,x)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 17 callers
Method
get_context_window
(self, task_type: str | None = None, model: str | None = None)
opc/llm/provider.py:293
↓ 17 callers
Function
hr
(e,t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 17 callers
Function
is_dispatchable
Combined check used by the dispatcher: pick this card on next tick? True for fresh-runnable phases (READY/READY_FOR_REWORK) and for orphaned
opc/layer2_organization/phase.py:360
↓ 17 callers
Function
mr
(s,l,f)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 17 callers
Method
parse
(t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:90
↓ 16 callers
Function
B
(U,ee)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:1
↓ 16 callers
Function
W
(U)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:1
↓ 16 callers
Function
Y
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 16 callers
Function
Ye
(s,l)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:3
↓ 16 callers
Function
_ui_engine
(project_id: str, store: _MemoryStore)
tests/test_parallel_runtime_isolation.py:66
↓ 16 callers
Function
cropTiles
(x: number, y: number, w: number, h: number, depthY = y + h)
opc/plugins/office_ui/frontend_src/game/map/OfficeMapBuilder.ts:46
↓ 16 callers
Method
disconnect
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 16 callers
Method
get_channel_messages
( self, channel_id: str, *, limit: int = 100, proj
tests/test_ws_handler_progress_parsing.py:321
↓ 16 callers
Function
isRecord
(value: unknown)
opc/plugins/office_ui/frontend_src/lib/runtimeOrg.ts:15
↓ 16 callers
Function
make_prompt_contract
( *, task_brief: str, upstream_intent_summary: str = "", manager_planning_handoff: str = "",
opc/layer2_organization/prompt_contract.py:105
↓ 16 callers
Function
pr
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:77
↓ 16 callers
Function
review_work_item_id_for_attempt
Compute a per-attempt review work-item ID for a given worker. Each AWAITING_MANAGER_REVIEW entry gets a fresh attempt; previous attempts rema
opc/layer2_organization/company_mode.py:149
↓ 16 callers
Method
save_execution_checkpoint
(self, checkpoint: ExecutionCheckpoint)
tests/test_session_integration.py:65
↓ 16 callers
Function
ue
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 16 callers
Function
vr
(e,t,n,r,i=t+r)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 15 callers
Function
Cr
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 15 callers
Function
Rt
()
opc/plugins/office_ui/frontend_dist/assets/phaser-DFK5Ua9d.js:1
↓ 15 callers
Function
Se
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:80
↓ 15 callers
Function
_active_role
(task: Task | None)
opc/layer4_tools/collaboration.py:141
↓ 15 callers
Function
_clean_text
(value: Any)
opc/layer4_tools/user_input.py:14
↓ 15 callers
Method
_handle_session_detail
Return a paginated persisted transcript/context for a single session.
opc/plugins/office_ui/ws_handler.py:5045
↓ 15 callers
Function
_json_summary
(value: Any, limit: int = 240, *, full: bool = False)
opc/cli/app.py:3163
↓ 15 callers
Function
_make_task
( *, task_id: str = "task-1", work_item_id: str | None = "wi-1", pending_children: list[str] |
tests/test_work_item_transition.py:55
↓ 15 callers
Method
_metadata_flag_true
(value: Any)
opc/engine.py:6599
↓ 15 callers
Method
_process_session_message
Process user message in session context via engine. Passes session_id to engine.process_message so the engine can: - Record user/assi
opc/plugins/office_ui/ws_handler.py:7697
↓ 15 callers
Method
_resolve_project_id
(self, project_id: str | None = None)
opc/layer5_memory/memory_manager.py:68
↓ 15 callers
Method
_sync_task_transcript_messages
Backfill persisted transcript messages into chat_store and UI.
opc/plugins/office_ui/ws_handler.py:2981
↓ 15 callers
Function
build_company_work_item_contract
Return the shared company/runtime contract for a task.
opc/layer3_agent/company_runtime_contract.py:656
↓ 15 callers
Method
create
(self, *, name: str, role_id: str, office_id: str = "office-0", description: str = "", specialties: list[str]
opc/plugins/office_ui/services/agent.py:33
↓ 15 callers
Function
et
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:80
↓ 15 callers
Method
get_session_transcript
(self, session_id: str)
opc/database/store.py:6291
↓ 15 callers
Function
jr
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:20
↓ 15 callers
Function
m
(D)
opc/plugins/office_ui/frontend_dist/assets/phaser-DFK5Ua9d.js:18
↓ 15 callers
Function
re
(oe)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:78
↓ 15 callers
Method
reload_from_config
(self)
opc/layer2_organization/org_engine.py:1215
↓ 15 callers
Method
save_delegation_run
(self, run: DelegationRun)
opc/database/store.py:4389
↓ 15 callers
Method
suspend_company_runtime
(**kwargs)
tests/test_cli_app.py:1264
↓ 15 callers
Function
task_status_for_phase
Project Phase to the corresponding runtime TaskStatus. Used when syncing a work item's phase back to its associated tasks row.
opc/layer2_organization/phase.py:450
↓ 15 callers
Function
wr
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Function
C
(D,B,L,G)
opc/plugins/office_ui/frontend_dist/assets/phaser-DFK5Ua9d.js:18
↓ 14 callers
Function
Mr
(s,l,f)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Function
Rr
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Function
Tr
(s,l)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Method
_coerce_string_list
(value: Any, *, limit: int = 8)
opc/layer2_organization/communication.py:845
↓ 14 callers
Method
_command_preview
(self, raw: Any, *, drop_last_token: bool = False)
opc/layer2_organization/approval.py:1269
↓ 14 callers
Function
_link_task
(task: Task, work_item_id: str)
tests/test_turn_mode_context.py:54
↓ 14 callers
Function
_make_agent
Factory for creating a NativeAgent with minimal dependencies.
opc/plugins/office_ui/tests/test_integration_real_agents.py:298
↓ 14 callers
Method
_notify_kanban_changed
Best-effort UI push. Callers must NEVER let a UI-side failure propagate into the company-mode state machine. Per-transition call-sit
opc/layer2_organization/company_mode.py:6029
↓ 14 callers
Function
_read_yaml_file
(path: Path)
opc/core/config.py:168
↓ 14 callers
Method
_readonly_guard
(self)
opc/plugins/cli_board/tui/app.py:242
↓ 14 callers
Method
_runtime_event_to_progress_entry
(payload: dict[str, Any])
opc/plugins/office_ui/ws_handler.py:2550
↓ 14 callers
Method
_work_item_output_metadata_for_task
Return WorkItem-owned output metadata carried as runtime context.
opc/layer2_organization/company_mode.py:6223
↓ 14 callers
Function
_workspace_tempdir
()
tests/test_approval_engine.py:38
↓ 14 callers
Function
assert_paired_events
Assert all reflect_start/reflect_done and tool_start/tool_done are properly paired.
opc/plugins/office_ui/tests/test_integration_real_agents.py:120
↓ 14 callers
Method
evaluate
(self, expression: str, selector: str | None = None)
opc/layer4_tools/browser.py:193
↓ 14 callers
Method
get_employee
(self, employee_id: str)
opc/layer2_organization/org_engine.py:842
↓ 14 callers
Function
gr
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Function
j
(ce,ae,he)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 14 callers
Method
list_available_templates
Return every template the talent market can hire from the talent catalog.
opc/layer2_organization/talent_market.py:214
↓ 14 callers
Method
navigate
(self, url: str, wait_until: str = "domcontentloaded")
opc/layer4_tools/browser.py:73
↓ 14 callers
Method
runtime_for
(self, task_id: str)
opc/plugins/cli_board/state/store.py:162
↓ 14 callers
Method
save_delegation_event
(self, event: DelegationEvent)
opc/database/store.py:5755
↓ 14 callers
Method
send_message
(self, **kwargs)
tests/test_channel_runtime_integration.py:69
↓ 14 callers
Method
shutdown
(self)
opc/cli/app.py:2833
↓ 14 callers
Method
to_dict
(self)
opc/core/attachment_store.py:82
↓ 14 callers
Function
v
()
opc/plugins/office_ui/frontend_dist/assets/phaser-DFK5Ua9d.js:1
↓ 14 callers
Function
validate_work_item_runtime_projection
Validate that a projected runtime Task is backed by a WorkItem link. This function is read-only. It reports mismatches; it never repairs links
opc/layer2_organization/work_item_runtime_invariants.py:190
↓ 13 callers
Function
$r
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 13 callers
Function
B
(b,J,$,Z)
opc/plugins/office_ui/frontend_dist/assets/phaser-DFK5Ua9d.js:66
↓ 13 callers
Function
Pr
(s,l,f,x)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 13 callers
Function
Qr
(e,t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:145
↓ 13 callers
Function
Vr
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 13 callers
Function
Xr
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 13 callers
Function
Yr
(e,t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 13 callers
Function
Zr
(e,t,n,r)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:78
← previous
next →
301–400 of 10,715, ranked by callers