buoy_agent_core 0.1.0
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.
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:buoy_agent_core/src/session.dartthat imports:package:buoy_agent_core/src/providers/openai.dartthat imports:package:buoy_agent_core/src/providers/transport.dartthat imports:dart:io
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
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.
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.23.19, Dart 3.13.5.
Check the analysis log for details.