rivet-dev / rivet-dev/agentos

Add vim support to agentos-shell

Open
#1,548 0 comments 0 reactions 0 assignees View on GitHub

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 in just 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.