MCPcopy Create free account

hub / github.com/HKUDS/OpenOPC / types & classes

Types & classes1,083 in github.com/HKUDS/OpenOPC

↓ 679 callersClassTask
opc/core/models.py:338
↓ 222 callersClassOPCConfig
opc/core/config.py:1694
↓ 183 callersClassDelegationWorkItem
opc/core/models.py:457
↓ 176 callersClassOPCStore
Async SQLite store for OPC data (WAL mode for concurrency).
opc/database/store.py:200
↓ 139 callersClassTaskResult
opc/core/models.py:864
↓ 111 callersClassServiceError
Expected business error from a shared service.
opc/plugins/office_ui/services/models.py:25
↓ 105 callersClassOPCEngine
Central orchestrator — initializes and coordinates all layers.
opc/engine.py:344
↓ 88 callersClassFakeEvent
opc/plugins/office_ui/tests/test_event_adapter.py:34
↓ 87 callersClassRoleConfig
opc/core/config.py:816
↓ 83 callersClassServiceResult
Structured service response plus optional side-effect events.
opc/plugins/office_ui/services/models.py:18
↓ 79 callersClassToolDefinition
Metadata and callable for a single tool.
opc/layer4_tools/registry.py:39
↓ 75 callersClassCompanyWorkItemExecutor
Dispatches company work-item runtime turns through projected tasks. This is the formal executor name for company mode. Projected task records
opc/layer2_organization/company_mode.py:1273
↓ 71 callersClassEventBus
Simple async pub/sub event bus for inter-layer communication.
opc/core/events.py:15
↓ 68 callersClassCommunicationManager
Manages direct messages, broadcasts, meetings, annotations, and peer waits.
opc/layer2_organization/communication.py:56
↓ 66 callersClassDummyOrgEngine
tests/test_company_collaboration.py:79
↓ 66 callersClass_SlashCommandSpec
opc/cli/app.py:2706
↓ 53 callersClassExternalAgentConfig
opc/core/config.py:344
↓ 51 callersClassEventAdapter
Stateful OPC → Visual event translator. Maintains per-agent state machines to emit correct transition events.
opc/plugins/office_ui/event_adapter.py:117
↓ 48 callersClassOrgEngine
Manages the organizational structure and runtime role policies.
opc/layer2_organization/org_engine.py:81
↓ 45 callersClassServiceEvent
Outbound event to publish on UI transports or consume by CLI callers.
opc/plugins/office_ui/services/models.py:10
↓ 44 callersClassAgentMessage
opc/core/models.py:1011
↓ 43 callersClassCodexAdapter
Invokes the OpenAI Codex CLI.
opc/layer3_agent/adapters/codex_adapter.py:23
↓ 41 callersClassToolRegistry
Manages all available tools and dispatches execution.
opc/layer4_tools/registry.py:80
↓ 41 callersClassWSHandler
Routes all WebSocket messages between frontend and OPC.
opc/plugins/office_ui/ws_handler.py:389
↓ 39 callersClassCompanyWorkItemRuntimePlan
Company mode plan expressed only as projected work items.
opc/layer2_organization/org_work_item_planner.py:250
↓ 38 callersClassEmployeeConfig
opc/core/config.py:851
↓ 35 callersClassPaletteCommand
opc/plugins/cli_board/tui/screens/palette.py:16
↓ 34 callersClassDummyRecruiterLLM
tests/test_company_recruiter.py:36
↓ 34 callersClassExecutionCheckpoint
opc/core/models.py:932
↓ 33 callersClassWorkItemContextView
Read-only view preferring WorkItem-owned metadata. Constructor snapshots both dicts at construction. In company mode, task fallback is a lega
opc/layer2_organization/work_item_context_view.py:45
↓ 32 callersClassExternalAgentBroker
Coordinates approval, execution mode, and session persistence for external agents.
opc/layer3_agent/external_broker.py:72
↓ 31 callersClassApprovalDecision
opc/core/models.py:874
↓ 31 callersClassCompanyRuntime
Keeps long-lived company-member session state across work-item turns.
opc/layer2_organization/company_runtime.py:152
↓ 31 callersClassNativeRuntimeV2
OpenOPC native runtime with structured events and tool batches.
opc/layer3_agent/runtime_v2/runtime.py:55
↓ 30 callersClassContextAssembler
Build minimal, mode-aware context without forcing a heavy schema.
opc/layer1_perception/context_assembler.py:126
↓ 29 callersClassMemoryManager
Manages four memory scopes. - Global memory: durable cross-project memory in `memory/global.md` - Project memory: durable project memory in `
opc/layer5_memory/memory_manager.py:28
↓ 29 callersClassRuntimePermissionDecision
opc/core/models.py:886
↓ 27 callersClassApprovalEngine
Bounded-autonomy policy engine.
opc/layer2_organization/approval.py:101
↓ 26 callersClassAutonomyConfig
opc/core/config.py:969
↓ 26 callersClassOpenCodeAdapter
Invokes the OpenCode CLI via ``opencode run``.
opc/layer3_agent/adapters/opencode_adapter.py:23
↓ 26 callersClass_MemoryStub
tests/test_approval_engine.py:32
↓ 26 callersClass_StoreStub
tests/test_approval_engine.py:27
↓ 25 callersClassPromptField
opc/plugins/cli_board/tui/screens/prompt.py:14
↓ 25 callersClass_SessionStoreStub
tests/test_external_agent_monitoring.py:45
↓ 24 callersClassCompanyMemberSession
opc/core/models.py:551
↓ 24 callersClassOPCEvent
opc/core/models.py:1366
↓ 24 callersClassPreferenceManager
No-op compatibility facade for legacy structured preference storage.
opc/layer5_memory/preference.py:15
↓ 24 callersClassTalentMarket
Imports talent templates from local markdown files and hires employees.
opc/layer2_organization/talent_market.py:195
↓ 24 callersClass_ApprovalStub
tests/test_external_agent_monitoring.py:74
↓ 23 callersClassStubStore
In-memory task store for testing.
tests/test_session_integration.py:37
↓ 22 callersClassStubOrgEngine
Minimal org engine providing reports_to resolution for tests.
tests/test_company_review_flow.py:103
↓ 22 callersClass_LLMStub
tests/test_approval_engine.py:194
↓ 21 callersClassLLMConfig
opc/core/config.py:267
↓ 21 callersClassWorkItemProjectionSpec
Projection-first spec consumed by the company work-item runtime.
opc/layer2_organization/org_work_item_planner.py:155
↓ 21 callersClass_EscalationStub
tests/test_approval_engine.py:218
↓ 20 callersClassClaudeCodeAdapter
Invokes the Claude Code CLI (claude command) for task execution.
opc/layer3_agent/adapters/claude_code.py:20
↓ 20 callersClassExternalApprovalRequest
Normalized approval request emitted by an external agent CLI.
opc/layer3_agent/adapters/base.py:81
↓ 19 callersClassLLMProvider
Unified LLM interface via LiteLLM supporting tool calls.
opc/llm/provider.py:207
↓ 19 callersClass_StubLLM
tests/test_native_runtime_v2.py:31
↓ 18 callersClassDummyRuntimeCommunication
tests/test_company_collaboration.py:155
↓ 18 callersClassToolPermissionResolver
Runtime permission gate with persisted session/project/global grants.
opc/layer3_agent/runtime_v2/permissions.py:77
↓ 17 callersClassOfficeServiceContext
Dependency holder shared by Office UI, CLI, and CLI board services.
opc/plugins/office_ui/services/context.py:38
↓ 17 callersClassPermissionsV2Config
opc/core/config.py:719
↓ 17 callersClassRecruitmentProposal
opc/core/models.py:760
↓ 17 callersClassSkillImportError
Raised when importing or normalizing a skill fails.
opc/layer5_memory/skill_importer.py:46
↓ 16 callersClassCursorAdapter
Invokes local Cursor for programming tasks via CLI.
opc/layer3_agent/adapters/cursor_adapter.py:16
↓ 16 callersClassExternalSession
opc/core/models.py:918
↓ 16 callersClass_MemoryStore
tests/test_parallel_runtime_isolation.py:19
↓ 15 callersClassDelegationEvent
opc/core/models.py:499
↓ 15 callersClassDelegationRun
opc/core/models.py:422
↓ 15 callersClassSessionMessageRecord
opc/core/models.py:1175
↓ 15 callersClassSessionPartRecord
opc/core/models.py:1188
↓ 15 callersClassSkillLibrary
Manages skills stored as ``<skill-name>/SKILL.md`` directories. Two-level loading: 1. System skills — ``opc_home/skills/`` (shared across
opc/layer5_memory/skill_library.py:32
↓ 14 callersClassPackageLoader
Loads .opcpkg packages from disk and installs/uninstalls them.
opc/market/package_loader.py:33
↓ 14 callersClassPromptScreen
Simple form dialog used by the CLI board.
opc/plugins/cli_board/tui/screens/prompt.py:23
↓ 14 callersClassSecretaryPolicyManager
No-op compatibility facade for legacy secretary policy storage.
opc/layer5_memory/secretary_policy.py:31
↓ 14 callersClassWorkItemGatePolicy
Projection-first gate policy for company work items.
opc/layer2_organization/org_work_item_planner.py:38
↓ 13 callersClassDummySelectionLLM
tests/test_company_collaboration.py:237
↓ 13 callersClassModeState
opc/plugins/office_ui/services/context.py:32
↓ 13 callersClass_PreferencesStub
tests/test_approval_engine.py:18
↓ 13 callersClass_StubStore
tests/test_native_runtime_v2.py:59
↓ 13 callersClass_WorkItemLogCell
opc/cli/app.py:5945
↓ 12 callersClassMessageBus
Async message bus for routing between interaction channels and the OPC engine. Channels publish inbound messages; the engine processes them and p
opc/layer0_interaction/message_bus.py:16
↓ 12 callersClassSystemMessage
opc/core/models.py:296
↓ 12 callersClass_StubMemoryManager
tests/test_native_runtime_v2.py:101
↓ 11 callersClassPhase
Single authoritative state of a delegation work item. Replaces the previous mixture of `status` + 5 metadata sub-state fields. Pure-function
opc/core/models.py:110
↓ 11 callersClassRuntimeLLMEvent
opc/core/models.py:910
↓ 11 callersClassSeatConfig
opc/core/config.py:873
↓ 11 callersClassStubMemory
Stub for engine.memory (MemoryManager).
tests/test_session_integration.py:140
↓ 10 callersClassApprovalAllowlistManager
Persists reusable approval rules in a user-editable YAML file.
opc/layer5_memory/approval_allowlist.py:29
↓ 10 callersClassChannelProviderSpec
opc/channels/provider_registry.py:9
↓ 10 callersClassDummyCompanyExecutor
tests/test_company_runtime_suspend_resume.py:216
↓ 10 callersClassRecordingCommunication
Communication stub that captures manager notifications.
tests/test_company_review_flow.py:59
↓ 10 callersClassTaskStatus
opc/core/models.py:96
↓ 10 callersClass_FakePlaywrightFactory
tests/test_browser_tools.py:177
↓ 10 callersClass_ScriptAdapter
tests/test_external_agent_monitoring.py:156
↓ 10 callersClass_StubPart
tests/test_native_runtime_v2.py:89
↓ 9 callersClassMarkdownMemoryStore
Persists pure Markdown memory at global and project scopes.
opc/layer5_memory/markdown_memory.py:25
↓ 9 callersClassPatchApplyError
Raised when an apply_patch payload cannot be applied safely.
opc/layer4_tools/file_ops.py:22
↓ 9 callersClassTalentTemplateConfig
opc/core/config.py:836
next →1–100 of 1,083, ranked by callers