@oss-scout/mcp 0.12.1 → 0.12.2
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp-server.bundle.cjs +18 -8
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export { registerResources } from "./resources.js";
|
|
|
12
12
|
/** Server identity, kept in one place for the bin and any embedding host. */
|
|
13
13
|
export declare const SERVER_INFO: {
|
|
14
14
|
readonly name: "oss-scout-mcp";
|
|
15
|
-
readonly version: "0.12.
|
|
15
|
+
readonly version: "0.12.2";
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* Build a fully-wired MCP server (tools + resources) around a scout.
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ export { registerResources } from "./resources.js";
|
|
|
15
15
|
/** Server identity, kept in one place for the bin and any embedding host. */
|
|
16
16
|
export const SERVER_INFO = {
|
|
17
17
|
name: "oss-scout-mcp",
|
|
18
|
-
version: "0.12.
|
|
18
|
+
version: "0.12.2", // x-release-please-version
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* Build a fully-wired MCP server (tools + resources) around a scout.
|
|
@@ -7,7 +7,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __commonJS = (cb, mod) => function __require() {
|
|
10
|
-
|
|
10
|
+
try {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
} catch (e) {
|
|
13
|
+
throw mod = 0, e;
|
|
14
|
+
}
|
|
11
15
|
};
|
|
12
16
|
var __export = (target, all) => {
|
|
13
17
|
for (var name in all)
|
|
@@ -41221,6 +41225,7 @@ var OssScout = class {
|
|
|
41221
41225
|
if (hit) {
|
|
41222
41226
|
if (metadata?.permanent === true && hit.permanent !== true) {
|
|
41223
41227
|
hit.permanent = true;
|
|
41228
|
+
hit.skippedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
41224
41229
|
this.dirty = true;
|
|
41225
41230
|
}
|
|
41226
41231
|
return;
|
|
@@ -41272,13 +41277,14 @@ var OssScout = class {
|
|
|
41272
41277
|
* Called at the start of each search (#348) to re-surface issues whose
|
|
41273
41278
|
* transient block condition (closed competing PR, own in-flight PR, soft-skip
|
|
41274
41279
|
* accumulation) has aged out. Permanent entries (manual skips, terminal vetter
|
|
41275
|
-
* reasons) are never touched.
|
|
41280
|
+
* reasons) are never touched. Culled URLs get deletion tombstones so a gist
|
|
41281
|
+
* merge with another machine's older copy does not bring them back.
|
|
41276
41282
|
* @returns The number of expired entries that were removed.
|
|
41277
41283
|
*/
|
|
41278
41284
|
cullExpiredSkips(maxDays = 90) {
|
|
41279
41285
|
const cutoff = /* @__PURE__ */ new Date();
|
|
41280
41286
|
cutoff.setDate(cutoff.getDate() - maxDays);
|
|
41281
|
-
const
|
|
41287
|
+
const culledUrls = [];
|
|
41282
41288
|
this.state.skippedIssues = (this.state.skippedIssues ?? []).filter((s) => {
|
|
41283
41289
|
if (s.permanent !== false)
|
|
41284
41290
|
return true;
|
|
@@ -41286,12 +41292,16 @@ var OssScout = class {
|
|
|
41286
41292
|
if (isNaN(d.getTime())) {
|
|
41287
41293
|
return true;
|
|
41288
41294
|
}
|
|
41289
|
-
|
|
41295
|
+
if (d >= cutoff)
|
|
41296
|
+
return true;
|
|
41297
|
+
culledUrls.push(s.url);
|
|
41298
|
+
return false;
|
|
41290
41299
|
});
|
|
41291
|
-
|
|
41292
|
-
|
|
41300
|
+
if (culledUrls.length > 0) {
|
|
41301
|
+
this.addTombstones(culledUrls);
|
|
41293
41302
|
this.dirty = true;
|
|
41294
|
-
|
|
41303
|
+
}
|
|
41304
|
+
return culledUrls.length;
|
|
41295
41305
|
}
|
|
41296
41306
|
// ── Persistence ─────────────────────────────────────────────────────
|
|
41297
41307
|
/**
|
|
@@ -41884,7 +41894,7 @@ function registerResources(server, scout) {
|
|
|
41884
41894
|
// src/index.ts
|
|
41885
41895
|
var SERVER_INFO = {
|
|
41886
41896
|
name: "oss-scout-mcp",
|
|
41887
|
-
version: "0.12.
|
|
41897
|
+
version: "0.12.2"
|
|
41888
41898
|
// x-release-please-version
|
|
41889
41899
|
};
|
|
41890
41900
|
function createServer(scout) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oss-scout/mcp",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "MCP server for oss-scout — exposes issue discovery and vetting as MCP tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
20
20
|
"zod": "^4.3.6",
|
|
21
|
-
"@oss-scout/core": "^1.8.
|
|
21
|
+
"@oss-scout/core": "^1.8.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^25.5.0",
|
|
25
|
-
"@vitest/coverage-v8": "^4.1.
|
|
26
|
-
"esbuild": "^0.
|
|
27
|
-
"tsx": "^4.
|
|
25
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
26
|
+
"esbuild": "^0.28.1",
|
|
27
|
+
"tsx": "^4.23.15",
|
|
28
28
|
"typescript": "^5.9.3",
|
|
29
29
|
"vite": "^8.0.5",
|
|
30
|
-
"vitest": "^4.1.
|
|
30
|
+
"vitest": "^4.1.11"
|
|
31
31
|
},
|
|
32
32
|
"keywords": [
|
|
33
33
|
"mcp",
|