Repository navigation
feat: ? menu, Ask, plugins; v0.0.11 - #19
Merged
Merged
Conversation
- ? on empty shell prompt opens inline menu at cursor: commands, bookmarks, plugin commands, Ask - Ask: agent's model writes one command for terminal's shell+OS, typed not run; sd ask - ask_agent / ask_model settings - plugins via shelldeck.plugins entry points: commands (?docker ps, sd docker ps), event handlers - sd plugin list|enable|disable|run; reference plugin examples/shelldeck-docker - fix: shelldeck skill frontmatter not valid YAML, agents hid skill - fix: empty Enter left terminal marked running until next command
- ignore xterm auto-replies (CPR, DA, focus, OSC) in keystroke tracking; new ConPTY made first line look edited, ? went to shell - Ask keeps menu open: spinner, then command (Enter inserts, Shift+Enter runs), edit question to ask again, errors in place - Ctrl+I at empty prompt opens Ask box, like Devin Desktop terminal Command - menu placed from cursor cell, not xterm textarea (stale in new pane) - long generated commands wrap - decode agent output as UTF-8
- Plugins page (sidebar More): status, package, errors, commands with Run, events, enable/disable - @command(usage="<container>"): ? menu fills `docker logs ` to type args, Run asks for them, CLI shows usage - Ask sees plugin commands; model may answer `?docker logs web`, menu runs it, sd ask prints `sd docker logs web` - plugin code runs through PluginError guard: sys.exit/any error never stops server; entry point name must match plugin - server tells page on connect if shell at prompt (replayed screen has no prompt marks): ? after page load works - input typed while socket connects is queued, not dropped - typed command name ranks above Ask in ? menu - docs/plugins.md: writing a plugin guide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
?menu at the shell prompt: commands, bookmarks, plugin commands?question orCtrl+I,sd ask): one command for the terminal's shell and OS, typed not run;ask_agent/ask_modelsettingsshelldeck.pluginsentry points: commands, event handlers, Plugins page,sd plugin list|enable|disable|run,docs/plugins.md,examples/shelldeck-docker?in a new terminal,?after page load, input queued while socket connects, empty Enter left terminal running, skill frontmatter YAML