intentcall_apple 0.6.0 copy "intentcall_apple: ^0.6.0" to clipboard
intentcall_apple: ^0.6.0 copied to clipboard

PRE-RELEASE — Apple App Intents manifest generator from intentcall agent manifest JSON.

⚠️ Pre-release train — Highly experimental. APIs may change without notice. Not for production. Details.

intentcall_apple #

pub package pub points repository

Apple platform manifest projection for IntentCall.

Current generated App Intents collect supported primitive parameters, enqueue a pending invocation envelope, and open or wake the Flutter app for Dart registry execution. nativeInline can call app-owned Swift code in the main app target. dartExtensionInline is experimental scaffold-only in intentcall_platform; it does not yet prove Dart business logic inside an App Intent extension.

This package owns Apple manifest JSON projection only. Flutter project sync and generated Swift AppIntent artifacts live in intentcall_platform, so there is one implementation of Flutter-native Apple wrapper generation.

Author workflow #

  1. Author tools — hand-written AgentCallEntry or optional @AgentTool codegen (intentcall_codegen).
  2. Collect descriptorsentry.toRegistration().descriptor or registry snapshot.
  3. Generate manifestgenerateAppleAgentManifest(descriptors)agent_manifest.json.
  4. Platform wrapper — let intentcall_platform generate Shortcuts / App Intents metadata that dispatches to Dart.
import 'package:intentcall_apple/intentcall_apple.dart';

final json = generateAppleAgentManifest([
  entry.toRegistration().descriptor,
]);
// write to ios/Runner/agent_manifest.json

Example Swift-oriented snippet derived from manifest (hand-off to Xcode codegen):

// agent_manifest.json → App Intents (illustrative)
// Intent: app_demo_ping — "Returns pong for a message"
// Parameters: message (String, required)

Input: agent_manifest.json (platform: apple, intents[]).
Output: JSON manifest for the Flutter project sync layer.

See test/agent_manifest_generator_test.dart.

0
likes
0
points
397
downloads

Publisher

unverified uploader

Weekly Downloads

PRE-RELEASE — Apple App Intents manifest generator from intentcall agent manifest JSON.

Repository (GitHub)
View/report issues

Topics

#mcp #ios #macos

License

unknown (license)

Dependencies

intentcall_core, meta, path

More

Packages that depend on intentcall_apple