feat(plugins): prompt shortcuts leave the core for the prompt-shortcuts plugin #17
Closed
gabrielvidal
wants to merge 0 commits from
prompt-shortcuts-plugin into main
pull from: prompt-shortcuts-plugin
merge into: gabrielvidal:main
gabrielvidal:main
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:matomo-site-grants
gabrielvidal:lab-chrome-plugin
gabrielvidal:performance-plugin
gabrielvidal:whats-new-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#17
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
Prompt shortcuts leave the core for a new
prompt-shortcutslive plugin (companion PR in ai-agent-plugins, same branch name). Everything moves, per Gabriel's formprompt-shortcuts-into-a-plugin_dkhipt:The core keeps what draws and sends the chips: the composer's chips engine, the always-on notify line and the thread's prompt pills. Skills & agents, the old page's second tab, becomes its own core Settings entry.
Key changes
ui.pages[].nav: "settings"with optionalgroupandafter. It is routed at/settings/p/<id>/<page>and listed in the Settings panel, the bottom bar's drawers, the settings search and the command palette (business/settings/pluginEntries.tsx,visibleEntries(a, extra))."seed": true: an app plugin installed once from the seed dir at start (carryover.seed_typed_plugins).composer.shortcutsnow honours"position": "first", keepsrunners: []andhidden, and allows 64 chips. A POSTed action of a provider drops its cache and publishescomposer-shortcutsto everyone, guests included.aiAgentPlugin.pickIcon(the app's glyph picker in a host dialog) andiconSvg(keys)(business/plugins/iconBridge.tsx). A page'sinitnow carrieslang.carryover.prompt_shortcuts, once):promptShortcuts→ the plugin'slibrary.json, with each audience spelled out. A pre-v4 blob first folds in the old guest list.promptShortcuts+shortcutPrefs→ theirpersonal.json.settings/shortcuts.py, which upgraded blobs on read;/api/mesharedShortcuts, andpromptShortcutsfrom/api/guest-defaults(OpenAPI and client regenerated);ShortcutEditor,AudienceMatrix,GuestShortcuts,PromptShortcutspage).promptShortcuts/shortcutPrefs.business/settings/shortcuts.tsreads every chip from the providers.PromptShortcutmoves tolib/promptShortcut.ts;CHANGES_SHORTCUT_ID/NO_CHANGES_GUIDELINEmove tolib/guidelineDag.ts. A prompt pill links to its plugin's page./settings/setup,pages/SkillsSetup.tsx) holds the setup matrix and Repo plugins./settings/shortcutsforwards to the plugin's page, and#skillsto/settings/setup. Saved panel and drawer layouts expand the oldshortcutskey in place.docs/plugins.md,docs/settings.mdanddocs/multi-user.mdare updated.Key decisions
nav: "settings"hook, not a core registry entry pointing at a plugin path. The page sits where Prompt shortcuts was (You, after Keyboard), and other moves reuse it.afteralso matches another plugin page's id, so it chains to the keyboard-shortcuts plugin's Keyboard page; when nothing matches, the entry goes to the end of its group."seed": true) rather than installed by hand. Without the plugin every composer loses its Changes chip, so there must be no gap after the deploy. An uninstall still sticks.position: "first"in the provider answer keeps the library ahead of ask-form's Form chip (providers run in plugin-id order). A manifest-level priority was rejected as heavier.app.banner: an owner's save reaches every open composer, guests' too, without a per-action flag.hiddenflag stays in a guest's answer. The composer drops a hidden chip, but the thread's pills can still name a line it wrote./settings/shortcutsand the saved-layout renames, like the/formsand/memoriesredirects.Changelog
Test notes
/data):test_plugin_prompt_shortcuts.py(10 tests): carry-over v4 / pre-v4 / once / keep, seeding, the manifest's settings page, position-first, the refresh.test_guests,test_plugin_deps_agents,test_batch1_platform,test_authz,test_authz_matrix,test_telemetry,test_plugin_telemetry,test_plugin_gaps,test_guest_cli.test_typed_pluginskeeps one failure that main has too (a missingharness-pifixture).tsc --noEmitis clean.vitest: 1,057 pass, 3 fail; those 3 fail on main too (useShareTarget×2,CacheExpiredNotice). New tests cover registry placement andafterchaining, the panel, the drawers with the old layout, and the composer chips through the providers.PLUGINS_SEED_DIR, ui-state seeded with an owner library and a guest "dom"):hidden, dom's own chip last.pickIconopens the host picker and the pick saves; ticking Guests on a chip reached dom's chips at once; the composer shows Changes / Screenshots / Form; the guest page and drawer render; no page errors./data/plugins/data/_hub/prompt-shortcuts/library.jsonafterwards.🤖 Generated with Claude Code
Screenshots
Merged into
mainasfcdde7290cby the auto-ship batch https://ai-agent.lab.gabvdl.xyz/conversation/01a21a60-f657-7368-89c8-21d61ac8f575.Pull request closed