agent_dart 1.0.0-dev.23 copy "agent_dart: ^1.0.0-dev.23" to clipboard
agent_dart: ^1.0.0-dev.23 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
120/ 160
pub points
67%
popularity

We analyzed this package 15 hours ago, and awarded it 120 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

2185 out of 5701 API elements (38.3 %) 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

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:agent_dart/agent_dart.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

INFO: The argument type 'MapEntry

lib/agent/actor.dart:25:69

   ╷
25 │       ...props.entries.map((n) => "  '${n.key}': ${jsonEncode(props[n])}"),
   │                                                                     ^
   ╵

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

INFO: The argument type 'Uint8List' isn't related to 'String'.

lib/agent/agent/http/index.dart:277:24

    ╷
277 │         body: response[body],
    │                        ^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/agent/agent/http/index.dart

failed
Support up-to-date dependencies
10 / 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.5.0 3.6.1 3.6.1
args ^2.3.1 2.5.0 2.5.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.0
collection ^1.16.0 1.18.0 1.19.0
convert ^3.0.1 3.1.1 3.1.1
crypto ^3.0.2 3.0.3 3.0.3
ffi ^2.0.1 2.1.2 2.1.2
fixnum ^1.0.1 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
flutter_rust_bridge ^1.82.6 1.82.6 2.0.0
http ^1.0.0 1.2.1 1.2.1
js >=0.6.0 <0.8.0 0.6.7 0.7.1
meta ^1.7.0 1.12.0 1.15.0
path ^1.8.1 1.9.0 1.9.0
pinenacl ^0.5.1 0.5.1 0.6.0
pointycastle ^3.6.0 3.9.1 3.9.1
protobuf ^3.1.0 3.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.3.2 1.3.2
uuid >=3.0.0 <5.0.0 4.4.0 4.4.0
validators ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.0 2.1.0
characters - 1.3.0 1.3.0
hex - 0.2.0 0.2.0
http_parser - 4.0.2 4.1.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.12.0
mime - 1.0.5 1.0.5
petitparser - 6.0.2 6.0.2
pool - 1.5.1 1.5.1
puppeteer - 3.12.0 3.12.0
shelf - 1.4.1 1.4.2
shelf_static - 1.1.2 1.1.2
shelf_web_socket - 1.0.4 2.0.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
web_socket_channel - 2.4.5 3.0.0
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

The constraint `^4.1.0` on cbor does not support the stable version `5.0.0`.

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

The constraint `^1.82.6` on flutter_rust_bridge does not support the stable version `2.0.0`, that was published 5 days ago.

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

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

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 1 error:

  • UNDEFINED_SETTER - lib/archiver/encoder.dart:101:10 - The setter 'zipPath' isn't defined for the type 'SingingBlockZipFileEncoder'.

Run flutter pub downgrade and then flutter 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.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.

21
likes
120
pub points
67%
popularity

Publisher

verified publisherastrox.io

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, bip32, bip39, cbor, collection, convert, crypto, ffi, fixnum, flutter, flutter_rust_bridge, http, js, meta, path, pinenacl, pointycastle, protobuf, recase, tuple, typed_data, uuid, validators

More

Packages that depend on agent_dart