juice_llm 0.2.0
juice_llm: ^0.2.0 copied to clipboard
On-device LLM inference as a Juice bloc — model lifecycle, streaming generation, and embeddings behind a swappable runtime seam.
We analyzed this package 44 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
122 out of 214 API elements (57.0 %) have documentation comments.
Some symbols that are missing documentation: juice_llm.CancelGenerationEvent.CancelGenerationEvent.new, juice_llm.CancelGenerationEvent.requestId, juice_llm.EchoLlmProvider.EchoLlmProvider.new, juice_llm.EchoLlmProvider.embeddingDimensions, juice_llm.EmbedEvent.EmbedEvent.new.
10/10 points: Package has an example
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:juice_llm/juice_llm.dartthat imports:package:juice_llm/src/llm_state.dartthat imports:package:juice/juice.dartthat imports:package:juice/src/bloc/bloc.dartthat imports:package:juice/src/bloc/src/state_selector.dartthat imports:package:juice/src/bloc/src/juice_bloc.dartthat imports:package:juice/src/bloc/src/core/event_dispatcher.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:juice_llm/juice_llm.dartthat imports:package:juice_llm/src/llm_state.dartthat imports:package:juice/juice.dartthat imports:package:juice/src/bloc/bloc.dartthat imports:package:juice/src/bloc/src/state_selector.dartthat imports:package:juice/src/bloc/src/juice_bloc.dartthat imports:package:juice/src/bloc/src/core/event_dispatcher.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
juice |
^1.5.0 |
1.5.0 | 1.5.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
cupertino_icons |
- | 1.0.9 | 1.0.9 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
logger |
- | 2.7.0 | 2.7.0 | |
matcher |
- | 0.12.19 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.1 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.11 | 0.7.12 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
vm_service |
- | 15.2.0 | 15.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.44.2, Dart 3.12.2.
Check the analysis log for details.