# meshpress-bridge Changelog ## Current - Fixed agent-link generation to pass the resolved group object instead of a boolean match flag. - Added selective WordPress event pushes for high-signal bridge lifecycle events so MeshPress can forward them into OmniLog. - Added bridge status visibility for WordPress event push configuration. ## 0.4.3 - 2026-06-12 - Fixed agent-link generation to pass the resolved group object instead of a boolean match flag. - Added selective WordPress event pushes for high-signal bridge lifecycle events so MeshPress can forward them into OmniLog. - Added bridge status visibility for WordPress event push configuration. ## 0.4.2 - 2026-05-25 - Added redacted MeshCentral config auditing for MySQL/MariaDB, framing, logging, backup, and maintenance posture. - Added real MeshCentral `settings.maintenanceMode` toggling with config backup and service restart support. - Replaced the data-only backup with a guarded full snapshot that includes MeshCentral files, config, manifest, checksum, and a MySQL/MariaDB dump when configured. - Added a configurable database dump timeout (`MESHPRESS_DB_DUMP_TIMEOUT_SECONDS`) so backup failures produce clear diagnostics instead of hanging. ## 0.4.1 - 2026-05-25 - Resolved MeshCentral groups before generating agent links, so WordPress punctuation drift no longer breaks installer commands. - Generated Linux install commands from the canonical group short id, including MeshCentral `@` characters. - Returned the matched group record and group name with agent-link responses for clearer MeshPress output. - Returned normalized group `short_id` values so agent-link generation can preserve MeshCentral punctuation across the full path. - Added installer-shape diagnostics and an explicit warning when the resolved short Mesh ID looks too short. - Added a curl fallback command while keeping the native MeshCentral wget installer command as the primary Linux path. ## 0.4.0 - 2026-05-24 - Resolved MeshCentral groups before generating agent links, so WordPress punctuation drift no longer breaks installer commands. - Generated Linux install commands from the canonical group short id, including MeshCentral `@` characters. - Returned the matched group record and group name with agent-link responses for clearer MeshPress output. ## 0.3.9 - 2026-05-24 - Replaced the bridge updater with a staged, verified, rollback-capable update flow that does not delete PM2 before the new copy is ready. - Added catalog update checks and a runtime maintenance-mode toggle endpoint for MeshPress. - Made group-id resolution tolerant of MeshCentral punctuation drift, and switched Linux agent commands to MeshCentral's native install-script pattern. ## 0.3.8 - 2026-05-24 - Group edits now verify the refreshed MeshCentral group record before returning success. - Added extra group edit diagnostics when MeshCtrl accepts a command but the group does not actually change. - Tried both `--desc` and `--description` edit forms for better MeshCtrl version compatibility. ## 0.3.7 - 2026-05-24 - Added guarded MeshCentral maintenance endpoints for version/update checks, data backups, and update triggering. - Added agent uninstall diagnostics and richer copy-friendly bridge logging for lifecycle testing. - Hardened the bridge installer/updater so running from the live `/opt` target refuses instead of deleting itself. ## 0.3.6 - 2026-05-24 - Rejected MeshCtrl failure text even when MeshCtrl exits with code 0, preventing false-success group edit responses. - Added richer group edit candidate attempts and copyable JSON diagnostics for invalid group identifiers. - Expanded agent link generation with Windows, Linux, macOS, Mesh Assistant, and Linux install command output. ## 0.3.5 - 2026-05-24 - Changed MeshCentral session links to prefer the working `viewmode-first + gotonode` URL pattern. - Added short-node-id extraction for `gotonode` links so full `node//...` ids do not break direct console sessions. - Added `/api/session-diagnostics/:nodeId` plus guarded device rename and move endpoints for manual MeshPress testing. ## 0.3.4 - 2026-05-23 - Added bridge runtime version reporting and a guarded manual update endpoint for MeshPress admin. - Added richer MeshCentral session-link generation for Desktop, Console, and Files with multiple direct-link candidates. - Added `console` and `shell` aliases for MeshCentral terminal sessions. ## 0.3.3 - 2026-05-23 - Added `/api/version`, `/api/update-now`, and `/api/session-links/:nodeId`. - Added all-link candidate generation for MeshCentral session testing. - Restarted bridge updates with `pm2 --update-env` so env/config changes are picked up. ## 0.3.2 - 2026-05-23 - Hardened bridge authentication for public-port exposure by requiring a configured bearer token on all endpoints. - Added optional exact-IP allowlisting and failed-auth rate limiting. - Moved WordPress fleet push authentication from query string to Authorization header. - Added startup security warnings for all-interface binding without app-layer allowlisting. ## 0.3.1 - 2026-05-23 - Added bridge self-test, server-info, users, events, and device-info diagnostics for MeshPress. - Added configurable MeshCentral direct-link style with `MESHPRESS_LINK_MODE`. - Added guarded provisioning endpoints for group edit/remove, group user assignment, invite links, and simple device message/toast commands. - Added cache clearing and richer status output for faster troubleshooting. ## 0.3.0 - 2026-05-22 - Added Phase 5.2 MeshCentral provisioning endpoints for Service Desk. - Added authenticated agent/provisioning link generation for MeshCentral device groups. - Added guarded device group creation through MeshCtrl `adddevicegroup`. - Required `MESHPRESS_ALLOW_COMMANDS=1` before the bridge will create MeshCentral groups, keeping provisioning actions opt-in. - Returned Windows x64, x86, ARM64, and interactive Windows agent links for linked MeshCentral groups. ## Reconstructed History These entries were inferred from local distribution archives, module headers, and `.old` backups. They are intentionally conservative and may not capture the full intent of each change. ### 0.2.0 - reconstructed - Reconstructed from archive `meshpress-bridge-v0.2.0.zip` (2026-05-20). - Header description at this version: GracePress MeshPress Bridge. Pushes MeshCentral fleet snapshots to WordPress MeshPress. - Catalog/category marker: Hidden. ### 0.1.1 - reconstructed - Reconstructed from 2 file backup(s) in `tools/meshpress-bridge/.old`. - Exact intent unknown; this confirms a recoverable historical version existed. ### 0.1.0 - reconstructed - Reconstructed from 1 file backup(s) in `tools/meshpress-bridge/.old`. - Exact intent unknown; this confirms a recoverable historical version existed. ### VERSION, - reconstructed - Reconstructed from 2 file backup(s) in `tools/meshpress-bridge/.old`. - Exact intent unknown; this confirms a recoverable historical version existed.