GitHub's search for topic:magpie-plugin (not archived, not a fork, not magpie-community's own, which the market lists) is asked at most every six hours and kept on disk, so a restart or GitHub being down shows what it said last. Each repository is read from its package.json on the default branch. When npm has that package published from the same repository, it is installed from npm, because a repository often builds its dist only to publish and Bun runs no build for a git install. Otherwise it is installed as github:owner/repo, and only if the file it loads (exports, main or magpie.middleware) is in the repository. Its page warns that it is unofficial, says whether npm or the repository is what gets installed, and shows the repository's README until it is installed. MAGPIE_PLUGIN_MARKET=off asks GitHub nothing. Checked against real GitHub with the topic set to opencode-plugin in a sandbox: 43 repositories came back, and 32 were kept (30 from npm, 2 from git). github:ndom91/open-plan-annotator, one of the git ones, really installed and loaded. alfaoz/opencode-see-image, whose dist isn't in its repository, failed to load before the entry check and is now left out. The test fixtures are GitHub's and npm's real answers. Ran: go test -race -count=3 ./internal/plugin, go test ./internal/gui, go vet, and plugin-github.test.cjs (Chromium and WebKit, 980/440, en/zh/ja/de, 18/18). The full GUI suite passed 3343 of 3348. The 5 failures were WebKit number-units, purpose-filter and routing-failed-open, which pass 3/3 on their own and don't touch the Plugins page.
1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
{"dist":{"shasum":"9d9223c7553b0cec22ebe55a4d6f49708c28fff9","tarball":"https://registry.npmjs.org/opencode-see-image/-/opencode-see-image-1.4.0.tgz","fileCount":9,"integrity":"sha512-jome1OvQK37L/PcSSryUe7jXOMaPa/IbK1c2u2c02pILEoLEmJC6X+WbmbHEIsKdUtX5TbOtZPJYFwGyCC02+g==","signatures":[{"sig":"MEQCIAZhy49YRhBo8SqTuPS344sUu5qMYLf8kyA4lbAqiPSFAiBnSH1cKU6Mua2IRDsN2dtV1E6PmwWq6EIxz/6KauGdZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAa2y7efaVb/Glympv0gNp2vWQPOUb9qXSoi6DfWXXvsAiAjoS6pTb19KKZ4Be5pdQLiJh1SRIMovExTaMG3xHF1mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":530316},"main":"./dist/index.js","name":"opencode-see-image","type":"module","exports":{".":"./dist/index.js"},"gitHead":"08aa4ff1bfef2f0ebe10fca0469e2d855cf66c4a","license":"MIT","scripts":{"build":"bun build index.ts --target=node --format=esm --outdir=dist --external bun:sqlite","typecheck":"bun build index.ts --target=node --format=esm --outdir=/tmp/see-image-check --external bun:sqlite","prepublishOnly":"bun run build"},"_npmUser":{"name":"alfaoz","email":"alfa.ozaltin@gmail.com"},"keywords":["opencode","opencode-plugin","vision","image","screenshot","minimax","glm"],"_npmVersion":"11.11.1","description":"Give non-vision opencode models the ability to see images/screenshots by routing them to a vision-capable model (MiniMax M3 via opencode-go by default). Supports both OpenCode v1 and v2.","directories":{},"maintainers":[{"name":"alfaoz","email":"alfa.ozaltin@gmail.com"}],"_nodeVersion":"25.8.2","dependencies":{"@opencode-ai/plugin":"^1.15.0","opencode-plugin-update-kit":"0.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/opencode-see-image_1.4.0_1790519484625_0.2005969489187931","host":"s3://npm-registry-packages-npm-production"},"_id":"opencode-see-image@1.4.0","version":"1.4.0"} |