autocomplete 1.0.0 copy "autocomplete: ^1.0.0" to clipboard
autocomplete: ^1.0.0 copied to clipboard

Fig-style CLI completion specs and runtime (parse command, load spec, get suggestions). Pure Dart

1.0.0 #

  • Add the v2 streaming suggestions API with requestSuggestions / streamSuggestions, cancellation, and richer request events.
  • Add SuggestionRequestMode.staticThenFinal for fast static results followed by dynamic updates.
  • Improve responsiveness by deferring generateSpec during the first static pass.
  • Add the stream_suggest_v2.dart example, runtime tests, and benchmark coverage.
  • Add built-in specs for claude, codex, gemini, and qwen.

Breaking Changes #

  • Rename clearCache() to clearDynamicSuggestion().
  • Add clearAllCaches() for callers that want the previous full-reset behavior.

0.4.0 #

  • bind AutocompleteEngine to a fixed adapter and simplify engine.getSuggestions(cmd, cwd, shell)
  • stabilize dynamic suggestions cache reuse for lazy-loaded specs, postProcess generators, and custom function generators
  • fuzzy filter opt

0.3.0 #

  • feature fix, opt

0.2.0 #

  • fuzzy suggestion filter, and tests

0.1.5 #

  • performance improvements
  • add object-oriented API

0.1.4 #

  • Fix multi-version spec selection (e.g. heroku, shopify, infracost) so the correct spec is chosen at runtime based on CLI version.
  • Add CONTRIBUTING.md with contribution and spec-writing guidelines.
  • Update spec definitions (elixir, fin, git, heroku, pnpm, shopify) and generator/runtime logic.

0.1.3 #

  • Update spec definitions.
  • Refactor code structure.

0.1.2-dev #

  • Optimization and bug fixes.

0.1.1-dev.1 #

  • Prerelease for testing.

0.1.0 #

  • Initial release.
2
likes
130
points
63
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fig-style CLI completion specs and runtime (parse command, load spec, get suggestions). Pure Dart

Repository (GitHub)
View/report issues
Contributing

Topics

#autocomplete #shell #fig

License

MIT (license)

Dependencies

yaml

More

Packages that depend on autocomplete