Skip to content

revamp#15

Open
Myzel394 wants to merge 6 commits intomainfrom
revamp
Open

revamp#15
Myzel394 wants to merge 6 commits intomainfrom
revamp

Conversation

@Myzel394
Copy link
Owner

No description provided.

Myzel394 and others added 6 commits January 22, 2026 08:41
Previously used `zle -U` which inserted characters one at a time,
requiring multiple undo operations. Now sets BUFFER directly so
Ctrl+/ undoes the whole AI suggestion in one step.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Refactor provider logic into separate plugin files in plugins/providers/.
Users can now create custom providers by defining _zsh_copilot_provider_<name>
functions. Built-in providers for OpenAI and Anthropic included.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Context plugins add info to the prompt (e.g., system info, git status)
- Transform plugins process AI responses (e.g., normalize whitespace/quotes)
- Both plugin types chain together when multiple are loaded
- Includes built-in plugins: context/system.zsh, transform/normalize.zsh

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Simplify README with clear installation and plugin loading instructions
- Recommend ~/.config/zsh-copilot installation path
- Add PLUGINS.md with detailed documentation for creating custom plugins
- Include examples for providers, context, and transform plugins

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds repository name, branch, and uncommitted changes count to the context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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