mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #164] [CLOSED] experiment(cli): evaluate AgentENV-owned completion hook #221
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/164
Author: @NickNYU
Created: 8/12/2026
Status: ❌ Closed
Base:
main← Head:experiment/completion-agentenv-hook📝 Commits (2)
d5a06cfDocument the safe first slice of dynamic CLI completion867c583feat(cli): evaluate AgentENV-owned completion hook📊 Changes
5 files changed (+317 additions, -2 deletions)
View changed files
📝
crates/aenv/src/client/mod.rs(+16 -2)📝
crates/aenv/src/commands/completion.rs(+165 -0)📝
crates/aenv/src/main.rs(+4 -0)➕
docs/superpowers/specs/2026-08-08-aenv-sandbox-completion-design.md(+93 -0)➕
docs/superpowers/specs/2026-08-12-aenv-completion-agentenv-hook.md(+39 -0)📄 Description
Summary
This is the second parallel experiment for #37. It keeps the static completion generator and appends Bash/Zsh/Fish adapters that call an AgentENV-owned internal protocol:
aenv __complete.What it adds
aenv __complete --index ... -- <shell words...>entry point.Trade-off
The protocol is owned by AgentENV and does not depend on
clap_completeunstable-dynamic, but AgentENV must maintain cursor parsing plus three shell adapters. Clap still includes the hidden hook in generated command metadata, which is a small maintenance detail to discuss. The companion PR evaluates the upstream unstable dynamic engine. These are alternatives; please review and choose one direction rather than merging both.Verification
cargo fmt --allcargo check -p aenv --bin aenv🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.