Repository navigation
Macro Handler Block Authoring SDK 1.0.0
Macro Handler Block Authoring SDK 1.0.0
Create, validate and distribute your own .mhblock Lua packages for Macro Handler's No-Code and Logic workspaces. Read the English guides before downloading:
Included
- Dependency-free Node.js 20+ CLI, strict structural validation, draft-7 schema and typed JavaScript/TypeScript editor definitions.
- Eight editable property types, groups/help/units, basic/advanced controls, numeric bounds and six semantic icons.
- Four examples, including a configurable workflow combining all eight property types, a tabbed runtime form, a local module and bounded retries.
- Correct case-sensitive Lua keyword preflight, shared regression fixtures, source/asset checksums and scoped MIT license.
Compatibility and validation
Targets the prepared Macro Handler 1.0.51 (65) reader with schema-3 support. Earlier installations with the same version text may lack that reader; current Google Play support is not assumed. Schema 1 Lua and the four fixed schema 2 native descriptors retain their separate contracts.
The SDK's structural/type/parity suite passed 21 tests, and the extracted standalone SDK passed 16 tests. The actual Android codec/API-installer canary executed the configurable example with validated non-dialog instance settings; this does not attest its optional Form.show UI, entitlement admission or every possible user scenario. Android performs the authoritative compiler, sandbox, permission and stop checks.
Packages are bounded to 256 KiB and 24 inputs. UI is generated from native declarative controls. Arbitrary HTML/DEX/native widgets, custom image icons, new permissions and automatic output ports are not supported. Importing, packaging and exporting never execute code. Review and test any generated or third-party package on your own target reader/device before sharing it.
Downloads
Use block-plugin-sdk.zip for the complete offline package. The JSON schema and English AI brief are also provided separately. sdk-manifest.json records the reviewed source and asset digests; SDK-SHA256SUMS provides public integrity checks. A digest does not authenticate a publisher.
SDK releases use sdk-v... tags. The four optional official native blocks keep the existing v... release line and latest-release selection. New SDK versions can be published under a new tag without replacing this release's files.