Repository navigation
Add Pulse for Rex, a watchlist pane beside your agents - #25
Merged
Merged
Conversation
A Node CLI (rex-pulse-ticker, bin pulse-rex) that draws the watchlist in a Rex pane, and lua/pulse.lua, which Rex's init.lua loads to add four palette actions. quotes.js and watchlist.js are the Herdr mod's, checked by a test. Release from a rex-v* tag through npm trusted publishing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Pulse for Rex (
rex/), a new MIT edition for Rex. Rex config can't draw UI, so Pulse is a terminal program in a pane, plus a Lua file Rex'sinit.lualoads.session.new_layer). Esc closes it.lua/pulse.luaadds Pulse: Open Watchlist, Add Ticker…, Refresh Quotes and Pause or Resume. No keys are bound by default.aadd,xremove,rrefresh,ppause,qquit.pulse-rex add|remove|pause|resume|refresh|list. Open panes pick up changes within a second.~/.config/pulse-rex/watchlist.json, shared by every pane and command.quotes.jsandwatchlist.jsare copies of the Herdr mod's. Only the header andPULSE_URLS(utm_source=rex&utm_medium=plugin) differ, and a test checks it.rex. Pulse for Mac links are OSC 8 hyperlinks.pulse-rex installadds one marked block to the end of Rex'sinit.lua. It runsrex config checkand puts the file back if the check fails. It writes node and the package through a version manager's stable link (…/node/current/…), so upgrading node doesn't break the config.pulse-rex uninstallremoves the block.pulse_openpasses--beside/--ratioand the pane callssession.resize_paneitself once it starts.Naming follows the other editions: npm
rex-pulse-ticker(likeopencode-pulse-ticker), User-AgentPulse-Rex/<version>, release tagsrex-v<version>.Repo
test-rex, and CI runs it..github/workflows/release-rex.ymlpublishes to npm from arex-v*tag, as opencode's does.Checks
make test-rexpasses, 14 tests:init.luablock (add, replace, remove) and stable node pathsmake test-herdr test-opencode test-metrixstill pass.git diff --checkreports no problems.rex config checkon aninit.luathat loadsrex/lua/pulse.luareports 4 actions.rex do <file> --action …with live quotes:npm pack, then a global install from the tarball:installis idempotent, anduninstallrestoresinit.luabyte for byte.npm install --globalandpulse-rex install. It wrote~/.config/rex/init.luathrough…/node/current/….rex actionslists the four Pulse actions, andrex do pulse_openopened the pane from the installed config.rex/preview.pngis a screenshot of the real pane in Rex. It is in both READMEs and in the npm package.rex-v0.1.0tag: set up npm trusted publishing forrex-pulse-ticker(repositoryfatwang2/Pulse, workflowrelease-rex.yml, environmentnpm).🤖 Generated with Claude Code