flutter_agentic_tools 0.1.1
flutter_agentic_tools: ^0.1.1 copied to clipboard
Ready-made device tools for Flutter AI agents — clipboard, sandboxed files, HTTP, and system info tools that plug straight into flutter_agentic.
Changelog #
0.1.1 — 2026-07-02 #
- Security hardening (FileTools): symlinks inside the sandbox pointing outside are now detected and blocked — the canonical path of the deepest existing ancestor is verified, covering both symlinked files and symlinked parent folders.
- Security hardening (HttpTools): the host allow-list is now enforced on every redirect hop (an allowed host can no longer 302 the agent to a disallowed one); redirect chains are capped at 5.
- Formatted with
dart formatfor full pub.dev static-analysis score.
0.1.0 — 2026-07-02 #
Initial release.
ClipboardTools—clipboard_read,clipboard_write.FileTools(baseDir)—file_write(with append),file_read,file_list,file_delete; sandboxed tobaseDirwith path-traversal rejection and configurable read/write size limits.HttpTools—http_get,http_post_json; optional host allow-list, response truncation, timeout, injectablehttp.Client.SystemTools—system_info(platform, OS version, locale, time zone).- All tools return structured error maps to the model instead of throwing.