- Multi-environment profile system: named
(api_url, credentials)bundles under~/.config/mxs/profiles/<name>/,--profileglobal flag,MXS_PROFILEenv var,mxs profile {ls,show,use,mark,rm}subcommands, production write gate, and automatic migration from the legacy single-profile layout.
- Internal rewrite onto Effect-TS (
@effect/cli+@effect/platform). User-facing CLI surface is unchanged — seeREADME.mdfor the small list of behavioral adjustments anddocs/architecture.mdfor the new internal architecture.
mxs skill— bundled AI-agent documentation. List, get, all, search across chapters shipped inside the CLI (packages/cli/skills/*.md); liteXML chapters loaded live from the installed@haklex/rich-litexmlpackage. Default output is raw markdown for direct context injection.mxs preview <file>— local HTML preview of a LiteXML fragment or<mxpost>/<mxnote>envelope. Wraps@haklex/rich-litexml-cliso the output matches the editor renderer.mxs project— full CRUD for portfolio projects:list,get,view,create,edit($EDITOR JSON envelope),update,delete. Resolver accepts uniquenameor Snowflake id. Server addsPATCH /projects/:id, a Zod DTO on create/update, and aPROJECT_NAME_TAKEN(409) error on duplicate names.
mxs comment list [--page N] [--size N] [--state unread|read|junk] [--all]mxs comment get <id>mxs comment approve <id...> | --all [--state <s>]mxs comment reject <id...> | --all [--state <s>]mxs comment delete <id...> | --all [--state <s>] [--force]
State map: unread=0, read=1, junk=2. Routes single-id verbs through the server's batch endpoints (PATCH /comments/batch/state, DELETE /comments/batch) for one unified path.
mxs ai— full management surface for AI artifacts.mxs ai summary {regen,list,get,by-article,edit,delete}mxs ai translate {run,list,get,by-article,languages,edit,delete}mxs ai translate entries {list,generate,edit,delete}mxs ai insights {refresh,list,get,by-article,edit,delete}- Generate verbs enqueue a task on the server and poll
GET /tasks/:iduntil terminal;--no-waitreturns thetaskIdimmediately. Dedup-aware:created: falsejoins the in-flight task.
mxs ai tokens— aggregatetotalCostandtotalTokensacross recent AI tasks. Pending a final decision on client-side aggregation vs. a dedicated/ai/usageendpoint on the server.
- Maintenance
mxs cache clear [--scope=all|view|post|note|page|aggregate]mxs cache statsmxs search reindexmxs search statusmxs job listmxs job run <name>mxs health
- Backup
mxs backup create [--output <path>]mxs backup listmxs backup download <id> [--output <path>]mxs backup restore <id-or-file> [--force]
- Export / import (content as files)
mxs export <dir> [--type=post,note,page] [--format=markdown|litexml]mxs import <dir> [--type=post] [--update-existing]
- Observability
mxs logs tailmxs metrics
- OS keychain storage (keytar / libsecret) once monorepo Node version stabilizes
mxs init— bootstrap a fresh mx-core deployment via compose