dsh-plugin-github-issues 0.8.3 → 0.8.4

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.
Files changed (2) hide show
  1. package/lib/client.js +2 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -5938,7 +5938,8 @@ var GITHUB_ISSUE_RULE = {
5938
5938
  match(text2, from) {
5939
5939
  ISSUE_HEADING.lastIndex = from;
5940
5940
  for (let match = ISSUE_HEADING.exec(text2); match !== null; match = ISSUE_HEADING.exec(text2)) {
5941
- if (match.index !== 0 && text2[match.index - 1] !== "\n") continue;
5941
+ const before = match.index === 0 ? "" : text2[match.index - 1] ?? "";
5942
+ if (before !== "" && before !== "\n" && !/\s/u.test(before)) continue;
5942
5943
  const repo = match[1];
5943
5944
  const numberText = match[2];
5944
5945
  if (repo === void 0 || numberText === void 0) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-github-issues",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Browse GitHub issues, milestones, labels, priority, and linked PR status inside DeepSeek Harness, and hand an issue to the agent by dragging it into the composer.",
5
5
  "keywords": [
6
6
  "dsh-plugin",