Luv061211/dsh-pet--packages-desktop-companion ↗★ 2
@luv1211/dsh-desktop-companion
Web-profile discovery registry for one constrained Electron desktop companion 适合开发桌面伴侣功能的用户,提供注册接口与校验,本身不含宠物逻辑。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
@luv1211/dsh-desktop-companion
English | 中文
The Web-profile registry for one optional Electron companion renderer. It provides ctx.desktopCompanion; a feature calls register({ id, entryPath, width, height, capabilities }), and the local discovery route returns that descriptor until its disposer runs. Duplicate providers, external URLs, query-bearing paths, invalid dimensions, and invalid capability ranges fail during registration.
The generic capability object can advertise drag forwarding, pointer-interaction forwarding, and a bounded resize range. The registry has no pet knowledge and does not persist window state. The Electron shell validates the descriptor again before opening a transparent window, exposes only the capability-gated preload bridge, and owns placement persistence and display restoration.
Model Experience
None, as this registry only serves local desktop discovery data.
KV Cache effect
None.
Known Limitations and Deferred Work
- One companion — the shell currently owns one constrained companion window; multiple concurrent desktop widgets require a separate composition decision.