intentcall_platform 0.3.0 copy "intentcall_platform: ^0.3.0" to clipboard
intentcall_platform: ^0.3.0 copied to clipboard

PRE-RELEASE — Platform emitters and sync for intentcall (web manifest, WebMCP JS, bootstrap).

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

intentcall_platform #

Platform emitters, PlatformSync, Dart-first WebMCP bootstrap, and optional Flutter plugin support for pending native invocation dispatch.

Native platform code should stay thin. Generated wrappers collect supported parameters, enqueue an IntentCallInvocationEnvelope, and let Dart execute the registered AgentRegistry handler after app launch or wake. App-extension hosted Dart execution is experimental and not a stable support claim.

For iOS and macOS, PlatformSync also maintains the generated Runner/Generated/IntentCallGenerated.swift file in the main Runner target's Sources build phase so App Intents can be compiled and discovered by Apple system surfaces.

Invocation policy #

Native and WebMCP execution is deny-by-default in compiled profile/release builds. For local dogfood, IntentCallAuthorizationPolicy.debugAllowAll() opens execution only while Dart assertions are enabled; in compiled builds it behaves like denyAll().

Production apps should pass an explicit IntentCallAuthorizationPolicy with source and qualified-name allowlists, and use confirm for mutating or sensitive tools.

Manifest workflow (I4) #

agent_manifest.json is read from the project root first, then from web/. The web copy is commonly checked in and refreshed by CLI — not generated live from AgentRegistry yet.

flutter-mcp-toolkit codegen sync \
  --platform web,android,ios,macos,linux,windows \
  --project-dir <app>

Use the same command with --check in CI. --check reports whether any generated artifact or native project membership would change without writing files.

One-time hooks #

flutter-mcp-toolkit init intentcall-platform --project-dir <flutter_app>

Future #

Registry-backed generateWebAgentManifest is deferred — edit agent_manifest.json, then codegen sync.

0
likes
0
points
673
downloads

Publisher

unverified uploader

Weekly Downloads

PRE-RELEASE — Platform emitters and sync for intentcall (web manifest, WebMCP JS, bootstrap).

Repository (GitHub)
View/report issues

Topics

#mcp #flutter #agents

License

unknown (license)

Dependencies

app_links, flutter, intentcall_core, intentcall_schema, meta, path, web

More

Packages that depend on intentcall_platform

Packages that implement intentcall_platform