@oss-autopilot/core 3.14.1 → 3.14.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.
@@ -3,7 +3,11 @@
3
3
  *
4
4
  * The file format is one entry per line:
5
5
  * 2026-04-15 https://github.com/owner/repo/issues/123
6
- * Lines starting with `#` and blank lines are ignored.
6
+ * Lines starting with `#` and blank lines are ignored. A trailing inline
7
+ * comment is also allowed and ignored:
8
+ * 2026-04-15 https://github.com/owner/repo/issues/123 # reason for skipping
9
+ * The comment delimiter is whitespace followed by `#`, so a `#fragment` inside
10
+ * the URL (no preceding whitespace) is preserved, not treated as a comment.
7
11
  *
8
12
  * Produces SkippedIssue entries that plug directly into oss-scout's ScoutState
9
13
  * so the search engine filters already-skipped URLs out of results.
@@ -3,7 +3,11 @@
3
3
  *
4
4
  * The file format is one entry per line:
5
5
  * 2026-04-15 https://github.com/owner/repo/issues/123
6
- * Lines starting with `#` and blank lines are ignored.
6
+ * Lines starting with `#` and blank lines are ignored. A trailing inline
7
+ * comment is also allowed and ignored:
8
+ * 2026-04-15 https://github.com/owner/repo/issues/123 # reason for skipping
9
+ * The comment delimiter is whitespace followed by `#`, so a `#fragment` inside
10
+ * the URL (no preceding whitespace) is preserved, not treated as a comment.
7
11
  *
8
12
  * Produces SkippedIssue entries that plug directly into oss-scout's ScoutState
9
13
  * so the search engine filters already-skipped URLs out of results.
@@ -26,8 +30,10 @@ export function parseSkippedIssuesContent(content) {
26
30
  const line = lines[i].trim();
27
31
  if (line === '' || line.startsWith('#'))
28
32
  continue;
29
- // Split on first whitespace run: "YYYY-MM-DD <url>"
30
- const match = line.match(/^(\S+)\s+(\S+)\s*$/);
33
+ // Parse "YYYY-MM-DD <url>" with an optional trailing "# comment". The
34
+ // comment delimiter is whitespace followed by `#`, so a `#fragment` inside
35
+ // the URL (no preceding whitespace) stays part of the URL token.
36
+ const match = line.match(/^(\S+)\s+(\S+)(?:\s+#.*)?$/);
31
37
  if (!match) {
32
38
  warn('skip-file-parser', `Line ${lineNumber}: malformed (expected "<date> <url>"): ${line}`);
33
39
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oss-autopilot/core",
3
- "version": "3.14.1",
3
+ "version": "3.14.2",
4
4
  "description": "CLI and core library for managing open source contributions",
5
5
  "type": "module",
6
6
  "bin": {
@@ -54,7 +54,7 @@
54
54
  "dependencies": {
55
55
  "@octokit/plugin-throttling": "^11.0.3",
56
56
  "@octokit/rest": "^22.0.1",
57
- "@oss-scout/core": "^1.1.0",
57
+ "@oss-scout/core": "^1.2.0",
58
58
  "commander": "^15.0.0",
59
59
  "zod": "^4.4.3"
60
60
  },