project-librarian 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,14 +40,11 @@ const path = __importStar(require("node:path"));
40
40
  const args_1 = require("./args");
41
41
  const skillName = "project-librarian";
42
42
  const allAgentTargets = ["codex", "claude", "cursor", "gemini"];
43
- const legacyBothAgentTargets = ["codex", "claude"];
44
43
  const packageFiles = [
45
44
  "SKILL.md",
46
45
  "dist",
47
46
  "README.md",
48
47
  "README.ko.md",
49
- "README.ja.md",
50
- "README.zh.md",
51
48
  "LICENSE",
52
49
  "package.json",
53
50
  "agents",
@@ -71,15 +68,11 @@ function installAgents() {
71
68
  for (const agent of allAgentTargets)
72
69
  agents.add(agent);
73
70
  }
74
- else if (part === "both") {
75
- for (const agent of legacyBothAgentTargets)
76
- agents.add(agent);
77
- }
78
71
  else if (allAgentTargets.includes(part)) {
79
72
  agents.add(part);
80
73
  }
81
74
  else {
82
- return fail(`invalid --agents entry: ${part}; expected codex, claude, cursor, gemini, all, or legacy both`);
75
+ return fail(`invalid --agents entry: ${part}; expected codex, claude, cursor, gemini, or all`);
83
76
  }
84
77
  }
85
78
  return Array.from(agents);
@@ -154,7 +147,7 @@ function runInstallSkillMode() {
154
147
  console.log(`scope: ${scope}`);
155
148
  console.log(`agents: ${agents.join(", ")}`);
156
149
  console.log("note: install-skill only installs the reusable skill files; it does not create or update AGENTS.md, CLAUDE.md, GEMINI.md, wiki/, .cursor/rules/, .cursor/hooks.json, .gemini/settings.json, .codex/hooks.json, or .claude/settings.json.");
157
- console.log("next: agents should run the installed local project-librarian runner from the target project root; direct shell users can still run `npx project-librarian` when registry access is available.");
150
+ console.log("next: ask your agent to use Project Librarian from the target project root; the installed skill resolves the local runner.");
158
151
  for (const [label, status] of rows) {
159
152
  console.log(`${status.padEnd(7)} ${label}`);
160
153
  }