Repository navigation
Track latest flutterflow_cli; refresh build skill for SDK 0.0.41 (v0.1.7) - #2
Merged
Merged
Conversation
SDK 0.0.41 requires flutterflow_cli >= 0.0.41, so the pinned 0.0.38 made `flutterflow ai init` fail for every new plugin user. The SessionStart hook now installs the latest CLI and, at most every 6h, upgrades an older install to pub.dev's latest (forward-only, skips path/git activations, silent when offline). Adds hook tests with pub.dev and dart faked. Build skill: remove the non-existent `projects --json` step, add CLI-too-old recovery, the 0.0.41 page-file edit workflow and new commands, and gotchas for the Supabase list/detail validation gap (#1) and MCP userPrompts. README documents the upgrade behavior and what the CLI sends. Bump to 0.1.7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
New plugin users can't create a workspace right now. The hook pins
flutterflow_cli0.0.38, butflutterflow ai initalways downloads the latest FlutterFlow AI SDK, and SDK 0.0.41 (released 2026-09-23) requires CLI ≥ 0.0.41. Reproduced in a sandbox:With CLI 0.0.41 the same
initgets past the SDK download (it stops only at the missing API key, as expected in the sandbox).What changed
SessionStart hook: tracks the latest CLI instead of a pin
flutterflow_cli.dart pub global activate flutterflow_cli <latest>if a newer release exists.X.Y.Zfrom pub.dev.dart, covering older, equal, and newer versions, path source, no lockfile, offline, and a malformed response. The existing tests now isolatePUB_CACHEso they never see the runner's real CLI.Build skill (SKILL.md)
flutterflow ai projects --jsonstep from 0.1.6. No released CLI/SDK has that command (checked through 0.0.41 and beta 0.0.41+1), so the skill asks for the project URL instead.init --page-dsl,orient→ edit →run --dry-run→run,scaffold edit) and the neworient,review,assets, andscaffoldcommands.userPrompts, which are stored server-side, so no secretsREADME / CHANGELOG / version
Tradeoff
New
flutterflow_clireleases reach plugin users within about 6h with no review step, which the old pin was meant to prevent. Since it's FlutterFlow's own package, staying in sync with the SDK's minimum CLI seemed more important.Testing
session-start.test.shandstore-key-from-clipboard.test.shpassclaude plugin validate ./plugins/flutterflow --strictpasses; shellcheck is clean0.0.41in about 0.2s🤖 Generated with Claude Code