intentcall_android 0.6.0
intentcall_android: ^0.6.0 copied to clipboard
PRE-RELEASE — Android shortcuts XML manifest generator from intentcall agent manifest JSON.
⚠️ Pre-release train — Highly experimental. APIs may change without notice. Not for production. Details.
intentcall_android #
Android manifest codegen for IntentCall shortcut and deep-link artifacts.
Current Android support is shortcut/deep-link dispatch into Dart. Android AppFunctions and fuller App Actions capability generation remain roadmap work.
Author workflow #
- Author tools — hand-written
AgentCallEntryor optional@AgentToolcodegen (intentcall_codegen). - Collect descriptors —
entry.toRegistration().descriptoror registry snapshot. - Generate manifest —
generateAndroidAgentManifest(descriptors)→agent_manifest.json. - Platform snippet — map manifest shortcuts to
shortcuts.xml/ deep-link routing.
import 'package:intentcall_android/intentcall_android.dart';
final json = generateAndroidAgentManifest([
entry.toRegistration().descriptor,
]);
// write to android/app/src/main/res/values/agent_manifest.json
Example XML-oriented snippet derived from manifest:
<!-- agent_manifest.json → res/xml/shortcuts.xml (illustrative) -->
<!-- shortcut android:shortcutId="app_demo_ping" -->
<!-- android:shortcutShortLabel="Demo ping" /> -->
Input: agent_manifest.json (platform: android, shortcuts[]).
Output: JSON manifest + documented shortcuts XML / deep-link mapping. Android
AppFunctions and fuller App Actions capability generation remain roadmap work.
See test/agent_manifest_generator_test.dart.