Skip to content

feat/interactive plugin controls#36

Merged
Rfluid merged 4 commits into
mainfrom
feat/interactive-plugin-controls
Jun 12, 2026
Merged

feat/interactive plugin controls#36
Rfluid merged 4 commits into
mainfrom
feat/interactive-plugin-controls

Conversation

@Rfluid

@Rfluid Rfluid commented Jun 12, 2026

Copy link
Copy Markdown
Owner
  • feat(plugins): interactive controls sections + action protocol
  • feat(plugins): indent, icon, and confirm capabilities for controls
  • chore: revert version bumps (versioning is done manually on release)

Rfluid added 4 commits June 12, 2026 15:07
Plugins can now emit a `controls` section type: rows of pill buttons
with `active`/`danger` styling. Clicking a button re-invokes the plugin
as `<cmd> action <id> --period <p>` (180s budget — actions may block on
native dialogs) and the returned panel replaces the cached one.

- aura-core: PluginButton/PluginControl + PluginContent::Controls;
  PluginRunner::run_action with shared invoke path
- app: render controls as clickable pills, spinner while an action is
  in flight, suppress focus-loss dismiss during actions so plugin
  dialogs (file pickers) can take focus without closing the modal
- cli: `aura plugin run <name> --action <id>` for headless testing
- docs: protocol section in plugin-authoring.md

First consumer: aura-plugin-audio-hooks (per-agent audio hook profiles).
- PluginControl.indent: rows render inset with a vertical accent guide
  bar, making parent/child rows (e.g. events under a profile) legible
- PluginButton.icon: SVG (embedded asset, abs, or ~/ path) rendered in
  the pill, tinted to the pill's foreground — fixes glyph baseline
  misalignment that plain text glyphs like ✕ had
- PluginButton.confirm: two-click confirmation; first click arms the
  pill (confirm label, error background), second fires, any other click
  or refresh disarms
- pills now have a fixed height with centered content
- docs: field tables for PluginControl/PluginButton
aura back to 0.1.25, aura-core to 0.1.15; drop the version-number
claim from the interactive-controls docs heading.
@Rfluid Rfluid merged commit 479fc14 into main Jun 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant