mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-27 11:35:23 -07:00
- Add `--plugin-action <id>/<name>` CLI flag, dispatched via runPluginAction - Add ctx.ui.openWindow for plugin-owned BrowserWindows with sandboxed preload - Add ctx.dataDir (`plugin-data/<id>/`), ctx.actions.run, ctx.mpv.ensureRunning - Emit mpv end-file events to plugins with reason, entry id, and error - Run Windows .cmd/.bat shims through cmd.exe in exec, killing the tree on abort - Update plugin docs, usage, architecture notes, and e2e coverage
592 B
592 B
type: added area: plugins
- Added JavaScript plugins loaded at startup from
<config dir>/plugins/<id>/and enabled underpluginsin the config. Plugins can listen to mpv events, run timers, register actions bound with__plugin-action:<id>/<action>keybindings or run with--plugin-action, run built-in actions, start mpv, run programs, keep state in a per-plugin data folder, and show results in an overlay panel or their own window. - Added an example
ai-explainplugin that sends the current line and its neighbors tocodex execand shows a translation or grammar explanation.