Repository navigation
v0.8.0
edstem-cli 0.8.0
Act on threads, archive a forum, and sign in from any Ed region. This release adds thread actions, an unread filter, a per-unit --since last cursor, a Markdown export, and AU, US and EU support with the region detected from the token.
Highlights
- Thread actions:
edstem threads star|unstar|watch|unwatch|upvote|unvote|mark-read|mark-unread. Each one prints a plan, asks before writing, and honours--yesand--dry-run. A thread already in the requested state gets no write. - What's new since last time:
edstem threads UNIT --since lastkeeps a cursor per unit.--unreadfilters on Ed's own read state. - Forum export:
edstem threads export UNIT --dest ./archivewrites an index, one Markdown file per thread, and the attachments, with links rewritten to the local copies. An interrupted export resumes where it stopped. - Ed regions:
edstem auth logintries the token against AU, US and EU and keeps the region that accepts it. It only asks when it cannot tell.--regionorEDSTEM_REGIONsets the region explicitly. The CLI and the localedstem-mcpboth use the saved region.
Sign-in
- Login opens the token page in your browser (
--no-browserto skip) and links the right page for your region. - A failed login says whether Ed rejected the token or could not be reached, and lets you retry, paste another token, pick another region, or cancel.
edstem auth statusreports the region and where it came from:environment,fileordefault.- Login warns when
EDSTEM_TOKEN,EDSTEM_REGIONorEDSTEM_BASE_URLwill override what it saves. - Credentials are written atomically.
edstem-mcpno longer saves an unverified token typed into a terminal. Runedstem auth logininstead.
Upgrade
npm install -g edstem-cli@0.8.0Or, from an earlier release:
edstem updateThe token file is now JSON with the token and its region. Token files from earlier versions keep working and are read as AU. The hosted MCP server at edstem.tuuhub.com is still AU-only. On US or EU Ed, use the local edstem-mcp.