OpenCode Base Flow 1.0.5 API

Packages
Package
Description
OpenCode Base Flow - Lightweight approval workflow engine with JSON DSL.
Public API surface for the flow engine (4 services exposed to the host).
Data Transfer Objects (Builder + record) for the flow public API.
JSON DSL parsing for flow definitions (parser + validator + JSON Schema).
Domain events published by the flow engine.
Flow exception hierarchy and FlowErrorCode catalogue.
Package-private engine internals (DefaultFlowEngine / StepEvaluator / TransitionResolver / HistoryWriter).
Domain models for the flow engine (immutable records).
Optional observability integration — v4 §9.1.
Seven approval operation handlers (approve / vote / reject / addSign / withdraw / transfer / circulate). 7 个审批动作处理器(同意 / 投票 / 驳回 / 加签 / 撤回 / 转办 / 抄送)。
Persistence layer (InMemory + JDBC repositories with dialect abstraction).
JDBC repository (MySQL / PostgreSQL / H2) with dialect abstraction and SqlBuilder.
In-memory repository implementation for unit tests and quick demos (M3).
Service Provider Interfaces (3 SPIs: AssigneeResolver / ExpressionEvaluator / CurrentUserProvider).