buoy_agent_core 0.1.0 copy "buoy_agent_core: ^0.1.0" to clipboard
buoy_agent_core: ^0.1.0 copied to clipboard

Headless agent core for Buoy's Ask Buoy in Flutter debug builds: the tool catalog, model providers, turn loop and change ledger.

120/ 160
pub points
48
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

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

0 out of 373 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: buoy_agent_core, buoy_agent_core.AbortController, buoy_agent_core.AbortController.AbortController.new, buoy_agent_core.AbortController.abort, buoy_agent_core.AbortController.signal.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:buoy_agent_core/buoy_agent_core.dart that imports:
  • package:buoy_agent_core/src/session.dart that imports:
  • package:buoy_agent_core/src/providers/openai.dart that imports:
  • package:buoy_agent_core/src/providers/transport.dart that imports:
  • dart:io
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

Found 82 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/blocks/receipts.dart:17:350

   ╷
17 │   : ''}', 'trailing':ai['enabled']==false? 'off' : 'on · ${al==null? '0' :jsNumber(al)} hit${al==1? '' : 's'}', 'tone':ai['enabled']==false? 'muted' : 'warning',});}(),], 'total':ah.length, 'source': 'live',};}if(f== 'route-events' &&g== 'getSnapshot' &&l!=null){final am= <String>{for(final an in _h(l['routes']))jsString(an)}.toList();if(am.isEmpty)return
   │ ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
18 │ │ null;final ao=_g(l['currentRoute']);final ap=RegExp(r'\[.+\]');return _ab({ 'id':_f(), 'kind': 'routeChips', 'routes':[for(final aq in am){'path':aq, 'dynamic':ap.hasMatch(aq)},], 'current':_j(_w(ao, 'path')), 'total':am.length, 'source': 'live',});}if(f== 'route-events' &&g== 'navigate
[...]

To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocks/receipts.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/blocks/receipts.dart:22:325

   ╷
22 │   'console' &&g== 'getSnapshot' &&l!=null){final ay=_h(l['entries']);if(ay.isEmpty)return null;return{ 'id':_f(), 'kind': 'logList', 'entries':_af(ay), 'total':_l(l['totalCaptured'])??ay.length, 'source': 'live',};}if(f== 'zustand' &&g== 'getStoreState' &&_w(l, 'found')!=false){final az=_g(_w(l, 'currentState'));if(az==null)return
   │ ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────^
23 │ │ null;final ba=_ag(_z(az['lines'],az['items']));if(ba!=null){return _ab({ 'id':_f(), 'kind': 'list', 'title':_j(h['storeName']), 'items':[for(final bb in ba)_aj(bb)], 'total':ba.length, 'source': 'live',});}return _ab({ 'id':_f(), 'kind': 'keyValue', 'title':_j(h['storeName']), 'pairs':_ak(az), 'source': 'live',});}if(f==
   │ └─────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/blocks/receipts.dart

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

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

No dependencies.

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

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

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
48
downloads

Documentation

API reference

Publisher

verified publisherbuoy.gg

Weekly Downloads

Headless agent core for Buoy's Ask Buoy in Flutter debug builds: the tool catalog, model providers, turn loop and change ledger.

Homepage

License

unknown (license)

More

Packages that depend on buoy_agent_core