
Juan DenisandClaude Opus 4.8
bd6b8eff33
feat(plugins): GitHub-native install with preview + permissions consent
Add POST /api/v1/plugins/preview: resolve a GitHub/zip source, download,
read plugin.json, and return slug/version/permissions/panel-gate + the
resolved URL, sha256, and warnings — without installing. The manual-install
URL flow becomes two-step (Resolve -> consent card -> Install), pinning the
install to the previewed sha256 so installed bytes match previewed bytes.
- owner/repo and owner/repo@tag shorthand normalization (install accepts it too).
- Actionable resolve errors: rate limit (with reset ETA), 404/private, no
plugin.json at archive root.
- Optional SERVERKIT_GITHUB_TOKEN: Bearer auth on GitHub hosts only (never
leaked to third-party mirrors, never logged); lifts the anon rate limit and
enables private-repo installs.
- ManualInstallModal: PreviewConsent card with permission chips + warnings +
'GitHub · unverified' badge; SCSS added.
Tests (test_plugin_preview.py, 15): shorthand, happy/warning preview paths,
token header injection + host scoping, preview->install checksum continuity +
tamper rejection. Full plugin suites green; frontend lint 0 errors, build clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 01:52:38 -04:00
..
2026-01-17 04:22:12 -05:00
2026-07-01 00:27:30 -04:00
2026-03-23 02:15:16 -04:00
2026-03-23 02:08:00 -04:00
2026-05-31 16:08:13 -04:00
2026-06-01 02:39:05 -04:00
2026-03-07 12:15:02 -05:00
2026-06-23 18:23:47 -04:00
2026-07-08 02:05:50 -04:00
2026-07-08 02:05:50 -04:00
2026-07-03 14:23:50 -04:00
2026-06-24 14:27:08 -04:00
2026-07-07 20:29:31 -04:00
2026-06-23 18:49:04 -04:00
2026-07-07 20:29:31 -04:00
2026-03-24 06:10:58 -04:00
2026-07-01 01:35:44 -04:00
2026-07-08 02:05:50 -04:00
2026-07-07 20:29:29 -04:00
2026-07-08 02:05:50 -04:00
2026-07-03 14:24:03 -04:00
2026-06-19 03:12:07 -04:00
2026-07-08 02:05:50 -04:00
2026-04-29 00:39:16 -04:00
2026-07-07 20:29:31 -04:00
2026-07-08 01:41:22 -04:00
2026-07-03 23:18:08 -04:00
2026-06-23 00:34:55 -04:00
2026-06-24 01:43:29 -04:00
2026-03-04 01:53:46 -05:00
2026-07-03 15:21:09 -04:00
2026-07-08 02:05:50 -04:00
2026-07-08 02:05:50 -04:00
2026-06-23 19:33:44 -04:00
2026-03-04 01:53:46 -05:00
2026-06-15 10:21:39 -04:00
2026-07-03 14:23:11 -04:00
2026-03-24 06:10:58 -04:00
2026-05-01 00:37:48 -04:00
2026-02-08 23:14:13 -05:00
2026-07-08 02:05:50 -04:00
2026-07-03 15:22:05 -04:00
2026-07-07 20:29:31 -04:00
2026-03-04 02:34:49 -05:00
2026-07-08 23:01:12 -04:00
2026-06-21 02:11:47 -04:00
2026-07-03 14:24:15 -04:00
2026-07-04 01:28:16 -04:00
2026-07-09 01:43:34 -04:00
2026-02-08 23:14:13 -05:00
2026-03-04 01:37:22 -05:00
2026-03-24 06:10:58 -04:00
2026-07-01 21:34:54 -04:00
2026-06-21 02:11:47 -04:00
2026-03-23 02:19:33 -04:00
2026-06-21 02:11:47 -04:00
2026-07-08 01:41:43 -04:00
2026-06-12 18:35:43 -04:00
2026-06-21 20:44:12 -04:00
2026-06-21 02:11:47 -04:00
2026-07-09 01:52:38 -04:00
2026-07-07 20:29:31 -04:00
2026-07-08 02:05:50 -04:00
2026-06-21 02:11:47 -04:00
2026-06-23 19:33:44 -04:00
2026-06-23 20:57:40 -04:00
2026-07-08 02:05:50 -04:00
2026-06-22 01:16:00 -04:00
2026-06-15 09:19:56 -04:00
2026-06-22 01:45:15 -04:00
2026-07-08 02:05:50 -04:00
2026-03-23 02:11:16 -04:00
2026-07-08 02:06:01 -04:00
2026-07-07 20:29:23 -04:00
2026-06-23 23:19:41 -04:00
2026-07-07 20:29:26 -04:00
2026-07-08 02:05:50 -04:00
2026-06-21 00:20:10 -04:00
2026-07-03 14:23:29 -04:00
2026-06-21 02:11:47 -04:00
2026-05-03 15:57:02 -04:00
2026-07-08 02:05:50 -04:00
2026-07-03 15:21:22 -04:00
2026-07-07 20:29:24 -04:00
2026-07-07 20:29:31 -04:00
2026-06-21 20:19:57 -04:00
2026-07-08 02:05:50 -04:00
2026-06-15 23:20:00 -04:00
2026-03-23 01:58:28 -04:00
2026-01-17 13:37:40 -05:00
2026-07-07 20:29:31 -04:00
2026-06-23 19:33:44 -04:00
2026-06-21 21:13:55 -04:00
2026-07-07 20:29:22 -04:00