ycp424c/dsh-browser-bridge--packages-page-runtime0

@ycp424c/dsh-browser-bridge-page-runtime

Framework-neutral browser runtime injected into Vite pages by the DSH browser bridge

AI 분석

核心用途是实现 DSH 对本地开发页面的实时控制与交互。适合前端开发者,支持在 Vite 页面中执行观察、控制台捕获及面板展示。

패키지
@ycp424c/dsh-browser-bridge-page-runtime
버전
0.1.0
최근 업데이트
2026. 8. 14.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

@ycp424c/dsh-browser-bridge-page-runtime

Framework-neutral browser runtime injected into Vite pages by the DSH browser bridge. It probes and connects to the exact loopback DSH origin, registers one target, executes the reliable tool subset (observe/inspect/act/navigate/wait/console) against the real page, tracks HMR generations, captures a bounded console buffer, and hosts the optional Shadow DOM DSH Web panel.

  • Only loopback DSH origins are accepted (localhost, *.localhost, 127/8, ::1); no credentials, no remote DSH, no port scanning.
  • Production default is zero-network dormancy; activation is explicit (shortcut, query parameter, persisted switch) or an explicit deployment choice (autoConnectInBuild / panel.visible).
  • Sensitive values are masked and every output is bounded before serialization; the host re-sanitizes everything after the wire.
  • Page identity lives in per-tab sessionStorage; grants, console rows, and page evidence are never persisted to localStorage.
  • Screenshot and network are never registered by this runtime; related calls return unsupported_operation.

See the workspace README and INSTALL.md for installation and configuration.