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

  • Control chats chats.controlHighCreates chats, sends prompts and cancels runs.Send prompts, answer agent questions, and create, change, fork, revert, stop and group chats
  • Run other plugins' commands commands.runHighRuns commands of other plugins.Run the sidebar's New chat command from the title bar
  • Read chats chats.readMediumReads your transcripts and chat lists.Show workspaces, tasks, chats and transcripts, and follow them as agents work
  • Read files fs.readMediumReads files in the listed places.Suggest workspace files for @ mentionsPlaces: the open workspace
  • Show panels ui.slotsAlways grantedShows views in the listed parts of the window.Draw the chat grid, the title bar, and the Session panel with its rail buttonSlots: centertitlerailright

Files

switcher.test.ts1.4 KB
// The Ctrl+Tab cycle model, without the views around it.
import assert from "node:assert/strict";
import test from "node:test";
import { reconcile, step } from "./switcher.ts";

const chats = {
  a: { id: "a", updatedAt: "3" },
  b: { id: "b", updatedAt: "2" },
  c: { id: "c", updatedAt: "1" },
};

test("a cycle from a chat it does not hold starts at the most recent chat", () => {
  // The chat on screen was archived: it is not in the cycle, and the
  // first tap goes to the chat worked in last, not the one after it.
  const archived = { ...chats, z: { id: "z", archived: true } };
  assert.equal(step(null, archived, ["b", "a"], "z", 1)?.selected, "b");
  assert.equal(step(null, archived, ["b", "a"], "z", -1)?.selected, "c");
  // One other chat is still somewhere to go.
  assert.equal(step(null, { a: chats.a, z: archived.z }, [], "z", 1)?.selected, "a");
});

test("a cycle from the chat on screen moves off it", () => {
  assert.equal(step(null, chats, ["b"], "a", 1)?.selected, "b");
  assert.equal(step(null, chats, ["b"], "a", -1)?.selected, "c");
  assert.equal(step(null, { a: chats.a }, [], "a", 1), null);
});

test("a cycle keeps its terminal owner while overlay keys move it", () => {
  const native = step(null, chats, ["b"], "a", 1, "native");
  assert.equal(native?.input, "native");
  assert.equal(step(native, chats, ["b"], "a", -1)?.input, "native");
  assert.equal(reconcile(native, chats)?.input, "native");
});

Versions

VersionPublishedPlugin APISizePermissionsStatus
0.2.9latestNov 21, 2026>=5 <6349 KB5 permissionsListed
0.2.8Nov 16, 2026>=5 <6348.6 KB5 permissionsListed
0.2.7Nov 11, 2026>=5 <6314.3 KB5 permissionsListed
0.2.6Nov 9, 2026>=5 <6306.2 KB5 permissionsListed
0.2.5Oct 27, 2026>=2 <4178.6 KB5 permissionsListed

Reviews and comments

0 threads · 0 reviews

No comments yet.