koel_core 1.1.0 copy "koel_core: ^1.1.0" to clipboard
koel_core: ^1.1.0 copied to clipboard

AG-UI protocol kernel for Dart — events, errors, pipeline, reducer, JSON Patch.

60/ 160
pub points
287
downloads

We analyzed this package 5 days ago, and awarded it 60 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
10 / 20trigger folding of the section

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

249 out of 255 API elements (97.6 %) have documentation comments.

Some symbols that are missing documentation: koel_core.ChatStateReducer.ChatStateReducer.new, koel_core.ErrorClassifier.ErrorClassifier.new, koel_core.InMemorySessionStorage.InMemorySessionStorage.new, koel_core.Interceptor.Interceptor.new, koel_core.SessionStorage.SessionStorage.new.

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 467 issues. Showing the first 2:

ERROR: The method 'copyWith' isn't defined for the type 'ChatState'.

lib/src/client/chat_session.dart:66:14

   ╷
66 │       _state.copyWith(
   │              ^^^^^^^^
   ╵

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

ERROR: The getter 'messages' isn't defined for the type 'ChatState'.

lib/src/client/chat_session.dart:67:30

   ╷
67 │         messages: [..._state.messages, userMsg],
   │                              ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/client/chat_session.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
freezed_annotation ^3.1.0 3.1.0 3.1.0
json_annotation ^4.12.0 4.12.0 4.12.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
meta - 1.18.3 1.18.3

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 283 errors:

  • UNDEFINED_METHOD - lib/src/client/chat_session.dart:66:14 - The method 'copyWith' isn't defined for the type 'ChatState'.
  • UNDEFINED_GETTER - lib/src/client/chat_session.dart:67:30 - The getter 'messages' isn't defined for the type 'ChatState'.
  • UNDEFINED_GETTER - lib/src/client/chat_session.dart:95:29 - The getter 'messages' isn't defined for the type 'ChatState'.

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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
287
downloads

Documentation

API reference

Publisher

verified publishersihuynh.dev

Weekly Downloads

AG-UI protocol kernel for Dart — events, errors, pipeline, reducer, JSON Patch.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

freezed_annotation, json_annotation

More

Packages that depend on koel_core