Skip to content

feat(completion): implement dynamic shell completion with vp run task support#1181

Open
nekomoyi wants to merge 16 commits intovoidzero-dev:mainfrom
nekomoyi:feat/dynamic-completion
Open

feat(completion): implement dynamic shell completion with vp run task support#1181
nekomoyi wants to merge 16 commits intovoidzero-dev:mainfrom
nekomoyi:feat/dynamic-completion

Conversation

@nekomoyi
Copy link
Copy Markdown
Collaborator

@nekomoyi nekomoyi commented Mar 28, 2026

Summary

  • Switch to dynamic shell completion system
  • Add task name completion for vp run command, supporting workspace packages and tasks

Details

Dynamic Completion System

Replaced the static completion files with a dynamic completion system that can provide more flexible suggestions based on the current workspace state.

Task Name Completion for vp run

Implemented dynamic task completion for the vp run command, supporting task format like task or package#task

Known Limitations

  • Only Category A command arguments are supported in completions. Category B and C subcommand parameters are pending implementation.
  • vp run only completes tasks; parameters like -r, -t are not yet supported

Awaiting future work to sync local CLI parameters to global CLI
close #1131

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 28, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 62b6e8d
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69c948dd4ec7190008c5496d

@chatgpt-codex-connector
Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@nekomoyi
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00a8f43c06

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@nekomoyi
Copy link
Copy Markdown
Collaborator Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 713d6cf263

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@nekomoyi nekomoyi marked this pull request as ready for review March 28, 2026 18:40
@nekomoyi nekomoyi force-pushed the feat/dynamic-completion branch from 713d6cf to 3ec4723 Compare March 28, 2026 19:17
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.

Shell completion support for vp run command

2 participants