axint_compile
Compile TypeScript intent definitions into native Swift App Intents for Apple platforms, optionally generating Info.plist and entitlements fragments.
Instructions
Compile a TypeScript intent definition into a native Swift App Intent. Optionally emits Info.plist and entitlements fragments alongside the Swift file. Pass the full TypeScript source code using the defineIntent() API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | TypeScript source code containing a defineIntent() call | |
| fileName | No | Optional file name for error messages | |
| emitInfoPlist | No | When true, also returns an Info.plist XML fragment for the intent's declared infoPlistKeys | |
| emitEntitlements | No | When true, also returns an .entitlements XML fragment for the intent's declared entitlements |