hy-sde/dsh-openwiki--packages-openwiki ↗★ 0
@hy-sde-org/dsh-openwiki
OpenWiki确定性引擎进程内库 提供可恢复的页面任务生命周期管理。适合需要构建确定性维基流水线的开发者。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Usage
The engine is normally consumed by @hy-sde-org/dsh-tool-openwiki, which
registers the five lifecycle tools. Direct use (e.g. an automated pipeline)
goes through HostSessionManager:
import { HostSessionManager, resolveRepositoryRoot } from '@hy-sde-org/dsh-openwiki'
const manager = HostSessionManager.create({ host: 'pipeline' })
const { view } = await manager.begin({ root: '/repo', mode: 'init' })
// ... submitPlan / nextPage / submitPage / finish over the same manager