hy-sde/dsh-openwiki--packages-openwiki ↗★ 0

@hy-sde-org/dsh-openwiki

OpenWiki确定性引擎进程内库 提供可恢复的页面任务生命周期管理。适合需要构建确定性维基流水线的开发者。

包名
@hy-sde-org/dsh-openwiki
兼容性
待验证
版本
0.2.0-rc.2
许可证
NOASSERTION
最近更新
2026年10月3日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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