turbo_promptable 0.0.1 copy "turbo_promptable: ^0.0.1" to clipboard
turbo_promptable: ^0.0.1 copied to clipboard

Object-Oriented Prompting framework for defining AI agent prompts, roles, workflows, and tools as type-safe Dart objects.

70/ 160
pub points
11
downloads

We analyzed this package 3 days ago, and awarded it 70 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

82 out of 217 API elements (37.8 %) have documentation comments.

Some symbols that are missing documentation: activity_dto, activity_dto.ActivityDto.ActivityDto.fromJson, activity_dto.ActivityDto.fromJsonFactory, activity_dto.ActivityDto.input, activity_dto.ActivityDto.instructions.

Passed check 10/10 points: Package has 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 96 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: 'package:turbo_promptable/activities/dtos/activity_dto.g.dart'.

lib/activities/dtos/activity_dto.dart:9:6

  ╷
9 │ part 'activity_dto.g.dart';
  │      ^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/activities/dtos/activity_dto.dart

ERROR: Const variables must be initialized with a constant value.

lib/activities/dtos/activity_dto.dart:36:34

   ╷
36 │   static const fromJsonFactory = _$ActivityDtoFromJson;
   │                                  ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/activities/dtos/activity_dto.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
json_annotation ^4.9.0 4.11.0 4.11.0
turbo_response ^1.1.0 1.1.0 1.1.0
turbo_serializable ^0.3.0 0.3.0 0.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
change_case - 2.2.0 2.2.0
collection - 1.19.1 1.19.1
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.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 96 errors:

  • URI_HAS_NOT_BEEN_GENERATED - lib/activities/dtos/activity_dto.dart:9:6 - Target of URI hasn't been generated: 'package:turbo_promptable/activities/dtos/activity_dto.g.dart'.
  • CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE - lib/activities/dtos/activity_dto.dart:36:34 - Const variables must be initialized with a constant value.
  • UNDEFINED_METHOD - lib/activities/dtos/activity_dto.dart:41:8 - The method '_$ActivityDtoFromJson' isn't defined for the type 'ActivityDto'.

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.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Object-Oriented Prompting framework for defining AI agent prompts, roles, workflows, and tools as type-safe Dart objects.

Homepage
Repository (GitHub)
View/report issues

Topics

#prompts #agents #serialization

Documentation

API reference

License

MIT (license)

Dependencies

json_annotation, turbo_response, turbo_serializable

More

Packages that depend on turbo_promptable