diff --git a/docs/subsystems/library.md b/docs/subsystems/library.md index 74fd15fcb..c9719c73d 100644 --- a/docs/subsystems/library.md +++ b/docs/subsystems/library.md @@ -39,6 +39,7 @@ Pi's extensions and packages. | RTK in WSL | An agent in a WSL distro (`claude@wsl:Ubuntu`) is listed by its kind (`rtkKind`), and its hook runs in the distro, where Windows' rtk.exe is no command, so it gets the distro's own rtk (lex on Discord). `rtkDistroOf` asks the distro with `wsl.exe -d -e sh -lc` where rtk is (a login or interactive shell's PATH; else `~/.local/bin` or `~/.cargo/bin`, `offPath`), kept 15s; `ReadRTK` lists one `RTKDistro` for each distro its agents are in. Install RTK in WSL `` (`InstallRTKIn`, `POST /api/library/rtk/install` with `distro`, `magpie library rtk install `) runs RTK's own Linux installer in the distro (`curl -fsSL …/install.sh \| sh`, wget where there's no curl). Switching an agent on runs the distro's rtk there (`rtkInstallWSL`: `rtk init -g …` with its folder on PATH, Claude Code pointed at a folder of its own for the OpenCode and Cursor installers), and reads and edits its files under the distro's home as magpie opens it (`rtkClaudeDir`, `rtkCodexDir`, `rtkHome`). A distro that isn't running is never started (#3896): `rtkWSLLive` and `rtkDistroOf` check `agent.WSLRunning` first, its agents are listed `asleep` with the switch off, and switching or installing says to start it (`TestRTKWSLAsleep`). The page gives each distro a card (`rtkDistroCard` in plugins/library/client.js; library-rtk-wsl.test.cjs). | [`rtk_wsl.go`](../../internal/library/rtk_wsl.go) | | billion-context | `SetBili` runs bili's own `bili plugin install ` for an agent switched on and `bili plugin remove ` for one switched off; `ReadBili` reads `bili plugin list` (the agent column, then the status; `installed…` is on, `not installed` off, anything else shown as it is). `InstallBili` runs its README's `npm install -g billion-context --prefix=~/.local` (`npm install -g billion-context` on Windows), and `biliPath` finds bili there when it isn't on PATH. Offered only where bili's plugin works with magpie in front (`biliLanes`): Pi, omp and OpenCode load it in process and still send to magpie, and Claude Code goes through bili's proxy, which forwards to the gateway (`ANTHROPIC_BASE_URL` `…/bili/`). Codex's lane is an MCP server only, ZCode's routes only its own provider, Kimi Code's renames `default_model` to `bili-kimi` at every start and dsh's install failed through dsh's pnpm, so none of those is offered; neither is an agent in WSL. bili's remove doesn't restore a file: it leaves `"packages": []` in Pi's settings and `extensions:` in omp's config, and after magpie rewrote Claude Code's settings.json it deleted `ANTHROPIC_BASE_URL` (Claude Code then went to Anthropic) and put back its own `DISABLE_AUTO_COMPACT`. So switching on keeps each file it writes as it was before and after (`bili-plugins.json` in magpie's config folder), and `biliRestore` after the remove writes the file before back byte for byte when nothing changed it since, else merges JSON (`biliMergeJSON`): what the install changed and is still as installed goes back, a value changed since stays, and what the remove changed beyond the install is put back. Without a record (bili installed outside magpie), only a Claude Code `ANTHROPIC_BASE_URL` the remove took out goes back to the address bili forwarded to. The `.bili-bak` and `.bili-last` files bili leaves beside each file go with it. bili's Claude Code install also writes `DISABLE_AUTO_COMPACT` "1" into the shared settings.json, so a session bili doesn't fold (the Claude desktop app's Code tab, which sets its own `ANTHROPIC_BASE_URL`, bili's #2290, or a window larger than the one magpie serves) has no compaction left and Claude Code answers every message with "Prompt is too long" without sending it. `biliKeepCompact` writes "0" in its place after the install (bili's own reinstall keeps a value that isn't "1"), unless the file had a `DISABLE_AUTO_COMPACT` of the user's own before; `keepBiliCompact`, from `KeepLinked` at start, does the same for a plugin installed before and has the record say "0", so switching off still takes it away. Zed has no plugin of bili's; bili's README lists it through the launcher (`bili zed`, Linux only, which leaves a provider on loopback direct, so it never passes magpie's gateway) and, on every system, the `/bili/` prefix its docs give for a client whose model address can be edited. So Zed is a URL lane (`biliURLLanes`, [`bili_url.go`](../../internal/library/bili_url.go)): switched on, `biliServe` has `bili start --port 8787` answer (`GET /__bili/health` says `{"ok":true}`; one the user runs is used as it is, else magpie runs its own under `KeepLinked`'s context, logging to `bili-start.log`), then `agent.ZedThrough` puts the magpie provider's `api_url` at `http://127.0.0.1:8787/bili//v1` and saves the key for that address in the system's credential store, where Zed looks it up by the address. Zed must be on magpie first. A pick and a sync keep the prefix while magpie answers through it (`zedReach`, the proxy recognition of #1985); switched off, `api_url` goes back to the gateway and magpie's `bili start` ends when no agent goes through the prefix. `keepBiliServe`, from `KeepLinked`, starts it again at magpie's start while Zed is on. `TestBiliZedThroughPrefix`, `TestZedThroughBili`. Hermes is a URL lane too: bili's Hermes plugin (`bili plugin install hermes`, `hermes-plugin/__init__.py` `apply_env`) routes Hermes by setting `HTTPS_PROXY` in its process and nothing else, so magpie's provider at `http://127.0.0.1` never passes it and nothing would fold. Switched on, `agent.HermesThrough` puts the `base_url` of magpie's entries (`magpie`, `magpie-anthropic`) behind the prefix in the connected config and every profile that has them; `hermesEntries` keeps a prefix on loopback with a path (`hermesPrefix`) across a pick and a sync, and `wiringOff` takes it as magpie's (`reachesMagpie`). A profile that gets magpie's entries later goes to the gateway until Hermes is switched on again. `TestBiliHermesThroughPrefix`, `TestHermesThroughBili`. What bili saved is its own count ([`bili_saved.go`](../../internal/library/bili_saved.go)): bili 0.1.213 has no command that prints it, and its running proxy serves its dashboard's numbers at `GET /__bili/overview`, summed over every session in its one store for every agent and lane. `readBiliSaved` asks the bilis registered in `/instances/.json` (`$XDG_STATE_HOME` or `~/.local/state`, then `billion-context`, on every system), newest `startedAt` first, loopback `http` origins only, within 3s in all; a file a crashed bili left behind just fails. The first answer is `BiliView.Saved` (`netSavedTotal` as `net`, only with `hasFoldData`; `grossSavedTotal`, which bili calls an upper bound; `foldsTotal`, `sessions`, `requests`) and is kept in `bili-saved.json` in magpie's config folder, shown with `live: false` and its time when no bili answers. magpie never starts a bili to ask (it would auto-update and start watchers). `TestBiliSavedFromRunningBili` (the literal overview in `testdata/bili`), `TestBiliSavedNoFolds`, `TestBiliSavedNoneYet`, `TestBiliSavedOnThePage`, `TestBiliLoopback`. `TestBiliClaudeKeepsAutoCompact`, `TestBiliOnOffExact`, `TestBiliClaudeKeepsMagpiesRoute`, `TestBiliOffWithoutRecord`; the page's tab is `renderBili` (library-bili.test.cjs). | [`bili.go`](../../internal/library/bili.go) | | Pi extensions | Each Pi here, this computer's and each WSL distro's (`piPlaces`), with the extensions and packages it loads, read by Pi's own rules (`@earendil-works/pi-coding-agent` 1.4: `resolveExtensionEntries`, `isEnabledByOverrides`, `applyPatterns`). An extension is a `.ts`/`.js` file or a folder (package.json `pi.extensions`, else `index.ts`, else `index.js`) in `/extensions`, or a path its settings.json `extensions` lists; a package is an entry of settings.json `packages`. Built-in extensions (`builtin:mcp` and the rest) aren't listed: `builtin:mcp` carries the MCP servers magpie gives Pi. `SetPiExtension` writes what `pi config` writes (`-path` off; the `-` taken out and `+path` only where still excluded, on); `SetPiPackage` sets a package's four filters to `[]` (off) or takes them out (on), and refuses an entry that already picks some parts (`filtered`, changed in `pi config`). `CopyPi` gives a package to another Pi as its settings.json entry, which Pi installs itself when it next starts (npm into `/npm`, git into `/git`), never as copied files; it refuses a local package, and one the other Pi has already by Pi's identity (npm name, git host/path). An extension is copied as its file or folder into the other's `extensions`, leaving out `node_modules`, `.git` and symlinks, never over one of the same name, and the page says to run `npm install` there when it has dependencies (leokon3 on Discord). A settings.json that can't be parsed lists nothing and is never written; a stopped distro is never started (`asleep`); every write is backed up first. `GET`/`POST /api/library/pi`, `POST /api/library/pi/copy`; the Library's Pi packages tab, shown while a Pi is here (`renderPi` in plugins/library/client.js; library-pi-extensions.test.cjs). | [`piext.go`](../../internal/library/piext.go) | +| Pi market | `MarketPiPackages` lists npm's packages with the keyword `pi-package`, the way pi.dev's gallery finds them: the 500 most downloaded (two pages of npm's search, sorted by last month's downloads), cached 6h in memory and on disk, else the bundled `market_pi.json`; a search of two or more characters adds npm's own `keywords:pi-package ` search, and a search npm doesn't answer keeps the popular matches with a `SearchError` (the page says so). Every name is held to npm's rules (`piNameRe`), and a repository link is https only. `InstallPiPackage` runs `pi install npm:` with `PI_CODING_AGENT_DIR` set to that Pi's folder (`piRun`), then checks settings.json lists it; `RemovePiPackage` runs `pi remove `, which drops every entry of the same identity and uninstalls it. A Pi with no `pi` here (a WSL distro's, or this computer's with no CLI on PATH) gets the settings.json entry written, or taken out, instead, and Pi installs it when it next starts (`pending`). Both refuse an unreadable settings.json, install refuses a package the Pi has by Pi's identity, and each write is backed up first. `GET /api/library/market/pi`, `POST /api/library/pi/install`, `POST /api/library/pi/remove`; Discover under the Pi packages tab (`piCard`, `installPi`, `confirmRemovePi` in plugins/library/client.js; library-pi-market.test.cjs) marks a package every running Pi has Installed, and Install asks which Pi when several lack it (nineruiing on X). | [`pimarket.go`](../../internal/library/pimarket.go) | ## Runtime path @@ -116,7 +117,7 @@ go test -tags nogui ./internal/library -run 'TestWSLStopped' go test -tags nogui ./internal/library -run 'TestRTKWSL' go test -tags nogui ./internal/library -run 'TestBili|TestParseBiliList' go test -tags nogui ./internal/library -run 'TestPi' -node --test internal/gui/tests/library-pi-extensions.test.cjs +node --test internal/gui/tests/library-pi-extensions.test.cjs internal/gui/tests/library-pi-market.test.cjs node --test internal/gui/tests/library-rtk-wsl.test.cjs node --test internal/gui/tests/library-wsl-asleep.test.cjs node --test internal/gui/tests/skill-off-here.test.cjs internal/gui/tests/mcp-local-server.test.cjs internal/gui/tests/skill-handover.test.cjs diff --git a/internal/cli/settings_parity_test.go b/internal/cli/settings_parity_test.go index 0268fe32c..93bcab241 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -358,6 +358,7 @@ var notYet = map[string]string{ "GET /api/library/icon": W, // library.go "GET /api/library/market/servers": L, // library.go "GET /api/library/market/skills": L, // library.go + "GET /api/library/market/pi": L, // library.go "GET /api/library/mcp-signin/{id}": L, // library.go "GET /api/library/pi": L, // library.go "GET /api/library/rtk": L, // library.go @@ -372,6 +373,8 @@ var notYet = map[string]string{ "POST /api/library/mcp/config": L, // library.go "POST /api/library/pi": L, // library.go "POST /api/library/pi/copy": L, // library.go + "POST /api/library/pi/install": L, // library.go + "POST /api/library/pi/remove": L, // library.go "POST /api/library/projects/choose": W, // library.go "POST /api/library/reveal": W, // library.go "POST /api/library/rtk": L, // library.go diff --git a/internal/gui/assets/plugins/library/client.js b/internal/gui/assets/plugins/library/client.js index 0fb2d3488..f0b6de5b5 100644 --- a/internal/gui/assets/plugins/library/client.js +++ b/internal/gui/assets/plugins/library/client.js @@ -1798,14 +1798,15 @@ magpie.plugin("library", (ctx) => { const tags = [tag(k.kind)]; if (!k.installed) tags.push(tag(t("Not installed"), "", t("Pi installs it when it next starts"))); else if (k.version) tags.push(tag("v" + k.version)); - list.append(piRow(p, others, { pkg: k.source }, k.name, k.source, k.on, tags, k.filtered)); + list.append(piRow(p, others, { pkg: k.source }, k.name, k.source, k.on, tags, k.filtered, () => confirmRemovePi(p, k))); } if (!(p.extensions || []).length && !(p.packages || []).length) list.append(el("div", "lib-none", t("No extensions or packages yet."))); } body.append(list); } + if (live.length) body.append(discover("pi")); } - function piRow(p, others, what, name, sub, on, tags, filtered) { + function piRow(p, others, what, name, sub, on, tags, filtered, remove) { const key = p.id + " " + (what.ext || what.pkg); const row = el("div", "row lib-row lib-pi-row"); row.dataset.id = what.ext || what.pkg; @@ -1825,6 +1826,13 @@ magpie.plugin("library", (ctx) => { if (filtered) sw.title = t("This entry loads only some of the package; change it with pi config"); sw.disabled = !!filtered || piBusy.has(key); row.append(sw); + if (remove) { + const rm = button("", "lib-icon danger lib-rm lib-pi-rm", remove); + rm.append(svg(GLYPH.trash, 13, 1.4)); + rm.title = t("Remove"); + rm.disabled = piBusy.has(key); + row.append(rm); + } return row; } async function setPi(p, what, name, on) { @@ -7105,6 +7113,7 @@ magpie.plugin("library", (ctx) => { const market = { mcp: { q: "", items: null, error: "", loading: false, seq: 0, timer: 0, custom: null, shown: 0 }, skills: { q: "", items: null, error: "", loading: false, seq: 0, timer: 0, shown: 0 }, + pi: { q: "", items: null, error: "", loading: false, seq: 0, timer: 0, shown: 0 }, }; // how many cards a list shows at first, and each Show more adds const MARKET_PAGE = 60; @@ -7116,7 +7125,7 @@ magpie.plugin("library", (ctx) => { m.loading = true; drawMarket(kind); try { - const r = await api("library/market/" + (kind === "mcp" ? "servers" : "skills") + "?q=" + encodeURIComponent(m.q.trim())); + const r = await api("library/market/" + ({ mcp: "servers", skills: "skills", pi: "pi" })[kind] + "?q=" + encodeURIComponent(m.q.trim())); if (seq !== m.seq) return; m.items = r.items || []; m.shown = MARKET_PAGE; @@ -7136,6 +7145,7 @@ magpie.plugin("library", (ctx) => { m.loading = false; drawMarket(kind); if (kind === "skills") describeSkills(); + if (kind === "pi") return; // The market reads the library as it is now; one it calls added that // this page doesn't list was added elsewhere — another window, the CLI. const mine = new Set((kind === "mcp" ? lib?.servers : lib?.skills)?.map((x) => x.name) || []); @@ -7171,7 +7181,7 @@ magpie.plugin("library", (ctx) => { const inp = el("input"); inp.type = "search"; inp.dataset.lib = "market-" + kind; - inp.placeholder = kind === "mcp" ? t("Search MCP servers — GitHub, Postgres, Figma…") : t("Search skills on skills.sh — react, pdf, testing…"); + inp.placeholder = kind === "mcp" ? t("Search MCP servers — GitHub, Postgres, Figma…") : kind === "pi" ? t("Search Pi packages on npm — mcp, web, subagents…") : t("Search skills on skills.sh — react, pdf, testing…"); inp.spellcheck = false; inp.autocomplete = "off"; inp.value = m.q; @@ -7179,7 +7189,7 @@ magpie.plugin("library", (ctx) => { m.q = inp.value; clearTimeout(m.timer); const q = m.q.trim(); - if (kind === "skills" && q.length === 1) return; + if (kind !== "mcp" && q.length === 1) return; m.timer = setTimeout(() => fetchMarket(kind), 320); }; inp.onkeydown = (e) => { @@ -7202,7 +7212,7 @@ magpie.plugin("library", (ctx) => { box.classList.toggle("loading", m.loading); const note = box.querySelector(".mk-note"); note.textContent = q && m.items ? (m.items.length === 1 ? t("1 result") : t("{n} results", { n: m.items.length })) - : kind === "mcp" ? t("Featured, and the official MCP Registry") : t("Popular on skills.sh"); + : kind === "mcp" ? t("Featured, and the official MCP Registry") : kind === "pi" ? t("Most downloaded on npm") : t("Popular on skills.sh"); const grid = box.querySelector(".mk-grid"); grid.replaceChildren(); if (!m.items) { @@ -7225,6 +7235,7 @@ magpie.plugin("library", (ctx) => { if (m.error && m.failed && m.items.length) { grid.append(el("div", "mk-msg mk-partial", kind === "mcp" ? t("The MCP Registry didn't answer ({error}), so these are only magpie's featured servers that match.", { error: m.failed.cause }) + : kind === "pi" ? t("npm's search didn't answer ({error}), so these are only the matches among the most downloaded packages.", { error: m.failed.cause }) : t("skills.sh's search didn't answer ({error}), so these are only the matches among magpie's picks and the most installed skills.", { error: m.failed.cause }))); } else if (m.error) grid.append(el("div", "mk-msg err", m.error)); if (kind === "mcp" && q && m.custom) grid.append(customAt(q, m.custom, m.items.length)); @@ -7232,10 +7243,12 @@ magpie.plugin("library", (ctx) => { grid.append(el("div", "mk-msg", q ? t("Nothing matches “{q}”.", { q }) : t("Nothing to show."))); return; } - for (const x of m.items.slice(0, m.shown)) grid.append(kind === "mcp" ? serverCard(x) : skillCard(x)); + for (const x of m.items.slice(0, m.shown)) grid.append(cardOf(kind, x)); moreCards(kind, grid); } + const cardOf = (kind, x) => kind === "mcp" ? serverCard(x) : kind === "pi" ? piCard(x) : skillCard(x); + // The rest of a long list, a page at a time: the cards added under the // ones shown, which stay where they are. function moreCards(kind, grid) { @@ -7245,7 +7258,7 @@ magpie.plugin("library", (ctx) => { const more = button(t("Show more ({n} left)", { n: left.toLocaleString(intlLang()) }), "mk-more", () => { const from = m.shown; m.shown += MARKET_PAGE; - more.before(...m.items.slice(from, m.shown).map((x) => kind === "mcp" ? serverCard(x) : skillCard(x))); + more.before(...m.items.slice(from, m.shown).map((x) => cardOf(kind, x))); more.remove(); moreCards(kind, grid); if (kind === "skills") describeSkills(); @@ -7588,6 +7601,102 @@ magpie.plugin("library", (ctx) => { return ok; } + // A package from Pi's market: who has it, or Install into a Pi (picked + // when there are several). Pi itself installs it. + const piLive = () => (piView?.pis || []).filter((p) => !p.asleep && !p.err && !isHidden({ id: p.id })); + const piHas = (x) => piLive().filter((p) => (p.packages || []).some((k) => k.kind === "npm" && k.name === x.name)); + function piCard(x) { + const has = piHas(x); + const c = el("div", "mk-card" + (has.length ? " have" : "")); + c.dataset.id = x.source; + const top = el("div", "mk-top"); + const who = el("div", "mk-who"); + const nm = el("div", "mk-name"); + nm.append(el("span", "mk-title", x.name)); + who.append(nm); + const meta = el("div", "mk-meta"); + if (x.publisher) meta.append(el("span", "mk-pub", x.publisher)); + if (x.version) meta.append(el("span", "mk-badge", "v" + x.version)); + who.append(meta); + top.append(logo(x.icon, x.name), who); + const d = el("p", "mk-desc", x.description || ""); + d.title = x.description || ""; + const foot = el("div", "mk-foot"); + if (x.downloads) { + const n = el("span", "mk-installs"); + n.append(svg(GLYPH.down, 11, 1.5), el("span", "", compact(x.downloads))); + n.title = t("{n} downloads last month", { n: x.downloads.toLocaleString(intlLang()) }); + foot.append(n); + } + foot.append(extLink(x.repo || x.npm, x.repo ? t("Source") : "npm"), el("span", "grow")); + const live = piLive(); + const want = live.filter((p) => !has.includes(p)); + if (has.length && !want.length) { + const b = el("span", "mk-have"); + b.append(svg(CHECK, 11, 2), el("span", "", t("Installed"))); + b.title = t("In {agents}", { agents: has.map((p) => p.name).join(", ") }); + foot.append(b); + } else if (want.length) { + const busy = want.some((p) => piBusy.has(p.id + " " + x.source)); + const b = button(busy ? t("Installing…") : t("Install"), "action mk-add", () => { + if (want.length === 1) return installPi(want[0], x); + openProtoMenu(b, want.map((p) => ({ v: p.id, name: p.name, literalName: true, note: "" })), "", (id) => installPi(want.find((p) => p.id === id), x), "Install into", "", "right"); + }); + if (busy) { b.disabled = true; b.classList.add("busy"); } + if (has.length) b.title = t("In {agents}", { agents: has.map((p) => p.name).join(", ") }); + foot.append(b); + } + c.append(top, d, foot); + return c; + } + async function installPi(p, x) { + if (!p) return; + const key = p.id + " " + x.source; + piBusy.add(key); + drawMarket("pi"); + status(t("Installing {name} into {agent}…", { name: x.name, agent: p.name }), "", 300000); + try { + const v = await api("library/pi/install", { pi: p.id, source: x.source }); + piView = v; + status(v.pending + ? t("{name} is in {agent}'s packages now: Pi installs it when it next starts", { name: x.name, agent: p.name }) + : t("{name} is installed in {agent}: Pi loads it when it next starts, or at /reload", { name: x.name, agent: p.name }), "ok", 8000); + } catch (e) { + status(e.message, "err", 10000); + } + piBusy.delete(key); + if (tab === "pi") render(); + } + function confirmRemovePi(p, k) { + const ed = el("div", "editor lib-editor lib-rmone"); + const head = el("div", "ehead"); + head.append(glyph(GLYPH.trash), el("b", "", t("Remove {name} from {agent}?", { name: k.name, agent: p.name }))); + ed.append(head); + ed.append(el("p", "lib-confirm", p.wsl + ? t("It is taken out of {agent}'s settings.json; Pi stops loading it when it next starts.", { agent: p.name }) + : t("pi remove takes it out of {agent}'s settings.json and uninstalls it.", { agent: p.name }))); + const bar = el("div", "bar"); + const go = button(t("Remove"), "primary danger-fill", async () => { + go.disabled = true; + const key = p.id + " " + k.source; + piBusy.add(key); + try { + piView = await api("library/pi/remove", { pi: p.id, source: k.source }); + status(t("{name} removed from {agent}", { name: k.name, agent: p.name }), "ok", 6000); + closeLibModal(true); + } catch (e) { + status(e.message, "err", 10000); + go.disabled = false; + } + piBusy.delete(key); + if (tab === "pi") render(); + }); + bar.append(el("span", "grow"), button(t("Cancel"), "", closeLibModal), go); + ed.append(bar); + modal = { save: () => go.click() }; + openLib(ed); + } + function skillSheet(x) { const all = skillAgents(); let agents = all.map((a) => a.id); diff --git a/internal/gui/assets/plugins/library/i18n.js b/internal/gui/assets/plugins/library/i18n.js index cd2164526..44d133400 100644 --- a/internal/gui/assets/plugins/library/i18n.js +++ b/internal/gui/assets/plugins/library/i18n.js @@ -893,6 +893,18 @@ magpie.strings({ "No extensions or packages yet.": "还没有扩展或包。", "Copy to…": "复制到…", "Copy to another Pi": "复制到另一个 Pi", + "Search Pi packages on npm — mcp, web, subagents…": "在 npm 上搜索 Pi 包 — mcp、web、subagents…", + "Most downloaded on npm": "npm 下载最多", + "npm's search didn't answer ({error}), so these are only the matches among the most downloaded packages.": "npm 搜索没有响应({error}),下面只是下载最多的包里匹配的。", + "{n} downloads last month": "上个月下载 {n} 次", + "In {agents}": "已在 {agents}", + "Install into": "安装到", + "Installing {name} into {agent}…": "正在把 {name} 安装到 {agent}…", + "{name} is installed in {agent}: Pi loads it when it next starts, or at /reload": "{name} 已安装到 {agent}:Pi 下次启动或 /reload 时加载", + "Remove {name} from {agent}?": "从 {agent} 移除 {name}?", + "It is taken out of {agent}'s settings.json; Pi stops loading it when it next starts.": "它会从 {agent} 的 settings.json 中移除;Pi 下次启动时不再加载。", + "pi remove takes it out of {agent}'s settings.json and uninstalls it.": "pi remove 会把它从 {agent} 的 settings.json 中移除并卸载。", + "{name} removed from {agent}": "已从 {agent} 移除 {name}", "{agent} loads {name}": "{agent} 加载 {name}", "This entry loads only some of the package; change it with pi config": "这一项只加载包的一部分;请用 pi config 更改", "{name} is on for {agent}: Pi loads it when it next starts, or at /reload": "{name} 已为 {agent} 打开:Pi 下次启动或 /reload 时加载它", @@ -1814,6 +1826,18 @@ magpie.strings({ "No extensions or packages yet.": "還沒有擴充或套件。", "Copy to…": "複製到…", "Copy to another Pi": "複製到另一個 Pi", + "Search Pi packages on npm — mcp, web, subagents…": "在 npm 上搜尋 Pi 套件 — mcp、web、subagents…", + "Most downloaded on npm": "npm 下載最多", + "npm's search didn't answer ({error}), so these are only the matches among the most downloaded packages.": "npm 搜尋沒有回應({error}),下面只是下載最多的套件裡符合的。", + "{n} downloads last month": "上個月下載 {n} 次", + "In {agents}": "已在 {agents}", + "Install into": "安裝到", + "Installing {name} into {agent}…": "正在把 {name} 安裝到 {agent}…", + "{name} is installed in {agent}: Pi loads it when it next starts, or at /reload": "{name} 已安裝到 {agent}:Pi 下次啟動或 /reload 時載入", + "Remove {name} from {agent}?": "從 {agent} 移除 {name}?", + "It is taken out of {agent}'s settings.json; Pi stops loading it when it next starts.": "它會從 {agent} 的 settings.json 中移除;Pi 下次啟動時不再載入。", + "pi remove takes it out of {agent}'s settings.json and uninstalls it.": "pi remove 會把它從 {agent} 的 settings.json 中移除並解除安裝。", + "{name} removed from {agent}": "已從 {agent} 移除 {name}", "{agent} loads {name}": "{agent} 載入 {name}", "This entry loads only some of the package; change it with pi config": "這一項只載入套件的一部分;請用 pi config 變更", "{name} is on for {agent}: Pi loads it when it next starts, or at /reload": "{name} 已為 {agent} 開啟:Pi 下次啟動或 /reload 時載入它", @@ -2735,6 +2759,18 @@ magpie.strings({ "No extensions or packages yet.": "拡張機能もパッケージもまだありません。", "Copy to…": "コピー先…", "Copy to another Pi": "別の Pi にコピー", + "Search Pi packages on npm — mcp, web, subagents…": "npm で Pi パッケージを検索 — mcp、web、subagents…", + "Most downloaded on npm": "npm でダウンロード数上位", + "npm's search didn't answer ({error}), so these are only the matches among the most downloaded packages.": "npm の検索が応答しませんでした({error})。ダウンロード数上位のパッケージから一致したものだけを表示しています。", + "{n} downloads last month": "先月 {n} 回ダウンロード", + "In {agents}": "{agents} にあります", + "Install into": "インストール先", + "Installing {name} into {agent}…": "{name} を {agent} にインストール中…", + "{name} is installed in {agent}: Pi loads it when it next starts, or at /reload": "{name} を {agent} にインストールしました。Pi の次回起動時か /reload で読み込まれます", + "Remove {name} from {agent}?": "{agent} から {name} を削除しますか?", + "It is taken out of {agent}'s settings.json; Pi stops loading it when it next starts.": "{agent} の settings.json から外します。Pi は次回起動時から読み込みません。", + "pi remove takes it out of {agent}'s settings.json and uninstalls it.": "pi remove で {agent} の settings.json から外し、アンインストールします。", + "{name} removed from {agent}": "{agent} から {name} を削除しました", "{agent} loads {name}": "{agent} が {name} を読み込む", "This entry loads only some of the package; change it with pi config": "この項目はパッケージの一部だけを読み込みます。pi config で変更してください", "{name} is on for {agent}: Pi loads it when it next starts, or at /reload": "{agent} で {name} をオンにしました。Pi は次回起動時か /reload で読み込みます", @@ -3656,6 +3692,18 @@ magpie.strings({ "No extensions or packages yet.": "Noch keine Erweiterungen oder Pakete.", "Copy to…": "Kopieren nach…", "Copy to another Pi": "Zu einem anderen Pi kopieren", + "Search Pi packages on npm — mcp, web, subagents…": "Pi-Pakete auf npm suchen — mcp, web, subagents…", + "Most downloaded on npm": "Auf npm am meisten geladen", + "npm's search didn't answer ({error}), so these are only the matches among the most downloaded packages.": "Die npm-Suche hat nicht geantwortet ({error}), daher sind das nur die Treffer unter den meistgeladenen Paketen.", + "{n} downloads last month": "{n} Downloads im letzten Monat", + "In {agents}": "In {agents}", + "Install into": "Installieren in", + "Installing {name} into {agent}…": "{name} wird in {agent} installiert…", + "{name} is installed in {agent}: Pi loads it when it next starts, or at /reload": "{name} ist in {agent} installiert: Pi lädt es beim nächsten Start oder bei /reload", + "Remove {name} from {agent}?": "{name} aus {agent} entfernen?", + "It is taken out of {agent}'s settings.json; Pi stops loading it when it next starts.": "Es wird aus der settings.json von {agent} entfernt; Pi lädt es ab dem nächsten Start nicht mehr.", + "pi remove takes it out of {agent}'s settings.json and uninstalls it.": "pi remove entfernt es aus der settings.json von {agent} und deinstalliert es.", + "{name} removed from {agent}": "{name} aus {agent} entfernt", "{agent} loads {name}": "{agent} lädt {name}", "This entry loads only some of the package; change it with pi config": "Dieser Eintrag lädt nur einen Teil des Pakets; ändere ihn mit pi config", "{name} is on for {agent}: Pi loads it when it next starts, or at /reload": "{name} ist für {agent} an: Pi lädt es beim nächsten Start oder bei /reload", diff --git a/internal/gui/library.go b/internal/gui/library.go index 75a5991bd..789e435fd 100644 --- a/internal/gui/library.go +++ b/internal/gui/library.go @@ -209,6 +209,10 @@ func libraryRoutes(mux *http.ServeMux, w Windows) { list, err := library.MarketSkills(r.URL.Query().Get("q")) writeJSON(rw, marketOf(list, err)) }) + mux.HandleFunc("GET /api/library/market/pi", func(rw http.ResponseWriter, r *http.Request) { + list, err := library.MarketPiPackages(r.URL.Query().Get("q")) + writeJSON(rw, marketOf(list, err)) + }) mux.HandleFunc("POST /api/library/market/about", func(rw http.ResponseWriter, r *http.Request) { var in struct{ IDs []string } if err := json.NewDecoder(r.Body).Decode(&in); err != nil { @@ -320,6 +324,34 @@ func libraryRoutes(mux *http.ServeMux, w Windows) { } writeJSON(rw, v) }) + // a package from Pi's market installed into a Pi, or one of a Pi's + // packages removed, by Pi's own install and remove + mux.HandleFunc("POST /api/library/pi/install", func(rw http.ResponseWriter, r *http.Request) { + var in struct{ Pi, Source string } + if err := json.NewDecoder(r.Body).Decode(&in); err != nil { + fail(rw, err) + return + } + v, err := library.InstallPiPackage(in.Pi, in.Source) + if err != nil { + fail(rw, err) + return + } + writeJSON(rw, v) + }) + mux.HandleFunc("POST /api/library/pi/remove", func(rw http.ResponseWriter, r *http.Request) { + var in struct{ Pi, Source string } + if err := json.NewDecoder(r.Body).Decode(&in); err != nil { + fail(rw, err) + return + } + v, err := library.RemovePiPackage(in.Pi, in.Source) + if err != nil { + fail(rw, err) + return + } + writeJSON(rw, v) + }) // RTK:which agents have its hook, switching one on or off, and // installing rtk when the page is asked to mux.HandleFunc("GET /api/library/rtk", func(rw http.ResponseWriter, r *http.Request) { diff --git a/internal/gui/tests/library-pi-market.test.cjs b/internal/gui/tests/library-pi-market.test.cjs new file mode 100644 index 000000000..e75e9c15c --- /dev/null +++ b/internal/gui/tests/library-pi-market.test.cjs @@ -0,0 +1,211 @@ +// Run with Node's test runner and Playwright on the module path; see README.md. +// nineruiing on X: a market of Pi's packages. Under the Pi packages tab, +// Discover lists npm's most downloaded pi-package packages; a package every +// running Pi has shows Installed; Install goes to the one Pi that lacks it, +// or asks which when several do (never a stopped distro); a search npm +// couldn't answer says so over what was found; a package's trash button +// asks first and sends pi remove. In every language, both engines, at a +// phone's width too. No backend: the API is faked here. +const assert = require("node:assert/strict"); +const fs = require("node:fs/promises"); +const path = require("node:path"); +const { test } = require("node:test"); +const { chromium, webkit } = require("playwright"); + +const assets = path.resolve(__dirname, "../assets"); +const HOME = "C:\\Users\\nine"; +const lib = () => ({ + dir: `${HOME}\\.magpie\\library`, backups: `${HOME}\\.magpie\\backups`, home: HOME, + agents: [ + { id: "pi", name: "Pi", icon: "", skills: `${HOME}\\.pi\\agent\\skills` }, + { id: "pi@wsl:Ubuntu", name: "Pi · WSL Ubuntu", icon: "", skills: "\\\\wsl.localhost\\Ubuntu\\home\\nine\\.pi\\agent\\skills", wsl: "Ubuntu" }, + ], + instructions: { agents: [], sets: [] }, foundServers: [], projects: [], foundSkills: [], skills: [], servers: [], +}); +const pkg = (name, extra) => ({ source: "npm:" + name, name, kind: "npm", on: true, installed: true, version: "1.0.0", ...extra }); +// state: which Pi has which package +function piView(has) { + return { + pis: [ + { id: "pi", name: "Pi", icon: "", dir: `${HOME}\\.pi\\agent`, extensions: [], packages: has.pi.map((n) => pkg(n)) }, + { id: "pi@wsl:Ubuntu", name: "Pi · WSL Ubuntu", icon: "", wsl: "Ubuntu", dir: "\\\\wsl.localhost\\Ubuntu\\home\\nine\\.pi\\agent", extensions: [], packages: has.ubuntu.map((n) => pkg(n, { installed: false })) }, + { id: "pi@wsl:Arch", name: "Pi · WSL Arch", icon: "", wsl: "Arch", asleep: true, extensions: [], packages: [] }, + ], + }; +} +const card = (name, downloads, extra) => ({ + source: "npm:" + name, name, version: "0.3.1", description: name + " for Pi", publisher: "nine", downloads, + npm: "https://www.npmjs.com/package/" + name, ...extra, +}); +const popular = [ + card("pi-mcp-adapter", 48210, { repo: "https://github.com/nicobailon/pi-mcp-adapter" }), + card("pi-web-access", 20113), + card("pi-subagents", 9050), +]; + +function server(lang, calls) { + const has = { pi: ["pi-mcp-adapter", "pi-subagents"], ubuntu: ["pi-mcp-adapter"] }; + return async (route) => { + const req = route.request(), url = new URL(req.url()); + if (url.pathname === "/boot.js") return route.fulfill({ contentType: "text/javascript", body: `window.bootPrefs = {lang:"${lang}",theme:"light",web:true};` }); + if (url.pathname === "/wails/runtime.js") return route.fulfill({ contentType: "text/javascript", body: "export const Window = {};" }); + if (url.pathname === "/api/state") return route.fulfill({ json: { agents: [], profiles: [], settings: { lang, theme: "light" } } }); + if (url.pathname === "/api/plugins") return route.fulfill({ json: { plugins: [] } }); + if (url.pathname === "/api/library") return route.fulfill({ json: lib() }); + if (url.pathname === "/api/library/pi") return route.fulfill({ json: piView(has) }); + if (url.pathname === "/api/library/market/pi") { + const q = url.searchParams.get("q") || ""; + calls.push(["market", q]); + if (!q) return route.fulfill({ json: { items: popular } }); + // npm's search is down: only the popular matches + return route.fulfill({ json: { items: popular.filter((x) => x.name.includes(q)), error: "npm: timeout", failed: "npm", cause: "timeout" } }); + } + if (url.pathname === "/api/library/pi/install") { + const b = req.postDataJSON(); + calls.push(["install", b]); + has[b.pi === "pi" ? "pi" : "ubuntu"].push(b.source.slice(4)); + return route.fulfill({ json: { ...piView(has), pending: b.pi !== "pi" } }); + } + if (url.pathname === "/api/library/pi/remove") { + const b = req.postDataJSON(); + calls.push(["remove", b]); + const k = b.pi === "pi" ? "pi" : "ubuntu"; + has[k] = has[k].filter((n) => "npm:" + n !== b.source); + return route.fulfill({ json: piView(has) }); + } + if (url.pathname === "/api/usage/quotas") return route.fulfill({ json: [] }); + if (url.pathname === "/api/groups") return route.fulfill({ json: { groups: [] } }); + if (url.pathname === "/api/providers") return route.fulfill({ json: { providers: [], gateway: { running: true } } }); + if (url.pathname.startsWith("/api/")) return route.fulfill({ json: {} }); + const file = path.join(assets, url.pathname === "/" ? "index.html" : url.pathname); + const contentType = { ".html": "text/html", ".js": "text/javascript", ".css": "text/css", ".svg": "image/svg+xml", ".png": "image/png" }[path.extname(file)]; + await route.fulfill({ body: await fs.readFile(file), contentType }); + }; +} + +const words = { + en: { + tab: "Pi packages", note: "Most downloaded on npm", install: "Install", installed: "Installed", into: "Install into", remove: "Remove", + pending: "pi-subagents is in Pi · WSL Ubuntu's packages now: Pi installs it when it next starts", + done: "pi-web-access is installed in Pi: Pi loads it when it next starts, or at /reload", + partial: "npm's search didn't answer (timeout), so these are only the matches among the most downloaded packages.", + ask: "Remove pi-subagents from Pi?", removed: "pi-subagents removed from Pi", + }, + zh: { + tab: "Pi 包", note: "npm 下载最多", install: "安装", installed: "已安装", into: "安装到", remove: "移除", + pending: "pi-subagents 已加入 Pi · WSL Ubuntu 的包:Pi 下次启动时安装它", + done: "pi-web-access 已安装到 Pi:Pi 下次启动或 /reload 时加载", + partial: "npm 搜索没有响应(timeout),下面只是下载最多的包里匹配的。", + ask: "从 Pi 移除 pi-subagents?", removed: "已从 Pi 移除 pi-subagents", + }, + "zh-TW": { + tab: "Pi 套件", note: "npm 下載最多", install: "安裝", installed: "已安裝", into: "安裝到", remove: "移除", + pending: "pi-subagents 已加入 Pi · WSL Ubuntu 的套件:Pi 下次啟動時安裝它", + done: "pi-web-access 已安裝到 Pi:Pi 下次啟動或 /reload 時載入", + partial: "npm 搜尋沒有回應(timeout),下面只是下載最多的套件裡符合的。", + ask: "從 Pi 移除 pi-subagents?", removed: "已從 Pi 移除 pi-subagents", + }, + ja: { + tab: "Pi パッケージ", note: "npm でダウンロード数上位", install: "インストール", installed: "インストール済み", into: "インストール先", remove: "削除", + pending: "pi-subagents を Pi · WSL Ubuntu のパッケージに追加しました。Pi が次回起動時にインストールします", + done: "pi-web-access を Pi にインストールしました。Pi の次回起動時か /reload で読み込まれます", + partial: "npm の検索が応答しませんでした(timeout)。ダウンロード数上位のパッケージから一致したものだけを表示しています。", + ask: "Pi から pi-subagents を削除しますか?", removed: "Pi から pi-subagents を削除しました", + }, + de: { + tab: "Pi-Pakete", note: "Auf npm am meisten geladen", install: "Installieren", installed: "Installiert", into: "Installieren in", remove: "Entfernen", + pending: "pi-subagents ist jetzt in den Paketen von Pi · WSL Ubuntu: Pi installiert es beim nächsten Start", + done: "pi-web-access ist in Pi installiert: Pi lädt es beim nächsten Start oder bei /reload", + partial: "Die npm-Suche hat nicht geantwortet (timeout), daher sind das nur die Treffer unter den meistgeladenen Paketen.", + ask: "pi-subagents aus Pi entfernen?", removed: "pi-subagents aus Pi entfernt", + }, +}; + +for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium", "webkit"])) { + test(engine + ": Pi's market lists npm's packages, installs into a Pi and removes from one", async (t) => { + assert(["chromium", "webkit"].includes(engine), "BROWSER must be chromium or webkit"); + const browser = await (engine === "webkit" ? webkit.launch() : chromium.launch({ channel: "chromium" })); + const errors = []; + t.after(async () => { + if (errors.length) console.log(errors); + await browser.close(); + }); + for (const lang of Object.keys(words)) for (const width of [980, 380]) { + await t.test(`${lang} at ${width}px`, async () => { + const w = words[lang], calls = []; + const ctx = await browser.newContext({ viewport: { width, height: 900 } }); + const page = await ctx.newPage(); + page.setDefaultTimeout(5000); + page.setDefaultNavigationTimeout(60000); + page.on("pageerror", (e) => errors.push(e.message)); + await page.route("**/*", server(lang, calls)); + await page.goto("http://magpie.test/"); + await page.locator('button[data-view="library"]').click(); + const v = page.locator("#view-library"); + await v.locator(".lib-tabs").getByText(w.tab, { exact: true }).click(); + const mk = v.locator('.mk[data-market="pi"]'); + const cardOf = (name) => mk.locator(`.mk-card[data-id="npm:${name}"]`); + await cardOf("pi-mcp-adapter").waitFor(); + assert.equal(await mk.locator(".mk-note").textContent(), w.note); + assert.deepEqual(await mk.locator(".mk-title").allTextContents(), ["pi-mcp-adapter", "pi-web-access", "pi-subagents"]); + // both running Pis have it: Installed, no button + const both = cardOf("pi-mcp-adapter"); + assert.equal(await both.locator(".mk-have").textContent(), w.installed); + assert.equal(await both.locator(".mk-add").count(), 0); + // only Ubuntu lacks it: Install goes there, no menu + const sub = cardOf("pi-subagents"); + assert.equal(await sub.locator(".mk-add").textContent(), w.install); + await sub.locator(".mk-add").click(); + await page.waitForFunction((want) => document.querySelector("#status").textContent === want, w.pending).catch(() => {}); + assert.equal(await page.locator("#status").textContent(), w.pending); + assert.equal(await page.locator(".proto-menu").count(), 0); + assert.equal(await cardOf("pi-subagents").locator(".mk-have").textContent(), w.installed); + const ubuntu = v.locator(".lib-list.lib-pi").nth(1); + await ubuntu.locator('.lib-pi-row[data-id="npm:pi-subagents"]').waitFor(); + + // nobody has it: Install asks which Pi, never the stopped Arch + await cardOf("pi-web-access").locator(".mk-add").click(); + const menu = page.locator(".proto-menu"); + await menu.locator(".pm-item").first().waitFor(); + assert((await menu.textContent()).includes(w.into), await menu.textContent()); + assert.deepEqual(await menu.locator(".pm-item .pm-name").allTextContents(), ["Pi", "Pi · WSL Ubuntu"]); + await menu.locator(".pm-item").first().click(); + await page.waitForFunction((want) => document.querySelector("#status").textContent === want, w.done).catch(() => {}); + assert.equal(await page.locator("#status").textContent(), w.done); + const here = v.locator(".lib-list.lib-pi").nth(0); + await here.locator('.lib-pi-row[data-id="npm:pi-web-access"]').waitFor(); + + // a package's trash button asks first, then pi remove + await here.locator('.lib-pi-row[data-id="npm:pi-subagents"] .lib-pi-rm').click(); + const ed = page.locator(".lib-rmone"); + await ed.waitFor(); + assert.equal(await ed.locator(".ehead b").textContent(), w.ask); + await ed.getByRole("button", { name: w.remove, exact: true }).click(); + await page.waitForFunction((want) => document.querySelector("#status").textContent === want, w.removed).catch(() => {}); + assert.equal(await page.locator("#status").textContent(), w.removed); + await here.locator('.lib-pi-row[data-id="npm:pi-subagents"]').waitFor({ state: "detached" }); + await ed.waitFor({ state: "detached" }); // the dialog closes + // Pi lacks it again + assert.equal(await cardOf("pi-subagents").locator(".mk-add").textContent(), w.install); + + // npm's search down: what was found, and why that's all + await mk.locator('input[data-lib="market-pi"]').fill("web"); + await mk.locator(".mk-partial").waitFor(); + assert.equal(await mk.locator(".mk-partial").textContent(), w.partial); + assert.deepEqual(await mk.locator(".mk-title").allTextContents(), ["pi-web-access"]); + + assert.deepEqual(calls.filter((c) => c[0] !== "market"), [ + ["install", { pi: "pi@wsl:Ubuntu", source: "npm:pi-subagents" }], + ["install", { pi: "pi", source: "npm:pi-web-access" }], + ["remove", { pi: "pi", source: "npm:pi-subagents" }], + ]); + assert.deepEqual(calls.filter((c) => c[0] === "market").map((c) => c[1]), ["", "web"]); + // nothing runs off the side at a phone's width + const over = await page.evaluate(() => document.documentElement.scrollWidth - document.documentElement.clientWidth); + assert(over <= 0, `the page scrolls sideways by ${over}px`); + await ctx.close(); + }); + } + assert.deepEqual(errors, []); + }); +} diff --git a/internal/library/market_pi.json b/internal/library/market_pi.json new file mode 100644 index 000000000..8a1846dfd --- /dev/null +++ b/internal/library/market_pi.json @@ -0,0 +1 @@ +[{"name":"billion-context","version":"0.1.213","description":"A context-compression plugin — small context windows (a 100K context is enough), 5x fewer tokens, month-long single sessions (billions of tokens), and compression quality — for all agents: pi, OpenCode, Codex, Claude Code, and more. billion-context is all","publisher":"ranxianglei","downloads":3284659,"repository":"git+https://github.com/ranxianglei/billion-context.git","homepage":"https://github.com/ranxianglei/billion-context#readme","date":"2026-11-07"},{"name":"pi-mcp-adapter","version":"7.0.1","description":"MCP (Model Context Protocol) adapter extension for Pi coding agent","publisher":"nicopreme","downloads":1602492,"repository":"git+https://github.com/nicobailon/pi-mcp-adapter.git","homepage":"https://github.com/nicobailon/pi-mcp-adapter#readme","date":"2026-11-04"},{"name":"pi-web-access","version":"0.47.0","description":"Web search, URL fetching, GitHub repo cloning, PDF extraction, YouTube video understanding, and local video analysis for Pi coding agent. Supports OpenAI, Brave, Parallel, TinyFish, Search1API, Searchinfinity, Querit, Tavily, Firecrawl, Crawl4AI, Jina, SE","publisher":"nicopreme","downloads":1317504,"repository":"git+https://github.com/nicobailon/pi-web-access.git","homepage":"https://github.com/nicobailon/pi-web-access#readme","date":"2026-11-05"},{"name":"pi-mcp-extension","version":"1.14.5","description":"Full-featured, lightweight MCP extension for the Pi coding agent: stdio, SSE & Streamable HTTP transports, OAuth 2.1 (PKCE + DCR), lazy/eager lifecycles — minimal dependencies, zero bloat.","publisher":"GitHub Actions","downloads":1060529,"repository":"git+https://github.com/irahardianto/pi-mcp-extension.git","homepage":"https://github.com/irahardianto/pi-mcp-extension","date":"2026-11-08"},{"name":"pi-subagents","version":"0.87.0","description":"Pi extension for single-agent delegation and scripted multi-agent workflows","publisher":"GitHub Actions","downloads":870678,"repository":"git+https://github.com/nicobailon/pi-subagents.git","homepage":"https://github.com/nicobailon/pi-subagents#readme","date":"2026-11-07"},{"name":"@postman/postman-plugin","version":"0.8.0","description":"Postman's API engineering skills for coding agents: a Pi package, and an npx installer that sets up Claude Code, Codex, Cursor, Kimi Code, Factory Droid, OpenCode and Pi.","publisher":"GitHub Actions","downloads":716171,"repository":"git+https://github.com/postmanlabs/postman-plugin.git","homepage":"https://github.com/postmanlabs/postman-plugin#install","date":"2026-11-10"},{"name":"openwiki","version":"0.9.0","description":"A CLI that uses a DeepAgents documentation agent to generate and maintain an OpenWiki for a codebase.","publisher":"GitHub Actions","downloads":253085,"repository":"git+https://github.com/langchain-ai/openwiki.git","homepage":"https://github.com/langchain-ai/openwiki#readme","date":"2026-11-05"},{"name":"@juicesharp/rpiv-ask-user-question","version":"2.15.0","description":"Pi extension. A structured questionnaire the model can put to you when it would otherwise guess, with typed options instead of free-form replies.","publisher":"juicesharp","downloads":177697,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-ask-user-question#readme","date":"2026-10-24"},{"name":"context-mode","version":"2.1.7","description":"Context window saver for 10 coding agents. Local and free: sandboxed code execution, FTS5 search, session continuity.","publisher":"GitHub Actions","downloads":149376,"repository":"git+https://github.com/mksglu/context-mode.git","homepage":"https://github.com/mksglu/context-mode#readme","date":"2026-11-08"},{"name":"@dietrichgebert/ponytail","version":"5.3.3","description":"Lazy senior dev mode for AI agents. The best code is the code you never wrote.","publisher":"GitHub Actions","downloads":148546,"repository":"git+https://github.com/DietrichGebert/ponytail.git","homepage":"https://github.com/DietrichGebert/ponytail","date":"2026-10-29"},{"name":"cc-safety-net","version":"2.7.8","description":"A coding agent CLI hook - block destructive commands and secret file access","publisher":"GitHub Actions","downloads":148213,"repository":"git+https://github.com/kenryu42/cc-safety-net.git","homepage":"https://ccsafetynet.com","date":"2026-11-09"},{"name":"@onkernel/browser-loop","version":"0.12.1","description":"Browser tools for your agent: framework-neutral tool catalog, per-model compilation, Kernel-browser execution, and a pi binding + extension","publisher":"GitHub Actions","downloads":147203,"repository":"git+https://github.com/kernel/browser-loop.git","homepage":"https://github.com/kernel/browser-loop/tree/main/packages/browser-loop#readme","date":"2026-09-04"},{"name":"pi-deltabox","version":"0.1.5","description":"Pi extension: agent-native sandbox sessions with diff/commit/abort, powered by deltabox-lite","publisher":"xeonliu","downloads":132433,"repository":"","homepage":"","date":"2026-11-07"},{"name":"@langchain/langsmith-pi-extension","version":"0.2.1","description":"LangSmith extension for Pi Coding Agent","publisher":"GitHub Actions","downloads":120263,"repository":"git+https://github.com/langchain-ai/langsmith-pi-extension.git","homepage":"https://github.com/langchain-ai/langsmith-pi-extension#readme","date":"2026-10-09"},{"name":"@juicesharp/rpiv-todo","version":"2.15.0","description":"Pi extension. A todo list for the model, rendered as a live overlay that survives /reload and conversation compaction.","publisher":"juicesharp","downloads":99092,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-todo#readme","date":"2026-10-24"},{"name":"@plannotator/pi-extension","version":"0.28.59","description":"Plannotator Pi extension - interactive plan review with annotations, annotate agent messages, and review code/PRs","publisher":"GitHub Actions","downloads":95327,"repository":"git+https://github.com/backnotprop/plannotator.git","homepage":"https://github.com/backnotprop/plannotator","date":"2026-11-10"},{"name":"pi-lens","version":"4.4.11","description":"Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo","publisher":"GitHub Actions","downloads":94486,"repository":"git+https://github.com/apmantza/pi-lens.git","homepage":"https://github.com/apmantza/pi-lens#readme","date":"2026-11-09"},{"name":"glimpseui","version":"0.8.1","description":"Native micro-UI for scripts and agents — cross-platform WebView windows with bidirectional JSON communication","publisher":"haza","downloads":92081,"repository":"git+https://github.com/hazat/glimpse.git","homepage":"https://github.com/hazat/glimpse#readme","date":"2026-05-15"},{"name":"@juicesharp/rpiv-i18n","version":"2.15.0","description":"Pi extension. The localization foundation for rpiv-* skills: locale detection, the /languages command, the --locale flag, and a cross-package locale registry.","publisher":"juicesharp","downloads":85571,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-i18n#readme","date":"2026-10-24"},{"name":"pi-web-search","version":"1.7.0","description":"Provider-native web search for pi: Gemini + URL Context, xAI Grok, OpenAI Responses (Azure/Codex/Copilot), Anthropic, DeepSeek, and OpenCode Zen/Go","publisher":"ttttmr","downloads":85360,"repository":"git+https://github.com/ttttmr/pi-web-search.git","homepage":"https://github.com/ttttmr/pi-web-search#readme","date":"2026-10-08"},{"name":"pi-claude-bridge","version":"0.11.0","description":"Pi extension that uses Claude Code (via Agent SDK) as a model provider.","publisher":"elidickinson","downloads":82451,"repository":"git+https://github.com/elidickinson/pi-claude-bridge.git","homepage":"https://github.com/elidickinson/pi-claude-bridge#readme","date":"2026-11-06"},{"name":"pi-harness-runtime","version":"1.1.505","description":"[BETA] Codex-style /usage status + autonomous coding harness for pi. Not production ready — expect breaking changes.","publisher":"GitHub Actions","downloads":79996,"repository":"git+https://github.com/ManotLuijiu/pi-harness-runtime.git","homepage":"https://github.com/ManotLuijiu/pi-harness-runtime#readme","date":"2026-11-10"},{"name":"pi-memory","version":"0.4.2","description":"Pi coding agent extension for memory with qmd-powered semantic search across daily logs, long-term memory, and scratchpad","publisher":"jayzeng","downloads":71193,"repository":"git+https://github.com/jayzeng/pi-memory.git","homepage":"https://github.com/jayzeng/pi-memory#readme","date":"2026-08-11"},{"name":"@agimon-ai/po-core","version":"0.0.0-alpha.136","description":"Po runtime systems and reusable core services.","publisher":"agiflow-ai","downloads":69823,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-web-security","version":"0.0.0-alpha.136","description":"Shared security primitives for the Po web cockpit: sealed channels and signed bundle manifests for independently trusted verifiers.","publisher":"agiflow-ai","downloads":69703,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-simplify","version":"0.2.3","description":"A Pi extension that reviews recently changed code for clarity, consistency, and maintainability.","publisher":"GitHub Actions","downloads":67232,"repository":"git+https://github.com/MattDevy/pi-extensions.git","homepage":"https://github.com/MattDevy/pi-extensions/tree/main/packages/pi-simplify#readme","date":"2026-07-17"},{"name":"@opengsd/gsd-core","version":"1.20.1","description":"GSD Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.","publisher":"GitHub Actions","downloads":66733,"repository":"git+https://github.com/open-gsd/gsd-core.git","homepage":"https://github.com/open-gsd/gsd-core","date":"2026-11-05"},{"name":"@agimon-ai/po-logsink","version":"0.0.1-alpha.118","description":"Log sink MCP server with HTTP ingestion and AI analysis","publisher":"agiflow-ai","downloads":65118,"repository":"","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-advisor-flow","version":"0.14.4","description":"Advanced Executor/Advisor flow for Pi, fully configurable and extendable.","publisher":"GitHub Actions","downloads":64599,"repository":"git+https://github.com/philipbrembeck/pi-advisor.git","homepage":"https://github.com/philipbrembeck/pi-advisor","date":"2026-11-03"},{"name":"@agimon-ai/po-web-components","version":"0.0.0-alpha.136","description":"Shared web components and theme tokens for the Po cockpit and its web plugins: shadcn-style primitives on Radix, tuned to the Po palette, with runtime theme configs.","publisher":"agiflow-ai","downloads":63416,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@tintinweb/pi-subagents","version":"0.23.2","description":"A pi extension that brings Claude Code-like sub-agents and workflow orchestration to pi — parallel execution, live widget, fleet view, custom agent types, mid-run steering, dynamic workflows, Claude Code compatibility, look and feel.","publisher":"tintinweb","downloads":63149,"repository":"git+https://github.com/tintinweb/pi-subagents.git","homepage":"https://github.com/tintinweb/pi-subagents#readme","date":"2026-11-10"},{"name":"@quintinshaw/pi-dynamic-workflows","version":"3.15.0","description":"Claude-Code-style dynamic workflows for Pi — fan a task out across 100s of subagents with real model routing, token/cost accounting, resume, git-worktree isolation, an interactive /workflows TUI, and a real /deep-research.","publisher":"GitHub Actions","downloads":57283,"repository":"git+https://github.com/QuintinShaw/pi-dynamic-workflows.git","homepage":"https://github.com/QuintinShaw/pi-dynamic-workflows#readme","date":"2026-10-27"},{"name":"pi-fabric","version":"0.135.1","description":"A programmable tool and agent runtime for Pi","publisher":"GitHub Actions","downloads":49871,"repository":"git+https://github.com/fabric-runtime/pi-fabric.git","homepage":"https://github.com/fabric-runtime/pi-fabric#readme","date":"2026-11-10"},{"name":"@agimon-ai/po-config","version":"0.0.0-alpha.136","description":"Typed configuration loading, validation, and host services for composing Po sessions.","publisher":"agiflow-ai","downloads":46725,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"gentle-pi","version":"4.7.0","description":"Turn Pi into el Gentleman: an ODD development harness with focused subagents, configured TDD evidence, native review, and skill discovery.","publisher":"GitHub Actions","downloads":45888,"repository":"git+https://github.com/Gentleman-Programming/gentle-shell.git","homepage":"https://github.com/Gentleman-Programming/gentle-shell#readme","date":"2026-11-07"},{"name":"@gotgenes/pi-permission-system","version":"42.0.0","description":"Permission enforcement extension for the Pi coding agent.","publisher":"GitHub Actions","downloads":45716,"repository":"git+https://github.com/gotgenes/pi-packages.git","homepage":"https://github.com/gotgenes/pi-packages/tree/main/packages/pi-permission-system#readme","date":"2026-10-28"},{"name":"@agimon-ai/po-minor-mode","version":"0.0.0-alpha.136","description":"Minor-mode ownership, catalog, commands, and session lifecycle.","publisher":"agiflow-ai","downloads":44419,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-powerline-footer","version":"0.22.0","description":"Powerline-style status bar extension for pi coding agent","publisher":"nicopreme","downloads":44341,"repository":"git+https://github.com/nicobailon/pi-powerline-footer.git","homepage":"https://github.com/nicobailon/pi-powerline-footer#readme","date":"2026-10-29"},{"name":"@getpipher/vision","version":"0.5.3","description":"Capability-aware vision + paste extension for the pi coding agent. Delegates image analysis to a vision model only when the active primary model is text-only; passes images through natively for multimodal models (zero delegation).","publisher":"rz1989","downloads":41225,"repository":"git+https://github.com/getpipher/vision.git","homepage":"https://github.com/getpipher/vision","date":"2026-09-02"},{"name":"@datadog/pi-plugin","version":"0.7.22","description":"Use Datadog directly in the Pi coding agent through a preconfigured Datadog MCP server. Query logs, metrics, traces, dashboards, and more through natural conversation.","publisher":"GitHub Actions","downloads":40768,"repository":"git+https://github.com/datadog-labs/pi-plugin.git","homepage":"https://github.com/datadog-labs/pi-plugin#readme","date":"2026-10-26"},{"name":"pi-btw","version":"0.8.1","description":"A pi extension for parallel side conversations with /btw","publisher":"GitHub Actions","downloads":40131,"repository":"git+https://github.com/dbachelder/pi-btw.git","homepage":"https://github.com/dbachelder/pi-btw#readme","date":"2026-11-03"},{"name":"confluence-cli","version":"2.31.0","description":"A command-line interface for Atlassian Confluence with page creation and editing capabilities","publisher":"GitHub Actions","downloads":39260,"repository":"git+https://github.com/pchuri/confluence-cli.git","homepage":"https://github.com/pchuri/confluence-cli#readme","date":"2026-10-31"},{"name":"@narumitw/pi-usage","version":"0.69.2","description":"Pi extension for provider usage, limits, reset times, API balances, and Codex Fast mode.","publisher":"GitHub Actions","downloads":39075,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-04"},{"name":"@gotgenes/pi-anthropic-auth","version":"3.4.4","description":"Pi extension package for Anthropic OAuth compatibility","publisher":"GitHub Actions","downloads":37699,"repository":"git+https://github.com/gotgenes/pi-anthropic-auth.git","homepage":"https://github.com/gotgenes/pi-anthropic-auth#readme","date":"2026-11-01"},{"name":"pi-intercom","version":"0.18.1","description":"

\"pi-intercom\"

","publisher":"nicopreme","downloads":37021,"repository":"","homepage":"","date":"2026-10-22"},{"name":"@explyt/ai-agent","version":"0.6.2","description":"Explyt AI Agent: a terminal AI coding agent","publisher":"GitHub Actions","downloads":37019,"repository":"","homepage":"","date":"2026-11-07"},{"name":"@agimon-ai/po-hashline","version":"0.0.0-alpha.136","description":"Shared snapshot-bound file tags and line anchors for Po tools.","publisher":"agiflow-ai","downloads":36686,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@heyhuynhgiabuu/pi-pretty","version":"0.10.0","description":"Pretty terminal output for pi — syntax-highlighted file reads, colored bash output, tree-view directory listings, and more.","publisher":"killerkidbo","downloads":35915,"repository":"git+https://github.com/heyhuynhgiabuu/pi-pretty.git","homepage":"https://github.com/heyhuynhgiabuu/pi-pretty#readme","date":"2026-11-08"},{"name":"@agimon-ai/po-ui","version":"0.0.0-alpha.136","description":"Leader-key menus, themes, and TUI components for Po and Pi extensions.","publisher":"agiflow-ai","downloads":34977,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@braintrust/pi-extension","version":"2.2.2","description":"Braintrust extension for pi. Includes automatic tracing for pi sessions, turns, LLM calls, and tool executions to Braintrust.","publisher":"GitHub Actions","downloads":34616,"repository":"https://github.com/braintrustdata/braintrust-coding-agent-plugins.git","homepage":"https://github.com/braintrustdata/braintrust-pi-extension#readme","date":"2026-10-28"},{"name":"@mutmutco/pi-plugin","version":"4.7.12","description":"MMI workflow skills and org gates delivery.","publisher":"GitHub Actions","downloads":33863,"repository":"","homepage":"https://github.com/mutmutco/MMI-Hub","date":"2026-11-10"},{"name":"pi-cc-extensions","version":"1.0.16","description":"Claude Code-style TUI output with some personal touches and handy utilities.","publisher":"minuque","downloads":33166,"repository":"git+https://github.com/minuque/pi-cc-extensions.git","homepage":"https://github.com/minuque/pi-cc-extensions#readme","date":"2026-11-07"},{"name":"pi-coralbricks-provider","version":"1.0.43","description":"CoralBricks provider extension for pi - Access DeepSeek V4.1 Flash through the Coral Inference API","publisher":"GitHub Actions","downloads":31770,"repository":"git+https://github.com/Coral-Bricks-AI/pi-coralbricks-provider.git","homepage":"https://github.com/Coral-Bricks-AI/pi-coralbricks-provider#readme","date":"2026-11-02"},{"name":"@agimon-ai/po-session","version":"0.0.0-alpha.136","description":"Shared session coordination services for Po.","publisher":"agiflow-ai","downloads":31253,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@undefineds.co/models","version":"0.2.63","description":"`@undefineds.co/models` is the shared Solid Pod data model contract for LinX apps, desktop, CLI, sidecars, and future workers.","publisher":"yersinia_herb","downloads":30932,"repository":"git+https://github.com/undefinedsco/models.git","homepage":"https://github.com/undefinedsco/models#readme","date":"2026-10-11"},{"name":"@cratis/pi","version":"7.151.0","description":"Configuration-aware Cratis AI integration for Pi","publisher":"GitHub Actions","downloads":30669,"repository":"git+https://github.com/Cratis/AI.git","homepage":"https://www.cratis.io/ai/","date":"2026-11-10"},{"name":"@narumitw/pi-plan-mode","version":"0.60.0","description":"Pi extension that adds a Codex-like read-only /plan collaboration mode.","publisher":"GitHub Actions","downloads":30490,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-06"},{"name":"pi-goal-x","version":"0.34.1","description":"Adds /goal to pi: conversational goal planning, flexible or ordered goals, persistent progress, and an independent completion auditor.","publisher":"GitHub Actions","downloads":30293,"repository":"git+https://github.com/tmonk/pi-goal-x.git","homepage":"https://github.com/tmonk/pi-goal-x#readme","date":"2026-10-27"},{"name":"pi-straw-boss","version":"0.71.1","description":"Straw Boss coordination for pi in Herdr: sessions join a tab's net by choice, the first joiner is its main agent, a workspace tower opens on demand with a live monitoring dashboard, and boss_broadcast reaches the rest","publisher":"GitHub Actions","downloads":29813,"repository":"git+https://github.com/wayne930242/pi-straw-boss.git","homepage":"https://github.com/wayne930242/pi-straw-boss#readme","date":"2026-11-10"},{"name":"@agimon-ai/po-cache","version":"0.0.0-alpha.136","description":"Provider prompt cache policy and deterministic routing for Po","publisher":"agiflow-ai","downloads":29603,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-fireworks","version":"0.1.2","description":"Fireworks AI provider extension package for pi","publisher":"denniseijpe","downloads":29585,"repository":"git+https://github.com/denniseijpe/pi-fireworks.git","homepage":"https://github.com/denniseijpe/pi-fireworks#readme","date":"2026-04-24"},{"name":"@agimon-ai/po-notification","version":"0.0.0-alpha.136","description":"Desktop notifications and an animated shell-tab title for Po sessions.","publisher":"agiflow-ai","downloads":28981,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@howaboua/pi-codex-conversion","version":"4.0.9","description":"Codex-oriented tool and prompt adapter for pi coding agent","publisher":"howaboua","downloads":28907,"repository":"git+https://github.com/IgorWarzocha/howaboua-pi-stuff.git","homepage":"https://github.com/IgorWarzocha/howaboua-pi-stuff/tree/main/packages/pi-codex-conversion#readme","date":"2026-11-05"},{"name":"@agimon-ai/po-web-dashboard","version":"0.0.0-alpha.136","description":"Shared browser state, actions and optional views for Po dashboard templates.","publisher":"agiflow-ai","downloads":28756,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"","date":"2026-11-10"},{"name":"@agimon-ai/po-domain","version":"0.0.0-alpha.136","description":"Domain selection, resource staging, and MCP scoping for Po sessions.","publisher":"agiflow-ai","downloads":28529,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-autostop","version":"0.0.0-alpha.136","description":"Shuts a Po session down once the agent settles and stays idle.","publisher":"agiflow-ai","downloads":28338,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-prompt-template-model","version":"0.12.3","description":"Prompt template model selector extension for pi coding agent","publisher":"nicopreme","downloads":28315,"repository":"git+https://github.com/nicobailon/pi-prompt-template-model.git","homepage":"https://github.com/nicobailon/pi-prompt-template-model#readme","date":"2026-09-21"},{"name":"@agimon-ai/po-build","version":"0.0.0-alpha.136","description":"Folder-convention scanner and build presets for Po extensions.","publisher":"agiflow-ai","downloads":28302,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-profile","version":"0.0.0-alpha.136","description":"Persona and environment profile switching for Po sessions.","publisher":"agiflow-ai","downloads":28197,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-hermes-memory","version":"0.10.0","description":"🧠 Persistent memory + 🔍 session search + 🛡️ secret scanning for Pi. Token-aware policy-only memory by default, SQLite FTS5 search, auto-consolidation, procedural skills. 732 tests. Ported from Hermes agent.","publisher":"GitHub Actions","downloads":28033,"repository":"git+https://github.com/chandra447/pi-hermes-memory.git","homepage":"https://github.com/chandra447/pi-hermes-memory#readme","date":"2026-11-02"},{"name":"@agimon-ai/po","version":"0.0.0-alpha.137","description":"Opinionated, composable agent harness for scoped tools, skills, MCP servers, and developer workflows.","publisher":"agiflow-ai","downloads":27933,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@companion-ai/feynman","version":"0.5.66","description":"The open source AI research agent.","publisher":"GitHub Actions","downloads":27732,"repository":"git+https://github.com/Companion-Inc/feynman.git","homepage":"https://github.com/Companion-Inc/feynman#readme","date":"2026-11-08"},{"name":"@agimon-ai/po-skill","version":"0.0.0-alpha.136","description":"Session skill catalogue, deferred skill discovery, and the skill browser for Po.","publisher":"agiflow-ai","downloads":27722,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-major-mode","version":"0.0.0-alpha.136","description":"Named major-mode selection and layer composition switching for Po sessions.","publisher":"agiflow-ai","downloads":27606,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-template-advanced","version":"0.0.0-alpha.136","description":"Advanced multi-panel template for the Po web client.","publisher":"agiflow-ai","downloads":26801,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"","date":"2026-11-10"},{"name":"@agimon-ai/po-mcp","version":"0.0.0-alpha.136","description":"Domain-aware MCP server selection and access boundaries for Pi sessions composed with Po.","publisher":"agiflow-ai","downloads":26798,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@narumitw/pi-goal","version":"0.55.0","description":"Pi extension for autonomous single-objective /goal completion.","publisher":"GitHub Actions","downloads":26617,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-08"},{"name":"pi-fireworks-quota","version":"0.1.4","description":"Pi commands /fireworks:quota and /fireworks:test-key — Fireworks AI balance, spend, tokens, and limits","publisher":"zer020","downloads":26420,"repository":"git+https://github.com/ZeR020/pi-fireworks-quota.git","homepage":"https://github.com/ZeR020/pi-fireworks-quota#readme","date":"2026-10-30"},{"name":"@agimon-ai/po-workflow","version":"0.0.0-alpha.136","description":"GitHub Actions-style workflow graphs, artifacts, recovery, and asynchronous runs for Po.","publisher":"agiflow-ai","downloads":26298,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agentskit/doc-bridge","version":"2.6.0","description":"Human↔agent documentation bridge — deterministic handoffs, doc-site links, memory→docs, optional AgentsKit RAG/chat.","publisher":"GitHub Actions","downloads":26182,"repository":"git+https://github.com/AgentsKit-io/doc-bridge.git","homepage":"https://doc-bridge.agentskit.io/","date":"2026-11-02"},{"name":"@agimon-ai/po-runner-rmux-linux-x64","version":"0.0.0-alpha.136","description":"Prebuilt RMUX runtime for Po Runner on Linux x64.","publisher":"agiflow-ai","downloads":26123,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rtk-linux-x64","version":"0.0.0-alpha.136","description":"Prebuilt RTK v0.45.0 log processor for Po Runner on Linux x64.","publisher":"agiflow-ai","downloads":26052,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-git","version":"0.0.0-alpha.136","description":"Git worktree sessions for Po: spawn an isolated worktree with its own session and manage it from the parent","publisher":"agiflow-ai","downloads":26022,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-team","version":"0.0.0-alpha.136","description":"Asynchronous named subagents, team runs, intercom, and model policy for Pi coding agents.","publisher":"agiflow-ai","downloads":26019,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-prompt","version":"0.0.0-alpha.136","description":"Staged recent prompts and saved prompt templates for Po","publisher":"agiflow-ai","downloads":26015,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-plan","version":"0.0.0-alpha.136","description":"Reviewable Pi planning mode that removes file-editing tools and persists implementation plans.","publisher":"agiflow-ai","downloads":25994,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-task","version":"0.0.0-alpha.136","description":"Persistent, dependency-aware task graphs and subagent delegation for Pi coding sessions.","publisher":"agiflow-ai","downloads":25983,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-computer-use","version":"0.0.0-alpha.136","description":"Session scoped semantic computer control through the Po Desktop capability.","publisher":"agiflow-ai","downloads":25982,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-log","version":"0.0.0-alpha.136","description":"Session metrics, findings, and sink status for headless agent observability.","publisher":"agiflow-ai","downloads":25972,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner","version":"0.0.0-alpha.136","description":"Supervised shell execution, background process control, and run logs for Pi coding agents.","publisher":"agiflow-ai","downloads":25897,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-voice","version":"0.0.0-alpha.136","description":"Client audio capture, host transcription, and autonomous narration for Pi agents.","publisher":"agiflow-ai","downloads":25879,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-model-guidance","version":"0.0.0-alpha.136","description":"Per-model system prompt guidance for Pi agents, layered across global and repository scope.","publisher":"agiflow-ai","downloads":25870,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-style-system","version":"0.0.0-alpha.136","description":"Optional Po story preview integration for the style-system package.","publisher":"agiflow-ai","downloads":25848,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-file-edit","version":"0.0.0-alpha.136","description":"Native Po session-scoped file-change timelines, review APIs, and cross-agent edit presence.","publisher":"agiflow-ai","downloads":25839,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-help","version":"0.0.0-alpha.136","description":"Activation-gated package guidance and help skills for Po and Pi extensions.","publisher":"agiflow-ai","downloads":25823,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-template-elegant","version":"0.0.0-alpha.136","description":"Elegant chat-first template for the Po web client.","publisher":"agiflow-ai","downloads":25769,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"","date":"2026-11-10"},{"name":"@agimon-ai/po-sandbox","version":"0.0.0-alpha.136","description":"Per-workspace sandbox containers for Po: the container provider, the shared image, the container lifecycle, and a host credential broker","publisher":"agiflow-ai","downloads":25768,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-grep","version":"0.0.0-alpha.136","description":"Snapshot-bound hashline grep for Pi and Po.","publisher":"agiflow-ai","downloads":25764,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-edit","version":"0.0.0-alpha.136","description":"Snapshot-bound hashline edit tool for Pi and Po.","publisher":"agiflow-ai","downloads":25678,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-goal","version":"0.0.0-alpha.136","description":"Pi minor mode for persistent agent goals, token budgets, and goal history.","publisher":"agiflow-ai","downloads":25669,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-author","version":"0.0.0-alpha.136","description":"Visual steering workspace for focused document review and bounded authoring","publisher":"agiflow-ai","downloads":25656,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-user-feedback","version":"0.0.0-alpha.136","description":"Structured user questions with interactive and autonomous Voice handoff for Pi agents.","publisher":"agiflow-ai","downloads":25590,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rmux-darwin-x64","version":"0.0.0-alpha.136","description":"Prebuilt RMUX runtime for Po Runner on macOS x64.","publisher":"agiflow-ai","downloads":25481,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rmux-linux-arm64","version":"0.0.0-alpha.136","description":"Prebuilt RMUX runtime for Po Runner on Linux arm64.","publisher":"agiflow-ai","downloads":25472,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-read","version":"0.0.0-alpha.136","description":"Snapshot-bound hashline read tool for Pi and Po.","publisher":"agiflow-ai","downloads":25374,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rtk-linux-arm64","version":"0.0.0-alpha.136","description":"Prebuilt RTK v0.45.0 log processor for Po Runner on Linux arm64.","publisher":"agiflow-ai","downloads":25150,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rtk-darwin-arm64","version":"0.0.0-alpha.136","description":"Prebuilt RTK v0.45.0 log processor for Po Runner on macOS arm64.","publisher":"agiflow-ai","downloads":24870,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rmux-darwin-arm64","version":"0.0.0-alpha.136","description":"Prebuilt RMUX runtime for Po Runner on macOS arm64.","publisher":"agiflow-ai","downloads":24544,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@agimon-ai/po-runner-rtk-darwin-x64","version":"0.0.0-alpha.136","description":"Prebuilt RTK v0.45.0 log processor for Po Runner on macOS x64.","publisher":"agiflow-ai","downloads":24434,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"@ff-labs/pi-fff","version":"0.11.0","description":"pi extension: FFF-powered fuzzy file and content search","publisher":"GitHub Actions","downloads":24388,"repository":"git+https://github.com/dmtrKovalenko/fff.git","homepage":"https://github.com/dmtrKovalenko/fff/tree/main/packages/pi-fff","date":"2026-09-21"},{"name":"pi-agent-browser-native","version":"0.9.18","description":"pi extension that exposes agent-browser as a native tool for browser automation","publisher":"GitHub Actions","downloads":23853,"repository":"git+https://github.com/fitchmultz/pi-agent-browser-native.git","homepage":"https://github.com/fitchmultz/pi-agent-browser-native#readme","date":"2026-11-08"},{"name":"pi-background-tasks","version":"2.6.10","description":"Pi extension for durable background shell tasks, read-only delegated agents, local attested Pi runs, and fixed-purpose Fusion workflows through child Pi processes.","publisher":"ismailsaleekh","downloads":23762,"repository":"git+https://github.com/ismailsaleekh/pi-background-tasks.git","homepage":"https://github.com/ismailsaleekh/pi-background-tasks#readme","date":"2026-10-13"},{"name":"pi-provider-litellm","version":"4.7.2","description":"LiteLLM proxy provider extension for Pi","publisher":"GitHub Actions","downloads":23045,"repository":"git+https://github.com/balcsida/pi-provider-litellm.git","homepage":"https://github.com/balcsida/pi-provider-litellm","date":"2026-11-01"},{"name":"pi-interview","version":"0.14.1","description":"Interactive interview form extension for pi coding agent","publisher":"nicopreme","downloads":22460,"repository":"git+https://github.com/nicobailon/pi-interview-tool.git","homepage":"https://github.com/nicobailon/pi-interview-tool#readme","date":"2026-10-31"},{"name":"pi-deferred-context-engine","version":"0.5.2","description":"Run-scoped deferred tools, skills, blocked deny-list, and duplicate prompt context for Pi/OMP.","publisher":"adityavg13","downloads":21936,"repository":"git+https://github.com/AdityaVG13/pi-stack.git","homepage":"https://github.com/AdityaVG13/pi-stack/tree/main/packages/pi-deferred-context-engine#readme","date":"2026-11-05"},{"name":"gentle-engram","version":"0.7.0","description":"Persistent memory for Pi agents — one local-or-cloud brain shared across sessions, compactions, and MCP agents","publisher":"GitHub Actions","downloads":20984,"repository":"git+https://github.com/Gentleman-Programming/engram.git","homepage":"https://github.com/Gentleman-Programming/engram","date":"2026-11-07"},{"name":"@akagilnc/pi-workflow-roles","version":"0.1.6100","description":"Soul-bound workflow roles for Pi","publisher":"GitHub Actions","downloads":20354,"repository":"git+https://github.com/Akagilnc/ak-pi-workflow-roles.git","homepage":"https://github.com/Akagilnc/ak-pi-workflow-roles#readme","date":"2026-11-02"},{"name":"@raindrop-ai/pi-agent","version":"0.2.6","description":"Raindrop observability for Pi Agent — automatic tracing via subscriber or pi-coding-agent extension","publisher":"GitHub Actions","downloads":20170,"repository":"git+https://github.com/raindrop-ai/pi-agent.git","homepage":"https://www.raindrop.ai/docs/integrations/pi-agent/","date":"2026-11-05"},{"name":"@sting8k/pi-vcc","version":"0.11.2","description":"Algorithmic conversation compactor for pi - transcript-preserving structured summaries, no LLM calls","publisher":"sting8k","downloads":19743,"repository":"git+https://github.com/sting8k/pi-vcc.git","homepage":"https://github.com/sting8k/pi-vcc#readme","date":"2026-10-29"},{"name":"@agimon-ai/po-network","version":"0.0.2-alpha.83","description":"Host-neutral network election core and deterministic safety simulator.","publisher":"agiflow-ai","downloads":19105,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-otel","version":"0.3.0","description":"OpenTelemetry traces for pi-coding-agent — per-prompt span tree (interaction → llm_request, tool.) exported via OTLP. Aspire-dashboard ready.","publisher":"nikiforovall","downloads":19012,"repository":"git+https://github.com/nikiforovall/pi-otel.git","homepage":"https://github.com/nikiforovall/pi-otel#readme","date":"2026-09-13"},{"name":"latchkey","version":"3.23.0","description":"A CLI tool that injects API credentials into curl requests to third-party services","publisher":"GitHub Actions","downloads":19008,"repository":"git+https://github.com/imbue-ai/latchkey.git","homepage":"https://github.com/imbue-ai/latchkey#readme","date":"2026-11-09"},{"name":"@narumitw/pi-btw","version":"0.63.5","description":"Pi extension that adds a /btw side-question command.","publisher":"GitHub Actions","downloads":18144,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-06"},{"name":"betterwright","version":"2.9.1","description":"A persistent, policy-guarded Playwright browser for AI agents with network controls, trusted credential filling, proof screenshots, and CAPTCHA helpers.","publisher":"GitHub Actions","downloads":18070,"repository":"git+https://github.com/BetterWright/betterwright.git","homepage":"https://github.com/BetterWright/betterwright#readme","date":"2026-11-04"},{"name":"pi-cache-optimizer","version":"2.10.5","description":"Improve Pi prompt/KV cache hit rates with stable prompts, OpenAI-compatible cache keys, proxy compat warnings, and footer cache stats.","publisher":"GitHub Actions","downloads":18006,"repository":"git+https://github.com/jiangge/pi-cache-optimizer.git","homepage":"https://github.com/jiangge/pi-cache-optimizer#readme","date":"2026-11-04"},{"name":"pi-context-view","version":"0.8.3","description":"Pi extension to visualize context usage and inspect the hidden parts: base prompt, tools defs, and extension injections","publisher":"dimk90","downloads":17976,"repository":"git+https://github.com/dimk90/pi-context-view.git","homepage":"https://github.com/dimk90/pi-context-view#readme","date":"2026-11-04"},{"name":"pi-web-ui","version":"0.119.0","description":"Just open your browser to get all your work done — browser cockpit for AI coding agents (chat, code, files, terminal, Git in one tab)","publisher":"xingshuyin","downloads":17677,"repository":"git+https://github.com/xing-shuyin/pi-web-ui.git","homepage":"https://github.com/xing-shuyin/pi-web-ui#readme","date":"2026-11-08"},{"name":"@agimon-ai/po-identity","version":"0.0.2-alpha.83","description":"Portable identity home for Po","publisher":"agiflow-ai","downloads":17613,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-11-10"},{"name":"pi-gauntlet","version":"8.4.6","description":"Opinionated, gated workflow skills, subagent personas, and runtime extensions for the pi coding agent.","publisher":"GitHub Actions","downloads":17419,"repository":"git+https://github.com/jjuraszek/pi-gauntlet.git","homepage":"https://github.com/jjuraszek/pi-gauntlet#readme","date":"2026-11-08"},{"name":"pi-webapp","version":"0.1.55","description":"One workspace for your Pi coding agent: live chat, files, real terminals, and Git review side by side, plus optional Excalidraw diagrams and OpenPencil UI design, in your browser or on desktop","publisher":"GitHub Actions","downloads":16985,"repository":"git+https://github.com/chengzhiyi/pi-webapp.git","homepage":"https://github.com/chengzhiyi/pi-webapp#readme","date":"2026-11-08"},{"name":"projectops","version":"4.96.0","description":"One npx install for GitHub release automation: semantic versioning, changelogs, release PRs, CI/CD workflows and AI agent skills","publisher":"suhsaechan","downloads":16650,"repository":"git+https://github.com/Cassiiopeia/projectops.git","homepage":"https://cassiiopeia.github.io/projectops/","date":"2026-11-09"},{"name":"@gotgenes/pi-subagents","version":"25.0.5","description":"A focused, in-process sub-agent core for pi — autonomous agents plus a typed API and lifecycle events other extensions build on. Friendly fork of @tintinweb/pi-subagents.","publisher":"GitHub Actions","downloads":16596,"repository":"git+https://github.com/gotgenes/pi-packages.git","homepage":"https://github.com/gotgenes/pi-packages/tree/main/packages/pi-subagents#readme","date":"2026-10-28"},{"name":"@injaneity/pi-computer-use","version":"0.5.1","description":"Pi extension that lets AI agents observe and control macOS, Windows, and Linux apps.","publisher":"GitHub Actions","downloads":16274,"repository":"git+https://github.com/injaneity/pi-computer-use.git","homepage":"https://github.com/injaneity/pi-computer-use#readme","date":"2026-08-31"},{"name":"pi-rtk-optimizer","version":"0.9.0","description":"Pi extension that optimizes RTK command rewriting and tool output compaction for the coding agent.","publisher":"masurii","downloads":16237,"repository":"git+https://github.com/MasuRii/pi-rtk-optimizer.git","homepage":"https://github.com/MasuRii/pi-rtk-optimizer#readme","date":"2026-07-03"},{"name":"agent-simple-english","version":"0.8.0","description":"Technical and house-style English lint engine, CLI, and host adapters","publisher":"jyooi","downloads":16218,"repository":"git+https://github.com/jyooi/agent-simple-english.git","homepage":"https://github.com/jyooi/agent-simple-english#readme","date":"2026-10-13"},{"name":"@remnic/plugin-pi","version":"9.69.56","description":"Remnic memory extension for Pi Coding Agent","publisher":"GitHub Actions","downloads":16134,"repository":"git+https://github.com/joshuaswarren/remnic.git","homepage":"https://github.com/joshuaswarren/remnic#readme","date":"2026-08-26"},{"name":"@schovest/pi-goal","version":"0.2.1","description":"Pi extension for autonomous single-objective /goal completion.","publisher":"GitHub Actions","downloads":15868,"repository":"git+https://github.com/schovest/pi-package-mono.git","homepage":"https://github.com/schovest/pi-package-mono#readme","date":"2026-10-08"},{"name":"@agimon-ai/log-sink-mcp","version":"0.30.15","description":"Log sink MCP server with HTTP ingestion and AI analysis","publisher":"agiflow-ai","downloads":15750,"repository":"","homepage":"https://agimon.ai","date":"2026-11-07"},{"name":"bigpowers","version":"2.96.1","description":"80 agent skills synthesizing 17 years of software engineering discipline into a prescriptive methodology for solo developers","publisher":"danielvm","downloads":15682,"repository":"git+https://github.com/danielvm-git/bigpowers.git","homepage":"https://github.com/danielvm-git/bigpowers#readme","date":"2026-11-09"},{"name":"pi-ask-user","version":"0.17.2","description":"Interactive ask_user tool for pi-coding-agent with searchable split-pane selection UI, multi-select, and freeform input","publisher":"GitHub Actions","downloads":15599,"repository":"git+https://github.com/edlsh/pi-ask-user.git","homepage":"https://github.com/edlsh/pi-ask-user#readme","date":"2026-11-01"},{"name":"@maxiaochao/pi-toolkit","version":"0.14.8","description":"Personal pi coding agent toolkit: background tasks, scheduler, /btw, /cache_export, apply_patch, browser automation, and bundled theme/skills.","publisher":"maxiaochao","downloads":15464,"repository":"git+https://github.com/chaochaoxiaochao/pi-toolkit.git","homepage":"https://github.com/chaochaoxiaochao/pi-toolkit#readme","date":"2026-11-05"},{"name":"pi-markdown-preview","version":"0.26.4","description":"Rendered markdown + LaTeX preview for pi, with terminal, browser, and PDF output","publisher":"omacl","downloads":15366,"repository":"git+https://github.com/omaclaren/pi-markdown-preview.git","homepage":"https://github.com/omaclaren/pi-markdown-preview#readme","date":"2026-11-03"},{"name":"@amaster.ai/pi-image-gen","version":"0.1.37","description":"Pi extension for image generation via OpenAI gpt-image, Google Nano Banana (Gemini), Alibaba Qwen-Image, OpenRouter, and custom providers.","publisher":"2betop","downloads":15186,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-hashline-edit-pro","version":"7.1.1","description":"Hash-anchored read/replace/insert/grep tools for pi-coding-agent. Every line gets a unique 5-character lowercase tokenizer-friendly anchor that stays stable across edits; stale or ambiguous anchors are rejected, never fuzzy-matched. Undo persists across r","publisher":"yugimob","downloads":15030,"repository":"git+https://github.com/YuGiMob/pi-hashline-edit-pro.git","homepage":"https://github.com/YuGiMob/pi-hashline-edit-pro#readme","date":"2026-10-27"},{"name":"pi-cursor-sdk","version":"0.5.26","description":"pi provider extension backed by @cursor/sdk local and cloud agents","publisher":"GitHub Actions","downloads":14847,"repository":"git+https://github.com/fitchmultz/pi-cursor-sdk.git","homepage":"https://github.com/fitchmultz/pi-cursor-sdk#readme","date":"2026-11-09"},{"name":"@kontextmind/kxm","version":"0.7.214","description":"KXM local-first multi-agent orchestration and operator dashboard","publisher":"onesmartguy","downloads":14807,"repository":"git+https://github.com/kontextmind/kxm.git","homepage":"https://github.com/kontextmind/kxm#readme","date":"2026-11-06"},{"name":"@llblab/pi-telegram","version":"0.58.3","description":"Telegram runtime adapter for Pi","publisher":"GitHub Actions","downloads":14725,"repository":"git+https://github.com/llblab/pi-telegram.git","homepage":"https://github.com/llblab/pi-telegram","date":"2026-10-25"},{"name":"@agntn/web","version":"0.9.1","description":"Unified web search and read provider for agents and CLI.","publisher":"GitHub Actions","downloads":14717,"repository":"git+https://github.com/agntn/web.git","homepage":"https://web.agntn.dev","date":"2026-10-29"},{"name":"pi-crew","version":"0.11.59","description":"Pi extension for coordinated AI teams, workflows, worktrees, and async task orchestration","publisher":"bom0792","downloads":14687,"repository":"git+https://github.com/baphuongna/pi-crew.git","homepage":"https://github.com/baphuongna/pi-crew#readme","date":"2026-11-06"},{"name":"@astrofoundry/pi-astro","version":"0.40.67","description":"Personal pi customizations (extensions, subagents, skills, prompts, themes) for the pi coding agent.","publisher":"GitHub Actions","downloads":14568,"repository":"git+https://github.com/astrofoundry/pi-astro.git","homepage":"https://github.com/astrofoundry/pi-astro#readme","date":"2026-11-09"},{"name":"pi-antigravity","version":"0.12.0","description":"Personal Antigravity / Cloud Code Assist provider for Pi Coding Agent","publisher":"rahularya01","downloads":14498,"repository":"git+https://github.com/Rahularya01/pi-antigravity.git","homepage":"https://github.com/Rahularya01/pi-antigravity#readme","date":"2026-11-06"},{"name":"pi-open-tui","version":"0.4.4","description":"A polished TUI for Pi coding agent: branded header, responsive footer, framed editor, thinking preview, and compact tool views.","publisher":"oldsuns","downloads":14186,"repository":"git+https://github.com/OldSuns/pi-open-tui.git","homepage":"https://github.com/OldSuns/pi-open-tui#readme","date":"2026-11-06"},{"name":"@awebai/pi","version":"0.5.0","description":"Lets your Pi communicate with other AI agents on an open network: send and receive messages, wake up the moment one arrives, and join agent teams.","publisher":"juanre","downloads":14032,"repository":"git+https://github.com/awebai/aweb.git","homepage":"https://github.com/awebai/aweb#readme","date":"2026-11-04"},{"name":"pi-zhipu-usage","version":"0.3.0","description":"Pi extension: show GLM Coding Plan usage and reset countdown in the footer. Supports Zhipu domestic (open.bigmodel.cn), international (api.z.ai), local proxy / Headroom setups, and @zigai/pi-footer slot integration.","publisher":"caimaoy","downloads":13702,"repository":"git+https://github.com/caimaoy/pi-glm-usage.git","homepage":"https://github.com/caimaoy/pi-glm-usage#readme","date":"2026-10-25"},{"name":"thoth-agents","version":"0.13.1","description":"Adaptive multi-harness orchestration with six roles, runtime-autonomous AI-first execution routes, and external provider boundaries.","publisher":"GitHub Actions","downloads":13572,"repository":"git+https://github.com/EremesNG/thoth-agents.git","homepage":"https://github.com/EremesNG/thoth-agents#readme","date":"2026-11-09"},{"name":"pi-dev-flow","version":"0.89.0","description":"Enforced feature workflow for Pi: plan → implement → pre-release → release, gated checkpoints, self-improvement reflections, one git worktree per feature, changelog + publish as part of the release","publisher":"GitHub Actions","downloads":12968,"repository":"git+https://github.com/dmarchevsky/pi-dev-flow.git","homepage":"https://github.com/dmarchevsky/pi-dev-flow#readme","date":"2026-11-10"},{"name":"@tmustier/pi-usage-extension","version":"0.10.2","description":"Usage statistics dashboard for Pi sessions.","publisher":"tmustier","downloads":12801,"repository":"git+https://github.com/tmustier/pi-extensions.git","homepage":"https://github.com/tmustier/pi-extensions/tree/main/usage-extension","date":"2026-11-03"},{"name":"pi-dashscope","version":"1.0.5","description":"Alibaba DashScope (ModelStudio) provider for oh my pi — Qwen3, GLM-5, MiniMax M2.5, Kimi K2.5 via OpenAI-compatible coding API","publisher":"mkurman","downloads":12631,"repository":"","homepage":"","date":"2026-02-26"},{"name":"pi-claude-marketplace","version":"0.23.0","description":"Access Claude plugin marketplaces from Pi Coding Agent. Supports Claude commands, skills, agents, hooks, MCP servers, and workflows.","publisher":"GitHub Actions","downloads":12458,"repository":"git+https://github.com/acolomba/pi-claude-marketplace.git","homepage":"https://github.com/acolomba/pi-claude-marketplace#readme","date":"2026-11-07"},{"name":"@piagent/platform","version":"1.52.2","description":"Guardrails and managed team harness for AI coding agents, with isolated tools, scoped approvals, and a local dashboard.","publisher":"vt-mmm","downloads":12447,"repository":"git+https://github.com/Vt-mmm/piagent.git","homepage":"https://piagent.io.vn","date":"2026-11-09"},{"name":"agent-comms","version":"8.15.24","description":"Cross-harness communication mesh for LLM agents — rooms, DMs, presence, and real-time push delivery over TCP","publisher":"GitHub Actions","downloads":12224,"repository":"git+https://github.com/ExaDev/agent-comms.git","homepage":"https://github.com/ExaDev/agent-comms#readme","date":"2026-11-04"},{"name":"@agimon-ai/po-telemetry","version":"0.0.0-alpha.29","description":"Host-neutral telemetry, OpenTelemetry controls, and Log Sink adapters for Po sessions.","publisher":"agiflow-ai","downloads":12205,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-10-19"},{"name":"pi-coding-agent-test","version":"0.1.7","description":"Deterministic end-to-end testing for Pi Coding Agent extensions, tools, sessions, and TUI output.","publisher":"GitHub Actions","downloads":12203,"repository":"git+https://github.com/alexshpunt/pi-coding-agent-test.git","homepage":"https://github.com/alexshpunt/pi-coding-agent-test#readme","date":"2026-11-09"},{"name":"billion-context-pi","version":"0.1.83","description":"One billion, not one million. Model-driven context management for the Pi coding agent.","publisher":"ranxianglei","downloads":12203,"repository":"git+https://github.com/ranxianglei/billion-context-pi.git","homepage":"https://github.com/ranxianglei/billion-context-pi","date":"2026-09-30"},{"name":"@xynogen/pix-runtime","version":"0.19.0","description":"Pix shared runtime — versioned pix.json config, atomic persistence, typed change events","publisher":"GitHub Actions","downloads":12198,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono/tree/main/packages/pix-runtime#readme","date":"2026-11-10"},{"name":"@jmfederico/pi-web","version":"1.202611.1","description":"Web UI for persistent Pi Coding Agent sessions in real workspaces.","publisher":"GitHub Actions","downloads":11819,"repository":"git+https://github.com/jmfederico/pi-web.git","homepage":"https://pi-web.dev/","date":"2026-11-07"},{"name":"@ollama/pi-web-search","version":"0.0.5","description":"Web search and fetch tools for Pi agent - uses Ollama's web search and fetch APIs","publisher":"parthollama","downloads":11740,"repository":"","homepage":"","date":"2026-03-28"},{"name":"@cmo-so/skills","version":"0.28.6","description":"Install the CMO.so marketing skills (SEO, AI search, content, social, email, ads, CRO, analytics) into Claude Code, Codex, Pi, Cursor, Gemini CLI, OpenCode, Copilot and other coding agents, for one project or for your user. Also a Pi package.","publisher":"balalior","downloads":11726,"repository":"git+https://github.com/AI-Marketing-OS-LTD/cmo-so-skills.git","homepage":"https://github.com/AI-Marketing-OS-LTD/cmo-so-skills","date":"2026-11-09"},{"name":"@cgh567/agent","version":"2.6.62","description":"Elyntic self-improvement lab","publisher":"cgh567","downloads":11711,"repository":"git+https://github.com/elyntic-agi/elyntic-agent.git","homepage":"https://github.com/elyntic-agi/elyntic-agent#readme","date":"2026-11-05"},{"name":"pi-until-loop","version":"0.2.9","description":"Spend your time on the engineering trade-offs that matter. Let the Until Loop make sure your agents deliver what you want, how you want it.","publisher":"GitHub Actions","downloads":11638,"repository":"git+https://github.com/until-dev/plugins.git","homepage":"https://until.dev","date":"2026-09-17"},{"name":"@juicesharp/rpiv-web-tools","version":"2.15.0","description":"Pi extension. Web search and fetch for the model with pluggable providers (Brave, Tavily, Serper, Exa, You.com, Jina, Firecrawl, Perplexity, SearXNG, Ollama).","publisher":"juicesharp","downloads":11359,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-web-tools#readme","date":"2026-10-24"},{"name":"@agent-sh/computer-use-linux","version":"0.7.49","description":"Native Linux desktop control for AI agents (MCP server, Pi tools, and CLI): semantic AT-SPI accessibility trees, screenshots, compositor window targeting, Wayland/X11 input, and an on-screen activity indicator.","publisher":"avifenesh","downloads":11162,"repository":"git+https://github.com/agent-sh/computer-use-linux.git","homepage":"https://github.com/agent-sh/computer-use-linux#readme","date":"2026-11-09"},{"name":"@selesai/code","version":"0.16.12","description":"Maintained, extension-first Pi coding agent with built-in workflows, subagents, web research, questions, skills, and an enhanced terminal UI.","publisher":"selesai","downloads":11009,"repository":"git+https://github.com/SelesaiInTech/selesai-code.git","homepage":"https://github.com/SelesaiInTech/selesai-code#readme","date":"2026-11-09"},{"name":"@henryqw/pi-subagent","version":"29.1.1","description":"Delegate bounded direct work or durable checked isolated task graphs to Pi roles.","publisher":"GitHub Actions","downloads":10757,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-06"},{"name":"@cortexkit/pi-openai-auth","version":"1.12.0","description":"The Pi package of [CortexKit OpenAI Auth](https://github.com/cortexkit/openai-auth). It overrides Pi's built-in `openai-codex` provider so Pi can use a ChatGPT Plus or Pro subscription through the OpenAI Codex backend, with several accounts and sticky rou","publisher":"GitHub Actions","downloads":10714,"repository":"git+https://github.com/cortexkit/openai-auth.git","homepage":"https://github.com/cortexkit/openai-auth#readme","date":"2026-11-07"},{"name":"@d3ara1n/pi-context-include","version":"3.0.0","description":"@path syntax for AGENTS.md — include files by reference with recursive resolution","publisher":"GitHub Actions","downloads":10640,"repository":"git+https://github.com/d3ara1n/pi-extensions.git","homepage":"https://github.com/d3ara1n/pi-extensions/tree/main/packages/pi-context-include#readme","date":"2026-09-20"},{"name":"@gyoungwe/research-suite","version":"0.1.11","description":"Bundled Drone native Pi research suite","publisher":"gyoungwe","downloads":10631,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-26"},{"name":"@ravshansbox/pi-statusline","version":"1.26.6","description":"Statusline and prompt history extension for pi","publisher":"GitHub Actions","downloads":10615,"repository":"git+https://github.com/ravshansbox/pi-statusline.git","homepage":"https://github.com/ravshansbox/pi-statusline#readme","date":"2026-11-01"},{"name":"atlas-project-harness","version":"0.2.0-beta.32","description":"践行 Project Harness 的全流程 AI 编程工作流治理引擎","publisher":"sunwenzhe-git","downloads":10615,"repository":"","homepage":"","date":"2026-11-08"},{"name":"@a-t-h-i/bot-lobby","version":"0.7.9","description":"Structured multi-agent software engineering orchestrator for Pi","publisher":"a-t-h-i","downloads":10533,"repository":"git+https://github.com/a-t-h-i/bot-lobby.git","homepage":"https://github.com/a-t-h-i/bot-lobby#readme","date":"2026-11-03"},{"name":"@cad0p/pi-subagents-tintinweb","version":"0.22.0","description":"A pi extension extension that brings smart Claude Code-style autonomous sub-agents to pi.","publisher":"GitHub Actions","downloads":10481,"repository":"git+https://github.com/cad0p/pi-subagents-tintinweb.git","homepage":"https://github.com/cad0p/pi-subagents-tintinweb#readme","date":"2026-10-21"},{"name":"@ravshansbox/pi-next-issue","version":"2.21.2","description":"Pi extension that works through GitHub issues with the next-issue worker","publisher":"GitHub Actions","downloads":10372,"repository":"git+https://github.com/ravshansbox/next-issue.git","homepage":"https://github.com/ravshansbox/next-issue/tree/main/packages/pi-next-issue#readme","date":"2026-11-03"},{"name":"@xynogen/pix-pretty","version":"2.0.1","description":"Enhanced tool output rendering with syntax highlighting, file icons, tree views, diff rendering, and FFF search","publisher":"GitHub Actions","downloads":10314,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono/tree/main/packages/pix-pretty#readme","date":"2026-11-10"},{"name":"pi-blackhole","version":"0.5.17","description":"Unified compaction + observational memory extension for Pi — compresses conversation context while preserving durable observations and reflections","publisher":"k0valik","downloads":10296,"repository":"git+https://github.com/k0valik/pi-blackhole.git","homepage":"https://github.com/k0valik/pi-blackhole#readme","date":"2026-11-03"},{"name":"pi-lsp-adapter","version":"0.1.3","description":"Pi extension that gives coding agents Language Server Protocol tools for diagnostics, hover, definitions, references, and symbol search","publisher":"GitHub Actions","downloads":10197,"repository":"git+https://github.com/nikmmd/pi-lsp-adapter.git","homepage":"https://github.com/nikmmd/pi-lsp-adapter#readme","date":"2026-07-13"},{"name":"pi-cliproxyapi-provider","version":"0.16.9","description":"Pi provider package for CLIProxyAPI with automatic model discovery and models.dev enrichment.","publisher":"0xrichardh","downloads":10176,"repository":"git+https://github.com/0xRichardH/pi-cliproxyapi-provider.git","homepage":"https://github.com/0xRichardH/pi-cliproxyapi-provider#readme","date":"2026-11-10"},{"name":"@langfuse/pi-observability-plugin","version":"0.1.2","description":"Langfuse observability extension for the pi coding agent — traces prompts, agent turns, model generations, and tool calls to Langfuse.","publisher":"GitHub Actions","downloads":10107,"repository":"git+https://github.com/langfuse/pi-observability-plugin.git","homepage":"https://github.com/langfuse/pi-observability-plugin#readme","date":"2026-08-31"},{"name":"@gyoungwe/pi-core","version":"0.1.9","description":"Portable task, authorization, status, delivery and memory tools for native Pi","publisher":"gyoungwe","downloads":10100,"repository":"git+https://github.com/Gyoungwe/Drone.git","homepage":"https://github.com/Gyoungwe/Drone#readme","date":"2026-10-26"},{"name":"@pi-unipi/core","version":"3.0.3","description":"Shared utilities, event types, and constants for Unipi extension suite","publisher":"neuron-mr-white","downloads":10029,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"donsetch","version":"5.2.1","description":"MCP server that gives AI agents the web: fetch, search, crawl and screenshot from one local Rust binary. Zero API keys, zero accounts, Chrome-true TLS.","publisher":"dondai1234","downloads":10002,"repository":"git+https://github.com/dondai44423/donsetch.git","homepage":"https://github.com/dondai44423/donsetch#readme","date":"2026-11-09"},{"name":"@juicesharp/rpiv-workflow","version":"2.15.0","description":"Pi extension. Chain skills into typed multi-stage workflows with audited JSONL state, predicate routing, and per-stage output validation. Skill-agnostic — bring your own skills.","publisher":"juicesharp","downloads":9981,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-workflow#readme","date":"2026-10-24"},{"name":"@juicesharp/rpiv-advisor","version":"2.15.0","description":"Pi extension. A second opinion the model can request from a stronger reviewer model before it acts.","publisher":"juicesharp","downloads":9936,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-advisor#readme","date":"2026-10-24"},{"name":"@jwilger/pi-development-system","version":"11.1.0","description":"A pi extension package representing a seasoned approach to software development using a full AI SDLC.","publisher":"GitHub Actions","downloads":9835,"repository":"git+https://github.com/jwilger/pi-development-system.git","homepage":"https://github.com/jwilger/pi-development-system#readme","date":"2026-11-01"},{"name":"pi-herdsman","version":"0.43.0","description":"Asynchronous Pi subagents and agent fleet orchestration for parallel coding agents with nested delegation, background work, and supervision in herdr.","publisher":"GitHub Actions","downloads":9724,"repository":"git+https://github.com/boadij/pi-herdsman.git","homepage":"https://github.com/boadij/pi-herdsman#readme","date":"2026-11-09"},{"name":"@abelxiaoxing/cadence","version":"2.0.50","description":"Conversation-driven Pi workspace: persistent native and WebUI workflows, explicit plan approval, checks and local delivery.","publisher":"GitHub Actions","downloads":9701,"repository":"git+https://github.com/abelxiaoxing/cadence.git","homepage":"https://github.com/abelxiaoxing/cadence","date":"2026-11-10"},{"name":"@gyoungwe/pi-knowledge","version":"0.2.1","description":"Knowledge and Vault tools for native Pi hosts","publisher":"gyoungwe","downloads":9679,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-25"},{"name":"pi-landstrip","version":"0.20.27","description":"Sandboxed Bash and process-backed agents for Pi","publisher":"GitHub Actions","downloads":9614,"repository":"git+https://github.com/landstrip/landstrip.git","homepage":"https://github.com/landstrip/landstrip#readme","date":"2026-11-10"},{"name":"agent-ste","version":"0.5.2","description":"Simplified Technical English (ASD-STE100) enforcement for a coding agent. It gates a write, a commit message and a reply in pi and in Claude Code.","publisher":"GitHub Actions","downloads":9556,"repository":"git+https://github.com/ctotheameron/agent-ste.git","homepage":"https://github.com/ctotheameron/agent-ste#readme","date":"2026-08-18"},{"name":"om-memory-system","version":"5.9.1","description":"Opinionated modular memory system for coding agents (OpenCode + Pi)","publisher":"GitHub Actions","downloads":9549,"repository":"git+https://github.com/cmdaltctr/omms.git","homepage":"https://github.com/cmdaltctr/omms#readme","date":"2026-11-08"},{"name":"runline","version":"0.41.0","description":"Code mode for agents — turn any API or command into a callable action","publisher":"miclivs","downloads":9501,"repository":"git+https://github.com/Michaelliv/runline.git","homepage":"https://github.com/Michaelliv/runline#readme","date":"2026-11-09"},{"name":"@nredd/pi-session-kit","version":"0.9.0","description":"Session-scoped pi tools and commands, offline cross-machine usage stats and a portable privacy-only stats CLI. No daemon.","publisher":"GitHub Actions","downloads":9459,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness#readme","date":"2026-10-29"},{"name":"@nredd/pi-dev-tools","version":"0.7.0","description":"Typed pi tools for git, ssh, Python (uv/ruff/ty/pytest) and Rust (cargo): compact structured results, explicit exit-code states, no-shell spawn, bounded output.","publisher":"GitHub Actions","downloads":9404,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness#readme","date":"2026-10-29"},{"name":"pi-zentui","version":"0.34.0","description":"Modular UI components for Pi and Oh My Pi — customizable editors, messages, progress displays, and statuslines.","publisher":"GitHub Actions","downloads":9379,"repository":"git+https://github.com/lmilojevicc/pi-zentui.git","homepage":"https://github.com/lmilojevicc/pi-zentui#readme","date":"2026-11-02"},{"name":"@gyoungwe/pi-analysis","version":"0.1.2","description":"Portable scientific analysis adapters and readiness gates for native Pi","publisher":"gyoungwe","downloads":9345,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-23"},{"name":"@juicesharp/rpiv-btw","version":"2.15.0","description":"Pi extension. The /btw slash command, for putting a one-off side question to the same primary model without polluting the main conversation.","publisher":"juicesharp","downloads":9322,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-btw#readme","date":"2026-10-24"},{"name":"@trim21/personal-pi-extensions","version":"0.1.20261110172020","description":"Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more","publisher":"GitHub Actions","downloads":9287,"repository":"git+https://github.com/trim21/pi-extensions.git","homepage":"https://github.com/trim21/pi-extensions#readme","date":"2026-11-10"},{"name":"pi-browser-harness","version":"0.17.0","description":"Browser control extension for pi — navigate, click, type, screenshot, and extract data from real Chrome via CDP","publisher":"GitHub Actions","downloads":9286,"repository":"git+https://github.com/amankumarsingh77/pi-browser-harness.git","homepage":"https://github.com/amankumarsingh77/pi-browser-harness#readme","date":"2026-11-09"},{"name":"pi-herdr-agents","version":"3.8.0","description":"Asynchronous Pi subagents in Herdr, with optional isolated Git worktrees","publisher":"GitHub Actions","downloads":9242,"repository":"git+https://github.com/giuseppecrj/pi-herdr-agents.git","homepage":"https://github.com/giuseppecrj/pi-herdr-agents#readme","date":"2026-11-08"},{"name":"@nredd/pi-subscription-router","version":"0.5.0","description":"Pi virtual models that route across included subscription quota: Anthropic and ChatGPT Codex usage collectors, confirmed per-family exhaustion, and mid-run quota recovery.","publisher":"GitHub Actions","downloads":9232,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness#readme","date":"2026-10-29"},{"name":"@fro.bot/systematic","version":"3.32.1","description":"Compound-engineering loops for OpenCode, Pi, and Claude Code","publisher":"GitHub Actions","downloads":9218,"repository":"git+https://github.com/marcusrbrown/systematic.git","homepage":"https://fro.bot/systematic","date":"2026-11-09"},{"name":"@gyoungwe/pi-evidence","version":"0.1.1","description":"Portable evidence manifests, provenance, checkpoints and replay proofs for native Pi","publisher":"gyoungwe","downloads":9204,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-21"},{"name":"@gyoungwe/pi-research","version":"0.2.0","description":"Evidence-gated research retrieval, reading, deposition and source-grounded answer tools for native Pi","publisher":"gyoungwe","downloads":9141,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-25"},{"name":"pi-maestro-flow","version":"0.35.1","description":"All-in-one multi-agent orchestration for the Pi coding agent — parallel teammate dispatch, goals, plans, knowledge system, MCP/LSP/browser, and cockpit visualization in a single install","publisher":"dyw1234","downloads":9135,"repository":"","homepage":"","date":"2026-10-27"},{"name":"@astrosheep/square","version":"0.4.7","description":"A shared public square where agents join, perceive activity, express, and step out when done.","publisher":"astrosheep","downloads":9126,"repository":"","homepage":"","date":"2026-11-08"},{"name":"@gyoungwe/pi-connectors","version":"0.1.1","description":"Host-neutral, read-only connector declarations and provenance receipts for native Pi","publisher":"gyoungwe","downloads":9120,"repository":"git+https://github.com/Gyoungwe/drone-plugins.git","homepage":"https://github.com/Gyoungwe/drone-plugins#readme","date":"2026-10-21"},{"name":"pi-better-harness","version":"0.42.0","description":"Pi extension bundle for a write sandbox, subagents, background tasks, SSH, goals, model routing, and Outcome & Todo.","publisher":"GitHub Actions","downloads":9100,"repository":"git+https://github.com/1aboveio/pi-better-harness.git","homepage":"https://github.com/1aboveio/pi-better-harness/tree/main/packages/pi-better-harness#readme","date":"2026-11-10"},{"name":"@nredd/pi-todo","version":"2.13.11","description":"Pi todo extension with a persistent overlay and plan-aware task tracking.","publisher":"GitHub Actions","downloads":9100,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness/tree/main/packages/todo#readme","date":"2026-10-29"},{"name":"pi-commandcode-provider","version":"0.8.1","description":"pi custom provider for Command Code API (commandcode.ai)","publisher":"GitHub Actions","downloads":9091,"repository":"git+https://github.com/patlux/pi-commandcode-provider.git","homepage":"https://github.com/patlux/pi-commandcode-provider#readme","date":"2026-11-09"},{"name":"@chankov/agent-fleet","version":"2.1.0","description":"Subagent orchestration for the pi coding agent — a thin dispatcher runs parallel subagents under a verification contract, keeping their output out of its context window. Multi-agent fleets, 15 personas, skills, herdr panes, peer coms, Hermes desktop.","publisher":"GitHub Actions","downloads":9087,"repository":"git+https://github.com/chankov/agent-fleet.git","homepage":"https://github.com/chankov/agent-fleet","date":"2026-11-08"},{"name":"@nredd/pi-preset","version":"0.3.0","description":"Optional, opinionated Pi preset: specialist agents, reusable workflow skills, expanded footer, themes, and public-safe settings defaults.","publisher":"GitHub Actions","downloads":9070,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness#readme","date":"2026-10-29"},{"name":"@nredd/pi-subagents","version":"0.22.0-nredd.8","description":"A pi extension that brings Claude Code-like sub-agents and workflow orchestration to pi — parallel execution, live widget, fleet view, custom agent types, mid-run steering, dynamic workflows, Claude Code compatibility, look and feel.","publisher":"GitHub Actions","downloads":9047,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness/tree/main/packages/subagents#readme","date":"2026-10-29"},{"name":"@nredd/pi-computer-use","version":"0.6.0","description":"Pi extension that lets AI agents observe and control macOS apps.","publisher":"GitHub Actions","downloads":8895,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness/tree/main/packages/computer-use#readme","date":"2026-10-29"},{"name":"pi-llama-cpp","version":"0.21.0","description":"Pi extension for llama.cpp integration. Supports multiple router/single/legacy/llama-swap servers.","publisher":"gsanhueza","downloads":8887,"repository":"git+https://github.com/gsanhueza/pi-llama-cpp.git","homepage":"https://github.com/gsanhueza/pi-llama-cpp#readme","date":"2026-10-31"},{"name":"@nredd/pi-plan-mode","version":"0.59.3-nredd.3","description":"Pi extension that adds a Codex-like read-only /plan collaboration mode.","publisher":"GitHub Actions","downloads":8814,"repository":"git+https://github.com/nredd/pi-harness.git","homepage":"https://github.com/nredd/pi-harness/tree/main/packages/plan-mode#readme","date":"2026-10-29"},{"name":"pi-extensible-workflows","version":"6.3.0","description":"Deterministic multi-agent workflow orchestration and codemode scripts for Pi","publisher":"GitHub Actions","downloads":8508,"repository":"git+https://github.com/vekexasia/pi-extensible-workflows.git","homepage":"https://vekexasia.github.io/pi-extensible-workflows/","date":"2026-10-25"},{"name":"@devflow-tools/claude-code-plugin","version":"0.19.31","description":"Claude Code hooks and skills for the DevFlow development intelligence runtime.","publisher":"shilongfei","downloads":8485,"repository":"git+https://github.com/shilongfeicool/dev-flow.git","homepage":"https://github.com/shilongfeicool/dev-flow#readme","date":"2026-11-10"},{"name":"dripline","version":"0.9.16","description":"Query anything, one drip at a time","publisher":"miclivs","downloads":8483,"repository":"git+https://github.com/Michaelliv/dripline.git","homepage":"https://github.com/Michaelliv/dripline#readme","date":"2026-05-11"},{"name":"pi-goal-list-loop-audit","version":"0.39.68","description":"Durable work supervision for Pi: turn outcomes into goals, audited queues and spec-driven builds, recover interruptions, and verify completion against evidence.","publisher":"GitHub Actions","downloads":8477,"repository":"git+https://github.com/DraconDev/pi-goal-list-loop-audit.git","homepage":"https://github.com/DraconDev/pi-goal-list-loop-audit#readme","date":"2026-11-10"},{"name":"pi-orchestrator-config","version":"4.31.1","description":"Orchestrator pattern for pi: specialist subagents, enforcement, code review loop, workflow commands","publisher":"myakove","downloads":8413,"repository":"","homepage":"","date":"2026-11-10"},{"name":"pi-quiver","version":"6.16.1","description":"Personal pack of Pi coding-agent extensions: context-safe fetch, doc_to_md PDF/DOCX/PPTX-to-Markdown conversion, session naming, a themed ASCII startup header, Opus 4.8 fast mode, and a provider-stall watchdog.","publisher":"GitHub Actions","downloads":8371,"repository":"git+https://github.com/jjuraszek/pi-quiver.git","homepage":"https://github.com/jjuraszek/pi-quiver#readme","date":"2026-11-09"},{"name":"@router-for-me/pi-cliproxyapi-provider","version":"1.4.25","description":"Pi provider extension that auto-registers CLIProxyAPI models, plus TUI elapsed/TPS status","publisher":"luispater","downloads":8283,"repository":"git+https://github.com/router-for-me/pi-cliproxyapi-provider.git","homepage":"https://github.com/router-for-me/pi-cliproxyapi-provider#readme","date":"2026-11-07"},{"name":"@juicesharp/rpiv-pi","version":"2.15.0","description":"A skill-based development workflow for Pi Agent. 30 contract-carrying skills (discover → research → design → plan → implement → validate → code-review → commit, and more), the 15 named subagents they dispatch, and four built-in /wf workflows that chain th","publisher":"juicesharp","downloads":8238,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-pi#readme","date":"2026-10-24"},{"name":"@cortexkit/pi-anthropic-auth","version":"2.8.0","description":"Use Claude Pro/Max subscriptions in [Pi](https://pi.dev) with `@cortexkit/pi-anthropic-auth`. The companion `@cortexkit/opencode-anthropic-auth` package supports [OpenCode](https://opencode.ai) 1 and 2; both integrations use the shared `@cortexkit/anthrop","publisher":"GitHub Actions","downloads":8150,"repository":"git+https://github.com/cortexkit/anthropic-auth.git","homepage":"https://github.com/cortexkit/anthropic-auth#readme","date":"2026-11-09"},{"name":"pi-braid","version":"0.43.42","description":"🥨 Braid - Metacognitive extension suite for pi coding agent: Adds memory, plan tracking, structured cognitive signals and completion checks on top of pi core loop, so long sessions keep their context and stop claiming unfinished work.","publisher":"GitHub Actions","downloads":8084,"repository":"git+https://github.com/kifirkin/pi-braid.git","homepage":"https://kifirkin.github.io","date":"2026-11-10"},{"name":"openlore","version":"3.6.0","description":"Persistent architectural memory and structural cognition for AI coding agents.","publisher":"GitHub Actions","downloads":8034,"repository":"git+https://github.com/clay-good/openlore.git","homepage":"https://github.com/clay-good/openlore#readme","date":"2026-11-09"},{"name":"pi-dashscope-native","version":"0.3.0","description":"Native Alibaba Cloud DashScope Qwen provider for Pi","publisher":"yiki21","downloads":8032,"repository":"git+https://github.com/Yiki21/pi-dashscope-native.git","homepage":"https://github.com/Yiki21/pi-dashscope-native#readme","date":"2026-10-03"},{"name":"@narumitw/pi-lsp","version":"0.49.12","description":"Pi extension that exposes configurable, language-agnostic LSP tools through a shared runner.","publisher":"GitHub Actions","downloads":7988,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-04"},{"name":"@sassywares/skills","version":"0.8.0","description":"Lean, explicit-invocation Agent Skills for shipping fast: plan, work, review, validate, ship.","publisher":"GitHub Actions","downloads":7875,"repository":"git+https://github.com/sassywares/sassy-skills.git","homepage":"https://github.com/sassywares/sassy-skills#readme","date":"2026-11-09"},{"name":"pi-multi-account","version":"1.28.1","description":"Automatic multi-account failover & rotation for Pi Agent across Anthropic (Claude), native OpenAI ChatGPT and legacy Codex, Kimi For Coding, Cursor, Qwen/Alibaba, and Ollama. Auto-discovers authenticated accounts, grows the rotation on login, and drops ac","publisher":"GitHub Actions","downloads":7873,"repository":"git+https://github.com/Sarrius/pi-multi-account.git","homepage":"https://github.com/Sarrius/pi-multi-account#readme","date":"2026-11-02"},{"name":"pi-code","version":"1.7.0","description":"Claude Code experience for the pi coding agent: reads your .claude config (rules, commands, skills, hooks, output styles, MCP servers, agents) and adds todo, checkpoints, memory, web, subagents, and goals","publisher":"GitHub Actions","downloads":7767,"repository":"git+https://github.com/ilovepixelart/pi-code.git","homepage":"https://github.com/ilovepixelart/pi-code#readme","date":"2026-11-04"},{"name":"@juicesharp/rpiv-args","version":"2.15.0","description":"Pi extension. Shell-style $1 / $ARGUMENTS placeholders and !`cmd` / ```! shell substitution, expanded into your Pi skills at invocation.","publisher":"juicesharp","downloads":7725,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-args#readme","date":"2026-10-24"},{"name":"@agimon-ai/doompi-core","version":"0.0.1-alpha.128","description":"Doompi runtime systems and reusable core services.","publisher":"agiflow-ai","downloads":7711,"repository":"git+https://github.com/AgiFlow/doompi.git","homepage":"https://agimon.ai","date":"2026-10-11"},{"name":"@amaster.ai/pi-computer-use","version":"0.1.37","description":"Cross-platform computer-use tools for Pi desktop automation","publisher":"2betop","downloads":7670,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-ollama-cloud","version":"0.13.1","description":"An [Ollama Cloud](https://ollama.com) provider extension for the [Pi](https://pi.dev) coding agent. It connects directly to Ollama Cloud, so no local Ollama server is required.","publisher":"GitHub Actions","downloads":7567,"repository":"git+https://github.com/fgrehm/pi-ollama-cloud.git","homepage":"https://github.com/fgrehm/pi-ollama-cloud#readme","date":"2026-10-21"},{"name":"@fitchmultz/pi-subagents","version":"0.52.29","description":"Pi extension for subagent orchestration and local session coordination","publisher":"GitHub Actions","downloads":7560,"repository":"git+https://github.com/fitchmultz/pi-subagents.git","homepage":"https://github.com/fitchmultz/pi-subagents#readme","date":"2026-11-08"},{"name":"notesoup","version":"0.58.2","description":"Host-neutral notes, history and context-window core, with plugins for Pi, Claude Code, the DeepSeek Harness and Codex.","publisher":"astrosheep","downloads":7556,"repository":"git+https://github.com/astrosheep-zero/notesoup.git","homepage":"https://github.com/astrosheep-zero/notesoup#readme","date":"2026-11-10"},{"name":"pi-owed","version":"0.33.2","description":"owed — the acceptance ledger for multi-agent task graphs. No receipt, not done.","publisher":"GitHub Actions","downloads":7388,"repository":"git+https://github.com/purboo/pi-owed.git","homepage":"https://github.com/purboo/pi-owed#readme","date":"2026-10-25"},{"name":"@spences10/pi-redact","version":"0.0.16","description":"Tool-output redaction for Pi that replaces likely secrets before they reach the model context","publisher":"spences10","downloads":7382,"repository":"git+https://github.com/spences10/my-pi.git","homepage":"https://github.com/spences10/my-pi/tree/main/packages/pi-redact#readme","date":"2026-11-04"},{"name":"@cortexkit/pi-antigravity-auth","version":"3.0.37","description":"Google Antigravity OAuth extension for pi - access Gemini and Claude models using Google credentials","publisher":"GitHub Actions","downloads":7350,"repository":"git+https://github.com/cortexkit/antigravity-auth.git","homepage":"https://github.com/cortexkit/antigravity-auth#readme","date":"2026-11-08"},{"name":"@lucid-agents/pi-xgate","version":"0.1.7","description":"Wallet-paid OpenAI and Anthropic inference through xgate for the Pi coding agent","publisher":"realm_lord","downloads":7262,"repository":"git+https://github.com/daydreamsai/402-router.git","homepage":"https://github.com/daydreamsai/402-router/tree/main/packages/pi-xgate","date":"2026-10-21"},{"name":"pi-subagent-manager","version":"1.7.0","description":"Hierarchical, steerable subagent threads for pi","publisher":"GitHub Actions","downloads":7230,"repository":"git+https://github.com/championswimmer/pi-subagent-manager.git","homepage":"https://github.com/championswimmer/pi-subagent-manager#readme","date":"2026-11-06"},{"name":"@geohar/pi-acp","version":"0.4.0","description":"ACP adapter for pi coding agent (fork), with a bundled pi extension for subagent→plan","publisher":"GitHub Actions","downloads":7186,"repository":"git+https://github.com/georgeharker/pi-acp.git","homepage":"https://github.com/georgeharker/pi-acp#readme","date":"2026-11-04"},{"name":"pi-freeflow","version":"1.45.0","description":"Thin provider for OMP/Pi — model list + dumb relay proxy + log; host pi-ai owns thinking/normalization","publisher":"trefeon","downloads":7158,"repository":"git+https://github.com/trefeon/pi-freeflow.git","homepage":"https://github.com/trefeon/pi-freeflow#readme","date":"2026-11-09"},{"name":"@geohar/un-bien","version":"0.25.1","description":"Mobile remote control and local agent mesh for the Pi coding agent. Pair your phone via QR over a relay, watch tool calls in real time, run multi-Pi sessions over a local Unix Domain Socket broker, and let agents talk to each other through structured requ","publisher":"GitHub Actions","downloads":7052,"repository":"git+https://github.com/georgeharker/un-bien.git","homepage":"https://docs.georgeharker.com/un-bien","date":"2026-11-09"},{"name":"@awebai/oats-pi","version":"0.69.12","description":"OATS pi runtime bridge — memory session events and pre-workspace bootstrap over the runtime-neutral @awebai/oats kernel","publisher":"juanre","downloads":7038,"repository":"git+https://github.com/awebai/oats.git","homepage":"https://github.com/awebai/oats#readme","date":"2026-11-04"},{"name":"pi-ptc-subagents","version":"7.13.0","description":"Programmable tool calling (PTC) and subagent fan-out for pi","publisher":"GitHub Actions","downloads":7037,"repository":"git+https://github.com/a1121611810/pi-ptc-subagents.git","homepage":"https://github.com/a1121611810/pi-ptc-subagents","date":"2026-11-10"},{"name":"@fitchmultz/pi-mcp-adapter","version":"8.0.35","description":"Token-efficient MCP adapter for the Pi coding agent","publisher":"GitHub Actions","downloads":7011,"repository":"git+https://github.com/fitchmultz/pi-mcp-adapter.git","homepage":"https://github.com/fitchmultz/pi-mcp-adapter","date":"2026-11-08"},{"name":"@amaster.ai/pi-web-access","version":"0.1.37","description":"Pi extension for web search, URL content extraction, and image search (Cloudflare, Tavily, Kimi, DeepSeek, Mimo, Z.AI, DashScope, Unsplash, and more)","publisher":"2betop","downloads":6990,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-caveman","version":"1.0.12","description":"Why use many token when few do trick. Caveman mode for pi — cuts ~75% output tokens while keeping full technical accuracy.","publisher":"GitHub Actions","downloads":6961,"repository":"git+https://github.com/jonjonrankin/pi-caveman.git","homepage":"https://github.com/jonjonrankin/pi-caveman","date":"2026-10-22"},{"name":"pi-qwen_dashscope","version":"1.1.0","description":"Alibaba DashScope (ModelStudio / 百炼) provider for oh my pi — Qwen3, GLM-5, Kimi K2.5, MiniMax via OpenAI-compatible API, with dynamic full-catalog model discovery","publisher":"fei-ling","downloads":6952,"repository":"git+ssh://git@github.com/koderBoy/pi-qwen_bailian-models.git","homepage":"https://github.com/koderBoy/pi-qwen_bailian-models#readme","date":"2026-08-21"},{"name":"pi-ui-extension","version":"1.20.2","description":"Pi terminal UI extension with session management, context inspection, Tool/MCP usage tracking, sidebar panels, and a compact footer","publisher":"GitHub Actions","downloads":6754,"repository":"git+https://github.com/1993yihuan/pi-ui-extension.git","homepage":"https://github.com/1993yihuan/pi-ui-extension#readme","date":"2026-11-10"},{"name":"pi-subdir-context","version":"1.1.7","description":"Automatically load AGENTS.md context from subdirectories in pi coding agent","publisher":"GitHub Actions","downloads":6748,"repository":"git+https://github.com/default-anton/pi-subdir-context.git","homepage":"https://github.com/default-anton/pi-subdir-context#readme","date":"2026-05-07"},{"name":"pi-extension-nvidia-nim","version":"1.18.1","description":"Model-aware NVIDIA NIM reasoning compatibility for the pi coding agent","publisher":"stridertibe","downloads":6666,"repository":"git+https://github.com/Tibbee/pi-nvidia-nim-provider.git","homepage":"https://github.com/Tibbee/pi-nvidia-nim-provider#readme","date":"2026-10-25"},{"name":"pi-smart-compact","version":"10.8.1","description":"Smart Compact — recoverable context cleanup, verified compaction, session navigation and project memory for Pi Coding Agent.","publisher":"GitHub Actions","downloads":6665,"repository":"git+https://github.com/alpertarhan/pi-smart-compact.git","homepage":"https://github.com/alpertarhan/pi-smart-compact#readme","date":"2026-11-06"},{"name":"@henryqw/pi-task-models","version":"9.4.0","description":"Shared task model profiles and routing for HenryQW Pi extensions.","publisher":"GitHub Actions","downloads":6656,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-06"},{"name":"pi-jev-compaction","version":"1.0.0","description":"Pi Coding Agent extension that replaces LLM-summary compaction with TypeSafe Jev keep/drop/truncate decisions.","publisher":"each1024","downloads":6648,"repository":"git+https://github.com/eachann1024/pi-jev-compaction.git","homepage":"https://github.com/eachann1024/pi-jev-compaction#readme","date":"2026-09-18"},{"name":"not-enough-retry","version":"0.4.0","description":"Make Pi's built-in retry catch every non-permanent provider error.","publisher":"enderliquid","downloads":6583,"repository":"git+https://github.com/EnderLiquid/not-enough-retry.git","homepage":"https://github.com/EnderLiquid/not-enough-retry#readme","date":"2026-09-22"},{"name":"pi-observational-memory","version":"3.1.4","description":"Observational memory extension for pi — cache-friendly tiered compaction with observations and reflections.","publisher":"GitHub Actions","downloads":6529,"repository":"git+https://github.com/elpapi42/pi-observational-memory.git","homepage":"https://github.com/elpapi42/pi-observational-memory#readme","date":"2026-09-20"},{"name":"pi-optchat","version":"0.11.8","description":"OptChat memory for Pi: persistent profiles, zoomable history, background agents, and conversation imports.","publisher":"GitHub Actions","downloads":6454,"repository":"git+https://github.com/jonaslsaa/pi-optchat.git","homepage":"https://github.com/jonaslsaa/pi-optchat#readme","date":"2026-11-07"},{"name":"pi-docparser","version":"4.0.0","description":"Pi package that adds document_parse, document_search, document_screenshot, and a companion skill for local document understanding with LiteParse v2.","publisher":"maxedapps","downloads":6423,"repository":"git+https://github.com/maxedapps/pi-docparser.git","homepage":"https://maximilian-schwarzmueller.com","date":"2026-08-03"},{"name":"@runkids/figlens","version":"0.14.3","description":"Give your coding agent the design details to build, compare and follow changes from a saved Figma .fig: layout, text, variables, assets, reference renders, screenshot comparison and revision diffs. Offline: no Dev Mode seat, login or API quota. Pi, OpenCo","publisher":"GitHub Actions","downloads":6395,"repository":"git+https://github.com/runkids/figlens.git","homepage":"https://figlens.runkids.cc","date":"2026-11-09"},{"name":"arcmira","version":"0.6.3","description":"YouTube transcript search and monitoring for your AI: exact quotes, full transcripts and speakers.","publisher":"GitHub Actions","downloads":6392,"repository":"git+https://github.com/arcmira/arcmira.git","homepage":"https://arcmira.com","date":"2026-11-09"},{"name":"@tmustier/pi-ralph-wiggum","version":"0.2.5","description":"Long-running agent loops for iterative development in Pi.","publisher":"tmustier","downloads":6359,"repository":"git+https://github.com/tmustier/pi-extensions.git","homepage":"https://github.com/tmustier/pi-extensions/tree/main/pi-ralph-wiggum","date":"2026-11-03"},{"name":"pi-alibaba-models","version":"1.1.1","description":"The complete Alibaba provider for pi — Plan subscription + Cloud pay-per-token, International + China endpoints, Anthropic + OpenAI shapes, native thinking levels. Qwen 3.8 Max, Qwen 3.7/3.6, DeepSeek V4 Pro, Kimi K3, GLM-5, MiniMax M3.","publisher":"GitHub Actions","downloads":6355,"repository":"git+https://github.com/Fornace/pi-alibaba-models.git","homepage":"https://github.com/Fornace/pi-alibaba-models#readme","date":"2026-09-06"},{"name":"pi-nvidia-nim","version":"1.1.23","description":"NVIDIA NIM API provider extension for pi coding agent — access 100+ models from build.nvidia.com","publisher":"xryul","downloads":6350,"repository":"git+https://github.com/xRyul/pi-nvidia-nim.git","homepage":"https://github.com/xRyul/pi-nvidia-nim","date":"2026-07-20"},{"name":"pi-interactive-shell","version":"0.18.0","description":"Run AI coding agents in pi TUI overlays with interactive, hands-free, and dispatch supervision","publisher":"nicopreme","downloads":6348,"repository":"git+https://github.com/nicobailon/pi-interactive-shell.git","homepage":"https://github.com/nicobailon/pi-interactive-shell#readme","date":"2026-10-28"},{"name":"pi-anchorloop","version":"2.13.0","description":"Agent workflow skills for pi: one entry skill per task type, each with playbooks, over a shared Align → Anchor → Act → Verify loop, plus loop extensions (loop book, anchor gate, decision trail tool, Jev second thought, skill validator, stream rules).","publisher":"GitHub Actions","downloads":6340,"repository":"git+https://github.com/wayne930242/anchorloop.git","homepage":"https://github.com/wayne930242/anchorloop#readme","date":"2026-11-09"},{"name":"@henryqw/pi-pr","version":"11.3.2","description":"Run /pr to safely discover or link the current pull request, then create, update, address feedback, fix CI, or merge when ready.","publisher":"GitHub Actions","downloads":6262,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-07"},{"name":"@trevonistrevon/pi-loop","version":"0.7.19","description":"A Pi extension for scheduled/event-driven re-wakes, durable workflows, subagent orchestration, tasks, and background monitoring.","publisher":"trevonistrevon","downloads":6251,"repository":"git+https://github.com/trvon/pi-loop.git","homepage":"https://github.com/trvon/pi-loop#readme","date":"2026-10-31"},{"name":"@estebanforge/pi-antigravity-bridge","version":"1.10.3","description":"Gemini provider for Pi on the Antigravity ACP server (official Google ACP) or the stream-json agy CLI. Use antigravity/* models in Pi. Full /model picker support. Models runs Pi's tools. ToS safe to use.","publisher":"estebanforge","downloads":6229,"repository":"git+https://github.com/EstebanForge/pi-extensions.git","homepage":"https://github.com/EstebanForge/pi-extensions#readme","date":"2026-11-10"},{"name":"pi-token-speed","version":"0.12.0","description":"Pi extension to measure tokens per second via sliding window.","publisher":"gsanhueza","downloads":6203,"repository":"git+https://github.com/gsanhueza/pi-token-speed.git","homepage":"https://github.com/gsanhueza/pi-token-speed#readme","date":"2026-10-20"},{"name":"@ravshansbox/pi-quota","version":"0.10.15","description":"Anthropic and OpenAI Codex quota status extension for pi","publisher":"GitHub Actions","downloads":6195,"repository":"git+https://github.com/ravshansbox/pi-quota.git","homepage":"https://github.com/ravshansbox/pi-quota#readme","date":"2026-11-01"},{"name":"@llblab/pi-kit","version":"0.40.0","description":"Version-pinned distribution of LLB Lab extensions and Skills for Pi","publisher":"GitHub Actions","downloads":6180,"repository":"git+https://github.com/llblab/pi-kit.git","homepage":"https://github.com/llblab/pi-kit","date":"2026-11-10"},{"name":"pi-typesafe","version":"0.14.0","description":"TypeSafe AI (Jev) decisions for Pi: batched Choice/Score/Noul evaluation tool, terminal playground, and a typed API other extensions build on.","publisher":"devmortimer","downloads":6149,"repository":"git+https://github.com/DevMortimer/pi-typesafe.git","homepage":"https://github.com/DevMortimer/pi-typesafe#readme","date":"2026-11-03"},{"name":"@amaster.ai/pi-browser-use","version":"0.1.37","description":"Pi browser automation via chrome-devtools-mcp with opt-in live sessions and cloud lifecycle adapters","publisher":"2betop","downloads":6126,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-tsgw","version":"3.1.0","description":"面向 TOSSP AIH gateway 的 Pi 扩展:按厂商维护聊天与图片模型目录及思考策略,支持四种聊天协议、图片生成与编辑工具,以及原生 System One 分类模型。","publisher":"GitHub Actions","downloads":6111,"repository":"git+https://github.com/tossp/pi-tsgw.git","homepage":"https://github.com/tossp/pi-tsgw#readme","date":"2026-11-10"},{"name":"pi-cohort","version":"7.7.1","description":"Delegate Pi work to focused child agents: code review, scouting, implementation, parallel audits, saved chains, and background jobs.","publisher":"GitHub Actions","downloads":6109,"repository":"git+https://github.com/jjuraszek/pi-cohort.git","homepage":"https://github.com/jjuraszek/pi-cohort#readme","date":"2026-11-09"},{"name":"@tangle-network/tcloud-agent","version":"1.0.1","description":"Agent run-loop primitive over Tangle sandbox transports — runs an AgentProfile against a brief with criterion gates, budget caps, and streaming events. Includes TangleToolProvider for Pi tool integration.","publisher":"drewstone","downloads":6031,"repository":"git+https://github.com/tangle-network/tcloud.git","homepage":"https://github.com/tangle-network/tcloud/tree/main/packages/tcloud-agent#readme","date":"2026-10-29"},{"name":"@agimon-ai/po-loop","version":"0.0.0-alpha.40","description":"Session-scoped recurring prompt scheduler and loop controls for Pi coding agents.","publisher":"agiflow-ai","downloads":6022,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-10-21"},{"name":"@amaster.ai/pi-task-scheduler","version":"0.1.37","description":"Pi extension for cron-based scheduled task management with LLM-callable tools","publisher":"2betop","downloads":6009,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@aliou/pi-guardrails","version":"0.23.0","description":"![banner](https://assets.aliou.me/github/aliou/pi-guardrails/banner.png)","publisher":"GitHub Actions","downloads":5995,"repository":"git+https://github.com/aliou/pi-guardrails.git","homepage":"https://github.com/aliou/pi-guardrails#readme","date":"2026-11-07"},{"name":"pi-warden","version":"2.7.0","description":"Makes the Pi agent follow your project's rules. Jev judges every write against your pi-warden.md and quotes the broken rule back to the agent, names slop, breaks stuck loops, calls out unverified done claims, compresses large tool output, and holds the ra","publisher":"devmortimer","downloads":5977,"repository":"git+https://github.com/DevMortimer/pi-warden.git","homepage":"https://github.com/DevMortimer/pi-warden#readme","date":"2026-11-06"},{"name":"pi-alibaba-bailian","version":"0.1.0","description":"Pi provider extension for Alibaba Cloud Model Studio (Bailian/DashScope) API keys","publisher":"jiadun.wt","downloads":5968,"repository":"","homepage":"","date":"2026-08-17"},{"name":"@capdiem/pi-todo","version":"0.3.2","description":"A lightweight atomic todo tool for the Pi coding agent: one-call snapshot plans, three states, stale-write guard, plus a TUI widget and a pi-agent-desktop sidebar panel","publisher":"GitHub Actions","downloads":5942,"repository":"git+https://github.com/capdiem/pi-extensions.git","homepage":"https://github.com/capdiem/pi-extensions#readme","date":"2026-09-01"},{"name":"acstack","version":"0.57.11","description":"Agentic coding stack for Claude Code, Codex, and pi: skills, orchestrator instructions, CLI, and verification agents.","publisher":"ac8318740","downloads":5938,"repository":"git+https://github.com/ac8318740/acstack.git","homepage":"https://github.com/ac8318740/acstack#readme","date":"2026-11-08"},{"name":"@henryqw/pi-config-store","version":"4.1.3","description":"Safe JSON configuration storage for Pi extensions.","publisher":"GitHub Actions","downloads":5907,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-03"},{"name":"@pi-unipi/notify","version":"3.0.3","description":"Cross-platform notification extension for Pi — native OS, Gotify, and Telegram notifications for agent lifecycle events","publisher":"neuron-mr-white","downloads":5905,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"pi-tidy","version":"0.9.5","description":"Tool folding for the pi agent — a reply's tool calls collapse to one clickable line; failures, edit diffs and running jobs stay visible","publisher":"GitHub Actions","downloads":5893,"repository":"git+https://github.com/Andy8647/pi-tidy.git","homepage":"https://github.com/Andy8647/pi-tidy#readme","date":"2026-11-09"},{"name":"@mjasnikovs/pi-task","version":"0.42.66","description":"Deterministic task planning and spec-orchestration for local models — crash-safe /task pipelines with verify/enforce gates, a real-time remote web view, and web/docs/fetch/worker subagent tools.","publisher":"mjasnikovs","downloads":5873,"repository":"git+https://github.com/mjasnikovs/pi-task.git","homepage":"https://github.com/mjasnikovs/pi-task#readme","date":"2026-10-24"},{"name":"@artil-ai/pi","version":"0.4.7","description":"Give Pi agents their own email inbox, phone number, and workspace accounts to work directly with customers, teammates, and other agents.","publisher":"GitHub Actions","downloads":5870,"repository":"git+https://github.com/artilai/plugins.git","homepage":"https://docs.artil.ai/pi","date":"2026-11-06"},{"name":"bestony-pi-preset","version":"0.0.109","description":"Bestony's personal Pi coding agent preset — skills, extensions, prompts, and themes.","publisher":"GitHub Actions","downloads":5869,"repository":"git+https://github.com/bestony/bestony-pi.git","homepage":"https://github.com/bestony/bestony-pi#readme","date":"2026-11-08"},{"name":"@xynogen/pix-core","version":"0.7.31","description":"Pi extension bundle — installs and activates all core pix-* extensions","publisher":"GitHub Actions","downloads":5856,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono/tree/main/packages/pix-core#readme","date":"2026-11-10"},{"name":"pi-claude-code-ui","version":"1.0.112","description":"Claude Code style UI for pi: one-line tool groups, syntax-highlighted diffs, an activity spinner, and colors from your terminal theme","publisher":"leftwinglautus","downloads":5824,"repository":"git+https://github.com/FammasMaz/pi-cc-tools.git","homepage":"https://github.com/FammasMaz/pi-cc-tools#readme","date":"2026-11-10"},{"name":"pi-cmux","version":"0.6.0","description":"Pi package with cmux-powered terminal integrations","publisher":"javimolina","downloads":5790,"repository":"git+https://github.com/javiermolinar/pi-cmux.git","homepage":"https://github.com/javiermolinar/pi-cmux#readme","date":"2026-11-03"},{"name":"@gtrabanco/pi-nan-provider","version":"1.5.0","description":"NaN Builders (api.nan.builders) model provider for pi - OpenAI-compatible registration with a models.dev-generated fallback, tier-aware live catalog, and an optional community media MCP bridge","publisher":"GitHub Actions","downloads":5772,"repository":"git+https://github.com/gtrabanco/pi-nan-provider.git","homepage":"https://github.com/gtrabanco/pi-nan-provider#readme","date":"2026-11-02"},{"name":"@justjoshn/pi-pstack","version":"0.15.36-pi.35","description":"pstack 0.15.36 for Pi with its soft-dependency team-kit skills vendored in: rigorous agent workflows and principles as Pi skills, with the host features they use: subagents, todos, modes, plan mode, the model rule, /loop, subscriptions and routines, AskQu","publisher":"GitHub Actions","downloads":5722,"repository":"git+https://github.com/just-joshn/pi-customizations.git","homepage":"https://github.com/just-joshn/pi-customizations/tree/main/extensions/pi-pstack#readme","date":"2026-11-10"},{"name":"@pi-archimedes/core","version":"2.13.0","description":"Core primitives for pi-archimedes","publisher":"danmademe","downloads":5674,"repository":"https://github.com/archimedes-codes/pi-archimedes.git","homepage":"https://github.com/danielcherubini/pi-archimedes#readme","date":"2026-11-03"},{"name":"@amaster.ai/pi-video-gen","version":"0.1.37","description":"Pi extension for direct video-model clips, recoverable mixed-shot rendering, and local concat, FFmpeg timeline or Remotion composition with subtitles and QC.","publisher":"2betop","downloads":5670,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-agents","version":"0.40.0","description":"Durable, named agents for Pi: delegate tasks, compose agents into graphs, and watch them work.","publisher":"GitHub Actions","downloads":5620,"repository":"git+https://github.com/mavam/pi-agents.git","homepage":"https://github.com/mavam/pi-agents#readme","date":"2026-11-10"},{"name":"@the-librarian/pi-extension","version":"1.51.1","description":"Pi coding-agent package for The Librarian: the 8 memory/handoff/journal tools + primer and journal injection, backed by a remote Librarian MCP server.","publisher":"GitHub Actions","downloads":5604,"repository":"git+https://github.com/code-ministry-ltd/the-librarian.git","homepage":"https://github.com/code-ministry-ltd/the-librarian/tree/main/integrations/pi","date":"2026-11-08"},{"name":"mirror-mind","version":"0.44.0","description":"Mirror Mind: a local-first memory and identity framework for agentic AI runtimes (Pi, Claude Code, Codex, Antigravity)","publisher":"GitHub Actions","downloads":5574,"repository":"git+https://github.com/mirror-mind-ai/mirror.git","homepage":"https://github.com/mirror-mind-ai/mirror#readme","date":"2026-11-09"},{"name":"pi-better-subagents","version":"0.29.0","description":"Pi extension for detached, sandboxed subagent runs that keep the foreground session free.","publisher":"GitHub Actions","downloads":5540,"repository":"git+https://github.com/1aboveio/pi-better-harness.git","homepage":"https://github.com/1aboveio/pi-better-harness/tree/main/packages/pi-better-subagents#readme","date":"2026-11-10"},{"name":"pi-lingual","version":"0.7.0","description":"Bilingual developer companion & declarative Prompt Optimizer for Pi — Mode as Configuration, Dual-Core Golden Defaults, Zero-Residue First-Run Handshake, and S-Tier Prompt Architect.","publisher":"jason-zeros","downloads":5503,"repository":"git+https://github.com/3ZEROS12/pi-lingual.git","homepage":"https://github.com/3ZEROS12/pi-lingual#readme","date":"2026-10-25"},{"name":"omp-antigravity-acp-provider","version":"0.1.42","description":"Google Antigravity ACP provider for Oh My Pi (OMP), with tool bridging and per-model thinking; derived from zacbemis/pi-antigravity-acp-provider","publisher":"sencha930511","downloads":5503,"repository":"git+https://github.com/SenCha930511/omp-antigravity-acp-provider.git","homepage":"https://github.com/SenCha930511/omp-antigravity-acp-provider#readme","date":"2026-11-10"},{"name":"pi-sleep-agent","version":"0.8.23","description":"A reviewable sleep and dream cycle for Pi agent memory.","publisher":"aydinnyunus","downloads":5467,"repository":"git+https://github.com/aydinnyunus/sleep.git","homepage":"https://github.com/aydinnyunus/sleep#readme","date":"2026-11-06"},{"name":"leos-agent","version":"12.2026102800.0","description":"Adaptive delegation, cost-aware model routing, and deferred workflows across coding harnesses.","publisher":"GitHub Actions","downloads":5450,"repository":"git+https://github.com/foxhatleo/leos-agent.git","homepage":"https://github.com/foxhatleo/leos-agent","date":"2026-10-28"},{"name":"pi-durable-subagents","version":"1.4.3","description":"Subagents for pi that never lose work and never do it twice. Crash-safe workflows, automatic recovery, and a live view just like the main agent.","publisher":"GitHub Actions","downloads":5444,"repository":"git+https://github.com/purboo/pi-durable-subagents.git","homepage":"https://github.com/purboo/pi-durable-subagents#readme","date":"2026-10-26"},{"name":"pi-note","version":"0.37.0","description":"Persistent pinote tasks, Markdown handoffs, and task status for Pi","publisher":"GitHub Actions","downloads":5377,"repository":"git+https://github.com/kvidzibo/pinote.git","homepage":"https://github.com/kvidzibo/pinote/tree/main/pi#readme","date":"2026-11-07"},{"name":"@astrosheep/keiyaku","version":"4.6.31","description":"Keiyaku is an agent-facing contract workflow.","publisher":"astrosheep","downloads":5372,"repository":"git+https://github.com/astrosheep-zero/keiyaku.git","homepage":"https://github.com/astrosheep-zero/keiyaku#readme","date":"2026-11-10"},{"name":"@mu-crew/mu","version":"4.5.0","description":"A persistent, observable crew of coding agents (pi, Claude Code, Codex, cursor-agent, Muse Code) in tmux, herdr or Rex panes, coordinated through a built-in task DAG.","publisher":"GitHub Actions","downloads":5346,"repository":"git+https://github.com/mu-crew/mu.git","homepage":"https://github.com/mu-crew/mu","date":"2026-11-07"},{"name":"@oqtopus-team/pi-qdash","version":"0.1.10","description":"Pi extension for querying QDash via @oqtopus-team/qdash-client","publisher":"GitHub Actions","downloads":5279,"repository":"git+https://github.com/oqtopus-team/pi-qdash.git","homepage":"https://github.com/oqtopus-team/pi-qdash#readme","date":"2026-10-11"},{"name":"pi-goosedump","version":"0.14.6","description":"Pi extension for goosedump session search, durable memory, session management, and compaction","publisher":"GitLab CI/CD","downloads":5271,"repository":"git+https://gitlab.com/jarkkojs/goosedump.git","homepage":"https://gitlab.com/jarkkojs/goosedump#readme","date":"2026-11-07"},{"name":"@oisin-ee/pi-dogsled","version":"0.34.2","description":"Pi extension for dogsled: the board, the /dogsled panel, the inbox reader, and the dogsled tools. Needs the dogsled binary of the same version.","publisher":"GitHub Actions","downloads":5261,"repository":"git+https://github.com/oisin-ee/dogsled.git","homepage":"https://github.com/oisin-ee/dogsled#readme","date":"2026-11-09"},{"name":"@amaster.ai/pi-memory-mem0","version":"0.1.37","description":"Mem0 semantic memory for pi — automatic capture, semantic recall, and an agent-callable memory tool. Platform, embedded, or self-hosted.","publisher":"2betop","downloads":5238,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-free","version":"2.8.6","description":"AI model providers for Pi with free model filtering and dynamic model fetching","publisher":"GitHub Actions","downloads":5218,"repository":"git+https://github.com/apmantza/pi-free.git","homepage":"https://github.com/apmantza/pi-free#readme","date":"2026-10-26"},{"name":"pi-codex-goal","version":"0.7.8","description":"Codex-style goal tracking and continuation for pi.","publisher":"GitHub Actions","downloads":5216,"repository":"git+https://github.com/fitchmultz/pi-codex-goal.git","homepage":"https://github.com/fitchmultz/pi-codex-goal#readme","date":"2026-11-05"},{"name":"@herbertgao/pi-extensions","version":"2026.11.7","description":"Aggregate installer for HerbertGao-maintained Pi extensions.","publisher":"GitHub Actions","downloads":5176,"repository":"git+https://github.com/HerbertGao/pi-extensions.git","homepage":"https://github.com/HerbertGao/pi-extensions#readme","date":"2026-11-10"},{"name":"@gavin-hu/my-pi-agent","version":"0.25.1","description":"Personal Pi customizations, packaged as a Pi package: worktree isolation and rewind snapshots, question, todo, goal, plan, serve, subagent, job, watch, web-access, file-browse, file-open, file-read, memory, context, session-bus, board, team, wechat, and b","publisher":"GitHub Actions","downloads":5174,"repository":"git+https://github.com/gavin-hu/my-pi-agent.git","homepage":"https://github.com/gavin-hu/my-pi-agent#readme","date":"2026-11-06"},{"name":"opencode-agent-skill","version":"16.19.0","description":"Pi-native UES coding-agent runtime with V16 deterministic correctness gates, durable evidence integrity, external-data provenance, Windows-safe cleanup, and measured cost-aware routing","publisher":"nguoikhongten2kk5","downloads":5149,"repository":"git+https://github.com/laivannha0202/pi-agent-skill-.git","homepage":"https://github.com/laivannha0202/pi-agent-skill-#readme","date":"2026-10-28"},{"name":"pi-provider-alibaba-bailian","version":"0.2.0","description":"pi provider extension for Alibaba Bailian (DashScope, OpenAI-compatible mode)","publisher":"ymy88","downloads":5142,"repository":"git+https://github.com/ymy88/pi-provider-alibaba-bailian.git","homepage":"https://github.com/ymy88/pi-provider-alibaba-bailian#readme","date":"2026-08-09"},{"name":"soft-skills","version":"2.1.39","description":"Teaches AI agents to work with you, with each other, and for days without you.","publisher":"GitHub Actions","downloads":5102,"repository":"git+https://github.com/giladbarnea/soft-skills.git","homepage":"https://github.com/giladbarnea/soft-skills","date":"2026-11-09"},{"name":"@emiliosp/pi-maestro","version":"0.19.2","description":"A spec-driven multiagent development workflow for Pi.","publisher":"emiliosp","downloads":5046,"repository":"git+https://github.com/emiliosp/pi-maestro.git","homepage":"https://github.com/emiliosp/pi-maestro#readme","date":"2026-11-09"},{"name":"@lincoln504/pi-research","version":"1.7.24","description":"Web research for your agents with smart and safe tooling + knowledge store","publisher":"GitHub Actions","downloads":5032,"repository":"git+https://github.com/Lincoln504/pi-research.git","homepage":"https://github.com/Lincoln504/pi-research#readme","date":"2026-10-31"},{"name":"@amaster.ai/pi-telemetry","version":"0.1.37","description":"Pi runtime observability: Langfuse, Arize Phoenix and OpenTelemetry traces, TTFT, token and cost accounting, and diagnostics","publisher":"2betop","downloads":5024,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@ravshansbox/pi-anthropic","version":"2.9.11","description":"Anthropic system prompt sanitiser extension for pi","publisher":"GitHub Actions","downloads":5023,"repository":"git+https://github.com/ravshansbox/pi-anthropic.git","homepage":"https://github.com/ravshansbox/pi-anthropic#readme","date":"2026-11-01"},{"name":"@amaster.ai/pi-wecom","version":"0.1.37","description":"Pi extension for WeCom (enterprise WeChat) workspace — contacts, messages, meetings, schedules, docs and more via wecom-cli.","publisher":"2betop","downloads":4994,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@amaster.ai/pi-channels","version":"0.1.37","description":"Pi extension for native messaging channels including Feishu, DingTalk, WeCom, and webhooks.","publisher":"2betop","downloads":4993,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@herbertgao/pi-cc-extensions","version":"1.0.16-local.1","description":"A Pi productivity suite with Claude Code-style UI, context inspection, and agent/session references","publisher":"GitHub Actions","downloads":4983,"repository":"git+https://github.com/HerbertGao/pi-extensions.git","homepage":"https://github.com/HerbertGao/pi-extensions/tree/master/packages/pi-cc-extensions#readme","date":"2026-11-09"},{"name":"@juicesharp/rpiv-voice","version":"2.15.0","description":"Pi extension. Voice dictation via /voice — local on-device STT with sherpa-onnx Whisper (base multilingual int8), microphone capture via decibri.","publisher":"juicesharp","downloads":4969,"repository":"git+https://github.com/juicesharp/rpiv-mono.git","homepage":"https://github.com/juicesharp/rpiv-mono/tree/main/packages/rpiv-voice#readme","date":"2026-10-24"},{"name":"pi-outpost","version":"0.62.1","description":"A web interface for the pi coding agent: a browser chat UI you run with npx — no clone, no build.","publisher":"GitHub Actions","downloads":4967,"repository":"git+https://github.com/laurentftech/pi-outpost.git","homepage":"https://laurentftech.github.io/pi-outpost/","date":"2026-11-10"},{"name":"agent-qa","version":"0.3.4","description":"The self-improving Agentic QA harness with Memory","publisher":"GitHub Actions","downloads":4960,"repository":"git+https://github.com/vostride/agent-qa.git","homepage":"https://github.com/vostride/agent-qa#readme","date":"2026-11-10"},{"name":"pi-codex-token","version":"1.1.5","description":"pi provider plugin: use gpt-5.5 on the OpenAI Codex backend via a personal access token (PAT), non-interactively.","publisher":"maheshkukreja","downloads":4956,"repository":"","homepage":"","date":"2026-10-01"},{"name":"openmerit","version":"0.3.11","description":"Evidence-driven model decisions for coding harnesses.","publisher":"lazimey","downloads":4941,"repository":"git+https://github.com/openmerit-ai/openmerit-core.git","homepage":"https://github.com/openmerit-ai/openmerit-core#readme","date":"2026-11-09"},{"name":"@henryqw/pi-herdr-tools","version":"6.0.0","description":"Clone, hand off, name, and finish Pi conversations in Herdr, with mergeable side questions.","publisher":"GitHub Actions","downloads":4929,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-06"},{"name":"pi-better-background-tasks","version":"0.14.3","description":"Pi extension for durable background shell tasks, watchers, logs, and status inspection.","publisher":"GitHub Actions","downloads":4912,"repository":"git+https://github.com/1aboveio/pi-better-harness.git","homepage":"https://github.com/1aboveio/pi-better-harness/tree/main/packages/pi-better-background-tasks#readme","date":"2026-11-10"},{"name":"@amaster.ai/pi-lark","version":"0.1.37","description":"Pi extension for Lark/Feishu workspace — calendar, docs, drive, sheets, tasks, mail and more via lark-cli.","publisher":"2betop","downloads":4876,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-readseek","version":"0.13.4","description":"Pi extension for LINE:HASH-anchored file operations and structural code navigation","publisher":"GitLab CI/CD","downloads":4850,"repository":"git+https://gitlab.com/jarkkojs/readseek.git","homepage":"https://gitlab.com/jarkkojs/readseek/-/tree/main/packages/pi-readseek#readme","date":"2026-11-08"},{"name":"@amaster.ai/pi-attachments","version":"0.1.37","description":"Pi extension for attachment processing — classifies, parses, and renders file attachments into LLM-visible prompt context","publisher":"2betop","downloads":4846,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"opensec-pi-subagents","version":"0.20.12","description":"OpenSec Subagents for Pi: specialized agents in separate sessions that inherit the parent's model and thinking level. Bun build, for Pi-Bolt.","publisher":"kushalkhemka","downloads":4842,"repository":"git+https://github.com/opensec-git/opensec-pi-subagents.git","homepage":"https://www.npmjs.com/package/opensec-pi-subagents","date":"2026-11-01"},{"name":"pi-sandbox","version":"0.8.0","description":"OS-level sandboxing for pi with interactive permission prompts","publisher":"GitHub Actions","downloads":4828,"repository":"git+https://github.com/carderne/pi-sandbox.git","homepage":"https://github.com/carderne/pi-sandbox","date":"2026-11-05"},{"name":"@brglng/pi-bailian","version":"0.1.1","description":"Aliyun Bailian Token Plan and Coding Plan provider for Pi","publisher":"brglng","downloads":4818,"repository":"git+https://github.com/brglng/pi-bailian.git","homepage":"https://github.com/brglng/pi-bailian#readme","date":"2026-08-28"},{"name":"pi-browser-use","version":"0.12.15","description":"Opinionated browser automation via chrome-devtools-mcp: native Pi extension and portable Agent Plugins 1.0 skills + MCP server.","publisher":"GitHub Actions","downloads":4800,"repository":"git+https://github.com/0xPlayerOne/pi-browser-use.git","homepage":"https://github.com/0xPlayerOne/pi-browser-use#readme","date":"2026-10-24"},{"name":"@aliou/pi-processes","version":"0.13.6","description":"![banner](https://assets.aliou.me/github/aliou/pi-processes/banner-v0.10.x.png)","publisher":"GitHub Actions","downloads":4778,"repository":"git+https://github.com/aliou/pi-processes.git","homepage":"https://github.com/aliou/pi-processes#readme","date":"2026-11-07"},{"name":"@oisin-ee/pi-prewalk","version":"0.34.2","description":"A one-shot planner-to-executor handoff for pi, with branch-backed Rust rules.","publisher":"GitHub Actions","downloads":4774,"repository":"git+https://github.com/oisin-ee/dogsled.git","homepage":"https://github.com/oisin-ee/oisinpi#readme","date":"2026-11-09"},{"name":"@ferris1225/pi-subagents","version":"6.0.5","description":"A managed sub-agent team for pi: research, implementation, independent review, interactive follow-ups, and Git worktree isolation.","publisher":"GitHub Actions","downloads":4753,"repository":"git+https://github.com/MCapricorns/pi-subagents.git","homepage":"https://github.com/MCapricorns/pi-subagents#readme","date":"2026-11-04"},{"name":"@bopstack/pi-codegraph","version":"0.1.1","description":"CodeGraph code understanding extension for Pi and Oh My Pi","publisher":"bopstack","downloads":4743,"repository":"git+https://github.com/bopstack/pi-codegraph.git","homepage":"https://github.com/bopstack/pi-codegraph#readme","date":"2026-07-24"},{"name":"pi-studio","version":"0.11.13","description":"Two-pane browser workspace for pi with prompt/response editing, annotations, critiques, active quiz, prompt/response history, live previews, and tmux-backed REPL/literate REPL workflows","publisher":"omacl","downloads":4742,"repository":"git+https://github.com/omaclaren/pi-studio.git","homepage":"https://github.com/omaclaren/pi-studio#readme","date":"2026-11-05"},{"name":"@amaster.ai/pi-memory","version":"0.1.37","description":"Pi extension providing persistent curated memory (MEMORY.md + USER.md) injected into the system prompt as a frozen snapshot.","publisher":"2betop","downloads":4701,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@1aboveio/core-skills","version":"0.1.28","description":"Shared writing and document foundation: house style, plain-language replies, editorial review, Chinese polish, terminology, write-doc, write-report, distill-writing, doc-to-md and reg-parser.","publisher":"GitHub Actions","downloads":4679,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fcore-skills&expanded=true","date":"2026-11-09"},{"name":"pi-squire","version":"0.20.2","description":"Starts a delegate Pi session in a background tmux window, sends it the task over message:*, and shows the parent its result","publisher":"GitHub Actions","downloads":4667,"repository":"git+https://github.com/gvanderclay/pi-squire.git","homepage":"https://github.com/gvanderclay/pi-squire#readme","date":"2026-11-04"},{"name":"pi-autoresearch","version":"1.9.0","description":"Autonomous experiment loop for pi — run, measure, keep or discard. Inspired by karpathy/autoresearch.","publisher":"GitHub Actions","downloads":4662,"repository":"git+https://github.com/davebcn87/pi-autoresearch.git","homepage":"https://github.com/davebcn87/pi-autoresearch#readme","date":"2026-10-07"},{"name":"pi-xai-oauth","version":"1.7.3","description":"xAI OAuth provider with an authenticated account-specific Grok model catalog for pi","publisher":"GitHub Actions","downloads":4648,"repository":"git+https://github.com/BlockedPath/pi-xai-oauth.git","homepage":"https://github.com/BlockedPath/pi-xai-oauth#readme","date":"2026-10-23"},{"name":"@narumitw/pi-sync","version":"0.58.0","description":"Pi extension that syncs Pi configuration through Git, WebDAV, Cloudflare R2, or S3-compatible storage.","publisher":"GitHub Actions","downloads":4643,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-09"},{"name":"@1aboveio/cicd-skills","version":"0.1.28","description":"GitHub Actions and flow, Mergify, Docker and Podman, Cloud Build, Cloud Deploy and Google Cloud.","publisher":"GitHub Actions","downloads":4611,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fcicd-skills&expanded=true","date":"2026-11-09"},{"name":"@1aboveio/engineering-skills","version":"0.1.28","description":"Issue-to-PR and release orchestrators, review, coverage, golden paths and test quality.","publisher":"GitHub Actions","downloads":4609,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fengineering-skills&expanded=true","date":"2026-11-09"},{"name":"@upstash/context7-pi","version":"0.1.3","description":"Official Context7 extension for pi.dev — adds resolve-library-id and query-docs tools to the pi coding agent","publisher":"fahreddin.ozcan","downloads":4592,"repository":"git+https://github.com/upstash/context7.git","homepage":"https://github.com/upstash/context7#readme","date":"2026-10-13"},{"name":"@amaster.ai/pi-dingtalk","version":"0.1.37","description":"Pi extension for DingTalk workspace — calendar, docs, chat, todo, sheets, mail and more via dws CLI.","publisher":"2betop","downloads":4591,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@gang-of-beads/pi-web","version":"2.202611.0","description":"Web UI for persistent Pi Coding Agent sessions in real workspaces.","publisher":"GitHub Actions","downloads":4584,"repository":"git+https://github.com/Gang-of-Beads/pi-web.git","homepage":"https://github.com/Gang-of-Beads/pi-web","date":"2026-11-08"},{"name":"@1aboveio/risk-compliance-skills","version":"0.1.28","description":"Compliance audits, contract review, payment and fraud analysis.","publisher":"GitHub Actions","downloads":4575,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Frisk-compliance-skills&expanded=true","date":"2026-11-09"},{"name":"open-codebase-index","version":"0.38.2","description":"Host-neutral semantic codebase search with embeddings, symbol discovery, and call-graph tooling","publisher":"GitHub Actions","downloads":4575,"repository":"git+https://github.com/Helweg/open-codebase-index.git","homepage":"https://github.com/Helweg/open-codebase-index#readme","date":"2026-10-26"},{"name":"pi-openai-toolkit","version":"0.25.2","description":"OpenAI toolkit for Pi: remote compaction v2, routed Web Search, image generation and Codex utilities.","publisher":"cr1ms0n","downloads":4553,"repository":"git+https://github.com/awoaCrim/pi-openai-toolkit.git","homepage":"https://github.com/awoaCrim/pi-openai-toolkit#readme","date":"2026-11-10"},{"name":"@1aboveio/content-skills","version":"0.1.28","description":"WeChat articles, reviews and covers, diagrams, image generation and xAI search.","publisher":"GitHub Actions","downloads":4548,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fcontent-skills&expanded=true","date":"2026-11-09"},{"name":"@czottmann/pi-zai-api","version":"1.1.0","description":"Z.AI API provider extension for pi coding agent. Install with `pi install npm:@czottmann/pi-zai-api`.","publisher":"GitHub Actions","downloads":4541,"repository":"git+https://github.com/czottmann/pi-zai-api.git","homepage":"https://github.com/czottmann/pi-zai-api#readme","date":"2026-06-22"},{"name":"@1aboveio/app-dev-skills","version":"0.1.28","description":"Next.js, React Native, auth, Prisma, shadcn, Python backends, Airflow and PySpark.","publisher":"GitHub Actions","downloads":4540,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fapp-dev-skills&expanded=true","date":"2026-11-09"},{"name":"@amaster.ai/pi-security","version":"0.1.37","description":"Pi extension for resource-aware security policy engine and tool authorization","publisher":"2betop","downloads":4531,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@amaster.ai/pi-goal","version":"0.1.37","description":"Pi extension that derives a goal from the conversation and keeps the agent working until the condition is met","publisher":"2betop","downloads":4526,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"@agntn/hashes","version":"0.7.2","description":"Hash, HMAC and key derivation algorithms for agents","publisher":"GitHub Actions","downloads":4507,"repository":"git+https://github.com/agntn/hashes.git","homepage":"https://hashes.agntn.dev","date":"2026-10-22"},{"name":"@oisin-ee/pi-guardrails","version":"0.34.2","description":"Agent guardrails for pi, Claude Code, and Codex: Git safety, no waiting, no typing into other agents, GitOps-only clusters.","publisher":"GitHub Actions","downloads":4500,"repository":"git+https://github.com/oisin-ee/dogsled.git","homepage":"https://github.com/oisin-ee/oisinpi#readme","date":"2026-11-09"},{"name":"@oisin-ee/oisinpi","version":"0.34.2","description":"Oisin's pi packages in one install: prewalk, todo, tiers, and guardrails.","publisher":"GitHub Actions","downloads":4498,"repository":"git+https://github.com/oisin-ee/dogsled.git","homepage":"https://github.com/oisin-ee/oisinpi#readme","date":"2026-11-09"},{"name":"mcp-gway","version":"6.9.0","description":"One MCP endpoint for every server your agent needs — Code Mode discovers schemas on demand.","publisher":"GitHub Actions","downloads":4480,"repository":"git+https://github.com/deuriib/mcp-gway.git","homepage":"https://github.com/deuriib/mcp-gway#readme","date":"2026-11-09"},{"name":"dev-loops","version":"1.0.10","description":"dev-loops ships reviewed, tested PRs with the highest autonomy that is still safe. Deterministic gates and a judge decide; humans decide only what tooling cannot, or what the repo requires.","publisher":"GitHub Actions","downloads":4470,"repository":"git+https://github.com/mfittko/dev-loops.git","homepage":"https://github.com/mfittko/dev-loops#readme","date":"2026-11-06"},{"name":"pi-cowboy","version":"0.29.1","description":"🤠 Agent orchestrator for pi. It can manage Codex, Claude Code, OpenCode, pi, pig and pi-bolt as subagents and handover sessions in between them. Runs subagents in background Herdr panes, isolated in copy-on-write Git worktrees.","publisher":"GitHub Actions","downloads":4459,"repository":"git+https://github.com/electric-dragon-80000v/pi-cowboy.git","homepage":"https://github.com/electric-dragon-80000v/pi-cowboy#readme","date":"2026-11-10"},{"name":"opencode-codebase-index","version":"0.38.2","description":"Host-neutral semantic codebase search with embeddings, symbol discovery, and call-graph tooling","publisher":"GitHub Actions","downloads":4426,"repository":"git+https://github.com/Helweg/open-codebase-index.git","homepage":"https://github.com/Helweg/open-codebase-index#readme","date":"2026-10-26"},{"name":"@outlit/pi","version":"2.2.0","description":"Pi package for Outlit customer intelligence tools and skill guidance","publisher":"leo.paz","downloads":4413,"repository":"git+https://github.com/OutlitAI/outlit-sdk.git","homepage":"https://docs.outlit.ai/ai-integrations/pi","date":"2026-11-08"},{"name":"@ayulab/pi-rewind","version":"0.4.6","description":"Pi extension providing /rewind checkpoint navigation","publisher":"GitHub Actions","downloads":4411,"repository":"https://github.com/ayu-exorcist/oh-my-pi.git","homepage":"https://github.com/ayu-exorcist/oh-my-pi/tree/main/extensions/pi-rewind#readme","date":"2026-07-15"},{"name":"@pi-unipi/unipi","version":"3.0.3","description":"All-in-one extension suite for Pi coding agent","publisher":"neuron-mr-white","downloads":4400,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"pi-posthorse","version":"0.10.15","description":"Posthorse: fresh context, same journey. No-summary context rollover for Pi, with sparse budget reminders, handoffs, notes, and history.","publisher":"GitHub Actions","downloads":4381,"repository":"git+https://github.com/fitchmultz/pi-posthorse.git","homepage":"https://github.com/fitchmultz/pi-posthorse#readme","date":"2026-11-09"},{"name":"@myk-org/pi-vertex-claude","version":"4.18.0","description":"Google Vertex AI Claude provider for Pi coding agent","publisher":"myakove","downloads":4380,"repository":"git+https://github.com/myk-org/pi-config.git","homepage":"https://github.com/myk-org/pi-config#readme","date":"2026-10-25"},{"name":"jev-use","version":"0.8.0","description":"Claude Code / Codex / pi plugin that hands the agent steps needing no text output to Jev (TypeSafe's judgment model) — measured p50 ~230 ms and ~$0.02 per 1,000 judgments, with typed escalation back to the LLM.","publisher":"shitianfang","downloads":4348,"repository":"git+https://github.com/shitianfang/jev-use.git","homepage":"https://github.com/shitianfang/jev-use#readme","date":"2026-09-22"},{"name":"@zxh126/pi-qqbot","version":"2.8.0","description":"Bridge the Pi coding agent into QQ private chats, with remote tool-call approval","publisher":"zxh126","downloads":4347,"repository":"git+https://gitee.com/zxh126/pi-qqbot.git","homepage":"https://gitee.com/zxh126/pi-qqbot#readme","date":"2026-11-07"},{"name":"layermap","version":"0.1.37","description":"A layered map of a codebase for coding agents: directories, modules and call chains across TypeScript, JavaScript, Go, Python and Java.","publisher":"ls02155419","downloads":4337,"repository":"git+https://github.com/coffeecoproject/layermap.git","homepage":"https://github.com/coffeecoproject/layermap","date":"2026-11-10"},{"name":"@narumitw/pi-starship","version":"0.67.1","description":"Native Starship-style TOML statusline and configuration skill for Pi.","publisher":"GitHub Actions","downloads":4336,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-08"},{"name":"@agimon-ai/po-hook","version":"0.0.0-alpha.38","description":"Claude-Code-compatible repository and plugin hook runner for Po sessions.","publisher":"agiflow-ai","downloads":4331,"repository":"git+https://github.com/AgiFlow/po.git","homepage":"https://agimon.ai","date":"2026-10-21"},{"name":"pi-codex-image-gen","version":"0.3.1","description":"Image generation and editing for Pi using your ChatGPT Codex login.","publisher":"GitHub Actions","downloads":4329,"repository":"git+https://github.com/jvm/pi-mono.git","homepage":"https://github.com/jvm/pi-mono/tree/main/packages/pi-codex-image-gen#readme","date":"2026-11-05"},{"name":"pi-xfer","version":"0.11.0","description":"Cross-context handoff extension for pi coding agents: structured markdown handoffs over local sockets, cross-machine mesh transport, async board, and web picker.","publisher":"azzgo","downloads":4312,"repository":"git+https://github.com/azzgo/pi-xfer.git","homepage":"https://github.com/azzgo/pi-xfer#readme","date":"2026-11-02"},{"name":"bladebro","version":"4.6.8","description":"Stealthy and efficient agentic browser driver for AI agents. Few tools, full control, real stealth, max token efficiency.","publisher":"dondai1234","downloads":4301,"repository":"git+https://github.com/dondai44423/bladebro.git","homepage":"https://github.com/dondai44423/bladebro#readme","date":"2026-11-06"},{"name":"pi-add-dir","version":"1.3.1","description":"Add external directories to your pi session — loads their AGENTS.md, CLAUDE.md, and skills into context.","publisher":"itisbryan","downloads":4295,"repository":"git+https://github.com/itisbryan/pi-add-dir.git","homepage":"https://github.com/itisbryan/pi-add-dir#readme","date":"2026-03-31"},{"name":"@henryqw/pi-multi-codex","version":"3.2.7","description":"Use multiple ChatGPT Codex OAuth accounts in Pi.","publisher":"GitHub Actions","downloads":4276,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-03"},{"name":"pi-codebuddy-sdk","version":"0.4.47","description":"Pi extension that uses CodeBuddy (via Agent SDK) as a model provider and adds an AskCodebuddy tool.","publisher":"GitHub Actions","downloads":4266,"repository":"git+https://github.com/RetiredPhysicist/pi-plugins.git","homepage":"https://github.com/RetiredPhysicist/pi-plugins#readme","date":"2026-11-10"},{"name":"@gtrabanco/pi-agentic-workflow","version":"4.10.0","description":"Pi package: canonical agentic-workflow skills, friendly slash commands, and per-command model routing.","publisher":"GitHub Actions","downloads":4257,"repository":"git+https://github.com/gtrabanco/agentic-workflow.git","homepage":"https://github.com/gtrabanco/agentic-workflow/tree/main/packages/pi-agentic-workflow#readme","date":"2026-10-31"},{"name":"@mrclrchtr/supi-context","version":"11.3.0","description":"Live context pressure and token-use reports","publisher":"GitHub Actions","downloads":4240,"repository":"git+https://github.com/mrclrchtr/supi.git","homepage":"https://github.com/mrclrchtr/supi/tree/main/packages/supi-context#readme","date":"2026-11-09"},{"name":"@carlosgtrz/pi-codex-aliases","version":"0.3.1","description":"Pi extension that adds personal and work aliases for the built-in OpenAI Codex provider.","publisher":"carlosgtrz","downloads":4232,"repository":"git+https://github.com/CarlosGtrz/carlosgtrz-pi-extensions.git","homepage":"https://github.com/CarlosGtrz/carlosgtrz-pi-extensions#readme","date":"2026-09-21"},{"name":"@deathbeam/pi-delegate","version":"0.0.40","description":"Minimal extension for delegating tasks to subagents.","publisher":"deathbeam","downloads":4223,"repository":"git+https://github.com/deathbeam/pi-packages.git","homepage":"https://github.com/deathbeam/pi-packages#readme","date":"2026-11-02"},{"name":"@sreetej510/pi-usage","version":"0.14.4","description":"Pi extension that reports provider usage/rate-limit budgets (Codex, Anthropic OAuth, etc.) via /usage, with a live statusline widget.","publisher":"sreetej510","downloads":4221,"repository":"git+https://github.com/Sreetej510/pi-extensions.git","homepage":"https://github.com/Sreetej510/pi-extensions#readme","date":"2026-11-04"},{"name":"@oqtopus-team/pi-qcaleval","version":"0.0.1","description":"pi extension that sends calibration plots to a calibration-evaluation VLM such as NVIDIA Ising-Calibration and returns a structured diagnosis","publisher":"orangekame3","downloads":4218,"repository":"git+https://github.com/oqtopus-team/qdash.git","homepage":"https://github.com/oqtopus-team/qdash/tree/develop/packages/pi-qcaleval#readme","date":"2026-10-28"},{"name":"@nathan33/nao-skill","version":"0.22.6","description":"nao 多角色 AI 开发舰队(仅 pi):角色卡 / 技能 / 协作协议 / 工具链,一键接入项目","publisher":"cznathan","downloads":4216,"repository":"git+https://github.com/Nathan3303/nao-skills.git","homepage":"https://github.com/Nathan3303/nao-skills","date":"2026-11-09"},{"name":"@tintinweb/pi-tasks","version":"0.9.1","description":"A pi extension that brings Claude Code-style task tracking and coordination to pi.","publisher":"tintinweb","downloads":4207,"repository":"git+https://github.com/tintinweb/pi-tasks.git","homepage":"https://github.com/tintinweb/pi-tasks#readme","date":"2026-10-13"},{"name":"pi2dsh","version":"0.27.1","description":"Bridge the Pi and DeepSeek Harness ecosystems: a general Pi Host ABI that runs unmodified Pi extensions as native DSH plugins, with compatibility inspection and Pi-to-DSH MCP config translation.","publisher":"weijf14-gmail","downloads":4195,"repository":"git+https://github.com/weijiafu14/pi2dsh.git","homepage":"https://github.com/weijiafu14/pi2dsh#readme","date":"2026-10-26"},{"name":"@nitra/cursor","version":"14.33.0","description":"CLI для завантаження cursor-правил (префікс n-) у локальний репозиторій","publisher":"GitHub Actions","downloads":4193,"repository":"git+https://github.com/n/cursor.git","homepage":"https://github.com/n/cursor#readme","date":"2026-07-13"},{"name":"agents-cron","version":"0.18.0","description":"Cron-driven scheduled prompt tasks, each run in an isolated agent session","publisher":"fookhsu","downloads":4185,"repository":"git+https://github.com/fookhsu/agents-cron.git","homepage":"https://github.com/fookhsu/agents-cron#readme","date":"2026-11-08"},{"name":"@blackbelt-technology/pi-flows","version":"0.10.0","description":"Flow engine, dashboard, and orchestration extensions for pi","publisher":"GitHub Actions","downloads":4146,"repository":"git+https://github.com/BlackBeltTechnology/pi-flows.git","homepage":"https://github.com/BlackBeltTechnology/pi-flows#readme","date":"2026-11-04"},{"name":"bermudis-pi-goodies","version":"0.34.2","description":"A bundle of small, frequently-used Pi extensions.","publisher":"GitHub Actions","downloads":4119,"repository":"git+https://github.com/bermudi/agent-extensions.git","homepage":"https://github.com/bermudi/agent-extensions#readme","date":"2026-11-09"},{"name":"@omac/pi","version":"0.0.1-beta.0","description":"omac's Pi integration: the Worker's turn-end report, the Coordinator's inbox delivery, and both roles' guard.","publisher":"iamdin","downloads":4116,"repository":"git+https://github.com/iamdin/orchestrate-my-agent-cli.git","homepage":"","date":"2026-10-14"},{"name":"@pi-unipi/info-screen","version":"3.0.3","description":"Unicrab startup splash and the /unipi:info dashboard — this session, context, usage, compaction savings","publisher":"neuron-mr-white","downloads":4115,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"pi-handoff","version":"1.1.9","description":"Handoff command extension package for pi coding agent","publisher":"GitHub Actions","downloads":4103,"repository":"git+https://github.com/default-anton/pi-handoff.git","homepage":"https://github.com/default-anton/pi-handoff#readme","date":"2026-05-07"},{"name":"@krtclcdy/tersio","version":"2.25.19","description":"✂️ Token saver and usage tracker for coding agents: terse Caveman replies, compact RTK shell output, lean Ponytail code, pstack rigor, Headroom compression, and a gain dashboard — one-command combos over one shared extension tree.","publisher":"krtclcdy","downloads":4094,"repository":"git+https://github.com/KurutoDenzeru/tersio.git","homepage":"https://github.com/KurutoDenzeru/tersio#readme","date":"2026-11-09"},{"name":"@hyperdreamer/pi-webui","version":"1.30.0","description":"Web UI for persistent Pi Coding Agent sessions in real workspaces.","publisher":"wenhepku","downloads":4079,"repository":"git+https://github.com/hyperdreamer/pi-webui.git","homepage":"https://pi-webui.dev/","date":"2026-11-03"},{"name":"pi-robot-hand","version":"0.7.2","description":"The lazy kit for pi: no IDE, no copy-paste, safety net still on. The agent hands you commands (prompt, clipboard, or a Herdr pane that reports back), answers your ! commands, and takes secrets through a masked dialog it never sees","publisher":"GitHub Actions","downloads":4065,"repository":"git+https://github.com/wayne930242/pi-robot-hand.git","homepage":"https://github.com/wayne930242/pi-robot-hand#readme","date":"2026-11-10"},{"name":"@maxiaochao/pi-herdr-subagents","version":"0.10.1","description":"Run inspectable interactive Pi subagent batches through Herdr.","publisher":"maxiaochao","downloads":4057,"repository":"git+https://github.com/chaochaoxiaochao/pi-toolkit.git","homepage":"https://github.com/chaochaoxiaochao/pi-toolkit#readme","date":"2026-11-03"},{"name":"@kimchi-dev/kimchi-workflows","version":"0.0.10","description":"Define arbitrary workflows in TypeScript and run them inside the PI coding harness.","publisher":"GitHub Actions","downloads":4048,"repository":"git+https://github.com/getkimchi/kimchi-workflows.git","homepage":"https://github.com/getkimchi/kimchi-workflows#readme","date":"2026-10-28"},{"name":"@amaster.ai/pi-teamwork","version":"0.1.37","description":"Pi extension for team collaboration and issue management via Multica","publisher":"2betop","downloads":4047,"repository":"git+https://github.com/TGYD-helige/pi.git","homepage":"https://github.com/TGYD-helige/pi#readme","date":"2026-11-09"},{"name":"pi-starline","version":"0.12.0","description":"A Starship-inspired statusline and Opencode-style TUI for Pi.","publisher":"GitHub Actions","downloads":4008,"repository":"git+https://github.com/Andy8647/pi-starline.git","homepage":"https://github.com/Andy8647/pi-starline#readme","date":"2026-11-08"},{"name":"@agentapprove/pi","version":"0.1.14","description":"Agent Approve extension for Pi - approve or deny AI agent tool calls from your iPhone and Apple Watch","publisher":"jbeno","downloads":3989,"repository":"","homepage":"https://www.agentapprove.com","date":"2026-11-10"},{"name":"@veai-ru/ai-agent","version":"0.6.2","description":"Veai AI Agent: a terminal AI coding agent","publisher":"GitHub Actions","downloads":3987,"repository":"","homepage":"","date":"2026-11-07"},{"name":"@ravshansbox/pi-prompt-history","version":"0.2.18","description":"Shell-style prompt history extension for pi","publisher":"GitHub Actions","downloads":3966,"repository":"git+https://github.com/ravshansbox/pi-prompt-history.git","homepage":"https://github.com/ravshansbox/pi-prompt-history#readme","date":"2026-11-01"},{"name":"@kvidzibo/pi-delegate","version":"0.34.1","description":"Delegate coding tasks to Pi workers through the native Pi extension","publisher":"GitHub Actions","downloads":3937,"repository":"git+https://github.com/kvidzibo/pi-delegate.git","homepage":"https://github.com/kvidzibo/pi-delegate#readme","date":"2026-11-07"},{"name":"@chainingintention/pi-web-cn","version":"2.202611.9","description":"Web UI for persistent Pi Coding Agent sessions in real workspaces.","publisher":"GitHub Actions","downloads":3901,"repository":"git+https://github.com/nayuto-wakusei/pi-web-ChineseTranslation.git","homepage":"https://github.com/nayuto-wakusei/pi-web-ChineseTranslation#readme","date":"2026-11-09"},{"name":"pi-bro","version":"0.36.3","description":"A sidekick for you and your Pi agent: plain-language explanations, side questions, diagrams, PR review and second opinions, without cluttering the agent's context.","publisher":"GitHub Actions","downloads":3889,"repository":"git+https://github.com/tranhoangnguyen03/pi-bro.git","homepage":"https://github.com/tranhoangnguyen03/pi-bro#readme","date":"2026-11-10"},{"name":"pi-subagents-hub","version":"2026.11.91","description":"A pi extension that brings Claude Code-like sub-agents and workflow orchestration to pi — parallel execution, live widget, fleet view, custom agent types, mid-run steering, dynamic workflows, Claude Code compatibility, look and feel.","publisher":"GitHub Actions","downloads":3865,"repository":"git+https://github.com/ahati/pi-subagents-hub.git","homepage":"https://github.com/ahati/pi-subagents-hub#readme","date":"2026-11-09"},{"name":"pi-extensions","version":"0.1.77","description":"Example extensions for the [Pi coding agent](https://github.com/badlogic/pi-mono). These are the first Pi extensions I ever created and are meant to inspire you on some things you can do with Pi. I still use some of these, but note that if you want the ma","publisher":"tmustier","downloads":3805,"repository":"","homepage":"","date":"2026-11-03"},{"name":"@pi-unipi/compactor","version":"3.0.3","description":"Compaction for Pi — lossless zero-LLM or model summaries, rebuilt from full history, with session recall","publisher":"neuron-mr-white","downloads":3803,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@pi-unipi/mcp","version":"3.0.3","description":"MCP server management extension for Pi coding agent — browse, add, configure, and use MCP servers","publisher":"neuron-mr-white","downloads":3787,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@andares/pi-toolkits","version":"0.12.3","description":"Integrated toolkit extension for pi — ask mode (read-only Q&A), session-scoped permission checks, model favorites, prompt stash, third-party code review, session autostart, a dedicated compaction model, and an agent memory framework (/ask-init)","publisher":"andares","downloads":3785,"repository":"git+https://github.com/andares/pi-toolkits.git","homepage":"","date":"2026-11-10"},{"name":"@geohar/pi-mcp-combiner","version":"0.23.1","description":"Pi extension: run the mcp-combiner MCP aggregator via sharedserver and inject its tool-discovery directive. Pairs with pi-mcp-adapter, which makes the combiner's tools reachable from Pi.","publisher":"GitHub Actions","downloads":3771,"repository":"git+https://github.com/georgeharker/mcp-combiner.git","homepage":"https://github.com/georgeharker/mcp-combiner/tree/main/plugins/pi#readme","date":"2026-11-09"},{"name":"pi-sessions","version":"0.23.0","description":"Pi session search, ask, handoff, messaging, auto-titling, and indexing tools","publisher":"GitHub Actions","downloads":3768,"repository":"git+https://github.com/thurstonsand/pi-sessions.git","homepage":"https://github.com/thurstonsand/pi-sessions#readme","date":"2026-11-04"},{"name":"@henryqw/pi-memory","version":"10.2.2","description":"Auto-managed markdown memory for Pi: capped MEMORY.md/USER.md entry stores with frozen session snapshots.","publisher":"GitHub Actions","downloads":3761,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-05"},{"name":"@relaymessenger/pi","version":"0.1.16","description":"Relay Messenger channel for Pi over Relay v1 WebSocket delivery.","publisher":"advaitpaliwal","downloads":3740,"repository":"git+https://github.com/RelayMessenger/Relay-SDK.git","homepage":"https://github.com/RelayMessenger/Relay-SDK/tree/main/packages/pi#readme","date":"2026-11-06"},{"name":"@blackbelt-technology/pi-anthropic-messages","version":"0.3.5","description":"RETIRED — uninstall. Use pi-agent-dashboard's Claude subscription compat switch instead. Anthropic-messages protocol bridge for pi. Activates for any anthropic-messages API session (Anthropic OAuth/API-key + proxy providers): canonicalizes lowercase pi co","publisher":"GitHub Actions","downloads":3678,"repository":"git+https://github.com/BlackBeltTechnology/pi-anthropic-messages.git","homepage":"https://github.com/BlackBeltTechnology/pi-anthropic-messages#readme","date":"2026-10-28"},{"name":"@pi-unipi/ask-user","version":"3.0.3","description":"Structured user input tool for Pi coding agent — single-select, multi-select, freeform","publisher":"neuron-mr-white","downloads":3665,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@realvendex/pi-token-router","version":"0.2.0","description":"TokenRouter.com unified API gateway as a native Pi provider for accessing 300+ LLM models via a single API key","publisher":"realvendex","downloads":3662,"repository":"","homepage":"","date":"2026-06-17"},{"name":"@hypabolic/pi-hypa","version":"1.2.0","description":"Pi extension for Hypa command rewrite and CLI-backed tools","publisher":"GitHub Actions","downloads":3649,"repository":"git+https://github.com/Hypabolic/Hypa.git","homepage":"https://github.com/Hypabolic/Hypa#readme","date":"2026-10-20"},{"name":"pi-anthropic-compat","version":"0.0.19","description":"Native Anthropic compaction compatibility for Pi","publisher":"GitHub Actions","downloads":3641,"repository":"git+https://github.com/2h2d-co/pi-anthropic-compat.git","homepage":"https://github.com/2h2d-co/pi-anthropic-compat#readme","date":"2026-11-04"},{"name":"pi-courier","version":"1.7.1","description":"Run the pi coding agent from Matrix. Slash commands, skills and prompts fully work via the RPC protocol.","publisher":"barryfan2045","downloads":3629,"repository":"git+https://github.com/Hi-Barry/pi-courier.git","homepage":"https://github.com/Hi-Barry/pi-courier#readme","date":"2026-11-10"},{"name":"@adeildo/pi-look","version":"6.0.1","description":"Pi's start screen, a framed editor and the footer, redrawn around the data that matters and painted only with the theme's colours.","publisher":"GitHub Actions","downloads":3629,"repository":"git+https://github.com/felipeadeildo/pi-harness.git","homepage":"https://github.com/felipeadeildo/pi-harness/tree/main/packages/look#readme","date":"2026-11-09"},{"name":"pi-beyin","version":"0.2.2","description":"pi-native bridge for the beyin second brain: context injection, distillation reminders, Jev advisor tools, a Jev-gated context budget, and a serial-tool-call nudge.","publisher":"GitHub Actions","downloads":3626,"repository":"git+https://github.com/FurBlood344324/pi-beyin.git","homepage":"https://github.com/FurBlood344324/pi-beyin#readme","date":"2026-10-31"},{"name":"@pi-unipi/kanboard","version":"3.0.3","description":"Kanboard v3 — deferred-work board: CLI/daemon bridge, task runner and skill","publisher":"neuron-mr-white","downloads":3618,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@1aboveio/skills","version":"1.0.28","description":"Every 1aboveio skill package in one: install once, then choose which packages Pi loads with npx @1aboveio/skills select.","publisher":"GitHub Actions","downloads":3588,"repository":"git+https://github.com/1aboveio/ai.git","homepage":"https://github.com/1aboveio/ai/releases?q=%401aboveio%2Fskills&expanded=true","date":"2026-11-09"},{"name":"pi-aia-asf","version":"0.17.12","description":"Ai Applied Agentic Software Factory — codifies the full software development flow: intake, research, spec capture, adversarial analysis, planning with approval gates, test-first implementation, and release. Requires pi-vigilant, pi-smart-web-search, pi-sm","publisher":"bruno_aia","downloads":3549,"repository":"git+https://github.com/brunoj/pi-aia-asf.git","homepage":"https://github.com/brunoj/pi-aia-asf#readme","date":"2026-11-10"},{"name":"@pi-unipi/input-shortcuts","version":"3.0.3","description":"Keyboard shortcuts for stash/restore, undo/redo, clipboard, and thinking toggle — chord-based overlay system","publisher":"neuron-mr-white","downloads":3508,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@aelinrezende/pipa","version":"2.7.9","description":"Pi package que carrega a extensão Pipa","publisher":"GitHub Actions","downloads":3508,"repository":"git+https://github.com/aelinrezende/pipa.git","homepage":"https://github.com/aelinrezende/pipa#readme","date":"2026-11-07"},{"name":"@pi-unipi/footer","version":"3.0.3","description":"Persistent status bar for Unipi — subscribes to UNIPI_EVENTS and renders key stats from all unipi packages","publisher":"neuron-mr-white","downloads":3506,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@pi-unipi/btw","version":"3.0.3","description":"A pi extension for parallel side conversations with /unipi:btw — part of the Unipi suite","publisher":"neuron-mr-white","downloads":3492,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"superpowers-zh","version":"1.8.0","description":"AI 编程超能力中文增强版 — superpowers(300k+ ⭐)完整汉化 + 4 个中国原创 skills,支持 Claude Code / Copilot CLI / Hermes Agent / Cursor / Claw Code / Windsurf / Kiro / Gemini CLI / Qoder 等 26 款工具","publisher":"jnmetacode","downloads":3468,"repository":"git+https://github.com/jnMetaCode/superpowers-zh.git","homepage":"https://github.com/jnMetaCode/superpowers-zh","date":"2026-10-20"},{"name":"pi-workspace-history","version":"0.5.2","description":"Undo, roll back, and revert code changes made by the Pi coding agent: files and conversation together. One-step /undo and /redo, /tree workspace restore, /diff, and manual checkpoints, with history kept outside your repository.","publisher":"wcldyx1000","downloads":3467,"repository":"git+https://github.com/wcldyx/pi-workspace-history.git","homepage":"https://github.com/wcldyx/pi-workspace-history#readme","date":"2026-10-24"},{"name":"@narumitw/pi-codex-compact","version":"0.56.4","description":"Responses compaction protocols for compatible Pi providers.","publisher":"GitHub Actions","downloads":3446,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-04"},{"name":"@bacnh85/pi-cron","version":"0.4.0","description":"Scheduled jobs for Pi — cron-style jobs that fire a prompt into the live session while pi is running, with past-due catch-up and crontab export for 24/7 needs.","publisher":"bacnh85","downloads":3417,"repository":"git+https://github.com/bacnh85/pi-extensions.git","homepage":"https://github.com/bacnh85/pi-extensions/tree/main/pi-cron","date":"2026-10-11"},{"name":"pi-zip","version":"0.4.15","description":"Keeps long Pi sessions cheap without losing anything: folds older output when the savings pay for the rewrite, prepares summaries in the background, and recalls originals byte for byte. Zero config.","publisher":"purboo","downloads":3411,"repository":"git+https://github.com/purboo/pi-zip.git","homepage":"https://github.com/purboo/pi-zip#readme","date":"2026-10-25"},{"name":"pi-bansos","version":"0.8.1","description":"Free OpenAI-compatible model provider for pi via OpenCode Zen and KiloCode gateway","publisher":"mannnrachman","downloads":3408,"repository":"","homepage":"","date":"2026-11-09"},{"name":"@pontia/pi-client-plugin","version":"0.7.2","description":"Pi extension that connects coding-agent sessions to Pontia.","publisher":"GitHub Actions","downloads":3395,"repository":"git+https://github.com/anthod0/pontia.git","homepage":"https://pontia.dev/","date":"2026-11-09"},{"name":"@cyia/pi-block-find-root","version":"0.10.15","description":"pi 扩展:拦截 find 查询禁用路径、给 bash 补默认超时、守卫循环","publisher":"wszgrcy","downloads":3383,"repository":"","homepage":"","date":"2026-11-03"},{"name":"nobrainer-tech-flow","version":"2.12.0","description":"From task to done. nobrainer-tech-flow is one workflow of 18 modules for AI coding agents and the AI-native SDLC: it scopes the task, does the work in one main loop, checks the result and hands over the evidence, including what was not checked.","publisher":"GitHub Actions","downloads":3344,"repository":"git+https://github.com/nobrainer-tech/nobrainer-tech-flow.git","homepage":"https://nobrainer.tech/flow/","date":"2026-11-10"},{"name":"pi-tokenburn","version":"0.8.4","description":"Pi extension for live token usage monitoring and budget tracking (hour / day / week / month / year / all). 0 prompt tokens.","publisher":"greenspand","downloads":3338,"repository":"git+https://github.com/sorinirimies/pi-tokenburn.git","homepage":"https://github.com/sorinirimies/pi-tokenburn#readme","date":"2026-11-10"},{"name":"@hank-warren/pi-cliproxyapi-provider","version":"0.5.1","description":"Fork of 0xRichardH/pi-cliproxyapi-provider: Pi provider for CLIProxyAPI with model discovery, models.dev enrichment seeded from pi's built-in catalog, Anthropic Messages routing for Claude, Responses routing for Codex, and derived xhigh/max thinking level","publisher":"hank-warren","downloads":3335,"repository":"git+https://github.com/hank-warren/pi-extensions.git","homepage":"https://github.com/hank-warren/pi-extensions/tree/main/packages/pi-cliproxyapi-provider#readme","date":"2026-11-03"},{"name":"pi-stereo-view","version":"0.1.18","description":"Keep Pi conversation separate from tool output and agent activity.","publisher":"alexshpunt","downloads":3314,"repository":"git+https://github.com/alexshpunt/pi-stereo-view.git","homepage":"https://github.com/alexshpunt/pi-stereo-view#readme","date":"2026-11-09"},{"name":"@narumitw/pi-statusline","version":"0.51.0","description":"Pi extension that replaces the footer with an information-rich statusline.","publisher":"GitHub Actions","downloads":3311,"repository":"git+https://github.com/narumiruna/pi-extensions.git","homepage":"https://github.com/narumiruna/pi-extensions#readme","date":"2026-11-09"},{"name":"@pi-archimedes/image-paste","version":"2.13.0","description":"Clipboard image paste for pi-archimedes","publisher":"danmademe","downloads":3291,"repository":"https://github.com/archimedes-codes/pi-archimedes.git","homepage":"https://github.com/danielcherubini/pi-archimedes#readme","date":"2026-11-03"},{"name":"pi-multi-pass","version":"1.13.2","description":"Multi-subscription extension for pi -- use multiple OAuth accounts per provider (Anthropic, Codex, Copilot, Gemini, Antigravity)","publisher":"hjanuschka","downloads":3269,"repository":"git+https://github.com/hjanuschka/pi-multi-pass.git","homepage":"https://github.com/hjanuschka/pi-multi-pass#readme","date":"2026-10-31"},{"name":"@howaboua/pi-better-skills-tool","version":"0.0.12","description":"Progressive skill discovery for Pi, Code Mode and Notebook Mode.","publisher":"howaboua","downloads":3266,"repository":"git+https://github.com/IgorWarzocha/howaboua-pi-stuff.git","homepage":"https://github.com/IgorWarzocha/howaboua-pi-stuff/tree/main/packages/pi-better-skills-tool#readme","date":"2026-10-27"},{"name":"allye-pi","version":"2.17.1","description":"Allye extension for Pi and OMP: the Allye bootstrap, the Bridge skill and the repository-to-project link","publisher":"GitHub Actions","downloads":3264,"repository":"git+https://github.com/allye-app/allye-plugin.git","homepage":"https://github.com/allye-app/allye-plugin#readme","date":"2026-11-04"},{"name":"@soulwaxx/obsidian-second-brain","version":"3.5.1","description":"An OKF wiki skill and vault-scoped lifecycle integration for Obsidian, Pi, and Claude Code","publisher":"GitHub Actions","downloads":3246,"repository":"git+https://github.com/soulwaxx/obsidian-second-brain.git","homepage":"https://github.com/soulwaxx/obsidian-second-brain#readme","date":"2026-11-07"},{"name":"@agimon-ai/doompi-web-security","version":"0.0.1-alpha.69","description":"Shared security primitives for the DoomPi web cockpit: sealed channels and signed bundle manifests for independently trusted verifiers.","publisher":"agiflow-ai","downloads":3243,"repository":"git+https://github.com/AgiFlow/doompi.git","homepage":"https://agimon.ai","date":"2026-10-10"},{"name":"pi-extension-qwen-token-plan-cn-ex","version":"0.1.0","description":"Enhanced Qwen Token Plan CN provider for pi. Speaks the OpenAI Responses API (not chat-completions) to activate the platform's server-side Harness tools — web search, code interpreter, web extraction, and image search — that the built-in qwen-token-plan-c","publisher":"shamiao","downloads":3239,"repository":"git+https://github.com/shamiao/pi-extension-qwen-token-plan-cn-ex.git","homepage":"https://github.com/shamiao/pi-extension-qwen-token-plan-cn-ex#readme","date":"2026-08-05"},{"name":"@henryqw/pi-add-dir","version":"3.4.0","description":"Add external directories to a Pi session with context, skills, and file search.","publisher":"GitHub Actions","downloads":3230,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-06"},{"name":"pi-tuck","version":"1.0.21","description":"Deterministic compaction for Pi with no model call, plus exact recall of earlier history. Search by meaning on Apple silicon.","publisher":"GitHub Actions","downloads":3224,"repository":"git+https://github.com/galyavin/pi-tuck.git","homepage":"https://github.com/galyavin/pi-tuck#readme","date":"2026-11-10"},{"name":"opensec-pi-fff","version":"0.11.1","description":"OpenSec FFF for Pi: fast fuzzy file and content search (find, grep, @-mentions). Bun build of pi-fff for Pi-Bolt, fast on builds with and without the JIT.","publisher":"kushalkhemka","downloads":3215,"repository":"","homepage":"https://www.npmjs.com/package/opensec-pi-fff","date":"2026-10-11"},{"name":"@parcha/agentrun-pi","version":"0.1.0-beta.31","description":"Pi extension for building, running and evaluating AgentRun workflows","publisher":"GitHub Actions","downloads":3194,"repository":"git+https://github.com/Parcha-ai/agentrun.git","homepage":"https://agentrun.ai","date":"2026-11-06"},{"name":"@bismawy/pi-arnative","version":"0.10.0","description":"Refined aesthetics. Cohesive tools. Built for Pi. Warm themes, rounded tool boxes, tabbed header, compact footer and a /usage dashboard.","publisher":"bismawy","downloads":3173,"repository":"git+https://github.com/bismawy/pi-arnative.git","homepage":"https://github.com/bismawy/pi-arnative#readme","date":"2026-11-08"},{"name":"pi-cc-compaction","version":"0.2.13","description":"Claude Code's compaction for the Pi coding agent: summaries that reuse the prompt cache, Claude Code's thresholds and prompt, and idle compaction before the cache expires.","publisher":"GitHub Actions","downloads":3109,"repository":"git+https://github.com/tarnish233/pi-cc-compaction.git","homepage":"https://github.com/tarnish233/pi-cc-compaction#readme","date":"2026-11-03"},{"name":"@xynogen/pix-data","version":"0.5.12","description":"Pi extension — shared model data layer (models.dev + BenchLM), cached at ~/.cache/pi","publisher":"GitHub Actions","downloads":3055,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono/tree/main/packages/pix-data#readme","date":"2026-11-10"},{"name":"@adeildo/pi-compact","version":"6.0.1","description":"Keeps a long pi session's context small: hides old tool output, keeping each call so the agent can run it again, and writes pi's compaction summary from the session's board.","publisher":"GitHub Actions","downloads":3050,"repository":"git+https://github.com/felipeadeildo/pi-harness.git","homepage":"https://github.com/felipeadeildo/pi-harness/tree/main/packages/compact#readme","date":"2026-11-09"},{"name":"@twogiants/pi-anthropic-vertex","version":"0.1.21","description":"Anthropic Claude models on Google Cloud Vertex AI for pi","publisher":"twogiants","downloads":3003,"repository":"git+https://github.com/twoGiants/pi-anthropic-vertex.git","homepage":"https://github.com/twoGiants/pi-anthropic-vertex#readme","date":"2026-10-27"},{"name":"@howaboua/pi-extensions","version":"0.0.105","description":"all Howaboua Pi extensions","publisher":"howaboua","downloads":2988,"repository":"git+https://github.com/IgorWarzocha/howaboua-pi-stuff.git","homepage":"https://github.com/IgorWarzocha/howaboua-pi-stuff/tree/main/packages/pi-extensions#readme","date":"2026-11-09"},{"name":"pi-jefferson","version":"0.10.2","description":"A starship-style statusline for pi — instruments, a real layout, and per-instrument formatting.","publisher":"GitHub Actions","downloads":2975,"repository":"git+https://github.com/joelleibow/pi-jefferson.git","homepage":"https://github.com/joelleibow/pi-jefferson#readme","date":"2026-11-10"},{"name":"@adeildo/pi-harness","version":"6.0.1","description":"Every adeildo Pi extension in one install: the permission dialog, the look, the providers, the questions, the skill calls, the session board and the context pruning. Each is its own extension, so pi config turns one off.","publisher":"GitHub Actions","downloads":2958,"repository":"git+https://github.com/felipeadeildo/pi-harness.git","homepage":"https://github.com/felipeadeildo/pi-harness/tree/main/packages/harness#readme","date":"2026-11-09"},{"name":"@sreetej510/pi-prompt-manager","version":"0.14.4","description":"Pi extension to quickly save, manage, and paste reusable prompts without retyping.","publisher":"sreetej510","downloads":2933,"repository":"git+https://github.com/Sreetej510/pi-extensions.git","homepage":"https://github.com/Sreetej510/pi-extensions#readme","date":"2026-11-04"},{"name":"@henryqw/pi-ask-question","version":"3.4.0","description":"Ask Pi users one question or a list of questions with options or custom answers.","publisher":"GitHub Actions","downloads":2883,"repository":"git+https://github.com/HenryQW/pi-harness.git","homepage":"https://github.com/HenryQW/pi-harness#readme","date":"2026-11-03"},{"name":"pi-endpoints","version":"0.2.13","description":"让 pi 通过自己的 API 服务(CLIProxyAPI、Magpie、new-api 类中转站等)使用模型:只注册选定的模型,参数和协议取自服务端目录","publisher":"GitHub Actions","downloads":2882,"repository":"git+https://github.com/PosvdM/pi-endpoints.git","homepage":"https://github.com/PosvdM/pi-endpoints#readme","date":"2026-10-24"},{"name":"pi-permission-modes","version":"2.7.2","description":"Switchable, user-definable permission modes for the pi coding agent. Each mode pairs an OS-level sandbox (bubblewrap, sandbox-exec, native Windows) with an allow / ask / deny policy for every tool. Default, Plan Mode, Build and YOLO ship; retune them or a","publisher":"wynainfo","downloads":2864,"repository":"git+https://github.com/wynainfo/pi-permission-modes.git","homepage":"https://github.com/wynainfo/pi-permission-modes#readme","date":"2026-10-25"},{"name":"pi-tool-repair","version":"0.3.10","description":"Validate-then-repair extension for pi — fixes common LLM tool-call mistakes (null fields, stringified arrays, wrong field names, anchor bleed) before tools execute","publisher":"GitHub Actions","downloads":2846,"repository":"git+https://github.com/monotykamary/pi-tool-repair.git","homepage":"https://github.com/monotykamary/pi-tool-repair#readme","date":"2026-11-02"},{"name":"immune-brain","version":"8.0.0","description":"Immune-Brain agent skill system","publisher":"GitHub Actions","downloads":2841,"repository":"git+https://github.com/dereknex/immune-brain.git","homepage":"https://github.com/dereknex/immune-brain#readme","date":"2026-11-09"},{"name":"@pi-unipi/watchdog","version":"3.0.3","description":"Jev watchdog for long-running tool calls and background tasks — judges stuck work via TypeSafe System One and kills or warns","publisher":"neuron-mr-white","downloads":2831,"repository":"git+https://github.com/Neuron-Mr-White/unipi.git","homepage":"https://github.com/Neuron-Mr-White/unipi#readme","date":"2026-11-04"},{"name":"@hheei/pi-subagents","version":"0.10.6","description":"Independent background Pi subagent sessions with durable identity and RPC control.","publisher":"GitHub Actions","downloads":2814,"repository":"git+https://github.com/hheei/pi-mono.git","homepage":"https://github.com/hheei/pi-mono#readme","date":"2026-11-08"},{"name":"@xynogen/pix-subagent","version":"0.10.18","description":"Pi tool — planner-driven sub-agents: spawn, fetch, steer scoped child agents","publisher":"GitHub Actions","downloads":2790,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono#readme","date":"2026-11-10"},{"name":"pi-shepherd","version":"0.5.3","description":"Rules engine with context guardrails (line-count, compaction reminders, skill restore) for pi-coding-agent","publisher":"lain-residue","downloads":2777,"repository":"git+ssh://git@github.com/catlain/pi-shepherd.git","homepage":"https://catlain.github.io/pi-atelier/","date":"2026-11-06"},{"name":"@vndv/pi-codegraph","version":"0.1.11","description":"CodeGraph tools for Pi Agent.","publisher":"GitHub Actions","downloads":2764,"repository":"git+https://github.com/vndv/pi-codegraph.git","homepage":"https://github.com/vndv/pi-codegraph#readme","date":"2026-10-03"},{"name":"@xynogen/pix-footer","version":"0.2.19","description":"Pi extension — status bar footer (model, tokens, git, TPS)","publisher":"GitHub Actions","downloads":2734,"repository":"git+https://github.com/xynogen/pix-mono.git","homepage":"https://github.com/xynogen/pix-mono/tree/main/packages/pix-footer#readme","date":"2026-11-10"},{"name":"pi-anchor","version":"1.1.1","description":"Cross-session Task & Todo Dock for Pi — persistent belowEditor tree overlay (✓ strikethrough, ◐ live file activity, ⛓ DAG dependencies, Alt+A fold), auto-saves unfinished todos across restarts, 0ms pin: notes, and /back session teleport.","publisher":"jason-zeros","downloads":2717,"repository":"git+https://github.com/3ZEROS12/anchor.git","homepage":"https://github.com/3ZEROS12/anchor#readme","date":"2026-10-25"},{"name":"pi-famulus","version":"0.2.5","description":"Keep your main agent's context clean: subagents on cheaper models, long bash in the background, and monitors that wake the agent. One Rust daemon runs the shells.","publisher":"GitHub Actions","downloads":2717,"repository":"git+https://github.com/Leechael/pi-famulus.git","homepage":"https://github.com/Leechael/pi-famulus","date":"2026-11-09"},{"name":"@french-castle/jev-code","version":"0.5.0","description":"Jev, TypeSafe's System One classifier, as a tool inside Claude Code, Codex, Pi, and OpenCode: typed classify, check, score, rank, and ask, plus one-command setup.","publisher":"french-castle","downloads":2676,"repository":"git+https://github.com/FrancoisChastel/jev-code.git","homepage":"https://github.com/FrancoisChastel/jev-code#readme","date":"2026-10-08"},{"name":"@dieulc/pi-office-bridge","version":"0.6.0","description":"Native Pi extension — WebSocket bridge + Office tool proxy so Pi can drive Excel, Word, and PowerPoint through the pi-for-office add-in.","publisher":"dieulc","downloads":2666,"repository":"git+https://github.com/dieuluucanh/pi-for-office.git","homepage":"https://github.com/dieuluucanh/pi-for-office#readme","date":"2026-10-31"}] \ No newline at end of file diff --git a/internal/library/pimarket.go b/internal/library/pimarket.go new file mode 100644 index 000000000..6c8faa6cd --- /dev/null +++ b/internal/library/pimarket.go @@ -0,0 +1,396 @@ +package library + +import ( + "cmp" + "context" + _ "embed" + "encoding/json" + "errors" + "fmt" + "net/url" + "os" + "path/filepath" + "slices" + "strconv" + "strings" + "sync" + "time" + + "github.com/yetone/magpie/internal/edit" + "github.com/yetone/magpie/internal/lazyre" + "github.com/yetone/magpie/internal/proc" +) + +// Pi's package market (nineruiing on X). Pi's gallery, pi.dev/packages, is +// npm's packages with the keyword "pi-package", drawn on its server with no +// API of its own; magpie reads the same list from npm's search, kept as +// the skills market keeps skills.sh's: six hours in memory, on disk for +// when npm can't be reached, else the snapshot magpie shipped with. +// +// A package is installed and removed by Pi's own `pi install npm:` +// and `pi remove`, run with PI_CODING_AGENT_DIR set to that Pi's agent +// folder (@earendil-works/pi-coding-agent 1.5.1, package-manager-cli.js and +// core/package-manager.js: installAndPersist installs it under +// /npm and adds its source to settings.json; removeAndPersist +// uninstalls it and takes out every entry of the same identity). A Pi +// whose command magpie can't run here, one in WSL or one without its CLI +// found, is given the entry alone, which Pi installs when it next starts +// (resolve → installMissing), as a copy from another Pi is. + +// PiMarketPackage is one package the market offers. +type PiMarketPackage struct { + // Source is what Pi installs it by: npm: + Source string `json:"source"` + Name string `json:"name"` + Version string `json:"version,omitempty"` + Description string `json:"description,omitempty"` + Publisher string `json:"publisher,omitempty"` + // Downloads is npm's count for the last month + Downloads int `json:"downloads,omitempty"` + Icon string `json:"icon,omitempty"` + NPM string `json:"npm"` + Repo string `json:"repo,omitempty"` + Homepage string `json:"homepage,omitempty"` + Updated string `json:"updated,omitempty"` +} + +// piListed is a package as the snapshot and the disk cache keep it. +type piListed struct { + Name string `json:"name"` + Version string `json:"version,omitempty"` + Description string `json:"description,omitempty"` + Publisher string `json:"publisher,omitempty"` + Downloads int `json:"downloads,omitempty"` + Repository string `json:"repository,omitempty"` + Homepage string `json:"homepage,omitempty"` + Date string `json:"date,omitempty"` +} + +// piNPMURL is npm's search; a variable for tests. +var piNPMURL = "https://registry.npmjs.org/-/v1/search" + +//go:embed market_pi.json +var piSnapshot []byte + +var piPopular = struct { + sync.Mutex + list []piListed + at time.Time +}{} + +// popularPi is the most downloaded of the first 500 packages npm lists by +// the keyword: Pi's gallery's own source. +func popularPi() []piListed { + piPopular.Lock() + defer piPopular.Unlock() + if piPopular.list != nil && time.Since(piPopular.at) < 6*time.Hour { + return piPopular.list + } + cache := marketCache("pi-packages.json") + if list, err := fetchPiPopular(); err == nil && len(list) > 0 { + piPopular.list, piPopular.at = list, time.Now() + if b, err := json.Marshal(list); err == nil && cache != "" { + _ = os.MkdirAll(filepath.Dir(cache), 0o755) + _ = os.WriteFile(cache, b, 0o644) + } + return list + } + var list []piListed + if b, err := os.ReadFile(cache); err != nil || json.Unmarshal(b, &list) != nil || len(list) == 0 { + _ = json.Unmarshal(piSnapshot, &list) + } + piPopular.list, piPopular.at = list, time.Now().Add(-6*time.Hour+5*time.Minute) // try again in a while + return list +} + +func fetchPiPopular() ([]piListed, error) { + var list []piListed + for from := 0; from < 500; from += 250 { + page, total, err := searchPiNPM("", 250, from) + if err != nil { + if len(list) > 0 { + break + } + return nil, err + } + list = append(list, page...) + if from+250 >= total { + break + } + } + slices.SortStableFunc(list, func(a, b piListed) int { return cmp.Compare(b.Downloads, a.Downloads) }) + return piOnce(list), nil +} + +// searchPiNPM is one page of npm's search for packages with the keyword, +// and how many there are. +func searchPiNPM(q string, size, from int) ([]piListed, int, error) { + text := "keywords:pi-package" + if q = strings.TrimSpace(q); q != "" { + text += " " + q + } + var body struct { + Total int `json:"total"` + Objects []struct { + Downloads struct { + Monthly int `json:"monthly"` + } `json:"downloads"` + Package struct { + Name string `json:"name"` + Version string `json:"version"` + Description string `json:"description"` + Keywords []string `json:"keywords"` + Date string `json:"date"` + Publisher struct { + Username string `json:"username"` + } `json:"publisher"` + Links struct { + Homepage string `json:"homepage"` + Repository string `json:"repository"` + } `json:"links"` + } `json:"package"` + } `json:"objects"` + } + u := piNPMURL + "?" + url.Values{"text": {text}, "size": {strconv.Itoa(size)}, "from": {strconv.Itoa(from)}}.Encode() + if err := getJSON(u, &body); err != nil { + return nil, 0, &SearchError{Source: "npm", Err: err} + } + var out []piListed + for _, o := range body.Objects { + p := o.Package + // a word of the search can match a package by its text alone; Pi's + // gallery lists only those with the keyword + if !slices.Contains(p.Keywords, "pi-package") || !piNameRe.MatchString(p.Name) { + continue + } + d := strings.TrimSpace(p.Description) + if r := []rune(d); len(r) > 280 { + d = strings.TrimSpace(string(r[:277])) + "…" + } + out = append(out, piListed{Name: p.Name, Version: p.Version, Description: d, Publisher: p.Publisher.Username, + Downloads: o.Downloads.Monthly, Repository: p.Links.Repository, Homepage: p.Links.Homepage, Date: p.Date}) + } + return out, body.Total, nil +} + +func piOnce(list []piListed) []piListed { + seen := map[string]bool{} + return slices.DeleteFunc(list, func(p piListed) bool { + if seen[p.Name] { + return true + } + seen[p.Name] = true + return false + }) +} + +// MarketPiPackages is what the market shows for a search: the popular +// packages that match it, then what npm finds for it. +func MarketPiPackages(q string) ([]PiMarketPackage, error) { + q = strings.ToLower(strings.TrimSpace(q)) + var list []piListed + for _, p := range popularPi() { + if q == "" || strings.Contains(strings.ToLower(p.Name+" "+p.Publisher+" "+p.Description), q) { + list = append(list, p) + } + } + var err error + if len([]rune(q)) >= 2 { + var found []piListed + found, _, err = searchPiNPM(q, 100, 0) + list = piOnce(append(list, found...)) + } + out := []PiMarketPackage{} + for _, p := range list { + out = append(out, piMarketOf(p)) + } + return out, err +} + +func piMarketOf(p piListed) PiMarketPackage { + m := PiMarketPackage{Source: "npm:" + p.Name, Name: p.Name, Version: p.Version, Description: p.Description, + Publisher: p.Publisher, Downloads: p.Downloads, NPM: "https://www.npmjs.com/package/" + p.Name} + if repo := piRepoURL(p.Repository); repo != "" { + m.Repo = repo + if owner := githubOwner(repo); owner != "" { + m.Icon = gh(owner) + } + } + if strings.HasPrefix(p.Homepage, "https://") { + m.Homepage = p.Homepage + } + if len(p.Date) >= 10 { + m.Updated = p.Date[:10] + } + return m +} + +// piRepoURL is a package's repository as a page to open: npm's +// git+https://…/x.git as https://…/x; nothing that isn't https. +func piRepoURL(s string) string { + s = strings.TrimSuffix(strings.TrimPrefix(strings.TrimSpace(s), "git+"), ".git") + if !strings.HasPrefix(s, "https://") { + return "" + } + return s +} + +// ---- install and remove ----------------------------------------------------- + +// piNameRe is an npm package's name (validate-npm-package-name): never one +// that starts with "-" or ".", which a command would read as a flag or a +// path. +var piNameRe = lazyre.New(`^(@[a-z0-9][a-z0-9._~-]*/)?[a-z0-9_][a-z0-9._~-]*$`) + +// PiInstalled is what an install or a removal did, for the page to say. +type PiInstalled struct { + *PiExtensions + // Pending: only settings.json was changed; Pi installs the package + // (or no longer loads it) when it next starts + Pending bool `json:"pending,omitempty"` +} + +// piBin is the pi command magpie runs for p, "" when it can't run one: a +// Pi in WSL, or one whose CLI isn't found; a var for tests. +var piBin = func(p piPlace) string { + if p.a.WSL != "" { + return "" + } + return p.a.BinPath() +} + +// piRun runs `pi ` for the Pi whose agent folder is dir, with +// nothing to answer it; a var for tests. +var piRun = func(bin, dir string, args ...string) (string, error) { + const timeout = 5 * time.Minute + ctx, cancel := context.WithTimeout(context.Background(), timeout) + defer cancel() + cmd := proc.CommandContext(ctx, bin, args...) + cmd.Stdin = nil + cmd.Dir = dir + // pi is a node script: its folder first, so its node is found + cmd.Env = append(os.Environ(), "PI_CODING_AGENT_DIR="+dir, "PATH="+filepath.Dir(bin)+string(os.PathListSeparator)+os.Getenv("PATH")) + out, err := cmd.CombinedOutput() + text := strings.TrimSpace(string(out)) + if err != nil { + if errors.Is(ctx.Err(), context.DeadlineExceeded) { + return text, fmt.Errorf("pi %s didn't finish in %s", strings.Join(args, " "), timeout) + } + if text == "" { + text = err.Error() + } + return text, fmt.Errorf("pi %s: %s", strings.Join(args, " "), lastLines(text, 4)) + } + return text, nil +} + +// InstallPiPackage installs an npm package from the market into a Pi. +func InstallPiPackage(pi, source string) (*PiInstalled, error) { + name, ok := strings.CutPrefix(strings.TrimSpace(source), "npm:") + if !ok || !piNameRe.MatchString(name) { + return nil, fmt.Errorf("%q isn't an npm package Pi can install", source) + } + source = "npm:" + name + piMu.Lock() + defer piMu.Unlock() + p, err := piPlaceOf(pi) + if err != nil { + return nil, err + } + s, err := p.settings() + if err != nil { + return nil, err + } + id := p.piIdentity(source) + for _, r := range s.pkgs { + if x, ok := piPackageOf(r); ok && p.piIdentity(x.Source) == id { + return nil, fmt.Errorf("%s has %s already", piLabel(p), name) + } + } + if err := newBackups().keep(p.a.ID, p.settingsPath()); err != nil { + return nil, err + } + if bin := piBin(p); bin != "" { + if _, err := piRun(bin, p.dir, "install", source); err != nil { + return nil, err + } + if has, err := p.has(id); err != nil { + return nil, err + } else if !has { + return nil, fmt.Errorf("pi install %s finished, but %s's settings.json doesn't list it", source, piLabel(p)) + } + return &PiInstalled{PiExtensions: ReadPiExtensions()}, nil + } + b, _ := json.Marshal(source) + next := append(slices.Clone(s.pkgs), b) + if err := os.MkdirAll(p.dir, 0o755); err != nil { + return nil, err + } + if err := edit.SetJSON(p.settingsPath(), edit.KV{Path: "packages", Value: next}); err != nil { + return nil, err + } + return &PiInstalled{PiExtensions: ReadPiExtensions(), Pending: true}, nil +} + +// RemovePiPackage takes a package out of a Pi, as `pi remove` does. +func RemovePiPackage(pi, source string) (*PiInstalled, error) { + source = strings.TrimSpace(source) + if source == "" || strings.HasPrefix(source, "-") { + return nil, fmt.Errorf("%q isn't a package", source) + } + piMu.Lock() + defer piMu.Unlock() + p, err := piPlaceOf(pi) + if err != nil { + return nil, err + } + s, err := p.settings() + if err != nil { + return nil, err + } + id := p.piIdentity(source) + var next []json.RawMessage + for _, r := range s.pkgs { + if x, ok := piPackageOf(r); ok && p.piIdentity(x.Source) == id { + continue + } + next = append(next, r) + } + if len(next) == len(s.pkgs) { + return nil, fmt.Errorf("%s has no package %s", piLabel(p), source) + } + if err := newBackups().keep(p.a.ID, p.settingsPath()); err != nil { + return nil, err + } + if bin := piBin(p); bin != "" { + if _, err := piRun(bin, p.dir, "remove", source); err != nil { + return nil, err + } + if has, err := p.has(id); err != nil { + return nil, err + } else if has { + return nil, fmt.Errorf("pi remove %s finished, but %s's settings.json still lists it", source, piLabel(p)) + } + return &PiInstalled{PiExtensions: ReadPiExtensions()}, nil + } + if next == nil { + next = []json.RawMessage{} + } + if err := edit.SetJSON(p.settingsPath(), edit.KV{Path: "packages", Value: next}); err != nil { + return nil, err + } + return &PiInstalled{PiExtensions: ReadPiExtensions(), Pending: true}, nil +} + +// has says whether p's settings.json lists a package of this identity; +// one that can't be read says nothing either way. +func (p piPlace) has(id string) (bool, error) { + s, err := p.settings() + if err != nil { + return false, err + } + return slices.ContainsFunc(s.pkgs, func(r json.RawMessage) bool { + x, ok := piPackageOf(r) + return ok && p.piIdentity(x.Source) == id + }), nil +} diff --git a/internal/library/pimarket_test.go b/internal/library/pimarket_test.go new file mode 100644 index 000000000..165e3aad0 --- /dev/null +++ b/internal/library/pimarket_test.go @@ -0,0 +1,355 @@ +package library + +import ( + "encoding/json" + "errors" + "fmt" + "net/http" + "net/http/httptest" + "os" + "path/filepath" + "runtime" + "slices" + "strings" + "sync/atomic" + "testing" + "time" + + "github.com/yetone/magpie/internal/edit" + "github.com/yetone/magpie/internal/testenv" +) + +// piNPM is npm's search as the market asks it, answering with these +// packages for the keyword alone and those for a search's words. +func piNPM(t *testing.T, popular, found []string) (asked *atomic.Int32, texts *[]string, down *atomic.Bool) { + t.Helper() + asked, texts, down = &atomic.Int32{}, &[]string{}, &atomic.Bool{} + srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + asked.Add(1) + if down.Load() { + http.Error(w, "down", http.StatusServiceUnavailable) + return + } + text := r.URL.Query().Get("text") + *texts = append(*texts, text) + list := popular + if text != "keywords:pi-package" { + list = found + } + if r.URL.Query().Get("from") != "0" { + list = nil + } + fmt.Fprintf(w, `{"total":%d,"objects":[%s]}`, len(list), strings.Join(list, ",")) + })) + t.Cleanup(srv.Close) + was := piNPMURL + piNPMURL = srv.URL + t.Cleanup(func() { piNPMURL = was }) + piForget(t) + return asked, texts, down +} + +func piForget(t *testing.T) { + piPopular.Lock() + piPopular.list, piPopular.at = nil, time.Time{} + piPopular.Unlock() + t.Cleanup(func() { + piPopular.Lock() + piPopular.list, piPopular.at = nil, time.Time{} + piPopular.Unlock() + }) +} + +// piCacheHere gives the test a cache folder of its own on every system: +// XDG_CACHE_HOME (Linux) is shared by the whole binary otherwise, and +// LOCALAPPDATA (Windows) is blank in a sandbox. +func piCacheHere(t *testing.T) { + d := t.TempDir() + t.Setenv("XDG_CACHE_HOME", d) + t.Setenv("LOCALAPPDATA", d) +} + +func npmObject(name, desc, repo string, monthly int, keywords ...string) string { + if keywords == nil { + keywords = []string{"pi-package"} + } + kw, _ := json.Marshal(keywords) + return fmt.Sprintf(`{"downloads":{"monthly":%d,"weekly":1},"package":{"name":%q,"version":"1.2.3","description":%q,"keywords":%s,"date":"2026-11-01T10:00:00.000Z","publisher":{"username":"pub"},"links":{"repository":%q,"homepage":"https://example.dev/%s"}}}`, + monthly, name, desc, kw, repo, name) +} + +func piNames(list []PiMarketPackage) []string { + var out []string + for _, p := range list { + out = append(out, p.Name) + } + return out +} + +// nineruiing on X asked for a market of Pi's packages. Before a search it +// offers npm's packages with Pi's keyword, the most downloaded first (as +// Pi's gallery reads them); one without the keyword, or whose name would +// read as a flag, is never offered. A search adds npm's own matches. +func TestPiMarketFromNPM(t *testing.T) { + sandbox(t) + piCacheHere(t) + _, texts, down := piNPM(t, []string{ + npmObject("pi-small", "A small one.", "git+https://github.com/small/pi-small.git", 10), + npmObject("@big/pi-web", "Web search for Pi.", "git+https://github.com/big/pi-web.git", 5000), + npmObject("not-pi", "Has the word only.", "", 9999, "other"), + npmObject("-flag", "A flag.", "", 8000), + npmObject("pi-mid", "Middle.", "git+ssh://git@example.com/x.git", 300), + }, []string{ + npmObject("pi-web-extra", "Found by a search.", "", 1), + npmObject("@big/pi-web", "Web search for Pi.", "git+https://github.com/big/pi-web.git", 5000), + }) + + list, err := MarketPiPackages("") + if err != nil { + t.Fatal(err) + } + if got := piNames(list); !slices.Equal(got, []string{"@big/pi-web", "pi-mid", "pi-small"}) { + t.Fatalf("popular = %v", got) + } + web := list[0] + if web.Source != "npm:@big/pi-web" || web.Icon != gh("big") || web.Repo != "https://github.com/big/pi-web" || + web.NPM != "https://www.npmjs.com/package/@big/pi-web" || web.Downloads != 5000 || web.Updated != "2026-11-01" { + t.Errorf("card = %+v", web) + } + if list[1].Repo != "" || list[1].Icon != "" { + t.Errorf("an ssh repository made a link or an icon: %+v", list[1]) + } + if !offered(web.Icon) { + t.Error("the icon proxy refuses the market's own icon") + } + + list, err = MarketPiPackages("web") + if err != nil { + t.Fatal(err) + } + if got := piNames(list); !slices.Equal(got, []string{"@big/pi-web", "pi-web-extra"}) { + t.Errorf("search = %v", got) + } + if !slices.Contains(*texts, "keywords:pi-package web") { + t.Errorf("npm was asked %q", *texts) + } + + // npm not answering a search: the popular ones that match, and which + // source failed + down.Store(true) + list, err = MarketPiPackages("small") + var se *SearchError + if !errors.As(err, &se) || se.Source != "npm" { + t.Errorf("err = %v, want npm's SearchError", err) + } + if got := piNames(list); !slices.Equal(got, []string{"pi-small"}) { + t.Errorf("with npm down = %v", got) + } + + // kept on disk: a later start with npm down has the same list + piForget(t) + if got := piNames(func() []PiMarketPackage { l, _ := MarketPiPackages(""); return l }()); !slices.Equal(got, []string{"@big/pi-web", "pi-mid", "pi-small"}) { + t.Errorf("from the disk cache = %v", got) + } +} + +// With npm down and nothing on disk, the market is the snapshot magpie +// shipped with, not empty. +func TestPiMarketSnapshot(t *testing.T) { + sandbox(t) + piCacheHere(t) + _, _, down := piNPM(t, nil, nil) + down.Store(true) + list, _ := MarketPiPackages("") + if len(list) < 100 || !slices.Contains(piNames(list), "pi-mcp-adapter") { + t.Fatalf("snapshot = %d packages", len(list)) + } + for i := 1; i < len(list); i++ { + if list[i].Downloads > list[i-1].Downloads { + t.Fatalf("snapshot isn't by downloads at %d: %v then %v", i, list[i-1], list[i]) + } + } +} + +func piSettingsPackages(t *testing.T, dir string) []any { + t.Helper() + raw, err := os.ReadFile(filepath.Join(dir, "settings.json")) + if err != nil { + t.Fatal(err) + } + var s struct{ Packages []any } + if err := json.Unmarshal(raw, &s); err != nil { + t.Fatal(err) + } + return s.Packages +} + +// piFake stands for the pi command of this machine's Pi: what it was run +// with, and settings.json changed as `pi install` and `pi remove` change it. +func piFake(t *testing.T) *[][]string { + t.Helper() + runs := &[][]string{} + wasBin, wasRun := piBin, piRun + piBin = func(p piPlace) string { + if p.a.WSL != "" { + return "" + } + return "/fake/pi" + } + piRun = func(bin, dir string, args ...string) (string, error) { + *runs = append(*runs, append([]string{bin, dir}, args...)) + p := piPlace{dir: dir} + s, err := p.settings() + if err != nil { + return "", err + } + next := []json.RawMessage{} + id := p.piIdentity(args[1]) + for _, r := range s.pkgs { + if x, ok := piPackageOf(r); !ok || p.piIdentity(x.Source) != id { + next = append(next, r) + } + } + if args[0] == "install" { + b, _ := json.Marshal(args[1]) + next = append(next, b) + } + return "", edit.SetJSON(p.settingsPath(), edit.KV{Path: "packages", Value: next}) + } + t.Cleanup(func() { piBin, piRun = wasBin, wasRun }) + return runs +} + +// This machine's Pi gets a package by `pi install npm:` run for its +// own agent folder, and loses it by `pi remove`; a Pi in WSL gets the +// settings.json entry, which Pi installs when it next starts, and loses +// every entry of that package. One a Pi has already, or a source that +// isn't an npm package's name, is refused before anything runs. +func TestPiInstallAndRemove(t *testing.T) { + here, wsl := piTwo(t) + runs := piFake(t) + write(t, filepath.Join(here, "settings.json"), `{"theme": "dark", "packages": ["git:github.com/a/b"]}`) + write(t, filepath.Join(wsl, "settings.json"), `{"packages": [{"source": "npm:pi-foo@1.0.0", "skills": []}, "npm:keep"]}`) + + v, err := InstallPiPackage("pi", "npm:@scope/pi-foo") + if err != nil { + t.Fatal(err) + } + if v.Pending || len(*runs) != 1 || !slices.Equal((*runs)[0], []string{"/fake/pi", here, "install", "npm:@scope/pi-foo"}) { + t.Fatalf("pending %v, runs %q", v.Pending, *runs) + } + if p := piOf(t, v.PiExtensions, "pi"); len(p.Packages) != 2 || p.Packages[1].Source != "npm:@scope/pi-foo" { + t.Errorf("packages = %+v", p.Packages) + } + if _, err := InstallPiPackage("pi", "npm:@scope/pi-foo"); err == nil || !strings.Contains(err.Error(), "already") { + t.Errorf("installed twice: %v", err) + } + for _, bad := range []string{"npm:-g", "npm:--prefix=/x", "git:github.com/a/b", "pi-foo", "npm:../x", "npm:a b"} { + if _, err := InstallPiPackage("pi", bad); err == nil { + t.Errorf("%q installed", bad) + } + } + if len(*runs) != 1 { + t.Errorf("pi ran for a refused install: %q", *runs) + } + + v, err = InstallPiPackage("pi@wsl:Ubuntu", "npm:pi-bar") + if err != nil { + t.Fatal(err) + } + if !v.Pending || len(*runs) != 1 { + t.Errorf("WSL install: pending %v, runs %q", v.Pending, *runs) + } + if got := piSettingsPackages(t, wsl); len(got) != 3 || got[2] != "npm:pi-bar" { + t.Errorf("WSL packages = %#v", got) + } + if _, err := InstallPiPackage("pi@wsl:Ubuntu", "npm:pi-foo"); err == nil { + t.Error("a package the Pi has under another pin installed again") + } + + if _, err := RemovePiPackage("pi", "npm:@scope/pi-foo"); err != nil { + t.Fatal(err) + } + if len(*runs) != 2 || !slices.Equal((*runs)[1], []string{"/fake/pi", here, "remove", "npm:@scope/pi-foo"}) { + t.Errorf("runs %q", *runs) + } + if got := piSettingsPackages(t, here); len(got) != 1 || got[0] != "git:github.com/a/b" { + t.Errorf("packages after remove = %#v", got) + } + v, err = RemovePiPackage("pi@wsl:Ubuntu", "npm:pi-foo") + if err != nil { + t.Fatal(err) + } + if !v.Pending { + t.Error("a WSL removal isn't said to wait for Pi") + } + if got := piSettingsPackages(t, wsl); len(got) != 2 || got[0] != "npm:keep" || got[1] != "npm:pi-bar" { + t.Errorf("WSL packages after remove = %#v", got) + } + if _, err := RemovePiPackage("pi", "npm:nothing"); err == nil { + t.Error("removed a package the Pi doesn't have") + } + if _, err := RemovePiPackage("pi", "-l"); err == nil { + t.Error("a flag taken for a package") + } + raw, _ := os.ReadFile(filepath.Join(here, "settings.json")) + if !strings.Contains(string(raw), `"theme": "dark"`) { + t.Errorf("the user's other settings lost: %s", raw) + } +} + +// A settings.json that can't be read is unknown: nothing is installed into +// it or removed from it, and pi isn't run. +func TestPiInstallUnreadSettings(t *testing.T) { + here, _ := piTwo(t) + runs := piFake(t) + bad := `{"packages": ["npm:a", ` // cut short + write(t, filepath.Join(here, "settings.json"), bad) + if _, err := InstallPiPackage("pi", "npm:pi-foo"); err == nil { + t.Error("installed into an unreadable settings.json") + } + if _, err := RemovePiPackage("pi", "npm:a"); err == nil { + t.Error("removed from an unreadable settings.json") + } + if raw, _ := os.ReadFile(filepath.Join(here, "settings.json")); string(raw) != bad || len(*runs) != 0 { + t.Errorf("settings now %s, runs %q", raw, *runs) + } +} + +// pi install that exits 0 but doesn't add the package is an error, not a +// package said to be there. +func TestPiInstallNotListedAfter(t *testing.T) { + here, _ := piTwo(t) + piFake(t) + piRun = func(bin, dir string, args ...string) (string, error) { return "", nil } + write(t, filepath.Join(here, "settings.json"), `{}`) + if _, err := InstallPiPackage("pi", "npm:pi-foo"); err == nil || !strings.Contains(err.Error(), "doesn't list it") { + t.Errorf("err = %v", err) + } +} + +// The real run: pi is given the Pi's agent folder as PI_CODING_AGENT_DIR, +// runs in it, and has nothing to answer it. +func TestPiRunGivesAgentDir(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("a shell script stands for pi") + } + dir := t.TempDir() + bin := filepath.Join(t.TempDir(), "pi") + testenv.Program(t, bin, "#!/bin/sh\necho \"$PI_CODING_AGENT_DIR|$(pwd -P)|$*\" > \"$PI_CODING_AGENT_DIR/ran\"\nread x && echo stdin >> \"$PI_CODING_AGENT_DIR/ran\"\nexit 0\n") + if _, err := piRun(bin, dir, "install", "npm:pi-foo"); err != nil { + t.Fatal(err) + } + raw, err := os.ReadFile(filepath.Join(dir, "ran")) + if err != nil { + t.Fatal(err) + } + real, _ := filepath.EvalSymlinks(dir) + if want := dir + "|" + real + "|install npm:pi-foo\n"; string(raw) != want { + t.Errorf("pi ran as %q, want %q", raw, want) + } + testenv.Program(t, bin, "#!/bin/sh\necho 'npm ERR! 404 Not Found' >&2\nexit 1\n") + if _, err := piRun(bin, dir, "install", "npm:nope"); err == nil || !strings.Contains(err.Error(), "404") { + t.Errorf("err = %v, want npm's own words", err) + } +}