yetone
54b9516473
library: a project's Pi packages, on, off or removed, and adopting its own ( #7249 )
...
A project now takes Pi packages: entries of its .pi/settings.json
`packages`, matched by piSourceID. A package is on (its source), off but
kept (every filter empty, as `pi config` writes it) or removed. Project.Pi
is what the project wants, PiRecs what magpie wrote; only an entry still as
magpie wrote it is changed or taken out, and a file magpie made goes with
its last entry. An entry the project had is its own: refused with a problem
until adopted, then switched without a rewrite, and put back as it was (never
deleted) when let go; one that picks some resources is refused.
Surfaces: POST /api/library/projects/pi (how on|off|removed|adopt),
`magpie library project pi [list|add|on|off|rm|adopt] <dir> <source...>`,
the project's own packages in Own["pi"], and a Pi packages block on the
Claude plugins tab's project card (switch, remove, Take over, add field) in
en, zh, zh-TW, ja, de. Pi installs a package itself when it next starts.
Run (mote): gofmt, go vet; go test ./internal/library ./internal/cli
./internal/gui (library, cli ok; gui red only in TestBuiltinsTranslated
#7257 and TestSettingsSaveKeepsWhatItDoesNotSend #7240 , both filed);
GUI project-pi (new), project-own, project-plugins, project-hooks,
project-claude-plugins, project-servers, i18n-keys in chromium and webkit.
Not tried: a real Pi starting in a project with these packages; the whole
GUI suite; Windows.
2026-11-20 05:46:18 +08:00
..
2026-11-20 05:46:18 +08:00
2026-11-20 05:46:18 +08:00
2026-11-18 16:08:15 +08:00
2026-11-15 00:13:05 +08:00
2026-11-19 03:06:55 +08:00
2026-11-19 03:06:55 +08:00
2026-11-14 02:22:28 +08:00
2026-11-14 23:11:16 +08:00
2026-11-18 14:32:44 +08:00
2026-11-13 04:22:45 +08:00
2026-11-14 23:11:16 +08:00
2026-11-19 00:27:58 +08:00
2026-11-20 00:12:34 +08:00
2026-11-18 23:06:38 +08:00
2026-11-14 19:10:06 +08:00
2026-11-14 19:10:06 +08:00
2026-11-11 10:15:40 +08:00
2026-11-16 11:25:30 +08:00
2026-11-11 10:28:05 +08:00
2026-11-11 10:28:05 +08:00
2026-11-11 10:28:05 +08:00
2026-11-14 12:34:47 +08:00
2026-11-18 23:06:38 +08:00
2026-11-17 22:41:26 +08:00
2026-11-14 21:05:50 +08:00
2026-11-13 22:46:00 +08:00
2026-11-11 03:41:37 +08:00
2026-11-11 03:41:37 +08:00
2026-11-14 14:02:49 +08:00
2026-11-15 03:50:46 +08:00
2026-11-18 03:48:29 +08:00
2026-11-11 06:26:47 +08:00
2026-11-18 03:48:29 +08:00
2026-11-11 10:56:41 +08:00
2026-11-11 10:56:41 +08:00
2026-11-13 04:08:39 +08:00
2026-11-16 18:59:40 +08:00
2026-11-13 13:58:00 +08:00
2026-11-16 17:23:50 +08:00
2026-11-12 11:42:35 +08:00
2026-11-13 10:48:07 +08:00
2026-11-20 03:04:12 +08:00
2026-11-12 12:50:57 +08:00
2026-11-10 13:46:13 +08:00
2026-11-13 18:39:28 +08:00
2026-11-14 11:42:50 +08:00
2026-11-13 05:31:22 +08:00
2026-11-15 23:05:56 +08:00
2026-11-18 12:35:06 +08:00
2026-11-17 04:29:02 +08:00
2026-11-17 04:29:02 +08:00
2026-11-12 18:00:00 +08:00
2026-11-13 22:46:00 +08:00
2026-11-11 10:15:40 +08:00
2026-11-12 12:50:57 +08:00
2026-11-12 09:46:34 +08:00
2026-11-18 21:29:39 +08:00
2026-11-18 13:09:42 +08:00
2026-11-13 13:04:03 +08:00
2026-11-13 05:12:30 +08:00
2026-11-13 05:12:30 +08:00
2026-11-19 01:25:26 +08:00
2026-11-10 23:05:47 +08:00
2026-11-12 01:28:03 +08:00
2026-11-15 12:25:47 +08:00
2026-11-18 16:52:58 +08:00
2026-11-18 16:52:58 +08:00
2026-11-14 19:28:21 +08:00
2026-11-16 11:51:12 +08:00
2026-11-16 11:51:12 +08:00
2026-11-16 11:51:12 +08:00
2026-11-17 03:11:31 +08:00
2026-11-10 22:42:11 +08:00
2026-11-13 16:31:24 +08:00
2026-11-14 16:34:10 +08:00
2026-11-19 15:39:48 +08:00
2026-11-18 06:42:01 +08:00
2026-11-18 06:42:01 +08:00
2026-11-13 22:02:05 +08:00
2026-11-18 22:39:19 +08:00
2026-11-20 05:46:18 +08:00
2026-11-13 00:32:17 +08:00
2026-11-12 23:24:29 +08:00
2026-11-18 03:34:06 +08:00
2026-11-11 04:07:09 +08:00
2026-11-16 10:50:49 +08:00
2026-11-16 10:50:49 +08:00
2026-11-16 03:37:02 +08:00
2026-11-16 03:37:02 +08:00
2026-11-17 15:39:12 +08:00
2026-11-13 12:53:04 +08:00
2026-11-13 23:05:14 +08:00
2026-11-13 22:02:05 +08:00
2026-11-11 04:14:58 +08:00
2026-11-11 15:08:58 +08:00
2026-11-16 16:37:40 +08:00
2026-11-14 18:02:33 +08:00
2026-11-14 09:11:46 +08:00
2026-11-12 15:54:08 +08:00
2026-11-14 14:02:49 +08:00
2026-11-16 12:13:44 +08:00
2026-11-15 12:39:32 +08:00
2026-11-15 12:39:32 +08:00
2026-11-15 12:39:32 +08:00
2026-11-15 23:05:56 +08:00
2026-11-15 23:05:56 +08:00
2026-11-15 23:05:56 +08:00
2026-11-14 17:00:00 +08:00
2026-11-14 17:45:41 +08:00
2026-11-13 13:58:00 +08:00
2026-11-13 22:46:00 +08:00
2026-11-11 17:38:42 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 10:15:40 +08:00
2026-11-13 13:58:00 +08:00
2026-11-18 16:30:23 +08:00
2026-11-14 14:02:49 +08:00
2026-11-18 16:30:23 +08:00
2026-11-18 16:30:23 +08:00
2026-11-13 13:04:03 +08:00
2026-11-11 23:08:39 +08:00
2026-11-11 15:10:25 +08:00
2026-11-17 23:13:03 +08:00
2026-11-11 04:45:46 -08:00
2026-10-14 08:50:41 +08:00
2026-11-13 04:23:20 +08:00
2026-11-14 12:34:47 +08:00
2026-11-18 13:39:27 +08:00
2026-11-18 13:39:27 +08:00
2026-11-15 03:07:38 +08:00
2026-11-18 14:32:44 +08:00
2026-11-18 14:32:44 +08:00
2026-11-18 14:32:44 +08:00
2026-11-20 00:12:34 +08:00
2026-11-20 00:12:34 +08:00
2026-11-13 07:05:00 +08:00
2026-11-12 01:20:52 +08:00
2026-11-14 22:18:09 +08:00
2026-11-11 10:15:40 +08:00
2026-11-16 07:22:47 +08:00
2026-11-11 03:54:21 +08:00
2026-11-19 15:39:48 +08:00
2026-11-18 06:42:01 +08:00
2026-11-18 06:42:01 +08:00
2026-11-16 10:49:31 +08:00
2026-11-14 15:46:34 +08:00
2026-11-16 16:37:40 +08:00
2026-11-16 16:37:40 +08:00
2026-11-16 16:37:40 +08:00
2026-11-16 16:37:40 +08:00
2026-11-15 23:30:05 +08:00
2026-11-12 00:19:34 +08:00
2026-11-14 14:02:49 +08:00
2026-11-11 10:15:40 +08:00
2026-11-12 19:48:02 +08:00
2026-11-12 19:48:02 +08:00
2026-11-13 14:30:19 +08:00
2026-11-18 12:58:38 +08:00
2026-11-14 08:12:09 +08:00
2026-11-18 12:58:38 +08:00
2026-11-15 23:30:05 +08:00
2026-11-16 01:18:18 +08:00
2026-11-18 16:52:58 +08:00
2026-11-18 16:52:58 +08:00
2026-11-18 16:52:58 +08:00
2026-11-18 16:52:58 +08:00
2026-11-13 23:36:49 +08:00
2026-11-16 10:50:49 +08:00
2026-11-18 12:28:47 +08:00
2026-11-18 12:28:47 +08:00
2026-11-18 18:55:46 +08:00
2026-11-11 15:09:32 +08:00
2026-11-11 08:51:15 +08:00
2026-11-16 07:19:18 +08:00
2026-11-19 23:57:01 +08:00
2026-11-18 17:30:43 +08:00
2026-11-18 16:04:10 +08:00
2026-11-18 20:59:55 +08:00
2026-11-18 20:59:55 +08:00
2026-11-18 17:30:43 +08:00
2026-11-12 00:09:56 +08:00
2026-11-11 14:43:25 +08:00
2026-11-16 07:19:18 +08:00
2026-11-19 02:02:53 +08:00
2026-11-18 23:06:38 +08:00
2026-11-13 15:13:13 +08:00
2026-11-13 11:02:15 +08:00
2026-11-18 20:22:30 +08:00
2026-11-18 16:30:23 +08:00
2026-11-18 16:30:23 +08:00
2026-11-13 03:43:10 +08:00
2026-11-14 12:17:40 +08:00
2026-11-14 14:02:49 +08:00
2026-11-18 06:42:01 +08:00
2026-11-12 14:24:46 +08:00
2026-11-12 14:24:46 +08:00
2026-11-12 17:16:34 +08:00
2026-11-12 17:16:34 +08:00
2026-11-12 17:16:34 +08:00
2026-11-12 17:16:34 +08:00
2026-11-12 17:16:34 +08:00
2026-11-12 22:12:32 +08:00
2026-11-12 19:35:07 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 16:08:15 +08:00
2026-11-12 12:14:36 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 03:34:06 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 16:08:15 +08:00
2026-11-18 12:58:38 +08:00
2026-11-18 12:58:38 +08:00
2026-11-12 16:03:34 +08:00
2026-11-16 15:11:46 +08:00
2026-11-17 21:50:54 +08:00
2026-11-15 01:11:08 +08:00
2026-11-14 19:37:57 +08:00
2026-11-15 01:11:08 +08:00
2026-11-15 01:11:08 +08:00
2026-11-12 16:03:34 +08:00
2026-11-17 21:50:54 +08:00
2026-11-15 01:29:18 +08:00
2026-11-17 21:50:54 +08:00
2026-11-14 12:13:19 +08:00
2026-11-17 06:39:40 +08:00
2026-11-11 13:01:11 +08:00
2026-11-16 16:37:40 +08:00
2026-11-11 13:01:11 +08:00
2026-11-19 01:25:26 +08:00
2026-11-18 21:44:37 +08:00
2026-11-19 10:26:23 +08:00
2026-11-16 16:37:40 +08:00
2026-11-13 19:31:37 +08:00
2026-11-14 23:47:47 +08:00
2026-11-19 10:26:23 +08:00
2026-11-19 10:26:23 +08:00
2026-11-16 16:37:40 +08:00
2026-11-14 18:23:16 +08:00
2026-11-14 18:23:16 +08:00
2026-11-19 10:26:23 +08:00
2026-11-12 23:45:43 +08:00
2026-11-13 16:56:19 +08:00
2026-11-13 23:26:11 +08:00
2026-11-15 11:00:37 +08:00
2026-11-11 10:15:40 +08:00
2026-11-12 20:09:27 +08:00
2026-11-13 05:31:22 +08:00
2026-11-19 16:20:34 +08:00
2026-11-11 10:15:40 +08:00
2026-11-11 10:15:40 +08:00
2026-11-11 10:15:40 +08:00
2026-11-18 23:06:38 +08:00
2026-11-11 10:15:40 +08:00
2026-11-19 16:20:34 +08:00
2026-11-11 13:00:54 +08:00
2026-11-11 14:33:37 +08:00
2026-11-13 23:36:49 +08:00
2026-11-13 14:01:50 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-14 14:02:49 +08:00
2026-11-13 23:36:49 +08:00
2026-11-13 23:36:49 +08:00
2026-11-16 10:50:49 +08:00
2026-11-13 19:45:24 +08:00
2026-11-13 19:45:24 +08:00
2026-11-13 19:45:24 +08:00
2026-11-13 19:45:24 +08:00
2026-11-15 13:10:18 +08:00
2026-11-12 10:03:46 +08:00