ai-devkit icon indicating copy to clipboard operation
ai-devkit copied to clipboard

feat(setup): opt-in Rex Lua actions for agent workflows

Open codeaholicguy opened this issue 2 weeks ago • 0 comments

Summary

Opt-in Rex Lua actions and key bindings installed by ai-devkit setup, for working with agents from the Rex command palette.

Candidate actions

  • Send the current selection or file path to an agent
  • Inbox of blocked agents: a picker over Rex blocks whose program status is blocked, which focuses the one you choose
  • Open the ai-devkit agent console in a floating layer (session.new_layer)

Notes

  • This changes the user's init.lua, so it must be explicit opt-in. Write to a separate file loaded from init.lua, and validate with rex config check.
  • Client actions need Remote Control, which is off by default; say so instead of changing it.
  • Lua API reference: https://www.superlogical.com/rex/docs/reference/lua.md

Acceptance criteria

  • [ ] ai-devkit setup offers the Rex integration only when Rex is detected
  • [ ] Clean uninstall/update path
  • [ ] rex config check passes after install

Depends on: #461 (for the blocked inbox).

codeaholicguy avatar Nov 18 '26 09:11 codeaholicguy