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
↓ 6 callers
Method
_trim_text
(text: str, *, limit: int)
opc/layer3_agent/adapters/claude_code.py:458
↓ 6 callers
Method
_truncate_text_block
(content: str, *, budget: int, marker: str)
opc/layer3_agent/runtime_v2/runtime.py:1884
↓ 6 callers
Function
_ui_message_identity_metadata
( *, kind: str | None = None, message_id: str | None = None, conversation_turn_id: str | None
opc/plugins/office_ui/ws_handler.py:251
↓ 6 callers
Function
_workspace_tempdir
()
tests/test_runtime_execution_environment.py:20
↓ 6 callers
Method
active_engine_project_id
(self)
opc/plugins/office_ui/services/context.py:104
↓ 6 callers
Function
al
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:77
↓ 6 callers
Function
append_work_item_progress
Append user-visible progress to the WorkItem-owned progress log.
opc/layer2_organization/metadata_ownership.py:482
↓ 6 callers
Method
apply_reorg
(self, proposal_id: str)
opc/layer2_organization/reorg_manager.py:223
↓ 6 callers
Function
ar
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 6 callers
Function
asRecord
(value: unknown)
opc/plugins/office_ui/frontend_src/workspace/ProjectCockpit.tsx:6
↓ 6 callers
Function
asRecordList
(value: unknown)
opc/plugins/office_ui/frontend_src/workspace/ProjectCockpit.tsx:12
↓ 6 callers
Function
asStringList
(value: unknown)
opc/plugins/office_ui/frontend_src/lib/runtimeOrg.ts:23
↓ 6 callers
Function
bl
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 6 callers
Function
bt
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:80
↓ 6 callers
Function
buildNarrativeMessageItems
( messages: ChatMessage[], options: { isCompanyRuntime?: boolean detailMode?: DetailMode } = {},
opc/plugins/office_ui/frontend_src/chat/MessageList.tsx:745
↓ 6 callers
Method
build_company_work_item_runtime_plan
Build the company execution plan from org topology and work items.
opc/layer2_organization/org_engine.py:382
↓ 6 callers
Method
build_external_context
(self, task: Task, role_id: str = "")
opc/layer1_perception/context_assembler.py:503
↓ 6 callers
Method
build_memory_context
( self, project_id: str | None = None, session_id: str | None = None, *,
opc/layer5_memory/memory_manager.py:981
↓ 6 callers
Method
build_session_history_messages
( self, session_id: str, *, include_latest_user_turn: bool = True, )
opc/layer5_memory/memory_manager.py:1484
↓ 6 callers
Method
build_session_memory_context
(self, session_id: str)
opc/layer5_memory/memory_manager.py:1102
↓ 6 callers
Method
build_skills_summary
Build prompt text: always-on skill bodies + summary list for the rest. ``execution_mode`` is used to filter out skills whose frontmatter
opc/layer5_memory/skill_library.py:125
↓ 6 callers
Function
call_llm_json_with_retry
Call `llm.simple_chat` expecting a JSON object, retrying on failure. Args: llm: LLMProvider instance. system: System prompt descr
opc/llm/retry.py:93
↓ 6 callers
Function
cl
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:78
↓ 6 callers
Function
clampEntries
(entries: T[], maxEntries: number)
opc/plugins/office_ui/frontend_src/lib/progressLog.ts:5
↓ 6 callers
Method
collabSync
(projectId: string, switchSeq?: string, viewGeneration?: number)
opc/plugins/office_ui/frontend_src/lib/wsClient.ts:329
↓ 6 callers
Method
collabSync
(t,n,r)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 6 callers
Function
composerExecModeForSession
(session: Session, fallbackExecMode?: string)
opc/plugins/office_ui/frontend_src/workspace/ContextPanel.tsx:231
↓ 6 callers
Method
create
()
opc/plugins/office_ui/frontend_src/game/scenes/BootScene.ts:35
↓ 6 callers
Method
cycle_context_tab
(self, delta: int = 1)
opc/plugins/cli_board/state/store.py:94
↓ 6 callers
Function
da
(s,l,f,x)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 6 callers
Function
dispatch_collaboration_tool
Call one collaboration tool and return ``(result, is_error)``.
opc/layer4_tools/collaboration_dispatch.py:531
↓ 6 callers
Method
enqueue_runnable_tasks
Append PENDING plain tasks to their role queue (dedup-safe). Phase B/#7 note: no longer uses ``_queued_task_ids`` as a gate. The queu
opc/layer2_organization/company_runtime.py:1133
↓ 6 callers
Method
ensure_hire_template
( self, template_id: str, role_id: str, *, employee_name: str | None =
opc/layer2_organization/talent_market.py:464
↓ 6 callers
Method
ensure_runtime_task_for_work_item
Return the authoritative runtime Task for a WorkItem. This is the only hot-path creation/reuse entry point for company-mode runtime T
opc/database/store.py:2535
↓ 6 callers
Method
filtered_tasks
(self)
opc/plugins/cli_board/state/store.py:168
↓ 6 callers
Function
gate_rework_payload
Build projection-only gate/rework payload metadata.
opc/layer2_organization/work_item_identity.py:326
↓ 6 callers
Function
getWorkItemChildSessions
(activeSession: Session | null, sessions: Session[])
opc/plugins/office_ui/frontend_src/lib/workItemSessions.ts:183
↓ 6 callers
Function
getWorkItemRoleLabel
(identity: WorkItemIdentity)
opc/plugins/office_ui/frontend_src/lib/workItemIdentity.ts:17
↓ 6 callers
Method
get_completions
(self, document: Any, complete_event: Any)
opc/cli/app.py:3251
↓ 6 callers
Method
get_dict
Return a fresh dict copy. Empty dict for missing / non-dict keys.
opc/layer2_organization/work_item_context_view.py:82
↓ 6 callers
Method
get_final_decider_role_id
(self, *, strict: bool = False)
opc/layer2_organization/org_engine.py:264
↓ 6 callers
Method
get_reorg_proposal
(self, proposal_id: str)
opc/database/store.py:5834
↓ 6 callers
Method
get_session_channels
Return session channels ordered by last activity (most recent first).
opc/plugins/office_ui/chat_store.py:665
↓ 6 callers
Method
get_tracker
Return a copy of the tracker for the given agent, or None.
opc/plugins/office_ui/event_adapter.py:595
↓ 6 callers
Method
handle_event
(self, event: OPCEvent)
opc/cli/app.py:253
↓ 6 callers
Method
has_credentials
Whether an LLM call can plausibly authenticate. True when a key is configured (``api_key`` / ``api_key_env``) or a well-known provide
opc/llm/provider.py:242
↓ 6 callers
Function
hl
(e,t=[0,0])
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:148
↓ 6 callers
Method
hydrate_task_work_item_links
Attach non-persisted WorkItem link ids from the link table only.
opc/database/store.py:2678
↓ 6 callers
Function
il
({page:e,withPlaceholder:t,axis:n,frame:r})
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 6 callers
Method
install
Install a package into the current org config. Args: package: Parsed package to install. strategy: Conflict resolutio
opc/market/package_loader.py:118
↓ 6 callers
Function
isCompanyRuntimeSession
(session?: Partial<Session> | null)
opc/plugins/office_ui/frontend_src/lib/sessionRuntime.ts:32
↓ 6 callers
Function
is_review_execution_work_item_metadata
True when the work item is a hidden auxiliary review card.
opc/layer2_organization/phase.py:126
↓ 6 callers
Function
ja
(s,l,f,x)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 6 callers
Function
kl
(e,t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:60
↓ 6 callers
Method
list_runtime_sessions
( self, *, project_id: str | None = None, status: str | None = None, t
opc/database/store.py:7169
↓ 6 callers
Method
list_tools
(self, category: str | None = None, allowed: list[str] | None = None)
opc/layer4_tools/registry.py:99
↓ 6 callers
Function
ll
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:77
↓ 6 callers
Function
load_org_config_payload
(config_dir: Path, organization_id: Any | None = None)
opc/core/org_config.py:261
↓ 6 callers
Method
load_visible_text
(self, project_id: str | None = None)
opc/layer5_memory/markdown_memory.py:60
↓ 6 callers
Method
mark_stopped
(self)
opc/channels/base.py:52
↓ 6 callers
Function
ml
(e,t=0,n=1)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:148
↓ 6 callers
Function
mo
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
↓ 6 callers
Method
open_meeting_wait
( self, task: Task, topic: str, participants: list[str], agenda: list[
opc/layer2_organization/communication.py:2232
↓ 6 callers
Method
orgSavedList
()
opc/plugins/office_ui/frontend_src/lib/wsClient.ts:574
↓ 6 callers
Method
orgSavedList
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:9
↓ 6 callers
Function
parse_org_architecture_snapshot
(raw_yaml: str)
opc/plugins/office_ui/org_architecture_snapshot.py:96
↓ 6 callers
Function
pl
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:148
↓ 6 callers
Function
projectSessionConversation
( activeSession: Session | null, relatedSessions: Session[], )
opc/plugins/office_ui/frontend_src/lib/workItemSessions.ts:285
↓ 6 callers
Function
prompt_contract_from_work_item
Build a one-time compatibility contract outside the renderer.
opc/layer2_organization/prompt_contract.py:185
↓ 6 callers
Function
qa
(e,t)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:148
↓ 6 callers
Method
queue_depth
(self)
opc/cli/app.py:2771
↓ 6 callers
Function
readActivityMetrics
(page: Page)
opc/plugins/office_ui/frontend_src/tests/exec-panel-scroll.spec.ts:43
↓ 6 callers
Function
read_org_index
(config_dir: Path)
opc/core/org_config.py:82
↓ 6 callers
Method
record_user_turn
( self, session_id: str, content: str, project_id: str | None = None,
opc/layer5_memory/memory_manager.py:672
↓ 6 callers
Method
refresh_inbox_state
(self, tasks: list[Task])
opc/layer2_organization/company_runtime.py:1002
↓ 6 callers
Method
removeNode
(p)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:154
↓ 6 callers
Method
render
()
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:24
↓ 6 callers
Method
render_recruitment_summary
(self, plan: RecruitmentPlan)
opc/layer2_organization/recruiter.py:507
↓ 6 callers
Function
resolve_allowed_collaboration_tools
Return the collaboration tools visible for the resolved profile.
opc/core/company_tools.py:279
↓ 6 callers
Method
resolve_employee_for_work_item
( self, role_id: str, domains: list[str] | None = None, *, project_id:
opc/layer2_organization/org_engine.py:1012
↓ 6 callers
Function
rl
(e)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:20
↓ 6 callers
Method
role_outbox_dir
(self, role_id: str)
opc/layer2_organization/comms.py:139
↓ 6 callers
Method
role_seen_dir
(self, role_id: str)
opc/layer2_organization/comms.py:136
↓ 6 callers
Function
rpc_env_available
(env: Mapping[str, str] | None = None)
opc/layer4_tools/collaboration_rpc.py:76
↓ 6 callers
Method
save
(self, payload: dict[str, Any])
opc/layer5_memory/approval_allowlist.py:49
↓ 6 callers
Method
save_agent_memory_snapshot
(self, record: AgentMemorySnapshotRecord)
opc/database/store.py:6449
↓ 6 callers
Method
save_external_session
(self, session)
tests/test_external_agent_monitoring.py:49
↓ 6 callers
Method
save_external_session
(self, session: ExternalSession)
opc/database/store.py:6772
↓ 6 callers
Method
save_runtime_event
( self, runtime_session_id: str, event_type: str, payload: dict[str, Any] | No
opc/database/store.py:7205
↓ 6 callers
Method
scroll
( self, amount: int = 800, direction: str = "down", to_bottom: bool = False,
opc/layer4_tools/browser.py:138
↓ 6 callers
Method
send
(self, message: SystemMessage)
tests/test_channels.py:42
↓ 6 callers
Function
serialize_company_work_item_plan
(plan: CompanyWorkItemRuntimePlan | None)
opc/layer2_organization/org_work_item_planner.py:325
↓ 6 callers
Method
start_process
( self, cmd: list[str], workspace_path: str, extra_env: dict[str, str] | None
opc/layer3_agent/adapters/codex_adapter.py:556
↓ 6 callers
Method
stop
(self)
opc/channels/qq.py:64
↓ 6 callers
Function
stringFromUnknown
(value: unknown)
opc/plugins/office_ui/frontend_src/chat/MessageList.tsx:399
↓ 6 callers
Method
subscribe
(self, event_type: str, listener: Listener)
opc/core/events.py:29
↓ 6 callers
Method
supports_interactive
(self)
opc/layer3_agent/adapters/base.py:163
↓ 6 callers
Function
target_projection_id_for_decision
Return a gate-harness target as a work-item projection identity.
opc/layer2_organization/work_item_identity.py:302
↓ 6 callers
Function
trimString
(value: unknown)
opc/plugins/office_ui/frontend_src/chat/WorkItemProgressCard.tsx:151
↓ 6 callers
Function
ua
(s)
opc/plugins/office_ui/frontend_dist/assets/index-iXYjKKT7.js:8
← previous
next →
1,001–1,100 of 10,715, ranked by callers