ConstReadonlyCHAT_OPEN_DM: "chat:open-dm"ReadonlyKEYBINDS_ALL: "keybinds:all"ReadonlyKEYBINDS_CAPTURE_END: "keybinds:capture-end"ReadonlyKEYBINDS_CAPTURE_START: "keybinds:capture-start"ReadonlyKEYBINDS_GET: "keybinds:get-all"ReadonlyKEYBINDS_RESET: "keybinds:reset"ReadonlyKEYBINDS_UPDATE: "keybinds:update"ReadonlyPROFILE_OPEN: "profile:open"ReadonlySTREAM_CHANNEL_SWITCH: "stream:channel-switch"ReadonlySTREAM_CURRENT_CONTEXT: "stream:current-context"ReadonlySTREAM_CURRENT_CONTEXT_GET: "stream:current-context-get"ReadonlyWM_FOCUSED_WINDOW_CHANGED: "wm:focused-window-changed"import { TOPICS } from '@napplet/core';
// Open a profile view via INC-PEER
shim.publish({ kind: 29003, tags: [['t', TOPICS.PROFILE_OPEN]], content: '{}' });
Topic strings follow a prefix convention that signals message direction:
| Prefix | Direction | Meaning |
|---|---|---|
shell:* |
napplet → shell | Commands sent by a napplet to the shell |
napplet:* |
shell → napplet | Responses/notifications sent by shell to napplet |
{service}:* |
bidirectional | Service-scoped messages; direction is per-topic |
Examples of {service}:* prefixes: auth:*, stream:*, profile:*,
wm:*, keybinds:*, chat:*, audio:*.
Built-in topic constants for the napplet shell INC-PEER protocol.