agent_dart 0.1.24+1 copy "agent_dart: ^0.1.24+1" to clipboard
agent_dart: ^0.1.24+1 copied to clipboard

An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.

21
likes
100/ 160
pub points
732
downloads

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

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

3181 out of 6306 API elements (50.4 %) have documentation comments.

Some symbols that are missing documentation: actor, actor.Actor.canisterIdOf, actor.Actor.createActor, actor.Actor.createActorClass, actor.Actor.createAndInstallCanister.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Package not compatible with platform Web

Because:

  • package:agent_dart/agent_dart.dart that imports:
  • package:agent_dart/archiver/archiver.dart that imports:
  • package:agent_dart/archiver/signing_block.dart that imports:
  • package:archive/archive_io.dart that imports:
  • package:archive/src/io/zip_file_encoder.dart that imports:
  • package:archive/src/io/output_file_stream.dart that imports:
  • package:archive/src/io/file_handle.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 80 issues. Showing the first 2:

ERROR: 'SingingBlockZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified})') isn't a valid override of 'ZipFileEncoder.zipDirectory' ('void Function(Directory, {String? filename, bool followLinks, int? level, DateTime? modified, void Function(double)? onProgress})').

lib/archiver/encoder.dart:74:8

   ╷
74 │   void zipDirectory(Directory dir,
   │        ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/archiver/encoder.dart

ERROR: 'SingingBlockZipFileEncoder.addDirectory' ('Future

lib/archiver/encoder.dart:99:16

   ╷
99 │   Future<void> addDirectory(Directory dir,
   │                ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/archiver/encoder.dart

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

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

Package Constraint Compatible Latest
archive ^3.3.0 3.6.1 4.0.1
args ^2.3.1 2.6.0 2.6.0
basic_utils ^4.2.2 4.5.2 5.7.0
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
cbor ^4.1.0 4.1.0 6.3.3
collection ^1.16.0 1.19.0 1.19.1
convert ^3.0.1 3.1.2 3.1.2
crypto ^3.0.2 3.0.6 3.0.6
ffi ^1.2.1 1.2.1 2.1.3
fixnum ^1.0.1 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http ^0.13.4 0.13.6 1.2.2
js ^0.6.4 0.6.7 0.7.1
meta ^1.7.0 1.15.0 1.16.0
path ^1.8.1 1.9.1 1.9.1
pinenacl ^0.3.4 0.3.4 0.6.0
pointycastle ^3.6.0 3.9.1 3.9.1
protobuf ^2.0.1 2.1.0 3.1.0
recase ^4.0.0 4.1.0 4.1.0
tuple ^2.0.0 2.0.2 2.0.2
typed_data ^1.3.1 1.4.0 1.4.0
uuid ^3.0.6 3.0.7 4.5.1
validators ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bs58check - 1.0.2 1.0.2
characters - 1.3.0 1.4.0
hex - 0.2.0 0.2.0
http_parser - 4.1.1 4.1.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.1.4 2.1.4

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

Found 9 issues. Showing the first 2:

The constraint `^3.3.0` on archive does not support the stable version `4.0.0`, that was published 10 days ago.

When archive is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `^4.2.2` on basic_utils does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions basic_utils to update the constraint.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

21
likes
100
points
732
downloads

Publisher

verified publisherastrox.io

Weekly Downloads

An agent library built for Internet Computer, a plugin package for dart and flutter apps. Developers can build ones to interact with Dfinity's blockchain directly.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

archive, args, basic_utils, bip32, bip39, cbor, collection, convert, crypto, ffi, fixnum, flutter, flutter_web_plugins, http, js, meta, path, pinenacl, pointycastle, protobuf, recase, tuple, typed_data, uuid, validators

More

Packages that depend on agent_dart