cli_buddy 0.1.17 copy "cli_buddy: ^0.1.17" to clipboard
cli_buddy: ^0.1.17 copied to clipboard

A CLI tool to call any AI to ask, auto-complete, and generate code directly from any command line tool.

2
likes
130/ 160
pub points
0%
popularity

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.rfway.org was unreachable. Make sure that the website is reachable via HEAD requests.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

67 out of 265 API elements (25.3 %) have documentation comments.

Some symbols that are missing documentation: cli_buddy.Architecture, cli_buddy.Architecture.Architecture, cli_buddy.Architecture.Architecture.fromJson, cli_buddy.Architecture.instructType, cli_buddy.Architecture.modality.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:cli_buddy/cli_buddy.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:cli_buddy/cli_buddy.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:cli_buddy/cli_buddy.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:cli_buddy/cli_buddy.dart that imports:
  • package:cli_buddy/src/common/service/open_router.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:cli_buddy/cli_buddy.dart that imports:
  • package:cli_buddy/src/common/service/open_router.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/ffi/terminal.dart that imports:
  • package:mason_logger/src/ffi/windows_terminal.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cli_buddy/cli_buddy.dart that imports:
  • package:cli_buddy/src/common/service/open_router.dart that imports:
  • package:mason_logger/mason_logger.dart that imports:
  • package:mason_logger/src/mason_logger.dart that imports:
  • package:mason_logger/src/terminal_overrides.dart that imports:
  • package:mason_logger/src/io.dart that imports:
  • package:io/io.dart that imports:
  • package:io/src/shared_stdin.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 128 issues. Showing the first 2:

WARNING: The annotation 'JsonSerializable' can only be used on classes.

lib/src/common/domain/config.dart:11:4

   ╷
11 │   @JsonSerializable(includeIfNull: true)
   │    ^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The annotation 'JsonKey' can only be used on fields or getters.

lib/src/common/domain/config.dart:13:6

   ╷
13 │     @JsonKey(defaultValue: APIProvider.openrouter, name: 'api_provider')
   │      ^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.6.1 3.6.1 3.6.1
args ^2.5.0 2.5.0 2.5.0
barbecue ^0.5.0 0.5.0 0.5.0
cli_completion ^0.5.1 0.5.1 0.5.1
collection ^1.19.0 1.19.0 1.19.0
dio ^5.6.0 5.7.0 5.7.0
freezed_annotation ^2.4.4 2.4.4 2.4.4
json_annotation ^4.9.0 4.9.0 4.9.0
mason_logger ^0.3.0 0.3.1 0.3.1
path ^1.9.0 1.9.0 1.9.0
process_run ^1.2.0 1.2.0+3 1.2.0+3
pub_updater ^0.5.0 0.5.0 0.5.0
result_dart ^1.1.1 1.1.1 1.1.1
shelf ^1.4.2 1.4.2 1.4.2
shelf_cors_headers ^0.1.5 0.1.5 0.1.5
shelf_router ^1.1.4 1.1.4 1.1.4
shelf_static ^1.1.2 1.1.3 1.1.3
shelf_web_socket ^2.0.0 2.0.0 2.0.0
web_socket_channel ^3.0.1 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
dio_web_adapter - 2.0.0 2.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
http - 1.2.2 1.2.2
http_methods - 1.1.1 1.1.1
http_parser - 4.1.0 4.1.0
io - 1.0.4 1.0.4
meta - 1.16.0 1.16.0
mime - 2.0.0 2.0.0
platform - 3.1.5 3.1.5
process - 5.0.2 5.0.2
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
string_validator - 1.1.0 1.1.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
win32 - 5.5.5 5.5.5
yaml - 3.1.2 3.1.2

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.22.12, Dart 3.5.3.

Check the analysis log for details.