You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[idea] Plugin API gaps from writing six local plugins
#5808
I run six local plugins (a sidebar, worktree flows, pane navigation shared with Neovim, a sessionizer, agent tabs and sound notifications) next to Ovis and Auto Title. Each of these forced a workaround:
herdr plugin action invoke can't pass any input. I want my agents to send me a phone notification when I ask, through a plugin action, so today they call the plugin's script by its path.
Plugins can't keep a process running. Startup hooks run once, and plugins have to stop their background processes. Auto Title keeps its own process alive anyway, and anything that listens, like a chat bridge to my agents from the phone, needs the same.
A plugin can't ship a default keybinding or the sidebar row that shows its data. clauth's installer edits my config.toml to add them, and that file lives in my dotfiles repo.
There's no hook when a pane's title or metadata changes, so my sidebar redraws on a timer. workspace.closed has only the workspace id, so cleanup after a worktree space closes has to remember the path itself.
Scripts can't focus the sidebar. My ctrl+h at the left edge of the panes should step into it, and today my script asks the terminal to send herdr's sidebar key.
requested change
Arguments for plugin actions, passed to the action's command.
Long-running plugin processes that herdr starts, restarts and stops with the server.
Default keybindings and sidebar rows in the plugin manifest, which the user can override or turn off.
A hook event for pane title and metadata changes, and the worktree path in workspace.closed.
A way to focus the sidebar from the CLI or socket.
why you want this
Each one replaces a workaround that breaks quietly: scripts called by path, a process herdr doesn't know about, an installer editing my config, a timer, and a fake keypress. Happy to split any of these into its own Discussion if that's easier to follow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
I run six local plugins (a sidebar, worktree flows, pane navigation shared with Neovim, a sessionizer, agent tabs and sound notifications) next to Ovis and Auto Title. Each of these forced a workaround:
herdr plugin action invokecan't pass any input. I want my agents to send me a phone notification when I ask, through a plugin action, so today they call the plugin's script by its path.config.tomlto add them, and that file lives in my dotfiles repo.workspace.closedhas only the workspace id, so cleanup after a worktree space closes has to remember the path itself.requested change
workspace.closed.why you want this
Each one replaces a workaround that breaks quietly: scripts called by path, a process herdr doesn't know about, an installer editing my config, a timer, and a fake keypress. Happy to split any of these into its own Discussion if that's easier to follow.
All reactions