NOirBRight/dsh-mobile--packages-interaction-operations3

@dsh-mobile/interaction-operations

适用于 DSH 的模态无关移动端交互意图与兼容性适配器插件。

AI 分析

核心用途是规范化移动端或粗糙指针的输入行为。适合配合 Android 客户端使用,将手势等操作转化为标准的交互意图,本身不改变 Host 端功能。

包名
@dsh-mobile/interaction-operations
版本
0.1.6
最近更新
2026年8月25日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@dsh-mobile/interaction-operations

Independent DSH client plugin that normalizes mobile/coarse-pointer input into presentation-only Interaction Intents. It does not patch DSH core and does not own Host feature mutations.

The Android Product Client packages this client bundle into its local boot roster on both narrow and wide surfaces. The same package can be published and installed as a normal DSH plugin; it is inert on the Host and contributes only its dsh.client browser half.

Interface

ctx.interactionOperations.dispatch(intent)

The Interface resolves synchronously to handled, unhandled, or blocked. See Mobile Interaction Operations and ADR 0007.

Build and test

npm run build -w @dsh-mobile/interaction-operations
npm test -w @dsh-mobile/interaction-operations