agent_dart_base 1.0.0-dev.40 copy "agent_dart_base: ^1.0.0-dev.40" to clipboard
agent_dart_base: ^1.0.0-dev.40 copied to clipboard

The Dart plugin that bridges Rust implementation for agent_dart.

130/ 160
pub points
340
downloads

We analyzed this package 41 hours ago, and awarded it 130 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

2388 out of 5415 API elements (44.1 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 not compatible with platform Web

Because:

  • package:agent_dart_base/agent_dart_base.dart that imports:
  • package:agent_dart_base/wallet/wallet.dart that imports:
  • package:agent_dart_base/wallet/pem.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:agent_dart_base/agent_dart_base.dart that imports:
  • package:agent_dart_base/wallet/wallet.dart that imports:
  • package:agent_dart_base/wallet/pem.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Missing type annotation.

lib/wallet/rosetta.dart:147:36

    ╷
147 │   Future<BigInt> getAccountBalance(accountAddress) async {
    │                                    ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/wallet/rosetta.dart

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
agent_dart_ffi ^1.0.0-0 1.0.0-dev.40 1.0.0-dev.40
bip32_plus ^1.0.0 1.0.0 1.0.0
bip39_mnemonic ^3.0.9 3.0.10 4.0.1
cbor ^4.1.0 4.1.0 6.3.7
collection ^1.16.0 1.19.1 1.19.1
convert ^3.0.1 3.1.2 3.1.2
crypto ^3.0.2 3.0.6 3.0.6
fixnum ^1.0.1 1.1.1 1.1.1
http ^1.0.0 1.5.0 1.5.0
meta ^1.7.0 1.17.0 1.17.0
pointycastle ^4.0.0 4.0.0 4.0.0
protobuf ^4.0.0 4.2.0 5.0.0
typed_data ^1.3.1 1.4.0 1.4.0
uuid >=3.0.0 <5.0.0 4.5.1 4.5.1
validators ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.1 2.1.1
flutter_rust_bridge - 2.11.1 2.11.1
hex - 0.2.0 0.2.0
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
unorm_dart - 0.3.2 0.3.2
web - 1.1.1 1.1.1

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

Found 3 issues. Showing the first 2:

The constraint `^3.0.9` on bip39_mnemonic does not support the stable version `4.0.0`.

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

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: