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.5
Permissions in 0.2.5
Files
contract.ts1.1 KB
// The divergence/chat service: what the chat view knows that the sidebar
// shows too, the chats with a prompt waiting in the queue and the titles of
// unsent drafts. Read once, then followed through events.
import * as z from "zod";
import { defineService } from "divergence/services";
export const QueuedChats = z.array(z.string());
export const DraftTitles = z.record(z.string(), z.string());
export const Chat = defineService("divergence/chat", "1.3.0", {
methods: {
queued: { params: z.object({}), result: QueuedChats },
draftTitles: { params: z.object({}), result: DraftTitles },
submitDraft: { params: z.object({ chatId: z.string(), queue: z.boolean() }), result: z.null() },
// Takes a queued chat out of the queue; it stays a draft.
unqueue: { params: z.object({ chatId: z.string() }), result: z.null() },
// Reads the chat's transcript ahead of time: the pointer is on its row.
prefetch: { params: z.object({ chatId: z.string() }), result: z.null() },
},
events: {
queuedChanged: QueuedChats,
draftTitlesChanged: DraftTitles,
},
});
export type Chat = typeof Chat;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.