cs-update
Reviewed
at commit 8bd402d
Release notes for a pending cs update, once per launch, with 1 to install it in place; /cs-update reopens the pane.
0 upvotes
Log in to upvote or save- Made by
- cs
- Pinned commit
-
8bd402d41fd5f2652d3032764bfed78d463a879f - What we checked
-
When a newer cs (claude-sessions) release was found at launch, opens a side pane with its release notes. Pressing 1 runs the cs updater, which installs the update in place; Esc dismisses it, and /cs-update reopens the pane. It makes no network calls itself and only works in cs sessions.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers /cs-update, writes a heartbeat file, opens the pane when CS_UPDATE_AVAILABLE is set and the update was not declined, otherwise a toast), command.run for /cs-update, and ui.render for the Pane. Reads CS_UPDATE_AVAILABLE, CS_UPDATE_DECLINED, CS_BIN, HOME and CS_SESSIONS_ROOT, the cached release notes under ~/.cache/cs, .cs/local/state and ~/.claude/hooks/cs/.version (first line only). Writes only .cs/local/cs-update.heartbeat and .cs/local/cs-update.done, and only when the directory is a cs session under the sessions root and cs -vet-session passes. The one program it runs besides the vet is the cs binary named by CS_BIN with -update, started only when the user presses the update key; that updater downloads, verifies and replaces cs files (including this mod), and its network use and contents were not reviewed. Only the lead conversation cs launched gets the pane. Compared with the earlier version this one adds restoring the pane after the reload the update itself causes (done marker, running marker with the installed-version stamp, a once-a-second watch) and a staleness check. No fetch, eval or encoded code.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/cs-update/)