🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@devframes/plugin-messages

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devframes/plugin-messages

Devframe plugin — the hub message feed as a portable panel: browse, filter, and dismiss `ctx.messages` entries from any hub host.

Source
npmnpm
Version
0.7.5
Version published
Weekly downloads
13K
318.08%
Maintainers
1
Weekly downloads
 
Created
Source

@devframes/plugin-messages

[!WARNING] Experimental This plugin is experimental and may change without a major version bump until it stabilizes.

A devframe plugin that surfaces the hub message feed (ctx.messages) as a portable panel: browse diagnostics and notifications from every mounted tool, filter by level / source / category / label, inspect stack traces, element and file positions, and jump to the offending file in your editor.

Ported from the built-in Messages view of vitejs/devtools; rebuilt on devframe's framework-neutral client (connectDevframe) with a Vue + Vite SPA, reading the feed through @devframes/hub's listSince delta API.

Mount into a hub

import { mountDevframe } from '@devframes/hub/node'
import messagesDevframe from '@devframes/plugin-messages'

await mountDevframe(hubContext, messagesDevframe)

The hub's ctx.messages host feeds the panel live — every ctx.messages.add(...) from any mounted tool shows up, updates stream over the devframe:messages:updated broadcast, and dismissals write back through the plugin's namespaced RPCs. On a plain (non-hub) context the plugin warns (DP_MESSAGES_0001) and serves an empty feed.

Embed the panel directly

import { mountMessages } from '@devframes/plugin-messages/client'

const handle = await mountMessages(document.querySelector('#panel')!, {
  rpc, // optional — reuse the host page's client
})

Standalone

npx @devframes/plugin-messages

pnpm dev in this package self-hosts the SPA against a demo-seeded messages host, so the feed is lively without a full hub.

Keywords

devframe

FAQs

Package last updated on 17 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts