chore(native): sync native release b9982#302
Merged
Merged
Conversation
Contributor
Author
|
Chat app preview removed for |
There was a problem hiding this comment.
Pull request overview
Syncs the repository to leehack/llamadart-native release/tag b9982 by updating the native pin across hook/configuration docs, Apple SwiftPM artifact metadata, and regenerated Dart FFI bindings for the updated native headers.
Changes:
- Updated the default
llamadart-nativepin tob9982in the native-assets hook and user-facing docs/READMEs. - Refreshed Apple SwiftPM binary target tag/checksum for the Flutter companion package.
- Regenerated
lib/src/backends/llama_cpp/bindings.dart, including new ggml op bindings and updated mtmd struct layout.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/platforms/support-matrix.md | Updates documented default native pin and bundle availability header to b9982. |
| website/docs/getting-started/installation.md | Updates installation/override examples to use b9982 and corresponding asset name examples. |
| README.md | Updates the “Current default runtime pins” table to b9982. |
| packages/llamadart_llama_cpp_flutter/README.md | Updates SwiftPM pin reference to b9982. |
| packages/llamadart_llama_cpp_flutter/darwin/llamadart_llama_cpp_flutter/Package.swift | Updates SwiftPM binary artifact tag and checksum for b9982. |
| packages/llamadart_llama_cpp_flutter/CHANGELOG.md | Notes the SwiftPM pin update under Unreleased. |
| lib/src/backends/llama_cpp/bindings.dart | Regenerated FFI bindings for the new native header bundle (incl. mtmd struct change). |
| hook/build.dart | Updates the native hook pin constant to b9982. |
| CHANGELOG.md | Adds an Unreleased entry describing the pin sync (but currently leaves a conflicting older pin entry). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated sync from
leehack/llamadart-nativereleaseb9982.Changes:
hook/build.dartand the Apple SwiftPM binary target tob9982.lib/src/backends/llama_cpp/bindings.dart.mtmd_input_text.text_lenwith the normalized prompt's UTF-8 byte length. This is required by the newb9982mtmd ABI and preserves embedded NUL bytes safely.v0.14.0-native.2; no companion/core package version or release is included.Native version checklist:
b9982publishes the expected header, Apple XCFramework, Android, iOS, Linux, macOS, and Windows assets.CHANGELOG.mdreflect the new default pin.Validation:
dart format --output=none --set-exit-if-changed lib/src/backends/llama_cpp/llama_cpp_service.dartdart analyze lib/src/backends/llama_cpp/llama_cpp_service.dartdart test -p vm -j 1 test/unit/backends/llama_cpp/llama_cpp_service_test.dart --exclude-tags local-onlydart test -p vm -j 1 test/unit/hook --exclude-tags local-onlydart test -p vm -j 1 --exclude-tags local-only(1296 passed; 66 documented fixture-dependent skips)./tool/docs/build_site.sh./tool/docs/validate_links.shdart run tool/testing/verify_release_docs_versions.dartb9982, with a non-ASCII prompt on CPU and Metal (both produced non-empty output).dart analyzeis currently blocked by unrelated unresolved example-package dependencies; the changed library analyzes cleanly.