koel_core 1.1.0
koel_core: ^1.1.0 copied to clipboard
AG-UI protocol kernel for Dart — events, errors, pipeline, reducer, JSON Patch.
We analyzed this package 5 days ago, and awarded it 60 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
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.