ralph-hero-mcp-server 2.5.50 → 2.5.51
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.
- package/dist/lib/helpers.js +4 -2
- package/package.json +1 -1
package/dist/lib/helpers.js
CHANGED
|
@@ -319,7 +319,8 @@ export function resolveConfig(client, args) {
|
|
|
319
319
|
const owner = args.owner || client.config.owner;
|
|
320
320
|
const repo = args.repo || client.config.repo;
|
|
321
321
|
if (!owner)
|
|
322
|
-
throw new Error("owner is required
|
|
322
|
+
throw new Error("owner is required. Set RALPH_GH_OWNER in ~/.claude/settings.json (user-scoped) " +
|
|
323
|
+
"or .claude/settings.local.json (project-scoped), or pass owner explicitly.");
|
|
323
324
|
if (!repo)
|
|
324
325
|
throw new Error("repo is required. Set RALPH_GH_REPO env var, pass repo explicitly, or link exactly one repo to your project.");
|
|
325
326
|
return { owner, repo };
|
|
@@ -334,7 +335,8 @@ export function resolveConfig(client, args) {
|
|
|
334
335
|
export function resolveConfigOptionalRepo(client, args) {
|
|
335
336
|
const owner = args.owner || client.config.owner;
|
|
336
337
|
if (!owner)
|
|
337
|
-
throw new Error("owner is required
|
|
338
|
+
throw new Error("owner is required. Set RALPH_GH_OWNER in ~/.claude/settings.json (user-scoped) " +
|
|
339
|
+
"or .claude/settings.local.json (project-scoped), or pass owner explicitly.");
|
|
338
340
|
const repo = args.repo || client.config.repo;
|
|
339
341
|
return { owner, repo };
|
|
340
342
|
}
|