Skip to content

feat(ui): share npm Pi packages from the Plugins share dialog - #947

Merged
runkids merged 1 commit into
mainfrom
runkids/ui-share-pi-packages
Nov 17, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/ui-share-pi-packages

Conversation

@runkids

@runkids runkids commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

None. Requested by the maintainer.

What changed

Share on the Plugins page listed only plugins added from an HTTPS Git source. It now also lists the Pi packages that Pi installed from npm.

  • With both kinds present, the list has a Plugins and a Pi packages heading, each with its count, under one Select all.
  • A Pi package copies skillshare plugin add npm:<package> --target pi -g --no-tui. Pi downloads the package, so the add needs a target; the built-in pi is named because the sharer's own target may be an account only they have. --name is added when the local name is not the one the package would get by itself.
  • With Ask where to install each one ticked (reworded from "Ask which Agents to install each plugin to"), the Pi command leaves out --target pi and --no-tui, so the add asks which Pi targets to use.
  • Both an imported package (binding id npm:...) and one added through Skillshare (source: npm:...) are listed. Packages Pi has from Git or a local path are not.
  • Plugins stay first in the copied line, so a machine without Pi adds every plugin before the first Pi package stops the list.
  • The row menu of a Pi package gets Share too, since it reads the same list.
  • plugins.shareHelp and plugins.shareAsk are updated in all 11 locales; sharing-plugins.md and ui.md describe the Pi packages.

Checks

  • make check in a task container: passed.
  • UI: full Vitest run (971 tests), pnpm run lint (0 errors), pnpm run build.
  • python3 scripts/ai-context.py check: ok.
  • End to end in the container with a stand-in pi CLI: the copied line for one plugin and three npm packages (one scoped) ran and installed all four.
  • Screenshots of the dialog in Clean and Playful, light and dark, at 1280 px, zh-TW.

Not run: website build (two English Markdown paragraphs changed, no links added).

Not covered

  • The translated docs under website/i18n have no plugin Share section yet, so there was nothing to update there.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — for code changes
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

Release-As: 0.30.11

Share listed only the plugins added from an HTTPS Git source, so a Pi
setup made of npm packages could not be passed on from the dashboard.

Pi downloads an npm package itself, and `plugin add npm:<package>` needs
a Pi target. The dialog now lists the npm Pi packages after the plugins,
each under its own heading, and copies
`skillshare plugin add npm:<package> --target pi -g --no-tui` for them.
The built-in target is named because the sharer's own may be an account
only they have. With the ask option ticked, the command leaves the
target to the prompt. Packages Pi has from Git or a local path are not
listed.

Plugins stay first in the copied line, so a machine without Pi still
adds every plugin before the first Pi package stops the list.

Release-As: 0.30.11
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T09:15:58.946318Z 9ebb7e0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit 752f7b1 into main Nov 17, 2026
9 checks passed
@runkids
runkids deleted the runkids/ui-share-pi-packages branch November 17, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant