Files
unisong 96149cd045 pi-desktop 0.2.0: Pi-Desktop as a connect-only agent, through a plugin (#1206)
Pi-Desktop (the desktop app) as a connect-only agent, id pi-desktop-app:
magpie keeps a Pi-Desktop local-plugin folder whose manifest.json declares
the gateway as a provider with magpie's models and their thinking levels,
split into cards of at most 64 models. Pi-Desktop's database is never
written. Ships scripts/doctor.mjs, a read-only check of both sides.

By unisong (#1206).

Run at 4ded8795d (macOS via mica-run, temp HOME): bun test in
packages/pi-desktop 18 pass; bun scripts/check.mjs pi-desktop ok. The
author ran it against Pi-Desktop 0.22.0 on Windows 11.
Not tried here: a real Pi-Desktop. First npm publish waits for the owner;
dist serves it meanwhile.
2026-11-16 15:47:35 +08:00

27 lines
1.2 KiB
JSON

{
"name": "@magpie-community/agent-pi-desktop",
"version": "0.2.0",
"description": "Pi-Desktop as a connect-only Magpie agent: Magpie keeps a Pi-Desktop plugin folder that declares it as a model provider, with its current models and their thinking levels",
"type": "module",
"files": [
"pi-desktop.agent.js",
"scripts/doctor.mjs",
"README.md"
],
"keywords": ["magpie", "magpie-agent", "pi-desktop", "pi", "llm-gateway"],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/pi-desktop"
},
"scripts": {
"test": "bun test pi-desktop.test.mjs pi-plugin.test.mjs",
"doctor": "node scripts/doctor.mjs"
},
"magpie": {
"agent": "./pi-desktop.agent.js",
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiByeD0iMTQiIGZpbGw9IiMyYjNhNjciLz48cGF0aCBkPSJNMTQgMjBoMzZNMjUgMjB2MjZNMzkgMjB2MjBjMCA0IDIgNiA2IDYiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI2IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48Y2lyY2xlIGN4PSI1MCIgY3k9IjUwIiByPSI1IiBmaWxsPSIjZjVhNjIzIi8+PC9zdmc+"
}
}