Skip to content

🐛 v3.4.2 Fix remove executor truncation, webterm bugs.#239

Merged
bmeares merged 2 commits into
mainfrom
dev
Jun 22, 2026
Merged

🐛 v3.4.2 Fix remove executor truncation, webterm bugs.#239
bmeares merged 2 commits into
mainfrom
dev

Conversation

@bmeares

@bmeares bmeares commented Jun 22, 2026

Copy link
Copy Markdown
Owner

v3.4.2

  • Run inline Python with mrsm python -c.
    The python action now accepts Python's own -c CODE idiom (e.g. mrsm python -c "print(mrsm.__version__)"), executing the code with meerschaum already imported and then exiting. Globally -c means --connector-keys, so this rewrite is scoped to the python action only; every other action's -c is unchanged. The previous forms (mrsm python "code" --noask and the bracketed mrsm 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 an api: executor only showed the last 30 lines — the beginning was silently dropped. The remote job's log monitor defaults to emitting only the last lines_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 by APIConnector.do_action_async now set logs.lines_to_show = 0 (emit everything), mirroring the local CLI worker.

  • Add a Users page to the web console.
    A new /dash/users page 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 data output as a table.
    mrsm show data now renders each pipe's DataFrame as a Markdown table (the same pprint_df() formatter used by mrsm sql) instead of the raw Pandas repr. The --nopretty JSON 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.json manifest 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, suggesting upgrade plugins. Locally-authored plugins (no recorded origin) are skipped. Reuses the existing shell:updates config (check_remote, refresh_minutes).

  • Silence the starlette.middleware.wsgi deprecation warning during start api.
    The Dash app is now mounted with a2wsgi's WSGIMiddleware instead of the deprecated fastapi.middleware.wsgi.WSGIMiddleware.

@bmeares bmeares self-assigned this Jun 22, 2026
@bmeares bmeares marked this pull request as ready for review June 22, 2026 18:24
@bmeares bmeares merged commit 742d7a9 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant