@oss-scout/mcp 0.1.0 → 0.2.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.
@@ -35762,6 +35762,7 @@ var ScoutPreferencesSchema = external_exports3.object({
35762
35762
  labels: external_exports3.array(external_exports3.string()).default(["good first issue", "help wanted"]),
35763
35763
  scope: external_exports3.array(IssueScopeSchema).optional(),
35764
35764
  excludeRepos: external_exports3.array(external_exports3.string()).default([]),
35765
+ excludeOrgs: external_exports3.array(external_exports3.string()).default([]),
35765
35766
  aiPolicyBlocklist: external_exports3.array(external_exports3.string()).default(["matplotlib/matplotlib"]),
35766
35767
  preferredOrgs: external_exports3.array(external_exports3.string()).default([]),
35767
35768
  projectCategories: external_exports3.array(ProjectCategorySchema).default([]),
@@ -36930,6 +36931,7 @@ var IssueDiscovery = class {
36930
36931
  const minRepoScoreThreshold = config2.minRepoScoreThreshold;
36931
36932
  const lowScoringRepos = new Set(this.deriveLowScoringRepos(minRepoScoreThreshold));
36932
36933
  const excludedRepos = new Set(config2.excludeRepos);
36934
+ const excludeOrgs = new Set((config2.excludeOrgs ?? []).map((o) => o.toLowerCase()));
36933
36935
  const maxAgeDays = config2.maxIssueAgeDays || 90;
36934
36936
  const now = /* @__PURE__ */ new Date();
36935
36937
  const isAnyLanguage = languages.some((l) => l.toLowerCase() === "any");
@@ -36945,6 +36947,11 @@ var IssueDiscovery = class {
36945
36947
  const repoFullName = item.repository_url.split("/").slice(-2).join("/");
36946
36948
  if (excludedRepos.has(repoFullName))
36947
36949
  return false;
36950
+ if (excludeOrgs.size > 0) {
36951
+ const orgName = repoFullName.split("/")[0]?.toLowerCase();
36952
+ if (orgName && excludeOrgs.has(orgName))
36953
+ return false;
36954
+ }
36948
36955
  if (aiBlocklisted.has(repoFullName))
36949
36956
  return false;
36950
36957
  if (lowScoringRepos.has(repoFullName))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oss-scout/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "MCP server for oss-scout — exposes issue discovery and vetting as MCP tools",
5
5
  "type": "module",
6
6
  "bin": {