Official

market

The plugin marketplace: browse, install through an agent's scan, update and publish plugins, and the marketplace tools of agents in the Plugins workspace.

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/market@0.1.5

Permissions in 0.1.5

  • Marketplace marketOfficial onlyUses the marketplace APIs. Only official plugins can have it.Search, read, install, update and publish marketplace plugins, and sign in to the marketplace
  • Manage plugins plugins.manageOfficial onlyReloads and enables plugins. Only official plugins can have it.Ask for the enable card of a plugin an agent installed
  • Control chats chats.controlHighCreates chats, sends prompts and cancels runs.Open the chat in the Plugins workspace where an agent scans, installs or updates a plugin
  • Provide agent tools tools.provideMediumGives tools to agents.Give agents in the Plugins workspace the marketplace tools
  • Read chats chats.readMediumReads your transcripts and chat lists.Find the agent, model and effort last used in the Plugins workspace
  • Show panels ui.slotsAlways grantedShows views in the listed parts of the window.Show the marketplace pageSlots: center

Files

remote.test.ts2.1 KB
// The registry's answers as it sends them. Run with
// `node --import ./testing/register.mjs --test market/remote.test.ts`.
import assert from "node:assert/strict";
import { test } from "node:test";
import * as Effect from "effect/Effect";
import { parse } from "divergence/effect";
import { accountSchema, commentsSchema, searchAnswerSchema } from "./remote.ts";

test("a listing without a display name or a rating reads as having none", () => {
  const answer = searchAnswerSchema.parse({
    results: [
      {
        id: "divergence/acp",
        name: "acp",
        publisher: { id: "pub_divergence", name: "divergence", displayName: null, verified: true },
        latestVersion: "0.2.0",
        downloads: 0,
        rating: null,
        createdAt: "2026-10-05T03:02:47Z",
      },
    ],
    total: 1,
  });
  const [listing] = answer.results ?? [];
  assert.equal(listing?.publisher?.displayName, null);
  assert.equal(listing?.rating, null);
  assert.equal(listing?.publisher?.name, "divergence");
});

test("an answer in another shape fails with a message that names the field", async () => {
  const error = await Effect.runPromise(
    Effect.flip(parse("market search", searchAnswerSchema, { results: [{ id: 7 }] })),
  );
  assert.equal(error._tag, "ParseFailed");
  assert.match(error.message, /market search/);
  assert.match(error.message, /results\.0\.id/);
});

test("a comment of a deleted user, without stars or version, and an account without a publisher parse", () => {
  const comments = commentsSchema.parse({
    threads: [
      {
        id: "c1",
        user: null,
        body: "Nice",
        stars: null,
        pluginVersion: null,
        replies: [{ id: "r1", user: { name: null } }],
      },
    ],
  });
  assert.equal(comments.threads?.[0]?.user, null);
  const account = accountSchema.parse({ signedIn: true, registry: "https://r", account: { publisher: null } });
  assert.equal(account.signedIn, true);
  const listing = searchAnswerSchema.parse({ results: [{ id: "a/b", description: null, latestVersion: null }] });
  assert.equal(listing.results?.[0]?.description, null);
});

Versions

VersionPublishedPlugin APISizePermissionsStatus
0.1.6latestNov 21, 2026>=5 <671.9 KB6 permissionsListed
0.1.5Nov 18, 2026>=5 <671.4 KB6 permissionsListed
0.1.4Nov 16, 2026>=5 <670.5 KB6 permissionsListed
0.1.3Nov 11, 2026>=5 <662.7 KB6 permissionsListed
0.1.2Nov 9, 2026>=5 <657.5 KB6 permissionsListed
0.1.1Oct 27, 2026>=2 <446.2 KB6 permissionsListed

Reviews and comments

0 threads · 0 reviews

No comments yet.