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.7
Permissions in 0.2.7
Files
settings.tsx2.1 KB
// Embed an Effect-owned view in the standard custom-settings extension point.
// The quick limit checkbox and this section write the exact same per-agent map.
import type { Api, Element, ViewContext } from "divergence";
import type { ChatView } from "./controller.ts";
import { autoSend } from "./scheduler-policy.ts";
import { column } from "./views/styles.tsx";
let viewId: number | undefined;
export const bindSettings = (id: number | undefined) => {
viewId = id;
};
export function render(_ctx: ViewContext<object>, _api: Api): Element {
return viewId === undefined ? <text tone="muted">Loading Chat settings…</text> : <view view={viewId} />;
}
export function renderSettings(v: ChatView): Element {
const scheduler = v.controller.scheduler;
const agents = Object.values(v.controller.state.agents);
return (
<div {...column} gap="large">
<setting heading title="Usage-limit recovery" description="Auto-send applies to all chats for an agent. It holds pending input until actual limit interruption and settlement, then checks account availability. Unknown delivery or account identity requires manual retry." />
<card divided>
{agents.length
? agents.map(
(agent) => (
<setting title={agent.name} description="Automatically send existing follow-ups after a reported usage-limit reset.">
<checkbox id={`auto-limit-agent-${agent.id}`} label="Auto-send after recovery" checked={autoSend(scheduler.preferences, agent.id)} onChange={(event: { value: boolean }) => v.ctx.run(scheduler.setAutoSend(agent.id, event.value))} />
</setting>
),
)
: <text tone="muted">Loading agents…</text>}
</card>
<text style="body" size="xs" tone="muted">
{"Automatic Continue is a separate app-wide switch above, off by default. It generates exactly “Continue” once only when a run stopped because of a usage limit and no other input is pending. User input takes precedence."}
</text>
</div>
);
}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.