feat(plugins): What's new leaves the core for the whats-new plugin — app.launch opens a plugin modal on opening the app #14
Closed
gabrielvidal
wants to merge 0 commits from
whats-new-plugin into main
pull from: whats-new-plugin
merge into: gabrielvidal:main
gabrielvidal:main
gabrielvidal:card-icon-beside-title
gabrielvidal:worktrees-cli
gabrielvidal:worktrees-plugin
gabrielvidal:agent-presets
gabrielvidal:no-plugin-white-flash
gabrielvidal:agy-tasks
gabrielvidal:home-declutter
gabrielvidal:perf-plugin-batching
gabrielvidal:fresh-context-plugin
gabrielvidal:remove-hooks-page
gabrielvidal:palette-plugins
gabrielvidal:linear-projects
gabrielvidal:agent-messaging
gabrielvidal:model-router
gabrielvidal:conv-card-layout
gabrielvidal:ask-more-options
gabrielvidal:agent-limits
gabrielvidal:generic-ui-strings
gabrielvidal:android-push-bridge
gabrielvidal:auto-translate
gabrielvidal:filter-chips
gabrielvidal:plugin-catalog
gabrielvidal:file-viewers
gabrielvidal:plugins-page-rework
gabrielvidal:hub-mcp-plugin
gabrielvidal:translation-plugin
gabrielvidal:scheduled-doors
gabrielvidal:cron-jobs-plugin
gabrielvidal:context-skills-plugin
gabrielvidal:files-plugins
gabrielvidal:worker-names
gabrielvidal:details-panel-perf
gabrielvidal:services-plugin-only
gabrielvidal:fix-test-env-leaks
gabrielvidal:bg-shells-plugin
gabrielvidal:feat-commits-plugins
gabrielvidal:fix-branch-line-tag-rows
gabrielvidal:retire-dead-leftovers
gabrielvidal:runner-into-harness-pi
gabrielvidal:retire-tool-proxy
gabrielvidal:new-project-policy-plugin-only
gabrielvidal:guest-jobs-sonnet
gabrielvidal:push-buttons-everywhere
gabrielvidal:mail-send-plugin
gabrielvidal:ui-polish-batch
gabrielvidal:command-palette-plugin
gabrielvidal:keyboard-shortcuts-plugin
gabrielvidal:prompt-shortcuts-plugin
gabrielvidal:matomo-site-grants
gabrielvidal:lab-chrome-plugin
gabrielvidal:performance-plugin
gabrielvidal:skills-agents-plugin
gabrielvidal:goals-plugin-only
gabrielvidal:storage-server-side
gabrielvidal:plugin-scheduled-conversations
gabrielvidal:plugin-fences
gabrielvidal:handoff-plugin
gabrielvidal:plugin-commands
gabrielvidal:plugin-speed
gabrielvidal:cleanup-provider-harness
gabrielvidal:plugin-conversation-labels
gabrielvidal:plugin-plan-usage
gabrielvidal:fix-worker-harness-sync
gabrielvidal:plugin-gcloud-reauth
gabrielvidal:feat/plugin-cards-in-thread
gabrielvidal:feat/plugin-proxy-wake
gabrielvidal:unify-subagents-children
gabrielvidal:wave3d-frontend-typed-plugins
gabrielvidal:wave3c-sidecar-strict-plugins
gabrielvidal:wave3a-catalog-accounts-profiles
gabrielvidal:wave3b-pricing-usage-cutover
gabrielvidal:wave1a-typed-plugins
gabrielvidal:wave1b-sidecar-runtime
gabrielvidal:fix-ios-overlay-scroll
gabrielvidal:batch2-work-resources-core
gabrielvidal:batch2-apikeys
gabrielvidal:plugin-blue-green-deploy
gabrielvidal:plugin-ship
gabrielvidal:plugin-project-env
gabrielvidal:plugin-memories
gabrielvidal:plugin-activity
gabrielvidal:plugin-templates
gabrielvidal:plugin-desk-phone
gabrielvidal:batch1-platform
gabrielvidal:plugins-list-view
gabrielvidal:dash-plugins
gabrielvidal:pets-plugin
gabrielvidal:ha-push-channel
gabrielvidal:mail-agents
gabrielvidal:graph-fix
gabrielvidal:graph-plugin
gabrielvidal:services-plugin
gabrielvidal:left-to-do-plugin
gabrielvidal:plugins-gallery
gabrielvidal:home-conv-menu
gabrielvidal:meta-business
gabrielvidal:agy-rdrand
gabrielvidal:bg-lag
gabrielvidal:conv-load-perf
gabrielvidal:askform-instant
gabrielvidal:fix/drawer-menu-done-chip
gabrielvidal:pi-midrun-compaction
gabrielvidal:interrupt-menu-btn
gabrielvidal:authz
gabrielvidal:inkling
gabrielvidal:repo-plugins
gabrielvidal:work-sync
gabrielvidal:leftovers
gabrielvidal:fix/agy-guest-guard
gabrielvidal:feat/model-presets
gabrielvidal:scroll-back
gabrielvidal:feedback-bell
gabrielvidal:feat/movies-tool
gabrielvidal:feat/running-thread-padding
gabrielvidal:feat/drawer-filter-button-card-chat
gabrielvidal:burn-rate
gabrielvidal:guest-install
gabrielvidal:guest-usage
gabrielvidal:guest-palette
gabrielvidal:guest-form-links
gabrielvidal:form-open-buttons
gabrielvidal:clarifier-lean
gabrielvidal:auto-archive
gabrielvidal:guests-profile
gabrielvidal:conv-motion
gabrielvidal:share-target
gabrielvidal:terminal-sync
gabrielvidal:work-context-past
gabrielvidal:work-context-brief
gabrielvidal:enroll-codes
gabrielvidal:open-image-file
gabrielvidal:worker-uploads
gabrielvidal:conv-drawer-search
gabrielvidal:stack-motion-v3
gabrielvidal:notif-stack-fixes
gabrielvidal:home-motion
gabrielvidal:i18n-fr
gabrielvidal:local-electricity-cost
gabrielvidal:cache-pill-thread
gabrielvidal:cache-scenarios
gabrielvidal:fresh-start
gabrielvidal:msg-select
gabrielvidal:shortcuts-setup
gabrielvidal:ui-0-40-3
gabrielvidal:outbox-landing
gabrielvidal:resume-scope
gabrielvidal:conv-filter-range
gabrielvidal:fix-subagent-form-session
gabrielvidal:ask-form-integration
gabrielvidal:form-visual-options
gabrielvidal:watcher-perf
gabrielvidal:last-msg-summary
gabrielvidal:secret-fields
gabrielvidal:commit-review
gabrielvidal:summary-mode-fixes
gabrielvidal:service-tag-parser
gabrielvidal:clarifier
gabrielvidal:fetch-diet-2
gabrielvidal:fetch-diet
gabrielvidal:conv-look
gabrielvidal:pwa-links
gabrielvidal:tool-widgets
gabrielvidal:worker-autoupdate
gabrielvidal:usage-rings
gabrielvidal:opencode-harness
gabrielvidal:notif-diet
gabrielvidal:conv-resources
gabrielvidal:scheduled-tasks
gabrielvidal:profiles
gabrielvidal:notify-exact-cost
gabrielvidal:usage-measuring
gabrielvidal:guest-projects
gabrielvidal:usage-calibration
gabrielvidal:account-switch
gabrielvidal:multiuser-improve
gabrielvidal:form-groups
gabrielvidal:multiuser
gabrielvidal:motion-reel
gabrielvidal:dashboards-fixes
gabrielvidal:split-big-files
gabrielvidal:held-regex
gabrielvidal:subagent-interrupts
gabrielvidal:form-html
gabrielvidal:tokunia-video
gabrielvidal:settings-uniform
gabrielvidal:worker-ask-fix
gabrielvidal:worker-generic-mac
gabrielvidal:runner-shortcuts
gabrielvidal:notify-unify
gabrielvidal:perf-list-cache
gabrielvidal:mac-worker
gabrielvidal:model-switch
gabrielvidal:pipeline-paths
gabrielvidal:multi-account
gabrielvidal:feature-flags
gabrielvidal:qwen38-support
gabrielvidal:url-prompt
gabrielvidal:running-pages
gabrielvidal:homelab-tag
gabrielvidal:root-project
gabrielvidal:or-models
gabrielvidal:deploying-loader
gabrielvidal:worktree-diff
gabrielvidal:conv-tags
gabrielvidal:tags-page
gabrielvidal:agents-page
gabrielvidal:icon-picker-shortcuts
gabrielvidal:conv-cta
gabrielvidal:stamp-refine
gabrielvidal:post-task-cache
gabrielvidal:post-tidy-completed
gabrielvidal:form-badge
gabrielvidal:hooks-delay-seconds
gabrielvidal:cost-dashboard
gabrielvidal:plan-forms
gabrielvidal:form-mobile
gabrielvidal:guidelines-dag
gabrielvidal:skills-view
gabrielvidal:navbar-hold
gabrielvidal:spawnbox-status
gabrielvidal:hold-editable-expand
gabrielvidal:drawer-transparent
gabrielvidal:hold-fix
gabrielvidal:hold-editable
gabrielvidal:charroll-bump
No Reviewers
Labels
No items
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
gabrielvidal (Gabriel Vidal)
Clear assignees
No Assignees
gabrielvidal
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gabrielvidal/ai-agent#14
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
What's new (the guests' feature carousel) leaves the core for the
whats-newlive plugin (companion PR: gabrielvidal/ai-agent-plugins#6). This is move F of the ai-agent → ai-agent-plugins migration (formai-agent-moves-to-ai-agent-plugins_o2qxmd). The core keeps only generic platform pieces:provides: {"app.launch": …}: a plugin may open one of itsapp.modalslots when someone opens the app, which works on an iPhone where overlays don't;impersonatedByin actions;init.langin frames;createdAtonusers.read;whatsnew.indexbridge for App usage.Key changes
backend/plugins/launch.py+GET /api/plugins/app-launch?reason=load|foreground&path=(plugins.use):app.launchproviders, including a guest's granted managed plugins, as the caller with their grant (≤ 10 s each).{open: [{pluginId, slotId, init, closeAction?}]}. The slot must be the plugin's ownapp.modal, the init ≤ 16 KB, andcloseActiona declared action.AppLaunchModal/AppLaunchResponse.manifest._PROVIDESgainsapp.launch(with a consent line) andwhatsnew.index.frontend/src/business/plugins/components/PluginLaunchHost.tsx(replacesWhatsNewHostinApp.tsx):app.launch.PluginModalHost, never over an open modal or a?modal=/?form=link.closeActionwith{trigger: "app.launch.closed", init, result}however the modal closes.plugins/routes.py_invoke_action:AIA_USER_CONTEXT.impersonatedBywhile the owner impersonates a guest.hubbridge._safe_user:createdAt.PluginSandboxFrame:init.lang.PluginCustomPage: the page label goes throught().nav.tssettingsOwns: a Settings entry pointing at a plugin page puts it in the Settings section.backend/plugins/whatsnew_bridge.py(providerwhatsnew.index, 30 s cache):telemetry/views.pyreads App usage's What's new list through it.plugins/carryover.pywhats_new:whats_new/whats_new_seentables (read-only, left in place) → the plugin's sharedentries.json/seen.json.whatsNew: falseguest → grantautoOpen: falseonce the plugin is installed..carried-overmarker.backend/whatsnew/,schemas/whatsnew.py, the six/api/whats-new*routes (authz table + golden),deps.whats_new, thewhats-newSSE pass;users.jsonwhatsNewfrom the user API;frontend/src/business/whatsNew/,mock/whatsNew.ts,i18n/fr/whatsnew.ts, the User page's What's new panel;cli/whats_new.pyandai-agent whats-new./whats-new→/plugins/whats-new/newsand/settings/whats-new→/plugins/whats-new/editor.newsandwhats-newpoint at those pages.whatsNew.carouselbecomes the genericplugins.launchModal.frontend/openapi.jsonwas re-dumped andsrc/generatedregenerated (only the app-launch additions and the What's new removals).docs/plugins.md→ "App launch" andCLAUDE.md→ What's new, which now covers the plugin and theai-agent plugin whats-newflow for sessions shipping a feature.Key decisions
ui.sheets[]with open/close bridges. Theapp.modalslot place andopenModal/modal.closealready exist (scheduled-conversations). What was missing was "open something when the app opens" and "tell the plugin when it closed".app.launch+closeActionadd exactly that and stay generic. The paused fresh-context move could open its sheet the same way.plugins.use, notself, since a caller without it can't load plugin frames anyway. A Viewer therefore no longer gets What's new (tests updated).impersonatedByis host-vouched context, so the owner's look through a guest's eyes still never counts as the guest's visit.Changelog
ai-agent whats-new. Useai-agent plugin whats-new ls | fields | add | rm.Test notes
/data, one process each: all pass but two that fail the same way on the base commit or main.test_tool_proxy_mediafails on its quota date, a date edge, also on the base.test_typed_plugins::test_records_carry_kindis path-dependent: it fails from a/homecheckout, as on main.test_plugin_launch.py(13 tests): the route, the cleaning, a guest's managed grant, impersonation in both launch and actions,createdAt, the bridge and the carry-over.test_authz_matrixuses the golden regenerated withUPDATE_GOLDEN=1: +app-launch, −whats-new.test_ai_agent.py: 53 passed.tsc --noEmitis clean.vitest: 1065 tests, the 3 known failures from main (useShareTarget ×2, FreshContext). NewPluginLaunchHost.test.tsx.features.jsonregenerated.npm run buildandbuild:mockboth pass./whats-newredirects to the plugin page under Moi;validate_manifestrejects the plugin until the core PR is deployed:provides.app.launch/provides.whatsnew.indexare unknown and theapp.modalslot place is invalid there):ai-agent-deploy. The carry-over copies the old entries and seen marks into the plugin's shared dir at start. TheautoOpen: falsegrants wait until the plugin is installed (retried at each start).ai-agent plugin install ~/projects/ai-agent-plugins/plugins/whats-new, and approveusers.read+askform.bridge.clarifier(1.0.1)./whats-new(and/settings/whats-new) redirect to a plugin page that isn't there yet. Keep that window short.authz/routes.py,users/routes.py,User.tsx,nav.ts,root.tsx,CLAUDE.md, andopenapi.json/src/generated. Regenerate those last two after rebasing.🤖 Generated with Claude Code
Screenshots
Merged into
mainas44c25c7e(batch merge of the EVOX2 plugin moves on top of main0797e454, all ai-agent suites green) and deployed: ai-agent @7c397fbclive since 2026-11-27 00:57. whats-new installed, clarifier reloaded (1.0.1).Pull request closed