appplayer_core 0.1.3 copy "appplayer_core: ^0.1.3" to clipboard
appplayer_core: ^0.1.3 copied to clipboard

AppPlayer Core — shared Flutter library for MCP server connection, bundle handling, and UI runtime orchestration.

0.1.3 - 2026-05-02 - Logging primitives (LogEntry / LogBuffer / ScopedLogger) #

Added #

  • LogEntry — structured record (timestamp, level, message, context, error, stackTrace).
  • LogBufferChangeNotifier ring buffer (default 1000 entries) with scope/level filters. Tier shells (Pro / X / Custom) read this buffer to render in-app log viewers.
  • ScopedLoggerLogger decorator that injects a fixed scope map (e.g. {serverId, handle}) into every log call's context, so downstream filters can isolate logs per connection/app.
  • CompositeLogger — fan-out to multiple inner loggers (typical use: console adapter + LogBuffer adapter side-by-side).

Core internal modules (ConnectionManager / ToolDispatcher / AppSession / NotificationRouter / ResourceSubscriber) are unchanged — composition roots inject a ScopedLogger and the existing _logger.debug(...) calls automatically carry the scope.


0.1.2 - 2026-05-01 - Tool dispatcher align with runtime 0.4.3 #

Changed #

  • ToolDispatcher.call now returns Future<dynamic> (the decoded JSON response) instead of Future<void>. Host self-fold removed; the runtime applies spec §3.10 auto-merge against its own state.
  • runtime parameter dropped from ToolDispatcher.call — no longer needed.
  • AppSessionImpl._onToolCall returns the dispatcher's response so the runtime can fold it.
  • Runtime dependency raised to flutter_mcp_ui_runtime: ^0.4.3 (carries §3.10 auto-merge + §4.4.2 event variable + errorBoundary/errorRecovery event.{error, stack} fixes).

0.1.1 - 2026-04-30 - mcp_client 2.0 dependency #

Changed #

  • Upgraded mcp_client constraint to ^2.0.0. Public API of appplayer_core is unchanged — mcp_client is consumed internally and not re-exported.

0.1.0 - 2026-04-28 - Initial Release #

Added #

  • AppPlayerCoreService orchestrator owning connection lifecycle, sessions, bundle install pipeline, and tool dispatch.
  • Session abstractions — AppSession, DashboardSession, AppHandle.
  • Connection observability — ConnectionInfo, ConnectionResult, ConnectionState, ConnectionHealthMonitor with HealthMonitorConfig.
  • Bundle handles and host ports — BundleRef, BundleEntryPoint, BundleFetcher, InstalledAppBundle.
  • Dashboard bundle composition — DashboardBundleRef, BundleSource, SlotDefinition, SlotBindingRule.
  • Apps registry — AppsRegistry + RegistryMetadataSink automatic metadata refresh.
  • Tenant model — TenantContext, TenantSource for multi-tenant variants.
  • Host ports — ServerStorage, CredentialVault, AppMetadataSink.
  • Observability ports — Logger, MetricsPort.
  • Re-exports from flutter_mcp_ui_runtimeFormFactor, FormFactorScope, ViewMode/ViewModeResolver, AppSpacing / AppIconSizes / AppTypography / AppDensity (and their scale companions), TrustLevel, TrustLevelManager.
  • Re-export of MCPUIDSLVersion from flutter_mcp_ui_core.
  • Active-state extension via app_activity.dart.
0
likes
0
points
351
downloads

Publisher

unverified uploader

Weekly Downloads

AppPlayer Core — shared Flutter library for MCP server connection, bundle handling, and UI runtime orchestration.

Homepage
Repository (GitHub)
View/report issues

Topics

#mcp #appplayer #bundle #ui #flutter

License

unknown (license)

Dependencies

flutter, flutter_mcp_ui_core, flutter_mcp_ui_runtime, mcp_bundle, mcp_client, uuid

More

Packages that depend on appplayer_core