{"agent":"claude","input":"Add team invitations to the App panel of this Filament application. Read app/Providers/Filament/AppPanelProvider.php, app/Models/Team.php, app/Models/User.php, app/Filament/App/Pages/RegisterTeam.php, the teams and team_user migrations, composer.json, phpunit.xml, tests/Pest.php, one existing Filament page test and .env.example first. Add a team_invitations migration with team, inviter, email, a hashed token, expiry, accepted_at and a unique team plus email index, a TeamInvitation model with factory, a TeamFactory, a markdown mailable with a signed accept link, and an accept route behind auth and signed middleware that attaches a matching user with syncWithoutDetaching and refuses a mismatched email or an expired token. Add a Members page in the App panel with the tenant's users, an Invite member header action with a validated email field, and a pending invitations table with resend and revoke actions. Make User::getTenants return the user's teams and canAccessTenant check membership, and override handleRegistration in RegisterTeam to attach the creator. Write Pest tests for the page action, the accept route's three cases and the tenancy check with Mail::fake, run composer test and composer cs on SQLite and PostgreSQL, and open a pull request that explains the membership change.","resources":[{"url":"https://github.com/your-org/your-app"}]}