Rename npm package to rea-agents

This commit is contained in:
morluto committed 2026-07-12 20:49:30 +08:00
1 parent 8f538373f0
commit b73558a7c9
125 files changed
+395 -394

No files matched your search

+3 -3
View File
@@ -17,9 +17,9 @@ describe("localized README product facts", () => {
async (path) => {
const content = await readFile(resolve(path), "utf8");
expect(content).toContain("npx skills add morluto/rea");
expect(content).toContain("npx -y @morluto/rea setup --yes");
expect(content).toContain("npx -y @morluto/rea doctor");
expect(content).toContain('"args": ["-y", "@morluto/rea", "mcp"]');
expect(content).toContain("npx -y rea-agents setup --yes");
expect(content).toContain("npx -y rea-agents doctor");
expect(content).toContain('"args": ["-y", "rea-agents", "mcp"]');
expect(content).toContain("Node.js 24");
expect(content).toContain("macOS 12");
expect(content).toMatch(/\b50\b/u);
+3 -3
View File
@@ -28,7 +28,7 @@ describe("JSON client configuration transaction", () => {
other: { command: "other" },
rea: {
command: "npx",
args: ["-y", "@morluto/rea", "mcp"],
args: ["-y", "rea-agents", "mcp"],
},
},
});
@@ -39,7 +39,7 @@ describe("JSON client configuration transaction", () => {
const configPath = join(directory, "mcp.json");
await writeFile(
configPath,
'{"mcpServers":{"rea":{"command":"npx","args":["-y","@morluto/rea","mcp"]}}}\n',
'{"mcpServers":{"rea":{"command":"npx","args":["-y","rea-agents","mcp"]}}}\n',
);
expect(await configureJsonClient({ name: "cursor", configPath })).toEqual({
status: "unchanged",
@@ -61,7 +61,7 @@ describe("JSON client configuration transaction", () => {
mcpServers: {
rea: {
command: "npx",
args: ["-y", "@morluto/rea", "mcp"],
args: ["-y", "rea-agents", "mcp"],
env: { HOPPER_LAUNCHER_PATH: hopperPath },
},
},