{
  "schemaVersion": 1,
  "providerId": "official",
  "catalogId": "pi-plugin-center",
  "name": "PI-Desktop Official Plugins",
  "homepage": "https://github.com/vastsa/pi-desktop-plugins",
  "updatedAt": "2026-11-29T03:08:51Z",
  "generatedAt": "2026-11-29T03:08:51Z",
  "policyVersion": "2026.10.3",
  "artifactBaseUrl": null,
  "categoryLabels": {
    "agents-workflow": {
      "en": "Agents \u0026 Workflow",
      "zh-CN": "智能体与工作流"
    },
    "ai-models": {
      "en": "Models \u0026 Providers",
      "zh-CN": "模型与供应商"
    },
    "desktop-system": {
      "en": "Desktop \u0026 System",
      "zh-CN": "桌面与系统"
    },
    "developer-tools": {
      "en": "Developer Tools",
      "zh-CN": "开发工具"
    },
    "fun": {
      "en": "Fun",
      "zh-CN": "娱乐休闲"
    },
    "integrations": {
      "en": "Integrations",
      "zh-CN": "第三方接入"
    },
    "media-creative": {
      "en": "Media \u0026 Creative",
      "zh-CN": "媒体与创意"
    },
    "memory-knowledge": {
      "en": "Memory \u0026 Knowledge",
      "zh-CN": "记忆与知识库"
    },
    "productivity": {
      "en": "Productivity",
      "zh-CN": "效率工具"
    },
    "search-web": {
      "en": "Search \u0026 Web",
      "zh-CN": "联网与检索"
    },
    "themes": {
      "en": "Themes",
      "zh-CN": "外观主题"
    },
    "usage-analytics": {
      "en": "Usage \u0026 Analytics",
      "zh-CN": "用量与统计"
    },
    "writing": {
      "en": "Writing \u0026 Docs",
      "zh-CN": "写作与文档"
    }
  },
  "plugins": [
    {
      "id": "hawchou.mumu-player",
      "name": "MuMu Player Toolkit",
      "description": "Locate a MuMu Android emulator installation, drive the whole MuMuManager command surface, and keep the winhttp proxy VIP patch table in sync with the installed build. Detection is automatic with a manual root override as the fallback. The patch engine backs up before every write, skips any point whose original bytes do not match, and can restore the previous file.",
      "author": "hawchou1995",
      "i18n": {
        "en": {
          "name": "MuMu Player Toolkit",
          "description": "Locate a MuMu Android emulator installation, drive the whole MuMuManager command surface, and keep the winhttp proxy VIP patch table in sync with the installed build. Detection is automatic with a manual root override as the fallback. The patch engine backs up before every write, skips any point whose original bytes do not match, and can restore the previous file.",
          "safetyNotes": "Runs the locally installed MuMuManager.exe and adb.exe, starts and stops emulator instances, and can write to nx_main\\winhttp.dll. Every write is preceded by a timestamped backup in the same folder, and any patch point whose original bytes do not match is skipped rather than forced. Offline point verification only reads the target executables. No network access, and nothing leaves this machine."
        },
        "zh-CN": {
          "name": "MuMu 模拟器工具箱",
          "description": "自动定位 MuMu 安卓模拟器安装目录，驱动 MuMuManager 的完整指令面，并让 winhttp 代理的 VIP 补丁点位表与已安装的版本保持一致。目录识别优先自动探测，手工指定根目录作为兜底。补丁引擎在每次写入前先落备份，原始字节不匹配的点位一律跳过，并支持还原上一份文件。",
          "safetyNotes": "会执行本机已安装的 MuMuManager.exe 与 adb.exe，会启动和停止模拟器实例，并可能写入 nx_main\\winhttp.dll。每次写入前都会在同目录留下带时间戳的备份；原始字节不匹配的点位一律跳过，绝不强行覆写。离线点位校验只读取目标可执行文件。不联网，数据不离开本机。"
        }
      },
      "categories": [
        "desktop-system",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "hawchou",
      "downloads": 196,
      "homepage": "https://github.com/hawchou1995/pi-mumu-player",
      "readmeMarkdown": "# MuMu Player Toolkit\n\nA PI-Desktop plugin for the MuMu Android emulator. It finds the installation,\ndrives the whole `MuMuManager` command surface, and keeps the `winhttp` proxy's\nVIP patch table aligned with the build that is actually installed.\n\n## What it does\n\n**Finds the emulator.** Four sources are tried in order, and the panel always\nsays which one won:\n\n| Order | Source | How |\n|---|---|---|\n| 1 | `manual` | the absolute root saved in plugin settings |\n| 2 | `process` | the path of a running `MuMuNxMain` / `MuMuNxService` / `MuMuNxDevice` process |\n| 3 | `registry` | the `InstallLocation` of the MuMu entry under the Windows uninstall keys |\n| 4 | `common-path` | the usual `Netease\\MuMuPlayer` locations plus a shallow scan of the vendor folders |\n\nA root is any folder holding `nx_main\\MuMuManager.exe`. You may paste the root,\nthe `nx_main` folder, or the executable itself. A rejected manual path reports\nwhy and leaves the previously working root in place.\n\n**Drives the whole command surface.** All eighteen top-level subcommands and\ntheir nested ones. `mumu_manager` passes arguments through unchanged; a call\nwith an unknown subcommand returns MuMuManager's own error text rather than\nswallowing it.\n\n```\nversion  info  create  clone  upgrade  delete  rename  import  export\ncontrol  setting  adb  simulation  sort  driver  log  sh  main\n```\n\n`control` alone has nine nested entries (`launch`, `shutdown`, `restart`,\n`show_window`, `hide_window`, `layout_window`, `app`, `tool`, `shortcut`).\nThe captured help text ships in `data/mumu-commands.json`; the readable form is\n`docs/MuMuManager-command-reference.md`.\n\n**Keeps the VIP patch table in sync.** Two tables do the work.\n\nThe *file patch table* holds nine equal-length corrections inside\n`nx_main\\winhttp.dll`. A proxy built for an earlier MuMu build carries an `orig`\ntable whose call displacements no longer match, so its points are skipped at\nruntime; the corrections retarget them. Each entry is verified against the file\nbefore anything is written, and the original bytes must be unique in the file.\n\nThe *runtime point table* holds fifty-two points the proxy applies in memory,\nthirty for `MuMuNxMain.exe`, eighteen for `MuMuNxService.exe` and four for\n`MuMuRemoteService.exe`. The plugin verifies them offline by parsing each PE\nsection table and converting RVA to file offset, so compatibility is known\nbefore any byte is written.\n\nEvery write is preceded by a timestamped backup plus a JSON audit record beside\nthe target. A point whose original bytes are absent, or present more than once,\nis skipped and reported — never forced.\n\n**Recovers a dead guest.** When the guest Android framework has died —\n`screencap` hangs, `dumpsys` reports a missing window service — the recovery\nterminates the instance and its VM helper processes, waits until MuMuManager\nreports the instance stopped, launches it again, and polls until the activity\nservice answers.\n\n## Installing\n\nThe plugin is one folder. Copy it to `~/.pi-desktop/plugins/installed/`:\n\n```\ncp -r pi-mumu-player ~/.pi-desktop/plugins/installed/hawchou.mumu-player\n```\n\nThen enable it in PI-Desktop and run **MuMu Player Toolkit: Open Panel** from\nthe command palette.\n\n## Using it\n\nThe panel opens read-only. Environment, instances, patch state and the command\nreference are all readable; the write buttons stay disabled until you turn on\n**Enable live controls** in the title bar.\n\nThe agent tools:\n\n| Tool | Risk | What it does |\n|---|---|---|\n| `mumu_detect` | low | resolve the install root and name the source |\n| `mumu_list_instances` | low | instance table from `info` |\n| `mumu_setting_get` | low | read player settings |\n| `mumu_patch_status` | low | classify the DLL and verify all fifty-two points |\n| `mumu_command_reference` | low | the shipped command index |\n| `mumu_manager_help` | low | verbatim `-h` for any subcommand |\n| `mumu_manager` | high | run any subcommand with raw arguments |\n| `mumu_instance_action` | high | launch, shut down, restart |\n| `mumu_shell` | high | run a command inside the guest |\n| `mumu_setting_set` | high | write player settings |\n| `mumu_simulation_set` | high | change simulated identity values |\n| `mumu_patch_apply` | high | back up, verify, then patch |\n| `mumu_patch_restore` | high | restore the newest backup |\n| `mumu_recover_dead_guest` | high | the dead-guest recovery |\n\n## Verifying\n\n```\nnode test/patch-core.test.js\nnode test/patch-core.test.js \"D:\\Other\\MuMuPlayer\"\npython tools/i18n-gate.py\nnode tools/publish.js --check\n```\n\nThe patch tests run every destructive case against a copy in the system temp\nfolder, so the real installation is only ever read. They cover per-point\nclassification, dry run, byte-exact reproduction of a corrected file, mismatch\nrefusal, idempotence, restore, and the PE offset cross-check.\n\nExpected output on a healthy 6.8.2 install:\n\n```\nPASS  T1 installed file classifies as corrected     already=9/9\nPASS  T2 dry run writes nothing                     already=9/9 sha unchanged\nPASS  T3 runtime points verify vs the executables   MuMuNxMain.exe=30/30 MuMuNxService.exe=18/18 MuMuRemoteService.exe=4/4\nPASS  T8 recorded file offsets match a parsed PE    52 recorded offsets agree\nPASS  T4 legacy repaired to the exact corrected sha\nPASS  T5 tampered file refused, zero bytes written\nPASS  T6 applying twice is idempotent\nPASS  T7 restore returns the legacy sha\n```\n\n## Reading the guard log\n\nThe proxy writes `nx_main\\mumu_guard_winhttp.log`. The summary line is the only\nproof the runtime points actually landed:\n\n```\n=== summary: applied=30 already=0 mismatch=0 skipped=0 total=30 ===   MuMuNxMain\n=== summary: applied=18 already=0 mismatch=0 skipped=0 total=18 ===   MuMuNxService\n```\n\n`mismatch` greater than zero means the build differs from the point table —\nthat is the case the nine file corrections exist to fix.\n\n## Scope\n\nThe plugin does not ship or install MuMu itself, does not touch account state,\ndoes not repack APKs, and makes no network requests. The patch changes client\nbehaviour only; it does not change what any account is entitled to on a server.\n\n---\n\n# MuMu 模拟器工具箱\n\nPI-Desktop 的 MuMu 安卓模拟器扩展。自动定位安装目录,驱动 MuMuManager 的完整\n指令面,并让 winhttp 代理的 VIP 补丁点位表与已安装的版本保持一致。\n\n## 能力\n\n- **自动识别安装目录**,四条来源按序尝试,面板永远显示本次是**哪一条**命中的:\n  手工指定 → 运行中的进程 → 卸载注册表项 → 常见路径。手工路径被拒时会说明原因,\n  并保留上一次可用的根目录。\n- **完整指令面**:18 个顶层子命令 + 全部嵌套子命令。透传工具原样转发参数;\n  调用不存在的子命令时**原样回传 MuMuManager 的报错文本**,不吞错。\n- **VIP 补丁**:9 条文件内修正让旧版代理的点位表对上本版本;52 个运行时点位\n  通过解析 PE 节表把 RVA 换算成文件偏移,在**不写任何字节**的前提下离线判定兼容性。\n  每次写入前先落备份与 JSON 审计记录;原始字节不匹配或非唯一的点位一律跳过。\n- **半死 guest 恢复**:guest 安卓框架死掉时(screencap 挂死、dumpsys 报找不到\n  window 服务),终止实例与 VM 辅助进程,等实例真停,再拉起,轮询直到 activity\n  服务应答。\n\n## 安全\n\n面板默认只读,写入类按钮在打开顶栏「开启操作权限」之前一直是禁用的。\n不联网,数据不离开本机。补丁只改变客户端行为,不改变账号在服务端的任何权益。\n\n## 自检\n\n```\nnode test/patch-core.test.js\npython tools/i18n-gate.py\nnode tools/publish.js --check\n```\n\n补丁测试的破坏性用例全部跑在系统临时目录里的副本上,**真安装只读**。\n",
      "safetyNotes": "Runs the locally installed MuMuManager.exe and adb.exe, starts and stops emulator instances, and can write to nx_main\\winhttp.dll. Every write is preceded by a timestamped backup in the same folder, and any patch point whose original bytes do not match is skipped rather than forced. Offline point verification only reads the target executables. No network access, and nothing leaves this machine.",
      "versions": [
        {
          "version": "0.3.1",
          "publishedAt": "2026-10-09T03:37:47Z",
          "changelog": "## 0.3.1 — 2026-10-09\r\n\r\nDocumentation only: the mobile browser bench.\r\n\r\n**`docs/mobile-browser-lab.md`.** The MuMu Android 12 browser matrix and the rule behind it —\r\nthe translation layer only executes Dalvik/ARM bytecode, so pure-Java browsers and browsers that\r\ndelegate rendering to the system WebView run, while anything shipping its own arm64 Chromium\r\n(`libchrome.so`, 188,617,928 B) dies at startup with a stable SIGSEGV fingerprint\r\n(`#07 libchrome.so …LibraryLoader_1libraryLoaded+68` → `#08 /system/lib64/arm64/nb/libtcb.so`).\r\nIncludes the Google stack (Play services 24.42.33, Play Store 23.7.11-21, both from MuMu's own\r\nGoogle installer) and the measured result that installing it changes nothing about that crash —\r\nsame PC, same BuildId, same call stack. Plus the end-to-end path from APK download to verified\r\nresult (including the first-run wizard that silently eats VIEW intents if it is not finished),\r\na seventeen-row trap table, and a section on reading Tampermonkey's IndexedDB offline with guest\r\nroot: the storage keys are alphabet-shifted by -1, and `0@re$\u003cid\u003e` holds a script's `@match`/`@include`.\r\n\r\nThe one finding that constrains automation: **Tampermonkey 5.3.1 inside Yujian International opens\r\nits install page for `https://…/x.user.js` only, never for `http://`.** A/B on one machine, one\r\nscript, one path, changing only the scheme: `https://update.greasyfork.org/scripts/598793/….user.js`\r\n→ install page (tab count 1 → 2); the `http://` URL → the script rendered as plain source, and\r\nTampermonkey's background page never came back for the script at all (the fake backend logged\r\nexactly one GET — the browser navigation — with `Accept: text/html,…`).\r\n\r\nNo code change; this release only adds documentation.",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "498c2cdc1e23bf7907e4b862a213e059e828235d9176f8177f74a9256f2f701a",
          "url": "packages/hawchou.mumu-player-0.3.1.piplug",
          "sizeBytes": 285957,
          "permissions": [
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hawchou1995/pi-mumu-player",
            "sourceRef": "v0.3.1",
            "sourceCommit": "f35873bad77613d93efeae89ea7643f20de5e313",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-09T03:37:17Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-10-08T03:43:51Z",
          "changelog": "## 0.3.0 — 2026-10-07\r\n\r\n**Static patch, no proxy required.** The toolkit no longer depends on a\r\nuser-supplied `winhttp.dll` to change client behaviour. `lib/static.js` applies the\r\nsame fifty-two runtime points straight to the on-disk `MuMuNxMain.exe`,\r\n`MuMuNxService.exe` and `MuMuRemoteService.exe`, locating each point by the RVA in\r\n`patch/points.json` mapped through the parsed PE section table. Three new agent\r\ntools: `mumu_static_patch_status` (read-only, low risk), `mumu_static_patch_apply`\r\nand `mumu_static_patch_restore` (high risk). Every touched file is backed up with a\r\ntimestamped copy plus an audit JSON, and a point whose original bytes are absent is\r\nskipped rather than forced.\r\n\r\nStub points — where `patch` is shorter than `orig` — have the remainder of the\r\noriginal function body filled with NOPs, so the file size and every later offset are\r\npreserved. A running executable cannot be replaced, so stop MuMu before applying;\r\n`MuMuRemoteService` is a Windows service and has to be stopped as well.\r\n\r\n**Verifier fix.** `verifyRuntime()` compared a whole `orig`-length window against\r\n`patch` (three bytes on the two stub points in `MuMuNxMain.exe`), so those two could\r\nnever be classified as applied and always showed as `mismatch`, even on a correctly\r\npatched file. It now compares only the leading `patch` bytes.",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "5c42e3d503585e32b18121941ff3ab341d459fcb5654ca7a96aa57bb1b7e62ac",
          "url": "packages/hawchou.mumu-player-0.3.0.piplug",
          "sizeBytes": 272787,
          "permissions": [
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hawchou1995/pi-mumu-player",
            "sourceRef": "v0.3.0",
            "sourceCommit": "f1692f57c53a3dddc4242574c5707e53a77882a9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-08T03:42:57Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-05T01:51:02Z",
          "changelog": "## 0.1.0 — 2026-10-05\n\nFirst release.\n\n**Environment detection.** Resolves the MuMu install root from four sources in\norder: the manual override in settings, a running MuMu process, the uninstall\nregistry entry, and the well-known install paths. The panel always names which\nsource won, and a rejected manual path reports the reason without discarding the\npreviously working root.\n\n**Command surface.** All eighteen MuMuManager subcommands plus their nested ones\nare reachable: version, info, create, clone, upgrade, delete, rename, import,\nexport, control, setting, adb, simulation, sort, driver, log, sh, main. The\ncaptured help text and a parsed option index ship in data/mumu-commands.json and\ndocs/MuMuManager-command-reference.md.\n\n**VIP patch.** A two-part table keeps nx_main\\winhttp.dll aligned with the\ninstalled build. Nine in-file corrections turn a proxy built for the earlier\nbuild into one that matches this build; fifty-two runtime points are verified\nagainst the three target executables by parsing their PE section tables. Every\nwrite is preceded by a timestamped backup and an audit record, and a point whose\noriginal bytes are absent or not unique is skipped rather than forced.\n\nWhen nx_main holds no proxy at all, the plugin says so instead of failing inside\nthe table; point the setting at a proxy file and it is copied into place first,\nwith the guard marker checked and the previous file backed up, and the\ncorrections are applied on top.\n\n**Dead guest recovery.** Recovers an instance whose guest Android framework has\ndied, following the documented procedure: terminate the instance and its VM\nhelpers, wait until MuMuManager reports the instance stopped, launch again, and\nwait for the activity service to answer.\n\n**Safety.** The panel starts read-only; write actions stay disabled until the\noperator turns on live controls. No network access.",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "56735870e92449791a69774623d605ad36bc68fd3788e5150e6101ff0ee73fae",
          "url": "packages/hawchou.mumu-player-0.1.0.piplug",
          "sizeBytes": 238176,
          "permissions": [
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hawchou1995/pi-mumu-player",
            "sourceRef": "v0.1.0",
            "sourceCommit": "cd501ac7ea9380424bb2f34f3bebd1ca6cd359d6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-05T01:50:36Z"
          }
        }
      ]
    },
    {
      "id": "demo.hello",
      "name": "Hello",
      "description": "Official sample plugin with panel, command, and echo tool.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Hello",
          "description": "Official sample plugin with panel, command, and echo tool.",
          "safetyNotes": "A demo plugin with no network, file or clipboard access beyond its own panel. The echo tool returns whatever text the agent sends."
        },
        "zh-CN": {
          "name": "Hello",
          "description": "官方示例插件，包含面板、命令和回声工具。",
          "safetyNotes": "示例插件，不访问网络、文件或剪贴板。echo 工具仅原样返回 Agent 发送的文本。"
        }
      },
      "categories": [
        "official",
        "template"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "demo",
      "downloads": 32,
      "homepage": "https://plugins.aiuo.net/plugins/demo.hello",
      "repository": "https://plugins.aiuo.net/plugins/demo.hello",
      "readmeMarkdown": "# Hello\n\nOfficial demo plugin for PI-Desktop marketplace.\n",
      "versions": [
        {
          "version": "0.3.3",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "Release 0.3.3: fills the v3 panel surface, improves responsive spacing and focus states, and keeps the host window-control capsule synchronized with theme changes. Release 0.3.2: migrates the panel to v3 paint-through chrome so top-band controls remain clickable while blank space remains draggable. Release 0.3.1: refreshes the panel surface to match PI-Desktop's compact neutral design system.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "6c3d3fcded92d15ab78552671fcac4687e26324d8ac6ed5df5452dffb153ee4b",
          "url": "packages/demo.hello-0.3.3.piplug",
          "sizeBytes": 22511,
          "permissions": [
            "agent.tool.register",
            "notify",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.gzxingr.genui",
      "name": "GenUI",
      "description": "PI-Desktop port of omdsh-dev/dsh-genui: the model describes an interface as a dsh-ui JSON spec and the plugin renders it as real interactive components — stat/table/chart/plot, cards, steps, timelines, forms, quizzes with local grading, and an action loop back to the model.",
      "author": "{\"name\":\"归星 (GzxingR)\",\"url\":\"https://github.com/GzxingR\"}",
      "i18n": {
        "en": {
          "name": "GenUI",
          "description": "Give the model's answers a face: it describes an interface as a dsh-ui JSON spec and the plugin renders it as real interactive components in its own panel — stat cards, sortable/filterable tables, SVG charts and function plots, cards, steps, timelines, forms, quizzes graded locally, and an action loop back to the model. PI-Desktop exposes no plugin-extensible chat renderer, so a dsh-ui fence in a reply is captured and replaced by a one-line pointer instead of rendering inline.",
          "safetyNotes": "Requests four permissions: ui.panel, agent.tool.register, agent.prompt.inject and agent.extension. PI-Desktop exposes no plugin-extensible chat renderer, so a dsh-ui spec is rendered in this plugin's own panel window instead of inside the reply; the reply itself keeps only a one-line pointer. No fs, net, clipboard, shell, session or background-service permission is requested. Both halves (plugin process and agent sidecar) use Node.js fs to read and write ONLY this plugin's own data directory under the PI-Desktop user folder, one folder per plugin id, and only four fixed filenames there: config, state, action and panel-request. No workspace access, no network access, no caller-supplied path. Panel actions are delivered back to the model as a normal user message so the model can respond. Full capability and data-flow review: docs/capability-data-flow.md."
        },
        "zh-CN": {
          "name": "GenUI 生成式界面",
          "description": "给回答装上界面：模型用 dsh-ui JSON 规格描述界面，插件在自己的面板里渲染成真实可交互组件——指标卡、可排序可过滤的表格、SVG 图表与函数曲线、卡片、步骤、时间线、表单、本地判卷测验，以及回传模型的动作回路。PI-Desktop 没有对插件开放的聊天渲染接口，因此回复里的 dsh-ui 围栏会被接管并替换为一行指引，而不是就地渲染。",
          "safetyNotes": "申请四项权限：ui.panel、agent.tool.register、agent.prompt.inject、agent.extension。PI-Desktop 没有对插件开放的聊天渲染接口，因此 dsh-ui 规格渲染在本插件自己的面板窗口里，而不是回复正文中；回复里只保留一行指引。不申请 fs、net、clipboard、shell、session、background.service。插件的两半（插件进程与 Agent 侧）都用 Node.js fs 读写，且仅读写本插件自己的数据目录，即 PI-Desktop 用户目录下按插件 id 分的一个文件夹，且只有四个固定文件名：config、state、action、panel-request。不访问工作区、不联网、不接受调用方传入的路径。面板上的动作会作为一条普通用户消息回传给模型。完整的能力与数据流审查见 docs/capability-data-flow.md。"
        }
      },
      "categories": [
        "media-creative"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 860,
      "homepage": "https://github.com/GzxingR/pi-desktop-genui",
      "readmeMarkdown": "# GenUI for PI-Desktop\n\n[English](#english) · [简体中文](#chinese)\n\n---\n\n\u003ca id=\"english\"\u003e\u003c/a\u003e\n\n## English\n\n**Give the model's answers a face.** The model describes an interface as a `dsh-ui` JSON spec, and\nthis plugin renders it as **real interactive components** in its own panel — stat cards, sortable and\nfilterable tables, hand-drawn SVG charts and function plots, cards, steps, timelines, forms, quizzes\ngraded locally, and an action loop back to the model.\n\nThis is a **PI-Desktop port** of [`omdsh-dev/dsh-genui`](https://github.com/omdsh-dev/dsh-genui) (MIT).\nThe `dsh-ui` component vocabulary, field semantics and design rules come from upstream; this\nrepository is the host adaptation layer.\n\n### The one real difference from upstream\n\nUpstream renders a ```` ```dsh-ui ```` fence *in place, inside the reply*, through the DeepSeek\nHarness `fence-registry` extension point. PI-Desktop exposes **no plugin-extensible chat renderer** —\nits extension events are `before_agent_start` / `context` / `input` / `message_end` / `tool_call` /\n`tool_result` / `user_bash`, and its declarative contributions are commands, agent tools, skills,\nviews, themes, MCP servers, services and bus topics.\n\nSo the interface renders in **the plugin's own panel window**, and a fence in a reply is captured at\n`message_end` and replaced by a one-line pointer. Everything else is kept: the same JSON language,\nthe same component vocabulary, the same local-first interactions, the same action loop.\n\n| Path | Trigger | Behaviour |\n|---|---|---|\n| **`render_ui` tool** (primary) | the model calls the tool | spec validated → stored → panel opened |\n| **```` ```dsh-ui ```` fence** | the model writes a fence | captured at `message_end`, fence replaced by `▸ GenUI #n …` |\n| **panel interactions** | the user triggers a component carrying `action` | delivered to the model as a `[genui-action]` message |\n\n### Install\n\nMarketplace → **GenUI** (once published), or install the `.piplug` from\n[Releases](../../releases), or load the repository directory as a development plugin.\n\n### Use\n\nAsk for what you want (\"show this month's orders as a sortable dashboard\", \"draw the error rate\ntrend\"), or say *\"output it with dsh-ui\"*. Commands: open panel · status · clear · render the\nself-check sample.\n\nInteractions that the UI can settle alone — sorting, filtering, grading, locking, expanding — happen\n**locally and instantly, with zero model round-trips**. Only components carrying `action` come back\nto the model. A button without an `action` renders **disabled**, so nothing pretends to be clickable.\n\n### Permissions\n\n| Permission | Why |\n|---|---|\n| `ui.panel` | the interface renders in this plugin's own panel |\n| `agent.tool.register` | exposes `render_ui`, `validate_dsh_ui`, `genui_status` |\n| `agent.prompt.inject` | indexes the bundled `genui` skill so the model knows the component language |\n| `agent.extension` | captures the fence at `message_end` and delivers panel actions to the model |\n\n**Not requested:** any `fs.*`, `net.*`, `clipboard.*`, `shell.*`, `session.read`, `background.service`.\nThere is no `fs` or `net` block in the manifest.\n\nFull capability and data-flow review, including residual risks stated plainly:\n[`docs/capability-data-flow.md`](./docs/capability-data-flow.md).\n\n### Not implemented in this port\n\n`mermaid`, `echart`, `scene3d` and `diagram` render as a labelled placeholder that **preserves the\noriginal JSON** rather than executing anything. Upstream ships those as separately downloaded engines\n(≈1 MB+); this port bundles **no third-party render engine at all** — charts and function plots are\nhand-written SVG, the panel is plain HTML/CSS/JS with no build step, and nothing is fetched at runtime.\n\n### Tests\n\n```sh\nnode scripts/host-sim.js      # main.js against a fake host `pi`  (56 assertions)\nnode scripts/agent-sim.js     # src/extension.js against a fake sidecar (44)\nnode scripts/selftest.js      # guard -\u003e store -\u003e fence rewrite end to end (52)\nnode src/guard.selftest.js    # guard unit tests (190)\n```\n\n342 assertions, all green. Both simulations run the **real plugin code** — that is how two genuine\ndefects were caught before the host ever granted permissions (`getDataPath()` used as if it were\nsynchronous; `message_end` reading a stale config closure).\n\n### Build\n\n```sh\nnode scripts/make-icon.mjs                                  # icon, deterministic and reproducible\nnode scripts/build-market.mjs --repo \u003cthis repository url\u003e  # market tree under build/\n```\n\n### Licence\n\nMIT. The `dsh-ui` language and component vocabulary originate in\n[`omdsh-dev/dsh-genui`](https://github.com/omdsh-dev/dsh-genui); see [`LICENSE`](./LICENSE), which\nreproduces the upstream notice as the licence requires.\n\n---\n\n\u003ca id=\"chinese\"\u003e\u003c/a\u003e\n\n## 简体中文\n\n**给回答装上界面。** 模型用一份 `dsh-ui` JSON 规格描述界面，本插件把它渲染成**真实可交互组件**——\n指标卡、可排序可过滤的表格、手绘 SVG 图表与函数曲线、卡片、步骤、时间线、表单、本地判卷测验，\n以及回传模型的动作回路。渲染在插件自己的面板窗口里。\n\n这是 [`omdsh-dev/dsh-genui`](https://github.com/omdsh-dev/dsh-genui)（MIT）的 **PI-Desktop 移植版**。\n`dsh-ui` 组件词汇、字段语义与设计规范来自上游；本仓库是宿主适配层。\n\n### 与上游唯一实质差异\n\n上游通过 DeepSeek Harness 的 `fence-registry` 扩展点，把 ```` ```dsh-ui ```` 围栏**就地**渲染在回复正文中。\nPI-Desktop 没有对插件开放的聊天渲染接口（扩展事件只有 `before_agent_start` / `context` / `input` /\n`message_end` / `tool_call` / `tool_result` / `user_bash`），因此界面渲染在**插件自己的面板窗口**里，\n回复中的围栏会在 `message_end` 被接管并替换为一行指引。其余全部保留：同一套 JSON 语言、同一套组件词汇、\n同样的本地优先交互、同样的动作回路。\n\n### 安装\n\n插件市场搜索 **GenUI**（发布后），或从 [Releases](../../releases) 安装 `.piplug`，\n或把仓库目录作为开发插件加载。\n\n### 使用\n\n直接提需求（「把本月订单画成可排序的看板」），或说「用 dsh-ui 输出」。\n命令：打开面板 · 状态 · 清空 · 渲染自检示例。\n\n排序、过滤、判卷、锁定、展开这些 UI 自己能定的事，**全部本地即时完成，零模型往返**；\n只有带 `action` 的组件会回到模型。不带 `action` 的按钮渲染为**禁用态**，不会假装可点。\n\n### 权限\n\n| 权限 | 用途 |\n|---|---|\n| `ui.panel` | 界面渲染在本插件自己的面板 |\n| `agent.tool.register` | 注册 `render_ui` / `validate_dsh_ui` / `genui_status` |\n| `agent.prompt.inject` | 索引内置 `genui` 技能，让模型知道组件语言 |\n| `agent.extension` | 在 `message_end` 接管围栏，并把面板动作送达模型 |\n\n**不申请**：任何 `fs.*`、`net.*`、`clipboard.*`、`shell.*`、`session.read`、`background.service`。\nmanifest 里没有 `fs` / `net` 段。\n\n完整的能力与数据流审查（含如实写出的残余风险）：[`docs/capability-data-flow.md`](./docs/capability-data-flow.md)。\n\n### 本移植版未实现\n\n`mermaid` / `echart` / `scene3d` / `diagram` 渲染为带说明的占位卡并**保留原始 JSON**，不执行任何东西。\n上游把它们做成按需下载的独立引擎（约 1 MB+），本移植版**不引入任何第三方渲染引擎**——\n图表与函数图是手写 SVG，面板是纯 HTML/CSS/JS 无构建，运行时不联网。\n\n### 测试\n\n```sh\nnode scripts/host-sim.js      # 假宿主 pi 跑 main.js（56 项）\nnode scripts/agent-sim.js     # 假 sidecar 跑 src/extension.js（44 项）\nnode scripts/selftest.js      # guard → 存储 → 围栏改写 端到端（52 项）\nnode src/guard.selftest.js    # guard 单元（190 项）\n```\n\n共 **342 项断言全绿**。两个仿真都在跑**真实插件代码**——两个真缺陷正是在宿主授权之前这样被抓出来的\n（`getDataPath()` 被当成同步调用；`message_end` 读了闭包里的旧配置）。\n\n### 许可\n\nMIT。`dsh-ui` 语言与组件词汇源自 [`omdsh-dev/dsh-genui`](https://github.com/omdsh-dev/dsh-genui)；\n见 [`LICENSE`](./LICENSE)，其中按许可要求保留了上游版权声明。",
      "safetyNotes": "Requests four permissions: ui.panel, agent.tool.register, agent.prompt.inject and agent.extension. PI-Desktop exposes no plugin-extensible chat renderer, so a dsh-ui spec is rendered in this plugin's own panel window instead of inside the reply; the reply itself keeps only a one-line pointer. No fs, net, clipboard, shell, session or background-service permission is requested. Both halves (plugin process and agent sidecar) use Node.js fs to read and write ONLY this plugin's own data directory under the PI-Desktop user folder, one folder per plugin id, and only four fixed filenames there: config, state, action and panel-request. No workspace access, no network access, no caller-supplied path. Panel actions are delivered back to the model as a normal user message so the model can respond. Full capability and data-flow review: docs/capability-data-flow.md.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-22T18:54:50Z",
          "changelog": "**GenUI for PI-Desktop** — give the model's answers a face.\n\nThe model describes an interface as a `dsh-ui` JSON spec and the plugin renders it as **real\ninteractive components**: stat cards, sortable and filterable tables, hand-written SVG charts and\nfunction plots, cards, steps, timelines, forms, quizzes graded locally, and an action loop back to\nthe model.\n\n### Why the interface is in a panel, not inline\n\nUpstream [omdsh-dev/dsh-genui](https://github.com/omdsh-dev/dsh-genui) renders a `dsh-ui` fence\n*in place, inside the reply*, through the DeepSeek Harness `fence-registry` extension point.\nPI-Desktop exposes **no plugin-extensible chat renderer**, so this port renders the same spec in\n**the plugin's own panel window**, and a fence in a reply is captured at `message_end` and\nreplaced by a one-line pointer. Everything else is kept: the same JSON language, the same component\nvocabulary, the same local-first interactions, the same action loop.\n\n### Highlights\n\n- **44 component types** — layout, display, charts, forms, media, plus `svg` previews.\n- **Zero third-party render engines** — charts and function plots are hand-written SVG; the panel is\n  plain HTML/CSS/JS with no build step and nothing fetched at runtime.\n- **Local-first** — sorting, filtering, grading, locking and expanding happen instantly with **zero\n  model round-trips**. Only components carrying an `action` come back to the model, and a button\n  without one renders **disabled** rather than pretending to be clickable.\n- **Bilingual panel** — 159 copy keys in `en` and `zh-CN`, following the app language.\n- **`render_ui` / `validate_dsh_ui` / `genui_status`** tools the agent can call.\n\n### Permissions and privacy\n\nRequests four: `ui.panel`, `agent.tool.register`, `agent.prompt.inject`, `agent.extension`.\n**No `fs.*`, `net.*`, `clipboard.*`, `shell.*`, `session.*` or `background.service`.** There is no\nnetwork code in the package at all. The only persisted state is four fixed filenames inside the\nplugin's own data directory. The full capability, data-flow and privacy review is in\n`docs/capability-data-flow.md`, including the residual risks stated plainly.\n\n### Not implemented in this port\n\n`mermaid`, `echart`, `scene3d` and `diagram` render as a labelled placeholder that **preserves\nthe original JSON** instead of executing anything, because upstream ships those as separately\ndownloaded engines (≈1 MB+) and this port bundles no third-party render engine.\n\n### Verified\n\n344 assertions across four self-test scripts (`scripts/host-sim.js`,\n`scripts/agent-sim.js`, `scripts/selftest.js`, `src/guard.selftest.js`), green in both the\ndevelopment and market trees. Tested against PI-Desktop 0.15.3 on Windows 11.\n\nMIT. The `dsh-ui` language and component vocabulary originate in\n[omdsh-dev/dsh-genui](https://github.com/omdsh-dev/dsh-genui); the bundled `LICENSE` reproduces the\nupstream notice as the licence requires.",
          "minPiDesktop": "\u003e=0.15.3",
          "shasum": "1b709c0effb222ca7f89bc0eb2ddef6239a019c5d74b7b41c959ec3a66406404",
          "url": "packages/io.github.gzxingr.genui-0.1.0.piplug",
          "sizeBytes": 487793,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/GzxingR/pi-desktop-genui",
            "sourceRef": "v0.1.0",
            "sourceCommit": "91ebd8b0301a5b8e073af6672710eda586062620",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-22T14:16:17Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-22T18:54:38Z"
          }
        }
      ]
    },
    {
      "id": "local.terminal",
      "name": "侧边终端工具",
      "description": "PI-Desktop 工作面板里的内嵌终端：按项目隔离会话，支持 ⌘T 唤起、右键菜单和输入法自动切换。",
      "author": "zwwangoo",
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 545,
      "homepage": "https://github.com/zwwangoo/pi-terminal",
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-19T06:50:00Z",
          "changelog": "### 新增\n- **远程项目终端**：打开位于远程主机的项目时，终端自动通过本机 `ssh` 在该主机的项目目录里启动登录 shell，不再落到本地终端。\n- **主机标识**：标签页和右上角角标显示远程主机名称（橙色），一眼看出当前命令落在哪台机器上。\n- **远程 tmux 持久会话**：开启 `tmuxMode` 时，tmux 会话运行在远程主机上（私有 socket `pi-terminal`），网络断开、重载插件或重启宿主后仍在，下次打开同一个会话自动接回；关闭标签或运行「结束所有 tmux 后台会话」也会清理该主机上的会话。\n- **连接预检与错误提示**：打开远程标签前先检查主机能否连通、tmux 是否存在（tmux 标签）以及项目目录能否进入；失败时直接在面板上显示原因，不会退回到本地 shell。\n- **设置项 `remoteHost`**：默认留空，按项目绑定的主机连接；仅在无法读取项目绑定时作为后备（填以 SSH 方式添加的主机名称或 hostKey），不会覆盖项目本身的绑定。\n\n### 升级提示\n- 如果远程会话在旧版本下开过本地 tmux 终端，升级后该会话将直接打开远程终端；旧的本地会话不会再接入，可用「结束所有 tmux 后台会话」清理。\n- 远程主机必须是以 SSH 方式添加的，且私钥支持免交互认证（无口令或已加入 ssh-agent）。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "9c5db7c480c78b9e67f928f833bd243b1c72aa7f910a439baff2e669e86ed6c5",
          "url": "packages/local.terminal-0.5.0.piplug",
          "sizeBytes": 638555,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.5.0",
            "sourceCommit": "33b070c65d26b1164a332b6cd7fe903c28b11768",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-19T06:47:42Z"
          }
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-11-09T10:39:18Z",
          "changelog": "## 0.4.0\n\n**调整**\n- 终端按对话会话绑定：会话 ID 取自宿主的 `session.getActive`，面板只显示当前会话的终端，切换会话时面板即时跟随（通常几十毫秒内完成）。\n- 最近用过的 6 个会话的终端保留在面板里，切回来不重建、不回放；更早的会话释放 xterm，切回时重新接入并回放。新会话第一次打开面板会新开一个终端。\n- 取不到会话（宿主不支持，或没有选中会话）时退回按项目隔离。\n- 后台 shell 总数上限 32，超出后回收最久没人碰过的那个（tmux 会话不受此上限回收）。\n\n**升级提示**\n- tmux 会话的归属标记改为对话会话 ID。0.3.0 按项目建的 tmux 会话升级后只在取不到会话时可见，也不会被自动结束，可用命令面板里的「结束所有 tmux 后台会话」清理。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "06abc19bbee08efd310e6be1b0315bda06fd92d097337dbf60a4c8471c1858f2",
          "url": "packages/local.terminal-0.4.0.piplug",
          "sizeBytes": 609881,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.4.0",
            "sourceCommit": "29babdc62cc363eb2e73341757848eab9f082484",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-09T09:13:30Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-10-29T15:47:59Z",
          "changelog": "## 0.3.0\n\n- 新增可选的 tmux 持久会话（设置里的开关，默认关闭）：开启后每个标签跑在插件专用的 tmux 服务里，重载插件、重启宿主后 shell 和里面的程序仍在，下次打开自动接回。\n- 加载你自己的 `~/.tmux.conf`；没有该文件时使用一份最小配置。\n- tmux 标签有 `tmux` 标识；`exit` 后自动关标签，前缀键脱离后按回车可接回；右键菜单始终可用，Option 拖选可选择多行文字。\n- 新增命令「结束所有 tmux 后台会话」。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "6b9aaca8984f2bad3c2b101beacbb2b7c86fb5d05095f1e3cbc2469525fc0c58",
          "url": "packages/local.terminal-0.3.0.piplug",
          "sizeBytes": 602453,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.3.0",
            "sourceCommit": "231d0d51d67046de030ad56eec43ce5f4056e210",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-29T15:47:10Z"
          }
        },
        {
          "version": "0.2.1",
          "publishedAt": "2026-10-28T08:03:41Z",
          "changelog": "## 0.2.1\n\n- 新增窗口快捷键：在对话窗口按 ⌘T（Windows / Linux 为 Ctrl+T）即可把终端面板切到前台；快捷键可在本插件的设置里修改或清空，⌘K 命令面板里也有「打开终端」。终端面板内部的 ⌘T 仍是新建标签。\n- 精简并重写 README，更正手改 `settings.json` 的生效方式说明。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "d9d660b1d3b1c538b356715c54fd2eb75884e9e85c9edb4f45e8e5b934bdb073",
          "url": "packages/local.terminal-0.2.1.piplug",
          "sizeBytes": 576434,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.2.1",
            "sourceCommit": "30a2a33f8a059d37c549d26851b6e59272a850f0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T08:02:54Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-10-28T06:25:06Z",
          "changelog": "## 0.2.0\n\n**新增**\n- 终端区右键菜单：复制 / 粘贴 / 粘贴为单行 / 全选 / 清除滚动缓冲 / 新建标签 / 关闭标签；鼠标悬停在 http(s) 链接上时额外提供「打开链接」「复制链接地址」。\n- 快捷键：⌘C（仅有选区时复制，不影响 Ctrl+C 中断）、⌘V、⌘A、⌘K；⌘+ / ⌘- / ⌘0 缩放字体，调整后的字号会自动保存。\n- 设置：新增「按住 ⌘ 才打开链接」「粘贴时把多行折成单行」两个开关。\n- 程序开启鼠标上报（vim / tmux 等）时右键归该程序，按住 Shift 右键才弹出本菜单。\n- 面板提示与按钮文案支持中英文。\n\n**权限变化**\n- 新增 `clipboard.read`、`clipboard.write`（中风险）：仅在你粘贴或复制时读写剪贴板，内容不保存、不外发。从旧版本升级需要重新授权。\n\n**修复**\n- 全局点击强制聚焦终端会抢走菜单项焦点的问题。\n- 临时提示的定时清除会误清持久错误提示的问题。\n\n**说明**\n- 字体与输入法 id 没有放进设置弹窗，可在 `~/.pi-desktop/plugins/data/local.terminal/settings.json` 里用 `fontFamily`、`imeTarget` 配置。\n\n## 0.2.0 (English)\n\n- Right-click menu (copy, paste, paste as single line, select all, clear scrollback, new/close tab, plus open/copy link when over a link); Cmd+C/V/A/K shortcuts; Cmd +/-/0 font zoom that is saved.\n- New switches: require Cmd to open links; fold multi-line paste into one line.\n- New permissions `clipboard.read` / `clipboard.write` (medium risk), used only when you paste or copy. Upgrading from an older version asks for them again.\n- Fixes: menu focus stolen by the global click handler; transient status timer wiping persistent errors.",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "b6b9040509d7660b5ec04a27d8fd670101dc701c976d25ed9ba9544bd37f8d61",
          "url": "packages/local.terminal-0.2.0.piplug",
          "sizeBytes": 580797,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.2.0",
            "sourceCommit": "dd3e2043d07139d74e81674a86da7e95d858cf53",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T06:24:22Z"
          }
        },
        {
          "version": "0.1.7",
          "publishedAt": "2026-10-28T02:45:54Z",
          "changelog": "- 修复输入法切换收敛问题\n- 终端输出改为按序号读取，并加入背压控制\n- manifest 补充完整的中英文 i18n 与分类",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "b03588e22a6c895df261aba97a83cd46580e32d0f6aefda7db4c753f4c91e54c",
          "url": "packages/local.terminal-0.1.7.piplug",
          "sizeBytes": 555082,
          "permissions": [
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-terminal",
            "sourceRef": "v0.1.7",
            "sourceCommit": "ca7cacf32eb5c766082e2af32c5e34f630cac7a2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T02:45:11Z"
          }
        },
        {
          "version": "0.1.6",
          "publishedAt": "2026-10-27T10:31:26Z",
          "changelog": "- 终端自动切英文输入法，失焦切回需要安装 im-select",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "518425fff609609a8d602e396484784e1e83b1f651844ac50042567c99c31029",
          "url": "packages/local.terminal-0.1.6.piplug",
          "sizeBytes": 539837,
          "permissions": [
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.1.5",
          "publishedAt": "2026-10-27T04:19:57Z",
          "changelog": "- 链接支持使用浏览器打开",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "599efbe7563def61820d7e66ff7fb24c21d4fb8919b681d1fdfda449775a69b9",
          "url": "packages/local.terminal-0.1.5.piplug",
          "sizeBytes": 527671,
          "permissions": [
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.1.4",
          "publishedAt": "2026-10-21T01:25:40Z",
          "changelog": "- 更新主题色与PI-Desktop保持一致",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "1ccd4028200ad276665197983e9e0a0e51a60b6969b082a5677b7cb29415a419",
          "url": "packages/local.terminal-0.1.4.piplug",
          "sizeBytes": 527063,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.1.3",
          "publishedAt": "2026-10-20T15:16:38Z",
          "changelog": "自测通过",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "a2f9070955e1388fb68bae134af18a7e44b568f67c86fc589e4c79eb4c444ead",
          "url": "packages/local.terminal-0.1.3.piplug",
          "sizeBytes": 525953,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "pi.gitlens",
      "name": "Git Lens",
      "description": "GitLens-inspired local Git management for PI-Desktop: status, history, diff, blame, branches, commits and stashes. Docks in the right work panel (no separate window). Human UI only — no agent tools.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Git Lens",
          "description": "GitLens-inspired local Git management for PI-Desktop: status, history, diff, blame, branches, commits and stashes. Docks in the right work panel (no separate window). Human UI only — no agent tools.",
          "safetyNotes": "Runs the system git binary (git on PATH) against the repository root resolved from the currently open workspace; the plugin never touches files outside that repository, never passes shell strings (execFile with argument arrays, no shell), never sends network requests, and never reads credentials."
        },
        "zh-CN": {
          "name": "Git Lens",
          "description": "受 GitLens 启发的 PI-Desktop 本地 Git 管理工具：查看状态、历史、差异、逐行追踪、分支、提交和 Stash。只在右侧工作面板中打开（无独立窗口）。仅供人使用，不向 AI 暴露工具。",
          "safetyNotes": "插件只针对当前工作区解析出的仓库根目录执行系统 git，不访问仓库之外的文件，不拼接 shell 命令，不发起网络请求，也不读取凭据。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 1506,
      "safetyNotes": "Runs the system git binary (git on PATH) against the repository root resolved from the currently open workspace; the plugin never touches files outside that repository, never passes shell strings (execFile with argument arrays, no shell), never sends network requests, and never reads credentials. Commits, branch switches/deletes and stash operations are local git operations that respect repository hooks; the UI cannot push, pull, fetch or force anything beyond explicit branch deletion (git branch -D only when the caller asks for force). The UI is an isolated, context-isolated work-panel view that talks to the plugin process through the host bridge only. No agent tools are registered.",
      "versions": [
        {
          "version": "0.2.7",
          "publishedAt": "2026-09-13T15:26:01Z",
          "changelog": "Release 0.2.7: follow the app color mode only — never snap to the OS palette, which flashed when the two disagreed. Release 0.2.6: follows the app light/dark mode live in the work-panel view. Release 0.2.5: drop agent tools and the Git workflow skill — Git Lens is a human work-panel UI only. Release 0.2.5：去掉 AI 工具和 Git workflow skill，Git Lens 只给人用。 Release 0.2.4: command palette, toasts and the work-panel UI follow the app language (en / zh-CN) from the first paint. Release 0.2.3: compact work-panel UI — overview is a single count row; file/commit diffs open as a full-page sheet with Back. Release 0.2.0: docks only in the right work panel.",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "40babc1d5f59f221ca17f0299647053636d403fbf11c7dc97daab197a10dadf3",
          "url": "packages/pi.gitlens-0.2.7.piplug",
          "sizeBytes": 104789,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "local.pi-desktop-workbuddy",
      "name": "pi-desktop-workbuddy",
      "description": "帮你在pi-desktop中使用workbuddy的免费积分，喜欢的可以给我的github点个星星吗",
      "author": "",
      "i18n": {
        "en": {
          "name": "WorkBuddy Credits Bridge",
          "description": "Use WorkBuddy’s free credits in PI-Desktop. If you find it useful, please star the author’s GitHub repository."
        },
        "zh-CN": {
          "name": "WorkBuddy 积分接入",
          "description": "帮你在pi-desktop中使用workbuddy的免费积分，喜欢的可以给我的github点个星星吗"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 758,
      "versions": [
        {
          "version": "1.0.7",
          "publishedAt": "2026-09-24T08:15:03Z",
          "changelog": "修复了作者",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "87f6e75a0c876b0d3b48a90ef4f9e670a14ecfbfad36cf8b3341d4d24e07e904",
          "url": "packages/local.pi-desktop-workbuddy-1.0.7.piplug",
          "sizeBytes": 345847,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-24T08:11:10Z"
          }
        }
      ]
    },
    {
      "id": "io.github.muzimu217.deps-audit",
      "name": "Deps Audit",
      "description": "依赖漏洞扫描：唤起 osv-scanner 扫描工作区，列出 OSV 数据库中的依赖漏洞，让 Agent 给出升级或修复 patch。",
      "author": "muzimu217",
      "i18n": {
        "en": {
          "name": "Deps Audit",
          "description": "Dependency vulnerability audit: invoke osv-scanner over the workspace, list known OSV matches, and let the Agent propose a fix or upgrade.",
          "safetyNotes": "Reads only the workspace-root dependency manifests listed in the declared fs.read scope (package.json, lockfiles, requirements.txt, Cargo.toml/lock, go.mod/sum, pom.xml, composer.json/lock, Gemfile/lock, pyproject.toml) through the host fs gateway, stages sanitized copies in a throwaway temp directory, and spawns the local osv-scanner binary against that directory — the spawned binary never reads the workspace directly and contacts the OSV database over the network (declared High-risk capability). Staging copies are deleted after each scan. Nothing in the workspace is ever written."
        },
        "zh-CN": {
          "name": "依赖审计",
          "description": "依赖漏洞扫描：唤起 osv-scanner 扫描工作区，列出 OSV 数据库中的依赖漏洞，让 Agent 给出升级或修复 patch。",
          "safetyNotes": "Reads only the workspace-root dependency manifests listed in the declared fs.read scope (package.json, lockfiles, requirements.txt, Cargo.toml/lock, go.mod/sum, pom.xml, composer.json/lock, Gemfile/lock, pyproject.toml) through the host fs gateway, stages sanitized copies in a throwaway temp directory, and spawns the local osv-scanner binary against that directory — the spawned binary never reads the workspace directly and contacts the OSV database over the network (declared High-risk capability). Staging copies are deleted after each scan. Nothing in the workspace is ever written."
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 297,
      "readmeMarkdown": "# Deps Audit — io.github.muzimu217.deps-audit\n\n依赖漏洞扫描：把工作区交给 [osv-scanner](https://github.com/google/osv-scanner)，\n把结果以 OSV 数据库的分类与严重度展示在工作面板里；选中一条，Agent 给出**最小升级或修复方案**\n（不会自动改任何文件，必须你确认）。\n\n## 安全模型（威胁模型）\n\nDeps Audit 触及两类高权能力：**原生进程执行**（osv-scanner）与**网络**（osv-scanner\n自行访问 OSV 数据库）。按仓库 SECURITY.md 这是 High 风险档，插件的约束设计：\n\n1. **工作区读取只走宿主网关**：清单文件通过 `pi.fs.readText` 读取，作用域在\n   manifest 的 `fs.read` 声明里逐文件列出（package.json、各语言锁文件等），\n   工作区其余内容对插件不可见。\n2. **原生二进制永不直接接触工作区**：读取到的清单内容以净化副本形式写入一次性\n   临时目录，osv-scanner 只被允许扫描该目录；扫描结束后副本即被删除。\n3. **网络边界**：插件进程自身零网络请求；对 OSV 数据库的访问由 osv-scanner\n   二进制自行完成（这是它作为扫描器的核心功能）。\n4. **只读承诺**：工作区永不被写入；选中漏洞后「请 Agent 修复」永远需要用户\n   显式发起，插件只生成请求文本。\n5. **失败可见**：二进制缺失/损坏、扫描超时、非零退出、输出不可解析都有明确的\n   结构化错误与测试覆盖，不会静默吞掉。\n\n## 为什么需要这个插件\n\nPI-Desktop 的 `pi.advisor` 已经在做\"second opinion reviewer\"，但**没有插件做\"把工作区\n交给一个真实的依赖扫描器，再用 Agent 解读结果\"这一段**。OSV.dev 是 Google 维护的开放漏洞\n数据库，覆盖 npm / PyPI / crates.io / Go / Maven / Composer / RubyGems，且 osv-scanner 是\nApache-2.0 的纯本地 CLI——非常适合作为\"安全侧\"输入。\n\n## 安装\n\nDeps Audit **不强依赖** osv-scanner 二进制存在；如果没装，它会给出明确指引（详见\n故障排查）。最稳的安装方式：\n\n```bash\n# 方式 1: Homebrew (macOS / Linux)\nbrew install osv-scanner\n\n# 方式 2: Go\ngo install github.com/google/osv-scanner/v2/cmd/osv-scanner@latest\n\n# 方式 3: GitHub release（注意 macOS 需 ad-hoc 签名或下载未压缩的 brew bottle）\n# https://github.com/google/osv-scanner/releases\n```\n\n## 使用\n\n打开 PI-Desktop，在工作面板里点 **Deps Audit**（盾牌图标），或：\n\n- **命令面板**（`Cmd+K` / `Ctrl+K`）：\n  - `Deps Audit: Open Work-Panel View` — 打开面板\n  - `Deps Audit: Scan Workspace Now` — 立即扫描\n- **Agent 工具**：`deps_audit_run` — Agent 在需要时可以主动调起扫描\n\n## 工作流程\n\n1. 打开视图，点击「扫描」\n2. 插件 spawn 你本地的 `osv-scanner` 扫描工作区根下的 manifest（`package.json`、\n   `requirements.txt`、`Cargo.toml` 等）\n3. osv-scanner 拉取 OSV 数据库（**它**做的网络请求，**插件本身不联网**），返回结构化 JSON\n4. 插件解析后按严重度（Critical → High → Medium → Low）展示在工作面板\n5. 选中一条 → 点击「复制给 Agent 询问修复建议」→ 文本里包含漏洞摘要、固定版本、advisory 链接\n6. 粘到 PI-Desktop 对话框 → Agent 先解释风险，给出最小升级方案，**等你确认**才改文件\n\n## 权限说明\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.panel` / `ui.view` | 工作面板视图 |\n| `fs.read` | 经宿主网关读取工作区根目录的依赖清单（逐文件列在 manifest 的 `fs.read` 作用域里），用于生成净化副本 |\n| `clipboard.write` | 「复制给 Agent」经宿主剪贴板桥写入 |\n| `agent.tool.register` | 注册 `deps_audit_run` 工具（risk: high —— 原生执行 + 联网） |\n\n**不**声明、也**不**使用的：\n- `agent.complete` / `models.list` —— 修复建议由你在对话里向 Agent 发起，插件不调用模型。\n- `fs.write` / `fs.delete` —— 工作区永不被写入或删除。\n- `net.fetch` —— 插件进程自身零网络请求；OSV 数据库由 osv-scanner 二进制自行拉取\n  （该联网行为属于 SECURITY.md High 档的原生执行能力，已在安全模型小节声明）。\n\n## 支持的 manifest\n\n`package.json` / `package-lock.json` / `yarn.lock` / `pnpm-lock.yaml` /\n`requirements.txt` / `pyproject.toml` / `Pipfile` /\n`Cargo.toml` / `Cargo.lock` / `go.mod` / `go.sum` /\n`pom.xml` / `composer.json` / `composer.lock` / `Gemfile` / `Gemfile.lock`\n\nAgent 工具 `deps_audit_run` 可通过 `manifests` 参数收窄范围。\n\n## 设置\n\n- `scannerPath` — `osv-scanner` 二进制路径或 PATH 中的名字（默认 `osv-scanner`）\n- `severityMin` — 严重度过滤（`low` / `medium` / `high` / `critical`，默认 `low`）\n\n## 故障排查\n\n**症状**：扫描后状态条显示\"出错\"且面板顶部红色 banner\n\n最常见原因：\n\n1. **未安装 osv-scanner** → 按上面\"安装\"小节装一个，或在设置里改 `scannerPath` 指向\n   你自己装的二进制。\n2. **超时**（\u003e120 秒）→ 仓库很大、依赖很多、或 OSV 数据库下载慢。可手动先跑\n   `osv-scanner scan source --format json .` 看耗时。\n3. **JSON 解析失败** → 极少见，说明 osv-scanner 输出了不兼容的版本。请把 stderr 贴到\n   issue 里。\n\n## 设计选择\n\n- **为什么清单要先复制到临时目录再扫**？osv-scanner 是原生二进制，按 SECURITY.md 属于\n  High 风险能力。让它只读取插件经宿主网关读到的清单副本（一次性临时目录、扫描后即删），\n  被拉起的二进制就永远不会直接触碰工作区——边界先在插件侧守住，宿主网关是第二道锁。\n- **为什么过滤列表只按证据逐个加**？真实用户会粘贴以 `#` 开头的 markdown（比如\n  `# Role: 资深工程师`），一刀切会误伤真实内容。合成前缀只从真实归档里逐个取证，\n  新注入出现时按同样方式扩展。\n- **为什么是\"复制给 Agent\"而不是一键 fix**？升级依赖是高风险操作（破坏性变更、lock 重生、\n  影响下游）。让 Agent 先解释、再给方案、最后由你点头，是最不容易出事的人机协作。\n- **为什么 `deps_audit_run` 是 high-risk**？它会拉起本机 osv-scanner 二进制（原生执行），\n  且 osv-scanner 会联网访问 OSV 数据库。宁可让用户在授权时多看一眼。\n\n## 开发\n\n```bash\n# 在 PI-Desktop 仓库内校验\ncd ~/dev/pi-desktop\nenv -u NODE_OPTIONS -u PYTHONPATH ./node_modules/.bin/pi-plugin check \\\n  ~/dev/pi-desktop-plugin-lab/deps-audit\n\n# 跑测试\nnode --test test/*.test.mjs\n```\n\n## License\n\nMIT\n",
      "safetyNotes": "只经宿主 fs 网关读取声明作用域内的工作区根目录依赖清单（package.json、各语言锁文件等），把净化副本放入一次性临时目录，再对临时目录运行本机 osv-scanner 二进制——被拉起的二进制绝不直接读取工作区，且会联网访问 OSV 数据库（已声明 High 风险能力）。临时副本在每次扫描后删除；工作区永不被写入。",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-20T16:14:29Z",
          "changelog": "0.2.0：按维护者评审重做（#20）。修复插件生命周期（onLoad 改用宿主注入的 globalThis.pi，原实现因缺参而从不注册）；扫描面板改经宿主 API 解析当前工作区与设置（不再误扫插件进程目录）；清单文件改经 fs.read 权限网关读取，净化副本暂存一次性临时目录后再交给 osv-scanner（原生二进制与网络能力按 SECURITY.md 声明为 High 风险，附负面路径测试）；osv-scanner 命令改为 v2 正确用法（scan source --format json --recursive）；剪贴板复制改走宿主 clipboard.write 桥；PATH 查找兼容 Windows（where.exe）；面板符合 v3 chrome 契约。0.1.0：首个公开版本。",
          "minPiDesktop": "\u003e=0.14.3",
          "shasum": "f3c93105e61fd45c67aca3229552e532a168af8a83deb427c10d72e9836b5ec9",
          "url": "packages/io.github.muzimu217.deps-audit-0.2.0.piplug",
          "sizeBytes": 58020,
          "permissions": [
            "agent.tool.register",
            "clipboard.write",
            "fs.read",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "package.json",
                "package-lock.json",
                "yarn.lock",
                "pnpm-lock.yaml",
                "requirements.txt",
                "pyproject.toml",
                "Pipfile",
                "Cargo.toml",
                "Cargo.lock",
                "go.mod",
                "go.sum",
                "pom.xml",
                "composer.json",
                "composer.lock",
                "Gemfile",
                "Gemfile.lock"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "a4013d1c2a1c500fe5c083e83f848eeed170a15c",
            "sourceCommit": "a4013d1c2a1c500fe5c083e83f848eeed170a15c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-20T16:14:12Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-matt-workflow",
      "name": "PI Matt Workflow",
      "description": "把 Matt Pocock 工程技能装进 PI-Desktop：规划、实现、测试、评审。不含记忆、画图或 MCP。",
      "author": "YahooYuan666",
      "i18n": {
        "en": {
          "name": "PI Matt Workflow",
          "description": "Matt Pocock engineering skills for PI-Desktop: plan, implement, test, review. No memory, media, or MCP is bundled.",
          "safetyNotes": "Instruction documents only. Does not write files, start MCP, or register tools. Upstream skills are MIT from mattpocock/skills."
        },
        "zh-CN": {
          "name": "PI Matt 工作流",
          "description": "把 Matt Pocock 工程技能装进 PI-Desktop：规划、实现、测试、评审。不含记忆、画图或 MCP。",
          "safetyNotes": "只注入技能说明。不写文件、不拉起 MCP、不注册工具。上游技能来自 mattpocock/skills（MIT）。"
        }
      },
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 161,
      "homepage": "https://plugins.aiuo.net/plugins/local.pi-matt-workflow",
      "repository": "https://plugins.aiuo.net/plugins/local.pi-matt-workflow",
      "readmeMarkdown": "# PI Matt 工作流 / PI Matt Workflow\n\n**项目用途：** 把 [Matt Pocock Skills](https://github.com/mattpocock/skills) 装进 **PI-Desktop**：规划、实现、测试、评审。另有一条 PI 原生门闸，避免把普通问答当成项目执行。\n\n**不是：** 不含 Basic Memory、中转站媒体、画图风格库、MCP。那些要单独装。\n\n**Purpose:** Matt Pocock engineering skills for **PI-Desktop** (plan, implement, test, review), plus one PI-native gate so a general question is not treated as project execution.\n\n**Not included:** Basic Memory, media generation, image styles, or MCP. Install those separately.\n\n本包只注入技能。不写文件、不拉起 MCP、不注册工具。\n\nInstruction documents only. No file writes, MCP, or agent tools.\n\n## 含什么 / Included\n\n- 工程：`ask-matt`、`setup-matt-pocock-skills`、`grill-with-docs`、`to-spec`、`to-tickets`、`implement`、`tdd`、`code-review` 等\n- 生产力：`grill-me`、`handoff`、`writing-for-agents` 等\n- 门闸：`skills/pi-matt-workflow.md`\n\n每个上游 `SKILL.md` 已改成唯一文件名，避免 PI-Desktop 把技能折成一个。\n\nEach upstream `SKILL.md` is renamed to a unique filename so PI-Desktop does not collapse them.\n\n上游来源：`mattpocock/skills` commit `959a8e9f1edc3adbe2f7e3054bb6fbefa6696260`（MIT，见 `THIRD_PARTY_LICENSE_MATT.txt`）。\n\n## 权限 / Permissions\n\n| 权限 | 用途 |\n|---|---|\n| `agent.prompt.inject` | 注入 Matt 技能说明 |\n\n## 安装 / Install\n\n插件页安装 `.piplug`。范围由你在插件页选择（本机可锁到指定项目）。\n\nInstall the `.piplug` from the Plugins page. Scope is whatever you set there.\n",
      "safetyNotes": "只注入技能说明。不写文件、不拉起 MCP、不注册工具。上游技能来自 mattpocock/skills（MIT）。",
      "versions": [
        {
          "version": "1.1.1",
          "publishedAt": "2026-09-19T06:12:54Z",
          "changelog": "1.1.1：入口技能 name 改为 kebab（pi-matt-workflow）。1.1.0：补上中英双语市场说明。1.0.2：26 个唯一技能入口，无 SKILL.md。",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "93b60c9ef568d8f509187bb2c16f960b94111af91e2da83b9597788b1520dfda",
          "url": "packages/local.pi-matt-workflow-1.1.1.piplug",
          "sizeBytes": 234620,
          "permissions": [
            "agent.prompt.inject"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.techd81.stop-that-shit",
      "name": "Stop That Shit",
      "description": "Task-boundary Guard and Skill for PI-Desktop: explicit read-only or change contracts, checked before every tool call, with a local audit panel.",
      "author": "Techd81 (PI-Desktop port) / lennney (upstream)",
      "i18n": {
        "en": {
          "name": "Stop That Shit",
          "description": "Task-boundary Guard and Skill for PI-Desktop: explicit read-only or change contracts, checked before every tool call, with a local audit panel.",
          "safetyNotes": "Declares agent.extension to check tool calls before they run and to block the ones the active task contract forbids; a block is a denial returned to the agent, and the host's final effect is not observed. Contract and audit records are metadata only (no code, no conversation text) and are written with Node's filesystem API inside this plugin's own data directory (~/.pi-desktop/plugins/data/io.github.techd81.stop-that-shit); nothing else is read or written. Declares agent.prompt.inject only so the two bundled Skills are indexed by the host. The panel reads the same data directory and calls no host write API. No network access, no telemetry, no clipboard, no shell commands."
        },
        "zh-CN": {
          "name": "别再造史了",
          "description": "面向 PI-Desktop 的任务边界护栏与技能：显式的只读／改动契约，在每次工具调用前检查，并自带本地审计面板。",
          "safetyNotes": "声明 agent.extension 以便在工具执行前检查，并按当前任务契约拦截；拦截是回给 Agent 的拒绝，宿主最终是否执行并未被观测。契约与审计记录只含元数据（不含代码、不含对话文本），用 Node 文件接口写入本插件自己的数据目录（~/.pi-desktop/plugins/data/io.github.techd81.stop-that-shit），不读写别处。声明 agent.prompt.inject 仅用于让宿主索引随包的两个 Skill。面板只读取同一数据目录，不调用任何宿主写入接口。无网络访问、无遥测、不读写剪贴板、不调用 shell。"
        }
      },
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 72,
      "homepage": "https://github.com/Techd81/pi-desktop-stop-that-shit",
      "readmeMarkdown": "# Stop That Shit — 别再造史了\n\nA task-boundary guard for PI-Desktop: every tool call is checked against an explicit\ncontract you declared in the first line of the turn, and the calls the contract forbids\nare refused before they run. Everything the Guard decides is written to a local,\nmetadata-only audit record that the bundled panel reads back.\n\nThis repository is the PI-Desktop build of [lennney/stop-that-shit](https://github.com/lennney/stop-that-shit):\nthe same Skill, the same Guard decisions, and the same audit record, wired to the\nPI-Desktop extension surface instead of the Pi CLI hooks.\n\n## What it refuses\n\n| Action | Default once the Guard is armed |\n| --- | --- |\n| Write during `review`, `answer`, or `monitor` | Blocked |\n| Write outside `files=` | Blocked |\n| Add a dependency | Approval; `deps=allow` permits it |\n| Recognized hash operation | Blocked; `hash=allow` permits it |\n| Subagent launch beyond `agents=N` | Blocked |\n| Any tool whose target path cannot be proven | Approval |\n\nA block is a denial handed back to the agent: PI-Desktop decides whether the tool\nactually stopped, so the record keeps `hostEffect: unobserved`. Nothing is blocked\nuntil a directive arms the Guard — a fresh session starts `unobserved / unconfirmed`.\n\n## Quick start\n\nInstall the plugin from the plugin center, enable it, and start a new chat (an agent\nextension loads at the session's next turn boundary). Then install the slash templates:\n\n```powershell\nnpm run prompts:desktop     # from the plugin's own directory\n```\n\nSend a directive as the **first line** of the turn:\n\n```text\n/stop-that-shit review -- Review this diff. Report findings; do not edit.\n/stop-that-shit change -- Fix the failing config test.\n/stop-that-shit lock change files=src/config.cjs|test/config.test.cjs -- Fix this behavior.\n/stop-that-shit change deps=allow -- Add the requested parser dependency.\n/stop-that-shit watch -- Observe only.\n```\n\nFields: `answer | review | monitor | change | open`, `watch | guard | lock | off`,\n`agents=N`, `hash=deny|ask|allow`, `files=a|b|**`, `deps=deny|ask|allow`. The head is\nalso read in its raw forms: `/stop-that-shit …`, `/sts …`, `$sts …`, `/skill:sts …`,\nwith `:` as the separator (`/sts:status`). A directive that does not start the first\nline is reported as `DIRECTIVE_NOT_ARMED` instead of being silently ignored.\n\n## Queries\n\n```text\n/sts                 same as /sts status\n/sts status          contract, authority source, delegation capacity\n/sts runtime [all]   checked actions, Guard responses, label counts\n/sts explain evt_…   one recorded decision, with its reason code\n/sts label evt_… correct|incorrect|inconclusive\n/sts doctor          data directory, damaged records, stale locks, panel/extension agreement\n```\n\n## Panel\n\n`别再造史了` sits in the `+ 新建` menu beside 浏览器 / 文件管理器 / PI Canvas, and the\nsame page also opens as a standalone window from the command palette. It shows the\nactive contract, per-session contracts, the audit event list, one decision's detail,\nlabel buttons, and the doctor report. The `EN` / `中` button switches the interface\nlanguage and remembers the choice; reason codes, tool names, and policy values stay in\ntheir recorded form.\n\nData lives in `%USERPROFILE%\\.pi-desktop\\plugins\\data\\io.github.techd81.stop-that-shit`:\n\n```text\nsessions\\\u003csession\u003e.json     contract + delegation ledger (no code, no prompts)\nruntime\\\u003csession\u003e.jsonl     metadata-only decision events\nruntime\\annotations.jsonl   human labels\nruntime\\extension.json      which host API the agent extension registered with\n```\n\nRecords keep tool names, mutability, reason codes, and counts. They never keep file\ncontents, prompts, or conversation text. No network access, no telemetry.\n\n## Development\n\n```powershell\nnpm test                 # check:desktop + every test/*.test.cjs\nnpm run check:desktop    # manifest and declared files\nnpm run eval:desktop     # 24 upstream Bad/Good cases through this adapter\nnpm run pack:desktop     # dist/io.github.techd81.stop-that-shit-\u003cversion\u003e.piplug\n```\n\n[PI-DESKTOP.md](PI-DESKTOP.md) documents the host mapping, the panel, and the known\nlimits (links and junctions compared by name, shell write targets never proven, a\ndetached `Task` keeping its reservation for the session).\n\n## 中文说明\n\n插件装好后启用，**另起一个新会话**（agent extension 在下一个回合边界加载），再装斜杠模板：\n\n```powershell\nnpm run prompts:desktop\n```\n\n在**第一行**写契约，剩下的才交给 Agent：\n\n```text\n/stop-that-shit review -- 只审这次改动，报问题，别动手改。\n/stop-that-shit change -- 修好这个失败的配置测试。\n/stop-that-shit lock change files=src/config.cjs|test/config.test.cjs -- 只准改这两个文件。\n```\n\n没写契约就不拦任何东西（`unobserved / unconfirmed`）。拦下来的是\"回给 Agent 的拒绝\"，\n宿主最终是否真的没执行并不被观测，所以记录里写 `hostEffect: unobserved`。\n\n面板在 `+ 新建` 菜单里叫「别再造史了」，右上角 `EN` / `中` 切换界面语言；审计记录只存\n工具名、可变性、原因码和计数，不存代码、不存对话、不联网。\n\n## License\n\nMIT. Upstream © lennney; PI-Desktop port © Techd81.\n",
      "safetyNotes": "Checks supported agent tool calls against an explicit task contract and writes metadata-only state under its own plugin data directory. No network access, no telemetry, no shell.",
      "versions": [
        {
          "version": "0.2.7",
          "publishedAt": "2026-11-16T10:03:51Z",
          "changelog": "- Slash commands work right after installation, and stay current: on load the plugin\n  writes the `/stop-that-shit` and `/sts` composer templates into `~/.pi/agent/prompts`\n  and replaces either one when the shipped text changed, so an upgrade reaches users who\n  never run the installer. The displaced text is kept once as a `.md.bak` copy.\n- `npm run prompts:desktop` performs the same write from a checkout.",
          "minPiDesktop": "\u003e=0.22.0",
          "shasum": "7670b7f552467eb6695eff1b6df8a058930f5d2e0556f8a4f0928cf33d72a901",
          "url": "packages/io.github.techd81.stop-that-shit-0.2.7.piplug",
          "sizeBytes": 325095,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-stop-that-shit",
            "sourceRef": "v0.2.7",
            "sourceCommit": "a899f703236030e9561b34a687a6d1256b136a08",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-16T10:01:28Z"
          }
        },
        {
          "version": "0.2.6",
          "publishedAt": "2026-11-16T06:33:14Z",
          "changelog": "First release on the plugin center.\n\n- `别再造史了` joins the `+ 新建` menu as a sidebar view; the command opens the view\n  first and falls back to the standalone panel window when the host cannot reveal it.\n- The panel toolbar carries an `EN` / `中` switch. The choice is remembered locally and\n  overrides the host locale until you switch back; reason codes, tool names, and policy\n  values keep their recorded form.\n- The session table scrolls horizontally instead of clipping its last columns.\n- Doctor rows explain themselves in the selected language, including the record counts,\n  damaged-file count, stale locks, and registration time.\n- Plugin id is `io.github.techd81.stop-that-shit`, so the data directory becomes\n  `%USERPROFILE%\\.pi-desktop\\plugins\\data\\io.github.techd81.stop-that-shit`. A previous\n  `local.stop-that-shit` data directory is not migrated automatically; copy it over to\n  keep the existing audit history.\n- Host audit records now report the real host family instead of `other`, and a read-only\n  contract is no longer bypassed by `npm i`, `pnpm add`, `yarn add`, `bun add`, or\n  `uv add`.\n- A mistyped `/sts explain evt_…` no longer persists a directive error that used to\n  refuse every later `Task` call in the session.\n- The panel and `/sts doctor` survive a damaged or non-directory data path instead of\n  failing to render.",
          "minPiDesktop": "\u003e=0.22.0",
          "shasum": "15d1b8b754f023629bf87c9d2e2b13023775200cd2dc5baf962336977593be87",
          "url": "packages/io.github.techd81.stop-that-shit-0.2.6.piplug",
          "sizeBytes": 323846,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.hawchou1995.pi-desktop-blender-bridge",
      "name": "PI Blender Bridge",
      "description": "Drive Blender from PI-Desktop over a loopback Gateway: six agent tools (blender_session / blender_op / blender_py / blender_see / blender_run / blender_inspect), protocol 12 addon handshake, GUI capture, bounded headless jobs, lease/scope/txn. Host adaptation of dsh-blender-plugin 3.1.0-alpha.1 (pinned commit 6c56147); the 34-family/228-op catalog and the Python kernel are the upstream runtime, not a reimplementation.",
      "author": "hawchou1995",
      "i18n": {
        "en": {
          "name": "PI Blender Bridge",
          "description": "Six agent tools that drive Blender through a loopback Gateway (session / op / py / see / run / inspect), with headless render jobs and viewport capture.",
          "safetyNotes": "Local code execution inside Blender (blender_py, blender_run headless) authorised by the tool caller · Loopback-only Gateway with a per-run HTTP token · Addon pairing code required for the /addon upgrade · No telemetry, no runtime downloads, no elevation · Needs Node 22 or newer and Blender 4.2 or newer."
        },
        "zh-CN": {
          "name": "PI Blender 桥接",
          "description": "通过本机 loopback Gateway 驱动 Blender 的六个 agent 工具（session / op / py / see / run / inspect），含无头渲染作业与视口抓帧。",
          "safetyNotes": "Blender 内的本地代码执行（blender_py、blender_run headless）由工具调用方授权 · Gateway 只监听 loopback，每次加载生成一次性 HTTP token · /addon 升级需要配对码 · 无遥测、无运行时下载、无提权 · 需要 Node 22 或更高与 Blender 4.2 或更高。"
        }
      },
      "categories": [
        "developer-tools",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 8,
      "homepage": "https://github.com/hawchou1995/pi-desktop-blender-bridge",
      "readmeMarkdown": "# PI Blender Bridge（候选，未发布）\n\nPI-Desktop 侧的 Blender 桥接：把 [dsh-blender-plugin](https://github.com/sixtysevenlf/dsh-blender-plugin)\n3.1.0-alpha.1 的**运行时、协议、算子与 skill**原样搬过来，只替换最薄的一层宿主适配。\n\n- 上游固定提交：`6c5614712972a5cbca52b13d4df9193d76e76b0d`（main，2026-11-11，3.1.0-alpha.1）\n- 插件 id：`io.github.hawchou1995.pi-desktop-blender-bridge`，版本 `3.1.5`\n- 宿主：PI-Desktop 0.23.0（`engines.piDesktop \u003e= 0.23.0`）\n- 本仓库**不 push、不发版、不装进用户日常配置**；产物仅在本地 `dist/`\n\n## 1. 它是什么 / 不是什么\n\n**复用（未改写）**\n\n| 部分 | 位置 | 许可 |\n|---|---|---|\n| Gateway（29 条 HTTP 路由 + `/addon` WebSocket + 会话注册 + lease/scope/txn + 有界作业队列 + headless 执行器） | `vendor/source/runtime/**` → `vendor/dsh-runtime/lib/runtime/**`（tsc 构建） | BSD-3-Clause |\n| 34 family / 228 op 的算子目录与 Python 实现（`runtime/py/**`，含 surface_*、asm_*、img_*、gate_* 等） | `vendor/dsh-runtime/runtime/py/**` | BSD-3-Clause |\n| Blender addon（protocol 12，25 条注册命令 / 26 wire） | `vendor/source/extension/**` → `addon/dsh_blender_bridge-2.0.0.zip`（Blender 5.3 官方扩展构建） | GPL-3.0-or-later |\n| 建模 skill `blender-modeling` | `skills/blender-modeling/SKILL.md`（随包注册给 Skill 工具） | MIT |\n\n**新写（薄适配，全部是本项目文件）**\n\n- `manifest.json` / `main.js`：PI 插件清单与 `onLoad`/`onUnload` 生命周期。\n- `bridge/gateway-entry.mjs`：启动上游 Gateway，只加三件事——每轮一次性 token、`/addon` 只接受 loopback 且拒绝浏览器 Origin、结构化就绪/失败输出。\n- `bridge/proc.cjs`：Gateway 子进程托管（PI 无「任意进程」API，插件自己的 Node 进程负责拉起与停止；不下载、不提权）。\n- `bridge/client.cjs`：loopback HTTP 客户端（保留上游 `x-dsh-*` caller 头与 lease `holder`，附 token）。\n- `bridge/tools.cjs`：六个工具在 PI 的 `pi.agent.registerTool` 上的注册与参数映射（路由、动作、参数契约照上游）。\n- `panel/index.html`：状态/诊断面板（Gateway 状态、doctor、启停、日志尾部、addon zip 路径）。\n- `scripts/*`、`tests/*`：构建、哈希锁定、验证。\n\n**没有重写**：228 个算子、Python 内核、作业队列、addon 协议、addon 源码。\n\n## 2. 依赖（明示，无运行时下载）\n\n| 依赖 | 要求 | 说明 |\n|---|---|---|\n| PI-Desktop | 0.23.0（`\u003e=0.23.0`） | 插件宿主 |\n| Node | **\u003e= 24.9**（最低可跑 22） | Gateway 是 Node 进程。优先用 PI-Desktop 自带的 Node（`ELECTRON_RUN_AS_NODE`），其次是 PATH 上的 `node`，也可在设置里指定 `nodePath`。上游 `engines` 写的是 `\u003e=24.9.0` |\n| Blender | 4.2+；本机实测 **5.3.0**（Steam 版） | addon `blender_version_min = \"4.2.0\"`。上游 README 只验证到 4.2 LTS，5.x 上游未验证——本项目在 5.3 实测了扩展安装、构建与 headless 渲染 |\n| 网络 | 不需要 | 没有任何运行时下载；构建需要 npm 拉 typescript/@types/node（仅 devDependency） |\n\n与既有 `blender-mcp` 的关系：**互不影响**。端口用 39877（Gateway，loopback），`blender-mcp` 用 9876；插件 id 不同；本插件不停止、不禁用、不改动任何既有 addon 或进程。\n\n## 3. 安装（本地候选）\n\n1. 构建（见第 6 节），得到 `dist/io.github.hawchou1995.pi-desktop-blender-bridge-3.1.5.piplug`。\n2. PI-Desktop → Plugins → 手动安装该 `.piplug`（或「Load development plugin」指向本目录）。\n3. 授权三项权限：`agent.tool.register`、`agent.prompt.inject`、`ui.panel`。\n4. **配对（只需一次）**：命令面板运行「Blender Bridge: 复制配对码」（或打开诊断面板复制）。这个码是 addon 连接 Gateway 的共享秘密。\n5. Blender 侧：Edit → Preferences → Extensions → 右上角下拉 `Install from Disk…` 选 `addon/dsh_blender_bridge-2.0.0.zip`（或命令「Blender Bridge: 复制 addon zip 路径」取路径）。启用扩展后，在偏好设置 → 扩展 → DSH Blender Bridge → **Gateway Pairing Code** 粘贴配对码（也可用环境变量 `DSHBB_GATEWAY_TOKEN` 给 Blender 进程），再在 3D 视图 N 面板点 **Connect**。配对码保存在 Blender 偏好里，重连沿用。\n6. 轮换配对码：「Blender Bridge: 轮换配对码」→ Gateway 重启并生成新码；Blender 侧改成新码后重连。\n7. 端口对齐：插件设置 `gatewayPort`（默认 39877）= Blender addon 偏好里的 Gateway Port（默认同为 39877）。改端口时两边都要改，或给 Blender 进程设 `DSHBB_GATEWAY_PORT`。\n8. 验证：命令「Blender Bridge: 状态」→ 面板 Doctor → `addon=ok` / `ready=true`。若被拒：确认 addon 的 Pairing Code 与面板一致，再看面板「日志尾部」。\n\n## 4. 六个工具（与上游同名同参）\n\n| 工具 | 走的上游路由 | 说明 |\n|---|---|---|\n| `blender_session` | `POST /lease`（list/attach/claim/grant/revoke/pause/…）、`GET /status`、`GET /doctor`、`POST /txn` | 会话、归属、写 scope、pause、事务快照 |\n | `blender_op` | `POST /plan`、`/loop`、`/opt`、`/preset` | 34 family / 228 op 主入口；只读 op（98 个，由构建期从 `runtime/catalog/data.ts` 生成）与 `action=help` 不需要会话；写算子（含 `args.dry_run=true`）、`loop(target=gui)`、`opt`、`preset` 都需要 ready 的 GUI 会话 |\n| `blender_py` | `POST /act`（+ 可选 `GET /frame.png`） | GUI 会话内 Python（持久内核 K），仅 GUI，无 headless 回退 |\n| `blender_see` | `GET /frame.png`、`POST /view` | viewport / camera / custom、单帧或序列，固定档位 |\n| `blender_run` | `POST /job`（`surface=queue`）、`POST /perf` | 唯一作业入口：render / headless，submit→status/wait/collect/cancel/list |\n| `blender_inspect` | `GET /commands`、`POST /cmd` | 只读命令目录与执行；写/下载/内部传输命令返回 `wrong_tool` |\n\n `op=catalog` 与 `doctor.kind` 都是上游真实值：本机验证 `families=34`、`opsCount=228`、`commandCatalogKeys=25`、`toolDetailKeys=6`。\n\n**会话契约（与 Gateway 真实行为一致）**：算子都在 Blender 进程里执行，所以只要不是宿主侧就能判定的只读 op，就必须有 ready 的 GUI 会话。`args.dry_run=true` 只让算子跳过落盘/写入，**不豁免会话**——Gateway 的 `/plan` 虽然对只读 op 不施加 leaseGate，但算子本身仍需已连接的 addon 才能跑；本适配层因此在 `/plan` 之前就显式返回 `session_required` 并给 attach/start 选项，与只读路径的报错风格一致。上游 `src/tools/op/execute.ts` 对所有 `loop(gui)`/`opt`/`preset` 一律加会话门，唯一例外是 `loop target=session`（持久无头 worker），故本适配层同样放行该分支。\n\n### 与 DSH 宿主面的差异（如实列出，不声称全量）\n\n| DSH 能力 | 本适配的等价面 | 状态 |\n|---|---|---|\n| TUI 选中 chip / 页脚状态 | PI 命令面板命令 + 诊断面板（状态、doctor、日志、启停） | 已提供，形态不同 |\n| `@` 提及 Blender 会话 | PI 插件无此等价面（composerTrigger 槽未接入） | **未提供** |\n| `/blender` 快捷命令 | PI 命令面板 4 条命令（status/open-panel/restart/addon-path） | 已提供，无 slash 语法 |\n| DSH 卡片渲染（`renderOne`/presenters） | 工具返回结构化 JSON + 一行摘要 + `text` 字段 | **未移植**卡片样式 |\n| DSH 工具错误信封（stage/root_cause/fix/evidence） | `{ok:false, code, text, fix, stage?, evidence?}` | 字段等价，未逐字对齐 |\n| 图像附件通道（`toAttachment`） | PNG 落盘到插件数据目录 `frames/`，返回绝对路径 + sha256 + 尺寸 | 形态不同（PI 插件工具不回传二进制图片内容） |\n| virtual-gui（Windows hidden-desktop） | 上游 helper 二进制不在本包内（上游 3.1 未随 npm 包发布该 exe），doctor 会报 `win-hidden-desktop-helper` 缺失 | **不可用**；user-gui（真实 Blender + Connect）可用 |\n| Linux xvfb / pkexec 一键安装 | 未接入（本机 Windows） | **未验证** |\n\n## 5. 安全边界\n\n- **只绑 loopback**：Gateway `host` 固定 `127.0.0.1`，绑定后再校验 `server.address()` 是 loopback，否则退出。\n- **每个生命周期一次性 token**：`bridge/gateway-entry.mjs` 在 HTTP 请求前置检查 `x-pi-bridge-token`（sha256 + `timingSafeEqual`），不匹配返回 `403 bridge_token_required`。上游没有任何 HTTP 鉴权，因此匿名本地进程原本可以直接打 `/act` 执行 Python；这一层把它挡掉。实测匿名请求 `403`。\n- **`/addon` 配对**：升级请求必须同时满足 loopback、无浏览器 `Origin`、并携带 `x-dsh-bridge-token` 配对码；缺失/错误一律 403（同一不透明响应，不给出哪个校验失败的预言机）。配对码由插件生成后存本插件数据目录（`pairing.json`，0600 尽力而为），只在面板/命令里显示，不写入设置、日志或工具返回；addon 侧保存在偏好（PASSWORD 字段）或用 `DSHBB_GATEWAY_TOKEN`。addon 的改动是唯一一处源 delta，见 `patches/addon-pairing-token.mjs` 与 `NOTICE`。\n- **Python 执行面**：`blender_py` 与 `blender_run(kind=headless)` 是设计上的本地代码执行面，调用者=能调工具的模型；没有新增远程执行面、没有匿名执行端点、没有提权、没有遥测。\n- **写入/暂停策略**：保留上游 lease（写通道占用 409）、写 scope grant/revoke、`human_action_required`（pause 只能人来点）、txn 快照/回滚。\n- **停止/卸载**：父进程通过子进程 stdin 发 `{\"op\":\"shutdown\"}`（不依赖 Windows 上不可靠的 SIGTERM 处理器）；子侧先关 HTTP（不再接新任务），再按作业自己的 owner 身份 cancel **它自己拥有的** headless/queue 作业（只杀这些作业拉起的进程树），bounded 等待 PID 消失后退出；父侧只在超时后 kill。\n- **不改用户环境**：不写全局配置、不装 addon、不停止/禁用既有进程与 addon；Gateway 子进程随插件卸载关闭。\n- 包内不含凭证、不含私密路径（日志/工作目录都在插件数据目录，运行时生成）、不含上游测试目录。\n\n## 6. 构建与验证（本机实测）\n\n```powershell\n# 1. 依赖（仅构建期）\nnpm ci\n\n# 2. 运行时：vendored TS → ESM（180 个 .js + 170 个 python/资源）+ 生成只读 op 清单（98）\nnode scripts/build-runtime.mjs\n\n# 3. addon：暂存上游源码 → 应用 patches/addon-pairing-token.mjs → Blender 官方扩展构建\nnode scripts/build-addon.mjs --blender \"\u003cBlender 安装目录\u003e\\blender.exe\"  # 或设 DSH_BLENDER_EXE\n#   产出 addon/*.zip、vendor/PATCHES.lock.json、patches/addon-pairing-token.diff\n\n# 4. 哈希锁定 / 复算\nnode scripts/verify-vendor.mjs --write   # 一次\nnode scripts/verify-vendor.mjs           # 之后每次复算\n\n# 5. 官方 devkit（从 PI-Desktop v0.23.0 源码构建的 pi-plugin CLI）\nnode \u003cdevkit\u003e/dist/cli.js check .\nnode \u003cdevkit\u003e/dist/cli.js pack . --out dist\n\n# 6. 验证\nnode tests/run-tests.mjs        # 33 项：Gateway/协议/工具/配对拒绝 + 真实 Blender 5.3 headless 作业\nnode tests/regressions.mjs      # 40 项：review #2-#8 定点回归（启动超时清理、停止取消作业、端口、会话契约/dry_run、日志流、abort、缓存、提示、端口）\nnode tests/gui-integration.mjs  # 11 项：隔离 Blender GUI + 真实 addon（带配对码）：doctor/inspect/py/see\npython3 \u003ci18n-gate.py\u003e          # 官方 i18n 预检（https://plugins.aiuo.net/skill.md 内嵌脚本）\n```\n\n结果（2026-11-27 本机）：\n\n- `tests/run-tests.mjs`：**33 / 33**（含 3 项 `/addon` 缺凭据/错凭据/带 Origin 的拒绝用例）；真实 `blender -b` 作业 submit→wait→collect，产物 PNG 5,671 B，日志里有 `BRIDGE_TEST_OK`。\n- `tests/regressions.mjs`：**40 / 40**（启动超时/端口冲突清理（含日志流已关闭）、180s 作业被 stop 取消且 PID 消失、队列置 `canceled`、端口释放、会话契约（`action=help` 无会话成功 / 只读 op `addon_unreachable` / 写算子含 `dry_run` 精确 `session_required`）、stop→restart 日志追加、abort 语义、frames 上限、提示命令、端口归一）。\n- `tests/gui-integration.mjs`：**11 / 11**（真实 addon 用配对码连上：doctor ok、inspect 25 命令、py stdout、viewport/camera PNG）。\n- addon zip：`bcc0a7962cce85927687a638b088ba4507ecae74874c5a7a26731debfb07168a`，116,367 B（与 3.1.1/3.1.2 同一份已审字节，本次未重建）。\n- `verify-vendor`：source 440 文件 / runtime 711 文件全哈希一致（上游基线未被 delta 覆盖）。\n- devkit `check`：0 error，1 warning（`permission.high-risk`：`agent.tool.register`、`agent.prompt.inject` 需安装时显式授权，属预期）。\n- 官方 i18n 预检：**0 fail / 6 review**（review 仅 `contributes.commands[].title` 为纯字符串——宿主 manifest schema 要求 string；面板已是 en/zh-CN 同键 copy table）。\n\n## 7. 目录\n\n```\nmanifest.json             PI 插件清单（三项权限、6 条命令、6 个 agentTools、skill、i18n 含 safetyNotes）\nmain.js                   onLoad/onUnload/onPanelInvoke + 工具注册 + 命令\nbridge/                   宿主适配（gateway-entry / proc / client / tools / port / generated）\npanel/index.html          诊断面板\nskills/blender-modeling/  上游 MIT 建模 skill（随包注册）\naddon/                    从源码 + 配对 delta 构建的 addon zip + SHA256SUMS\npatches/                  addon 源 delta（可重建模块 + 生成的 unified diff）\nvendor/source/            上游固定提交的 runtime / extension / skill 源码（完整对应源）\nvendor/dsh-runtime/       runtime 的 tsc 构建产物 + Python 实现\nvendor/UPSTREAM.lock.json 上游每文件 sha256\nvendor/PATCHES.lock.json  delta 的 before/after sha256\nscripts/                  构建、打包 addon、哈希锁定\ntests/                    协议/工具/实机验证\nLICENSE / NOTICE          许可与边界（BSD / GPL / MIT；NOTICE 含 GPL §5a 变更声明）\nVERIFICATION.md           验收记录（逐条修复/断言/哈希/限制）\n```\n\n## 8. 许可\n\n- 适配层与 vendored runtime：**BSD-3-Clause**（`LICENSE`，上游 `Copyright (c) 2026, sixtyseven67`）。\n- `vendor/source/extension/**` 与 `addon/*.zip`：**GPL-3.0-or-later**（完整文本 `vendor/source/extension/LICENSE`；上游 `NOTICE` 保留 ahujasid/blender-mcp 的 MIT 声明与代码来源）。\n- `skills/blender-modeling/**`：**MIT**（`skills/blender-modeling/LICENSE` + `NOTICE.md`）。\n\n详见 `NOTICE`。Blender 是 Blender Foundation 的商标；本项目为第三方适配，不代表 Blender Foundation 或 vastsa。\n",
      "safetyNotes": "Local code execution inside Blender (blender_py, blender_run headless) authorised by the tool caller · Loopback-only Gateway with a per-run HTTP token · Addon pairing code required for the /addon upgrade · No telemetry, no runtime downloads, no elevation · Needs Node 22 or newer and Blender 4.2 or newer.",
      "versions": [
        {
          "version": "3.1.5",
          "publishedAt": "2026-11-27T17:10:19Z",
          "changelog": "## 3.1.5 — first release on the PI Desktop Plugin Center\n\n- Packaging-gate fix only (market rule MAN015): `manifest.json` -\u003e `contributes.skills[0]` normalized from `./skills/blender-modeling/SKILL.md` to `skills/blender-modeling/SKILL.md`. The platform requires a normalized safe relative path; the declared path now matches the packaged member exactly.\n- No functional change: `skills/**` bytes, the addon source and `addon/dsh_blender_bridge-2.0.0.zip` (116,367 B, sha256 bcc0a796...b07168a, identical to 3.1.1/3.1.2/3.1.3/3.1.4), `bridge/**`, `vendor/**`, `panel/**`, `patches/**`, `scripts/**` and the `main.js` logic are untouched.\n- Version carrier 3.1.4 -\u003e 3.1.5 (`manifest.json`, `package.json`, `main.js`, README).\n- Built from tag `v3.1.5` (commit bd2b9df4). Gates: devkit `check` 0 error / 1 expected warn (permission.high-risk); official i18n gate 0 fail / 6 review (plain-string command titles only); official `pack_plugin` dry-run on this payload: `blockers: 0`, `readyToPublish: true`.",
          "minPiDesktop": "\u003e=0.23.0",
          "shasum": "12dc32db0922a3ac038d2edb93a813db2db8fa1c204edc11b8bf0815177d58d9",
          "url": "packages/io.github.hawchou1995.pi-desktop-blender-bridge-3.1.5.piplug",
          "sizeBytes": 9391780,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hawchou1995/pi-desktop-blender-bridge",
            "sourceRef": "v3.1.5",
            "sourceCommit": "bd2b9df4284879cb63b94eaffb10fe85410f04ee",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-27T17:07:37Z"
          }
        }
      ]
    },
    {
      "id": "io.github.liushunqiu.pi-idea-git",
      "name": "IDEA-GIT",
      "description": "方便推送代码到git仓库",
      "author": "",
      "i18n": {
        "en": {
          "name": "IDEA-GIT",
          "description": "A simple helper for pushing code to Git repositories."
        },
        "zh-CN": {
          "name": "IDEA-GIT",
          "description": "方便推送代码到git仓库"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 555,
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-14T02:49:12Z",
          "changelog": "生成按勾选范围并补齐 Git 操作\n- 生成提交信息改按已勾选/已暂存范围，多仓聚合一次描述，与提交一致\n- 日志提交者过滤支持指定人，名单按提交数排序加手输\n- 远端检出改为建本地跟踪分支，已存在则落到同名分支\n- 分支/标签/储藏右键与用户/日期/路径过滤补齐，文档同步更新",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "3c695b35af35d5517e795fb6d9cfbff7ab86a23bcecaa4bde2486600d105d568",
          "url": "packages/io.github.liushunqiu.pi-idea-git-0.3.0.piplug",
          "sizeBytes": 1056010,
          "permissions": [
            "agent.complete",
            "clipboard.write",
            "fs.read",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/liushunqiu/pi-idea-git",
            "sourceRef": "v0.3.0",
            "sourceCommit": "2b1ad099f302e713884aa90cb1d6f6fcbd46bd83",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-14T02:49:00Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-13T15:26:01Z",
          "changelog": "仿idea里面的git工具,初版,暂时能用",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "cec452d21f363e5c3a6c11b6b1e7a6a94f58844864e1cc0c34be7b6bf2ad4a68",
          "url": "packages/io.github.liushunqiu.pi-idea-git-0.2.0.piplug",
          "sizeBytes": 926724,
          "permissions": [
            "agent.complete",
            "clipboard.write",
            "fs.read",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.wenziji-hub.market-translator",
      "name": "Marketplace Chinese Translation",
      "description": "Chinese display for the skill and MCP marketplace: list cards and the pre-install detail sheet (title, description, full SKILL.md preview). Uses an optional Google Cloud Translation key (no model quota) or an already configured model; falls back to the model when Google fails. Originals, install commands and MCP settings stay untouched. Never reads your model base URL, API keys, chat history or project files.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "技能与 MCP 市场中文翻译",
          "description": "让技能市场与 MCP 市场显示中文：列表卡片和安装前详情页（标题、简介、整篇 SKILL.md 预览）都会翻译。可用可选的谷歌云翻译密钥（不消耗模型额度），也可以用已在 PI-Desktop 中配置的模型；谷歌失败会自动回退模型。原文、安装命令与 MCP 配置一律不改，也不读取你的模型地址、API 密钥、聊天记录或项目文件。"
        }
      },
      "categories": [
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 401,
      "versions": [
        {
          "version": "0.1.6",
          "publishedAt": "2026-10-18T12:04:33Z",
          "changelog": "0.1.6 首个公开版本。\n\n- 列表与详情页中文显示，译文原位替换、不保留英文对照\n- 可选的谷歌翻译引擎：自带密钥、不耗模型额度、失败自动回退模型\n- 模型缓存优先，谷歌缓存排最后；换模型可选重新翻译或沿用旧译文\n- 缓存上限可选 100–2000 条，附 80 万字符保护\n- 新增「清除本机密钥」",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "7a9ca5ab5300315ca01eaeae5e383cb56d190aead0c837285b13b3c6c6252b30",
          "url": "packages/io.github.wenziji-hub.market-translator-0.1.6.piplug",
          "sizeBytes": 46035,
          "permissions": [
            "agent.complete",
            "models.list",
            "net.fetch",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/wenziji-hub/pi-market-translator",
            "sourceRef": "v0.1.6",
            "sourceCommit": "d921308618caae60c1e97eb7c0da29a419e879ea",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T12:04:06Z"
          }
        }
      ]
    },
    {
      "id": "cn.star.grok-enhance",
      "name": "Grok Enhance",
      "description": "给 Grok 加执行纪律，并在每轮第一请求直接激活 Grep / Glob（以及已装的 memory / skill_manage）。",
      "author": "TheFalreStar",
      "i18n": {
        "en": {
          "name": "Grok Enhance",
          "description": "Adds execution discipline to Grok and activates Grep/Glob, plus installed memory and skill_manage tools, on the first request of each turn."
        },
        "zh-CN": {
          "name": "Grok 增强",
          "description": "给 Grok 加执行纪律，并在每轮第一请求直接激活 Grep / Glob（以及已装的 memory / skill_manage）。"
        }
      },
      "categories": [
        "agents-workflow",
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cn",
      "downloads": 421,
      "readmeMarkdown": "# Grok Enhance\n\nPI-Desktop 插件。给 Grok 加上执行纪律：该调用工具时必须当场调用，不要先空口计划。每轮第一请求就带上 Grep、Glob，以及已经装好的 `memory` / `skill_manage`，不必先 ToolSearch。\n\n同一条命令失败、或只读工具反复返回同一结果，到次数后会拦住，避免原地打转。\n\n## 安装\n\n导入后彻底退出 PI 再开。\n\n## 它做什么\n\n- 默认只对 Grok 注入纪律。设置里可以改成对所有模型生效，或关掉纪律只留工具预激活。\n- 默认预激活：`Grep,Glob,memory,skill_manage`。名单可在设置里改。没装对应插件的名字会被跳过。\n- 相同 Bash/Grep/Read 失败 3 次，或只读结果完全一样 3 次，下一轮会被挡住。`memory` 不计入。次数可改。\n\n## 设置\n\n| 项 | 默认 |\n| --- | --- |\n| Enable Grok Enhance | 开 |\n| Inject execution discipline | 开 |\n| Inject discipline for every model | 关 |\n| Pre-activate Grep/Glob and peer tools | 开 |\n| Tools to pre-activate | `Grep,Glob,memory,skill_manage` |\n| Block identical failing / no-progress tool loops | 开 |\n| Block after N identical failures | 3 |\n| Block after N identical read-only results | 3 |\n\n关掉总开关后，本轮不再注入、不再预激活、也不再拦循环。\n",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-22T19:01:25Z",
          "changelog": "- 强化执行提示与写入验证要求。\n- 检测并拦截重复失败、重复读取和工具循环。\n- 切换模型或新请求时重置状态，豁免等待类工具。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "b408ca0c2bfdeeb60013a46cf6d8ca9f0d82e2186aca3ff731e1328cbf772b38",
          "url": "packages/cn.star.grok-enhance-0.2.0.piplug",
          "sizeBytes": 76825,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-22T18:55:08Z"
          }
        },
        {
          "version": "0.1.2",
          "publishedAt": "2026-09-17T08:14:51Z",
          "changelog": "- 修复已知问题。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "47016ca230e74792258c80ed69a233a1c7eec0c0130f0020460a605065fa8202",
          "url": "packages/cn.star.grok-enhance-0.1.2.piplug",
          "sizeBytes": 24771,
          "permissions": [
            "agent.extension",
            "notify"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-17T08:12:31Z"
          }
        }
      ]
    },
    {
      "id": "io.github.muzimu217.usage-dashboard",
      "name": "Usage Dashboard",
      "description": "A native PI-Desktop usage dashboard built on the official read-only usage contract (pi.usage.listTurns): 365-day activity heatmap, model-share donut, daily trend lines, top sessions and streaks, in a light and dark panel.",
      "author": "muzimu217",
      "i18n": {
        "en": {
          "name": "Usage Dashboard",
          "description": "A native PI-Desktop usage dashboard built on the official read-only usage contract (pi.usage.listTurns): 365-day activity heatmap, model-share donut, daily trend lines, top sessions and streaks, in a light and dark panel.",
          "safetyNotes": "Read-only aggregation over the host's official usage interface (pi.usage.listTurns). Counts tokens per turn only — never reads message text, tool arguments, project paths or credentials; keeps at most an 8-character session id prefix; writes nothing outside its own plugin settings; makes no network requests. Covers PI-Desktop's native usage only and reads no other tool's files."
        },
        "zh-CN": {
          "name": "原生用量看板",
          "description": "基于 PI-Desktop 官方只读用量接口（pi.usage.listTurns）构建的原生用量看板：365 天活动热力图、模型占比环形图、每日趋势折线、Top 会话与连续使用天数，深浅两套主题。",
          "safetyNotes": "只读聚合宿主官方用量接口（pi.usage.listTurns）返回的计数：不读取消息正文、工具参数、项目路径或凭据，最多保留 8 位 session id 前缀，除自身插件设置外不写任何位置，不发起网络请求。仅覆盖 PI-Desktop 原生用量，不读取其他工具的任何文件。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 1317,
      "readmeMarkdown": "# Usage Dashboard（原生用量看板）\n\nA native PI-Desktop usage dashboard. It is the first consumer of the host's\nofficial read-only usage contract `pi.usage.listTurns` (PI-Desktop host\nPR #503) and renders that fact stream as a local board: metric cards, a\n365-day activity heatmap, a model-share donut, per-model daily trend lines,\ntop sessions and activity streaks — in a light and a dark palette.\n\n原生用量看板：PI-Desktop 官方只读用量接口 `pi.usage.listTurns`（宿主 PR #503）\n的首个消费者。把官方事实面渲染成本地看板：指标卡、365 天活动热力图、模型占比\n环形图、分模型每日趋势线、Top 会话与连续使用天数，深浅两套主题。\n\n## Scope and differentiation / 定位与差异化\n\n- **Official contract only.** All data comes from `pi.usage.listTurns`. The\n  plugin never reads transcript files, the host database, or any other AI\n  tool's local data. It covers PI-Desktop's native usage only.\n  只用正式契约：数据全部来自 `pi.usage.listTurns`，不直读转录本、宿主数据库或\n  其他工具的本地文件；仅覆盖 PI-Desktop 原生用量。\n- Differs from `pi.token-insights`, which aggregates multiple tools and reads\n  host records directly: this plugin is a thin, permission-minimal renderer of\n  the official fact interface.\n  与 pi.token-insights（多工具聚合、直读宿主库）差异化：本插件是正式事实接口\n  之上的薄渲染层，权限最小化。\n\n## Data channel / 数据通道\n\nThe panel bridge is read-only, so the plugin process does all host access\n(the pattern `pi.token-insights` established):\n\n1. `onLoad` (and the `usageDashboard.open` command) walks the full history:\n   windows of 365 days walked backwards from now (`toMs = previous fromMs − 1`),\n   each window paged by cursor until `nextCursor = null`; the first fully empty\n   window ends the walk; a `turnId` set dedupes across window seams.\n2. The deduped turns go through the pure aggregator `lib/aggregate.js`\n   (`aggregateCube(turns, nowMs)`, clock injected for testability).\n3. The cube is published via `pi.plugin.setSettings({ usageCube, scanState })`;\n   the panel polls plugin settings and renders. Range switching (7/30/90/365\n   days) is a renderer-side filter over the cube's daily rows — no second walk.\n\n## Accounting / 聚合口径（v3.1）\n\n- **Headline tokens = `inputTokens + outputTokens`.** Cache read, cache write\n  and reasoning tokens appear only in a diagnostics line and never enter the\n  headline. headline 仅计输入 + 输出；缓存读/写与推理 token 只进诊断行。\n- Cards: total tokens, turn count, session count (deduped `sessionId`),\n  peak day (max daily headline + its date), current/longest streak.\n- Daily keys are **local-calendar days** built from `endedAt`, so the heatmap\n  is not shifted by timezone conversion.\n- Streaks (v1, simple): a day is active when its headline \u003e 0; the current\n  streak anchors on today and falls back to yesterday; any one-day gap breaks\n  a run. 口径最简实现，见 `lib/aggregate.js` 注释。\n- The panel recomputes everything that *can* be derived from daily rows for\n  the selected range (totals, turns, peak, model shares, trend). Session count,\n  the diagnostics line and the Top-sessions list are all-history figures and\n  labelled as such — a session spans days, so it cannot be counted from daily\n  rows without lying.\n\n## Privacy / 隐私\n\nRead-only aggregation over the official interface. Counts only — never message\ntext, tool arguments, project paths or credentials. At most an 8-character\nsession id prefix is kept. Nothing is written outside this plugin's own\nsettings, and no network request is made. Every number stays on this device.\n\n只读聚合、仅计数：不读取消息正文/工具参数/项目路径/凭据，最多保留 8 位\nsession id 前缀；除自身插件设置外不写任何位置，不发起网络请求。\n\n## Permissions / 权限\n\n- `ui.panel` — the dashboard panel\n- `usage.read` — read aggregate token usage through the host's official interface\n\n## Panel\n\n- 7/30/90/365-day range switch (renderer-side filtering), language follows the\n  system with an EN/中文 override, theme follows `prefers-color-scheme` with a\n  light/dark override (both persisted locally).\n- Charts are hand-rolled SVG: week-column heatmap with month axis and legend,\n  donut with center total and a two-column legend, daily trend with per-model\n  toggleable lines.\n- Accessibility: `sr-only` data tables twin the heatmap and the trend chart,\n  the donut carries an aria-label summarizing the shares, and all controls are\n  focusable buttons.\n\n## Host requirement / 宿主要求\n\n`pi.usage.listTurns` is provided by PI-Desktop (host PR #503). On builds\nwithout it the panel shows an explicit \"host interface not available\" state\ninstead of an empty board. 面板对未提供该接口的旧版本宿主显示明确提示，\n而不是伪装成“没有用量”。\n\n## Development\n\n```bash\nnode --check plugins/io.github.muzimu217.usage-dashboard/main.js\nnode --check plugins/io.github.muzimu217.usage-dashboard/lib/aggregate.js\nnode --test tests/usage-dashboard.test.mjs\n```\n",
      "safetyNotes": "Read-only aggregation over the host's official usage interface (pi.usage.listTurns). Counts tokens per turn only — never reads message text, tool arguments, project paths or credentials; keeps at most an 8-character session id prefix; writes nothing outside its own plugin settings; makes no network requests. Covers PI-Desktop's native usage only and reads no other tool's files.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-20T18:45:22Z",
          "changelog": "Release 0.1.0: first release. Aggregates the full PI-Desktop usage history through the official pi.usage.listTurns contract (365-day windows walked backwards, cursor pagination, turnId dedupe) into a local dashboard: metric cards, 365-day heatmap, model donut, per-model trend lines, top sessions and streaks. Headline tokens are input + output; cache and reasoning tokens stay in a diagnostics line. 0.1.0：首个版本。通过官方 pi.usage.listTurns 接口（按 365 天窗口回走 + 游标翻页 + turnId 去重）聚合全部原生用量历史，呈现指标卡、热力图、模型环形图、分模型趋势线、Top 会话与连续天数；headline 仅计输入+输出，缓存与推理 token 单列诊断行。",
          "minPiDesktop": "\u003e=0.14.3",
          "shasum": "aad5625ba6225ed05ae1fdc8f279682b67d45287f81089b2952e7f69b16c99b4",
          "url": "packages/io.github.muzimu217.usage-dashboard-0.1.0.piplug",
          "sizeBytes": 89309,
          "permissions": [
            "ui.panel",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "5f1370a7880cce5a84f9221d08bad1b9763484a6",
            "sourceCommit": "5f1370a7880cce5a84f9221d08bad1b9763484a6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-20T16:14:15Z"
          }
        }
      ]
    },
    {
      "id": "pi.prompt-switcher",
      "name": "Prompt Switcher",
      "description": "Manage local directory `.md` prompts: input or quickly select and apply them in the initial turn of a conversation (similar to `agents.md`), automatically ignoring existing chat history.",
      "author": "yapool",
      "i18n": {
        "en": {
          "name": "Prompt Switcher",
          "description": "Manage local directory `.md` prompts: input or quickly select and apply them in the initial turn of a conversation (similar to `agents.md`), automatically ignoring existing chat history."
        },
        "zh-CN": {
          "name": "提示词切换器",
          "description": "管理本地目录 .md 提示词，在对话首轮输入 / 快速选择并应用（类似 agents.md），历史对话自动无视。"
        }
      },
      "categories": [
        "memory-knowledge",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 331,
      "versions": [
        {
          "version": "1.0.1",
          "publishedAt": "2026-09-23T03:25:32Z",
          "changelog": "初始发布 v1.0.1：专为 PI-Desktop 打造的本地 .md 提示词快速切换器。支持本地文件夹扫描、可视化启用/禁用面板、会话首轮「/」极速选择并挂载系统提示词，历史对话自动守卫避免上下文污染",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "38d014f93e40baaf51d516b2fe32c47be97595d20a6952bea91af9cd1cc82b7e",
          "url": "packages/pi.prompt-switcher-1.0.1.piplug",
          "sizeBytes": 56707,
          "permissions": [
            "fs.read",
            "ui.panel"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mikulo/pi-prompt-switcher",
            "sourceRef": "v1.0.1",
            "sourceCommit": "5781556c9142a8a6fb68f654893cfb7d5bbf9ea1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T03:25:19Z"
          }
        }
      ]
    },
    {
      "id": "pi.theme.studio",
      "name": "Theme Studio",
      "description": "PI-Desktop theme studio: 5 built-in palettes, visual editing of all 56 --ds-* tokens and 7 background regions (window, sidebar, chat, dock, titlebar, thread, composer) with fills, gradients, local PNG images, blur and radius. The preview is a faithful replica of the real window, contrast is checked live (WCAG 2.1), and image backgrounds are referenced by absolute path so saving never reloads the plugin. Also ships four Agent tools, so a theme can be created from a sentence.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Theme Studio",
          "description": "PI-Desktop theme studio: 5 built-in palettes, visual editing of all 56 --ds-* tokens and 7 background regions (window, sidebar, chat, dock, titlebar, thread, composer) with fills, gradients, local PNG images, blur and radius. The preview is a faithful replica of the real window, contrast is checked live (WCAG 2.1), and image backgrounds are referenced by absolute path so saving never reloads the plugin. Also ships four Agent tools, so a theme can be created from a sentence."
        },
        "zh-CN": {
          "name": "主题工坊",
          "description": "PI-Desktop 主题工坊：内置 5 套配色，可视化调出属于自己的主题并一键应用。覆盖全部 56 个 --ds-* token；点预览里的区域即可编辑那一块（整窗 / 左栏 / 中栏 / 右栏 / 标题栏 / 会话区 / 输入栏），各自可设底色、渐变、图片、模糊与圆角，带实时预览与 WCAG 对比度检查。图片拖进来即用，存在插件自己的数据目录里，主题 CSS 直接引用它的绝对路径，所以保存不会重载插件。另带 4 个 Agent 工具，可以用一句话让 Agent 直接建/改主题。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 2084,
      "versions": [
        {
          "version": "1.5.0",
          "publishedAt": "2026-09-28T09:50:54Z",
          "changelog": "## 1.5.0\n\n### 新增\n\n- **顶条成为可编辑区域**：区域从 7 个增加到 9 个，新增「左栏顶条」sidebar-top 与「右栏顶条」dock-top（底色 / 渐变 / 模糊 / 圆角，没有图片槽）。此前左右顶条不在任何可编辑区域内 —— 左栏贴图只在内容区生效、顶条裸奔；右栏内容透明时 55% 白的抬升条会把饱和底色漂成另一截。现在两处都能单独设。\n- **保存新增审计门槛**：主题落盘前先跑 auditDesign() —— 正文对比度 4.5:1 / 装饰 3:1、按钮配对（主按钮墨色、ghost 静置态、次级按钮与页面底可区分）、抬升条漂白（色度保留率低于 60%）；未通过会返回失败项，确认后可传 forceAudit 强行落盘。\n- **内置预设随插件升级刷新**：预设修订会刷进你已有的主题库。内置预设仍是只读，只有设计对不上的本地副本才会被修订；库里已有的其他主题不受影响。\n\n### 修复\n\n- 内置预设 qq-2008 顶条修正：bg-dock-raised 由 #ffffff8c 改为 #ffffff59（顶条洗色 56% 到通过），标题栏渐变改为上深下浅，底边不再比内容深一截。\n- npm run audit:presets 改为复用 auditDesign()，与保存门槛同一套标准，5 个内置预设全部通过。\n\n## 1.4.1\n\n- 修好内置预设的按钮可读性：qq-2008 的 accent 压深到 #1066ad（主按钮 5.3:1），文字四档提到可读 alpha，success / warning 压深，tile 家族改成宿主同款墨色混合（按钮底与页面底 1.16:1）；business-blue / china-red 的 tile-hover 换成 8% 墨色混合（次级按钮与页面底 1.1:1 以上）。\n- token 表 56 到 75：补上 send-disabled、settings-field、scrim、modal-veil、placeholder-ink、code/thinking/mermaid、focus、control-size、field-height 等宿主 token，host-tokens.css 预览快照同步补齐。\n- 新增 scripts/audit-presets.mjs（npm run audit:presets）：用主题模型自己的颜色数学把全部预设的配对审计跑一遍，body 4.5:1 / decorative 3:1 / 次级按钮与页面底 1.1:1，不达标退出码 1。\n\n**English** -- 1.5.0 turns the left and right top bars into editable regions (7 to 9 regions), adds a design audit gate before a theme is saved (contrast, button pairing, raised-bar wash-out) with an explicit force override, and refreshes the built-in presets into existing libraries on upgrade. 1.4.1 fixes built-in preset button readability and grows the host token table from 56 to 75.",
          "minPiDesktop": "\u003e=0.14.8",
          "shasum": "3d3bbd50ef59d52c0507b79d5a8b8e34bd11b0b4cca309d2a6e5ac17a0f7f1ce",
          "url": "packages/pi.theme.studio-1.5.0.piplug",
          "sizeBytes": 1075663,
          "permissions": [
            "agent.tool.register",
            "fs.read",
            "ui.panel",
            "ui.theme",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-theme-studio",
            "sourceRef": "v1.5.0",
            "sourceCommit": "0757d5d7e0f20315307170a4ea06e081763452d5",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T09:50:35Z"
          }
        },
        {
          "version": "1.4.0",
          "publishedAt": "2026-09-17T17:07:43Z",
          "changelog": "Release 1.4.0：内置预设重排为 5 套 —— 保留 QQ 2008，新增 Contrast（高对比暗色）/ Mint Dark（薄荷暗色）/ Business Blue（商务蓝浅色）/ China Red（中国红浅色），去掉 Aurora / Ember / Nocturne / Paper / Sand / 奶龙 / QQ 2009，随包贴图也只剩 QQ 2008 那张 8×8 平铺。只是不再预置：你库里已经有的那些主题和图片一个都不动，不写迁移、不删用户数据。内置预设从此只读 —— 它是挑配色时的参照物，改它等于改参照物。选中预设时预览照常点选区域、面板照常打开，但「区域 / 颜色 / 图片」三块正文盖一层蒙版，写明「内置主题不可修改 · 改动需在左侧复制主题后再进行」，并给一颗「复制这个主题」按钮一键复制；顶栏主题名不可编辑；store 里的 mutate / rename 也拦住了内置主题，快捷键和残留控件同样绕不过去；选中时状态栏改成「正在预览… · 只读」。对比度检查面板不加蒙版 —— 它不改任何东西，留着能对照看预设的检查结果。主题库左栏不再用 hover 才出现的复制 / 删除图标按钮（容易误点，还抢焦点），改为右键菜单：应用 / 复制 / 重命名 / 删除；内置预设的重命名与删除置灰，徽标从 L/D 改成「预设」。菜单用一颗 0×0 的隐形锚点定位到点击坐标（Radix DropdownMenu，不动布局）。四套新预设的文字四档都按 WCAG 校过（alpha 先按底色合成再算），正文对底色最差：Contrast 8.0:1、Mint Dark 9.29:1、Business Blue 5.24:1、China Red 5.08:1。",
          "minPiDesktop": "\u003e=0.14.8",
          "shasum": "c0b9b17e3b608249f1f82ff446e6a302ca774998f6e9d492f4a1d64da913cdcf",
          "url": "packages/pi.theme.studio-1.4.0.piplug",
          "sizeBytes": 1053465,
          "permissions": [
            "agent.tool.register",
            "fs.read",
            "ui.panel",
            "ui.theme",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-theme-studio",
            "sourceRef": "v1.4.0",
            "sourceCommit": "50a6409709256cc836e5786b8e8255b927edb3a0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-17T14:22:08Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-09-15T18:12:12Z",
          "changelog": "内置预设新增 QQ 2008（蓝白玻璃质感：半透明标题栏 + 会话区 8×8 平铺贴图，贴图随包分发、加载时落进插件数据目录），内置预设共 6 套；新版本里新增的预设会自动并进已有主题库 —— 库里已有同名同设计的主题会被认领成预设（不重复添加、不动设计），删掉过的不会被复活。新增导入/导出 —— 把当前主题打包成一个自包含的 ZIP（theme.json 设计 + theme.css + preview.png 预览图 + images/ 原图字节 + README.txt + manifest.json 清单），位置由你在原生对话框里选；导入同一个包即还原（图片落进本机数据目录并改写引用，id 冲突派生成 xxx-2 不覆盖）。另可单独导出预览图 PNG。ZIP 用 Node 自带 zlib 自己拼，不引依赖。面板里的动作结果也都有了提示：导出（带路径与「复制路径」按钮）、导入、应用、切换宿主主题、上传图片、复制 CSS 各一条，失败一律把原因弹出来 —— 底部那行 10.5px 的状态字实在没人盯得住。新增权限 fs.read（中危）：导出/导入要弹宿主的原生目录对话框（pi.fs.requestDirectory 需要它）；zip 的读写本身走原生 node:fs，只发生在用户刚选中的那个目录里。",
          "minPiDesktop": "\u003e=0.14.8",
          "shasum": "89ccfe07382e2a472a600f88503444a9935dda87aaef2e1495a0d77d5ce6aa93",
          "url": "packages/pi.theme.studio-1.1.0.piplug",
          "sizeBytes": 1040183,
          "permissions": [
            "agent.tool.register",
            "fs.read",
            "ui.panel",
            "ui.theme",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-theme-studio",
            "sourceRef": "v1.1.0",
            "sourceCommit": "7511f831028b617a5a6154d00044ab0ff990e17b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-15T18:11:57Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-09-15T16:59:46Z",
          "changelog": "v1.0.0 第一个正式版。渲染层完全重写为 React 19 + Tailwind 4 + shadcn/ui 风格组件（Vite 打包，renderer/ 从此是构建产物），预览按真窗口的结构与几何重建，类名与宿主的完全一致。新增 4 个 Agent 工具：theme_studio_list / theme_studio_import_image / theme_studio_write / theme_studio_delete —— 可以用一句话让 Agent 建主题（给图片路径、指定哪一块背景、要不要透明），改内置预设会自动先复制一份。修复四个真问题：半透明 token 的对比度恒为 0（color-mix 的 oklab 计算值读不出来）、「一键透出」写错对象层级、预览中栏缺少布局容器导致输入栏悬在中间、区域「标题栏」选择器不匹配聊天页。",
          "minPiDesktop": "\u003e=0.14.8",
          "shasum": "6d8fe53f1c1882465e3eb756ba32b4e3af502d270dedec54f28a9f1548c6d9c7",
          "url": "packages/pi.theme.studio-1.0.0.piplug",
          "sizeBytes": 956191,
          "permissions": [
            "agent.tool.register",
            "ui.panel",
            "ui.theme",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-theme-studio",
            "sourceRef": "v1.0.0",
            "sourceCommit": "cebfcc8dc5276ba96cffc9fd6f62997857252a3a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-15T16:59:30Z"
          }
        }
      ]
    },
    {
      "id": "pi.ssh-manager",
      "name": "SSH Manager",
      "description": "A local-first SSH host manager for PI-Desktop with local OpenSSH config import, identity-file selection, and bounded high-risk commands.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "SSH Manager",
          "description": "A local-first SSH host manager with local OpenSSH config import, identity-file selection, and bounded high-risk commands.",
          "safetyNotes": "Uses the system OpenSSH client and the user's existing config, ssh-agent, identity-file path, or a password entered in the panel. Passwords are held in memory for at most 30 minutes and never persisted or passed to AI. The plugin never stores private-key contents, command output, or remote transcripts. AI connect and execute tools are high risk; conservative static filtering blocks mutating or ambiguous commands, and only a one-time approval checkbox in the management panel can release a blocked command."
        },
        "zh-CN": {
          "name": "SSH 在线管理",
          "description": "本地优先的 SSH 主机管理面板，使用 OpenSSH 执行有超时和输出上限的远程命令，并向 AI 暴露高风险工具。",
          "safetyNotes": "插件只调用系统 OpenSSH，并复用用户已有的 SSH 配置、ssh-agent、私钥路径或面板输入的密码；密码最多在内存中保留 30 分钟，不写入设置，也不会传给 AI。插件不保存私钥内容、命令输出或远程会话记录。AI 连接和执行工具均为高风险操作，默认拦截删除、覆盖、数据库变更、服务/权限修改、容器删除及不明确的 shell 组合；只有管理面板的一次性勾选才能放行被拦截指令。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 163,
      "homepage": "https://plugins.aiuo.net/plugins/pi.ssh-manager",
      "repository": "https://plugins.aiuo.net/plugins/pi.ssh-manager",
      "readmeMarkdown": "# SSH 在线管理 · SSH Manager\n\n`pi.ssh-manager` 是一个本地优先的 SSH 主机管理插件：面板保存主机连接元数据，\n认证交给本机 OpenSSH、已有的 `~/.ssh/config`、ssh-agent、用户指定的私钥路径，或面板中\n临时输入的密码。添加或编辑主机时，私钥可以手动输入路径，也可以使用「选择文件」；插件只\n使用 Electron 提供的文件路径，从不读取文件内容。\n插件把有限时、有限输出的 SSH 能力提供给 PI-Desktop AI。\n\n## 能做什么\n\n- 管理多台 SSH 主机：名称、主机、端口、用户名、私钥路径和 agent socket。\n- 一键扫描并导入本机 `~/.ssh/config`（含有界的 `Include`），保留 Host 别名以继续使用完整 OpenSSH 配置（包括 ProxyJump）。重复扫描会更新已有导入项，不会重复创建。连接失败会保留 OpenSSH 的传输诊断（包括 Windows 的 banner exchange / connection refused），而不是只显示笼统的 exit 255；Windows 会继承 SYSTEMROOT 等系统环境并查找 `ssh.exe`。\n- 导入自定义配置文件时会在连接中继续使用该配置文件；编辑导入主机的地址、端口、用户名或密钥路径后，插件会自动解除别名绑定并按表单中的显式值连接。\n- 默认 `~/.ssh/config` 仍按普通 OpenSSH 方式加载，因此不会因显式 `-F` 而跳过系统级 SSH 配置；Windows 密码 helper 不经过批处理变量展开，密码中的命令符号会原样交给 OpenSSH。\n- 默认严格校验 `known_hosts`；只有用户显式选择时才使用 `accept-new`。\n- 在面板中测试连接、执行一次性命令、查看 stdout/stderr，并忘记逻辑会话。\n- 向 AI 暴露四个工具：\n  - `plugin_pi_ssh_manager_ssh_list_hosts`\n  - `plugin_pi_ssh_manager_ssh_connect`\n  - `plugin_pi_ssh_manager_ssh_execute`\n  - `plugin_pi_ssh_manager_ssh_disconnect`\n- 默认只放行经过静态校验的命令；递归删除、文件覆盖、磁盘写入、数据库变更、服务/权限修改、容器删除、重启、网络脚本管道以及 shell 链式命令都会被拦截。\n- 被拦截的命令只有在 SSH 管理面板勾选「本次允许执行被拦截的危险指令」后才会放行一次；AI 工具不能传入或伪造这个授权。\n\n## 认证与数据边界\n\n插件不会持久化密码、passphrase、私钥内容、命令输出或远程 transcript。需要密码\n认证时，可以在面板的「密码（不保存）」输入框中录入；密码只在当前插件进程内保存\n最多 30 分钟，通过一次性本地 IPC broker 和 `SSH_ASKPASS` helper 交给 OpenSSH；密码不会进入 `ssh` 进程环境，避免被宽泛的 `SendEnv` 配置发送到远端。插件重启、卸载或\n超时后会自动清除。AI 工具永远不会接收密码参数，但可以复用当前内存中的密码状态。\n请优先在本机配置 OpenSSH：\n\n```sshconfig\nHost production\n  HostName server.example.com\n  User deploy\n  IdentityFile ~/.ssh/id_ed25519\n```\n\n然后在面板中把 `Host` 填为 `production`，或直接填写实际主机名。需要使用\nssh-agent 时，优先让 PI-Desktop 继承正确的 `SSH_AUTH_SOCK`，也可以在主机配置中\n填写 agent socket 路径。带 passphrase 的密钥应由 ssh-agent 或系统 OpenSSH 配置\n负责解锁；插件不会把它们写入设置。\n\n“连接”创建的是插件内的逻辑会话。每次命令仍启动一个有超时和输出上限、不会继承插件标准输入的本机\n`ssh` 进程，不会在插件进程里保留一个可被后台复用的远程 shell。\n\n## Windows OpenSSH startup\n\nPI-Desktop passes a minimal environment to plugins. Windows OpenSSH requires\n`ProgramData` even for `ssh -V`; without it, it can exit 255 with no output before\nconnection diagnostics are initialized. The plugin preserves an inherited\n`ProgramData` (case-insensitive) or `ALLUSERSPROFILE`, and otherwise supplies\n`ProgramData` on the Windows system volume (normally `C:\\ProgramData`). It does\nnot copy unrelated environment variables or change host-key verification.\n\n## AI 使用建议\n\nAI 应先调用 `ssh_list_hosts`，再使用用户确认过的 `profile_id` 连接。连接和执行\n均是高风险工具，会经过 PI-Desktop 的工具权限策略。AI 不应要求用户把密码、私钥\n或 token 粘贴到对话中；新主机密钥和破坏性命令必须先向用户确认。若命令被安全过滤器\n拦截，AI 只能提示用户在 SSH 管理面板中审核并勾选一次性授权，不能自行绕过过滤器。\n\n## 权限\n\n- `ui.panel`：打开 SSH 管理面板。\n- `agent.tool.register`：注册 AI SSH 工具。\n- `agent.prompt.inject`：加载安全 SSH 使用说明。\n\n插件只使用本机 `ssh` 可执行文件，不使用 `net.fetch`，也不把凭据写入插件设置。\n\n## 开发验证\n\n```bash\nnode --test tests/ssh-manager.test.mjs\npython3 scripts/pack_plugin.py plugins/pi.ssh-manager\npython3 scripts/rebuild_catalog.py\n```\n\n本地运行时请在 PI-Desktop 中选择「插件 → 加载开发插件」，再选择本目录。\n",
      "safetyNotes": "SSH credentials are never persisted by this plugin. Passwords entered in the panel are held in memory for at most 30 minutes and private-key contents stay outside the plugin. Authentication is delegated to the local OpenSSH client. The panel stores only connection metadata in plugin settings; AI tools can connect to configured hosts and execute remote shell commands, so PI-Desktop's high-risk tool policy must remain enabled.",
      "versions": [
        {
          "version": "0.1.6",
          "publishedAt": "2026-10-06T15:15:25Z",
          "changelog": "Release 0.1.6: leads every agent-tool description with explicit when-to-use trigger conditions and example phrasings (including Chinese), and states the override boundary — AI cannot authorize a blocked command, only the panel's one-time approval can. Release 0.1.5: restores ProgramData in PI-Desktop's minimal Windows plugin environment so OpenSSH no longer exits 255 silently before connecting; adds a real OpenSSH startup regression test. Release 0.1.4: closes the askpass broker lifecycle boundary so an unload cannot start a new SSH child after the broker has been cleaned up. Release 0.1.3: keeps OpenSSH transport diagnostics visible on Windows instead of suppressing banner-exchange errors behind exit 255, preserves non-default config files for imported aliases without bypassing system config for the default file, detaches an alias when its explicit connection fields are edited, prevents one-shot commands from inheriting plugin stdin, passes special-character passwords through a one-shot local askpass broker without placing them in the ssh process environment, and preserves missing-client diagnostics through the panel bridge. Release 0.1.2: imports concrete hosts from the local OpenSSH config, preserves aliases for complete SSH behavior, adds identity-file selection, surfaces OpenSSH diagnostics instead of a bare exit 255, inherits Windows system environment so ssh.exe can run, and stops leftover ssh processes from throwing on quit. Release 0.1.1: strengthens destructive-command filtering and makes one-time dangerous-command approval available only from the SSH Manager panel. Release 0.1.0: adds local SSH host profiles, strict host-key verification, OpenSSH key/agent and transient password authentication, bounded remote command execution, a focused management panel, and an AI skill describing safe SSH workflows.",
          "minPiDesktop": "\u003e=0.2.9",
          "shasum": "3c2eb91e4d295015514aad707cf1020b2eef30d1adfb20e71e2c8b60a15658f6",
          "url": "packages/pi.ssh-manager-0.1.6.piplug",
          "sizeBytes": 147655,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.techd81.pi-desktop-usage",
      "name": "Usage Statistics",
      "description": "Token usage and cost for PI-Desktop and the Pi CLI in one local panel, with the two sources kept apart.",
      "author": "Techd81",
      "i18n": {
        "en": {
          "name": "Usage Statistics",
          "description": "Token usage and cost for PI-Desktop and the Pi CLI in one local panel, with the two sources kept apart.",
          "safetyNotes": "Reads the two local session directories with Node's own filesystem API (~/.pi-desktop/sessions and ~/.pi/agent/sessions) and keeps its cache inside its own plugin data directory. desktop.control is declared for three read-only catalogue operations only (providers/list, session/list, project/list) so provider names and project paths can be shown; no session, agent or project write operation is ever called, and every enrichment failure degrades to placeholders instead of affecting the counts. No network access, no telemetry, no clipboard, no shell."
        },
        "zh-CN": {
          "name": "用量统计",
          "description": "在同一个本地面板里查看 PI-Desktop 与 Pi CLI 的 token 用量与费用，两侧来源分开统计。",
          "safetyNotes": "用 Node 自带的文件接口只读两个本地会话目录（~/.pi-desktop/sessions 与 ~/.pi/agent/sessions），缓存只写本插件自己的数据目录。声明 desktop.control 只为三个只读目录操作（providers/list、session/list、project/list），用于显示供应商名称与项目路径；绝不调用任何会话、Agent 或项目写入操作，富化失败只会退化成占位显示，不影响统计数字。无网络访问、无遥测、不读写剪贴板、不调用 shell。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 431,
      "homepage": "https://github.com/Techd81/pi-desktop-usage",
      "readmeMarkdown": "# PI-Desktop Usage\n\n\u003e PI-Desktop 与 Pi CLI 的 token 用量、费用统计面板：一个插件，两个来源，分开统计，纯本地。\n\n\u003cp align=\"left\"\u003e\n  \u003cimg alt=\"PI-Desktop\" src=\"https://img.shields.io/badge/PI--Desktop-%E2%89%A50.20.1-0485f7\" /\u003e\n  \u003cimg alt=\"license\" src=\"https://img.shields.io/badge/license-MIT-4fbd91\" /\u003e\n  \u003cimg alt=\"network\" src=\"https://img.shields.io/badge/network-none-f0a12b\" /\u003e\n\u003c/p\u003e\n\nPI-Desktop 的插件体系和 Pi CLI 是两套互不相通的数据：CLI 的插件、用量、MCP 都不会同步到桌面版。这个插件同时读取两边的本地会话文件，把「PI-Desktop」和「Pi CLI」作为可区分的来源，在一个面板里给出同一个口径的用量与费用。\n\n界面按 [juejin-usage](https://github.com/juejin-cn/juejin-usage) 的成品效果复刻：灰底白卡、药丸式区间切换（选中为主题色实心）、指标卡带主题色迷你趋势线、月份 + 星期表头的日历热力图、条形排行、双环形分布图，明暗三态与主题色都可手动指定。\n\n## 功能\n\n- **两个来源，分开统计**：PI-Desktop 与会话目录、Pi CLI 的会话目录各自解析，来源色标（由主题色派生的同族双色）、来源分布、按来源筛选贯穿所有卡片与表格\n- **八张指标卡**：总成本 / 总 Token / 输入 Token / 输出 / 缓存命中 / 缓存写入 / 总请求数 / 缓存命中率；成本、输入、输出、请求数带「较上期」环比，缓存两张卡显示占 Token 比例，总 Token 显示请求数，右下角是同区间的主题色迷你趋势线\n- **使用趋势（双轴曲线）**：左轴 Token、右轴费用，五条单调三次平滑曲线（成本虚线 / 缓存创建 / 缓存命中 / 输入 / 输出），缓存命中带渐变填充，底部居中图例，标题下方显示当前窗口的起止时刻，悬停给出该点五项数值\n- **趋势（柱状图）**：Token ↔ 费用两种口径；「今天」按小时、一年以内按本地日历日、更长跨度按自然月分桶，Token 口径按输入 / 输出 / 缓存堆叠\n- **来源与项目排行**：横向进度条 + 图标 + 请求数 + 费用；项目默认列出 Token 最多的 3 项，占比按整个窗口计算（不是只占这 3 项）；CLI 会话按会话首行的 cwd 归到真实项目\n- **双环形分布**：来源分布与模型分布分开两张卡，各自 Token ↔ 费用切换，模型列出前 6 名并把其余合并成「其他模型」，所以中心合计等于整窗合计；图例与扇区都可点击隐藏，但至少保留一项可见\n- **活跃热力图**：今年至今的每日 Token 强度，带月份表头与星期列；点任意方块在下方明细行显示当日 Token、费用与请求数，再次点击取消\n- **区间**：今天 / 7D / 30D / 90D / 全部，外加「自定义」——预设（当天 / 近 24 小时 / 近 7 天 / 近 14 天 / 近 30 天 / 全部）、起止时间输入、自绘日历选日、结束时间跟随当前时刻；偏好会记住\n- **主题色**：蓝 / 紫 / 绿 / 琥珀 / 玫红五套强调色，外加无极调色盘（任选十六进制色，拖动即时预览）；使用趋势、7D 趋势、来源分布、模型分布的配色都由主题色按色相步进派生，换色即时生效，选择会记住\n- **切换动画**：卡片入场、面积线绘制、柱状生长、环形淡入旋转、排行条展开，并遵循系统「减少动态效果」设置\n- **来源汇总**：来源卡底部给出合计 Token / 请求数 / 费用与来源占比条\n- **热力图铺满整行**：今年至今，单元格随面板宽度伸缩；面板窄于 640px 时改为横向滚动，每格仍保持可点击\n- **顶栏常驻**：滚动时区间、来源、明暗与主题色控件固定在面板顶部，不必滚回顶端\n- **明暗三态**：跟随系统 / 亮面 / 暗面；语言（中文 / English）跟随 PI-Desktop 外观\n- **无网络、无遥测、无剪贴板**：只读本地文件；缓存只写插件自己的数据目录，宿主没有提供数据目录时退回系统临时目录\n\n## 数据来源\n\n| 来源 | 目录 | 用数字段 | 项目归属 |\n| --- | --- | --- | --- |\n| PI-Desktop | `~/.pi-desktop/sessions/*.jsonl` | `message.meta.usage`（`inputTokens` / `outputTokens` / `cacheReadTokens` / `cacheWriteTokens` / `cost.total` / `costStatus`）；`compaction.desktopUsage` | 会话文件里没有 cwd，通过宿主的项目目录补齐 |\n| Pi CLI | `~/.pi/agent/sessions/**/*.jsonl` | `message.usage`（`input` / `output` / `cacheRead` / `cacheWrite` / `cost.total`）；`compaction.usage` | 会话首行的 `cwd` |\n\n- 总 Token 恒为 `输入 + 输出 + 缓存读 + 缓存写`，不信任载荷里的 `totalTokens`\n- 缓存命中率 = `缓存读 / (输入 + 缓存读)`，不含输出与缓存写\n- `aggregation: \"aggregate\"` 的桌面用量以聚合总额为准：展开逐条 `operations`，若子项之和不等于聚合总额，差额补记成一条记录——既不重复计数，也不静默漏计\n- 没有价格的记录仍然计入 Token，费用显示 `≈$x`（部分记录缺价）或 `—`（整行缺价）\n- 只读会话文件里的用量字段与时间戳，**消息正文、工具输出、文件内容都不会落入插件缓存**\n- 来源图标取自官方仓库：Pi（`earendil-works/pi` README 引用的 pi.dev logo）与 PI-Desktop（`vastsa/PI-Desktop`），来源与许可见 `views/assets/README.md`\n\n## 安装\n\n### 从插件市场安装\n\n在 PI-Desktop 的「插件 → 插件市场」搜索 **用量统计 / Usage Statistics** 安装（插件中心：\u003chttps://plugins.aiuo.net\u003e），然后从工作面板的视图菜单选择「用量统计」。\n\n### 本地开发加载\n\n1. 「插件」页 →「加载开发插件」→ 选择本仓库目录\n2. 工作面板视图菜单 →「用量统计」\n3. 改动 `main.js` / `src/` / `views/` 后宿主会自动重载\n\n### 从打包文件安装\n\n```bash\nnpm run pack\n# dist/io.github.techd81.pi-desktop-usage-\u003cversion\u003e.piplug\n```\n\n把生成的 `.piplug` 拖进「插件」页即可按用户安装路径验证。\n\n## 使用\n\n- **区间**：今天 / 7D / 30D / 90D / 全部，以及任意自定义窗口；跨度 ≤ 2 天按小时分桶，一年以内按本地日历日，更长跨度按自然月分桶\n- **来源筛选**：点「PI-Desktop」或「Pi CLI」做多选，点「全部来源」清空筛选\n- **刷新**：重新扫描两个目录；首扫视会话总量而定（本机会话目录在数百个文件、GB 级体量，会在时间预算内分几轮扫完），之后增量扫描只读追加部分\n- **扫描进度**：单次扫描有时间预算，未扫完会显示进度并自动续扫，避免撞上面板调用超时\n- **打开方式**：右侧工作面板的视图菜单里选「用量统计」（内嵌，随面板宽度换列）；或在「扩展」页点「打开面板」按钮，或按 `Ctrl/Cmd+Shift+U`，用独立窗口看同一套数据\n- **出错与空状态**：查询失败时顶部显示原因与「重试」；没有记录时列出两个数据目录，目录不存在会单独标注\n\n## 权限与隐私\n\n`manifest.json` 声明四个权限：\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.view` | 在工作面板里提供「用量统计」视图 |\n| `ui.panel` | 「扩展」页的「打开面板」按钮用它把同一个视图开成独立窗口（不影响工作面板里的内嵌视图） |\n| `keyboard.globalShortcut` | 把「打开面板」绑到全局快捷键 `Ctrl/Cmd+Shift+U`；宿主不允许插件往左侧导航栏加按钮，快捷键是最接近的直达入口 |\n| `desktop.control` | 只用于三个**只读**目录操作：`providers/list`（模型到供应商的映射）、`session/list`、`project/list`（项目归属）。宿主把这个权限标为高风险，因为它是能读到桌面状态的能力；本插件只调用这三个 op |\n\n- 不会调用任何会话、Agent、项目写入类操作；富化失败只会退化成占位显示（供应商名退回原始 id、项目显示「未归属」），**统计数字一条都不少**\n- 不访问网络、不上传、不读写剪贴板、不调用 shell\n- 缓存只写插件自己的数据目录：`cache/state.json`、`cache/records.jsonl`、`cache/enrich.json`；宿主未提供数据目录时退回 `%TEMP%/pi-desktop-usage`\n\n## 已知限制\n\n- 从 Pi CLI 导入到 PI-Desktop 的会话会在两侧各计一次（来源列能看出重复，可分别筛选排除）\n- 桌面会话的项目归属依赖宿主的项目目录；宿主未给出时归入「未归属」\n- 压缩摘要（compaction）的用量单独计入，不会与消息用量重复\n- 缓存可随时重建：删除插件数据目录，或在面板点「刷新」前清空缓存\n\n## 开发\n\n```bash\nnpm test          # node:test：适配器 / 聚合 / 增量扫描 / 后端通道 / 视图纯函数 / 打包\nnpm run typecheck # tsc 检查 JSDoc 类型\nnpm run probe     # 真实数据对账（只读，结果写临时目录）\nnpm run pack      # 生成 .piplug 并打印 sha256\nnpm run icon      # 重新绘制插件图标（512×512 PNG）\n```\n\n面板可以脱离宿主预览：用浏览器打开 `test/harness.html`（内置假宿主和示例数据），布局、明暗主题与全部交互都能直接检查。\n\n两个扫描根可以用环境变量改到别处，便于对测试数据或另一台机器的会话做核对：`PI_DESKTOP_USAGE_HOME`、`PI_DESKTOP_USAGE_CLI_ROOT`、`PI_DESKTOP_USAGE_DESKTOP_ROOT`。\n\n`npm run probe` 会把本插件的统计与独立来源比对：\n\n- PI-Desktop ↔ `pi.sqlite` 的 `turns.usage_json.totalTokens`\n- Pi CLI ↔ 旧版 `pi-usage-statistics` 缓存的 `records.jsonl` 求和\n\n本机实测：桌面侧与宿主数据库完全一致；CLI 侧与原始 JSONL 求和逐位一致。旧版缓存把同一会话记账为两倍（历史双计），所以 CLI 这一行的对账会显示约 2× 的差异。\n\n### 目录结构\n\n```\nmain.js              插件入口（onLoad / onUnload / onPanelInvoke）\nsrc/backend.js       通道路由、缓存生命周期、带预算的扫描\nsrc/adapters/        Pi CLI 与 PI-Desktop 会话适配器\nsrc/lib/             规范化、增量扫描、记录缓存、聚合、只读富化、路径\nviews/               面板（原生 HTML/CSS/JS + 内联 SVG 图表）\nscripts/pack.mjs     store-only zip 打包与 manifest 校验\nscripts/probe.mjs    真实数据对账\ntest/                node:test 测试与脱敏 fixture\n```\n\n## English summary\n\nA PI-Desktop plugin panel that aggregates token usage and cost from **both** PI-Desktop (`~/.pi-desktop/sessions`) and the Pi CLI (`~/.pi/agent/sessions`), keeping the two sources visibly apart, and following the juejin-usage visual language. It is read-only, offline and local-first: no network, no telemetry, no clipboard. `desktop.control` is declared solely for `providers/list`, `session/list` and `project/list` so provider names and project paths can be shown; every enrichment failure degrades to a placeholder instead of changing the numbers.\n\n```bash\nnpm test \u0026\u0026 npm run pack\n```\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n`views/assets/pi-cli.svg` and `views/assets/pi-desktop.png` are the two upstream\nproject marks, used only to label the data sources in the panel. They stay under\ntheir own licenses (MIT and LGPL-3.0) and are not covered by this repository's\nMIT grant — see [views/assets/README.md](views/assets/README.md) for provenance.\n",
      "safetyNotes": "Reads two local session directories read-only and caches derived numbers in its own plugin data directory. desktop.control is used only for providers/list, session/list and project/list; nothing is written back to the host, nothing leaves the machine.",
      "versions": [
        {
          "version": "0.1.4",
          "publishedAt": "2026-11-22T13:17:12Z",
          "changelog": "- 请求日志：顶栏新增日志按钮，按 cc-switch 的请求日志布局打开——三张表（请求日志 / 供应商 / 模型）、状态码筛选、列显示开关、每页 20 / 50 / 100 条与翻页；请求行给出时间、应用、供应商、模型、成本、新增输入、输出、缓存命中、缓存写入、命中率、速度、首字、总耗时、状态与状态码（「应用」列用来源各自的 logo），供应商与模型两张表按请求数 / 成本 / Tokens / 成功率 / 速度点表头排序\n- 状态码：筛选菜单是 cc-switch 那一套 200 / 400 / 401 / 403 / 404 / 429 / 500 / 502 / 503 / 504 / 520 / 529，窗口里出现列表外的码（例如 `CONTEXT_TOO_LARGE` 的 413）会自动追加在后面；完成即 200，错误按宿主真正记下的响应码显示——桌面侧取 `meta.error.details.providerStatus`，Pi-CLI 取 `errorMessage` 的前缀（`\"500: {…}\"`），连不上网的一类没有 HTTP 码就留 `—`\n- 首字：紧跟用户发问或工具结果的每次请求都给出「触发它的那条消息 → 首个流事件」的真实耗时（桌面侧 `createdAt` 由宿主的 `message_start` 处理器打点，实测与宿主数据库同口径：p50 2.9s、p90 7.1s），本机 17,751 条桌面请求里 15,673 条有值；前面紧挨着另一条 assistant 消息、或会话文件从中间开始的那 2,078 条没有可测的请求边界，保持 `—`。Pi-CLI 会话文件里没有首个流事件的时刻，整列为 `—`，表头写明口径\n- 模型分布：两个来源都用到同一个模型时，图例在模型名后标注来源（`(PI-Desktop)` / `(Pi-CLI)`），同名扇区不再无法区分；来源只有一个时不加标注\n- 命名统一：面板文案、manifest、README、脚本与适配器注释里的来源名统一写成 `Pi-CLI`\n- `npm run probe` 增加「插件的统计 ↔ 会话文件原始求和」两条对账行作为回归门槛（两侧本机实测都逐位一致），`pi.sqlite` 与旧缓存的对比改为参考行——它们还包含已被压缩或已删除会话的历史，出现负差属预期\n- 性能：目录富化结果按「记录数 + 扫描时刻 + 目录更新时间」缓存，不再每次查询都重建整份记录数组；聚合每条记录只构造一个 `Date`，并且只在 `全部` 区间才扫最早时间戳。同一份 4.86 万条真实缓存上，`usage.get`（全部区间）中位耗时 55.6ms → 41.9ms，7 天区间 34.2ms → 20.0ms；请求日志单页在 4.86 万条上约 20–31ms（服务端分页，面板一次只收一页）\n- 修复：模型环形图的「其他模型」现在包含被 50 行上限截掉的模型，圆环中心与窗口合计一致；项目分布的比例改用窗口合计作分母，行数超过上限时不再高估\n- 修复：打包清单忽略 `spec.md`（仓库里的设计稿），打包文件数回到 26 个\n- 速度：桌面侧 17,751 条里 14,634 条有宿主记录的耗时；Pi-CLI 只在少数行写 `durationMs`，缺的那些用「行写入时间 − 派发时间」补上——同一批 6,269 条同时有两者的记录上，两者比值 p10/p50/p90 = 0.9974/0.9993/0.9998，所以这是同一个量的补齐，不是换口径；超过 24 小时的一律丢弃（时钟错乱或续跑的会话）。改完后 Pi-CLI 的 31,086 条请求全部有速度\n- 修复：日志弹窗里的两个下拉按钮点了没反应——`.menu-host` 缺定位，菜单被挂到 `position: fixed` 的遮罩上、渲染到视口下方；现在锚在按钮自己身上，并去掉弹窗的裁切，短弹窗里的长菜单也不会被切\n- 修复：列显示开关勾选后表格不刷新——现在按新的列集合重建表格，弹窗与菜单保持不动\n- 缓存 schema 升到 5：记录新增状态码与首字字段，旧游标自动作废并重扫一次\n\n- 修复：缓存写入失败（磁盘满、文件被占用）不再静默丢记录——整批退回队列等下一次重试，游标也不会先于记录落盘\n- 修复：缓存 schema 升版后，废掉的游标会连同旧记录一起丢弃，已删除会话的记录不会再永久留在总计里\n- 修复：成本口径——宿主标为「估算」的数字不再冒充精确账单（按估算计，合计带 `≈`），标为「未知」的数字不作为价格，交给价格表或留空\n- 修复：首字超过 10 分钟不再记为测量值（触发它的消息没有留下记录时，这个间隔横跨了整轮对话），显示 `—`\n- 修复：文件被替换、但这次扫描的预算用尽只读了一半时，不再提前删掉旧记录\n- 修复：定价弹窗重绘会连带删掉请求日志弹窗；Esc 先关日志里的下拉菜单，再关弹窗\n- 修复：供应商 / 模型两张表里恒为 `—` 的「首字」列去掉（这两张表没有逐请求的首字数据）\n- 修复：`.grid-2` 少一个闭合括号，`.chart-svg` 的宽度规则一直被当成嵌套规则忽略",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "c79caeb9ef188c7b2368915fe73106e6c7c9b252a9405efc5d1cee85592df2f4",
          "url": "packages/io.github.techd81.pi-desktop-usage-0.1.4.piplug",
          "sizeBytes": 426701,
          "permissions": [
            "desktop.control",
            "keyboard.globalShortcut",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-usage",
            "sourceRef": "v0.1.4",
            "sourceCommit": "917afe8020402988165753ccca80f509041ba5c9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-22T13:14:54Z"
          }
        },
        {
          "version": "0.1.3",
          "publishedAt": "2026-11-14T16:31:14Z",
          "changelog": "- 模型定价弹窗：打开、关闭、清除某一行都只重绘弹窗本身，不再整页重排——背后的图表、滚动位置与悬停状态原地不动；此前每次开关都会重建整页 DOM，看起来像刷了两次\n- 内置价目表按 cc-switch 上游同步（239 个模型）：新增 `claude-fable-5-2`、`gemini-4-carbon`、`gemini-4-hydrogen`、`gpt-6.1-terra`、`grok-4.6-build`、`grok-4.7-build`、`grok-4.7-build-fast`，修正 `gpt-5.6-luna` 与 `gpt-5.6-terra` 的单价；新增 `npm run pricing` 从 cc-switch 的 `schema.rs`（种子表 + 改价修正表）重新生成本表，`npm run pricing -- --check` 用来发现上游改价\n- 修复「未知模型」：压缩摘要记录的模型此前被丢掉——桌面侧忽略了条目上的 `modelId` / `providerId`，CLI 侧记录本身只写用量不写模型；现在桌面侧读条目（及其 operation）的模型，CLI 侧回落到该会话最近一次回复的模型，模型随扫描游标持久化，增量续扫也不会丢；缓存 schema 升到 2，旧游标自动作废并重扫一次",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "deaa1938ad78e0f98be327dc0b3eeba621e318e06919206d3bdb3d34024ed09a",
          "url": "packages/io.github.techd81.pi-desktop-usage-0.1.3.piplug",
          "sizeBytes": 354539,
          "permissions": [
            "desktop.control",
            "keyboard.globalShortcut",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-usage",
            "sourceRef": "v0.1.3",
            "sourceCommit": "f378ad48cf5fdda6c09940be59a851ae8a86123c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T16:29:07Z"
          }
        },
        {
          "version": "0.1.2",
          "publishedAt": "2026-10-28T12:59:46Z",
          "changelog": "## 0.1.2\n\n- 模型定价：内置 232 个常用模型的列表价（Claude / GPT / Gemini / DeepSeek / Kimi / GLM / Qwen / Grok / MiniMax / Mistral / 豆包 / 混元 等，取自 cc-switch 的种子数据，MIT），会话里没带价格的记录开箱即用它们估算；面板顶部新增定价入口，按模型覆盖每百万 token 的输入 / 输出 / 缓存读 / 缓存写单价（美元），留空的字段继续用内置价\n- 会话自带的价格永远优先，估算部分继续显示 `≈`；定价列表列出内置价目表里的全部模型（顶部可搜索），标出哪些来自内置表、各有几条记录缺价，清除某一行即回落到内置价\n- 定价表随偏好持久化在插件设置里，改动后立刻重算，不需要重新扫描\n- 估算口径贯通全部出口：成本卡片、来源/项目排行、热力图方块悬停、趋势图提示、环形图图例，凡是含有估算的金额都带 `≈`，一条按内置价或自定义价算出来的记录不会被当成账单数字\n- 定价弹窗在没有记录的首次安装下也能打开；搜索框过滤后计数跟着变化，没有匹配项时给出空态说明",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "ff458d01e0b174a311169b0d1d14ccdec977e5e6021fdda8bc56a2e9e1e0a5ef",
          "url": "packages/io.github.techd81.pi-desktop-usage-0.1.2.piplug",
          "sizeBytes": 348635,
          "permissions": [
            "desktop.control",
            "keyboard.globalShortcut",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-usage",
            "sourceRef": "v0.1.2",
            "sourceCommit": "2a21dc5cef84ee3ae4bebec453845d468ff8c97b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T12:59:00Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-10-22T13:59:35Z",
          "changelog": "## 0.1.1\n\n- 指标卡：环比从灰色小字改成右上角涨跌胶囊，上升绿、下降红，上一周期没有流量时直接显示绝对差额；迷你趋势线按涨跌方向着色，并且不再和指标文字抢位置\n- 热力图：方块悬停弹出当日卡片（日期 / 等级 / 总用量 / 按模型的份额条），数据侧为每一天补上前 5 个模型与其余合计\n- 环形图图例：取消选中的项转为静音色、占比显示「—」，不再用半透明数字充当占比\n- 热力图配色：深浅档位改用活跃日的四分位划分——某一天突然有几亿 Token 时，其余日子仍能分出层次（原按最大值取比例，会把整年一起压到最浅一档）\n- 面板顶部：改用宿主 v3 穿透式 chrome——拖拽带由宿主按顶部空白区域铺设，顶栏只保留宿主窗口控制胶囊，标题区更干净",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "37cb41d7ec01bc06d50f8a3a600b044dded9e3d01b342b2f6318ea55fc175799",
          "url": "packages/io.github.techd81.pi-desktop-usage-0.1.1.piplug",
          "sizeBytes": 298315,
          "permissions": [
            "desktop.control",
            "keyboard.globalShortcut",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-usage",
            "sourceRef": "v0.1.1",
            "sourceCommit": "6a2d1a3ef8505e89f44094ba13645cb0513bd46f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T13:58:52Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-22T13:18:49Z",
          "changelog": "## 0.1.0\n\n首个公开版本。\n\n- PI-Desktop 与 Pi CLI 双来源用量统计：来源分布与来源筛选贯穿所有卡片，来源双色由主题色派生\n- 八张指标卡（总成本 / 总 Token / 输入 Token / 输出 / 缓存命中 / 缓存写入 / 总请求数 / 缓存命中率）：环比、占 Token 比例与主题色迷你趋势线\n- 使用趋势：双 Y 轴（Token / 费用）+ 五条单调三次平滑曲线（成本虚线、缓存创建、缓存命中带渐变、输入、输出），底部图例与标题下方的时间范围\n- 柱状图趋势：Token / 费用两种口径，Token 口径按输入 / 输出 / 缓存堆叠\n- 来源与项目横向排行条（图标、请求数、费用、占比）\n- 双环形分布：来源分布与模型分布，Token / 费用切换；模型列出前 6 名并把其余合并成「其他模型」，中心合计等于整窗合计；图例与扇区都可点击隐藏，且至少保留一项可见\n- 活跃热力图：今年至今，带月份表头与星期列；方块可点击，展示当日 Token / 费用 / 请求数\n- 来源行使用官方 logo（Pi 与 PI-Desktop），随插件本地打包\n- 主题色：蓝 / 紫 / 绿 / 琥珀 / 玫红五套强调色 + 无极调色盘（任意十六进制色，拖动即时预览），随明暗自动取深浅变体；趋势曲线、柱状图、环形图的配色全部由主题色按色相步进派生，选择持久化\n- 切换动画：卡片入场、面积线绘制、柱状生长、环形淡入旋转、排行条展开，遵循系统「减少动态效果」\n- 来源卡底部合计（Token / 请求数 / 费用 + 来源占比条），热力图铺满整行并按宽度伸缩\n- 增量扫描：按文件 size/mtime/字节偏移只读追加部分，并用文件头指纹区分「追加」与「同路径替换」，冷启动后热查询为纯内存聚合\n- 带时间预算的扫描循环与进度显示，面板调用不会超时；支持整表重建\n- 只读富化：`providers/list`、`session/list`、`project/list`，失败即降级\n- 明暗三态（跟随系统 / 亮面 / 暗面）与中英文案：语言跟随 PI-Desktop 外观\n- 自定义时间范围：预设（当天 / 近 24 小时 / 近 7 天 / 近 14 天 / 近 30 天 / 全部）、起止时间输入、自绘日历选日（首点定开始、再点定结束并即时应用）、结束时间跟随当前时刻，窗口持久化\n- 图表内切换（柱图 Token ↔ 费用、两张环形图各自独立的 Token ↔ 费用、图例与扇区点击）只重绘对应图表，不整页重排\n- 视图铺满工作面板（去掉 1200px 上限），内边距、卡片间距与网格列数随面板宽度自适应；「扩展」页可把同一视图开成独立面板窗口，也可用 `Ctrl/Cmd+Shift+U` 直接打开\n- `npm run pack` 生成 store-only zip 的 `.piplug` 并输出 sha256\n- `npm run probe` 真实数据对账（桌面侧对齐 `pi.sqlite`，CLI 侧对齐原始 JSONL 求和）\n- 扫描健壮性：预算耗尽与「有内容读不到」分成两个信号，前者自动续扫、后者保留缓存不误删；符号链接与超深目录不会被当成「已删除」；单个文件在预算用尽时保存游标，下一轮从断点继续\n- 缓存正确性：一份会话跨多个文件时，删掉其中一个不会连带清空另一个的记录；待写记录在会话被移除时一并撤回；原子写失败会清理临时文件\n- 并发与生命周期：面板冷启动时多个通道共享同一次缓存初始化；插件卸载会等待在飞扫描退出，两代实例不会同时写同一份缓存\n- 桌面聚合用量以聚合总额为准，`operations` 只是子集时补记差额，不再静默少算 Token 与费用\n- 排行占比按整个窗口计算，模型环图带「其他模型」兜底；成本在部分记录缺价时统一显示 `≈$x`\n- 交互修复：浮层贴近窗口边缘时自动翻面；下拉菜单支持 Escape 关闭并把焦点交还触发按钮；查询失败不再用旧窗口的数字冒充新结果；图表与排行的浮层各管各的，互不吞掉\n- 一致性修复：空区间显示「—」而不是 `$0.00`；聚合差额记录只补 token 与费用、不额外计一次请求；单个不可读或被链接的目录不会冻结其它目录的已删除会话回收；替换内容的读取失败时保留旧记录与游标，缓存不会停在两边都缺的状态\n- 面板打磨：顶栏在滚动时固定，区间、来源、明暗与主题色随时可调；两张图表的高度随面板宽度收缩，窄窗口不再需要滚过一整屏；窄面板下热力图改为横向滚动并保留可点击的方格；图表主色对极亮或极暗的自定义主题色自动钳制亮度（浅色最低 3.29:1、深色最低 4.68:1）；分隔线增强，「今天」改用主题色描边\n- 插件图标：512×512 PNG，由 `npm run icon` 从几何图形生成（无第三方依赖、结果可复现）；视图菜单图标用宿主自带的 `target` token",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "e319358a4996df8927bda74e7dd0fe40ff26937fc42c9afeeab0fa7413840465",
          "url": "packages/io.github.techd81.pi-desktop-usage-0.1.0.piplug",
          "sizeBytes": 288591,
          "permissions": [
            "desktop.control",
            "keyboard.globalShortcut",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-usage",
            "sourceRef": "v0.1.0",
            "sourceCommit": "9ac9cde664d3f5f6d4b10e547e44d8bca201cf5f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T13:18:03Z"
          }
        }
      ]
    },
    {
      "id": "demo.workspace-notes",
      "name": "Workspace Notes",
      "description": "Read/write workspace notes and fetch remote snippets with explicit high-risk grants.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Workspace Notes",
          "description": "Read/write workspace notes and fetch remote snippets with explicit high-risk grants.",
          "safetyNotes": "Reads and writes NOTES.md in the current workspace. Fetches remote snippets only when explicitly granted. The save_note agent tool is high-risk and requires explicit approval."
        },
        "zh-CN": {
          "name": "工作区笔记",
          "description": "读写工作区笔记，并在明确授权后获取远程片段。",
          "safetyNotes": "读写当前工作区的 NOTES.md 文件。仅在明确授权后获取远程片段。save_note Agent 工具为高风险，需要显式批准。"
        }
      },
      "categories": [
        "official",
        "productivity",
        "template"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "demo",
      "downloads": 23,
      "homepage": "https://plugins.aiuo.net/plugins/demo.workspace-notes",
      "repository": "https://plugins.aiuo.net/plugins/demo.workspace-notes",
      "readmeMarkdown": "# Workspace Notes\n\nDemonstrates high-risk plugin capabilities with explicit grants.\n",
      "versions": [
        {
          "version": "0.2.3",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "Release 0.2.3: makes the editor use the full panel height with a stable responsive action row and synchronized host capsule colors. Release 0.2.2: migrates the panel to v3 paint-through chrome so top-band controls remain clickable while blank space remains draggable. Release 0.2.1: refreshes the notes panel controls, editor surface, focus states, and responsive spacing.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "7a094cba0dc998ec4d628b4abfe731b7fd44a9af79f89e5e99ad370832d83a65",
          "url": "packages/demo.workspace-notes-0.2.3.piplug",
          "sizeBytes": 24800,
          "permissions": [
            "agent.tool.register",
            "clipboard.read",
            "clipboard.write",
            "fs.read.workspace",
            "fs.write.workspace",
            "net.fetch",
            "notify",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.muzimu217.vision-kit",
      "name": "Vision Kit 读图工具",
      "description": "给 agent 一个真正能「看见」本地图片的工具：read_image 读取本地图片（png/jpg/jpeg/webp/gif，≤10MB），经工具结果 images 字段把图片作为多模态输入回传，视觉模型可直接看图分析——补上内置 Read 仅限文本的能力缺口。工作区内图片零提示读取；工作区外路径由宿主逐次授权。",
      "author": "muzimu217",
      "i18n": {
        "en": {
          "name": "Vision Kit",
          "description": "Give the agent a tool that actually sees local images: read_image reads a local image (png/jpg/jpeg/webp/gif, up to 10MB) and returns it through the tool result's images field as multimodal input, so vision-capable models can analyze it directly — closing the gap left by the text-only built-in Read. Images inside the open workspace read without prompts; paths outside fall back to per-path user grants.",
          "safetyNotes": "Read-only. The plugin declares no network egress, performs no writes or deletes, and executes nothing from image content. File access goes exclusively through the host's scoped fs API: workspace images per the declared glob scope, anything else requires an explicit user grant per path; the host's secret-file denylist (.env, keys, .git, etc.) always applies. Image bytes are attached to the current agent conversation as multimodal input for the configured model and are not uploaded anywhere else."
        },
        "zh-CN": {
          "name": "Vision Kit 读图工具",
          "description": "给 agent 一个真正能「看见」本地图片的工具：read_image 读取本地图片（png/jpg/jpeg/webp/gif，≤10MB），经工具结果 images 字段把图片作为多模态输入回传，视觉模型可直接看图分析——补上内置 Read 仅限文本的能力缺口。工作区内图片零提示读取；工作区外路径由宿主逐次授权。",
          "safetyNotes": "纯只读插件：不声明任何出网域名、不写不删、不执行图片内容。文件访问全部经宿主 fs 策略 API：工作区内按声明的 glob 范围读取，范围外每条路径都需用户明确授权；宿主的密钥文件拒绝清单（.env、密钥、.git 等）始终生效。图片字节仅作为多模态输入附加到当前 agent 会话，不上传到任何其他位置。"
        }
      },
      "categories": [
        "search-web"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 771,
      "readmeMarkdown": "# Vision Kit\n\nGive your PI-Desktop agent eyes: `read_image` reads a local image file and returns it as a **multimodal image block** on the tool result, so vision-capable models can actually see and analyze it. The built-in Read tool is text-only — this plugin closes that gap (originally demonstrated by the community in [vastsa/PI-Desktop#1073](https://github.com/vastsa/PI-Desktop/issues/1073)).\n\n## The `read_image` agent tool\n\n- **Input**: `path` — absolute path or workspace-relative path.\n- **Formats**: png / jpg / jpeg / webp / gif, up to 10 MB.\n- **Model requirement**: the session model must accept image input (any vision-capable model). The image is attached to the tool result as a multimodal block; text-only models will only see the text summary.\n- **Safety model**:\n  - All file access goes through the host's scoped fs API. Images inside the open workspace read silently under the declared `fs.read` scope (`**/*.png`, `**/*.jpg`, `**/*.jpeg`, `**/*.webp`, `**/*.gif`); anything outside falls back to the host's per-path user grant. The host's secret-file denylist (`.env`, keys, `.git`, …) always applies.\n  - Read-only: no network egress is declared, no writes, no deletes, nothing is executed from image content.\n  - Image bytes are attached to the current conversation as model input only — never uploaded anywhere else.\n- **Plan mode**: declared via `planSafeActions`, so the agent can look at mockups and screenshots while planning.\n\n## Install\n\nInstall from the PI-Desktop plugin center (search \"Vision Kit\"), or load this folder as a development plugin.\n\n## License\n\nMIT\n",
      "safetyNotes": "纯只读插件：不声明任何出网域名、不写不删、不执行图片内容。文件访问全部经宿主 fs 策略 API：工作区内按声明的 glob 范围读取，范围外每条路径都需用户明确授权；宿主的密钥文件拒绝清单（.env、密钥、.git 等）始终生效。图片字节仅作为多模态输入附加到当前 agent 会话，不上传到任何其他位置。",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-28T17:40:22Z",
          "changelog": "### 0.2.0 — 视觉工具集扩展\n\n- 新增 `image_info`：免解码读取图片格式（魔数嗅探）、像素尺寸与文件大小（纯 JS 头部解析，支持 PNG/GIF/JPEG/WEBP）。\n- 新增 `list_images`：列出工作区图片清单（带大小，上限 200 条）——agent 可先发现图片再精读。\n- `read_image` 保持不变；三个只读工具组成完整的 agent 视觉工作流：发现 → 核查 → 精读。\n- 依旧零出网、零文件写入；全部经宿主 fs 策略与主题无关的新增代码均带单元测试（18/18）。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "a32848849a806efc27c359276997a12b3a2b240c677996474d121bd192319f97",
          "url": "packages/io.github.muzimu217.vision-kit-0.2.0.piplug",
          "sizeBytes": 27354,
          "permissions": [
            "agent.tool.register",
            "fs.read"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.png",
                "**/*.jpg",
                "**/*.jpeg",
                "**/*.webp",
                "**/*.gif"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "041f579ad98ddad9e2c256cd98d2c792fbf90863",
            "sourceCommit": "041f579ad98ddad9e2c256cd98d2c792fbf90863",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T17:39:59Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-28T16:44:07Z",
          "changelog": "### 0.1.0 — 首个版本\n\n- `read_image` agent 工具：读取本地图片（png/jpg/jpeg/webp/gif，≤10MB），经工具结果的多模态图片块回传，视觉模型可直接看图分析——补上内置 Read 仅限文本的缺口。\n- 工作区内图片零提示读取；范围外路径由宿主逐次授权；宿主密钥文件拒绝清单始终生效。\n- 纯只读：零出网、无写删权限、Plan/Goal 模式可用（planSafeActions）。\n- 中英双语；单元测试 10/10；宿主 validateManifest 通过；真机 E2E 链路验证。\n- 模型要求：会话模型需支持图片输入（视觉模型）。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "a622e5a6407518c18741e9a878448b6906b3e16eb412aaa8fa906879aa0f8a08",
          "url": "packages/io.github.muzimu217.vision-kit-0.1.0.piplug",
          "sizeBytes": 15970,
          "permissions": [
            "agent.tool.register",
            "fs.read"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.png",
                "**/*.jpg",
                "**/*.jpeg",
                "**/*.webp",
                "**/*.gif"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "66df6f4d6586d2975f5cc57feee87444d757b5d0",
            "sourceCommit": "66df6f4d6586d2975f5cc57feee87444d757b5d0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T16:43:47Z"
          }
        }
      ]
    },
    {
      "id": "io.github.eonova.theme-dracula",
      "name": "Dracula Theme",
      "description": "A pure PI-Desktop theme plugin: applies the classic Dracula palette to the whole app. No panel, no commands.",
      "author": "Eonova",
      "i18n": {
        "en": {
          "name": "Dracula Theme",
          "description": "A pure PI-Desktop theme plugin: applies the classic Dracula palette to the whole app. No panel, no commands.",
          "safetyNotes": "No access to the network, filesystem, clipboard, or Agent. Contributes one theme; its CSS is sanitized by the host."
        },
        "zh-CN": {
          "name": "Dracula 主题",
          "description": "PI-Desktop 纯主题插件：将经典 Dracula 配色应用于整个应用。无面板、无命令。",
          "safetyNotes": "不访问网络、文件、剪贴板或 Agent；仅贡献一个主题，CSS 由宿主净化。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 696,
      "homepage": "https://github.com/eonova/pi-theme-dracula",
      "readmeMarkdown": "Dracula 主题 — PI-Desktop 主题\r\n\r\n一个基于经典 **Dracula** 配色方案的 PI-Desktop 主题/插件\r\n（`#282a36` / `#44475a` / `#f8f8f2` / 紫色 `#bd93f9` / 粉色 `#ff79c6` /\r\n青色 `#8be9fd` / 绿色 `#50fa7b` / 橙色 `#ffb86c` / 红色 `#ff5555`）。\r\n\r\n使用方法\r\n\r\n安装插件后，打开 设置 → 主题 并选择 Dracula。\r\n该面板可通过命令面板访问（`pi-theme-dracula: Open Panel`）。",
      "safetyNotes": "访问网络、文件、剪贴板或 Agent。仅贡献一个主题；纯 CSS，由宿主净化。",
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-09-24T01:22:19Z",
          "changelog": "修复样式问题",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "7961d21747ee15f9f95af126ac2c9f179d6e26e8bfc1ab9aa7e29fd4d8e234da",
          "url": "packages/io.github.eonova.theme-dracula-0.5.0.piplug",
          "sizeBytes": 55357,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-09-23T17:03:29Z",
          "changelog": "- 移除面板与命令，成为纯主题插件\n- 安装后在 设置 → 主题 选择「Dracula」即可应用",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "1d8f67eff1eb856af38fc4501d5dac907fc38e77725ce154c60a30f05c82cccd",
          "url": "packages/io.github.eonova.theme-dracula-0.4.0.piplug",
          "sizeBytes": 59404,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eonova/pi-theme-dracula",
            "sourceRef": "v0.4.0",
            "sourceCommit": "2859c3b501c25df07b459457eab066ef4398cef3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T13:17:56Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-canvas",
      "name": "PI Canvas",
      "description": "Right-side local Canvas for PI-Desktop with isolated React views, versioned source and persistent state.",
      "author": "payAgain",
      "i18n": {
        "en": {
          "name": "PI Canvas",
          "description": "Right-side local Canvas for PI-Desktop with isolated React views, versioned source and persistent state.",
          "safetyNotes": "Trusted backend uses Node for its private library and packaged assets. Project TSX/JSX reads use host permissions. Generated views run in script-only sandbox iframes with no network or same-origin access. No chat reads, draft edits or message sends in the default package. Clipboard writes require an explicit user action. Back up the library before uninstalling."
        },
        "zh-CN": {
          "name": "PI Canvas",
          "description": "在 PI-Desktop 右侧展示本地交互画布，支持隔离 React 视图、源码版本与持久状态。",
          "safetyNotes": "可信后端使用 Node 访问插件私有库和随包资源；读取项目 TSX/JSX 走宿主权限。生成视图仅在脚本沙箱 iframe 中运行，禁止网络与同源访问。默认包不读取聊天、不修改草稿、不发送消息；剪贴板写入只来自明确用户操作。卸载前请备份画布库。"
        }
      },
      "categories": [
        "desktop-system",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 308,
      "homepage": "https://github.com/payAgain/pi-canvas",
      "readmeMarkdown": "# PI Canvas\n\n## English\n\nPI Canvas 0.1.5 presents local interactive React canvases in PI-Desktop's **right work panel**. Open PI Canvas in the work-panel view menu after installing. No detached panel is declared or opened. The public host SDK cannot reveal/focus this view; tool selection returns opened=false and an existing visible view adopts it when safe.\n\nThe English/Chinese workbench supports source versions, persistent JSON state, themes, Design mode context copying and host-authorized project TSX/JSX import. Generated files import only @codex-canvas/sdk. Failed source retains the successful publication; failed candidate rendering retains the active iframe. canvas_status reports iframe readiness, not screenshots or focus.\n\nThe trusted backend has Node access to its private data and packaged assets. External project reads use host permissions. Generated React runs only in script-only sandbox iframes, without same-origin access or networking. The default package does not read chats, edit drafts or send messages. Clipboard copying is explicit. No desktop.control grant is requested; optional sending requires a separately authorized build and user action. Back up the library before uninstalling; no automatic migration is performed.\n\n0.1.2 has real native-view and user layout evidence. 0.1.5 release checks and marketplace status are tracked in the source repository; do not assume GitHub publication is marketplace approval.\n\n## 简体中文\n\nPI Canvas 0.1.5 在 PI-Desktop **右侧工作面板**呈现本地交互画布。安装后从视图菜单选择 PI Canvas；不声明、不创建独立窗口。公开宿主 SDK 暂不能自动展开或聚焦视图，因此工具返回 opened=false，已有可见视图在安全点接收新选择。\n\n工作台跟随宿主中英文，支持源码版本、持久状态、主题、Design mode 复制上下文和宿主授权的 TSX/JSX 导入。生成代码只从 @codex-canvas/sdk 导入。源码编译失败保留成功发布，候选视图失败保留活动 iframe。canvas_status 的就绪心跳不是截图或聚焦证明。\n\n可信 Node 后端访问插件私有库与随包资源；外部项目读取走宿主权限。生成 React 仅在脚本沙箱 iframe 中运行，禁止同源访问和网络。默认包不读聊天、不改草稿、不发消息；剪贴板复制来自明确操作。不申请 desktop.control；可选发送需另外授权的构建与用户操作。卸载前请备份，不自动迁移数据。\n\n0.1.2 已有原生侧栏与用户布局确认；0.1.5 的检查和市场状态在源码仓库记录，GitHub 发布不等于市场审核通过。\n\nSource / 源码: https://github.com/payAgain/pi-canvas\n\n[SDK](docs/SDK.md) · [Skill](skills/pi-canvas.md). MIT; upstream notices are preserved in docs/ and vendor/.\n",
      "safetyNotes": "Trusted backend uses Node for its private library and packaged assets. Project TSX/JSX reads use host permissions. Generated views run in script-only sandbox iframes with no network or same-origin access. No chat reads, draft edits or message sends in the default package. Clipboard writes require an explicit user action. Back up the library before uninstalling.",
      "versions": [
        {
          "version": "0.1.5",
          "publishedAt": "2026-10-16T07:31:53Z",
          "changelog": "## English\n\nPI Canvas 0.1.5 Preview resolves the compiler audit boundary: a hash-pinned TypeScript 5.9.3 compiler-only API replaces the full Node/language/server distribution. Node system initialization, Node performance loading, trace-file writing and language/server/plugin discovery are not shipped. Real semantic checking and upstream transpilation remain. Every original diagnostic is retained unchanged as readable JSON data, never evaluated as code.\n\nBuild, the loader-free AST audit, official packaging and i18n gate passed. Regressions passed: core 12, host 12 subcases, bridge 3, compiler 4, including exact parity against full TypeScript for all examples and boundary inputs. Permissions, default no-send behavior and right-side-only isolation are unchanged. No native 0.1.5 installation or screenshot acceptance is claimed; choose PI Canvas from the work-panel view menu on first use. Old release tags/assets remain immutable.\n\n## 简体中文\n\nPI Canvas 0.1.5 预览版修复编译器审计边界：使用固定源码哈希的 TypeScript 5.9.3 纯编译 API，不再携带 Node 系统初始化、Node 性能模块加载、追踪文件写入和语言服务/服务端插件发现。保留真实语义检查及上游转译；全部原始诊断按明文 JSON 数据原样保留，不作为代码执行。\n\n构建、零加载 AST 审计、官方打包和双语门槛通过；核心 12、宿主 12 个子场景、桥接 3、编译器 4 项回归通过，包含全部示例及边界输入与完整 TypeScript 的精确对比。权限、默认不发消息及右侧隔离渲染不变。尚未完成 0.1.5 原生安装或截图验收，首次仍需选择工作面板中的 PI Canvas。旧版标签及附件保持不变。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "8fddac21ff72cf33800627a65676d1ff175d946a0582ae59bd22bdbd0ee665ce",
          "url": "packages/local.pi-canvas-0.1.5.piplug",
          "sizeBytes": 7779471,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "clipboard.write",
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.tsx",
                "**/*.jsx"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/payAgain/pi-canvas",
            "sourceRef": "v0.1.5",
            "sourceCommit": "19455e4a5ce8755d1394db53b6b09bb4199c4689",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-16T07:31:19Z"
          }
        }
      ]
    },
    {
      "id": "demo.workspace-summary",
      "name": "Workspace Summary",
      "description": "Practical template plugin: scan the current workspace, summarize key files, and expose an agent tool plus isolated panel.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Workspace Summary",
          "description": "Practical template plugin: scan the current workspace, summarize key files, and expose an agent tool plus isolated panel.",
          "safetyNotes": "Reads the current project only. No network or write access."
        },
        "zh-CN": {
          "name": "工作区摘要",
          "description": "实用的插件模板：扫描当前工作区、总结关键文件，并提供 Agent 工具和隔离面板。",
          "safetyNotes": "只读取当前项目，不访问网络，也不会写入文件。"
        }
      },
      "categories": [
        "official",
        "productivity",
        "template"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "demo",
      "downloads": 23,
      "homepage": "https://plugins.aiuo.net/plugins/demo.workspace-summary",
      "repository": "https://plugins.aiuo.net/plugins/demo.workspace-summary",
      "readmeMarkdown": "# Workspace Summary\n\nPractical official template plugin for PI-Desktop.\n\n## What it does\n\n- Opens an isolated panel with a workspace inventory\n- Reads top-level entries and a README excerpt\n- Copies a markdown summary to the clipboard\n- Registers an agent tool: `plugin_demo_workspace_summary_workspace_summary`\n\n## Permissions\n\n- `ui.panel`\n- `fs.read.workspace`\n- `clipboard.write`\n- `notify`\n- `agent.tool.register`\n\n## Why this template\n\nUse this as the starting point for real productivity plugins:\n\n1. Keep a small `manifest.json`\n2. Register commands/tools in `main.js`\n3. Put UI in `renderer/index.html`\n4. Request only the permissions you need\n",
      "safetyNotes": "Reads the current project only. No network or write access.",
      "versions": [
        {
          "version": "0.2.3",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "Release 0.2.3: lets the summary output fill the remaining panel height, keeps its internal scroll local, and synchronizes the host capsule with theme changes. Release 0.2.2: migrates the panel to v3 paint-through chrome so top-band controls remain clickable while blank space remains draggable. Release 0.2.1: refreshes the summary panel hierarchy, cards, controls, and narrow-window layout. Initial practical template: workspace inventory, README preview, copy summary, agent tool.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "41d951ab4d95ead69f4f9a7d6fb0ba18a560185919fca7ce076c13e8c4d84711",
          "url": "packages/demo.workspace-summary-0.2.3.piplug",
          "sizeBytes": 32560,
          "permissions": [
            "agent.tool.register",
            "clipboard.write",
            "fs.read.workspace",
            "notify",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "adoin.panel.anywhere",
      "name": "Anywhere Panel",
      "description": "Connect Pi Desktop to Agents Anywhere and access workspace conversations from mobile or web. Discover existing sessions, create chats, send messages, sync text replies and task status, and interrupt running tasks. Includes password-encrypted connection storage and tabs for status, connection management and events. Workspace sharing requires explicit local consent.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Anywhere Panel",
          "description": "Connect Pi Desktop to Agents Anywhere and access workspace conversations from mobile or web. Discover existing sessions, create chats, send messages, sync text replies and task status, and interrupt running tasks. Includes password-encrypted connection storage and tabs for status, connection management and events. Workspace sharing requires explicit local consent."
        },
        "zh-CN": {
          "name": "Anywhere Panel 远程连接管理",
          "description": "将 Pi Desktop 接入 Agents Anywhere，在手机或网页端访问工作区会话。支持发现已有会话、新建聊天、发送消息、同步文字回复与任务状态，以及中断运行中的任务。提供密码加密的连接信息保存，以及状态、连接管理、事件三标签面板。共享工作区前需在本地明确授权。"
        }
      },
      "categories": [
        "desktop-system",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "adoin",
      "downloads": 628,
      "versions": [
        {
          "version": "2.2.2",
          "publishedAt": "2026-10-12T09:50:00Z",
          "changelog": "2.2.2 更新说明\n\n新增自部署服务器支持，可连接用户指定的 HTTPS 地址。要求 PI-Desktop 0.18.0 或更高版本，更新时需批准新增的 net.anyHost 网络权限。认证、令牌刷新和会话同步均禁止重定向。\n\n新增批量项目共享：支持加载本地已保存项目、全选或单独选择，并记住选择。已有真实会话的项目可自动关联到 Anywhere，无需逐个手动添加。\n\n优化共享范围交互，明确区分“当前工作区”和“所选项目”。选择项目或全选会自动切换范围，但仍需明确确认共享。修复刷新项目列表时共享范围被重置的问题，保留仍有效的项目勾选。\n\n新增醒目的 Runtime 设置与同步状态提示，区分设备在线、运行时未启动和同步就绪。首次仍需在 Anywhere 添加并启用 Pi Desktop Runtime，后续正常重连会恢复已有实例。\n\n保留密码加密的连接配置、标签页记忆和会话去重。建议直接覆盖安装，不要先卸载，以免宿主清除本地配置。\n\n注意：空项目需产生真实会话后才会在远端出现；修改共享范围需重新连接后生效。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "9f4e36056e6d225ded397114a90437333a1bc8df73044ac89dc504a74b400c3e",
          "url": "packages/adoin.panel.anywhere-2.2.2.piplug",
          "sizeBytes": 194625,
          "permissions": [
            "background.service",
            "desktop.control",
            "models.list",
            "net.anyHost",
            "net.fetch",
            "net.websocket",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "2.0.0",
          "publishedAt": "2026-10-01T14:07:17Z",
          "changelog": "兼容了新老api",
          "minPiDesktop": "\u003e=0.15.9",
          "shasum": "ca8dbf0d6359f1315bdc667b5efe82acd0db2f8a9b3a97859cd5368c2f39c1e0",
          "url": "packages/adoin.panel.anywhere-2.0.0.piplug",
          "sizeBytes": 154982,
          "permissions": [
            "background.service",
            "desktop.control",
            "models.list",
            "net.fetch",
            "net.websocket",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-10-01T14:06:51Z"
          }
        }
      ]
    },
    {
      "id": "local.image-budget",
      "name": "Image Budget",
      "description": "Budget-aware image previews and original-coordinate crops. Auto 2048px/512KiB; high detail 4096px/1MiB. Preserves source files; no network permissions. Does not rewrite pasted attachments or existing history.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "图片预算与局部查看",
          "description": "给模型发送有大小预算的图片预览，支持原图坐标裁剪与高精度查看。默认2048px/512KiB，高精度4096px/1MiB；保留原文件，无网络权限。不改写粘贴附件或已有历史。"
        }
      },
      "categories": [
        "ai-models",
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 51,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-12T15:08:11Z",
          "changelog": "Initial release: bounded previews, high-detail crops, PNG/JPEG/WebP/GIF first-frame support. Derived from MIT-licensed Vision Kit helpers with attribution. 32-image replay reduced image payload by 76.9%; image recognition verified. Scope is this plugin's tools only.",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "90e9ae5377e88a208d63fedf776a172a41840db093dfcf0e181a79611aca574a",
          "url": "packages/local.image-budget-0.1.0.piplug",
          "sizeBytes": 1866623,
          "permissions": [
            "agent.tool.register",
            "fs.read"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.png",
                "**/*.jpg",
                "**/*.jpeg",
                "**/*.webp",
                "**/*.gif"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/RugkeyPro/pi-desktop-image-budget",
            "sourceRef": "main",
            "sourceCommit": "9a703978225d0ca5460ead0ff3b147e8a6ee8d28",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T15:05:59Z"
          }
        }
      ]
    },
    {
      "id": "in.memcode.memory",
      "name": "Memcode Memory",
      "description": "Give PI-Desktop agents explicit tools to save, search, and retrieve the signed-in user's Memcode memories.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Memcode Memory",
          "description": "Give PI-Desktop agents explicit tools to save, search, and retrieve the signed-in user's Memcode memories."
        },
        "zh-CN": {
          "name": "Memcode 记忆",
          "description": "为 PI-Desktop Agent 提供明确的工具，用于保存、搜索和检索当前用户的 Memcode 记忆。"
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "in",
      "downloads": 1031,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-20T18:45:22Z",
          "changelog": "Initial release with credential verification, durable memory ingest, semantic search, and grounded retrieval tools.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "c77e6aebaed1f09d9fb82568028b40910c97853fa289b114e819454279b54672",
          "url": "packages/in.memcode.memory-0.1.0.piplug",
          "sizeBytes": 14955,
          "permissions": [
            "agent.tool.register",
            "net.fetch"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.xideadev.task-dida",
      "name": "任务提示音",
      "description": "在 AI 智能体完成任务回合、发生报错或等待操作时播放清脆悦耳的系统提示音，支持试听与自定义替换。",
      "author": "XideaDev",
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 346,
      "homepage": "https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida",
      "readmeMarkdown": "# TASK Dida任务提示音 (Task Sound Alert for PI-Desktop)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![PI-Desktop Plugin](https://img.shields.io/badge/PI--Desktop-Plugin-6366f1.svg)](https://github.com/vastsa/PI-Desktop)\n\nA lightweight, zero-dependency sound alert plugin designed specifically for **PI-Desktop**. Plays pleasant, customizable sound notifications when AI agent tasks finish, error out, or require attention.\n\n专为 **PI-Desktop** 打造的轻量级、零依赖任务完成声音通知插件。在 AI 智能体任务完成、发生异常中断或需要人工操作时，自动跟随系统通知播放清脆悦耳的提示音。\n\n---\n\n## 核心特性\n\n- **任务完成提示音 (Task Completion Sound)**: AI 顺利跑完代码或执行完回合时提供即时声音反馈（`task.completed`）。\n- **错误警示音 (Error Alert)**: 任务执行遇到异常中断或报错时播放低沉警示音。\n- **系统提示接管 (Override Host Beep)**: 可选择接管并替换系统自带单调的 660Hz 蜂鸣声，带来更悦耳的交互反馈。\n- **提示音在线试听 (Sound Audition)**: 内置可视化设置面板，支持一键在线试听各场景音效。\n- **防爆音节流 (Audio Throttling)**: 内建 2.0 秒全局冷却时间，防止多个子任务或通知密集并发导致声音撕裂。\n- **后台智能感知 (Focus Awareness)**: 可配置为仅当 PI-Desktop 窗口在后台失焦时才发声，减少前台盯屏时的听觉冗余。\n- **纯本地无外联 (Privacy First)**: 零外部网络请求，绝不接触任何 API 密钥、凭据或用户个人代码。\n\n---\n\n## 安装方式\n\n### 方式一：从官方插件市场一键安装 (推荐)\n1. 打开 PI-Desktop 客户端；\n2. 进入 **设置 (Settings)** → **插件 (Plugins)** → **插件市场 (Marketplace)**；\n3. 搜索 `TASK Dida任务提示音` 或 `Task Sound Alert`；\n4. 点击 **安装 (Install)** 并授权声音播放权限即可。\n\n### 方式二：从本地 `.piplug` 文件安装\n1. 前往 GitHub [Releases](https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida/releases) 下载最新的 `io.github.xideadev.task-dida-1.0.0.piplug`；\n2. 在 PI-Desktop 中进入 **设置 → 插件**；\n3. 点击右上角的 **“从文件安装 (Install from file)”**，选择下载的 `.piplug` 文件完成导入。\n\n---\n\n## 配置与试听面板\n\n安装后，可通过以下方式打开专属可视化设置与试听面板：\n- 按下快捷键 `Cmd + Shift + P`（Windows 为 `Ctrl + Shift + P`），搜索命令 **“TASK Dida任务提示音: 打开设置面板”**；\n- 在面板中可调节提示音量、开关各项通知，并支持针对各场景点击 **“试听音效”**。\n\n---\n\n## 开发者构建\n\n```bash\n# 1. 克隆仓库\ngit clone https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida.git\ncd PI-Desktop-Plugin-TaskDida\n\n# 2. 安装开发依赖\nnpm install\n\n# 3. 编译 TypeScript\nnpm run build\n\n# 4. 规范校验\nPluginCheck\n\n# 5. 打包 .piplug (Store-only ZIP 规范)\nPluginPack\n```\n\n---\n\n## License\n\n[MIT License](LICENSE) © 2025 XideaDev\n",
      "safetyNotes": "调用操作系统原生音频播放命令（macOS 为 afplay，Windows 为 PowerShell SoundPlayer，Linux 为 aplay）播放本地提示音。无任何网络请求，绝不接触任何 API 密钥、凭据或代码文件。",
      "versions": [
        {
          "version": "1.0.4",
          "publishedAt": "2026-11-03T12:58:14Z",
          "changelog": "### Release v1.0.4: 任务提示音 (Windows 全场景发声与宿主事件修复版)\n\n1. **核心发声逻辑深度修复 (Windows)**：\n   - 彻底修复从 Windows 资源管理器「复制为路径」时首尾夹带的双引号导致的路径探测失效。\n   - 优化 PowerShell 发声通道：默认优先使用 .NET 原生 System.Media.SoundPlayer 异步流式播放 WAV，消除了旧版依赖 Windows Media Player COM 组件导致的进程挂起与静默失败。\n   - 增加原生命令退出码拦截，当系统进程报错退出时准确回退至 Web Audio API 兜底通道。\n\n2. **宿主回合结束感知 (Turn End Detection)**：\n   - 深度挂载 PI-Desktop 宿主进程广播的 session:turnEnded 真实内核事件，解决部分 Windows 环境未安装或无法执行 sqlite3.exe 时无法触发发声的问题。\n   - 双重保险：同时保留轻量级 SQLite WAL 轮询通道与内核事件广播，确保发声 100% 触发。\n\n3. **试听与自定义交互优化**：\n   - 修复前端试听面板中自定义文件路径错误时回退到默认音效的混淆体验，明确提示路径错误。\n   - 完善深浅色自适应与视听即时反馈。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "47df70cfae22e1f100ab99410a944d4168ce53da9e4a0d5dd233ff0313bf0d21",
          "url": "packages/io.github.xideadev.task-dida-1.0.4.piplug",
          "sizeBytes": 833505,
          "permissions": [
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "1.0.3",
          "publishedAt": "2026-10-29T09:33:23Z",
          "changelog": "### Release v1.0.3: 任务提示音 (高并发智能分级节流版)\n\n专为多智能体（Subagents）并行与高频任务流优化的并发版本。\n\n#### 核心更新\n- 智能分级音频节流器 (Smart Priority Audio Throttler)：\n  - 声学防相位抵消：保证任意两个音频调用之间至少有 400ms 物理声学间距，从根源杜绝并发时声音撕裂与重叠破音；\n  - 高优先级即时放行：异常报错 (error) 与系统交互/提问 (notify) 支持快速响应（800ms 窗口），不再被长时间完成冷却卡死；\n  - 子任务短间隔响应：阶段子任务步骤 (subagent) 采用 600ms 独立冷却区间。\n- 子任务配置流转闭环：面板正式接入阶段子任务开关与试听，支持开启或静默并发子任务步骤提示。\n- 100% 离线内置音频多端兼容：继承 WMP COM + SoundPlayer 双降级方案，Windows 与 macOS 无缝适配。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "1aa0cdaa5902665a8f977b94f2b0f039bd37302b67ab146b073a4ec031ad5d0e",
          "url": "packages/io.github.xideadev.task-dida-1.0.3.piplug",
          "sizeBytes": 826239,
          "permissions": [
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida",
            "sourceRef": "v1.0.3",
            "sourceCommit": "3d36629a82667530f98e8b449ee23b2517bf989c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-29T09:32:34Z"
          }
        },
        {
          "version": "1.0.2",
          "publishedAt": "2026-10-29T09:19:43Z",
          "changelog": "### Release v1.0.2: 任务提示音 (内置全量音频多端兼容版)\n\n彻底解决 Windows 平台无声问题，实现 100% 插件内置离线高保真音频。\n\n#### 核心更新\n- 全量音频本地内置集成：所有提示音效（任务完成、报错警示、系统交互、阶段子任务）100% 预置在插件包内（标准 16-bit PCM WAV），零外部系统路径依赖。\n- Windows 播放引擎双保险加固：优先调用 Windows Media Player COM 接口 (wmplayer.ocx)，天然支持立体声、音量调节与各类编码；自动降级为 System.Media.SoundPlayer 同步兜底，在精简版、企业版及任何 Windows 系统均能 100% 播放成功。\n- Webview 设置面板离线即时试听：面板同步内嵌 Base64 音频字典，新增阶段子任务轻音试听，零延迟响应。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "32abd9956aab626fac908a255c8e63414dfa0d21c00db4fc39b9bf687ce4858d",
          "url": "packages/io.github.xideadev.task-dida-1.0.2.piplug",
          "sizeBytes": 822056,
          "permissions": [
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida",
            "sourceRef": "v1.0.2",
            "sourceCommit": "f7632365722c8e341dce1349b8156a8b7b93e36c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-29T09:18:48Z"
          }
        },
        {
          "version": "1.0.1",
          "publishedAt": "2026-10-23T23:06:23Z",
          "changelog": "### Release v1.0.1: 任务提示音 (TASK Dida)\n\n优化全平台稳定度与安全性加固，全面提升完成事件捕获可靠性。\n\n#### 更新日志\n- 更名优化：插件正式精简更名为「任务提示音」（EN: TASK Dida）。\n- 完成事件监听重构：采用 Node 22+ 原生 node:sqlite DatabaseSync 与 sqlite3 -json 格式化输出，彻底解决因会话标题含特殊符号导致的数据截断问题。\n- 并发任务防遗漏：引入毫秒级已处理 ID 缓冲集合，解决同时间戳批量子任务完成漏发声缺陷。\n- 前后台失焦感知实现：实现真正的 onlyWhenBlurred 系统前后台焦点状态判定，前台专注盯屏时自动智能静音。\n- 试听体验升级：修复试听双声重叠问题，建立 AudioContext 单例连接池，防止多次试听后浏览器音频资源超限。\n- 事件泄漏修复：规范插件卸载阶段清理所有注册的宿主事件监听器。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "13a5203ab7cfa1d1625c696a99d79505d877b083d1a6476952938c04ed9b198e",
          "url": "packages/io.github.xideadev.task-dida-1.0.1.piplug",
          "sizeBytes": 405782,
          "permissions": [
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida",
            "sourceRef": "v1.0.1",
            "sourceCommit": "50665bbcdd83b919394e97827fb900229d21444b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-23T23:05:41Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-18T21:30:11Z",
          "changelog": "### Release v1.0.0: TASK Dida任务提示音\n\n专为 PI-Desktop 打造的轻量、零依赖任务完成声音通知插件。在 AI 智能体任务完成、发生异常中断或需要人工操作时，自动跟随系统通知播放清脆悦耳的提示音。\n\n#### 核心特性\n- 任务完成提示音 (Task Completion Sound)：AI 顺利跑完代码或执行完回合时提供即时声音反馈（task.completed）。\n- 错误警示音 (Error Alert)：任务执行遇到异常中断或报错时播放低沉警示音。\n- 系统提示接管 (Override Host Beep)：可选择接管并替换系统自带单调的 660Hz 蜂鸣声，带来更悦耳的交互反馈。\n- 提示音在线试听 (Sound Audition)：内置可视化设置面板，支持一键在线试听各场景音效。\n- 防爆音节流 (Audio Throttling)：内建 2.0 秒全局冷却时间，防止多个子任务或通知密集并发导致声音撕裂。\n- 后台智能感知 (Focus Awareness)：可配置为仅当 PI-Desktop 窗口在后台失焦时才发声，减少前台盯屏时的听觉冗余。\n- 纯本地无外联 (Privacy First)：零外部网络请求，绝不接触任何 API 密钥、凭据或用户个人代码。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "6f69ea18357a02e45886f8d4e19fb5cc1c476a37fa7fb922f88a72b35659266c",
          "url": "packages/io.github.xideadev.task-dida-1.0.0.piplug",
          "sizeBytes": 393441,
          "permissions": [
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/PI-Desktop-Plugin-TaskDida",
            "sourceRef": "v1.0.0",
            "sourceCommit": "eda9d18bcbc64d34170350f2350ad76b4400cecc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T21:29:41Z"
          }
        }
      ]
    },
    {
      "id": "io.github.mafeis.layout-control",
      "name": "Layout Control",
      "description": "Control the conversation layout: content width (presets, custom, full-width) and side gutters, adjustable from a composer toolbar button; the choice is saved with the plugin.",
      "author": "mafeis",
      "i18n": {
        "en": {
          "name": "Layout Control",
          "description": "Control the conversation layout: content width (presets, custom, full-width) and side gutters, adjustable from a composer toolbar button; the choice is saved with the plugin.",
          "safetyNotes": "Only writes one style element and CSS custom properties on the host document root, and reads the app shell's sidebar class and width to keep the adjustment in step. renderer.extension is flagged high risk because the extension runs in the host document; this plugin does not read transcript or draft text, does not use internal IPC, sends nothing off the device and registers no agent tools."
        },
        "zh-CN": {
          "name": "布局控制",
          "description": "控制会话界面布局：会话内容宽度（预设 / 自定义 / 满宽，含左右留白），在输入框工具栏一键调节，设置随插件保存。",
          "safetyNotes": "只在宿主文档根节点上写入一个 style 元素和 CSS 自定义属性，并读取应用外壳的侧栏类名与宽度以同步加宽。renderer.extension 因运行在宿主文档中被标为高风险；本插件不读取消息或输入框正文、不使用内部 IPC、不联网、不注册 Agent 工具。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 235,
      "homepage": "https://github.com/mafeis/pi-desktop-layout-control",
      "readmeMarkdown": "# Layout Control\n\n\u003e `io.github.mafeis.layout-control` — widen the PI-Desktop conversation area, and set its side gutters, from a button in the composer toolbar.\n\nPI-Desktop caps conversation content at 760px (`.main-pane` → `--chat-content-max-width`), so on a wide window both sides stay empty. This plugin takes over the three width variables through a renderer extension:\n\n| Variable | Controls |\n| --- | --- |\n| `--chat-content-max-width` | the transcript column `.thread-content`, settle placeholder |\n| `--chat-composer-max-width` | the composer stack `.composer-stack` |\n| `--chat-prose-max-width` | a single message / card (`.message-bubble`, tool cards, …) |\n\n## Usage\n\n1. Click `⇔ 1200` on the right of the composer toolbar — a panel opens.\n2. Pick a preset (default 760 / comfortable 960 / wide 1200 / extra wide 1440 / full width), or drag the slider for anything between 640 and 2400 px.\n3. **Side gutter** is the transcript's inline padding (default 32 px, down to 8 px). On a narrow window it does more than the width does.\n4. Turn **Enable layout override** off and the app's own width is back, untouched.\n5. **Widen when the sidebar is collapsed** (on by default): collapsing the session list adds the freed space — sidebar width minus the 56 px rail it leaves behind — and expanding it gives the space back. The number on the button is the width actually in effect; the tooltip says how much was added.\n6. The native drag handles still work: the plugin steps aside while you drag, then adopts and remembers the width you dragged out (with the sidebar bonus subtracted before saving).\n\nThe last line of the panel, \"measured content width\", is the real measured value — proof the override landed.\n\nThe same four values are plugin settings (`width` / `gutter` / `enabled` / `followSidebar`), so editing them on the settings page works too; those edits reach the UI the next time you open the panel or reload the plugin.\n\n## How it works\n\n- `main.js` only reads and writes plugin settings and answers `getLayoutConfig` / `setLayoutConfig` through `onRendererCall`.\n- `renderer/index.mjs` does all the UI work:\n  - the width lives in `--pio-w` on `\u003chtml\u003e` and the stylesheet rules only forward it with `var()` → changing the width never re-injects a stylesheet;\n  - the host writes its variables as **plain inline declarations** on `.chat-surface`, so a stylesheet rule with `!important` wins;\n  - while dragging, the host marks both `\u003chtml\u003e` and `.chat-surface` with `data-chat-resizing`; the rules step aside with `:not([data-chat-resizing])` and adopt the dragged value once dragging ends;\n  - a collapsed sidebar puts `sidebar-collapsed` on `.app-shell` (leaving `.sidebar-rail`), so the plugin watches class changes and adds \"sidebar width (inline `--ds-sidebar-width` on `.app-shell`) − 56 px rail\".\n- The only permission requested is `renderer.extension` — flagged high risk because the extension runs inside PI-Desktop's own window. No filesystem, network or clipboard access, no agent tools.\n- The layout override needs its own `\u003cstyle\u003e` element: `pi.ui.injectStyle` wraps every rule in `@scope ([data-pi-plugin=\"\u003cid\u003e\"])`, which can only reach the plugin's own subtree and never the app's DOM. The button and panel still use `injectStyle` for their own styling.\n\n## Develop\n\n```bash\nnode --check main.js\nnode --check renderer/index.mjs\n```\n\nLoad the folder as a development plugin (**Plugins → ⋯ → Load development plugin**); saving a file reloads it. `~/.pi-desktop/logs/app/plugin.log` should then show `plugin.load.success` / `plugin.reload.success` with `pluginId: io.github.mafeis.layout-control`.\n\nTo install it like any other plugin, build the package with the host's own `PluginCheck` / `PluginPack` and install the resulting `dist/io.github.mafeis.layout-control-0.1.0.piplug` from the plugins page.\n\n## 中文说明\n\n把会话区从「不到 760px 的一窄条」放开：内容宽度、左右留白都能调，入口在输入框工具栏右侧的 `⇔` 按钮上。\n\n1. 点 `⇔ 1200` 打开面板。\n2. 选预设（默认 760 / 舒适 960 / 宽 1200 / 超宽 1440 / 满宽），或拖滑杆自定义 640–2400px。\n3. 「左右留白」调的是正文栏内边距（默认 32px，最低 8px）；窗口不宽时它比宽度更有效。\n4. 关掉「启用布局覆盖」就完全回到应用自己的宽度。\n5. 「侧栏收起时自动加宽」（默认开）：收起左侧会话列表后正文自动加上腾出来的空间（侧栏宽 − 56px 轨道），展开即退回；按钮上的数字是当前实际生效宽度。\n6. 拖动会话两侧边缘照旧可用：拖动期间插件让位，松手后接住拖出来的宽度（自动扣掉侧栏加成再存）。\n\n面板底部「正文栏实际宽度」是量出来的真实值。设置项（`width` / `gutter` / `enabled` / `followSidebar`）在设置页改同样有效，但要等下次打开面板或重载插件才反映到界面。\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n",
      "safetyNotes": "Only writes one style element and CSS custom properties on the host document root, and reads the app shell's sidebar class and width to keep the adjustment in step. renderer.extension is flagged high risk because the extension runs in the host document; this plugin does not read transcript or draft text, does not use internal IPC, sends nothing off the device and registers no agent tools.",
      "versions": [
        {
          "version": "0.1.4",
          "publishedAt": "2026-10-27T02:46:06Z",
          "changelog": "## 0.1.4\n\n- Settings changed on the plugin settings page now take effect right away: the renderer re-reads them on a short poll and whenever the window regains focus, instead of only once at load.\n- Turning the composer icon back on, or changing the width, no longer needs an app restart.\n- 中文：设置页的改动现在立刻生效——渲染器会短间隔回读并在窗口重新获得焦点时立即同步，不再只在加载时读一次；重新打开快捷图标或改宽度都不必重启应用。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "15bb048a108905a0a4c94ea256271d2a76ab5234db6244cef683519abde80976",
          "url": "packages/io.github.mafeis.layout-control-0.1.4.piplug",
          "sizeBytes": 45803,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mafeis/pi-desktop-layout-control",
            "sourceRef": "v0.1.4",
            "sourceCommit": "546e14b16a78d9498e6a9bb1cbe500b54af6bb72",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-27T02:45:22Z"
          }
        },
        {
          "version": "0.1.3",
          "publishedAt": "2026-10-21T04:39:05Z",
          "changelog": "## 0.1.3\n\n- New setting showTrigger: turn the composer shortcut icon off and on from the plugin settings page.\n- Hiding the icon closes the panel it anchors and leaves the toolbar untouched; the width override keeps working.\n- 中文：新增设置 showTrigger，可在插件设置页关闭/开启输入框里的快捷图标；关闭时自动收起面板，宽度覆盖照常生效。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "20795aa219f058df9bc90d8658618e73b83d71adf814c77221b46961a3cdd42a",
          "url": "packages/io.github.mafeis.layout-control-0.1.3.piplug",
          "sizeBytes": 42891,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mafeis/pi-desktop-layout-control",
            "sourceRef": "v0.1.3",
            "sourceCommit": "9d4588130c6d7c34111e20abb6b89997e0a05961",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T04:38:38Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-10-21T04:32:38Z",
          "changelog": "## 0.1.1\n\n- The composer button is a plain layout icon now: a content container with arrows pointing out to the side gutters. No number on it.\n- The effective width, and any sidebar bonus, show in the button's tooltip instead.\n- 中文：工具栏按钮换成「内容容器 + 两侧向外箭头」的布局图标，不再显示数字；当前宽度与侧栏加成移到悬浮提示里。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "4a374257595a5bfcf42773e6c5e10ae4380c6e9d130d648b24dc808ca30993df",
          "url": "packages/io.github.mafeis.layout-control-0.1.1.piplug",
          "sizeBytes": 41125,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mafeis/pi-desktop-layout-control",
            "sourceRef": "v0.1.1",
            "sourceCommit": "b76cfc5be51d28abf010b3aeefc22aafd85b42e9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T04:32:06Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-21T04:06:38Z",
          "changelog": "## 0.1.0\n\nFirst release.\n\n- Conversation content width from the composer toolbar: presets 760 / 960 / 1200 / 1440 / full width, or any value 640–2400 px\n- Side gutters 8–56 px\n- Adds the freed space while the sidebar is collapsed, and gives it back when it expands\n- Steps aside for the native width drag handles, then adopts the dragged width\n- Opaque panel background; the toolbar button is a plain icon with the width in its tooltip\n- Bilingual panel copy (en / zh-CN) following the app language",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "7184dc22720309cc202446e7a4973e5a6c16792f93a5d70757edc866b0d4a728",
          "url": "packages/io.github.mafeis.layout-control-0.1.0.piplug",
          "sizeBytes": 40372,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mafeis/pi-desktop-layout-control",
            "sourceRef": "v0.1.0",
            "sourceCommit": "8a5998587e7857cc7cbe856313138d3b8d9f7c8a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T04:06:04Z"
          }
        }
      ]
    },
    {
      "id": "pi.workspace-file-guard",
      "name": "C盘防垃圾",
      "description": "防止模型把测试、日志、缓存、临时文件写到系统盘、桌面、下载。垃圾只待在当前项目的 Temp 或 scratch。",
      "author": "xingleiwu",
      "i18n": {
        "en": {
          "name": "Keep junk off C:",
          "description": "Keep test, log, cache, and temp files out of the system drive, Desktop, and Downloads. Junk stays in the current project's Temp or scratch.",
          "safetyNotes": "Behavioral confinement, not a disk lock. The plugin only classifies paths and injects agent rules. It does not change ACLs or use the network."
        },
        "zh-CN": {
          "name": "C盘防垃圾",
          "description": "防止模型把测试、日志、缓存、临时文件写到系统盘、桌面、下载。垃圾只待在当前项目的 Temp 或 scratch。",
          "safetyNotes": "这是行为约束，不是磁盘锁。插件只分类路径并注入 Agent 规则，不改 ACL、不联网。"
        }
      },
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 352,
      "homepage": "https://plugins.aiuo.net/plugins/pi.workspace-file-guard",
      "repository": "https://plugins.aiuo.net/plugins/pi.workspace-file-guard",
      "readmeMarkdown": "# C盘防垃圾\n\n防止模型把测试、日志、缓存、临时文件写到系统盘、桌面、下载。垃圾只待在当前项目的 `Temp` 或 scratch。\n\n启用一次即可。路径按当前机器解析，不写死盘符或用户名。这是行为约束，不是磁盘锁。\n\n## 提供什么\n\n- Skill：`skills/workspace-file-guard.md`（插件启用期间注入 Agent）\n- 工具：`project_root` / `check_path` / `temp_env` / `tmp_layout`\n- 拒绝清单：`references/denied-paths.md`\n- 分类器：`guard.js`\n\n## 文件该写到哪\n\n| 类型 | 位置 |\n| --- | --- |\n| 用户要求保留的源码 | 工作区（`src/`、`tests/` 等） |\n| 一次性草稿、转储、日志 | `$PI_SCRATCH_DIR` |\n| 项目本地缓存 / 一次性测试 | `$project/Temp/` |\n\n禁止：桌面、下载、文档、系统临时目录；项目在其他盘时禁止写到系统盘；Program Files、`/usr`、`/Applications`。\n\n## 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `agent.prompt.inject` | 注入护栏规则，让 Agent 默认把垃圾文件关在工作区 / scratch |\n| `agent.tool.register` | 注册路径分类工具，供 Agent 在写文件前查询 |\n\n不申请 `fs.*` 宿主文件系统权限、网络、剪贴板或后台服务权限。为识别 Linux/XDG 自定义用户目录，分类器会只读本机 `~/.config/user-dirs.dirs`（若存在），不会上传或返回该文件原文。插件本身不写盘、不改 ACL、不联网；真正落盘的仍是 Agent 自己的 Write / Bash。\n\n## 安装\n\n1. PI-Desktop → 扩展 → 安装插件包，选择 `packages/pi.workspace-file-guard-0.2.7.piplug`。\n2. 若出现权限确认，勾选 `agent.prompt.inject` 与 `agent.tool.register`（当前宿主对本地 `.piplug` 可能按清单静默全授）。\n3. 新开一个 Agent 会话，skill 才会注入。\n\n也可把本目录当作开发插件加载（保存后热重载）。开发插件扩权后请重新「加载开发插件」，不要只点「重新加载」。\n\n## 开发验证\n\n```bash\nnode tests/workspace-file-guard-guard.test.js\nnode tests/workspace-file-guard-main.test.js\npython scripts/pack_plugin.py plugins/pi.workspace-file-guard\npython scripts/rebuild_catalog.py\npython scripts/security_audit.py --check-packages\n```\n\n## 能力边界\n\n- 不是事后清理磁盘。\n- 不是跨项目访问隔离。\n- 不是操作系统沙箱、BitLocker、SIP 或文件夹 ACL。\n- `root` 覆盖只在用户明确选择项目根时使用；工具无法验证该选择，不能把它当成安全边界。\n- `explicit` 只是模型对用户意图的声明；桌面、下载、文档和系统临时目录即使标记也禁止。\n\n## 能力 / 数据流\n\n| 能力 | 数据 | 方向 |\n| --- | --- | --- |\n| `agent.prompt.inject` | 本插件 `skills/workspace-file-guard.md` 规则文本 | 注入当前会话的系统提示，不读聊天记录 |\n| `agent.tool.register` | 调用参数里的路径字符串；`pi.workspace.get()` 的工作区路径；`PI_SCRATCH_DIR` / 主目录 / 常见系统目录 | 只返回分类结果与环境变量建议，不写盘 |\n| 文件系统 | 本机 `~/.config/user-dirs.dirs`（若存在） | 仅用于识别 XDG 用户目录，不上传、不返回原文 |\n| 网络 / 剪贴板 / 后台服务 | 无 | 不申请、不使用 |\n\n失败路径：没有打开工作区且未传 `root` 时工具返回 `ok: false`，不会回退到插件安装目录或 cwd。桌面、下载、文档、系统临时目录即使 `explicit=true` 也拒绝。\n",
      "safetyNotes": "这是行为约束，不是磁盘锁。插件只分类路径并注入 Agent 规则，不改 ACL、不联网。",
      "versions": [
        {
          "version": "0.2.7",
          "publishedAt": "2026-09-14T04:38:39Z",
          "changelog": "0.2.7：市场名称改为「C盘防垃圾」；项目垃圾改放到 $project/Temp/；拒绝把 Temp 倾倒目录当项目根。 0.2.6：市场名称改为直白中文。 0.2.5: Quote generated bash and PowerShell assignments safely, reject unsafe cmd values, enforce canonical root/scratch and symlink boundaries, include negative-path tests in CI, and sync the package. 0.2.4：说明改为中文。0.2.3：去掉 git/cwd 作为项目根回退；cmd 环境变量拒绝内嵌引号；覆盖工作区 API 失败与 explicit 临时目录拒绝。0.2.2：相对路径相对工作区解析。0.2.1：explicit 目标与 XDG_DOWNLOAD_DIR。0.2.0：跨机器便携。",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "f4fb247dfd66ed63286a774bacbf77cfb42f231fe3ebf380b075534b0bb224d0",
          "url": "packages/pi.workspace-file-guard-0.2.7.piplug",
          "sizeBytes": 42134,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "net.aiuo.session-title",
      "name": "Session Titles",
      "description": "Generate concise titles for new sessions with a configurable prompt, model, and thinking level.",
      "author": "Lan",
      "i18n": {
        "en": {
          "name": "Session Titles",
          "description": "Generate concise titles for new sessions with a configurable prompt, model, and thinking level.",
          "safetyNotes": "After the first completed turn, the plugin sends bounded excerpts of the first user prompt and assistant reply to the selected model through PI-Desktop's plugin completion API. It requires the high-risk session.autoTitle and agent.complete permissions. It does not read full transcripts or provider credentials, and manual renames are preserved."
        },
        "zh-CN": {
          "name": "会话标题",
          "description": "使用可配置的提示词、模型和思考级别，为新会话生成简洁标题。",
          "safetyNotes": "首轮对话完成后，插件会通过 PI-Desktop 插件补全 API 将首条用户提示词和助手回复的有限摘录发送给所选模型。它需要高风险的 session.autoTitle 和 agent.complete 权限，不读取完整 transcript 或服务商凭据，并会保留手动重命名。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "aiuo",
      "downloads": 624,
      "homepage": "https://github.com/vastsa/pi-session-title-plugin",
      "readmeMarkdown": "# PI-Desktop Session Titles\n\nAn independent PI-Desktop plugin that generates a concise title after a session's first completed turn. The prompt template, model, and thinking level are configurable from the plugin panel.\n\n## What it does\n\n- Uses the first user prompt and first assistant reply, each bounded by the host to a small excerpt.\n- Sends one one-shot completion through PI-Desktop's plugin model API. The plugin never receives provider credentials.\n- Stores the generated title only while the host still considers the session title eligible. A manual rename wins races with generation.\n- Leaves the localized default title in place until the plugin completes; there is no core prompt-derived title write.\n\nThe prompt template supports `{{userPrompt}}` and `{{assistantReply}}`; it must include `{{userPrompt}}`. Leave the model blank to follow the session model, then fall back to the default ready model. Unsupported thinking levels fall back to `off`.\n\n## Permissions\n\nThe manifest requests `session.autoTitle` for the narrow first-turn context and compare-and-set title update, `agent.complete` to run a one-shot completion, `models.list` for the model selector, and `ui.panel` for its settings window. The plugin does not request full transcript access, filesystem access, network access, or credentials.\n\nEach eligible completed turn may consume one completion from the selected model. Only one attempt runs per session at a time; the plugin skips aborted and failed turns. Existing sessions with custom or previously generated titles remain unchanged. Its private settings are stored with the plugin by PI-Desktop.\n\n## Install\n\nRequires PI-Desktop 0.18.0 or newer, which provides the narrow automatic-title plugin API. In PI-Desktop, open **Plugins → Load development plugin** and select this directory. Grant the requested permissions, then run **Session Titles: Configure** from the command palette.\n\nThis plugin is licensed under LGPL-3.0-or-later; see [LICENSE](LICENSE).\n\n## Test\n\n```sh\nnpm test\n```\n\nThis repository has no runtime dependencies.\n",
      "safetyNotes": "After the first completed turn, the plugin sends bounded excerpts of the first user prompt and assistant reply to the selected model through PI-Desktop's plugin completion API. It requires the high-risk session.autoTitle and agent.complete permissions. It does not read full transcripts or provider credentials, and manual renames are preserved.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-08T11:29:32Z",
          "changelog": "## 0.1.0\n\n- Generate a concise session title after the first completed turn.\n- Configure the prompt template, model, and thinking level.\n- Preserve manually renamed titles.",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "47a106ceaab3ce4d7dd6cd103cf0cf2c04428f238d522353059fa3b086e712ee",
          "url": "packages/net.aiuo.session-title-0.1.0.piplug",
          "sizeBytes": 23626,
          "permissions": [
            "agent.complete",
            "models.list",
            "session.autoTitle",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-session-title-plugin",
            "sourceRef": "refs/tags/v0.1.0",
            "sourceCommit": "b4275d4a00e304cb6bc5a8bb1596549fa9546062",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-08T11:06:16Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-08T11:22:12Z"
          }
        }
      ]
    },
    {
      "id": "pi.theme.opencode",
      "name": "OpenCode Theme",
      "description": "Pixel-perfect port of the official OpenCode palette (anomalyco/opencode): #9d7cd8 violet headings, #7fd88f mint code, #f5a742 amber highlights, and monospace typography.",
      "author": "",
      "i18n": {
        "en": {
          "name": "OpenCode Theme",
          "description": "Pixel-perfect port of the official OpenCode palette (anomalyco/opencode): #9d7cd8 violet headings, #7fd88f mint code, #f5a742 amber highlights, and monospace typography."
        },
        "zh-CN": {
          "name": "OpenCode 极客高清主题",
          "description": "1:1 严格对齐 OpenCode 官方源码（anomalyco/opencode）配色定义：#9d7cd8 优雅紫罗兰标题、#7fd88f 清新薄荷绿行内代码、#f5a742 暖金重点，带来极致清晰的排版体验。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 921,
      "versions": [
        {
          "version": "1.2.0",
          "publishedAt": "2026-09-23T09:56:42Z",
          "changelog": "Release 1.2.0: 像素级全面对齐 OpenCode 官方源码规范\n- 全屏对话正文与代码统一为 JetBrains Mono / Cascadia Code 现代等宽排版\n- 去除行内代码多余胶囊背景与实线边框，还原纯净薄荷绿（#7fd88f）语法穿透感\n- 去除标题多余下划线，呈现纯粹紫罗兰（#9d7cd8）\n- 背景全面下潜至极客纯黑（#0a0a0a）",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "dc712fe566a2d236c578488f7abbeb153a33aeeb8c349cfe5fa72ce274b23395",
          "url": "packages/pi.theme.opencode-1.2.0.piplug",
          "sizeBytes": 19850,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hzz12138/pi-desktop-plugins",
            "sourceRef": "v1.2.0",
            "sourceCommit": "894a2f9134bf4f6003310be75bdc0573665a9933",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T09:56:30Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-09-23T09:50:24Z",
          "changelog": "- 1:1 严格对齐 OpenCode 官方仓库源码（anomalyco/opencode）调色板定义\n- 标志性暗罗兰紫（#9d7cd8）分级标题与清新薄荷绿（#7fd88f）行内代码\n- 暖金琥珀（#f5a742）重点加粗与青蓝色（#56b6c2）有序列表序号\n- 优化等宽现代编程字体排版，告别单调黑白字体",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ba84d52e781887175d4f91f05ba02997e001d54905881edf14f6fe6d4d1de6b4",
          "url": "packages/pi.theme.opencode-1.1.0.piplug",
          "sizeBytes": 17459,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hzz12138/pi-desktop-plugins",
            "sourceRef": "v1.1.0",
            "sourceCommit": "4dc7d23b178e5a037d324cce131ec772ebf33e58",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T09:50:09Z"
          }
        }
      ]
    },
    {
      "id": "cn.star.computer-use",
      "name": "Computer Use（电脑操作）",
      "description": "复刻 Codex 的操控功能，让 AI 直接操控电脑完成简单作业。",
      "author": "TheFalreStar",
      "i18n": {
        "en": {
          "name": "Computer Use",
          "description": "Codex-style computer control that lets the AI perform simple tasks on your desktop."
        },
        "zh-CN": {
          "name": "电脑操作",
          "description": "复刻 Codex 的电脑操控能力，让 AI 直接操作桌面完成简单任务。"
        }
      },
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cn",
      "downloads": 3491,
      "readmeMarkdown": "# Computer Use\r\n\r\n复刻 Codex 的操控功能，让 AI 直接操控电脑完成简单作业。\r\n\r\n已过测：**Grok 4.6**、**ChatGPT 5.6**、**Kimi K3**。\r\n\r\n## 安装\r\n\r\n导入 `dist/cn.star.computer-use-0.3.0.piplug`。导入后彻底退出 PI（含托盘）再开。权限会自动给。\r\n\r\n第一次打开 **Computer Use: Open Panel**，状态应是 `running`。没有 cua-driver 时，面板里确认一下就会装。\r\n\r\n## 对话里\r\n\r\n先看窗口，再动手。点完、打完字，别把「已经发出去」当成「已经做完」。\r\n\r\n| 工具 | 做什么 |\r\n| --- | --- |\r\n| `list_apps` / `list_windows` / `launch_app` | 找窗口、开应用 |\r\n| `get_app_state` | 截图、读控件树、等界面出现某段字、读精确值 |\r\n| `click` / `scroll` / `drag` | 鼠标 |\r\n| `type_text` / `press_key` / `paste_text` / `set_value` | 键盘和粘贴 |\r\n| `stop_computer_use` | 立刻停 |\r\n\r\n要停也可以按键盘 Esc，或点面板上的停止。停了要从面板再开。\r\n\r\n## 不会去动\r\n\r\n密码管理器、终端、锁屏、Windows 安全中心、PI-Desktop、ChatGPT、Codex。还可以再加允许列表，把目标缩得更窄。",
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-18T10:38:44Z",
          "changelog": "- 适配 **cua-driver 0.53.0**，保留对 0.28.2 的兼容。可在 Computer Use 面板中一键升级旧版驱动。\n- 改进控件点击和拖动。坐标点击绑定到目标窗口的截图，拖动前会核对窗口位置和大小。\n- 修复连续搜索不同关键词时漏掉控件的问题。即使上一次没有匹配结果，也能继续搜索同一份快照，无需手动刷新。\n- 修复等待窗口状态时可能误用其他窗口内容、提前报告成功的问题。\n- 加快面板刷新，复用近期的驱动检测结果。点击「重新检测」仍可立即读取实际版本。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "cbbfad03ce736d8955e8ce2c36e74dc12c9e0af7ce0ef85d655446cffc68af30",
          "url": "packages/cn.star.computer-use-0.5.0.piplug",
          "sizeBytes": 673428,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-09-19T08:30:21Z",
          "changelog": "- 新增 Office 知识与桌面操作技能，理论支持 WPS。\n- Win环境中若存在 PowerShell 7，则优先使用。\n- 支持前台/后台操作切换、局部截图，完善焦点与截图状态提示。\n- 优化动态控件、菜单、保存对话框及中文文件名读取。\n- 改进快捷键、粘贴和窗口关闭验证，修复误打开文件、删除键抢焦点等问题。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "db0a94c28a846d87f2f4f86118e6e7692fcc9ee22afa6aee1c465dbca188354f",
          "url": "packages/cn.star.computer-use-0.4.0.piplug",
          "sizeBytes": 644151,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.3.1",
          "publishedAt": "2026-09-18T11:23:26Z",
          "changelog": "- 优化流程，减少不必要的重复操作。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "f8f5ed6ab243480c9f1a91474f37c1d763c5f3c1cbccad8cc3a1dc3068c837e6",
          "url": "packages/cn.star.computer-use-0.3.1.piplug",
          "sizeBytes": 449625,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-17T17:07:43Z",
          "changelog": "- 复刻 Codex 的操控功能，让 AI 直接操控电脑完成简单作业。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "e6a1cfb41b2cd2d9bef77d5119c63475949134550c16498e20238407b3a265ca",
          "url": "packages/cn.star.computer-use-0.3.0.piplug",
          "sizeBytes": 424606,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "local.context-guard",
      "name": "Context Guard",
      "description": "Early native compaction and recoverable batched folding of old tool outputs. Preserves user messages, assistant conclusions and complete local history.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "上下文管家",
          "description": "双阈值提前请求原生压缩，分批折叠旧工具输出与未签名思考；保留用户消息、助手结论和完整历史，支持按需找回原文。"
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 133,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-14T05:09:13Z",
          "changelog": "首次发布：提前压缩、可恢复批量折叠、同会话分页检索；保护近期内容及签名思考。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "117372a4d95bd84e31c8bc324aa133f2923b3fbed8c3978d46cadbaa65eacf45",
          "url": "packages/local.context-guard-0.1.0.piplug",
          "sizeBytes": 20697,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/RugkeyPro/pi-desktop-context-guard",
            "sourceRef": "v0.1.0",
            "sourceCommit": "a12b3c0b0842d6e6c556d46d1547987922aee4c5",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T05:07:00Z"
          }
        }
      ]
    },
    {
      "id": "local.run-deck",
      "name": "Run Deck",
      "description": "Run Deck keeps a project's launch commands one click away in a work-panel tab: start and stop them, watch their output, and let the agent manage the list.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Run Deck",
          "description": "Keeps a project's launch commands one tab away in the work panel: start and stop them, watch their output live, and let the agent manage the list. Each launch can pin its own working directory and environment variables.",
          "safetyNotes": "Runs the commands the user writes, through the user's own login shell, in the launch's working directory (the project root when unset), with the optional environment overrides merged in. Output is captured in memory and shown in a read-only terminal. At load it runs the user's shell once, interactively and as a login shell, to read the real PATH; that probe is capped at 5 seconds and everything except the PATH value is discarded. Launch configuration is stored only in the plugin's private data directory, never in the workspace, and environment values are stored there in plain text. No network access and no other files are read."
        },
        "zh-CN": {
          "name": "Run Deck",
          "description": "把项目的启动命令放进工作面板的一个标签页：一键启动、停止，实时查看输出，Agent 也能直接维护这份列表。每条启动项都可以指定自己的工作目录和环境变量。",
          "safetyNotes": "执行的是用户自己写的命令，通过用户自己的登录 shell，在启动项指定的工作目录（未指定则为项目根目录）中运行，并合并用户可选填的环境变量。输出保存在内存中，显示在只读终端里。插件加载时会以登录且交互的方式执行一次用户的 shell 以读取真实的 PATH，该探测限时 5 秒，除 PATH 外的输出全部丢弃。启动项配置只保存在插件的私有数据目录，不写入工作区；环境变量以明文保存在该目录中。不访问网络，也不读取其他文件。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 3,
      "readmeMarkdown": "# Run Deck\n\nA project's launch commands, one click away, inside the main window.\n\nRun Deck contributes a **work-panel view** (`contributes.views`), so the UI\nlives as a tab in the host's work panel, scoped to the current session — which\nmakes it per-project for free. There is no `open` command: the tab is opened\nfrom the work panel's own view picker, next to Review and the other plugin\nviews, exactly like `git-workbench` does it. It is not a floating OS window:\nthe host gives plugins no way to anchor or clip a panel window to the main\nwindow.\n\n## What it does\n\n- **Launch** = `{ name, command, cwd?, env? }`, and every project has its own\n  list — there is no shared or global list to switch between.\n- Start / stop a launch, watch its output in a read-only xterm terminal, see\n  the port it announced, clear the buffer.\n- Double-clicking a row starts it (stop while it runs); the start/stop icon in\n  the row does the same. The pencil icon opens the editor dialog — the same\n  dialog that ＋ uses for a new launch. The command box is multi-line (Enter\n  adds a line, `Cmd`/`Ctrl`+`Enter` saves) because a real launch is often a\n  short script, not one command. `Esc`, a click on the dimmed area, or Cancel\n  closes the dialog without saving; a run's row still shows the command on one\n  line. The dialog belongs to the project it was opened in — switching project\n  closes it, and re-emitting `workspace:changed` for the same project does not.\n- Starting a launch opens its output panel below automatically (taking over\n  whichever launch was expanded before). A failed start leaves it closed.\n- Max 8 concurrent processes, one process per launch.\n- Agent tools (CRUD only, the agent cannot start anything):\n  `run_deck_list`, `run_deck_create`, `run_deck_update`, `run_deck_delete`.\n  `create` and `update` also take `cwd` (string) and `env` (flat\n  `{KEY: \"value\"}` object); passing an empty value clears the field.\n- The output panel is remembered per project: switching project hides it (that\n  launch belongs to the other project), switching back reopens the same launch.\n  Closing it yourself — or deleting the launch — is what forgets it.\n\n## Where a launch runs\n\n**Directory**: the launch's own `cwd` when set — `~`, `~/sub` and absolute paths\nare taken as written, a relative path is resolved against the project — else the\nproject the launch belongs to (its workspace realpath), then `$HOME`. A missing\ndirectory refuses to start (`NO_CWD`) instead of silently running somewhere else.\n\n**Environment**: `env` is merged over the inherited environment and handed to\n`spawn` directly, never through a shell, so a value with spaces or `$` stays\nliterally what was entered.\n\n**PATH**: a GUI-launched app inherits launchd's minimal PATH, and `$SHELL -lc`\n(login, non-interactive) never reads `.zshrc` — so `uv` in `~/.local/bin`,\n`cargo` in `~/.cargo/bin`, nvm, asdf and pyenv all look \"not installed\".\nRun Deck therefore asks the user's own login shell once per plugin load\n(`$SHELL -ilc`, sentinel-marked so rc chatter cannot corrupt the answer, 5 s\ncap) and prepends that PATH to the inherited one. If the probe fails or times\nout, the inherited PATH is used unchanged. `deck.snapshot` reports the result\nas `environment: {shell, source: \"login-shell\" | \"inherited\", path}`.\n\n## Storage\n\nConfig is plugin-private, never in the workspace:\n`~/.pi-desktop/plugins/data/local.run-deck/launches.json`\n\nThe path comes from the host (`pi.plugin.getDataPath()`); the plugin never uses\n`localStorage`, `IndexedDB` or any other browser storage, and never writes into\nthe workspace.\n\n```json\n{\n  \"version\": 3,\n  \"projects\": {\n    \"\u003cworkspace realpath\u003e\": [\n      {\n        \"id\": \"…\",\n        \"name\": \"API\",\n        \"command\": \"uv run python main.py\",\n        \"cwd\": \"~/code/backend\",\n        \"env\": { \"ENABLE_SCHEDULER\": \"False\" },\n        \"createdAt\": 0,\n        \"updatedAt\": 0\n      }\n    ]\n  }\n}\n```\n\n`cwd` and `env` are optional and written only when set. **`env` values are\nstored in plain text** in that file — they are conveniences like\n`ENABLE_SCHEDULER=False`, not a secret store. Files from the older flat-list\nlayout are migrated once and left behind as `launches.json.v1-backup`.\n\n`runs.json` holds only orphan hints (pid + name) from a previous session; it is\nnever used to kill anything automatically, because pids get reused.\n\n## Execution\n\nNo PTY in v0.1 — output only, via `child_process.spawn`:\n\n```js\nspawn(shell, [\"-lc\", command], { cwd, env, detached: true, stdio: [\"ignore\", \"pipe\", \"pipe\"] })\n```\n\nwith `TERM=xterm-256color`, `FORCE_COLOR=3`, `CLICOLOR_FORCE=1`,\n`PYTHONUNBUFFERED=1` so colours and line buffering behave without a tty.\n(`script`/`unbuffer` were tried and rejected: `tcgetattr: Operation not\nsupported on socket`, `stty size` → `0 0`.) Windows uses `cmd /d /s /c`.\n\nStop escalates `SIGINT` → 3 s → `SIGTERM` → 2 s → `SIGKILL`, against the\nprocess group when detached. `onUnload` stops everything.\n\nOutput is kept in a per-process ring buffer (1500 chunks / 200k chars, monotonic\n`seq`) and streamed to the panel by long-polling (`deck.poll`, ≤ 10 s per call,\nunder the host's 30 s panel-channel budget).\n\n## Styling\n\nA plugin page is its own webContents, so the host's stylesheet never reaches it.\nTo keep the tab pixel-consistent with the app, the host's own design system is\nvendored instead of approximated:\n\n- `renderer/host-tokens.css` — the host's `--gray-*` scale, type scale, radii,\n  motion, and the full `--ds-*` semantic set for dark and light, copied from\n  `out/renderer/assets/index-*.css`.\n- `renderer/host-controls.css` — the host's `.btn`, `.btn-primary`,\n  `.btn-secondary`, `.btn-ghost`, `.icon-btn`, `.icon-btn-square` rules verbatim,\n  plus the preflight subset they rely on and a `.field` input built from the same\n  tokens as the host's own search fields.\n- `renderer/deck.css` — layout only. No colour, radius or size is invented here.\n\nTheme and language come from the host API, not from CSS:\n`pluginBridge.invoke(\"app.getAppearance\")` returns `{ theme, base, locale }` and\n`pluginBridge.on(\"appearance:changed\", …)` pushes later changes (switching the\napp theme, the system appearance, or the interface language). `app.js` writes\n`data-theme=\"light|dark\"` on `\u003chtml\u003e` to pick the token block and re-themes xterm\nfrom `--ds-bg-inset` / `--ds-text-primary`. There is no `--pi-plugin-panel-theme`\nCSS variable, and an embedded view has no `pi-plugin-panel-chrome` element, so an\nunknown appearance falls back to `prefers-color-scheme`, never to a hard-coded\ndark. Strings live in one `STRINGS = { en, zh }` table: `zh*` locales read\nChinese, everything else reads English. `workspace:changed` is also subscribed,\nso switching project refills the list immediately.\n\nThe full rules (and the signals that look right but are not) are in\n[`../AGENTS.md`](../AGENTS.md).\n\nWhen the host stylesheet changes, re-copy those two files.\n\n## Manifest\n\n```json\n\"contributes\": {\n  \"views\": [\n    {\n      \"id\": \"deck\",\n      \"title\": { \"en\": \"Run Deck\", \"zh-CN\": \"启动台\" },\n      \"icon\": \"terminal\",\n      \"entry\": \"renderer/index.html\",\n      \"order\": 20\n    }\n  ]\n},\n\"permissions\": [\"ui.view\", \"agent.tool.register\"]\n```\n\nNo `contributes.commands`: like `git-workbench`, the view is reachable from the\nwork panel's own picker (`pi.desktop.plugin/views` → `{title, icon, pluginName}`),\nso the plugin does not need to open anything itself.\n\n`ui.view` requires the plugin being active in the current project; the view is a\nper-session tab, so the same plugin shows a different list in each project.\n`title` and `icon` are optional — `title` accepts an i18n object, `icon` must be\none of the host's view icon tokens (an unknown one renders as a letter tile).\n\n## Development\n\n`DevPluginWatcher` reloads the plugin on any edit under this directory. Rapid\nsuccessive saves can race an unload and leave the plugin unloaded\n(`plugin.reload.error: Plugin host process is no longer active`) — reload it from\nthe Plugins page if the tab stops responding.\n",
      "safetyNotes": "Runs the commands the user writes, through the user's own login shell, in the launch's working directory (the project root when unset), with the optional environment overrides merged in. Output is captured in memory and shown in a read-only terminal. At load it runs the user's shell once, interactively and as a login shell, to read the real PATH; that probe is capped at 5 seconds and everything except the PATH value is discarded. Launch configuration is stored only in the plugin's private data directory, never in the workspace, and environment values are stored there in plain text. No network access and no other files are read.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-27T05:28:30Z",
          "changelog": "## Run Deck 0.1.0\n\n工作面板里的「启动台」标签页：按项目保存启动命令，一键启动与停止，实时看输出。\n\n- 启动项支持 `cwd`（`~`、相对、绝对路径）与 `env`（每行 `KEY=value`，原样传给进程）\n- 弹窗编辑：行内铅笔图标或 ＋ 打开，命令框多行，`Cmd`/`Ctrl`+`Enter` 保存；双击行启动或停止\n- 输出面板按项目记忆，启动后自动展开；浅色主题下面板与页面同色\n- 加载时用你自己的登录 shell 探测一次 PATH，uv、cargo、nvm 等不再“未安装”\n- Agent 工具仅 CRUD：`run_deck_list` / `create` / `update` / `delete`\n- 配置只存在插件私有数据目录，不写工作区；环境变量以明文保存在其中\n\nFirst release. Requires PI-Desktop 0.23.0 or newer.",
          "minPiDesktop": "\u003e=0.23.0",
          "shasum": "aeea52075537fe6c442bbd1a35a1c3562c0dea5a67368444f7815c16ec4a325f",
          "url": "packages/local.run-deck-0.1.0.piplug",
          "sizeBytes": 394239,
          "permissions": [
            "agent.tool.register",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/itzhoujun/pi-desktop-plugin",
            "sourceRef": "run-deck-v0.1.0",
            "sourceCommit": "1ce27113876568a818dd5df863566321f77a2936",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-27T05:25:59Z"
          }
        }
      ]
    },
    {
      "id": "local.agy-cli",
      "name": "AGY CLI",
      "description": "Run the locally installed Antigravity CLI from PI-Desktop. Submit development tasks in the background, view their status and output, and cancel running tasks.",
      "author": "",
      "categories": [
        "agents-workflow",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 14,
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-11-26T02:50:55Z",
          "changelog": "首次提交插件市场，版本 0.3.0。\n- 支持后台提交 AGY 任务，按任务 ID 查询状态和输出，并可取消运行中的任务。\n- 在右侧 Antigravity 面板查看任务记录和日志；支持设置默认模型和代理。\n- 需要 PI-Desktop 0.22.0 或更高版本，以及已在本机登录的 AGY CLI。",
          "minPiDesktop": "\u003e=0.22.0",
          "shasum": "b2c57ba550c2a69b6076da2ab1bfad8ae16146924f414c9b6f977206ce25c659",
          "url": "packages/local.agy-cli-0.3.0.piplug",
          "sizeBytes": 175145,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chenliang2023/pi-desktop-agy-cli",
            "sourceRef": "v0.3.0",
            "sourceCommit": "a11b223d6e123dc607d85e1da8fbebb0f73b0d88",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-26T02:48:16Z"
          }
        }
      ]
    },
    {
      "id": "local.hindsight.memory",
      "name": "Hindsight Memory",
      "description": "Hindsight Memory — PI-Desktop 插件\r\n一个插件，两部分：\r\n\r\n长期记忆（agent 侧）：包装官方 @vectorize-io/hindsight-coding-agents 的 pi 扩展，会话开始自动召回、 结束自动写回，并修掉 PI-Desktop 与上游之间的两处不兼容。\r\n配置面板（人侧）：工作面板「Hindsight 记忆」标签页，编辑 ~/.hindsight/coding-agent.json、 浏览/搜索/阅读 knowledge page、看同步诊断、向库提问。",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "Hindsight Memory",
          "description": ""
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 251,
      "versions": [
        {
          "version": "0.2.3",
          "publishedAt": "2026-11-09T08:15:15Z",
          "changelog": "## 0.2.3\n\n- 修复：统计页用量改用本机累计数据，1/7/30 天范围可正确切换，按天分布覆盖多日\n- 文档：安全说明补充统计页的本地缓存文件（~/.hindsight/pi-desktop-llm-usage.json）",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "ec9e81c83bcabb8dc4991f2c95e1ba6f55f1aec01490fd6eabe16ebb60682e4b",
          "url": "packages/local.hindsight.memory-0.2.3.piplug",
          "sizeBytes": 2413555,
          "permissions": [
            "agent.extension",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-hindsight-memory",
            "sourceRef": "v0.2.3",
            "sourceCommit": "5fe17d0cd4b16c2af9b28e4ec8b9f94292f0c8a2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-09T08:13:16Z"
          }
        },
        {
          "version": "0.2.2",
          "publishedAt": "2026-11-05T10:12:37Z",
          "changelog": "## 0.2.2\n\n**新增**\n- 新增「统计」页：按周期查看 Hindsight 服务端的 LLM 调用量与 token，并支持按模型拆分。\n- 按模型的费用估算：价格目录取自 PI-Desktop 自带的 models.dev，也可以在面板里手填并保存，估算结果仅供参考。\n- 按模型的用量在本地增量缓存（只存按模型、按小时的 token 数，不存 prompt 和回答文本），再次打开不必重新拉取全部调用明细。\n\n**调整**\n- 诊断页精简。\n- 诊断页文档类型提示里的占位符不再使用尖括号。\n\n**说明**\n- 新增两个本地文件，都在 `~/.hindsight/` 下：`pi-desktop-llm-usage.json`（用量缓存）和 `pi-desktop-prices.json`（你填写的价格）。\n- 统计页需要 Hindsight 服务端支持 `/llm-requests/stats`；旧版本服务端会给出升级提示。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "5a8a85e92f4501c6e701a7062ad856815b2945e818dbb02336bb53fc42eeef3f",
          "url": "packages/local.hindsight.memory-0.2.2.piplug",
          "sizeBytes": 2409285,
          "permissions": [
            "agent.extension",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-hindsight-memory",
            "sourceRef": "v0.2.2",
            "sourceCommit": "b1b0c27031c1fe811b48faf399c512ade010fa08",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T10:10:56Z"
          }
        },
        {
          "version": "0.2.1",
          "publishedAt": "2026-11-04T08:29:13Z",
          "changelog": "## 0.2.1\n\n**修复**\n- 写回不再每轮覆盖整个会话文档。PI-Desktop 的 `getBranch()` 是空桩，且 `agent_end` 只给本次 run 的消息，旧实现因此每轮 `replace` 服务端文档，丢失前面各轮的记忆并反复触发 consolidation。现在插件按会话累积转录（镜像到 `~/.hindsight/pi-desktop-transcripts/`，仅所有者可读，30 天后清理），上游因此只 `append` 新增部分。\n\n**新增**\n- 面板新增「知识页刷新触发」`pageTriggerType` 与「知识页刷新计划」`pageTriggerCron`，并校验 cron。\n- 知识页刷新默认改为每天一次（`H H * * *`），上游默认是每小时。每次重建约 10 次 LLM 调用，实测每小时重建占一个 bank 约 73% 的 LLM 请求。配置文件里已写的值仍然优先；想要旧行为填 `H * * * *`。\n\n**升级提示**\n- 已有会话在升级后的第一次写回会用完整转录做一次 `replace`，之后才是 `append`。\n- 之前被覆盖的历史记忆不会自动恢复。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "f2b27f456c801416d3e9f142ee3cc51d0c357d5e59e7c79a1e8e5c7a218641f9",
          "url": "packages/local.hindsight.memory-0.2.1.piplug",
          "sizeBytes": 2341483,
          "permissions": [
            "agent.extension",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/zwwangoo/pi-hindsight-memory",
            "sourceRef": "v0.2.1",
            "sourceCommit": "0b5e5c9aac0d04ffec35a5f8b778166d2c5fac20",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T08:26:42Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-10-27T07:50:57Z",
          "changelog": "- 长期记忆（agent 侧）：包装官方 @vectorize-io/hindsight-coding-agents 的 pi 扩展，会话开始自动召回、 结束自动写回，并修掉 PI-Desktop 与上游之间的两处不兼容。\n- 配置面板（人侧）：工作面板「Hindsight 记忆」标签页，编辑 ~/.hindsight/coding-agent.json、 浏览/搜索/阅读 knowledge page、看同步诊断、向库提问。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "651e8a63698bc4c27d446e79bce807c35a567ec63b13efb0f36260a8e2b6f81f",
          "url": "packages/local.hindsight.memory-0.2.0.piplug",
          "sizeBytes": 2351580,
          "permissions": [
            "agent.extension",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "local.pi-session-filter",
      "name": "会话来源过滤(适用于只想显示PI-Desktop自己的会话)",
      "description": "在侧边栏按来源和时间筛选会话：勾选你想看到的（PI-Desktop 原生会话 / Pi 会话 / 最新 / 近 7 天 / 近 14 天 / 更早），不勾就是全部显示。项目标题栏上有一个漏斗按钮。",
      "author": "麦铭",
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 147,
      "homepage": "https://github.com/mai-ming/pi-desktop-session-filter",
      "safetyNotes": "Hides sidebar rows by marking them with an attribute and hiding them with one style element this plugin mounts in the host window. Adds one filter button to each project header. Registers one resident service that does no work: it exists only so the host announces the plugin to the renderer process at startup, because the boot-time plugin restore does not send the renderer's pluginChanged event. Reads no files, sends no network requests, and never touches session data.",
      "versions": [
        {
          "version": "0.4.0",
          "publishedAt": "2026-10-14T11:51:12Z",
          "changelog": "每个项目各一套过滤。 Per-project filter sets: what you tick in one project no longer changes any other project.\n\nThe set belongs to the project the menu was opened from. The project key is the host's own data-sidebar-project-group (the normalized project path — the very attribute the host's drag-and-drop hit test reads), so it survives restarts and sidebar reordering. 项目文件夹真的改名（路径变了）时，那一套设置退回默认，不会串到别的项目上。\nThe menu title names the project, 和 says 跟随默认 while that project is still on the default set.\nTwo new rows: 跟随默认 drops this project's own set; 应用到全部项目 hands the current set to every project and clears the rest.\n设置里新增 projectFilters（项目键 → 过滤键 的 JSON 表）。原来的 filters 变成「默认显示哪些会话」：没单独设置过的项目、置顶会话和「临时对话」都跟随它。\nRemote project groups carry no host key, so their set is filed under the group name (title:\u003cname\u003e).\n188 offline assertions in npm test, including two projects changing independently in both directions and the name fallback.",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "d4f44cae088812fe8e61df299bc051bd88410c515204e7ef12268846316aeb4a",
          "url": "packages/local.pi-session-filter-0.4.0.piplug",
          "sizeBytes": 111434,
          "permissions": [
            "background.service",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mai-ming/pi-desktop-session-filter",
            "sourceRef": "v0.4.0",
            "sourceCommit": "2e6c07a9f47f63faf97ee58fa840acd11f018479",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-14T09:08:34Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-10-14T07:57:37Z",
          "changelog": "首个公开版本。侧边栏按来源与时间筛选会话：项目标题栏上的漏斗按钮打开多选清单（全部显示 / PI-Desktop 原生会话 / Pi 会话 / 最新 / 近 7 天 / 近 14 天 / 更早），勾什么显示什么，取消全部勾选自动回到「全部显示」。按钮与宿主自己的 ⋯、＋ 同一套画风（悬停才出现）；菜单沿用宿主的弹层样式，跟随主题。只做显示层过滤，不动会话与文件。123 项离线断言，隐藏效果按计算样式校验。",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "e512ba5abacaefdbb8d94c94eac9077543789da60a70ad658f162f35af583273",
          "url": "packages/local.pi-session-filter-0.3.0.piplug",
          "sizeBytes": 86932,
          "permissions": [
            "background.service",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mai-ming/pi-desktop-session-filter",
            "sourceRef": "v0.3.0",
            "sourceCommit": "9d7f4af1b61bdfbb02b1303802d7c2c6daac2fa7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-14T05:44:42Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.ast-lens",
      "name": "AST Lens",
      "description": "The agent reads code as code: structural search and rewrite with ast-grep, and go-to-definition, references, rename, hover, symbols and diagnostics from the language server picked by the file extension, and a debugger that shows the stack and values at a breakpoint, instead of grepping text.",
      "author": "Eskwisit",
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 80,
      "versions": [
        {
          "version": "0.9.0",
          "publishedAt": "2026-11-17T09:56:39Z",
          "changelog": "# Changelog\n\n## 0.9.0\n\n### Features\n\n- **extension:** report diagnostics of the changed files after an ast_grep apply (`00f63de`)\n- **extension:** block sed and perl identifier renames in code files (`ff1051a`)\n\n### Documentation\n\n- keep only the 0.7.1 section in the changelog (`61f5512`)\n- **skills:** rely on the rename guard and the apply diagnostics (`0c72252`)\n- **readme:** describe the rename guard and the apply diagnostics (`2bf6781`)\n\n### Tests\n\n- **tests:** cover the rename guard and the diagnostics after apply (`3a149eb`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "1049aaae9a68da75338202511bb598c6bf5933aa4c5909deb601f226eb1ccb30",
          "url": "packages/eskwisit.ast-lens-0.9.0.piplug",
          "sizeBytes": 300180,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-ast-lens",
            "sourceRef": "v0.9.0",
            "sourceCommit": "fdf1b3c8a24218d4b10983cc402d6f8fe2618f16",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T09:54:25Z"
          }
        },
        {
          "version": "0.7.1",
          "publishedAt": "2026-11-08T08:08:33Z",
          "changelog": "# Changelog\n\n## 0.7.1\n\n### Fixes\n\n- **extension:** add the prompt section to each request, not to the stored prompt (`2184393`)\n\n### Tests\n\n- cover the request payload shapes and the unchanged stored prompt (`6d46a91`)\n\n## 0.7.0\n\n### Breaking changes\n\n- rename the plugin to ast lens (`25ca35b`)\n- **extension:** ast index, tsgo and rename; drop strict mode (`6acdf45`)\n\n### Features\n\n- **extension:** add a debug tool: stack and values at a breakpoint (`eddd1a3`)\n- **skills:** teach rename, folder outlines and the debug tool (`9a079c5`)\n\n### Documentation\n\n- **manifest:** describe rename, the debug tool and the ast index (`f936729`)\n- **readme:** show what ast lens saves, in tokens and time (`78aa878`)\n\n### Tests\n\n- cover the ast index, rename edits, imports and debug snapshots (`30d8c61`)\n- run rename, the ast index and debug probes end to end (`43090f3`)\n- add a scripted benchmark with ground truth and a gate (`545322f`)\n- compare the benchmark with releases from before the rename (`1a0ed95`)\n\n### CI\n\n- gate on the scripted benchmark on linux (`4409af7`)\n\n### Chores\n\n- rename the plugin to ast lens in the changelog (`17f179e`)\n\n## 0.3.2\n\n### Fixes\n\n- **extension:** share one typescript server across all tsconfigs (`b5cfa50`)\n- **extension:** find references in every tsconfig project of a monorepo (`50e144b`)\n\n### Documentation\n\n- **readme:** show what AST Lens adds, with measured size and speed (`3a8c1b0`)\n\n### Tests\n\n- cover the outermost workspace root and the files that hold a name (`138bf10`)\n- find references across tsconfig projects with one server (`48e4a89`)\n\n## 0.3.0\n\n### Features\n\n- **extension:** read code with ast-grep and language servers, not grep (`87a058b`)\n- **skills:** add the AST Lens skill for patterns, rules and lsp traces (`52e77d1`)\n- **manifest:** declare the agent extension, skill and permissions (`f4f3b67`)\n\n### Documentation\n\n- **readme:** describe the tools, platforms, requirements and settings (`230fd02`)\n\n### Tests\n\n- cover language inference, launching, the lsp wire and grep steering (`38af3ea`)\n- run the tools end to end with ast-grep, clangd and typescript (`d6322d5`)\n- cover the manifest texts, license and contributed files (`e0e575c`)\n- add a test entry point for node --test tests/ (`ef66cc0`)\n\n### CI\n\n- add the changelog notes script (`0eb3015`)\n- publish a release when the manifest version changes (`56d2433`)\n- run the tests on linux, macos and windows (`1d48716`)\n\n### Chores\n\n- ignore build output and piplug files (`6183ab7`)\n- license the plugin under apache-2.0 (`d6ac71a`)\n- **manifest:** start the version at 0.0.0 for the first release (`09e278c`)\n\n### Style\n\n- **manifest:** write the short arrays on one line (`a7c38b0`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "f420303539f3f497d711f70c8375dbcea9cd771fad68c2a974797a1be6b76321",
          "url": "packages/eskwisit.ast-lens-0.7.1.piplug",
          "sizeBytes": 290521,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-ast-lens",
            "sourceRef": "v0.7.1",
            "sourceCommit": "0d3014693bb9f17c46cbb774f3f5e44cfe069606",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T16:35:38Z"
          }
        },
        {
          "version": "0.7.0",
          "publishedAt": "2026-11-07T08:14:56Z",
          "changelog": "# Changelog\n\n## 0.7.0\n\n### Breaking changes\n\n- rename the plugin to ast lens (`25ca35b`)\n- **extension:** ast index, tsgo and rename; drop strict mode (`6acdf45`)\n\n### Features\n\n- **extension:** add a debug tool: stack and values at a breakpoint (`eddd1a3`)\n- **skills:** teach rename, folder outlines and the debug tool (`9a079c5`)\n\n### Documentation\n\n- **manifest:** describe rename, the debug tool and the ast index (`f936729`)\n- **readme:** show what ast lens saves, in tokens and time (`78aa878`)\n\n### Tests\n\n- cover the ast index, rename edits, imports and debug snapshots (`30d8c61`)\n- run rename, the ast index and debug probes end to end (`43090f3`)\n- add a scripted benchmark with ground truth and a gate (`545322f`)\n- compare the benchmark with releases from before the rename (`1a0ed95`)\n\n### CI\n\n- gate on the scripted benchmark on linux (`4409af7`)\n\n### Chores\n\n- rename the plugin to ast lens in the changelog (`17f179e`)\n\n## 0.3.2\n\n### Fixes\n\n- **extension:** share one typescript server across all tsconfigs (`b5cfa50`)\n- **extension:** find references in every tsconfig project of a monorepo (`50e144b`)\n\n### Documentation\n\n- **readme:** show what AST Lens adds, with measured size and speed (`3a8c1b0`)\n\n### Tests\n\n- cover the outermost workspace root and the files that hold a name (`138bf10`)\n- find references across tsconfig projects with one server (`48e4a89`)\n\n## 0.3.0\n\n### Features\n\n- **extension:** read code with ast-grep and language servers, not grep (`87a058b`)\n- **skills:** add the AST Lens skill for patterns, rules and lsp traces (`52e77d1`)\n- **manifest:** declare the agent extension, skill and permissions (`f4f3b67`)\n\n### Documentation\n\n- **readme:** describe the tools, platforms, requirements and settings (`230fd02`)\n\n### Tests\n\n- cover language inference, launching, the lsp wire and grep steering (`38af3ea`)\n- run the tools end to end with ast-grep, clangd and typescript (`d6322d5`)\n- cover the manifest texts, license and contributed files (`e0e575c`)\n- add a test entry point for node --test tests/ (`ef66cc0`)\n\n### CI\n\n- add the changelog notes script (`0eb3015`)\n- publish a release when the manifest version changes (`56d2433`)\n- run the tests on linux, macos and windows (`1d48716`)\n\n### Chores\n\n- ignore build output and piplug files (`6183ab7`)\n- license the plugin under apache-2.0 (`d6ac71a`)\n- **manifest:** start the version at 0.0.0 for the first release (`09e278c`)\n\n### Style\n\n- **manifest:** write the short arrays on one line (`a7c38b0`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "e4895d67821a25478efe7a746188076c75ebc8652d36c9560ec22a2b353a604a",
          "url": "packages/eskwisit.ast-lens-0.7.0.piplug",
          "sizeBytes": 285757,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-ast-lens",
            "sourceRef": "v0.7.0",
            "sourceCommit": "81d4f7a037d3861e67644f0e39c0b305bfc01ae1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T08:10:40Z"
          }
        }
      ]
    },
    {
      "id": "io.github.w1ndys.pi-open-git-web",
      "name": "在浏览器打开仓库",
      "description": "读取当前仓库的 origin，在默认浏览器打开对应网页。",
      "author": "w1ndys",
      "i18n": {
        "en": {
          "name": "Open repository in browser",
          "description": "Read the current repository origin and open the corresponding page in the default browser.",
          "safetyNotes": "Reads only the raw origin fetch URL, normalizes it to http(s), and opens it in the default browser. It does not read the .git directory, write files, use the network, or read or write the clipboard. Usernames and passwords are removed before opening."
        },
        "zh-CN": {
          "name": "在浏览器打开仓库",
          "description": "读取当前仓库的 origin，在默认浏览器打开对应网页。",
          "safetyNotes": "只读 origin 原始地址，规范成 http(s) 后用默认浏览器打开；不读 .git 目录，不写文件，不访问网络，不读写剪贴板；用户名和口令会在打开前去掉。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 149,
      "homepage": "https://github.com/w1ndys/pi-open-git-web",
      "readmeMarkdown": "# 在浏览器打开仓库\n\nPI-Desktop 插件（`io.github.w1ndys.pi-open-git-web`）：读取当前工作区 origin 的原始地址，在默认浏览器打开对应网页。\n\n仓库：https://github.com/w1ndys/pi-open-git-web\n\n## 使用\n\n1. 安装或加载本插件。\n2. 打开一个 git 项目，且该仓库有 `origin`。\n3. 在输入框输入 `/gitweb` 回车。后面不能带文字，否则宿主不会执行。\n\n命令面板搜「在浏览器打开仓库」也可以。斜杠和命令面板共用命令 id `gitweb`。\n\n## 行为\n\n- 只读 `remote.origin.url` 的原始 fetch 地址，命令是 `/usr/bin/git -C \u003c工作区\u003e config --get-all remote.origin.url`，取第一条非空行。\n- 不用 `git remote get-url`（会应用 insteadOf），也不用 `git config --get`（多值时返回最后一条）。\n- 忽略 `remote.origin.pushurl`。没有 origin 就失败，不改用其他 remote。\n- `user@host:path`、`ssh://`、`git+ssh://`、`git://` 会规范成 https。已是 http(s) 的保留协议、主机和端口，并去掉用户信息、查询串和片段。\n- 不读 `.git` 目录，不写文件，不访问网络，不读写剪贴板。\n\n没有工作目录、不是 git 仓库、没有 origin、地址不能变成网页，或浏览器没有打开时，都会用 toast 说明原因，不会静默失败。\n\n## 检查\n\n```bash\nnpm run check\n```\n\n## 权限\n\n只声明 `shell.openExternal` 和 `notify`。提示用 `pi.ui.showToast`。不声明 `clipboard.write`。\n",
      "safetyNotes": "只读 origin 原始地址，规范成 http(s) 后用默认浏览器打开；不读 .git 目录，不写文件，不访问网络，不读写剪贴板；用户名和口令会在打开前去掉。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-05T08:36:02Z",
          "changelog": "首个版本：一条无参数命令 `/gitweb`，读取当前仓库 origin 的原始 fetch 地址，规范成 http(s) 后用系统默认浏览器打开。\n\n- 只读 `remote.origin.url`，取第一条非空行，忽略 `pushurl`。\n- scp、`ssh://`、`git+ssh://`、`git://` 规范成 https，去掉用户名、口令与协议端口。\n- 没有工作目录、不是 git 仓库、没有 origin、地址不能变成网页、浏览器没打开，都会明确提示。\n- 权限只声明 `shell.openExternal` 与 `notify`；不读 `.git` 目录，不写文件，不访问网络，不碰剪贴板。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "33ec9a6a1124a95321482bdbd58f604458d22c379a313e91095b4c9236a80d14",
          "url": "packages/io.github.w1ndys.pi-open-git-web-0.1.0.piplug",
          "sizeBytes": 32362,
          "permissions": [
            "notify",
            "shell.openExternal"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/w1ndys/pi-open-git-web",
            "sourceRef": "v0.1.0",
            "sourceCommit": "c282959a6f2532078a35c6717eadc9490302df77",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-05T08:35:37Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-desktop-install-guard",
      "name": "一次装到位",
      "description": "给 PI-Desktop 写插件并装到位：先分清 Desktop 和 PI CLI，再按官方模板写 manifest/技能/面板，然后 Scaffold → Check → Pack → 插件页装 .piplug。不是给 Windows 桌面装软件。",
      "author": "YahooYuan666",
      "i18n": {
        "en": {
          "name": "PI-Desktop Install Guard",
          "description": "Write and install PI-Desktop plugins in one pass: official templates and marketplace fields, then Scaffold → Check → Pack → install the .piplug. Distinguishes PI-Desktop from PI CLI. Not a Windows desktop-layout installer.",
          "safetyNotes": "Instruction documents only. Does not edit the plugin registry, click Install, start MCP servers, read secrets, or touch the Windows desktop."
        },
        "zh-CN": {
          "name": "一次装到位",
          "description": "给 PI-Desktop 写插件并装到位：先分清 Desktop 和 PI CLI，再按官方模板写 manifest/技能/面板，然后 Scaffold → Check → Pack → 插件页装 .piplug。不是给 Windows 桌面装软件。",
          "safetyNotes": "只注入安装与写作规则。不改 registry、不替用户点安装、不拉起 MCP、不读密钥、不动 Windows 桌面。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 118,
      "homepage": "https://plugins.aiuo.net/plugins/local.pi-desktop-install-guard",
      "repository": "https://plugins.aiuo.net/plugins/local.pi-desktop-install-guard",
      "readmeMarkdown": "# 一次装到位 / PI-Desktop Install Guard\n\n**项目用途：** 给 **PI-Desktop** 写插件、装插件、迁技能、修 MCP。让 Agent 按官方模板写好，再一次装到正式路径（`.piplug` → `source:installed`），并且不要和 **PI CLI** 搞混。\n\n**不是：** 不是给 Windows 桌面装应用、快捷方式、文件夹，也不是还原桌面布局。本包不碰桌面图标。\n\nThis is a **PI-Desktop skill pack**. It teaches the agent how to **write** Desktop plugins (official templates + marketplace fields) and how to install them in one pass, without mixing them with PI CLI packages, Codex MCP wrappers, or same-named `SKILL.md` folders.\n\nIt is **not** a Windows desktop installer and does **not** restore desktop shortcuts or layout.\n\n本包只注入规则。不改 `registry.json`、不替你点安装、不拉起 MCP、不读密钥。\n\nThe plugin only injects instructions. It does not edit the registry, click Install, start MCP, or read secrets.\n\n## 你怎么用 / When to use\n\n| 你说 | 它做什么 | English |\n|---|---|---|\n| 做个 Desktop 插件 / 写插件 / 装插件 | 先按官方模板写，再 PluginScaffold → Check → Pack → 请你在插件页装 `.piplug` | Write against official templates, then scaffold, check, pack, install |\n| 插件页还是 0.1.0 / 脚手架名 | 不手改登记；打包后再在插件页装一次 | Do not hand-edit the registry; pack and install again |\n| MCP 连接失败 | 只改 `~/.agents/servers`；stdio 用绝对路径；http 用 HTTPS | Edit Desktop user MCP only; absolute stdio; HTTPS for http |\n| 把 Codex / zcode / PI CLI 的技能搬过来 | 改写成唯一入口文件名，再钉成 `.piplug` | Rewrite unique skill filenames, then nail a `.piplug` |\n| 这是给 PI 命令行用的 | 停，改走 `pi install` / `SKILL.md` | Stop; that is PI CLI, not this plugin |\n\n## 技能文件 / Skills\n\n入口文件名必须互不相同，否则 PI-Desktop 会把技能折成一个。\n\nSkill entry filenames must be unique or PI-Desktop folds them into one runtime id.\n\n| 文件 | 何时用 | When |\n|---|---|---|\n| `skills/pi-desktop-install-guard.md` | 分类 + 钉住插件 | Classify product line and nail the plugin |\n| `skills/desktop-plugin-author.md` | 怎么写插件（模板、manifest、市场上架） | How to write a plugin |\n| `skills/desktop-mcp.md` | Desktop 用户 MCP | Desktop user MCP only |\n| `skills/desktop-migrate.md` | 从其他产品线改写 | Rewrite from zcode / Codex / PI CLI |\n\n例外手改登记：`references/recovery.md`（不当作技能入口）。\n\n## 权限 / Permissions\n\n| 权限 | 用途 |\n|---|---|\n| `agent.prompt.inject` | 把安装与写作规则注入 Agent。不写盘、不联网、不改桌面。 |\n\n## 能力 / 数据流\n\n| 能力 | 数据 | 方向 |\n|---|---|---|\n| `agent.prompt.inject` | 本插件 `skills/*.md` 与 `references/recovery.md` | 注入当前会话；不读聊天记录、不外传 |\n| 文件系统 / 网络 / 剪贴板 / MCP / Windows 桌面 | 无 | 不申请、不使用 |\n\n## 安装本插件 / Install this plugin\n\n开发：插件页已指向本目录时，保存即热更新。`source:dev` 只表示正在做，不等于已安装。\n\n给以后用：插件页安装 `dist/local.pi-desktop-install-guard-1.2.0.piplug`。\n\n不要手改 `registry.json`。不要把本目录登记成 PI CLI package。\n\n## 许可 / License\n\nMIT。规则来自本机已验证的 PI-Desktop 安装/迁移经验，不是官方市场插件。\n",
      "safetyNotes": "只注入安装与写作规则。不改 registry、不替用户点安装、不拉起 MCP、不读密钥、不动 Windows 桌面。",
      "versions": [
        {
          "version": "1.2.0",
          "publishedAt": "2026-09-19T06:12:54Z",
          "changelog": "1.2.0：加上「怎么写 Desktop 插件」技能，对照官方 CONTRIBUTING 与三个 demo。1.1.0：对外说明改成「给 PI-Desktop 装插件」。1.0.0：按已验证经验写成技能包。",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "47f72829229002fbb229ef6f85e8d567ae2f4c114aecea0e5243631b2c0585e0",
          "url": "packages/local.pi-desktop-install-guard-1.2.0.piplug",
          "sizeBytes": 27275,
          "permissions": [
            "agent.prompt.inject"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "cc.fee.pi-terminal",
      "name": "PI-Terminal",
      "description": "A real terminal the agent can drive: multi-session local shells and SSH, command read/write, upload/download, host and settings management, bastion/jump hosts, host-key checks, all well supported across platforms.",
      "author": "Sunrise",
      "i18n": {
        "zh-CN": {
          "name": "",
          "description": "Agent 管理的真实终端：支持本地 shell 与 SSH 多会话管理、命令读写、上传下载、主机管理、设置管理、跳板机与主机指纹校验，跨平台支持良好。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cc",
      "downloads": 307,
      "homepage": "https://github.com/yanecc/PI-Terminal",
      "readmeMarkdown": "# PI-Terminal\r\n\r\n**A terminal in PI-Desktop's work panel** — local shells and SSH sessions over a\r\nreal pty, with tabs, saved hosts, agent read/write access, and file transfers\r\nover the same authenticated SSH connection.\r\n\r\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\r\n![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)\r\n![Plugin id](https://img.shields.io/badge/plugin%20id-cc.fee.pi--terminal-informational)\r\n\r\n- **Plugin id** `cc.fee.pi-terminal`\r\n- **Version** 1.0.0\r\n- **Requires** PI-Desktop 0.20.0+\r\n- **Author** Sunrise · **License** Apache-2.0\r\n\r\n---\r\n\r\n## Features\r\n\r\n- **Local shells** — a real pty (not a pipe), so `vim`, `top`, `ssh`, `python`\r\n  and anything else that needs a TTY behaves exactly as in a native terminal.\r\n  Local terminals inherit the full system PATH, including entries added after\r\n  PI-Desktop started.\r\n- **SSH sessions** — key, ssh-agent or password auth, jump hosts (up to 4 hops),\r\n  keepalive, and host-key verification in OpenSSH `known_hosts` format. A\r\n  changed fingerprint always refuses the connection; there is no \"ignore once\".\r\n- **Tabs and session management** — inline rename, right-click menu (copy\r\n  session id / rename), per-session output ring buffer addressed by a monotonic\r\n  `seq`, a live-session limit, and a status line that says whether output is\r\n  streaming or falling back to polling.\r\n- **Saved hosts** — grouped, collapsible, editable; the form shows only the\r\n  fields the chosen authentication needs, and a saved secret is never echoed\r\n  back.\r\n- **File transfers** — upload and download files *and* folders over the same\r\n  already-authenticated SSH connection (`ssh2-sftp-client`), with no second\r\n  handshake and no second use of the credentials.\r\n- **Agent access** — eight tools the model can call, split by risk. Reads are\r\n  redacted; writes to a shell, file moves and credential-touching actions ask\r\n  you first.\r\n- **Follows PI-Desktop** — language (English / 简体中文) and light/dark theme\r\n  come from the host, so the panel never looks like a foreign window.\r\n",
      "versions": [
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-26T16:53:32Z",
          "changelog": "首次发布，基础功能完全可用",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "75f9641e3df48ac13768592dfd5f4998af41dd0d46eea54890d9aa322ead41fb",
          "url": "packages/cc.fee.pi-terminal-1.0.0.piplug",
          "sizeBytes": 6138546,
          "permissions": [
            "agent.tool.register",
            "clipboard.read",
            "clipboard.write",
            "net.fetch",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "com.dragonnahs.session-usage-toolbar",
      "name": "Session Usage Toolbar",
      "description": "在 PI-Desktop 输入框工具栏放一个用量图标，点开即看当前会话的 Token 消耗。",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "",
          "description": "在 PI-Desktop 输入框工具栏放一个用量图标，点开即看当前会话的 Token 消耗。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "dragonnahs",
      "downloads": 113,
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-11-06T10:46:31Z",
          "changelog": "- **分类统计**：输入 / 缓存命中 / 缓存创建 / 输出 / 思考\n- **总览**：总消耗与缓存命中率环形进度\n- **趋势与模型**：最近 12 次回复的趋势图、按模型分布\n- **回复明细**：独立滚动，每行显示该次请求的分类消耗\n- **跟随会话**：只统计宿主已完成的回合，不读取消息正文",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "c4da8d3b5ebba2ffc87b41c57d06db9ab6b0c0917fbceac6dcc57ff2ca64d736",
          "url": "packages/com.dragonnahs.session-usage-toolbar-0.3.0.piplug",
          "sizeBytes": 28477,
          "permissions": [
            "renderer.extension",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/dragonnahs/session-usage-toolbar",
            "sourceRef": "v0.3.0",
            "sourceCommit": "994be4968d597ab1ecb7f261ce109eaeea96fcf8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T10:44:39Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.llm-council",
      "name": "LLM Council",
      "description": "A council of five advisors (Contrarian, First Principles, Expansionist, Outsider, Executor), cast from your own models, answers your question, reviews the answers anonymously, and a chairman delivers the verdict.",
      "author": "Eskwisit",
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 87,
      "versions": [
        {
          "version": "0.18.0",
          "publishedAt": "2026-11-17T10:55:40Z",
          "changelog": "# Changelog\n\n## 0.8.0\n\n### Features\n\n- **extension:** block edits of code under test, the fixer agent and short runs (`8069231`)\n- **main:** write guard.json per run, release action and guardMinutes setting (`4b7e54b`)\n\n### Documentation\n\n- **skills:** state the read-only rule once, enforced by the guard (`8d6f0d5`)\n- **subagents:** mention the guard to the writer (`e811bb7`)\n- **readme:** describe the guard, release and guardMinutes (`b592349`)\n\n### Tests\n\n- **tests:** cover the guard file and the extension (`05c0dfc`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "ddc5878b29f00e113ea39d498025cd3d637e55fddd24fe4767a26200f0498221",
          "url": "packages/eskwisit.llm-council-0.18.0.piplug",
          "sizeBytes": 156300,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-council",
            "sourceRef": "v0.18.0",
            "sourceCommit": "c7e409e5a4ed454ddcb3d7a4aa4ae4ed87b79f91",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T09:55:43Z"
          }
        },
        {
          "version": "0.16.2",
          "publishedAt": "2026-11-12T20:20:12Z",
          "changelog": "# Changelog\n\n## 0.16.2\n\n### Breaking changes\n\n- **main:** drop the clerk seat; the title comes with the report call (`ff464e5`)\n- **main:** one council tool with an action instead of four tools (`f1044ce`)\n\n### Performance\n\n- **subagents:** shorter persona prompts and descriptions (`f77f80c`)\n- **skills:** drop the design notes, name the council tool and its actions (`863cd73`)\n\n### Documentation\n\n- keep the design notes in docs/design-notes.md (`1c65118`)\n- **docs:** review the single council tool and six personas (`fd562de`)\n- **readme:** one council tool, six seats, link to the design notes (`418fdf8`)\n\n### Tests\n\n- call the single council tool and cast six seats (`5aeb110`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "5664cbddb12b2391cf4541b58e14e34518e97d138931480c9d68cd3535cafda9",
          "url": "packages/eskwisit.llm-council-0.16.2.piplug",
          "sizeBytes": 133672,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-council",
            "sourceRef": "v0.16.2",
            "sourceCommit": "7df7c4805d3176893f14435a27a14d40f7610da1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T20:17:57Z"
          }
        },
        {
          "version": "0.14.0",
          "publishedAt": "2026-11-04T13:24:09Z",
          "changelog": "# Changelog\n\n## 0.14.0\n\n### Breaking changes\n\n- **scripts:** score per advisor, hide labels and remember failed models (`b70e5c1`)\n- **skills:** frame the question and deliver a five-part council verdict (`48ce085`)\n- cast council models from the user's catalog, not hard-coded ones (`44defab`)\n- **manifest:** declare the council tools, run file scopes and settings (`2ca8bdb`)\n- **skills:** drive the council through plugin tools, not a script (`7aac450`)\n\n### Features\n\n- **scripts:** add the council helper with verbatim prompts and failover (`0b2b7f4`)\n- **skills:** add the llm council orchestrator skill (`48d58bb`)\n- **manifest:** register the llm council skill pack (`53b8145`)\n- **subagents:** add the council member, chairman and clerk personas (`5b5fa55`)\n- **scripts:** read seat chains from the personas and install them (`9bb3810`)\n- **skills:** run council seats as persona sub-agents with native failover (`ce31a69`)\n- **subagents:** add five thinking-lens advisors and a verdict chairman (`c8aaa24`)\n- **skills:** cast seats per user, confirm once and reuse the cast (`e8f2d42`)\n- **main:** run the council bookkeeping as agent tools (`cc9134d`)\n\n### Documentation\n\n- **readme:** describe the council, its cast, failover and credits (`31a57d1`)\n- **readme:** explain the persona sub-agents, install and failover (`85ae8d9`)\n- **readme:** describe the advisors, anonymity, failover and credits (`2c0812b`)\n- **readme:** explain casting, exclusions and failover chains (`968c53b`)\n- **readme:** document the tools, permissions, limits and tests (`51db9cb`)\n- add the security review notes (`b796e81`)\n\n### Tests\n\n- add a fake pi-desktop host and a test entry point (`e370c42`)\n- cover ranking, casting, prompts and run paths (`e624ac0`)\n- cover the council tools from config to report (`847e27a`)\n- cover persona install, removal and the manifest (`b236581`)\n\n### CI\n\n- print the changelog section of a version (`20ab4b6`)\n- publish a github release when the manifest version changes (`9c6caa8`)\n\n### Chores\n\n- ignore build output, python caches and council runs (`3640f5c`)\n- **manifest:** rename the plugin to eskwisit.llm-council (`52540ce`)\n- **subagents:** remove the identical member personas (`011e6ed`)\n- **manifest:** describe the five-advisor council (`7889119`)\n- **manifest:** describe model casting and the files it keeps (`f9b0638`)\n- license the plugin under apache-2.0 (`f0189a9`)\n- stop ignoring python caches (`5257934`)\n- **scripts:** remove the python helper (`3ce4c2a`)\n- **subagents:** describe the council as modelled on karpathy's (`549e40f`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "9a88ca6a67883fb9c202c25858ce6526554cebfa759f5aa96b9b3e9c93bc0817",
          "url": "packages/eskwisit.llm-council-0.14.0.piplug",
          "sizeBytes": 142470,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".llm-council/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-council",
            "sourceRef": "v0.14.0",
            "sourceCommit": "7e64868a1531bc46bdfbf00e484962eb9cfdb5de",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T11:09:05Z"
          }
        }
      ]
    },
    {
      "id": "io.github.new-beginner.session-usage",
      "name": "Session Usage Plus",
      "description": "Session usage in the right work panel, automatically following the visible conversation. /usage refreshes the current conversation without opening a window.",
      "author": "new-Beginner (fork of LectWolf)",
      "i18n": {
        "en": {
          "name": "Session Usage Plus",
          "description": "Session usage in the right work panel, automatically following the visible conversation. /usage refreshes the current conversation without opening a window.",
          "safetyNotes": "Reads local usage metadata and main-window session identity attributes only. renderer.extension is high risk because it runs in the host document; this extension does not read transcript/draft text, use internal IPC, or send data off-device."
        },
        "zh-CN": {
          "name": "会话用量增强版",
          "description": "在右侧工作面板自动跟随当前显示的对话，查看输入、输出、缓存和命中率。/usage 刷新当前会话，不再弹窗。",
          "safetyNotes": "仅读取本机用量元数据和主界面会话身份属性。renderer.extension 因运行在宿主文档中被标为高风险；本扩展不读取消息或输入框正文、不使用内部 IPC、不联网，不注册 Agent 工具。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 628,
      "homepage": "https://github.com/new-Beginner/pi-session-usage",
      "readmeMarkdown": "# 会话用量增强版（Session Usage Plus）\r\n\r\nPI-Desktop 插件。在**右侧工作面板顶部的视图菜单 → 会话用量**查看会话的 token 用量，无需另开窗口。\r\n\r\n**当前版本：1.6.4**。发布采用运行文件白名单，开发记录和截图不进入当前仓库与安装包。子代理按钮和回复明细只显示 **子代理1、子代理2……**，编号无法确认时显示 **子代理？**。内部身份仍用于准确统计与去重，代理按钮随会话动态出现，按模型独立汇总。权限不变，**不改宿主或队列**。\r\n\r\n本项目由 **new-Beginner** 维护，fork 自 [LectWolf/pi-session-usage](https://github.com/LectWolf/pi-session-usage)，保留原作者贡献和 GPL-3.0-only 许可证。1.6.2 起采用独立插件 ID，不覆盖原版市场条目。**安装增强版前停用原版**，避免重复的 `/usage` 命令和视图；旧插件设置不会自动迁移。\r\n\r\n只发布插件源码、合成测试、必要发布脚本、使用说明和许可证。本地任务记录、验证日志、截图、凭据和真实会话数据不应提交；历史提交不因当前分支的删除而自动消失。\r\n\r\n1.6.4 适配官方发布 MCP 支持的 locale 字段；统计逻辑和权限不变。中文历史更新记录保留在仓库的 [CHANGELOG.md](https://github.com/new-Beginner/pi-session-usage/blob/main/CHANGELOG.md)，全局更新日志仍在 manifest 中。\r\n\r\n**覆盖边界：**PI-Desktop 0.18.0 主代理完成时独立保存检查点；只统计明确完成且有真实 usage 的快照，不统计 streaming，不按正文估算。宿主不为子代理保存独立检查点，因此子代理仍需可读的队列/JSONL/SQLite 来源；队列满且子代理尚未保存时仍无法实时显示。不是逐 token 计数，不宣称读取所有代理的内存事件。\r\n\r\n**1.2.0 升级须知：**需要 PI-Desktop ≥ 0.17.0，并重新加载/安装以确认新增的 **`renderer.extension` 高风险权限**。仅保存开发插件文件不会授予新权限。\r\n\r\n输入框输入 **`/usage`**，或命令面板搜「用量」，可恢复跟随当前会话、刷新用量并显示摘要与入口提示；命令不弹窗，也不会自动展开右侧面板。\r\n\r\n- 插件 id：`io.github.new-beginner.session-usage`\r\n- 许可证：[GPL-3.0-only](./LICENSE)\r\n- 源码 / 主页：https://github.com/new-Beginner/pi-session-usage\r\n- 原版作者：[LectWolf](https://github.com/LectWolf/pi-session-usage)\r\n\r\n## 会显示什么\r\n\r\n- 输入（未命中缓存）\r\n- 缓存命中 / **缓存创建**（Claude 的 `cache_creation_input_tokens`，含 5m / 1h）\r\n- 输出、思考\r\n- **命中率** = 缓存命中 /（未命中输入 + 缓存命中 + 缓存创建）\r\n- 逐次用量柱状图、明细、按模型拆分（有助手记录时对应回复；数据库 operation 无时间/耗时则明确标示未记录）\r\n\r\n### 切换主代理与子代理\r\n\r\n- 没有子代理且总和与主代理完全一致时，隐藏顶部及累计、历史图的代理选择器，直接展示主代理数据。新增首个子代理时自动出现选择器并默认查看总和。\r\n- 有子代理时显示 **总和、主代理、子代理1、子代理2……**；顶部选择同时切换累计和历史图，两者不同则显示「自定义」。回复明细始终跟随历史图，模型区不受影响。\r\n- 子代理按照首次识别顺序编号，只显示「子代理1」「子代理2」等短名称，编号无法确认时显示「子代理？」。同名、同模型不会混算；内部仍以 `delegationId` 和调用血缘识别。复用调用合并成同一个子代理，完成、失败或停止后按钮和历史仍保留。\r\n- **按模型**从全会话的去重请求统计，同一模型跨主代理及全部子代理合并；多模型显示 **总和、模型A、模型B……**，只有一个模型时隐藏筛选。缺少模型身份的逐次记录列为未知模型。\r\n- 图表选择哪个代理，明细就显示该代理的请求并标明身份。悬停/键盘聚焦柱子查看对应请求；累计和模型选择不会改变明细。普通刷新保持选择与滚动；切换会话不会遗留不存在的子代理，返回同会话恢复本次面板中保留的选择。\r\n- 未知归属只计入**总和**，不猜测主/子代理。已有真实用量在运行中和读取异常时保持可见；不再显示黄色告警、统计不完整和内部诊断码。没有可显示数据时仅用灰色空状态说明，不伪造零。\r\n- 全局范围下方显示会话级对账，精确列出总和、主代理、子代理和未归属的次数/Token，不使用 k/M 缩写凑平。切换任一区域范围不会改变这份会话对账。未知记录补齐相同 operation 的身份后自动移入主/子分区，累计不重计。\r\n- 仅有回合汇总时显示可用累计，不伪造历史柱、回复明细或模型次数。存在逐次记录时不叠加无法关联的汇总。\r\n\r\n**统计依据：**对选中会话合并 `sessions/\u003cid\u003e.jsonl`、`sessions/\u003cid\u003e.inflight.json` 中 schema=1、身份匹配且 status 为 complete/error/aborted 的助手真实用量、`pi.sqlite` 的 `turns.usage_json`，以及 `session-message-outbox.json` 中明确属于该会话的用量/助手元数据。`parentToolCallId` 提供真实血缘；裸 operation 缺少血缘只计入总和。按 operationId 精确关联，兼容 `desktopUsage` 和 `message:\u003csessionId\u003e:\u003cmessageId\u003e` 身份，同一 operation 取较大的已报告总量。不按模型或时间猜归属，不重复相加 aggregate 和 operations。检查点覆盖/删除及队列排空不撤回已测得用量，后续落盘补元数据但不重计。插件设置只保存最近 16 个明确查看过会话的完成 token/身份元数据，等待本次明确会话身份后才恢复；不保存正文、思考、工具参数或 cost。这些官方本机格式并非稳定 SDK，宿主升级可能需要适配。\r\n\r\n### 查看历史回复用量\r\n\r\n- 累计统计下方的 **Token 用量趋势** 中，每根柱子代表一次可验证的 operation 或带用量助手回复，不是整轮用户提问。工具调用后的模型输出也会单独计数。仅数据库记录无回复时间时按持久化顺序展示，不伪造时间或耗时。\r\n- 柱高 = 输入 + 缓存命中 + 缓存创建 + 输出；思考单独显示在明细中，不另行堆叠，避免可能与输出重复。原有合计算法保持不变。\r\n- 鼠标停在柱子上，下方明细显示该次模型、时间、耗时、命中率及 Token；移到柱间空隙、卡片或面板外后保留最后查看的回复。上方累计数据不变，明细范围始终跟随图表。\r\n- 可用 Tab 聚焦柱子查看；鼠标或键盘最近选择的记录持续保留，失焦不恢复最新。\r\n- 长会话可横向滚动，首次定位最新；普通更新保留所选记录与位置。主代理或子代理每新增一条完成用量，自动显示最新记录并滚动到末尾，不需要等待整个会话结束；重复通知不打断查看。切换会话重置，没有逐次用量的记录不虚构成柱子。\r\n\r\n## 跟随当前对话\r\n\r\n- 默认显示 **跟随当前会话**：主界面 A → B → A 时，用量随实际显示的对话切换；当前会话正在生成时也不会被旁边的聊天抢走。\r\n- 在视图顶部手动选择历史会话，会进入 **固定查看**；点击 **跟随当前会话** 或运行 `/usage` 恢复自动跟随。\r\n- 可见视图每秒检查轻量会话上下文。已选 JSONL、完成检查点、SQLite/WAL 和待持久化队列变化以固定 25 毫秒短窗口触发合并，立即唤醒 `usage.watch`；不等整个任务结束。每 750 毫秒仅检查文件状态，为监听失效/漏通知兜底，空闲时不重复解析正文或查库。不监听 SHM；最多 20 秒的等待只是空闲保活。\r\n- 打开会话搜索时不替换输入框；若主界面已切换，顶部提示待更新，关闭搜索后立即更新。同一会话保留滚动位置，换会话重置。\r\n- 空白会话显示暂无带用量的回复；无会话、未授权或识别失败时明确提示，绝不拿最近会话冒充当前会话。\r\n\r\n识别来自主界面的 `data-session-pane` / `data-visible` 属性，空白会话补充读取选中行的 `data-sidebar-session-row`。这些是 **0.17.0 已核实的 DOM 标记，不是稳定 SDK 会话接口**，未来宿主改动可能需要适配；有多个候选或缺少标记时会停止自动跟随并提示，可手动选择历史会话。`session:activated` 尚未实现，因此不能靠该事件获取当前会话。\r\n\r\n## 安装\r\n\r\n1. 打开 [Releases](https://github.com/new-Beginner/pi-session-usage/releases)，下载最新的 `io.github.new-beginner.session-usage-*.piplug`\r\n2. PI-Desktop → **插件** → **安装 .piplug**\r\n3. 确认权限：`ui.view` 和 `renderer.extension`\r\n4. 展开右侧工作面板，从顶部视图菜单选择 **会话用量**\r\n\r\n开发加载：插件页 **加载开发插件**，选本目录。\r\n\r\n**从旧版本升级：**重新加载本目录并确认 `renderer.extension` 权限。若显示“等待主界面会话识别”，请检查权限及宿主版本，然后重新打开对话。如果视图菜单没有出现，检查插件是否已启用，且激活范围包含当前项目（或设为全局）。\r\n\r\n## 权限与安全说明\r\n\r\n| 权限 | 用途 |\r\n| --- | --- |\r\n| `ui.view` | 在右侧工作面板显示会话用量 |\r\n| `renderer.extension` | 在主界面观察会话 ID 属性，通过白名单 `plugin.call` 传给用量后台；宿主将此权限标为高风险 |\r\n\r\n主界面扩展不读取消息或输入框正文、不导入宿主私有状态仓库、不使用内部 IPC、不改主界面。后台只提取本机 JSONL、完成检查点、SQLite 和队列中的用量/归属元数据；不返回或保存消息正文、思考、工具参数/结果、队列键、cost 或凭据，不联网、不注册 Agent 工具，所有宿主来源只读。`rendererActions` 仅声明 `plugin.call`，只允许 `usage.setContext`，不授权读取草稿或插入文字。\r\n\r\n### 发布隐私边界\r\n\r\n- `.gitignore` 排除任务记录、截图、验证记录、`.env`、令牌/私钥文件、数据库及真实会话文件；已跟踪文件须先停止跟踪，忽略规则不能清除 Git 历史。\r\n- 安装包只允许 `manifest.json`、`main.js`、两份 renderer、`README.md` 和 `LICENSE` 共 6 个文件；打包脚本拒绝缺失文件和符号链接，不扫描整个工作区。\r\n- 忽略规则和文件白名单不能识别源码中的硬编码密钥。提交和发布前仍需进行脱敏凭据扫描；扫描无发现不等于绝对安全。\r\n\r\n## 开发\r\n\r\n验证：`node --check main.js`、`node --check renderer/session-context.mjs`、`node --test scripts/*.test.js scripts/*.test.mjs`（Node ≥ 22.13，含 `node:sqlite`）。测试使用临时合成 JSONL/SQLite/WAL/队列/检查点/DOM，覆盖满队列下四次独立完成更新、流式/身份/格式拒绝、跨来源去重、检查点覆盖/删除、切换与 reload 恢复、主/子归属、监听兜底、迟到响应及明细联动。\r\n\r\n浏览器检查：`node scripts/usage-browser-check.cjs`，需要 playwright-core 和 Chrome/Chromium；可用 `PLAYWRIGHT_MODULE`、`BROWSER_EXECUTABLE` 指定路径。运行真实后台与 scratch 合成来源，通过模拟宿主桥接连接 Chrome，验证 JSONL-only、SQLite/WAL-only、queue-only、checkpoint-only 自动刷新及浅/深 × 320/420/590 布局。生成的 `output/playwright/` 截图仅保留本地，不提交、不打包。\r\n\r\n发布白名单回归：`python scripts/pack.test.py`。所有测试只使用临时合成文件，不读取实际令牌。\r\n\r\n在 PI-Desktop 中优先使用官方 `PluginCheck` 校验、`PluginPack` 打包；它们使用与安装器相同的规则。仓库也保留原有打包脚本供现有发布流程使用：\r\n\r\n```text\r\npython scripts/pack.py\r\n# → dist/io.github.new-beginner.session-usage-\u003cversion\u003e.piplug\r\n```\r\n\r\n发版：改 `manifest.json` 的 `version`，提交后打标签并推送。\r\n\r\n```text\r\ngit tag v1.6.4\r\ngit push origin v1.6.4\r\n```\r\n\r\nGitHub Actions 会核对 tag 与版本号、打 `.piplug`、创建 Release。\r\n\r\n官方市场通过 [plugins.aiuo.net](https://plugins.aiuo.net) 创建独立插件、绑定本 fork 并提交 tag 审核；审核通过后平台同步至 [AIUO-Net/pi-desktop-plugins](https://github.com/AIUO-Net/pi-desktop-plugins)。不要向分发仓库提交源码或手改 catalog。\r\n\r\n需要 PI-Desktop ≥ 0.17.0。参考[官方视图文档](https://github.com/vastsa/PI-Desktop/blob/main/docs/plugin-development.md#68-work-panel-view)和[renderer 扩展接口](https://github.com/vastsa/PI-Desktop/blob/main/packages/plugin-sdk/src/renderer.ts)。\r\n",
      "safetyNotes": "Reads local usage metadata and main-window session identity attributes only. renderer.extension is high risk because it runs in the host document; this extension does not read transcript/draft text, use internal IPC, or send data off-device.",
      "versions": [
        {
          "version": "1.6.4",
          "publishedAt": "2026-10-12T17:58:45Z",
          "changelog": "## 会话用量增强版 1.6.4\n\n由 new-Beginner 独立维护，fork 自 LectWolf/pi-session-usage，保留原作者贡献和 GPL-3.0-only。\n\n- 在右侧工作面板自动跟随会话，显示逐请求 Token 历史、编号子代理范围、独立模型汇总及精确对账。\n- 只读合并可用 JSONL、SQLite、待持久化队列和完成主代理检查点，不估算未保存的用量。\n- 发布文件固定为 manifest、main、两份 renderer、README、LICENSE，共 6 个；本地截图、验证记录、凭据和真实会话数据不提交。\n- Git 历史和发布文件的脱敏 Gitleaks 检查无凭据发现；109 项功能测试与 3 项打包隐私测试通过，i18n gate 0 fail。扫描无发现不等于绝对安全。\n\n权限为 ui.view 和 renderer.extension（高风险）；不联网，不保存会话正文或凭据。需要 PI-Desktop ≥ 0.17.0。安装增强版前停用原版，避免重复的 /usage 和视图；旧设置不会自动迁移。宿主没有可读来源的子代理用量仍不可恢复。\n\n1.6.4 适配官方发布 MCP 的 locale 字段；名称、描述和安全说明仍完整双语，中文历史迁移至仓库 CHANGELOG.md，全局日志保留；统计功能和权限不变。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "762822cefaac20646d7a275865e7721de278dffa14644544921c4baafc245340",
          "url": "packages/io.github.new-beginner.session-usage-1.6.4.piplug",
          "sizeBytes": 179560,
          "permissions": [
            "renderer.extension",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/new-Beginner/pi-session-usage",
            "sourceRef": "v1.6.4",
            "sourceCommit": "2b0c4dfeb1c4307d43bd16b074506aace12e3ef8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-12T17:58:16Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.world-model-hjepa",
      "name": "World Model (H-JEPA)",
      "description": "A hierarchical JEPA world model for agents and sub-agents: it learns in latent space what actions and intents do, imagines candidate plans and delegations before you commit, and flags surprising results so the agent replans. Also installs and runs the official H-JEPA world models from Hugging Face, on this computer's GPU or a remote NVIDIA GPU.",
      "author": "Eskwisit",
      "categories": [
        "agents-workflow",
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 42,
      "versions": [
        {
          "version": "0.10.1",
          "publishedAt": "2026-11-05T11:20:54Z",
          "changelog": "# Changelog\n\n## 0.10.1\n\n### Fixes\n\n- **main:** pass the store audit by loading the model library statically (`155abb9`)\n\n## 0.10.0\n\n### Features\n\n- **lib:** add a hierarchical jepa world model in plain javascript (`885d0fe`)\n- **subagents:** add a read-only scout that probes before planning (`1262d99`)\n- **scripts:** install the official h-jepa release at pinned versions (`506e0d9`)\n- **scripts:** run h-jepa evaluations on an apple gpu or the cpu (`877ba9e`)\n- **scripts:** run h-jepa evaluations locally or on a remote nvidia gpu (`652acbe`)\n- **main:** register the world model and h-jepa agent tools (`9985691`)\n- **skills:** plan, observe and train with the world model (`960609b`)\n- **skills:** install and run h-jepa world models from the settings (`864c051`)\n- **manifest:** declare tools, skills, settings and workspace file scope (`0506aa1`)\n\n### Documentation\n\n- **readme:** document the world model, h-jepa runs, settings and tests (`d214633`)\n\n### Tests\n\n- **tests:** add shared test helpers with a fake host (`4ef3e95`)\n- **tests:** add the node test entry point (`1d28fd0`)\n- **tests:** cover the h-jepa model math and learning (`82b631b`)\n- **tests:** cover the world model tools (`b44ac87`)\n- **tests:** cover plugin load, unload and the scout sub-agent (`c096ca6`)\n- **tests:** cover the h-jepa installer, plan and status (`c5b3641`)\n- **tests:** cover h-jepa runs locally and over ssh (`32e6e0f`)\n\n### CI\n\n- print the changelog section of a version (`426e190`)\n- publish a github release when the manifest version changes (`4d684df`)\n\n### Chores\n\n- ignore build output, workspace data and python caches (`888c532`)\n- add the apache 2.0 license (`3a4209a`)\n- add the changelog for 0.1.0 (`59ae0e7`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "75ded8b895f640d0ba67666147fe06e9ba85a775ecedd15b9c925955d2b0cb11",
          "url": "packages/eskwisit.world-model-hjepa-0.10.1.piplug",
          "sizeBytes": 211838,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".world-model/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".world-model/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-world-model-hjepa",
            "sourceRef": "v0.10.1",
            "sourceCommit": "0ff92b753acd0d19f3415c1d6a0afa5ca22b9cb1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T11:19:10Z"
          }
        }
      ]
    },
    {
      "id": "local.mi-note",
      "name": "mi-note小米笔记",
      "description": "把小米云笔记做成 PI-Desktop 里的图形化工作面板，并让 AI 直接读写你的笔记。\n功能\n扫一扫登录 \n两栏界面 \n笔记管理 \n大纲 \n导出 \nMarkdown 预览 \n写作辅助 \n自动保存 \n\n删除可撤销 \nAI 问答\n自动同步 \n侧边栏\nAI 可以直接操作你的笔记\n插件内置 10 个工具，AI 能读取、搜索、创建、修改、删除笔记，无需任何额外配置。",
      "author": "QL",
      "i18n": {
        "en": {
          "name": "Xiaomi Cloud Notes",
          "description": "A visual work-panel client for Xiaomi Cloud Notes that lets the AI work with your notes. Includes QR-code sign-in, a two-column interface, note management and outlines, export, Markdown preview, writing assistance, autosave with undoable deletion, AI Q\u0026A, automatic sync, a sidebar, and 10 built-in tools to read, search, create, edit, and delete notes.",
          "safetyNotes": "Could my notes leak? No. The plugin communicates only with i.mi.com and account.xiaomi.com; locally it writes only to its own plugin data directory and does not read or write workspace files. AI Q\u0026A sends only retrieved matching snippets to the host’s signed-in model. Passwords are never handled by the plugin: QR sign-in is confirmed on your phone, and credentials are stored with 0600 permissions in the plugin-private directory."
        },
        "zh-CN": {
          "name": "小米云笔记",
          "description": "把小米云笔记做成 PI-Desktop 里的图形化工作面板，并让 AI 直接读写你的笔记。 功能 扫一扫登录 两栏界面 笔记管理 大纲 导出 Markdown 预览 写作辅助 自动保存 删除可撤销 AI 问答 自动同步 侧边栏 AI 可以直接操作你的笔记 插件内置 10 个工具，AI 能读取、搜索、创建、修改、删除笔记，无需任何额外配置。",
          "safetyNotes": "笔记会泄露吗？不会。插件仅与 i.mi.com / account.xiaomi.com 通信；本地只写入自己的插件数据目录，不读写工作区文件。AI 问答仅将检索命中的片段交给宿主已登录的模型。插件全程不接触密码：扫码登录由手机端确认，凭据以 0600 权限保存在插件私有目录。"
        }
      },
      "categories": [
        "integrations",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 163,
      "homepage": "https://github.com/sucjs/mi-note-for-pi",
      "readmeMarkdown": "功能\n扫一扫登录 —— 手机扫码确认即可，二维码 5 分钟有效，过期点「重新获取」。\n\n一键退出登录 —— 面板右上角「退出」，确认后清空本机凭据与缓存，并直接回到扫码界面。 云端笔记不受影响，重新登录会自动同步回来。右上角同时显示当前版本号。\n\n两栏界面 —— 左侧笔记列表 + 右侧正文。文件夹收进列表栏顶部的下拉框， 把纵向空间留给笔记本身。深色 / 浅色跟随宿主主题自动切换。\n\n笔记管理 —— 浏览、搜索（标题与正文）、新建、编辑（Markdown，带预览）、删除。 搜索结果会在列表与正文里高亮，并自动滚到正文的第一处命中。\n\n大纲 —— 正文右侧可开关的目录（H1–H5），滚动时自动高亮当前所在小节，点击即可跳转。\n\n导出 —— 「导出」按钮可把当前笔记取走：Markdown 源码（纯文本，粘到任何编辑器 存成 .md）或自包含 HTML（样式、代码高亮、公式字体、附件图片全部内联进单文件， 粘到 .html 里即可离线打开，不联网也不缺东西）。可切深色配色。 导出走系统剪贴板，不新增任何文件读写权限。\n\nMarkdown 预览 —— 标题、表格、嵌套列表、任务列表、引用、代码块（语法高亮）、 数学公式（KaTeX，行内 $…$ 与块级 $$…$$）、图片、下划线与高亮底色，都能正确显示。 笔记里的图片会按需下载并缓存到本地，离线也能看。\n\n写作辅助 —— 编辑区带工具栏（粗体 / 斜体 / 标题 / 列表 / 任务 / 引用 / 链接 / 图片 / 代码块 / 表格），Tab 缩进与反缩进，列表回车自动续行（有序列表数字自增，空项回车退出列表）。 快捷键：Ctrl/Cmd+B 粗体、Ctrl/Cmd+I 斜体、Ctrl/Cmd+K 链接、Ctrl/Cmd+Shift+C 行内代码。 所有操作都支持 Ctrl/Cmd+Z 撤销。\n\n自动保存 —— 改完不用点保存，1.5 秒自动存盘。切换笔记时先把草稿写完再切， 不会丢草稿。中文输入法打字过程中不会保存，不会把拼音存进云端。\n\n删除可撤销 —— 删除后笔记立即消失，底部出现 6 秒「撤销」窗口，反悔了来得及。\n\nAI 问答 —— 基于你的笔记内容回答，用 PI-Desktop 已登录的模型，插件拿不到任何密钥。 只把检索命中的片段送进上下文，不是全部笔记。\n\n自动同步 —— 每 5 分钟增量同步一次，只重取变化的正文。凭据失效自动续期， 不用手工复制 Cookie。\n\n侧边栏\n右侧工作面板里的紧凑笔记列表：\n\n点标题即在侧边栏内阅读全文\n每项右侧按钮可在主面板中打开并定位到该篇\n阅读界面顶部有「复制全文」，方便粘到对话框\nAI 可以直接操作你的笔记\n插件内置 10 个工具，AI 能读取、搜索、创建、修改、删除笔记，无需任何额外配置。",
      "safetyNotes": "会泄露我的笔记吗？ 不会。插件只与 i.mi.com / account.xiaomi.com 通信；本地只写插件自己的数据目录， 不读也不写你的工作区文件。AI 问答只把检索命中的片段交给宿主已登录的模型。\n\n密码安全吗？ 插件全程不接触密码 —— 扫码登录由手机端确认，凭据以 0600 权限存在插件私有目录。",
      "versions": [
        {
          "version": "0.2.7",
          "publishedAt": "2026-10-02T11:19:24Z",
          "changelog": "修复登录失效",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "4467a8ef848f8c57d39ae2078c963c99b6253e6c4050348684af57e9616655da",
          "url": "packages/local.mi-note-0.2.7.piplug",
          "sizeBytes": 2460331,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/sucjs/mi-note-for-pi",
            "sourceRef": "v0.2.7",
            "sourceCommit": "efec3333a5e5a61a89da3c954787517a294587a7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-02T11:18:58Z"
          }
        },
        {
          "version": "0.2.6",
          "publishedAt": "2026-09-29T11:45:24Z",
          "changelog": "修复登录失效bug",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "95bf8eddc741f8d71822018a8c8522a1e6b6040a113fd7235efe12d86f96cca7",
          "url": "packages/local.mi-note-0.2.6.piplug",
          "sizeBytes": 2436433,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/sucjs/mi-note-for-pi",
            "sourceRef": "v0.2.6",
            "sourceCommit": "de9de9e3084c8274bd0463ad54fb3725a1bb763e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T11:44:59Z"
          }
        },
        {
          "version": "0.2.5",
          "publishedAt": "2026-09-29T07:34:14Z",
          "changelog": "面板顶栏新增「导入」按钮，把本机的 Markdown 批量搬进小米笔记：\n一次多选 .md 文件，或选整个文件夹递归导入\n可勾选「保留子文件夹结构」，按来源目录在云端建出同名文件夹\n（同名目录按 (父目录, 名称) 索引复用，重复导入不会堆出重名文件夹）\n也可以直接把文件或文件夹拖进面板\n标题按 front matter 的 title → 首个 H1 → 文件名 三级取值",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "d06eb1bb0a51c00d1c084c87e3f5571f06df61faba530af515ed58e57ac15a6a",
          "url": "packages/local.mi-note-0.2.5.piplug",
          "sizeBytes": 2438564,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/sucjs/mi-note-for-pi",
            "sourceRef": "v0.2.5",
            "sourceCommit": "7530d3a91441b89754c2fa0c610ec78c1272d203",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T07:33:53Z"
          }
        },
        {
          "version": "0.2.4",
          "publishedAt": "2026-09-28T16:44:07Z",
          "changelog": "修复重连登录失效",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "2bac823345218748f19e277b9f18de4adcca2a0c4c2a225fdf0168c5859c8d83",
          "url": "packages/local.mi-note-0.2.4.piplug",
          "sizeBytes": 2394916,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/sucjs/mi-note-for-pi",
            "sourceRef": "v0.2.4",
            "sourceCommit": "1f8b622d87c10f10aa963836b0832a4a131c3162",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T16:30:51Z"
          }
        },
        {
          "version": "0.2.3",
          "publishedAt": "2026-09-28T05:09:24Z",
          "changelog": "简单的更新\n插件 id 由 pi.mi-note 改为 local.mi-note。功能无变化。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "3d38126ca1b503ed8d076b863ed7898c630524598f1cbe0f1425a612e92301b3",
          "url": "packages/local.mi-note-0.2.3.piplug",
          "sizeBytes": 2387795,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/sucjs/mi-note-for-pi",
            "sourceRef": "v0.2.3",
            "sourceCommit": "2faa3366f2c89e46fec1838daf2582f83a84cfa0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T05:09:08Z"
          }
        }
      ]
    },
    {
      "id": "bone.project-wiki",
      "name": "项目知识库",
      "description": "A general user-owned project knowledge base with automatic agent memory, Obsidian-style tree explorer and multi-format asset management.",
      "author": "taokoplay",
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "bone",
      "downloads": 168,
      "homepage": "https://github.com/taokoplay/bone-project-wiki",
      "readmeMarkdown": "# 项目知识库（BoneProjectWiki）\n\n适用于 PI-Desktop 的本地优先（Local-first）项目知识库与资产管理插件。包含用户私有的通用项目知识库、Agent 自动协作记忆层、HTML 原型沙箱以及全格式媒体与文档资产管理。\n\n---\n\n## 核心特性\n\n- **类 Obsidian 层级文件树**：左侧树形目录导航，支持文件夹无极层级折叠展开、新建目录、折叠/展开全部、快速刷新。\n- **无感实时笔记编辑器**：右侧实时在线笔记编辑，采用防抖自动保存技术；标题与磁盘物理文件名（`[标题].md`）实时双向联动，纯中文路径与文件名真实落盘，无 UUID 乱码。\n- **全格式文件与多媒体支持**：\n  - **文档**：原生 Markdown（`.md`）、纯文本（`.txt`）、Word 文档（`.docx`, `.doc`）、WPS 文档（`.wps`, `.wpt`）、PDF（`.pdf`）。\n  - **表格**：Excel 电子表格（`.xlsx`, `.xls`, `.csv`）、WPS 表格（`.et`, `.ett`）。\n  - **演示**：PowerPoint（`.pptx`, `.ppt`）、WPS 演示（`.dps`, `.dpt`）、Keynote（`.key`）。\n  - **多媒体**：图片（`.png`, `.jpg`, `.jpeg`, `.webp`, `.gif`, `.svg`）、音频（`.mp3`, `.wav`, `.m4a`, `.ogg`, `.flac`）与视频（`.mp4`, `.webm`, `.mov`），内嵌原生播放与大图预览。\n- **外部目录实时同步**：支持直接从操作系统访达（Finder）或文件资源管理器将文件/多层文件夹直接拖入或拷入，窗口聚焦自动静默同步。\n- **扁平化矢量图标**：全套采用精致单色 1px 细线矢量 SVG 图标，自动适配亮色与暗色模式。\n- **Agent 协作记忆层**：在轮次结算后保存用户明确表达的具体偏好与事实；需要结合上文的记忆请求由 Agent 提炼后通过工具保存，下一轮以有篇幅限制的摘要与全文路径提供参考。\n\n---\n\n## 使用指南\n\n1. **初始化知识库**：\n   - 打开项目知识库面板；\n   - 点击“初始化知识库”，即可在当前项目目录下创建标准 `.bone-project-wiki/` 知识库目录结构。\n2. **日常记录与整理**：\n   - 在右侧直接输入标题与内容，系统自动保存并实时在左侧目录树生成对应的 `.md` 文件；\n   - 支持右键点击笔记或文件夹进行：**移动到…**、**在文件管理器中打开**、**删除**；\n   - 拖拽任意多层文件夹或文档进入面板，自动递归解析并创建对应分类目录。\n3. **打开与查看各类资产**：\n   - 笔记直接在右侧实时编辑；\n   - 图片自适应大图查看；音频与视频直接在右侧面板内嵌原生控件播放；\n   - Word、WPS、Excel、PDF 等办公文档提供一键“在系统中打开”与“在访达中定位”。\n\n## 记忆如何生效\n\n- **具体事实**：例如“请记住：本项目布局统一采用 PinLayout”，可在本轮结束后自动保存到当前项目的记忆目录。\n- **结合上文**：例如“记录到记忆中”“把刚才的开发规范记住”，会提示 Agent 从当前对话提炼具体内容、保留来源，并通过 `project_wiki` 保存。工具确认成功前不能声称已记录；缺少上文或工具时需说明未保存。\n- **避免空记忆**：查询句、单独的记录指令、密码与密钥等内容不会自动当成事实保存。旧的空指令记录不会继续进入对话摘要，但原文件不会被自动删除。\n- **可追溯**：有用的记忆应包含适用项目、具体约定和来源文档。摘要会标明省略并提供记忆文件路径，完整规则仍应读取原文核对。\n- **范围与限制**：记忆属于当前项目，作为参考数据使用。自动捕获使用本地规则，不会自动理解所有自然语言或把全部助手回复作为已确认事实保存；超过长度限制的显式请求交给 Agent 提炼，避免截断事实。\n\n---\n\n## 数据格式与便携性\n\n知识库所有数据均保存在当前项目根目录的 `.bone-project-wiki/` 下，具备高度的可移植性：\n\n```text\n.bone-project-wiki/\n├── project.json              # 项目知识库配置与版本元数据\n├── index.json                # 类似 Git index 的轻量派生缓存索引\n├── knowledge/                # 通用知识库\n│   ├── general/              # 默认通用分类（支持任意中文自定义目录）\n│   │   ├── 需求设计方案.md     # 纯中文 Markdown 笔记文件\n│   │   └── 产品原型.png       # 真实图片与多媒体资产\n│   └── 财务资料/              # 用户自定义分类目录\n│       └── 预算报表.xlsx      # 办公文档与表格附件\n└── memory/                   # Agent 自动捕获的项目协作记忆\n    └── index.json\n```\n\n- **索引缓存机制**：知识库通过派生的 `index.json` 记录文件的大小（size）和修改时间（mtime）。只有真正发生变动的文件才会触发重新读取，千条记录扫描秒级完成。如果删除 `index.json`，下一次加载会自动全量重新扫描生成，绝不丢失任何数据。\n- **版本冲突保护**：保存时严格比对内容 Hash 与版本修订号（Revision），防止外部并发修改造成内容覆盖。\n\n---\n\n## Agent 工具契约（API）\n\nAI Agent 可通过 `project_wiki` 工具安全管理与检索当前项目的知识库：\n\n```json\n// 获取知识库快照\n{ \"action\": \"snapshot\" }\n\n// 保存或更新记录（修改标题将同步触发物理重命名）\n{\n  \"action\": \"save\",\n  \"workspacePath\": \"/path/to/project\",\n  \"title\": \"退款规则说明\",\n  \"category\": \"业务规范\",\n  \"kind\": \"document\",\n  \"status\": \"confirmed\",\n  \"content\": \"# 退款规则说明\\n\\n部分退款不能超过实付金额。\"\n}\n\n// 增量获取最近更新的上下文\n{\n  \"action\": \"context\",\n  \"workspacePath\": \"/path/to/project\",\n  \"since\": \"2026-11-01T00:00:00Z\"\n}\n```\n\n支持的操作（Actions）：\n`snapshot`, `init`, `read`, `save`, `import`, `search`, `context`, `export`, `move`, `delete`, `deleteCategory`, `reveal`, `openDefault`, `preferencesGet`, `preferencesSave`, `forget`, `reindex`。\n",
      "safetyNotes": "Operates strictly locally within the project .bone-project-wiki directory. No cloud account or external network calls required.",
      "versions": [
        {
          "version": "0.4.1",
          "publishedAt": "2026-11-07T14:16:25Z",
          "changelog": "- 记忆收录改为先评估长期价值、稳定性、新颖性、具体未来用途和依据；低价值、临时及重复候选跳过，不创建空记忆或主文件。\n- 当前 Agent 必须通过 maintainMemory 收录，不能用普通保存或省略类型的更新绕过评估。中文主题标题与归纳摘要独立于原文标题，保留完整来源、条件和例外。\n- 自动生成 .bone-project-wiki/memory/MEMORY.md 主题索引，提供原始记忆和来源文档入口；保留用户已有或手工修改的同名文件，主索引失败明确返回部分成功。\n- 保留原版双页签、文件树与自动保存；标题旁只显示当前客户端插件版本。修复草稿保护、菜单生命周期、来源变化核验和受限诊断清理。\n- 提供独立 DeepSeek Harness 适配源码与本地安装包，使用会话所属项目和文件提供器的版本保护；PI 安装包不安装 DSH 运行时。\n- 沿用当前会话模型，不单独请求模型或扫描历史；重要性与语义归纳仍属当前模型自评，程序校验不等于独立事实核验。保留记录格式、权限与已有数据。\n- 完整多项目后台隔离仍需客户端包含此前 workspace.get 会话路由宿主修复（PI-Desktop #2165）；单独更新插件不能修正旧宿主的前台项目元数据路由。\n- 291 项共享回归、47 项 DSH 文件提供器及构建后工具测试、10 项界面测试通过；最终包原生流程、扩展加载和官方 0.3.6→0.4.1 隔离升级通过，无权限增加。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "60a7f29582b293b3cfe6fa9d3b2094ff4238d1262a1b524e4ac10344bfc0cc6c",
          "url": "packages/bone.project-wiki-0.4.1.piplug",
          "sizeBytes": 619244,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "0118e33e74d252ba89abd6ed470b0bf8a1fd2667",
            "sourceCommit": "0118e33e74d252ba89abd6ed470b0bf8a1fd2667",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T14:14:33Z"
          }
        },
        {
          "version": "0.3.6",
          "publishedAt": "2026-11-07T02:17:51Z",
          "changelog": "- 按实际项目建立独立请求队列，不同项目可以同时进度；同项目多个会话的写入继续保持 FIFO 顺序。\n- 每个排队任务保留自己的异步调用身份，每次操作使用独立上下文；正文缓存、扫描状态、搜索代次和取消不会跨项目串用。\n- 共享个人偏好保留全局串行修订保护；空闲项目与搜索客户端状态有界，卸载时清理全部队列。\n- 任务入队后若会话实际改绑项目，拒绝旧操作，新的快照可重新发现；模型传入路径不能选择其他项目权限。\n- 完整多项目后台隔离需要 PI-Desktop 宿主同时修复 workspace.get 的会话路由。该宿主修复已提交 PR；单独更新插件不能修正旧宿主仍返回前台项目元数据的行为，请使用包含宿主修复的客户端。\n- 保留原文件、版本 1 记录、来源核验和权限，无数据迁移。246 项插件测试、63 项宿主测试、真实跨进程多项目保存、完整宿主类型检查与桌面构建通过。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "87ca6611bd550845735c48cc62c9aa881b9a37cb46a32ca830a7f0734e590ab9",
          "url": "packages/bone.project-wiki-0.3.6.piplug",
          "sizeBytes": 537546,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "f0e75112e8fcde5519e4f08d63fa0138b227bc33",
            "sourceCommit": "f0e75112e8fcde5519e4f08d63fa0138b227bc33",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T02:16:07Z"
          }
        },
        {
          "version": "0.3.5",
          "publishedAt": "2026-11-06T10:26:40Z",
          "changelog": "- 修复 0.3.4 中知识库首次快照因空或旧 workspacePath 误报 WORKSPACE_CHANGED、阻止初始化和保存的问题。\n- 恢复快照从实际宿主发现当前项目；调用参数中的路径提示不再提前绑定，实际 I/O 期间切换项目仍会拒绝旧结果。\n- 初始化、保存、读取、搜索和私有面板通道继续严格核对项目路径，保留修订冲突、写后回读、记忆字段校验及原权限，不迁移或删除原数据。\n- 新增 6 项回归，包含注册工具的发现→初始化→保存→回读、初始化前后空/旧参数、排队恢复、项目变化和卸载；完整 238 项测试、实际面板保存及隔离升级检查通过。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "6c68ebaeb85fdd719f94ac651873a509acf7b892d047f31884cdc66aec996de4",
          "url": "packages/bone.project-wiki-0.3.5.piplug",
          "sizeBytes": 531182,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "c3029ca7cb4d199b532b43e54f796180ec84a477",
            "sourceCommit": "c3029ca7cb4d199b532b43e54f796180ec84a477",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T10:24:56Z"
          }
        },
        {
          "version": "0.3.4",
          "publishedAt": "2026-11-06T05:38:32Z",
          "changelog": "- 修复 XLSX 拖入、导入和内嵌展示，支持离线只读预览、工作表切换、分页、中文、合并、前导零与基本数字/日期格式；公式仅显示保存结果，不执行或重算，原文件保留。\n- 搜索在单次请求内集中核验关联来源，跳过不需要的媒体/HTML 预览；保持来源新鲜度、评分、摘录、排序及结果上限。工作簿复用有界数字格式器，保持显示值。\n- 保存和完整刷新共用一次串行操作，减少重复正文读取；未变化的派生索引不重复写入。最终修订、目标冲突及写后回读仍核验实际字节，不跨请求缓存事实。\n- 自动保存保留编辑器、选区、焦点、滚动和关联摘要草稿；改名后的菜单使用当前路径与修订，鼠标按住期间保留点击目标。修复外部新增文件被搜索发现后无法点击的问题。\n- 立即取消过期的面板搜索，移除旧排队工作并在读取检查点退出；写入保持原有顺序，客户端、项目及工具检索相互隔离。\n- 保存已完成而刷新失败时保留真实修订号，提示部分成功，后续输入可安全重试；兼容旧能力声明和公共工具结果。\n- 保留版本 1 记录、现有资料、权限、记忆预算和 HTML 沙箱。包含此前仅本地验收的 0.3.2/0.3.3 改动，无数据迁移；232 项自动化测试及真实面板、扩展和隔离升级验收通过。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "5f154e5d5b402bef8cc3cb74947422b7a33640256d58b247cba41b8b7cb373b6",
          "url": "packages/bone.project-wiki-0.3.4.piplug",
          "sizeBytes": 528020,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "232bf7e6d311733d54d3f7f0b6fe83c1f8cbb29d",
            "sourceCommit": "232bf7e6d311733d54d3f7f0b6fe83c1f8cbb29d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T05:36:42Z"
          }
        },
        {
          "version": "0.3.1",
          "publishedAt": "2026-11-06T00:26:40Z",
          "changelog": "- 左上角新增收起/展开侧栏，收起后正文占满可用区域；保留选择、搜索、未保存输入、自动保存和 HTML 页面状态，支持键盘及窄窗口。\n- 记忆标签新增只读总览，按核心、主题、未分组和待确认提供入口，显示来源状态、完整范围及读取条件。\n- 自动与手动召回共用解释，明确入选、排除和最终事实/全文入口/省略原因，分别标明预算及快照；原 context 默认结果保持兼容。\n- 自动准备上下文时保存本地受限诊断，每项目最近 10 条、单条最多 20 KiB，不保存原始查询、标题、正文或路径；手动预览不写记录，诊断不代表模型已使用。\n- 遗忘与文件树删除共用核验及诊断清理，修复删除和准备写入交错、预算省略记录误拒，以及失效关联的自动预览偏差。\n- 保留来源文档所有权、旧记录格式、草稿隔离、首击保护、Markdown 阅读、满幅 HTML 和原有权限。替代、合并、恢复及语义检索不在本版范围。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "482cbed36add5710e98bac58a3f2206b011b4849e7e2629a34698fd561c11209",
          "url": "packages/bone.project-wiki-0.3.1.piplug",
          "sizeBytes": 443744,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "5e3a4314ce4186d5ce940db69f11dd8d81c2130e",
            "sourceCommit": "5e3a4314ce4186d5ce940db69f11dd8d81c2130e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T00:24:53Z"
          }
        },
        {
          "version": "0.2.2",
          "publishedAt": "2026-11-05T09:11:23Z",
          "changelog": "- HTML、已有 HTML 附件和原型撑满右侧内容区域，去掉重复标题、外层卡片留白、边框和圆角，随窗口调整宽高。\n- 长网页在页面内部滚动，文件打开、文件定位和预览说明收进浮动菜单，资源缺失与读取失败仍明确提示。\n- 修复首次打开知识库时需要点击两次才能选择文件的问题，窗口激活改为后台同步，不再重建并删除正在点击的文件节点。\n- 保留当前选择、编辑内容和未完成的记忆摘要；刷新晚返回时，不会覆盖新的输入、导航或其他项目状态。\n- 保留外部文件同步、Markdown 读写、原有沙箱、数据格式和权限范围。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "b15a8ed9e8d8715fa276c75d5faeb9fcb34580b8b9a8bb4424bf4ba2ff2ab240",
          "url": "packages/bone.project-wiki-0.2.2.piplug",
          "sizeBytes": 347967,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "e52e639c83ba7c3b27f7102474206f4f1a2fe3fc",
            "sourceCommit": "e52e639c83ba7c3b27f7102474206f4f1a2fe3fc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T09:09:34Z"
          }
        },
        {
          "version": "0.2.1",
          "publishedAt": "2026-11-05T06:39:14Z",
          "changelog": "- Markdown 文档默认以美化后的只读视图打开，支持切换源码编辑并自动保存；新建记录直接进入编辑模式。\n- 完整显示标题、粗体、斜体、嵌套列表、引用、表格、代码块与任务列表，适配亮暗主题和窄窗口。\n- 返回只读前等待最新修改保存，保留保存期间的新输入、失败草稿与版本冲突保护；关联记忆摘要继续保持只读。\n- HTML/HTM 文件及已有 HTML 附件可直接在面板内预览，按需加载目录内的样式、普通脚本和图片。\n- 修复网页交互后切回文件树丢失选择的问题；资源缺失、读取失败或超出上限时提供明确提示。\n- Markdown 完全离线渲染，源 HTML 与危险链接保持不可执行；沿用原有 HTML 沙箱、数据格式与权限范围。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "0482fb6d20a485c663f7e1cfb298af256498909a0d2cac948399b045012fc937",
          "url": "packages/bone.project-wiki-0.2.1.piplug",
          "sizeBytes": 339579,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "0fd0e6da3515a7621fa2080077c53fa1a62a74c9",
            "sourceCommit": "0fd0e6da3515a7621fa2080077c53fa1a62a74c9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T06:37:36Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-04T13:24:09Z",
          "changelog": "- 重要规则与业务知识保存为完整主题文档，记忆只保留短摘要、“何时读取”和稳定关联。\n- 文档改名、移动后仍可沿关联读取当前原文；修改正文后停止使用旧摘要，重新确认可更新原关联。\n- 草稿、归档、缺失、无法读取或标识冲突的文档会明确显示状态，避免把旧摘要当成当前规则。\n- 面板新增确认并关联入口，记忆页可读取当前原文；关联失败会保留文档并明确提示，允许重试。\n- 区分新请求识别与已存正文读取，避免因为正文包含“是否”等词而丢失整条记忆；加强上下文保存指令识别。\n- 旧记录按需获得稳定标识，不做破坏性批量迁移；保留现有权限范围与文件命名方式。\n- 文档身份核验不再依赖缓存筛选，明确的 `recordId` 读取避免文件名遮蔽；敏感标题不进入记忆上下文。\n- 摘要草稿在输入时保留，支持同项目刷新和正文自动保存；离开时提醒，跨项目不会复用草稿。\n- 按当前任务的相关性和适用路径选择已确认记忆，核心规则保留有限预算；较早的相关规则不再被最新 8 条限制排除。\n- 统一自动和手动上下文的选择逻辑，完整呈现短记忆，长规则及读取条件不再截断；预算不足只保留全文入口。\n- 候选草稿在确认前不进入上下文，面板可确认或停止使用；新增相对路径范围和普通/核心优先级设置。\n- 修复记忆页新建记录误用知识目录的问题，旧记录无新字段时保持当前项目范围、普通优先级。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "373325d746ef975b646c849a5ed52feb3fcd86dd2d9632ada56986ff39763b9f",
          "url": "packages/bone.project-wiki-0.2.0.piplug",
          "sizeBytes": 268589,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "144b62fbc4800fb57e9faad5b43cd5b6f14a1789",
            "sourceCommit": "144b62fbc4800fb57e9faad5b43cd5b6f14a1789",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T13:22:25Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-11-03T15:43:12Z",
          "changelog": "- 区分具体事实、查询句和仅引用上文的保存指令，不再自动把“记录到记忆中”等空指令当成记忆正文。\n- 对需要结合上文或超过长度限制的请求，引导 Agent 提炼具体内容并通过 `project_wiki` 保存、保留来源与确认结果，禁止以编辑 `MEMORY.md` 代替。\n- 移除对不存在的 `pi.session` 的依赖；待保存内容按会话与项目隔离，新一轮输入、取消或关闭会话时不会误存旧候选。\n- 自动事实在 800 字符上限内完整保存；恢复目录符号链接检查，敏感信息与空指令在创建目录前过滤。\n- 按更新时间读取最新记忆，省略摘要带全文路径；旧空指令仅从注入内容排除，不自动删除原文件。\n- 新增完整保存与恢复路径、空指令、查询误判、会话隔离、取消、去重与路径边界的回归测试。\n- 统一使用插件中心要求的 `main.js` 入口，保持原有插件加载与业务行为，并同步打包清单和生命周期测试。",
          "minPiDesktop": "\u003e=0.4.22",
          "shasum": "7682ed03f9c8a6209298b5e9d63fe4c789b9f8b421989fc0c9075bc68f50e558",
          "url": "packages/bone.project-wiki-0.1.1.piplug",
          "sizeBytes": 213954,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": false,
              "scope": [
                ".bone-project-wiki/memory/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".bone-project-wiki/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-project-wiki",
            "sourceRef": "ebef0f808fd5796ad33f1e7aac6bc1de9495f020",
            "sourceCommit": "ebef0f808fd5796ad33f1e7aac6bc1de9495f020",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-03T15:41:36Z"
          }
        }
      ]
    },
    {
      "id": "mfy.pi-desktop-open-tools",
      "name": "pi-desktop-open-tools",
      "description": "An entry point for launching external tools has been added below the project chat box; you can configure it to open tools such as VS Code, a terminal, etc.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "打开外部工具",
          "description": "在项目聊天框下添加了打开外部工具入口，可自定义配置打开诸如 VS Code、终端 等外部工具"
        }
      },
      "categories": [
        "desktop-system",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "mfy",
      "downloads": 130,
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-10-28T12:53:58Z",
          "changelog": "首次上传，内置了 windows 下常用的 VS Code、Explorer、PowerShell 等入口",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "aaebe318bd1bbfca2cb3601b93258949b0530b4df229f5ffb0870e8c20f12c1f",
          "url": "packages/mfy.pi-desktop-open-tools-0.5.0.piplug",
          "sizeBytes": 123762,
          "permissions": [
            "notify",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "cn.star.skill-learning",
      "name": "Skill Learning（自学技能）",
      "description": "你把一件事做完，它把以后还能照着做的步骤做成 SKILL，下次同类活可以直接用。\n会话比较长时会在后台自己复盘，聊天里不会冒出来。",
      "author": "TheFalreStar",
      "i18n": {
        "en": {
          "name": "Skill Learning",
          "description": "Turn completed work into reusable SKILLs so similar tasks can follow the same steps next time. It can quietly review longer sessions in the background."
        },
        "zh-CN": {
          "name": "技能学习",
          "description": "你把一件事做完，它把以后还能照着做的步骤做成 SKILL，下次同类活可以直接用。 会话比较长时会在后台自己复盘，聊天里不会冒出来。"
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cn",
      "downloads": 2018,
      "readmeMarkdown": "# Skill Learning\n\nPI-Desktop 插件。\n\n## 安装\n\n导入后彻底退出 PI 再开。\n\n## 技能写在哪\n\n默认写到用户技能根的直接子目录，设置 → 技能列表能扫到：\n\n```\n~/.agents/skills/\u003cname\u003e/SKILL.md\n```\n\nWindows 上就是 `%USERPROFILE%\\.agents\\skills\\\u003cname\u003e\\SKILL.md`。\n\n设置里把范围改成项目后，写到当前项目：\n\n```\n\u003c项目\u003e/.agents/skills/\u003cname\u003e/SKILL.md\n```\n\n账本、队列、归档在同级的 `.skill-learning/`，技能界面不展示这一层。\n\n旧版曾经写到 `skills/learned/\u003cname\u003e/`。那是废路径，技能列表扫不到。0.1.4 起不再往那里写；启动时会尽量把已经误写进去的技能抬到根目录。\n\n## 对话里怎么用\n\n插件在 Agent 进程里挂了三件事：工具 `skill_manage`、斜杠命令 `/learn`、一轮结束后的静默复盘。\n\n### 自动记\n\n做完一件有步骤、有坑、以后还能复用的事，模型应自己调 `skill_manage`。一次性问答、没做完的失败、以及「某某工具坏了」不会写成技能。\n\n### `/learn`\n\n在输入框发 `/learn`，后面可以跟目录、URL，或写「把刚才那套做成技能」。插件会塞一条蒸馏指令，模型先读材料，再 `create` 或 `patch`。\n\n### `skill_manage`\n\n| action | 作用 |\n| --- | --- |\n| `create` | 新建 `~/.agents/skills/\u003cname\u003e/SKILL.md` |\n| `patch` | 改本插件创建过的技能。本轮必须先 Read 过这份 `SKILL.md` |\n| `write_file` | 往该技能下写 `references/`、`templates/`、`scripts/` |\n| `delete` | 归档到 `.skill-learning/archive/`，不是直接删盘 |\n\n名字必须是小写加连字符，最多 64 字符，例如 `deploy-staging`。不要用 `fix-issue-12` 这种一次性名字。\n\nWrite / Edit / Bash 直接改 `~/.agents/skills` 会被拦住。只走 `skill_manage`。\n\n本插件没创建过的技能（你手写的、市场装的）不会被改。\n\n## 一篇合格的 SKILL.md\n\n`create` 过不了关的常见原因：正文不到 800 字，或缺「何时使用 / 工作流程」。报错是 `skill too thin (create rejected)`。\n\n最少要有：\n\n1. YAML：`name`、`description`（一句话、何时用）\n2. `## When to Use` 或 `## 何时使用`：触发条件，以及什么情况不要用\n3. `## Procedure` 或 `## 工作流程`：编号步骤，命令、路径、报错原文从本轮抄，不要编 flag\n4. `## Pitfalls` 或 `## 陷阱`：看起来成功其实没成功的情况\n5. `## Verification` 或 `## 验证`：一条能核对的结果\n\n长配方放到 `references/\u003c主题\u003e.md`，`SKILL.md` 只当目录。工具名按 PI 写：`read`、`write`、`edit`、`bash`、`grep`、`glob`。\n\n创建成功后会加上 `tags: [\"自习\"]`。技能列表上的「全局 / 项目 / 已导入」是 PI 写死的，插件加不了「自习」徽章。\n\n同时最多 80 个由本插件管理的技能。单文件上限 128 KiB。\n\n## 静默复盘（0.1.8）\n\n一轮结束时，如果本轮没用过 `skill_manage`，且工具调用次数达到阈值（默认 10），sidecar 把压缩过的对话丢进 `.skill-learning/queue/`。插件进程每 3 秒扫队列，用你已登录的模型跑一次**无工具**补全，只收 JSON：\n\n```json\n{ \"decision\": \"skip\" 或 \"update\", \"reason\": \"...\", \"ops\": [] }\n```\n\n`update` 时 `ops` 会进和对话里同一套 `create` / `patch` / `write_file`，薄稿同样会被拒。`skip` 不说话。写出新技能时，设置默认会 toast 一声「Learned skill: …」；选 Silent 则连 toast 也没有。\n\n复盘不往当前聊天里插消息。两次复盘至少隔 120 秒，队列最多积 2 个任务。\n\n命令面板里的「Skill Learning: Drain review queue」会立刻把队列跑完。\n\n## 设置\n\n扩展设置页：\n\n| 项 | 默认 | 含义 |\n| --- | --- | --- |\n| Enable learning loop | 开 | 关掉后 `skill_manage` 直接失败，也不再入队 |\n| Background review after long turns | 开 | 关则只保留对话里的手动写入 |\n| Min tool calls before review | 10 | 少于此数不复盘 |\n| Skill scope | Global | Global = `~/.agents/skills`；Project = 当前项目 `.agents/skills` |\n| Write approval | Toast on write | Silent 则写出时也不 toast |\n| Review model | 空 | `providerId/modelId`；空则用已登录列表里的第一个，优先名字带 grok 的 |\n\n改完会写到 `~/.agents/skills/.skill-learning/config.json`。\n\n## 不会做什么\n\n- 不改模型权重，只写磁盘上的 `SKILL.md`\n- 不替代你手写的技能，也不改市场装来的技能\n- 复盘不是 Hermes 那种能自己连打多轮工具的子 agent；它只能出 JSON，由插件落地\n- 开发目录热加载不可靠。改源码后要重新打包、卸掉旧插件、再导入 `.piplug`\n\n## 换版本\n\n1. 扩展页卸掉同 id 的旧项\n2. 导入新的 `.piplug`\n3. 彻底退出 PI（含托盘）再开\n4. 新开会话，看 `skill_manage` 返回的 `pluginVersion`\n",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-18T10:38:44Z",
          "changelog": "- 新增数量配置，设为 0 即是无上限。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "5e77be8ab6b4dba3eaac69a86267844ed16f1f0b9376d8ed60cd2a35718d4db6",
          "url": "packages/cn.star.skill-learning-0.2.0.piplug",
          "sizeBytes": 63625,
          "permissions": [
            "agent.complete",
            "agent.extension",
            "agent.prompt.inject",
            "background.service",
            "models.list",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "0.1.8",
          "publishedAt": "2026-09-17T08:14:51Z",
          "changelog": "- 修复一些已知问题。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "c19a352f62e80a22173a61d2b83dbf2426ab1d0a6abce8dc49957da97b17e9c3",
          "url": "packages/cn.star.skill-learning-0.1.8.piplug",
          "sizeBytes": 60192,
          "permissions": [
            "agent.complete",
            "agent.extension",
            "agent.prompt.inject",
            "background.service",
            "models.list",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-17T08:12:17Z"
          }
        }
      ]
    },
    {
      "id": "io.github.xelzsss.macos-classic-theme",
      "name": "Mac OS Classic Theme",
      "description": "Theme plugins for PI-Desktop, ported from huacnlee/zed-theme-macos-classic",
      "author": "XELZSSS",
      "i18n": {
        "zh-CN": {
          "name": "",
          "description": "PI-Desktop 的主题插件，移植自 huacnlee/zed-theme-macos-classic"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 69,
      "homepage": "https://github.com/XELZSSS/PI-Mac-OS-Classic-Theme",
      "safetyNotes": "纯外观主题插件，仅申请 ui.theme 与 ui.window.appearance 权限，用于应用 macOS Classic 配色及调整窗口外观样式",
      "versions": [
        {
          "version": "1.3.0",
          "publishedAt": "2026-11-20T16:02:24Z",
          "changelog": "Adapted for the new PI-Desktop interface\n适配新的 PI-Desktop 界面",
          "minPiDesktop": "\u003e=0.23.0",
          "shasum": "0e268615370b978ce042813cca25ba352089d736aed1acacf575e5204fa24dce",
          "url": "packages/io.github.xelzsss.macos-classic-theme-1.3.0.piplug",
          "sizeBytes": 24144,
          "permissions": [
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XELZSSS/PI-Mac-OS-Classic-Theme",
            "sourceRef": "v1.3.0",
            "sourceCommit": "9db252cd996635276769e87303156f98f5cebe9d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T15:59:58Z"
          }
        }
      ]
    },
    {
      "id": "pi.parchment",
      "name": "Parchment Theme",
      "description": "A warm parchment global theme: cream paper background with a faint grid, ink-colored user bubbles, paper assistant cards, and monospace meta lines. No features beyond styling.",
      "author": "pkmcenter",
      "i18n": {
        "en": {
          "name": "Parchment Theme",
          "description": "A warm parchment global theme: cream paper background with a faint grid, ink-colored user bubbles, paper assistant cards, and monospace meta lines. No features beyond styling.",
          "safetyNotes": "Pure styling. The plugin contributes one global theme (CSS only) and a small info panel. No network, file, clipboard, or agent access."
        },
        "zh-CN": {
          "name": "羊皮纸主题",
          "description": "暖色羊皮纸全局主题：米色纸面背景配淡网格，墨色用户气泡，纸色助手卡片，等宽字体元信息行。除样式外不提供任何功能。",
          "safetyNotes": "纯样式插件。仅贡献一个全局主题（只有 CSS）和一个说明面板。无网络、文件、剪贴板或智能体权限。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 241,
      "homepage": "https://plugins.aiuo.net/plugins/pi.parchment",
      "repository": "https://plugins.aiuo.net/plugins/pi.parchment",
      "readmeMarkdown": "# Parchment Theme / 羊皮纸主题\n\nA warm parchment global theme for PI-Desktop: cream paper background with a faint 22px grid, solid ink user bubbles, soft paper assistant cards, and monospace meta lines. Styling only — no features.\n\nPI-Desktop 全局主题插件：米色纸面背景配淡网格、实心墨色用户气泡、纸色助手卡片、等宽字体元信息行。纯样式，无额外功能。\n\n## Screenshots / 截图\n\n![Chat view with the Parchment theme applied / 应用主题后的聊天视图](https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/plugins/pi.parchment/docs/screenshots/01-chat-view.png)\n\n*Chat view — ink user bubble, paper assistant card, warm code blocks / 聊天视图 — 墨色用户气泡、纸色助手卡片、暖色代码块*\n\n![Theme picker — search \"Parchment\" / 主题选择器 — 搜索 \"Parchment\"](https://raw.githubusercontent.com/vastsa/pi-desktop-plugins/main/plugins/pi.parchment/docs/screenshots/02-theme-picker.png)\n\n*Theme picker — Settings → Theme → \"Parchment\" / 主题选择器 — 设置 → 主题 → \"Parchment\"*\n\n## What it does / 功能\n\n- One global theme, selectable in **Settings → Theme → search \"Parchment\" / 设置 → 主题 → 搜索 \"Parchment\"**.\n- Built entirely on the host design tokens (`--ds-*`), so it layers cleanly on top of the light base and never touches dark-mode internals.\n- User messages render as solid ink bubbles with paper-colored text; assistant messages as soft paper cards; code blocks, tables and selection tint follow the warm palette.\n- Message cards and the composer are width-aligned in both sidebar layouts (tracks the host `--chat-composer-max-width` variable).\n- 覆盖宿主设计令牌（`--ds-*`）实现，基于浅色基底叠加，不改动暗色内部；用户消息为实心墨色气泡，助手消息为纸色卡片；代码块、表格、选区同步暖色调；消息卡片与底部输入框在两种侧边栏布局下宽度对齐。\n\n## Reverting / 恢复\n\nPick Light / Dark / System in the theme picker — the plugin can stay installed without effect. Or uninstall the plugin.\n\n在主题选择器中切回浅色 / 深色 / 系统即可；插件保留也无副作用，或直接卸载。\n\n## Permissions / 权限\n\n| Permission | Why / 原因 |\n|---|---|\n| `ui.panel` | Small info panel describing the theme / 主题说明面板 |\n| `ui.theme` | Contribute the global theme / 贡献全局主题 |\n\n## Safety / 安全\n\nCSS is sanitized by the host on load (size limit, no `@import`, no markup, no scripts, no external URLs). The plugin makes no network requests and stores no data.\n\nCSS 由宿主在加载时净化（字节上限、禁止 `@import`/标记/脚本/外部 URL）。插件不发起任何网络请求，不存储数据。\n",
      "safetyNotes": "Pure styling. The plugin contributes one global theme (CSS only) and a small info panel. No network, file, clipboard, or agent access.",
      "versions": [
        {
          "version": "1.0.4",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "Release 1.0.4: fix invisible text inside dark user bubbles — filenames (file chips), image/command chips, text and code links, and inline code/code blocks now render in paper tones on the ink bubble (host 0.14.x class names). Release 1.0.3: add the Theme category tag for marketplace discovery. Release 1.0.2: add README screenshots (chat view and theme picker); force the warm code-block and inline-code palette against the host light-theme cascade (defensive specificity + !important). Release 1.0.1: fix parchment code-block and inline-code overrides against the host light-theme cascade. Release 1.0.0: first release. Warm parchment global theme built on the host design tokens: cream paper background with faint 22px grid, solid ink user bubbles with paper-colored text, soft paper assistant cards, warm code blocks and tables, monospace meta lines, and composer/message width alignment in both sidebar layouts.",
          "minPiDesktop": "\u003e=0.4.3",
          "shasum": "11397e2ff5c7c245e8647c13ac8142bc545d9dd3b7922884f3ebd43aca7d0bb5",
          "url": "packages/pi.parchment-1.0.4.piplug",
          "sizeBytes": 351052,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.hufangyuan460-blip.windows-terminal",
      "name": "Windows ConPTY Terminal 终端",
      "description": "在工作面板中使用真正的 Windows 交互式终端：ConPTY 伪终端，支持 PowerShell 7 / Windows PowerShell 5.1 / cmd、多标签、中文输入输出、复制粘贴与 Ctrl+C 中断，终端内容不会交给 AI。",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "Windows 终端（ConPTY）",
          "description": "在工作面板中使用真正的 Windows 交互式终端：ConPTY 伪终端，支持 PowerShell 7 / Windows PowerShell 5.1 / cmd、多标签、中文输入输出、复制粘贴与 Ctrl+C 中断，终端内容不会交给 AI。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 285,
      "versions": [
        {
          "version": "1.1.5",
          "publishedAt": "2026-10-15T02:56:34Z",
          "changelog": "在工作面板中使用真正的 Windows 交互式终端：ConPTY 伪终端，支持 PowerShell 7 / Windows PowerShell 5.1 / cmd、多标签、中文输入输出、复制粘贴与 Ctrl+C 中断，终端内容不会交给 AI。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "3a0324c39ed9a880675d387c0e11df313824f3d332bf6dcefee71e32f4f2cb11",
          "url": "packages/io.github.hufangyuan460-blip.windows-terminal-1.1.5.piplug",
          "sizeBytes": 11142248,
          "permissions": [
            "clipboard.read",
            "clipboard.write",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/hufangyuan460-blip/windows-terminal-for-pi-desktop",
            "sourceRef": "v1.1.5",
            "sourceCommit": "e4b8e25bdfe6f27208640ace8f12645dbbca3524",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-15T02:56:06Z"
          }
        }
      ]
    },
    {
      "id": "io.github.akshayxkill.nexus-scenic-themes",
      "name": "Nexus Glass Scenic Themes",
      "description": "Nexus Scenic Themes is an appearance theme pack for Pi Desktop, bringing four scenic themes from PI Desktop Nexus into the native theme system. Includes Twilight Mountains, Alpine Light, Obsidian Horizon, and Emerald Afterglow, with per-theme backdrop blur and bundled local assets. Requires Pi Desktop 0.15.8 or later. Checkout nexus at \nhttps://github.com/alphalaughs2024-netizen/PI-Desktop-Nexus",
      "author": "Akshayxkill",
      "i18n": {
        "en": {
          "name": "Nexus Scenic Themes",
          "description": "Nexus Scenic Themes is an appearance theme pack for Pi Desktop, bringing four scenic themes from PI Desktop Nexus into the native theme system. Includes Twilight Mountains, Alpine Light, Obsidian Horizon, and Emerald Afterglow, with per-theme backdrop blur and bundled local assets. Requires Pi Desktop 0.15.8 or later. Checkout nexus at https://github.com/alphalaughs2024-netizen/PI-Desktop-Nexus",
          "safetyNotes": "The plugin only requests ui.theme, ui.settings, and ui.window.appearance. It has no filesystem, network, shell, clipboard, agent-tool, or background-service access. All assets are bundled locally."
        },
        "zh-CN": {
          "name": "Nexus 风景主题",
          "description": "Pi Desktop 外观主题包，将 PI Desktop Nexus 的四款风景主题接入原生主题系统：暮色山峦、阿尔卑斯晨光、黑曜石天际与翡翠余晖。每款主题均支持背景模糊，并附带本地资源；要求 Pi Desktop 0.15.8 或更高版本。",
          "safetyNotes": "插件仅申请 ui.theme、ui.settings 和 ui.window.appearance 权限。不访问文件系统、网络、shell 或剪贴板，不注册 Agent 工具或后台服务；所有资源均随插件本地打包。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 725,
      "homepage": "https://github.com/alphalaughs2024-netizen/nexus-scenic-themes",
      "readmeMarkdown": "Requires Pi Desktop 0.15.7 or later.\n\nPi Desktop 0.15.6 and earlier are not supported.",
      "safetyNotes": "The plugin only requests ui.theme, ui.settings, and ui.window.appearance. It has no filesystem, network, shell, clipboard, agent-tool, or background-service access. All assets are bundled locally.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-25T19:02:57Z",
          "changelog": "Initial release of Nexus Scenic Themes.\n\n- Added four bundled scenic themes:\n  - Twilight Mountains\n  - Alpine Light\n  - Obsidian Horizon\n  - Emerald Afterglow\n- Added dedicated Settings → Extensions → Nexus Scenic Themes page.\n- Added per-theme backdrop blur controls from 0px to 20px.\n- Added independent blur persistence for each theme.\n- Added immediate theme switching and visual updates.\n- Added bundled local backdrop assets with no remote downloads.\n- Added compatibility with the Pi Desktop appearance extensions API.\n- Restricted permissions to ui.theme, ui.settings, and ui.window.appearance.",
          "minPiDesktop": "\u003e=0.14.8",
          "shasum": "76dd9f61debff4afb36380503e5af6bf5f1ab3466f16ecfc083a9d050ecfe13f",
          "url": "packages/io.github.akshayxkill.nexus-scenic-themes-0.1.0.piplug",
          "sizeBytes": 18279289,
          "permissions": [
            "ui.settings",
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-25T18:57:24Z"
          }
        }
      ]
    },
    {
      "id": "community.workbuddy-connect",
      "name": "WorkBuddy Connect",
      "description": "Connect your own WorkBuddy or WorkBuddy AI account to PI through a local OpenAI Chat Completions bridge that starts with the PI plugin. Includes a configuration, key, authentication and model dashboard. Based on corrinehu/dsh-workbuddy-connect (MIT). Requires one-time PI model setup; not an official integration.",
      "author": "JHua07",
      "i18n": {
        "en": {
          "name": "WorkBuddy Connect",
          "description": "Connect your own WorkBuddy or WorkBuddy AI account to PI through a local OpenAI Chat Completions bridge that starts with the PI plugin. Includes a configuration, key, authentication and model dashboard. Based on corrinehu/dsh-workbuddy-connect (MIT). Requires one-time PI model setup; not an official integration.",
          "safetyNotes": "Unofficial integration; it reuses only your own WorkBuddy/WorkBuddy AI client login. It reads original credential files and, when needed, invokes the installed WorkBuddy Electron decryption helper to access WorkBuddy private authentication, catalog, and chat APIs. Refreshed credential copies, local keys, and caches are stored under ~/.pi-workbuddy-connect; credential copies may contain tokens and retain the upstream storage format without additional encryption—protect this directory and do not export or upload it. Native Node file and network operations are not protected by the PI fs/net permission gateway or OS capability sandbox; processes running as the same user may access the data. It listens only on 127.0.0.1; chat requires a local key, the admin page requires a same-origin session, keys are hidden by default and never placed in URLs, and no paid chat starts automatically. Permissions: background.service, ui.panel, clipboard.write, shell.openExternal. 43 tests and mainland-China catalog reads are verified; real paid chat, full PI shutdown/restart, and a real international account have not been tested. Code reuses https://github.com/corrinehu/dsh-workbuddy-connect.git (MIT) and retains Corrine Hu’s copyright."
        },
        "zh-CN": {
          "name": "WorkBuddy 接入管理",
          "description": "随 PI 插件启动的 WorkBuddy 本机桥接，支持国内/国际账号分离、自动认证与模型目录、Base URL 和本地 Key 管理、状态查询及网页后台。参考并复用 corrinehu/dsh-workbuddy-connect 的 MIT 代码；仍需首次手动配置 PI 的 OpenAI Chat Completions 连接。非官方集成，仅使用本人账号。",
          "safetyNotes": "非官方集成，仅复用你自己的 WorkBuddy / WorkBuddy AI 客户端登录。原始凭据文件只读；必要时调用已安装的 WorkBuddy Electron 解密助手，访问 WorkBuddy 私有认证、目录和聊天接口。刷新后的凭据副本、本地 Key 与缓存写入 ~/.pi-workbuddy-connect；凭据副本可能含 token，沿用上游存储格式且未额外加密，请保护该目录，不要导出或上传。原生 Node 文件/网络操作不受 PI fs/net 权限网关或 OS capability sandbox 保护，同用户进程可能访问数据。仅监听 127.0.0.1；聊天需本地 Key，管理页需同源会话；Key 默认隐藏、不放入 URL，也不会自动发起付费聊天。权限：background.service、ui.panel、clipboard.write、shell.openExternal。已验证 43 项测试与国内目录读取；真实付费聊天、完整退出/重启 PI、国际版真实账号尚未实测。代码参考并复用 https://github.com/corrinehu/dsh-workbuddy-connect.git（MIT），保留 Corrine Hu 版权。"
        }
      },
      "categories": [
        "ai-models",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "community",
      "downloads": 485,
      "homepage": "https://github.com/JHua07/Pi_desktop_plugins_workbuddy_connnect",
      "readmeMarkdown": "# PI WorkBuddy Connect 0.4.1\r\n\r\n随 PI 插件启动的本机 WorkBuddy 模型桥接，包含插件内管理面板与网页后台。\r\n\r\n\u003e 代码参考并复用：https://github.com/corrinehu/dsh-workbuddy-connect.git。上游作者 Corrine Hu，MIT；固定版本 0.7.1，提交 fa570627016f56adfd2f91ccd706356b9157f2a7。原版权与许可证保留在 vendor/dsh-workbuddy-connect/LICENSE。本项目新增 PI 生命周期适配、管理 API 和图形界面，不是从零独立实现认证/协议，也不是上游的官方移植版。\r\n\r\n## 使用\r\n\r\n1. 安装并登录自己的 WorkBuddy（国内）或 WorkBuddy AI（国际），使用 PI-Desktop 0.17.0+。\r\n2. 安装插件并批准后台服务权限，打开「WorkBuddy Connect: 接入管理」。无需额外安装 Node、开终端或 Windows 登录自启动。\r\n3. 首次在 PI 设置 → 模型添加 OpenAI 兼容 Chat Completions / openai-completions（不是 Responses），复制界面中的 Base URL、本地 Key 和准确模型 ID。\r\n\r\n国内默认 Base URL：http://127.0.0.1:18765/workbuddy/v1\r\n\r\n国际默认 Base URL：http://127.0.0.1:18765/workbuddy-ai/v1\r\n\r\nKey 不等于 WorkBuddy 原始 token。重新生成 Key 会立即使旧 Key 失效，需更新 PI 模型设置；不要将 Key 发到聊天、Issue 或截图中。\r\n\r\n## 功能与边界\r\n\r\n- 国内/国际账号与目录分离，自动处理认证和目录刷新。\r\n- 查看登录、token 有效期、模型来源，搜索/复制模型 ID，显示/复制/确认后重新生成 Key。\r\n- 插件禁用、卸载或 PI 退出后停止插件拥有的实例；外部实例不误停。\r\n- 支持暂停/恢复；网页后台可通过插件入口的一次性票据授权。\r\n- 仍需首次手动添加 PI 模型连接，不自动改写模型列表，不自动发送聊天或消耗对话额度。\r\n- 私有客户端接口可能随 WorkBuddy 更新而失效，使用者应遵守服务条款。\r\n\r\n## 安全\r\n\r\n只读本人客户端凭据，必要时执行对应 WorkBuddy Electron 解密助手；原生 Node 文件/网络代码不是 PI 权限网关或 OS 沙箱。专用目录 ~/.pi-workbuddy-connect 保存本地 Key、缓存及可能包含 token 的刷新凭据副本，未额外加密，请保护该目录。只监听回环地址，要求 Key/管理会话鉴权，Key 默认隐藏，不放入 URL。请仅安装可信来源插件。\r\n\r\n## 验证与许可\r\n\r\n43 项自动测试和 PI 原版宿主隔离 IPC/Edge 面板测试通过；国内真实目录曾获取 19 个模型。真实付费聊天/工具续轮、完整退出再启动 PI及国际版真实账号尚未实测。\r\n\r\nMIT License；Copyright (c) 2026 JHua07 and PI WorkBuddy Connect contributors；上游部分 Copyright (c) 2026 Corrine Hu。另包含 DeepSeek 的 MIT 原子写入依赖。软件许可不代替服务或账号授权。\r\n\r\n完整源码、README、LICENSE、LICENSES.md、第三方说明与排查记录：https://github.com/JHua07/Pi_desktop_plugins_workbuddy_connnect\r\n",
      "safetyNotes": "非官方集成，仅复用本人 WorkBuddy/WorkBuddy AI 的客户端登录。原始凭据文件只读；必要时调用已安装的对应 WorkBuddy Electron 解密助手，访问 WorkBuddy 私有认证、目录及聊天接口。刷新后的凭据副本、本地 Key 和缓存写入 ~/.pi-workbuddy-connect；凭据副本可能包含 token，采用原上游存储格式，未额外加密，请保护该目录，勿导出或上传。原生 Node 文件/网络操作不受 PI fs/net 权限网关或 OS capability sandbox 保护，同用户进程可能访问数据。只监听 127.0.0.1；聊天需本地 Key，管理页需同源会话，Key 默认隐藏，不放入网址，不自动发起付费聊天。权限为 background.service、ui.panel、clipboard.write、shell.openExternal。43 项测试及国内目录读取已验证；真实付费聊天、完整退出/重启 PI、国际版真实账号尚未实测。代码参考并复用 https://github.com/corrinehu/dsh-workbuddy-connect.git（MIT），保留 Corrine Hu 版权。",
      "versions": [
        {
          "version": "0.4.1",
          "publishedAt": "2026-10-08T12:22:28Z",
          "changelog": "首次提交 0.4.1：桥接随 PI 独立插件进程启停，提供本地 API Base URL/Key、认证状态、模型搜索与网页后台。修复缓存刷新失败误报、跨窗口复制旧 Key、退出登录残留模型和重新登录状态同步问题。43 项自动测试通过。参考并复用 corrinehu/dsh-workbuddy-connect 0.7.1 的 MIT 认证、目录及协议代码，保留 Corrine Hu 版权；PI 生命周期和图形管理流程为本项目新增适配。真实付费聊天及完整 PI 重启仍未实测。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "dd22733e0c80495af0453c8fed01a4d9a97be6b68957dc22e6b976659e196326",
          "url": "packages/community.workbuddy-connect-0.4.1.piplug",
          "sizeBytes": 558295,
          "permissions": [
            "background.service",
            "clipboard.write",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JHua07/Pi_desktop_plugins_workbuddy_connnect",
            "sourceRef": "v0.4.1",
            "sourceCommit": "cb6998c14a0d7eb3b3a4ee44901f07e6908b2c40",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-08T12:22:02Z"
          }
        }
      ]
    },
    {
      "id": "io.github.czp0312.subscription-quota",
      "name": "订阅额度",
      "description": "在工作面板中可视化订阅账号的剩余额度：Anthropic (Claude Pro/Max)、OpenAI (ChatGPT Plus/Pro)、GitHub Copilot、OpenRouter 等，按 5 小时 / 每周 / 每月 / 余额窗口显示剩余百分比、重置倒计时与进度条（绿=剩余、灰=已用）。只显示本机已登录的账号。",
      "author": "czp0312",
      "i18n": {
        "en": {
          "name": "Subscription Quotas",
          "description": "Visualize the remaining quota of your subscription accounts in the work panel — Anthropic (Claude Pro/Max), OpenAI (ChatGPT Plus/Pro), GitHub Copilot, OpenRouter and more — as 5-hour / weekly / monthly / credit windows with remaining percentage, reset countdown and a progress bar (green = remaining, grey = used). Only accounts signed in on this machine are shown.",
          "safetyNotes": "Only accounts the plugin can actually obtain a credential for are shown; everything else stays hidden. Two credential sources only: (1) a token you type into this plugin's own private settings, and (2) credential files an already-signed-in CLI/editor left on this machine, read with Node fs inside the plugin process — ~/.claude/.credentials.json (Claude Code), ~/.codex/auth.json (Codex CLI) and github-copilot hosts.json/apps.json. The plugin deliberately does NOT read PI-Desktop's own encrypted secret store, the AES-256-GCM secrets folder under the app data directory — its OAuth credentials are isolated from plugins on purpose, so an account signed in only through PI-Desktop's Settings shows nothing here until you also supply a token. Tokens are never logged, never cached and never returned to the view; only quota figures are. Network access is limited to the eight vendor hosts declared in net.domains."
        },
        "zh-CN": {
          "name": "订阅额度",
          "description": "在工作面板中可视化订阅账号的剩余额度：Anthropic (Claude Pro/Max)、OpenAI (ChatGPT Plus/Pro)、GitHub Copilot、OpenRouter 等，按 5 小时 / 每周 / 每月 / 余额窗口显示剩余百分比、重置倒计时与进度条（绿=剩余、灰=已用）。只显示本机已登录的账号。",
          "safetyNotes": "只显示插件真正拿到凭据的账号，其余一律不显示。凭据只有两个来源：① 你在本插件私有设置里填写的令牌；② 本机已登录的 CLI / 编辑器留下的凭据文件，由插件进程内的 Node fs 读取——~/.claude/.credentials.json（Claude Code）、~/.codex/auth.json（Codex CLI）、github-copilot 的 hosts.json / apps.json。插件刻意不读取 PI-Desktop 自己的加密密钥库（应用数据目录下那个 AES-256-GCM 的 secrets 文件夹）：它的 OAuth 凭据是被有意隔离在插件之外的，所以只在 PI-Desktop 设置里登录过的账号，在没有另填令牌之前不会显示任何内容。令牌不写日志、不进缓存、不返回给界面；返回的只有额度数字。联网仅限 net.domains 里声明的八个服务商域名。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 666,
      "homepage": "https://github.com/czp0312/pi-desktop-quota-visualizer#readme",
      "readmeMarkdown": "# 订阅额度 · Subscription Quotas\n\n\u003e 在 PI-Desktop 右侧工作面板里，一眼看清你的 AI 订阅还剩多少额度。\n\u003e 支持 Anthropic (Claude Pro/Max)、OpenAI (ChatGPT Plus/Pro)、GitHub Copilot、OpenRouter，\n\u003e 以及 Kimi Code / Meta / Radius / xAI 的自定义来源。**只显示本机已登录的账号。**\n\n![界面预览](https://raw.githubusercontent.com/czp0312/pi-desktop-quota-visualizer/main/assets/preview.png)\n\n*（上图是内置演示数据，用于展示界面；真实使用时按你的账号渲染。）*\n\n---\n\n## 功能\n\n- **按周期展示额度**：5 小时窗口、周额度、月额度、余额，各带独立进度条。\n- **剩余为核心**：进度条 **绿色填充 = 剩余额度**，灰色底槽 = 已用掉的额度；\n  右侧大号数字是剩余百分比，颜色随剩余风险变化（\u003e30% 绿、10–30% 橙、\u003c10% 红）。\n- **重置倒计时**：每秒刷新，30 分钟内变橙。\n- **只显示已登录的**：拿不到凭据的服务商不会出现在列表里，不占位、不报错。\n- **跟随应用外观**：深浅色、语言与 PI-Desktop 设计令牌一致。\n- **零配置可用**：已登录的 Claude Code / Codex / Copilot 会被自动发现。\n\n## 支持的服务商\n\n厂商 id 与 PI-Desktop「用订阅登录」列表一致。\n\n| 服务商 | 厂商 id | 凭据来源 | 额度接口 | 窗口 |\n|---|---|---|---|---|\n| Anthropic (Claude Pro/Max) | `anthropic` | Claude Code 凭据文件 / 手工令牌 | `api.anthropic.com/api/oauth/usage` | 5 小时 · 周（全部 / Sonnet / Opus） |\n| OpenAI (ChatGPT Plus/Pro) | `openai-codex` | Codex CLI 凭据文件 / 手工令牌 | `chatgpt.com/backend-api/wham/usage` | 5 小时 · 周 |\n| GitHub Copilot | `github-copilot` | Copilot 编辑器凭据 / 手工令牌 | `api.github.com/copilot_internal/user` | 月（高级请求 / 聊天 / 补全） |\n| OpenRouter | `openrouter` | 手工令牌 | `openrouter.ai/api/v1/key` | 余额 |\n| Kimi Code (subscription) | `kimi-coding` | 手工令牌 + 自定义来源 | 需自行配置 | 取决于接口 |\n| Meta (Muse subscription) | `meta` | 手工令牌 + 自定义来源 | 需自行配置 | 取决于接口 |\n| Radius | `radius` | 手工令牌 + 自定义来源 | 需自行配置 | 取决于接口 |\n| xAI (Grok/X subscription) | `xai` | 手工令牌 + 自定义来源 | 需自行配置 | 取决于接口 |\n\n后四种没有公开的额度接口，配一次「自定义来源」即可显示，无需改代码：\n\n```json\n[\n  {\n    \"vendor\": \"xai\",\n    \"label\": \"xAI (Grok/X)\",\n    \"url\": \"https://api.x.ai/v1/\u003c你的额度接口\u003e\",\n    \"token\": \"你的令牌\",\n    \"windows\": [\n      { \"path\": \"rate_limits\", \"period\": \"week\", \"usedField\": \"used_percent\",\n        \"resetField\": \"reset_at\", \"minutesField\": \"window_minutes\" }\n    ]\n  }\n]\n```\n\n省略 `windows` 时插件会**自动识别**这些常见字段名：\n`used_percent` / `usedPercent` / `utilization` / `percent_remaining`、\n`window_minutes` / `limit_window_seconds`、`reset_at` / `resets_in_seconds` / `reset_after_seconds`，\n并从键名猜测周期（`five_hour` → 5 小时，`seven_day` → 周，`month` → 月）。\n\n## 安装\n\n需要 PI-Desktop。二选一：\n\n**方式一 · 安装插件包**\n\n1. 打开 **插件**（扩展）页。\n2. 右上角溢出菜单 → **安装插件包**。\n3. 选择 `io.github.czp0312.subscription-quota-\u003c版本\u003e.piplug`。\n4. 审阅权限后安装（`net.fetch` 属高风险权限，需你显式授权）。\n\n插件包从本仓库的 [Releases](../../releases) 下载，或按下方「打包」一节自行构建。\n\n**方式二 · 加载开发插件**\n\n1. 插件页 → **加载开发插件**。\n2. 选择本仓库根目录（含 `manifest.json` 的那一层）。\n3. 之后改动会热重载；**新增/放宽权限需要重新加载目录**。\n\n装好后：右侧工作面板的视图菜单里会出现 **订阅额度**；\n命令面板（`Ctrl+K`）执行 **Subscription Quotas: Open Panel** 可打开独立面板窗口。\n\n## ⚠️ 关于「登录」的一个边界（重要）\n\nPI-Desktop 的「用订阅登录」把 OAuth 凭据**加密保存在宿主的密钥库里**\n（host-core SecretStore：`\u003cdataDir\u003e/secrets/\u003csha256(ref)\u003e.bin`，AES-256-GCM，\n机器密钥在 `\u003cdataDir\u003e/secrets/.machine-key`），插件 API 不暴露它，宿主也没有任何额度/用量接口。\n\n插件进程虽然有原生 Node 能力，但读取机器密钥再解密密钥库等于**绕过宿主刻意建立的凭据隔离**，\n本插件**不会**这样做。因此：\n\n\u003e **只在 PI-Desktop 设置里登录过的账号，本插件读不到它的额度。**\n\n本插件能用的凭据只有两类：\n\n1. 你在**本插件的设置**里填写的令牌（`credentials` / `sources`）；\n2. 本机**已经登录的 CLI / 编辑器**留下的凭据文件（见下表）。\n\n所以在本插件里，「已登录」＝「本机能拿到这个账号的可用凭据」。\n\n## 凭据发现路径\n\n| 服务商 | 查找的文件 |\n|---|---|\n| `anthropic` | `$CLAUDE_CONFIG_DIR/.credentials.json`、`~/.claude/.credentials.json` |\n| `openai-codex` | `~/.codex/auth.json`（`tokens.access_token` + `tokens.account_id`） |\n| `github-copilot` | `~/.config/github-copilot/hosts.json`、`…/apps.json`、`%APPDATA%\\github-copilot\\hosts.json`、`%LOCALAPPDATA%\\github-copilot\\hosts.json` |\n| 其余 | 无可发现路径，只认手工令牌 |\n\n只读取上表这些明确路径，不遍历目录、不读取其它文件。关掉设置里的「自动发现」即可完全不读它们。\n\n## 设置\n\n设置 → 扩展 → 订阅额度：\n\n| 键 | 类型 | 默认 | 说明 |\n|---|---|---|---|\n| `autoDetect` | boolean | `true` | 自动发现本机已登录的账号（上面的凭据文件） |\n| `demoMode` | boolean | `false` | 只渲染内置演示数据，不访问网络 |\n| `refreshSeconds` | number | `300` | 轮询间隔（30–3600 秒） |\n| `credentials` | json | `{}` | `厂商 id → 令牌`，填了即视为已登录 |\n| `sources` | json | `[]` | 自定义额度来源（见上） |\n| `accounts` | json | `[]` | 完全手填的窗口，不联网 |\n\n手工令牌示例：\n\n```json\n{\n  \"openrouter\": \"sk-or-v1-...\",\n  \"anthropic\": \"...\",\n  \"openai-codex\": \"...\",\n  \"github-copilot\": \"ghu_...\"\n}\n```\n\n完全手填的窗口示例（不联网）：\n\n```json\n[\n  {\n    \"id\": \"my-relay\",\n    \"label\": \"自建中转\",\n    \"plan\": \"team\",\n    \"windows\": [\n      { \"period\": \"session\", \"used\": 12, \"limit\": 60, \"unit\": \"次\", \"resetsAt\": \"2026-01-01T12:00:00Z\" },\n      { \"period\": \"week\", \"label\": \"本周额度\", \"usedPercent\": 42.5 },\n      { \"period\": \"month\", \"used\": 980, \"limit\": 5000, \"unit\": \"请求\" }\n    ]\n  }\n]\n```\n\n`period` 取 `session` / `day` / `week` / `month` / `credit`；\n额度可写 `usedPercent`，或 `used` + `limit`（自动换算百分比）；`resetsAt` 支持 ISO 字符串。\n\n## 权限与安全\n\n| 权限 | 用途 |\n|---|---|\n| `ui.view` | 工作面板停靠视图 |\n| `ui.panel` | 命令打开独立面板窗口 |\n| `net.fetch` | 请求额度接口（高风险，安装时需显式授权） |\n\n`net.domains` 只声明八个服务商域名：`api.anthropic.com`、`chatgpt.com`、`api.github.com`、\n`openrouter.ai`、`api.kimi.com`、`api.meta.ai`、`radius.pi.dev`、`api.x.ai`。\n自定义来源同样受这份白名单约束 —— 填非白名单地址会被宿主拒绝。\n\n- 令牌不写日志、不进缓存、不出现在返回给界面的任何字段里；缓存只保存额度数字。\n- 插件不读取 PI-Desktop 的密钥库，也不碰 `~/.ssh`、`.env*`、`*.pem` 等凭据路径。\n- 本插件不提供系统级通知、不注册常驻服务、不注入 Agent 提示词。\n\n## 从源码校验与打包\n\n需要 PI-Desktop 仓库检出（devkit 目前是仓库内私有包）：\n\n```bash\npnpm install\npnpm --filter @pi-desktop/plugin-devkit... build\npnpm pi-plugin check \u003c本仓库路径\u003e\npnpm pi-plugin pack  \u003c本仓库路径\u003e\n# → dist/io.github.czp0312.subscription-quota-0.2.0.piplug\n```\n\n生成的 `.piplug` 是 store-only ZIP，请勿用普通 `zip` 重打（安装器只接受未压缩归档）。\n`dist/` 已加入 `.gitignore`，发布时把 `.piplug` 挂到对应的 GitHub Release 上。\n\n## 目录结构\n\n```\n.\n├── manifest.json      # 插件身份、贡献点、权限、域名白名单\n├── main.js            # 插件进程：服务商注册表、凭据发现、额度归一化、通道路由\n├── views/quota.html   # 视图 / 面板共用的界面（无构建步骤）\n├── assets/preview.png # 本 README 的界面预览图\n├── README.md\n├── CHANGELOG.md\n└── LICENSE\n```\n\n`views/quota.html` 在 PI-Desktop 之外直接打开会进入「独立预览」模式：\n检测不到 `window.pluginBridge` 时渲染内置演示数据，方便调样式。\n\n## 已知限制\n\n- 上游额度接口都是服务商私有接口，非公开契约；结构变化时界面会显示失败原因，而不会静默给出错误数字。\n- Kimi Code / Meta / Radius / xAI 没有公开的额度接口，需要你在 `sources` 里配一次。\n- OpenRouter 只对**设了 limit 的密钥**给出剩余比例；没设上限时只提示、不显示数字。\n- 只在 PI-Desktop 里登录（未在对应 CLI 登录、也未填令牌）的账号不会显示 —— 见上面的边界说明。\n- OAuth 令牌过期不会自动刷新，请重新登录对应 CLI 或换填新令牌。\n- 依赖 `net.anyHost` 的自建中转站地址在当前稳定版宿主上不可用（该权限尚未进入发布版本）。\n\n## 更新日志\n\n见 [CHANGELOG.md](CHANGELOG.md)。\n\n## 许可\n\n[MIT](LICENSE)\n",
      "safetyNotes": "只显示插件真正拿到凭据的账号。凭据来源两类：① 你在本插件私有设置里填写的令牌；② 本机已登录的 CLI / 编辑器留下的凭据文件（~/.claude/.credentials.json、~/.codex/auth.json、github-copilot 的 hosts.json / apps.json），由插件进程内的 Node fs 读取。插件刻意不读取 PI-Desktop 自己的加密密钥库。令牌不写日志、不进缓存、不返回给界面；返回的只有额度数字。联网仅限 net.domains 里声明的八个服务商域名。",
      "versions": [
        {
          "version": "0.4.2",
          "publishedAt": "2026-09-29T15:30:18Z",
          "changelog": "## 0.4.2\n\n### 破坏性变更\n- 移除账号备注：额度卡片不再提供「修改备注」，「管理账号」里也不再填写备注；账号名只显示检测到的身份。\n\n### 新增\n- 账号名自动识别：ChatGPT 用 profile claim 的 `name`（昵称）作标题、`email` 显示为卡片 chip；Claude 用 `/api/oauth/profile` 的 `account.email`；GitHub Copilot 用额度接口返回的登录名。都拿不到时只显示厂商名。\n- Claude 邮箱查询走同源 `GET /api/oauth/profile`（与额度接口同域，未新增域名），失败只丢账号名、不影响额度读取。\n\n### 变更\n- 登录与刷新时记录账号 email（ChatGPT 取 id_token、Claude 取令牌响应的 account.email_address）；取不到不写该字段，旧凭据形状不变。\n- 文档补充凭据落盘位置、文件格式与安全边界。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "840ccf87ae96b269cc8df02fb6b1d094285cb7bca1b27de50cd9e810eb3895f9",
          "url": "packages/io.github.czp0312.subscription-quota-0.4.2.piplug",
          "sizeBytes": 154484,
          "permissions": [
            "net.fetch",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/czp0312/pi-desktop-quota-visualizer",
            "sourceRef": "v0.4.2",
            "sourceCommit": "009b084301ba09767f0289dfe243c8f360629589",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T15:29:52Z"
          }
        },
        {
          "version": "0.4.1",
          "publishedAt": "2026-09-29T11:08:12Z",
          "changelog": "## 订阅额度 0.4.1\n\n### 修复\n- 修复「添加账号」在首次失败、取消或网络异常后无法再次点击的问题（渲染异常导致操作状态卡死）。\n- 取消额度页面标题栏吸顶，改为普通文档流，避免固定遮挡滚动内容。\n\n### 新增\n- 支持直接在额度卡片内编辑插件账号备注：保存即时反馈、失败可重试、刷新时保留草稿，保存不重新请求额度。\n\n### 说明\n- 同厂商最多 10 个插件账号，可备注、重新授权、删除及优先级排序。\n- 推荐仅基于上次读取的额度，仅供在 Pi-Desktop 手动切换账号，不自动切换或转发对话请求。\n- 不新增权限与域名，不读取宿主密钥库。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "a1cf472b1090c9cce06e8ecac57787e3212464ac872daf64816791b3d4ff2eeb",
          "url": "packages/io.github.czp0312.subscription-quota-0.4.1.piplug",
          "sizeBytes": 264861,
          "permissions": [
            "net.fetch",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/czp0312/pi-desktop-quota-visualizer",
            "sourceRef": "v0.4.1",
            "sourceCommit": "a2091d994b0de6e708a00435c6b951fe8a49f695",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T11:07:50Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-29T09:22:07Z",
          "changelog": "## 订阅额度 v0.3.0\n\n### 新增\n\n- 面板「管理账号」：**ChatGPT、Claude、GitHub Copilot 可在插件内单独授权**，无需安装 Codex / Claude Code / Copilot CLI。\n- ChatGPT / Claude 浏览器 OAuth（PKCE + 本机 127.0.0.1 回调），Copilot 设备码授权。\n- 授权失败时可粘贴最终跳转的完整回调 URL 兜底。\n- 令牌加密保存到插件自身数据目录，过期前自动刷新，支持退出。\n\n### 变更\n\n- 凭据优先级：手工令牌 → 插件内授权 → CLI 回退。\n- `autoDetect` 现在只控制 CLI 凭据文件读取，不再影响插件授权与手工令牌。\n- 新增权限 `shell.openExternal` 与授权域名，**升级后需重新加载插件并批准**。\n\n### 修复\n\n- 服务商查询改为并行，单请求限时 8s，减少面板通道超时。\n- 不再回传上游响应正文，避免意外泄露请求头。\n- 修复 `sources.windows` 在只有 `limit_window_seconds` 时的异常。\n\n### 说明\n\n- 仍未复用 PI-Desktop 自身登录，也不读取宿主密钥库；需要在本插件内授权一次。\n- OpenRouter 仍填写 API Key；Kimi / Meta / Radius / xAI 仍需自定义来源。\n- 自动化测试使用模拟响应，未包含真实账号端到端验证。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "bb01fa42b504bbf080f78ed33ff8d9fed873a49d02f7d2d1d06e279f7e321e3e",
          "url": "packages/io.github.czp0312.subscription-quota-0.3.0.piplug",
          "sizeBytes": 259844,
          "permissions": [
            "net.fetch",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/czp0312/pi-desktop-quota-visualizer",
            "sourceRef": "v0.3.0",
            "sourceCommit": "061c6bafe8ef3a7a1faec4e92091382a041ebe77",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T09:21:45Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-29T07:45:01Z",
          "changelog": "## 订阅额度 v0.2.0\n\n在 PI-Desktop 右侧工作面板中可视化订阅账号的剩余额度，**只显示本机已登录的账号**。\n\n### 支持的订阅服务\n\n厂商 id 与 PI-Desktop「用订阅登录」列表对齐，共八家：\n\n| 服务商 | 内置额度接口 |\n|---|---|\n| Anthropic (Claude Pro/Max) | `api.anthropic.com/api/oauth/usage` |\n| OpenAI (ChatGPT Plus/Pro) | `chatgpt.com/backend-api/wham/usage` |\n| GitHub Copilot | `api.github.com/copilot_internal/user` |\n| OpenRouter | `openrouter.ai/api/v1/key` |\n| Kimi Code / Meta / Radius / xAI | 通过设置里的「自定义额度来源」配置 |\n\n### 功能\n\n- 按 **5 小时 / 每周 / 每月 / 余额** 窗口分别展示，各带独立进度条与重置倒计时。\n- 进度条 **绿色填充 = 剩余额度**，灰色底槽 = 已用额度；颜色随剩余风险变化。\n- 已登录的 Claude Code / Codex / Copilot 会被自动发现，无需配置。\n- 视图与独立面板共用同一份界面，跟随应用深浅色与语言。\n\n### 权限\n\n`ui.view`、`ui.panel`、`net.fetch`（联网仅限 `net.domains` 里声明的八个服务商域名）。\n\n### 重要说明\n\nPI-Desktop 自己的 OAuth 凭据保存在宿主的加密密钥库中，插件不读取它。因此\n**只在 PI-Desktop 设置里登录过的账号不会显示**，除非你另在本插件设置里填写令牌，\n或本机有对应的 CLI / 编辑器凭据文件。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "85ec5ca37cf561f457855f5e37d45d55a0ebdba0ebb0eb4b15cb1f563fcce399",
          "url": "packages/io.github.czp0312.subscription-quota-0.2.0.piplug",
          "sizeBytes": 195800,
          "permissions": [
            "net.fetch",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/czp0312/pi-desktop-quota-visualizer",
            "sourceRef": "v0.2.0",
            "sourceCommit": "8dc06c74d6ac4aac6665c128521bdc59e050c618",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T07:44:41Z"
          }
        }
      ]
    },
    {
      "id": "io.github.muzimu217.theme-forge",
      "name": "Theme Forge 主题工坊",
      "description": "给 agent 的 AI 主题工作台：用一句自然语言描述想要的样子，agent 生成主题 CSS 并经运行时主题注册表实时应用到整个应用——即见即所得，不满意就继续改，满意后一键导出 CSS。内置主题列表/移除/一键恢复系统主题，全部经宿主主题策略消毒，零出网、零文件访问。",
      "author": "muzimu217",
      "i18n": {
        "en": {
          "name": "Theme Forge",
          "description": "An AI theme workbench for the agent: describe the look you want in one sentence, the agent generates theme CSS and applies it live to the whole app through the runtime theme registry — instant preview, iterate on feedback, export the CSS when satisfied. Includes theme listing, removal and one-tap reset to the system theme. Sanitized by the host theme policy; zero network, zero file access.",
          "safetyNotes": "No network egress, no filesystem access. The plugin can only create, update and remove themes registered under its own id (plugin:io.github.muzimu217.theme-forge:*); all CSS passes the host theme sanitizer (size cap, no url()/imports) before it is applied. Applying a theme changes the app appearance only; one action restores the system theme at any time. Exported CSS goes to the clipboard only."
        },
        "zh-CN": {
          "name": "Theme Forge 主题工坊",
          "description": "给 agent 的 AI 主题工作台：一句自然语言描述想要的样子，agent 生成主题 CSS 并经运行时主题注册表实时应用到整个应用——即见即所得，不满意继续改，满意后一键导出 CSS。内置主题列表/移除/一键恢复系统主题。经宿主主题策略消毒，零出网、零文件访问。",
          "safetyNotes": "零出网、零文件访问。插件只能创建/更新/移除挂在自己 id 下的主题（plugin:io.github.muzimu217.theme-forge:*）；所有 CSS 先经宿主主题消毒器（大小上限、禁 url()/导入）再应用。应用主题只改变应用外观，随时可一键恢复系统主题。导出的 CSS 仅进入剪贴板。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 330,
      "readmeMarkdown": "# Theme Forge\n\nAn **AI theme workbench** for PI-Desktop: describe the look you want in one sentence, and the agent generates theme CSS and applies it to the whole app **live** — instant preview, iterate on feedback, export the CSS when you're satisfied.\n\n```\n你：换个暖色调的主题，橙色点缀，别太刺眼\n         │\n         ▼\n   agent 生成主题 CSS（变量覆盖，叠在明/暗底色上）\n         │\n         ▼\n   theme_forge.apply ──► pi.themes.upsert（宿主消毒终审）\n         │                       │\n         ▼                       ▼\n   pi.app.setTheme ──► 整个应用实时换肤，无需重启\n         │\n         ▼\n   「标题再亮一点」→ 同名重投即更新 ──► 满意后 export 导出 CSS\n```\n\n## The `theme_forge` agent tool\n\n| action | 作用 |\n|---|---|\n| `apply` | 生成/更新主题并实时应用（`css` + `label` + `base`[light/dark] + `activate`，默认 true） |\n| `list` | 列出工坊主题 |\n| `remove` | 移除指定主题 |\n| `reset` | 一键恢复系统主题 |\n| `export` | 把主题 CSS 复制到剪贴板 |\n\n## 安全模型\n\n- 权限最小集：`ui.theme` + `agent.tool.register` + `clipboard.write`。**零出网、零文件访问**。\n- 插件只能操作挂在自己 id 下的主题（`plugin:io.github.muzimu217.theme-forge:*`）。\n- 所有 CSS 经宿主主题消毒器终审（256KB 上限、拒绝 `url()`/`@import`）；工具侧预检先行，报错可读。\n- 只改变应用外观；`reset` 随时恢复系统主题。\n\n## 模型要求\n\n无特殊要求——任何能写 CSS 的模型即可（不需要视觉能力）。\n\n## Roadmap\n\n- v0.2：预览面板（主题画廊 + 变量滑杆）、从截图生成主题（配合 Vision Kit）、主题分享格式。\n- v0.3：种子模板库（明/暗各若干预设起步）。\n\n## License\n\nMIT\n",
      "safetyNotes": "零出网、零文件访问。插件只能创建/更新/移除挂在自己 id 下的主题；所有 CSS 先经宿主主题消毒器（大小上限、禁 url()/导入）再应用。应用主题只改变应用外观，reset 随时恢复系统主题。导出的 CSS 仅进入剪贴板。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-28T17:23:39Z",
          "changelog": "### 0.1.0 — 首个版本\n\n- `theme_forge` agent 工具：一句自然语言描述想要的样子，agent 生成主题 CSS 并实时应用到整个应用（pi.themes.upsert + pi.app.setTheme，无需重启）——即见即所得。\n- 五动作：apply 实时生成并应用 / list 工坊主题 / remove 移除 / reset 一键恢复系统主题 / export CSS 复制到剪贴板。\n- 纯外观改动、即时可逆；零出网、零文件访问；CSS 全部经宿主主题消毒器终审（256KB 上限、禁 url()/导入）；只能操作挂在自己插件 id 下的主题。\n- 中英双语；单元测试 10/10；宿主 validateManifest 通过；真机 E2E 全链路验证（生成→应用→实时换肤）。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "3a436c1dca2bed1a5eff45fa72cdbe3de4fd902d089550d1ca36bc059c9ac73e",
          "url": "packages/io.github.muzimu217.theme-forge-0.1.0.piplug",
          "sizeBytes": 17998,
          "permissions": [
            "agent.tool.register",
            "clipboard.write",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "c4aba0aedc89eacc620e16ca9269f31966bc81a3",
            "sourceCommit": "c4aba0aedc89eacc620e16ca9269f31966bc81a3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T17:23:18Z"
          }
        }
      ]
    },
    {
      "id": "local.git-workbench",
      "name": "Git Workbench",
      "description": "模型读你本次改动，自动写出规范的提交信息：在 PI-Desktop 右侧工作面板查看改动文件、按文件暂存或放弃，点一下就让模型根据 diff 生成 commit message（也可以自己手写），再提交、拉取、推送；面板底部还能查看提交历史与单个提交的属性、改动文件和差异，全程不用离开应用。",
      "author": "white",
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 31,
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-11-26T10:58:33Z",
          "changelog": "## [0.3.0] - 2026-11-26\n\n插件不再提供命令，所有操作都从工作面板发起；没有改动可提交时，主按钮改为把本地与远端同步。\n\n### 新增\n\n- 「提交」按钮会按状态切换：工作区干净、但当前分支与上游已经分叉时，按钮变成「同步更改 1↑」（落后时是 `2↓`，两侧都有差异时是 `1↑ 2↓`），图标换成同步箭头，提交下拉菜单自动收起。\n- 点这个按钮会先 `git pull --no-rebase --no-edit`，把落后的提交拉下来，再推送本地提交，因此不会再被远端以 non-fast-forward 拒绝；拉取失败或留下冲突时只停在拉取，不会继续推送。\n- 悬浮提示写明这一步会做什么（推送 N 个本地提交 / 拉取 N 个远端提交 / 先拉后推）；`⌘/Ctrl + Enter` 与主按钮行为一致。\n- 同步、拉取、刷新进行中时，刷新按钮与同步按钮上的圆形箭头会旋转，一眼看出后台正在和远端通信。\n\n### 移除\n\n- 删除 `contributes.commands` 里的 `git-workbench.open`、`git-workbench.pull`、`git-workbench.push` 三条命令，以及对应的 `onCommand:` 激活事件（只保留 `onStartup`）。\n- `main.js` 不再注册、注销命令，也不再为命令维护标题与提示文案；打开、拉取、推送只在面板内发起。\n- README 里的「命令」一节随之删除，改为「设置与工具」下的「命令：无」。\n\n### 说明\n\n- 面板能力与后端通道完全不变：`git.pull`、`git.push`、`git.pushPreflight`、`git.trustSshHost` 等仍由面板调用，推送前的确认流程与之前一致。\n- 已安装 0.2.0 的用户升级后，命令面板里这三条命令会消失，其余行为不变。\n- 提交信息输入框聚焦时不再出现蓝色描边，只保留中性边框（光标即为焦点提示）。\n- AI 生成按钮的图标与描边改用提交按钮那套变量（`--commit`），跟随宿主主题的强调色。",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "17d53e6dbc8c88a2ea761bb29f3e2dc1d32c70b459148ce021efd07f7489d3c8",
          "url": "packages/local.git-workbench-0.3.0.piplug",
          "sizeBytes": 209807,
          "permissions": [
            "agent.complete",
            "models.list",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/itzhoujun/pi-desktop-plugin",
            "sourceRef": "v0.3.0",
            "sourceCommit": "16996f964e3e96f36308de18caacbe20916abbd3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-26T10:56:05Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-25T02:50:02Z",
          "changelog": "0.2.0 推送前预检与 SSH 主机指纹确认\n\n- 新增推送预检：解析远端与当前分支，判断是否缺少上游分支，只在需要时弹出确认卡片\n- 新增 SSH 主机指纹确认：known_hosts 缺失时展示 SHA256 指纹与写入路径，确认后只写入核对过的密钥\n- 推送可指定远端与远端分支，并自动 --set-upstream\n- 推送失败按类型给出中英双语提示：未知主机、主机密钥变更、认证失败、无上游分支、非快进、仓库不存在、网络错误\n- 提交后推送失败不再整体失败：提交会保留，并单独提示推送失败原因",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "6539ba732c81b62e90fc108f4763497ed24600f6a62d4570dfa5f17065652b07",
          "url": "packages/local.git-workbench-0.2.0.piplug",
          "sizeBytes": 204083,
          "permissions": [
            "agent.complete",
            "models.list",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/itzhoujun/pi-desktop-plugin",
            "sourceRef": "v0.2.0",
            "sourceCommit": "3fca4174bae1daa7bf8ef96fb27d782c30abc50e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-25T02:47:36Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-24T15:12:56Z",
          "changelog": "首个公开版本。\n\n新增：\n- 右侧 Git 工作面板：分支、仓库、ahead/behind，顶栏拉取、推送、刷新。\n- 提交框：手写或让模型流式生成提交信息；提交下拉菜单支持仅暂存 / 全部更改 / 提交后推送 / --signoff。\n- 文件列表：已暂存与更改两组，行内暂存、取消暂存、放弃更改；分组标题右侧常驻全部暂存 / 全部放弃 / 全部取消暂存，无文件时置灰。\n- 左右分栏 diff：点击文件在面板内右半屏查看差异（着色 + 增删统计），分隔条可拖拽、双击复位、Esc 关闭。\n- 提交历史：底部可折叠列表，展开看属性表、改动文件与该提交的 diff；滚动到底部自动加载下一批（每次 30 条，上限 200）。\n- 主题跟随宿主（含插件主题令牌映射）与中英双语。",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "3fe8f81f129d34f45d3a0834c5df0f21595b3b73815b7f9543b5e6064710a2a3",
          "url": "packages/local.git-workbench-0.1.0.piplug",
          "sizeBytes": 155577,
          "permissions": [
            "agent.complete",
            "models.list",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/itzhoujun/pi-desktop-plugin",
            "sourceRef": "v0.1.0",
            "sourceCommit": "7a3ae9530582468ec6f0db25c0051a9af3b70fd9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-24T15:10:17Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.test-warden",
      "name": "Test Warden",
      "description": "Keeps unit tests in step with code, for any test framework: uses the project's own verified test command, finds regressions on old vs new code, builds test suites for files without touching them, keeps only tests that can fail, and reports bugs instead of fixing them.",
      "author": "Eskwisit",
      "categories": [
        "agents-workflow",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 43,
      "versions": [
        {
          "version": "0.8.0",
          "publishedAt": "2026-11-17T10:55:40Z",
          "changelog": "# Changelog\n\n## 0.8.0\n\n### Features\n\n- **extension:** block edits of code under test, the fixer agent and short runs (`8069231`)\n- **main:** write guard.json per run, release action and guardMinutes setting (`4b7e54b`)\n\n### Documentation\n\n- **skills:** state the read-only rule once, enforced by the guard (`8d6f0d5`)\n- **subagents:** mention the guard to the writer (`e811bb7`)\n- **readme:** describe the guard, release and guardMinutes (`b592349`)\n\n### Tests\n\n- **tests:** cover the guard file and the extension (`05c0dfc`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "43b3a98afe3c15b66badbac68c43abf0a401c1d4745d917677ac21f34205e8a4",
          "url": "packages/eskwisit.test-warden-0.8.0.piplug",
          "sizeBytes": 232843,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".test-warden/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-test-warden",
            "sourceRef": "v0.8.0",
            "sourceCommit": "cff6f726cca94fd3bdbca5e51df2241049077b77",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T09:55:04Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-11-05T07:07:21Z",
          "changelog": "# Changelog\n\n## 0.6.0\n\n### Features\n\n- triage every failure, learn a rule from it and report what was learned (`44550ff`)\n\n### Documentation\n\n- **readme:** show failure triage and per-run lessons in the flow (`2d6c685`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "dca94a69e46b567888f6385fe5213a643902c2f4ecfa37aedc8753c2e6b17f91",
          "url": "packages/eskwisit.test-warden-0.6.0.piplug",
          "sizeBytes": 215870,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".test-warden/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-test-warden",
            "sourceRef": "v0.6.0",
            "sourceCommit": "2b921b756af9738a89ea1258558e6e8dabaf5fe6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T07:05:40Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-04T21:23:56Z",
          "changelog": "# Changelog\n\n## 0.5.0\n\n### Features\n\n- **manifest:** add a per-run timeout setting (`c549b2c`)\n\n### Fixes\n\n- **main:** never install packages or hang in check and gate runs (`9466c99`)\n\n### Documentation\n\n- **skills:** explain timed-out runs and install-free test commands (`4716f34`)\n- **readme:** list the run timeout setting (`96aee9f`)\n- describe the no-install and run timeout safeguards (`47d31ad`)\n\n### Tests\n\n- check the no-install env, the run limit and timeout results (`8f42a69`)\n- cover the run timeout setting and its clamping (`5c5eee5`)\n- kill a hanging run and report it as timed out (`088d1c1`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "557e8689ca9e29f977de3ff54dd9248ec914b31027eabc8c61ea4552b53a93fa",
          "url": "packages/eskwisit.test-warden-0.5.0.piplug",
          "sizeBytes": 213594,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".test-warden/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-test-warden",
            "sourceRef": "v0.5.0",
            "sourceCommit": "ee974d771937844de221bd10db846bf2ec53391f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T21:22:16Z"
          }
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-11-04T20:34:58Z",
          "changelog": "# Changelog\n\n## 0.4.0\n\n### Features\n\n- **main:** add the profile, check, gate and lessons tools (`3dc4ed9`)\n- **subagents:** add a test writer that never edits the tested code (`5594a97`)\n- **skills:** add the test warden orchestrator skill (`acd4e8e`)\n- **manifest:** declare the tools, skill, settings and permissions (`6b4d928`)\n\n### Documentation\n\n- **readme:** describe the tools, prompts, permissions, limits and tests (`6a302a3`)\n- add the security review notes (`cd78906`)\n\n### Tests\n\n- add a fake pi-desktop host and a test entry point (`251bf9e`)\n- cover classification, globs, commands, scripts and undo (`683ad0a`)\n- cover the warden tools from profile to gate verdict (`e9dd865`)\n- cover writer install, removal and the skill front matter (`f5590e3`)\n- run checks and gates end to end in real git repositories (`437ab6d`)\n\n### CI\n\n- print the changelog section of a version (`712b6a4`)\n- publish a github release when the manifest version changes (`0e121e2`)\n\n### Chores\n\n- ignore build output, piplug files and test warden runs (`c15c925`)\n- license the plugin under apache-2.0 (`3a17a81`)\n- add the changelog (`986b976`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "78d1aa2ba0585afde8049f8516429365f528f7c9ddd8a8b88d32baf7ba97bc5a",
          "url": "packages/eskwisit.test-warden-0.4.0.piplug",
          "sizeBytes": 205994,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".test-warden/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-test-warden",
            "sourceRef": "v0.4.0",
            "sourceCommit": "ffb98132de7b6112f1a69f93b751ae7fbc4dbac8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T20:33:13Z"
          }
        }
      ]
    },
    {
      "id": "pi.terminal",
      "name": "Terminal",
      "description": "Otty-inspired interactive terminal for PI-Desktop. Docks in the right work panel (no separate window), with tabs, cross-platform shell profiles, and copy/paste.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Terminal",
          "description": "Otty-inspired interactive terminal for PI-Desktop. Docks in the right work panel (no separate window), with tabs, cross-platform shell profiles, and copy/paste.",
          "safetyNotes": "This plugin launches a real login shell as your user through a bundled PTY helper (forkpty on macOS/Linux, ConPTY on Windows). Anything you can run in a system terminal can run here, including destructive commands. It does not persist transcripts, passwords, or shell history beyond an in-memory scrollback that dies with the plugin process. Uninstalling or disabling the plugin kills every session. The AI is not given a tool that writes to the PTY; agent command execution continues to use the host Bash tool."
        },
        "zh-CN": {
          "name": "终端",
          "description": "受 Otty 启发的 PI-Desktop 交互式终端，只停靠在右侧工作面板（无独立窗口）；支持多标签、跨平台 shell profile 与复制粘贴。",
          "safetyNotes": "本插件通过自带的 PTY 助手以当前用户身份拉起真正的登录 shell（macOS/Linux 为 forkpty，Windows 为 ConPTY）。系统终端能执行的命令这里都能执行，包括破坏性操作。插件不持久化 transcript、密码或 shell 历史，仅在进程内存中保留有限回滚缓冲，卸载或禁用即杀掉全部会话。AI 没有写入 PTY 的工具；模型执行命令仍走宿主 Bash。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 147,
      "homepage": "https://plugins.aiuo.net/plugins/pi.terminal",
      "repository": "https://plugins.aiuo.net/plugins/pi.terminal",
      "readmeMarkdown": "# Terminal · 终端\n\nOtty-inspired interactive terminal for PI-Desktop. It docks in the right work panel next to the conversation — there is no separate window.\n\n受 Otty 启发的交互式终端，只停靠在右侧工作面板（无独立窗口）。\n\n## What it does\n\n- **Work panel view** — `Terminal` / `终端` in the plugin views menu (icon `terminal`). Open the work panel with **Mod+J**.\n- **Tabs** — new / close / switch. Closing the view does **not** kill the shell; reopening replays a bounded in-memory scrollback. Tabs belong to the **currently open project**; switching projects shows that project's terminals only (other shells stay alive in the background until the plugin is disabled).\n- **Cross-platform shells**\n  - macOS: `$SHELL` → `/bin/zsh` as a real login shell (`argv0` `-zsh`)\n  - Linux: `$SHELL` → `/bin/bash` as a real login shell\n  - Windows: PowerShell → `cmd.exe`; Git Bash is offered when installed\n- **Login PATH** — GUI apps often see a thin PATH. On load the plugin dumps your interactive login environment and injects it into every PTY, then prepends common tool dirs (pnpm, nvm, bun, cargo, Homebrew) if they exist. `node` / `pnpm` / `brew` should resolve the same way they do in Terminal.app.\n- Follows the app language (`en` / `zh-CN`) and color mode, including live light/dark switches while the view stays open (chrome and xterm canvas). Copy/paste: macOS `Cmd+C/V`, Windows/Linux `Ctrl+Shift+C/V`. Find: `Cmd/Ctrl+F`. Font size: `Cmd/Ctrl +` / `-`.\n\nNot in v0.1: pane splits, Recipes, SSH sessions (use **SSH Manager**), or an agent tool that types into the PTY.\n\n## Permissions\n\n| Permission | Why |\n| --- | --- |\n| `ui.view` | Work-panel Terminal view |\n| `background.service` | Keep the plugin process (and live PTYs) resident when the UI is closed |\n| `clipboard.read` / `clipboard.write` | Paste / copy |\n| `agent.prompt.inject` | Skill that tells the AI this PTY is for humans; host Bash stays the command path |\n\nNo `fs.*` permission. The plugin process reads the current workspace path and passes it to the helper as the session cwd.\n\n## How it works\n\nA bundled helper binary (`vendor/pi-pty-\u003cos\u003e-\u003carch\u003e`) owns the real PTY (forkpty / ConPTY). The plugin process speaks a JSON-line protocol with the helper. The sandboxed view has no Node and no push channel, so output is pulled with `pty.drain` long-polls.\n\nOn Windows the helper is a GUI-subsystem binary and attaches PowerShell (or cmd / Git Bash) to ConPTY with `CREATE_NO_WINDOW`, so the shell runs inside the work-panel xterm instead of popping a separate console.\n\nThe zip packer does not preserve unix `+x`. On first spawn the plugin `chmod`s the helper.\n\n## Settings\n\n- `fontSize` — 10–24, default 13\n- `scrollback` — in-memory reconnect buffer in lines, default 5000\n- `maxSessions` — live tab cap, default 8\n- `profiles` — JSON array of `{ id, name, shell, args, cwd, env }`. `cwd` must stay inside the workspace or home directory.\n\n## Development\n\n```bash\n# rebuild helpers (Go 1.22+). Windows binaries use -H windowsgui.\nsh plugins/pi.terminal/helper/build.sh\n\npython3 scripts/pack_plugin.py plugins/pi.terminal\npython3 scripts/rebuild_catalog.py\nnode --test tests/terminal.test.mjs tests/panel-chrome.test.mjs\n```\n\nLoad `plugins/pi.terminal` as a development plugin, then open **Terminal** from the work panel (Mod+J).\n\n## Requirements\n\n- PI-Desktop `\u003e= 0.8.0` (`ui.view` / work-panel plugin views)\n- A helper binary for the current `process.platform` + `process.arch`\n",
      "safetyNotes": "This plugin launches a real login shell as your user through a bundled PTY helper (forkpty on macOS/Linux, ConPTY on Windows). Anything you can run in a system terminal can run here, including destructive commands. It does not persist transcripts, passwords, or shell history beyond an in-memory scrollback that dies with the plugin process. Uninstalling or disabling the plugin kills every session. The AI is not given a tool that writes to the PTY; agent command execution continues to use the host Bash tool.",
      "versions": [
        {
          "version": "0.1.6",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "Release 0.1.6: on Windows, attach PowerShell to ConPTY inside the work panel instead of opening a separate console window. Release 0.1.5: follow the app color mode only — never snap to the OS palette, which flashed when the two disagreed. Release 0.1.4: follows the app light/dark mode live in the work-panel view, including the xterm canvas. Release 0.1.3: isolates PTY tabs per open project so switching workspaces cannot mix sessions. Release 0.1.2: docks only in the right work panel; the detached window is removed. Release 0.1.1: login-shell environment so GUI-launched sessions inherit PATH (pnpm, nvm, Homebrew, cargo, bun); denser Otty-like chrome with bottom tabs, find, and font-size controls. Release 0.1.0: first release. Multi-tab PTY sessions, cross-platform default shells (zsh / bash / PowerShell / optional Git Bash), theme and language following, and copy/paste.",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "e915e96f6895a3f3881314e29099ae3c59236e8e93e6f805f4ba6d3f14919c22",
          "url": "packages/pi.terminal-0.1.6.piplug",
          "sizeBytes": 13952827,
          "permissions": [
            "agent.prompt.inject",
            "background.service",
            "clipboard.read",
            "clipboard.write",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.xinzhihong.group-rooms",
      "name": "Group Rooms",
      "description": "Create or join shared rooms, chat in native sessions, and manage members in the work panel.",
      "author": "xinzhihong-ship-it",
      "i18n": {
        "zh-CN": {
          "name": "群组房间",
          "description": "创建或加入共享房间，在原生会话中聊天，并在工作面板中管理成员。"
        }
      },
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 244,
      "homepage": "https://github.com/xinzhihong-ship-it/pi-plugin-group-rooms",
      "versions": [
        {
          "version": "0.1.1",
          "publishedAt": "2026-10-11T05:55:48Z",
          "changelog": "补充 MIT 许可证，修复 SRC005 审核暂缓。\n\n- 新增仓库根目录 LICENSE（MIT 许可证全文）。\n- manifest.json 增加 license: MIT，并补 author、homepage。\n- 功能与 0.1.0 相同；依赖宿主 PI-Desktop \u003e= 0.18.0-beta.2 且包含托管会话 API\n（上游 issue #1539 / PR #1540）。",
          "minPiDesktop": "\u003e=0.18.0-beta.2",
          "shasum": "75599e10aadab841e405721bc1fe598d29474246a64bf5c6d177f1de16edb98f",
          "url": "packages/io.github.xinzhihong.group-rooms-0.1.1.piplug",
          "sizeBytes": 586290,
          "permissions": [
            "background.service",
            "desktop.control",
            "fs.read",
            "models.list",
            "net.anyHost",
            "renderer.extension",
            "secrets.store",
            "session.manage.own",
            "session.read.own",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "userSelected",
              "scope": []
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/xinzhihong-ship-it/pi-plugin-group-rooms",
            "sourceRef": "v0.1.1",
            "sourceCommit": "cbee7baded9f0825dab8732e29e6348f1cc9b32b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-11T05:10:39Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-11T05:55:19Z"
          }
        }
      ]
    },
    {
      "id": "io.github.ldzhouquan.fast-browser",
      "name": "Jev Browser Use",
      "description": "Jev-powered browser agent for PI-Desktop: observes the work-panel browser as a numbered list of real controls, asks Jev for one constrained decision per step (one TypeSafe request), and executes through the host-approved CDP surface until the goal is done, blocked, or out of steps. Tools: jev_observe, jev_act, jev_run, jev_wait, jev_cancel.",
      "author": "ldzhouquan",
      "i18n": {
        "en": {
          "name": "Jev Browser Use",
          "description": "Jev-powered browser agent for PI-Desktop: observes the work-panel browser as a numbered list of real controls, asks Jev for one constrained decision per step (one TypeSafe request), and executes through the host-approved CDP surface until the goal is done, blocked, or out of steps. Tools: jev_observe, jev_act, jev_run, jev_wait, jev_cancel.",
          "safetyNotes": "Drives the built-in work-panel browser through the host-approved CDP interface and sends page snapshots to api.typesafe.ai (Jev routing; this is the only domain in the net.fetch allowlist). Text entry may call the host-configured model through agent.complete. No filesystem access; only one task runs at a time, and the browser remains visible."
        },
        "zh-CN": {
          "name": "Jev 浏览器代理",
          "description": "基于 Jev 的 PI-Desktop 浏览器 Agent：将工作面板浏览器中的真实控件整理为编号列表，每一步让 Jev 给出受限操作决策，再通过宿主授权的 CDP 执行，直到完成、受阻或达到步数上限。提供观察、操作、运行、等待和取消工具。",
          "safetyNotes": "通过宿主许可的 CDP 接口驱动内置工作面板浏览器，并将页面快照发送至 api.typesafe.ai（Jev 路由；net.fetch 白名单仅包含该域名）。输入文本时可能调用宿主已配置模型（agent.complete）。不访问文件系统；同一时间只运行一个任务，浏览器全程可见。"
        }
      },
      "categories": [
        "agents-workflow",
        "search-web"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 713,
      "homepage": "https://github.com/ldzhouquan/pi-fast-browser",
      "safetyNotes": "通过宿主许可的 CDP 接口驱动内置工作面板浏览器，并将页面快照发送至 api.typesafe.ai（Jev 路由，net.fetch 域名白名单仅此一个）。填写文本时可能调用宿主已配置模型（agent.complete）。不访问文件系统；同一时间只运行一个任务，浏览器全程可见。",
      "versions": [
        {
          "version": "0.2.1",
          "publishedAt": "2026-09-20T18:45:22Z",
          "changelog": "0.2.1：插件更名为 Jev Browser Use；技能文档迁移到 skills/jev-browser-use；测试加载器不再使用动态代码求值（通过中心 SEC003 审计）；移除未使用的 bus.subscribe 权限。0.2.0：完整 Jev 循环（jev_observe / jev_act / jev_run / jev_wait / jev_cancel）、页面新鲜度校验、宿主模型填字、进度事件。",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "83981249fbe5238567dbed886c2e81dd4fd4a5d0e878aff58d59c60a831daddd",
          "url": "packages/io.github.ldzhouquan.fast-browser-0.2.1.piplug",
          "sizeBytes": 114730,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "browser.cdp",
            "bus.publish",
            "models.list",
            "net.fetch"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/ldzhouquan/pi-fast-browser",
            "sourceRef": "v0.2.1",
            "sourceCommit": "135ce3d76a68ab8923e7df1dd001819b9e5f85cd",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-20T09:45:00Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-20T17:20:15Z"
          }
        }
      ]
    },
    {
      "id": "io.github.tonkic.agent-governance",
      "name": "Agent Governance",
      "description": "Repository handoff, project boards, source-backed architecture and Git collaboration with isolated worktrees and commit-bound verification.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Agent Governance",
          "description": "Repository handoff, project boards, source-backed architecture and Git collaboration with isolated worktrees and commit-bound verification.",
          "safetyNotes": "Uses Node fs and execFile(git) directly, outside host filesystem/exec gateways. Git actions create branches/worktrees and commits and merge only registered worker commits into their coordinator. Registry/worktrees live under the Git common directory, which may be outside the opened linked worktree. No push, fetch, reset, stash or automatic main merge. Git hooks, signing, fsmonitor and diff helpers are disabled for plugin commands; trusted Git configuration/attributes are still required (filters or merge drivers may execute). Other tools are not intercepted. Evidence and owner labels are caller-attested. No protection against malicious concurrent writers; inspect stale locks and interrupted operations before recovery."
        },
        "zh-CN": {
          "name": "Agent 项目治理",
          "description": "从仓库接手任务，管理工作项看板与有源码依据的架构；通过隔离工作区、绑定提交的验证和受控集成协作。",
          "safetyNotes": "直接使用 Node fs 和 execFile(git)，不经过宿主文件系统或命令网关。Git 操作可创建分支、工作区与提交，仅将已登记执行任务的提交合并到其协调任务。登记和工作区位于 Git 公共目录，可能在当前打开的关联工作区之外。不执行推送、拉取、reset、stash 或自动合并主分支。插件命令禁用 Git hooks、签名、fsmonitor 和 diff 辅助程序；仍须信任 Git 配置和属性，过滤器或合并驱动可能执行程序。不拦截其他工具。证据和所有者标签由调用方声明。不防御恶意并发写入；恢复前须检查遗留锁和中断操作。"
        }
      },
      "categories": [
        "agents-workflow",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 351,
      "readmeMarkdown": "# Agent Governance / Agent 项目治理\n\nCommunity plugin ID: `io.github.tonkic.agent-governance`. Repository handoff, a safe project board, source-backed architecture, and isolated Git collaboration. The panel supports English and Simplified Chinese. See [installation, migration, credentials and publishing](PUBLISHING.md) before replacing an older `pi.agent-governance` installation. Disable the old instance first; preserve STATE and `.governance/` data.\n\n社区版本的安装、旧 ID 迁移、密钥保存和发布用法见 [发布说明](PUBLISHING.md)。安装新 ID 前停用旧实例并保留项目数据。\n\n# Governance 工具用法\n\n为当前仓库保存可接手的任务状态，并在验证后关闭任务。PI 注册名为 `governance`，宿主可能添加命名空间前缀。文件访问使用原生 Node fs；Git 操作通过 execFile 执行。不是全局 Agent 拦截器。\n\n## 源码与构建\n\n插件源码和测试使用 TypeScript；`npm ci` 安装开发依赖后，`npm run build` 分别编译主进程（CommonJS）和浏览器脚本（独立配置，无 require/exports），再生成 `plugin/manifest.json`。产物为源码旁的 `.js`，PI-Desktop 入口保持 `main.js`。Node 20 不直接执行 `.ts`，修改后须重新构建。\n\n```powershell\nnpm run typecheck\nnpm run build\nnpm test\n```\n\nTypeScript 是开发依赖，不会进入插件运行时；PluginCheck 和 PluginPack 仍由 PI-Desktop 的插件工具负责生成 `.piplug` 安装包。\n\nGit 分支/worktree、范围检查、提交验证、集成及恢复，见 [Git 协作用法](GIT.md)。写入型委派前先 git_create 分配工作区；插件不自动启动子代理。\n\n## 可视化面板\n\n在 PI-Desktop 命令面板搜索「Agent Governance: 打开治理面板」（governance.open），作用于宿主当前工作区主根。需要 ui.panel 权限；Agent 工具另需 agent.tool.register 授权。\n\n面板展示目标、验收条件、范围、进度、阻塞，以及 Git 工作区、分支和验证有效性。未初始化时可创建缺失入口文件；待命时可创建任务；有活动任务时可更新进度。所有写入需确认，状态过期或项目切换时拒绝写入，保存进度使旧验证失效。测试、任务关闭和 Git 写入仍使用工具流程。\n\n工作项看板和源码支撑的项目架构见 [项目数据用法](PROJECT.md)。面板可创建/编辑工作项、拖动或用按钮排序及迁移；总体治理流程图只展示有效状态及允许路径，不自动执行验收。\n\n点击刷新同步外部修改；未保存表单需再次点击刷新才会丢弃。Git 不可用不妨碍任务状态操作。直接打开 renderer/index.html 为静态预览，不能操作项目。确认、owner 和测试证据仍是调用方声明，不是身份认证或安全沙箱。\n\n## 接手与执行\n\n依次调用，每段 JSON 是一个独立请求：\n\n```json\n{\"action\":\"init\"}\n```\n\ninit 仅补齐 AGENTS.md、README.md、STATE.json，已有文件不覆盖。之后先读取 README，并调用：\n\n```json\n{\"action\":\"status\"}\n```\n\n有活动任务就按 current/next 继续；无活动任务但有已批准的 followUp，调用 `{\"action\":\"start\"}`；两者都没有则等待人工，不新增目标。\n\n人工批准新任务后可调用：\n\n```json\n{\"action\":\"start\",\"id\":\"cache-fix\",\"goal\":\"修正缓存一致性\",\"criteria\":[\"等价性测试通过\"],\"scope\":[\"缓存模块\"],\"constraints\":[\"不改变公共接口\"]}\n```\n\nSTATE 是任务定义的唯一来源。不生成 task.md、findings.md 或 delta.md 空模板。必要的临时探索可自行写入当前 changes/active/\u003cid\u003e/。\n\n```json\n{\"action\":\"progress\",\"current\":\"实现完成，待测试\",\"next\":[\"运行等价性测试\"],\"blocked\":[]}\n```\n\n## 人工更新 State\n\n可编辑 goal、criteria、scope、constraints、current、next、blocked。不要修改 task/change 等身份字段或伪造 verification/gate。修改目标后先 status，再重新验证。\n\n`next` 是当前任务的执行步骤；`followUp` 是当前任务结束后的已批准任务，格式如下；没有任务就设为 null：\n\n```json\n{\"id\":\"approved-next\",\"goal\":\"人工批准的目标\",\"criteria\":[\"验收条件\"],\"scope\":[],\"constraints\":[]}\n```\n\n将此对象写入 STATE.json 的 followUp 字段，关闭时会保留。可以在 idle 状态设置 followUp，无需聊天历史。任务 ID 不可重复使用。人工编辑时暂停正在运行的工具操作，避免竞争。\n\n## 验证与关闭\n\n先实际测试、检查 diff、完成必要使用文档更新，再提交：\n\n```json\n{\"action\":\"verify\",\"passed\":true,\"accepted\":[true],\"evidence\":\"实际命令、结果及日志位置\",\"diffReview\":\"实际审查范围与结论\",\"files\":[\"README.md\"]}\n```\n\nfiles 替换成真实变更文件；accepted 与 criteria 一一对应。README、AGENTS 和 context 读过的文件会加入验证指纹。总共最多 100 个现存文本文件，不支持删除文件证据。验证后改动受检文件会阻止关闭；改动任务意图会使验证失效。\n\n```json\n{\"action\":\"close\",\"knowledge\":\"已更新 README 的用法；没有需要保留的额外经验。\"}\n```\n\nknowledge 必须说明已更新的使用文档，或说明为什么无需更新。无需固定五问，也不强制新增 Notes。关闭后保存 closure.json 到 changes/archive，State 保留 followUp；没有 followUp 则明确等待人工。\n\n## 可选操作\n\n- `context`：传 layer、files；非 docs 层附 reason。可跳过层级直接读取相关 source。Docs/Contract 使用 README、AGENTS 或 docs/；Notes 使用 notes/。每次最多 10 文件、40000 字符，单文件最多 1 MiB。\n- `route`：传 features（files、modules、research、architecture 等），仅建议模型档位，不切换模型。\n- `gate`：兼容旧流程，传 delta 和 behavior/contract/stableFact/pitfall/decision 五类 decisions，各含 changed、reason，changed=true 时含文档 path；之后可不带 knowledge 调用 close。\n\n受检文档预算：AGENTS 60 行、README 150 行、overview 100 行、architecture 200 行、其他 docs 文件 100 行。Docs 只保留用途、用法和必要限制；Notes 可选。\n\n工具不会验证证据真实性或知识语义，不会发现所有漏报文件。写前比较是尽力冲突检测，不是恶意并发写入的隔离保证。旧版验证记录需要重新 verify；旧文档和临时材料保留，不自动迁移或删除。中断后以相同请求重试 close；锁或状态冲突须检查后人工恢复。\n",
      "safetyNotes": "Uses Node fs and execFile(git) directly, outside host filesystem/exec gateways. Git actions create branches/worktrees and commits and merge only registered worker commits into their coordinator. Registry/worktrees live under the Git common directory, which may be outside the opened linked worktree. No push, fetch, reset, stash or automatic main merge. Git hooks, signing, fsmonitor and diff helpers are disabled for plugin commands; trusted Git configuration/attributes are still required (filters or merge drivers may execute). Other tools are not intercepted. Evidence and owner labels are caller-attested. No protection against malicious concurrent writers; inspect stale locks and interrupted operations before recovery.",
      "versions": [
        {
          "version": "0.8.3",
          "publishedAt": "2026-10-19T07:10:08Z",
          "changelog": "# 0.8.3\n\n- 默认64px图标栏，鼠标/键盘覆盖展开，取消手动切换按钮；窄屏直接导航，正文不位移。\n- 行为文档升级一级页面，支持直接链接、只读来源/证据、手动刷新、离线缓存与迟到隔离。\n- 汇总0.7.0以来的共享浏览器工作台、三栏看板/完成历史、架构设计、受限Markdown阅读、本地MCP/Skills与简洁检查流程。\n- PI仅保留轻量浏览器入口；移除models.list，按已批准清单使用agent.prompt.inject、shell.openExternal、ui.view等能力。安装/更新须用户确认权限，不自动安装。\n- 已核对官方82文件包；源码main通过219项测试、251图浏览器及原10行为，实际双OS CI通过。人工目视/已安装宿主完整E2E仍未完成。\n\nDefault collapsed hover/keyboard overlay navigation and first-class Behavior docs. Safe readonly loading, manual refresh and offline/late-response guards. One shared browser workbench; no automatic install, model controls, tag/Release or npm publication.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "a5a9914db393480bbc10e261bef60c2057b1b9d0918c5629b2b09f6dcec248f4",
          "url": "packages/io.github.tonkic.agent-governance-0.8.3.piplug",
          "sizeBytes": 929027,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "desktop.control",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tonkic/pi-agent-governance",
            "sourceRef": "1a03e653d85746298c813b3972431db7c85dba86",
            "sourceCommit": "1a03e653d85746298c813b3972431db7c85dba86",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-19T07:09:35Z"
          }
        },
        {
          "version": "0.7.0",
          "publishedAt": "2026-10-09T09:41:39Z",
          "changelog": "# 0.7.0 — Workbench and documentation maintenance / 工作台与文档维护\n\nA minor release collecting the reviewed improvements since marketplace 0.6.0. Same community ID: `io.github.tonkic.agent-governance`; project data remains in the workspace.\n\n## Highlights / 主要变化\n\n- Four work-item stages: To do → In progress → Completed → Accepted. Acceptance records bind evidence to the item's current content and task; completed Agent turns are not an automatic pass.\n- Centered modal details keep the board geometry stable. Previous/next navigation, draft-discard confirmation, keyboard focus return, search and contextual actions preserve object-level workflows.\n- Confirmed project analysis, architecture analysis, item review and documentation-maintenance tasks run in dedicated project-bound sessions. Select an enabled host model and supported thinking level for the new session only; inspect, open or cancel recorded tasks without background polling.\n- “Update docs” maintains the currently open project's `docs/`, `notes/` and necessary root entry links, not plugin versions or functional code. Concise Microsoft-style topics use progressive disclosure; Notes summarize additions, removals, changes and lessons. Packaged documentation is generated from the canonical `docs/` sources.\n- Independent light/dark-following palette with optional host colors, clearer column boundaries, native host drag-chrome compatibility, separated TypeScript/runtime outputs and project rendering before slower Git reads. A generated main.js shim satisfies the marketplace entry convention while runtime code stays under runtime/.\n\n四列看板新增明确证据验收；居中详情不挤压看板，保留对象切换、草稿确认与键盘操作。顶部任务支持独立会话、单次模型设置和运行记录；新增「更新文档」。当前说明集中到 docs，简短变更与踩坑集中到 notes，旧历史原文归档。配色、列边界、宿主拖动兼容、构建目录及加载响应一并整理。\n\n## Permissions and upgrading / 权限与升级\n\nRelative to marketplace 0.6.0, this release adds `desktop.control` and read-only `models.list`. The publisher explicitly approved both for 0.7.0. End-user grants remain controlled by PI-Desktop.\n\n- `desktop.control`: after confirmation, create task sessions, send prompts, read bounded progress/results, open and cancel recorded sessions. Models may incur charges; documentation tasks may write current-project docs/notes and necessary root entry links.\n- `models.list`: read available model metadata and thinking levels. No host default changes or credential access.\n\n从市场0.6.0升级须确认两项新增权限；自动更新不得静默扩权。相同社区ID的数据继续保留。旧 `pi.agent-governance` ID仍需停用旧实例后首次安装新ID；回退前备份 STATE、`.governance/` 和旧包，旧版本不支持 accepted 阶段。\n\n## Verification and limits / 验证与限制\n\nThe release uses clean dependency-install/type/build checks, 85 regression tests, a real isolated Chromium run producing 74 screenshots, bilingual responsive/theme visual review, i18n validation and official PluginCheck/PluginPack. Browser checks use simulated host/model APIs and a real temporary project backend, not paid Agent execution or full installed-host acceptance. Publication checks and exact package/source evidence are recorded separately; publication is not overall task completion.\n\n验证覆盖干净构建、85测试、74图隔离浏览器回归和双语三尺寸/明暗目视，另执行国际化及官方安装包检查。真实宿主完整交互、物理触屏和收费模型执行未完成，不以发布成功替代。\n\nSource fingerprints include raw disk bytes and line endings; a CRLF/LF-only change can require rereading and verifying the referenced sources. Prompt restrictions, locks and caller-attested evidence are not a security sandbox. Canceling an Agent task does not roll back files already written.\n\n源码指纹包含换行，CRLF/LF切换可能要求重读核对；不能盲目刷新指纹。PI-Desktop 0.16.1 implements plugin install/update internally but does not expose those mutations through its local MCP catalog. This plugin does not install or update itself, read local MCP tokens, or bypass host permission checks.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "824000a1715fd01b5755b83333af8ba65b7a5bb7910922807652d4dc9671703c",
          "url": "packages/io.github.tonkic.agent-governance-0.7.0.piplug",
          "sizeBytes": 484687,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tonkic/pi-agent-governance",
            "sourceRef": "a4848881a990b0659e1a6853d518b619920da026",
            "sourceCommit": "a4848881a990b0659e1a6853d518b619920da026",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-09T09:41:10Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-10-03T17:39:41Z",
          "changelog": "# 0.6.0 — Community distribution / 社区发布\n\n- New community identity: `io.github.tonkic.agent-governance`.\n- English and Simplified Chinese panel, manifest descriptions, safety notes, controls and confirmations. Project-authored goals, work items and architecture data remain unchanged.\n- Persistent work board, source-backed architecture and dependency-cycle layout, effective governance workflow, isolated Git collaboration and commit-bound verification.\n- No new runtime permissions; writes still require confirmation and reject stale or switched-workspace state.\n\n## Migration / 迁移\n\nThis is a first installation under a new ID, not an automatic upgrade from `pi.agent-governance`. Back up STATE and `.governance/`, disable the old instance, install the community plugin and grant its permissions. Keep old packages for rollback. Future updates use the host marketplace mechanism after approval and catalog publication.\n\n新 ID 需要首次安装和重新授权；先停用旧插件，避免工具与命令重复。保留项目 STATE、`.governance/` 与旧安装包，不删除用户数据。审核上架后的同 ID 升级使用宿主更新机制。\n\n## Validation / 验证范围\n\nClean dependency install, TypeScript checks, build, 49 regression tests, English/Chinese browser bridge interactions and responsive overflow checks passed locally. Installer validation and packaging passed. Browser checks use the real governance core with a simulated host bridge; this release does not claim completed installed-host UI acceptance or human visual review. Those checks remain outstanding in the overall project acceptance.\n\n干净构建、49 项回归、中英文浏览器交互、响应式溢出检查及安装器校验通过。浏览器检查使用真实内核与模拟宿主桥接，不能替代真实宿主加载与人工目视验收；总体任务的这两项仍未关闭。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "e56e9e38e8ebe21e5cd1401c386f496d8c78ed430427433e086951c99886ca85",
          "url": "packages/io.github.tonkic.agent-governance-0.6.0.piplug",
          "sizeBytes": 276784,
          "permissions": [
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tonkic/pi-agent-governance",
            "sourceRef": "9e5eda26ce30ff687e7a993c755cf2565c8b34e0",
            "sourceCommit": "9e5eda26ce30ff687e7a993c755cf2565c8b34e0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-03T17:39:17Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.neural-radar",
      "name": "Neural radar",
      "description": "A live neural map of your PI-Desktop agents and their subagents, shown in the session's work panel.",
      "author": "Eskwisit",
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 132,
      "versions": [
        {
          "version": "0.45.3",
          "publishedAt": "2026-11-22T21:52:14Z",
          "changelog": "# Changelog\n\n## 0.45.3\n\n### Fixes\n\n- **view:** keep the drawer open when clicking the open agent's tooltip (`7f80e24`)\n- **view:** keep the drawer open after sending a message (`05ee161`)\n\n### Documentation\n\n- **readme:** describe tooltip clicks and sending with the drawer open (`903f9e3`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "3b6ded02e1b930fcf8300fb64feae7c80f937beca567cc5f6a2c092dc4706074",
          "url": "packages/eskwisit.neural-radar-0.45.3.piplug",
          "sizeBytes": 300702,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.45.3",
            "sourceCommit": "0a6cc177c19f49e683a66f1739b8c745e27c5d9c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-22T21:49:58Z"
          }
        },
        {
          "version": "0.45.1",
          "publishedAt": "2026-11-20T21:49:00Z",
          "changelog": "# Changelog\n\n## 0.45.1\n\n### Fixes\n\n- **view:** label an open question card as question for you (`e166fc9`)\n\n### Documentation\n\n- **readme:** use the question for you label (`ad89e0c`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "c5bce4d367783156bb06ea750880c88a97b76b66caf7f5f7a508e773b23c23c9",
          "url": "packages/eskwisit.neural-radar-0.45.1.piplug",
          "sizeBytes": 300591,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.45.1",
            "sourceCommit": "ecb5f1ba16713fd89915bf3725d3e6bb3e79f1b3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T21:46:38Z"
          }
        },
        {
          "version": "0.41.0",
          "publishedAt": "2026-11-13T14:37:01Z",
          "changelog": "# Changelog\n\n## 0.41.0\n\n### Features\n\n- **view:** keep the message field for finished sessions to continue them (`faf4d23`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "569d4adfa1fda894528ccb2e5370bc9765ccde22933352f3532de653282fd8bb",
          "url": "packages/eskwisit.neural-radar-0.41.0.piplug",
          "sizeBytes": 270357,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.41.0",
            "sourceCommit": "3c533316098ac8d201cec0c9d3814ec1f2ed0d24",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-13T14:34:36Z"
          }
        },
        {
          "version": "0.39.1",
          "publishedAt": "2026-11-09T06:35:05Z",
          "changelog": "# Changelog\n\n## 0.39.1\n\n### Features\n\n- **view:** fade finished subagents off the radar (`8f367fa`)\n- **view:** close the drawer once a message is sent or queued (`be9a0ce`)\n\n### Fixes\n\n- **main:** keep new empty sessions off the radar (`b40e01c`)\n\n### Documentation\n\n- **readme:** refresh the demo image with your picture and opaque tooltips (`4ac02a4`)\n- **readme:** describe finished subagents fading away (`6291502`)\n\n### Tests\n\n- **tests:** cover empty sessions staying off the radar (`4b9f1d4`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "df0fe4bb784fb2d0c5c3e0481b918ca314f0bb128162e0645ab05eef7da0bff9",
          "url": "packages/eskwisit.neural-radar-0.39.1.piplug",
          "sizeBytes": 269296,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.39.1",
            "sourceCommit": "b9afb7cacf50ec326926a355306eb7fb947fbb0e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-09T06:33:04Z"
          }
        },
        {
          "version": "0.37.0",
          "publishedAt": "2026-11-08T16:47:02Z",
          "changelog": "# Changelog\n\n## 0.37.0\n\n### Features\n\n- reload an open radar view when the plugin is updated (`be80f64`)\n- **view:** fade the tooltip of an agent that needs you to fully opaque (`f847df6`)\n- pick your picture by clicking your circle instead of in the settings (`7b76cbe`)\n\n### Documentation\n\n- **manifest:** state that the plugin no longer uses the network (`139605b`)\n- **readme:** describe the picture click, the tooltip fade and updates (`eca1859`)\n- update the security review for the picture picker and the reload (`9eaf90f`)\n- name 0.37.0 as the first release without network and with reload (`ae61201`)\n\n### Tests\n\n- **tests:** cover the picked picture, its removal and the version in the state (`be983cd`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "fed998d2b8c1893dca6b688851c34f4154c653452764c93b57898ca540c30764",
          "url": "packages/eskwisit.neural-radar-0.37.0.piplug",
          "sizeBytes": 321275,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.37.0",
            "sourceCommit": "ffe429db426445fbd05563b155737d8dbde44daf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T16:44:59Z"
          }
        },
        {
          "version": "0.31.1",
          "publishedAt": "2026-11-08T12:43:57Z",
          "changelog": "# Changelog\n\n## 0.31.1\n\n### Fixes\n\n- **view:** show only state, running subagents, tokens and age in tooltips (`93d398a`)\n\n### Documentation\n\n- **readme:** describe the shorter agent tooltip line (`3893e74`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "c96ccea547a674f88319a0a55de0e96010cb67cf3b9baf0903c9be58b0967f0d",
          "url": "packages/eskwisit.neural-radar-0.31.1.piplug",
          "sizeBytes": 293189,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.31.1",
            "sourceCommit": "88bae2fd7ca17600438fdd6c5b041e094732d693",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T12:42:07Z"
          }
        },
        {
          "version": "0.31.0",
          "publishedAt": "2026-11-08T09:05:22Z",
          "changelog": "# Changelog\n\n## 0.31.0\n\n### Features\n\n- **view:** remove the top-bar pills of agents that need you (`9e577b6`)\n- **view:** show subagent tooltips only while their cluster is open (`59e1a7e`)\n- list the chat text instead of commands in activity (`e091d7d`)\n- show the effort next to the model in the drawer (`3caf0da`)\n\n### Documentation\n\n- **readme:** describe the chat-only activity, effort and subagent tooltips (`1e9f707`)\n\n### Tests\n\n- **tests:** cover the chat-only activity and the newest tool call (`9e6e66c`)\n- **tests:** cover the effort next to the model (`a289527`)\n\n## 0.27.1\n\n### Fixes\n\n- **main:** always show the in-app notice and log each notification (`4097fdd`)\n\n### Tests\n\n- **tests:** cover the in-app notice next to a failing system notification (`362d02a`)\n\n### Documentation\n\n- **readme:** explain why the in-app notice always goes out (`e850560`)\n\n## 0.27.0\n\n### Features\n\n- notify when an agent needs you (`ca9f270`)\n\n### Documentation\n\n- **readme:** describe notifications and the notify permission (`d861f2c`)\n- **readme:** explain why command approvals are not visible (`005c5a9`)\n\n### Tests\n\n- **tests:** add notification calls to the fake host (`742642b`)\n- **tests:** cover notifications when an agent needs you (`099ed42`)\n\n## 0.26.0\n\n### Features\n\n- give each main agent of a session its own cluster with its subagents (`46558a4`)\n\n### Documentation\n\n- **readme:** describe a cluster for each main agent (`df18ce5`)\n\n### Tests\n\n- **tests:** cover a cluster for each main agent of a session (`8875d24`)\n\n## 0.25.1\n\n### Features\n\n- give every agent a session starts its own cluster (`7abbdcf`)\n\n### Fixes\n\n- **view:** say tokens instead of tool ctx in the agent tooltip (`a6f5eeb`)\n\n### Documentation\n\n- **readme:** describe a cluster for each started agent (`8d01f1f`)\n- **readme:** show tokens in the tooltip example (`bb5ba83`)\n\n### Tests\n\n- **tests:** cover a cluster for each started agent (`bd72ce4`)\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "7e1a6624c283f7195bbcde02275f062acf86e283dcfe3b6bcd01a36d9cf148d4",
          "url": "packages/eskwisit.neural-radar-0.31.0.piplug",
          "sizeBytes": 298976,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.31.0",
            "sourceCommit": "5fff5839cd20946c11f7d71c5e558c2c88b78302",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T09:03:36Z"
          }
        },
        {
          "version": "0.27.1",
          "publishedAt": "2026-11-07T15:23:08Z",
          "changelog": "# Changelog\n\n## 0.27.1\n\n### Fixes\n\n- **main:** always show the in-app notice and log each notification (`4097fdd`)\n\n### Tests\n\n- **tests:** cover the in-app notice next to a failing system notification (`362d02a`)\n\n### Documentation\n\n- **readme:** explain why the in-app notice always goes out (`e850560`)\n\n## 0.27.0\n\n### Features\n\n- notify when an agent needs you (`ca9f270`)\n\n### Documentation\n\n- **readme:** describe notifications and the notify permission (`d861f2c`)\n- **readme:** explain why command approvals are not visible (`005c5a9`)\n\n### Tests\n\n- **tests:** add notification calls to the fake host (`742642b`)\n- **tests:** cover notifications when an agent needs you (`099ed42`)\n\n## 0.26.0\n\n### Features\n\n- give each main agent of a session its own cluster with its subagents (`46558a4`)\n\n### Documentation\n\n- **readme:** describe a cluster for each main agent (`df18ce5`)\n\n### Tests\n\n- **tests:** cover a cluster for each main agent of a session (`8875d24`)\n\n## 0.25.1\n\n### Features\n\n- give every agent a session starts its own cluster (`7abbdcf`)\n\n### Fixes\n\n- **view:** say tokens instead of tool ctx in the agent tooltip (`a6f5eeb`)\n\n### Documentation\n\n- **readme:** describe a cluster for each started agent (`8d01f1f`)\n- **readme:** show tokens in the tooltip example (`bb5ba83`)\n\n### Tests\n\n- **tests:** cover a cluster for each started agent (`bd72ce4`)\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "b21a05c2ab928d4d19bc3123b457250aa40f85acaa86c990debd18e8015ddda7",
          "url": "packages/eskwisit.neural-radar-0.27.1.piplug",
          "sizeBytes": 295699,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.27.1",
            "sourceCommit": "b28bd512bcbffec4ced6a5e7a7938d71af1224c2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T15:21:17Z"
          }
        },
        {
          "version": "0.27.0",
          "publishedAt": "2026-11-07T09:29:31Z",
          "changelog": "# Changelog\n\n## 0.27.0\n\n### Features\n\n- notify when an agent needs you (`ca9f270`)\n\n### Documentation\n\n- **readme:** describe notifications and the notify permission (`d861f2c`)\n- **readme:** explain why command approvals are not visible (`005c5a9`)\n\n### Tests\n\n- **tests:** add notification calls to the fake host (`742642b`)\n- **tests:** cover notifications when an agent needs you (`099ed42`)\n\n## 0.26.0\n\n### Features\n\n- give each main agent of a session its own cluster with its subagents (`46558a4`)\n\n### Documentation\n\n- **readme:** describe a cluster for each main agent (`df18ce5`)\n\n### Tests\n\n- **tests:** cover a cluster for each main agent of a session (`8875d24`)\n\n## 0.25.1\n\n### Features\n\n- give every agent a session starts its own cluster (`7abbdcf`)\n\n### Fixes\n\n- **view:** say tokens instead of tool ctx in the agent tooltip (`a6f5eeb`)\n\n### Documentation\n\n- **readme:** describe a cluster for each started agent (`8d01f1f`)\n- **readme:** show tokens in the tooltip example (`bb5ba83`)\n\n### Tests\n\n- **tests:** cover a cluster for each started agent (`bd72ce4`)\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "25946a882f30ecfaa50ad3716b51237a6f7681ee7e279dccbe5feeaf2d159088",
          "url": "packages/eskwisit.neural-radar-0.27.0.piplug",
          "sizeBytes": 293388,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.27.0",
            "sourceCommit": "c29f9de375c123b0a0fe9dab543ed98fb5224df7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T09:27:48Z"
          }
        },
        {
          "version": "0.26.0",
          "publishedAt": "2026-11-07T08:49:41Z",
          "changelog": "# Changelog\n\n## 0.26.0\n\n### Features\n\n- give each main agent of a session its own cluster with its subagents (`46558a4`)\n\n### Documentation\n\n- **readme:** describe a cluster for each main agent (`df18ce5`)\n\n### Tests\n\n- **tests:** cover a cluster for each main agent of a session (`8875d24`)\n\n## 0.25.1\n\n### Features\n\n- give every agent a session starts its own cluster (`7abbdcf`)\n\n### Fixes\n\n- **view:** say tokens instead of tool ctx in the agent tooltip (`a6f5eeb`)\n\n### Documentation\n\n- **readme:** describe a cluster for each started agent (`8d01f1f`)\n- **readme:** show tokens in the tooltip example (`bb5ba83`)\n\n### Tests\n\n- **tests:** cover a cluster for each started agent (`bd72ce4`)\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "1c23caa411aea8e0a6e4f8915e0d17d0946c153899abbf0aebd8d1e40ef1cc02",
          "url": "packages/eskwisit.neural-radar-0.26.0.piplug",
          "sizeBytes": 287500,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.26.0",
            "sourceCommit": "08ec088148792ed935efec8482a1082fc7b15576",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T08:47:57Z"
          }
        },
        {
          "version": "0.25.1",
          "publishedAt": "2026-11-07T08:27:16Z",
          "changelog": "# Changelog\n\n## 0.25.1\n\n### Features\n\n- give every agent a session starts its own cluster (`7abbdcf`)\n\n### Fixes\n\n- **view:** say tokens instead of tool ctx in the agent tooltip (`a6f5eeb`)\n\n### Documentation\n\n- **readme:** describe a cluster for each started agent (`8d01f1f`)\n- **readme:** show tokens in the tooltip example (`bb5ba83`)\n\n### Tests\n\n- **tests:** cover a cluster for each started agent (`bd72ce4`)\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "53af36c231c98b38ba4d47431b3e72c6f16ed29d7d8ac922fbb30157cfbdfd37",
          "url": "packages/eskwisit.neural-radar-0.25.1.piplug",
          "sizeBytes": 284003,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.25.1",
            "sourceCommit": "9d306cf791d8259145c2010566ea00e242e1b9f0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T08:25:40Z"
          }
        },
        {
          "version": "0.24.1",
          "publishedAt": "2026-11-05T17:38:12Z",
          "changelog": "# Changelog\n\n## 0.24.1\n\n### Breaking changes\n\n- remove pre-fill in session and the composer.suggest permission (`beebe46`)\n\n### Fixes\n\n- **view:** show a lone agent as its own cluster, not merged into you (`be88191`)\n\n### Documentation\n\n- **readme:** remove pre-fill in session and composer.suggest (`007c1b9`)\n- **readme:** say a lone agent keeps its own cluster (`d664d3b`)\n- update the security review for the removed composer.suggest (`0565eaa`)\n\n### Tests\n\n- **tests:** replace the pre-fill tests with a check that prefill is refused (`94f7f73`)\n\n## 0.23.0\n\n### Features\n\n- **view:** always show every agent's tooltip (`225008d`)\n- **view:** remove the session's total tokens from the drawer (`b781001`)\n\n### Refactoring\n\n- **main:** drop model fields the view never reads (`3abf1ff`)\n- **view:** drop unused layouts, background canvas and dead code (`e72ae43`)\n- **main:** stop reading the token usage history (`4af5527`)\n\n### Documentation\n\n- **readme:** describe tooltips shown for every agent (`25ddfcc`)\n- **readme:** drop the total used tokens and usage history read (`a8016ec`)\n- drop the token usage history from the security review (`72b6e73`)\n- **manifest:** drop the token usage history from the safety notes (`91d175e`)\n\n### Tests\n\n- **tests:** read the autoOpen setting from the main process (`58e1490`)\n- **tests:** drop the session token total tests (`ceaff0e`)\n- **tests:** no longer allow the token usage history read (`f8bb5bc`)\n\n## 0.21.0\n\n### Features\n\n- **main:** describe agents by the latest prompt that names a topic (`375fd82`)\n- **main:** record a short target for each tool call (`eb0d041`)\n- **main:** estimate the tokens tool calls add to an agent's context (`e28afab`)\n- **view:** name each tool's target in the activity log (`26e540b`)\n- **view:** show current topic, live detail, tool context and age in tooltips (`871ab09`)\n- **view:** show the session's total tokens used in the drawer (`a605de4`)\n- **view:** drop the no-agents hint under you (`9479576`)\n- **view:** show only the status in your label when you work alone (`b48ac49`)\n\n### Fixes\n\n- **view:** keep the drawer title on one line (`8beba6a`)\n\n### Documentation\n\n- **readme:** replace the demo image with a webp showing every state (`8b3b70d`)\n\n### Tests\n\n- **tests:** cover topic prompts, tool targets and tool token estimates (`38cd628`)\n\n## 0.13.0\n\n### Features\n\n- **main:** count the tokens each subagent's transcript reports (`fb6de28`)\n- **view:** show each subagent's tokens as a lower bound (`128a4f4`)\n\n### Fixes\n\n- **main:** count session tokens from the usage history and the open turn (`0ecd64b`)\n\n### Documentation\n\n- **manifest:** mention the token usage history in the safety notes (`d2d44e7`)\n- list the token usage history read in the security review (`99d9d96`)\n- **readme:** describe session and subagent token counts (`965729c`)\n\n### Tests\n\n- **tests:** cover session tokens from the usage history (`5efb52f`)\n- **tests:** cover per-subagent token counts (`c06fb0b`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "e3d3470adbe32d8630dc32ba1a364a55e1927f88b4780264db0c375092971f5c",
          "url": "packages/eskwisit.neural-radar-0.24.1.piplug",
          "sizeBytes": 285370,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-neural-radar",
            "sourceRef": "v0.24.1",
            "sourceCommit": "d83eecab123d01ec5cf1b2c7dba2f1689dc30fa2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T17:36:18Z"
          }
        }
      ]
    },
    {
      "id": "io.github.xideadev.skill-hub",
      "name": "技能管理",
      "description": "PI-Desktop 官方级侧边栏技能管理工作台：直观查看、分类检索、启用控制及项目/全局精准注入。",
      "author": "xidea",
      "i18n": {
        "en": {
          "name": "Skill Hub",
          "description": "PI-Desktop skill management workspace: browse, search, toggle and inject skills directly from sidebar.",
          "safetyNotes": "Only accesses skill directories in user and workspace scopes to manage skill definitions. No remote network calls or telemetry."
        },
        "zh-CN": {
          "name": "技能管理",
          "description": "PI-Desktop 官方级侧边栏技能管理工作台：直观查看、分类检索、启用控制及项目/全局精准注入。",
          "safetyNotes": "仅读取和维护用户全局及当前工作区 .agents/skills 目录下的技能定义文件，无任何远程外联与遥测。"
        }
      },
      "categories": [
        "desktop-system",
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 460,
      "readmeMarkdown": "# Skill Hub · PI-Desktop 技能管理工作台\n\n停靠在 PI-Desktop 侧边栏的原生技能（Skill）生命周期中枢。\n\n## 功能核心\n1. **多源技能归集与分层呈现**：自动无缝聚合全局通用（`~/.agents/skills`）与项目专属（`\u003cworkspace\u003e/.agents/skills`）技能。\n2. **三级生效绑定与双轨注入**：支持一键启闭技能，可灵活选择全局常驻、项目作用域或当前会话绑定，支持轻量目录索引注入与强制常驻注入。\n3. **极简原生交互**：点击技能标题直接展开查看与编辑，无多余按键与冗余层级，100% 自适应宿主深浅色调色板。\n",
      "safetyNotes": "仅读取和维护用户全局及当前工作区 .agents/skills 目录下的技能定义文件，无任何远程外联与遥测。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-24T13:36:21Z",
          "changelog": "### Release v0.1.0: 技能管理 (Skill Hub)\n\nPI-Desktop 官方级侧边栏技能管理工作台首发版本，专为打造直观、零负担的技能（Skill）生命周期管控体验。\n\n#### 核心特性\n- **多源技能自动归集**：无缝聚合全局通用（`~/.agents/skills`）与项目专属（`\u003cworkspace\u003e/.agents/skills`）所有技能。\n- **极简原生交互**：点击技能名称直接展开查看与编辑技能定义（SKILL.md / YAML 前置块），无冗余跳转与多余按键。\n- **一键智能整理**：自动规范转义字符、统一中英文标点格式，保持技能库整洁规范。\n- **自适应系统调色板**：纯本地原生 CSS 与系统变量集成，无缝跟随 PI-Desktop 浅色/深色主题动态切换。\n- **隐私与本地优先**：零外部网络依赖与遥测，所有技能及配置完全保存在本地磁盘。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "29b9c435fd5023f91243919344a179a9d2239e444bc68b458536cc8ad8c14e79",
          "url": "packages/io.github.xideadev.skill-hub-0.1.0.piplug",
          "sizeBytes": 53592,
          "permissions": [
            "agent.complete",
            "agent.extension",
            "agent.prompt.inject",
            "desktop.control",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/PI-Desktop-Plugin-SkillHub",
            "sourceRef": "v0.1.0",
            "sourceCommit": "75ad09849e993bb587109df11aa1f2777a404cc3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-23T23:18:29Z"
          }
        }
      ]
    },
    {
      "id": "pi.clipboard-history",
      "name": "Clipboard History",
      "description": "Capture clipboard text while PI-Desktop runs, keep 30 days of history, restore any entry with one click.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Clipboard History",
          "description": "Capture clipboard text while PI-Desktop runs, keep 30 days of history, restore any entry with one click."
        },
        "zh-CN": {
          "name": "剪贴板历史",
          "description": "在 PI-Desktop 运行期间持续采集剪贴板文本，按天归档保留 30 天，一键恢复任意条目。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 282,
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-13T16:01:21Z",
          "changelog": "Release 0.2.0: 支持剪贴板图片采集与恢复（宿主 getHistory 可用时自动启用，可关闭）；新增保存图片开关。Image capture \u0026 restore when the host exposes getHistory, with a save-images toggle.",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "847ec718a7db0949112dad36931977e04ed0372cdc3c719435c4a6aa35431fd4",
          "url": "packages/pi.clipboard-history-0.2.0.piplug",
          "sizeBytes": 89974,
          "permissions": [
            "background.service",
            "clipboard.read",
            "clipboard.write",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-pi-clipboard-history",
            "sourceRef": "v0.2.0",
            "sourceCommit": "08e8918ced02b5d1af5153eb59c2477b880060fa",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-13T15:55:28Z"
          }
        }
      ]
    },
    {
      "id": "local.igniter",
      "name": "点灯人",
      "description": "按时点灯：每个 5 小时额度窗口一重置，就点亮下一个窗口。",
      "author": "",
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 55,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-27T14:53:01Z",
          "changelog": "- 在每天指定的时段内，每隔一段时间用它发一次最小补全，让上游的额度窗口保持活跃\n- 支持结果推 Bark 通知到手机",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "d6fee23456bb0e9a9724a711751a1bb8da5496f998d206a497a234e090615d5b",
          "url": "packages/local.igniter-0.1.0.piplug",
          "sizeBytes": 81970,
          "permissions": [
            "agent.complete",
            "background.service",
            "models.list",
            "net.anyHost",
            "net.fetch",
            "notify",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.muzimu217.session-import",
      "name": "Universal Session Import",
      "description": "一体化会话导入与熔炉：扫描本机的 ZCode、WorkBuddy、Claude Code、Codex、OpenCode、Pi 并导入会话；可用声明式 JSON 自定义来源扩展；再读回这些会话，用宿主额度蒸馏成项目约定与可复用做法。",
      "author": "muzimu217",
      "i18n": {
        "en": {
          "name": "Universal Session Import",
          "description": "Import sessions from ZCode, WorkBuddy, Claude Code, Codex, OpenCode and Pi into PI-Desktop; extend it with declarative JSON custom sources; then distill those sessions back into project conventions and reusable practices.",
          "safetyNotes": "Reads each tool's local session database in read-only mode (Node node:sqlite, readOnly). Writes sessions through the host's session import API. The forge calls the host model using the host's own credentials and quota — this plugin never sees or stores API keys. fs.write is used only to save distilled output, scoped to AGENTS.md, *.md, docs/** and .agents/skills/** in the workspace. No network requests, no telemetry. Custom source specs (docs/session-import-sources.json in the workspace) are declarative data only — no code from a config file is ever executed."
        },
        "zh-CN": {
          "name": "一体化会话导入",
          "description": "一体化会话导入与熔炉：扫描本机的 ZCode、WorkBuddy、Claude Code、Codex、OpenCode、Pi 并导入会话；可用声明式 JSON 自定义来源扩展；再读回这些会话，用宿主额度蒸馏成项目约定与可复用做法。",
          "safetyNotes": "以只读方式打开各工具的本地会话数据库（Node node:sqlite 的 readOnly 模式）；会话写入走宿主 session 导入接口。熔炉调用宿主模型，使用宿主自身的凭据与额度，本插件不接触也不保存任何 API Key。fs.write 仅用于保存蒸馏结果，范围限定在工作区内的 AGENTS.md、*.md、docs/**、.agents/skills/**。不发起任何网络请求，无遥测上报。 自定义来源配置（工作区 docs/session-import-sources.json）只接受纯数据，插件永不执行其中的代码。"
        }
      },
      "categories": [
        "developer-tools",
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 848,
      "readmeMarkdown": "# Universal Session Import（一体化会话导入）\n\nPI-Desktop 插件：**扫描本机安装的编程工具，把它们（ZCode、WorkBuddy、Claude Code、Codex、OpenCode、Pi）的本地会话统一导入 PI-Desktop。**\n\n![scan sources](docs/screenshots/01-scan-sources.png)\n\n## 使用流程\n\n### 1. 扫描本机工具\n\n打开面板点击「扫描本机工具」，插件并行探测六个来源，实时显示各自检测到的会话数（未安装的工具显示「未检测到」）。\n\n### 2. 选择来源，浏览会话\n\n点击检测到的工具卡片，按项目分组载入该来源的会话列表（支持搜索、整组全选）：\n\n![session list](docs/screenshots/02-session-list.png)\n\n### 3. 预览对话\n\n点任意会话即可按原始顺序还原完整对话——用户消息、助手回复、工具调用（参数 + 结果折叠展示，错误标红）：\n\n![preview](docs/screenshots/03-preview.png)\n\n### 4. 导入为会话\n\n勾选会话（支持整组全选）→「导入为会话」，通过宿主 `session.import` 通道写入 PI-Desktop 会话库：\n\n![import status](docs/screenshots/04-import-status.png)\n\n导入的会话按**原始工作目录**归属项目：该项目已在 PI-Desktop 打开时**立刻展开可见**；未打开的项目也会自动加入左侧项目列表并展开：\n\n![sidebar auto expand](docs/screenshots/05-sidebar-auto-expand.png)\n\n![sidebar codex](docs/screenshots/06-sidebar-codex.png)\n\n重复导入自动跳过（幂等 id：`import-\u003c来源\u003e-\u003c外部会话 id\u003e`）。\n\n## 来源与特殊处理\n\n| 来源 | 数据位置 | 特殊处理 |\n| --- | --- | --- |\n| ZCode | `~/.zcode/cli/db/db.sqlite` | `node:sqlite` 只读；过滤 `subagent_child` 内部会话与 `synthetic` 注入文本；工具调用按存储顺序还原 |\n| WorkBuddy | `~/.workbuddy/projects/**/*.jsonl` | 剥离 `\u003csystem-reminder\u003e`/`\u003ccb_summary\u003e` 注入块；`function_call` 按 `callId` 配对；外置大结果安全回读；`ai-title` 优先 |\n| Claude Code | `~/.claude/projects/**/*.jsonl` | 过滤 sidechain 与合成用户行；`tool_use`/`tool_result` 配对 |\n| Codex | `~/.codex/sessions/**/*.jsonl` | 兼容新旧两种格式；过滤 `# AGENTS.md` 等合成行 |\n| OpenCode | `%LOCALAPPDATA%\\opencode\\data\\opencode.db`（Windows）/ `~/.local/share/opencode/opencode.db`（macOS/Linux，尊重 `XDG_DATA_HOME`） | `node:sqlite` 只读；session→message→part 三层还原（OpenCode v1.x SQLite）；多候选路径按序探测 |\n| Pi | `~/.pi/agent/sessions/**/*.jsonl` | `toolCall`/`toolResult` 配对；`session_info.name` 优先 |\n\n## 自定义来源（无需改代码）\n\n内置 6 个来源之外，你可以在**当前工作区**放一份纯 JSON，描述自己的工具：\n\n```\ndocs/session-import-sources.json\n```\n\n内置驱动覆盖三类磁盘格式，绝大多数工具都能落在其中一个上：\n\n| driver | 适用 | 内置使用者 |\n| --- | --- | --- |\n| `jsonl-transcript` | 一行一条记录的 JSONL 对话文件 | Claude Code、Codex、WorkBuddy、Pi |\n| `sqlite-session` | SQLite：`session → message → part` 三层（或 session+message 两层） | ZCode、OpenCode |\n| `json-tree` | 一个 JSON 文件即一个会话 | 旧版 OpenCode / Claude 布局 |\n\n面板「自定义来源 → 重新加载」即可热加载，新来源带 `自定义` 标签出现。完整字段见\n[`docs/CUSTOM-SOURCES.md`](docs/CUSTOM-SOURCES.md)，里面有可直接复制的三个 driver 示例。\n\n\u003e **安全边界**：配置**只允许纯数据**。任何 `eval` / `code` / `require` / `transform` / `script`\n\u003e 之类的键（任意层级）都会被拒绝——插件对用户主目录有读权限，允许配置携带代码等同于任意代码执行。\n\u003e 数据根目录也不接受 `/` 或整个 home。\n\n## 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.panel` / `ui.view` | 导入面板与「会话熔炉」工作面板视图 |\n| `session.read` / `session.read.own` | 读回本插件导入过的会话，供熔炉蒸馏 |\n| `session.import` | 把选中的会话写入 PI-Desktop 会话库 |\n| `project.create` | 按会话的 `projectPath` 幂等解析 / 绑定 projectId（无此能力的宿主退回未绑定导入） |\n| `agent.complete` / `models.list` | 调用宿主模型做蒸馏（使用宿主凭据与额度，插件不接触 API Key） |\n| `fs.read` | 只读各工具的本地会话数据（`.jsonl` / SQLite 的 `readOnly` 模式）；并读取工作区 `docs/session-import-sources.json` 里的自定义来源配置 |\n| `fs.write` | **仅**用于保存蒸馏结果，范围限定在工作区内的 `AGENTS.md`、`*.md`、`docs/**`、`.agents/skills/**` |\n\n读取各工具本地数据由插件进程**只读**完成（`node:sqlite` 的 `readOnly` 模式，或直接读取\n`.jsonl`）。**导入**经由宿主 `session.import` 通道完成（该通道为插件宿主新增的底层 API\n提案，见 [PI-Desktop#134](https://github.com/vastsa/PI-Desktop/issues/134)）。\n\n插件不发起任何网络请求、无遥测上报；熔炉调用走宿主 `pi.agent.complete`，凭据保留在\nElectron 主进程。\n\n## 开发\n\n```bash\n# 在 PI-Desktop 仓库内校验与打包\npnpm --filter @pi-desktop/plugin-devkit... build\nnode packages/plugin-devkit/dist/cli.js check /absolute/path/to/pi-desktop-session-import\nnode packages/plugin-devkit/dist/cli.js pack  /absolute/path/to/pi-desktop-session-import\n```\n\n在 PI-Desktop 中：插件页 → Load development plugin → 选择本目录。\n\n## License\n\nMIT\n",
      "safetyNotes": "以只读方式打开各工具的本地会话数据库；会话写入走宿主 session 导入接口。熔炉使用宿主自身额度调用模型，插件不接触 API Key。fs.write 仅用于保存蒸馏结果，范围限定在工作区内的 AGENTS.md、*.md、docs/**、.agents/skills/**。不发起网络请求，无遥测。 自定义来源配置（工作区 docs/session-import-sources.json）只接受纯数据，插件永不执行其中的代码。",
      "versions": [
        {
          "version": "0.4.9",
          "publishedAt": "2026-09-20T18:45:22Z",
          "changelog": "Release 0.4.9（OpenCode v1.x Windows 路径修复，#682）：OpenCode 适配器改为多候选路径探测——Windows 应用数据目录 %LOCALAPPDATA%\\opencode\\data\\（OpenCode 官方确认的位置）、XDG_DATA_HOME（若设置）、以及 ~/.local/share/opencode 默认位置，按序探测第一个存在的库。此前只探测 ~/.local/share/opencode/opencode.db，Windows 用户的 OpenCode v1.x 数据永远找不到，导入面板显示「未检测到」。macOS/Linux 行为不变。新增适配器专属测试（真实临时 SQLite 库覆盖三平台路径与三层还原）。",
          "minPiDesktop": "\u003e=0.14.3",
          "shasum": "1c0631d072ad425c215b5d65c7ae3d30f0b8bedbcbcc75091c5a8859c330d219",
          "url": "packages/io.github.muzimu217.session-import-0.4.9.piplug",
          "sizeBytes": 272957,
          "permissions": [
            "agent.complete",
            "fs.read",
            "fs.write",
            "models.list",
            "project.create",
            "session.import",
            "session.read",
            "session.read.own",
            "ui.panel",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "AGENTS.md",
                "*.md",
                "docs/**",
                ".agents/skills/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "AGENTS.md",
                "*.md",
                "docs/**",
                ".agents/skills/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/muzimu217/pi-desktop-plugins",
            "sourceRef": "82f98db8fd4b84a39fbce705c7e1c7a0a8230688",
            "sourceCommit": "82f98db8fd4b84a39fbce705c7e1c7a0a8230688",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-20T16:18:57Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-20T16:58:14Z"
          }
        }
      ]
    },
    {
      "id": "pi.todo",
      "name": "Todo List",
      "description": "The official PI-Desktop todo list with list and four-quadrant layouts, due dates, native reminders and a todo_manage agent tool for querying, adding, splitting, completing and rescheduling tasks.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Todo List",
          "description": "The official PI-Desktop todo list with list and four-quadrant layouts, due dates, native reminders and a todo_manage agent tool for querying, adding, splitting, completing and rescheduling tasks.",
          "safetyNotes": "Todo data is stored only in the plugin’s local data directory (settings.json, with a localStorage cache). Due reminders use the host’s native system notifications (notify permission). The todo_manage agent tool reads and writes only this plugin’s data. No network requests, access to other files, or automatic code execution."
        },
        "zh-CN": {
          "name": "小清新待办",
          "description": "PI-Desktop 官方待办：支持四象限与简单列表双布局、到期时间和原生系统提醒，并提供 todo_manage 工具让 AI 查询、添加、拆分、完成和延期任务。",
          "safetyNotes": "待办数据仅保存在本机插件数据目录（settings.json，并同步 localStorage 缓存）；到期提醒通过宿主原生系统通知（notify 权限）发出；todo_manage Agent 工具只读写本插件数据。不发起网络请求，不访问其他文件，也不会自动执行代码。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 844,
      "safetyNotes": "待办数据仅保存在本机插件数据目录（settings.json，localStorage 缓存同步）；到期提醒通过宿主原生系统通知（notify 权限）发出；agent 工具 todo_manage 只读写本插件自身数据；无网络请求、无其他文件访问、无自动执行代码。",
      "versions": [
        {
          "version": "0.6.5",
          "publishedAt": "2026-09-13T15:26:01Z",
          "changelog": "Release 0.6.5：到期提醒迁移到宿主托管后台服务（due-reminder service + background.service 权限），面板关闭时插件进程常驻调度，到期任务经原生系统通知提醒。\n\n- 新增 capsule-retint.js，面板内主题切换时实时重着色宿主窗口控制胶囊\n- 主进程与渲染端共用 reminded 字段去重，不重复通知",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "70b61d3078f3d4b662e1a184597a8dcffba0bc41cf2560c1c0827c9ab92e37fa",
          "url": "packages/pi.todo-0.6.5.piplug",
          "sizeBytes": 92951,
          "permissions": [
            "agent.tool.register",
            "background.service",
            "notify",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-pi-todo",
            "sourceRef": "v0.6.5",
            "sourceCommit": "33c9a41c603603f62c0e81e86bb931e02bb87f28",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-12T06:02:55Z"
          }
        }
      ]
    },
    {
      "id": "pi.token-insights",
      "name": "Token Insights",
      "description": "A private local dashboard for the tokens you spend across PI-Desktop, Claude Code, Codex and OpenCode: follows the app's theme and language, filters by tool, model, provider, date range or keyword, and keeps a streak and milestone worth looking at.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Token Insights",
          "description": "A private local dashboard for token usage across PI-Desktop, Claude Code, Codex and OpenCode, with filters for tool, model, provider, date range and keyword plus streaks and milestones.",
          "safetyNotes": "Reads local metadata only and is always read-only. It never reads message text, tool arguments, project paths or credentials, never stores a full session ID and makes no network requests."
        },
        "zh-CN": {
          "name": "Token 用量分析",
          "description": "本地隐私优先的 Token 用量仪表盘，汇总 PI-Desktop、Claude Code、Codex 和 OpenCode，支持按工具、模型、提供商、日期或关键词筛选，并展示连续使用天数和里程碑。",
          "safetyNotes": "只读取本地元数据且始终为只读，不读取消息正文、工具参数、项目路径或凭据，不保存完整 session ID，也不会发起网络请求。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 2399,
      "homepage": "https://github.com/vastsa/pi-plugin-token-insights",
      "safetyNotes": "Reads only local metadata, always read-only, always on this device. Usage comes from the tool metadata files PI-Desktop, Claude Code, Codex and OpenCode already write; appearance (theme, language, active plugin theme CSS) and provider display names come from PI-Desktop's own local records. It never reads message text, tool arguments, project paths or credentials, never keeps a full session id (only an 8-character prefix), never writes anywhere except its own plugin settings, and makes no network request.",
      "versions": [
        {
          "version": "0.4.8",
          "publishedAt": "2026-09-18T17:42:56Z",
          "changelog": "{\"schemaVersion\": 1, \"description\": \"First release from the plugin's own repository https://github.com/vastsa/pi-plugin-token-insights. 首个独立仓库发布。\\n\\nRelease 0.4.8: Fold PI-Desktop completed-turn totals from the host database into the dashboard, so subagent spend that never lands on parent message.usage still appears without double-counting transcript rows. Settings no longer has a Usage page; this panel is the heatmap. Release 0.4.8：把宿主已完成回合的 token 合计折入仪表盘，转录本 message.usage 未计入的子智能体用量会补上且不与 JSONL 重复。设置页不再有用量入口，热力图以本面板为准。\"}",
          "minPiDesktop": "\u003e=0.2.9",
          "shasum": "319a1fd69aec06b032b2cd3aedcb8d99444599d2834e4c39761ad9209ca0acc2",
          "url": "packages/pi.token-insights-0.4.8.piplug",
          "sizeBytes": 171899,
          "permissions": [
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-token-insights",
            "sourceRef": "v0.4.8",
            "sourceCommit": "7d01df699ec527aeceb18a5f38dac3d33b3e5010",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-18T17:42:43Z"
          }
        }
      ]
    },
    {
      "id": "bone.openpencil",
      "name": "Bone OpenPencil",
      "description": "A PI-Desktop port of the DSH OpenPencil plugin for inspecting and editing OpenPencil .op design documents. It supports OpenPencil v0.8.6 pages and legacy documents.",
      "author": "Bone",
      "categories": [
        "developer-tools",
        "media-creative"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "bone",
      "downloads": 11,
      "homepage": "https://github.com/taokoplay/bone-openpencil-plugin",
      "readmeMarkdown": "# Bone OpenPencil\n\nBone OpenPencil 是将 ZSeven-W/dsh-openpencil 移植到 PI-Desktop 的插件。\n\n## 功能\n\n- 在右侧 Work Panel 查看和切换 OpenPencil .op 页面\n- 支持 OpenPencil v0.8.6 的 pages[].children 文档结构\n- 兼容旧版顶层 children 文档\n- SVG 画布预览、节点选择、属性编辑和保存\n- 提供 openpencil_render、openpencil_selection、openpencil_new、openpencil_edit Agent 工具\n\n## 来源\n\n直接移植来源：ZSeven-W/dsh-openpencil。\nOpenPencil 项目是相关的文档格式和编辑器参考来源。本插件使用 PI-Desktop 的插件 API，未包含 DSH Cordis 服务或 Rust/WASM 原生渲染器。\n\n## 许可证\n\nMIT。",
      "safetyNotes": "移植自 ZSeven-W/dsh-openpencil。仅读取和写入工作区范围内的 .op 文件，使用声明的 fs 权限和 PI-Desktop bridge，不访问网络，不启动外部进程。",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-24T06:15:25Z",
          "changelog": "跟随 OpenPencil v0.8.6 canonical pages[].children 文档结构，同时兼容旧版顶层 children 文档。新增页面选择、页面感知的 Work Panel 画布、未知文档与编辑器元数据保留、canonical 页面文档创建，并补充 DSH OpenPencil 源头说明。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "636465484d3adb8912643cdc61a76edd6d8f0c3823f651888ca63d04333066b5",
          "url": "packages/bone.openpencil-0.2.0.piplug",
          "sizeBytes": 888165,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "*.op",
                "**/*.op"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "*.op",
                "**/*.op"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-openpencil-plugin",
            "sourceRef": "v0.2.0",
            "sourceCommit": "4bf1fa7fff7ac3c4ebba0898d0030a674f809bf9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-24T06:12:33Z"
          }
        }
      ]
    },
    {
      "id": "pi.scratch-calc",
      "name": "Scratch Calculator",
      "description": "A paper-like multi-line calculator: evaluate as you type, keep a draft history, add notes to each line, copy results or export the sheet as an image, with local draft management and dark mode.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Scratch Calculator",
          "description": "A paper-like multi-line calculator: evaluate as you type, keep a draft history, add notes to each line, copy results or export the sheet as an image, with local draft management and dark mode."
        },
        "zh-CN": {
          "name": "草稿计算器",
          "description": "草稿纸式多行演算：输入行实时计算、回车确认入历史、每行可加备注、结果一键复制，也支持草稿管理、图片复制和深色模式。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 189,
      "versions": [
        {
          "version": "0.3.4",
          "publishedAt": "2026-09-13T16:01:21Z",
          "changelog": "Release 0.3.4：v3 头部对齐——右侧草稿列表头部让出右上角宿主窗口控制胶囊 104px 区域，新增 capsule-retint.js 按面板实际调色板实时重着色胶囊（面板内手动亮/暗切换即时生效）。Release 0.3.3：源码仓库对齐市场 0.3.2 基线（v3 穿透式顶部 chrome + panel-polish.css + i18n manifest 双语块）。Release 0.3.2：迁移到 v3 穿透式顶部 chrome，顶部控件保持可点击，空白区域继续可拖拽。Release 0.3.1：适配 PI-Desktop 跨平台 46px 主机拖拽带和简约三按钮窗口控制胶囊。Release 0.3.0：外观跟随 app 主体——默认跟随宿主主题（app 切换 light/dark 实时更新，无闪屏），面板内保留手动亮/暗切换（覆盖后不再跟随，可手动恢复）；可见 chrome 文案（标题、按钮、toast、占位提示等）支持 en/zh 跟随宿主语言。Release 0.2.0：重构为多草稿稿纸（干净利落的直角风格）——左侧当前草稿：输入行实时计算 + 本稿历史 + 每行可编辑备注 + 清空/复制为图片；右侧草稿列表：时间命名新建、点击切换、管理模式逐条删除。旧版历史自动迁移。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "21c759a0caf1f776a77342ae5aa8b20dfed4418ed18b484dbe184e2ef04effb6",
          "url": "packages/pi.scratch-calc-0.3.4.piplug",
          "sizeBytes": 444471,
          "permissions": [
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-scratch-calc",
            "sourceRef": "v0.3.4",
            "sourceCommit": "a3438a0cce7c6cae00920858cae5726764e948ab",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-13T15:56:46Z"
          }
        }
      ]
    },
    {
      "id": "pi.session-orchestrator",
      "name": "Session Orchestrator",
      "description": "Coordinate durable PI-Desktop sessions with bidirectional messages, host-owned completion notifications, reliable results, and configured model selection.",
      "author": "PI-Desktop",
      "i18n": {
        "en": {
          "name": "Session Orchestrator",
          "description": "Create bounded sessions, discover existing Agent sessions, send messages in either direction using real Session IDs, receive automatic completion notifications, and inspect host-owned status and results.",
          "safetyNotes": "This high-risk tool can create sessions, read session collaboration summaries and results, send messages that run the target Agent, and cancel collaboration work through desktop.control. Messages can address any existing Session ID and may consume configured model quota. The host binds the sender, preserves existing target configuration and permissions, labels session messages separately from user input, and bounds autonomous creation and callbacks. Plugin history never grants access. The plugin has no network permission and never deletes sessions or reads credentials."
        },
        "zh-CN": {
          "name": "Session Orchestrator 会话编排器",
          "description": "使用真实 Session ID 发现并通信独立 Agent 会话，创建有界 Worker、双向发送会话消息，自动接收完成通知，并查询宿主记录的状态和执行结果。",
          "safetyNotes": "这是一个高风险工具，会通过 desktop.control 创建会话、读取协作摘要和结果、发送消息启动目标 Agent，以及取消协作任务。消息可以发给任意已存在的 Session ID，并可能消耗已配置模型的调用额度。宿主绑定真实发送者、保留已有目标会话的配置和权限、将会话消息与用户输入区分，并限制自主创建和自动回调。插件历史记录不授予访问权限。插件没有网络权限，不删除会话，也不读取凭据。"
        }
      },
      "categories": [
        "agents-workflow",
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 2053,
      "homepage": "https://github.com/vastsa/pi-plugin-session-orchestrator",
      "readmeMarkdown": "# Session Orchestrator\n\nPlugin ID: `pi.session-orchestrator`  \nRequires PI-Desktop `\u003e= 0.14.7` with host collaboration APIs.\n\nSession Orchestrator coordinates real PI-Desktop sessions through one\nhigh-risk Agent tool, `SessionTask`. Every session is addressed by its existing\ndurable `sessionId`; follow-up messages keep that session's context and model.\nThe host owns delivery, queue admission, execution state, results, and completion\nnotifications. The plugin does not infer success from assistant text.\n\n## Install\n\n- **Marketplace**: PI-Desktop → Plugins → Marketplace → Session Orchestrator\n- **Development**: Plugins → Load development plugin → this repository root\n\n## A normal workflow\n\n1. Call `models` to inspect the user's ready configured models when a task needs\n   a particular model. Then `spawn(task, title?, model?)` to create a worker.\n   Keep the returned `sessionId` and delivery `messageId`.\n2. Work in parallel. By default the host sends a completion message back to the\n   sending session when the target turn settles; repeated polling is unnecessary.\n3. Use `send(sessionId, message)` for follow-up work in the same session, or to\n   communicate with any other existing session. Workers can reply to their\n   initiating session and peers by their real Session IDs.\n4. Inspect `status` or `result` when needed. Pass `messageId` or `turnId` to\n   retrieve one specific delivery instead of whichever message is latest.\n5. Review the actual result. `accept` optionally records that review for the\n   exact completed message. `cancel` stops collaboration work and retains the\n   durable session and history.\n\nA received message is explicitly identified as another session's communication,\nnot human input or new user authorization. Completion notices need no\nacknowledgement unless further work is necessary. Use\n`notifyOnCompletion: false` for informational messages to avoid unnecessary\nreturn messages. Host-generated completion notices never request another\nautomatic completion notice.\n\n## Actions\n\n| Action | Behavior |\n| --- | --- |\n| `spawn(task, title?, model?)` | Atomically creates a real worker and admits its first delivery through the host. |\n| `send(sessionId, message, kind?)` | Sends a task or message to an existing session, including a busy session's host queue. Does not reselect its model. |\n| `models()` | Lists ready model keys, aliases, reasoning metadata, AI-delegation eligibility, and the default. |\n| `status(sessionIds?)` | Reads host-owned live summaries; omission selects this caller's recent session references. |\n| `list()` | Reads a bounded host-backed directory of communicable Agent sessions, including independent top-level sessions. The response also retains a legacy `workers` field for recent-reference callers. |\n| `result(sessionId, messageId?, turnId?)` | Returns the host delivery and exact turn outcome. Failed or interrupted work is never accepted as a successful report. |\n| `wait(sessionIds, timeoutMs?)` | Explicit polling fallback, 25 seconds by default and at most 45 seconds. The entire read budget observes the deadline and cancellation. |\n| `supervise(sessionIds, message)` | Sends up to four follow-ups in parallel; returns successful receipts and any individual failures. |\n| `accept(sessionId|sessionIds, messageId?, note?)` | Stores review metadata keyed by the exact completed delivery. It never changes host execution state. |\n| `cancel(sessionId, messageId?)` | Cancels target collaboration work without deleting the session. |\n\n`result.ready` means the delivery has settled, including failure, cancellation,\nor interruption. Successful work requires `message.status === \"completed\"`;\nthe compatibility `worker.report` field is populated only for that outcome.\n\n`spawn` and `send` accept `notifyOnCompletion` (default true) and an optional\n`idempotencyKey` for retrying the same request. Use a different key for a new\nrequest. For batch supervision requiring retry identities, call `send` separately\nwith one key per target. Session identity and delivery identity have separate\npurposes: `messageId` names a ledger entry, not a second worker system.\n\n## Model selection\n\nAn omitted `model` first selects from ready bindings with\n`availableForSubagents: true`. A default within that set takes precedence;\notherwise the first configured eligible row provides a stable selection.\nOnly when that set is empty does the configured ready default apply. An empty\ncatalog or unavailable default produces a clear configuration error.\n\nThe spawn response records `requestedModel` and its selection policy; the\nactual session model is read from `status.modelKey`, including after an\nidempotent retry.\n\nAn explicit request resolves against existing model keys, IDs, aliases and\nnames. Matching handles case, spacing, punctuation, common English/Chinese\nfamily names, and supported reasoning/non-reasoning intent. Numeric version\norder is preserved. Multiple matches return bounded exact-key candidates;\nno match is an error. The plugin never invents a model ID or silently chooses\nan unrelated default. It does not rank model quality or cost from brand names;\nthe Parent can use `models` and the task requirements to make that decision.\n\nExisting-session `send` never changes provider, model, project, context, or\npermissions. New-session project and permission inheritance, effective thinking\nconfiguration, active-worker limits (four per creator, sixteen per plugin), and\nthe restriction on workers autonomously creating further workers are enforced\nby the host, using durable creation provenance.\n\n## State and recovery\n\nPI-Desktop's durable session communication ledger is authoritative. Status,\ncurrent task, sender, recent exchanges, and final outcome come directly from it.\nA callback is tied to the actual settled turn, retained on failure, and generated\nat most once. Restart follows the host's existing interruption fence; the\nplugin does not replay messages or start replacements during load.\n\nPrivate plugin settings retain at most 256 recent session references and 256\nmessage review notes. They contain no cached transcript, report, or execution\nstate. Reference eviction affects only recent-history discovery, never the\nability to address a known Session ID or the host's creation limits. Successful\nhost receipts remain available to the caller if optional history persistence\nfails; the response includes a warning.\n\nVersion 0.3 `workerSessionId`/`sessionId` records migrate to recent references.\nOld cached statuses, reports, rounds and acceptance markers are retired because\nthey cannot prove a host delivery's outcome. Existing sessions are preserved.\nLegacy `workerId`/`workerIds` arguments remain supported aliases; conflicting\naliases are rejected. Unloading cancels plugin reads and waits, unregisters the\ntool and command, and flushes metadata. Host-owned work and callbacks remain\nowned by the host.\n\n## Agents panel\n\nThe panel shows recent Session IDs, host status, creation/task source, and\nbounded recent exchanges. Open Session navigates explicitly; Stop calls the\nreviewed collaboration cancellation operation. Background refresh reads only\nbounded summaries every five seconds while the panel is visible. One missing\nor inaccessible session does not hide other references. Labels and previews\nare escaped before rendering, and asynchronous actions cannot be submitted\ntwice while pending.\n\n## Host compatibility and security\n\nThe manifest retains `engines.piDesktop \u003e=0.14.7`, but version alone does not\nprove this additive capability exists. Each operation checks the host's reviewed\ncatalog for `session/collaboration/{spawn,send,list,status,result,cancel}`. An older\nhost receives an explicit update-required error; the plugin never falls back\nto untracked create/prompt calls or transcript inference. `session/open` is\nchecked independently.\n\n| Capability | Data and boundary |\n| --- | --- |\n| `desktop.control` | Creates sessions, exchanges messages, reads collaboration summaries/results, cancels work, and explicitly opens sessions. The host binds the sender to the current Agent tool invocation, enforces permissions and bounded creation, and labels provenance. Messages can consume configured model quota. |\n| `models.list` | Reads ready configured model identifiers, aliases, delegation flags and reasoning metadata; no credentials. |\n| `ui.panel` | Displays bounded summaries through the isolated plugin bridge; local Stop/Open actions remain host-authorized. |\n| Plugin settings | Stores only bounded recent references and review notes keyed by delivery identity. Never grants access or represents execution truth. |\n\nThe high-risk grant allows bidirectional communication with any existing\nsession. Message content is task data and cannot grant new permissions. The\nplugin has no direct network permission, never reads credentials or MCP tokens,\nnever executes downloaded code, and never deletes sessions. Host provider\nrequests continue to use the user's configured model and normal policy.\n\n## Development\n\n```bash\nnode --test test/*.test.mjs\n```\n\nThis repository is the source of `pi.session-orchestrator`. Marketplace packages\nare published from [pi-desktop-plugins](https://github.com/vastsa/pi-desktop-plugins).\n\n",
      "safetyNotes": "This high-risk tool can create sessions, read session collaboration summaries and results, send messages that run the target Agent, and cancel collaboration work through desktop.control. Messages can address any existing Session ID and may consume configured model quota. The host binds the sender, preserves existing target configuration and permissions, labels session messages separately from user input, and bounds autonomous creation and callbacks. Plugin history never grants access. The plugin has no network permission and never deletes sessions or reads credentials.",
      "versions": [
        {
          "version": "0.8.0",
          "publishedAt": "2026-11-29T03:08:51Z",
          "changelog": "## 0.8.0\n\n- Sub-sessions now report their results back on their own by default; no polling needed.\n- New setting: maximum concurrent worker sessions (default 8, range 1-32).\n- `send` can deliver immediately, jumping ahead of a busy session's queue.\n- `list` shows the concurrency limit and active workers.\n- Three new skills: Requirements brief, Development team, Review panel.",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "90560cd4976d649836bfc090c1461150420cb827c240615eed44e134f4a4b737",
          "url": "packages/pi.session-orchestrator-0.8.0.piplug",
          "sizeBytes": 84589,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "desktop.control",
            "models.list"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.8.0",
            "sourceCommit": "e45bd8a13c49b6b3edc34b82e41c4160eea05310",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-29T03:06:23Z"
          }
        },
        {
          "version": "0.7.1",
          "publishedAt": "2026-10-13T09:33:39Z",
          "changelog": "## 0.7.1\n\n`SessionTask` 现在自己说清楚什么时候该用它。\n\n- 工具描述以显式的使用时机开头：并行做事、开子会话/子智能体、把任务委托给独立会话、跟进后台会话、协调多个 Agent 会话——任何语言都可以，不需要魔法关键词。\n- README 新增中英双语 Quick Start（含对照表），按 pull-first 的投递方式改写。\n- 修复：`send` 传空 model 时不再被当成显式模型，避免物化 schema 的模型报错。",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "4b7c380692614761f0be9b8408665e722e77bc656e36d2efff18ac023fcd5e36",
          "url": "packages/pi.session-orchestrator-0.7.1.piplug",
          "sizeBytes": 54915,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.7.1",
            "sourceCommit": "cb9037a90218721345e3a7cd9704d8621acf0289",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-13T09:33:05Z"
          }
        },
        {
          "version": "0.7.0",
          "publishedAt": "2026-09-23T17:03:29Z",
          "changelog": "## Pull-first result handling\n\nNew `spawn`, `send`, and `supervise` deliveries default to pull mode, preventing a later host completion message from racing with explicit result reads. Set `notifyOnCompletion: true` to opt into push notifications; choose one mode per delivery. Result and wait reads are pinned to delivery IDs, and wait only reports settled results.",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "8e8bb3e5ed5323142ced80ea6d2026059f462553f3748358e7e5264dc38f1c43",
          "url": "packages/pi.session-orchestrator-0.7.0.piplug",
          "sizeBytes": 52498,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.7.0",
            "sourceCommit": "9ea9effb8531b4bcd8f6a92cef218c4c3752306c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T17:03:09Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-09-18T16:07:26Z",
          "changelog": "## 0.6.0\n\nSession Orchestrator no longer opens a standalone Agents window.\n\n- Removed the panel, , and the Open Agents command\n-  is the only interface for spawn, send, list, status, result, wait, supervise, accept, and cancel\n- Startup still registers the high-risk collaboration tool",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "2a93f9145542f48fa7b70b36eeb693ff4c4dbc6e214db75984caac8b2abe6fe6",
          "url": "packages/pi.session-orchestrator-0.6.0.piplug",
          "sizeBytes": 51271,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.6.0",
            "sourceCommit": "78165909a5066ca57d1b85431021d632e5cc3f8b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-18T16:00:25Z"
          }
        },
        {
          "version": "0.5.1",
          "publishedAt": "2026-09-18T15:00:30Z",
          "changelog": "Release 0.5.1: marketplace package is a store-compressed zip PI-Desktop can install; ui, contributes and activationEvents are restored.",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "03b3ec2391dd7d4b5f260edd6265d5625883187c8f0f223888f637a04b1b115b",
          "url": "packages/pi.session-orchestrator-0.5.1.piplug",
          "sizeBytes": 83173,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.5.1",
            "sourceCommit": "554f2b36b4d238729375c6eb076c4ab357c0007f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-18T15:00:16Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-09-18T14:21:31Z",
          "changelog": "Release 0.5.0: discovers existing independent Agent sessions through the host-backed list action while retaining legacy worker references and bidirectional messaging.",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "6c8e94ce0084403e03ea1be757e485aa9f4e2708552d813ab94151939def013d",
          "url": "packages/pi.session-orchestrator-0.5.0.piplug",
          "sizeBytes": 77456,
          "permissions": [
            "agent.tool.register",
            "desktop.control",
            "models.list",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-plugin-session-orchestrator",
            "sourceRef": "v0.5.0",
            "sourceCommit": "291ec2ec8d7a382284548b398e8213b138c2b73f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-18T14:21:18Z"
          }
        }
      ]
    },
    {
      "id": "io.github.chengzhi-c.pi-desktop-wtq-pool",
      "name": "WTQ Pool",
      "description": "把本机 WorkBuddy、Trae、Qoder 的桌面登录接进 PI-Desktop。WorkBuddy 被限流时自动换号，三家各有开关。",
      "author": "chengzhi-c (PI-Desktop port of XDTrees/dsh-workbuddy-xdpool)",
      "i18n": {
        "en": {
          "name": "WTQ Pool",
          "description": "Bring this machine's WorkBuddy, Trae and Qoder desktop sign-ins into PI-Desktop. A rate-limited WorkBuddy account fails over to the next one. Each source has its own switch.",
          "safetyNotes": "Reads the WorkBuddy, Trae and Qoder sign-ins already saved on this machine. If an install is not in its default location, only its uninstall registry entry is read to find it. Keys for encrypted fields stay in memory. Tokens go only to each vendor's own hosts: copilot.tencent.com / codebuddy.cn / codebuddy.ai / workbuddy.ai / www.workbuddy.cn, api.trae.cn / solo.trae.cn / trae-api-cn.mchost.guru / coresg-normal.trae.ai / growsg-normal.trae.ai, gateway.qoder.com.cn / openapi.qoder.com.cn / api3.qoder.sh / openapi.qoder.sh. Chat is served from 127.0.0.1."
        },
        "zh-CN": {
          "name": "WTQ Pool",
          "description": "把本机 WorkBuddy、Trae、Qoder 的桌面登录接进 PI-Desktop。WorkBuddy 被限流时自动换号，三家各有开关。",
          "safetyNotes": "只读本机 WorkBuddy、Trae、Qoder 已保存的登录。默认位置找不到安装目录时，只读卸载项来定位。加密字段的密钥只留在内存。令牌只发往各家自己的接口：copilot.tencent.com / codebuddy.cn / codebuddy.ai / workbuddy.ai / www.workbuddy.cn、api.trae.cn / solo.trae.cn / trae-api-cn.mchost.guru / coresg-normal.trae.ai / growsg-normal.trae.ai、gateway.qoder.com.cn / openapi.qoder.com.cn / api3.qoder.sh / openapi.qoder.sh。对话由本机 127.0.0.1 上的端点转发。"
        }
      },
      "categories": [
        "ai-models",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 821,
      "homepage": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
      "readmeMarkdown": "# WTQ账号池\n\n把本机 WorkBuddy、Trae、Qoder 的桌面登录接入 PI-Desktop。WorkBuddy 被限流或额度用尽时自动换号；Trae、Qoder 按请求选择账号，不保证失败后重试。三个来源独立开关，国内与国际账号分别成组。\n\n[English](./README.en.md)\n\n## 预览\n\n设置面板界面如下（默认亮色）：\n\n![账号池](docs/preview-pool.png)\n\n面板跟随 PI-Desktop 的外观设置，暗色与亮色各一套配色：\n\n![暗色主题](docs/preview-dark.png)\n\n模型页可以改显示名、上下文窗口、输出上限、思考等级和贴图。Trae 目录给出费率的模型会带上 `x0.79` 这样的费率标签，未给出费率的模型（以及 Qoder 全部模型）不标注：\n\n![模型设置](docs/preview-models.png)\n\n在线预览：\u003chttps://chengzhi-c.github.io/pi-desktop-wtq-pool/\u003e。\n\n`docs/index.html` 加载实际面板代码并使用虚构演示数据，支持来源切换、模型设置和主题预览，不读取本机账号或令牌。\n\n![预览页](docs/preview-page.png)\n\n开启 `showComposerPoints` 后，输入框工具栏显示当前模型的账号积分，点击可查看该组账号并切换账号。下图由实际输入框扩展离屏渲染，非对话测试截图：\n\n![输入框积分](docs/preview-composer.png)\n\n本地运行：`node docs/serve.cjs`，然后打开它输出的地址。\n（`docs/index.html` 需经本地服务器打开：`file://` 页面无法读取同目录的面板文件。）\n\n## 安装\n\nPI-Desktop → 插件 → 安装本地插件，选择本地生成的 `.piplug`。\n\n开发与检查：`npm ci \u0026\u0026 npm run typecheck \u0026\u0026 npm run build \u0026\u0026 npm test`。修改 `src/` 后须重建 `lib/`。\n打包使用 PI-Desktop 的 `PluginCheck` / `PluginPack`，不使用通用 ZIP 工具。打包前先把工作树复制成仅含运行时文件的副本（去掉 `src/`、`tests/`、`build.mjs`、`tsconfig.json`、`package-lock.json`），并清空 `manifest.json` 的 `contributes.providers`：`PluginPack` 只排除 `.git`、`node_modules` 和 `dist`，运行时声明里带着本机上一次发布的模型组与端口，直接打包会把它带进发布产物。\n\n## 使用\n\n在各家桌面 App 里登录，再点面板「重新检测账号」。WorkBuddy 要多个账号，就在 App 里逐个登录；5.6 起的 `$wbEncrypted` 登录由插件向本机已安装的 WorkBuddy 要密钥再读。Trae 国内版有 Trae CN 与 TRAE SOLO CN 两个登录位，Qoder 每个安装只保存一个登录，在 App 里重新登录会覆盖前一个。\n\n模型分组没出现时，按面板顶部的提示重启 PI-Desktop。\n\n面板顶层选来源，下面是账号池、模型和连接检查。\n\n- 账号卡支持积分明细、签到、停用、移除和区域首选账号；输入框积分弹窗可刷新当前模型所在组。\n- WorkBuddy 支持优先使用、轮询、临期积分优先和会话固定账号；Trae、Qoder 支持轮询与临期积分优先。\n- 模型页保存后更新插件声明；宿主尚未重载时按面板提示重启。一个模型组最多发布 64 个，超出的勾选标为「未发布」，网关仍支持这些模型。\n- 自动签到默认关闭，开启后默认于 09:00（北京时间）执行；错过时段将在下次启动补领。「立即运行」执行同一轮，包含三家的签到、WorkBuddy 国内账号的连登和任务奖励及猫猫旅行。Trae 每日签到按设备限制，Qoder 新轮次于 10:00 开放。\n\n## 设置\n\n插件页里可改的项：\n\n| 键 | 默认 | 说明 |\n| --- | --- | --- |\n| `enabled` | `true` | 关闭后网关不启动 |\n| `sourceWorkbuddy` / `sourceTrae` / `sourceQoder` | `true` | 关闭后该来源不扫描、不发布、不请求 |\n| `distribution` | `priority` | WorkBuddy 池的发放方式：`priority` 先用一个账号，`round-robin` 均摊，`expiry` 优先消耗临期积分，`sticky` 同一对话固定 |\n| `sourceDistributions` | `{}` | Trae、Qoder 的分发方式：`round-robin` / `expiry`；兼容旧值 `priority` |\n| `cooldownSeconds` | `60` | 限流冷却时长。上游报出重置时间时以它为准，按北京时间 |\n| `creditReserves` | `{}` | 按账号 id 设定的积分保底，余额低于它的账号不参与分发 |\n| `authFile` | `\"\"` | WorkBuddy 登录文件路径；扫描其所在目录的全部 `.info` 登录，留空自动发现 |\n| `autoCheckin` | `{\"enabled\":false,\"hours\":[9]}` | 自动签到的开关与时点；`hours` 为北京时间整点，留空用 09:00 |\n| `showComposerPoints` | `false` | 在输入框工具栏显示当前账号积分 |\n\n模型勾选和首选账号由面板保存。命令面板里也可以打开面板、重新检测、清除冷却、全部签到、连接检查。\n\n## 端口\n\n```\nWorkBuddy  41831 / 41841\nTrae       41851 / 41861\nQoder      41871 / 41881\n```\n\n宿主在插件进程启动前读取清单地址，因此端口固定。端口被占用时请先查看连接检查，不应连接其他进程的服务。国内模型仅使用国内账号。\n\n## 数据\n\n只读三家 App 的本机登录文件。令牌仅在插件进程中使用，并发往对应厂商接口；网关仅监听 `127.0.0.1`，同机其他进程仍可调用并消耗账号额度。插件设置由宿主持久化，模型分组写入本插件清单；插件不直接管理或删除宿主会话记录。重启后回复缺失时应同时检查插件流是否完成与宿主持久化日志。\n\n## 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.panel` | 打开设置面板 |\n| `background.service` | 常驻运行网关与扫描 |\n| `provider.register` | 把三个来源作为模型提供方写进本插件清单 |\n| `renderer.extension` | 在输入框工具栏显示积分 |\n| `shell.openExternal` | 面板页脚打开外部链接 |\n| `clipboard.write` | 连接检查页复制报告 |\n\n出网请求由插件进程直接发送，不经过宿主 `net.fetch` 通道。\n\n令牌只会发往以下主机，与 `manifest.json` 的 `safetyNotes` 一致：\n\n- WorkBuddy：`copilot.tencent.com`、`www.codebuddy.cn`、`www.codebuddy.ai`、`www.workbuddy.ai`、`www.workbuddy.cn`\n- Trae：`api.trae.cn`、`solo.trae.cn`、`trae-api-cn.mchost.guru`、`coresg-normal.trae.ai`、`growsg-normal.trae.ai`\n- Qoder：`gateway.qoder.com.cn`、`openapi.qoder.com.cn`、`api3.qoder.sh`、`openapi.qoder.sh`\n\n## 致谢\n\n本插件的若干模块移植或参考自下列 MIT 项目，特此鸣谢：\n\n| 项目 | 版权 | 用于 |\n| --- | --- | --- |\n| [XDTrees/dsh-workbuddy-xdpool](https://github.com/XDTrees/dsh-workbuddy-xdpool) | (c) 2026 XDTrees | WorkBuddy 账号池与整体移植来源 |\n| [corrinehu/dsh-workbuddy-connect](https://github.com/corrinehu/dsh-workbuddy-connect) | (c) 2026 Corrine Hu | 回环端点的安全模型 |\n| [dingminhua/dsh-connect-workbuddy](https://github.com/dingminhua/dsh-connect-workbuddy) | (c) 2026 LaoDing | 上游接口与错误分类 |\n| [dingminhua/dsh-connect-trae](https://github.com/dingminhua/dsh-connect-trae) | (c) 2026 dingminhua | Trae 协议参考 |\n| [eghrhegpe/dsh-connect-qoder](https://github.com/eghrhegpe/dsh-connect-qoder) | (c) 2026 eghrhegpe | Qoder 协议参考 |\n| [eric8bit/pi-desktop-workbuddy](https://github.com/eric8bit/pi-desktop-workbuddy) | (c) 2026 eric8bit | 同一上游的 PI-Desktop 移植版，本插件的前身 |\n\n## 许可\n\nMIT，见 [LICENSE](./LICENSE)。\n",
      "safetyNotes": "Reads the WorkBuddy, Trae and Qoder sign-ins already saved on this machine. If an install is not in its default location, only its uninstall registry entry is read to find it. Keys for encrypted fields stay in memory. Tokens go only to each vendor's own hosts: copilot.tencent.com / codebuddy.cn / codebuddy.ai / workbuddy.ai / www.workbuddy.cn, api.trae.cn / solo.trae.cn / trae-api-cn.mchost.guru / coresg-normal.trae.ai / growsg-normal.trae.ai, gateway.qoder.com.cn / openapi.qoder.com.cn / api3.qoder.sh / openapi.qoder.sh. Chat is served from 127.0.0.1.",
      "versions": [
        {
          "version": "1.4.2",
          "publishedAt": "2026-11-26T10:58:33Z",
          "changelog": "- 账号：Trae、Qoder 的固定选择随账号增减、改名和重启保持生效；同名账号的冷却和签到状态独立，旧面板操作不会指向同名替换账号。登录到期后，输入框及时显示其他可用账号。Qoder 扫描重复安装目录时保留可用登录。\n- Trae：账号昵称与其他账号 ID 相同时，选择和签到仍指向各自账号；模型目录部分刷新失败时，仅保留失败接口的旧记录，及时移除已下架模型并更新上下文限制；损坏登录文件的错误信息隐藏凭据片段。\n- WorkBuddy：首次请求按扫描后的账号数量轮换，避免漏掉可用账号；后台扫描与登录同时进行时，保留并使用新凭据；续期后的路由域名随登录文件保存；HTTP 200 返回 JSON 错误时及时释放上游连接。\n- 网关：停止或重载时取消 Trae、Qoder 的目录请求；Trae 目录被拒后及时释放连接。\n- 面板：旧轮询失败不再干扰新一轮刷新、签到和成长任务的状态。\n- 输入框积分：切换模型再切回时忽略旧操作的响应，刷新按钮及时恢复，新请求保持各自的忙碌状态。\n- 面板：切换长短页面、确认删除或刷新成长明细时保持控件位置；切换页面后，旧请求不再拉回滚动位置。\n- 模型：别名忽略首尾空格，清空后恢复默认名称。\n- 账号：不同账号不再因文件名相似而相互覆盖。删除账号时，也会清除旧版为它保存的重复登录文件，不影响其他账号。\n- 导入：默认保留已存登录。强制导入仅接受较新记录，并保留导入期间续期的登录。\n- 隐私：损坏的登录文件不会在错误中暴露原文；诊断隐藏企业与租户标识；面板和导入工具的文件错误隐藏账号标识与本机路径。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "9d0dcd39c0e5a5d0fadb47ec9be8e3ff111df18e4ef9f16d4e10b487792a6a2c",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.4.2.piplug",
          "sizeBytes": 1256083,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.4.2",
            "sourceCommit": "8365897e077ba21f6516e47aa1381e6487b21ef3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-26T08:17:43Z"
          }
        },
        {
          "version": "1.4.1",
          "publishedAt": "2026-11-25T12:25:11Z",
          "changelog": "- Trae：最后一帧同时包含回复内容和结束标记时，及时结束生成并释放连接。\n- 账号池：正确识别 HTTP 日期格式的限流等待时间，按服务端要求冷却账号。\n- 成长中心：读取列表、详情或领取奖励时，登录过期后自动续期；修复并发读取将已恢复账号误判为登录失效的问题。\n- 输入框积分：账号列表弹层根据可用空间展开，短窗口中也能查看和选择完整列表。\n- 输入框积分：并行刷新同一地区的账号，较慢账号不会阻止其他账号更新余额。\n- 模型设置：保存期间切换来源，保存完成后保留当前来源打开的编辑器。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "cb6c6fccf4ab2d4656f9ca26cfe2d616f54694ecead9682134670241645eb900",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.4.1.piplug",
          "sizeBytes": 1248346,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.4.1",
            "sourceCommit": "cd2508cd57d9d9390cd42d20fb504965af547258",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-25T12:22:35Z"
          }
        },
        {
          "version": "1.4.0",
          "publishedAt": "2026-11-25T00:30:27Z",
          "changelog": "- 面板：工具操作与成长状态使用图标，详细说明和运行结果按需展开，窄窗口使用图标导航。读取模型期间修改设置后，重新进入模型页会刷新目录。\n- 成长中心：按账号展开本月登录状态，四行显示，绿色表示已登录，灰色表示未登录，悬停日期可查看日期；支持选择旅行地点、领取旅行积分、单档连登兑换、单次抽奖和指定日期补签。「立即执行」包含猫猫旅行。\n- WorkBuddy：识别新版 `available` 连登档位，并依据兑换回执统计积分。旅行领取适配新版请求，状态缺少 `record_id` 时仍可领取。\n- 成长中心：手动和定时运行的积分合计均包含旅行奖励。查询失败时保留已到账积分；抽奖次数读取失败时仍可领取连登奖励；消耗次数、补签卡或旅行机会前会请求确认。\n- 自动签到：「立即运行」仅处理已启用的来源和地区；执行中停用或移除账号后停止后续领取；仅启用 Trae 国内版或 Qoder 时，同一时段也只执行一次。\n- 账号：刷新输入框积分时仍会检测其他账号，旧读数不会覆盖新余额。同一账号的两种备份格式可以混合导入，按所选地区保留最新登录。修正 Trae 到期判断、Qoder 密钥缓存和专属资源包统计。\n- 模型目录：WorkBuddy 首账号失效后尝试其他账号；手动刷新时重新读取 Trae、Qoder 目录。连接检查保留脱敏后的目录错误原因，并结合宿主已加载的模型判断提供商同步状态。\n- 生命周期：停止或重载后终止旧签到、旅行与续期任务的后续请求，避免旧批次清除新缓存。\n- 预览：更新演示交互和全部面板截图，领取按钮使用绿色强调样式。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "3ab59f8341945dba3e99a4287a14ce857d06752aec9dfd9a15f17b4f2f4e31c1",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.4.0.piplug",
          "sizeBytes": 1248237,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.4.0",
            "sourceCommit": "85e4972dda80f91d0c4e77ad4a5bfd8762302ccc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-25T00:27:53Z"
          }
        },
        {
          "version": "1.3.6",
          "publishedAt": "2026-11-20T06:33:14Z",
          "changelog": "- 安全：数据目录按 0700、签到记录按 0600 创建。\n- 连接检查：宿主清单无法读取时报告失败，不再显示通过。\n- 隐私：说明请求携带厂商账号与设备标识（账号 UID、机器码、设备 ID）。\n- 成长中心：执行超过宿主等待时间后，任务结束时按钮恢复可用。\n- 自动签到：上一轮仍在进行时，按钮显示运行中并保持不可点，结束后恢复。\n- 文档：精简 README。\n\n## [1.3.5]\n\n- 流式对话：收到 WorkBuddy、Trae、Qoder 的拒绝响应后及时关闭上游连接，避免换号或重试时遗留连接。\n- WorkBuddy：扫描时从磁盘清除超过 30 天保留期的过期凭证归档。\n- WorkBuddy：删除账号与重新登录同时进行时，保留新登录。\n- 输入框积分：宿主模型目录读取失败时，暂缓显示归属未确认的模型积分；切换账号成功后清除此前的错误提示。\n- 面板：来源和区域选择器以按钮组报告选中状态；页面标签支持方向键导航与 Enter/Space 激活。\n- Qoder：macOS 解密成功但会话缺少账号标识时，正确提示登录数据无效，不再误报 Keychain 权限问题。\n\n## [1.3.4]\n\n- 流式对话：宿主采集响应流时，上游拒绝请求可及时返回错误，避免等待响应流结束而卡住。\n- 取消请求：停止生成或取消响应流时，同时关闭上游连接，释放宿主采集与网络资源。\n\n## [1.3.3]\n\n- Trae 对话：主路由失效后改用备用路由时，按备用路由的窗口启用 Max 模式，避免长对话被较小的默认窗口拒绝。\n- 端口检查：地址漂移时提示检查实际网关、暂停受影响模型，再按检查结果释放端口或重启 PI-Desktop，避免宿主继续使用缓存地址。\n- Trae 签到：设备 ID 迁移后优先使用唯一数字设备号，修复已签到仍显示可签到、领取返回 9074 的问题。\n- 隐私：流式失败日志仅记录错误类别和 Trae 错误码；macOS 读取 Qoder 登录时需访问登录钥匙串。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "3dbd56d794cb9a455914547450b56c9f470130e885c9775519f78261727fd35e",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.3.6.piplug",
          "sizeBytes": 1233684,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.3.6",
            "sourceCommit": "cb8afcaf1d4b39f24f8ac95d05870d43081b3005",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T06:30:54Z"
          }
        },
        {
          "version": "1.3.2",
          "publishedAt": "2026-11-18T11:34:53Z",
          "changelog": "- 修复 macOS 上无法识别 Qoder 国内版桌面登录的问题。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "db70246310f0fb5745fea906c300bf32704e2c6cc188359b4f838cbf2ba496bb",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.3.2.piplug",
          "sizeBytes": 1260097,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.3.2",
            "sourceCommit": "69bf706c2caffa5b0ea6df17e7f25b16f1a6cf12",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-18T11:32:44Z"
          }
        },
        {
          "version": "1.3.1",
          "publishedAt": "2026-11-12T05:36:28Z",
          "changelog": "- 账号池：两个区域共用一个账号池时，轮流使用与同一对话固定账号的轮转位置按区域分开；跳过刷新失败的登录后仍会轮到每个账号，两个区域也不会重复落在同一个账号上。\n- 积分读数：额度耗尽的账号在冷却期间仍会读取余额，充值后下一次读取即可解除挂起，面板的刷新判断不再把它当作无需更新。\n- 换号：登录失效返回 200 且刷新令牌成功、会话仍然失效时，该账号挂起并改用下一个，不再反复刷新同一账号。\n- 模型：Trae、Qoder 保存的默认思考等级会写入声明，选中该模型时按设置的等级发送，不再回落到目录默认值。\n- 换号：上游主机不可达时，尚未失败的网关仍有尝试机会，不再因同域名的连续超时错过健康账号。\n- 账号池：同一对话固定账号命中时刷新使用顺序，长时间对话不会因绑定上限被换到新账号；不同区域的同名对话不再共用绑定。\n- 面板：登录链接缺失时按界面语言提示，不再显示英文原文。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "81be4ba0c846562bc8af3ead6433c0737f3ee404117361c9936905fc70c37c52",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.3.1.piplug",
          "sizeBytes": 1257299,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.3.1",
            "sourceCommit": "bac0c9420c65953731b65c2ebbfb3cae086576bf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T05:34:30Z"
          }
        },
        {
          "version": "1.3.0",
          "publishedAt": "2026-11-10T07:45:38Z",
          "changelog": "- 账号池：升级前的停用、移除、保底与偏好设置按旧账号 ID 继续生效。\n- 账号池：关闭一个区域不再改变另一区域账号的名称，失败挂起与签到记录不丢失。\n- 稳定性：模型列表读取失败按网关限量重试；刷新期间到达的设置变更在下一轮生效。\n- 换号：WAF 页面按上游故障冷却，不再计入限流次数或拉长下一次限流窗口。\n- 账号池：删除一个账号不再清掉同名账号仍在使用的旧版归档记录。\n- 安全：面板日志与错误回显脱敏账号标识和 Cookie；账号文件按 0600、目录按 0700 创建（Windows 上由文件 ACL 决定），中断写入的临时登录文件会被清理。\n- 存储：Windows 上锁文件处于删除挂起时改为等待重试，归档写入不再丢条目；持续拒绝写入时按超时失败。\n- 存储：删除与续期同时发生时，续期得到的令牌不再写回已删除账号的文件或归档。\n- 存储：删除期间开始的扫描不会把已删除账号写回归档；锁释放受阻时留下可回收标记，无法读取的锁不再按路径判定，回收文件在删除持续失败时也不再增长。\n- 存储：扫描在归档与接管阶段后复读删除记录，读不到时不提交账号名单；同一账号无法按签发时间排序的多条删除记录一并保留，较新的删除不会被陈旧名单覆盖。\n- 存储：删除失败保留原记录并重试回滚；删除完成后才返回的续期不再把已删会话的令牌写回归档。\n- 积分读数：手动刷新后按最新结果重新计时，未读到的余额不会等满五分钟；插件外的提供商在宿主标签中出现的名称同样计入重名判断。\n- 面板入口：PI-Desktop 0.22 起可从全局启动器（`Alt+Space`）或命令面板的 `WTQ Pool: Open panel` 打开，命令 ID 为 `wtqpool.open`。\n- 积分浮层：模型名与插件外的提供商重名时，标签带上网关后缀，浮层不再显示在别的模型上；标签以宿主已加载的声明为准。\n- 账号池：轮流使用与同一对话固定账号时，输入框积分显示下一个或最近一次服务的账号。\n- 账号池：Trae、Qoder 同名账号以厂商用户 ID 区分，失败挂起、偏好与签到不再串到另一个账号；同一模型组内的同名模型以模型 ID 区分。\n- 账号池：同一会话的重复登录只保留一个账号；清除账号列表后仍保留停用截止时间；服务器故障冷却按自身窗口结束。\n- 积分读数：读取余额失败后 15 秒重试，不再把一次启动失败留在缓存里直到手动刷新。\n- 安全：面板登录只接受厂商自己的登录主机，上游返回其他地址时不打开。\n- 换号：WorkBuddy 上游 5xx 改用下一个账号，不再直接结束本轮。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "2ee6faf708a85c62cadefc8744ca491a0ce997aa705c88f3f5bbc0df170f1465",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.3.0.piplug",
          "sizeBytes": 1246375,
          "permissions": [
            "background.service",
            "clipboard.write",
            "models.list",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.3.0",
            "sourceCommit": "d06da1590ce0c96c20456fa7efeed017d3b10e38",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-10T07:43:30Z"
          }
        },
        {
          "version": "1.2.3",
          "publishedAt": "2026-11-06T15:37:28Z",
          "changelog": "- WorkBuddy：支持字符串形式的加密登录字段；登录不可读时保留原账号，不再复制同账号的旧快照。\n- 账号并发：登录、续期、删除与归档写入串行执行，避免旧扫描或另一个实例覆盖新登录。\n- 安全：WorkBuddy 安装检测只接受固定本地卷上的签名文件；子进程清理不可信环境；错误与日志不保留上游回显的凭据。\n- 安全：上游以数组形式回显的敏感请求头整体脱敏，数组元素含 `]`、嵌套数组或响应被截断时也不再泄漏剩余凭据。\n- 恢复：设置读取按顺序应用；插件停止或重载时取消旧扫描，网关重启等待旧端口释放并登记实际监听地址。\n- 存储：Windows 短暂占用凭证文件时重试原子替换，避免续期结果写入失败。\n- 流式输出：含工具调用的回合即使上游返回 `stop`，也按 `tool_calls` 完成。\n- 换号：Trae、Qoder 返回 200 而响应体为空时，改用下一个登录。\n- 换号：登录失效、余额耗尽、限流与空回合改用下一个登录；上游 5xx 按原状态返回。\n- Trae：登录失效帧只有一句说明、没有错误码时，按已知措辞识别为登录失效并换号；其余措辞按上游故障返回 502。\n- 签到：Qoder 两个站点的活动列表与领取走各自的接口（`openapi.qoder.sh` 与 `openapi.qoder.com.cn`），面板与自动签到按上游返回的活动进行。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "177153d07e1853433c8c03dfadd1a56350bf9b1906c2a3c36c30523e36f6ce26",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.2.3.piplug",
          "sizeBytes": 1191888,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.2.3",
            "sourceCommit": "ecfa93d3a4255c4c19137862856169808685921d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T15:35:32Z"
          }
        },
        {
          "version": "1.2.2",
          "publishedAt": "2026-11-03T16:49:51Z",
          "changelog": "- 登录：新的登录流程替换旧流程后，不再保存旧流程的结果或清除新流程。\n- 账号池：每次续期后重新确认账号资格，避免使用在等待期间被停用、移除或冷却的账号。\n- 隐私：关闭 WorkBuddy 或其全部区域后，刷新跳过登录凭证扫描；未完成的扫描不再回填账号或继续写入凭证。\n- 成长中心：任务取消后停止后续补签、领奖、活动上报与抽奖，不再继续消费补签卡。\n- WorkBuddy：补齐或折叠系统消息时使用非空内容，兼容 Kimi 3.1 的消息校验，避免空系统消息触发 11151。\n- 账号发现：手动重新检测会在当前扫描结束后重新读取，避免漏掉刚新增的登录。\n- 流式输出：WorkBuddy 在 `[DONE]` 前补齐缺失的结束帧，正确处理分块结束标记与未分隔的尾帧；工具调用补用 `tool_calls` 结束原因。\n- 签到：单账号签到显示领取结果并更新状态；批量签到显示脱敏后的首个失败原因，Qoder 的不可重试拒绝不再安排补领。\n- 安全：本地预览只提供必要的公开资源，拒绝非回环 Host，不再公开仓库内部文件。\n- 面板与文档：调整风险提示与悬停标签对比度，明确两版独立存储和共享凭证的续期限制。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "40e31d839f182ee4e31474d5badf2df687eb555cb0f416345cc58a19c63018d7",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.2.2.piplug",
          "sizeBytes": 1125330,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.2.2",
            "sourceCommit": "f932ecb10506faf478c81c134056d9d7e9f705a2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-03T16:47:59Z"
          }
        },
        {
          "version": "1.2.0",
          "publishedAt": "2026-10-28T09:30:17Z",
          "changelog": "- 品牌：模型提供商 ID 由 `xdpool-*` 改为 `wtqpool-*`；升级后模型选择需要重新选一次。\n\n## [1.1.1]\n\n- 登录：刷新失败的账号在本轮请求内跳过，不再反复重试同一个账号；200 信封的登录失效也区分「被拒」与「刷新失败」，后者不再写 6 小时停用。\n- 渠道校验：11128 出现在 HTTP 200 的 JSON 信封时同样折叠系统消息并重试一次，通过的提示照常按 region 记住。\n- 签到：Trae、Qoder 的单账号签到在超时后继续占用守卫，避免第二次点击与仍在进行的领取并行。\n- Qoder：展示用量只带到期时间、没有可用额度时回退到 quota 路由，不再直接报「用量不可用」。\n- 设置：宿主推送的旧设置文档不再覆盖刚保存的账号停用、移除与模型选择；地址漂移按实际发布地址判断。\n- 面板与文档：保活卡片只在 WorkBuddy 页签显示；补充刷新重置时间的 2 小时上限、输入框积分关闭后的慢轮询、助手历史改名说明。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "6b36e4b4693005f718b1e25b3ae493b0ea68b55565b247e466d7b9120f862512",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.2.0.piplug",
          "sizeBytes": 1107217,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.2.0",
            "sourceCommit": "560f2dd750a56263cc26eb3edee41cebd1f68b15",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T09:29:27Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-10-26T20:13:14Z",
          "changelog": "- 登录：多处登录按签发时间取最新；续期写回插件自管文件；被拒登录先刷新重试，刷新令牌也失效才挂起 6 小时，挂起期间跳过轮询、签到、成长与保活。\n- 账号限制：11140 标注「已限制」并换号，全部受限回 403 提示申诉；11158 按账号 × 模型停用 24 小时，全部被拒回 400。\n- 网络：刷新超时、限流或网络故障时账号留在轮换；网络错误结束本轮，不冷却账号。\n- 网关：200 信封里的账号级业务码按原因处理；缺结束帧时补 `finish_reason` 与 `[DONE]`；Trae、Qoder 等待期间发保活；路由支持查询串；空正文回 502。\n- 面板：区分「需重新登录」「已限制」与普通冷却；删除立即消失且不被桌面快照带回；签到防连点；重载后提示刷新。\n- 令牌保活：独立卡片，按签发时间续期；桌面遗留快照由插件接管，正在使用的由桌面端续期。\n- 连接检查：网关启动失败原因与端口记入报告，停用、重启与卸载时清除；重载清掉未完成的设备登录。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "ff92a5f95da8cdd84bd3d64c09deac0bb67574183db4988fc4f32244745e20e4",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.1.0.piplug",
          "sizeBytes": 1064531,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.1.0",
            "sourceCommit": "d56981d1040f1ac9df5eda9a90e2a5c73b117fb8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-26T20:12:30Z"
          }
        },
        {
          "version": "1.0.51",
          "publishedAt": "2026-10-22T10:06:52Z",
          "changelog": "## [1.0.51]\n\n- Qoder 不再列出 Ultimate、Efficient、Sonus、Cantus 四条内部路由，只保留有名称的模型。\n\n## [1.0.5]\n\n- **新增成长中心页签**：按账号列出连登档位，「读取状态」只读，「立即执行」单独跑成长环节，按补签卡、礼包与补偿、活跃上报、连登档位与抽奖分项报告，两个 region 都执行，不含任务奖励的列表、接取与领取。\n- 读数留在进程内，重开面板直接重绘；超过两分钟、期间跑过一轮或账号池变动时重读，读取期间池子变动则不写回。\n- 成长中心与签到互斥：它执行期间「全部签到」、单账号签到与延迟执行的 Qoder 签到都等它结束；重载或重启后按「立即执行」会重新领取。\n- 命令面板不再提供本插件的 `xdpool.*` 命令，面板与卡片入口不受影响。\n- 面板的「添加账号」在浏览器打开官方登录页，登录完成即入池，凭证写在 `signins/` 下，没有桌面 App 也能用。\n- 面板添加的账号可删除，登录文件与留档一并清除，按两次确认、八秒内未再按即解除；删除先等进行中的扫描结束，并清掉停用标记、积分保底与首选设置。\n- 删除确认超时后提示一并消失；该行忙碌时置灰，按下不进入确认状态。桌面 App 自身的登录没有该按钮。\n- 凭证留档读不出或损坏时扫描不改写，被覆盖的账号仍可恢复。\n- 挂起按原因区分：「额度用尽」读到余额即释放，「登录失效」需重新登录或手动重置；扫到新登录时释放并以该份登录请求，原因不被另一种改写。\n- 未给重置时间的限流冷却逐次翻倍，封顶 15 分钟，间隔超过 30 分钟重新计数；上游给出重置时间时以它为准。\n- 空池的拒绝状态码按原因区分，仍有账号在限流时随响应发出该期限。\n- 轮转与临期积分优先都先排可用登录，被挂起的排后面；Qoder 延迟轮次只在真正完成时清除重试时间。\n- WorkBuddy 模型拒绝缺省思考等级时，补上声明的默认等级重发一次。\n- Trae 的默认档与 Max 档都作为上限发布：窗口高于所有默认档才用 Max，目录未声明更大档位时取实测上限，同一模型的多份声明全部保留。\n- Trae 的查询被拒时改用同模型的下一份声明重试一次，目录残缺时并入已缓存名单。\n- 目录晚于启动返回时，该来源的模型组补发一次声明。\n- Trae 模型发布实测可用的 1M 上限档，默认窗口不变。\n- 面板三个来源页签右侧与 README 顶部写明封号风险。\n- 模型页左列的编辑标记跟随当前打开的编辑面板，关闭、取消勾选或保存后清除。\n- 模型页的预设档位含模型自身的上限，超出的不出现。\n- 保存的上限高于当前目录时显示目录中的值，不计为未保存的改动。\n- 数值被拒绝时回填实际保存的值，清空字段即回到跟随目录；手工输入的窗口与输出优先于夹紧时暂存的值；带思考等级的模型在缺少默认等级下拉时正常渲染。\n- 打开模型页不中断后台刷新轮询；Trae、Qoder 按网关实际发布的列表显示勾选状态。\n- 输入框的积分读数按声明名称查找，两个网关共有的模型带网关后缀（`… (CN)` / `… (Global)`），并与网关用同一个账号顺序。\n- 「立即刷新」跑一轮令牌保活，按刷新、无需处理、失败、无刷新令牌分项报告，无定时任务与开关，重启后照常显示。\n- 国际版登录文件被覆盖时，为读到的凭证留档并继续分发；服务运行期间每分钟重读一次桌面登录。\n- 冷却中的账号仍读取签到状态，「全部限流」排除已停用的账号，选择器不列出登录已过期的账号。\n- 签到慢轮询失败三次后停止，页面隐藏时两个轮询都停。\n- 面板补齐对比度与可访问名称，页签标出 `aria-selected`，失败提示标出 `role=\"alert\"`。\n- 账号行按钮按账号本身定位，焦点回到按下的那一行。\n- 缺字文案补齐。\n- 签名扫描在装了商店版 PowerShell 7 的机器上同样生效。\n- 积分包的到期时间接受秒级时间戳；连接检查的 at-rest 行在通过时也写一行。\n- 网关在目录全部失败时的 503 带上真实原因；请求体缺少工具调用标识时返回其自身的说明；回复里出现过工具调用又被预算截断时，发给宿主的是「被截断」。\n- 新增 `tools/import-signins.cjs`：把其他工具的账号文件按本插件识别的形状写入 `signins/`，默认跳过已有账号，`--dry-run` 预览，`--force` 覆盖。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "3eb96727e502c5ae7fc12d418a54c3544fff3e7df95ae2668b523c036287f8ea",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.51.piplug",
          "sizeBytes": 1023879,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.0.51",
            "sourceCommit": "f552284c0ab765747dc99163d9a2138f53716da7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T10:06:10Z"
          }
        },
        {
          "version": "1.0.41",
          "publishedAt": "2026-10-18T11:52:05Z",
          "changelog": "关于我的包打错了，无法删除发布版本这件事...",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "8ec0b5c11dd00da0b8b643ae53ed782bccef69baeba4dcece3592425a789e5d9",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.41.piplug",
          "sizeBytes": 863492,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.0.41",
            "sourceCommit": "45b97b7862c504def719f2efc94780ee5cad083b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T11:51:35Z"
          }
        },
        {
          "version": "1.0.4",
          "publishedAt": "2026-10-18T08:15:04Z",
          "changelog": "- Trae、Qoder 的流式回复改为单循环推送：宿主不再反复回调读取，回复不会中途停住；网关先发出响应头，再从桥接流直接泵出，不再读 `Response` 的 body，也不再经过 `Readable.fromWeb`。\n- Qoder 在结束帧后最多等 1 秒：没有后续帧就补上 `[DONE]` 并关闭，用量帧到达则立即收尾，回复写完不再一直显示未完成（上一版的一秒宽限只取消了上游读取，没有关闭转发流）。\n- WorkBuddy 网关同样先发出响应头；其余行为不变。\n- 面板的签到汇总按三家合计显示领取账号数，不再只算 WorkBuddy。\n- 网关拒绝跨站请求（`Sec-Fetch-Site: cross-site`），本机客户端不受影响。\n- 面板的签到日志持续轮询到结束，模型勾选与自动签到时间的未保存草稿不再被轮询覆盖，日志不再强制滚到底部，账号名单读取失败后可以重试。\n- 客户端提前断开时桥接流一并取消，泵送不再向已关闭的响应写入，释放读锁不再抛出。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "f9a40cd50dc912ebfd7f04338ca25e18d3adf5760d8f3e03d181438743b39098",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.4.piplug",
          "sizeBytes": 865938,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.0.4",
            "sourceCommit": "6d93181d309eaaf9179dd7ae99ebf2f529c2b9de",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T08:14:35Z"
          }
        },
        {
          "version": "1.0.3",
          "publishedAt": "2026-10-17T11:38:13Z",
          "changelog": "- WorkBuddy 国际版补齐会话头族与版本 UA，不再被渠道校验回 400 / 11128；不带会话标记的 401（含网关返回的 HTML 拒绝页）按登录失效分类并换号。\n- WorkBuddy 拿不到本机密钥、或刷新令牌过期但访问令牌仍有效时账号不再从账号池消失；刷新到的新令牌不再被下一次扫描换回磁盘上的旧值，余额重新读到积分时释放扣留。\n- 额度用尽与登录失效退出轮换，直到余额重新读到或重新登录；400 / 422 提到额度、429 响应体里的额度文案都不再被读成余额耗尽。\n- 上游主机不可达（DNS、连接重置、TLS、30x 重定向）时换下一个登录重试，不再直接给客户端 502；调用方挂断（含首字节前的 peek 阶段）不算上游故障，不冷却健康账号。\n- 上游只在 `Retry-After` 响应头给出等待时按它冷却并透传给客户端（截到两小时）；响应头超时只覆盖等响应头，流中途的静默交给空闲看门狗。\n- 调用方挂断后上游请求真正被拆掉，错误响应体在挂断或超限时立即取消；WorkBuddy 流中途失败改为发出带内错误帧、终止帧与 `[DONE]`。\n- 超过 64 MiB 的请求体先排空再关闭并回 413；peek 期间连接中断不再绕过故障转移。\n- Trae、Qoder 的第一个登录不可用时自动换下一个，模型目录也换号读，不再整个网关答 503；Trae 的登录拒绝与流内拒绝（订阅门槛、队列帧等）按真实状态码应答。\n- Qoder 的失败帧（空 choices、字符串 `error`/`details`、`errcode` 拼写、嵌套确认码）都按真实编码换号或冷却。\n- Qoder 的一轮在结束帧后即向客户端收尾，只留一秒等尾随的用量帧，不再等上游关闭连接。\n- Trae 的每个存储文件只在第一个认领它的版本下探一次；一台安装登录多个账号时明确报告设备号是回退值。\n- Qoder 发布目录给出的最大上下文窗口，不再在 200K 处截断；数字时间戳的到期时间不再被当成永不过期。\n- Trae、Qoder 的登录发现按 30 秒缓存，Qoder 不再每个请求 spawn PowerShell 解密钥；目录读取失败进入 30 秒退避。\n- Trae 与 Qoder 的 SSE 解码支持单独 CR 行分隔与 64 MiB 单行上限，`data:` 数组不再一直涨；中继按客户端消费速度读上游，慢客户端不再把整份回复缓存在网关里。\n- 模型名册只有真读到的那份才算数：读取超时留下的兜底列表不再被拿来判定「已下线」；进入面板会自动重新拉一次名册，读取失败或账号扫描尚未完成时按 15 秒重试，保存的模型选择因此能正确生效，不再每次启动都显示全部、也不再挂着提示。\n- 模型页保存的思考等级与上游声明的 `defaultEffort` 都生效，不再显示「高级」却发布兜底等级。\n- 设置文档与面板保存共用同一组边界（积分保底、模型 id 长度、覆写表大小、token 预算、模型 id 条数）；`enabledModelIds: []` 对 Trae 与 Qoder 也禁用全部模型；只由标点组成的别名不再把模型移除；旧版 `imageModelIds` 与 `contextBudgets` 折进模型覆写。\n- provider 行只在网关预热时保留，插件被停用时清空遗留的 provider 行；网关启动失败不再被当成「还在预热」，模型组摘掉、连接检查报出原因。\n- 账号池刷新：强制刷新不再放行式交接；`authFile` 改指后补一次扫描且旧目录不写回；宿主设置变更只在来源开关时重置缓存；全部冷却时面板继续轮询，停用账号退出探测；某个 region 启动失败只记警告并继续。\n- 面板与命令：`/invoke` 等待期间关闭面板不再让插件子进程死亡；补上内容安全策略、框架祖先限制与 `nosniff`；输入框积分浮层在功能关闭后停止轮询并区分两种未知；两条命令同时运行时各自汇报自己的结果；被其他操作清掉的顶部警告会重新出现，放弃轮询时「检测中」会收尾。\n- 签到与领取：Trae 签到响应缺省 `enable` 时不再被当成未开通；Qoder 的领取读完整响应体（不再按错误体的 300 字节截断），带 `grantId`／金额的已发放响应不再被报成「跳过」，200 里的业务错误码按失败上报并带上游原话；拒绝里带「already」不再算当天已领，连登奖励不再空转，重启不重跑整天、时段落盘保留三天，停启后各类签到重新起跑，报告不再出现空行；Qoder claim 未到账时不再携带 `amount`；Trae 返回 9074 时在失败原因里说明设备号来源。\n- 签到一次只跑一轮：单账号签到与整批签到互斥，面板的整批签到也记下当次时段，定时任务不再一分钟后再跑一遍；旅行的失败进入计数；Qoder 活动列表读取失败与「该账号无签到活动」分开显示；面板不再把签到失败显示成「今天都已签到」，失败会带原因说出来。\n- 上游响应体无论是否为 JSON 都先脱敏再转给客户端；手写签到时段里的空值不再被当成 00:00。\n- PI 桌面端宿主：加载期间的面板调用不再撞上未初始化的账号池；偏好账号的清除进入写队列，不再覆盖同时进行的设置写入。\n- 连接检查自身抛错会写进报告，超时后的回退读取受剩余预算约束；at-rest 的可执行文件候选只收文件，注册表扫描结果按进程缓存。\n- 面板与声明：声明的变更比对按键序归一化并缓存 `manifest.json`，页脚在第一次写入之前不再显示「已更新」；积分弹层的账号包列表截到 8 条，不再触发宿主的 64 KB 应答上限；加载过程在 await 之间复查服务是否已停止。\n- 服务启动即扫描 WorkBuddy 账号，首个对话不再等待完整的密钥获取，扫描在并发请求间共享一次。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "6b4bd45cc5221c09bc1bc0cd8b2c5a6bbaabb3a6906db8fdc27af6d98d5f3d6a",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.3.piplug",
          "sizeBytes": 853701,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "1.0.2",
          "publishedAt": "2026-10-14T11:51:12Z",
          "changelog": "## [1.0.2]\n\n- 输入框积分弹层的「刷新」不再连累整个弹层：该调用原先按面板的 20 秒预算执行，超过宿主中继 `plugin.call` 的 2 秒上限即返回 `PLUGIN_CALL_TIMEOUT`，连续 5 次还会触发 30 秒熔断，弹层里所有按钮一起失效。现在按中继上限留出余量作答，未完成的探测仍在后台写入缓存，下一次轮询即可读到。\n- 模型设置里越界的 token 预算不再丢掉整批改动：字段自带与后端一致的上限，超限值在保存前被挡下，不再等到整份选择载荷被拒收后只报一句 `invalid selection payload`。\n- 标题栏警告随问题消失而清除：地址漂移、声明失败、选择过期都不再一次显示后永久停留。\n- 面板重建后的焦点按 id、位置、标签逐级找回，账号 id 含 CSS 特殊字符时不再抛错而中断重绘。\n- 签到开关在小时框留有无效文本时仍可关闭；签到结束后重新拉取日志，手动签到结果即时可见。\n- 首选端口被占用时改用系统分配的临时端口，面板与连接检查报出实际地址，与清单声明不一致时提示重新加载。\n- 账号卡与设置卡维持单列堆叠，间距收紧，多数窗口不必滚动即可看全；签到日志框限高可滚动，新结果自动滚到可见处。\n- 输入框积分弹层宽度随内容变化并对齐触发器右侧，高度上限连内边距一起计算；账号名过长时在列内截断并保留悬停提示。\n- 面板右下角入口由 npm 改为插件市场；选中账号那一行的压暗程度与圆点颜色写进插件自己的样式，不再取自宿主。\n- 文档与清单按实现修正：端口并非固定，出网边界写明请求由插件进程直接发出（宿主未做操作系统级沙箱，`manifest.net.domains` 只约束 `pi.net.fetch`），`safetyNotes` 的 WorkBuddy 主机名补齐 `www` 前缀。\n\n## [1.0.1]\n\n- 面板打开时插件进程尚未加载完成的短暂窗口不再让面板停在报错状态：首读按有界间隔重试，仍失败才显示错误。\n- 「重新检测账号」与加载期把账号扫描和网关启动一并纳入既定预算：磁盘或上游异常缓慢时按时应答，未完成的部分由后台刷新补齐；重新检测会去掉登录文件已经不在的 WorkBuddy 账号，目录暂时读不到时保留原账号和冷却。\n- 网关拒绝凭据的报错指引改为指向命令面板的「WTQ Pool: Run Connection Check」与面板连接检查页。\n- WorkBuddy、Trae、Qoder 收到上游终止标记即完成响应，不再等待 TCP 连接关闭；覆盖空终止回复、跨分块标记和 Trae 终止事件中的正文，加载期取消的请求也不再继续创建上游请求。\n- 上游开始输出后才失败时，流不再裸断开：改为发出带内错误帧、终止帧与 `[DONE]`，客户端能正常收尾；用户取消或客户端断开导致的连接中断不再记为上游流失败。\n- 上游回显的凭据不再原样出现在错误信息里，JSON 字段形式与 `Cosy-Key`、`X-Cloudide-Token`、`X-Ide-Token` 这类厂商写法一并覆盖，带内错误帧同样脱敏。\n- Trae 拒绝回包中途断开时保留上游真实状态码，429 保留软限流分类；Qoder 登录过期帧不再被嵌套对象覆盖，每日限额的等待时长在消息内携带时也能读到。\n- 修复国内 Trae、Qoder 的有效登录被误判为已过期，账号池因此为空、对应网关不可用的问题；没有过期时间的登录不再被当成已过期。\n- 输入框首次读取 WorkBuddy 积分时自动触发后台探测；冷启动和换号后的未知余额按 5 秒重读，余额就绪后恢复低频刷新；刷新积分时如果中途换了模型，按钮不会一直停在「正在刷新」。\n- 手动「立即运行」和命令面板签到记入当前已到点的时段，不再误占最早的那个；Qoder 当日轮次在签到时点之后才开出时，定时任务会在开出时刻回来补收。\n- Trae、Qoder 轮流使用只在对话请求上换号，刷新模型列表和健康检查不再拨动游标；首选来源账号改名后，轮询与到期排序不再因旧标签永久停用；连登奖励只兑换已解锁的档位，签到程序关闭时不再被计为已领取。\n- 输入框积分框切换账号时会报告结果：切到当前不能服务的账号时说明选择已保存、恢复后自动生效；刷新后账号已被停用则明确报无法切换，而不是假装已切过去。\n- 宿主设置读取失败时保留上一次读到的设置，不再清空停用账号、移除记录、积分保底和模型勾选；后台刷新期间落库的改动也不会被刷新结果覆盖。\n- 模型 id 为 `__proto__` 时按普通 id 保存与读回；无法由任何保存产生的旧版上下文预算被拒绝；存储中的到期时间异常或令牌刷新返回异常时长时按默认有效期记录，面板照常打开。\n- peek 中途出错会释放上游 reader，刷新超时的网关会主动关闭，不再占着端口不放。\n- 面板与预览页的配色统一为同一组低饱和色相，四个语义色在暗色与亮色下协调一致，亮色下警告色与输入框积分圆点的对比度、模型页选中项的悬停配色一并修正；在线预览页与文档截图默认亮色，暗色另出一张对照。\n- 显示名、包名与仓库名统一为 **WTQ Pool** / `pi-desktop-wtq-pool`（WorkBuddy / Trae / Qoder 三个来源的首字母），插件卡片、模型选择器、面板标题与命令标题一致；命令 id 不变，首次启动自动接管旧标识下的设置。\n- Trae 模型目录自带的倍率传到面板，模型行显示 `x0.79` 这样的费率标签，模型选择器里的名称带上同一后缀，未给出费率的模型保持不标注；面板右下角的入口收成一排 GitHub、npm、文档与许可四个链接，标签跟随界面语言。\n- 中英文文档明确 WorkBuddy 故障转移、Trae/Qoder 分发限制和本地安装方式；领取任务奖励会访问 `www.workbuddy.cn`，已写入安全说明。\n\n## [1.0.0]\n\n首个版本。把本机 WorkBuddy、Trae、Qoder 三家的桌面登录接进 PI-Desktop：每家成为一个 OpenAI 兼容的本地端点，模型选择器里直接可用。\n\n- 三家各有开关，国内与国际各自成组。端点只听 `127.0.0.1`，端口固定：WorkBuddy 41831 / 41841，Trae 41851 / 41861，Qoder 41871 / 41881。\n- WorkBuddy 支持优先使用、轮询、临期积分优先和会话固定；Trae、Qoder 支持轮询与临期积分优先。可停用、移除账号或设置区域首选账号。\n- WorkBuddy 被限流时自动换号，冷却按模型粒度执行：一个模型受限，同一账号的其他模型照常可用。5.6 起的 `$wbEncrypted` 登录向本机已安装的 WorkBuddy 要密钥再读，密钥只留在内存。\n- Trae 与 Qoder 读各自桌面 App 的登录，按区域与目录路由模型。Trae 国内版有 Trae CN 与 TRAE SOLO CN 两个登录位；Qoder 每个安装只保存一个登录，在 App 里重新登录会覆盖前一个。\n- 面板按来源分页，包含账号与积分、模型与发布、连接检查。模型可改显示名、上下文窗口、输出上限、贴图和思考等级，一个模型组最多发布 64 个。\n- 自动签到默认关闭，开启后默认于 09:00（北京时间）执行，错过时段将在下次启动补领，并顺带执行猫猫旅行。Qoder 新轮次于 10:00 开放。\n- 会话积分展开框带刷新按钮，重读当前模型这一组账号的积分。自动签到和「立即运行」同时领取 WorkBuddy 国内账号的连登奖励和已完成的任务奖励。\n- 输入框工具栏可显示当前账号积分（默认关），点开即可换号。\n- 令牌只在插件进程内使用，并只发往各家自己的接口。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "8b8909b6fc66b04467b1881a49a91a1d66f1045476a5201ac2169802dc9bec5c",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.2.piplug",
          "sizeBytes": 727207,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "refs/tags/v1.0.2",
            "sourceCommit": "d7a298e222b8d486dbf1f4d27369673e0df2b018",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-14T11:50:44Z"
          }
        },
        {
          "version": "1.0.1",
          "publishedAt": "2026-10-13T13:19:39Z",
          "changelog": "把本机 WorkBuddy、Trae、Qoder 的桌面登录接进 PI-Desktop：每家一个 OpenAI 兼容的本地端点，账号池、自动换号与设置面板。\n\n三家各有开关，国内与国际各自成组。WorkBuddy 被限流或额度用尽时自动换号，冷却按模型粒度执行；Trae、Qoder 按请求选择账号。\n\n安装：PI-Desktop → 插件 → 安装本地插件，选择下载的 `.piplug`。完整改动见 CHANGELOG。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "9d457989560c16eb39cee24e4d7a7e0a683ccd6d4ee92982df0db10053563cab",
          "url": "packages/io.github.chengzhi-c.pi-desktop-wtq-pool-1.0.1.piplug",
          "sizeBytes": 1856510,
          "permissions": [
            "background.service",
            "clipboard.write",
            "provider.register",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/chengzhi-c/pi-desktop-wtq-pool",
            "sourceRef": "v1.0.1",
            "sourceCommit": "716891c9b1007179da0551aceadb1a97ebc73bdb",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-13T13:19:03Z"
          }
        }
      ]
    },
    {
      "id": "icedly.moyu-games",
      "name": "摸鱼小游戏",
      "description": "右侧工作面板里的休闲小游戏合集：扫雷、2048、纸牌接龙、俄罗斯方块、贪吃蛇。纯本地运行，不访问网络与文件系统；每个游戏各自记住最高分、设置与累计时长，跨会话保留。",
      "author": "cjly90",
      "i18n": {
        "en": {
          "name": "Time-Killer Games",
          "description": "A local mini-game collection for the right work panel: Minesweeper, 2048, Klondike Solitaire, Tetris and Snake. Runs fully offline with no file or network access; each game keeps its own best score, settings and total play time across sessions.",
          "safetyNotes": "Everything runs on your own machine. The plugin makes no network requests and reads no files outside its own data directory, and it asks for a single permission: a view in the right panel. Best scores and play time are stored locally in the plugin data directory and never leave the machine."
        },
        "zh-CN": {
          "name": "摸鱼小游戏",
          "description": "右侧工作面板里的休闲小游戏合集：扫雷、2048、纸牌接龙、俄罗斯方块、贪吃蛇。纯本地运行，不访问网络与文件系统；每个游戏各自记住最高分、设置与累计时长，跨会话保留。",
          "safetyNotes": "全部在本机运行：不发任何网络请求，也不读取自己数据目录以外的文件；只申请一个权限，即右侧工作面板里的一个视图。最高分与累计时长存在插件自己的数据目录里，不会离开本机。"
        }
      },
      "categories": [
        "fun"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "icedly",
      "downloads": 253,
      "homepage": "https://github.com/CJLY-0915/pi-timer-killer-games",
      "readmeMarkdown": "# 摸鱼小游戏\n\n工作面板里的五款经典小游戏，外加一台记录你今天摸了多久的打卡机。\n\n扫雷、2048、纸牌接龙、俄罗斯方块、贪吃蛇。没有开屏动画，没有联网排行榜，没有「登录后可同步」——点开就玩，关掉就走，最高分会自己留着。\n\n插件 ID：`icedly.moyu-games` · 需要 PI-Desktop `\u003e= 0.15.0`。只申请一个视图权限，不联网、不读自己数据目录以外的文件；记录只留在本机。\n\n## 提供什么\n\n- **游戏库首页** — 顶上是一台翻页时钟，读数是今天摸鱼的总分钟数；下面每行一张「打卡」战绩，写着各游戏的最高分或胜负。没开局的行标着「未开局」。上次玩到哪，首页会给你一个「接着摸」的入口。\n- **扫雷** — 初级 / 中级 / 高级三档。第一下永远安全（布雷时避开你点的那格和它的八邻域），左键展开、右键循环 插旗 → 问号 → 空，数字格上中键或双击可以快开一片。\n- **2048** — 标准 4×4 规则，滑动合并。支持撤销一步；合出 2048 会停下来问你继不继续。\n- **纸牌接龙** — 经典 Klondike，七列收齐四门花色。可以一次翻 1 张或 3 张；牌局末尾剩牌全部翻开且牌堆清空时，会出现「自动完成」一键收尾。\n- **俄罗斯方块** — 10×20，7-bag 随机、SRS 旋转与墙踢、幽灵落点、暂存位、锁定延迟。消行升级、四连消分数更高。\n- **贪吃蛇** — 15×15，悠闲 / 正常 / 竞速三档。吃得越多蛇走得越快，触屏可以直接在棋盘上滑动转向。\n\n难度、翻牌张数、速度档位这些选择都会被记住，下次进来还是你上次的设定。\n\n## 操作方式\n\n| 游戏 | 键盘 | 鼠标 / 触屏 |\n| --- | --- | --- |\n| 扫雷 | `F` 给焦点格插旗 | 左键展开；右键循环 插旗 → 问号 → 空；数字格上中键或双击快开；触屏长按插旗 |\n| 2048 | 方向键 / WASD | 棋盘上滑动；可撤销一步 |\n| 纸牌接龙 | — | 点选再点目标，或直接拖拽；双击把牌自动送进回收堆 |\n| 俄罗斯方块 | ← → 移动、↓ 软降、空格硬降、↑ 旋转、C/Shift 暂存、P/Esc 暂停 | 屏幕按钮 |\n| 贪吃蛇 | 方向键 / WASD，空格暂停或重开 | 棋盘上滑动，或点下方方向键 |\n\n面板顶部有「重开」，随时换一局；左上角的返回箭头回到游戏库。\n\n## 安装\n\n- **插件中心**：PI-Desktop → 插件 → 插件中心 → 摸鱼小游戏\n- **开发**：插件 → 加载开发插件 → 选本仓库根目录。改动 `views/` 会热重载；只有加宽权限才需要重新加载一次。\n\n装好后，右侧工作面板的视图切换里会出现「摸鱼小游戏」。\n\n## 界面\n\n方向是办公室的「考勤表 + 打卡机」，不是圆角卡片墙：规则线承担分栏，圆角收紧，两个强调色分工明确——荧光笔用来标交互，印泥红用来标纪录和失败。\n\n- 亮色叫「考勤表」：冷灰绿的再生纸底色，墨蓝正文，印泥绿的强调色。暗色叫「夜班」：灯光下的一页纸，暖白正文，薄荷强调色。\n- 跟随宿主的亮暗主题切换，即时生效。\n- 唯一会自己动的元素就是那台翻页时钟；其余动效只在操作或状态变化时出现，静止时画面完全不动。\n- 尊重系统的「减少动态效果」设置。\n\n## 隐私\n\n| 存什么 | 用在哪 |\n| --- | --- |\n| 每个游戏的最高分、胜负局数、累计局数 | 首页打卡行与各游戏内的「最高」 |\n| 难度、翻牌张数、速度档位等选择 | 下次进来沿用 |\n| 每天的游玩毫秒数 | 首页翻页时钟的「今日已摸」 |\n\n这些只写进插件自己的数据目录，不离开本机。首页只统计最近 31 天，超出的天数会在写入时自动丢弃。\n\n申请权限只有 `ui.view` 一个。插件不发任何网络请求，不读取自己数据目录以外的文件，也不申请文件系统、剪贴板或后台服务权限。想清空记录，删掉插件数据目录里的设置文件即可。\n\n## 注意事项\n\n- 纸牌接龙在很窄的面板里七列会偏挤：牌宽按容器宽度自适应（最小 34px），列内重叠间距同步压缩，不会出现横向滚动。\n- 扫雷「高级」是 30 列。窄面板下棋盘内部会横向滚动（单元格不小于 16px），页面本身不会横向溢出。\n- 首页战绩串较长时（例如接龙「99 胜 · 最快 12:34」），副标题会折成两行、行高变高——信息不丢，只是排版让位。\n- 贪吃蛇与俄罗斯方块用 `canvas` 绘制，缩放时按 `devicePixelRatio` 重设尺寸；换主题会即时重绘。\n- 没有音效，也没有联网排行榜——按设计如此。\n\n## 开发\n\n宿主约束、文件结构、游戏模块契约、持久化形状和验证方式，见仓库里的 `docs/DEVELOPMENT.md`。\n",
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-09-29T06:57:52Z",
          "changelog": "## 0.5.0\n\n新增局域网炸金花，并把联机部分拆成「传输层 + 规则层」。\n\n**新游戏**\n\n- 🃏 **局域网炸金花**：2-5 人一张牌桌，每人三张牌比大小（豹子 \u003e 顺金 \u003e 金花 \u003e 顺子 \u003e 对子 \u003e 散牌），A23 是最小的顺子，**235 三张不同花色能吃豹子**（同花的 235 只是金花）。闷牌每次只出明牌的一半，看牌之后出全价；比牌要先看牌，而且照样付一次跟注。房主开桌时定底注、单注封顶与起始筹码，中途不能改。局中加入的人下一局才发牌；房主离开界面或关掉面板就散桌。\n- 闷牌是实打实的暗牌：没点「看牌」之前连自己那三张也不下发到界面，不是前端藏起来。\n\n**改动**\n\n- 联机代码分层：`lan.js` 只负责房间发现、连接与消息收发，规则各自待在 `lan-gomoku.js` / `lan-zhajinhua.js`，两个玩法共用同一套传输与房间列表。\n- 房间列表按玩法过滤：五子棋只看到五子棋的房间，炸金花的列表带出那桌的底注与封顶。\n- 面板外壳与游戏模块补上联机入口所需的挂载点。\n\n**其它**\n\n- 权限没有任何变化，仍然只申请 `ui.view`。联机走插件主进程里的 `node:net` / `node:dgram`，只在开房或加入房间期间存在，不用就一直不占端口；不访问互联网，也没有服务器。\n- 单机玩法仍为纯本地运行，不发网络请求、不读自己数据目录以外的文件。最高分、战绩与累计时长照旧存在插件数据目录，跨会话保留。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "de444524454fd447b06cc447f97077b383a0d3a48a1d8baa9ba85f193c3b59f2",
          "url": "packages/icedly.moyu-games-0.5.0.piplug",
          "sizeBytes": 439264,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-timer-killer-games",
            "sourceRef": "v0.5.0",
            "sourceCommit": "a1904204d29f6e3b1c36c218e5f28c9d098a6b33",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-29T02:20:34Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-28T05:01:57Z",
          "changelog": "## 0.3.0\n\n新增三款游戏，并把工位模拟器的数值曲线重新配平。\n\n**新游戏**\n\n- 🧑‍💻 **工位模拟器**：关掉面板也自己在转的挂机游戏。离线最长 4 小时按 40% 效率结算，八件装备按阶梯价长大，从实习生做到摸鱼合伙人要按小时算。\n- 🧩 **数独**：四档难度随手一局，宽度窄到 320px 也能一屏放下；中途被打断不会丢进度，跨会话接着下。\n- 🃏 **24 点**：点两张牌加一个运算符，除法用有理数精确计算，不会因为浮点误差把能解的牌误判成死局；提示可撤销并退还次数。\n\n**修复**\n\n- 修复宿主在面板加载之后才注入游戏脚本时，打开插件只剩一个空面板的问题。\n- 修复工位模拟器大数字末位 0 被吞掉：`420 万` 曾显示成 `42 万`，`1000 万` 曾显示成 `1 万`。\n- 修复数独在窄面板下棋盘溢出、以及恢复存档后偶发丢一步的问题。\n- 修复 24 点「提示」按钮会直接抛错、以及部分牌局被误判为死局的问题。\n\n**其它**\n\n- 三款新游戏都沿用同一套：零依赖、零构建、纯本地运行，不发网络请求、不读自己数据目录以外的文件。\n- 暗色主题下补齐了数独与 24 点的小字对比度，294 项对比度与溢出检查全部通过。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "a43ba7bd7f0ac6787953427ecabba3464a34be691fb70f7541e69072729ff9f0",
          "url": "packages/icedly.moyu-games-0.3.0.piplug",
          "sizeBytes": 261939,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-timer-killer-games",
            "sourceRef": "v0.3.0",
            "sourceCommit": "9a94270dd6b4d64e4d8d7d61cb4eeb9ae5b90bb4",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T05:01:39Z"
          }
        },
        {
          "version": "0.1.3",
          "publishedAt": "2026-09-24T16:17:44Z",
          "changelog": "修掉 2048 的方块入场：新方块以前先在棋盘左上角出现，动画结束才瞬移进格子。原因是弹出动画（`.mg-pop`）写在了 `transform` 上，动画期间 `transform` 被整段替换，方块定位也一起被顶掉；现在定位只走独立的 `translate`、弹出只用独立的 `scale`，两者都不碰 `transform`，新方块从第一帧起就在自己的格子里原地放大，滑动过渡不受影响。顺带删掉一处无人引用、值已过期的 `MOYU.version`。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "a44bfeef63c5cd3457b613b069a0e9beaf88310aa0584e90893b7ed8ca03a66f",
          "url": "packages/icedly.moyu-games-0.1.3.piplug",
          "sizeBytes": 170402,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-timer-killer-games",
            "sourceRef": "73dc45f45a3c25b5ec13545a58ae4049b2f5d977",
            "sourceCommit": "73dc45f45a3c25b5ec13545a58ae4049b2f5d977",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T14:31:32Z"
          }
        },
        {
          "version": "0.1.2",
          "publishedAt": "2026-09-24T10:46:47Z",
          "changelog": "重写 README：安装步骤提前，补上权限与隐私表格，去掉开发向细节（挪到仓库 `docs/DEVELOPMENT.md`）。游戏代码与权限没有任何改动。（0.1.1 因上传不完整被本版取代。）",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "4bdc82daa118633036307404cb48f60cd93830d042e37d2ae7b5b2dfcbc4121a",
          "url": "packages/icedly.moyu-games-0.1.2.piplug",
          "sizeBytes": 169646,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-timer-killer-games",
            "sourceRef": "v0.1.2",
            "sourceCommit": "8e5065175044ea6fc193579923bd6fbcfa404950",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T10:46:31Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-24T10:00:55Z",
          "changelog": "首个版本。\n\n- 一个右侧面板视图装下五款游戏：扫雷、2048、纸牌接龙、俄罗斯方块、贪吃蛇。\n- 面板以 `file://` 加载且 CSP 严格，因此全部是经典脚本 + 全局 `MOYU` 命名空间：零依赖、零构建步骤、不引外链资源。\n- 每款游戏是一个自包含模块（`mount(root, ctx)`）；通过 `ctx` 申请的定时器与监听在离开游戏时统一释放，不会留在后台空转。\n- 战绩经插件进程持久化（`games.prefs.*` 通道），桥不可用时自动回退 `localStorage`。\n- 视觉方向为办公室考勤表：翻页时钟显示今日累计时长，下面每行是一张「打卡」战绩；这是面板里唯一会自己动的元素。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "c0c9c77fb54b519894508620b9140262837dad3769a6f9e9d4aaec9a35425841",
          "url": "packages/icedly.moyu-games-0.1.0.piplug",
          "sizeBytes": 169501,
          "permissions": [
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-timer-killer-games",
            "sourceRef": "v0.1.0",
            "sourceCommit": "49e9e0bcf0979a3d639b47da235df372049dc263",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T10:00:37Z"
          }
        }
      ]
    },
    {
      "id": "cn.star.jianying-assistant",
      "name": "Jianying Assistant",
      "description": "用自然语言描述需求，即可完成视频截取、拼接、变速、配乐和字幕添加，生成可在剪映中继续编辑的草稿。",
      "author": "TheFalreStar",
      "i18n": {
        "en": {
          "name": "Jianying Assistant",
          "description": "Describe a video edit in natural language to trim, join, change speed, add music or subtitles, and create a draft you can continue editing in Jianying."
        },
        "zh-CN": {
          "name": "剪映助手",
          "description": "用自然语言描述需求，即可完成视频截取、拼接、变速、配乐和字幕添加，生成可在剪映中继续编辑的草稿。"
        }
      },
      "categories": [
        "media-creative"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cn",
      "downloads": 304,
      "readmeMarkdown": "让 PI-Desktop 把你的剪辑要求转成可编辑的剪映工程。提供本地素材路径，说明片段顺序、截取时间、播放速度、配乐和文字内容，AI 就能调用插件检查素材、校验时间轴并生成草稿。\r\n\r\n**主要功能**\r\n- **视频剪辑**：按时间截取、顺序拼接、调整速度和音量。\r\n- **配乐与字幕**：添加背景音频和文字字幕，设置出现时间、字号及颜色。\r\n- **环境检测**：检测 Python 和剪映，确认后安装工作区隔离依赖。\r\n- **安全导入**：导入前备份，只新增工程，不覆盖已有草稿。\r\n- **本地处理**：素材不上传，生成的工程可在剪映中继续调整。\r\n\r\n已在剪映专业版 **11.5** 实测完成草稿生成、导入和播放，并配合 Computer Use 导出 **1080P / 30fps MP4**。\r\n\r\n插件本身不内置一键 MP4 导出，也不提供语音自动转字幕、转场或滤镜编辑。导出需在剪映中完成，或由 Computer Use 操作。",
      "versions": [
        {
          "version": "0.1.1",
          "publishedAt": "2026-09-22T09:16:02Z",
          "changelog": "- 首发",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "87c66d14bddf1f6c17b0478dae0830d2465e1c1b6347c0d430adca11c7cd653e",
          "url": "packages/cn.star.jianying-assistant-0.1.1.piplug",
          "sizeBytes": 206614,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "axc00.project-knowledge",
      "name": "Project Knowledge",
      "description": "A per-project knowledge base for PI-Desktop. Relevant knowhow and specs are attached to each message automatically, the Agent can search and load entries, and new lessons are saved only after you confirm them on an in-chat card. Optional Jev dedup, off by default.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Project Knowledge",
          "description": "A per-project knowledge base for PI-Desktop. Relevant knowhow and specs are attached to each message automatically, the Agent can search and load entries, and new lessons are saved only after you confirm them on an in-chat card. Optional Jev dedup, off by default."
        },
        "zh-CN": {
          "name": "项目知识库",
          "description": "按项目保存的知识库：每条消息自动附上相关的经验和规则，Agent 可以检索和读取条目；新经验只有在你于聊天卡片中确认后才会保存。可选 Jev 去重，默认关闭。"
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "axc00",
      "downloads": 636,
      "versions": [
        {
          "version": "0.3.3",
          "publishedAt": "2026-10-03T17:39:41Z",
          "changelog": "安全加固（在 0.3.2 基础上的自查修复，替换待审的 0.3.2）\n\n- **拒绝硬链接**：`.workflow` 下指向项目外文件的硬链接此前能被读出并附加到模型请求（符号链接的防护对硬链接无效）。现在只读取单链接的普通文件。\n- **拒绝 FIFO 等特殊文件**：打开文件时带 `O_NONBLOCK`，不会因 FIFO 卡住对话。\n- **读取上限**：单个知识文件最大 256KB，单次检索最多 2000 个文件，超出的跳过。\n- **提示注入防护**：自动附加的块、`load` 结果和系统提示都说明条目是\"项目数据而非指令\"；附加时 ID、标题、摘要分别截断到 80/120/120 字符。\n- **移除 `fs.delete` 权限**：面板处理过的暂存建议改为标记已处理，不再删除。\n- 新增硬链接、FIFO、超大文件、截断与文件数上限的测试（tests/project-knowledge/symlink.test.js、core.test.js），README 与安全说明同步更新。",
          "minPiDesktop": "\u003e=0.15.9",
          "shasum": "a2ac8bcdd98e3ec5c6c779816af986d28a9e684c8506cc0f3f1ce7947b9b86b7",
          "url": "packages/axc00.project-knowledge-0.3.3.piplug",
          "sizeBytes": 107805,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.fetch",
            "ui.panel"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".workflow/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".workflow/knowhow/**",
                ".workflow/knowledge-inbox/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/AXC00/pi-desktop-plugins-skills",
            "sourceRef": "project-knowledge-v0.3.3",
            "sourceCommit": "7974cc4bd661a9734cb1b02cae0a66adfc6637e8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-30T05:48:54Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-10-02T16:34:31Z"
          }
        }
      ]
    },
    {
      "id": "pi.web-access",
      "name": "Web Access",
      "description": "Web search, page and image fetching, stored-content retrieval, source checks, page answers, field extraction, and authenticated fetches for the agent, ported from the pi-web-access extension.",
      "author": "PI-Desktop port of nicobailon/pi-web-access",
      "i18n": {
        "en": {
          "name": "Web Access",
          "description": "Web search, page and image fetching, stored-content retrieval, source checks, page answers, field extraction, and authenticated fetches for the agent, ported from the pi-web-access extension.",
          "safetyNotes": "Runs the upstream pi-web-access modules unchanged inside the plugin process and calls the open web on the agent's behalf. net.anyHost is declared because a web-access tool must reach whatever host a search provider or a user-supplied URL resolves to. agent.prompt.inject ships one skill that tells the model how to use the tools; it is instructions, not code. agent.complete spends your model quota for fetch_content mode answer, only when you ask for that mode. keyboard.globalShortcut binds Ctrl/Cmd+Shift+Y to open this plugin's own panel command. shell.openExternal opens a stored result link you click. Provider credentials are written only to this plugin's private data directory and never logged. No telemetry."
        },
        "zh-CN": {
          "name": "联网访问",
          "description": "把 pi-web-access 扩展的联网搜索、网页与图片抓取、结果检索、来源核查、页面问答、字段提取与带登录态抓取能力搬给 Agent。",
          "safetyNotes": "在插件进程内运行未改动的上游 pi-web-access 模块，并代表 Agent 访问公网。声明 net.anyHost 是因为联网工具必须能访问搜索供应商或用户给出 URL 所在的任意主机。agent.prompt.inject 只提供一份说明如何选用工具的技能文档，是指令不是代码。agent.complete 会在你主动使用 fetch_content 的 answer 模式时消耗你的模型额度。keyboard.globalShortcut 把 Ctrl/Cmd+Shift+Y 绑定到本插件自己的面板命令。shell.openExternal 用于打开你点击的已存结果链接。供应商密钥只写入本插件私有数据目录，从不写日志。无遥测。"
        }
      },
      "categories": [
        "search-web"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 492,
      "homepage": "https://github.com/nicobailon/pi-web-access",
      "readmeMarkdown": "# Web Access for PI-Desktop\n\n\u003e 把 [`nicobailon/pi-web-access`](https://github.com/nicobailon/pi-web-access) 的联网搜索、网页与图片抓取、结果检索、来源核查、页面问答与字段抽取搬进 PI-Desktop。上游源码逐字节复用，只替换 pi 专属外壳。\n\n\u003cp align=\"left\"\u003e\n  \u003cimg alt=\"PI-Desktop\" src=\"https://img.shields.io/badge/PI--Desktop-%E2%89%A50.20.1-0485f7\" /\u003e\n  \u003cimg alt=\"upstream\" src=\"https://img.shields.io/badge/upstream-v0.47.0-6f42c1\" /\u003e\n  \u003cimg alt=\"patched files\" src=\"https://img.shields.io/badge/upstream%20patches-0-4fbd91\" /\u003e\n  \u003cimg alt=\"license\" src=\"https://img.shields.io/badge/license-MIT-4fbd91\" /\u003e\n\u003c/p\u003e\n\nPi coding agent 的扩展与 PI-Desktop 的插件是两套互不兼容的体系：扩展跑在 agent 进程里、拿 `ExtensionAPI` 和 `pi-tui`；插件跑在宿主进程里、拿 `globalThis.pi` 和面板桥。上游 `web-tool-core.ts` 本身与宿主无关，并自带两个宿主实现：`createWebToolCore(host)`（pi 用）和 `createStandaloneWebToolCore()`（官方 MCP server 用）。\n\n本移植调 **`createWebToolCore(host)`**，把宿主换成桌面能提供的那个：图片走本地 `resizeImage` shim，页面问答走 `pi.agent.complete`，结果落盘到插件数据目录。`index.ts` 那层 pi 界面换成 PI-Desktop 的工具注册、命令、快捷键与面板。\n\n## 四个工具\n\n| 工具 | 风险 | 作用 |\n| --- | --- | --- |\n| `web_search` | medium | 搜索来源或答案；结果按 `responseId` 存起来供检索 |\n| `fetch_content` | medium | 抓网页、PDF、GitHub 仓库、图片；支持 `answer` / `extract` / 认证抓取 / 视频参数 |\n| `get_search_content` | low | 按 `responseId` 翻页或检索已存内容（跨重启有效） |\n| `source_check` | medium | 针对某个断言收集带引用的网页片段 |\n\n`web_search`、`get_search_content`、`source_check` 的参数面与上游 MCP 定义（`mcp-tool-definitions.ts`）完全一致。`fetch_content` 在此基础上补回了上游只给 pi 用的参数：\n\n| 参数 | 作用 |\n| --- | --- |\n| `mode` | `readable`（默认）/ `raw` / `answer` / `extract` |\n| `prompt` | `answer` 的问题；视频分析的指令 |\n| `answerModel` | `answer` 用的模型（`provider/model-id`），默认取当前会话模型 |\n| `fields` | `extract` 要抽的字段名与类型（text / number / date / time / datetime / duration） |\n| `auth` | 用本机浏览器 cookie 抓登录墙页面（与 `answer`/`extract` 互斥） |\n| `redirects` | `same-origin`：拒绝跨源重定向 |\n| `timestamp` / `frames` / `model` | 视频定位、抽帧数与分析模型 |\n\n## 安装\n\n### 本地开发加载\n\n1. **插件 → 加载开发插件**，选本仓库目录\n2. 宿主会逐个列出声明的权限并等你确认（见下方「权限」）\n3. 工作面板视图菜单 → **联网访问**；也可从全局搜索用 `Web Access: …` 三条命令打开，或按 `Ctrl/Cmd+Shift+Y`\n\n### 一条命令装进本机\n\n不点 GUI 也能装：\n\n```bash\nnpm run install:local\n```\n\n它把 `dist/*.piplug` 解包到 `%USERPROFILE%\\.pi-desktop\\plugins\\installed\\pi.web-access\\`，并在\n`plugins/registry.json` 里 upsert 一条 `enabled: true` 的记录（首次运行先备份原 registry，可回滚）。\n重启 PI-Desktop 后生效；高风险权限仍需你在插件页确认一次——脚本不会替你签这份同意。\n\n### 打包安装\n\n```bash\nnpm install\nnpm run pack      # dist/pi.web-access-0.2.1.piplug\nnpm run verify:pack\n```\n\n把 `.piplug` 拖进 **插件 → 安装插件包**。`build/agent.cjs` 已内置全部依赖，包内不含 `node_modules`。\n\n包内只有运行时要用的文件：`manifest.json`、`main.js`、`build/agent.cjs`、`views/`、`skills/`、`docs/PORT-NOTES.md`、`upstream.lock.json`、`README.md`、`LICENSE`。`upstream/` 与 `src/` 留在仓库里，由 `upstream.lock.json` 与发布标签固定；宿主执行的是 `build/agent.cjs`，源码不需要随包。`build/agent.cjs` 已内置全部依赖，包内不含 `node_modules`。\n\n## 配置与密钥\n\n配置优先级（高到低）：\n\n1. **插件凭据存储** —— 面板里填的密钥，写在插件私有数据目录的 `secrets.json`（`0600`）\n2. **插件设置表单** —— 默认供应商、抓取模式、字符上限、代理、四个工具开关\n3. **旧 `~/.pi/web-search.json`** —— 直接沿用 Pi 那边的配置；存在即合并\n4. **上游内置默认值**\n\n插件会把三者合并后写进数据目录的 `web-search.json`，再让上游照它读。所以上游任何配置键都能用：\n\n```json\n{\n  \"braveApiKey\": \"…\",\n  \"searchProvider\": \"exa\",\n  \"fetch\": { \"defaultMode\": \"readable\", \"allowedModes\": [\"readable\", \"raw\", \"answer\"] },\n  \"ssrf\": { \"allowRanges\": [\"198.18.0.0/15\"] },\n  \"proxy\": \"http://127.0.0.1:7892\"\n}\n```\n\n面板的「密钥与高级配置（JSON）」就是把这种对象合并进凭据存储；已保存的密钥只显示「已配置 / 未配置」，值不会回显到面板。\n\n`PI_WEB_ACCESS_LEGACY_CONFIG` 可指定旧配置文件路径（空值表示不读旧文件），`PI_CODING_AGENT_DIR` 仍被上游用于定位缓存。\n\n### 两种模式的额外凭据\n\n| 能力 | 需要什么 | 从哪读 |\n| --- | --- | --- |\n| `fetch_content` 的 `answer` | 一个会话模型 | 当前会话模型，或 `answerModel`；走宿主的 `agent.complete` |\n| `fetch_content` 的 `extract` | Cloudflare Workers AI 凭据 | 面板的 `cloudflareApiKey` / `cloudflareAccountId`，或环境变量 `CLOUDFLARE_API_KEY` + `CLOUDFLARE_ACCOUNT_ID`；可选 `CLOUDFLARE_GATEWAY_ID` |\n\n`extract` 默认**不在** `fetch.allowedModes` 里——这是上游的隐私默认，因为该模式会把页面正文发给 Cloudflare。要用请在面板勾选。\n\n### 浏览器 cookie（可选，默认关闭）\n\n`auth` 认证抓取与 gemini 登录态探测都要读本机 Chromium（Chrome / Edge）的 cookie。上游把这件事放在 `allowBrowserCookies` 开关后面，默认关闭：关闭时 `isGeminiWebAvailable()` 直接返回 null，**一个 cookie 都不读**。\n\n开启方式二选一：\n\n- 面板「密钥与高级配置（JSON）」里写入 `{ \"allowBrowserCookies\": true }`\n- 或设环境变量 `PI_ALLOW_BROWSER_COOKIES=1`\n\n开启后可用 `browserCookies.profile` 指定 Chromium 配置目录名（`Default`、`Profile 1` 等）；Windows 上由上游做 DPAPI 解密，插件本身不接触明文密钥。\n\n## 供应商支持面\n\n上游的 46 个供应商名字都保留在配置与选择列表里，其中 44 个在本构建中可直接使用：\n\n`openai` · `brave` · `parallel` · `parallel-mcp` · `tinyfish` · `search1api` · `searchinfinity` · `querit` · `tavily` · `you` · `firecrawl` · `jina` · `searxng` · `degoog` · `duckduckgo` · `perplexity` · `gemini` · `kimi` · `exa` · `serpdive` · `kagi` · `ollama` · `anysearch` · `xai` · `mistral` · `brightdata` · `serpbase` · `serpapi` · `serper` · `serply` · `valyu` · `bocha` · `xcrawl` · `keenable` · `ceramic` · `deepseek` · `linkup` · `ninerouter` · `cloudflare` · `searchapi` · `outcrawl` · `sofya` · `cloro` · `tabstack`\n\n免密钥即可用的是 `degoog`、`duckduckgo`、`exa`、`anysearch`、`keenable`、`parallel-mcp`（以本机实测为准，面板会逐个标出可用性）。其余需要在面板里填对应凭据。\n\n两个例外：`kimi` 只走 Pi 的登录态（上游 MCP 宿主也把它剔除了，桌面端选它会得到 \"unknown provider\"）；`gemini` 可用 API key，或在本机 Chrome/Edge 登录后开启 `allowBrowserCookies`。\n\n`baizhi` 与 `zai` 走 MCP 客户端传输。插件中心的打包审计拒绝任何携带 `new Function` 的包，而那条客户端会带进 `ajv`、`function-bind`、`get-intrinsic`，所以本构建把该传输指向本地占位实现：选这两个供应商会立刻拿到明确的「不可用」提示，不会静默返回空结果。其余 44 个供应商不受影响。\n\n## 安全边界\n\n插件在三处直接接触不可信输入，各自有明确防线：\n\n- **结果 id 只能是文件名。** `responseId` 与面板的 `results:*` 通道都会把 id 拼进文件路径，而 `path.join` 会解析 `..` —— 实测 `results:drop` 传 `../secrets` 能删掉数据目录里的密钥文件。插件沿用上游 `CACHE_ID_PATTERN`（`[A-Za-z0-9_-]{1,64}`）在存储层四个入口统一校验，通道层对非法 id 直接返回 `INVALID_ARGUMENT`；长度上限同时挡住 1 MB `responseId` 的整串回显。\n- **外链只开 http(s)。** 「打开来源」用全锚定正则 `/^https?:\\/\\//i` 校验，`javascript:`、`file://`、前导空白与大小写变体全部拒绝。渲染层没有任何 `innerHTML`／`insertAdjacentHTML`，任意网页的标题、摘要、正文、错误文案都只经过 `textContent`。\n- **模型补全自己限流。** 宿主允许 8 次 `pi.agent.complete`／60 秒，而上游对 answer 模式是按 URL 并发（`Promise.all`），一次多 URL 抓取就能打光整分钟额度并连带拖垮自动总结。插件侧改成 6 次／60 秒滑窗，超额返回明确的「N 秒后重试」，并由 `signal` 感知取消。\n\n## 权限\n\n| 权限 | 风险 | 用途 |\n| --- | --- | --- |\n| `agent.tool.register` | high | 注册上面四个 agent 工具 |\n| `net.anyHost` | high | 联网工具必须能访问搜索供应商与用户给出的任意 URL；这是开放世界的抓取，无法预先列域名 |\n| `agent.prompt.inject` | high | 提供一份说明如何选用这些工具的技能文档（`skills/web-search.md`） |\n| `agent.complete` | high | `fetch_content` 的 `answer` 模式用你的模型回答页面问题；只在显式要求时调用 |\n| `ui.view` | low | 在工作面板里提供「联网访问」视图 |\n| `keyboard.globalShortcut` | medium | 把 `Ctrl/Cmd+Shift+Y` 绑到本插件自己的打开面板命令 |\n| `shell.openExternal` | medium | 在「已存结果」里打开你点的那条来源链接（只接受 http(s)） |\n\n不读会话、不读写剪贴板以外的内容、不启动子进程、无遥测。密钥只落插件私有数据目录，不写日志、不进打包产物（`npm run test:config` 与 `npm run verify:pack` 都在验证这一点）。\n\n## 与上游的差异\n\n完整对照见 [docs/PORT-NOTES.md](docs/PORT-NOTES.md)。要点：\n\n- **换了一个宿主实现**：不经过 `createStandaloneWebToolCore()` 的收窄，直接用 `createWebToolCore(host)`，因此图片、页面问答、磁盘结果都能工作。\n- **pi 界面换成桌面面**：`/curator` → 面板「已存结果」；活动小部件 → 面板「活动」卡；`Ctrl+` → `Ctrl/Cmd+Shift+Y`；`sendMessage`/`appendEntry` → 落盘 `results/`；`promptSnippet` → `skills/web-search.md`。\n- **命令只做导航**：三条桌面命令从全局搜索打开面板分区；`pi.commands.register` 的 `run()` 无参数，不能像斜杠命令那样内联 query。\n- **自动摘要默认关闭**：`autoSummary` 打开后，`web_search` 会先让会话模型把结果总结成一段带链接的说明；关闭时保持原始结果表。摘要失败会回落到原始结果，不会让搜索失败。\n- **gemini 可用性与上游一致**：API key 或本机浏览器登录态都算可用；`isGeminiWebAvailable()` 在 `allowBrowserCookies` 关闭时直接返回 null，默认不读任何浏览器数据。\n- **搜索 `model` 覆盖可用**：`web_search` 接受 `model`（`provider/id`），只对支持覆盖的 provider 生效；不传则用配置里的 `*SearchModel`。\n\n## 开发\n\n```bash\nnpm install\nnpm run build              # build/agent.cjs（esbuild，把上游与依赖一起打进去）\nnpm test                   # 适配层 + 配置 + 视图 + 持久化\nnpm run test:adapter       # 验收 1：四工具注册 / 清单一致 / 反注册 / 命令 / 快捷键\nnpm run verify:upstream    # 验收 2：上游逐字节比对\nnpm run test:upstream      # 验收 3：上游用例子集，要求 0 失败\nnpm run smoke              # 验收 4：真实搜索 + 抓取 + 按 id 取回（无需任何 key）\nnpm run test:config        # 验收 5：配置优先级与密钥不外泄\nnpm run pack               # 验收 6：产出 .piplug\nnpm run verify:pack        # 验收 6：包规则 + 解包加载\nnpm run test:view          # 验收 7：面板纯函数 + DOM\nnpm run verify:docs        # 验收 8：文档齐备\nnpm run devkit:check       # 用官方 devkit 的 pi-plugin check 校验清单\n```\n\n面板可以脱离宿主预览：浏览器打开 `test/harness.html`（内置假宿主与示例数据）。\n\n## 已知限制\n\n- **`answer` 只处理文本页面。** `pi.agent.complete` 的入参只有 `system` 与 `messages`（文本），没有图片通道；对图片或视频帧调用 `answer` 会返回明确错误，需要单独的抓取或视频能力。\n- **自动摘要会多花一次补全**：`autoSummary` 默认关闭，打开后每次 `web_search` 都会先跑一次会话模型。\n- **`extract` 需要 Cloudflare Workers AI 凭据**，且默认不在 `fetch.allowedModes` 内（隐私默认，正文会发给 Cloudflare）。\n- **视频分析不可用**：宿主 `pi.agent.complete` 只收文本，抽取的视频帧没有输入通道，对视频帧调用 `answer` 会明确报错而不是只答文字。\n- **`auth` 认证抓取未验证**：参数与代码路径已接通，本机没有可用的认证配置，无法证明产出质量；`redirects: \"same-origin\"` 是纯 HTTP 行为，随抓取直接生效。\n- **`responseId` 跨重启有效，最多保留最近 120 条**（`src/store.ts` 的 `MAX_PERSISTED`）；内存工作集仍是上游的 50 条，超出后最早的条目会被删除。\n- 面板停用某个工具后，当前会话的注册不会变化，需要重新加载插件才生效（面板里已标注）。\n- `web_search` 的 `includeContent: true` 是**同步**的：返回前抓完所有页面，多 URL 或慢站容易接近宿主的 110 秒工具上限；上游部分内部超时（抓取 150 s、搜索路由 600 s）比这个上限更长，因此超时由宿主先触发，插件不返回部分结果。\n- 改配置会重建执行核心并清空内存工作集；磁盘结果保留，下一次 `get_search_content` 会重新 hydrate。\n- Plan/Goal 模式下宿主不提供插件工具（没有 `planSafeActions` 声明），这是宿主策略。\n- 图片缩放只覆盖 PNG：8 位 RGB/RGBA 且超过 2000px 才缩（`node:zlib` 自解码/编码）；JPEG、WebP、GIF 与 16 位/调色板/交织 PNG 原样返回，超过 8 MiB 直接拒绝。\n- 上游包的首次加载会把 9 MB 的 bundle 读进内存，之后常驻。\n- `degoog`/`duckduckgo` 等免密钥通道在部分网络下需要代理，可在面板里填 `proxy`。\n\n## 许可\n\nMIT。`upstream/` 下的文件来自 [`nicobailon/pi-web-access`](https://github.com/nicobailon/pi-web-access)（MIT，© 2025 Nico Bailon），保持原样。\n",
      "safetyNotes": "Runs the upstream pi-web-access modules unchanged and calls the open web on the agent's behalf. net.anyHost is required because provider endpoints and user-supplied URLs are open-world. agent.prompt.inject contributes one instruction skill, agent.complete backs fetch_content mode answer, keyboard.globalShortcut binds one panel command, and shell.openExternal opens a result link the user clicks. Credentials stay in the plugin data directory and are never logged.",
      "versions": [
        {
          "version": "0.2.1",
          "publishedAt": "2026-11-08T15:52:25Z",
          "changelog": "## 联网访问 0.2.1\n\n把 `nicobailon/pi-web-access`（v0.47.0）移植为 PI-Desktop 插件，向 Agent 提供四个工具：\n\n- `web_search`：多查询并发搜索，结果存放在可按 `responseId` 回读的存储里\n- `fetch_content`：抓网页、PDF、GitHub 仓库、图片，支持 `readable` / `raw` / `answer` / `extract` 四种模式\n- `get_search_content`：按 `responseId` 翻页或按关键词定位已存内容\n- `source_check`：就一条主张收集带出处的网页片段，供人工核对\n\n同时提供中文「联网访问」面板：已存结果浏览、活动记录、各搜索供应商的连接状态与密钥填写入口、抓取模式与代理设置。\n\n### 0.2.1 修复\n\n- **路径穿越**：`results:drop` / `results:peek` 曾能读写插件数据目录外的文件，现按上游 `CACHE_ID_PATTERN` 校验 id，并在 `resolve` 层做前缀兜底\n- **配置自锁**：`fetch.defaultMode` 缺省时未按其缺省值校验，坏值写入后会令插件每次启动失败；现先校验后写宿主设置\n- **字段抽取**：`extract` 模式读的是嵌套形状的凭据，扁平形状会抛 `TypeError`；现由适配层归一化\n- **PNG 缩放**：解压前按像素上限拦截，并给 `inflateSync` 设输出上限；RGBA 按 alpha 预乘；编码超限则放弃缩放返回原图\n- **已存内容过期**：`fetch` 结果超过 1 小时读不出正文的问题已修正\n- **索引原子性**：临时文件名加入进程号与随机串，索引损坏时从结果文件重建\n- **配额**：页面问答按 6 次/60 秒滑窗限流，与宿主的 8 次/60 秒上限留出余量\n\n### 能力状态\n\n- 完全可用：搜索、抓取、已存内容检索、来源核查、页面问答、图片缩放（PNG）、代理、自定义面板、快捷键、中文设置\n- 需自备凭据：`extract` 字段抽取需 Cloudflare 账号；`auth` 带浏览器登录态抓取默认关闭，需显式开启\n- 受宿主 API 限制：视频帧分析当前不可用，`pi.agent.complete` 只接受文本\n- 本构建不含 MCP 客户端传输：`baizhi` 与 `zai` 两个供应商会返回明确的不可用提示，其余 44 个不受影响\n\n### 隐私\n\n无遥测。搜索供应商密钥只写入本插件私有数据目录，不写日志、不进打包产物。各项权限用途写在 manifest 的 `safetyNotes` 里。\n\n---\n\n### English\n\nPI-Desktop port of the `pi-web-access` Pi extension (v0.47.0): four agent tools — `web_search`, `fetch_content`, `get_search_content`, `source_check` — plus a Chinese work-panel view for stored results, provider credentials, fetch modes and proxy settings.\n\n0.2.1 fixes path traversal in the stored-result channels, a settings lock-out caused by validating `fetch.defaultMode` only when present, the credential shape expected by `extract`, PNG decompression limits and alpha handling, the one-hour expiry of stored fetches, index atomicity, and adds a 6-per-minute budget for page answers.\n\nFully usable: search, fetch, stored-content retrieval, source checks, page answers, PNG resizing, proxy, panel, shortcut, Chinese settings. Needs your own credentials: `extract` (Cloudflare), `auth` (off by default). Video frame analysis is unavailable because `pi.agent.complete` only accepts text, and the `baizhi` and `zai` providers report unavailable because this package carries no MCP client transport; the other 44 providers are unaffected.\n\nNo telemetry. Provider keys stay in the plugin's private data directory and are never logged or packaged.",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "09009c2ef122548b3a13fbee3f13fbab26f10f2c92cc68e375d35ecfd45b2c64",
          "url": "packages/pi.web-access-0.2.1.piplug",
          "sizeBytes": 8896425,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "keyboard.globalShortcut",
            "net.anyHost",
            "shell.openExternal",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Techd81/pi-desktop-web-access",
            "sourceRef": "v0.2.1",
            "sourceCommit": "23c6436bf40b7e0c17433a2fbfd1195bfe41f04a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T15:50:28Z"
          }
        }
      ]
    },
    {
      "id": "io.github.w1ndys.pi-open-in-vscode",
      "name": "用 VSCode 打开",
      "description": "用命令立刻用 Visual Studio Code 打开当前工作目录。",
      "author": "w1ndys",
      "i18n": {
        "en": {
          "name": "Open in VS Code",
          "description": "Open the current workspace folder in Visual Studio Code with a single command.",
          "safetyNotes": "Does exactly one thing: hands the current workspace folder to the local Visual Studio Code. It does not read file contents, write files, use the network, or collect data. The command runs only when the user triggers it, spawns the system command detached, and returns immediately without waiting for the editor to exit."
        },
        "zh-CN": {
          "name": "用 VSCode 打开",
          "description": "用一条命令立刻用 Visual Studio Code 打开当前工作目录。",
          "safetyNotes": "只做一件事：把当前工作目录交给本机的 Visual Studio Code 打开。不读文件内容、不写文件、不访问网络、不收集任何数据。命令由用户主动触发，插件的进程里以 detached 方式拉起系统命令，拉起后立即返回，不等待编辑器退出。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 245,
      "homepage": "https://github.com/w1ndys/pi-open-in-vscode",
      "readmeMarkdown": "# 用 VSCode 打开\n\nPI-Desktop 插件（`io.github.w1ndys.pi-open-in-vscode`）：立刻用 Visual Studio Code 打开当前工作目录。\n\n仓库：https://github.com/w1ndys/pi-open-in-vscode\n\n## 使用\n\n1. 安装或加载本插件。\n2. 打开一个项目。\n3. 任选一种立刻打开（不再经过侧边栏页面）：\n   - 命令面板搜「用 VSCode 打开当前工作目录」\n   - 输入框输入 `/vscode` 回车\n\n打开顺序：macOS `open -a \"Visual Studio Code\"` → `code`。\n\n## 做不到的\n\nPI-Desktop 的插件接口**不能**往输入框下面那一行（发送、模型、上下文长度、工作模式、编辑模式）插按钮。那一行是宿主自己的控件，没有 `contributes` 扩展点。本插件只能提供命令 / 斜杠命令。\n\n## 检查\n\n```bash\nnpm run check\n```\n\n## 权限\n\n只声明 `notify`（低风险），用于打开成功 / 失败的提示。不读文件、不写文件、不访问网络、不碰剪贴板。\n\n## 发布到插件中心\n\n客户端默认的目录源是 [plugins.aiuo.net](https://plugins.aiuo.net)。发布需要三样东西：\n\n1. 打好标签的源码仓库（`v0.3.0`），标签或 commit 就是审查读取的 `sourceRef`；\n2. 控制台里绑定源码仓库（GitHub App 授权，绑定后非管理员不能换）；\n3. 一个没发布过的版本号加发布说明。\n\n流程见官方 [CONTRIBUTING.md](https://github.com/vastsa/pi-desktop-plugins/blob/main/CONTRIBUTING.md) 与本仓 `docs/发布说明.md`。\n",
      "safetyNotes": "只做一件事：把当前工作目录交给本机的 Visual Studio Code 打开。不读文件内容、不写文件、不访问网络、不收集任何数据。命令由用户主动触发，插件的进程里以 detached 方式拉起系统命令，拉起后立即返回，不等待编辑器退出。",
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-30T06:06:10Z",
          "changelog": "首个发布版本。\n\n- 一条命令（`/vscode`）立刻用 Visual Studio Code 打开当前工作目录。\n- macOS 走 `open -a \"Visual Studio Code\"`，失败再试 `code`。\n- 只声明 `notify` 权限；不读文件、不写文件、不访问网络、不收集数据。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "b2b0ae05d3c049727f586e4fe49fc44b3c4454b5f7f09699799beb3a32d03ac6",
          "url": "packages/io.github.w1ndys.pi-open-in-vscode-0.3.0.piplug",
          "sizeBytes": 12859,
          "permissions": [
            "notify"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/w1ndys/pi-open-in-vscode",
            "sourceRef": "v0.3.0",
            "sourceCommit": "e8f2d905ffedce2599cc4908dc52fffd2148840c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-30T06:05:46Z"
          }
        }
      ]
    },
    {
      "id": "pi.mobile-remote-control",
      "name": "Pi-Desktop 机器人",
      "description": "通过飞书、Telegram、微信等聊天工具接入 PI-Desktop Agent：发送任务、接收结果、回答问题和审阅计划。",
      "author": "icedly",
      "categories": [
        "agents-workflow",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 303,
      "homepage": "https://github.com/CJLY-0915/pi-desktop-bot",
      "readmeMarkdown": "# Pi-Desktop 机器人\r\n\r\n通过飞书、Telegram、微信等外部聊天工具接入本机 PI-Desktop Agent：发送任务、接收结果、回答问题、中断执行和审阅 Plan 检查点。当前使用长连接或长轮询，钉钉面板显示“即将支持”；Webhook 接入尚未实现。\r\n\r\n## 为什么不是 anywhere 面板或微信 BOT\r\n\r\n- **Anywhere 面板**（`pi.agents-anywhere` / `adoin.panel.anywhere`）本质是外部 *Agents Anywhere* 中继平台的客户端，平台不可达即失效，且需要广域网络权限。\r\n- **微信 BOT（第三方网关）**：openclaw 等协议扫码登录易掉线；本插件走微信官方 iLink Bot 协议（扫码登录 + 长轮询），不经第三方网关。\r\n- 本插件：**零第三方中继**，只连飞书/钉钉/Telegram/微信官方开放平台；长连接/Stream/长轮询模式**不需要公网 URL、不需要自己的服务器**。\r\n\r\n## 安装（开发期）\r\n\r\n1. 将本目录复制到 `C:\\Users\\\u003c你\u003e\\.pi-desktop\\plugins\\installed\\pi.mobile-remote-control`（或用 PI-Desktop 插件页导入）。\r\n2. 重启 PI-Desktop，命令面板执行 `Pi-Desktop 机器人: 打开控制面板`。\r\n\r\n安装包已包含二维码和通道 SDK 的运行依赖，无需在安装目录执行 npm install。控制面板按独立工作窗口设计，默认 680×840；窗口缩小时自动调整布局，较长内容可纵向滚动。\r\n\r\n## 配置\r\n\r\n面板选择渠道，在“连接机器人”卡内完成接入和绑定：\r\n\r\n| 渠道 | 接入步骤 |\r\n|---|---|\r\n| 飞书 | 点“扫码创建” → 用飞书扫码并在手机上创建应用 → 自动显示绑定命令 |\r\n| 微信 | 点“扫码登录” → 用微信扫码确认 → 自动显示绑定命令 |\r\n| Telegram | 扫码打开 [@BotFather](https://t.me/BotFather) 或点击入口 → 发送 `/newbot` 获取 Bot Token → 填入 Token → 保存并连接 → 自动显示绑定命令 |\r\n| 钉钉 | 即将支持；面板不提供接入操作 |\r\n\r\n微信扫码凭据保存后先启动消息长轮询，首次 `/getupdates` 成功才显示已连接；后续拉取失败仍如实展示错误并重试。连续失败先等待 2 秒，第三次失败等待 30 秒；成功后恢复正常轮询并清除连接错误，保留原游标。登录和消息请求携带一致的 iLink 应用标识及编码版本头；固定长度的请求体由 Node 自动计算字节长度。HTTP 错误仅展示脱敏后的结构化错误码与说明，不输出原始响应。无需用空请求调用 `/getconfig` 验证连接，该接口仅在有聊天目标时获取 typing 配置，失败记录警告，不阻止消息收发。\r\n\r\nHTTP 412 表示服务器拒绝本次请求，公开客户端未定义其具体原因，不能直接当作令牌失效。协议对照与验证边界见 [微信请求兼容说明](docs/weixin-request-compatibility.md)。\r\n\r\n复制命令并发送到机器人私聊，面板检测到绑定成功后自动收起命令，显示“已连通”和“解绑”。复制本身不会完成绑定。绑定码 10 分钟有效，过期后可重新生成。\r\n\r\n凭据只保存在本机插件数据目录。面板“解绑”撤销该渠道的聊天授权及会话关联，保留登录凭据，便于重新绑定；“清除此渠道的登录凭据”还会删除该渠道凭据，其他渠道不受影响。各渠道可同时启用，每个渠道运行一个机器人连接；切换左侧渠道仅查看配置，启停和清除凭据只影响所选渠道。\r\n\r\n“回复颗粒度”按渠道独立保存，修改从下一轮任务生效。微信和 Telegram 支持三档：标准回复（助手正文和文件变更，隐藏工具过程）、完整回复（正文、工具调用进度和文件变更）、摘要回复（只发最终结果和文件变更摘要）。旧文本设置默认按标准回复兼容。飞书固定为 Card JSON 2.0 流式卡片，正文与工具组按执行顺序交错，最新工具组运行时展开，完成后折叠；帮助、状态和错误也使用卡片，附件保留文件消息。成功 Edit/Write 按本轮净差异汇总文件和可计算的增删行数；Shell 或外部程序改动不自动列入。项目范围按渠道独立设置“所有项目”或“指定项目”；指定模式过滤会话并阻止范围外执行。范围变化不强制中断桌面任务，但停止旧轮回传，新派发重新校验。\r\n\r\n二维码使用本地 `qrcode` 生成，不向第三方图片服务发送授权链接。飞书注册失败会显示具体 HTTP、平台或网络原因；未配置凭据是待接入状态，不显示连接失败。\r\n\r\n升级此版本后需在插件管理页重新加载插件并授予 `shell.openExternal`、`clipboard.write`，使“在浏览器中打开”和“复制命令”生效；权限增加不会通过热更新自动授予。\r\n\r\n## 使用\r\n\r\n1. 完成扫码或 Token 接入，面板自动显示绑定命令。\r\n2. 手机端给机器人私聊发送 `/bind \u003c绑定码\u003e`。\r\n3. 显示“已连通”后，直接发送消息即可执行任务；发送 `/帮助` 查看常用命令。\r\n\r\n常用入口只保留会话和配置两组：\r\n\r\n```text\r\n会话\r\n/新建 [标题]    新建并关联会话\r\n/会话           选择已有会话\r\n/状态           查看当前会话、工作区和模型\r\n/停止           中断当前任务\r\n\r\n配置\r\n/项目           选择工作区（已有会话不会移动）\r\n/模型           先选择服务商，再选择模型\r\n/思考           选择当前模型支持的思考等级\r\n```\r\n\r\n其他操作放在 `/帮助 更多`：\r\n\r\n```text\r\n/模式           选择 Agent / Plan / Goal\r\n/权限           选择会话权限模式\r\n/回复           标准、完整或摘要回复（仅微信、Telegram）\r\n/改动           查看桌面工作区改动\r\n/发送 \u003c路径\u003e    把本机文件发到手机（仅飞书、Telegram）\r\n/解绑           解除会话关联，保留聊天授权\r\n/重试           补发最近失败结果，不重新执行任务\r\n/定时           查看私聊定时任务用法，支持间隔/每日/暂停/恢复/删除\r\n```\r\n\r\n点击菜单或回复数字选择，`/取消` 或 `0` 退出。帮助只展示中文主命令；原有英文命令和别名继续兼容，包括 `/help`、`/help more`、`/new`、`/clear`、`/task`、`/切换`、`/use \u003c序号或ID\u003e`、`/sessions`、`/status`、`/project`、`/workspace`、`/model`、`/think`、`/thoughtlevel`、`/mode`、`/permission`、`/reply`、`/stop`、`/cancel`、`/diff`、`/send` 和 `/unbind`。\r\n\r\n- 飞书回答卡运行中保留正文与工具摘要顺序，使用“⏳ 运行中 / ✅ 已完成 / ❌ 已终止”。结束后将过程说明和工具记录放入默认折叠的“执行过程”，最终答复、错误提示及文件变更单独显示在外；没有过程时不显示空折叠区。同一工具的开始与结束更新原条目。`/新建` 创建真实空会话，首条任务前显示草稿状态。\r\n- 工具摘要采用“状态 · 工具 · 执行命令/路径”，例如 `执行中 · powershell · Get-Location`、`完成 · Read · src/app.js`；更新和结束事件缺少参数时保留开始时的命令或路径。命令继续脱敏、截断，不转发完整工具输出。微信和 Telegram 选择“完整回复”后显示工具过程。\r\n- 飞书与 Telegram 可同时绑定工作区 A 的会话 A-1，`/状态` 等命令各回原渠道；绑定端可同步接收该会话的后续回复。同一会话一次只派发一个任务，其他渠道发送新任务时会收到忙碌提示。手机问答和 Agent 文件工具只投递给原任务发起端；恢复记录按渠道和会话隔离。\r\n- Agent 通过 `ask_phone` 等待手机回答，支持多题、单选、多选、自定义文字和 `/取消提问`。答案回到原工具；请求失效或投递失败时明确报错。\r\n- Plan/Goal 卡片展示完整计划，回复 `1` 批准、`2` 拒绝；提交后仍须在桌面确认宿主授权。\r\n- 绑定会话在桌面继续执行时同步后续 AI 输出；也可在目标任务执行中用 `/use \u003c会话ID\u003e` 切入，继续接收该轮后续输出。桌面来源仅同步内容，不增加手机端的交互授权。已记录轮次支持重载恢复、分页补读和结束事件去重。任务已完成但无法补读正文时单独提示「回复同步失败」。\r\n- 同轮扩展已确认的最终答复优先于宿主快照，避免落后快照覆盖结果。宿主终态先到时，限时等待同轮扩展最终回执，即使已有过程正文也不提前封存；空结束回执不擦除已收到的最终正文。\r\n- 图片与文件通过宿主正式附件字段提交，不只是在文本中附本机路径。图片理解取决于模型能力；音频作为文件上下文，不保证自动转写。\r\n- `/重试` 或面板“重试发送”只补发保存的失败结果；平台超时可能已送达，因此可能重复。解绑或授权变化后旧结果失效。\r\n- `/定时 每隔 30 检查项目状态`、`/定时 每天 09:00 汇总待办` 创建插件日程；`/定时 列表` 查看，`/定时 暂停|恢复|删除 \u003cid\u003e` 管理。按本机时区运行，需保持 PI-Desktop 和插件运行；重启不补跑历史，会话忙碌或派发失败不自动重执行。\r\n- 项目、模型、思考、运行模式和权限切换默认允许。桌面「Pi-Desktop 机器人」面板 →「机器人设置」中的「允许远程配置切换」可随时关闭或开启，保存后立即生效，所有渠道共用。旧版本未保存该字段时默认开启，明确保存的关闭值会保留。项目访问范围及宿主原生确认仍生效；执行中的会话不能切换配置或关联到其他会话。`/mode ask` 等旧权限写法仍兼容，推荐 `/权限`。\r\n- 菜单支持按钮或数字回复，每页最多 8 个业务选项，10 分钟过期。`/取消`、`0`、新命令或普通任务会使旧菜单失效；选择前重新检查聊天授权、会话关联和项目范围。\r\n- `/项目` 只切换桌面当前工作区，不移动已有会话；之后 `/新建` 在当前可访问项目创建会话。`/模型 服务商ID/模型ID`、`/思考 high`、`/模式 plan`、`/权限 ask`、`/回复 summary` 也可直接传值；模型和思考选项来自宿主配置，思考等级同时显示中文名称与实际值。\r\n\r\n## 安全模型\r\n\r\n- 默认要求绑定码，未绑定聊天仅可用 `/bind` 完成授权，不能派发任务。\r\n- 每聊天令牌桶限速（默认 12 条/分钟），排队上限可配。\r\n- 出站文本自动脱敏（token/password/api_key/JWT）。\r\n- `manifest.net.domains` 声明所需平台域名，无 `net.anyHost`；Node HTTP/SDK 不属于宿主托管网络沙箱，域名声明不构成对全部流量的强制隔离。\r\n- 全部远程指令写入审计日志（插件数据目录 `audit.jsonl`，512KB 滚动）。\r\n\r\n## 实现说明（为何直接用官方 SDK 的长连接）\r\n\r\n飞书与钉钉的长连接端点在连接时动态下发，SDK 自行处理平台协议。飞书/钉钉采用官方 Node SDK，Telegram 与微信使用官方 HTTP API 长轮询；全部通过 Node TLS 发起，无第三方中继，也不需要公网回调地址。网络边界以具体适配器和端点校验为准，不能把 manifest 域名表当作 Node 网络沙箱。\r\n\r\n## 已知限制\r\n\r\n- 钉钉接入 UI 暂未开放；微信通道不支持媒体上传（`/send` 会返回明确错误）；飞书、Telegram 支持。\r\n- 原生工具权限请求无法通过当前插件 API 独立在手机逐项批准，仍需桌面处理；配置切换和 Plan 批准也受宿主原生桌面确认约束。`ask_phone` 处理业务问答，不替代权限批准。\r\n- Telegram Bot API 需要本机网络能直连 `api.telegram.org`；微信 iLink Bot 需平台侧具备 Bot 开通资格（扫码流程会展示平台返回的错误）。\r\n- 附件单条最多 4 个、单文件 5 MiB；超限整条拒绝。微信和 Telegram 临时下载失败保留游标，飞书下载失败提示重发，本条正文不残缺执行。\r\n- 微信上下文只对授权私聊持久化，群消息不更新；没有群协作或话题功能。\r\n- 插件日程与宿主定时页分别管理；宿主未公开所需 CRUD 和运行归属接口，不自动匹配宿主已有日程结果。完整范围见 [本次实现与边界](docs/zcode-private-chat-implementation.md)。\r\n\r\n## 开发\r\n```powershell\r\ncd E:\\Program\\pi-desktop-plugin\\pi-plugin-mobile-remote-control\r\nnpm ci                            # 开发环境依赖\r\nnpm run build                     # 生成随包 vendor 与第三方许可信息\r\nnpm test                          # 含无 node_modules 的安装隔离测试\r\n```\r\n\r\n发布前先构建、运行测试，再用 PluginCheck 和 PluginPack 校验打包。将生成的安装包解压到会话 scratch，在该目录运行 `node scripts/smoke-plugin.cjs .`，确认主入口、二维码、SDK 与插件初始化无需外部 npm 模块；这不替代真实宿主和平台收发验收。\r\n\r\n结构：\r\n\r\n```\r\nmain.js                 装配：生命周期、服务注册、面板 RPC\r\nscripts/build-vendor.cjs 构建随包依赖，避免安装时依赖 node_modules\r\nscripts/smoke-plugin.cjs 安装隔离检查（不连接真实平台）\r\nvendor/                 随包 SDK、二维码实现与第三方许可信息\r\nlib/bridge.cjs          桥接核心：指令路由、会话队列、事件回传、审批轮询\r\nlib/bot-commands.cjs    中文别名、分页菜单与宿主配置命令\r\nlib/channel.cjs         通道接口与工厂\r\nlib/feishu.cjs          飞书适配器（WSClient 长连接）\r\nlib/dingtalk.cjs        钉钉适配器（DWClient Stream）\r\nlib/feishu-api.cjs      飞书 API（token 缓存、发消息、媒体）\r\nlib/feishu-card.cjs     流式卡片：Card JSON 2.0 构建、元素预算分段、写失败断路器\r\nlib/feishu-registration.cjs 飞书扫码建应用（device-code 流程）\r\nlib/telegram.cjs         Telegram 适配器（Bot API 长轮询 + 内联按钮）\r\nlib/weixin.cjs           微信 iLink 适配器（长轮询 + CDN AES 解密）\r\nlib/weixin-registration.cjs 微信扫码登录（device-code 流程）\r\nlib/security.cjs        配对码、白名单、限速、脱敏\r\nlib/store.cjs           持久化（配对/绑定/凭据/审计）\r\nlib/ipc.cjs             Agent 扩展 ↔ 插件主进程事件通道\r\nlib/render.cjs          结果分段与文本渲染\r\nextensions/agent.js     Agent 进程内扩展\r\nrenderer/index.html     控制面板结构\r\nrenderer/style.css      布局、状态与响应式样式\r\nrenderer/app.js         渠道接入、扫码及绑定状态\r\n```\r\n",
      "safetyNotes": "连接凭据只保存在插件私有数据目录，除所选平台的官方 API 端点外不发送到任何地方。所有入站消息必须先通过配对码校验，未配对的聊天无法驱动任何会话。远程指令统一经由宿主 desktop.control 网关注入目标会话，会话权限、项目范围与审计记录与桌面端完全一致。插件仅声明所需平台域名，不申请广域网络权限。",
      "versions": [
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-28T09:06:52Z",
          "changelog": "首个正式版本：通过飞书、Telegram、微信官方 iLink 协议和钉钉 Stream 接入本机 PI-Desktop Agent，发送任务、接收结果、回答交互问题、中断执行与审阅 Plan 检查点；含控制面板、扫码接入、配对码校验、文件回传、回复颗粒度与项目范围设置。\n\n- 修正公共 HTTP 客户端的完整请求体发送方式，使用 `end(body)` 自动生成正确字节长度，避免 JSON 和文件请求不必要地采用 chunked 传输。\n- 微信扫码与消息接口补齐 `iLink-App-Id`、编码后的 `iLink-App-ClientVersion`，与公开 iLink 客户端的请求头格式对齐。\n- 首轮连接后后续轮询失败仍展示真实错误；保留游标，连续失败采用 2/2/30 秒退避，成功后清除连接错误。非 200 JSON 响应保留脱敏后的 ret/errcode/errmsg，不展示原始响应体。\n- 新增真实本地 HTTP 报文回归，覆盖中文与 emoji 字节长度、二进制与空请求体，以及首轮成功后连续 412、游标保留、退避和恢复。HTTP 412 的微信服务端原因尚未确认，未将本地测试计为真实微信验收。\n- 修复已收到的最终答复被落后的过程快照覆盖，以及有过程正文时跳过等待同轮最终回执的问题；空结束回执不擦除已收到的最终正文。\n- 飞书终态将过程说明和工具整体置于默认折叠的“执行过程”，最终答复、错误提示和文件变更在外显示。超预算时先分段再更新原卡，防止最终结果被超限更新阻断；补充内容去重、迟到终态、空回执及长过程预算回归。\n- 开发脚本改为字面量 require：隔离安装冒烟改为自定位、从安装包内 `scripts/` 目录运行，vendor 打包入口显式列出；安装包随之通过插件中心动态模块加载审计。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "80b85ad19059e5cab4cff1545119f15ec7081b15e5187a3805258a6d1f868aa7",
          "url": "packages/pi.mobile-remote-control-1.0.0.piplug",
          "sizeBytes": 3189588,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "background.service",
            "clipboard.write",
            "desktop.control",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/CJLY-0915/pi-desktop-bot",
            "sourceRef": "v1.0.0",
            "sourceCommit": "dd411796b4e9765b2be60d207bad7c3df528f1df",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T08:07:55Z"
          }
        }
      ]
    },
    {
      "id": "cc.mcii.session-usage",
      "name": "会话用量",
      "description": "在输入框输入 /usage，查看当前会话的输入、输出、缓存命中、缓存创建和命中率。",
      "author": "LectWolf",
      "i18n": {
        "en": {
          "name": "Session Usage",
          "description": "Enter /usage in the composer to view the current session’s input and output, cache reads and writes, and cache hit rate."
        },
        "zh-CN": {
          "name": "会话用量",
          "description": "在输入框输入 /usage，查看当前会话的输入、输出、缓存命中、缓存创建和命中率。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cc",
      "downloads": 1178,
      "homepage": "https://github.com/LectWolf/pi-session-usage",
      "readmeMarkdown": "# 会话用量\r\n\r\nPI-Desktop 插件。输入框输入 **`/usage`**，或命令面板搜「用量」，查看**当前会话**的 token 用量。\r\n\r\n- 插件 id：`cc.mcii.session-usage`\r\n- 许可证：[GPL-3.0-only](./LICENSE)\r\n- 源码 / 主页：https://github.com/LectWolf/pi-session-usage\r\n\r\n## 会显示什么\r\n\r\n- 输入（未命中缓存）\r\n- 缓存命中 / **缓存创建**（Claude 的 `cache_creation_input_tokens`，含 5m / 1h）\r\n- 输出、思考\r\n- **命中率** = 缓存命中 /（未命中输入 + 缓存命中 + 缓存创建）\r\n- 最近一轮卡片、按模型拆分（回复次数写成 `128次`）\r\n\r\n插件命令拿不到「正在看的会话」API。`/usage` 会优先选**没有正在跑的回合**的最近会话，避免被旁边还在生成的聊天抢走。面板顶部可以手动切换会话；选中后刷新会钉在那个会话上。",
      "versions": [
        {
          "version": "1.0.1",
          "publishedAt": "2026-09-17T05:35:18Z",
          "changelog": "修复了界面已是中文时，用量面板和 /usage 仍显示英文的问题",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "c3d3a2892a49d9fd9ae3d3f0b972aa3e077c3a87aa7c51f1a4b0195f313fe054",
          "url": "packages/cc.mcii.session-usage-1.0.1.piplug",
          "sizeBytes": 90009,
          "permissions": [
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LectWolf/pi-session-usage",
            "sourceRef": "v1.0.1",
            "sourceCommit": "033519e9cbc5bb739b8d201afb2a06209cacf77c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-17T02:25:47Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-09-16T02:49:15Z",
          "changelog": "1.0.0 首次公开发布\n- 新增 /usage：当前会话的输入、缓存命中/创建、输出、思考和命中率\n- 新增会话选择器，按标题即时搜索\n- 新增 Claude 缓存创建（5m / 1h）和最近一轮卡片\n- 窗口重新获得焦点时刷新，搜索和滚动位置会保留",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "7ff7fb1b4bb6bd5d7d93cce9a356b5ee31859701da32de48c562d02f7c7607cb",
          "url": "packages/cc.mcii.session-usage-1.0.0.piplug",
          "sizeBytes": 89740,
          "permissions": [
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LectWolf/pi-session-usage",
            "sourceRef": "v1.0.0",
            "sourceCommit": "bfd6c85ae6f2e55364c60b73a6d2961bee96c963",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-16T02:48:59Z"
          }
        }
      ]
    },
    {
      "id": "pi.obsidian-theme",
      "name": "Obsidian Theme",
      "description": "A deep blue-teal global theme tuned to a measured reference: surfaces lifted from #0F1B26 to #223648, hierarchy carried by 1px #2A4054 hairlines rather than glow, a solid #1B4F53 selection state, and a four-step text scale that takes body prose from 17:1 down to 11:1. Styling only — no features.",
      "author": "ily55421",
      "i18n": {
        "en": {
          "name": "Obsidian Theme",
          "description": "A deep blue-teal global theme tuned to a measured reference: surfaces lifted from #0F1B26 to #223648, hierarchy carried by 1px #2A4054 hairlines rather than glow, a solid #1B4F53 selection state, and a four-step text scale that takes body prose from 17:1 down to 11:1. Styling only — no features.",
          "safetyNotes": "Pure styling. The plugin contributes one global theme (CSS only) and a small info panel. No network, file, clipboard, shell, or agent access."
        },
        "zh-CN": {
          "name": "黑曜石主题",
          "description": "深蓝青全局主题，按实测参考图校准：表面由 #0F1B26 分层抬至 #223648，层级用 1px #2A4054 发丝边框而非发光承担，选中态为实心 #1B4F53，四档文字层级把正文对比度从 17:1 降到 11:1。除样式外不提供任何功能。",
          "safetyNotes": "纯样式插件。仅贡献一个全局主题（只有 CSS）和一个说明面板。无网络、文件、剪贴板、命令执行或智能体权限。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 170,
      "homepage": "https://plugins.aiuo.net/plugins/pi.obsidian-theme",
      "repository": "https://plugins.aiuo.net/plugins/pi.obsidian-theme",
      "readmeMarkdown": "# Obsidian Theme / 黑曜石主题\n\nA deep blue-grey global theme for PI-Desktop, tuned for long reading: a layered surface ladder instead of one flat black, hierarchy carried by 1px hairline borders rather than glow, a low-saturation teal accent, and a four-step text scale. Styling only — no features.\n\nPI-Desktop 深蓝灰全局主题，为长时间阅读调校：分层海拔而非一片死黑、用 1px 发丝边框而非发光建立层级、低饱和青绿强调色、四档文字层级。纯样式，无额外功能。\n\n## Palette / 色板\n\n| Role / 用途 | Value | | Role / 用途 | Value |\n|---|---|---|---|---|\n| App base / 应用底色 | `#0F1B26` | | Title text / 标题 | `#F2F7FA` |\n| Rails / 侧栏 | `#12202C` | | Body prose / 正文 | `#C4D2DD` |\n| Reading column / 阅读区 | `#0E1A25` | | Secondary / 次级 | `#8FA3B4` |\n| Card / composer / 卡片 | `#182835` | | Hints / 弱提示 | `#6A7E8F` |\n| Raised / 悬浮 | `#1E3040` | | Accent / 强调 | `#5CD0B8` |\n| Hover | `#223648` | | Border / 边框 | `#2A4054` |\n| Field / 输入框 | `#1B2C3B` | | Inset / 凹陷 | `#091219` |\n| Selected row / 选中态 | `#1B4F53`→`#15414A` | | Info / Warning / Danger | `#7FB4F0` `#E8C878` `#E78282` |\n\nNo pure black, no pure white. / 不使用纯黑，不使用纯白。\n\n## What it does / 功能\n\n- One global theme, selectable in **Settings → Theme → search \"Obsidian\" / 设置 → 主题 → 搜索 \"Obsidian\"**.\n- **Elevation ladder.** Eight distinct surface tones from `#091219` (inset) through `#0F1B26` (app) to `#223648` (hover), so the three columns and the cards inside them stop merging. A card now separates from the canvas it sits on; in the previous build that measured zero.\n- **Hierarchy from borders, not glow.** Every panel, card, field and code block carries a 1px `#2A4054` / `#1C2B3A` edge. All bloom and drop-glow shadows were removed.\n- **Four text steps for reading comfort.** Titles `#F2F7FA`, body prose `#C4D2DD`, secondary `#8FA3B4`, hints `#6A7E8F`. Body prose dropped from 17:1 to 11.3:1 against its background — still AAA, far less glaring — while secondary text went slightly up.\n- **Accent used as a material, sparingly.** `#5CD0B8` on selection, the send button, `.btn-primary`, focus rings and the active session rail; nothing else.\n- **Fields read as fields.** Lighter than the canvas with a hairline edge, so the composer stays visible; selected rows get a solid teal fill (`#1B4F53`) rather than a wash.\n- Code cards and blockquotes sit on `#16242F`; blockquotes carry a `#5CD0B8` rule; tables get a real row seam; meta and path lines are monospace.\n- 海拔阶梯：从 `#091219`（凹陷）到 `#223648`（hover）共八档表面色，三栏与其内部卡片不再糊成一片。\n- 层级靠边框而非发光：所有面板、卡片、输入框、代码块都带 1px 实色发丝边（`#2A4054` / `#1C2B3A`），发光阴影全部移除。\n- 四档文字：标题 / 正文 / 次级 / 弱提示。正文对比度由 17:1 降到 11.3:1（仍是 AAA）不再刺眼，次级文字略有提升。\n- 强调色克制使用：仅选中态、发送按钮、主按钮、聚焦描边与当前会话条目。\n- 输入框比画布更亮并带发丝边，因此输入区不会再\"消失\"；选中行用实心 `#1B4F53` 而非半透明罩色。\n- 代码卡片与引用块底色 `#16242F`，引用块配 `#5CD0B8` 竖条；表格补上行分隔线；元信息与路径行改用等宽字体。\n\n## Reverting / 恢复\n\nPick Light / Dark / System in the theme picker — the plugin can stay installed without effect. Or uninstall the plugin.\n\n在主题选择器中切回浅色 / 深色 / 系统即可；插件保留安装也无副作用，或直接卸载。\n\n## Permissions / 权限\n\n| Permission | Why / 原因 |\n|---|---|\n| `ui.panel` | Bilingual info panel: palette reference and elevation preview / 双语说明面板：色板参考与海拔预览 |\n| `ui.theme` | Contribute the global theme / 贡献全局主题 |\n\n## Safety / 安全\n\nCSS is sanitized by the host on load (256 KiB cap, no `@import`, no markup, no scripts, no external URLs — only `data:` URLs and manifest-declared assets are allowed). This sheet carries exactly one reference: a base64 `data:` SVG noise tile. The plugin makes no network requests, reads no files, and stores no data.\n\nCSS 由宿主在加载时净化（上限 256 KiB，禁止 `@import`、标记、脚本与外部 URL，仅允许 `data:` URL 与清单声明的资源）。本样式表只含一个引用：一个 base64 的 `data:` SVG 噪点贴图。插件不发起网络请求、不读取文件、不存储数据。\n\n## Files / 文件\n\n| File | Purpose / 作用 |\n|---|---|\n| `manifest.json` | Identity, permissions, the `contributes.themes` entry / 标识、权限、主题贡献声明 |\n| `main.js` | Registers the one \"open panel\" command / 注册唯一的打开面板命令 |\n| `themes/obsidian.css` | The theme itself / 主题本体 |\n| `renderer/index.html` | Info panel / 说明面板 |\n| `renderer/panel.js` | Panel copy + locale switching / 面板文案与语言切换 |\n| `renderer/appearance-boot.js` | Shared appearance adapter, pre-paint / 共享外观适配器（首帧） |\n| `renderer/appearance.js` | Shared appearance adapter, live updates / 共享外观适配器（实时更新） |\n| `renderer/capsule-retint.js` | Retints the host window-control capsule / 重染宿主窗口控制胶囊 |\n\n## Notes on the 3.0.0 revision / 3.0.0 改版说明\n\nThe 2.0.0 build was measured against a reference screenshot, and the finding was\nnot about lightness at all — it was **hue**. Blue-minus-red on the 2.0.0 canvas\nwas 7, i.e. grey; the reference sits at 21–24. Every surface now carries a real\nblue lead (measured 23 across the whole rendered frame).\n\nA band scan also **disproved the gradient theory**: the reference panels are\nessentially flat (drift −0.11…−0.23 pts), so hierarchy is carried instead by\nreal 1px borders and by a confident selected fill. 2.0.0 used a 13% accent wash\nfor selection, which measured as nothing; the solid `#1B4F53` gradient now lifts\n+3.6 pts over a plain row, matching the reference's own +2.1.\n\nFluorescent mint was replaced by a lower-chroma teal and confined to selection,\nprimary actions and focus. Bloom shadows gave way to a 3–5% top light, grain was\ncut to 0.035, radius was pulled onto one 8/10/12 ladder, prose line-height was\nraised to 1.72, and the scrollbars — which the host builds out of\n`--ds-text-primary`, now near-white — were pinned back so they stop reading as\nbright bars.\n\n## Notes on the 2.0.0 revision / 2.0.0 改版说明\n\nThe 1.0.0 build was measured against a real screenshot and two of its ideas were wrong:\n\n1. **Semi-transparent white tiles cannot separate dark surfaces.** `--ds-tile` at 3.5% white over a near-black canvas produced a card that was optically identical to the page it sat on. The fix is opaque step values plus solid 1px borders.\n2. **`soft-light` grain is a no-op on near-black.** Its effect scales with `backdrop × (1 − backdrop)`, which is ~0.04 at `#0a0e0c`. Grain is now a faint `overlay` film at 0.05 opacity, kept because it still breaks up large flat fills.\n\nRecessing the composer into a darker well also backfired — it simply disappeared. Fields are lighter than the canvas again.\n\n1.0.0 版本经真实截图测量后，发现两处判断失误：\n\n1. **半透明白色色块无法分隔深色表面**：近黑画布上叠 3.5% 白，卡片与页面在视觉上完全相同。改用不透明分档色值 + 实色 1px 边框。\n2. **`soft-light` 噪点在近黑背景上等于没有**：其强度与 `背景 × (1 − 背景)` 成正比，在 `#0a0e0c` 处仅约 0.04。现改为 0.05 不透明度的 `overlay` 薄膜，保留它是因为仍能打破大面积纯色。\n\n此外把输入框做成比画布更暗的\"凹井\"也适得其反——它直接看不见了，现已改回比画布更亮。\n",
      "safetyNotes": "Pure styling. The plugin contributes one global theme (CSS only) and a small info panel. No network, file, clipboard, shell, or agent access.",
      "versions": [
        {
          "version": "3.0.0",
          "publishedAt": "2026-09-20T01:32:20Z",
          "changelog": "Release 3.0.0: retuned against a measured reference screenshot. The decisive finding was hue, not lightness — the 2.0.0 canvas had a blue-minus-red lead of 7 (grey), while the reference sits at 21-24; every surface is now blue-dominant (measured 23 across the frame). A band scan also disproved the gradient theory: the reference panels are essentially flat (drift -0.11..-0.23 pts), so hierarchy is carried by real 1px borders (#2A4054 / #1C2B3A, which rise 1.0-2.8 pts off their neighbours) and by a solid cyan-teal selection fill (#1B4F53, +3.6 pts over a plain row) instead of the 13% wash 2.0.0 used, which measured as nothing. Ladder: #091219 inset, #0F1B26 app, #12202C rails, #0E1A25 reading column, #182835 cards, #1B2C3B fields, #1E3040 raised, #223648 hover. Text: #F2F7FA titles, #C4D2DD body (11.4:1, down from 17.1:1), #8FA3B4 secondary, #6A7E8F hints. Accent lowered from #65D6BC to #5CD0B8 and reserved for selection, primary actions and focus. All bloom removed in favour of a 3-5% top light; grain cut to 0.035; radius pulled onto one 8/10/12 ladder; prose line-height raised to 1.72; scrollbars retuned. Release 2.0.0: blue-grey rebalance after a screenshot review. Release 1.0.0: first release.",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "e03fd14aa9b11c984a6d5876477a3898f5ab30123357891962405af5cb7fd32e",
          "url": "packages/pi.obsidian-theme-3.0.0.piplug",
          "sizeBytes": 61705,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "pi.piopt",
      "name": "PiOpt",
      "description": "PiOpt 是 PI-Desktop 的控制台插件：外观（界面动效的克制预设与实时预览、减弱动态保护、推理强度滑杆的吸附动效，以及可即时开关的窗口磨砂材质、背景图与 Wallpaper Engine 壁纸（video 直接播放、scene 由随插件分发的 WebWallGL 引擎渲染），以及按帧率重绘视频壁纸的性能模式）、行为（聊天框的模型浮窗始终列出全部模型，可按默认顺序 / 供应商 / 厂商 / 名称排列，选中标记可用圆角框替代对勾，推理强度滑杆的档位可译成中文，窗口入口（新建任务、搜索）可从会话标题栏搬进侧边栏）、远程（同一局域网里配对后的设备可以看会话、发指令、停止运行，电脑浏览器同样可用）与插件市场（读取官方目录，经镜像下载并按 sha256 校验），并在侧边栏左下角第二个按钮后提供一个控制台入口。",
      "author": "Lu-Mine",
      "i18n": {
        "en": {
          "name": "PiOpt",
          "description": "PiOpt is the PI-Desktop control console: appearance (unified symmetric motion language at 0.4–2.0x speed applied live with reduced-motion protection, a snap on the reasoning-effort slider, plus an instantly switchable frosted window material with an optional wallpaper, a Wallpaper Engine clip or a rendered Wallpaper Engine scene), behavior (the chat composer's model popup always lists every model in host order, by provider, by vendor or by name, with an optional rounded frame instead of the selected row's check and Chinese names for the reasoning-effort ticks), the phone (a paired phone on the same LAN can read sessions, send prompts and stop a turn), and a plugin market and update preparer (official catalog, mirrored downloads verified by sha256), plus a console entry in the sidebar footer, right after the second of the host's buttons.",
          "safetyNotes": "The file context menu can open allowlisted files from the active session scratch or project directory using the system default application. The plugin process resolves real paths and refuses directory escapes. The market feature reads the plugin registry and catalog with Node fs inside the plugin process, writes only its own data folder, and downloads packages over https from four hard-coded hosts, verifying sizeBytes and sha256; it never installs. The appearance feature registers one runtime theme containing motion CSS (including the reasoning-effort slider's snap) and an optional glass layer built only from background fills, gradients and backdrop filters, with no color tokens, network or file access outside its own data folder; it also reads Steam's 431960 workshop folder, read-only, to list projects, read their square cover images and, for a picked scene, write that project's scene.pkg into its own data folder as one base64 payload file, keeping only the newest. ui.theme is used only for that one runtime theme, and agent.prompt.inject only indexes skills/piopt.md for on-demand loading. renderer.extension is used for one module that mounts a single entry button into the host window's sidebar footer and removes it on unload; the same module coordinates reversible animations on inert clones while motion optimization is active and rewrites the chat composer's model popup in that window using cloned buttons, hiding the selected row's check in favour of a ring and relabelling the reasoning slider's ticks when asked, with RPC actions going through plugin.call back to the plugin process. The module reads no files and sends no network requests, and touches no other plugin's UI; its wallpaper layer is either a single video element pointed at the path the plugin process hands it, decoded by the host's Chromium rather than by the module, or a WebGL2 canvas driven by the bundled WebWallGL engine (MIT) over the bytes that same process streams to it."
        },
        "zh-CN": {
          "name": "PiOpt 控制台",
          "description": "PiOpt 是 PI-Desktop 的控制台插件：外观（0.4–2.0× 统一对称界面动效、推理强度滑杆的吸附动效、窗口磨砂材质与 Wallpaper Engine 壁纸（video 直接播放、scene 由内置引擎渲染），改完即时生效）、行为（聊天框的模型浮窗始终列出全部模型，可按默认顺序、供应商、厂商或名称排列，选中标记可用圆角框替代对勾，推理强度滑杆的档位可译成中文，窗口入口可搬进侧边栏）、远程（同一局域网里配对后的设备可以看会话、发指令、停止运行，电脑浏览器同样可用）与插件市场（官方目录、镜像下载并按 sha256 校验），并在侧边栏左下角第二个按钮后提供一个控制台入口。",
          "safetyNotes": "文件右键菜单可通过系统默认程序打开当前会话临时目录或当前项目目录内允许的文件类型；插件进程解析真实路径并拒绝越界。市场功能在插件进程内用 Node fs 读取插件注册表与官方目录，只写自己的数据目录；.piplug 只从四个硬编码域名走 https 下载，且只有 sizeBytes 与 sha256 校验通过才会保留，从不安装、不改 registry.json。外观功能只注册一个运行时主题，其中只有动效规则（含推理强度滑杆停在每一格时的吸附）与可选的玻璃层（背景填充、渐变、backdrop-filter），不含颜色 token，除自己的数据目录（存放用户选的背景图）与 Steam 的 431960 创意工坊目录（只读：列出项目、读它的 project.json 与方形封面；选中 scene 时把它的 scene.pkg 转成数据目录里的一份 scene-payload-{id}.js（base64，只留最近一份））外不访问文件或网络。每个功能的状态都存放在插件自己的 settings 中。ui.theme 仅用于这一个外观主题，agent.prompt.inject 仅用于收录 skills/piopt.md。renderer.extension 只用于一个渲染模块：它在宿主窗口侧边栏左下角的按钮栏里挂一个入口按钮，卸载时移除；在开启载荷动效时用惰性克隆协调可往返动画的对称退回与打断；并改写聊天框的模型浮窗（展开全部模型、用克隆按钮按所选方式排列，需要时把选中行的对勾换成圆角边框、把推理强度的档位换成中文、把「新建任务」与「搜索」搬进侧边栏并按实测偏差摆正面板开关的图标），以及壁纸层——video 是一个指向插件进程给出的路径的视频元素，由宿主自己的 Chromium 解码；scene 是一块由随插件分发的 WebWallGL（MIT）绘制的 WebGL2 画布，画的是插件进程分块送来的 scene.pkg 字节；两种情况下模块自己都不做文件读写——RPC 均经 plugin.call 交回插件进程。模块不读文件、不访问网络、不触碰其他插件的界面。"
        }
      },
      "categories": [
        "developer-tools",
        "productivity",
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 45,
      "homepage": "https://github.com/Lu-Mine/PiOpt",
      "readmeMarkdown": "# PiOpt\n\nPI-Desktop 的控制台插件：外观（界面动效与窗口磨砂材质）、行为（聊天框模型浮窗）、插件市场、局域网远程控制，四栏合在一个面板里。\n\n当前版本 `2.0.0` · 需要 PI-Desktop `0.21.0` 或更高 · MIT\n\n\u003e **注意**：本项目由 Vibe Coding 开发，不保证可用性、安全性或特定用途适用性；使用风险由使用者自行承担。\n\n## 核心功能\n\n面板挂在侧栏左下角的控制台入口后面，左侧按「外观 / 行为 / 插件市场 / 远程」切换，`Alt+1`–`Alt+4` 直达。\n\n| 模块 | 能做什么 |\n|---|---|\n| 外观 | 注册统一的 `PiOpt Appearance` 主题：对称减速度动效预设（强度 50–150%、速度 0.40–2.00×、减弱动态跟随或彻底禁用），以及窗口内磨砂玻璃（模糊强度、本地背景图、Wallpaper Engine `video` 与 `scene` 壁纸） |\n| 行为 | 聊天框的模型浮窗一次列出全部模型，可按默认顺序 / 供应商 / 厂商 / 名称排列；品牌图标、圆角框选中态、中文推理强度、把新建任务与搜索搬进侧边栏、会话文件右键打开 |\n| 插件市场 | 读取官方目录，按 jsDelivr → raw → GitHub Blobs API → plugins.aiuo.net 的顺序回退下载更新包，流式校验 `sizeBytes` 与 `sha256`，并给出通道诊断与权限风险分级 |\n| 远程 | 同一 Wi-Fi 下用手机或另一台电脑的浏览器连接：扫码 + 6 位配对码，看项目与会话、发指令、中止运行、从历史消息分叉重问 |\n\n## 安装\n\n1. 确认宿主是 PI-Desktop `0.21.0` 或更高版本。\n2. 在 **Plugins → 市场**里搜索 PiOpt 安装，按提示授予扩展、网络、主题与会话相关权限。\n3. 想用离线包：从 Releases 下载 `pi.piopt-2.0.0.piplug`，在 Plugins 页面选择安装包。\n\n### 开发模式\n\n在 **Plugins → Load development plugin** 里选本仓库根目录，保存即重载；改动 `manifest.json` 的权限时需要手动重载一次。\n\n```\nnode --test test/*.test.js\nnode --check main.js\n```\n\n## 常用入口\n\n命令面板里：\n\n- `PiOpt: 打开控制台`：回到上次停留的那一栏\n- `PiOpt: 打开外观` / `PiOpt: 打开窗口材质`：直达外观的两个小节\n- `PiOpt: 打开远程访问`：打开局域网配对与二维码\n- `Pimarket: 准备全部可用更新`：串行下载并校验所有可更新的插件\n\n## 文档\n\n- [技术架构与实现说明](https://github.com/Lu-Mine/PiOpt/blob/main/docs/ARCHITECTURE.md)：动效曲线、双层磨砂原理、Wallpaper Engine 通道、权限边界与目录结构\n- [上架合规说明](https://github.com/Lu-Mine/PiOpt/blob/main/docs/MARKET-COMPLIANCE.md)：每条权限的实际调用点、网络出口、写入位置与已知攻击面\n- [版本与提交规范](https://github.com/Lu-Mine/PiOpt/blob/main/VERSIONING.md)：语义化版本规则与发布约束\n\n## 许可\n\nMIT。内置 `lobe-icons` 与 `WebWallGL` 遵循各自附带的 MIT 许可证。\n",
      "safetyNotes": "A user can open allowlisted files in the active session scratch or project directory via the file context menu and the system default application. The plugin process resolves real paths and rejects paths outside that directory. PiOpt bundles three features that each stay inside their own boundary. The market feature reads the plugin registry and market catalog with Node fs inside the plugin process, writes only its own data folder, and downloads .piplug files over https from four hard-coded hosts, verifying sizeBytes and sha256 before a package is kept; it never installs and never edits registry.json. The appearance feature registers one runtime theme whose CSS carries motion rules (including the snap the reasoning-effort slider makes between stops) and an optional glass layer made only of background fills, gradients and backdrop filters: no color tokens of its own, no remote resources, no file or network access outside its own data folder, where an uploaded wallpaper is written, plus read-only access to Steam's 431960 workshop folder to list projects, read each project.json and its square cover image, and - for a scene the user picks - write that project's scene.pkg into its own data folder as one base64 payload file, keeping only the newest. Each feature keeps its state in the plugin's own settings. ui.theme is used only for that one PiOpt Appearance runtime theme. agent.prompt.inject only indexes skills/piopt.md for on-demand loading. renderer.extension is used for one module that mounts a single entry button into the host window's sidebar footer, right after the second button, coordinates reversible exit/interruption animations on inert clones while motion optimization is active, and rewrites the chat composer's model popup in that window — expanding it, building a sorted list out of cloned buttons, hiding the selected row's check in favour of a ring, and relabelling the reasoning slider's ticks — with RPC actions going through plugin.call back to the plugin process. The module reads no files and sends no network requests, and touches no other plugin's UI; it does mount one wallpaper layer: for a clip, a video element pointed at the absolute path the plugin process hands it, decoded by the host's own Chromium; for a scene, a WebGL2 canvas driven by the bundled WebWallGL engine (MIT) over the scene.pkg bytes that same process streams to it. The module itself never opens a file. The remote feature runs one HTTP server on the LAN only while the user turns it on in the panel: it serves a small phone page plus an API that lists sessions, reads one transcript, sends a prompt and aborts a turn. Sessions and their metadata come from the desktop channel (session/list, session/get); a transcript is read from that session's own jsonl in the PI-Desktop data folder with Node fs - the tail only (256 KB, cached by file size) - the same way the market feature reads the plugin registry, because the desktop channel does not carry message bodies. Prompts and aborts go through desktop.invoke. It never approves tool permissions or plans, never deletes, configures or renames anything, and requires a device token minted by pairing with a six-digit code shown in the panel; pairing is rate limited per address, and the server stops listening on unload or when the panel switch is turned off.",
      "versions": [
        {
          "version": "2.0.0",
          "publishedAt": "2026-11-24T17:06:42Z",
          "changelog": "## 2.0.0\n\nPiOpt 在官方目录里的第一个版本：一个面板里集成外观、行为、插件市场与局域网远程四栏。\n\n- 版本号从 2.0.0 起：插件 id 定为 `pi.piopt`，对以前装过 `local.piopt` 的安装是不兼容变更。\n- 以前装过 `local.piopt` 的，先在 Plugins 页卸载它，再把 `~/.pi-desktop/plugins/data/local.piopt/` 复制成 `~/.pi-desktop/plugins/data/pi.piopt/`，然后装本版本。两个 id 同时启用会抢同一批命令和同一张主题。\n- 说明文档为纯 Markdown：宿主渲染时丢弃 HTML、主窗口 CSP 只允许 `data:` / `blob:` 图片，所以不放徽章与外链图。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "4bf46debacd920bee833d795d8eae4505ed6486b8942ea1610e055f86be05c33",
          "url": "packages/pi.piopt-2.0.0.piplug",
          "sizeBytes": 2078828,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "clipboard.write",
            "desktop.control",
            "net.fetch",
            "renderer.extension",
            "session.read",
            "shell.openExternal",
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Lu-Mine/PiOpt",
            "sourceRef": "v2.0.0",
            "sourceCommit": "989c00dc55e93e639ed1f13e3931204ce9cbd6f9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-24T17:04:13Z"
          }
        }
      ]
    },
    {
      "id": "cn.star.user-profile",
      "name": "User Profile（用户画像）",
      "description": "本地记「用户是谁」和「这台机器怎么用」。有字符上限。每轮注入系统提示，Agent 用 `memory` 工具写。\n不接远程记忆服务，不写 skill。兼容 modelcontextprotocol/server-memory。",
      "author": "TheFalreStar",
      "i18n": {
        "en": {
          "name": "User Profile",
          "description": "Keeps a size-limited local note about who the user is and how this machine is used. The note is injected into each system prompt and written through the memory tool. No remote memory service and no skills are written. Compatible with modelcontextprotocol/server-memory."
        },
        "zh-CN": {
          "name": "用户画像",
          "description": "本地记「用户是谁」和「这台机器怎么用」。有字符上限。每轮注入系统提示，Agent 用 `memory` 工具写。 不接远程记忆服务，不写 skill。兼容 modelcontextprotocol/server-memory。"
        }
      },
      "categories": [
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cn",
      "downloads": 615,
      "readmeMarkdown": "# User Profile\r\n\r\nPI-Desktop 插件。本地 `USER.md` / `MEMORY.md`，有字符上限，每轮注入系统提示。Agent 用 `memory` 工具增删改。\r\n\r\n## 安装\r\n\r\n导入后彻底退出 PI 再开。\r\n\r\n## 记什么\r\n\r\n| 文件 | 用途 |\r\n| --- | --- |\r\n| `USER.md` | 身份、沟通习惯、稳定偏好 |\r\n| `MEMORY.md` | 环境、项目约定、工具坑 |\r\n\r\n只写陈述句，例如「用户希望回复短」。不要写「永远要简洁」这种命令口吻。一次性任务、密钥、可复用流程（那是 skill）不要往这里塞。\r\n\r\n默认上限：USER.md 1375 字，MEMORY.md 2200 字。超了会拒写，不截断。设置里可改。\r\n\r\n档案在 `%USERPROFILE%\\.pi\\agent\\user-profile\\`。卸载插件不会删这些文件。\r\n\r\n## 对话里\r\n\r\n- 工具名是 `memory`（`add` / `replace` / `remove`，`target` 为 `user` 或 `memory`）\r\n- 没有 read：当前快照已经在系统提示里\r\n- 默认每 10 次非 memory 工具调用，下一轮会提示是否该记一条（可关）\r\n- Plan 模式不提供这个工具\r\n\r\n## 设置\r\n\r\n| 项 | 默认 |\r\n| --- | --- |\r\n| Enable user profile | 开 |\r\n| Inject and write USER.md | 开 |\r\n| Inject and write MEMORY.md | 开 |\r\n| USER.md character limit | 1375 |\r\n| MEMORY.md character limit | 2200 |\r\n| Nudge after N tool calls | 10（0 为关） |\r\n\r\n关掉总开关后，本轮不注入，`memory` 也拒写。\r\n\r\n## 不会做什么\r\n\r\n- 不写 `~/.agents/skills`\r\n- 不把 MCP knowledge-graph / `create_entities` 当后端\r\n- 不调用远程记忆 API\r\n",
      "versions": [
        {
          "version": "0.1.7",
          "publishedAt": "2026-09-17T08:09:50Z",
          "changelog": "- 本地记「用户是谁」和「这台机器怎么用」。有字符上限。每轮注入系统提示，Agent 用 `memory` 工具写。\n- 不接远程记忆服务，不写 skill，兼容 modelcontextprotocol/server-memory。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "df1646d8841148036a1bcb80f347d7bc0296d47bc85e556723b9ef06f165fa1c",
          "url": "packages/cn.star.user-profile-0.1.7.piplug",
          "sizeBytes": 31386,
          "permissions": [
            "agent.extension",
            "notify"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-17T08:09:42Z"
          }
        }
      ]
    },
    {
      "id": "pi.log-viewer",
      "name": "Log Viewer",
      "description": "大日志文件查看器：GB 级流式分页、虚拟滚动、实时跟随、搜索高亮、文本/等级过滤、钉住对比。Log viewer for huge files: paging, tail, search, filter, pin.",
      "author": "Tioit-Wang",
      "i18n": {
        "en": {
          "name": "Log Viewer",
          "description": "Large log file viewer: GB-scale streaming paging, virtual scrolling, live tail-follow, search highlight, text/level filters and pinned lines.",
          "safetyNotes": "Opens only the .log/.txt files you pick or drag in, reads them read-only inside the plugin process; writes nothing and performs no network calls."
        },
        "zh-CN": {
          "name": "日志查看器",
          "description": "大日志文件查看器：GB 级流式分页、虚拟滚动、实时跟随、搜索高亮、文本/等级过滤、钉住对比。",
          "safetyNotes": "仅打开你选择或拖入的 .log / .txt 文件，在插件进程内只读访问；不写入文件，不发起网络请求。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 341,
      "readmeMarkdown": "# 日志查看器 · Log Viewer（PI-Desktop 插件）\r\n\r\n插件 ID：`pi.log-viewer`  \r\n流式分页查看超大日志文件：GB 级秒开、实时跟随、搜索高亮、文本/等级过滤、钉住对比、多文件页签。\r\n\r\n## 功能\r\n\r\n- **GB 级秒开**：按字节分块读取（4 MB/块），粗粒度行索引（每 512 行记一个\r\n  字节偏移），虚拟滚动渲染，内存占用与文件大小无关。\r\n- **实时跟随**：轮询文件增长自动追尾；向上翻阅自动暂停，滚回底部恢复；\r\n  文件轮转（truncate / 重建）自动重载。静态文件在打开时不会被误报为「有新增」，\r\n  仅当文件字节真实增长时才提示跳转。\r\n- **搜索（高亮）**：AND 关键字、`\"短语\"`、`-排除`、`level:error,warn`、\r\n  `-level:debug`、独立正则开关与大小写开关；异步扫描带进度可取消，\r\n  F3 / Shift+F3 和按钮循环导航，命中高亮。正则有长度与嵌套量词防护（防 ReDoS）。\r\n  搜索**不隐藏**任何行，只负责定位与高亮。\r\n- **过滤（只看命中）**：独立过滤栏（`Ctrl+Shift+F`）。输入关键字或正则后，\r\n  视图只保留命中行；勾选「隐藏匹配」则反向，隐藏命中、显示其余行。\r\n  与等级徽章过滤为 AND 叠加。过滤视图按需流式加载 + 虚拟滚动，大数据量下不卡顿。\r\n- **级别统计**：ERROR / WARN / INFO / DEBUG 全文计数徽章，点击按\r\n  **中性 → 包含 → 排除 → 中性** 循环；多个包含等级为 OR，排除优先，文本条件与等级条件为 AND。\r\n- **多文件页签**：一次多选打开多个日志；每页签独立记忆浏览位置、编码、\r\n  跟随与过滤状态，重开面板续看上次位置（拖入文件除外，见下）。\r\n- **复制**：点击行号复制整行、右键菜单复制选中内容。\r\n- **编码**：UTF-8 / GBK / GB18030 按页签切换（行索引基于字节偏移，\r\n  切换编码无需重建索引）。\r\n- **主题与外观**：明 / 暗主题（默认跟随宿主 `app.getAppearance`），日志字号和等宽字体可调。\r\n\r\n## 使用\r\n\r\n1. 将本目录作为开发插件载入 PI-Desktop（Plugins → Load development\r\n   plugin）。\r\n2. 全局搜索执行命令「日志查看器：打开」，或直接打开插件面板。\r\n3. 点击「＋」或「打开日志」→ 系统文件选择器多选 `.log` / `.txt` 直接打开；\r\n    或直接把文件拖入窗口。宿主无法解析所选路径时回退为「选目录 → 列出日志」。\r\n4. 快捷键：`Ctrl+F` 聚焦搜索、`Ctrl+Shift+F` 聚焦过滤、`F3` / `Shift+F3` 循环导航、\r\n   `Ctrl+G` 跳转行号、`Esc` 退出输入。\r\n\r\n## 搜索 vs 过滤\r\n\r\n| | 搜索（上栏） | 过滤（下栏） |\r\n|---|---|---|\r\n| 行为 | 全文扫描，高亮命中，可上下跳转 | 只显示（或隐藏）命中行 |\r\n| 快捷键 | `Ctrl+F` / `F3` | `Ctrl+Shift+F` / Enter 应用 |\r\n| 与等级徽章 | 独立 | AND 叠加 |\r\n\r\n两者都支持：空格 AND、`\"短语\"`、`-排除`、正则与大小写开关。\r\n\r\n## 查询语法\r\n\r\n空格分隔的普通词是 AND；双引号包裹短语；反斜杠转义下一个字符（例如\r\n`\"connection \\\\\"refused\\\\\"\"`）；未闭合引号会被拒绝。以 `-` 开头的词是排除条件。\r\n`level:error,warn` 表示等级 OR，`-level:debug` 表示排除 DEBUG。勾选「正则」后，\r\n每个文本词独立编译为正则，普通查询不会隐式变成正则；正则模式会保留 `\\\\d`、`\\\\s` 等正则转义，\r\n仅把引号、空格和反斜杠的转义用于查询分词。\r\n\r\n## 权限\r\n\r\n| 权限 | 用途 |\r\n|---|---|\r\n| `ui.panel` | 面板窗口 |\r\n| `clipboard.write` | 复制整行 / 选中内容 |\r\n| `fs.read`（root: userSelected） | 仅用于目录回退流程：`fs.requestDirectory` 弹出系统目录选择器 |\r\n\r\n## 治理说明（重要）\r\n\r\n所有文件 IO 都在插件进程内用原生 `node:fs` 完成：`fs.promises.open` 只读句柄\r\n负责 `stat` / 范围读取 / 轮转重开，目录列表用 `readdir`。宿主只负责把用户\r\n手势解析成路径——文件选择器与拖入由面板 preload 的 `getDroppedFilePath`\r\n解析，目录回退走 `fs.requestDirectory`；读取阶段不再依赖任何宿主 fs grant。\r\n\r\n上一版基于 `pi.fs.stat` / `pi.fs.readRange` 的权限网关方案见\r\n[docs/host-api-proposals.md](docs/host-api-proposals.md)（历史设计记录）。\r\n\r\n## 架构\r\n\r\n```\r\nrenderer/index.html + app.js     沙箱面板：虚拟滚动、页签、搜索交互、轮询\r\nrenderer/level.js + query.js     等级识别与查询编译\r\n        │ pluginBridge.invoke(\"engine.*\")（宿主转发 → onPanelInvoke）\r\nmain.js                          生命周期 + 通道分发\r\nlib/log-engine.js                顺序索引游标 / 稀疏块偏移跳读 / tail / 搜索\r\n         │ node:fs（插件进程内原生 IO：open / stat / read / readdir）\r\n```\r\n\r\n- 行拆分基于原始字节（0x0A），UTF-8 / GBK / GB18030 均不会在多字节序列\r\n  中出现 0x0A，字节偏移与编码无关。\r\n- 顺序游标负责统计与 tail；任意跳读（分页、搜索）从最近块偏移起点本地\r\n  计数，不移动游标。\r\n- tail 增量通过小环形缓冲（4000 行）下发；客户端落后过多时收到\r\n  `catchup` 信号并重新分页。\r\n- 文件末行即使没有结尾换行也会被索引；轮转时旧句柄会在切换后关闭。\r\n\r\n## 已知限制\r\n\r\n- 拖入 / 选择器打开的文件仅限当前插件进程内访问，不跨会话持久化；文件本身支持跟随增长。\r\n- 过滤视图（等级或文本）为顺序流式浏览 + 虚拟滚动；`Ctrl+G` 会定位到不小于目标行号的第一条可见过滤结果。\r\n- 过滤视图中的搜索命中会按原始行号加载并居中；如果命中行被过滤条件排除，则保留命中计数并提示其不在当前视图。\r\n- 等级识别优先读取 `|INFO|`、`[INFO]`、`level:INFO` 以及常见 Log4j / Logback / Python logging 前缀，\r\n  最后才使用整行 token fallback；没有显式等级的多行堆栈行按 `other` 处理，不继承上一行等级。\r\n- 搜索定位前 5000 处（计数完整）。\r\n- 单文件行长度截断 4000 字符；面板对宿主无感知的极长行（\u003e16 MB 无换行）\r\n  会强制断行。\r\n- 正则搜索会拒绝过长或含嵌套量词的表达式（防灾难性回溯）。\r\n- 无导出功能；可用行号点击 / 右键复制。\r\n- 时间戳跳转、书签、columnizer、远程日志：规划中。\r\n\r\n## 开发\r\n\r\n```bash\r\n# 语法检查\r\nnode --check main.js \u0026\u0026 node --check lib/log-engine.js \u0026\u0026 node --check renderer/app.js\r\n\r\n# 单元测试（公共等级/查询解析、native engine 过滤与搜索）\r\nnode --test test/log-viewer.test.js\r\n\r\n# 清单校验（在 PI-Desktop 仓库根目录）\r\npnpm pi-plugin check F:\\pi-plugin-log-viewer\r\n```\r\n\r\n## 验收边界\r\n\r\n- 导出不属于当前版本范围；复制整行或选中内容是受支持的替代操作。\r\n- 打开文件需要用户手势（文件选择器 / 拖入 / 选目录）；所有读取在插件进程内用原生 `node:fs` 只读完成。\r\n- 目录回退流程使用宿主 `fs.requestDirectory` 弹出系统目录选择器；读取阶段无其他宿主文件通道。\r\n\r\n加载为开发插件后支持热重载（改动后约 300 ms 自动重载）。\r\n\r\n## 社区\r\n\r\n本插件在 [LINUX DO](https://linux.do/) 社区分享与讨论，欢迎佬友反馈：\r\n\r\n- 宿主项目讨论帖：[【PI-Desktop】两个月，300 亿 Token，终于把自己想要的 Agent 桌面端搓出来了](https://linux.do/t/topic/2869113)\r\n- 社区入口：[https://linux.do](https://linux.do/)\r\n",
      "safetyNotes": "Opens only the .log/.txt files you pick or drag in, reads them read-only inside the plugin process; writes nothing and performs no network calls.",
      "versions": [
        {
          "version": "0.2.1",
          "publishedAt": "2026-09-28T09:25:55Z",
          "changelog": "## 0.2.1\n\n### 修复\n- 「＋」/「打开日志」用系统文件选择器打开文件时报 PERMISSION_DENIED：文件打开不再依赖宿主拖放手势授权，选择器与拖入统一由面板解析路径后由引擎直接打开。\n- 过滤视图扫描游标：修复两次分页之间命中行被跳过的问题（长日志漏行）。\n- 实时跟随 + 过滤视图：扫到文件尾后，新写入的日志现在会继续出现。\n- 读取临时 IO 错误不再被误判为 EOF，过滤视图不再卡死。\n- 日志轮转后过滤视图自动从新文件重建。\n- 恢复会话时活动页签索引错位。\n\n### 变更\n- 全部文件操作改为插件进程内原生 `node:fs`（open / stat / read / readdir），不再调用宿主 `pi.fs.stat` / `readRange` 权限网关。\n- 跳读分块从 4 MB 降为 256 KB，随机翻页更快、过读更少。\n\n### Fixed (EN)\n- File-picker \"add log file\" no longer fails with PERMISSION_DENIED: all file IO is native node:fs inside the plugin process.\n- Filtered-view scan cursor no longer skips matches between pages; follow + filter keeps receiving newly written lines after EOF.\n- Transient read errors are no longer misreported as EOF; rotation rebuilds the filtered view; session-restore active-tab index fixed.\n- Jump reads use 256 KB chunks instead of 4 MB.",
          "minPiDesktop": "\u003e=0.14.3",
          "shasum": "38aeba9db46f570cf3933da13da804e9df1c897d23b5373fea33bc3ff1f89a76",
          "url": "packages/pi.log-viewer-0.2.1.piplug",
          "sizeBytes": 165457,
          "permissions": [
            "clipboard.write",
            "fs.read",
            "ui.panel"
          ],
          "fs": {
            "read": {
              "root": "userSelected"
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-plugin-log-viewer",
            "sourceRef": "v0.2.1",
            "sourceCommit": "549fb853c67decf645f769f3743e03656584547b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T09:25:36Z"
          }
        }
      ]
    },
    {
      "id": "adoin.deepseek-harness",
      "name": "DeepSeek DSH向优化",
      "description": "让DeepSeek的模型在pi-desktop上使用更接近dsh：提示词优化、请求协议、缓存和推理参数优化。",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "DeepSeek DSH向优化",
          "description": "让DeepSeek的模型在pi-desktop上使用更接近dsh：提示词优化、请求协议、缓存和推理参数优化。"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "adoin",
      "downloads": 579,
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-10-19T08:03:10Z",
          "changelog": "使用1017的时候能更接近官方dsh体验，后续其他的也会增进",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "8a43db473876e9bf49c0dad01fa6fb0c33a5ae77daca952f411b1f38fd838031",
          "url": "packages/adoin.deepseek-harness-0.2.0.piplug",
          "sizeBytes": 30268,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "local.nebula-spectrum",
      "name": "Nebula Spectrum",
      "description": "A vibrant, high-tech appearance theme for PI-Desktop in three editions: a white conversation pane, a deep-ocean dark, and a near-black Onyx. All three keep the full spectrum at the window edges.",
      "author": "LiuHongXuMaritime",
      "i18n": {
        "en": {
          "name": "Nebula Spectrum",
          "description": "A vibrant, high-tech appearance theme for PI-Desktop in three editions: a white conversation pane, a deep-ocean dark, and a near-black Onyx. All three keep the full spectrum at the window edges.",
          "safetyNotes": "Appearance only. Ships no code beyond an empty lifecycle entry, makes no network requests, reads no files, and injects nothing but CSS custom properties scoped to its own theme id. Declares ui.window.appearance so the native window background can match the theme."
        },
        "zh-CN": {
          "name": "Nebula 光谱",
          "description": "炫彩科技感的 PI-Desktop 主题，含三套配色：白色对话面板、深海暗色、近黑 Onyx。三套都保留窗口边缘的整条光谱极光。",
          "safetyNotes": "只改外观。除空的生命周期入口外不含任何代码，不发起网络请求，不读取文件，只注入限定在本主题 id 下的 CSS 变量。声明 ui.window.appearance 仅用于让原生窗口底色跟随主题。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 75,
      "homepage": "https://github.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum",
      "readmeMarkdown": "# Nebula Spectrum\n\nPI-Desktop 外观主题插件，同一套光谱语言下的**三个版本**。\n\n| 主题 | id | 基础色 | 外观 |\n| --- | --- | --- | --- |\n| Nebula Spectrum | `nebula` | `dark` | **深色对话区**（`#0a171f`）+ 窗口外围多色光谱（琥珀 / 玫红 / 洋红 / 靛蓝 / 青 / 青绿） |\n| Nebula Spectrum Onyx | `nebula-onyx` | `dark` | **更黑的纯黑版**（对话区 `#04070b`、画布 `#000000`），同款外围光谱 |\n| Nebula Spectrum Light | `nebula-light` | `light` | **白色对话区** + 窗口外围多色光谱（琥珀 / 玫红 / 洋红 / 靛蓝 / 青 / 绿） |\n\n- 插件 id：`local.nebula-spectrum`\n- 完整主题 id：`plugin:local.nebula-spectrum:nebula` / `plugin:local.nebula-spectrum:nebula-light`\n- 权限：`ui.theme`（注入主题 CSS）、`ui.window.appearance`（原生窗口底色，消除启动白闪）\n\n## 预览\n\n三套主题共用同一份布局，只改令牌映射与主色：\n\n**Nebula Spectrum**（深色）— 深海军蓝对话区，青 / 蓝 / 青绿弧线，窗口右下角一点玫红\n\n![Nebula Spectrum](https://raw.githubusercontent.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum/main/docs/preview-nebula.jpg)\n\n**Nebula Spectrum Light** — 白色面板承载文字，整窗铺琥珀 / 玫红 / 洋红 / 靛蓝 / 青 / 绿的光谱\n\n![Nebula Spectrum Light](https://raw.githubusercontent.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum/main/docs/preview-light.jpg)\n\n**Nebula Spectrum Onyx**（深色）— 对话区沉到近黑，卡片只比面板亮一丝，光谱收在窗口边缘\n\n![Nebula Spectrum Onyx](https://raw.githubusercontent.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum/main/docs/preview-onyx.jpg)\n\n\u003e 截图来自主题 CSS 在真实宿主令牌下的渲染（1440 × 820）。\n\n## 安装\n\n1. 打开 PI-Desktop 的「插件」页。\n2. 载入本目录 `nebula-spectrum/`（开发模式热重载），或 `PluginPack` 打成 `.piplug` 后从文件安装。\n3. 在 设置 → 外观 里选择 **Nebula Spectrum** 或 **Nebula Spectrum Light**。\n\n## 实现要点\n\n两套主题都是纯 CSS，没有脚本、没有外部资源；`main.js` 只是插件入口的空壳。\n\n1. 选择器全部是 `:root[data-theme][data-plugin-theme=\"plugin:local.nebula-spectrum:\u003c主题\u003e\"]`。\n   三重属性选择器的特异性 (0,3,0) 高于宿主自己的 `:root[data-theme=dark]` / `[data-theme=light]` 令牌块，\n   所以无论样式表顺序如何都能覆盖，也不会泄漏到另一个主题或其它插件。\n2. 先重映射 `--gray-*` 中性色阶（深色版是紫调墨色，浅色版是紫调纸白），再显式覆盖语义令牌 `--ds-*`；\n   宿主从这两者派生的组件颜色会自动跟着变。\n3. 再对少数高曝光表面单独上渐变：`.app-shell`（极光）、`.sidebar-surface`（玻璃侧栏）、\n   `.composer-shell`（光谱描边）、`.send-btn`、`.message-bubble`、`.code-block-head`。\n\n浅色版的思路：**对话区（`.main-pane`）是纯白面板**，和输入框、代码块同一种白，正文直接落在白纸上；\n颜色只留在窗口外围——`.app-shell` 的 118° 多色 wash（琥珀→玫红→靛蓝→青→绿）、侧栏玻璃、输入框五段光谱描边、\n彩虹发送键，以及 `.main-pane` 顶部一条很淡的暖色光带。取色：对话框底 `#ffffff`、墨 `#1a1a26`（对比 ≈ 16:1）、\n强调色 `#be185d`（白底 ≈ 6.0:1）。\n\n气泡样式只作用于**用户自己的消息**（`.message-row.user .message-bubble`）：宿主的助手消息也带 `.message-bubble`，\n只把它重置成透明无内边距，所以助手回复直接落在阅读面上，不会被套进一个白框／深色框。\n用户气泡用 `#ffffff` + 1px 中性描边 + 轻微阴影，靠右下角的直角与大圆角区分\"我发的\"。\n\n深色版用同一套分层逻辑：对话区是**一整块沉稳的深色阅读面**（`.main-pane` → `#0a171f`），\n气泡 `#14262f`、代码块 `#0f1e27`、输入框半透明深色，彼此只靠发丝线和一两档明度差分层；\n彩色只留在窗口外围——`.app-shell` 的琥珀 / 玫红 / 洋红 / 靛蓝 / 青 / 青绿极光、玻璃侧栏、\n输入框五段光谱描边、彩虹发送键与顶部彩虹细线，以及对话区顶部一条很淡的彩色光带。\n两套主题共用同一套光谱色相，只是底色与文字层次相反。\n\n第三套 **Nebula Spectrum Onyx** 是深色版的再加黑一档：画布 `#000000`、对话区 `#04070b`、\n用户气泡 `#0b1218`、代码块 `#080d11`，层与层之间只差一两档明度，边框降到 `rgba(148,190,210,0.12–0.14)`；\n外围光谱与另两套完全一致（同一组色相，alpha 略降），阴影改成纯黑，让极光成为唯一的发光来源。\n\n## 想改颜色\n\n| 目标 | 变量 |\n| --- | --- |\n| 主背景 | `--ds-bg-primary` |\n| 面板 / 浮层 | `--ds-bg-secondary`、`--ds-bg-elevated` |\n| 强调色 | `--ds-accent`、`--ds-accent-hover` |\n| 文字层次 | `--ds-text-primary` / `-secondary` / `-muted` / `-faint` |\n| 分割线 | `--ds-border-default` |\n| 极光本体 | `.app-shell` 里的 `radial-gradient(...)` 层 |\n\n想更亮 / 更暗，通常只动两个数：`--ds-bg-primary` 和 `.app-shell` 各层极光的 alpha。\n\n## 预览\n\n`preview/` 里是原生尺寸的样张，直接双击打开：\n\n- `compare.html` — 深色与浅色并排对比\n- `specimen.html` / `specimen-light.html` — 单版本样张（文字层次、表面令牌、侧栏、气泡、代码块、输入框、设置卡片）\n\n## 开发校验\n\n`python validate_theme.py nebula-spectrum` 会跑一份宿主规则的本地镜像：\nmanifest 字段、主题 id / 路径 / 基础色、权限、CSS 体积上限、禁止项（`@import`、markup、脚本表达式、外部 `url()`），\n以及括号配平、规则作用域、声明完整性——`contributes.themes` 里的每个主题都会检查。\n",
      "versions": [
        {
          "version": "0.9.0",
          "publishedAt": "2026-11-21T04:36:33Z",
          "changelog": "0.9.0 — 主题改为中文命名：光谱·青蓝 / 彩虹 / 暖阳 / 冰蓝 / 玫瑰 / 余烬 / 朱红 / 霓虹；移除 Onyx，新增朱红（红黑 + 完整外围光谱）；气泡样式只作用于用户消息，助手回复不再被套框；各主题对话区改为实色，彩色只留在窗口边缘。",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "be3ba109c1e32973726471ab816619e6a363677fe7e24062cf2a6393981a5444",
          "url": "packages/local.nebula-spectrum-0.9.0.piplug",
          "sizeBytes": 92936,
          "permissions": [
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum",
            "sourceRef": "v0.9.0",
            "sourceCommit": "1a90bf26b8e41db60ce206731d076b74db034a7a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-21T04:34:14Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-11-20T06:44:09Z",
          "changelog": "## Nebula Spectrum 0.6.0\n\nThree editions of one appearance theme, all sharing the same token mapping:\n\n- **Nebula Spectrum** (dark) — deep navy conversation pane, cyan / blue / teal arcs with a single rose counterpoint lobe at the window edge.\n- **Nebula Spectrum Light** — calm white chrome carrying the text, the whole window washed in amber, rose, magenta, indigo, cyan and green light.\n- **Nebula Spectrum Onyx** (dark) — the conversation pane sinks to near-black, cards sit a hair above it, the spectrum stays at the edge.\n\nAppearance only: no scripts, no network, no file reads. `main.js` is an empty\nlifecycle shell; the whole plugin is three CSS files plus their manifest. Every\nrule is scoped to `:root[data-theme][data-plugin-theme=\"plugin:local.nebula-spectrum:\u003ctheme\u003e\"]`\nso it cannot leak into another theme or plugin.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "22b54e58fd4ff733f236cb7cd8427c6bf6ce1e193512dfbb261f9e91ff1608da",
          "url": "packages/local.nebula-spectrum-0.6.0.piplug",
          "sizeBytes": 47453,
          "permissions": [
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LiuHongXuMaritime/pi-desktop-theme-nebula-spectrum",
            "sourceRef": "v0.6.0",
            "sourceCommit": "a085e7012dc9d5d1d1abfd56e5b371d93e537e87",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T06:41:46Z"
          }
        }
      ]
    },
    {
      "id": "local.sidebar-labels",
      "name": "Sidebar Labels",
      "description": "Choose symbols and colors for conversations, and color existing project folder icons. Labels stay on your device.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "侧边栏标记",
          "description": "为会话选择标记符号和颜色，为项目原有文件夹图标选择颜色。支持预设色、自定义颜色与清除标记，设置保存在本机。"
        }
      },
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 67,
      "versions": [
        {
          "version": "0.1.1",
          "publishedAt": "2026-11-11T09:55:16Z",
          "changelog": "Initial release. Conversation symbols, preset and custom colors, project folder colors, keyboard access and local persistence. Tested with PI Desktop 0.21.0 on macOS.",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "6446ee3ba77677dda8952b16f7fdd94cc69d9d90201613ec2784561054e2674c",
          "url": "packages/local.sidebar-labels-0.1.1.piplug",
          "sizeBytes": 13019,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/RugkeyPro/pi-desktop-sidebar-labels",
            "sourceRef": "v0.1.1",
            "sourceCommit": "4613a8ff596f2280c6efb98e86bc7e3ad6715f4d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-11T09:46:41Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.llm-superagent",
      "name": "LLM Superagent",
      "description": "An autonomous team for any LLM: your agent routes each request into a ticket and hands it to a worker sub-agent (code, research, analysis, review, docs) on the model from your list best suited to its type of task and requirements.",
      "author": "Eskwisit",
      "categories": [
        "agents-workflow"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 228,
      "versions": [
        {
          "version": "0.25.1",
          "publishedAt": "2026-11-21T13:30:22Z",
          "changelog": "# Changelog\n\n## 0.25.1\n\n### Fixes\n\n- **main:** install the workers at load so new sessions can launch them (`1dde629`)\n\n### Documentation\n\n- **manifest:** state that the workers are installed at load (`0bf2d54`)\n- **readme:** state that the workers are installed at load (`291ae92`)\n\n### Tests\n\n- **tests:** expect the worker personas installed at load (`96ccbc7`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "8c2f2a7398543ab8f9734945e56c6bad97d1700bf4cb46b4834b9d38e8002ad1",
          "url": "packages/eskwisit.llm-superagent-0.25.1.piplug",
          "sizeBytes": 400210,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "delete": {
              "root": "workspace",
              "scope": [
                ".superagent/tickets/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.25.1",
            "sourceCommit": "1757a0af95f4c84d0aa5f43b0c5dabd39b5151e7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-21T13:28:02Z"
          }
        },
        {
          "version": "0.25.0",
          "publishedAt": "2026-11-17T10:55:40Z",
          "changelog": "# Changelog\n\n## 0.25.0\n\n### Features\n\n- **extension:** block Task calls that match no running launch item (`adb65e3`)\n\n### Documentation\n\n- **skills:** drop the generic sub-agent rule the guard enforces (`4f6116a`)\n- **readme:** describe the Task guard (`2b97e73`)\n\n### Tests\n\n- **tests:** cover the Task guard (`77d4074`)\n\n### Chores\n\n- update memory (`0d068a7`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "cff352b8b15e755117094494723cad72faae12980763644c11b351acef995fa9",
          "url": "packages/eskwisit.llm-superagent-0.25.0.piplug",
          "sizeBytes": 399444,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "delete": {
              "root": "workspace",
              "scope": [
                ".superagent/tickets/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.25.0",
            "sourceCommit": "b5ba2f48211b75b0fc0a918d855cbdc1db325218",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T09:56:17Z"
          }
        },
        {
          "version": "0.24.1",
          "publishedAt": "2026-11-12T19:59:41Z",
          "changelog": "# Changelog\n\n## 0.24.1\n\n### Fixes\n\n- **skills:** pin roleModels only when the person names a model, never to spread load (`4377a07`)\n\n### Documentation\n\n- **manifest:** order settings by control type and rewrite the hints in simplified english (`0b31aa4`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "97e33b4828bfe219e89278ca95dc173506440fce8770f3b4acba4971d75dbc49",
          "url": "packages/eskwisit.llm-superagent-0.24.1.piplug",
          "sizeBytes": 388289,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "delete": {
              "root": "workspace",
              "scope": [
                ".superagent/tickets/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.24.1",
            "sourceCommit": "5778601d4af6919fc75f470946503795d276af7e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T19:57:26Z"
          }
        },
        {
          "version": "0.24.0",
          "publishedAt": "2026-11-12T19:47:28Z",
          "changelog": "# Changelog\n\n## 0.24.0\n\n### Features\n\n- cleanupTickets setting trashes a ticket's briefs and reports when it ends (`8ef2ac4`)\n\n### Documentation\n\n- **readme:** document the cleanupTickets setting and the delete scope (`11e60c6`)\n- note the host json-settings save bug and the fs.remove limits (`c83f542`)\n\n### Tests\n\n- **tests:** cover ticket cleanup and a trash-like fs.remove in the fake host (`eba630a`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "854e000f064dbe1cb69dd6da62cab49a5575ca509105d2a6bad3e31c51aae2d8",
          "url": "packages/eskwisit.llm-superagent-0.24.0.piplug",
          "sizeBytes": 388064,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "delete": {
              "root": "workspace",
              "scope": [
                ".superagent/tickets/**"
              ]
            },
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.24.0",
            "sourceCommit": "9fc9c06132d8b7c6fb88b38576a56512171a09d1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T19:45:16Z"
          }
        },
        {
          "version": "0.23.0",
          "publishedAt": "2026-11-12T19:27:23Z",
          "changelog": "# Changelog\n\n## 0.23.0\n\n### Features\n\n- two workers, writer and reader, with the role rules in each brief (`325277e`)\n- one superagent tool with operation keys replaces the eight tools (`d964ab2`)\n\n### Fixes\n\n- register all eight tools at load so ToolSearch finds them (`970c0d7`)\n\n### Performance\n\n- **subagents:** shorten the worker personas by a quarter (`ea6bd8e`)\n- **prompts:** shorten the default team sections (`3e8dfea`)\n\n### Documentation\n\n- **readme:** describe the eight tools registered at load (`3d5fb79`)\n- **readme:** describe the one tool and the two workers (`0a3f779`)\n- add project memory (`9a37d50`)\n\n### Tests\n\n- **lifecycle:** cover the eight tools at load and the activation queries (`3c9a3dc`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "d48597594645536af5edfa9c6e7aaa4f28748f6e66b848a97ecb24c68df63c03",
          "url": "packages/eskwisit.llm-superagent-0.23.0.piplug",
          "sizeBytes": 383646,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.19.0",
            "sourceCommit": "42f5678fc5814c42f81be21f4e50b8fcc6333e2d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T19:25:20Z"
          }
        },
        {
          "version": "0.19.0",
          "publishedAt": "2026-11-12T17:03:31Z",
          "changelog": "# Changelog\n\n## 0.19.0\n\n### Features\n\n- **main:** shorten tool descriptions and schemas to cut prompt tokens (`d381c7d`)\n- **main:** refuse a generic acknowledgement (`a7b293c`)\n- **main:** register the team tools and workers on the first gateway call (`b32ed80`)\n- **subagents:** rename the workers from superagent-worker-* to worker-* (`39c44c6`)\n- **skills:** shrink the orchestrator skill to the workflow and the gateway (`1a2eb05`)\n\n### Refactoring\n\n- **subagents:** condense the shared worker instructions (`a0892e2`)\n\n### Documentation\n\n- **readme:** describe the gateway and the worker-* names (`b0dd0bf`)\n\n### Tests\n\n- **lifecycle:** cover the gateway, lazy workers and renamed personas (`4c68e0a`)\n- **domain:** refuse a generic acknowledgement (`cedf457`)\n- activate the team through the gateway in every setup (`ae25535`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "b3e94ca676b34adad73f4e1a00cb51c4bf20f2abe6479f8b4bf0d3f936ad1a8a",
          "url": "packages/eskwisit.llm-superagent-0.19.0.piplug",
          "sizeBytes": 384492,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.19.0",
            "sourceCommit": "42f5678fc5814c42f81be21f4e50b8fcc6333e2d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T17:01:23Z"
          }
        },
        {
          "version": "0.14.1",
          "publishedAt": "2026-11-12T14:17:03Z",
          "changelog": "# Changelog\n\n## 0.14.1\n\n### Bug Fixes\n\n- **main:** link the main checkout dependencies into a worktree (`de619bf`)\n\n## 0.14.0\n\n### Features\n\n- **main:** rate models by the thinking levels and label the host reports (`58d87ac`)\n- **main:** let parts split once more and carry their own requirements (`97b4f48`)\n\n### Documentation\n\n- **subagents:** tell the code worker to prefer parallel parts (`42c10fe`)\n- **skills:** start one ticket per part the message names (`866fca0`)\n- **readme:** describe typed parts, their requirements and nested splits (`7f0380a`)\n\n### Tests\n\n- **tests:** cover profiles read from host thinking levels (`b6a56b0`)\n- **tests:** cover nested splits and per-part requirement flags (`3540a15`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "906398c6701ff12060c558af3062c2205bc8a3897f1d5315300ea30e914d3d64",
          "url": "packages/eskwisit.llm-superagent-0.14.1.piplug",
          "sizeBytes": 297915,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.14.1",
            "sourceCommit": "25ae8c4bb919d070ec03bf2d514aa90585872b4b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T14:14:59Z"
          }
        },
        {
          "version": "0.14.0",
          "publishedAt": "2026-11-11T09:46:48Z",
          "changelog": "# Changelog\n\n## 0.14.0\n\n### Features\n\n- **main:** rate models by the thinking levels and label the host reports (`58d87ac`)\n- **main:** let parts split once more and carry their own requirements (`97b4f48`)\n\n### Documentation\n\n- **subagents:** tell the code worker to prefer parallel parts (`42c10fe`)\n- **skills:** start one ticket per part the message names (`866fca0`)\n- **readme:** describe typed parts, their requirements and nested splits (`7f0380a`)\n\n### Tests\n\n- **tests:** cover profiles read from host thinking levels (`b6a56b0`)\n- **tests:** cover nested splits and per-part requirement flags (`3540a15`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "5d18b58a1600a10660741a4a4cdde1f510f3af5884f28212ba8948e688f5e062",
          "url": "packages/eskwisit.llm-superagent-0.14.0.piplug",
          "sizeBytes": 407188,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.14.0",
            "sourceCommit": "b6f9791911978cb8b90c0854fd4ff5c341a9ab8a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-11T08:02:52Z"
          }
        },
        {
          "version": "0.12.0",
          "publishedAt": "2026-11-08T12:26:06Z",
          "changelog": "# Changelog\n\n## 0.12.0\n\n### Features\n\n- **main:** run writers in parallel per repo, fail over on limits, prove work (`35f050b`)\n- **subagents:** let the review worker build a proof's scratch worktree (`cd7d84e`)\n\n### Documentation\n\n- **skills:** explain repo, limit failover and checked tickets (`5319ed8`)\n- **readme:** describe repo folders, model limits and checked work (`6c29cbf`)\n\n### Tests\n\n- **tests:** turn proof checks off by default in the test host (`bc005df`)\n- **tests:** cover git probing and per-repo worktrees and merges (`ff0f179`)\n- **tests:** cover the shared limit cooldown and worker fallbacks (`c45b51b`)\n- **tests:** cover acceptance tests, proofs and fix rounds (`ca89fb9`)\n\n## 0.10.0\n\n### Features\n\n- **main:** let a worker split a broad ticket into parallel tickets (`d7d20f5`)\n- **skills:** launch the tickets a worker split off, without a message (`a1e1ad1`)\n\n### Fixes\n\n- **main:** run workers at a thinking level excludeThinking allows (`117a9a7`)\n\n### Documentation\n\n- **manifest:** say the worker files carry the allowed thinking level (`147e882`)\n- **skills:** explain that workers run at their definition's thinking level (`7479ccb`)\n- **subagents:** name split tickets started by an earlier worker (`f5c16bd`)\n- **readme:** explain how the worker definitions get the thinking level (`4370b28`)\n- **readme:** explain how workers split broad requests (`53fa549`)\n\n### Tests\n\n- cover the thinking level of installed workers (`8dca884`)\n- cover tickets a worker splits into parallel parts (`e22d8e0`)\n\n## 0.8.0\n\n### Features\n\n- **main:** exclude thinking levels, at most medium by default (`76a3095`)\n\n### Documentation\n\n- **skills:** never raise thinking above the suggested level (`23b8a28`)\n- **readme:** explain the excludeThinking setting (`9f42e1b`)\n\n### Tests\n\n- cover excluded thinking levels (`84b63f3`)\n\n## 0.7.0\n\n### Features\n\n- **main:** start a split ticket after the tickets whose results it needs (`15dcb0e`)\n- **skills:** split parallel parts and a step that needs their results (`be9509a`)\n\n### Documentation\n\n- **readme:** explain tickets that start after others end (`591a906`)\n\n### Tests\n\n- cover tickets that wait for the results of others (`487edd4`)\n\n## 0.5.0\n\n### Features\n\n- **main:** split a message into tickets kept apart by git worktrees (`c2e36fd`)\n- **prompts:** allow commits on ticket branches and merge-ticket merges (`ff87e20`)\n- **subagents:** set up worktrees and land the branches of merge tickets (`1c5f92b`)\n- **skills:** accept split requests and launch merge tickets (`96febee`)\n\n### Documentation\n\n- **readme:** explain parallel tickets, worktrees and merges (`a1eaf87`)\n\n### Tests\n\n- run the lifecycle tests with serial isolation (`eb527a2`)\n- cover split tickets, worktree isolation and merge tickets (`c7b2c1e`)\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "39b0a601db2bbf0c1c6dc2b2358da07b1ce4dd09629453b9d11884402211dd49",
          "url": "packages/eskwisit.llm-superagent-0.12.0.piplug",
          "sizeBytes": 401599,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.12.0",
            "sourceCommit": "14f73204510995978c5f4e7e33af1e990fdf311a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T12:24:14Z"
          }
        },
        {
          "version": "0.10.0",
          "publishedAt": "2026-11-08T08:08:33Z",
          "changelog": "# Changelog\n\n## 0.10.0\n\n### Features\n\n- **main:** let a worker split a broad ticket into parallel tickets (`d7d20f5`)\n- **skills:** launch the tickets a worker split off, without a message (`a1e1ad1`)\n\n### Fixes\n\n- **main:** run workers at a thinking level excludeThinking allows (`117a9a7`)\n\n### Documentation\n\n- **manifest:** say the worker files carry the allowed thinking level (`147e882`)\n- **skills:** explain that workers run at their definition's thinking level (`7479ccb`)\n- **subagents:** name split tickets started by an earlier worker (`f5c16bd`)\n- **readme:** explain how the worker definitions get the thinking level (`4370b28`)\n- **readme:** explain how workers split broad requests (`53fa549`)\n\n### Tests\n\n- cover the thinking level of installed workers (`8dca884`)\n- cover tickets a worker splits into parallel parts (`e22d8e0`)\n\n## 0.8.0\n\n### Features\n\n- **main:** exclude thinking levels, at most medium by default (`76a3095`)\n\n### Documentation\n\n- **skills:** never raise thinking above the suggested level (`23b8a28`)\n- **readme:** explain the excludeThinking setting (`9f42e1b`)\n\n### Tests\n\n- cover excluded thinking levels (`84b63f3`)\n\n## 0.7.0\n\n### Features\n\n- **main:** start a split ticket after the tickets whose results it needs (`15dcb0e`)\n- **skills:** split parallel parts and a step that needs their results (`be9509a`)\n\n### Documentation\n\n- **readme:** explain tickets that start after others end (`591a906`)\n\n### Tests\n\n- cover tickets that wait for the results of others (`487edd4`)\n\n## 0.5.0\n\n### Features\n\n- **main:** split a message into tickets kept apart by git worktrees (`c2e36fd`)\n- **prompts:** allow commits on ticket branches and merge-ticket merges (`ff87e20`)\n- **subagents:** set up worktrees and land the branches of merge tickets (`1c5f92b`)\n- **skills:** accept split requests and launch merge tickets (`96febee`)\n\n### Documentation\n\n- **readme:** explain parallel tickets, worktrees and merges (`a1eaf87`)\n\n### Tests\n\n- run the lifecycle tests with serial isolation (`eb527a2`)\n- cover split tickets, worktree isolation and merge tickets (`c7b2c1e`)\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "03eed92221bd761292db1b93033e9727f10c7b8789f72bb0190163a11396d154",
          "url": "packages/eskwisit.llm-superagent-0.10.0.piplug",
          "sizeBytes": 333381,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.10.0",
            "sourceCommit": "adef15e376fd575fd6f0eaa234767a5cfd402c21",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T08:06:38Z"
          }
        },
        {
          "version": "0.8.0",
          "publishedAt": "2026-11-07T13:52:13Z",
          "changelog": "# Changelog\n\n## 0.8.0\n\n### Features\n\n- **main:** exclude thinking levels, at most medium by default (`76a3095`)\n\n### Documentation\n\n- **skills:** never raise thinking above the suggested level (`23b8a28`)\n- **readme:** explain the excludeThinking setting (`9f42e1b`)\n\n### Tests\n\n- cover excluded thinking levels (`84b63f3`)\n\n## 0.7.0\n\n### Features\n\n- **main:** start a split ticket after the tickets whose results it needs (`15dcb0e`)\n- **skills:** split parallel parts and a step that needs their results (`be9509a`)\n\n### Documentation\n\n- **readme:** explain tickets that start after others end (`591a906`)\n\n### Tests\n\n- cover tickets that wait for the results of others (`487edd4`)\n\n## 0.5.0\n\n### Features\n\n- **main:** split a message into tickets kept apart by git worktrees (`c2e36fd`)\n- **prompts:** allow commits on ticket branches and merge-ticket merges (`ff87e20`)\n- **subagents:** set up worktrees and land the branches of merge tickets (`1c5f92b`)\n- **skills:** accept split requests and launch merge tickets (`96febee`)\n\n### Documentation\n\n- **readme:** explain parallel tickets, worktrees and merges (`a1eaf87`)\n\n### Tests\n\n- run the lifecycle tests with serial isolation (`eb527a2`)\n- cover split tickets, worktree isolation and merge tickets (`c7b2c1e`)\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "cc0696dcd7d6178aedd1c7b6d23e1943272ebc3cb2722208530d1c0e7b8c2671",
          "url": "packages/eskwisit.llm-superagent-0.8.0.piplug",
          "sizeBytes": 317956,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.8.0",
            "sourceCommit": "31d9fa8a8ec1a664a8401042aa8fc0e39ed1e138",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T13:50:27Z"
          }
        },
        {
          "version": "0.7.0",
          "publishedAt": "2026-11-07T12:59:41Z",
          "changelog": "# Changelog\n\n## 0.7.0\n\n### Features\n\n- **main:** start a split ticket after the tickets whose results it needs (`15dcb0e`)\n- **skills:** split parallel parts and a step that needs their results (`be9509a`)\n\n### Documentation\n\n- **readme:** explain tickets that start after others end (`591a906`)\n\n### Tests\n\n- cover tickets that wait for the results of others (`487edd4`)\n\n## 0.5.0\n\n### Features\n\n- **main:** split a message into tickets kept apart by git worktrees (`c2e36fd`)\n- **prompts:** allow commits on ticket branches and merge-ticket merges (`ff87e20`)\n- **subagents:** set up worktrees and land the branches of merge tickets (`1c5f92b`)\n- **skills:** accept split requests and launch merge tickets (`96febee`)\n\n### Documentation\n\n- **readme:** explain parallel tickets, worktrees and merges (`a1eaf87`)\n\n### Tests\n\n- run the lifecycle tests with serial isolation (`eb527a2`)\n- cover split tickets, worktree isolation and merge tickets (`c7b2c1e`)\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "e52baaeb1b0eb4e3b15b2f1ed10bda36cdc9d552dbd860a91cc865f418e91e8a",
          "url": "packages/eskwisit.llm-superagent-0.7.0.piplug",
          "sizeBytes": 312911,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.7.0",
            "sourceCommit": "240527c9d1f533ee96c0b2aa9591b201392d9c18",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T12:57:55Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-07T10:55:53Z",
          "changelog": "# Changelog\n\n## 0.5.0\n\n### Features\n\n- **main:** split a message into tickets kept apart by git worktrees (`c2e36fd`)\n- **prompts:** allow commits on ticket branches and merge-ticket merges (`ff87e20`)\n- **subagents:** set up worktrees and land the branches of merge tickets (`1c5f92b`)\n- **skills:** accept split requests and launch merge tickets (`96febee`)\n\n### Documentation\n\n- **readme:** explain parallel tickets, worktrees and merges (`a1eaf87`)\n\n### Tests\n\n- run the lifecycle tests with serial isolation (`eb527a2`)\n- cover split tickets, worktree isolation and merge tickets (`c7b2c1e`)\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "3b2cae561ee527c613c4230fb71cceceb2a517ff8e7dee2706f05d8c7ae2ad59",
          "url": "packages/eskwisit.llm-superagent-0.5.0.piplug",
          "sizeBytes": 301058,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.5.0",
            "sourceCommit": "4f99cd9e4208ee8502cfc0318fb463be4961b844",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T10:54:06Z"
          }
        },
        {
          "version": "0.1.5",
          "publishedAt": "2026-11-05T10:27:59Z",
          "changelog": "# Changelog\n\n## 0.1.5\n\n### Fixes\n\n- **manifest:** add the chinese name, description and safety notes (`0fbf1fd`)\n\n### Tests\n\n- cover the chinese texts and the apache-2.0 license (`67468c6`)\n\n### Chores\n\n- license the plugin under apache-2.0 (`e068051`)",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "78711fe4a4085a5e0a5dc9414a1ee2e5c5ec4136319d2eba0f4fec6ab09a85e4",
          "url": "packages/eskwisit.llm-superagent-0.1.5.piplug",
          "sizeBytes": 254238,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "models.list"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                ".superagent/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-llm-superagent",
            "sourceRef": "v0.1.5",
            "sourceCommit": "ae0d480e3fbf9eb556637c51a162738f4ab21699",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T10:26:17Z"
          }
        }
      ]
    },
    {
      "id": "local.starry-bus-theme",
      "name": "Starry Bus Theme",
      "description": "Starry Bus glassmorphic theme pack for PI-Desktop with automatic OS light/dark theme switching between Starry Bus Night and Starry Bus Day.",
      "author": "yuehan1228",
      "i18n": {
        "en": {
          "name": "Starry Bus Theme",
          "description": "Starry Bus glassmorphic theme pack for PI-Desktop inspired by the starry clouds, retro bus, and sunlit meadow illustration, with automatic OS light/dark mode switching.",
          "safetyNotes": "Registers themes and a panel. Runs fixed read-only OS appearance queries using reg.exe on Windows, defaults on macOS, or gsettings on Linux every four seconds in Auto mode. Reads bundled assets and writes only plugin-owned data. No network or credential access."
        },
        "zh-CN": {
          "name": "星夜巴士主题",
          "description": "灵感源自星夜积雨云、复古大众小巴士与阳光草坡插画的 PI-Desktop 毛玻璃主题包，支持根据操作系统深浅色自动切换「夜空版」与「云昼版」。",
          "safetyNotes": "注册主题和面板；自动模式每四秒运行固定的只读系统外观查询（Windows reg.exe、macOS defaults、Linux gsettings）。读取随包资源，仅写入插件自身数据目录，不访问网络或凭据。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 250,
      "homepage": "https://github.com/yuehan1228/starry-bus-theme",
      "readmeMarkdown": "# 星夜巴士主题 · Starry Bus Theme (`local.starry-bus-theme`)\n\n根据「星夜积雨云、复古大众小巴士与阳光草坡」插画定制的 PI-Desktop 双模式毛玻璃主题包，支持**跟随操作系统深浅色自动切换「夜空版」与「云昼版」**。\n\n## 核心特性\n\n1. **跟随系统深浅色自动切换 (`starry-bus-auto` / `themeMode: \"auto\"`)**\n   - 实时检测操作系统深色/浅色状态（Windows 注册表 `AppsUseLightTheme` / macOS `AppleInterfaceStyle` / Linux `gsettings`）：\n     - 当操作系统处于 **深色模式 (Dark)** 时，自动切换为 **「星夜巴士 · 夜空版 (Starry Bus Night)」**；\n     - 当操作系统处于 **浅色模式 (Light)** 时，自动切换为 **「星夜巴士 · 云昼版 (Starry Bus Day)」**。\n   - 同时支持在插件面板或命令面板中手动固定为「夜空版」或「云昼版」。\n\n2. **插画色彩体系与毛玻璃视觉**\n   - **星夜巴士 · 夜空版 (`starry-bus-night`, Dark)**：提取左上深邃夜空靛蓝 `#061220`、积雨云高光白 `#EEF5FB`、复古巴士晴空蓝 `#4DA6E8`、阳光草坡暖金 `#F0B85A` 与草丛萤火虫翠绿 `#52D186`。\n   - **星夜巴士 · 云昼版 (`starry-bus-day`, Light)**：提取巨型积雨云的明亮日光白 `#F4F8FC` 与晴空浅蓝 `#E8F1F9`，搭配深海蓝 `#0D2338` 高对比正文与 `#246FA8` 巴士蓝强调色。\n   - **全屏插画背景层 (`.app-scenic-backdrop`)**：自动将随包附带的插画壁纸同步至插件数据目录并挂载至背景层，配合侧栏、顶栏、输入框和消息气泡的毛玻璃 (`backdrop-filter: blur`) 效果。\n",
      "safetyNotes": "Registers themes and a panel. Runs fixed read-only OS appearance queries using reg.exe on Windows, defaults on macOS, or gsettings on Linux every four seconds in Auto mode. Reads bundled assets and writes only plugin-owned data. No network or credential access.",
      "versions": [
        {
          "version": "1.1.1",
          "publishedAt": "2026-10-30T15:07:56Z",
          "changelog": "## 1.1.1\n- 修复手动选择夜空版／云昼版后被跟随系统轮询覆盖的问题。\n- Auto 保持独立主题 ID，仅更新其深浅色配色；固定模式不受系统主题影响。\n- 同步主题列表、插件面板和命令中的三种模式选择，并在重载时恢复。\n- 新增手动选择、多轮轮询、模式持久化、重载及其他主题保护回归测试。\n- GitHub 回归测试及 PluginCheck 通过；i18n 0 fail，4 项双语命令标题兼容性 review。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "ab7200d61a44a371b13efe7624cb950c9030c87a8cd4a6eac42b493f431048d8",
          "url": "packages/local.starry-bus-theme-1.1.1.piplug",
          "sizeBytes": 201391,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/yuehan1228/starry-bus-theme",
            "sourceRef": "6530d9639322898260b78c979f67dfbcc5408349",
            "sourceCommit": "6530d9639322898260b78c979f67dfbcc5408349",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-30T15:07:09Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-10-30T14:52:01Z",
          "changelog": "## 1.1.0\n- Automatically switch Night / Day with OS light/dark mode; pin either variant manually.\n- Bundle illustration wallpaper and remove machine-specific asset paths.\n- Add bilingual panel, lifecycle cleanup, and automated switching tests.\n- Auto mode executes fixed read-only appearance queries (reg.exe/defaults/gsettings) every four seconds. No network or credential access.\n- Local tests and PluginCheck passed. i18n gate: 0 fail, 4 review for bilingual command-title strings required by the current host. macOS/Linux detection is implemented but not hardware-tested.",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "3368cbb025280c41903b8f2d6e81920143f6f4b3fcc06834941f851b6b4ab7fb",
          "url": "packages/local.starry-bus-theme-1.1.0.piplug",
          "sizeBytes": 200435,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/yuehan1228/starry-bus-theme",
            "sourceRef": "fcd52e701bbbaf0f83e417943e178460fe3140a9",
            "sourceCommit": "fcd52e701bbbaf0f83e417943e178460fe3140a9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-30T14:51:12Z"
          }
        }
      ]
    },
    {
      "id": "corripo.computer-use",
      "name": "PI Computer Use",
      "description": "Linux desktop automation for PI-Desktop: screenshots, mouse, keyboard, and window inspection. On Wayland, text input is blocked while fcitx5 is active unless you explicitly opt in to temporary suspension. / PI-Desktop 的 Linux 桌面自动化工具：截图、鼠标、键盘与窗口检查。Wayland 下 fcitx5 运行时默认阻止文本注入；仅在明确启用时才会临时暂停输入法。",
      "author": "Corripo",
      "categories": [
        "agents-workflow",
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "corripo",
      "downloads": 110,
      "versions": [
        {
          "version": "0.1.2",
          "publishedAt": "2026-11-17T10:55:40Z",
          "changelog": "补充中英双语插件简介，说明桌面自动化能力及 Wayland 下 fcitx5 文本注入的默认保护与显式 opt-in 行为。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "f7ed680edd8c1159c9e44272017b76972ec2430533681635998273231c70d280",
          "url": "packages/corripo.computer-use-0.1.2.piplug",
          "sizeBytes": 92126,
          "permissions": [
            "agent.tool.register"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/ProgramerLiang/pi-computer-use",
            "sourceRef": "v0.1.2",
            "sourceCommit": "3f50df54f8517b071a6af34981e8693a70fea34f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T10:53:04Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-11-17T09:18:29Z",
          "changelog": "v0.1.1：首次公开发布 Linux PI-Desktop computer-use 插件，包含截图、屏幕信息、窗口列表、鼠标与键盘工具。修正 niri scale 1.25 下区域截图坐标。Wayland + fcitx5 时键盘默认 fail-closed；cu_type_text 的 allowImeSuspend 为显式 opt-in，会短暂停用并尝试恢复 fcitx5。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "70998e105cea287e860c6a4b04b14750f888aaf55fcd139b5ce8f222afd417b4",
          "url": "packages/corripo.computer-use-0.1.1.piplug",
          "sizeBytes": 91824,
          "permissions": [
            "agent.tool.register"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/ProgramerLiang/pi-computer-use",
            "sourceRef": "v0.1.1",
            "sourceCommit": "fdd80f609f6905de8eaa64cb5c0da30061f8a4c6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T07:35:50Z"
          }
        }
      ]
    },
    {
      "id": "pi.file-manager",
      "name": "File Manager",
      "description": "Browse, view and edit the open project in the right work panel: a full directory tree with per-file-type icons, syntax-highlighted editing, a Markdown preview, image and media viewing, CSV/JSON structured views, read-only SQLite browsing with a SQL query box, a context menu for creating and renaming, and filename search.",
      "author": "",
      "i18n": {
        "en": {
          "name": "File Manager",
          "description": "Browse, view and edit the open project in the right work panel: a full directory tree with per-file-type icons, syntax-highlighted editing, a Markdown preview, image and media viewing, CSV/JSON structured views, read-only SQLite browsing with a SQL query box, a context menu for creating and renaming, and filename search."
        },
        "zh-CN": {
          "name": "文件管理器",
          "description": "在右侧工作面板中浏览、查看并编辑当前项目的文件：完整目录树（图标随文件类型变化）、左右分栏、代码高亮编辑与保存、Markdown 预览、图片与音视频查看、CSV/JSON 结构化查看、SQLite 只读浏览与 SQL 查询，以及右键新建、重命名/移动、按文件名搜索。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 10037,
      "versions": [
        {
          "version": "0.9.1",
          "publishedAt": "2026-11-16T09:53:57Z",
          "changelog": "## 0.9.1\n\n修掉 SSH 工作区一直停在 Loading —— 远程目录与文本 / 图片预览改走配对 Host 的 pi.fs.list / pi.fs.readPreview 作用域读取（带 workspacePath），本地 Node fs 不再接触远程项目身份；远程项目标注为只读，新建 / 重命名 / 移动 / 删除、搜索、git、监听、本地应用与编辑一律停用，超大或不支持的文件明确说明，较老的 Host 提示升级。切换工作区后迟到的预览、祖先目录展开与刷新链一律作废，回到本地项目恢复编辑器探测、内置浏览器与监听能力。根级与嵌套目录失败显示真实错误与「重试」，不再假装 Loading。凭据类路径（.env*、*.pem、.ssh/、.git/**）在远程列目录里与本地一样不显示。\n\n### 其他改动\n\n- The editor's find / replace panel and the \"Go to line\" dialog (Ctrl/Cmd+Alt+G)\n  follow the plugin palette: fields, placeholders, carets and buttons stay\n  readable in dark and light appearances instead of falling back to CodeMirror's\n  white light-theme defaults. `pnpm verify` now checks the rule in the source CSS\n  and in the shipped `views/assets/index.js`.\n- Fix SSH workspaces remaining on Loading: remote directories and text/image\n  previews now use the paired Host's scoped SDK reads, with explicit read-only\n  controls, upgrade/errors and retry. Local file operations never receive an\n  opaque remote project identity.\n- Discard late previews, ancestor-directory opens and refresh loops after a\n  workspace change. Restore local editor detection, Browser and watch\n  capabilities when returning from a remote project.\n- Show root and nested directory failures with their actual error and Retry\n  action, rather than incorrectly showing Loading indefinitely.\n\n- Explain line-reference clipboard fallback, show Host rejection reasons, and\n  indicate when saving or reloading is required before referencing source lines.\n\n- Copying saved source selections includes file paths and line ranges while\n  retaining plain text. Supporting Hosts can enable Add to chat; unsaved\n  selections continue to copy plain text only.\n- HTML、HTM 与 XHTML 文件的「通过…打开」菜单新增「在内置浏览器中打开」，仅在宿主提供 Browser API 时显示；与宿主声明的 `fs.read` 文件范围一致。\n- 新增 **xlsx 只读预览**：`.xlsx` 不再被当成二进制。主进程只读取工作表里的共享字符串、内联文字和数字，转成制表符文本后复用现有表格视图；多张表用表名隔开。不改原文件、不执行宏。\n  工作簿只有表格这一种看法，主进程也拒绝对 `xlsx` / `xlsm` 写入——它显示的是派生文本，不是文件字节，过去那种「编辑页签 + 保存」会把整个工作簿替换成纯文本。\n  上限：压缩包 8 MiB、单个部件解压 32 MiB（防压缩炸弹）、8 张表、5000 行、60 列、单格 2000 字、整份预览 2 MiB；超出与「部件读不到」都在表格上方按界面语言说明（视图本地化，主进程只回标志与上限）。损坏文件和老的 `.xls` 仍显示不支持预览。\n- 重新整理目录树右键菜单的分组与顺序，并补齐右键刷新；空白区域只显示新建和刷新，文件与文件夹按类型显示操作。\n- 新增 **PDF 只读预览**：连续上下滚动，支持「单页 / 双页 / 双页（封面单独）」布局、上一页 / 下一页、输入页码跳转、10%–400% 手动缩放、适应宽度、100% 实际大小，以及有文字层时的选择与复制。\n- 新增可收起的 **导航侧栏**：按可见范围渲染的缩略图与当前页标记、可展开的嵌套目录 / 书签（支持显式与命名目标）、文件名 / 体积 / 页数及 PDF Info / XMP 元数据；无内置目录时明确提示，PDF 页码标签与物理页码同时显示。窄面板中侧栏覆盖显示，跳转后自动收起，Escape 可关闭；界面跟随中英文与亮暗主题。\n- PDF.js 兼容构建、Worker、CMaps、标准字体、WASM 解码器与 ICC 色彩资源全部随包内置，支持离线 `file://` 视图；随构建输出第三方许可声明。PDF 独立设置 **24 MiB** 上限，需要密码、损坏、空文件与超限文件均显示明确提示。\n- 适应宽度按当前布局中已知最宽页面组的实际尺寸计算，兼容横竖混排、旋转与特殊页面单位；滚动切页保持比例，独立封面和末尾落单页不会触发反复缩放与渲染。面板或侧栏尺寸变化时重新适应，仅收集已经初始化页面的尺寸，兼容惰性加载。\n- 主视图由 PDF.js 管理邻近页面渲染与缓存，缩略图复用其清理事件释放主缓存外的页资源；限制画布像素，切换文件、加载失败或离开查看器时清理文档、监听器、Worker 与 Blob URL。返回缓存页时同步加载状态，快速切页后缩放保留最新阅读位置。\n- 新增 `verify:pdf` 并纳入 `verify`，覆盖二进制传递、大小边界、路径限制、切换文件夹、稳定页面组宽度、混合尺寸和惰性 / 乱序加载；查看器路由校验补充 PDF 只读类型。浏览器验收覆盖导航与内容显示、交界滚动和拖动稳定性，以及错误恢复和资源释放。\n- PDF 全文查找复用匹配版本的 `PDFFindController`，支持中英文命中高亮、计数、前后匹配、Enter / Shift+Enter 与阅读区内 Ctrl/Cmd+F；清空、关闭、重载或切换文档时重置查找。输入法组合按键保留候选词操作，普通输入沿用 PDF.js 的防抖。\n- PDF 查找按钮使用 SVG 放大镜，明确图标尺寸并随工具栏字号缩放；保留窄面板换行与可访问标签，避免字体字符过小或因系统字体而改变外观。\n- PDF 全文查找新增区分大小写、全字匹配与正则表达式开关，可组合使用；无效或不支持的表达式会清除高亮并给出可访问提示，修正后恢复。\n- PDF 三种查找开关使用界面内的悬停与键盘聚焦提示，搜索框为空或清空后也能显示；中英文说明不再依赖宿主的原生 title 提示。\n- 正则匹配移入离线独立 Worker，按页串行执行，单页超时（1 秒）或超过 10 万个命中时停止并提示；清空、关闭、切换模式与文档时取消旧任务，丢弃过期结果，空闲 Worker 自动释放。\n- 修复 PDF Worker 故障及无响应时的销毁：有限等待后清理文档所属字体、滤镜、页面任务与消息监听，再终止端口和撤销 Blob URL；启动和渲染取消的等待同样受限。\n- 修复重复书签导航的文字层监听累积：每个文档只保留一个导航监听，已完成目标直接聚焦，新跳转或销毁取消旧目标。\n- 修复嵌入字体 PDF 的文字层横向度量：优先使用 PDF.js 已加载的嵌入字体，并保留词间空白的独立几何项；普通正文的选区与画布对齐得到改善，Type3 / 缺失字体继续使用 fallback。\n- 有效后续页加载失败进入既有错误与资源释放流程；打开文件的监听判断使用当前路径，恢复 PDF / 普通文本自动重读，有未保存文本时仅提示并保留编辑。\n- 新增隔离 Electron 桌面回归检查，使用临时项目与 profile、合成 PDF 和生产 `file://` 视图，覆盖查找、监听、损坏页与 Worker 故障恢复。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "2d56488db565d451c21bb83e2a8ea5197a4f11fd1687d4290493e487ad3457f1",
          "url": "packages/pi.file-manager-0.9.1.piplug",
          "sizeBytes": 6952351,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.9.1",
            "sourceCommit": "90cfc010a3f9d02ac612055eea065d3c822d4977",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-16T09:51:35Z"
          }
        },
        {
          "version": "0.9.0",
          "publishedAt": "2026-10-15T08:27:44Z",
          "changelog": "本次发布把 0.7.0 – 0.9.0 一次补齐（上一已发布版本为 0.6.1）。\n\n## 新增：PDF 只读预览\n- 连续滚动、单页 / 双页 / 双页（封面单独）三种布局，上一页 / 下一页、页码跳转、缩放、适应宽度与实际大小。\n- 可收起的导航侧栏：缩略图、嵌套目录 / 书签、文件名 / 体积 / 页数等文档信息；窄面板下侧栏覆盖显示，跳转后自动收起，Escape 关闭。\n- 全文查找复用匹配版本的 PDF.js 查找控制器，支持大小写、全字与正则，以及阅读区内的 Ctrl/Cmd+F。\n- PDF.js Worker、CMaps、标准字体、WASM 解码器与 ICC 资源全部随包内置，支持离线 file:// 视图；单文件上限 24 MiB。\n\n## 新增：git 联动\n- 文件列表标出修改 / 新增 / 删除 / 重命名 / 冲突（目录给整棵子树的汇总），行尾显示 +N/−N，顶部一句话概览分支与各类变化数量。\n- 右侧「变更」视图给出逐行对照的 unified diff，已暂存与未暂存分段标注；未跟踪的新文件按全文新增展示。\n- 只调用工作区里 git 的只读子命令（status / diff / rev-parse），5s 超时、带输出上限、2s 结果缓存；没有 git 时只是「没有状态」，其余功能照旧。\n\n## 新增：文件监听与自动刷新\n- 文件在编辑器之外被改动（外部编辑器、git checkout、构建产物、另一个窗口）会自动重新读取并刷新列表，1.2 秒内跟上。\n- 没有未保存改动时自动重读打开的文件；有未保存改动时只亮提示条、绝不覆盖。插件自己的保存会先记一笔，1.5 秒内的同名事件不算外部改动。\n- 顶部新增「自动刷新」开关，两个手动刷新按钮原样保留。\n\n## 新增：右键菜单「复制路径」与「通过…打开」\n- 新增「复制相对路径」「复制绝对路径」，以及二级子菜单「通过…打开」——hover 即展开，列出这台机器上真实安装的程序，选中即用它打开当前条目。\n- 按文件类型过滤：编辑器什么都能打开，浏览器只出现在它真能渲染的网页类文件上（.html / .htm / .shtml / .xhtml / .mhtml / .svg / .pdf / .xml）。\n- 编辑器探测不做目录遍历：注册表 App Paths 与 StartMenuInternet、PATH 候选名、少数固定安装位置，结果按日期缓存并多开共享（冷启约 600ms，之后 0ms）。\n- 可执行文件不出主进程：视图只递 id，spawn 不经 shell、参数只有一条绝对路径，子进程 detached + stdio ignore，每次打开记一条写入审计。\n\n## 修复\n- 修掉「自己保存（Ctrl+S）仍被判成外部改动」：noteSelfWrite 现在把每一层祖先目录一并记上（Windows 递归监听会额外给父目录各报一次 change）。\n- 修掉「预览模式下打开变更时，预览与差异视图重叠」：内容区改为单值渲染，「编辑 / 预览 / 变更」同组互斥页签。\n\n新增离线校验：pnpm verify:git、verify:watch、verify:editors、verify:pdf，并纳入 pnpm verify。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "d7e60a64f4b6fb6cbc4d4cf029f8e0dc1ccc933292610033031d24094bc0b49c",
          "url": "packages/pi.file-manager-0.9.0.piplug",
          "sizeBytes": 6911826,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.9.0",
            "sourceCommit": "92ccff9b7c1102d1664915c44ae1e5f3bb5c56a6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-15T08:27:11Z"
          }
        },
        {
          "version": "0.6.1",
          "publishedAt": "2026-09-28T09:32:32Z",
          "changelog": "Release 0.6.1：修掉 Markdown 预览「过窄且不随侧边栏拖动变化」——预览正文被 .md-body 残留的 max-width:78ch 钉在约 78 字符的固定列宽上，拖动分栏分隔条也不变；现改为 max-width:100%，预览占满编辑区全宽并实时跟随分栏宽度（无头浏览器实测通过）。 Release 0.6.0：新增删除——右键菜单里的「删除」现在真的删得掉：目录整体递归删除，删之前先弹确认框；路径限制与写操作完全一致——限定在当前选中的 folder root 内、拒绝根目录本身、拒绝凭据类路径与 node_modules，同样记写入审计。这次同时调整了视图：侧边栏开关按钮移到最左、工具栏移除新建文件 / 新建文件夹 / 重命名 / 移动到这四个按钮（这些动作都收在右键菜单里）、文件地址改为绝对地址且点击即复制、图片预览支持滚轮缩放与拖拽。 Release 0.5.2：修掉「切了文件夹但列表没跟着换」的问题——宿主报的目录是正斜杠（C:/Users/…），而插件把记忆写盘时用 path.resolve 存成了反斜杠（C:\\Users\\…），两边比较只做原样与忽略大小写的比对，于是记忆匹配不上任何一个 root，包含基点退回主文件夹：头部名字换了（视图用自己那份原样字符串还能匹配），列表与编辑器却还停在主文件夹，重开也记不住。现在路径比较与分隔符无关，已经写坏的旧记忆也一并救回。 Release 0.5.1：修掉「用默认应用打开」与「在文件夹中显示」在项目组里换过文件夹之后可能打开错文件的问题——这两条通道由宿主执行、只接受工作区相对路径，基点切到兄弟文件夹时相对路径会被宿主按主文件夹解析，两个文件夹里有同名文件就会打开另一个；现在基点不是主文件夹时改送绝对路径（宿主对「本项目已注册文件夹根」下的绝对路径有对应的窄放行，见 ADR 0253）。基点仍是主文件夹时行为与 0.5.0 / 0.4 完全一致。 Release 0.5.0：宿主可以把一个项目注册成多个本地文件夹（workspace.get 与首次握手的 roots / projectId）。面板左上角的文件夹名成了切换器：组的文件夹多于一个时点开就是这组 folder 的菜单（标出主文件夹、当前在看的那个打勾），键盘可达且有 aria-haspopup / aria-expanded，Escape 与点到外面都能关；只有一个文件夹（或老宿主不送组信息）时头部与 0.4.0 完全一样，不留任何点了没反应的入口。切换会把树、展开、选中、搜索与已打开的文件整体重来，并照旧先过「未保存改动」确认——取消就什么都不换。看的是哪个 folder 按项目记住（键 p:\u003cprojectId\u003e；宿主没给 projectId 时用 r:\u003c主根路径\u003e；值必须命中当前的 roots 才被信任，否则退回主根；最多 20 条、按最近写入淘汰），新项目从主文件夹开始。包含基点始终只有**一个** root，绝不放大成整个组的并集：树 / 读 / 写 / 新建 / 重命名 / 移动 / 搜索 / SQLite 一律相对当前选中的那个 root 解析，..、符号链接与 junction 逃逸、凭据黑名单一条都没放松。宿主打开请求按三种形态落地：项目内相对路径以主根为基准（看到的若不是主根会先切回主根再打开）；落在同项目另一个 root 下的绝对路径会先切到包含它的那个 root、再按「相对该 root」打开（祖先目录照旧展开、行照旧高亮）；组外的绝对路径照 0.4.0 走外部行为（不进树、不高亮、基点不动）。Release 0.4.0：补上宿主驱动的打开入口——宿主可以要求视图打开某个文件：视图入口 URL 的 ?piViewOpen= 载荷（挂载时同步读一次，不可能与页面抢跑）与 view:open 推送（页面加载完成之后用于实时更新；加载完成前宿主改写 URL 重新加载）两条路径全部接住，同一条请求重复投递只处理一次；项目内路径照旧展开并加载祖先目录，脏缓冲守卫照旧生效（不会静默丢弃未保存的编辑）。宿主自己选定的项目外绝对路径（会话临时目录 / 附件）也能打开与保存：视图带 external 标记，插件对它不做根内包含校验——它本来就在根外——凭据类黑名单照旧全量生效（原始字符串、规范化后与 realpath 之后各查一遍），保存同样原子写并记审计。左侧文件列表可整块收起：宿主请求打开文件时自动收起并持久化，分栏宽度照旧保留、展开即恢复，工具栏新增切换按钮（键盘可达）。Release 0.3.1：补齐「用默认应用打开」与「在文件夹中显示」（走宿主的 fs.openDefault / fs.reveal，为此声明 fs.read，权限与范围同内置 Files 视图；目录对这两个动作无效，只对文件提供）。Release 0.3.0：从「只能编辑文本」扩到「看得见各种文件」——图片查看（png/jpg/gif/webp/avif/bmp/ico/svg，适应窗口与实际大小、棋盘格、像素尺寸与体积）、音视频播放（mp4/mov/webm/mkv 与 mp3/wav/flac/ogg 等，不自动播放、编码不支持时明确提示）、CSV/TSV 表格（默认每页 1000 行可调并记住、点表头升/降/取消排序、行号列与表头双向吸顶、数字右对齐、悬停看全值）、JSON 折叠树，以及 SQLite 只读浏览与 SQL 查询框（readOnly + PRAGMA query_only + 单条只读语句白名单三层只读，字节不进视图，可打开几百 MB 的库）。二进制文件（zip/apk/exe 等）明确提示不支持预览。同时修掉保存链路的一个严重缺陷：保存成功后编辑器文档会被重装回打开时的旧内容（现以 loadToken 区分「从磁盘装载」与「保存后更新 mtime」），并修掉「没有改动也写盘」「连按 Ctrl+S 自己撞出冲突」「保存返回时用户已切走文件」「Ctrl+S 焦点不在编辑器就失效」等问题。Release 0.2.0：修复代码没有语法高亮（去掉 basicSetup 自带的 fallback 高亮器）、语言解析改为显式注册表、新增右键菜单与 Markdown 预览/编辑切换。Release 0.1.0：首个版本，右侧工作面板里的完整目录树 + 代码高亮编辑与保存 + 新建/重命名/移动 + 按文件名搜索。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "a90e6ec2132f8ac832f2746c9f9edb94b998e3a2dbae009758769230a022946f",
          "url": "packages/pi.file-manager-0.6.1.piplug",
          "sizeBytes": 1469923,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.6.1",
            "sourceCommit": "1c5db4b39a99c00bd18a6028aba5b67cf28cc63b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T09:32:15Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-09-17T14:17:38Z",
          "changelog": "Release 0.6.0：新增删除——右键菜单里的「删除」现在真的删得掉：目录整体递归删除，删之前先弹确认框；路径限制与写操作完全一致——限定在当前选中的 folder root 内、拒绝根目录本身、拒绝凭据类路径与 node_modules，同样记写入审计。这次同时调整了视图：侧边栏开关按钮移到最左、工具栏移除新建文件 / 新建文件夹 / 重命名 / 移动到这四个按钮（这些动作都收在右键菜单里）、文件地址改为绝对地址且点击即复制、图片预览支持滚轮缩放与拖拽。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "6644b010f4f7dc8adaa61f9bb875a6e9cb5086af1b4dbd2c6c91f230823a457a",
          "url": "packages/pi.file-manager-0.6.0.piplug",
          "sizeBytes": 1469219,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.6.0",
            "sourceCommit": "15d40cee7ac1cf444f08eee5273b653f22168726",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-17T14:17:26Z"
          }
        },
        {
          "version": "0.5.2",
          "publishedAt": "2026-09-14T17:38:24Z",
          "changelog": "Release 0.5.2：修掉「切了文件夹但列表没跟着换」的问题。宿主报的项目目录是正斜杠（C:/Users/…），而插件把「当前在看哪个文件夹」写盘时用 Node 的 path.resolve 存成了反斜杠（C:\\Users\\…）；两边比较只做「原样」与「忽略大小写」两次比对，没有统一分隔符，于是记忆匹配不上任何一个 root，包含基点退回主文件夹——视图用自己那份原样字符串还能匹配（头部名字换了），主进程匹配不上（列表与编辑器停在主文件夹），关掉重开也记不住。现在路径比较与分隔符无关，而且已经写坏的旧记忆也一并救回，用户不需要重新切一次。用例补上这条链路：verify-jail.mjs 的桩宿主改成与真实宿主一致的正斜杠，新增断言「切到兄弟文件夹后列的是它自己的文件」（修复前必然失败）。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "c8416b755e5624ad30110176caa512cd433fdf699ef32c7a2ba2df7f2df2b0f5",
          "url": "packages/pi.file-manager-0.5.2.piplug",
          "sizeBytes": 1462096,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.5.2",
            "sourceCommit": "d36ebe9f7fb82ee71e87670b0a65403660b18a00",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-14T17:38:10Z"
          }
        },
        {
          "version": "0.5.1",
          "publishedAt": "2026-09-14T17:24:17Z",
          "changelog": "Release 0.5.1：修掉换文件夹后「用默认应用打开」与「在文件夹中显示」可能打开错文件的问题。这两条通道由宿主执行、只接受工作区相对路径：基点切到项目组里的兄弟文件夹时，相对路径会被宿主按主文件夹解析，两个文件夹里有同名文件就会打开另一个。现在基点不是主文件夹时改送绝对路径（宿主对「本项目已注册文件夹根」下的绝对路径有对应的窄放行：只对绝对路径、只对本项目已注册的根，作用域与凭据黑名单照旧，见 ADR 0253）；基点仍是主文件夹时与 0.5.0 / 0.4 完全一致。另外把换文件夹时的编辑器清理补全：树、展开、选中、搜索与已打开的文件整体重来，编辑器缓冲区也随文件关闭而清空，不会再留着上一个文件夹的文档。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "b1bf74b8e56caa9f47ea9bedf85bd4bd0fe440bd9c5dd6f148c48344b223c89c",
          "url": "packages/pi.file-manager-0.5.1.piplug",
          "sizeBytes": 1460149,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.5.1",
            "sourceCommit": "5499275284a1073be843f9be41420bdf3a156186",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-14T17:24:02Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-09-14T16:57:12Z",
          "changelog": "Release 0.5.0：项目组多文件夹。面板左上角的文件夹名成了切换器（组的文件夹多于一个时才有）：点开是这组 folder 的菜单，标出主文件夹、当前在看的那个打勾，键盘可达、带 aria-haspopup / aria-expanded，Escape 与点到外面都能关；只有一个文件夹（或老宿主不送组信息）时头部与 0.4.0 完全一样。看的是哪个 folder 按项目记住（键 p:\u003cprojectId\u003e，宿主没给 projectId 时用 r:\u003c主根路径\u003e；最多 20 条、按最近写入淘汰；记忆必须命中当前 roots 才被信任，否则退回主根），新项目从主文件夹开始。包含基点始终只有一个 root、绝不放大成整个组的并集：树 / 读 / 写 / 新建 / 重命名 / 移动 / 搜索 / SQLite 一律相对当前选中的那个 root 解析，..、符号链接与 junction 逃逸、凭据黑名单一条都没放松。宿主打开请求落在同项目另一个 root 下时会先把基点切过去、再按「相对该 root」解析。切换会重建视图状态（树、展开、选中、搜索、已打开的文件），并照旧先过「未保存改动」确认——取消就什么都不换。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "e130e5d523d1e85be3624a6df152c87ddd69d328328aaf31455e4d3b456ac21b",
          "url": "packages/pi.file-manager-0.5.0.piplug",
          "sizeBytes": 1460284,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.5.0",
            "sourceCommit": "cbd47b09bcad6a47edd093f82b3d037a533e3cfd",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-14T16:56:59Z"
          }
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-09-14T14:33:39Z",
          "changelog": "宿主驱动的打开请求 + 左侧文件列表可收起。\n\n- 宿主可以要求视图打开某个文件：入口 URL 的 ?piViewOpen= 载荷（挂载时同步读一次）与 view:open 推送（页面加载完成后用于实时更新）两条路径全部接住，同一条请求重复投递只处理一次。\n- 项目内路径照旧展开并加载祖先目录，效果与点击搜索结果一致；打开前照旧走「未保存改动」确认，绝不静默丢弃编辑。\n- 宿主自己选定的项目外绝对路径（会话临时目录 / 附件）也能打开与保存：视图带 external 标记，插件不做根内包含校验（它本来就在根外），但凭据类黑名单照旧全量生效，且在原始字符串、规范化后与 realpath 之后各查一遍；保存仍走原子写并记审计。\n- 左侧文件列表可整块收起，宽度照旧由 splitRatio 保留、展开即恢复；工具栏新增键盘可达的切换按钮，宿主请求打开文件时自动收起并持久化。\n\nmain.js 的根内通道行为（错误码、符号链接与 junction 校验）未改动。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "a8cbfd5a0c31c8685fb7d9ed2e0c57bcbd5871dcbbb701382bf7aecfbc5ae83b",
          "url": "packages/pi.file-manager-0.4.0.piplug",
          "sizeBytes": 1433256,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.4.0",
            "sourceCommit": "6c7ee2fc2744e7af5a16be9b9c9cab6a9956830f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-14T14:33:26Z"
          }
        },
        {
          "version": "0.3.1",
          "publishedAt": "2026-09-13T15:26:01Z",
          "changelog": "Release 0.3.1：文件右键新增「用默认应用打开」与「在文件夹中显示」，由宿主代为执行 fs.openDefault / fs.reveal，为此 manifest 首次声明 fs.read（root workspace、scope **，权限与范围同内置 Files 视图）；两个动作只对文件有效，目录会返回 INVALID_ARGUMENT。插件自身的读写仍走自己进程内的 Node fs，宿主权限网关不介入。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "dffe21e8c51e4abfd33767c193681856c2f24a1f5ee883e6ca727c0f5ca62488",
          "url": "packages/pi.file-manager-0.3.1.piplug",
          "sizeBytes": 1424006,
          "permissions": [
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-file-manager",
            "sourceRef": "v0.3.1",
            "sourceCommit": "f5f264803f626334d56a812e3b50ce41edcb8537",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-13T15:25:50Z"
          }
        }
      ]
    },
    {
      "id": "io.github.jeasonloop.theme-craftdesk",
      "name": "pi-theme-craftdesk",
      "description": "一款mc风格的pi-desktop主题",
      "author": "",
      "i18n": {
        "en": {
          "name": "CraftDesk Theme",
          "description": "A Minecraft-inspired theme for PI-Desktop."
        },
        "zh-CN": {
          "name": "MC主题扩展-方野",
          "description": "一款mc风格的pi-desktop主题"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 629,
      "versions": [
        {
          "version": "1.4.9",
          "publishedAt": "2026-09-24T16:17:44Z",
          "changelog": "- 修复字体子集问题",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "21152b75da1fea005b352da706f09a959c2b2a43e24019dc8fd1ab00590c354a",
          "url": "packages/io.github.jeasonloop.theme-craftdesk-1.4.9.piplug",
          "sizeBytes": 928201,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JeasonLoop/pi-theme-craftdesk",
            "sourceRef": "v1.4.9",
            "sourceCommit": "10f57cdc164680a326de467949cc9526a77aa326",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T14:10:57Z"
          }
        },
        {
          "version": "1.4.8",
          "publishedAt": "2026-09-24T13:55:23Z",
          "changelog": "- 修复字体绝对路径问题",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "13fa4d3eb88566ab96defb1e2074d6f6b7b33991e2291734d614cc622bbbe653",
          "url": "packages/io.github.jeasonloop.theme-craftdesk-1.4.8.piplug",
          "sizeBytes": 842375,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JeasonLoop/pi-theme-craftdesk",
            "sourceRef": "v1.4.8",
            "sourceCommit": "b46ee2fb88d65006bde53213f82c15e9d27ade73",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T13:55:05Z"
          }
        },
        {
          "version": "1.4.7",
          "publishedAt": "2026-09-24T13:44:05Z",
          "changelog": "- 修复部分样式问题\n - 整理仓库格式\n - 处理按钮适配",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "9e00f1aa844dedcf12a2e40b301ebdc10f83267567fbf73e1e69cd5166ffb3a1",
          "url": "packages/io.github.jeasonloop.theme-craftdesk-1.4.7.piplug",
          "sizeBytes": 706399,
          "permissions": [
            "ui.panel",
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JeasonLoop/pi-theme-craftdesk",
            "sourceRef": "v1.4.7",
            "sourceCommit": "0e7e8d8ce126ad525b2ede6a5c085ecc3bab6dbf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-24T13:43:45Z"
          }
        }
      ]
    },
    {
      "id": "bone.token.statistics",
      "name": "Token用量统计",
      "description": "跨项目、模型和会话查看 PI-Desktop 的 Token 用量，支持每日趋势、活动热力图、CSV 导出及自定义单价成本估算。只读取已完成轮次计数和项目元数据，不读取对话正文。",
      "author": "taokoplay",
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "bone",
      "downloads": 269,
      "homepage": "https://github.com/taokoplay/bone-token-statistics",
      "readmeMarkdown": "# Token用量统计\n\n跨项目 Token 用量统计，支持时间、项目、模型筛选，每日趋势、周小时热力图和 CSV 导出。\n\n![统计界面](https://raw.githubusercontent.com/taokoplay/bone-token-statistics/v0.1.1/docs/images/token-statistics-dashboard.png)\n\n## 0.1.1\n修复项目名称回退为编号，改为读取宿主项目列表。升级需接受 desktop.control 权限，然后刷新统计页。\n\n源代码与完整说明：https://github.com/taokoplay/bone-token-statistics/tree/v0.1.1\n\n采用 MIT 开源许可证。",
      "safetyNotes": "仅查询本地已完成轮次统计。desktop.control 仅调用只读 project/list 获取项目名称，不读取会话正文，不修改宿主状态。成本按用户配置的单价估算。",
      "versions": [
        {
          "version": "0.2.7",
          "publishedAt": "2026-11-27T06:35:24Z",
          "changelog": "# 0.2.7\n\n- 顶部时间筛选新增「今日」和「昨日」。按本机时区和轮次完成时间统计，可与项目、模型筛选一起使用。\n- 中英文界面的 Token 用量和图表刻度统一使用 K、M、B。悬停可查看完整数值，CSV 导出保留原始计数。\n- 在「剩余余额」添加 AI 渠道并填写 API Key，即可查看账户余额或套餐额度。支持 DeepSeek、MiniMax（含 M Plan）、智谱 BigModel / Z.ai、Moonshot、Kimi Code、OpenRouter、小米 MiMo、硅基流动国际站和 Vercel AI Gateway。\n- 余额配置和 API Key 在本机加密保存。可为同一渠道的多个账号分别命名，并在余额区单独刷新。\n- 支持 PI-Desktop 0.21.0 及以上。余额查询需要网络权限，仅访问所选服务商的官方接口。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "e620378a37879095bd5ab96bf5c192ba3b858f89a7460d826286a3da23d40660",
          "url": "packages/bone.token.statistics-0.2.7.piplug",
          "sizeBytes": 241777,
          "permissions": [
            "desktop.control",
            "net.fetch",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-token-statistics",
            "sourceRef": "b5cc161d41ebe4417767ffb7c9f5f41d428efa4b",
            "sourceCommit": "b5cc161d41ebe4417767ffb7c9f5f41d428efa4b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-27T06:32:53Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-27T04:31:08Z",
          "changelog": "# 0.2.0\n\n- Token 统计页新增「剩余余额」。点击「添加配置」，选择 AI 渠道并输入 API Key，验证后即可查看余额。\n- 支持 DeepSeek、MiniMax、智谱 BigModel / Z.ai Coding Plan、Moonshot、Kimi Code、OpenRouter、小米 MiMo、硅基流动国际站和 Vercel AI Gateway。面板按上游返回显示金额、积分、限额或周期额度。\n- 渠道配置保存在本机。Key 仅保留在当次插件运行的内存中，重启客户端或重载插件后可补填。可更新 Key 或移除配置。\n- 支持 PI-Desktop 0.21.0 及更新版本。升级时需要授予网络访问权限，查询只发往清单中的官方域名。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "827821bad5f40579d86f2ad8c018c775985331ca8b35fa22617e9e37bbbfb11d",
          "url": "packages/bone.token.statistics-0.2.0.piplug",
          "sizeBytes": 218497,
          "permissions": [
            "desktop.control",
            "net.fetch",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-token-statistics",
            "sourceRef": "f5cbbfab510e9d7a59353d906814e91d767a5781",
            "sourceCommit": "f5cbbfab510e9d7a59353d906814e91d767a5781",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-27T04:28:46Z"
          }
        },
        {
          "version": "0.1.2",
          "publishedAt": "2026-10-30T08:21:22Z",
          "changelog": "优化周 × 小时热力图布局：24 小时列自动等分卡片可用宽度，消除右侧大片留白，小时标签同步伸缩。保持 7 天 × 24 小时数据、紧凑行高和悬浮提示不变。已通过 390、720、905、1280、1600px 五种窗口宽度的浏览器布局检查、60 项后端检查及安装包校验。本版本不新增权限。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "436a43c93efd50ebe6e7ab8db1b3713d655e15da268b4e8b621ff63efeec2038",
          "url": "packages/bone.token.statistics-0.1.2.piplug",
          "sizeBytes": 180189,
          "permissions": [
            "desktop.control",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-token-statistics",
            "sourceRef": "v0.1.2",
            "sourceCommit": "e27531b120ff2b93a584fe07b7471c15c3105643",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-30T08:20:38Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-10-30T08:02:17Z",
          "changelog": "首次上架 0.1.1。支持跨项目 Token 统计、趋势、热力图、项目与模型明细、CSV 导出。修复项目名称回退为编号：使用只读 project/list，刷新后更新名称，移除永久缓存与 40 项目查名限制。desktop.control 仅用于只读项目列表。通过 3 项名称回归、60 项后端检查、23 项聚合检查和安装包校验。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "258f90eb67cffc013dea1fc51b17665c39b7c60f2f79561c647b7301bc63174b",
          "url": "packages/bone.token.statistics-0.1.1.piplug",
          "sizeBytes": 179964,
          "permissions": [
            "desktop.control",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-token-statistics",
            "sourceRef": "v0.1.1",
            "sourceCommit": "9bbd929f856cb9427920f3fec3a4f6370a9e2139",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-30T08:01:32Z"
          }
        }
      ]
    },
    {
      "id": "local.chrome-cdp",
      "name": "Chrome CDP",
      "description": "Real Google Chrome for the agent: launches a visible Chrome window and drives it over the DevTools Protocol (navigate, accessibility snapshot, click, fill, screenshots, JavaScript, console, tabs, raw CDP).",
      "author": "",
      "categories": [],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 44,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-19T14:34:46Z",
          "changelog": "Initial release. Launches a real Google Chrome window (--remote-debugging-port, private profile) and exposes the \"Chrome\" agent tool: navigate, accessibility snapshot with uids, click via Input events, fill via native value setter, screenshots (jpeg/png, fullPage), evaluate, console capture, tab management and allowlisted raw CDP calls. Works entirely over 127.0.0.1 with no third-party dependencies.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "6f28394c95c40ae5d08add1826e1760949b6b6ffe387d650fb2836e2a2188910",
          "url": "packages/local.chrome-cdp-0.1.0.piplug",
          "sizeBytes": 52856,
          "permissions": [
            "agent.tool.register"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/nnda152-prog/chrome-cdp",
            "sourceRef": "v0.1.0",
            "sourceCommit": "f0ec238407cdd6db31fafab31a78ea4def4a0054",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-19T14:32:29Z"
          }
        }
      ]
    },
    {
      "id": "local.task-board",
      "name": "任务看板",
      "description": "一个只读任务看板：一屏看清谁在等你批计划或回答、谁在跑、有哪些待审批、谁刚跑完。侧栏四列 + 置顶浮窗两种形态，刷新按活跃度自适应，会话清单缓存复用。点行直达会话，双击唤起主窗。全程只读，不读正文、不写文件、不联网。\r\nalt+space搜索任务看板，点击后可以呼出悬浮面板，默认置顶。",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "任务看板",
          "description": ""
        }
      },
      "categories": [],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 81,
      "versions": [
        {
          "version": "0.3.9",
          "publishedAt": "2026-11-20T03:26:55Z",
          "changelog": "提供任务看板功能，包括：执行中的，待审批的（比如计划和目标）、等待人工介入的（比如有问题需确认，中断继续推进的），以及24h内的活跃对话。",
          "minPiDesktop": "\u003e=0.22.0",
          "shasum": "959faf8a83843865379b0873cb3d493dff4101f58a7ed384134013468a3a367d",
          "url": "packages/local.task-board-0.3.9.piplug",
          "sizeBytes": 113149,
          "permissions": [
            "desktop.control",
            "notify",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.cydione.prompt-injector",
      "name": "Prompt Injector",
      "description": "Bind system prompts to specific models. Sessions using a bound model get the prompt injected automatically, with per-item switches, first-turn or whole-session scope, and an injection log.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "提示词注入器",
          "description": "把提示词绑定到指定模型：使用该模型的会话会自动注入系统提示词。支持单项启停、仅首轮或整个会话生效、包装模板和注入日志。"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 188,
      "versions": [
        {
          "version": "1.2.0",
          "publishedAt": "2026-10-15T06:29:12Z",
          "changelog": "首个公开版本\n- 按模型绑定提示词，首轮或整个会话生效\n- 首页列表每项带启停开关\n- 注入日志，便于确认是否生效",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "100394f72fd939bb8e385d455b151edbf879cd509b41b2652a9400699b606d02",
          "url": "packages/io.github.cydione.prompt-injector-1.2.0.piplug",
          "sizeBytes": 81459,
          "permissions": [
            "agent.extension",
            "models.list",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/cyDione/pi-prompt-injector",
            "sourceRef": "v1.2.0",
            "sourceCommit": "dc2d1e85fec1e4f40fc115dec79576c13e6c52bf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-15T06:28:44Z"
          }
        }
      ]
    },
    {
      "id": "io.github.xideadev.pi-wechatbot",
      "name": "微信 BOT",
      "description": "PI_WeChatBot：在微信中与 PI-Desktop 无缝协同，双向同步、文件互传、远程智能会话控制。",
      "author": "Xidea",
      "i18n": {
        "en": {
          "name": "PI_WeChatBot",
          "description": "PI_WeChatBot: Connect WeChat to PI-Desktop for remote coding tasks, two-way sync, and mobile workflow control.",
          "safetyNotes": "Official iLink Bot connector by Xidea. Injects prompts and captures model responses securely."
        },
        "zh-CN": {
          "name": "微信 BOT",
          "description": "PI_WeChatBot：在微信中与 PI-Desktop 无缝协同，双向同步、文件互传、远程智能会话控制。",
          "safetyNotes": "Xidea 团队出品。通过微信官方 iLink Bot 协议安全连接手机与桌面智能体。"
        }
      },
      "categories": [
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 544,
      "homepage": "https://www.ifolo.cn",
      "readmeMarkdown": "# 微信 BOT (PI_WeChatBot)\n\n\u003e **PI_WeChatBot** 是专为 [PI-Desktop](https://earendil.com) 智能体桌面客户端打造的微信无缝协同桥梁。  \n\u003e 通过微信官方 iLink Bot Web 协议，实现手机微信与桌面端编程智能体的双向对话同步、文件互传与远程会话掌控。\n\n由 **[Xidea 团队](https://www.ifolo.cn)** 精心出品。\n\n---\n\n## 🌟 核心特性\n\n- **📱 手机微信随时派活**：在微信中直接发送自然语言需求，PI-Desktop 自动调动桌面环境、工具与模型执行任务。\n- **🔄 智能单轮闭环响应**：微信提问一次，AI 答复完毕后系统自动收敛；桌面端后续的人类键盘聊天绝不骚扰微信手机端。\n- **✂️ 1200 字符智能防截断切片**：解决微信单条文本消息物理限制，严格保护代码块跨片自动闭合与语言前缀，长文自动追加 `[1/N]` 序号进度。\n- **⚡ 强大远程控制指令**：支持在手机端直接发送 `/sessions`（查看会话）、`/switch \u003c序号\u003e`（远程切会话）、`/projects`（查看项目）、`/status`（查运行态）、`/mute`（静音）、`/stop`（紧急中止任务）、`/about`（关于团队）。\n- **🎨 纯净会话流**：桌面端会话中仅展示干净的用户指令，彻底移除冗余样板规则提示词；交互规范由全局环境隐式托管。\n- **🖼️ 原生高清矢量扫码**：面板内置纯 SVG 矢量二维码生成器，零外部 CDN 依赖，暗黑/明亮主题自动适配。\n\n---\n\n## 🛠️ 手机端可用远程指令\n\n在微信对话框中发送以下任意指令，即可由本地调度器秒级响应（不消耗模型 Token）：\n\n| 指令 | 别名 / 中文触发 | 作用与功能说明 |\n| :--- | :--- | :--- |\n| **`/help`** | `帮助`、`菜单` | 显示包含全部指令的完整欢迎与操作菜单 |\n| **`/sessions`** | `会话列表`、`会话` | 查看当前最近活跃的 6 个对话会话与数字序号 |\n| **`/switch \u003c序号\u003e`** | `/use \u003c序号\u003e` | 手机端直接切换微信指令绑定的会话（如 `/switch 2`） |\n| **`/projects`** | `项目列表`、`项目` | 列出电脑上当前打开与已登记的所有工程项目目录 |\n| **`/status`** | `状态` | 查看助手当前连接状态、当前会话及推送模式 |\n| **`/about`** | `关于` | 查看 PI_WeChatBot 简介、Xidea 开发团队与官网信息 |\n| **`/mute`** | `静音`、`/bye` | 立即静音当前会话，停止向手机推送后续所有内容 |\n| **`/listen`** | `监听`、`/unmute` | 开启 30 分钟持续镜像推送模式 |\n| **`/stop`** | `中止`、`停止` | 若电脑端 AI 正在执行耗时较长任务，立即紧急取消 |\n\n\u003e 💡 **提示**：日常编程无需输入任何斜杠，直接在微信发送问题（如：“帮我检查代码有没有语法错误”），电脑 AI 将自动处理并回复到微信！\n\n---\n\n## 🚀 安装与使用\n\n### 方式一：直接安装打包文件（推荐）\n1. 在 Release 页面下载最新的 `cn.ifolo.pi-wechatbot-1.1.0.piplug`；\n2. 打开 PI-Desktop 的 **插件**（Plugins）管理页面；\n3. 将 `.piplug` 文件拖拽至插件窗口即可完成安装。\n\n### 方式二：开发插件加载\n1. 克隆本项目到本地：\n   ```bash\n   git clone https://github.com/XideaDev/Pi-WechatBot.git\n   ```\n2. 打开 PI-Desktop，进入 **插件** 页面，点击右上角 **“加载开发插件”**；\n3. 选择包含 `manifest.json` 的目录即可完成加载。\n\n---\n\n## 📖 使用指南\n\n1. **扫码认证**：\n   - 安装完成后，在命令面板输入 `微信 BOT: 打开控制面板`（或在插件列表点击面板图标）。\n   - 手机微信扫描面板中的二维码，并在手机上点击“允许登录”。\n2. **选择目标会话**：\n   - 在面板的“会话路由与派发目标”中，可选择“自动跟随当前最新活跃会话”或锁定特定工程会话。\n3. **推送策略配置**：\n   - **仅单轮闭环响应**（默认推荐）：微信问一条 AI 答一条，答完自动安静，桌面打字不打扰手机。\n   - **全局双向镜像**：桌面和微信发起的对话全量实时推送到微信。\n\n---\n\n## 🔒 隐私与安全性\n\n- **直连腾讯官方 iLink Bot 服务**：所有消息与长轮询直接通过官方接口通信，不经过任何第三方中转服务器。\n- **本地存储凭据**：登录凭据仅保存在当前设备本地的插件数据目录中。\n- **敏感信息守卫**：支持远程 `/stop` 紧急打断与单轮生命周期收敛，杜绝无关内容泄露。\n\n---\n\n## 👥 关于开发团队\n\n- **出品团队**：**Xidea**\n- **官方网站**：[www.ifolo.cn](https://www.ifolo.cn)\n- **联系与反馈**：欢迎在 [GitHub Issues](https://github.com/XideaDev/Pi-WechatBot/issues) 提交反馈与建议。\n\n---\n\n## 📄 许可证\n\n本项目基于 [MIT License](LICENSE) 开源。\n",
      "safetyNotes": "Xidea 团队出品。通过微信官方 iLink Bot 协议安全连接手机与桌面智能体。",
      "versions": [
        {
          "version": "1.4.0",
          "publishedAt": "2026-10-29T09:58:17Z",
          "changelog": "### Release v1.4.0: 微信语音转任务、高危操作远程审批门禁与长任务执行战报\n\n本版本正式落地‘全闭环移动随身遥控’的三大刚需功能，彻底解锁车载与通勤场景下的智能体协同：\n\n#### 🌟 核心新特性\n1. **🎙️ 微信语音转任务 (Voice-to-Task)**：支持在微信中直接按住说话，微信底层高准确率语音转文字结果自动提纯，无缝下发给 AI 执行。\n2. **⚠️ 高危操作微信远程授权门禁 (Remote Approval Gate)**：当智能体执行涉及删除文件（rm -rf）、远程提交（git push）等敏感命令时，自动拦截桌面弹窗，秒级向手机微信发送确认卡片；回复 1 放行，回复 2 拒绝。\n3. **🔔 长任务完成战报与 Token 审计**：针对调用工具或耗时较长（\u003e10s）的任务，执行完毕后自动附带执行总秒数、工具步数、模型代号与 Token 消耗审计。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "c82d06f57f184bb48f2c934e515689185ba63016c9fde7c151ae54d59aa64082",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.4.0.piplug",
          "sizeBytes": 1485132,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.4.0",
            "sourceCommit": "5e26bb3222c008c51e94df367497978e98c85c29",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-29T09:57:30Z"
          }
        },
        {
          "version": "1.3.1",
          "publishedAt": "2026-10-26T03:00:02Z",
          "changelog": "### Release v1.3.1: 深度架构加固、长轮询优化与多模态文件互通\n\n#### 🌟 核心升级摘要\n- **修复跨进程 IPC 目录隔离**：统一指向宿主标准持久化数据目录，保障 Agent 运行时工具与 typing 状态通知完全恢复。\n- **消除 /new 远程指令的安全隐患**：彻底废除 Shell 字符串拼接，改用安全的参数数组与标准输入通信，杜绝注入漏洞。\n- **防止会话长文输出截断丢消息**：在 SessionWatcher 增加行缓存（Line Buffer）与文件截断重置机制，并增加 try...finally 强保文件句柄释放，彻底解决高频读取泄露。\n- **Markdown 1200 字符智能分片超长保护**：预留序号前缀裕量，增加无换行超长字符串的字符级硬切拆分。\n- **多模态图片解密自适应兼容**：自适应处理 32 位十六进制与 24 位 Base64 的密钥格式，确保 16 字节密钥精准解密。\n- **长轮询日志纯净化与超时优化**：长轮询超时从 40 秒放宽至 55 秒，自动识别空闲期正常心跳超时，不再输出误导性的‘轮询错误’。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "29eb0cb11c48c9b3ac1b7ae2653f013335757dfaf9ab6034297b26181d2cf1e8",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.3.1.piplug",
          "sizeBytes": 1478892,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.3.1",
            "sourceCommit": "eb0682e845a16deaf71ee707a575febc1b1736ac",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-26T02:59:23Z"
          }
        },
        {
          "version": "1.3.0",
          "publishedAt": "2026-10-25T19:04:07Z",
          "changelog": "### Release v1.3.0: 多模态视觉图文双向互通与腾讯官方 CDN 原生文件直传\n\n微信 BOT (PI_WeChatBot) 迎来重大里程碑更新：\n\n#### 🌟 核心特性升级\n- **📸 多模态视觉图文互通**：支持在微信中发送手机截屏、现场照片或架构设计草图。插件后台自动完成 AES-128-ECB 解密与持久化存储，无缝注入当前会话供智能体深度分析；生成的图表亦可通过 `send_image_to_wechat` 原图回传。\n- **📦 腾讯官方 CDN 原生文件卡片直传**：彻底解决手机看代码排版难题。智能体生成的 Markdown 报告、PDF 方案、Zip 代码包等产物，通过官方 C2C CDN 加密通道以原生微信文件卡片形式直推手机。\n- **📱 移动端 4 屏真机全景展示**：在 README 中正式公布移动端全景截图与交互矩阵，采用 jsDelivr 全球加速 CDN 链接保障随处预览无裂图。\n- **⚡ 本地毫秒级指令矩阵完善**：支持 `/new`（新建标定会话）、`/switch`（远程切换工作会话）、`/sessions`（历史记录检索）、`/reset`（重置会话）、`/stop`（紧急掐断）等 11 项免 Token 消耗指令。\n- **🔄 Turn Debounce 消抖与代码语法树保护**：消解多步终端命令中间垃圾日志刷屏，严格执行 1200 字符上限，跨分片自动补全代码块闭合与语言高亮前缀。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "bd6657cd9c5c7fbc481fcf48c3077f83581448eef3edf7e842d0c3a25393666e",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.3.0.piplug",
          "sizeBytes": 1180076,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.3.0",
            "sourceCommit": "5980d1158ed0ace0aa9284a45216cab555fb9c9f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T19:03:20Z"
          }
        },
        {
          "version": "1.2.2",
          "publishedAt": "2026-10-25T17:24:54Z",
          "changelog": "### PI_WeChatBot v1.2.2: 登录超时检测与自动恢复\n\n- **修复凭据超时识别**：精准捕获微信 errcode: -14 session timeout，会话失效时自动感知并及时提示扫码恢复，避免假在线。\n- **全链路多模态看图与新建会话稳定保障**。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "7d3bdf9437771267cc9e7f302abe2d967073b785441c6bb161bd5c1014294a02",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.2.2.piplug",
          "sizeBytes": 117561,
          "permissions": [
            "agent.extension",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.2.2",
            "sourceCommit": "f03f23d551ff0980aee03fd65a026b42859365c0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T17:24:24Z"
          }
        },
        {
          "version": "1.2.1",
          "publishedAt": "2026-10-25T17:18:07Z",
          "changelog": "### PI_WeChatBot v1.2.1: 登录凭据持久化加固\n\n- **持久化升级与免重新登录**：将登录认证凭据迁移至 PI-Desktop 官方持久化目录 (~/.pi-desktop/plugins/data/)，彻底解决应用商店更新/覆盖安装时凭据被清空需要重新扫码的问题。\n- **平滑兼容**：自动兼容历史数据，更新后无感保留当前登录状态。",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "c3f8cb93210e52517a1737f2e0a90694e37b97991fb2d6eab6cb5727f818b7d9",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.2.1.piplug",
          "sizeBytes": 117607,
          "permissions": [
            "agent.extension",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.2.1",
            "sourceCommit": "d88397e4bad6ea2cba1d67dca61078107a8fe27c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T17:17:34Z"
          }
        },
        {
          "version": "1.2.0",
          "publishedAt": "2026-10-25T17:09:53Z",
          "changelog": "### PI_WeChatBot v1.2.0: 核心体验与多模态重磅升级\n\n- **微信多模态图片/截图下发**：手机端发送图片自动从腾讯 CDN 解密（AES-128-ECB）无损落盘至工作区，模型直接眼睛看图改代码\n- **新建独立会话 (/new)**：手机端直接发送 `/new \u003c标题\u003e` 在电脑端开辟全新 Session 并自动切换绑定\n- **Agent 多步工具调用防抖收敛**：智能识别复杂任务中间过程碎语，确保将耗时任务的最终完整结论稳妥推送到微信\n- **微信排版纯净化**：剔除 HTML 标签乱码，采用微信原生高亮排版与快捷菜单\n- **关于与品牌认证**：新增 `/about` 指令，出品团队 Xidea (www.ifolo.cn)",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "b5c5d60e3f2701728b3f970cd4c997aa9c09a63af73237ab17985f70f36ce2d9",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.2.0.piplug",
          "sizeBytes": 117354,
          "permissions": [
            "agent.extension",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.2.0",
            "sourceCommit": "c0d4e4fd36f0f2adb9f08adf6a92c3f413c9fdb4",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T17:09:14Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-10-25T13:59:06Z",
          "changelog": "### PI_WeChatBot v1.1.0 首发版本\n\n- **微信双向协同**：手机微信与桌面 PI-Desktop 智能体双向同步\n- **单轮闭环响应**：微信提问单轮响应后自动收敛，电脑端后续操作不打扰手机\n- **1200 字符智能切片**：解决微信长文本限制，代码块自动闭合，[1/N] 进度提示\n- **丰富远程指令**：支持 /help、/sessions、/switch、/projects、/status、/about、/mute、/stop\n- **关于与开发团队**：由 Xidea (www.ifolo.cn) 精心出品",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "ae0d27ad4d1bd587fd3244cca1ddb3abe1df2d61ef3086a79ff980ece4d732c6",
          "url": "packages/io.github.xideadev.pi-wechatbot-1.1.0.piplug",
          "sizeBytes": 111715,
          "permissions": [
            "agent.extension",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/XideaDev/Pi-WechatBot",
            "sourceRef": "v1.1.0",
            "sourceCommit": "8e92ddb09ecc59a5030286c38374c17dd414498f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T13:58:29Z"
          }
        }
      ]
    },
    {
      "id": "com.opencode2pi",
      "name": "OpenCode Free Models",
      "description": "A very simple tool to apply free models from OpenCode to pi-desktop; availability is not guaranteed.",
      "author": "",
      "i18n": {
        "en": {
          "name": "OpenCode Free Models",
          "description": "A very simple tool to apply free models from OpenCode to pi-desktop; availability is not guaranteed."
        },
        "zh-CN": {
          "name": "OpenCode 免费模型",
          "description": "一个很简单的将OpenCode中免费模型应用在pi-desktop的工具，不保证可用性。"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "com",
      "downloads": 1048,
      "versions": [
        {
          "version": "0.5.5",
          "publishedAt": "2026-10-20T02:22:32Z",
          "changelog": "把 OpenCode Zen 的匿名免费模型接入 PI-Desktop 模型选择器。本次更新集中在匿名通道门禁对齐、流式协议健壮性、工具调用与代理路由。\n\n## 重点变化\n\n### 匿名通道恢复与门禁对齐\n- 对齐上游 2026-10-14 起的客户端指纹校验：会话 ID、`x-opencode-*` 关联头、project 头与官方工具定义\n- 会话 ID 按对话记忆化，使用真实倒序时间戳（感谢 @pengwei269446668，#7）\n- 未选择思考档位时不再注入 `reasoning_effort`，修复相关 400（感谢 @pengwei269446668，#7）\n- 修复 `403 FreeTierError` 导致的整轮对话失败（感谢 @pengwei269446668，#7）\n\n### Responses 通道\n- 补齐 Responses 免费门禁，Muse Spark 系列可以正常使用（感谢 @YahooYuan666，#2）\n- Chat 与 Responses 分别按各自协议聚合，并按各自终止事件判定成功\n\n### 流式与非流式\n- 非流式请求自动把 SSE 聚合成完整 JSON（感谢 @YahooYuan666，#5）\n- 新增增量 SSE 解析：BOM、注释、CRLF/CR/LF、多行 `data:`、任意字节分块、UTF-8 校验\n- 只有收到合法终止事件才算成功：Chat 为 `[DONE]`，Responses 为`response.completed` / `response.incomplete`\n- 文本已输出但上游提前断开时补截断提示；其余异常返回明确错误（感谢 @pengwei269446668，#7）\n- 增加读取超时、空闲超时与响应大小限制\n\n### 工具调用\n- 工具名唯一映射，兼容大小写与下划线差异\n- 流式工具调用先缓冲再重写，避免输出半截参数\n- 非流式 Chat / Responses 工具调用统一改写\n\n### 模型目录\n- 通过 OpenCode 模型目录与 models.dev 自动发现协议，不再依赖模型名前缀\n- 排除只能走 SystemOne 的 `jev-*` 模型\n- 当前提供 9 个 Chat 免费模型；目录中没有可声明的 Responses 免费模型\n- 目录缓存写入宿主数据目录，断网启动沿用上次清单\n\n### 代理与网络\n- 新增自带传输层：HTTP CONNECT / SOCKS5 隧道，保留 SSE 流式\n- 默认自动探测代理：插件设置 → 环境变量 → Windows 系统代理 → 常见本地端口 → 直连（感谢 @banned104，#4）\n- 探测到代理候选后不再回退直连；代理抖动时重拨同一代理，地区门禁时换下一个候选\n- 转发 `Retry-After`、`x-request-id` 等上游响应头，过滤 hop-by-hop、`content-length`、`content-encoding`\n- 修复 `response.headers.forEach is not a function` 导致的 502\n\n**校验和（sha256）**\n\n```\nd2c8f070435c8a5916dd4952996acd483c3f70bb9e0bb1b9ecd35c123ea0360d  com.opencode2pi-local.piplug\n```\n\n## 已知限制\n\n- 如果 VPN/代理工具开启了 TUN 或虚拟网卡模式，本版可能出现调用失败。建议暂时关闭 TUN 模式，改用系统代理或本地代理端口；后续版本会考虑针对该场景进行修复。\n- 匿名通道按出口 IP 限速，`429/403` 会原样返回。\n\n## 验证\n\n- 27 项自动化测试全部通过，覆盖 SSE 解析、协议聚合、工具策略、\n  代理响应头与真实 HTTP 代理集成",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "c9fbaf59aa9d7762707eddb4afb3f8c912843e23e856aef6934da4147c53f5c0",
          "url": "packages/com.opencode2pi-0.5.5.piplug",
          "sizeBytes": 254558,
          "permissions": [
            "background.service",
            "provider.register"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JasonYu0822/opencode2pi-desktop",
            "sourceRef": "v0.5.5",
            "sourceCommit": "a07a3dfff4cc8d72b6fe90f5704f0b91ff6d827a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-20T02:21:58Z"
          }
        },
        {
          "version": "0.4.0",
          "publishedAt": "2026-09-28T11:25:18Z",
          "changelog": "首次发布，支持以下功能：\n- 将OpenCode的免费模型作为provider提供\n- 支持不同接口格式的免费模型\n- 自动更新免费模型清单\n有问题欢迎issue～",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "108ad47810a16da311d3d949af6933184b11683fe66b146eec37c14860705291",
          "url": "packages/com.opencode2pi-0.4.0.piplug",
          "sizeBytes": 70210,
          "permissions": [
            "background.service",
            "provider.register"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/JasonYu0822/opencode2pi-desktop",
            "sourceRef": "v0.4.0",
            "sourceCommit": "c222ca564b4b0542ecdf5d77b106041bf4688448",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T05:00:13Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-28T11:24:58Z"
          }
        }
      ]
    },
    {
      "id": "pi.bianqian",
      "name": "便签",
      "description": "Markdown 桌面便签：多便签管理、实时预览、任务列表勾选、荧光笔高亮与回收站。Sticky notes with Markdown preview, task lists, text highlights and recycle bin.",
      "author": "ZY",
      "i18n": {
        "en": {
          "name": "Sticky Notes",
          "description": "Markdown desktop sticky notes with multiple-note management, live preview, task checkboxes, text highlights and a recycle bin.",
          "safetyNotes": "Note data stays in the plugin's own settings. The plugin does not access the workspace or make network requests; external links open in the system browser."
        },
        "zh-CN": {
          "name": "便签",
          "description": "Markdown 桌面便签：多便签管理、实时预览、任务列表勾选、荧光笔高亮与回收站。",
          "safetyNotes": "便签数据仅保存在插件自己的 settings 中，不访问工作区或发起网络请求；点击便签内的外部链接会打开系统浏览器。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 92,
      "homepage": "https://plugins.aiuo.net/plugins/pi.bianqian",
      "repository": "https://plugins.aiuo.net/plugins/pi.bianqian",
      "readmeMarkdown": "# 便签 · Sticky Notes\n\nMarkdown 桌面便签插件：多便签管理、实时预览、任务列表勾选、荧光笔高亮、图片粘贴与回收站。\nSticky notes with live Markdown preview, task checkboxes, text highlights, image paste and a recycle bin.\n\n## 功能\n\n- **多便签管理**：列表卡片（标题/摘要/时间）、搜索、新建、复制\n- **Markdown**：预览为主，双击进入编辑，`Esc` / `Ctrl+E` 切换\n- **任务列表**：GFM `- [ ]` / `- [x]`，预览中可直接勾选\n- **荧光笔高亮**：选中文字右键标记颜色，语法 `==颜色:文本==`，6 色 + 取消\n- **图片**：预览/编辑均可 `Ctrl+V` 或拖入；大图自动压缩后以内联 data URL 保存\n- **回收站**：删除为软删除，可恢复、单条永久清除或清空\n\n## 使用\n\n1. 安装插件后，在命令面板输入「便签」→ **便签：打开面板**\n2. 或直接在 AI 对话中让 Agent 帮你记录：`创建一条便签，内容是……`\n\n## 权限\n\n| 权限 | 用途 |\n|------|------|\n| `ui.panel` | 打开便签面板 |\n| `agent.tool.register` | 向 AI 暴露 8 个便签工具（`plugin_bianqian_*`） |\n| `agent.prompt.inject` | 加载便签使用说明技能 |\n| `shell.openExternal` | 点击便签内链接时用系统浏览器打开 |\n\n数据仅保存在插件自己的 settings 中，不访问工作区，不发起网络请求。\n\n## 快捷键\n\n| 快捷键 | 作用 |\n|--------|------|\n| `Ctrl+E` | 编辑 / 预览切换 |\n| `Esc` | 编辑 → 预览 |\n| `Ctrl+N` | 新建便签 |\n| 双击内容区 | 进入编辑 |\n| 选中文本右键 | 标记荧光笔颜色 |\n| `Ctrl+V` / 拖入 | 插入图片 |\n\n## 开发\n\n```bash\n# 1) 构建面板（Vue3 + Vite → renderer/assets/ 单文件 IIFE 包）\ncd dev \u0026\u0026 npm install \u0026\u0026 npm run build\n\n# 2) 打包 + 重建目录\ncd .. \u0026\u0026 python3 ../scripts/pack_plugin.py plugins/pi.bianqian\npython3 ../scripts/rebuild_catalog.py\n```\n\n\u003e `dev/` 是构建源（含 node_modules 构建依赖），`renderer/assets/` 是提交入库的产物；\n\u003e 打包脚本只排除 `.git/node_modules/.DS_Store`，`dev/` 源码会随包分发但不执行。\n",
      "safetyNotes": "便签数据仅存于插件自己的 settings 中，不访问工作区或网络；点击便签内的外部链接会打开系统浏览器。",
      "versions": [
        {
          "version": "0.1.6",
          "publishedAt": "2026-10-06T15:15:25Z",
          "changelog": "Release 0.1.6: leads every agent-tool description with explicit when-to-use trigger conditions and example phrasings (including Chinese), so the agent picks the right sticky-note tool from the user's goal; purge_note now states it must never serve an ordinary delete request. Release 0.1.5: reserves space for the host window-control capsule so top-right panel actions no longer overlap it. Release 0.1.4: gives the panel an explicit full-height page surface and keeps the host window-control capsule synchronized with live theme changes. Release 0.1.3: migrates the panel to v3 paint-through chrome so top-band controls remain clickable without the legacy 46px blank area. Release 0.1.2: refreshes the sticky-notes panel chrome, controls, focus states, dialogs, and compact responsive spacing. Release 0.1.1: adapts the panel to PI-Desktop's cross-platform 46px host drag band and minimal three-button window-control capsule. First release: multiple notes, Markdown preview/editing, task lists, highlights, image paste, and recycle bin.",
          "minPiDesktop": "\u003e=0.7.1",
          "shasum": "7980707fabf25e7427775feb3681f34eb80e82af5df7b349cf0df0ac5560c9e0",
          "url": "packages/pi.bianqian-0.1.6.piplug",
          "sizeBytes": 1065975,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.readon.deepseek-web",
      "name": "DeepSeek Web",
      "description": "Real-time web search and URL content extraction powered by DeepSeek's Search \u0026 Fetch APIs.",
      "author": "Readon",
      "i18n": {
        "en": {
          "name": "DeepSeek Web",
          "description": "Real-time web search and URL content extraction powered by DeepSeek's Search \u0026 Fetch APIs.",
          "safetyNotes": "Makes authenticated HTTPS calls to api.deepseek.com using your existing DeepSeek API key, resolved from pi's model registry, the DEEPSEEK_API_KEY environment variable, or ~/.pi/agent/auth.json. No key is bundled in the package and none is sent anywhere except the DeepSeek API."
        },
        "zh-CN": {
          "name": "DeepSeek 联网搜索",
          "description": "基于 DeepSeek Search 与 Fetch API 的实时网络搜索与网页正文抽取工具，为智能体提供联网能力。",
          "safetyNotes": "使用你已有的 DeepSeek API Key（依次从 pi 模型注册表、DEEPSEEK_API_KEY 环境变量、~/.pi/agent/auth.json 解析）向 api.deepseek.com 发起认证 HTTPS 请求。包内不捆绑任何密钥，除 DeepSeek API 外不会把密钥发送到别处。"
        }
      },
      "categories": [
        "search-web"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 610,
      "homepage": "https://github.com/Readon/pi-deepseek-web",
      "readmeMarkdown": "# pi-deepseek-web\n\n为 Pi 生态接入 DeepSeek 官方 Search / Fetch API 的扩展：让 agent 具备实时联网搜索与网页正文提取能力。**自动复用你已有的 DeepSeek 密钥**，无需额外维护任何 key。\n\n## 提供的资源\n\n| 资源 | 用途 |\n| --- | --- |\n| `deepseek_search` 工具 | 联网搜索，返回标题 / URL / 摘要（最多 10 条，可选附带全文） |\n| `deepseek_fetch` 工具 | 对指定 URL 提取干净的可读正文（对 JS 重度页面优于朴素抓取） |\n| `/search \u003c查询\u003e` 命令 | 手动发起搜索并以通知展示结果 |\n| `/deepseek-key` 命令 | 查看当前生效的密钥来源（脱敏显示） |\n\n工具的详细行为说明由扩展自身向模型声明，此处不重复。\n\n## 安装\n\n### pi 终端（`pi` CLI）\n\n```bash\n# 发布到 npm 之后\npi install npm:pi-deepseek-web\n\n# 开发期：从本地路径安装\npi install ./pi-deepseek-web\n```\n\n验证：`pi list` 中出现 `npm:pi-deepseek-web`。重启会话后工具即生效。\n\n### PI-Desktop\n\nPI-Desktop 不加载 `~/.pi/agent` 下的扩展，需经插件体系导入：\n\n1. 打开 PI-Desktop 的 **插件（Plugins）** 页\n2. 点击 **「导入 pi 扩展」**，选择本包所在目录（如 `C:\\...\\pi-deepseek-web`）\n3. 导入成功后以插件形式出现在列表中（ID 形如 `imported.pi-deepseek-web`），启用即可\n\n注意：PI-Desktop 的模型注册表不提供密钥访问，此时密钥走下文密钥解析顺序的第 2 / 3 级回退。\n\n## 密钥解析顺序\n\n1. **宿主模型注册表** — pi CLI 中即你为 DeepSeek 聊天模型配置的那个 key\n2. **环境变量** `DEEPSEEK_API_KEY` — 面向 headless / CI 场景\n3. **本地凭据文件** `~/.pi/agent/auth.json` 中的 `deepseek.key` — pi CLI 登录时落盘的同一份密钥，供 PI-Desktop 等无法访问注册表的宿主使用\n\n本扩展只读不写这份文件，也不把密钥包含在任何输出或日志中（`/deepseek-key` 仅显示 `前5位…后4位`）。\n\n## 费用与限流（DeepSeek 官方口径）\n\n- 计费：Search ¥5 / 千次成功请求；Fetch ¥5 / 千次成功请求（失败不计费）\n- 限流：各接口 5 QPS\n- 本扩展对 429 / 5xx / 网络抖动做指数退避重试（最多 3 次），401 不重试\n- 输出截断保护：搜索总量 ≤ 24k 字符（单条 ≤ 3k），抓取 ≤ 20k 字符，防止撑爆上下文\n\n## 开发与发布\n\n唯一源文件：`extensions/deepseek-web/index.ts`，由宿主的 jiti 加载器直接执行，无构建步骤。\n\n```bash\n# 类型检查（需本地安装 pi 系列包作为 devDependency）\nnpx tsc --noEmit\n\n# 打包预览（核对 tarball 内容）\nnpm pack --dry-run\n\n# 发布\nnpm publish\n```\n",
      "safetyNotes": "Makes authenticated HTTPS calls to api.deepseek.com using your existing DeepSeek API key, resolved from pi's model registry, the DEEPSEEK_API_KEY environment variable, or ~/.pi/agent/auth.json. No key is bundled in the package and none is sent anywhere except the DeepSeek API.",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-19T00:23:48Z",
          "changelog": "## v0.1.0\n- Adds deepseek_search and deepseek_fetch agent tools backed by DeepSeek's Search \u0026 Fetch APIs.\n- Adds the /search \u003cquery\u003e command.\n- Works in both pi CLI and PI-Desktop (dual-host).\n- Uses your existing DeepSeek API key (model registry / DEEPSEEK_API_KEY / ~/.pi/agent/auth.json); no key is bundled.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "335c5d10310ea44e01579ed9b56e7e6d40766f5e688fd148e8b97283267828ba",
          "url": "packages/io.github.readon.deepseek-web-0.1.0.piplug",
          "sizeBytes": 14318,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Readon/pi-deepseek-web",
            "sourceRef": "v0.1.0",
            "sourceCommit": "c27a9129d5df601c7e091354fd39d0a8d43e5da4",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-19T00:23:20Z"
          }
        }
      ]
    },
    {
      "id": "io.github.eureka-0x01.open-with",
      "name": "OpenWith",
      "description": "通过资源管理器、代码编辑器或其他应用打开当前 PI-Desktop 项目目录。可管理自定义打开方式、记住所选应用，并在输入框旁显示应用图标。需要 PI-Desktop 0.9.0 或更高版本。",
      "author": "Eureka-0x01",
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 202,
      "homepage": "https://github.com/Eureka-0x01/open-with",
      "readmeMarkdown": "# OpenWith\n\n通过资源管理器、代码编辑器或其他应用打开当前 PI-Desktop 项目目录。需要 PI-Desktop 0.9.0 或更高版本。\n\n## 使用方法\n\n1. 在 PI-Desktop 中打开一个项目。\n2. 点击输入框底栏左侧的主按钮，用当前选中的应用打开目录。\n3. 点击右侧 ▾ 查看打开方式；点击应用行只切换选中项，再点击主按钮才打开。\n\n## 添加与管理应用\n\n点击 ▾ → 添加打开方式，填写名称和程序完整路径。在 Windows 上需要填写以 .exe 结尾的实际程序路径，例如 C:\\Program Files\\Microsoft VS Code\\Code.exe。程序需支持通过命令行参数打开文件夹。插件会清理常见隐藏字符和首尾引号，并尝试提取程序图标，失败或超时后使用默认图标。\n\n支持编辑、删除自定义应用，最多 32 个，名称最多 40 个字符。应用列表及选中项会持久保存。内置文件管理器不可编辑或删除；删除选中的自定义应用后自动回落文件管理器。\n\n## 权限与隐私\n\nrenderer.extension 允许界面在宿主主窗口中运行，需要明确授权。配置保存在插件设置中。插件不联网、不读取剪贴板、不主动修改或删除项目文件。点击主按钮会启动用户指定的外部程序，外部程序按其自身权限运行。Windows 上会调用系统 PowerShell 读取程序图标。\n\n## 许可与源码\n\nMIT License · Eureka-0x01\n\nhttps://github.com/Eureka-0x01/open-with",
      "safetyNotes": "唯一声明权限为 renderer.extension，用于在宿主主窗口显示按钮和弹层。读取当前项目目录，并将其作为参数传给系统文件管理器或用户保存的程序；应用路径、参数、选中状态和图标保存在插件设置。Windows 上检查盘符绝对路径是否存在，并调用系统 PowerShell 提取程序图标。主进程使用 Node 原生进程启动和文件存在性检查。插件不联网、不读取剪贴板、不主动修改或删除项目文件；启动的外部程序按其自身权限运行。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-10-18T04:07:55Z",
          "changelog": "0.1.0 首次正式发布：新增输入框底栏打开方式按钮；支持使用内置文件管理器或自定义应用打开当前项目目录；支持添加、编辑、删除自定义应用，持久保存选中状态，删除选中应用后自动回落文件管理器；支持 Windows exe 路径清理、校验和程序图标提取；图标提取超时后回退默认图标。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "71a70359eefe9a299c8ea4f956d9cbc07924cfde0b482397c0e035f3f7c82674",
          "url": "packages/io.github.eureka-0x01.open-with-0.1.0.piplug",
          "sizeBytes": 55776,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Eureka-0x01/open-with",
            "sourceRef": "v0.1.0",
            "sourceCommit": "b2fc7a9f750d35da53e86fc23af59ac9578083e9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T04:07:27Z"
          }
        }
      ]
    },
    {
      "id": "io.github.realzsy.opencode-quota-bubble",
      "name": "OpenCode Go 额度气泡",
      "description": "在聊天输入框旁实时显示 OpenCode Go 订阅剩余额度（滚动 5 小时档，剩余 ≤25% 变黄、≤10% 变红，悬停看三档明细，点击打开详情面板）。只读，仅访问一个接口；中英双语，默认跟随系统语言。",
      "author": "realzsy (based on caopengfei's pi-desktop-opencode-quota)",
      "i18n": {
        "en": {
          "name": "OpenCode Go Quota Bubble",
          "description": "Live OpenCode Go subscription quota beside the chat composer: rolling 5-hour allowance left, amber under 25%, red under 10%, hover for all three windows and reset times, click to open the detail panel. Read-only, one endpoint, English and Simplified Chinese.",
          "safetyNotes": "Read-only. It calls exactly one endpoint (GET opencode.ai/zen/go/v1/usage) with an OpenCode Go API key that you paste into this plugin's settings, and only while the active provider is an OpenCode Go one — with any other provider the composer indicator stays hidden and no request is made. renderer.extension only draws this plugin's own indicator next to the chat input. It never reads chats, transcripts, project files, or PI-Desktop's own provider secrets; the key stays in this plugin's local settings file on your machine and is sent nowhere else."
        },
        "zh-CN": {
          "name": "OpenCode Go 额度气泡",
          "description": "在聊天输入框旁实时显示 OpenCode Go 订阅剩余额度：滚动 5 小时档剩余 ≤25% 变黄、≤10% 变红，悬停查看三档明细与重置倒计时，点击打开详情面板。只读，仅访问一个接口；中英双语，默认跟随系统语言。",
          "safetyNotes": "只读。唯一请求是 GET opencode.ai/zen/go/v1/usage，且仅在当前供应商为 OpenCode Go 时发出；换成其他供应商时输入框指示器自动隐藏、也不发请求。renderer.extension 只用于在输入框旁绘制本插件自己的指示器。不读取对话记录、项目文件，也不读取 PI-Desktop 自身的供应商密钥；API Key 保存在本机插件设置文件中，不会发往任何其他地方。"
        }
      },
      "categories": [
        "developer-tools",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 25,
      "homepage": "https://github.com/realzsy/opencode-quota-bubble",
      "readmeMarkdown": "# OpenCode Go 额度气泡 ｜ OpenCode Go Quota Bubble\n\n在 PI-Desktop 里直接看到 **OpenCode Go** 订阅还剩多少额度，不用再开浏览器。\n\nShow how much of your **OpenCode Go** subscription is left, without leaving PI-Desktop.\n\n---\n\n## 中文\n\n### 聊天输入框实时指示器（0.4.0 新增）\n\n在聊天输入框右侧（与上下文剩余读数同一排）常驻一个小指示器：\n\n- 彩色圆点 + 滚动 5 小时档剩余百分比；剩余 ≤25% 变黄，≤10% 变红。\n- 悬停显示三档额度与各自的重置倒计时。\n- 点击打开详情面板。\n- 当前供应商不是 OpenCode Go / Zen 时，指示器自动隐藏且不发任何请求。\n- 数据经插件主进程的单一接口获取（`renderer → plugin.call → onRendererCall`），与面板共用同一套逻辑；每 60 秒刷新。\n\n### 功能\n\n一个紧凑面板，每个额度窗口一行：\n\n| 窗口 | 含义 |\n| --- | --- |\n| 滚动 5 小时 | 首次使用后 5 小时重置 |\n| 每周 | 每周一 00:00 UTC 重置 |\n| 每月 | 随订阅周期重置 |\n\n每行显示进度条（**已用**多少）、**剩余**百分比，以及还有多久重置。剩余低于 25% 变黄，低于 10% 变红，一眼就能看出哪一档快用完了。\n\n面板每分钟刷新一次，窗口重新获得焦点时也会刷新。\n\n### 只在适用时显示\n\n面板会向 PI-Desktop 查询当前使用的供应商。若**不是** OpenCode Go / Zen 供应商，就**不显示任何数字、也不发请求**，只提示当前用的是什么。若在那里显示 `0%`，会被读成「额度全满」，与事实正好相反。\n\n### 配置\n\n1. 从命令面板执行 **OpenCode Quota: Open**。\n2. 在本插件设置里填入 **OpenCode Go API 密钥** —— 可在 [opencode.ai/console](https://opencode.ai/console) 的「账户 → 个人 API 密钥」创建。\n3. 完成。下次轮询就会显示数据。\n\n### 语言\n\n内置简体中文与英文，**默认跟随系统语言**；也可以在插件设置里手动指定。繁体中文（`zh-TW` / `zh-HK` / `zh-Hant`）回落英文，而不是硬塞简体。\n\n### 隐私\n\n- **只读。** 插件唯一会发的请求是 `GET https://opencode.ai/zen/go/v1/usage`，且只在当前供应商是 OpenCode Go 时才发。\n- **只访问一个域名。** manifest 声明了 `net.domains: [\"opencode.ai\"]`，其他主机一律不可达。\n- **不扫描文件。** 不读取对话、记录、项目文件，也不读取 PI-Desktop 自身的供应商密钥（宿主不允许插件读取凭据，所以密钥需要你手填）。\n- **密钥只留在本机。** 保存在本插件自己的 `settings.json`（位于 PI-Desktop 数据目录），除上述接口外不发给任何地方。\n- **不做缓存。** 额度不落盘，每次打开面板都是实时数据。\n\n### 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.panel` | 绘制额度面板 |\n| `models.list` | 读取当前供应商，避免在错误的供应商下显示额度 |\n| `net.fetch` | 调用 `opencode.ai` 上唯一的额度接口 |\n\n### 更新记录\n\n- **0.3.1** —— 上架信息改为中文。\n- **0.3.0** —— 首个公开版本：改用紧凑单行布局；更新时间移到标题栏、刷新按钮之前；滚动 / 每周 / 每月三档额度，中英双语并跟随系统语言。\n\n---\n\n## English\n\n### What it does\n\nA compact panel with one row per quota window:\n\n| Window | What it means |\n| --- | --- |\n| Rolling 5h | Resets 5 hours after your first use |\n| Weekly | Resets every Monday 00:00 UTC |\n| Monthly | Resets with your paid period |\n\nEach row shows the progress bar (how much is *used*), the share **still available**, and how long until it resets. Rows turn amber at 25% left and red at 10%.\n\nThe panel refreshes every minute, and again whenever the window regains focus.\n\n### Only when it applies\n\nThe panel asks PI-Desktop which provider is active. If it is **not** an OpenCode Go / Zen provider, no numbers are shown and **no request is made**. Printing `0%` there would read as \"full quota\", the opposite of the truth.\n\n### Setup\n\n1. Run **OpenCode Quota: Open** from the command palette.\n2. Paste an **OpenCode Go API key** into this plugin's settings — create one at [opencode.ai/console](https://opencode.ai/console) under **Account → Personal API keys**.\n\n### Language\n\nEnglish and Simplified Chinese, **following your system language** by default. Pin it in the plugin settings if you prefer. Traditional Chinese falls back to English rather than showing Simplified text.\n\n### Privacy\n\n- **Read-only.** The only request is `GET https://opencode.ai/zen/go/v1/usage`, and only while an OpenCode Go provider is active.\n- **One domain.** `net.domains: [\"opencode.ai\"]`, so no other host is reachable.\n- **No file scanning.** It never reads chats, transcripts, project files, or PI-Desktop's own provider secrets.\n- **The key stays local.** It lives in this plugin's own `settings.json` and is sent to no one but the endpoint above.\n- **Nothing is cached.** Quota is never written to disk.\n\n### Changelog\n\n- **0.3.1** — Marketplace copy switched to Chinese.\n- **0.3.0** — First public release.\n",
      "safetyNotes": "只读。唯一请求是 GET opencode.ai/zen/go/v1/usage，且仅在当前供应商为 OpenCode Go 时发出；换成其他供应商时输入框指示器自动隐藏、也不发请求。manifest 已把出网范围限制为 opencode.ai。renderer.extension 只用于在输入框旁绘制本插件自己的指示器；不读取对话记录、项目文件，也不读取 PI-Desktop 自身的供应商密钥；API Key 保存在本机插件设置文件中，不会发往任何其他地方。",
      "versions": [
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-23T14:07:15Z",
          "changelog": "## OpenCode Go 额度气泡 0.5.0\n\n在 PI-Desktop 聊天输入框右侧实时显示 OpenCode Go 订阅剩余额度：\n\n- 彩色圆点 + Go xx%（剩余 ≤25% 变黄、≤10% 变红），每 60 秒刷新\n- 点击弹出居中锚定的详情卡片：滚动 5 小时 / 每周 / 每月三档进度条与重置倒计时（Esc / 点击外部 / 关闭按钮均可关闭）\n- 非 OpenCode Go 供应商时指示器自动隐藏且不发任何请求；只读，唯一请求为 GET opencode.ai/zen/go/v1/usage\n- 需在插件设置中填入 OpenCode Go API Key（opencode.ai/console 创建）\n\n基于 caopengfei/pi-desktop-opencode-quota（MIT）增强，新增输入框插槽与详情卡片。",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "4a92adfcab225840db4b8fab1ef25050aaf7aa26cb9c9acde0b256759f2a81d1",
          "url": "packages/io.github.realzsy.opencode-quota-bubble-0.5.0.piplug",
          "sizeBytes": 47958,
          "permissions": [
            "models.list",
            "net.fetch",
            "notify",
            "renderer.extension",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/realzsy/opencode-quota-bubble",
            "sourceRef": "v0.5.0",
            "sourceCommit": "f362775a5228d0d35f3720903134571bd0474e84",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T14:04:32Z"
          }
        }
      ]
    },
    {
      "id": "io.github.b1eight.pi-desktop-claude-theme",
      "name": "Claude Theme",
      "description": "Unofficial Claude-inspired light and dark themes for PI-Desktop. Pure declarative CSS with ui.theme as the only permission: no scripts, no network access, no changes to host behavior.",
      "author": "B1eight",
      "i18n": {
        "zh-CN": {
          "name": "Claude 风格主题",
          "description": "为 PI-Desktop 提供的非官方 Claude 风格主题，包含浅色与深色两套配色，覆盖聊天、侧栏、设置与常用反馈界面。纯声明式 CSS，仅使用 ui.theme 权限，不注入脚本、不访问网络、不更改宿主或其他插件行为；保留原生过程结构与折叠交互。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 1072,
      "homepage": "https://github.com/B1eight/pi-desktop-claude-theme",
      "readmeMarkdown": "# Claude Theme\r\n\r\n为 PI-Desktop 提供的非官方 Claude 风格浅色与深色主题。\r\n\r\n## 安装\r\n\r\n1. 下载 v1.0.0 的 .piplug 安装包。\r\n2. 在 PI-Desktop 插件页面选择“安装插件包”，确认权限后安装。\r\n3. 在主题设置中选择 Claude Theme Light 或 Claude Theme Dark。\r\n\r\n需要 PI-Desktop 0.20.1 或更高版本。\r\n\r\n## 特点\r\n\r\n- 浅色与深色两套配色，覆盖聊天、侧栏、设置与常用反馈界面。\r\n- 内嵌 Inter 与 JetBrains Mono 字体，无需联网加载。\r\n- 保留原生过程结构与折叠交互，不增加过程区整体外框，不截断正文。\r\n- 仅使用 ui.theme 权限，无网络请求、工具注册或运行时 DOM 脚本。\r\n\r\n## 已知限制\r\n\r\n主题只调整外观，不改变宿主业务行为。中文等字形使用系统字体回退。已在 PI-Desktop 0.20.1 上验证，未来宿主版本的兼容性以实际使用为准。\r\n\r\n## 许可\r\n\r\n代码使用 MIT 许可；Inter 与 JetBrains Mono 字体使用 SIL OFL 1.1。本项目为非官方主题，不隶属于 Anthropic，也未获其背书。",
      "safetyNotes": "纯声明式主题，仅申请 ui.theme 权限。main.js 为空生命周期，不注入脚本、不访问网络、不注册工具、不更改宿主或其他插件行为。宿主直接读取包内 CSS 与内嵌 OFL 字体，切换主题即可恢复；不含 Anthropic 专有字体、logo 或官方产品代码。",
      "versions": [
        {
          "version": "1.2.1",
          "publishedAt": "2026-11-26T05:12:43Z",
          "changelog": "- **复合搜索框单边框修复**：排除「添加 AI 服务」等包裹型搜索框（`.service-chooser-search`、`.provider-service-search`、`.model-default-search`）与 `.scheduled-instruction-input` 的内层输入聚焦阴影，外层搜索框统一为克制的 1px 中性描边（同步覆写高对比度与强制色模式）。\n- **推理等级颜色闭环**：模型选择弹层底部的分段滑块选中态（`.composer-thinking-tick.active`）与输入栏常驻推理等级统一采用陶土色，同时优化滑块轨道与胶囊在浅/深色模式下的层次与可读性。\n- **多栏分区边界增强**：为左侧栏（`.sidebar-surface` / `.settings-nav`）补齐常驻 1px 右分隔线，右侧工作面板（`.work-panel`）恢复为轻量面板底色并补齐 1px 左分隔线及顶栏/窗口控制区连续底线。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "ca2659bd5ae0346b93421306c96f9872673e66efff80152351b5ed44b6245df1",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.2.1.piplug",
          "sizeBytes": 55332,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.2.1",
            "sourceCommit": "3c0fcbe21bcb5203233d5394ff88b02c54e8ada7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-26T05:10:19Z"
          }
        },
        {
          "version": "1.2.0",
          "publishedAt": "2026-11-24T11:28:54Z",
          "changelog": "轻量重写：面向 PI-Desktop 0.23.0（最低 \u003e= 0.20.1），改用宿主主题变量优先与核心面精修的轻量结构，单份主题 CSS 体积缩减至约 23 KB。\n配色与表面层次：重调浅色与深色画布、侧栏、输入区、弹层投影、语义色与幽灵悬停/选中态，并修复深色模式下开关滑块对比度。\n阅读与排版：规范正文人文衬线与等宽代码块层次，优先匹配本机已安装的 Source Serif 4 / Newsreader / Literata 与思源宋体并自动回落系统字体。\n焦点与无障碍：搜索框与表单聚焦改为克制的 1px 中性描边，非输入控件保留键盘 :focus-visible 焦点环，统一禁用态样式并完整支持高对比度、强制色与减弱动效。\n安全与权限：维持纯声明式 ui.theme 权限，不内嵌字体、不访问网络。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "0fad7f5c8ad0e42ed8f1609ce08c1a589a374690237d76d64b0a67820ac45267",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.2.0.piplug",
          "sizeBytes": 52516,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.2.0",
            "sourceCommit": "d22fb3570f02cc3e91ab208b041b43bc3dd6114e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-24T11:26:21Z"
          }
        },
        {
          "version": "1.1.1",
          "publishedAt": "2026-11-21T02:32:43Z",
          "changelog": "- 适配 PI-Desktop v0.23.0（修复设置/贴边弹窗内边距、暗色设置页焦点内衬、无项目组侧栏展开）\n- 为 v0.23.0 新增界面补充主题样式（侧栏主导航、Modes 设置页、模式菜单与运行条、插件排序、引导/公告弹窗）\n- 详见 [CHANGELOG.md](https://github.com/B1eight/pi-desktop-claude-theme/blob/v1.1.1/CHANGELOG.md)",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "2201c63e97cf63cc13e7c7ba84e2f72f26287889346e5221c660c4ccdb53e0c3",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.1.1.piplug",
          "sizeBytes": 136570,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.1.1",
            "sourceCommit": "b20e43783a6170062a4d3a6ace0047c0d156f5cc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-21T02:30:29Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-11-14T12:45:06Z",
          "changelog": "## 本版变化\n\n### 状态层（新增）\n\n- 5 个家族（行 / 实心 / 输入 / 面板 / 幽灵）× 6 个状态（悬停 / 聚焦 / 按下 / 选中 / 展开 / 禁用）共 30 格，每格写清属主与取值，宿主没有的状态显式记为「无」。\n- 行悬停用 5% 叠墨、选中用 10% 叠墨；动作类控件静止透明度 0.4、输入类 0.55；完成项文字用主文字色 + 成功色图标。\n\n### 焦点环\n\n- 环改为三层配方（页底色内衬 + 1px 环 + 18% 柔光），只对透明度做 200ms 淡入，不再是 0ms 硬切；聚焦时外壳阴影不变，盒子不再「变平」。\n- 环色回到 Claude 基准：浅色 `#7b7974`、深色 `#96948d`，并统一到所有可聚焦控件。\n\n### 侧栏运行标记\n\n- 运行态从陶土呼吸点改为**陶土旋转弧**：14px、270° 实弧 + 90° 缺口、1.5px 环带、1s 匀速，几何与周期取自 Claude 图标集的 Spinner 字形。环色取深一档（浅色 4.43:1，深色 5.90:1）。\n- 等待 / 授权态保持 2.4s 呼吸。\n\n### 文字流光与列表\n\n- 状态行流光修掉浅色下「扫过变暗」的方向错误，缓动改匀速、光带收窄。\n- 会话行高回到 32px，与项目组同节奏；侧栏会话与项目列表去掉滚动遮罩，末行不再被削。\n\n### 代码块与细节\n\n- 代码块头部与正文同底色，12px 圆角、0.5px 内环、无边框；复制键静止 0.6 → 悬停/聚焦 1。\n- 内联码浅色 `#8e2626`（= Claude `--cds-text-tint-red`），深色 `#f1a6a6` 为保留偏离。\n- 弱化文字 `#75746d` 保留在 WCAG AA 之上，Claude 的原值在浅色纸面上只有 4.13:1。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "533b9b42b710e1207b5a46582888c99c08136af3a0dc5670e6a08478a70e478b",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.1.0.piplug",
          "sizeBytes": 127440,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.1.0",
            "sourceCommit": "feb389cacbdabf8f29f3e0100b2481662bcfd237",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T12:43:07Z"
          }
        },
        {
          "version": "1.0.2",
          "publishedAt": "2026-10-27T05:07:35Z",
          "changelog": "## 本版变化\n\n- 配色向 Claude 桌面端原生外观靠拢，深色模式下文字层次更清晰，弱化文字不再发灰。\n- 顶栏会话标题与项目名整体放大，长标题更易读。\n- 输入框控件行统一字号与字重：模型名、推理等级、上下文用量不再大小不一；推理等级改为纯文字，不再套胶囊底。\n- 左侧模式与权限标签收敛为小号常规字重，小字不再发虚。\n- 品牌橙略微加深，橙色文字在浅色背景上达到无障碍标准 AA。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "409a2205893533e4cd6bb5fe6ade914b081969d7e3cf5f6e0a598cc30d7be101",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.0.2.piplug",
          "sizeBytes": 111134,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.0.2",
            "sourceCommit": "8112cbf4c05a292f86554b7bdd22f3bc916fcfd9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-27T05:06:52Z"
          }
        },
        {
          "version": "1.0.1",
          "publishedAt": "2026-10-26T17:33:30Z",
          "changelog": "本版改用系统字体，不再内嵌字体文件，单份主题从约 253KB 降到约 51KB，无网络加载。\n\n- 中文改用 Noto Sans SC 渲染，可用的字重档位从 3 档增加到 6 档，标题与加粗文字的层次更分明；西文仍用 Segoe UI，显示效果不变。\n- 适配 PI-Desktop 0.21.0 新增界面：任务坞、Todo 清单、Gen UI 卡片、插件市场评价、worktree 面板、侧栏会话信息、项目运行徽标与活动标记。\n- 统一设计尺度：四档圆角（5/7/10/12px）、六档中性色阶梯、6/8/12/20 间距节奏，以及七档字号与配套行高。\n- 任务坞改为单层卡片，状态标记区分进行中、已完成与已取消。\n- 修复输入框区域与外壳叠了两层半透明后颜色不一致的问题。\n- 修复任务坞右侧展开按钮被压缩、图标只剩一条细缝的问题。\n- 修复输入框控件行：模式标签不再截断，上下文百分比恢复系统默认字号，推理等级在放大字号时不再被裁切。\n\n要求 PI-Desktop 0.20.1 或更高版本。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "a007a33b656b97119dc425eb1ccad09abc465a335a7a477579417a0545f5ec0d",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.0.1.piplug",
          "sizeBytes": 110236,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.0.1",
            "sourceCommit": "716163d55bf166987a4c3904e258dfc5a207bc35",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-26T17:32:44Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-19T08:37:04Z",
          "changelog": "首个版本。\n\n- 提供 Claude Theme Light 与 Claude Theme Dark 两款主题。\n- 覆盖聊天、侧栏、设置与常用反馈界面的配色和排版。\n- 内嵌 Inter 与 JetBrains Mono 字体，无网络依赖。\n- 仅使用 ui.theme 权限，保留原生过程结构与折叠交互。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "9a637555c745276c08f89ef76742be304eb45c9afef1b0fc6ff4f9074ac47930",
          "url": "packages/io.github.b1eight.pi-desktop-claude-theme-1.0.0.piplug",
          "sizeBytes": 528167,
          "permissions": [
            "ui.theme"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/B1eight/pi-desktop-claude-theme",
            "sourceRef": "v1.0.0",
            "sourceCommit": "2887578826006754ae9898cf0be23deb01fc08fa",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-19T08:36:32Z"
          }
        }
      ]
    },
    {
      "id": "adoin.sax-design-theme",
      "name": "Sax-design Animation theme",
      "description": "",
      "author": "",
      "i18n": {
        "en": {
          "name": "Sax-design Animation theme",
          "description": "An animated Pi Desktop theme based on the Sax-design-vue project, featuring particle-dissolve effects and other motion details."
        },
        "zh-CN": {
          "name": "Sax-design 强动效风格主题",
          "description": "参考我个人项目Sax-design-vue而做的主题插件，内部用植入方式做了粒子消散等动画"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "adoin",
      "downloads": 583,
      "versions": [
        {
          "version": "0.5.3",
          "publishedAt": "2026-10-08T10:50:06Z",
          "changelog": "首次发布",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "afc6cc415d7494cbe7d648933932fe394712260ec5bf78a495fb9f901ad2e054",
          "url": "packages/adoin.sax-design-theme-0.5.3.piplug",
          "sizeBytes": 181690,
          "permissions": [
            "renderer.extension",
            "ui.panel",
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-08T10:49:37Z"
          }
        }
      ]
    },
    {
      "id": "local.source-code-mgmt",
      "name": "Source Code Mgmt",
      "description": "",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "代码管理",
          "description": "原dsh插件Source Code Mgmt，迁移改造pi desktop可使用，git管理工具，可识别本地仓库，推送/拉取，新建仓库"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 113,
      "versions": [
        {
          "version": "0.9.1",
          "publishedAt": "2026-11-05T05:03:22Z",
          "changelog": "原dsh插件Source Code Mgmt，迁移改造pi desktop可使用，git管理工具，可识别本地仓库，推送/拉取，新建仓库",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "586c7ac6f256b03891f806f4f77d47163296a0e717d8ef6aa7d678a8798819c3",
          "url": "packages/local.source-code-mgmt-0.9.1.piplug",
          "sizeBytes": 225004,
          "permissions": [
            "agent.tool.register",
            "fs.read",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "userSelected"
            }
          },
          "yanked": false
        }
      ]
    },
    {
      "id": "pi.thinkrail",
      "name": "ThinkRail",
      "description": "ThinkRail for PI-Desktop: a spec-graph the agent can read, query and maintain (7 spec_* tools), 10 workflow skills (including the authoring checklist for the family), and a panel with a specs browser.",
      "author": "",
      "i18n": {
        "en": {
          "name": "ThinkRail",
          "description": "ThinkRail for PI-Desktop: a spec-graph the agent can read, query and maintain (7 spec_* tools), 10 workflow skills (including the authoring checklist for the family), and a panel with a specs browser."
        },
        "zh-CN": {
          "name": "ThinkRail工作流",
          "description": "移植thinkrail 工作流到pidesktop"
        }
      },
      "categories": [
        "agents-workflow",
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 515,
      "versions": [
        {
          "version": "1.7.1",
          "publishedAt": "2026-11-09T08:03:54Z",
          "changelog": "1.6.0 — 首次会话 onboarding 从\"建议\"变成\"强制\"\n光有提示段落没用：agent 可以读完提示照样直接改代码。这一版加了真正的闸门——扩展监听宿主的 tool_call，返回 { block: true, reason } 时那个调用根本不会执行，模型绕不过去。\n规则 1：本会话还没跑过 spec_validate → 所有干活工具（bash/edit/write/task/browser/spec_create|update|delete 等）被拒，拒绝文案点名下一步就是 spec_validate。\n规则 2：spec_validate 报 0 个 durable spec → 继续拒，直到加载 setting-up-a-project 技能。onboarding 优先于用户那句请求。\nspec_validate 输出首行改成机器可读的 [thinkrail-state] specs=N（不含 .thinkrail/context/ 草稿），规则块把记录到的状态带进下一轮。\n设计上的 fail-open：只读工具、Skill、提问、待办、spec 只读工具永远放行；未知工具名放行；spec 工具自身报错或连续 16 次被拒 → 本会话永久放行。\"宁可漏一次，不能把会话焊死。\"\n1.7.0 — 补上\"部分图 → 完整图\"这条缺掉的路径\n新 worker extending-a-spec-graph：审计缺口（带证据）→ 提出一份 task-spec 修复方案 → 批准一次 → 按 root → architecture → modules 修完并验证。它描述系统是什么；一旦发现需要设计新行为，交回 brainstorming 并说明原因。\n缺口表的自我约束：specs=N 不是分数（把两个错节点合成一个对的，数字下降也是进步）；目录里没有 SPEC.md 不等于缺口。\n重复 id 按文件重命名（spec_update 拒绝改 id），每个入向引用逐一核对目标；指向保留 id 的链接不动，能确认的移到重命名后的节点，含糊的报告为未解决。\nspec-graph 与 writing-specs 停止互相复述：前者只管图（节点、frontmatter、链接类型、状态值、7 个工具），后者成为 spec 内容与\"什么证据允许改状态\"的唯一出处。\n元规则 16 取代命中计数：一个候选技能要靠\"它修哪条流程、它独有的步骤或关卡、它对外的触达、它的收尾、它消除的重复\"来赢得位置，出现频率只是证据、不是门槛。\n工程性修复一批：闸门证据只认成功 validate 的严格首行（并识别宿主加的 plugin_pi_thinkrail_ 前缀）；id 查找覆盖草稿且 get/update/delete 口径一致；YAML 别名保留既有列表成员、普通对象数组不再崩索引；面板状态按项目隔离；PR 复合请求跟踪剩余阶段。测试基线：85 passed / 0 skipped。\n1.7.1 — 修掉闸门在没有工作区时的死锁（本次）\n问题：1.6.0 的 fail-open 只认宿主给的 isError。但 PI-Desktop 把插件工具返回的 { error } 当作成功结果（会话记录 status: success、isError: false，plugin.log ok: true）。于是 spec_validate 回答 No workspace is open 时既没有状态行、也没有 isError，state.checked 永远为 false——Bash/Write/Task 一直被拒，直到 16 次熔断。这不是 0.22.0 的回归，2026-11-05 的历史会话里就有同样的映射。\n改法：spec_validate 只认自己的证据——首行严格匹配 [thinkrail-state] specs=N 才记图解锁；其它任何结果（报错、无工作区、工具没注册、参数被拒、缺状态行）→ 本会话永久放行。报错的结果即使正文里恰好有状态行也不记图。\n熔断保持 16 不动：同一轮并行发多个工具时不该被误触发，恢复靠上面的证据规则。\n其余闸门行为不变：只读工具、Skill、提问、待办、spec 只读工具放行；未知工具名放行；0 个 durable spec 仍需先 onboarding 再改项目。",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "39fd03cc3a9de76151e54a9e84c6dbaf1a3699827e83f8c6352e146563fa7f5c",
          "url": "packages/pi.thinkrail-1.7.1.piplug",
          "sizeBytes": 625051,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": true
            },
            "read": {
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "scope": [
                "**/*.md",
                ".thinkrail/**"
              ]
            }
          },
          "yanked": false
        },
        {
          "version": "1.5.2",
          "publishedAt": "2026-10-22T07:14:32Z",
          "changelog": "1.5.1：常驻规则在 PI-Desktop 0.20.x 上完全没送达\n根因：0.20.x 更换了扩展 runner，把 systemPromptOptions 硬编码成空对象，且只读取返回的 systemPrompt 字符串。插件原本只写入 sections[name]，这等于写进一个每轮都会被丢弃的空对象，并且不报错。\n\n修复：增加双通道投递：\n\n有 section 表（0.15.x–0.19.x、上游 pi）→ 只写自己的 section，不接管整条提示\n无 section 表（0.20.x+）→ 把规则包成 \u003cpi-thinkrail-workflow\u003e，追加到提示尾部\n规则保留原有提示，不替换它；重复投递保持幂等；多个插件的规则按顺序合并时互不覆盖。\n\n1.5.2：项目只有一份草稿，却仍被判成「已有 spec 图」\n根因：规则要求判断 durable graph 时忽略 .thinkrail/context/ 下的草稿，但索引中的 IGNORED_DIRS 不含 .thinkrail。于是草稿被当成普通 spec，模型据此判定「已有图 → 跳过 onboarding」。会话 eb0090c3 就是这样跳过项目 setup 的。\n\n修复：只调整图和检索，不调整写入：spec_graph、spec_grep、spec_validate 和面板都过滤掉草稿；spec_create 仍可写草稿，spec_update 和 spec_delete 仍能按 id 找到它。\n\n真实项目验证（pidesktopsolfi）：修复前索引到 1 个 durable spec，修复后为 0 个，因此会触发 onboarding。",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "5c25e30dc36914ce647dce6793e4ef7af8274ff96e371600cad84379b0037ef5",
          "url": "packages/pi.thinkrail-1.5.2.piplug",
          "sizeBytes": 567211,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": true
            },
            "read": {
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "scope": [
                "**/*.md",
                ".thinkrail/**"
              ]
            }
          },
          "yanked": false
        },
        {
          "version": "1.5.0",
          "publishedAt": "2026-09-25T18:57:21Z",
          "changelog": "1.5.0\n工作流与项目初始化\n调整首次请求的处理流程：在已关联的代码项目中，如果存在源码但没有持久化的 spec 图，则引导先运行项目设置或代码库导入，再继续处理原始请求。\n判断项目是否完成初始化时，忽略 .thinkrail/context/ 下的临时任务规格。\n如果已经存在持久化 spec 图，或当前没有关联项目，则跳过自动初始化；导入完成后，在同一会话中继续原始请求。\n恢复较宽的工作流入口：新请求先经过工作流路由；涉及项目变更的请求，无论规模大小或描述是否完整，都先进入 brainstorming 流程。\n在写入持久化 SPEC 文件或实现代码前，要求用户明确批准 brainstorming 形成的设计。\n范围说明\n本插件仓库不包含 pi-todos 的工具或技能，因此 TODO 规划不属于本插件的功能范围。\n兼容与保留\n保留 1.4.1 中的命名 prompt section 注入方式及宿主集成修复。\n自动初始化由工作流规则引导；它并非宿主层的强制运行时保证。",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "703bc8a9fd7c470ab4a007edf458421e3bd5f7adc2c6ef1fb11267c2db863c20",
          "url": "packages/pi.thinkrail-1.5.0.piplug",
          "sizeBytes": 561271,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": true
            },
            "read": {
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "scope": [
                "**/*.md",
                ".thinkrail/**"
              ]
            }
          },
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-25T18:57:02Z"
          }
        },
        {
          "version": "1.4.1",
          "publishedAt": "2026-09-24T08:20:46Z",
          "changelog": "修复与改进\n调整常驻规则的注入方式：改为写入宿主具名 prompt section，不再返回 systemPrompt 覆盖整条提示，避免丢失其他扩展提供的结构化提示内容。\n修正规格索引与路径判定：忽略目录按实际目录名精确匹配；统一索引顺序和路径解析行为；拒绝穿过普通文件的路径，并区分“项目根不可读”与路径错误。\n对齐工具审批风险等级：spec_create / spec_update 为中风险，spec_delete 为高风险，与 manifest 声明一致。\n校正文档与技能说明：补充问答卡实际支持的字段；恢复工作流技能“按需加载、不要强制加载自身”的说明；更新扩展安全说明。\n扩展路径安全测试：用宿主 bundle 中的真实 resolver 检查外部文件/目录 symlink 和 .. 路径会被拒绝，同时确认项目内读写正常。\n兼容性\n最低支持版本提高到 PI-Desktop 0.15.6，以保证具名 prompt section 可用。扩展不会对旧宿主退回到覆盖整条提示的方式。",
          "minPiDesktop": "\u003e=0.15.6",
          "shasum": "b111e58a4021c21c5c8424e97aa3b54d7e5836e9c3c5c7e8adf4c627f8e84d67",
          "url": "packages/pi.thinkrail-1.4.1.piplug",
          "sizeBytes": 564006,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": true
            },
            "read": {
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "scope": [
                "**/*.md",
                ".thinkrail/**"
              ]
            }
          },
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-24T08:16:09Z"
          }
        },
        {
          "version": "1.4.0",
          "publishedAt": "2026-09-22T19:01:25Z",
          "changelog": "工作流族同步到上游最新（此前冻结在 #485 的父提交）\n\n- 入口判定改为按需：只有当工作仍需要产品/设计决策、或要走项目初始化、或要走 PR 生命周期时才载入工作流；已完全指定的小修、机械重构、文档、纯配置和纯提问直接开干，且不再播报路由\n- choosing-a-workflow：判定标准改为「这件事是否还需要产品/设计决策」，移除按规模划线的红旗\n- brainstorming：一次评审即可，不再要求第二轮确认；promote 步骤读 writing-specs；补上 Ending\n- spec-graph：「永远先看 specs」改为按比例查阅\n- shipping-a-pr：新增等待/快照两种完成模式、Body 阶段、目标仓库的 PR 模板，以及明确列出的合并状态集合（CLEAN / HAS_HOOKS / UNSTABLE / BLOCKED，空 rollup 视为不确定）\n- asking-user-questions：取消每轮问题数上限；说明卡片打开时输入的消息是排队而非直接作答；按本宿主真实行为改写（选项为纯文本标签，答案以 question：answer 的工具结果返回）\n- 常驻规则保留上游三句；本地原有的两处差异中，问题豁免退休，spec-graph 前置检查保留",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "3f5b2ad0e732a2d4154bf090820417f326cc0a288ba0d4de8f7e283230fea601",
          "url": "packages/pi.thinkrail-1.4.0.piplug",
          "sizeBytes": 554751,
          "permissions": [
            "agent.extension",
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.delete",
            "fs.read",
            "fs.write",
            "ui.view"
          ],
          "fs": {
            "delete": {
              "own": true
            },
            "read": {
              "scope": [
                "**/*"
              ]
            },
            "write": {
              "scope": [
                "**/*.md",
                ".thinkrail/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/andrewliu83/pideskthinkrails",
            "sourceRef": "v1.4.0",
            "sourceCommit": "d7bfb36179d62dfe9ffe5109d5de1d24744d120b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-22T08:10:59Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-22T18:54:54Z"
          }
        }
      ]
    },
    {
      "id": "pi.super-domain-man",
      "name": "Super Domain Man",
      "description": "A local-first DNS and SSL workspace for Alibaba Cloud, Tencent Cloud, Cloudflare, AWS Route53, Volcano Engine and Huawei Cloud. Credentials stay on this device.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Super Domain Man",
          "description": "A local-first DNS and SSL workspace for Alibaba Cloud, Tencent Cloud, Cloudflare, AWS Route53, Volcano Engine and Huawei Cloud. Credentials stay on this device."
        },
        "zh-CN": {
          "name": "超级域名侠",
          "description": "本地优先的多平台 DNS 解析记录与 SSL 证书管理工具，支持阿里云、腾讯云、Cloudflare、AWS Route53、火山引擎和华为云；凭据仅保存在本机。"
        }
      },
      "categories": [
        "developer-tools",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 207,
      "versions": [
        {
          "version": "0.4.4",
          "publishedAt": "2026-09-13T16:01:21Z",
          "changelog": "v0.4.4：v3 头部对齐——内容区首行 view-head 让出右上角宿主窗口控制胶囊 104px 区域，新增 capsule-retint.js 按面板实际调色板实时重着色胶囊（面板内手动亮/暗切换即时生效）。v0.4.3：源码仓库对齐市场 0.4.2 基线——迁移 v3 穿透式顶部 chrome、panel-polish.css/style-boot.js 与 i18n manifest 双语块。v0.4.2：迁移到 v3 穿透式顶部 chrome，顶部控件保持可点击，空白区域继续可拖拽。v0.4.1：适配 PI-Desktop 跨平台 46px 主机拖拽带和简约三按钮窗口控制胶囊。v0.4.0：外观跟随 app 主体——预绘按「外观缓存 → 自带 sdm.settings.theme → 系统」恢复主题并同步 data-lang/lang，运行时订阅宿主 theme/locale 实时更新（无闪屏）；面板内手动切换主题仍可用。v0.3.1：声明 manifest.net.domains 网络白名单（云厂商 API、crt.sh、通知 Webhook、ACME CA），修复新版宿主 egress 策略下所有网络请求被拒（plugin declares no manifest.net.domains; api.cloudflare.com is unreachable）的问题。v0.2.0：重构为干净利落的直角风格（黑白灰 + 橙色强调、无圆角无投影、1px 细线分隔）；默认跟随系统深浅模式，侧边栏可一键切换；进入解析记录自动拉取数据；子页面导航保持父菜单选中态。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "2bc7d8e96909b185f1d62a577256d022f7bbee9899baf8ae5d5392cc8f60a08d",
          "url": "packages/pi.super-domain-man-0.4.4.piplug",
          "sizeBytes": 549194,
          "permissions": [
            "agent.tool.register",
            "clipboard.read",
            "clipboard.write",
            "net.fetch",
            "notify",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-pi-super-domain-man",
            "sourceRef": "v0.4.4",
            "sourceCommit": "80bfc46640c260b9313c000a07ccac3634f561e0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-13T15:57:08Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-trajectory",
      "name": "pi-desktop-trajectory",
      "description": "DSH-like session trajectory, Turn AI conversations into clear, searchable timelines. Track tool calls, parallel activity, and token usage; inspect messages, results, errors, and prompts—all in one place. Read-only and local, Trajectory makes every session easier to understand and review.\n\n类DSH会话轨迹，把 AI 会话从“聊完就翻不到”变成一份清晰可查的工作记录：将当前会话整理成按时间排列的消息账本，直观呈现模型轮次、工具调用顺序与并发耗时，并可搜索、筛选、分页，快速定位关键对话和慢任务；点开任意记录，还能检查工具参数与结果、Token 用量、错误信息及 Prompt 快照。无论是复盘一次复杂任务、排查工具为什么耗时，还是了解 Token 花在哪里，都能少翻记录、少猜原因。数据仅在本地只读查看，不写入会话、不控制 Agent——让每次 AI 协作都更透明、更容易复盘。",
      "author": "DestinyCycloid",
      "categories": [
        "developer-tools",
        "productivity",
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 5,
      "homepage": "https://github.com/DestinyCycloid",
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-28T10:01:43Z",
          "changelog": "Session Trajectory, Supports Simplified Chinese and English\nOrganize the current conversation into a chronological, searchable, filterable, and paginated ledger—making it easy to find important messages and tool calls. Use the timeline to follow user input, model responses, and tool activity, including tool durations and concurrency. Select any record to inspect its content, tool arguments and results, token usage, errors, and prompt snapshots. All data is viewed locally and read-only\n\n会话轨迹，支持简体中文和英文\n将当前会话整理为按时间排列的记录账本，支持关键词搜索、筛选与分页，方便快速找到重要消息和工具调用。通过时间线查看输入、模型回复及工具执行过程，并直观了解工具耗时与并发情况；点击记录可查看消息内容、工具参数和结果、Token 用量、错误信息及 Prompt 快照。数据仅在本地只读查看",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "677862f1a89a5f04a8d93b3e29b124c56b13d89193a06cd376cc88bb612d65dd",
          "url": "packages/local.pi-trajectory-0.2.0.piplug",
          "sizeBytes": 131694,
          "permissions": [
            "fs.read",
            "session.read.all",
            "ui.view",
            "usage.read"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.jsonl"
              ]
            }
          },
          "yanked": false
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-28T09:32:59Z",
          "changelog": "# Trajectory 会话轨迹\n\n把 PI-Desktop 会话投影成时序账本的 piplug，移植自 [ktappdev/pi-Trajectory](https://github.com/ktappdev/pi-Trajectory)（pi CLI 的 `/trajectory` 扩展 + 独立 HTTP 检查器）。\n\n## 与上游的差别\n\n| | 上游（pi CLI 包） | 本插件（piplug） |\n| --- | --- | --- |\n| 服务端 | 独立 HTTP 服务，`127.0.0.1:8787`（Vite + API） | 无服务，投影在插件进程内完成 |\n| 数据来源 | 直接解析 `~/.pi/agent/sessions/*.jsonl` | 宿主会话 API + 会话 JSONL 双读 |\n| 打开方式 | `/trajectory` 斜杠命令开浏览器 | 右侧工作面板页签 / 侧边栏页签 / 两个命令 |\n| UI | 浏览器全宽页面（React + Vite） | 同一份 HTML，停靠与侧边栏页签共用（原生 DOM，无构建步骤） |\n\n## 数据来源\n\n两条路并用，互相补足：\n\n1. **宿主 API**（`pi.session.list/get/listMessages`、`pi.usage.listTurns`）——权威的消息序列、归属关系与逐轮 token 计数。\n2. **会话 JSONL**（`lib/jsonl.js`，只读）——宿主 API 不投影的字段：逐条消息的 `meta.usage`、`meta.responseDurationMs`、`meta.modelId/providerId`、工具块的 `durationMs`/`args`/`result`、`type: \"compaction\"` 压缩记录、`meta.modelSystem`（prompt 解剖，含 `sections` 分段）、`meta.error`、`meta.agentName`。\n\n任一侧缺失都能工作：JSONL 读不到时自动退回宿主 API，并在面板上说明。\n\n## 功能\n\n- **会话选择器**：可搜索的会话列表，带消息数与更新时间\n- **只显示当前会话**：这个视图永远只投影一个对话——你正在看的那个。没有会话选择器，看不到其他对话，标题只出现一次，副行是消息数与来源。\n- **自动开启轨迹（常开）**：打开任意对话时自动在右侧面板展示该对话的轨迹；在侧边栏切换对话时自动跟随。没有开关，也不需要手动点。\n- **显式指定会话**：`Trajectory: 在右侧面板打开会话轨迹` 命令用 `pi.ui.revealView({location})` 指定当前会话（`?piViewOpen=` 与 `view:open`，payload 形如 `{ path }`）。\n- **会话选择器**：想翻别的对话时，左侧列表始终可用（100 个会话也不用手动找——切换对话会自动跟随）。\n- **工具分组**：连续的同名工具调用（中间没有其他工具）合并为一个块，标注 `Read ×60`，点击展开可逐条查看每次调用的耗时与起止时间，每条都能跳到账本里的对应记录。\n- **并发可视化**：工具轨道按每次调用的真实 [发起, 发起+耗时] 绘制，同时进行的调用分占不同行。并发读取 N 个文件会显示为 N 条并行轨道、在同一刻结束，而不是突然多出几行。\n- **三泳道时间线**：输入 / 模型 / 工具投影到同一条序列，点方块跳到对应记录\n- **虚拟化账本**：只渲染视口内若干行，支持关键词过滤；工具行直接显示耗时（如 `Bash · success · 1.5s`）\n- **检查器**：记录详情、工具入参/出参/耗时、本条消息用量（含- **压缩记录**：`compaction` 行按时间顺序插入账本\n\n## 已知边界\n\n1. **逐条耗时来自 JSONL**，不是宿主 API；JSONL 不可读时会退回逐轮统计。\n2. **没有分支树**：上游用 `buildContextEntries` 取活跃分支；宿主 API 返回扁平消息序列。\n3. **内容可能被截断**：宿主按 `contentLimit` 截断（上限 512 KiB），截断时检查器会注明。\n\n## 刷新策略\n\n事件驱动优先，轮询只做兜底：\n\n| 触发 | 行为 |\n| --- | --- |\n| `session:turnEnded` | 主信号。一轮结束立即重投影，`reason` 区分 completed/cancelled/error |\n| `session:modelChanged` | 模型切换会影响后续记录，重投影 |\n| `session:activated` | 切换会话时重投影 |\n| 可见性兜底 | 页签可见且空闲 ≥1.5s 时，每 **800ms** 用 `traj.stamp` 探一次 JSONL 的 size/mtime；真变了才重投影 |\n\n探测本身只做一次 `stat`；只有文件真的增长才重新投影，所以 800ms 的频率不会造成无谓重绘。页签不可见时完全暂停。\n\n### 分页\n\n一个页面只展示一页记录（默认 250 条）。**时间线只覆盖当前页的时间范围**，否则长会话里每个块都会小于 1 像素、无法点中。翻页不重新读取文件，数据一次读入内存。\n\n## 已知限制：没有实时流\n\npi *只在*一条消息或一次工具调用**完成时**才向 JSONL 追加一整行（实测 904 条消息 id 无重复、3282 次工具调用全部带 `durationMs`/`completedAt`、`meta.status` 只有 `complete`）。因此：\n\n- 助手正在生成的文字、正在执行的工具，都**还没有**落盘，插件读不到；\n- 实时增量只存在于宿主渲染进程内部的 agent 事件通道（`agentMessage`），不经过插件桥，插件视图无法订阅，且声明 `agent.extension` 也不能把渲染事件转成视图事件；\n- 所以刷新能做到“每完成一条就尽快出现”，但做不到“逐 token / 执行中进度”。\n\n## 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.view` | 右侧工作面板页签 |\n| `session.read.all` | 读取任意会话的标题与消息历史（高风险，安装时需明确授权） |\n| `usage.read` | 逐轮 token 计数 |\n| `fs.read` | 声明读取会话 JSONL 的意图；实际读取走插件进程内的 Node `fs` |\n\n`fs.read` 会让 `PluginCheck` 报 \"declared but never calls fs.readText\"——这是准确的：宿主 `pi.fs.*` 只接受工作区相对路径，读不到应用数据目录下的会话文件，所以这里用原生 `fs`。路径限制由 `lib/jsonl.js` 自己实现：拒绝 `..` 与路径分隔符，解析后仍必须落在 `\u003c用户目录\u003e/.pi-desktop/sessions/` 内。\n\n只读：不写入任何文件、不控制运行中的 agent、无网络访问。\n\n## 设置\n\n| 键 | 含义 | 默认 |\n| --- | --- | --- |\n| `pageSize` | 每页显示多少条记录（50–500）；分页后时间线只覆盖当前页的时间范围 | 250 |\n| `maxMessages` | 整个会话最多读取多少条消息（100–10000）；超出会截断并在顶部提示 | 5000 |\n\n## 开发\n\n```powershell\nnode --check main.js\nnode --check lib/jsonl.js\nnode --check views/trajectory.js\n```\n\n校验与打包请用 PI-Desktop 的 `PluginCheck` / `PluginPack`（`.piplug` 必须是 store-only zip，普通压缩包会被拒绝）。开发加载指向本目录，保存即热重载；**放宽 `permissions` 必须重新加载插件**，热重载不会偷偷授予新权限。\n\n### 两个容易再犯的坑\n\n- 视图脚本里不要在顶层用 `const location` / `const name` 之类与浏览器只读全局同名的绑定——那会让整份脚本抛 `SyntaxError` 且**一行都不执行**，而用 `new Function()` 做的语法校验发现不了。\n- 宿主传给视图的 `piViewOpen` 是**纯字符串**（`url.searchParams.set` 直传），不是 JSON；`view:open` 推送的 payload 是 `{ path }`。\n- **别假设视图知道自己该看哪个会话**：点页签时没有任何 subject，必须主动调 `session.getActive` 并订阅 `session:activated`。只读会话列表就收工，用户会看到全部对话。",
          "minPiDesktop": "\u003e=0.17.0",
          "shasum": "4c703f5a4044c348d51e0abc0b93288ac7a6640a51c1aaa7f82c96c627eba3a5",
          "url": "packages/local.pi-trajectory-0.1.0.piplug",
          "sizeBytes": 91680,
          "permissions": [
            "fs.read",
            "session.read.all",
            "ui.view",
            "usage.read"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "**/*.jsonl"
              ]
            }
          },
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.g1oow.sidebar-note",
      "name": "PI·侧边栏笔记",
      "description": "工作面板里的笔记：按项目隔离的笔记列表加一个全局收件箱，Markdown 编辑与预览，自动保存。",
      "author": "G1oow",
      "categories": [
        "agents-workflow",
        "productivity",
        "writing"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 58,
      "homepage": "https://github.com/G1oow/PI-desktop-Note",
      "readmeMarkdown": "# 侧栏笔记（Notes）— PI-Desktop 插件\r\n\r\n右侧工作面板里的笔记：按项目分开的笔记列表 + 一个跨项目的收件箱，Markdown 编辑与预览，自动保存。\r\n\r\n![视图位置](https://img.shields.io/badge/PI--Desktop-%E2%89%A50.9.0-blue) ![权限](https://img.shields.io/badge/permissions-ui.view%20%2B%20clipboard.write-lightgrey)\r\n\r\n## 它做什么\r\n\r\n- **停靠在右侧工作面板**：和 Git、文件管理器、终端并列，点「新建 → 笔记」打开，跟随当前会话。\r\n- **列表 ⇄ 编辑器双态**：窄栏一屏只看一件事；列表带搜索、置顶、更新时间，编辑器带面包屑、编辑/预览滑块、置顶、复制、删除。\r\n- **编辑 / 预览是滑块**：「编辑 ⇄ 预览」用分段滑块切换，选中块是纯色块（`--bg` + 发丝描边，沿用旧页签选中块的配色），选中文字用正文色、未选中灰色，位移是 stiffness≈400 / damping≈30 手感的弹簧；收件箱 / 项目 / 全部 三档页签用的是同一套外观。\r\n- **可调缩放**：列表与编辑器顶栏各有一个放大镜入口；手动 80%–160%（5% 步进），或「自适应」跟随面板宽度自动取值（约 86%–134%）。也支持 `Ctrl/Cmd+滚轮` 随时缩放，并弹出当前百分比。\r\n- **深浅模式切换**：顶栏右侧的太阳/月亮按钮在浅色与深色之间切换（默认跟随宿主外观，手动切过之后以本地偏好为准，关掉视图再打开仍然生效）。\r\n- **按钮提示从上方浮出**：所有图标按钮悬停/聚焦时在按钮上方弹出带指向箭头的气泡（顶部空间不足时自动落到下方，并夹在视口内），320ms 延迟 + 果冻回弹入场。\r\n- **卡片式列表**：每条笔记是一张卡片（中性底 + 发丝描边，hover 抬一档），标题、摘要、更新时间都在卡片内。\r\n- **按项目隔离 + 全局收件箱**：顶部三档范围（收件箱 / 项目 / 全部）。项目键是规范化后的工作区路径，同一个项目重新打开时笔记自动回来；「全部」能看到其他项目的笔记。\r\n- **Markdown 编辑 + 预览**：标题、粗体/斜体/删除线、行内代码与代码块、有序/无序列表、任务清单（`- [ ]` / `- [x]`）、引用、分隔线与链接。\r\n- **预览可交互**：预览里的任务清单方框可直接点选，按行回写正文的 `[ ]` / `[x]` 并立即保存；代码块右上角有复制按钮，点一下复制该块代码。\r\n- **自动保存 + 手动保存**：输入后 600ms 落盘，失焦、返回列表、切换笔记、隐藏窗口都会立即保存；顶栏还有保存按钮（有改动时图标变强调色），状态栏显示「未保存 / 保存中 / 已保存 HH:MM」。\r\n- **行号 + 界面字体正文**：编辑态左侧有行号槽，长段落折行后编号仍与行首对齐（按隐形镜像逐行量高度）；正文用 MiSans，与预览一致，代码块仍用 JetBrains Mono。\r\n- **跟着侧边栏自适应**：面板拖宽拖窄即时重排（`ResizeObserver` + `window.resize`）。窄于 300px：`新建` 只留图标、页签计数隐藏、行号槽收窄；窄于 240px：搜索框独占一行、操作按钮收到第二行右对齐。超宽时内容列按 780px 居中、搜索框与页签封顶 480px、`新建` 贴右边，行宽不会拉成一条线。卡片与正文始终保留 10–14px 内边距；缩放还会按面板宽度封顶。\r\n- **未保存提示**：有改动时返回列表 / 按 Esc 离开，会弹「有未保存的修改」，可选保存并离开、放弃修改或取消；弹层期间自动保存暂停，选「放弃」就是真的丢掉这次改动。\r\n- **卡片上直接置顶**：卡片右上角的图钉可以直接点（未置顶的卡片悬停时才显示），点完在「置顶 / 笔记」分组间移动。\r\n- **删除可撤销**：删除后 6 秒内点「撤销」即可恢复。\r\n- **自动快照**：每次写盘前按 10 分钟间隔留一份快照，保留最近 5 份；`notes.json` 损坏时自动回退到最新可用快照。\r\n\r\n## 安装\r\n\r\n**开发加载（推荐用于调试）**\r\n\r\n1. 打开 PI-Desktop → **扩展**（Extensions）。\r\n2. 右上角的 ⋯ 菜单 → **加载本地插件**，选择本目录（含 `manifest.json` 的那一层）。\r\n3. 审阅并授予 `ui.view`、`clipboard.write`。\r\n4. 打开任意会话，在右侧工作面板的「新建」菜单里选「笔记」。\r\n\r\n之后改动目录里的文件会在约 300ms 后热重载（`unload → 校验 → load`，面板内存不保留）。\r\n\r\n**安装包**\r\n\r\n```bash\r\npnpm pi-plugin check .\r\npnpm pi-plugin pack .\r\n# → dist/io.github.g1oow.sidebar-note-0.1.0.piplug\r\n```\r\n\r\n然后在 **扩展 → ⋯ → 安装插件包** 里选择生成的 `.piplug`（store-only ZIP，必须用 devkit 打包）。\r\n**调试：`diagnostics.log`**\r\n\r\n面板每次启动和尺寸变化，都会把自己的真实布局写进插件数据目录（`\u003cPI 数据目录\u003e/plugins/data/io.github.g1oow.sidebar-note/diagnostics.log`），每行一条 JSON：\r\n\r\n| 字段 | 含义 |\r\n|---|---|\r\n| `panelWidth` | 视图认为的面板宽度（= `min(body, innerWidth, visualViewport)`） |\r\n| `bodyWidth` / `innerWidth` / `visualWidth` | 三个来源各自的宽度，用来判断谁更窄 |\r\n| `docScrollWidth` | 文档实际宽度：大于 `panelWidth` 就是横向溢出（被裁） |\r\n| `shellClientWidth` / `shellScrollWidth` | `.shell` 的布局像素（已除以缩放）：两个值不等才是视图内部溢出 |\r\n| `zoom` / `dpr` | 当前缩放百分比与设备像素比 |\r\n| `narrow` / `tiny` / `tight` | 窄面板 / 极窄 / 编辑器顶栏紧凑态是否命中 |\r\n\r\n「右侧被裁」的判据是 `docScrollWidth \u003e panelWidth`：文档真的横向溢出了。注意 `shellClientWidth` / `shellScrollWidth` 是 `.shell` 在 `zoom` 之前的布局像素，恒等于 `panelWidth / zoom`，所以**只能彼此比较**；拿它和 `panelWidth` 比会把正常缩放误判成溢出（364px 面板在 95% 下读到的就是 384）。\r\n\r\n每次会话最多 40 条，超过 64 KiB 自动只保留后半；**不记录任何笔记内容**。\r\n\r\n\r\n## 命令与快捷键\r\n\r\n| 触发 | 效果 |\r\n|---|---|\r\n| 命令 `Notes: Open notes` / `笔记：打开笔记`（Ctrl+K 搜索） | 聚焦已打开的笔记视图 |\r\n| 设置项「打开笔记的快捷键」，默认 `Mod+Shift+N` | 同上，仅在 PI-Desktop 窗口获得焦点时生效 |\r\n| `Ctrl/Cmd+N` | 新建笔记（当前范围） |\r\n| `Ctrl/Cmd+F` | 回到列表并聚焦搜索框 |\r\n| `Ctrl/Cmd+S` | 立即保存（等同顶栏的保存按钮） |\r\n| `Esc` | 编辑器内返回列表；搜索框内清空关键词 |\r\n| `Ctrl/Cmd+滚轮` | 缩放界面（5% 步进，80%–160%），底部弹出当前百分比 |\r\n\r\n\u003e 「`Ctrl/Cmd+…`」类快捷键与 `Ctrl/Cmd+滚轮` 只在**鼠标点过插件面板、面板仍持有焦点**时生效（`Esc` 除外，它只作用于视图内部）。这样不会抢宿主的全局快捷键。\r\n\r\n## 设置\r\n\r\n| 键 | 类型 | 默认 | 说明 |\r\n|---|---|---|---|\r\n| `openShortcut` | shortcut | `Mod+Shift+N` | 绑定到命令 `note.open`。这类快捷键是**应用内**的，不是 OS 全局热键。 |\r\n\r\n## 权限\r\n\r\n| 权限 | 风险 | 用途 |\r\n|---|---|---|\r\n| `ui.view` | 低 | 提供工作面板视图；`pi.ui.revealView` 聚焦它 |\r\n| `clipboard.write` | 中 | 仅在用户点「复制正文」或点击预览里的链接时写入剪贴板 |\r\n\r\n不申请：`fs.*`（不读写你的工作区文件）、`net.*`（`manifest.net.domains` 未声明 = 无出网）、`clipboard.read`、`notify`、`agent.*`。\r\n\r\n## 数据存哪里\r\n\r\n- 位置：`pi.plugin.getDataPath()` 给出的插件私有目录（通常在 PI-Desktop 数据目录下的 `plugins/data/io.github.g1oow.sidebar-note/`）。\r\n- 文件：`notes.json`（`{ schema: 1, notes: [...] }`）+ `snapshots/*.json`。\r\n- 写入方式：临时文件 → `fsync` → `rename`，中断不会留下半写文件；写盘前按需留快照。\r\n- 界面偏好（范围、预览开关）存在视图页自己的 `localStorage`，不写进笔记文件。\r\n\r\n卸载插件会删除该目录，需要保留时先「复制正文」或备份 `notes.json`。\r\n\r\n## 容量与限制\r\n\r\n| 项 | 上限 |\r\n|---|---|\r\n| 单条正文 | 200,000 字符（超出截断） |\r\n| 单条标题 | 200 字符 |\r\n| 笔记总数 | 5,000 条 |\r\n| 撤销删除窗口 | 60 秒（提示条 6 秒后消失，期间点「撤销」即可） |\r\n\r\n## 已知行为\r\n\r\n- **预览里的链接不会直接打开浏览器**：视图是沙箱页面，`window.open` 被宿主拒绝。点击链接会把 URL 复制到剪贴板，粘贴到浏览器即可（hover 提示如是说明）。要真正打开需要额外申请 `shell.openExternal`。\r\n- 视图 tab 属于会话：没有打开任何会话时，命令只能给出提示，无法凭空开出面板。\r\n- 笔记按工作区分开：同一目录以不同路径形式（大小写、分隔符、尾斜杠）打开时，键会归一化后再比较，指向同一份笔记。\r\n- 同一个笔记在两个视图里同时编辑时，以最后一次保存为准（没有冲突合并）。\r\n- 缩放偏好（自适应 / 手动数值）存在视图页的 `localStorage`，不进笔记文件；「自适应」按面板宽度线性取值，手动范围 80%–160%。\r\n- 提示气泡优先出现在按钮上方；顶栏按钮上方就是窗口边缘、物理上没有空间，此时自动落到按钮下方（入场动画仍是从上往下落）。\r\n\r\n## 视觉\r\n\r\n| 项 | 采用 | 说明 |\r\n|---|---|---|\r\n| 字体 | **MiSans**（界面）+ **JetBrains Mono**（正文与代码） | 只按系统字体名引用，**不打包字体文件**：MiSans 单字重约 8 MB，整族远超 `.piplug` 的 50 MiB 上限。用 `@font-face { src: local(...) }` 把 Light/Regular/Medium/Semibold 绑到 300/400/500/600/700，系统没装时自动落到无衬线回退栈。 |\r\n| 配色 | **OpenCode** 双调色板 | 深色：`#121212` 底（比宿主 OpenCode 的 `#0a0a0a` 亮一档，否则插件面板和宿主背景融成一片）、`#1a1a1a` 栏与卡片、`#242424` 字段、紫 `#9d7cd8`、薄荷 `#7fd88f`、琥珀 `#f5a742`；浅色：白底、标题 `#b06915`、代码 `#27793d`、链接 `#2c66b8`。语义映射对齐 OpenCode 的 markdown 规则：标题=accent、粗体=琥珀、斜体=小麦、行内代码=薄荷/玉绿、链接=青蓝、无序标记=蜜桃。 |\r\n| 图标 | **Iconoir**（MIT） | 8 个图标（search / plus / nav-arrow-left / pin / copy / trash / page / check / zoom）以内联 `\u003csymbol\u003e` sprite 打包，描边 1.5、24 网格，随 `currentColor` 变色，**无任何外链请求**。 |\r\n| 组件 | 参考 **Obsidian** | 发丝分隔线、6px 圆角、hover 只给一层极浅底色、无渐变无重投影；列表行、分段式范围切换、实心勾选框、左侧竖线引用块、细滚动条。 |\r\n| 动效 | **Motion 风格**（自实现） | 分段滑块用纯色块 + 260ms 弹簧位移（对应示例的 `stiffness:400 / damping:30`）；开关与气泡/面板入场同样是透明度 + 位移的弹簧曲线。宿主不允许运行时拉 CDN，所以弹簧是 CSS 曲线而非 motion 库，`prefers-reduced-motion` 时全部关闭。 |\r\n\r\n## 开发\r\n\r\n```text\r\nmanifest.json        插件身份、视图/命令/设置贡献、权限\r\nmain.js              插件进程：数据读写、note:* 通道、命令注册\r\nviews/index.html     视图页骨架\r\nviews/styles.css     视图样式（light/dark 双套变量）\r\nviews/app.js         视图逻辑：列表、编辑器、Markdown 渲染、自动保存\r\n```\r\n\r\n- 视图页只有 `window.pluginBridge`，没有 `pi`：内置通道（`app.getAppearance`、`workspace.get`）走宿主，其余 `note:*` 通道由 `main.js` 的 `onPanelInvoke` 处理。\r\n- 所有用户文本都通过 `textContent` / text node 渲染，从不拼 `innerHTML`；链接只接受 `http(s):` 与 `mailto:`。\r\n- 无外部依赖、无构建步骤：产物就是上面这些可直接执行的 JS/HTML/CSS，图标也是内联的，运行时没有任何网络请求。\r\n\r\n## 第三方资源\r\n\r\n| 资源 | 用途 | 许可 / 形式 |\r\n|---|---|---|\r\n| [Iconoir](https://iconoir.com) | 图标路径数据（7 个 symbol） | MIT，路径已内联进 `views/index.html`，不随包分发图标库本体 |\r\n| [OpenCode](https://github.com/anomalyco/opencode) | 配色与 markdown 语义色参考 | 仅作配色参考，未复制代码 |\r\n| MiSans（小米） | 界面字体 | [MiSans 字体许可](https://hyperos.mi.com/font/license/) 允许免费商用；本插件**不打包**字体文件，仅按系统字体名引用 |\r\n| JetBrains Mono | 正文与代码字体 | OFL-1.1；同上，按系统字体名引用 |\r\n\r\n## 许可\r\n\r\nMIT，见 [LICENSE](LICENSE)。\r\n",
      "safetyNotes": "笔记保存在插件自己的数据目录（notes.json，附自动快照），不读写工作区文件，不访问网络，不使用剪贴板读取。仅在用户主动点“复制”时写入剪贴板。",
      "versions": [
        {
          "version": "0.1.2",
          "publishedAt": "2026-11-23T11:17:02Z",
          "changelog": "- 修复：切换项目后侧边栏笔记仍在显示上一个项目的内容。宿主的 docked 视图按 `pluginId/viewId` 只缓存一份页面，切项目不会重建，此前只在 `workspace:changed` 里刷列表，编辑器里还是旧项目的笔记。\n- 新增 `project-state.json`（插件私有目录）：按规范化工作区路径记住每个项目「正在打开的笔记」，最多 200 个项目。切进某个项目时先保存上一个项目的改动，再恢复它自己那次打开的那条笔记；没有记忆就显示该项目列表。\n- 新增 `note:remember` 通道；打开 / 新建笔记时写记忆，返回列表时清掉。只记属于当前项目或跨项目收件箱的笔记，在 A 项目打开 B 项目的笔记不会污染 A 的记忆。\n- 删除笔记时同步清理指向它的记忆；记忆文件损坏、条目过期或指向已删除笔记时静默重建，不影响 `notes.json` 与快照回退。\n- 保存失败时不切项目：面板留在原处并提示「上一个项目的改动没保存成功」，避免改动丢失。\n- `flushSave()` 改为等待进行中的那次保存，切项目 / 切笔记前保证改动真的落盘。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "c73dcd01b81cb508525fd2972f31e230059c9ea0bb0c82286c7282c98ed79b0d",
          "url": "packages/io.github.g1oow.sidebar-note-0.1.2.piplug",
          "sizeBytes": 1165658,
          "permissions": [
            "clipboard.write",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/G1oow/PI-desktop-Note",
            "sourceRef": "v0.1.2",
            "sourceCommit": "d15c63605e56c104360a1a032be737790c7efa2e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T11:14:26Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-11-19T05:47:25Z",
          "changelog": "## 0.1.1\n\n- 中文名改为 **PI·侧边栏笔记**（英文名 `Notes` 不变）。\n- 分发包内不再附带开发文档 `AGENT.md` 与 `.gitignore`，它们只留在仓库。",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "4e19dde25920a3ebe7cac331fc3d2de19ed84917f848565e39dfe23442e01ce5",
          "url": "packages/io.github.g1oow.sidebar-note-0.1.1.piplug",
          "sizeBytes": 161834,
          "permissions": [
            "clipboard.write",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/G1oow/PI-desktop-Note",
            "sourceRef": "v0.1.1",
            "sourceCommit": "998e2a6ce1cfb535d3776ab89ade22593b8e3ff1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-19T05:45:14Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-18T15:21:04Z",
          "changelog": "## 首个版本\n\n工作面板里的笔记：**收件箱 / 项目 / 全部** 三档范围，Markdown 编辑与预览，自动保存，置顶、搜索、删除撤销。\n\n- 数据只写插件自己的私有目录：`notes.json` 原子写 + 快照回退\n- 权限仅 `ui.view`、`clipboard.write`；无网络出口，资源全部内联\n- 深浅色跟随宿主并可手动切换；界面缩放 80%–160%，窄面板自适应\n- 中英双语，跟随宿主语言与外观实时切换",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "5e7e9a5bf166ff75b6fad3f4cc7bc3c1453bb2d5438bdaf83f08eaf66c91dab3",
          "url": "packages/io.github.g1oow.sidebar-note-0.1.0.piplug",
          "sizeBytes": 173456,
          "permissions": [
            "clipboard.write",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/G1oow/PI-desktop-Note",
            "sourceRef": "v0.1.0",
            "sourceCommit": "d316edb789e3a5e4827c588f5a01b8b9554a8b5c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-18T15:18:35Z"
          }
        }
      ]
    },
    {
      "id": "local.project-memory-api-probe",
      "name": "KnowStack",
      "description": "Concise, deduplicated native project memory for PI-Desktop, with session-bound saves, per-project automatic saving or user approval, and a memory editor.",
      "author": "KnowStack",
      "i18n": {
        "zh-CN": {
          "name": "知栈 · KnowStack",
          "description": "将已验证、可复用的新结论精简追加到 PI-Desktop 原生项目记忆；支持去重、按项目自动保存或人工确认，以及当前窗口项目记忆管理。没有新知识时不凑数。"
        }
      },
      "categories": [
        "memory-knowledge",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 305,
      "homepage": "https://github.com/new-Beginner/KnowStack",
      "readmeMarkdown": "# 知栈 · KnowStack 0.4.4\r\n\r\n只使用 PI-Desktop 原生项目记忆。精简提炼已验证、可复用且当前记忆未覆盖的新结论，没有新知识就不生成占位记忆。\r\n\r\n## 功能\r\n- 保存前读取当前原生记忆，结合 Agent 语义比较和本地重复拦截；每批最多 3 条，标题不超过 24 字符，正文不超过 300 字符。\r\n- 绑定可信发起会话，保存前核对项目归属和快照，回读验证后才报告成功。\r\n- 默认自动保存，可按项目关闭改为工具卡人工确认；提供可视化项目开关，多文件夹项目共用记忆和设置。\r\n- 右侧工作面板“新建（＋）→ 项目记忆”打开编辑器，跟随当前窗口本地项目，包括无聊天项目；支持手动增删改和重新读取，显式保存才写入。\r\n- 项目切换保留未保存草稿并停止旧草稿提交；删除和放弃草稿使用页内确认。\r\n\r\n## 0.4.4 修复\r\n正式入口统一为 main.js；项目跟随替换为当前窗口只读 DOM 身份标记，不动态加载宿主模块或提取状态仓库。保留全部保存模式、无聊天项目和窗口隔离；增加异步过期结果及快速 A→B→A 切换保护，修复身份解析期间重新读取的竞态，关闭或卸载时清理监听。\r\n\r\n## 使用\r\n1. PI-Desktop 最低版本 \u003e=0.20.1，安装并审核权限。\r\n2. 停用旧 axc00.project-knowledge 插件，避免两套流程竞争。\r\n3. 开始新 Agent 会话或重启已有 Agent，使扩展指引生效。\r\n4. 在工具卡核对保存回执；关闭自动后须点击确认。\r\n\r\n## 安全及验证\r\nAgent 只追加，不自动改写或删除旧记忆；手动编辑需显式保存。不联网、不调用 Jev、不维护 .workflow 知识库，不直接访问数据库或改宿主源码。语义去重依赖任务 Agent，不承诺每轮必定生成记忆。\r\n\r\nDOM 标记和原生记忆内部 Renderer IPC 是兼容边界，整表保存不具备跨窗口原子并发保护，请勿同时修改同一项目记忆。遇到冲突、归属变化或结果不确定时先重新读取核对，不盲目重试；远程项目不纳入管理。\r\n\r\n132 项 Node 回归、8 组 Chrome 可信输入测试及 PluginCheck/PluginPack 通过；官方源码及成包预审 0 阻断、22 项人工审查信号。模拟浏览器测试不代替真实 Windows/Electron 项目跟随、记忆保存和删除后聊天焦点验收，不代表商店批准。\r\n\r\n## Source / 源码\r\nhttps://github.com/new-Beginner/KnowStack\r\n\r\nSource tag: v0.4.4\r\nCommit: 599a370a534b3dd7848aa2feeb6970b2f71186b0\r\nRelease: https://github.com/new-Beginner/KnowStack/releases/tag/v0.4.4\r\nPackage: local.project-memory-api-probe-0.4.4.piplug\r\nSHA-256: 23057766796ffeed4e249c29981324dd7dfb6384935fbdb951a9005930fed9ba\r\n\r\n## English\r\nKnowStack uses only PI-Desktop native project memory: concise lessons, deduplication, session-bound appends, per-project automatic/manual saving and a current-window memory editor. Automatic saving is ON by default; disable it per project for a real approval click. No new knowledge means no new memory.\r\n\r\n0.4.4 standardizes main.js and replaces dynamic host-module loading with read-only window-local DOM identity markers, retaining no-chat projects, window isolation, drafts, ownership checks and all saving modes. Internal renderer IPC, DOM compatibility and non-atomic whole-list writes remain limitations. Automated mock-data checks do not imply real-host acceptance or marketplace approval.",
      "safetyNotes": "默认开启自动保存：合格新记忆可直接追加到发起会话所属项目，可按项目关闭以要求真实用户点击确认。Agent 仅追加，不自动改写或删除旧记忆；手动编辑需显式保存，仅加载插件不会写入。\r\n\r\n仅使用原生项目记忆，不联网、不调用 Jev、不维护第二套 .workflow 知识库、不直接访问数据库或修改宿主源码。现有 agent.tool.register、agent.extension、renderer.extension 权限不变。\r\n\r\n0.4.4 项目识别使用当前窗口只读 DOM 身份标记，不动态加载宿主模块或提取状态仓库。会话路径由受限固定 sessionGet 核验；DOM 与原生记忆内部 Renderer IPC 仍是兼容边界。整表保存无跨窗口原子并发保护，请勿同时修改同一项目记忆。上下文缺失、歧义或远程身份停止读写。\r\n\r\n132 项 Node 测试和 8 组 Chrome 可信输入测试通过；浏览器使用模拟数据。源码及成包自动预审为 0 阻断、22 项人工审查信号，不代表真实 Windows/Electron 验收或商店批准。停用旧 axc00.project-knowledge，避免流程竞争。\r\n\r\nAutomatic saving is ON by default; disable it per project for a real approval click. The Agent only appends; manual edits require explicit saving. No network access, Jev, parallel knowledge files, database access or host-source changes. Internal renderer IPC, DOM compatibility and non-atomic whole-list writes remain limitations. Mock-data checks do not imply real-host acceptance or marketplace approval.",
      "versions": [
        {
          "version": "0.6.3",
          "publishedAt": "2026-11-08T08:53:51Z",
          "changelog": "### 新增\n- **长期项目记忆**：优先保存仓库信息、项目约束、稳定决策和会话索引，减少进度日志与重复内容。\n- **原条目修改与可控删除**：支持按原 ID 更新记忆；模型自主删除由独立开关控制，默认关闭，自动保存不授权删除。\n- **正式内嵌侧栏**：在右侧工作面板直接管理项目记忆，与设置页共用项目级开关。\n- **最终回复提醒**：疑似过时记忆直接显示在最终回答下方，支持查看依据、定位条目和忽略提醒。\n\n### 优化与修复\n- 优化首次加载和跨项目对话切换，防止旧请求覆盖新项目内容。\n- 修复设置列表滚动回跳、自动保存状态未确认时误显示为关闭的问题。\n- 精简侧栏文案，显示项目名称，刷新、添加和删除采用图标按钮。\n- 设置、侧栏和提醒卡跟随宿主主题，适配青叶·浅绿、浮影及默认浅深色。\n- 改进错误提示与只读瞬态恢复；结果不确定的写入不会自动重试。\n\n### 升级提示\n相较 0.4.4，本版新增 `ui.view` 侧栏展示权限，请按宿主提示重新加载并确认授权，然后重启当前会话 Agent。已有项目设置保留，模型删除默认关闭。\n\n本版已通过自动化与模拟浏览器回归检查；真实宿主安装验收及平台审核仍待完成。",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "31f3255b574e22959c86ff829c554615cfdf22ac176c9b719526ac6eee7fbbdf",
          "url": "packages/local.project-memory-api-probe-0.6.3.piplug",
          "sizeBytes": 2899250,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "renderer.extension",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/new-Beginner/KnowStack",
            "sourceRef": "v0.6.3",
            "sourceCommit": "25730b8b3317e58c5dd29bf48e2874044d658c95",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-08T08:51:50Z"
          }
        },
        {
          "version": "0.4.4",
          "publishedAt": "2026-10-18T15:46:03Z",
          "changelog": "KnowStack 0.4.4 — 入口与项目上下文兼容修复\n\n- 正式入口统一为 main.js，消除原 MAN007 阻断。\n- 项目跟随使用当前窗口只读 DOM 身份标记，不再动态加载宿主模块或提取状态仓库，消除原 SEC003 阻断。\n- 保留无聊天项目、窗口隔离、草稿保护、会话归属和保存前复核，增加异步过期结果及快速 A→B→A 切换保护。\n- 修复身份解析期间重新读取的竞态；关闭/卸载释放监听并中止等待。\n- 保留自动保存、人工确认、项目开关、手动增删改与页内确认，无新增权限。\n\n验证：132 项 Node 测试、8 组 Chrome 可信输入测试及 PluginCheck/PluginPack 通过。官方源码及成包预审 0 阻断、22 项人工审查信号。浏览器使用模拟数据，不代表真实 Windows/Electron 验收或商店批准。内部 Renderer IPC、DOM 兼容边界和非原子整表保存限制仍存在。\n\nSource: new-Beginner/KnowStack @ v0.4.4\nCommit: 599a370a534b3dd7848aa2feeb6970b2f71186b0\nRelease: https://github.com/new-Beginner/KnowStack/releases/tag/v0.4.4\nPackage: local.project-memory-api-probe-0.4.4.piplug\nSHA-256: 23057766796ffeed4e249c29981324dd7dfb6384935fbdb951a9005930fed9ba\n\nEnglish: 0.4.4 standardizes main.js and replaces dynamic host-module loading with read-only window-local DOM identity markers. All saving modes, no-chat projects, isolation and draft protection remain. Stale async results, rapid context switches and pending reads are guarded. 132 Node tests and 8 Chrome trusted-input scenarios passed using mock data; official source/package preflight reports 0 blockers and 22 manual-review signals. Real-host acceptance and marketplace approval are not implied.",
          "minPiDesktop": "\u003e=0.20.1",
          "shasum": "23057766796ffeed4e249c29981324dd7dfb6384935fbdb951a9005930fed9ba",
          "url": "packages/local.project-memory-api-probe-0.4.4.piplug",
          "sizeBytes": 1489820,
          "permissions": [
            "agent.extension",
            "agent.tool.register",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/new-Beginner/KnowStack",
            "sourceRef": "v0.4.4",
            "sourceCommit": "599a370a534b3dd7848aa2feeb6970b2f71186b0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-18T15:45:32Z"
          }
        }
      ]
    },
    {
      "id": "io.github.moyunliuyin.cline-upstream",
      "name": "cline使用与上游选择",
      "description": "Expose ClinePass' real upstream choice.\r\n\r\nEvery chat request is logged with the provider that actually served it, how many fallbacks remained, the prompt-cache hit count and the exact cost. The model list ships 18 built-in cline-pass models with their context window and thinking levels; tick the ones you allow and anything else is rejected at forward time with 404 model_not_enabled. The ClinePass API key is sealed at rest with Windows DPAPI (bound to the current user) — only ciphertext touches disk, and it is decrypted into memory once at startup.\r\n\r\nNote: the Cline gateway ignores client-side routing hints. provider.only and allow_fallbacks were tested with three different providers and the request still landed on the affinity-pinned upstream, so this plugin reports the real route instead of promising to pin it.",
      "author": "",
      "categories": [
        "ai-models",
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 101,
      "versions": [
        {
          "version": "0.7.8",
          "publishedAt": "2026-10-22T13:18:49Z",
          "changelog": "0.7.8 — 首个公开版本\n\n【功能】\n- 逐条请求日志：每个请求一行，记录时间、逻辑模型 id、实际发出的 id（锚定改写时）、实际落点上游、\n  网关钉住的上游、剩余备选数、prompt 缓存命中、本次成本与路由校验结果。\n  服务端保留最近 200 条，面板展示最近 60 条。\n- 锚定上游（按模型 id 改写）：面板可为每个模型「探测」同族的不同 id，列出各自落在哪家上游，\n  并区分「可锚定」（有 id 主选它）与「仅备选」（只在降级时使用，客户端无法指定）；\n  探测失败的候选置灰不可选。选定后插件在转发时改写 model 字段，保存即生效，无需重启。\n- 每个模型的默认思考强度：模型行右侧可选档位，写入服务商声明，重启 PI 后输入框默认使用该档位。\n- 模型管理：内置 18 个 cline-pass 模型（含上下文窗口、视觉支持、思考档位），勾选即生效；\n  未勾选的模型在转发层返回 404 model_not_enabled，不消耗上游额度。\n- API Key 保护：Windows 上用 DPAPI（绑定当前登录用户）加密后落盘，磁盘与下发快照只保留密文；\n  平台不支持加密（非 Windows）或加密失败时保持明文并在面板明确提示，绝不会静默丢 key。\n- 本机 OpenAI 兼容端点：127.0.0.1:41891 提供 /v1 兼容接口，转发到 api.cline.bot 并保持流式响应。\n\n【锚定为什么是改写模型 id】\n实测三条：① 请求体的 provider.only / allow_fallbacks 被网关忽略；② clientSessionId 由 API Key 决定，\n客户端传什么都变不了，无法靠换会话重掷；③ 落点是 (key, 模型 id) 的函数——同一 id 永远同一家。\n因此唯一可行的锚定方式就是改写请求里的 model 字段。注意：id 变了，实际服务的模型变体也会变\n（同族，可能不同版本或量化）；想零风险就把下拉留在「原样转发」，只当观察器用。\n\n【可锚定性取决于网关的供应商计划（实测）】\n- cline-pass/deepseek-v4.1-flash → 私有通道（0 家备选）\n- deepseek/deepseek-v4.1-flash-1017 → fireworks（17 家备选）\n- deepseek/deepseek-v4.1-flash → alibaba（21 家备选）\n- deepseek/deepseek-v4-pro 与 cline-pass/deepseek-v4-pro → deepseek（官方）\n官方 DeepSeek 在 4.1-flash 的两个 id 里都存在，但分别排在执行顺序第 2 / 第 10 位，属于降级位，\n客户端无法主动触达；要稳定走官方只能用 v4-pro。\n\n【版本历史】\n- 0.7.8 修复 key 丢失：无法加密时不再清空宿主里的 key；面板提示明文/加密状态\n- 0.7.7 探测失败的候选在下拉里置灰不可选\n- 0.7.6 日志显示锚定改写后的实际 id\n- 0.7.5 修复探测后下拉选不到候选（防抖快照导致读到旧数据）\n- 0.7.4 探测结果展示完整备选名单\n- 0.7.3 修复探测结果被刷新覆盖\n- 0.7.2 修复探测候选为空（改从全量目录匹配）\n- 0.7.1 探测补全可达上游全集，区分可锚定与仅备选\n- 0.7.0 新增锚定上游（按模型 id 改写）\n- 0.6.1 成本改读 marketCost / inferenceCost\n- 0.6.0 新增每个模型的默认思考强度\n- 0.5.0 逐条请求日志；API Key 改为 DPAPI 加密存储；定位更正为观察器\n\n【重要说明】\n- 模型清单与思考档位由宿主在启动时按声明重建，改动需重启 PI；锚定的 id 改写属于请求级改写，保存即生效。\n- /api/v1/models 自 2026-10-21 起返回 OpenRouter 风格目录、不再包含 cline-pass/*，故模型清单内置。\n- 每次探测会产生几次真实调用（每次约 $0.00003）。\n- 非 Windows 平台没有 DPAPI 等价物，key 以明文保存（面板会提示）；可用 macOS Keychain /\n  Linux libsecret 的方案尚未实现。\n\n【权限】\nui.panel、background.service、provider.register。出站仅 api.cline.bot。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "99335fed2ef3147b385ca941154f449740742a3e038c8fcb1e2741fa1e70dc73",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.7.8.piplug",
          "sizeBytes": 97887,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.7.8",
            "sourceCommit": "4eb3c3d9721cf4c59fde5ea9831f0c58aa6d17c9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T11:03:14Z"
          }
        },
        {
          "version": "0.7.7",
          "publishedAt": "2026-10-22T10:40:04Z",
          "changelog": "0.7.7 — 首个公开版本\n\n【功能】\n- 逐条请求日志：每个对话请求一行，记录时间、逻辑模型 id、实际发出的 id（锚定改写时）、\n  实际落点上游、网关钉住的上游、剩余备选数、prompt 缓存命中、本次成本与路由校验结果。\n  服务端保留最近 200 条，面板展示最近 60 条。\n- 锚定上游（按模型 id 改写）：面板可为每个模型「探测」同族的不同 id，列出各自落在哪家上游，\n  并区分「可锚定」（有 id 主选它）与「仅备选」（只在降级时使用，客户端无法指定）；\n  探测失败的候选会置灰不可选。选定后插件在转发时改写 model 字段，保存即生效，无需重启。\n- 每个模型的默认思考强度：模型行右侧可选档位（选项取自该模型支持的 thinking levels），\n  写入服务商声明，重启 PI 后输入框默认使用该档位；非法值自动回退。\n- 模型管理：内置 18 个 cline-pass 模型（含上下文窗口、视觉支持、思考档位），勾选即生效；\n  未勾选的模型在转发层返回 404 model_not_enabled，不消耗上游额度。\n- 凭据安全：ClinePass API Key 用 Windows DPAPI（绑定当前登录用户）加密后落盘，磁盘与下发快照\n  只保留密文，启动时解密到内存；旧版明文在升级首启时自动加密并清空。\n- 本机 OpenAI 兼容端点：127.0.0.1:41891 提供 /v1 兼容接口，转发到 api.cline.bot 并保持流式响应。\n\n【锚定为什么是改写模型 id】\n实测三条：① 请求体里的 provider.only / allow_fallbacks 被网关忽略；\n② clientSessionId 由 API Key 决定，客户端传什么都变不了，无法靠换会话重掷；\n③ 落点是 (key, 模型 id) 的函数——同一 id 永远同一家，换 id 才换家。\n因此唯一可行的锚定方式就是改写请求里的 model 字段。注意：id 变了，实际服务的模型变体也会变\n（同族，可能不同版本或量化）；想零风险就把下拉留在「原样转发」，只当观察器用。\n\n【可锚定性取决于网关的供应商计划（实测）】\n- cline-pass/deepseek-v4.1-flash → private/deepseek-v4p1-flash-contributor（私有通道，0 备选）\n- deepseek/deepseek-v4.1-flash-1017 → fireworks（17 家备选）\n- deepseek/deepseek-v4.1-flash → alibaba（21 家备选）\n- deepseek/deepseek-v4-pro / cline-pass/deepseek-v4-pro → deepseek（官方）\n官方 DeepSeek 在 4.1-flash 的两个 id 里都存在，但排在执行顺序第 2 / 第 10 位，属于降级位，\n客户端无法主动触达；要稳定走官方只能用 v4-pro。\n\n【版本历史】\n- 0.7.7 探测失败的候选在下拉里置灰不可选\n- 0.7.6 日志显示锚定改写后的实际 id（模型列第二行）\n- 0.7.5 修复探测后下拉选不到候选（快照防抖发布导致读到旧数据；改为立即发布 + 面板本地兜底）\n- 0.7.4 探测结果展示完整备选名单（不截断），可锚定项标注各自的备选数\n- 0.7.3 修复探测结果被后续刷新覆盖\n- 0.7.2 修复探测候选为空（候选改从接口返回的全量目录匹配）\n- 0.7.1 探测补全可达上游全集，区分可锚定与仅备选\n- 0.7.0 新增锚定上游（按模型 id 改写）\n- 0.6.1 成本改读网关的 marketCost / inferenceCost（私有通道 cost 恒为 0）\n- 0.6.0 新增每个模型的默认思考强度\n- 0.5.0 逐条请求日志；API Key 改为 DPAPI 加密存储；定位更正为观察器\n\n【重要说明】\n- 模型清单与思考档位由宿主在启动时按声明重建，改动需重启 PI；锚定的 id 改写属于插件侧请求改写，保存即生效。\n- /api/v1/models 自 2026-10-21 起返回 OpenRouter 风格目录、不再包含 cline-pass/*，故模型清单内置在插件中。\n- 每次探测会产生几次真实调用（每次约 $0.00003）。\n\n【权限】\nui.panel、background.service、provider.register。出站仅 api.cline.bot。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "1b39393df7ce1a3cf54a759edb3cc5b844c4e0ea98d48f95d178a615a748dc7b",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.7.7.piplug",
          "sizeBytes": 96840,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.7.7",
            "sourceCommit": "d3429e06063f2d59db129ba9c782492c3b2bf072",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T10:39:26Z"
          }
        },
        {
          "version": "0.7.5",
          "publishedAt": "2026-10-22T06:41:55Z",
          "changelog": "可以选择锚定的上游(注:可能会导致有的时候无法正常使用)",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "7bab94d747bbcc2a05bdc0b632e04484f5be2d5cc8b89ea61a3021740d06cec8",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.7.5.piplug",
          "sizeBytes": 96233,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.7.5",
            "sourceCommit": "17cfc8502f060051d20144fffb80908ae87dadb3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T06:41:15Z"
          }
        },
        {
          "version": "0.7.3",
          "publishedAt": "2026-10-22T06:26:51Z",
          "changelog": "0.7.3 — 首个公开版本\n\n【功能】\n- 逐条请求日志：每个对话请求一行，记录时间、完整模型 id、实际落点上游、网关钉住的上游、\n  剩余备选数、prompt 缓存命中 token 数、本次成本与路由校验结果。服务端保留最近 200 条，\n  面板展示最近 60 条。\n- 锚定上游（按模型 id 改写）：面板可为每个模型「探测」同族的不同 id，列出各自会落在哪家上游，\n  并区分「可锚定」（有 id 主选它）与「仅备选」（只在降级时使用）；选定后插件在转发时改写\n  `model` 字段，保存即生效，无需重启。\n- 每个模型的默认思考强度：模型行右侧可选档位（选项取自该模型支持的 thinking levels），\n  写入服务商声明，重启 PI 后输入框默认使用该档位；非法值自动回退。\n- 模型管理：内置 18 个 cline-pass 模型（含上下文窗口、视觉支持、思考档位），勾选即生效；\n  未勾选的模型在转发层直接返回 404 model_not_enabled，不消耗上游额度。\n- 凭据安全：ClinePass API Key 用 Windows DPAPI（绑定当前登录用户）加密后落盘，磁盘与下发快照\n  只保留密文，启动时解密到内存；旧版明文会在升级首启时自动加密并清空。\n- 本机 OpenAI 兼容端点：127.0.0.1:41891 提供 /v1 兼容接口，转发到 api.cline.bot 并保持流式响应。\n\n【为什么锚定要改模型 id】\n实测三条结论：① 请求体里的 provider.only / allow_fallbacks 被网关忽略；\n② clientSessionId 由 API Key 决定，客户端传什么都不变，无法靠换会话重掷；\n③ 落点是 (key, 模型 id) 的函数——同一 id 永远是同一家，换 id 才换家。\n因此唯一可行的锚定方式就是改写请求里的 model 字段。注意：id 变了，实际服务的模型变体也会变\n（同族，但可能是不同版本或量化）；想零风险就把下拉留在「原样转发」，只当观察器使用。\n\n【版本历史】\n- 0.7.3 修复探测结果被后续刷新覆盖，提示条现在保留并分行列出可锚定/仅备选\n- 0.7.2 修复探测候选为空：候选改从接口返回的全量目录匹配（此前读的是过滤后的列表）\n- 0.7.1 探测补全可达上游全集，区分可锚定与仅备选\n- 0.7.0 新增锚定上游（按模型 id 改写）\n- 0.6.1 成本改读网关的 marketCost / inferenceCost（私有通道 cost 恒为 0，此前面板一直显示 $0）\n- 0.6.0 新增每个模型的默认思考强度；修复只改档位时声明不落盘\n- 0.5.0 逐条请求日志；API Key 改为 DPAPI 加密存储；定位更正为观察器\n\n【重要说明】\n- 模型清单与思考档位由宿主在启动时按声明重建，改动需重启 PI 生效，面板会直接标出；\n  锚定的 id 改写属于插件侧请求改写，保存即生效。\n- 上游 /api/v1/models 自 2026-10-21 起返回 OpenRouter 风格目录、不再包含 cline-pass/*，\n  因此模型清单内置在插件中，不依赖该接口。\n- 每次探测会产生几次真实调用（每次约 $0.00003）。\n\n【权限】\nui.panel（面板）、background.service（常驻转发服务）、provider.register（注册服务商）。\n出站仅 api.cline.bot。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "d033cb1161e3b6d857d637d4f1cab78c3c37cd4b09426d2f5d733dbe6d507633",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.7.3.piplug",
          "sizeBytes": 95313,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.7.3",
            "sourceCommit": "daa0aece6eb65343c7bb58d2cb4a16d3b7a7c488",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T06:26:13Z"
          }
        },
        {
          "version": "0.6.1",
          "publishedAt": "2026-10-22T05:50:06Z",
          "changelog": "0.6.1 — 首个公开版本\n\n【功能】\n- 逐条请求日志：每个对话请求一行，记录时间、完整模型 id、实际落点上游、网关钉住的上游、\n  剩余备选数、prompt 缓存命中 token 数、本次成本，以及路由校验结果。\n  服务端保留最近 200 条，面板展示最近 60 条。\n- 每个模型的默认思考强度：面板每个模型右侧可选档位（选项取自该模型支持的 thinking levels），\n  保存后写入服务商声明，重启 PI 后输入框默认使用该档位；非法档位自动回退。\n- 模型管理：内置 18 个 cline-pass 模型（含上下文窗口、视觉支持、思考档位），勾选即生效；\n  未勾选的模型在转发层直接返回 404 model_not_enabled，不消耗上游额度。\n- 凭据安全：ClinePass API Key 使用 Windows DPAPI（绑定当前登录用户）加密后落盘，\n  磁盘与下发快照只保留密文，启动时解密到内存；旧版明文会在升级首启时自动加密并清空。\n- 本机 OpenAI 兼容端点：127.0.0.1:41891 提供 /v1 兼容接口，转发到 api.cline.bot 并保持流式响应不变。\n\n【0.6.1 修复】\n- 成本列改为优先取网关的 marketCost / inferenceCost。走私有通道时 cost 字段恒为 0，\n  此前面板会一直显示 $0；缓存字段缺失时显示 —，不再当作 0。\n\n【0.6.0 修复】\n- 修复只修改思考档位时声明不落盘的问题（此前只比较模型 id，列表未变就提前返回）。\n\n【重要说明】\n- Cline 网关会忽略客户端传入的路由字段。provider.only 与 allow_fallbacks 已用\n  fireworks / gmicloud / baseten 三个上游各测一次，请求仍落在会话亲和的节点上，\n  因此本插件定位为「观察器」：如实报告真实上游，不承诺固定上游。\n- PI 的服务商模型列表由宿主在启动时按清单重建，改动模型清单或思考档位需重启 PI 生效，面板会直接标出。\n- 上游 /api/v1/models 自 2026-10-21 起返回 OpenRouter 风格目录、不再包含 cline-pass/*，\n  因此模型清单内置在插件中，不依赖该接口。\n\n【权限】\nui.panel（面板）、background.service（常驻转发服务）、provider.register（注册服务商）。\n出站仅 api.cline.bot。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "a79be7cd80ca5f7a120994d7b55db1653d1a123b6559c7371be15dfde45d25e7",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.6.1.piplug",
          "sizeBytes": 84794,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.6.1",
            "sourceCommit": "f0b87a58e26b054b7341514e39f428b8552c7164",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T05:49:28Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-10-22T05:21:48Z",
          "changelog": "0.6.0\n- 新增「每个模型的默认思考强度」：面板每个模型右侧可选择档位，选项取自该模型支持的 thinking levels；\n  保存后写入服务商声明，重启 PI 后输入框默认使用该档位。非法档位会自动回退到原默认值。\n- 修复只改思考档位时声明不落盘的问题（此前只比较模型 id，会在列表未变时提前返回）。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "efdddcf7d9cba5deefac47cbaa0f3e31f83b805f6be592a5cadd73dc1a622445",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.6.0.piplug",
          "sizeBytes": 84038,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.6.0",
            "sourceCommit": "97561a1ddae3f0fde418d8ceecb777c26a7d634e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T05:21:11Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-10-21T08:22:08Z",
          "changelog": "0.5.0 — 首个公开版本\n\n【功能】\n- 逐条请求日志：每个对话请求一行，记录时间、完整模型 id、实际落点上游、网关钉住的上游、剩余备选数、prompt 缓存命中 token 数、本次成本，以及路由校验结果；服务端保留最近 200 条，面板展示最近 60 条。\n- 模型管理：内置 18 个 cline-pass 模型（含上下文窗口、视觉支持、思考档位），勾选即生效；未勾选的模型在转发层直接返回 404 model_not_enabled，不消耗上游额度。\n- 凭据安全：ClinePass API Key 使用 Windows DPAPI（绑定当前登录用户）加密后写入插件设置，磁盘与下发快照只保留密文，启动时解密到内存；从旧版本升级时，已有明文会被自动加密并清空。\n- 本机 OpenAI 兼容端点：插件在 127.0.0.1:41891 提供 /v1 兼容接口，把请求转发到 api.cline.bot，并保持流式响应不变。\n\n【重要说明】\n- Cline 网关会忽略客户端传入的路由字段。provider.only 与 allow_fallbacks 已用 fireworks / gmicloud / baseten 三个不同上游各测一次，请求仍落在会话亲和的节点上，因此本插件定位为「观察器」：如实报告真实上游，不承诺把请求固定到指定上游。面板与 README 均按此说明。\n- PI 的服务商模型列表由宿主在启动时按清单重建，模型清单改动需重启 PI 才会同步到下拉框；插件会在面板上直接标出这一点。\n- 上游 /api/v1/models 自 2026-10-21 起返回 OpenRouter 风格目录、不再包含 cline-pass/*，因此模型清单内置在插件中，不依赖该接口。\n\n【权限】\nui.panel（面板）、background.service（常驻转发服务）、provider.register（注册服务商）。仅向 api.cline.bot 出站。",
          "minPiDesktop": "\u003e=0.15.0",
          "shasum": "15a390fe870eb3b094a3724291659ab1e27137216c35be6d4e03f272b8719b09",
          "url": "packages/io.github.moyunliuyin.cline-upstream-0.5.0.piplug",
          "sizeBytes": 80457,
          "permissions": [
            "background.service",
            "provider.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/moyunliuyin/pi-desktop-cline-upstream",
            "sourceRef": "v0.5.0",
            "sourceCommit": "a5907f6b58ac0d40e25225c833e8cf5e83f2e850",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T08:21:31Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-bot",
      "name": "PI Bot",
      "description": "Bring persistent AI Bot teams to PI Desktop, with private chats, multi-agent group collaboration, memory, skills, voice input, and app connections. An independently maintained adaptation of DeepSeek-Bot.",
      "author": "vsd269",
      "i18n": {
        "zh-CN": {
          "name": "PI Bot",
          "description": "为 PI Desktop 打造的 AI Bot 团队协作插件，支持独立 Bot 私聊、多智能体群聊协作、记忆管理、技能导入与分配、语音输入及应用连接。基于 DeepSeek-Bot 学习与适配，持续优化桌面交互体验。"
        }
      },
      "categories": [
        "agents-workflow",
        "memory-knowledge"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 1033,
      "homepage": "https://github.com/vsd269/PI-Bot",
      "readmeMarkdown": "# PI Bot\r\n\r\nPI Bot 是面向 PI Desktop 的 AI Bot 团队协作插件，基于 DeepSeek-Bot 学习、迁移并持续适配。\r\n\r\n## 主要功能\r\n\r\n- 创建多个 Bot，分别配置角色、模型与能力。\r\n- 支持私聊和群聊，由管理员协调成员协作完成任务。\r\n- 支持记忆管理、历史检索与技能导入，可批量分配技能。\r\n- 提供语音输入、语音对话及应用连接功能。\r\n- 支持明暗主题，并提供 GitHub 新版本提醒。\r\n\r\n## 开始使用\r\n\r\n1. 安装插件，按需授权并重启 PI Desktop。\r\n2. 在 PI Desktop 中配置可用的模型。\r\n3. 打开 PI Bot，创建 Bot 或群聊。\r\n4. 语音及第三方应用连接需另行配置对应服务。\r\n\r\n模型及第三方服务可能产生费用，以所选服务商的计费规则为准。\r\n\r\n## 旧版升级提醒\r\n\r\n从 0.3.80 或更早版本升级时，请先停用旧版 PI Bot，暂不要卸载，再安装新版并重启。\r\n\r\n新版插件标识为 local.pi-bot，首次启动会自动迁移旧数据。请等待迁移完成，勿同时启用新旧两个插件。\r\n\r\n## 开源与致谢\r\n\r\n本项目是独立维护的 PI Desktop 适配项目，基于 DeepSeek-Bot，保留上游来源说明与许可声明，使用 Apache-2.0 许可证。\r\n\r\n项目主页：https://github.com/vsd269/PI-Bot\r\n问题反馈：https://github.com/vsd269/PI-Bot/issues\r\n上游项目：https://github.com/Fei2411/DeepSeek-Bot",
      "safetyNotes": "本插件通过 PI Desktop 接口调用模型、工具和本地资源。根据启用的功能及授权范围，可能读取或写入工作区文件、执行工具、访问网络，以及使用麦克风。\r\n\r\n聊天内容及相关文件可能发送至用户配置的模型或第三方服务；语音功能可能向所选服务商发送音频。请自行确认相关服务的数据政策，避免提交敏感信息。\r\n\r\nBot、聊天记录及配置保存在本地；Windows 下的密钥使用当前用户身份加密保存。安装包不包含开发者的个人聊天、账号或密钥。请仅导入可信技能，并按需授予工具和应用权限。",
      "versions": [
        {
          "version": "0.3.110",
          "publishedAt": "2026-11-14T08:37:41Z",
          "changelog": "PI Bot 0.3.110 更新说明\n本次合并 0.3.108～0.3.110 三次更新，包含：\n修复长任务中出现“Request expired.”及回复显示延迟，优化大状态传输和管理员实时输出。\n优化停止响应，群聊停止可同时处理成员任务与管理员规划，修复重复停止报错。\n完善原生提问卡，支持多题、单选／多选、自定义回答、跳过与拒绝，回答后继续原任务。\n支持 @ 群管理员，完善群系统提示的头像、名称与颜色，修复群聊和私聊未读标记混淆。\n应用连接在启动后自动后台检查，恢复侧栏连接状态并保留原有 Bot 分配，无需先打开应用窗口。\n修复“连接应用”长时间空白：账号、分类和目录独立加载，已有连接与缓存先显示，慢请求超时后可重试。\n优化应用读取优先级、分页失败保留及晚到结果处理，避免聊天刷新阻塞页面或旧结果覆盖当前内容。\n优化图片预览展开图标、折叠侧栏未读圆点等细节。\n直接更新可沿用原有 Bot、聊天与配置，请勿先删除插件数据。应用预览不代表已授权，实际连接仍以账号和权限状态为准。\n更新后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "56130f4b3078ec05fd483ebbd7c81eea7f6938952f637e423f7249eb16407df0",
          "url": "packages/local.pi-bot-0.3.110.piplug",
          "sizeBytes": 8877551,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.110",
            "sourceCommit": "5c3d94c57e5e686c7c27b7e56bafa79ab4472f63",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T08:35:34Z"
          }
        },
        {
          "version": "0.3.107",
          "publishedAt": "2026-11-05T16:49:04Z",
          "changelog": "本次更新新增侧栏分类与拖动排序，增强记忆检索，并集中优化消息交互、停止操作和界面细节。\n- 侧栏分类：新增“群组聊天”分类和自定义部门，Bot、群聊都能分类整理，支持数量显示、折叠、改名和删除；删除部门保留会话与聊天记录。\n- 拖动排序：支持拖动会话调整顺序、跨部门移动，分类、排序和折叠状态重启后保留，主机器人固定在顶部。\n- 快捷操作：会话行悬停显示三个点，直接打开操作菜单；右键新增“移至部门”，左上角加号可创建空部门，折叠部门中的会话仍可搜索。\n- 记忆检索：先查看简短索引，再按需读取具体内容；历史消息支持前后文回看，保留私密内容的访问限制。\n- 表情响应：添加、切换和移除表情即时反馈，保存不再阻塞界面；修复连续操作时表情跳回的问题，保存失败会恢复并提示重试。\n- 消息按钮：调整表情、回复、更多三个图标的大小与圆形悬停效果，保留菜单、引用和时间显示。\n- 状态与停止：修复执行状态重复显示，补齐私聊任务运行时的停止按钮，空输入框也能停止；点击后立即显示正在停止，保留草稿与已有回复。\n- 聊天顶栏：采用透明渐变，消息可滚到中间 Bot 按钮后方，边缘柔和淡出，适配明暗模式，保留窗口拖动、侧栏调整和聊天查找。\n- 滚动条：左侧滚动条默认隐藏，鼠标进入侧栏后显示细线，悬停滚动条或拖动时加粗；修复分隔线遮挡滚动条的问题。\n- 视觉细节：优化管理员卡片下方和列表底部的渐隐，加深群组聊天与部门标题，确保最后一条会话可完整显示。\n- 其他修复：修复密钥用途保存按钮文字折行、错位，改善分类与表情保存失败时的恢复体验。\n更新后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "34ac5f0c6d808c36fb5bafd720a73dd6c49ece2f818b17dc18032c4e71277b4a",
          "url": "packages/local.pi-bot-0.3.107.piplug",
          "sizeBytes": 8845998,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.107",
            "sourceCommit": "06bf2adb5517cd814cce2cbba632349e253ad452",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-05T16:47:09Z"
          }
        },
        {
          "version": "0.3.101",
          "publishedAt": "2026-11-04T18:38:29Z",
          "changelog": "# PI Bot 0.3.101 更新说明\n\n本次合并发布 0.3.94～0.3.101 的改进，重点优化应用连接、图片与附件、语音交互、聊天阅读以及智能体详情面板。已安装 0.3.93 的用户可直接更新到本版。\n\n## 一、应用连接更稳定，错误提示更清楚\n\n- 修复连接应用后错误反复弹出、错误提示残留在聊天顶部的问题。应用连接的错误现在在应用页面内显示。\n- 授权状态自动检查失败后暂停轮询，避免持续报错；完成授权后可点击“我已授权，检查连接”，也可手动刷新。\n- 区分网络连接失败、请求超时、密钥无效、权限不足、限流和响应格式异常，便于判断问题。\n- 读取连接失败时保留已有账号、项目配置与 Bot 分配。对可能产生外部修改的操作不自动重试，避免重复提交。\n- 左下角连接入口优先展示已连接应用；未连接时的默认图标仅作入口示意，不代表已经获得授权。\n\n## 二、新建智能体有更贴合职责的开场\n\n- 新建 Bot 后立即显示开场问候和任务选项，无需等待模型返回。\n- 本地开场会参考智能体名称、职责与说明，后台再使用该 Bot 所选模型生成更具体的问题和 3～4 个选项；生成失败保留本地开场。\n- 支持点击选项、字母快捷键和自定义输入，保留多选问题的回答方式。\n- 用户尚未回答或主动跳过的开场卡片，切换聊天、进入设置、进行其他工作或重新打开后仍会保留；已回答或主动关闭的卡片不会重新弹出。\n- 用户开始聊天、回答问题、修改名称或删除 Bot 后，迟到的开场生成结果不会覆盖当前内容。\n- 修复新建页面选择共享头像时报错的问题。\n\n## 三、图片和附件发送、预览体验完善\n\n- 修复群聊管理员与规划模式管理员私聊漏传附件的问题，图片和文件通过对应的 PI 原生会话传递。\n- 添加图片时立即显示完整比例缩略图；文档、音频和视频显示类型、大小及添加状态。\n- 上传失败可在附件卡片上重试，也可移除正在添加的文件；切换聊天时不再混入另一段对话的附件。\n- 修复图片发送后只显示文件信息、不显示缩略图的问题。私聊、群聊和历史消息均支持图片预览，点击可放大；读取失败可就地重试。\n- 修复管理员私聊中持续转圈的临时回复，执行过程原位更新，结束后保留最终回复。\n- 加强附件任务提交前的保存检查；提交后如保存失败，会请求停止对应轮次。重启后对状态不确定的任务提示核对，避免自动重复执行。\n\n## 四、聊天阅读与消息操作更顺手\n\n- 优化回复正文、标题、列表、引用及代码块的字号和行距，让长回复更容易阅读。\n- 私聊和群聊的消息操作旁显示发送时间，悬停可查看完整日期；保留回复耗时显示。\n- 放大表情、回复和更多操作三个按钮，调整图标、圆角及间距，减少误点。\n- 选中文字后出现独立“引用”按钮，可把片段带入输入框；也可仅复制选中的一小段。\n- 新增完整文字右键菜单：撤销、重做、剪切、复制、粘贴、粘贴并匹配样式、全选，保留对应快捷键。\n- 右键菜单跟随 PI Desktop 当前界面语言：中文显示中文，英文显示英文；跟随系统时使用宿主解析的语言。只读消息中不可用的编辑操作置灰。\n\n## 五、新消息与工作进度更容易看见\n\n- 在未读回复开始的位置显示“新消息”分隔线；离开对话后再回来，可定位未读内容。\n- 同一条回复边生成边更新时不重复计算新消息；读到分隔线后自动淡出。\n- 智能体工作时显示小头像和简洁状态文字，区分排队、准备、思考、回复、执行工具、等待批准和等待队友等状态。\n- 群聊可区分不同成员的工作状态；任务结束或切换聊天后及时清理，减少过时提示。\n\n## 六、工具记录从原始数据变成可读步骤\n\n- 工具记录默认折叠，展开后按步骤显示工具名称、状态和简短摘要。\n- 自动整理嵌套文本，区分正常输出、错误及退出码，减少成堆转义字符和重复内容。\n- 保留“原始记录”入口，排查问题时仍可查看原始信息。\n- 此项只优化展示，不改变工具权限、审批或执行结果。\n\n## 七、表格回复支持搜索、复制和导出\n\n- 表格使用独立圆角卡片，优化边框、背景、间距和长内容显示。\n- 支持搜索内容、显示筛选行数、按列排序，以及悬停后的复制、CSV 下载和放大查看。\n- 修复超过 100 行的数据被截断，以及表格紧接正文时无法正常识别的问题。\n- 导出时处理可能被电子表格识别为公式的内容，减少误执行风险。\n\n## 八、语音通话更紧凑，输入反馈更及时\n\n- 语音对话改为紧凑通话浮条，聊天区域保持可见；可展开或收起文字记录。\n- 保留暂停／恢复聆听、结束通话和语音设置入口。\n- 使用受支持的实时转写服务时，录音过程中持续发送音频，停止后等待最终文字确认，减少整段录完才上传造成的等待。\n- 其他语音服务沿用文件转写流程，不擅自更换用户选择的服务或模型；取消后迟到的结果不会再写入输入框。\n- 调整语音按钮图案与悬停效果。实际转写速度仍取决于所用服务和网络。\n\n## 九、右侧面板分类更清楚\n\n- 右侧智能体面板分为“详情／资料库／电脑”，减少所有设置挤在同一页的问题。\n- “资料库”集中展示智能体记忆、技能和工作文件夹，进入技能管理时默认定位当前 Bot。\n- 浏览器、工作区和终端入口收纳到“电脑”页；移除聊天顶栏重复的工作区按钮，群聊详情仍保留相关入口。\n- 点击齿轮进入设置后，不再重复显示头像和名字，同时保留顶部分享、设置和关闭三个按钮。\n- 补全右侧分隔线顶部缺口，修复头像背景尺寸、偏位和编辑笔常驻的问题；桌面端悬停或聚焦时显示编辑入口，触屏保留可发现的入口。\n\n## 十、头像和名字可以直接修改\n\n- 在右侧面板直接点击头像即可编辑，点击头像下方名字即可改名；回车或移开焦点保存，Esc 取消。\n- 上传头像保留完整画面范围，并支持 100%～400% 缩放、上下位置调节、拖动取景、滚轮缩放及重置。\n- 支持圆形、圆角和方形显示，保存与备份保留取景参数。\n- 设置 → 通用新增“我的头像”，可修改左下角个人头像或恢复默认。\n- 旧版已经裁掉的图片部分无法自动恢复，需要重新上传原图；上传的 GIF 头像保存为静态图。\n\n## 十一、窗口与侧栏细节优化\n\n- 调整搜索、新建、中间智能体按钮、右侧工具按钮与连接应用入口的尺寸、对齐、顶部留白和间距。\n- 中间按钮的小三角只在悬停、键盘聚焦或详情展开时出现。\n- 修复两侧伸缩边缘悬停时线条过粗的问题，保留拖动调宽、宽度记忆、展开收起过渡和窄窗口适配。\n- 优化窗口最小化、最大化／还原和关闭图标及关闭悬停效果，继续由 PI Desktop 处理窗口操作。\n- 调整顶栏拖窗区域，避开可点击控件；关闭左侧智能体头像的悬停动作。\n- 收窄并优化输入区宽度、阴影和圆角，调整窄窗口下的消息操作，避免内容超出边界。\n\n## 十二、工作经验入口更简洁\n\n- 工作经验与复盘经验收纳进消息“…”菜单，不再长期占据聊天区域。\n- 尚无消息时，可从左侧 Bot 列表右键菜单进入。\n- 保留经验建议审批、待处理状态、失败提示及私密内容共享确认。\n\n## 使用说明\n\n- 图片理解需要所选模型支持视觉；能显示图片预览不等于模型一定能识图。\n- 新建 Bot 的后台个性化开场会调用所选模型，可能产生相应模型费用。\n- 应用授权继续使用用户自己的 Composio 项目和第三方账号；本次更新不提供公共授权服务器。\n- “电脑”页使用 PI Desktop 已有能力，不新增独立浏览器内核；“资料库”整理现有内容，不新增云端知识库存储。\n- 本次检查包含本地回归、模拟界面测试和安装包校验；真实模型、第三方账号、麦克风和原生窗口的表现仍与用户环境有关。\n\n更新后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "95b4510c1676fa41f71ac2cb018207a82896354cea2c2eefb4200150934dc642",
          "url": "packages/local.pi-bot-0.3.101.piplug",
          "sizeBytes": 8804579,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.101",
            "sourceCommit": "2cbaf8eb4f54b200e7d323e9474d641d5d8d6cde",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-04T18:36:39Z"
          }
        },
        {
          "version": "0.3.93",
          "publishedAt": "2026-11-03T15:21:25Z",
          "changelog": "本次合并 0.3.90～0.3.93 的新增功能、问题修复与体验优化。\n- 群聊协作更可靠：完善任务保存、续跑和结果回收，任务先保存成功再执行，减少重复派发；状态不明确时提示核对。\n- 群聊停止更方便：运行时发送键自动切换为停止键，可直接停止本群任务；取消正常群内文字交接的固定次数上限，保留空转保护。\n- 新增“待处理”页面：集中查看用户问题、审批入口、工作经验提案、运行异常及已结束待查看的任务。\n- 修复管理员计划异常：重复派发、回复格式错误时显示具体原因，支持一次纠正；失败时保留原回复，不再用笼统错误覆盖内容。\n- 新增任务追踪能力：支持定时任务执行记录、本地文件条件等待、工具重复失败提示和工作摘要。\n- 完善记忆与配置复用：自动记忆支持查看用户原话来源；新增团队配置模板，可预览、导入和导出角色分工与群结构。\n- 优化后台与数据保护：减少空闲检查和无变化时的重复保存，加强团队数据冲突保护与进程锁核对。\n- 修复侧栏和窗口交互：支持左右侧栏拖动缩放，恢复右侧栏展开／收起动画，调整顶栏拖窗区域及工作经验按钮布局。\n- 新增应用连接页面：支持应用图标、分类、搜索、分页及多 Bot 分配。用户可填写自己的 Composio 项目密钥授权应用，保留 GitHub 与 MCP 连接方式。\n感谢 GitHub 用户 @royrao2007 提供详细问题报告与改进建议。\n\n使用提示：应用连接需自行配置账号及额度，部分服务可能收费；本地定时和文件等待需保持 PI Desktop 运行。团队模板不包含聊天、记忆、密钥及账号授权；停止任务不会撤销已完成的外部操作。\n\n建议更新前导出个人备份。更新后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "107847125eb23209c7efef5d9bbc7eebb72a82bb7f3e84f5ae83b8079d0e15e4",
          "url": "packages/local.pi-bot-0.3.93.piplug",
          "sizeBytes": 8691379,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.93",
            "sourceCommit": "22881d315ea2e8f404fcae451769bb39065c778e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-03T15:19:29Z"
          }
        },
        {
          "version": "0.3.89",
          "publishedAt": "2026-10-30T17:11:14Z",
          "changelog": "本次更新汇总 0.3.87～0.3.89 的功能与优化：\n\n1. 优化任务派发可靠性\n完善接收确认、重复请求防护和重启后的状态核对；任务恢复中心新增执行记录，方便查看任务进度和中断情况。\n\n2. 新增群聊全部停止\n可在群详情中一键请求停止本群任务，阻止旧结果继续触发派发。已完成的外部修改不会撤销。\n\n3. 新增工作经验复盘\nBot 可根据已完成任务提出 Skill 或项目规则建议，预览并确认后保存。自动复盘默认关闭，开启后会产生额外模型用量。\n\n4. 优化侧栏布局\n支持拖动侧栏宽度、折叠为头像栏，改善窄窗口下的显示与操作体验。\n\n5. 接入轻量 Office 工具\n支持 Word 内容读取与定点编辑、PPT 页面操作和结构检查、Excel 内容及公式缓存读取。需独立 Node.js 20+，不包含完整 Office 排版与公式重算环境。\n\n6. 新增私密 Bot\n普通 Bot 可在单独设置中开启，需独立工作目录且不能加入群聊。限制其他 Bot 通过插件访问其聊天、记忆和任务，分享由用户确认。\n此功能属于插件层保护，不是系统级沙箱，原生工具仍由 PI Desktop 权限控制。\n\n更新前建议导出备份，安装后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "7a82f3f630e06048b75feb49867c44e2bd849cd716ee355ecde785b32166885c",
          "url": "packages/local.pi-bot-0.3.89.piplug",
          "sizeBytes": 8496105,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.89",
            "sourceCommit": "02963f9c36a7475f296c5da74a981b71dc0602cf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-30T17:10:25Z"
          }
        },
        {
          "version": "0.3.86",
          "publishedAt": "2026-10-27T16:07:11Z",
          "changelog": "PI Bot 0.3.86\n\n- 新增共享头像库，可分页浏览并在多个 Bot 间复用头像，支持备份与恢复。\n- 新增 /side 侧问命令，与 /btw 用法相同；已结束的侧问记录可以删除。\n- 群聊中可看到 Bot 收到的排队任务及未读数量。\n- 为 Bot 之间的消息派发增加请求去重，减少重试造成的重复任务。\n- 上游项目名称更新为 DS Bot。\n\n更新后请重载 PI Bot 插件或重启 PI Desktop。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "4832381dfb4306f0bde9e74f8c713f81279862fe8e967372b3f48a847cee11bc",
          "url": "packages/local.pi-bot-0.3.86.piplug",
          "sizeBytes": 8097265,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.86",
            "sourceCommit": "214ae34d4a28e07828ee5ba2880b1b53bf75ca77",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-27T16:06:17Z"
          }
        },
        {
          "version": "0.3.85",
          "publishedAt": "2026-10-24T13:36:21Z",
          "changelog": "参考 DeepSeek Bot 0.2.1，适配并新增以下功能：\n\n- 新增独立侧问：在 Bot 私聊输入 /btw 加上问题，可单独获取回答，不打断主任务。\n- 新增图表与计算卡片：支持五种图表，以及滑块、数字输入和公式联动计算。\n- 新增消息外观设置：支持气泡与平铺布局、消息宽度调整，以及思考过程显示开关。\n- 新增群聊继续功能：自动交接达到上限后保留待办，可点击“继续”恢复。\n- 新增密钥用途备注编辑，无需重新填写密钥。\n- 加强记忆文件保护，避免读取异常时误覆盖原有内容。\n- 优化窄窗口布局、侧栏切换和触屏消息操作。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "463a8cbb51c544dd63f596f019be0b5d97a0d32621eb4fcddf41c34ccac7fe5d",
          "url": "packages/local.pi-bot-0.3.85.piplug",
          "sizeBytes": 8075934,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.85",
            "sourceCommit": "aff266ad6cc370e0ded38d87bfd8102c24af2ff2",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-24T13:35:40Z"
          }
        },
        {
          "version": "0.3.84",
          "publishedAt": "2026-10-21T17:51:52Z",
          "changelog": "本次更新主要修复附件读取、文件粘贴和长消息处理问题，并优化大文件上传。\n\n- 修复群聊、私聊中部分附件无法读取，以及群聊转交附件后读取失败的问题。\n- 输入框支持 Ctrl+V 粘贴剪贴板中的文件和图片，支持多文件添加、上传进度显示及仅附件发送。\n- 修复长消息全文读取失败、长中文消息发送异常，以及展开内容在刷新后自动折叠的问题。\n- 对齐 DeepSeek Bot 的附件规则：普通文件取消原有的单文件 20 MB 和最多 8 个附件限制；图片单张最多 20 MiB，每条消息最多 20 张，图片合计最多 200 MiB。\n- 优化大文件处理，采用分片读取和写入，降低内存占用；保持原始文件内容，不额外压缩图片。\n- 完善上传失败、取消和中断后的临时文件清理。\n\n升级后保留原有 Bot、群聊及配置，无需新增插件权限。文件解析能力仍取决于所选模型和相关工具，大文件传输速度受宿主通信机制影响。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "68f0971b0a431c1aa2f011305943e10d89f70ad183f3d1d2aa1af8555b28223d",
          "url": "packages/local.pi-bot-0.3.84.piplug",
          "sizeBytes": 7968387,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.84",
            "sourceCommit": "6daf89c02ced7e372bb74f45e1f7ed75f9c06c52",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T17:51:10Z"
          }
        },
        {
          "version": "0.3.82",
          "publishedAt": "2026-10-21T15:48:06Z",
          "changelog": "新增：\n- 群聊独立记忆：支持查看、添加、删除和整理本群记忆，不同群聊分别保存。\n- 消息时间与回复耗时：聊天记录显示发送时间，Bot 回复展示已有记录中的实际处理耗时。\n- 私聊交互卡片：支持文本、指标、表格、进度、单选、多选、确认和短表单。\n\n优化与修复：\n- 交互卡片支持输入草稿保留、提交状态反馈、回答失败重试和重复点击保护。\n- 修复原生侧栏插件入口留空的问题，相邻插件停用后自动补位，重新启用后避免重叠。\n\n说明：\n交互卡片目前限 Bot 私聊使用，需要模型支持工具调用。本次部分新增功能参考 DeepSeek-Bot 0.2.0，并适配 PI Desktop 插件接口。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "f491827f4704c4735152c257bbf2c1aa27f05d45b69b86525ed14f962613bda8",
          "url": "packages/local.pi-bot-0.3.82.piplug",
          "sizeBytes": 7950735,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.82",
            "sourceCommit": "e087e43fc5b9ab6b42210de3f29dffb9d4bafde3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-21T15:47:27Z"
          }
        },
        {
          "version": "0.3.81",
          "publishedAt": "2026-10-20T17:26:08Z",
          "changelog": "PI Bot 首次在插件市场发布。\n\n- 支持多个 Bot 私聊及群聊协作，由管理员协调任务分配。\n- 提供记忆管理、历史检索、技能导入与批量分配。\n- 支持语音输入、语音对话及应用连接，相关服务需自行配置。\n- 支持明暗主题切换和 GitHub 新版本提醒。\n- 统一插件名称及标识为 PI Bot / local.pi-bot。\n- 增加旧版数据自动迁移，支持迁移中断后重试。\n\n升级提醒：\n使用 0.3.80 或更早版本的用户，请先停用旧版，暂不要卸载，再安装新版并重启 PI Desktop。首次启动将自动迁移旧数据，请勿同时启用新旧两个插件。\n\n本项目基于 DeepSeek-Bot 学习与适配，遵循 Apache-2.0 许可证，保留上游来源与致谢。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "43aed535d123f0d3e31f5208e22762a337210e4a62490267bcf86f0a65b769fd",
          "url": "packages/local.pi-bot-0.3.81.piplug",
          "sizeBytes": 7876005,
          "permissions": [
            "agent.complete",
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "fs.read",
            "mcp.server.local",
            "models.list",
            "net.fetch",
            "renderer.extension",
            "ui.microphone",
            "ui.panel",
            "ui.theme",
            "ui.view",
            "usage.read"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/PI-Bot",
            "sourceRef": "v0.3.81",
            "sourceCommit": "bce8df459032eefff672515ec66dbd00ff41209d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-20T17:25:30Z"
          }
        }
      ]
    },
    {
      "id": "local.remote-tools",
      "name": "Remote SSH Tools",
      "description": "SSH 远程读取、写入、编辑与命令执行；适配 @oresk/pi-remote-tools。需要已配置的密钥和可信主机。",
      "author": "jiege6-66",
      "i18n": {
        "en": {
          "name": "Remote SSH Tools",
          "description": "Read, write, edit files and run commands over SSH in PI-Desktop. An independent adapter of @oresk/pi-remote-tools; requires configured authentication and trusted hosts.",
          "safetyNotes": "High-risk agent.extension: runs Node and system SSH in the Agent sidecar to read, write and edit remote files and execute requested commands. Uses existing SSH configuration and authentication; does not collect or bundle credentials, alter SSH configuration or automatically trust unknown host keys. Use only trusted, authorized hosts. Cancelling local SSH does not guarantee remote background processes stop."
        },
        "zh-CN": {
          "name": "SSH 远程工具",
          "description": "在 PI-Desktop 中通过 SSH 读取、写入、编辑远端文件并执行命令。基于 @oresk/pi-remote-tools 的独立适配，需要已配置的认证和可信主机。",
          "safetyNotes": "高风险 agent.extension 扩展：在 Agent sidecar 中使用 Node 和系统 SSH，按请求读取、写入、编辑远端文件并执行命令。使用现有 SSH 配置与认证，不收集或捆绑凭证，不修改 SSH 配置，不自动接受陌生主机密钥。仅对可信且获授权的主机使用；取消本地 SSH 不保证远端后台进程停止。"
        }
      },
      "categories": [
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 778,
      "homepage": "https://github.com/jiege6-66/pi-desktop-remote-tools",
      "readmeMarkdown": "# Remote SSH Tools — PI-Desktop 插件\n\n为 PI-Desktop 0.15.9 及兼容版本适配 `@oresk/pi-remote-tools@0.2.0`。插件 ID：`local.remote-tools`，版本：`0.1.0`。这是独立开源适配版，不是原作者发布的 Desktop 插件。\n\n## 为什么全局 npm 安装后无法调用\n\n原包声明 `pi.extensions`，Desktop 不会自动导入 CLI 的包注册表。仅导入原包也存在兼容问题：其入口立即调用 `createBashToolDefinition`，Desktop Agent 扩展 shim 没有该 helper。此适配使用官方 `contributes.agentExtensions`，替换该依赖并删除终端 TUI 渲染，保留 SSH 文件操作。来源和改动见 `UPSTREAM.json`。\n\n## 安装\n\n1. 在 Desktop 的插件页面选择「安装本地插件包」，打开由 PluginPack 生成的 `local.remote-tools-0.1.0.piplug`。也可选择「加载开发插件」，选中本目录。\n2. 阅读并确认 `agent.extension` 权限，再启用插件并允许当前项目使用。此权限为高风险：代码运行在 Agent sidecar，可调用 Node 和系统 SSH，不受普通插件权限网关的完整约束。\n3. 返回 Agent 会话，在下一轮查找或调用 `ssh-read`、`ssh-write`、`ssh-edit`、`ssh-bash`。如果当前会话尚未刷新工具，另开会话重试。\n4. 若之前加载过脚手架示例，必须在插件页面重新加载本目录并重新审核新增权限；保存文件不会自动授予 `agent.extension`。不要重复安装同 ID 的开发版和打包版。\n\n模块入口已通过插件目录的 `package.json` 固定为 CommonJS，扩展及兼容模块使用 `.mjs`，不受父目录 `type: module` 干扰。\n\n## SSH 前提\n\n本机需有系统 `ssh`，对应 host alias/用户名配置、已核实的 known_hosts 记录及可无交互使用的密钥或 SSH agent。插件使用已有 SSH 配置，不包含私钥、密码或凭证，也不会修改配置。\n\n连接强制 `BatchMode=yes` 与 `StrictHostKeyChecking=yes`：不弹密码、不自动接受陌生主机指纹。若终端可连接但 Desktop 失败，请核对 Desktop 进程可见的 SSH agent 与密钥配置，不要以关闭主机验证代替排查。首次建立信任应由用户在可信渠道核验主机指纹后完成。\n\n## 四个工具\n\n| 工具 | 必需参数 | 可选参数 |\n|---|---|---|\n| `ssh-read` | `host`, `path` | `offset`（1 起始）, `limit` |\n| `ssh-write` | `host`, `path`, `content` | 无 |\n| `ssh-edit` | `host`, `path`, `edits` | 每项可设 `replaceAll` |\n| `ssh-bash` | `host`, `command` | `timeout`（1–100 秒，默认 90） |\n\n只读示例（`myserver` 是占位 host，未实际连接）：\n\n```json\n{\n  \"host\": \"myserver\",\n  \"path\": \"/etc/os-release\",\n  \"limit\": 10\n}\n```\n\n精准编辑参数：`edits: [{ oldText: \"原文本\", newText: \"新文本\" }]`。先用 ssh-read 读取；若远端变化，ssh-edit 会拒绝旧摘要对应的编辑。默认要求唯一匹配；显式 `replaceAll: true` 才替换所有匹配。替换文本中的 `$\u0026` 等保持字面值。\n\n## 行为与限制\n\n- 绝对路径保持远端含义；相对路径和 `~` 以远端 HOME 为基准，不映射到本地工作区。\n- 文件内容通过 base64/stdin 传输；写入通过同目录临时文件替换，保留已有文件权限。ssh-write 与 ssh-edit 的结果均不得超过 8 MiB，捕获输出上限 16 MiB。\n- 读取超过 1 MiB 的文件时使用行窗口；呈现输出上限约 2000 行/50 KiB。过大的 limit 或超长行若使远端输出超过 16 MiB，会明确报错，而不是无限缓冲。Bash 仅保留最后 50 KiB 输出。\n- 文件工具整体超时 90 秒；Bash 整体超时包含主机探测，最多 100 秒，留出 Desktop 调用及清理余量。排队等锁同样响应取消和 deadline，取消的排队写入不会随后补执行。\n- 无 bash 的主机回退到 POSIX sh。取消/超时会终止本地 SSH 进程，但不保证远端后台进程终止，或远端 shell 一定执行清理 trap。中断写入可能遗留同目录 .pi-ssh* 临时文件；不会按前缀自动批量删除，以免误删其他写操作的文件。\n- 同一路径的写操作在本进程内串行，读取摘要按扩展实例隔离；这不是可排除其他程序并发写入的远端事务。\n- 离线测试在 macOS/Node 22 下执行，包含非 POSIX 元数据分支的替身验证；未做真实 csh/tcsh、Windows、真实 SSH 或当前 Desktop 会话端到端验证。极端 close 事件不返回时的 1.2 秒兜底尚未单独模拟。\n\n## 开发与验证\n\n在项目根目录运行：\n\n```sh\nnpm ci --ignore-scripts --legacy-peer-deps --no-audit --no-fund\nnpm run check\n```\n\n测试要求 `PI_SCRATCH_DIR` 指向可写 scratch 目录，只执行 SSH 替身，不连接真实主机。构建脚本校验上游 SHA-256 后生成 `extension.mjs`，勿手改此文件。运行时的 TypeBox 由 Desktop 官方扩展加载器提供，安装本插件无需 npm 安装依赖。\n\n插件由 PluginScaffold 建立，随后执行 `PluginCheck({ directory: \"remote-tools\" })` 和 `PluginPack({ directory: \"remote-tools\" })`。不得用普通压缩 zip/tar 代替 PluginPack。macOS / Node 22 下的源码与解包产物离线测试各 32/32 通过；校验通过不等于宿主已经加载或远程连接成功，未验证的环境与边界见上文。\n\n## 开源与许可\n\n源码仓库：https://github.com/jiege6-66/pi-desktop-remote-tools 。原创 Desktop 适配部分采用 MIT，版权归 `jiege6-66`，完整许可见 `LICENSE`；上游代码保留其来源与许可声明，见 `THIRD_PARTY_NOTICES.md`。插件中心实际审核/上架状态以平台为准，不将本地打包视为已经上架。\n",
      "safetyNotes": "高风险 agent.extension 扩展：在 Agent sidecar 中使用 Node 和系统 SSH，按请求读取、写入、编辑远端文件并执行命令。使用现有 SSH 配置与认证，不收集或捆绑凭证，不修改 SSH 配置，不自动接受陌生主机密钥。仅对可信且获授权的主机使用；取消本地 SSH 不保证远端后台进程停止。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-29T20:33:45Z",
          "changelog": "# Changelog\n\n## 0.1.0 — 2026-09-28\n\n首次公开的 PI-Desktop 独立适配版本，基于锁定的 `@oresk/pi-remote-tools@0.2.0`；不是上游作者的官方 Desktop 发布。\n\n- 提供 `ssh-read`、`ssh-write`、`ssh-edit`、`ssh-bash` 四个工具，通过 `contributes.agentExtensions` 加载。\n- 使用 Desktop 兼容的 Bash helper，去除 CLI/TUI 渲染依赖。\n- 有界 SSH 输出、整体超时、取消与写操作排队处理；强制无交互认证和严格主机密钥验证。\n- 读取摘要按扩展实例隔离，相对路径以远端 HOME 为基准，编辑替换保留字面值语义。\n- 统一大小文件行数、越界错误及续读提示；处理 Bash 输出截断和分块时的 UTF-8 字符边界。\n- 原创适配以 MIT 开源，保留上游来源声明；补齐英文、简体中文描述及高风险权限说明。\n\n### 验证与限制\n\nmacOS / Node 22 下 32 项离线测试使用受控 SSH 替身通过；不是生产主机或宿主端到端验证。真实 SSH、Windows 和真实 csh/tcsh 未验证。取消本地 SSH 不保证远端后台进程停止；中断写入可能留下临时文件；读取摘要检查不是远端事务或原子文件快照。\n\n### English summary\n\nFirst public, independent PI-Desktop adapter release. Provides four SSH tools with bounded, cancellable transport; consistent read windows and UTF-8-safe Bash tails; MIT licensing for original adapter contributions; and complete English / Simplified Chinese metadata. Uses existing SSH authentication and strict host-key verification. Offline tests are not a guarantee of host loading, live SSH interoperability, or remote process termination.",
          "minPiDesktop": "\u003e=0.15.9",
          "shasum": "819a056f8a54791e1a5cdda83d58af9db766a55aaf432e159c0feeab1c54ad02",
          "url": "packages/local.remote-tools-0.1.0.piplug",
          "sizeBytes": 55209,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/jiege6-66/pi-desktop-remote-tools",
            "sourceRef": "v0.1.0",
            "sourceCommit": "9a3e882b6a72148364a0db0ad59e58d0a03f5eba",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T15:23:08Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-29T20:33:27Z"
          }
        }
      ]
    },
    {
      "id": "pi.agents-anywhere",
      "name": "Agents Anywhere 远程助手",
      "description": "基于 Agents Anywhere 平台实现手机端对 Pi Desktop 的远程查看、发问与控制。",
      "author": "Anywhere-Labs \u0026 PI-Desktop",
      "i18n": {
        "en": {
          "name": "Agents Anywhere Remote",
          "description": "Remote control and sync for Pi Desktop from mobile via Agents Anywhere.",
          "safetyNotes": "Connector credentials stay on this local machine. Network communication connects strictly to the official/configured Agents Anywhere relay servers over encrypted WSS/HTTPS. Remote actions reuse local session permissions and never bypass host boundaries."
        },
        "zh-CN": {
          "name": "Agents Anywhere 远程助手",
          "description": "基于 Agents Anywhere 平台实现手机端对 Pi Desktop 的远程查看、发问与控制。",
          "safetyNotes": "连接凭据仅保存在本机；网络通信严格限制在官方或用户配置的 Agents Anywhere 中继服务器（通过加密 WSS/HTTPS 传输）；远程执行的指令完全复用本地会话权限体系，绝不绕过安全沙箱。"
        }
      },
      "categories": [
        "agents-workflow",
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 1192,
      "safetyNotes": "连接凭据仅保存在本机；网络通信严格限制在官方或用户配置的 Agents Anywhere 中继服务器；远程执行指令完全遵循本地权限审批策略。",
      "versions": [
        {
          "version": "1.0.3",
          "publishedAt": "2026-09-22T01:52:44Z",
          "changelog": "Added smart CLI command parser matching mobile 'Connect via command line' flow: users can paste the full generated command directly to connect instantly.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "1a11b8ce7afd16a9c774d43afa21cb82390c39d49b54205b27ddf85cf98b115f",
          "url": "packages/pi.agents-anywhere-1.0.3.piplug",
          "sizeBytes": 33573,
          "permissions": [
            "desktop.control",
            "net.fetch",
            "net.websocket",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mazongYY/pi-desktop-plugins",
            "sourceRef": "v1.0.3",
            "sourceCommit": "62bb22489f43153360604d1a035008a7fce1290a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-21T10:27:15Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-22T01:52:32Z"
          }
        },
        {
          "version": "1.0.1",
          "publishedAt": "2026-09-21T07:52:26Z",
          "changelog": "Enriched comprehensive documentation including ASCII architecture topology, pairing tutorials, and mobile remote control guides.",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "8074b7f4a106b327fe7eac04c2163268c5b3dc0d17438f0bb4f709e55964b1ba",
          "url": "packages/pi.agents-anywhere-1.0.1.piplug",
          "sizeBytes": 28198,
          "permissions": [
            "desktop.control",
            "net.fetch",
            "net.websocket",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/mazongYY/pi-desktop-plugins",
            "sourceRef": "v1.0.1",
            "sourceCommit": "c0f1ee7a47999cb4d5878a9708ac37df67cc532d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-21T05:41:18Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-21T07:52:15Z"
          }
        }
      ]
    },
    {
      "id": "eskwisit.mumble",
      "name": "Mumble",
      "description": "Mumble for PI-Desktop cuts the talk, not the facts. Code and errors stay exact. Each original is one call away.",
      "author": "Eskwisit",
      "categories": [
        "memory-knowledge",
        "writing"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "eskwisit",
      "downloads": 47,
      "versions": [
        {
          "version": "0.6.3",
          "publishedAt": "2026-11-19T09:21:59Z",
          "changelog": "# Changelog\n\n## 0.6.3\n\n### Fixes\n\n- **extension:** drop the ultra length budget and loosen its article check (`19f238f`)\n\n### Documentation\n\n- **manifest:** describe the ultra article check in the safety notes (`f7339ff`)\n- **readme:** explain why ultra has no length budget (`fdf1f0c`)\n\n### Tests\n\n- **tests:** cover ultra without length budget and the 1-in-15 article rule (`edc904a`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "9b8dab40113bd25876ff81aa716c986626ee9b831a9499e2d50dd6fbe3cb611d",
          "url": "packages/eskwisit.mumble-0.6.3.piplug",
          "sizeBytes": 112964,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.6.2",
            "sourceCommit": "b974d6c9391d67c572fb2a659e7c2a0e9a9795ec",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-19T09:19:45Z"
          }
        },
        {
          "version": "0.6.2",
          "publishedAt": "2026-11-19T07:55:07Z",
          "changelog": "# Changelog\n\n## 0.6.2\n\n### Fixes\n\n- **extension:** never edit the Claude Code line of the system prompt (`b78c4af`)\n- **extension:** add the voice reminder to the request, not the context (`db0c2b2`)\n\n### Tests\n\n- cover the Claude Code line and the reminder in each payload shape (`ccd6a4e`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "e1e73dd2f47a993ce91e1803db484bf638f6ee804f60688b60619a6ec81eb727",
          "url": "packages/eskwisit.mumble-0.6.2.piplug",
          "sizeBytes": 112178,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.6.2",
            "sourceCommit": "b974d6c9391d67c572fb2a659e7c2a0e9a9795ec",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-19T07:52:59Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-11-18T21:42:15Z",
          "changelog": "# Changelog\n\n## 0.6.0\n\n### Features\n\n- **extension:** keep the voice in long sessions: a one-line voice reminder on each human message in the request (not stored, stable for the prompt cache), and a check of each final reply against the budget of the voice, with feedback on the next message and in `/mumble`",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "3485a097b58dc11290041fc1643d16fac84851e2609de619bcd07852c92cf3ef",
          "url": "packages/eskwisit.mumble-0.6.0.piplug",
          "sizeBytes": 108509,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.6.0",
            "sourceCommit": "bf471cbc9bcff9f1697a50573ebcb825a9096463",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-18T21:40:01Z"
          }
        },
        {
          "version": "0.5.4",
          "publishedAt": "2026-11-12T20:07:08Z",
          "changelog": "# Changelog\n\n## 0.5.4\n\n### Performance\n\n- **extension:** shorter voice sections, shrink note and footer (`792cd88`)\n\n### Documentation\n\n- **readme:** update the token cost of each voice (`5e13019`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "97b2f3b3d7cf914b45d9381a127d8bf3701e6e3f571bb712e92c96d94d981dcc",
          "url": "packages/eskwisit.mumble-0.5.4.piplug",
          "sizeBytes": 95771,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.5.4",
            "sourceCommit": "d45e3eeb61a2d91ebf6eb33ce81d0ae85b06cd88",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-12T20:04:58Z"
          }
        },
        {
          "version": "0.5.3",
          "publishedAt": "2026-11-08T08:08:33Z",
          "changelog": "# Changelog\n\n## 0.5.3\n\n### Fixes\n\n- **extension:** add the prompt section to each request, not to the stored prompt (`0c8f12d`)\n\n### Tests\n\n- cover the request payload shapes and the unchanged stored prompt (`e7558b8`)\n\n## 0.5.2\n\n### Fixes\n\n- **manifest:** rewrite the description in a short, clear form (`f7845e2`)\n\n### Documentation\n\n- **readme:** add the tagline under the title (`04c74dc`)\n\n## 0.5.1\n\n### Fixes\n\n- **manifest:** add english and chinese texts like the other plugins (`7e3720c`)\n\n### Documentation\n\n- **readme:** add the benchmark against the upstream project (`c73bf88`)\n- **readme:** explain why the cost goes down and why it starts itself (`8232c6b`)\n\n### Tests\n\n- check manifest translations and the chinese credit (`bca5626`)\n\n## 0.5.0\n\n### Features\n\n- **extension:** shrink large tool output by content type (`30ed4ad`)\n- **extension:** keep exact originals for recovery (`f549ea2`)\n- **extension:** add ste, mumble and ultra voices with switch phrases (`efa16f7`)\n- **extension:** load mumble in each session with retrieve tool and cost counter (`dde7508`)\n\n### Documentation\n\n- **readme:** describe voices, shrinking, commands and limits (`81943da`)\n\n### Tests\n\n- cover compressors, store, voices, hooks and manifest (`81f8226`)\n\n### Chores\n\n- ignore build output and system files (`5349fb6`)\n- add apache-2.0 license and notice with credit (`84d1c01`)\n- add changelog (`8faa168`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "941586eafdde876cd5cb20234305d56f8afa82496d1be90e548d943d7e97cb42",
          "url": "packages/eskwisit.mumble-0.5.3.piplug",
          "sizeBytes": 97296,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.5.3",
            "sourceCommit": "31732923f7c2bbd3485c688fa324e47e78c1c412",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T16:36:10Z"
          }
        },
        {
          "version": "0.5.2",
          "publishedAt": "2026-11-07T14:54:43Z",
          "changelog": "# Changelog\n\n## 0.5.2\n\n### Fixes\n\n- **manifest:** rewrite the description in a short, clear form (`f7845e2`)\n\n### Documentation\n\n- **readme:** add the tagline under the title (`04c74dc`)\n\n## 0.5.1\n\n### Fixes\n\n- **manifest:** add english and chinese texts like the other plugins (`7e3720c`)\n\n### Documentation\n\n- **readme:** add the benchmark against the upstream project (`c73bf88`)\n- **readme:** explain why the cost goes down and why it starts itself (`8232c6b`)\n\n### Tests\n\n- check manifest translations and the chinese credit (`bca5626`)\n\n## 0.5.0\n\n### Features\n\n- **extension:** shrink large tool output by content type (`30ed4ad`)\n- **extension:** keep exact originals for recovery (`f549ea2`)\n- **extension:** add ste, mumble and ultra voices with switch phrases (`efa16f7`)\n- **extension:** load mumble in each session with retrieve tool and cost counter (`dde7508`)\n\n### Documentation\n\n- **readme:** describe voices, shrinking, commands and limits (`81943da`)\n\n### Tests\n\n- cover compressors, store, voices, hooks and manifest (`81f8226`)\n\n### Chores\n\n- ignore build output and system files (`5349fb6`)\n- add apache-2.0 license and notice with credit (`84d1c01`)\n- add changelog (`8faa168`)",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "60c78eb4a1c8b6e403fca46ea698d46d055a86ae29f69b2e4983380aa7381265",
          "url": "packages/eskwisit.mumble-0.5.2.piplug",
          "sizeBytes": 90394,
          "permissions": [
            "agent.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/eskwisit/pi-mumble",
            "sourceRef": "v0.5.2",
            "sourceCommit": "a9151d409f8555c8cfaa7a50ff94fd6dd8c887a1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-07T14:52:53Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-commandcode-desktop",
      "name": "pi-commandcode-desktop",
      "description": "帮你在pi-desktop上面使用commandcodego的订阅，喜欢的可以给我的github点个星星吗",
      "author": "",
      "i18n": {
        "en": {
          "name": "CommandCode Subscription Bridge",
          "description": "Use a CommandCode Go subscription in PI-Desktop. If you find it useful, please star the author’s GitHub repository."
        },
        "zh-CN": {
          "name": "CommandCode 订阅接入",
          "description": "帮你在pi-desktop上面使用commandcodego的订阅，喜欢的可以给我的github点个星星吗"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 272,
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-09-24T08:15:03Z",
          "changelog": "修复了没有token吃的问题",
          "minPiDesktop": "\u003e=0.9.0",
          "shasum": "d33155a2a1e1d27f759d75e3bd048c1dd5587c736fa70bc648cf27114b0b5c91",
          "url": "packages/local.pi-commandcode-desktop-0.2.0.piplug",
          "sizeBytes": 475763,
          "permissions": [
            "background.service",
            "provider.register",
            "shell.openExternal",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-24T08:11:03Z"
          }
        }
      ]
    },
    {
      "id": "pi.clinepass",
      "name": "Cline Pass For Pi Desktop",
      "description": "非常便宜的Cline Pass接入Pi-Desktop",
      "author": "",
      "i18n": {
        "en": {
          "name": "Cline Pass For Pi Desktop",
          "description": "Connect PI-Desktop to Cline Pass through a low-cost subscription."
        },
        "zh-CN": {
          "name": "Cline Pass 接入",
          "description": "非常便宜的Cline Pass接入Pi-Desktop"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 308,
      "versions": [
        {
          "version": "1.3.0",
          "publishedAt": "2026-10-29T15:47:59Z",
          "changelog": "# 更新说明\n\n## 1.3.0 — 对齐 Cline 当前的 ClinePass 目录\n\nCline 的订阅模型清单更新了，本版把插件声明的模型同步到官方目录（15 个模型）。\n\n**新增**\n\n| 模型 | Model ID |\n| --- | --- |\n| Kimi K3.1 Pro | `cline-pass/kimi-k3.1-pro` |\n| MiniMax-M3.1-Flash | `cline-pass/minimax-m3.1-flash` |\n| DeepSeek V4.1 Flash 1017 | `cline-pass/deepseek-v4.1-flash-1017` |\n\n**下线**（官方目录已移除，选了只会得到 model not found）\n\n| 模型 | Model ID |\n| --- | --- |\n| MiMo-V2.5 | `cline-pass/mimo-v2.5` |\n| MiMo-V2.5-Pro | `cline-pass/mimo-v2.5-pro` |\n\n**修正**\n\n- Qwen 3.8 Max：窗口 128,000 → 262,144，输出上限 8,192 → 128,000，现在支持图片，并新增 `low` / `medium` / `xhigh` 思考档位。\n\n**升级方法**\n\n1. 设置 → 插件 → 安装 `pi.clinepass-1.3.0.piplug`（或 Install from folder 选本目录）。\n2. 重启 PI-Desktop，模型列表即刷新为 15 个。\n3. 设置 → Providers → ClinePass 确认 API Key 仍在。\n\n**其余不变**\n\n端点仍是 `https://api.cline.bot/api/v1`，Key 仍以 `Authorization: Bearer` 发送；思考档位仍只按官方公布的阶梯声明，`off` 依旧不声明。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "e6f40f2365abde929abeead522e332bc0e1a33c8eae932fdaea9afb3f08e33e5",
          "url": "packages/pi.clinepass-1.3.0.piplug",
          "sizeBytes": 20272,
          "permissions": [
            "provider.register"
          ],
          "fs": {},
          "yanked": false
        },
        {
          "version": "1.2.0",
          "publishedAt": "2026-10-10T06:34:20Z",
          "changelog": "## v1.2.0 —— 模型参数改以 Cline 官方目录为准\n\n对不起xdm之前改错了,现在只需要填 API Key即可使用对应模型 给大伙磕头了\n\n### 模型清单\n- 仍是 14 个模型，未增删。\n\n### 参数修正\n- 上下文窗口：GLM-5.3、GLM-5.3-Flash 由 1,310,720 修正为 1,048,576；\n  MiMo-V2.6-Flash、MiMo-V2.6-Pro 由 1,048,576 修正为 1,050,000。\n- 输出上限：GLM-5.3 由 131,072 修正为 943,718；GLM-5.3-Flash 修正为 943,717；\n  DeepSeek V4.1 Flash 由 131,072 修正为 943,718。\n- 新增图片能力标记：GLM-5.3-Flash、Kimi K3、DeepSeek V4.1 Flash、MiMo-V2.5、\n  MiMo-V2.6-Flash、MiMo-V2.6-Pro、MiniMax-M3、Muse Spark 1.3 Contributor、\n  Qwen3.7 Plus，共 9 个模型现在标记为支持图片输入。\n\n### 思考强度\n- 档位经官方目录复核后维持不变：GLM-5.3 / GLM-5.3-Flash / Kimi K3 /\n  DeepSeek V4.1 Flash 为 low、high、max；DeepSeek V4 Pro 为 high、xhigh；\n  Muse Spark 1.3 Contributor 为 minimal 至 max。\n- MiMo-V2.5、MiMo-V2.5-Pro、MiMo-V2.6-Flash、MiMo-V2.6-Pro、MiniMax-M3、\n  Qwen3.7 Max、Qwen3.7 Plus、Qwen3.8 Max 不提供档位：Cline 对这些模型只提供开关，\n  或本身没有档位，与其编造一列不存在的档位，不如不声明。\n\n### 数据来源\n- 清单与全部数值取自 Cline 官方仓库：\n  `sdk/packages/llms/src/catalog/catalog.generated.ts` 的 `cline-pass` 块\n  （上下文窗口、输入与输出上限、能力、档位），以及\n  `sdk/packages/llms/src/catalog/cline-recommended.generated.ts` 的 `clinePass`\n  列表（当前 14 个 slug）。两边一致。\n\n### 其它\n- 认证方式与端点未变：仍是设置 → Providers → ClinePass 里填 Cline API Key，\n  端点 `https://api.cline.bot/api/v1`。\n- `main.js` 未改动，插件仍是纯声明式。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ef9729d1b27cb860a363800d1979674e6eab4627e35ff2e9b7f46c69fdc5f934",
          "url": "packages/pi.clinepass-1.2.0.piplug",
          "sizeBytes": 17730,
          "permissions": [
            "provider.register"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-10T06:34:02Z"
          }
        },
        {
          "version": "1.1.0",
          "publishedAt": "2026-10-01T14:36:16Z",
          "changelog": "初始化项目，并添加了可更改思考强度功能",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "284b2274e3b6ae9a48a385666ed34c167bfb1a212a6eb22f7a057d1672fb3d24",
          "url": "packages/pi.clinepass-1.1.0.piplug",
          "sizeBytes": 15119,
          "permissions": [
            "provider.register"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-10-01T14:35:54Z"
          }
        }
      ]
    },
    {
      "id": "local.miku-theme",
      "name": "Miku-pi-desktop",
      "description": "一款为 PI-Desktop 打造的皮肤主题插件，以初音未来（Hatsune Miku）为设计灵感，提供 亮色 与 暗色 两套完整主题。\r\n打开 PI-Desktop 的 设置 → 外观 → 主题。\r\n在主题列表中选择：\r\nSnow Miku（初音 · 亮） —— 启用亮色主题；\r\nCyber Diva（初音 · 暗） —— 启用暗色主题。",
      "author": "cainiao0502",
      "i18n": {
        "en": {
          "name": "Hatsune Miku Themes",
          "description": "A PI-Desktop skin inspired by Hatsune Miku, with complete light and dark themes. Choose Snow Miku (light) or Cyber Diva (dark) under Settings → Appearance → Themes."
        },
        "zh-CN": {
          "name": "初音未来主题",
          "description": "一款为 PI-Desktop 打造的皮肤主题插件，以初音未来（Hatsune Miku）为设计灵感，提供 亮色 与 暗色 两套完整主题。 打开 PI-Desktop 的 设置 → 外观 → 主题。 在主题列表中选择： Snow Miku（初音 · 亮） —— 启用亮色主题； Cyber Diva（初音 · 暗） —— 启用暗色主题。"
        }
      },
      "categories": [
        "themes"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 837,
      "homepage": "https://github.com/cainiao0502/pi-desktop-skin",
      "readmeMarkdown": "一款为 PI-Desktop 打造的皮肤主题插件，以初音未来（Hatsune Miku）为设计灵感，提供 亮色 与 暗色 两套完整主题。\n\n主题基于宿主的 --ds-* 设计令牌全面覆盖，包括三栏背景、侧栏渐变光效、四级文字灰度、强调色与焦点环、hover / 选中态、开关、代码块、遮罩、状态色、阴影、滚动条、文字选区、输入胶囊辉光，以及原生窗口底色，视觉风格统一、低调克制。\n安装启用后打开 PI-Desktop 的 设置 → 外观 → 主题。\n\n在主题列表中选择：\n\nSnow Miku（初音 · 亮） —— 启用亮色主题；\nCyber Diva（初音 · 暗） —— 启用暗色主题。",
      "versions": [
        {
          "version": "1.0.1",
          "publishedAt": "2026-09-24T08:09:22Z",
          "changelog": "宿主的安装校验（Rust host-core）只接受绝对路径资产，包内相对路径直接报 PLUGIN_INVALID\n已完成的修改：只需安装插件，在主题切换即可使对应壁纸生效\n壁纸内嵌：两份 CSS 里壁纸以 base64 data URI 定义在 --miku-wallpaper 变量中，侧栏和全屏画布两处复用（var(--miku-wallpaper)），每份 CSS 只存一份图片数据。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ae93a06639ec43fa7a39eda4ff141137172d6fc5292551ac49d020fd8291529e",
          "url": "packages/local.miku-theme-1.0.1.piplug",
          "sizeBytes": 859490,
          "permissions": [
            "ui.panel",
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/cainiao0502/pi-desktop-skin",
            "sourceRef": "v1.0.1",
            "sourceCommit": "aec77f584b778155c7c96e5801c0f6755366baad",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-23T06:02:47Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-24T08:02:16Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-09-22T19:01:25Z",
          "changelog": "Snow Miku（初音 · 亮） —— 启用亮色主题；\nCyber Diva（初音 · 暗） —— 启用暗色主题。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "fd54e602dbc548d3e7357378ca09d2f40a5433c535253c636eb9a236eddefce2",
          "url": "packages/local.miku-theme-1.0.0.piplug",
          "sizeBytes": 410807,
          "permissions": [
            "ui.panel",
            "ui.theme",
            "ui.window.appearance"
          ],
          "fs": {},
          "yanked": false,
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.09.2",
            "reviewedAt": "2026-09-22T18:55:01Z"
          }
        }
      ]
    },
    {
      "id": "local.unipi",
      "name": "UniPi",
      "description": "Muse Desktop, adapted for PI-Desktop! UniPi is an unofficial port of the open-source Muse Desktop project, bringing its interface and themes to PI-Desktop with your configured models—no Muse Code CLI required. Includes conversation management, model switching, project file previews, read-only Git information, and replacement unicorn artwork.\r\n\r\nBased on Muse Desktop by Robert Courson (@robzilla1738), with original attribution and MIT license preserved. Model tool execution, attachments, and microphone input are currently unavailable.",
      "author": "vsd269",
      "i18n": {
        "zh-CN": {
          "name": "UniPi",
          "description": "把 Muse Desktop 带进 PI-Desktop！UniPi 是由开源项目 Muse Desktop 移植改编而来的非官方插件，保留其界面风格和多主题体验，直接使用你在 PI-Desktop 中配置的模型进行对话，无需另外安装 Muse Code CLI。支持会话管理、模型切换、项目文件预览和只读 Git 信息，并换上独角兽图标与背景。\n\n原项目由 Robert Courson（@robzilla1738）开发，本插件保留原作者署名及 MIT 许可。当前暂不支持模型工具执行、附件和麦克风。"
        }
      },
      "categories": [
        "desktop-system",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 204,
      "homepage": "https://github.com/vsd269/UniPi",
      "readmeMarkdown": "# UniPi：由 Muse Desktop 移植改编的 PI-Desktop 插件\r\n\r\n把 Muse Desktop 带进 PI-Desktop！UniPi 基于开源项目 Muse Desktop 进行非官方移植与改编，保留其界面风格和多主题体验，直接使用你在 PI-Desktop 中配置的模型，无需另外安装 Muse Code CLI。\r\n\r\n## 主要功能\r\n\r\n- 会话管理与模型切换。\r\n- 多主题界面，使用独角兽图标、Logo 和背景。\r\n- 项目文件预览与只读 Git 状态、差异查看。\r\n- 对话压缩与偏好设置。\r\n- 侧栏入口自动排列，不依赖 PI Bot 等其他插件。\r\n- 提供最小化、最大化/还原及返回 PI-Desktop 原生界面的入口。\r\n\r\n## 使用方法\r\n\r\n1. 在 PI-Desktop 中配置可用模型，然后安装并启用 UniPi。\r\n2. 点击侧栏独角兽图标，或在命令面板执行“UniPi: Open”。\r\n3. 选择项目并开始对话。默认使用 PI-Desktop 的默认模型，也可通过插件设置中的 modelKey 指定模型。\r\n4. 点击左上角返回箭头或关闭 UniPi 页面，回到 PI-Desktop 原生界面。\r\n\r\n需要 PI-Desktop 0.21.0 或更高版本。\r\n\r\n## 当前限制\r\n\r\n模型回复一次性返回，暂不支持逐字流式显示。模型不执行工具，附件和麦克风暂不可用。\r\n\r\n如果安装过旧版 Muse Desktop 适配插件，请禁用旧版，避免出现重复入口。UniPi 使用独立插件标识，旧版会话不会自动迁移，请保留旧版数据。\r\n\r\n## 来源与致谢\r\n\r\nUniPi 由 vsd269 维护，是用于学习与兼容适配的非官方迁移项目。\r\n\r\n上游项目：https://github.com/robzilla1738/muse-desktop\r\n原作者：Robert Courson（@robzilla1738）。\r\n\r\n本项目保留原作者署名、MIT 许可与上游原始 NOTICE，不代表上游作者或 Meta 的官方版本。\r\n\r\n上游说明指出，源码与文档的 MIT 许可不授予第三方商标、参考图片或角色设计的使用权。因此，本适配版已将图标、Logo、背景及角色图片替换为维护者提供的独角兽素材。替换素材的权利说明详见仓库中的 THIRD-PARTY-NOTICES.md。\r\n\r\n## 源码与反馈\r\n\r\n源码：https://github.com/vsd269/UniPi\r\n问题反馈：https://github.com/vsd269/UniPi/issues",
      "safetyNotes": "本插件使用 PI-Desktop 中配置的模型。发送消息时，对话内容和项目文件夹路径会发送给你选择的模型服务商，并消耗相应模型额度。\r\n\r\n插件在自己的数据目录保存会话和偏好设置，可读取所选项目中的文件以供预览、查询只读 Git 状态与差异，并支持在资源管理器中定位目录、打开终端及打开网页链接。\r\n\r\n模型不会自动执行工具或命令。插件不读取账号凭据，不修改项目文件；附件和麦克风暂不可用。请仅选择你信任的项目目录，避免发送敏感信息。",
      "versions": [
        {
          "version": "0.3.24",
          "publishedAt": "2026-10-25T14:47:37Z",
          "changelog": "本次更新集中优化了附件粘贴、主题背景和对话管理体验。\n\n【附件体验】\n- 支持通过 Ctrl+V、拖放或附件按钮添加文件。\n- 修复粘贴 TXT、代码等文件时，文件内容直接进入输入框的问题，现在统一显示为附件卡片；普通文字仍可正常粘贴。\n- 发送后保留文档附件名称，方便查看消息中附带的文件。\n- 其他文档通过 Pi Desktop 原生附件接口传递，具体解析能力取决于宿主和所用模型。单个附件最大 10 MB，每条消息最多 5 个附件。\n\n【主题与外观】\n- 修复“俏皮特写（Plush）”错误显示为蓝色的问题，恢复暖桃粉色配色。\n- 修复对话背景过淡、重复叠图的问题，背景按设置中的强度显示。\n- 优化对话文字区域的底色，兼顾背景效果与阅读清晰度。\n- 修复侧栏折叠后，展开按钮与返回 Pi Desktop 按钮重叠的问题。\n\n【对话管理】\n- 新增单个删除和批量删除，支持勾选多条或全选当前列表。\n- 删除前显示确认提示，删除当前对话后自动返回新对话页。\n- 优化删除确认框的布局、留白、提示文案和按钮样式。\n\n说明：删除仅移除 UniPi 中的对话及消息，Pi Desktop 原生会话和原始附件文件会保留；正在回复的对话需先停止后再删除。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "31f906451804227c025da777f4ec55da817b18675da138e1d03140e4053130a6",
          "url": "packages/local.unipi-0.3.24.piplug",
          "sizeBytes": 5142166,
          "permissions": [
            "agent.complete",
            "desktop.control",
            "fs.read",
            "models.list",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/UniPi",
            "sourceRef": "v0.3.24",
            "sourceCommit": "b94c1b47c528f2057dfc858719065f2054789c7e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T14:46:56Z"
          }
        },
        {
          "version": "0.3.15",
          "publishedAt": "2026-10-25T13:08:57Z",
          "changelog": "新增与优化：\n- 支持选择图片并显示缩略图，可随消息交给 Pi Desktop 原生会话处理，回复显示在 UniPi 内。\n- 支持 PNG、JPEG、WebP、GIF，单张最多 10 MB，每条消息最多 5 张。\n- 支持导入文本和代码文件，移除暂不可用的话筒按钮。\n\n问题修复：\n- 修复图片上传触发“plugin.call exceeds 10 calls/s”的问题，统一限制上传与后台轮询的调用频率。\n- 修复 Muse、Plush 主题预览存在，但实际背景和配色未生效的问题。\n\n使用说明：\n- 图片识别需要支持视觉输入的模型。\n- 新增 desktop.control 权限，更新时需确认授权；图片会话遵循 Pi Desktop 原生权限与审批机制。\n- PDF 和语音输入暂不支持。\n\n验证情况：\n- 已通过调用限速、模拟图片传输和安装包完整性检查；真实视觉模型的完整流程尚待实测。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "7918d678de81054e092b20bb8fe0811762680c335fbd035d55c5c54189247e98",
          "url": "packages/local.unipi-0.3.15.piplug",
          "sizeBytes": 5121900,
          "permissions": [
            "agent.complete",
            "desktop.control",
            "fs.read",
            "models.list",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/UniPi",
            "sourceRef": "v0.3.15",
            "sourceCommit": "5eeb11b4c0f8dafcb74f09d2ccb986285f9668eb",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T13:08:09Z"
          }
        },
        {
          "version": "0.3.11",
          "publishedAt": "2026-10-25T12:01:41Z",
          "changelog": "首次发布 UniPi：\n- 将 Muse Desktop 的界面迁移适配到 PI-Desktop 插件体系，使用宿主配置的模型进行对话。\n- 支持会话管理、模型选择、多主题、项目文件预览和只读 Git 信息。\n- 使用独角兽图标、Logo 和背景，入口自动排列，不依赖其他插件。\n- 适配窗口控制、返回原生界面入口及亮色主题输入光标。\n- 安装包使用插件市场要求的 Store（不压缩）格式。\n\n上游项目：https://github.com/robzilla1738/muse-desktop\n原作者：Robert Courson（@robzilla1738）。本插件为非官方适配版，保留原作者署名和 MIT 许可。\n\n当前限制：模型回复一次性返回，暂不支持模型工具执行、附件和麦克风。",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "755dbae890c97de4e0763df1bbcd9c3781b224e6a02c812dc0ada8e62619be3e",
          "url": "packages/local.unipi-0.3.11.piplug",
          "sizeBytes": 5117065,
          "permissions": [
            "agent.complete",
            "fs.read",
            "models.list",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vsd269/UniPi",
            "sourceRef": "v0.3.11",
            "sourceCommit": "0f0e9ff46b621936f1d90815c070058411086a4e",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-25T12:00:59Z"
          }
        }
      ]
    },
    {
      "id": "corripo.superagent-orchestrator",
      "name": "Superagent Orchestrator",
      "description": "Route work from the main agent to isolated worker sessions. Delegation is asynchronous by default: the host appends a result card when a worker's turn ends, so the orchestrator dispatches and ends its turn instead of polling. Workers close their report with a status contract (state: ready | blocked | failed, human_action) so a blocked result shows \"needs your decision\" on the card and a ready one needs nothing.",
      "author": "",
      "categories": [
        "agents-workflow",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "corripo",
      "downloads": 81,
      "versions": [
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-20T00:27:35Z",
          "changelog": "新增 worker 中途 notify（progress/question/blocked），不结束 worker 回合；主 agent 的 send 默认打断正在运行的 worker，先投递、再中断旧 turn，并校验新消息状态以避免撤回竞态。更新状态契约与通信文档。测试 83 项通过。",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "0c7bea0cb6588720471173828dc6432c15e85d8223f68d5f7e52c8c642613a20",
          "url": "packages/corripo.superagent-orchestrator-0.2.0.piplug",
          "sizeBytes": 206226,
          "permissions": [
            "agent.tool.register",
            "composer.suggest",
            "desktop.control",
            "models.list",
            "session.update.all",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/ProgramerLiang/piD-super-agent",
            "sourceRef": "v0.2.0",
            "sourceCommit": "9e665ce5634eceb96934ac424a4f15a32cd5105f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T00:25:25Z"
          }
        },
        {
          "version": "0.1.1",
          "publishedAt": "2026-11-17T09:18:29Z",
          "changelog": "0.1.1：插件 ID 由 local.superagent-orchestrator 更名为 corripo.superagent-orchestrator。功能同前——默认异步派活（notifyOnCompletion 默认 true）、worker 状态契约（state / human_action）驱动的结果卡分档、Workers 视图 en + zh-CN。本插件 fork 自 vastsa/pi-session-orchestrator，原始版权归 vastsa，LICENSE 原样保留。",
          "minPiDesktop": "\u003e=0.14.7",
          "shasum": "d0a35b6d46cfd7ff0cd900ef5d2c001e870d345c288ca3a6e5fe7a87d1bea26d",
          "url": "packages/corripo.superagent-orchestrator-0.1.1.piplug",
          "sizeBytes": 165518,
          "permissions": [
            "agent.tool.register",
            "composer.suggest",
            "desktop.control",
            "models.list",
            "session.update.all",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/ProgramerLiang/piD-super-agent",
            "sourceRef": "v0.1.1",
            "sourceCommit": "d50dde5677c175c57684d73526abb594e5237a7b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-17T04:54:17Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.2",
            "reviewedAt": "2026-11-17T09:09:24Z"
          }
        }
      ]
    },
    {
      "id": "com.github.yy568821795-max.session-recorder",
      "name": "Session Recorder",
      "description": "Local session recorder: archiving every conversation and tool call into per-session JSONL files, marking gaps and truncation, and exporting JSONL or Markdown. Data stays on this device.",
      "author": "yy568821795-max",
      "i18n": {
        "en": {
          "name": "Session Recorder",
          "description": "Local session recorder: archiving every conversation and tool call into per-session JSONL files, marking gaps and truncation, and exporting JSONL or Markdown. Data stays on this device.",
          "safetyNotes": "Reads session records through the host-reviewed desktop control APIs (session/list, session/get) and writes only to its own plugin data directory. No network access or reporting; it does not modify the host database or session files. Records may contain source code or personal information, so fields that look like secrets are redacted by default, and archives can be deleted at any time."
        },
        "zh-CN": {
          "name": "会话记录器",
          "description": "本地会话记录器：把每次对话与工具调用增量归档为按会话分文件的 JSONL，标注缺失与截断，并导出 JSONL 或 Markdown。",
          "safetyNotes": "通过宿主审核的桌面操作接口（session/list、session/get）读取会话记录，只写入本插件自己的数据目录。不联网、不上报，也不直接修改宿主数据库或会话文件。记录可能包含源码或个人信息，因此默认脱敏疑似密钥字段，且可随时删除归档。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 225,
      "homepage": "https://github.com/yy568821795-max/pi-session-recorder",
      "readmeMarkdown": "# Session Recorder\r\n\r\nA local-first recorder for PI-Desktop: it archives every conversation and tool call of this device\r\ninto per-session JSONL files, marks what is missing or truncated instead of hiding it, and exports a\r\nsession as JSONL or Markdown. Nothing leaves the machine.\r\n\r\n本地会话记录器：把本机每次对话与工具调用增量归档为按会话分文件的 JSONL，**显式标注缺失与截断**，\r\n并把任意会话导出为 JSONL / Markdown。不联网、不上报，数据只在本机。\r\n\r\n## What it does\r\n\r\n- **Incremental archive** — reads the local transcripts through reviewed host operations\r\n  (`session/list`, `session/get`) and appends only what is new; a rewritten or shorter transcript\r\n  starts a new epoch instead of keeping stale history.\r\n- **Readable viewer** — the panel decodes tool output into readable text (stdout, stderr, nested\r\n  `content[]` envelopes, payload bodies kept in a `content` string) and keeps the exact stored bytes\r\n  one disclosure away under “原始 JSON”.\r\n- **Honest gaps** — truncation, dropped-oldest caps, fetch errors and incomplete windows are recorded\r\n  as gaps and shown as chips/notes, never silently.\r\n- **Secret masking on the way to disk** — token/key/password/authorization/cookie/credential-shaped\r\n  fields and Bearer/JWT/connection-string credentials are masked before they are written.\r\n- **Export** — JSONL (machine) and Markdown (reading) per session.\r\n- **Agent tool** — a bounded, read-only search over the archive this plugin already holds.\r\n\r\n## Requirements\r\n\r\n| Field | Value |\r\n|---|---|\r\n| PI-Desktop | `\u003e=0.14.6` (the desktop control plane used for session reads ships from 0.14.6) |\r\n| Panel | `renderer/index.html`, 1180 × 820 |\r\n| Network | none — the plugin makes no requests and installs nothing |\r\n\r\n## Command\r\n\r\n| Command id | Title | What it does |\r\n|---|---|---|\r\n| `session-recorder.open` | 会话记录器：打开 / Session Recorder: Open | Opens the panel. The title follows the application language; the panel uses the host's 46px drag band and window-control capsule. |\r\n\r\n## Settings\r\n\r\n| Key | Type | Default | Meaning |\r\n|---|---|---|---|\r\n| `autoSync` | boolean | `true` | Archive sessions in the background while the plugin is running. Off = manual only. |\r\n| `intervalMinutes` | number | `5` | Background interval, 1–240 minutes. Shorter is fresher and writes more often. |\r\n| `redactSecrets` | boolean | `true` | Mask secret-shaped fields and credentials before writing. Turning this off writes plaintext and is not recommended. |\r\n| `includeToolPayloads` | boolean | `true` | Record tool arguments and results. Off keeps only tool name, status and duration (much smaller archive). |\r\n| `pageSize` | number | `200` | Messages requested from the host per call, 1–500 (500 is the host's own limit). |\r\n| `maxMessagesPerSession` | number | `20000` | Keep at most this many messages per session; older ones are dropped and recorded as a `dropped-oldest` gap. |\r\n| `maxContentChars` | number | `20000` | Per long text field. Longer content is truncated and the original length is recorded; the panel shows a “截断” chip. |\r\n| `maxArchiveMb` | number | `512` | Soft size budget in MB. Exceeding it only warns in the panel; no file is ever deleted automatically. |\r\n\r\n## Agent tool\r\n\r\nRegistered name: `session_archive_query` (the host exposes it prefixed as\r\n`plugin_\u003cplugin-id-safe\u003e_session_archive_query`). Risk: **low**.\r\n\r\n| Input | Type | Default | Limits |\r\n|---|---|---|---|\r\n| `query` | string | empty | Case-insensitive substring. Empty lists the newest sessions. |\r\n| `sessionId` | string | — | Restrict to one archived session. |\r\n| `limit` | number | 10 | Max 50. |\r\n| `excerptChars` | number | 240 | Max 2000 characters per hit. |\r\n\r\nReturns session metadata plus bounded text excerpts from **this plugin's own archive**. It cannot\r\nread the host database, the live transcript files, any other plugin's data, or the network.\r\n\r\n## Permissions\r\n\r\n| Permission | Why it is needed | Boundary |\r\n|---|---|---|\r\n| `ui.panel` | The viewer/export panel. | Panel is isolated; it talks to the plugin process through the host bridge only. |\r\n| `desktop.control` | Session reads via `session/list` + `session/get`. | **Read-only**, two reviewed operations, no other desktop operation is called; the host database and transcript files are never written. |\r\n| `background.service` | The periodic archive pass (`services.sync`). | Runs only while PI-Desktop runs; turning off `autoSync` stops it. |\r\n| `agent.tool.register` | The `session_archive_query` tool above. | Requires an explicit user grant; the tool is read-only and bounded. |\r\n\r\n## Data, storage and privacy\r\n\r\n- Location: this plugin's own data directory — `\u003cappData\u003e/plugins/data/com.github.yy568821795-max.session-recorder/`\r\n  (`archive/index.json`, `archive/sessions/\u003csessionId\u003e.jsonl`, `exports/`, `recorder.log`).\r\n- The archive is plain JSONL so it stays readable and greppable outside the app.\r\n- **Content can contain source code or personal data.** Masking is on by default; a session or the\r\n  whole archive can be deleted from the panel at any time; the plugin never uploads anything.\r\n- Truncation and gaps are recorded per session (`truncatedFields`, `problems`) and surfaced in the UI.\r\n- Agent tool output is a bounded excerpt, not a full transcript dump.\r\n\r\n## Export\r\n\r\nFrom the panel: **导出 Markdown** / **导出 JSONL** / **两种格式** writes into the plugin data\r\ndirectory (`exports/\u003csessionId\u003e-\u003ctimestamp\u003e.{md,jsonl}`). Exported files are masked the same way the\r\narchive is.\r\n\r\n## Troubleshooting\r\n\r\n| Symptom | Meaning |\r\n|---|---|\r\n| 面板提示「本地归档不完整」 | A fetch failed, the transcript window was incomplete, or the message cap dropped oldest entries. The reason is listed on the session. |\r\n| 某一行显示「截断 …」 | That field exceeded `maxContentChars`; raise the setting for future syncs (already-archived messages keep their recorded cut). |\r\n| 搜索不到某次对话 | Only sessions this plugin has archived are searchable; run 立即同步 first. |\r\n\r\n## License\r\n\r\nMIT — see [LICENSE](./LICENSE).\r\n",
      "safetyNotes": "通过宿主已审查的桌面操作目录（session/list、session/get）读取会话记录，并且只在本插件自己的数据目录内写入。不联网、不上报，也不直接改写宿主数据库或会话文件。记录可能包含源码或个人信息，因此默认脱敏疑似密钥的字段，且归档可随时删除。",
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-09-28T16:09:10Z",
          "changelog": "首个公开发布（0.3.0）。\n\n- 面板：会话列表 + 消息时间线 + 工具载荷解码（stdout / Read / Edit / shell 信封）；被截断的记录在显示层修复，并在正文里标出丢失位置。\n- 后台服务：按间隔把会话增量归档到插件数据目录，支持脱敏与容量上限。\n- Agent 工具：session_archive_query（只读、有界，最多 50 条 / 2000 字符）。\n- 8 项设置；导出 JSONL / Markdown。\n- 权限：ui.panel、desktop.control（只读 session/list + session/get）、background.service、agent.tool.register（高风险，安装时需显式授权）。",
          "minPiDesktop": "\u003e=0.14.6",
          "shasum": "a1d1384592f1f7dc160962467bf38554fae14394f260177f12eddbd12ff9a036",
          "url": "packages/com.github.yy568821795-max.session-recorder-0.3.0.piplug",
          "sizeBytes": 130050,
          "permissions": [
            "agent.tool.register",
            "background.service",
            "desktop.control",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/yy568821795-max/pi-session-recorder",
            "sourceRef": "v0.3.0",
            "sourceCommit": "ba8c721e3a5e9e534c6f343f892a765809f4e95f",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-28T16:08:47Z"
          }
        }
      ]
    },
    {
      "id": "cc.mcii.session-notify",
      "name": "会话通知",
      "description": "监听全部会话的状态变化，把标题和状态推到飞书、钉钉、企业微信、KOOK、Server酱、Telegram 或通用 Webhook。自定义 API 可选。不读消息正文。",
      "author": "LectWolf",
      "i18n": {
        "en": {
          "name": "Session Notifications",
          "description": "Monitor session state changes and send session titles and status to Feishu, DingTalk, WeCom, KOOK, ServerChan, Telegram, or a generic webhook. Custom APIs are optional. Message bodies are not read."
        },
        "zh-CN": {
          "name": "会话通知",
          "description": "监听全部会话的状态变化，把标题和状态推到飞书、钉钉、企业微信、KOOK、Server酱、Telegram 或通用 Webhook。自定义 API 可选。不读消息正文。"
        }
      },
      "categories": [
        "integrations"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "cc",
      "downloads": 414,
      "homepage": "https://plugins.aiuo.net/plugins/cc.mcii.session-notify",
      "readmeMarkdown": "# 会话通知\r\n\r\nPI-Desktop 插件。监听**全部会话**的状态变化，把**标题 + 状态**推到你添加的通道。不读消息正文，不接 QQ 官方 API。\r\n\r\n- 插件 id：`cc.mcii.session-notify`\r\n- 许可证：[GPL-3.0-only](./LICENSE)\r\n- 源码：https://github.com/LectWolf/pi-session-notify\r\n- 主页：https://plugins.aiuo.net/plugins/cc.mcii.session-notify\r\n\r\n## 会推什么\r\n\r\n| 状态 | 意思 | 默认 |\r\n| --- | --- | --- |\r\n| 等待输入 | 助手停下来等你说话 | 开 |\r\n| 等待批准 | 助手要跑工具，等你点允许 | 开 |\r\n| 结束 | 这一轮正常完成 | 开 |\r\n| 出错 | 这一轮失败 | 开 |\r\n| 正在回复 | 助手开始干活（生成/调工具）。每次开动都会推，容易刷屏 | 关 |\r\n| 被停止 | 你点了停止，或回合被取消 | 关 |\r\n\r\n只在状态**变化**时发送一次。没有全局「启用推送」：每条通道自己开/关。启用中的通道，名称右侧有状态点。右上角设置里 **前台也发送** 默认开；关掉后，PI-Desktop 在前台时不推。\r\n\r\n**最近推送**只保留 **5 条**，只在内存里，插件或进程重启后清空。\r\n\r\n## 推送方式\r\n\r\n面板里 **添加推送**。同类型可加多次（例如两个飞书），每条自己起名。专用类型旁有 **申请地址→**，点击复制官方文档链接。\r\n\r\n| 类型 | 你要填的 | 发出去的内容 |\r\n| --- | --- | --- |\r\n| 飞书 | 群机器人 Webhook；签名密钥仅在开了「签名校验」时填 | 飞书文本：`会话名 · 等待输入` |\r\n| 钉钉 | 群机器人 Webhook；加签密钥仅在开了「加签」时填 | 钉钉文本消息 |\r\n| 企业微信 | 群机器人 Webhook 地址 | 企微文本消息 |\r\n| KOOK | 频道 Webhook 地址 | KOOK 文本：`{ type: 1, content }` |\r\n| Server酱 | 只填 SendKey（一般 SCT 开头），不用填 URL | `title` + `desp` |\r\n| Telegram | Bot Token + Chat ID。公开频道可填 `@channelname`；私聊/群必须是数字 ID，不能填个人 `@用户名` | `sendMessage` 文本 |\r\n| 通用 Webhook | 任意 http(s) 地址 | 固定 JSON，见下 |\r\n| 自定义 API | 方法、请求头、正文模板（NapCat / Qmsg 走这条） | 你自己的模板 |\r\n\r\n**签名密钥**：飞书/钉钉群机器人的安全设置。没开签名/加签就留空；开了才把后台给的 secret 填进去，用来给请求做 HMAC，不是 Webhook 地址。\r\n\r\n每条通道可单独打开 **使用代理**（默认关）。Telegram 在国内通常需要开。代理在面板右上角齿轮里设：默认自动获取系统/环境变量，也可手动填 `http://127.0.0.1:7890`。\r\n\r\n### 通用 Webhook 是什么\r\n\r\n不是飞书/钉钉那种机器人协议。它只做一件事：往你填的地址 **POST** 一段固定 JSON：\r\n\r\n```json\r\n{\r\n  \"title\": \"会话名\",\r\n  \"status\": \"waiting_input\",\r\n  \"statusLabel\": \"等待输入\",\r\n  \"sessionId\": \"abcd1234\",\r\n  \"at\": \"2026-04-08T12:00:00.000Z\",\r\n  \"text\": \"会话名 · 等待输入\"\r\n}\r\n```\r\n\r\n适合自己写的接收端、n8n、Make、Cloudflare Worker。飞书/钉钉/企微/KOOK/Server酱/Telegram 请用上面的专用类型。要改 HTTP 方法、请求头或正文模板，用 **自定义 API**。\r\n\r\n自定义 API 才用占位符：`{{title}}` `{{status}}` `{{statusLabel}}` `{{sessionId}}` `{{at}}`。",
      "versions": [
        {
          "version": "1.0.1",
          "publishedAt": "2026-09-17T02:25:33Z",
          "changelog": "修复了开机后语言卡在英文的问题，面板和推送跟 PI-Desktop 界面语言走\n申请地址改为点击复制，不再尝试打开外部浏览器",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "1f98abdf44ba219cb1337ea15c1e511cc5308f992134c2d93a8bb16ecfa7ad76",
          "url": "packages/cc.mcii.session-notify-1.0.1.piplug",
          "sizeBytes": 122065,
          "permissions": [
            "background.service",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LectWolf/pi-session-notify",
            "sourceRef": "v1.0.1",
            "sourceCommit": "4cf1711e8af4223374c0b9687e51af148eeddbd3",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-17T02:25:23Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-09-16T17:57:21Z",
          "changelog": "修复了申请地址无法打开外部浏览器的问题，改为点击复制官方文档链接\n修复了保存/测试后在两张卡片中间弹出「已保存 / OK」的干扰提示\n新增了飞书 / 钉钉 / 企业微信 / KOOK / Server酱 / Telegram / 通用 Webhook / 自定义 API 通道\n新增了每条通道独立启用、命名、通知事件和「使用代理」\n新增了右上角代理设置，以及「前台也发送」开关（默认开）\n新增了最近推送记录（仅内存保留 5 条，重启后清空）",
          "minPiDesktop": "\u003e=0.2.0",
          "shasum": "6bf62806aabc04d4117fd59e1c9b246172a735f6f03e6fee2c1420700560535c",
          "url": "packages/cc.mcii.session-notify-1.0.0.piplug",
          "sizeBytes": 120969,
          "permissions": [
            "background.service",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/LectWolf/pi-session-notify",
            "sourceRef": "v1.0.0",
            "sourceCommit": "e8e7c920661a7f05ec9fff96aff8f107e3a325a7",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-16T17:56:46Z"
          }
        }
      ]
    },
    {
      "id": "pi.prompt-enhancement",
      "name": "Prompt Enhancement",
      "description": "Rewrite the current Composer draft as a clearer prompt when you choose to run it.",
      "author": "",
      "i18n": {
        "en": {
          "name": "Prompt Enhancement",
          "description": "Rewrite the current Composer draft as a clearer prompt when you choose to run it.",
          "safetyNotes": "Sends the draft text to the selected model provider after you click the action. Does not read conversation history or file attachments."
        },
        "zh-CN": {
          "name": "提示词增强",
          "description": "按需将当前输入框草稿改写成更清晰的提示词。",
          "safetyNotes": "点击操作后会把草稿文本发送给所选模型提供商；不会读取会话历史或文件附件。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 1358,
      "homepage": "https://github.com/vastsa/pi-prompt-enhancement",
      "readmeMarkdown": "# Prompt Enhancement for PI-Desktop\n\nAn optional PI-Desktop plugin that adds an **Enhance prompt** action to the\nComposer. It is not bundled with PI-Desktop and is never enabled by the app by\ndefault. Install it only if you want this feature.\n\nWhen clicked, the plugin sends the current draft text to the selected model\nprovider through the host's `agent.complete` service. It does not read the\nconversation history or file attachments. The host keeps file-reference chips\nout of the request and preserves them when applying the returned text. One\nundo action restores the previous draft.\n\n## Permissions\n\n- `composer.transform` lets the host show a plugin-owned Composer action and\n  apply its result only while the draft has not changed.\n- `agent.complete` lets the plugin request a one-shot completion using a model\n  already configured in PI-Desktop. API keys remain in the host.\n\nThe draft text is sent to the configured provider after you click **Enhance\nprompt**. The plugin does not send anything automatically.\n\n## Install from this repository\n\n1. Clone this repository.\n2. In PI-Desktop, open **Plugins** and choose **Load local plugin** from the\n   top-right actions menu.\n3. Select the cloned repository folder and review the requested permissions.\n   Grant `composer.transform` and `agent.complete` to use prompt enhancement.\n\n## Settings\n\n- **Enhancement model**: blank follows the model selected in the Composer; set\n  `providerId/modelId` to pin another model.\n- **Reasoning effort**: defaults to Off.\n- **Custom user template**: blank uses the included template. A custom template\n  must contain `{{draft}}` and be at most 8,000 characters. The plugin's\n  settings sheet provides a multiline editor.\n\nThe system prompt remains fixed so the task, language, and output rules stay\nconsistent. Plugin settings are stored in PI-Desktop's private plugin settings.\n\n## Development\n\nThis repository contains the plugin source independently of PI-Desktop and its\nmarketplace distribution repository. Marketplace installation can be offered\nas an opt-in only after publishing a tagged release through the PI-Desktop\nplugin center.\n\nThe manifest requires PI-Desktop 0.1.0 or later and has no build step.\n\n## License\n\nGNU Lesser General Public License v3.0. See `LICENSE`.\n",
      "safetyNotes": "Sends the draft text to the selected model provider after you click the action. Does not read conversation history or file attachments.",
      "versions": [
        {
          "version": "1.3.0",
          "publishedAt": "2026-10-12T07:39:12Z",
          "changelog": "### 1.3.0\n\n- 插件自己的设置面板（命令 **Prompt Enhancement: Settings** / 插件面板按钮）配置一切：模型下拉的选项来自宿主已就绪的模型列表（`pi.models.list()`），另有推理等级与用户模板。\n- 面板默认显示内置用户模板（与宿主此前使用的文本一致），可直接编辑；提供 **插入 {{draft}}** 与 **恢复内置模板**。原样提交内置模板时按“使用内置”保存，不会复制一份。\n- 面板文案跟随宿主语言（en / zh-CN）。\n- 不再声明宿主生成的设置项，设置只保留一个入口。\n\nThe plugin now configures itself in its own panel: the enhancement model comes\nfrom the host's ready model list, the reasoning level and the user template are\nedited there, and the built-in template is shown so an override starts from the\nsame text the model receives. The host-rendered settings sheet is dropped.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "474f81401817d1fe31f00ce84f6279bdf9c0ab57ce0ae2aaa8e1ac15b76fbb5a",
          "url": "packages/pi.prompt-enhancement-1.3.0.piplug",
          "sizeBytes": 40423,
          "permissions": [
            "agent.complete",
            "composer.transform",
            "models.list",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-prompt-enhancement",
            "sourceRef": "v1.3.0",
            "sourceCommit": "f04349ae6902d0d6be880cc19b20e68942d78721",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-12T07:37:26Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-12T07:38:41Z"
          }
        },
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-08T11:21:22Z",
          "changelog": "Initial release of the optional Composer prompt enhancement. It sends only the current draft to the selected model provider after the user invokes the action.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "70c95519961dca70297c235861bfd765ccbeb345c681a029d06559ad9bde11db",
          "url": "packages/pi.prompt-enhancement-1.0.0.piplug",
          "sizeBytes": 19417,
          "permissions": [
            "agent.complete",
            "composer.transform"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-prompt-enhancement",
            "sourceRef": "v1.0.0",
            "sourceCommit": "19c05d87c7ebe1abb3e6398c9946c0b3297ee972",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-08T11:10:43Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.1",
            "reviewedAt": "2026-10-08T11:16:14Z"
          }
        }
      ]
    },
    {
      "id": "pi.goal-x",
      "name": "Goal X",
      "description": "Persistent workspace goals, task evidence, and host-owned completion audits for PI-Desktop.",
      "author": "Goal X contributors",
      "i18n": {
        "en": {
          "name": "Goal X",
          "description": "Persistent workspace goals, task evidence, and host-owned completion audits for PI-Desktop.",
          "safetyNotes": "Goal records stay in this plugin's private settings. Goal X does not read or write workspace files and makes no network requests. The selected completion auditor receives only a bounded goal record and untrusted completion claim through PI-Desktop's host-owned API. Goal X reads bounded session metadata locally only to derive an opaque distinct-turn identifier for blocker reports; it neither stores conversation text nor sends it to the auditor. API keys are never exposed to the plugin."
        },
        "zh-CN": {
          "name": "Goal X 目标管理",
          "description": "为 PI-Desktop 提供持久化工作区目标、任务证据与宿主完成审计。",
          "safetyNotes": "目标记录仅保存在本插件的私有设置中。Goal X 不读写工作区文件，也不发起网络请求。完成审计模型只会通过 PI-Desktop 宿主 API 收到受限的目标记录和不可信完成声明。Goal X 仅在本地读取受限会话元数据，用于生成阻塞报告的不透明独立回合标识；不会保存对话文本，也不会把对话发送给审计模型。插件无法获取 API 密钥。"
        }
      },
      "categories": [
        "agents-workflow",
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "pi",
      "downloads": 151,
      "homepage": "https://plugins.aiuo.net/plugins/pi.goal-x",
      "repository": "https://plugins.aiuo.net/plugins/pi.goal-x",
      "readmeMarkdown": "# Goal X for PI-Desktop\n\nGoal X ports the durable goal-management workflow of\n[`pi-goal-x`](https://github.com/tmonk/pi-goal-x) to PI-Desktop's sandboxed\nplugin API. It keeps a separate goal pool for each workspace, lets the user or\nAgent focus one goal, records a nested task plan and evidence, and can ask a\nseparate host-owned model completion to audit the result before archiving it.\n\nThe port is implemented against PI-Desktop's public plugin surface. It does\nnot load the original Pi extension or its SDK dependencies.\n\n## Features\n\n- Regular goals and Sisyphus mode (order is Agent guidance, not engine-enforced)\n- Up to 32 open goals per workspace, with an explicit focus\n- Nested tasks with stable ids, completion contracts, evidence, skip reasons,\n  and atomic batch updates\n- Active, paused, blocked, budget-limited metadata, complete, and archived\n  lifecycle states\n- Three-distinct-turn confirmation before an Agent can mark a repeated blocker\n- Optimistic revisions so stale panels and audit results cannot overwrite\n  newer goal state\n- A bilingual panel and docked work-panel view with open and archived goals\n- Five Agent tools matching the core `pi-goal-x` tool surface\n- Optional independent completion audit using a signed-in PI-Desktop model\n- Workspace-scoped persistence in the plugin's private settings\n\n## Use\n\nOpen **Goal X** from the work panel or global search. The following exact slash\ncommands are also available:\n\n| Command | Action |\n| --- | --- |\n| `/goal-x.open` | Open the dashboard |\n| `/goal-x.new` | Open a regular-goal draft |\n| `/goal-x.new-sisyphus` | Open an ordered-goal draft (Sisyphus mode) |\n| `/goal-x.unfocus` | Clear the current workspace focus |\n| `/goal-x.pause`, `/goal-x.resume` | Change the focused goal immediately |\n\nPI-Desktop plugin commands currently receive no arguments. Use the panel, or\nask the Agent to create the goal in Agent mode.\n\n### Agent tools\n\nPI-Desktop namespaces plugin tools before exposing them to the model:\n\n- `plugin_pi_goal_x_create_goal`\n- `plugin_pi_goal_x_get_goal`\n- `plugin_pi_goal_x_update_goal`\n- `plugin_pi_goal_x_set_goal_tasks`\n- `plugin_pi_goal_x_update_goal_task`\n\nThe bundled skill teaches the Agent when and how to use them. PI-Desktop hides\nplugin tools and skills in Plan and built-in Goal discussion modes; they become\navailable after the session enters Agent mode.\n\nAgent focus is scoped to the current session, while the dashboard keeps a\nworkspace display focus. An explicit create, focus, unfocus, resume, or restore\naction in the dashboard invalidates older hidden session mappings; an older\nAgent session must then pass `goal_id` explicitly instead of silently mutating\nthe goal it previously focused.\n\n## Completion audits\n\nWhen the completion auditor is enabled, `update_goal` with\n`status: \"complete\"` starts a separate, tool-free model completion. The auditor\nreceives the goal, task statuses, verification contracts, evidence, the\nexecutor's untrusted completion claim. It does not receive the current\nconversation. It must return `\u003capproved/\u003e` before Goal X archives the goal.\n\nThe panel can also run an audit. A panel-started audit receives the saved goal\nrecord and evidence but cannot read an arbitrary conversation. Configure the\nauditor model and reasoning effort in the panel or generated plugin settings.\nLeaving the model blank uses the executor model for Agent-tool audits and the\nfirst authenticated model as a fallback.\n\nAuditing uses `pi.agent.complete`, so it consumes the selected provider's quota.\nPI-Desktop resolves credentials in the host; Goal X never receives API keys.\n\n## Persistence and safety\n\nThe authoritative state is stored under the plugin-private `goalXState` setting\nin PI-Desktop's data directory. Workspace paths are hashed for isolation; the\npath and workspace label stay local in that private record. Goal X requests no\nworkspace file, network, shell, or clipboard permission.\n\n| Permission | Why it is needed |\n| --- | --- |\n| `ui.panel` | Open the standalone dashboard |\n| `ui.view` | Show the same dashboard in the work panel |\n| `agent.tool.register` | Provide the five goal tools in Agent mode |\n| `agent.prompt.inject` | Load the Goal X workflow skill on demand |\n| `models.list` | Populate the auditor model picker and choose a fallback |\n| `session.read` | Locally derive an opaque turn identifier from session/turn metadata so repeated blocker reports must come from distinct Agent turns; conversation text is not stored, hashed, or sent to the auditor |\n| `agent.complete` | Run the independent completion audit |\n\nThe state root, each workspace, and every mutation are normalized before use.\nMutations are serialized, task batches commit atomically, and completion audits\nre-check the goal revision before archiving. Goal X retains at most 32 workspace\nrecords and refuses a write above 8 MiB rather than overwriting existing data;\nonly completely empty old workspace records are reclaimed automatically.\n\n## PI-Desktop API limits\n\nThis migration intentionally does not claim two `pi-goal-x` behaviors that the\ncurrent PI-Desktop plugin API cannot implement:\n\n- **Automatic continuation:** plugins cannot trigger a new Agent turn or hook\n  every turn. Goal X persists progress, but the user starts the next turn.\n- **Automatic token-budget enforcement:** plugin tools receive no cumulative\n  session usage event. `token_budget` is retained as planning metadata, not a\n  hard stop.\n\nPI-Desktop also provides no generic confirmation dialog to plugin commands, so\ndestructive lifecycle actions such as archive remain panel actions rather than\nsingle-keystroke commands.\n\n## Develop and verify\n\nLoad this directory from **Plugins -\u003e Load development plugin**. PI-Desktop\nhot-reloads changes.\n\nRun the portable unit tests:\n\n```bash\nnode --test tests/*.test.mjs\n```\n\nFrom a PI-Desktop source checkout with dependencies installed, validate and\npack the exact artifact:\n\n```bash\npnpm pi-plugin check /path/to/pi.goal-x\npnpm pi-plugin pack /path/to/pi.goal-x\n```\n\nThe package is written to `dist/pi.goal-x-0.1.0.piplug`. Install that package\nonce before release to exercise the same permission review and packaging path\nusers receive.\n\n## Upstream and migration notes\n\nGoal X is inspired by `pi-goal-x` 0.31.2 at commit\n`fe430b251eeaff4ff7c041085fd05458b2776cb9`. The upstream project and this port\nare MIT licensed. Its Pi SDK/TUI integration, filesystem ledger, automatic turn\nlifecycle, recovery hooks, interactive terminal questionnaires, and tool-using\nauditor were replaced with PI-Desktop-native storage, panels, tools, and the\nhost-owned one-shot completion API.\n\nSee [MIGRATION.md](MIGRATION.md) for the capability map.\n\n## License\n\nGoal X is MIT licensed. See [LICENSE](LICENSE). The bundled Lucide icon subset\nis ISC licensed; see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).\n",
      "safetyNotes": "Goal data stays in plugin-private settings. No workspace file, shell, clipboard, or network access. Completion auditing sends only bounded goal data and an untrusted completion claim to a signed-in model. Bounded session metadata is read locally only to derive opaque blocker turn identifiers and is never stored or sent to the auditor. The plugin never receives provider credentials.",
      "versions": [
        {
          "version": "0.1.1",
          "publishedAt": "2026-09-12T17:13:25Z",
          "changelog": "0.1.1: docked work-panel chrome, fail-closed storage, namespaced commands, appearance adapter. 0.1.0: workspace-scoped goal pools, focus, regular and Sisyphus modes, task trees, completion evidence, pause/block/resume/archive lifecycle, bilingual dashboard, Agent tools, and host-owned completion audits.",
          "minPiDesktop": "\u003e=0.13.11",
          "shasum": "f501107dcd2f444fab737c15ed81c257fd301a3f72318d2911d65c7149580615",
          "url": "packages/pi.goal-x-0.1.1.piplug",
          "sizeBytes": 570089,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "models.list",
            "session.read",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "bone.aimedia.services",
      "name": "AI媒体生成服务",
      "description": "Generate PNG images from configured GPT image models in Agent conversations. Manage encrypted provider credentials and browse local generation records with previews and downloads. Credential persistence currently supports macOS.",
      "author": "taokoplay",
      "categories": [
        "media-creative"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "bone",
      "downloads": 185,
      "homepage": "https://github.com/taokoplay/bone-aimedia-services",
      "readmeMarkdown": "# Bone AI 媒体服务\r\n\r\n独立的 PI-Desktop 媒体服务插件，以 Agent 对话驱动已配置模型生图；页面用于配置、记录与可选调试。\r\n\r\n- 插件 ID：`bone.aimedia.services`\r\n- 当前版本：`0.4.3`\r\n- 源码目录：`bone-aimedia-services`\r\n- 许可证：[AGPL-3.0-only](LICENSE)\r\n\r\n**在对话中说明要用的服务、模型和画面，Agent 可查询配置并生成一张 PNG；无需打开生图页或复制任务参数。**\r\n图生图、视频、声音和 ComfyUI 执行尚未接入；配置可用不代表真实供应商已验证通过。\r\n\r\n## 界面与功能\r\n\r\n界面分为三个一级页面，配置继续使用 DutyDeck 风格的“列表 → 独立编辑页”：\r\n\r\n| 一级页面 | 内容 |\r\n|---|---|\r\n| 配置 | 模型服务、即梦、LibTV、ComfyUI、本地工作流 |\r\n| 生图 | 选择 GPT 服务与模型，准备请求、确认生成一张、预览和下载 PNG |\r\n| 生成记录 | 统一查看本插件任务，按生成中／已完成／已失败筛选；点击详情打开弹窗 |\r\n\r\n配置中的 **模型服务** 合并 OpenAI 图片兼容、小米 MiMo、MiniMax 等供应商，\r\n支持全部／图片／视频／声音筛选；同一服务的全部模型保留，不因筛选而丢失。\r\n**即梦** 独立为单配置入口，本机 CLI 登录态不是多个账号配置。\r\n**LibTV** 也独立为单入口，通过宿主 HTTP MCP + OAuth 接入；这不是“平台只允许一个账号”的声明。\r\n已有重复配置仍完整显示，可逐项整理，升级不会自动删除或覆盖它们。\r\n\r\n列表支持查找和进入编辑。编辑页按基本信息、已启用模型、可用目录分组，底部集中\r\n取消／保存。模型逐项管理，不要求手写整份模型配置文本。工作流 JSON 只出现在工作流\r\n编辑页。返回、切换与并发冲突保留未保存修改保护。\r\n\r\n同一供应商配置可包含多种媒体类型。筛选仅改变显示，不自动修改默认模型或清除隐藏\r\n模型。全局图片、视频和声音默认服务由用户明确选择，不自动采用列表第一项。\r\n\r\n生成记录列表将渠道与模型合并为一列，上方显示渠道，下方以灰色小字显示模型；旁列显示状态和时间，任务编号与完整参数放入详情弹窗。\r\n弹窗支持图片预览、下载和本地状态更新，并分别显示请求尺寸与实际尺寸。\r\n结果未知／图片待读取的任务标记“待核对”，不会被当作失败；未提交的请求显示“待确认”。\r\n状态筛选和刷新只读本地记录，不向供应商提交或重试任务。\r\n\r\n## 服务接入范围\r\n\r\n| 服务 | 本版支持 | 明确未实现 |\r\n|---|---|---|\r\n| OpenAI 图片生成 | HTTP/HTTPS 地址、加密密钥、`GET /models`；已配置 GPT 模型文生图、PNG 预览与下载 | 图片编辑、批量生成、URL 结果下载 |\r\n| 小米 MiMo | 配音模型、音色、格式；`GET /models` | 实际语音合成、克隆或音色设计 |\r\n| MiniMax | Cloud media models via `GET /models`; account voices via `POST /get_voice`; builtin candidates supplement remote results | Actual image/video/audio generation |\r\n| ComfyUI | 系统与节点发现、模型目录、远端工作流列表与详情；本地 API 工作流校验 | 上传输入、提交任务、取消远端任务和下载生成结果 |\r\n| 即梦 Dreamina | 一个 CLI 路径与模型配置入口 | 插件内启动 CLI、登录、额度查询和生成 |\r\n| LibTV | 一个官方 MCP 服务入口与接入说明 | 插件内 OAuth 登录和代理调用远程 MCP 工具 |\r\n\r\n目录检查只在用户明确点击时执行。小米／OpenAI 模型列表和 MiniMax 音色列表不混用；\r\nComfyUI 节点存在也不代表工作流一定能执行。建议模型 ID 是配置默认值，实际服务支持\r\n范围仍需核验。保存服务不提交任务，不产生生成费用。\r\n\r\nMiniMax discovery works without a selected model. Model and voice sections have\r\nseparate fetch buttons and retain independent results. The UI merges 18 builtin\r\nmedia candidates with returned model IDs and labels the source. Account voices\r\nare read-only names and IDs; choose the voice when making a generation request.\r\nThis settings page does not set a default voice. Existing saved voice values are\r\npreserved for compatibility. Chat-only model responses remain explicitly empty\r\nfor media discovery; model choices still require saving.\r\n\r\n### ComfyUI 资源\r\n\r\n在 ComfyUI 连接列表选择“浏览资源”，手动读取模型目录，再查看目录里的模型文件；\r\n远端工作流可查看路径、大小、更新时间和 JSON 详情。只有通过校验的 API 格式才可\r\n导入为本地工作流草稿，必须再次保存；画布格式仅预览，不自动转换或执行。\r\n\r\n生成记录页仅展示本插件自己的任务，不再混入 ComfyUI 服务端历史和队列。\r\n原有服务端只读查询接口保留兼容，返回数据可能包含其他客户端任务，不能据此认领成果。\r\n\r\n查询全部通过用户点击触发，没有后台轮询。老版本服务器不支持某接口时明确显示\r\n“不支持”，不能当作“没有模型／没有任务”。配置修改或重载后旧查询结果需重新读取。\r\nLibTV 官方资料与协议来源见[接入调查](docs/provider-integration-research.md)。\r\n## 凭据与数据\r\n\r\nAPI Key／Bearer Token 使用插件内的 AES-256-GCM 加密，和配置一起原子写入私有文件。\r\n随机主密钥保存在 macOS 默认钥匙串，按本插件和数据目录隔离，不写入配置或进程参数。\r\n重新打开页面、重载插件或重启后自动恢复；页面与 Agent 只收到“已配置”标志，\r\n不会回填密钥或暴露密文。此方案兼容现有 PI-Desktop 0.21.0，无需更新客户端。\r\n\r\n本版凭据持久化支持 macOS；其他系统可保存普通配置，含密钥的保存会明确失败。\r\n钥匙串锁定、拒绝访问、密钥丢失、数据损坏时保留原配置，不生成替代密钥或降级为明文。\r\n旧版仅在内存中的 Key 若已丢失，需重新填写一次；旧宿主加密格式保留原文件，需要\r\n原加密环境才能恢复。本机钥匙串和原数据目录是恢复条件，仅复制配置不能迁移密钥。\r\n\r\n- 密钥输入默认遮挡；留空保留已加密保存的密钥，显式清除后保存才生效。\r\n- 切换供应商或服务地址时不自动沿用原凭据。\r\n- 不自动读取 DutyDeck、影视工厂或其他插件的私有配置与登录状态。\r\n- 非敏感配置与加密凭据一起保存在本插件私有目录的 `aimedia-settings.json`。\r\n- 保存使用版本检查与原子替换；并发修改时需重新读取核对，不盲目覆盖。\r\n- 数据损坏时报告错误，不静默重置或删除旧配置。\r\n\r\nComfyUI 工作流采用 API 格式 JSON，记录名称、输出媒体类型、启用状态、连接引用和\r\n输入绑定。工作流最多64项，每份定义最多200KiB／300节点。支持的绑定用途为\r\n`prompt`、`negativePrompt`、`seed`、`width`、`height`、`steps`，必须指向真实节点输入。\r\n被工作流引用的连接不能直接删除；先明确解除引用或删除对应工作流。\r\n\r\n## Agent 工具\r\n\r\n| 工具 | 作用 |\r\n|---|---|\r\n| `media_catalog` | 首选入口：查看已配置模型、modelRef、参数约束、默认项和不可用原因 |\r\n| `generate_image` | 自动准备与单次提交，保持调用直到请求结束并保存结果（网络上限 90 秒）；完成返回图片块 |\r\n| `image_job` | 查询、最多等待 15 秒、会话任务列表或读取图片，不重新生成 |\r\n| `export_image_result` | 交接原图到授权工作区，由 Agent 的执行工具解码为 PNG，无需模型转写 Base64 |\r\n| `get_capabilities` | 返回实际能力与约束；只有 GPT 文生图已实现，ready 仍取决于已启用模型和凭据 |\r\n| `list_profiles` | 列出服务、模型、默认项和凭据是否已设置；可按媒体类型筛选，不返回密钥 |\r\n| `list_workflows` | 列出工作流名称、类型、连接引用与节点数量，不返回工作流正文或执行工作流 |\r\n| `prepare_image` | 本地固化请求，返回任务 ID、哈希和参数，不收费 |\r\n| `submit_image` | 确认后单次提交并等待本次请求结束，可能收费；同任务不会重复提交 |\r\n| `get_image_job` / `list_image_jobs` | 本地查询任务状态与记录，不提交远端请求 |\r\n| `read_image_result` | 分块读取已验证的 PNG，每次最多 64 KiB；不返回私有路径 |\r\n\r\n新对话优先使用前四个工具，旧八个工具保留兼容。目录与任务查询不联网；生成入口\r\n在用户明确授权的范围内提交，宿主权限检查继续生效。可直接请求：\r\n\r\n\u003e 用媒体服务中的传贝GPT、GPT Image 2，低质量 1024×1024，生成一张白底蓝色陶瓷杯；只提交一次。\r\n\r\n工具可调用只证明本插件对当前会话可达，不代表某个供应商能生成。未发现工具也不能\r\n直接推断插件未安装，需要区分未启用、未授权与未暴露。\r\n\r\nAgent 使用流程：发现工具 → 查询模型 → 按用户指定／会话选择／默认／唯一候选选择 →\r\n生成一张 → 等待原任务 → 返回图片。多候选确有歧义时只询问必要的模型选择，不跳转页面。\r\n费用由供应商结算，插件不提供价格保证。unknown 可能已计费，绝不自动新建任务重试。\r\n0.4.1 修复了新提交在 10 秒后提前结束工具调用、导致宿主丢弃慢响应的问题。\r\n`waitMs` 只用于已有任务的本地等待；新提交的网络等待上限为 90 秒，给宿主 110 秒\r\n工具时限预留校验保存时间。超时仍是未知结果，不能自动重试。页面提交后仍可查看进度。\r\n\r\n图片块直接传给 Agent；用户侧是否展示取决于客户端。需要原图或客户端不展示插件图片块时，\r\nAgent 调用导出工具，并在授权工作区运行其固定解码命令，完成后返回 PNG 文件链接。\r\n交接成功不代表 PNG 已生成，必须核对解码退出码、文件大小和 SHA-256。\r\n无工作区／缺少权限时单独报告导出限制，原有生成结果仍保留。\r\n\r\n手动生图页继续保留。影视工厂可使用导出文件执行 `register_media → adopt_media`；\r\n本插件不自动采用素材或判定画面质量。详见[Agent 使用与接口契约](docs/agent-image-contract.md)。\r\n\r\n## 安装与权限\r\n\r\n在插件管理中安装 `dist/bone.aimedia.services-0.4.3.piplug` 或加载开发目录，并审核所需权限。\r\n插件启动即注册工具与技能，不需要先打开页面。已有有效配置后即可在 Agent 模式调用。\r\n不保证在已运行的同一轮即时增加工具；新会话和下一轮的发现以安装客户端验收为准。\r\n当前安装的 PI-Desktop 0.21.0 已验证 Agent 模式下的新会话／下一轮工具发现。\r\n该版本的规划模式不会暴露插件声明的只读动作；插件图片块也不自动生成图片卡片。\r\nAgent 可通过原图导出与 Markdown 图片链接完成用户可见展示，无需进入生图页面。\r\n\r\n| 权限 | 用途 |\r\n|---|---|\r\n| `ui.view` | 显示独立设置页面 |\r\n| `agent.tool.register` | 注册发现、准备、提交和结果读取工具；提交为高风险操作 |\r\n| `agent.prompt.inject` | 提供对应 Agent 技能 |\r\n| `net.fetch` / `net.anyHost` | 显式目录查询与确认后的 GPT 请求，支持自定义 HTTP/HTTPS 地址 |\r\n| `fs.read` / `fs.write` | 仅 `bone-media/exports/**` 内的交接文件检查与写入，原图由 Agent 授权工具解码 |\r\n\r\n网络通过宿主 API 执行，拒绝重定向。接口会校验 URL、拒绝 URL 内嵌凭据及云元数据\r\n地址；云服务预设约束来源，自定义服务允许 HTTP/HTTPS。\r\n不声明任意 shell 执行权限，不直接用插件 Node 文件系统写工作区，不手改宿主权限登记。\r\n\r\n更新插件前保存当前编辑。重载会从加密文件恢复已保存密钥，无需再次填写。\r\n不需要为了测试中断其他运行任务。\r\n\r\n## 开发与测试\r\n\r\n使用现代 Node.js，当前验证环境为 Node.js 22；界面为原生 JavaScript/CSS，无需前端构建。\r\n\r\n```bash\r\nnode scripts/sync-manifest.cjs --check\r\nnode --test tests/*.test.cjs\r\npython3 tests/settings.browser.py\r\npython3 tests/generation.browser.py\r\npython3 tests/records.browser.py\r\n```\r\n\r\n浏览器检查要求 Python Playwright 与 Chrome。测试自动启动真实插件入口、临时存储和\r\n合成供应商响应，不连接真实账号、不读取用户密钥、不生成或收费。修改工具定义后运行\r\n`node scripts/sync-manifest.cjs --write` 同步 manifest。\r\n\r\n在已配置工具链的 PI-Desktop 仓库根目录校验／打包：\r\n\r\n```bash\r\npnpm pi-plugin check /path/to/PI-Plugins/bone-aimedia-services\r\n```\r\n\r\n发布打包使用白名单脚本（在插件根目录运行）：\r\n\r\n```bash\r\nnode scripts/pack-clean.cjs /absolute/path/to/PI-Desktop\r\n```\r\n\r\n发布包仅包含运行模块、技能、许可证与文档，不含测试服务器、私有配置或素材。\r\n安装包与开发源码分别管理，后续真实供应商验收需明确账号、数量与费用范围。\r\n\r\n## 后续计划与来源\r\n\r\n- [实施计划（含未实现阶段）](docs/implementation-plan.zh-CN.md)\r\n- [未来生成接口草案](docs/api-contract-draft.md)\r\n- [Agent 驱动生图验收与客户端限制](docs/acceptance-agent-images.md)\r\n- [DutyDeck 界面基准](docs/ui-design.zh-CN.md)\r\n- [运行配置契约](docs/configuration-contract.md)\r\n- [Agent 优先接口与使用流程](docs/agent-image-contract.md)\r\n- [来源与许可说明](NOTICE.md)\r\n\r\n后续阶段：参考图／图生图、远程结果下载、配音和可恢复的视频任务。当前不会把\r\n其他媒体或模型目录候选标记为已实现执行能力。\r\n\r\n- [0.4.1 慢响应请求修复与验收](docs/acceptance-image-request-lifetime.md)\r\n- [统一生成记录与详情弹窗](docs/generation-records-ui.md)\r\n",
      "safetyNotes": "服务凭据在本机使用 AES-256-GCM 加密，主密钥保存在 macOS 钥匙串；通过系统 security 命令访问钥匙串，不执行用户提供的 shell。供应商目录查询与生成请求通过宿主网络权限访问用户配置的 HTTP/HTTPS 地址。生成可能收费，未知结果不自动重试。工作区写权限仅用于 bone-media/exports/** 中的图片交接文件，最终 PNG 由 Agent 获准的执行工具解码。配置和旧记录页为插件级共享；新 Agent 任务查询按会话隔离。",
      "versions": [
        {
          "version": "0.8.0",
          "publishedAt": "2026-11-24T05:16:08Z",
          "changelog": "# 0.8.0\n\n失败的图片、语音和 ComfyUI 工作流记录详情现在提供“重新生成”操作。用户确认后会使用相同参数创建新的请求，保留原失败记录，并在本地生成记录中显示新任务。\n\n重新生成会使用新的 request ID；未知状态、进行中任务和已完成任务不会提供该操作，避免重复提交或重复收费。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "5e33616684e42e8c07e0d4375cfbd93a1cfb81307fd1bf49ad8bd7e3b027d159",
          "url": "packages/bone.aimedia.services-0.8.0.piplug",
          "sizeBytes": 1013249,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "a0bcfac6bd3526353c39bf12c999e6c1d3687895",
            "sourceCommit": "a0bcfac6bd3526353c39bf12c999e6c1d3687895",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-24T05:13:31Z"
          }
        },
        {
          "version": "0.7.9",
          "publishedAt": "2026-11-23T15:23:47Z",
          "changelog": "# 0.7.9\n\n修复 Canvas 工作流在完整 `/object_info` 返回服务端错误时无法继续读取节点元数据的问题：插件现在按工作流实际节点类型执行受限的节点级读取，并继续验证所有连线和 widget 映射。\n\n预检失败现在会写入本地生成记录，明确显示未提交或结果不确定状态；同一 request key 不会重复读取或提交 ComfyUI `/prompt`。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "e29b1a42afd2db7aac04974338df2ceac35f45e7d0476cd893b2824b4281ceb1",
          "url": "packages/bone.aimedia.services-0.7.9.piplug",
          "sizeBytes": 1008263,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "d5aefe63a3c2f39f8e742ef32355b09b35c49fc0",
            "sourceCommit": "d5aefe63a3c2f39f8e742ef32355b09b35c49fc0",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T15:21:13Z"
          }
        },
        {
          "version": "0.7.8",
          "publishedAt": "2026-11-23T14:23:51Z",
          "changelog": "# 0.7.8\n\n修复远端 ComfyUI 工作流正文读取：保留 `/userdata/workflows/` 的路径分隔符，同时对每个路径段单独编码，避免 Canvas 和图生视频工作流读取时返回 HTTP_ERROR。\n\n增加远端图生视频参考图上传与单次 `/prompt` 提交的路径回归测试，并保持现有安全转换、任务幂等和结果校验流程。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "1c510d40777a6b889e07ec82ed0e38e49052aeb25b44dc71ea1d8fa6da37232b",
          "url": "packages/bone.aimedia.services-0.7.8.piplug",
          "sizeBytes": 1002685,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "b6dee0641685f20f514807d59b029ffc2fc13719",
            "sourceCommit": "b6dee0641685f20f514807d59b029ffc2fc13719",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T14:21:06Z"
          }
        },
        {
          "version": "0.7.7",
          "publishedAt": "2026-11-23T13:02:45Z",
          "changelog": "## 0.7.7\n\n- Increase the bounded `/object_info` response budget used only by in-plugin Canvas conversion for large ComfyUI node libraries.\n- Preserve safe diagnostics for oversized or invalid Host responses instead of collapsing them into an unavailable generation result.\n\nValidation: 351 Node tests, Canvas/remote generation regressions, Canvas settings browser cases, 8 i18n browser tests, manifest synchronization, PluginCheck, PluginPack and clean package validation passed. No live provider task was resubmitted during validation.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "a30b876123ed34d90890b41e6e55b20a726b0c385452e28d2b7ad35a831475d6",
          "url": "packages/bone.aimedia.services-0.7.7.piplug",
          "sizeBytes": 1001909,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "00b2b6e53fe94fa2d3a78d1695bed82ca2f27ded",
            "sourceCommit": "00b2b6e53fe94fa2d3a78d1695bed82ca2f27ded",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T13:00:01Z"
          }
        },
        {
          "version": "0.7.6",
          "publishedAt": "2026-11-23T12:00:17Z",
          "changelog": "## 0.7.6\n\n- Add safe in-plugin Canvas-to-API conversion using ComfyUI `/object_info` metadata, link validation and widget mapping.\n- Allow Canvas workflows to enter the existing local import review or remote temporary execution flow when every mapping is proven; unresolved, bypassed or missing nodes remain blocked without saving or submitting.\n- Add Canvas conversion diagnostics, reference-image upload coverage and settings/browser regression coverage.\n\nValidation: 351 Node tests, 43 settings browser tests split into stable groups with Canvas cases passed, 8 i18n browser tests, official i18n gate with 0 failures, manifest synchronization, PluginCheck, PluginPack and clean package validation passed. One unrelated MiniMax browser fixture intermittently timed out while locating an existing workflow row; Canvas tests passed independently.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "eea4fc4f34410500bec82b00fb56afe4ffc8daafaa10a25f7e7423d72d0b110f",
          "url": "packages/bone.aimedia.services-0.7.6.piplug",
          "sizeBytes": 1000822,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "6fef71baed8d4eb1655ec117922e9d6418981d59",
            "sourceCommit": "6fef71baed8d4eb1655ec117922e9d6418981d59",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T11:57:53Z"
          }
        },
        {
          "version": "0.7.5",
          "publishedAt": "2026-11-23T07:08:02Z",
          "changelog": "## 0.7.5\n\n- Add direct execution of synchronized ComfyUI API-format workflows without importing them into the local workflow list.\n- Add `list_remote_workflows` with stable names, IDs, relative paths, formats, content hashes, executable media kinds and field-match candidates from local snapshots.\n- Require a path or stable ID for duplicate remote names; reject Canvas workflows before prompt submission.\n- Lock remote request identity to the synchronized workflow content hash and recover remote jobs after reload without resubmitting prompts.\n- Preserve reference-image upload validation, single prompt submission, existing local workflow execution, GPT image, MiniMax speech and record contracts.\n\nValidation: 348 Node tests, 43 settings browser tests, 8 i18n browser tests, official i18n gate with 0 failures, manifest synchronization, PluginCheck, PluginPack and clean package validation passed. No live ComfyUI or paid provider generation was used for validation.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "dd9b37fade5ff9ba3af22b6cc8fb779de96ee2f97f4b14990fc876432342a494",
          "url": "packages/bone.aimedia.services-0.7.5.piplug",
          "sizeBytes": 986679,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "5f36c0abd8856bc9bc4f0b81e6cd0df767ff1c53",
            "sourceCommit": "5f36c0abd8856bc9bc4f0b81e6cd0df767ff1c53",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T07:05:24Z"
          }
        },
        {
          "version": "0.7.4",
          "publishedAt": "2026-11-23T03:43:45Z",
          "changelog": "## 0.7.4\n\n- Import API-format ComfyUI workflows directly from the service editor into Local workflows and show a saved-status result.\n- Explain why canvas-format workflows cannot be imported, while preserving remote workflow read-only behavior and snapshot recovery.\n\nThis patch requires an executable API-format workflow for local execution; remote workflow definitions remain read-only.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "e8c773c2c990e94d2e70d63d3faeb4feba0df05587a30cfc665db7146b4efb53",
          "url": "packages/bone.aimedia.services-0.7.4.piplug",
          "sizeBytes": 971151,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "8e6c19bbcf0d30aa94634d4afdb495c07a93ea5c",
            "sourceCommit": "8e6c19bbcf0d30aa94634d4afdb495c07a93ea5c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T03:41:18Z"
          }
        },
        {
          "version": "0.7.3",
          "publishedAt": "2026-11-23T02:07:42Z",
          "changelog": "## 0.7.3\n\n- Match ComfyUI API-format node fields and output candidates for prompt, dimensions, sampling, timing, frame and reference-image bindings.\n- Add guarded image-to-video reference upload through the Host binary request contract; validate the returned ComfyUI input reference before writing it into a cloned prompt.\n- Reject workflow inputs that contain the saved ComfyUI credential, preserve single-submission idempotency, and expose the new matching flow in the bilingual settings page.\n\nImage-to-video reference uploads require a PI-Desktop Host with `binaryRequestBody` support and an executable API-format workflow.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "7eb0715518240c5c9c850190a74d24e4b204a7f831f816bad12d411ad4e38a02",
          "url": "packages/bone.aimedia.services-0.7.3.piplug",
          "sizeBytes": 969613,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "d28069a357f5a1bcd6fe71afa9932315fb4b6bb4",
            "sourceCommit": "d28069a357f5a1bcd6fe71afa9932315fb4b6bb4",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-23T02:05:08Z"
          }
        },
        {
          "version": "0.7.2",
          "publishedAt": "2026-11-22T04:57:17Z",
          "changelog": "## 0.7.2\n\n- Remove fixed image, audio and ComfyUI generation-record limits. Existing records remain readable and new records are retained until explicit deletion.\n- Add guarded batch deletion through the Generation Records page and the `delete_generation_records` Agent tool.\n- Delete terminal local records and their private result files while protecting submitting, unknown and result-pending tasks from accidental removal.\n- Preserve existing generation, export, project-label, bilingual UI and provider behavior.\n\nValidation: 336 Node tests, 9 records browser tests, 8 i18n browser tests, manifest synchronization, official plugin check and clean package validation passed. No live provider generation was used for validation.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "88a80346bace6ac61ced022fc29da6cd91054302d3bf1684a7e16b1118349eb7",
          "url": "packages/bone.aimedia.services-0.7.2.piplug",
          "sizeBytes": 940068,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "f87ebf8b688ca817eb4be9e1f85559be4b0f168d",
            "sourceCommit": "f87ebf8b688ca817eb4be9e1f85559be4b0f168d",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-22T04:54:59Z"
          }
        },
        {
          "version": "0.7.1",
          "publishedAt": "2026-11-21T14:56:11Z",
          "changelog": "## 0.7.1\n\n- Fix Agent image generation failures that were returned as completed tool calls when multiple models had no selected default.\n- Return `MODEL_SELECTION_REQUIRED` or `MODEL_UNAVAILABLE`, mark structured failures as tool errors, and keep provider submission at zero until a model is explicitly selected.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ebd9e826c610101371eb64b90598950f45f8d0a263ecdb4e7a23ce8d99404e3a",
          "url": "packages/bone.aimedia.services-0.7.1.piplug",
          "sizeBytes": 913682,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "f3e4d1ea11681823229fcfd4ed6141149ee722cf",
            "sourceCommit": "f3e4d1ea11681823229fcfd4ed6141149ee722cf",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-21T14:53:56Z"
          }
        },
        {
          "version": "0.7.0",
          "publishedAt": "2026-11-21T04:15:31Z",
          "changelog": "## 0.7.0\n\n- Add ComfyUI API workflow execution for image, video and audio outputs.\n- Synchronize remote workflow definitions into local snapshots with source hashes and explicit output rules.\n- Submit once, retain the ComfyUI prompt ID, reconcile the same task after reload, and download results through the host bounded binary response contract.\n- Validate output paths, media signatures and SHA-256 before adding independent `wf-` jobs to unified Generation Records.\n- Add `generate_workflow_media`, `workflow_job`, `cancel_workflow_job` and `export_workflow_result` while preserving the existing sixteen tools and image/audio records.\n- Keep canvas workflows preview-only, server-wide history/queue separate, and unknown outcomes free of automatic resubmission.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "fdfacb82016fb4c6d1b76790ba2515d96ddcdced66ab26218fa1e5fea3db3035",
          "url": "packages/bone.aimedia.services-0.7.0.piplug",
          "sizeBytes": 924520,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "4be62bd83c2e23b279110a7ff5e659bf7fd8a89c",
            "sourceCommit": "4be62bd83c2e23b279110a7ff5e659bf7fd8a89c",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-21T04:13:16Z"
          }
        },
        {
          "version": "0.6.2",
          "publishedAt": "2026-11-15T08:50:31Z",
          "changelog": "## 0.6.2\n\n- Fixed reference-image edits being unavailable on Hosts whose HTTP API accepts text request bodies. The plugin now sends OpenAI-compatible JSON image-edit requests with internally constructed, ordered data URLs when binary uploads are unavailable. Explicitly capable Hosts retain multipart uploads.\n- Preserved scoped local-image reads, SHA-256 checks, reference ordering, cancellation, existing records and stable request identity. Both transports require advertised error-redirect support. Failed or uncertain edits never automatically retry with another format, model or request key.\n- Existing text-to-image generation, MiniMax speech, project labels, bilingual records, original exports and runtime version labels remain compatible. No additional permissions are requested.\n- Verified 332 Node and 72 browser cases, manifest synchronization and localization (0 failures; existing command-title compatibility exception retained). The actual plugin was also tested with unmodified text-only Host code using two original reference files, exact order/hash checks, deduplication and reload recovery.\n- Validation used synthetic credentials and loopback HTTP only. No real supplier generation was performed. The selected provider/gateway must support JSON `/images/edits`; live entitlement and artistic results remain unverified.\n\n## 中文说明\n\n- 修复仅支持文本 HTTP 请求体的宿主无法使用参考图编辑的问题：插件可在内部构造有序图片 Data URL，通过 OpenAI 兼容的 JSON 图片编辑接口提交；明确支持二进制上传的宿主继续使用 multipart。\n- 保留工作区受限读取、SHA-256 校验、参考图顺序、取消、已有记录与请求去重。两种传输都要求宿主明确支持拒绝重定向；失败或结果未知时，不会自动更换格式、模型或请求键重试。\n- 文生图、MiniMax 语音、项目标签、中英文记录、原始文件导出和运行时版本显示保持兼容，无新增权限。\n- 已通过 332 项 Node、72 项浏览器回归、工具声明同步及国际化检查（0 失败，保留现有命令标题兼容例外），并以真实插件和未修改的文本 HTTP 宿主完成参考图原始字节、顺序、哈希、去重及重载恢复测试。\n- 验证仅使用模拟凭据和本地 HTTP，没有调用真实供应商生成。所选网关需要支持 JSON `/images/edits`；实际生成权限及画面效果尚未实测。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ea648de90ae74b0281c26936df2bbd7a779dc5fb5509aad46bbf45bca0e5edb6",
          "url": "packages/bone.aimedia.services-0.6.2.piplug",
          "sizeBytes": 875748,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "173bc4eab91ef1d0674c5c435d22dac8fe9edddc",
            "sourceCommit": "173bc4eab91ef1d0674c5c435d22dac8fe9edddc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-15T08:48:22Z"
          }
        },
        {
          "version": "0.6.1",
          "publishedAt": "2026-11-15T01:23:41Z",
          "changelog": "## 0.6.1\n\n- 修复插件升级成功后，页面版本号和窗口标题仍固定显示 0.5.4 的问题。两处现在读取正在运行的插件版本。\n- 清除启动阶段的过期静态标题；版本信息不可用时隐藏版本标记，避免误报旧版本。\n- 刷新配置会重新读取实际版本；异步版本更新保留正在编辑的内容与焦点，关闭页面后不再更新。\n- 原有配置、凭据、生成记录、16 个 Agent 工具及权限保持兼容，无需迁移。\n- 验证：327 项 Node 回归、72 项浏览器回归、官方国际化检查和安装包校验通过；未调用真实供应商生成。\n\n此补丁修正版本显示。参考图生成仍需要 PI 宿主提供二进制 HTTP 上传能力，并要求所选供应商实际支持 /images/edits。\n\n## English\n\n- Fix the stale 0.5.4 panel badge and window title after successful upgrades. Both displays now use the running plugin's version.\n- Remove the outdated static startup title and hide unavailable version metadata.\n- Refresh version metadata on configuration reload, preserve editor contents and focus, and ignore callbacks after disposal.\n- Preserve existing configuration, credentials, records, all sixteen Agent tools and permission scopes without migration.\n- Validation: 327 Node cases, 72 browser cases, the official i18n gate and installer checks. No real provider generation was used.\n\nReference-image generation still requires Host binary HTTP upload and actual provider support for /images/edits.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "61b80c34dc77f6d0e6480473dd209dd469953ef9d442a003186d76f86b41b3f4",
          "url": "packages/bone.aimedia.services-0.6.1.piplug",
          "sizeBytes": 873409,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "6b7ede782f6184a126ee371a9129a190950324b9",
            "sourceCommit": "6b7ede782f6184a126ee371a9129a190950324b9",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-15T01:21:39Z"
          }
        },
        {
          "version": "0.6.0",
          "publishedAt": "2026-11-14T07:24:21Z",
          "changelog": "## 0.6.0\n\n- 新增 GPT 参考图生图：按顺序提交 1–16 张本地 PNG、JPEG 或 WebP，单张最多 4 MiB、合计最多 12 MiB，校验文件哈希及工作区。\n- 统一返回宿主能力缺口和上传容量；可选能力查询失败时，文生图和 MiniMax 语音仍可使用。\n- 保留 0.5.4 的项目标签、中英文界面、Agent 创建流程、生成记录、图片预览和语音播放导出。\n- 参考图功能需要宿主支持二进制 HTTP 上传与授权图片读取。仅更新插件不会为旧宿主增加该能力；供应商也须实际支持 /images/edits。\n- 原有文本和语音任务格式保持兼容；仅参考图任务使用新格式，创建参考图任务后不支持降级到旧插件。结果未知的任务不会自动重试。\n- 验证通过：323 项 Node 回归、70 项浏览器测试、官方国际化门禁和安装包校验。未调用真实生图供应商。\n\n## English\n\n- Add ordered GPT reference-image generation with 1–16 local PNG/JPEG/WebP files, SHA-256 verification and workspace checks; up to 4 MiB each and 12 MiB combined.\n- Share Host capability diagnostics and upload limits. Optional capability-query failures keep existing text-to-image and MiniMax speech tools available.\n- Preserve the published project labels, English/Chinese Agent panel, records, previews, playback and original exports.\n- Reference input requires Host binary HTTP upload and scoped image reads, plus actual provider support for /images/edits. Updating the plugin alone does not add those Host APIs.\n- Existing text/speech record formats stay compatible. Only reference jobs use the new format; downgrading after creating them is unsupported. Unknown jobs are never automatically resubmitted.\n- Verified with 323 Node cases, 70 browser cases, the official i18n gate and installer package validation. No real image-provider request was made.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "cf8b686818504b2209a197f1745299cfdb41f9639f8cb1996b4507442cf5fc5d",
          "url": "packages/bone.aimedia.services-0.6.0.piplug",
          "sizeBytes": 869995,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**",
                "bone-media/references/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "be0ccff9a4a23bc505a800a2126e083483d72f64",
            "sourceCommit": "be0ccff9a4a23bc505a800a2126e083483d72f64",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T07:22:19Z"
          }
        },
        {
          "version": "0.5.4",
          "publishedAt": "2026-11-09T02:35:14Z",
          "changelog": "# AI媒体生成服务 0.5.4\n\n- 插件页面精简为「配置」和「生成记录」，通过 Agent 对话生成 GPT 图片与 MiniMax 语音。\n- 图片与语音任务下显示创建时的项目名称标签；旧任务和无法确认归属的任务明确标识，不追溯猜测项目。\n- 渠道在上、模型在下，调整状态与时间列间距，并修复 320px 配置搜索栏溢出。\n- 保留预览、试听、原始 PNG/MP3 下载、16 个 Agent 工具及原有兼容接口。\n- 补齐市场信息与插件页面的中英文文案，保留旧客户端兼容行为。\n\n凭据、任务与结果数据无需迁移。音频当前支持 MiniMax 文本朗读，不支持脚步声等环境音效、音乐或视频；不会替换为本地合成。生成使用已配置供应商，可能产生供应商费用，结果未知时不会自动重试。\n\n如 PI-Desktop 0.21.0 更新后仍保留旧插件页面，请保存编辑并等生成任务结束，再禁用、启用本插件以重建页面，无需更新客户端。\n\n## English\n\nThe panel now contains Configuration and Generation Records. Generate GPT images and MiniMax speech in Agent conversations, inspect project labels and compact channel/model columns, and preview, play or download original results. All sixteen Agent tools and compatible backend routes remain available. This release includes English and Simplified Chinese panel and marketplace copy, preserving compatibility with older clients.\n\nCredentials and saved tasks require no migration. MiniMax support is text-to-speech only; environmental sound effects, music and video are not implemented. Provider charges may apply; uncertain jobs are never automatically resubmitted.\n\nValidation: 301 Node tests and 70 isolated browser tests passed, including English and Chinese user paths. The official localization gate reports zero failures. No live provider generation, installed-client update or task-data migration is included in publication.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "e89b9300c98babe9afe57fb48ca694be173de0820eb755161d682cbe2cb09491",
          "url": "packages/bone.aimedia.services-0.5.4.piplug",
          "sizeBytes": 825147,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "v0.5.4",
            "sourceCommit": "ee0ed5190d104b5c3175372d77469d41cef877a6",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-09T02:33:14Z"
          }
        },
        {
          "version": "0.5.1",
          "publishedAt": "2026-11-06T10:46:31Z",
          "changelog": "# AI Media Services 0.5.1\n\nCorrect the first marketplace 0.5.0 upload, whose MCP transport changed non-ASCII source text. This release preserves UTF-8 source bytes, including Chinese UI labels and Agent tool descriptions. The original GitHub 0.5.0 package was unaffected.\n\nIncludes the complete MiniMax speech workflow introduced in 0.5.0: explicit voice selection, Agent speech generation, durable audio jobs, unified image/audio records, modal playback/download and original MP3 export. Generation behavior, credentials, stored records and permission scopes are unchanged. Environmental sound effects such as footsteps are still not implemented.\n\nUse 0.5.1 for marketplace installation. If an old plugin view stays visible after upgrade, save edits and wait for active generation to finish, then disable and re-enable the plugin.\n\nValidation includes 281 Node tests, byte-for-byte MCP transport round-trip checks, and final marketplace package comparison against tagged source. No real supplier generation or client update is part of publication.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "110acc074cbdb08bd6e607e0fc0ec68ccf84a9f86140a01f09da944a66b420c3",
          "url": "packages/bone.aimedia.services-0.5.1.piplug",
          "sizeBytes": 773608,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "v0.5.1",
            "sourceCommit": "ad03e75f4a1e8e3f5e98e8bdec88280fe38e5419",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T10:27:37Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-11-06T10:10:10Z",
          "changelog": "# AI Media Services 0.5.0\n\nAdd a complete MiniMax text-to-speech workflow without requiring a PI-Desktop client update.\n\n- Generate MP3 speech from explicitly selected models, voice IDs and spoken text.\n- Add Agent voice discovery, speech generation, session-scoped task queries and original audio export.\n- Show image and speech jobs in one generation-record list with status filters, channel above model, and local state refresh.\n- Open audio details in a modal with playback, download, duration, sample rate and channel metadata.\n- Share durable claims, concurrency and export validation while preserving existing image records and interfaces.\n\nThis release supports speech, not environmental sound effects such as footsteps. Music, image editing, video and ComfyUI execution remain unavailable. Credential persistence currently supports macOS. No live MiniMax generation was used for development validation.\n\nValidation: 281 Node tests and 70 browser tests passed during implementation. Release-candidate speech and records user paths are rechecked against the committed source. Existing host permission scopes are unchanged.\n\nIf PI-Desktop 0.21.0 retains an old plugin page after upgrade, save edits and wait for active generation to finish, then disable and re-enable this plugin to rebuild its cached view.\n\nPackage: `bone.aimedia.services-0.5.0.piplug` (772521 bytes).\nSHA-256: `0892e99247612629f498b461edd68721c4d3bb572e904f2d4eb39d5daa2b6011`.",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "5fb7cd97c2885136fa82937ea94342e9a561f73130b1169e62cf4b156fc3517a",
          "url": "packages/bone.aimedia.services-0.5.0.piplug",
          "sizeBytes": 815906,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/taokoplay/bone-aimedia-services",
            "sourceRef": "v0.5.0",
            "sourceCommit": "6b072b963efd4369dab4178c76059b457f1074a1",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T10:07:50Z"
          }
        },
        {
          "version": "0.4.3",
          "publishedAt": "2026-11-05T11:04:25Z",
          "changelog": "首次公开发布 0.4.3。\n\n- 支持已配置 GPT 图片模型的 Agent 文生图、持久化任务与原图导出。\n- 凭据使用 AES-256-GCM 与 macOS 钥匙串保存。\n- 统一生成记录，支持生成中、已完成、已失败筛选；渠道在上、模型在下。\n- 详情弹窗支持图片预览和下载，未知结果保留待核对状态，不自动重试。\n\n250 项 Node 测试、7 项记录页浏览器测试通过。凭据持久化当前支持 macOS；图生图、视频/音频执行与 ComfyUI 生成暂未实现。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "ec804406d9e8dcc438ace9e071f35a002891aa3c51e645978ce38281433782ff",
          "url": "packages/bone.aimedia.services-0.4.3.piplug",
          "sizeBytes": 689037,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "fs.read",
            "fs.write",
            "net.anyHost",
            "net.fetch",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            },
            "write": {
              "root": "workspace",
              "scope": [
                "bone-media/exports/**"
              ]
            }
          },
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.caopengfei.opencode-quota",
      "name": "OpenCode Quota",
      "description": "OpenCode Go subscription quota in a compact panel: rolling 5-hour, weekly and monthly allowance left, with reset times. Read-only, one endpoint, English and Simplified Chinese.",
      "author": "caopengfei",
      "i18n": {
        "en": {
          "name": "OpenCode Quota",
          "description": "OpenCode Go subscription quota in a compact panel: rolling 5-hour, weekly and monthly allowance left, with reset times. Read-only, one endpoint, English and Simplified Chinese.",
          "safetyNotes": "Read-only. It calls exactly one endpoint (GET opencode.ai/zen/go/v1/usage) with an OpenCode Go API key that you paste into this plugin's settings, and only while the active provider is an OpenCode Go one — with any other provider the panel shows no numbers and makes no request. It never reads chats, transcripts, project files, or PI-Desktop's own provider secrets; the key stays in this plugin's local settings file on your machine and is sent nowhere else."
        },
        "zh-CN": {
          "name": "OpenCode 额度",
          "description": "紧凑面板显示 OpenCode Go 订阅额度：滚动 5 小时、每周、每月三档余量与重置时间。只读，仅访问一个接口，中英双语。",
          "safetyNotes": "只读。仅在当前供应商是 OpenCode Go 时，用你填入本插件设置的 API Key 访问唯一接口 GET opencode.ai/zen/go/v1/usage；换成其他供应商时不显示任何数字、也不发请求。不读取对话、记录、项目文件，也不读取 PI-Desktop 自身的供应商密钥；Key 保存在本机插件设置文件中，不会发往任何其他地方。"
        }
      },
      "categories": [
        "usage-analytics"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 175,
      "homepage": "https://github.com/caopengfei",
      "readmeMarkdown": "# OpenCode Quota ｜ OpenCode 额度\n\nShow how much of your **OpenCode Go** subscription is left, without leaving PI-Desktop.\n\n在 PI-Desktop 里直接看到 **OpenCode Go** 订阅还剩多少额度，不用再开浏览器。\n\n---\n\n## English\n\n### What it does\n\nA compact panel with one row per quota window:\n\n| Window | What it means |\n| --- | --- |\n| Rolling 5h | Resets 5 hours after your first use |\n| Weekly | Resets every Monday 00:00 UTC |\n| Monthly | Resets with your paid period |\n\nEach row shows the progress bar (how much is *used*), the share **still available**, and how long until it resets. Rows turn amber at 25% left and red at 10%, so a nearly-exhausted window is obvious at a glance.\n\nThe panel refreshes every minute, and again whenever the window regains focus.\n\n### Only when it applies\n\nThe panel asks PI-Desktop which provider is active. If it is **not** an OpenCode Go / Zen provider, no numbers are shown and **no request is made** — the panel says which provider is in use instead. Printing `0%` there would read as \"full quota\", which is the opposite of the truth.\n\n### Setup\n\n1. Open **OpenCode Quota: Open** from the command palette.\n2. In this plugin's settings, paste an **OpenCode Go API key** — create one at [opencode.ai/console](https://opencode.ai/console) under **Account → Personal API keys**.\n3. That's it. The panel fills in on its next poll.\n\n### Language\n\nEnglish and Simplified Chinese, **following your system language** by default. Pin it in the plugin settings if you prefer. Traditional Chinese (`zh-TW` / `zh-HK` / `zh-Hant`) falls back to English rather than showing Simplified text.\n\n### Privacy\n\n- **Read-only.** The only request the plugin ever makes is `GET https://opencode.ai/zen/go/v1/usage`, and only while an OpenCode Go provider is active.\n- **One domain.** The manifest declares `net.domains: [\"opencode.ai\"]`, so no other host is reachable.\n- **No file scanning.** It never reads chats, transcripts, project files, or PI-Desktop's own provider secrets. (PI-Desktop does not let plugins read its credential store, which is why the key is entered by hand.)\n- **The key stays local.** It lives in this plugin's own `settings.json` under PI-Desktop's data directory and is sent to no one but the endpoint above.\n- **Nothing is cached.** Quota is never written to disk; reopening the panel always reads live numbers.\n\n### Permissions\n\n| Permission | Why |\n| --- | --- |\n| `ui.panel` | Draw the quota panel |\n| `models.list` | Read the active provider, so quota is never shown for the wrong one |\n| `net.fetch` | Call the single quota endpoint on `opencode.ai` |\n\n### Changelog\n\n- **0.3.0** — Compact single-row layout; the last-refreshed time moved into the header just before the refresh button; removed the provider subtitle and the endpoint footer.\n- **0.2.0** — English and Simplified Chinese, following the system locale.\n- **0.1.0** — First release.\n\n---\n\n## 中文\n\n### 功能\n\n一个紧凑面板，每个额度窗口一行：\n\n| 窗口 | 含义 |\n| --- | --- |\n| 滚动 5 小时 | 首次使用后 5 小时重置 |\n| 每周 | 每周一 00:00 UTC 重置 |\n| 每月 | 随订阅周期重置 |\n\n每行显示进度条（**已用**多少）、**剩余**百分比，以及还有多久重置。剩余低于 25% 变黄，低于 10% 变红，一眼就能看出哪一档快用完了。\n\n面板每分钟刷新一次，窗口重新获得焦点时也会刷新。\n\n### 只在适用时显示\n\n面板会向 PI-Desktop 查询当前使用的供应商。若**不是** OpenCode Go / Zen 供应商，就**不显示任何数字、也不发请求**，只提示当前用的是什么。若在那里显示 `0%`，会被读成「额度全满」，与事实正好相反。\n\n### 配置\n\n1. 从命令面板执行 **OpenCode Quota: Open**。\n2. 在本插件设置里填入 **OpenCode Go API Key** —— 可在 [opencode.ai/console](https://opencode.ai/console) 的「账户 → 个人 API 密钥」创建。\n3. 完成。下次轮询就会显示数据。\n\n### 语言\n\n内置英文与简体中文，**默认跟随系统语言**；也可以在插件设置里手动指定。繁体中文（`zh-TW` / `zh-HK` / `zh-Hant`）回落英文，而不是硬塞简体。\n\n### 隐私\n\n- **只读。** 插件唯一会发的请求是 `GET https://opencode.ai/zen/go/v1/usage`，且只在当前供应商是 OpenCode Go 时才发。\n- **只访问一个域名。** manifest 声明了 `net.domains: [\"opencode.ai\"]`，其他主机一律不可达。\n- **不扫描文件。** 不读取对话、记录、项目文件，也不读取 PI-Desktop 自身的供应商密钥（宿主不允许插件读取凭据，所以 Key 需要你手填）。\n- **Key 只留在本机。** 保存在本插件自己的 `settings.json`（位于 PI-Desktop 数据目录），除上述接口外不发给任何地方。\n- **不做缓存。** 额度不落盘，每次打开面板都是实时数据。\n\n### 权限\n\n| 权限 | 用途 |\n| --- | --- |\n| `ui.panel` | 绘制额度面板 |\n| `models.list` | 读取当前供应商，避免在错误的供应商下显示额度 |\n| `net.fetch` | 调用 `opencode.ai` 上唯一的额度接口 |\n\n### 更新记录\n\n- **0.3.0** —— 改为紧凑单行布局；更新时间移到标题栏、刷新按钮之前；移除供应商副标题与接口地址页脚。\n- **0.2.0** —— 支持英文与简体中文，跟随系统语言。\n- **0.1.0** —— 首个版本。\n",
      "safetyNotes": "Read-only. It calls exactly one endpoint (GET opencode.ai/zen/go/v1/usage) with an OpenCode Go API key that you paste into this plugin's settings, and only while the active provider is an OpenCode Go one — with any other provider the panel shows no numbers and makes no request. It never reads chats, transcripts, project files, or PI-Desktop's own provider secrets; the key stays in this plugin's local settings file on your machine and is sent nowhere else.",
      "versions": [
        {
          "version": "0.3.1",
          "publishedAt": "2026-10-22T04:57:52Z",
          "changelog": "上架信息改为中文。\n\n- 插件描述、安全说明、更新记录全部换成中文\n- 市场详情页（README）改为中文优先，英文内容保留在下方\n- 插件设置项标题以中文打头\n\n面板本身行为不变：中英双语、默认跟随系统语言。",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "515a5c23f022dd114d5d1cda6c41fb561bc31b08295cf949be1a24099c4714cd",
          "url": "packages/io.github.caopengfei.opencode-quota-0.3.1.piplug",
          "sizeBytes": 31283,
          "permissions": [
            "models.list",
            "net.fetch",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/caopengfei/pi-desktop-opencode-quota",
            "sourceRef": "v0.3.1",
            "sourceCommit": "a995a8ae0b633c69c02302bd1fc4f2543b545985",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T04:57:17Z"
          }
        },
        {
          "version": "0.3.0",
          "publishedAt": "2026-10-22T04:45:22Z",
          "changelog": "First public release.\n\n**What it does** — a compact panel showing how much of an OpenCode Go subscription is left: rolling 5-hour, weekly and monthly allowance, with the remaining share, a progress bar and the reset countdown for each window. Rows turn amber at 25% left and red at 10%.\n\n**Only when it applies** — the panel reads the active provider and, for anything that is not an OpenCode Go / Zen provider, shows no numbers and makes no request at all.\n\n**Read-only** — the only request is `GET https://opencode.ai/zen/go/v1/usage`, and the manifest limits egress to `opencode.ai`. Nothing is read from chats, transcripts or project files, and quota is never cached to disk.\n\n**Bilingual** — English and Simplified Chinese, following the system locale, with a manual override in the plugin settings.",
          "minPiDesktop": "\u003e=0.20.0",
          "shasum": "dfaa41eb7e87dd82f721778d7f36ae64a1656d883b91421e77da503cccef0af4",
          "url": "packages/io.github.caopengfei.opencode-quota-0.3.0.piplug",
          "sizeBytes": 32325,
          "permissions": [
            "models.list",
            "net.fetch",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/caopengfei/pi-desktop-opencode-quota",
            "sourceRef": "v0.3.0",
            "sourceCommit": "e66401fcdf7ab8a0de28af69110295b47b8f4684",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-22T04:44:41Z"
          }
        }
      ]
    },
    {
      "id": "local.next-reply",
      "name": "下一句推荐",
      "description": "回答结束后基于近期对话智能推荐用户的下一句回复，支持 Tab 填入可编辑草稿、Esc 忽略或通过命令手动生成，完全独立运行，无需文件打开组件。",
      "author": "RugkeyPro",
      "i18n": {
        "en": {
          "name": "Next Reply Suggestion",
          "description": "Suggests the user's likely next reply in the composer after each assistant turn. Press Tab to insert as an editable draft, Esc to dismiss, or trigger manually via command. Works standalone without any file-opening helper.",
          "safetyNotes": "Calls the current session model (or a user-configured modelKey) after a completed turn or manual command, sending at most the latest 12 messages and 12,000 characters of visible conversation text, which incurs one normal model completion call. Never reads credentials or local files, makes no external network requests, and never auto-sends messages. The renderer extension only syncs visible session messages inside the app window."
        },
        "zh-CN": {
          "name": "下一句推荐",
          "description": "回答结束后基于近期对话智能推荐用户的下一句回复，支持 Tab 填入可编辑草稿、Esc 忽略或通过命令手动生成，完全独立运行，无需文件打开组件。",
          "safetyNotes": "仅在回合完成或手动触发时调用当前会话模型（或插件设置中指定的模型），最多发送当前会话最近 12 条、12000 字符的已加载对话文本，会产生一次常规模型调用费用。不读取任何密钥或本地文件，不发起外部网络请求，生成的建议仅填入输入框草稿，绝不自动发送消息。渲染扩展仅用于在应用窗口内同步当前可见会话消息。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 331,
      "homepage": "https://github.com/RugkeyPro/agent-skills",
      "readmeMarkdown": "# 下一句推荐 / Next Reply Suggestion\n\n在每轮回答结束后，基于当前已加载会话的近期消息（最多 12 条、12,000 字符），调用当前会话模型（或插件设置中指定的 `modelKey`）预测用户下一步可能输入的回复，并显示在输入框中。\n\n- **Tab**：将推荐内容填入输入框作为可编辑草稿（不会自动发送）\n- **Esc**：忽略并清除当前推荐\n- **手动触发**：命令面板执行「生成下一句建议」\n- **完全独立**：仅包含下一句推荐逻辑，不依赖任何本地文件打开组件或平台原生二进制，跨平台通用。\n\n## English\n\nAfter each assistant turn, predicts a natural next user reply from recent visible conversation context (up to 12 messages and 12,000 characters) using the active session model or a configured `modelKey`.\n\n- **Tab**: Insert the suggestion into the composer as an editable draft (never auto-sent)\n- **Esc**: Dismiss the suggestion\n- **Manual command**: Run `生成下一句建议` from the command palette\n- **Standalone**: Pure reply suggestion plugin with no file-opening dependency or platform-specific binary.\n",
      "safetyNotes": "仅在回合完成或手动触发时调用当前会话模型（或插件设置中指定的模型），最多发送当前会话最近 12 条、12000 字符的已加载对话文本，会产生一次常规模型调用费用。不读取任何密钥或本地文件，不发起外部网络请求，生成的建议仅填入输入框草稿，绝不自动发送消息。渲染扩展仅用于在应用窗口内同步当前可见会话消息。",
      "versions": [
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-28T09:06:52Z",
          "changelog": "## 1.0.0\n\n- 独立拆分「下一句推荐」插件，无需任何本地文件打开助手或剪贴板权限。\n- 支持每轮回复完成后自动预测用户的下一句回复，按 Tab 插入草稿、Esc 忽略，或通过命令手动触发。\n- Standalone Next Reply Suggestion plugin without any file-opening helper dependency.",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "cfc15bb16714f54ef342331866b2df1ae54caea4e1fa56856c2afe64d8c4d1de",
          "url": "packages/local.next-reply-1.0.0.piplug",
          "sizeBytes": 11435,
          "permissions": [
            "agent.complete",
            "composer.suggest",
            "models.list",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/RugkeyPro/agent-skills",
            "sourceRef": "dc30625688e4281535248d1c08b7e73a2c24bb8a",
            "sourceCommit": "dc30625688e4281535248d1c08b7e73a2c24bb8a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T05:14:26Z"
          },
          "review": {
            "decision": "approved",
            "risk": "medium",
            "policyVersion": "2026.10.2",
            "reviewedAt": "2026-10-28T09:06:06Z"
          }
        }
      ]
    },
    {
      "id": "net.stronghe.session-title-ubuntu",
      "name": "Ubuntu Session Titles",
      "description": "Ubuntu-focused PI-Desktop session titles with Simplified Chinese defaults, configurable prompts and models, and protection for manual renames. An independent StrongHE fork of Lan’s Session Titles.",
      "author": "StrongHE; upstream by Lan",
      "i18n": {
        "zh-CN": {
          "name": "Ubuntu 会话标题",
          "description": "面向 Ubuntu 上的 PI-Desktop，默认生成便于检索的简体中文会话标题，支持自定义提示词、模型和思考级别，保留手动改名。StrongHE 基于 Lan 原版维护的独立分支。"
        }
      },
      "categories": [
        "productivity"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "stronghe",
      "downloads": 26,
      "homepage": "https://github.com/strongxp/pi-session-title-ubuntu",
      "readmeMarkdown": "# Ubuntu 会话标题 / Ubuntu Session Titles\r\n\r\n面向 Ubuntu 上的 PI-Desktop，首轮有效对话完成后，把默认截取的会话标题改为简洁、便于检索的简体中文标题。支持自定义提示词、模型及思考级别。\r\n\r\n这是 StrongHE 维护的独立分支，基于 Lan 的 [PI-Desktop Session Titles](https://github.com/vastsa/pi-session-title-plugin)，上游提交为 `b4275d4a00e304cb6bc5a8bb1596549fa9546062`（`v0.1.0`）。原插件 ID 为 `net.aiuo.session-title`；本分支 ID 为 `net.stronghe.session-title-ubuntu`。\r\n\r\n## 本分支的变化\r\n\r\n- 默认使用简体中文标题提示词，优先表达“具体对象＋核心动作或目标”，建议 12～24 个汉字，保留必要的英文技术名。\r\n- 使用独立插件 ID、配置命令和界面名称，明确区分上游与本分支。\r\n- 提供面向 Ubuntu 的安装、配置和验收说明，保留上游作者及 LGPL 许可证。\r\n\r\n标题由所选模型生成，语言、长度及质量受模型输出影响；12～24 个汉字是提示词要求，不是截断规则。\r\n\r\n## 适用范围\r\n\r\n- 要求 PI-Desktop **0.18.0 或更新版本**，并支持 `session.autoTitle` API。\r\n- 作用于普通本地 Desktop 会话。已手动改名或已生成标题的会话由宿主保护；远程会话与原生 Pi 会话不在本插件承诺的范围内。\r\n- 本分支面向 Ubuntu 使用。它使用宿主提供的 API，不包含 Ubuntu 专有二进制或强制操作系统拦截；本次发布工作不包括 macOS 安装与适配验收。\r\n- 本分支已通过 Node 自动化测试和 PI 官方打包校验；当前构建主机为 macOS，尚未在 Ubuntu 上对本分支执行新的真实模型端到端复测。上游教程的历史验证不能代替本分支的运行验证。\r\n\r\n## 在 Ubuntu 安装\r\n\r\n1. 在 PI 的「设置 → 插件 → 插件市场」搜索 **Ubuntu 会话标题**或 `net.stronghe.session-title-ubuntu`。市场可用性以本分支完成上架审核为准。\r\n2. 如果已启用原版「会话标题」（`net.aiuo.session-title`），先停用原版，再启用本分支，避免两个插件对同一会话发起重复模型请求。独立配置不会自动继承原版设置。\r\n3. 安装并授予 `ui.panel`、`models.list`、`agent.complete`、`session.autoTitle` 权限。\r\n4. 打开命令面板，运行 **Ubuntu 会话标题：配置** / **Ubuntu Session Titles: Configure**。\r\n5. 模型留空时优先跟随会话模型，再回退到默认可用模型；默认思考级别为 `off`。可以直接使用内置中文提示词。\r\n\r\n离线安装时，在「设置 → 插件 → 从文件安装插件」选择 `net.stronghe.session-title-ubuntu-0.1.0.piplug`。开发加载可以选择此源码目录。\r\n\r\n## 验收方法\r\n\r\n1. 新建普通本地会话，输入具体需求，例如“定位 Ubuntu 上 PI 启动后会话列表为空的原因”。\r\n2. 等助手回合完整结束以及标题模型请求完成，观察标题是否变为简洁中文标题。\r\n3. 手动重命名测试会话，再继续一轮，确认手动标题保留。\r\n4. 如果标题没有变化，检查插件启用状态、权限、可用模型及会话是否仍满足宿主的自动标题条件。\r\n\r\n这些步骤是用户可执行的验收流程，不表示本分支已在 Ubuntu 上完成上述测试。\r\n\r\n## 数据与模型调用\r\n\r\n插件仅通过宿主取得首条需求、首条回复的有限摘录，并通过 PI 的补全 API 发给所选模型。每次符合条件的生成会消耗一次模型补全，可能计入已有模型额度或费用。失败后可在后续符合条件的回合重试。插件不直接读取完整对话、服务商凭据、任意文件或外部网络。\r\n\r\n自定义模板必须保留 `{{userPrompt}}`；可用 `{{assistantReply}}` 引入首条回复作为参考。会话文本在系统提示中被指定为不可信数据。\r\n\r\n## 测试与打包\r\n\r\n本仓库没有运行时依赖。\r\n\r\n```bash\r\nnpm test\r\n```\r\n\r\n使用 PI 官方 `PluginCheck` 验证源码目录，再使用 `PluginPack` 生成可安装的 `.piplug`。不要用普通压缩工具替代官方打包器。\r\n\r\n## 来源与许可证\r\n\r\n- 上游作者：Lan；上游仓库：\u003chttps://github.com/vastsa/pi-session-title-plugin\u003e。\r\n- 本分支维护：StrongHE。\r\n- 变更：中文默认提示词、独立身份与配置命令、Ubuntu 使用和发布说明；标题引擎与宿主 API 调用流程沿用上游。\r\n- 许可证：**LGPL-3.0-or-later**，见 [LICENSE](LICENSE)。分发时保留许可证、作者及源码来源；本分支源码应与发布 tag 一并公开提供。\r\n",
      "safetyNotes": "符合条件的回合完成后，通过 PI-Desktop 补全 API 将首条需求和首条回复的有限摘录发送给所选模型，每次生成可能消耗一次模型调用。需要 agent.complete 和 session.autoTitle 权限，保留手动改名。启用前请停用原版「会话标题」，避免重复请求。",
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-14T08:15:22Z",
          "changelog": "# Ubuntu 会话标题 v0.1.0\n\nStrongHE 维护的独立 Ubuntu 分支，基于 Lan 的 Session Titles（上游提交 b4275d4a00e304cb6bc5a8bb1596549fa9546062），保留 LGPL-3.0-or-later 与原作者署名。\n\n- 插件 ID：net.stronghe.session-title-ubuntu。\n- 默认采用简体中文标题模板，优先表达具体对象与核心目标，建议 12～24 个汉字。\n- 支持自定义提示词、模型和思考级别；保留手动改名保护。\n- 配置命令：Ubuntu 会话标题：配置 / Ubuntu Session Titles: Configure。\n- 最低 PI-Desktop 版本：0.18.0，需支持 session.autoTitle。\n\n启用前请停用原版 net.aiuo.session-title，避免重复模型请求。独立分支不会自动继承原版配置。\n\n验证：11 项自动化测试、官方 PluginCheck 与 PluginPack 通过；公开源码 11 个文件已与本地逐字节比对一致。本轮构建主机为 macOS，尚未在 Ubuntu 上对本分支执行新的真实模型端到端复测。",
          "minPiDesktop": "\u003e=0.18.0",
          "shasum": "1a58fef548f6a2e6d9c764638ae4faba7dbc11b066d230e45a14f8dbb6cde812",
          "url": "packages/net.stronghe.session-title-ubuntu-0.1.0.piplug",
          "sizeBytes": 48267,
          "permissions": [
            "agent.complete",
            "models.list",
            "session.autoTitle",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/strongxp/pi-session-title-ubuntu",
            "sourceRef": "ubuntu-v0.1.0",
            "sourceCommit": "a1dfef76528383ce4209f03da73f7933b8a20a64",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-14T08:13:11Z"
          }
        }
      ]
    },
    {
      "id": "io.github.linuxdazhao.side-questions",
      "name": "Side Questions",
      "description": "Fork from a completed assistant reply and ask follow-up questions in a separate work-panel conversation. Continue, stop, and reopen branches from the panel.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "支线提问",
          "description": "从已完成的助手回复分叉，在右侧工作面板单独追问、续聊、停止和查看历史。"
        }
      },
      "categories": [],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 82,
      "versions": [
        {
          "version": "0.3.0",
          "publishedAt": "2026-11-20T07:22:53Z",
          "changelog": "On PI-Desktop builds that support transcript selection actions, select text and choose Side Questions from the context menu to open a draft with a removable excerpt. The paste flow remains available on earlier supported builds.\n\n支持选区菜单的新客户端可在选中文字后右键点击「支线提问」，直接打开带可移除引用的草稿。旧版客户端仍可在工作面板中粘贴引用。",
          "minPiDesktop": "\u003e=0.23.0-beta.2",
          "shasum": "901d12a2f071486462783e83d3c04d14c694f811ec16ac0dcb456b5b659e0538",
          "url": "packages/io.github.linuxdazhao.side-questions-0.3.0.piplug",
          "sizeBytes": 48559,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Linuxdazhao/pi-side-questions",
            "sourceRef": "v0.3.0",
            "sourceCommit": "82016f1a31d44bf1dd3877a38ed5135818eecbe8",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-20T07:20:29Z"
          }
        },
        {
          "version": "0.2.0",
          "publishedAt": "2026-11-18T13:56:48Z",
          "changelog": "Paste an excerpt into a fresh side question. The preview is short and removable. The first message sends the full excerpt and your question without the main conversation history.\n\n在右侧粘贴片段即可开新支线。引用以短卡片显示，发送前可整块移除。首条消息只带完整引用和新问题。",
          "minPiDesktop": "\u003e=0.23.0-beta.2",
          "shasum": "d2235650b12cfa49ebd683c421f768e1e80d5965c0b8e985e52e9bbe82f219ca",
          "url": "packages/io.github.linuxdazhao.side-questions-0.2.0.piplug",
          "sizeBytes": 47117,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Linuxdazhao/pi-side-questions",
            "sourceRef": "v0.2.0",
            "sourceCommit": "ce17babab0d1073e63fb5adc7c92c7547b18e9bc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-18T13:54:16Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-18T13:05:01Z",
          "changelog": "First release. Open Side Questions from the work panel of a local Agent conversation. Choose a completed reply, send a follow-up, and reopen the branch from History. Package installation and the anchored conversation flow were verified on stock PI-Desktop v0.23.0-beta.2.",
          "minPiDesktop": "\u003e=0.23.0-beta.2",
          "shasum": "c422cd3d815a09d159d2b69554dad0c567ba5bdc01661ad55a03bdd07e13e659",
          "url": "packages/io.github.linuxdazhao.side-questions-0.1.0.piplug",
          "sizeBytes": 37497,
          "permissions": [
            "desktop.control",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Linuxdazhao/pi-side-questions",
            "sourceRef": "v0.1.0",
            "sourceCommit": "963c29560e839f9c353a4ce19c2db4ac85a128ec",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-18T13:02:42Z"
          }
        }
      ]
    },
    {
      "id": "io.github.yoruamekaze.paste-image",
      "name": "paste image to agent",
      "description": "Paste an image into the composer and it becomes an attachment, instead of turning into a WeChat/QQ temp-file path.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "粘贴图片，不是链接",
          "description": "在输入框粘贴图片时，直接把图片本身作为附件送进对话，而不是插入微信 / QQ 的临时文件路径。"
        }
      },
      "categories": [],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 6,
      "versions": [
        {
          "version": "0.1.0",
          "publishedAt": "2026-11-27T09:53:46Z",
          "changelog": "第一次发布",
          "minPiDesktop": "\u003e=0.8.0",
          "shasum": "f9c30b0165a64a1f198e23f3b30c9fd92127a1dcce32512fcc09f3dd1b72c14f",
          "url": "packages/io.github.yoruamekaze.paste-image-0.1.0.piplug",
          "sizeBytes": 15420,
          "permissions": [
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/YoruAmeKaze/pi-plugin-paste-image",
            "sourceRef": "v0.1.0",
            "sourceCommit": "34f0be0ffe15fcfd725bcb8994bead735c71aa83",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-27T09:51:17Z"
          }
        }
      ]
    },
    {
      "id": "community.cloudflare-workers-ai",
      "name": "Cloudflare Workers AI",
      "description": "Connect PI-Desktop to Cloudflare Workers AI through a local OpenAI-compatible Chat Completions bridge. Includes dynamic model discovery, streaming, and tool-call forwarding.",
      "author": "",
      "i18n": {
        "zh-CN": {
          "name": "Cloudflare Workers AI 接入",
          "description": "通过本机 OpenAI 兼容桥接，在 PI-Desktop 中使用 Cloudflare Workers AI；支持动态模型目录、流式输出和工具调用转发。"
        }
      },
      "categories": [
        "ai-models"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "community",
      "downloads": 46,
      "versions": [
        {
          "version": "0.1.2",
          "publishedAt": "2026-11-06T08:07:52Z",
          "changelog": "首次公开版本：提供本机 OpenAI 兼容桥接；支持动态文本模型目录、Free 计划 Paid-only 模型过滤、模型目录 UUID 映射、流式响应和工具调用转发。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "2b03c05c592e3729de9d68e04cc0ab24e347c6ffff3bc8dec7678a5666ba688b",
          "url": "packages/community.cloudflare-workers-ai-0.1.2.piplug",
          "sizeBytes": 45139,
          "permissions": [
            "background.service",
            "clipboard.write",
            "net.fetch",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/wxaef/cloudflare-workers-ai-pi-desktop",
            "sourceRef": "v0.1.2",
            "sourceCommit": "578226eb96d6d2ac1e032a73d3064268e09ce9fc",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-06T08:06:10Z"
          }
        }
      ]
    },
    {
      "id": "local.pi-markdown",
      "name": "Pi Markdown 笔记",
      "description": "本地 Markdown 笔记：真·所见即所得编辑（输入 # / - [ ] / \u003e / ``` / $…$ 即出样式，Typora 风格，Milkdown Crepe）、米白/黑夜双主题切换、5 级目录与 H1-H5 大纲、297 种语言代码高亮、Mermaid 图表实时渲染、Todo 任务列表、KaTeX 公式、全局搜索（标题/内容）、导出 Markdown/HTML/图像；文件夹与笔记拖拽排序、右键操作菜单；Agent 工具 preview_file——按绝对路径以只读预览打开单个 Markdown/文本文件（无需选定目录），用户点「编辑」后可直接修改并自动写回（单文件模式，不显示文档列表）；界面语言与面板标题跟随宿主（中文/English）；数据保存在插件数据目录。",
      "author": "Tioit-Wang",
      "i18n": {
        "en": {
          "name": "Pi Markdown Notes",
          "description": "Local Markdown notes with WYSIWYG editing, light and dark themes, a five-level folder tree and outline, syntax highlighting, Mermaid diagrams, task lists, KaTeX, global search, and Markdown/HTML/image export. Includes an agent tool to preview a single Markdown or text file and edit it on request. The interface follows the host language; data stays in the plugin data directory.",
          "safetyNotes": "Note data is stored only in the local plugin data directory (settings.json; images are embedded in note content as data URLs). It does not read or write workspace files; syntax-highlighting, math, and editor libraries (Milkdown/Prism/KaTeX) are bundled and work offline. No network requests. Important: the preview_file agent tool reads the requested file directly from disk with Node.js fs to render a preview; edits also write back through fs. It bypasses the host permission gateway, so it can open absolute paths without directory authorization and has no boundary validation, credential-path denylist, or audit log. The tool itself validates absolute paths, regular files, the .md/.markdown/.txt extension allowlist, a 5 MB limit, rejects binary content (NUL bytes), and preserves the original BOM."
        },
        "zh-CN": {
          "name": "Pi Markdown 笔记",
          "description": "本地 Markdown 笔记：真·所见即所得编辑（输入 # / - [ ] / \u003e / ``` / $…$ 即出样式，Typora 风格，Milkdown Crepe）、米白/黑夜双主题切换、5 级目录与 H1-H5 大纲、297 种语言代码高亮、Mermaid 图表实时渲染、Todo 任务列表、KaTeX 公式、全局搜索（标题/内容）、导出 Markdown/HTML/图像；文件夹与笔记拖拽排序、右键操作菜单；Agent 工具 preview_file——按绝对路径以只读预览打开单个 Markdown/文本文件（无需选定目录），用户点「编辑」后可直接修改并自动写回（单文件模式，不显示文档列表）；界面语言与面板标题跟随宿主（中文/English）；数据保存在插件数据目录。",
          "safetyNotes": "笔记数据仅保存在本机插件数据目录（settings.json；图片以 data URL 内嵌在笔记正文），不读写工作区文件；代码高亮、公式和编辑器库（Milkdown/Prism/KaTeX）随插件打包，可离线运行；不发起网络请求。注意：Agent 工具 preview_file 使用 Node.js fs 直接读取指定文件来生成预览；用户编辑后也通过 fs 写回。它绕过宿主权限网关，无需目录授权即可读取绝对路径，且没有越界校验、凭据路径拒绝清单或审计日志。工具自身会校验绝对路径、普通文件、.md/.markdown/.txt 扩展名白名单和 5 MB 上限，拒绝含 NUL 字节的二进制文件，并保留原文件 BOM。"
        }
      },
      "categories": [
        "productivity",
        "writing"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 1418,
      "repository": "https://github.com/Tioit-Wang/pi-desktop-plugin-pi-markdown",
      "safetyNotes": "笔记数据仅保存在本机插件数据目录 settings.json（图片以 data URL 内嵌于笔记正文），不读写工作区文件；渲染端代码高亮/公式/编辑器库（Milkdown/Prism/KaTeX）全部随插件打包，离线可用；无网络请求。注意：Agent 工具 preview_file 会直接读取磁盘——为把指定文件渲染成预览，用 Node.js 的 fs 按绝对路径读取（用户点「编辑」后写回同样走 fs）。它不经过宿主权限网关，因此无需目录授权即可打开任意绝对路径，代价是没有越界校验、凭据路径拒绝与审计日志；工具内置校验：绝对路径、常规文件、扩展名白名单 .md/.markdown/.txt、≤5MB、拒绝二进制（含 NUL 字节），并保留原文件 BOM。",
      "versions": [
        {
          "version": "0.6.0",
          "publishedAt": "2026-11-11T10:04:02Z",
          "changelog": "进行了高质量升级。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "07e5cd6398d6cad2a7dfa11777105ddcdb9b7ab11925009a80528e2078e28996",
          "url": "packages/local.pi-markdown-0.6.0.piplug",
          "sizeBytes": 7185487,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/Tioit-Wang/pi-desktop-plugin-pi-markdown",
            "sourceRef": "v0.6.0",
            "sourceCommit": "ca09c644584c087d1889f090fe9864127daa02c5",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-11T10:01:55Z"
          }
        },
        {
          "version": "0.5.0",
          "publishedAt": "2026-09-13T15:26:01Z",
          "changelog": "Release 0.5.0：Agent 工具改为「预览模式打开文件」——以 preview_file 取代 open_file：按绝对路径以只读预览打开单个 Markdown/文本文件（本地 Node fs 读写，无需选定目录、任意路径可用），面板不显示侧边栏，只有「预览 / 编辑」两态，用户点「编辑」后才能修改并自动写回原文件；因此移除 fs.read / fs.write 权限与 manifest.fs 声明。面板配色改为 Typora Inkwell 主题（浅色柔和灰调 / 黑夜深蓝低饱和），编辑区宽度随窗口放宽（860 → 1024 → 1200）。修复代码块与公式的「双层边框」（改为单层圆角容器 + 语言标题栏）、代码块在浅色主题下被 oneDark 强撑深色配色、Mermaid 图表不随主题切换、任务列表勾选框对比度过低、状态栏按钮溢出 4px；公式与 Mermaid 默认显示渲染结果（点「编辑」看源码）、块级公式居中、去掉多余的「预览」标签；代码块标题栏与语言下拉收紧（49px → 31px，统一 22px 控件与滚动条样式）；清理 panel-polish.css 中一批从未生效的选择器（.sidebar-container / .editor-pane / .tab-button 等）。Release 0.4.8：合并市场 0.4.7 基线——迁移 v3 穿透式顶部 chrome、panel-polish、窗口控制胶囊实时重着色与 pimd.theme.v1 主题镜像预绘；manifest 增补 i18n 双语块；保留本仓库独有 open_file（宿主 pi.fs 权限网关 + 单文件模式）与面板中英 i18n。Release 0.4.7：宿主顶部拖拽带按页面元素切分，控件可点击、空白处可拖拽；面板改为 v3 全出血布局。Release 0.4.6：修复 v2 面板顶部安全区重复留白；侧栏搜索与笔记标题行从宿主 46px 拖拽带下沿直接开始，保留宿主拖拽区并消除额外 8px 顶部内边距；同时让根布局填满视口，避免底部出现对应空白。Release 0.4.5：压缩面板内部的大间隙。根因是 Crepe 自带主题在 bundle 中排在应用自定义样式之后，其 .ProseMirror { padding: 60px 120px } 在级联中胜出——正文第一行之前实际垫了约 190px（46px 拖拽带 + 53px 标题行 + 60px Crepe 内边距 + 28px 首个标题外边距）。现由最后加载的 panel-polish.css 重新声明紧凑内边距（上 12px、随宽自适应、底部 40vh 滚动余量），并去掉首块元素的外边距；同时收紧各行高：侧栏搜索行 49px→43px、tabs 行 34px→30px、笔记标题行 53px→45px；侧栏的 46px 拖拽带区域改绘为侧栏头部同色，与搜索行连成一体，不再呈现为空洞。Release 0.4.4：面板改为 v2 全出血布局，并修复亮色模式下窗口控制胶囊不可见的问题。(1) 声明 pi-plugin-chrome=v2，宿主不再向 body 注入 46px 顶部内边距——内容直接顶到窗口上沿，滚动时从透明的宿主拖拽带下方穿过（胶囊即悬浮在内容之上）；搜索框、tabs、笔记标题行等交互行固定在带下沿（top: var(--pi-plugin-titlebar-height, 46px)）之外，因该区域仅为拖拽区、不接收点击。(2) 宿主只在自家外观广播时给胶囊重新取色，面板内米白/黑夜切换后墨色停留在旧主题上，亮色页面配浅色墨几乎不可见；现由渲染端监听 data-theme 变化，实时把当前调色板覆写到宿主胶囊元素的两个取色变量上，任何来源的主题切换胶囊都立即重上色。(3) body 直接着色 rgb(var(--c-bg))/rgb(var(--c-ink))，宿主一次性取色与实际页面永远一致。Release 0.4.3：修复宿主切换外观后重开面板时窗口控制胶囊仍按旧配色绘制而不可见的问题——宿主驱动的主题变更此前只改写 data-theme，React 不感知、pimd.theme.v1 镜像不更新，下次打开即按过期主题首绘，宿主在 DOMContentLoaded 对页面颜色的一次性快照（胶囊取色）拿到错误墨色；现由外观运行时在每次实际应用的主题变化时把真实主题写回镜像，首帧与镜像永远一致。同时压紧 46px 宿主拖拽带之下的首行 UI：侧栏头部内边距与搜索框高度收紧、背景改用页面底色，编辑器顶栏最小高度 44px 收窄为 36px，消除「空拖拽带 + 高工具行」叠成双层头部的观感。Release 0.4.2：修复深色主题下窗口控制胶囊近乎不可见的问题——宿主在 DOMContentLoaded 时对页面颜色做快照为胶囊上色，而此刻 data-theme 可能仍是旧值/回放值；现于首帧前从本地镜像（pimd.theme.v1）同步恢复应用真实主题，主题变更时实时写回镜像，初始 state 也跟随已应用的 data-theme 避免闪屏；移除对宿主不存在通道 appearance.sync 的无效调用。Release 0.4.1：适配 PI-Desktop 跨平台 46px 主机拖拽带和简约三按钮窗口控制胶囊；Agent 工具 open_file 落地（需 agent.tool.register 高风险权限）——Agent 传入完整绝对路径，即可在面板单文件模式中打开该文件编辑（隐藏笔记列表，仅显示当前文件，无法切换其他文件），编辑经 800ms 防抖自动保存写回原文件（保留原 BOM），仅支持 .md/.markdown/.txt、≤5MB、utf8 文本（拒绝二进制），面板 1s 轮询拉取待打开文件、心跳 60s 过期后可被新调用接管、Plan 模式不可用；随后文件内容读写由插件进程内 Node fs 迁移至宿主 pi.fs 权限网关（manifest.fs 声明 userSelected 根，首次调用弹出原生目录选择器，仅能打开/写回用户选定目录内的文件；网关负责越界/符号链接/凭据路径校验与审计）；manifest.ui.title 改为宿主双语 { en, \"zh-CN\" }；命令标题/面板标题/工具提示按宿主语言（pi.app.getLocale）切换；面板默认跟随宿主主题（读宿主注入的 data-theme），面板内切换保留为手动覆盖（themeSource 持久化）。Release 0.4.0：面板跟随 app 主体的语言与颜色模式——宿主切换亮/暗或语言时，编辑器与界面配色实时更新（CSS 由 :root[data-theme=...] 驱动，配合宿主 app.getAppearance 通道与 appearance:changed 事件）；未手动覆盖主题时 settings.theme 自动同步为宿主 base，面板内的米白/黑夜切换仍可手动覆盖（此后不再被宿主覆盖）；旧版宿主自动降级为面板自带的主题跟随。Release 0.3.2：代码块支持 Mermaid 图表实时渲染（输入 ```mermaid 即出图表，源码始终可编辑、300ms 防抖随明暗主题切换；HTML/PNG 导出渲染为内嵌 SVG）。Release 0.3.1：修复 LaTeX 公式依赖 CodeMirror 导致编辑器无法初始化的问题；修复 HTML/PNG 导出中块级公式与代码高亮缺失的问题（改为 Markdown 源码经编辑器 parser/serializer 渲染）；新增米白（默认）/黑夜双主题与状态栏切换开关，主题偏好随 settings.json 持久化；代码块预览即所得（LaTeX 直接显示 KaTeX 公式、普通代码块显示高亮）。Release 0.3.0：编辑器由 Toast UI WYSIWYG（富文本+补丁）更换为 Milkdown Crepe——真正的所见即所得 Markdown 编辑，输入语法即出样式（含中文输入法）、斜杠菜单/块拖拽手柄、图片 data URL 内嵌、297 种语言 Prism 高亮。Release 0.2.0：完整 Markdown 笔记应用（React + TypeScript + Tailwind 重写面板）。Release 0.1.0：模板初始版本。",
          "minPiDesktop": "\u003e=0.1.0",
          "shasum": "d276b310c4db0461ab93d3dbdc2df5d563d3e7489a31912ee6cac9d1184e316a",
          "url": "packages/local.pi-markdown-0.5.0.piplug",
          "sizeBytes": 19087107,
          "permissions": [
            "agent.prompt.inject",
            "agent.tool.register",
            "ui.panel"
          ],
          "fs": {},
          "yanked": false
        }
      ]
    },
    {
      "id": "io.github.catdford.color-picker",
      "name": "Color Picker",
      "description": "Browse Tailwind and Material palettes, pick colors out of any image with a pixel loupe, build schemes with harmony rules or AI, check WCAG contrast and color blindness, and export CSS variables, Tailwind or JSON — or install the palette as a PI-Desktop theme.",
      "author": "Gargantua",
      "i18n": {
        "en": {
          "name": "Color Picker",
          "description": "Browse Tailwind and Material palettes, pick colors out of any image with a pixel loupe, build schemes with harmony rules or AI, check WCAG contrast and color blindness, and export CSS variables, Tailwind or JSON — or install the palette as a PI-Desktop theme."
        },
        "zh-CN": {
          "name": "颜色工具箱",
          "description": "浏览 Tailwind 与 Material 配色，从图片中用像素放大镜取色，按配色规则或借助 AI 生成方案，检查 WCAG 对比度与色觉差异，并导出 CSS 变量、Tailwind 或 JSON，也可将调色板安装为 PI-Desktop 主题。"
        }
      },
      "categories": [
        "media-creative"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "github",
      "downloads": 293,
      "versions": [
        {
          "version": "0.4.1",
          "publishedAt": "2026-09-17T11:50:40Z",
          "changelog": "首个版本。\n\n- 色板:浏览 Tailwind CSS v4(26 个色系,50–950)、Material Design(19 个色系)、15 套预设配色与 12 条渐变;点色块按当前记法复制,点数值行复制该记法(HEX / RGB / HSL / OKLCH)\n- 取色:从文件夹里的图片或剪贴板历史里的最新图片取色;放大镜显示真实像素(像素网格 + 十字准星 + 实时色值),方向键 1 像素微调(按住 Shift 一次 10 像素),点击取色\n- 配色:互补 / 类似 / 三角 / 分裂互补四种和谐规则、由当前色生成 50–950 色阶,或给一句风格描述让 AI 生成整套带名字的配色(使用你自己配置的模型)\n- 检查:对白、对黑的 WCAG 对比度与 AA / AAA 判定,外加红色盲 / 绿色盲 / 蓝色盲三种模拟\n- 导出:CSS 变量、Tailwind v4 @theme 块、Tailwind v3 配置、JSON,复制即用\n- 主题:把当前配色一键装成 PI-Desktop 主题,侧栏 / 编辑器 / 设置页一起换色,可随时切换或卸载(需要较新版本的 PI-Desktop)\n- Agent 集成:提供 suggest_palette 工具与配色 skill,在对话里说一句\"用 #3b82f6 配一套深色科技感的方案\"即可\n\n取色器里的「屏幕取色」与系统级快捷键会随后续版本加入。",
          "minPiDesktop": "\u003e=0.13.11",
          "shasum": "e49c793df40e6d68c299c4c81304133455b16733ad22dbb24532b81cbe0ab476",
          "url": "packages/io.github.catdford.color-picker-0.4.1.piplug",
          "sizeBytes": 734765,
          "permissions": [
            "agent.complete",
            "agent.prompt.inject",
            "agent.tool.register",
            "clipboard.read",
            "clipboard.write",
            "fs.read",
            "models.list",
            "ui.panel",
            "ui.theme",
            "ui.view"
          ],
          "fs": {
            "read": {
              "root": "userSelected"
            }
          },
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/catDforD/pi-desktop-color-picker",
            "sourceRef": "v0.4.1",
            "sourceCommit": "5285acc52d8e5420e0e9799fb1aa82115153f43b",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-17T11:50:29Z"
          }
        }
      ]
    },
    {
      "id": "local.mac-file-open",
      "name": "Mac 文件打开增强（macOS Apple Silicon）",
      "description": "macOS 专用本地文件链接右键菜单增强：支持在 Finder 中显示、使用默认应用打开、选择系统关联应用（打开方式）、应用内预览及复制完整或相对路径。仅支持 macOS，目前内置原生助手仅编译了 Apple Silicon (arm64) 版本。",
      "author": "RugkeyPro",
      "i18n": {
        "en": {
          "name": "Mac File Open Enhancer (macOS Apple Silicon)",
          "description": "macOS context-menu enhancer for local file links in chat: Reveal in Finder, Open with Default App, Open With any macOS-associated application, preview in PI-Desktop, and copy full or relative paths. macOS only; the bundled native helper is currently compiled for Apple Silicon (arm64) only.",
          "safetyNotes": "macOS only; the bundled native helper (native-open) is currently compiled for Apple Silicon (arm64) only. File actions run strictly on explicit user click and are confined to regular files inside the active local project or session scratch directory (blocking sensitive directories and executable or script extensions). Uses macOS NSWorkspace APIs via execFile without shell command interpolation, never alters system default app associations, and makes no network requests. The renderer extension runs in the host window to attach the context menu."
        },
        "zh-CN": {
          "name": "Mac 文件打开增强（macOS Apple Silicon）",
          "description": "macOS 专用本地文件链接右键菜单增强：支持在 Finder 中显示、使用默认应用打开、选择系统关联应用（打开方式）、应用内预览及复制完整或相对路径。仅支持 macOS，目前内置原生助手仅编译了 Apple Silicon (arm64) 版本。",
          "safetyNotes": "仅支持 macOS，且当前内置原生助手（native-open）仅编译了 Apple Silicon (arm64) 版本。所有文件操作均仅由用户右键点击触发，严格限制在当前本地项目目录或当前会话附件目录内的普通文件（拒绝敏感目录与可执行脚本后缀）。通过 macOS NSWorkspace 原生接口枚举关联应用并打开文件，不拼接或执行 shell 命令字符串，不修改系统默认应用，不联网。渲染扩展在应用窗口内运行以挂载右键菜单。"
        }
      },
      "categories": [
        "desktop-system",
        "developer-tools"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "local",
      "downloads": 132,
      "homepage": "https://github.com/RugkeyPro/agent-skills",
      "readmeMarkdown": "# Mac 文件打开增强 / Mac File Open Enhancer (macOS Apple Silicon)\n\n**系统与架构要求（重要）**：\n- **仅支持 macOS**。\n- **目前内置原生助手（`native-open`）仅编译了 Apple Silicon (`arm64`) 版本**。如果在 Intel Mac 上使用，可在插件目录下自行编译源码：`xcrun swiftc native.swift -o native-open`。\n\n## 功能说明\n\n在聊天消息中右键点击本地文件链接（`file://` 或 `/` 路径），弹出增强菜单：\n- **在 PI-Desktop 中预览**：保持宿主原有的应用内预览行为\n- **在 Finder 中显示**：调用 `NSWorkspace.shared.activateFileViewerSelecting` 定位并高亮文件\n- **使用默认应用打开**：使用系统默认关联应用打开文件\n- **打开方式…**：枚举系统关联的全部应用程序（标注默认项），指定应用直接打开，不修改系统默认关联\n- **复制完整地址 / 复制相对地址**：将规范化后的真实路径或项目相对路径写入剪贴板\n\n安全边界：仅允许当前项目目录或当前会话 `scratch` 附件目录内的普通文件，自动拒绝 `.git`、`.ssh`、`.env` 及可执行脚本后缀，不拼接执行任何 shell 命令字符串。\n\n## English\n\n**Platform \u0026 Architecture Requirement**:\n- **macOS only**.\n- **The bundled native helper (`native-open`) is currently compiled for Apple Silicon (`arm64`) only**. On Intel Macs, recompile from source with `xcrun swiftc native.swift -o native-open`.\n\nRight-click any local file link (`file://` or `/`) in chat messages to:\n- **Preview in PI-Desktop**\n- **Reveal in Finder**\n- **Open with Default App**\n- **Open With…** (lists all macOS-associated applications via `NSWorkspace` without changing system default associations)\n- **Copy Full Path / Copy Relative Path**\n",
      "safetyNotes": "仅支持 macOS，且当前内置原生助手（native-open）仅编译了 Apple Silicon (arm64) 版本。所有文件操作均仅由用户右键点击触发，严格限制在当前本地项目目录或当前会话附件目录内的普通文件（拒绝敏感目录与可执行脚本后缀）。通过 macOS NSWorkspace 原生接口枚举关联应用并打开文件，不拼接或执行 shell 命令字符串，不修改系统默认应用，不联网。渲染扩展在应用窗口内运行以挂载右键菜单。",
      "versions": [
        {
          "version": "1.0.0",
          "publishedAt": "2026-10-28T05:15:23Z",
          "changelog": "## 1.0.0\n\n- 独立拆分「Mac 文件打开增强」插件，支持在聊天消息文件链接右键菜单中调用系统默认应用、可用应用列表打开及在访达中显示。\n- **平台说明**：仅支持 macOS 系统，且当前内置原生助手（`native-open`）仅编译了 Apple Silicon (`arm64`) 版本（附带 `native.swift` 源码）。\n- Standalone macOS file link context-menu enhancer (macOS only; bundled `native-open` helper currently compiled for Apple Silicon `arm64`).",
          "minPiDesktop": "\u003e=0.21.0",
          "shasum": "3985dde3ae846d980228e95b1f650b5961f1f94948a0c82fe6f9c3f7bb7e5592",
          "url": "packages/local.mac-file-open-1.0.0.piplug",
          "sizeBytes": 108807,
          "permissions": [
            "clipboard.write",
            "renderer.extension"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/RugkeyPro/agent-skills",
            "sourceRef": "dc30625688e4281535248d1c08b7e73a2c24bb8a",
            "sourceCommit": "dc30625688e4281535248d1c08b7e73a2c24bb8a",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-10-28T05:14:36Z"
          }
        }
      ]
    },
    {
      "id": "com.vastsa.side-chat",
      "name": "Side Chat",
      "description": "A docked sidebar chat that talks with your signed-in models, can attach the current session as context, and can send a reply back into that session.",
      "author": "VastSa",
      "i18n": {
        "en": {
          "name": "Side Chat",
          "description": "A docked sidebar chat that talks with your signed-in models, can attach the current session as context, and can send a reply back into that session.",
          "safetyNotes": "Uses your already signed-in models through the host (agent.complete); the plugin never sees API keys. desktop.control lets it list sessions, read a transcript, and send a prompt into a session. Conversations are stored only in this plugin's local data directory. No network of its own."
        },
        "zh-CN": {
          "name": "侧边聊天",
          "description": "停靠在右侧工作面板的独立聊天：走你已登录的模型，可把当前会话当上下文，也能把回复发回该会话。",
          "safetyNotes": "通过宿主调用你已登录的模型（agent.complete），插件拿不到 API 密钥。desktop.control 用于列出会话、读取 transcript、向会话发送一条 prompt。对话只存在本插件本地数据目录，插件自身不联网。"
        }
      },
      "categories": [
        "desktop-system"
      ],
      "verified": false,
      "trust": "community",
      "publisherId": "vastsa",
      "downloads": 1040,
      "homepage": "https://github.com/vastsa/pi-desktop-side-chat",
      "readmeMarkdown": "# Side Chat\n\nPI-Desktop plugin: a chat docked in the right work panel.\n\n- Independent multi-turn history (stored in the plugin data directory)\n- Completions go through the host (`agent.complete`) using models you already signed in\n- Optional: attach the current session transcript as context\n- Optional: send the last reply back into that session (`agent/prompt`)\n\nRequires PI-Desktop ≥ 0.14.0.\n\n## Install\n\n1. Open PI-Desktop → Plugins → **Load development plugin**\n2. Choose this directory\n3. Open the right work panel and pick **Side Chat**\n\nCommand palette: `Side Chat: Open` (detached window).\n\n## Permissions\n\n| Permission | Why |\n|---|---|\n| `ui.view` / `ui.panel` | Docked view and optional window |\n| `models.list` | List signed-in models |\n| `agent.complete` | Side completion (host holds the keys) |\n| `desktop.control` | List/read sessions, send a prompt back |\n| `clipboard.write` | Copy a reply |\n\nNo plugin-owned network. Completions are capped by the host: 8 calls / 60s, 90s timeout.\n\n## Repo\n\nhttps://github.com/vastsa/pi-desktop-side-chat\n",
      "safetyNotes": "Uses your already signed-in models through the host (agent.complete); the plugin never sees API keys. desktop.control lets it list sessions, read a transcript, and send a prompt into a session. Conversations are stored only in this plugin's local data directory. No network of its own.",
      "versions": [
        {
          "version": "0.1.15",
          "publishedAt": "2026-11-09T10:39:18Z",
          "changelog": "Release 0.1.15: hide inactive automatically empty history buckets and distinguish same-name nonempty project histories without merging, deleting or changing their keys. Preserve attachments, permissions and main/side isolation.",
          "minPiDesktop": "\u003e=0.21.1-0",
          "shasum": "badea3e9cee2742884ce007e2a1ad107c52c83de2d6f3bfafaec99c6a6f76b64",
          "url": "packages/com.vastsa.side-chat-0.1.15.piplug",
          "sizeBytes": 1011236,
          "permissions": [
            "agent.complete",
            "agent.extension",
            "clipboard.write",
            "desktop.control",
            "models.list",
            "renderer.extension",
            "shell.openExternal",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-desktop-side-chat",
            "sourceRef": "cdceac39fda13710f980c8b793966709b1fe0e07",
            "sourceCommit": "cdceac39fda13710f980c8b793966709b1fe0e07",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-11-09T10:36:57Z"
          }
        },
        {
          "version": "0.1.0",
          "publishedAt": "2026-09-20T07:46:49Z",
          "changelog": "# Changelog\n\n## 0.1.0\n\n- First release: docked Side Chat with local history, host-owned completions, optional session context, and send-to-session.",
          "minPiDesktop": "\u003e=0.14.0",
          "shasum": "13aec802f622e5fe810314480270d9c558a5b38665ac12afea9245b07ecd734a",
          "url": "packages/com.vastsa.side-chat-0.1.0.piplug",
          "sizeBytes": 60285,
          "permissions": [
            "agent.complete",
            "clipboard.write",
            "desktop.control",
            "models.list",
            "ui.panel",
            "ui.view"
          ],
          "fs": {},
          "yanked": false,
          "provenance": {
            "sourceRepository": "https://github.com/vastsa/pi-desktop-side-chat",
            "sourceRef": "v0.1.0",
            "sourceCommit": "a815de103f3f28f6bbdbe4824753ad761d393284",
            "builder": "console-upload@1.0.0",
            "builtAt": "2026-09-20T07:46:35Z"
          }
        }
      ]
    }
  ]
}
