Conversation
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.
v3.4.2
Run inline Python with
mrsm python -c.The
pythonaction now accepts Python's own-c CODEidiom (e.g.mrsm python -c "print(mrsm.__version__)"), executing the code withmeerschaumalready imported and then exiting. Globally-cmeans--connector-keys, so this rewrite is scoped to thepythonaction only; every other action's-cis unchanged. The previous forms (mrsm python "code" --noaskand the bracketedmrsm python [-c "code"]) still work.Fix truncated output for actions run on a remote
api:executor.Running a long-output action (e.g.
show pipes) on anapi:executor only showed the last 30 lines — the beginning was silently dropped. The remote job's log monitor defaults to emitting only the lastlines_to_show(30) lines, which is the right behavior when attaching to a long-running job but wrong for a one-shot action whose entire output matters. Temporary action jobs created byAPIConnector.do_action_asyncnow setlogs.lines_to_show = 0(emit everything), mirroring the local CLI worker.Add a Users page to the web console.
A new
/dash/userspage lists the instance's registered users (paginated and searchable, mirroring the Plugins page), with a shareable per-user detail page at/dash/users/<username>that lists the plugins they've published. A plugin card's author now links to its owner's user page. A user's type (admin vs. normal) is intentionally never exposed.Format
show dataoutput as a table.mrsm show datanow renders each pipe's DataFrame as a Markdown table (the samepprint_df()formatter used bymrsm sql) instead of the raw Pandas repr. The--noprettyJSON output is unchanged.Add a plugins update checker.
Plugins installed from a repository now record their origin (e.g.
api:mrsm) in a per-directory.mrsm_origins.jsonmanifest that travels with the plugins directory (so it survives being mounted into another environment). On shell launch a background thread caches the latest versions from each plugin's origin repo, and the interactive prompt prints a banner listing any plugins that have fallen behind, suggestingupgrade plugins. Locally-authored plugins (no recorded origin) are skipped. Reuses the existingshell:updatesconfig (check_remote,refresh_minutes).Silence the
starlette.middleware.wsgideprecation warning duringstart api.The Dash app is now mounted with
a2wsgi'sWSGIMiddlewareinstead of the deprecatedfastapi.middleware.wsgi.WSGIMiddleware.