llm_dart_chat 0.11.0-alpha.1 copy "llm_dart_chat: ^0.11.0-alpha.1" to clipboard
llm_dart_chat: ^0.11.0-alpha.1 copied to clipboard

Pure Dart chat session and transport abstractions for llm_dart.

50/ 160
pub points
82
downloads

We analyzed this package 47 hours ago, and awarded it 50 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting llm_dart_chat... Discovering libraries... ERR: dartdoc 9.0.4 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/analyzerLHSJQA/pub-cache/hosted/20260601t084200-dot-dartlang-pub.appspot.com/[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:209) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:292)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 32 issues. Showing the first 2:

ERROR: The method 'ExecutionDeniedToolOutput' isn't defined for the type 'ChatPromptToolPartProjector'.

lib/src/chat_prompt_tool_part_projection.dart:112:15

    ╷
112 │             : ExecutionDeniedToolOutput(
    │               ^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/chat_prompt_tool_part_projection.dart

ERROR: The name 'FunctionToolDefinition' isn't a type, so it can't be used as a type argument.

lib/src/chat_request_options.dart:5:14

  ╷
5 │   final List<FunctionToolDefinition> tools;
  │              ^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/chat_request_options.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
llm_dart_ai ^0.11.0-alpha.1 0.11.0-alpha.1 0.11.0-alpha.1
llm_dart_provider_utils ^0.11.0-alpha.1 0.11.0-alpha.1 0.11.0-alpha.1
llm_dart_transport ^0.11.0-alpha.1 0.11.0-alpha.1 0.11.0-alpha.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
dio - 5.9.2 5.9.2
dio_web_adapter - 2.1.2 2.1.2
http_parser - 4.1.2 4.1.2
llm_dart_provider - 0.11.0-alpha.1 0.11.0-alpha.1
logging - 1.3.0 1.3.0
meta - 1.18.2 1.18.2
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 32 errors:

  • UNDEFINED_METHOD - lib/src/chat_prompt_tool_part_projection.dart:112:15 - The method 'ExecutionDeniedToolOutput' isn't defined for the type 'ChatPromptToolPartProjector'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/chat_request_options.dart:5:14 - The name 'FunctionToolDefinition' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_CLASS - lib/src/chat_request_options.dart:6:9 - Undefined class 'ToolChoice'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
50
points
82
downloads

Publisher

unverified uploader

Weekly Downloads

Pure Dart chat session and transport abstractions for llm_dart.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

llm_dart_ai, llm_dart_provider_utils, llm_dart_transport

More

Packages that depend on llm_dart_chat