Add vim support to agentos-shell
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.6k
- Forks
- 251
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 34
Description
vim is not available in just shell today (the shell only loads the coreutils/git/curl/etc. software set; there is no editor).
Needed
- Package vim (or a vim-compatible editor) as a WASM registry-software package in secure-exec
registry/software/. - Add it to the agentos-shell software list (
packages/shell/src/main.ts) so it's on PATH injust shell.
Notes
- vim is a large/complex C program; compiling it to
wasm32-wasip1(curses + termios over the guest PTY) is non-trivial. A lighter vim-like editor may be a pragmatic first step. - Depends on the PTY work in the native shell (full-screen TUI apps need correct winsize/resize — see the crossterm
size()follow-up).
Part of making just shell a complete interactive environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the software packages in secure-exec registry/software/ and the list in packages/shell/src/main.ts. Check the native shell PTY work and the crossterm size() follow-up before choosing vim or a lighter compatible editor. Done means the editor is packaged for wasm32-wasip1, available on PATH in just shell, and usable as an interactive application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vim, wasm
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100