Official
chat
Built-in chat UI (JavaScript UI plugin).
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/chat@0.2.6
Permissions in 0.2.6
Files
title.ts729 B
// The title the host gives a chat from its first prompt (`title_from_prompt`
// in crates/host/src/runtime.rs): the first line that is not blank, cut at
// 60 characters. Null while there is nothing to name the chat after.
export function draftTitle(text: string) {
// Line by line from the start: a long draft is not split for each key.
let line = "";
for (let start = 0; start <= text.length; ) {
const end = text.indexOf("\n", start);
const stop = end === -1 ? text.length : end;
line = text.slice(start, stop).trim();
if (line || end === -1) break;
start = end + 1;
}
if (!line) return null;
const chars = [...line];
return chars.length > 60 ? `${chars.slice(0, 60).join("")}…` : line;
}Versions
| Version | Published | Plugin API | Size | Permissions | Status |
|---|---|---|---|---|---|
| 0.2.9latest | Nov 21, 2026 | >=5 <6 | 349 KB | 5 permissions | Listed |
| 0.2.8 | Nov 16, 2026 | >=5 <6 | 348.6 KB | 5 permissions | Listed |
| 0.2.7 | Nov 11, 2026 | >=5 <6 | 314.3 KB | 5 permissions | Listed |
| 0.2.6 | Nov 9, 2026 | >=5 <6 | 306.2 KB | 5 permissions | Listed |
| 0.2.5 | Oct 27, 2026 | >=2 <4 | 178.6 KB | 5 permissions | Listed |
No comments yet.