NOirBRight/dsh-mobile--packages-interaction-operations ↗★ 3
@dsh-mobile/interaction-operations
适用于 DSH 的模态无关移动端交互意图与兼容性适配器插件。
AI 分析
核心用途是规范化移动端或粗糙指针的输入行为。适合配合 Android 客户端使用,将手势等操作转化为标准的交互意图,本身不改变 Host 端功能。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 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