yetone
4431e31f7c
library: a project gets subagents of its own, per agent (jinpwng on X)
...
The Subagents tab now lists the projects as Skills and MCP do. Opening
a project shows each library subagent with chips for the agents that
read a project's own subagent folder: Claude Code (.claude/agents),
Codex (.codex/agents, TOML), OpenCode, Gemini CLI, Qwen Code, Droid
(.factory/droids), Cursor and Copilot (.github/agents/*.agent.md). A
tick writes the subagent into that project only, in the agent's own
format; the agent's global folder and other projects are untouched.
Each file is recorded by its hash and rewritten or removed only while
it is exactly as magpie wrote it, so a same-name file of the user's is
left alone. A rename in the library follows into each project. The
files are kept out of git by the project's info/exclude block, and
follow the repository's other worktrees (syncTrees now copies
Subagents, and clears it for a worktree let go).
POST /api/library/projects/subagents {dir, name|names, agents}. No CLI
yet, like project servers. Hooks, instructions and Claude plugins have
no project scope yet (filed separately).
Run (mica / mote via mica-run, mote-run):
- go test -count=1 ./internal/library ./internal/gui: ok
- node --test, chromium + webkit: project-subagents, project-scope,
project-servers, project-skills-pick, project-skills-groups,
project-remove-keep, library-subagents, library-all, library-items,
i18n-keys, i18n-en-no-cjk, claude-subagents-pick,
codex-subagents-lead, subagent-effort: 150/150 pass
- gofmt -l clean; go vet darwin, linux -tags nogui, windows on
internal/library and internal/gui: ok
Broken by hand: dropping Subagents from syncTrees' copy made
TestProjectSubagentsFollowWorktrees red ("the worktree hasn't the
project's subagent"); the earlier session broke the fix by hand and
saw the new library tests go red.
Not tried: a real Claude Code/Codex session picking up the project
subagent; the full go suite (started after the tag); Windows/Linux
runs of the GUI.
2026-11-13 11:51:50 +08:00
..
2026-11-13 11:51:50 +08:00
2026-10-30 15:00:16 +08:00
2026-10-18 07:13:09 +08:00
2026-11-13 11:51:50 +08:00
2026-11-01 03:49:03 +08:00
2026-11-03 14:09:42 +08:00
2026-11-13 03:49:41 +08:00
2026-11-13 03:49:41 +08:00
2026-10-30 18:03:55 +08:00
2026-11-03 18:23:13 +08:00
2026-11-06 16:51:15 +08:00
2026-11-01 01:56:48 +08:00
2026-10-14 20:01:06 +08:00
2026-11-13 04:22:45 +08:00
2026-10-14 17:00:34 +08:00
2026-11-07 04:03:01 +08:00
2026-11-13 11:02:15 +08:00
2026-11-12 23:24:29 +08:00
2026-10-27 18:58:16 +08:00
2026-11-11 10:15:40 +08:00
2026-10-24 21:01:18 +08:00
2026-10-24 21:01:18 +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-04 20:20:41 +08:00
2026-11-10 13:02:57 +08:00
2026-11-12 09:46:34 +08:00
2026-11-02 18:24:38 +08:00
2026-11-11 15:08:58 +08:00
2026-11-11 03:41:37 +08:00
2026-11-11 03:41:37 +08:00
2026-11-11 03:41:37 +08:00
2026-11-10 18:58:03 +08:00
2026-11-09 06:57:40 +08:00
2026-11-06 22:11:02 +08:00
2026-11-09 06:57:40 +08:00
2026-11-09 20:12:30 +08:00
2026-11-09 20:12:30 +08:00
2026-10-25 05:54:07 +08:00
2026-10-16 00:16:43 +08:00
2026-10-25 01:23:42 +08:00
2026-11-07 03:21:57 +08:00
2026-11-11 15:07:21 +08:00
2026-11-11 06:26:47 +08:00
2026-11-05 18:28:38 +08:00
2026-11-11 15:07:21 +08:00
2026-11-11 10:56:41 +08:00
2026-11-11 10:56:41 +08:00
2026-11-07 05:16:53 +08:00
2026-11-13 04:08:39 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-10-14 09:15:21 +08:00
2026-11-09 23:19:14 +08:00
2026-10-26 15:35:12 +08:00
2026-11-01 21:19:22 +08:00
2026-10-27 15:30:31 +08:00
2026-10-31 09:17:24 +08:00
2026-10-29 22:10:21 +08:00
2026-10-29 22:10:21 +08:00
2026-11-03 13:34:35 +08:00
2026-11-03 13:34:35 +08:00
2026-11-07 04:03:01 +08:00
2026-11-07 20:10:28 +08:00
2026-11-07 20:10:28 +08:00
2026-10-30 16:05:58 +08:00
2026-11-08 18:13:30 +08:00
2026-10-22 19:03:32 +08:00
2026-11-12 11:42:35 +08:00
2026-11-13 10:48:07 +08:00
2026-11-13 11:07:02 +08:00
2026-10-31 04:21:21 +08:00
2026-11-12 12:50:57 +08:00
2026-11-10 13:46:13 +08:00
2026-11-10 13:46:13 +08:00
2026-11-01 16:43:21 +08:00
2026-10-17 05:33:18 +08:00
2026-11-13 05:31:22 +08:00
2026-11-13 05:31:22 +08:00
2026-10-29 20:53:36 +08:00
2026-11-06 22:56:33 +08:00
2026-10-25 19:28:05 +08:00
2026-11-06 22:56:33 +08:00
2026-10-25 19:28:05 +08:00
2026-10-25 19:28:05 +08:00
2026-11-06 17:22:52 +08:00
2026-11-07 20:10:28 +08:00
2026-11-08 22:25:58 +08:00
2026-11-12 19:31:11 +08:00
2026-11-12 20:53:53 +08:00
2026-11-05 00:11:02 +08:00
2026-10-14 13:31:10 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-10-25 19:28:05 +08:00
2026-11-04 04:47:02 +08:00
2026-11-04 04:47:02 +08:00
2026-11-04 20:20:41 +08:00
2026-10-28 12:25:39 +08:00
2026-11-12 18:00:00 +08:00
2026-10-17 17:45:57 +08:00
2026-11-11 10:15:40 +08:00
2026-10-30 19:12:35 +08:00
2026-11-12 12:50:57 +08:00
2026-11-01 11:43:56 +08:00
2026-11-01 11:43:56 +08:00
2026-11-01 11:43:56 +08:00
2026-11-04 23:55:14 +08:00
2026-11-12 09:46:34 +08:00
2026-10-15 23:08:05 +08:00
2026-11-04 20:20:41 +08:00
2026-11-12 19:36:52 +08:00
2026-11-10 19:36:24 +08:00
2026-11-10 19:36:24 +08:00
2026-11-03 02:37:56 +08:00
2026-10-28 03:50:46 +08:00
2026-10-15 00:34:14 +08:00
2026-10-15 00:34:14 +08:00
2026-11-08 02:08:30 +08:00
2026-11-09 21:51:53 +08:00
2026-10-17 20:38:06 +08:00
2026-11-10 00:13:44 +08:00
2026-11-02 14:13:52 +08:00
2026-10-28 17:34:16 +08:00
2026-10-29 23:36:58 +08:00
2026-11-10 03:48:24 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 02:01:37 +08:00
2026-11-13 05:12:30 +08:00
2026-10-31 15:56:40 +08:00
2026-11-03 11:16:02 +08:00
2026-11-03 11:16:02 +08:00
2026-10-31 12:44:16 +08:00
2026-11-08 15:54:52 +08:00
2026-11-06 15:24:18 +08:00
2026-11-10 23:05:47 +08:00
2026-11-12 01:28:03 +08:00
2026-11-01 14:33:24 +08:00
2026-10-17 05:33:18 +08:00
2026-11-01 11:02:56 +08:00
2026-11-06 08:01:14 +08:00
2026-11-09 21:51:53 +08:00
2026-11-09 21:51:53 +08:00
2026-11-09 21:51:53 +08:00
2026-10-15 19:20:09 +08:00
2026-11-02 11:09:11 +08:00
2026-11-13 11:46:50 +08:00
2026-11-13 11:46:50 +08:00
2026-10-15 23:08:05 +08:00
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +08:00
2026-11-06 17:34:48 +08:00
2026-10-24 02:20:38 +08:00
2026-10-24 02:20:38 +08:00
2026-11-10 22:42:11 +08:00
2026-11-01 04:46:38 +08:00
2026-11-08 15:27:14 +08:00
2026-11-01 07:39:08 +08:00
2026-10-30 15:26:03 +08:00
2026-11-01 09:04:26 +08:00
2026-11-01 01:28:58 +08:00
2026-11-12 14:10:22 +08:00
2026-11-04 21:00:51 +08:00
2026-10-29 03:17:58 +08:00
2026-11-13 11:51:50 +08:00
2026-11-13 00:32:17 +08:00
2026-11-12 23:24:29 +08:00
2026-11-12 12:14:36 +08:00
2026-10-25 14:00:59 +08:00
2026-10-17 05:33:18 +08:00
2026-10-20 01:25:47 +08:00
2026-10-31 00:44:59 +08:00
2026-11-08 19:09:21 +08:00
2026-10-20 02:29:39 +08:00
2026-11-11 04:07:09 +08:00
2026-11-01 17:28:30 +08:00
2026-11-01 17:28:30 +08:00
2026-10-16 08:43:02 +08:00
2026-10-29 06:38:04 +08:00
2026-10-29 06:38:04 +08:00
2026-11-07 23:27:42 +08:00
2026-11-07 23:27:42 +08:00
2026-11-10 14:01:23 +08:00
2026-11-10 14:01:23 +08:00
2026-11-11 04:14:58 +08:00
2026-11-10 16:00:30 +08:00
2026-11-11 15:08:58 +08:00
2026-10-31 10:57:56 +08:00
2026-10-31 10:57:56 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +08:00
2026-11-01 01:56:48 +08:00
2026-11-02 03:40:03 +08:00
2026-11-03 05:21:47 +08:00
2026-11-08 19:05:36 +08:00
2026-10-15 23:08:03 +08:00
2026-11-12 15:54:08 +08:00
2026-11-10 17:45:42 +08:00
2026-11-10 17:45:42 +08:00
2026-10-24 05:31:59 +08:00
2026-11-10 14:27:21 +08:00
2026-11-10 14:27:21 +08:00
2026-11-04 20:20:41 +08:00
2026-10-30 11:54:46 +08:00
2026-11-10 01:17:43 +08:00
2026-10-27 08:29:11 +08:00
2026-11-02 17:19:23 +08:00
2026-11-11 19:11:55 +08:00
2026-11-11 17:38:42 +08:00
2026-11-11 17:38:42 +08:00
2026-11-09 23:19:14 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 10:15:40 +08:00
2026-11-02 15:27:15 +08:00
2026-10-15 23:08:00 +08:00
2026-10-16 15:40:38 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-10-30 12:06:33 +08:00
2026-11-04 00:22:54 +08:00
2026-11-04 00:22:54 +08:00
2026-11-11 23:08:39 +08:00
2026-11-11 15:10:25 +08:00
2026-11-11 15:10:25 +08:00
2026-11-11 04:45:46 -08:00
2026-10-22 20:50:59 +08:00
2026-10-14 08:50:41 +08:00
2026-10-19 12:42:48 +08:00
2026-11-13 04:23:20 +08:00
2026-10-18 07:13:09 +08:00
2026-11-02 15:27:15 +08:00
2026-11-11 04:45:46 -08:00
2026-11-02 15:27:15 +08:00
2026-11-05 11:45:44 +08:00
2026-11-11 04:28:18 +08:00
2026-11-11 04:28:18 +08:00
2026-11-01 22:14:19 +08:00
2026-10-24 22:31:59 +08:00
2026-10-14 04:22:19 +08:00
2026-10-31 18:30:39 +08:00
2026-10-30 15:42:29 +08:00
2026-10-27 23:37:46 +08:00
2026-11-13 11:02:15 +08:00
2026-11-04 23:55:14 +08:00
2026-10-30 18:55:51 +08:00
2026-11-04 20:20:41 +08:00
2026-10-28 16:55:24 +08:00
2026-11-02 18:37:25 +08:00
2026-10-14 16:40:23 +08:00
2026-11-13 07:05:00 +08:00
2026-11-01 06:01:05 +08:00
2026-10-15 05:20:17 +08:00
2026-10-27 02:26:27 +08:00
2026-10-30 04:48:17 +08:00
2026-11-08 11:28:54 +08:00
2026-11-04 21:21:32 +08:00
2026-11-12 01:20:52 +08:00
2026-10-17 13:11:43 +08:00
2026-11-11 10:15:40 +08:00
2026-11-05 18:31:22 +08:00
2026-11-06 05:21:05 +08:00
2026-11-10 07:25:54 +08:00
2026-10-16 22:58:40 +08:00
2026-10-23 03:35:27 +08:00
2026-11-01 03:07:06 +08:00
2026-11-07 17:44:31 +08:00
2026-10-14 23:06:35 +08:00
2026-11-11 03:54:21 +08:00
2026-11-13 11:02:15 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 09:04:26 +08:00
2026-11-11 12:26:43 +08:00
2026-11-11 17:23:14 +08:00
2026-10-23 02:39:33 +08:00
2026-10-15 23:08:05 +08:00
2026-10-15 23:08:05 +08:00
2026-11-08 02:13:14 +08:00
2026-11-10 18:07:05 +08:00
2026-11-10 18:07:05 +08:00
2026-11-02 18:53:07 +08:00
2026-11-01 21:16:35 +08:00
2026-11-12 00:19:34 +08:00
2026-11-12 00:19:34 +08:00
2026-10-29 06:38:04 +08:00
2026-11-11 03:41:37 +08:00
2026-11-10 12:54:39 +08:00
2026-10-15 23:08:00 +08:00
2026-10-14 05:22:40 +08:00
2026-11-01 09:14:11 +08:00
2026-11-01 09:14:11 +08:00
2026-11-11 10:15:40 +08:00
2026-10-30 00:46:45 +08:00
2026-11-10 18:39:20 +08:00
2026-11-12 19:48:02 +08:00
2026-11-12 19:48:02 +08:00
2026-11-03 14:16:20 +08:00
2026-11-12 00:19:34 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-11-01 17:28:15 +08:00
2026-10-16 07:23:55 +08:00
2026-11-13 11:46:50 +08:00
2026-11-13 11:46:50 +08:00
2026-11-13 11:46:50 +08:00
2026-11-13 11:46:50 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-02 20:00:54 +08:00
2026-11-07 21:21:48 +08:00
2026-11-05 12:40:35 +08:00
2026-11-01 14:43:18 +08:00
2026-11-04 19:43:00 +08:00
2026-11-10 18:01:13 +08:00
2026-10-28 22:48:07 +08:00
2026-10-14 22:45:40 +08:00
2026-10-15 05:10:28 +08:00
2026-10-29 06:30:58 +08:00
2026-10-14 22:45:40 +08:00
2026-10-16 05:10:43 +08:00
2026-11-11 15:09:32 +08:00
2026-11-11 08:51:15 +08:00
2026-11-04 20:20:41 +08:00
2026-11-02 17:19:23 +08:00
2026-11-01 15:27:49 +08:00
2026-10-19 03:57:52 +08:00
2026-11-12 00:09:56 +08:00
2026-10-15 09:40:51 +08:00
2026-10-29 23:56:05 +08:00
2026-11-11 12:02:52 +08:00
2026-10-27 06:18:24 +08:00
2026-10-30 08:32:57 +08:00
2026-11-10 13:58:41 +08:00
2026-10-15 08:23:54 +08:00
2026-11-12 00:09:56 +08:00
2026-11-11 14:43:25 +08:00
2026-11-03 08:54:40 +08:00
2026-11-13 04:22:45 +08:00
2026-11-13 02:00:40 +08:00
2026-10-30 15:53:22 +08:00
2026-11-08 15:19:03 +08:00
2026-11-08 15:19:03 +08:00
2026-10-31 01:02:24 +08:00
2026-11-13 11:02:15 +08:00
2026-11-04 20:20:41 +08:00
2026-11-09 18:57:29 +08:00
2026-10-16 15:40:38 +08:00
2026-10-29 17:09:13 +08:00
2026-11-03 05:21:47 +08:00
2026-11-13 03:43:10 +08:00
2026-11-12 14:24:46 +08:00
2026-11-12 14:24:46 +08:00
2026-11-09 19:57:10 +08:00
2026-10-15 23:08:04 +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-10-14 08:32:40 +08:00
2026-10-31 21:38:56 +08:00
2026-10-31 19:35:16 +08:00
2026-11-06 16:02:04 +08:00
2026-11-06 16:02:04 +08:00
2026-11-06 16:02:04 +08:00
2026-11-01 14:39:13 +08:00
2026-11-01 14:39:13 +08:00
2026-11-12 22:12:32 +08:00
2026-11-12 19:35:07 +08:00
2026-10-31 00:08:29 +08:00
2026-11-07 15:04:26 +08:00
2026-11-07 15:04:26 +08:00
2026-11-12 12:14:36 +08:00
2026-11-07 13:54:24 +08:00
2026-11-05 17:25:26 +08:00
2026-10-19 23:19:24 +08:00
2026-10-30 13:23:19 +08:00
2026-10-31 11:29:38 +08:00
2026-10-30 15:53:22 +08:00
2026-11-09 21:47:24 +08:00
2026-11-10 11:55:27 +08:00
2026-11-03 20:54:01 +08:00
2026-11-03 20:54:01 +08:00
2026-11-01 11:02:56 +08:00
2026-11-01 11:02:56 +08:00
2026-11-03 10:14:23 +08:00
2026-10-31 22:29:48 +08:00
2026-11-06 10:44:24 +08:00
2026-10-14 13:02:48 +08:00
2026-10-15 23:08:01 +08:00
2026-10-14 13:02:48 +08:00
2026-11-10 19:36:24 +08:00
2026-11-10 19:36:24 +08:00
2026-11-01 21:31:55 +08:00
2026-11-03 10:14:23 +08:00
2026-11-01 21:31:55 +08:00
2026-11-01 21:31:55 +08:00
2026-11-10 10:14:55 +08:00
2026-10-24 15:20:37 +08:00
2026-11-06 22:56:33 +08:00
2026-10-31 16:53:00 +08:00
2026-10-15 23:08:01 +08:00
2026-11-12 16:03:34 +08:00
2026-10-15 05:30:58 +08:00
2026-10-15 23:08:01 +08:00
2026-11-13 02:00:40 +08:00
2026-10-14 13:02:48 +08:00
2026-11-10 11:55:27 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-11-03 10:14:23 +08:00
2026-10-14 13:02:48 +08:00
2026-11-07 22:36:03 +08:00
2026-11-12 16:03:34 +08:00
2026-11-03 11:16:02 +08:00
2026-11-12 16:03:34 +08:00
2026-11-03 10:14:23 +08:00
2026-11-13 02:00:40 +08:00
2026-11-01 15:19:32 +08:00
2026-10-31 17:12:16 +08:00
2026-11-08 02:37:09 +08:00
2026-11-06 18:51:39 +08:00
2026-10-29 16:31:37 +08:00
2026-11-07 04:03:01 +08:00
2026-10-15 23:08:00 +08:00
2026-11-11 18:14:10 +08:00
2026-10-29 17:47:30 +08:00
2026-10-29 17:47:30 +08:00
2026-10-31 21:00:55 +08:00
2026-11-06 23:11:43 +08:00
2026-10-31 00:44:59 +08:00
2026-11-11 13:01:11 +08:00
2026-11-10 18:07:05 +08:00
2026-11-11 13:01:11 +08:00
2026-11-10 07:53:53 +08:00
2026-10-15 23:08:03 +08:00
2026-11-04 06:59:29 +08:00
2026-10-28 23:22:14 +08:00
2026-10-27 01:37:04 +08:00
2026-10-28 23:22:14 +08:00
2026-10-31 17:28:37 +08:00
2026-11-07 06:09:42 +08:00
2026-11-12 18:00:00 +08:00
2026-11-08 03:13:15 +08:00
2026-11-08 03:13:15 +08:00
2026-10-25 18:22:13 +08:00
2026-10-28 23:22:14 +08:00
2026-11-10 21:09:39 +08:00
2026-11-11 13:01:11 +08:00
2026-11-12 18:00:00 +08:00
2026-11-12 23:45:43 +08:00
2026-10-28 21:13:09 +08:00
2026-10-15 04:21:31 +08:00
2026-10-28 11:15:57 +08:00
2026-11-10 02:01:37 +08:00
2026-11-10 07:37:34 +08:00
2026-10-23 10:54:27 +08:00
2026-11-11 12:02:52 +08:00
2026-11-09 21:51:53 +08:00
2026-11-03 18:34:19 +08:00
2026-10-23 03:08:08 +08:00
2026-11-10 01:17:43 +08:00
2026-10-28 13:51:37 +08:00
2026-10-29 15:39:31 +08:00
2026-11-01 15:33:35 +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-11 10:15:40 +08:00
2026-11-11 10:15:40 +08:00
2026-10-28 19:54:53 +08:00
2026-11-11 10:15:40 +08:00
2026-11-06 22:17:04 +08:00
2026-11-11 10:15:40 +08:00
2026-11-12 20:09:27 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 07:31:02 +08:00
2026-10-28 15:25:53 +08:00
2026-11-11 13:00:54 +08:00
2026-11-11 14:33:37 +08:00
2026-11-04 20:20:41 +08:00
2026-10-19 07:23:04 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-10-25 01:46:55 +08:00
2026-11-02 16:14:22 +08:00
2026-10-24 22:54:36 +08:00
2026-11-03 06:35:33 +08:00
2026-10-16 20:05:11 +08:00
2026-10-30 21:56:29 +08:00
2026-10-30 21:56:29 +08:00
2026-11-12 10:03:46 +08:00
2026-11-01 17:28:30 +08:00
2026-11-04 16:32:55 +08:00
2026-11-01 11:02:56 +08:00
2026-11-01 14:26:03 +08:00
2026-11-04 05:00:18 +08:00
2026-10-15 00:34:14 +08:00
2026-10-31 10:57:56 +08:00