AGENTS.md@packages/flutter_edge_ai_llama · git:20261019.fee7579 · 2026-10-19 · sha256 26f2611b5717f784
AGENTS.md@packages/flutter_edge_ai_llama git:20261019.fee7579A
Immutable. This exact content never changes and is served at /api/v1/blob/26f2611b5717f784.
# llama.cpp adapter maintenance This package adapts core 2.4.0+ through public engine libraries to published llamadart 0.15.0. GGUF routes only by its declared type. GGUF embeddings are deferred. - Minimum Flutter/Dart follows core (3.44/3.12). Connector CI pins Flutter 3.47.1 for reproducible checks; verify.py also reads the workspace SDK from `.fvmrc`. Do not raise the whole workspace floor for this adapter. - Run `python3 tool/verify.py contracts` and `python3 tool/verify.py package`. The latter validates hosted consumers without workspace resolution or overrides. - Shipped code uses `engine.dart` and conditional `engine_web.dart`, never core src. - Public exports are the provider and projector resolver. Tool messages use core types. Implementation classes and diagnostics stay internal; the loader factory is internal and test-only. - Model/device lanes require machine-reported execution of the selected smoke. Optional features use `verify.py capabilities` with explicit compatible fixtures. - Apple/Android CI CPU profiles use one thread. Apple CPU lanes disable Metal enumeration with `GGML_METAL_DEVICES=0`; this is not GPU qualification. - Native source ownership stays in llamadart-native; Web assets in llama-web-bridge-assets. Do not patch downloaded SDKs, runtimes or models to pass tests. - Consumers retain `[llama_cpp]` in root hooks as defence in depth. SDK 0.15.0 chooses it automatically for this graph and rejects explicit LiteRT-LM collisions. Settings do not propagate. Apple workspace apps declare the companion directly in the app and hooks in the root; inconsistent companion choices remain unqualified. - Keep [platforms.md](doc/platforms.md) current; qualification history belongs in the PR. - Publication, ownership, copyright and bundle IDs require maintainer decisions. - The SDK is bounded to one tested patch (`>=0.15.0 <0.15.1`); the Apple companion is exact (`0.15.0`). Every SDK upgrade requires a coordinated connector release, matching companion, Web bridge and full qualification. Pub enforces the companion/core minor pairing, backed by Apple build guards; SDK 0.15.0 also constrains workspace hooks/code_assets below 3.0. Never silently widen these constraints.