air_cli 1.0.10
air_cli: ^1.0.10 copied to clipboard
The official CLI for the Air Framework. Streamline your Flutter development with modular architecture, automated code generation, and scalable state management.
Changelog #
1.0.10 #
Improvements #
- Skill Enhancement: Updated the
air_frameworkAI agent skill (SKILL.md) to include documentation and examples for the newAirListenerwidget. This teaches AI agents to correctly separate one-off side effects from UI building.
1.0.9 #
Bug Fixes #
air skills install: Fixed asset resolution when running as a globally installed package usingIsolate.resolvePackageUri.air version: Robust version detection in production environments using the newAssetResolverlogic.
1.0.8 #
1.0.7 #
New Features #
air create community-module <name>: New command to scaffold a standalone module ready to publish and share with the community. Generatesmodule.yaml(Air manifest),pubspec.yaml,README.md, fulllib/structure (module, state, service, screen, barrel export), and.gitignore. Supports--author=<github_username>.
Bug Fixes #
air module addnow asks before overwriting: Previously silently deleted and replaced an existing module. Now prompts withy/N(default: No) before overwriting, preventing accidental loss of local customizations.air module addshows registration hint: After a successful install, readsmodule_classfrom the module'smodule.yamland prints the exactModuleManager().register([...])snippet the user needs to add tomain.dart.
1.0.6 #
- Visual Identity: Added the official Air Framework SVG logo to the README.
- Documentation: Updated README with the new logo and visual assets.
1.0.5 #
- Adapter System: Added
air generate adapter <name>command to scaffold headless service integrations with the recommended structure (contracts, implementation, adapter). - Adapter Skill Documentation: Added
references/adapters.mdwith full adapter reference (lifecycle, boot order, contract rule, naming conventions, DevTools). - Updated Skill: Updated
SKILL.mdwith adapter keywords, quick-start, key rules (adapters before modules, contract rule), and updated file structure. - Updated CLI Reference: Added adapter generator section to
references/cli.md.
1.0.4 #
- Air Adapters: Introduced
AirAdapterbase class andAdapterManagerfor headless service integrations (HTTP, analytics, error tracking, etc.). - DevTools: Added ADAPTERS tab to the DevTools inspector (8 tabs total).
- Framework Exports: Updated
core.dartandframework.dartbarrel exports for adapters.
1.0.3 #
- AI Agent Selection: Added interactive selection and "all" option to
air skills install. Supports Antigravity, Claude Code, OpenCode, and Cursor. - Improved
air create: Added support forair create .to initialize projects in the current directory. Includes automatic snake_case project name derivation and sanitization. - Skills command: Added
air skills install— copies the Air Framework agent skill into.agent/skills/air_framework/and registers it inAGENTS.mdso AI agents automatically know where the skill is and what it does. - Module Autoinstall: The
module addcommand now prefersmodule.yamlfor dependency synchronization. This allows modules to define their dependencies without needing a fullpubspec.yaml. - Improved Injection: Updated skill documentation to recommend
inject<T>()overAirDI().get<T>()in state classes. - Improved Dependency Management: The
air createcommand now fetches the latest available versions ofair_framework,air_generator, andgo_routerfrom pub.dev. - Dynamic Versioning: CLI now dynamically reads its version from
pubspec.yaml.
1.0.2 #
- Generator Overhaul: Replaced the legacy 3-file state generation with a unified
@GenerateStatepattern. - Templates: Updated module and screen templates to use
extends AppModuleand the latestAirViewpatterns. - CLI improvements: Improved "Next steps" instructions after generation to include better dependency injection examples.
1.0.1 #
- Reactive State Generation: Added support for
@GenerateStateannotation with the--generatorflag. - API Changes: Updated
AppModuleinterface:onBind()->onBind(AirDI di)andinitialize()->onInit(AirDI di). - Improvements: Updated templates and generators to match the latest
air_frameworkchanges.
1.0.0 #
- Initial release of the Air CLI.
- Project Generation: Create new Air projects with
air create. - Module Management: Generate modular architecture structures with
air gen module. - Code Generators: Automate creation of Screens, States, Services, Widgets, and Models.
- Air State Management: Built-in support for the "Clap in the Air" state management pattern.
- Scalable Architecture: Enforces clean architecture and separation of concerns.