Official

palette

Built-in command palette (⌘⇧P) and chat search (⌘P).

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/palette@0.2.1

Permissions in 0.2.1

  • Run other plugins' commands commands.runHighRuns commands of other plugins.Run the command you pick, whichever plugin it belongs to
  • Read chats chats.readMediumReads your transcripts and chat lists.Search your chats by title and workspace, and open the one you pick
  • Show panels ui.slotsAlways grantedShows views in the listed parts of the window.Hold the palette, which opens over the windowSlots: title

Files

main.ts1.2 KB
// Register the palette synchronously, then restore its recent-command ordering in the activation scope.
// Catalog loading and handlers use the same state layer as the pure overlay renderer.
import * as Effect from "effect/Effect";
import * as Stream from "effect/Stream";
import { Commands, Events, Views, runPlugin } from "divergence/effect";
import { controller } from "./controller.ts";
import { PaletteState } from "./state.ts";
import { render } from "./view.ts";

const program = Effect.gen(function* () {
  const palette = yield* controller();
  const views = yield* Views;
  const commands = yield* Commands;
  palette.state.view = yield* views.slot("title", (ctx) => render(palette, ctx), { order: 1000, on: ["app_state"] });
  yield* commands.register("palette.commands", palette.openCommands());
  yield* commands.register("palette.chats", palette.openChats());
  yield* Effect.forkScoped(palette.loadRecent(), { startImmediately: true });
  const events = yield* Events;
  yield* events.stream("plugins_changed").pipe(
    Stream.runForEach(() => palette.refresh().pipe(Effect.ignore)),
    Effect.ignore,
    Effect.forkScoped({ startImmediately: true }),
  );
});

export const activate = runPlugin(PaletteState.layer, program);

Versions

VersionPublishedPlugin APISizePermissionsStatus
0.2.5latestNov 21, 2026>=5 <618.4 KB3 permissionsListed
0.2.4Nov 16, 2026>=5 <618.1 KB3 permissionsListed
0.2.3Nov 11, 2026>=5 <613.5 KB3 permissionsListed
0.2.2Nov 9, 2026>=5 <611.5 KB3 permissionsListed
0.2.1Oct 27, 2026>=2 <411.4 KB3 permissionsListed

Reviews and comments

0 threads · 0 reviews

No comments yet.