@signetai/connector-claude-code 0.198.1 → 0.198.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -12605,7 +12605,10 @@ ${content}`);
12605
12605
  function isSignetGeneratedFile(raw) {
12606
12606
  const lines = raw.split(`
12607
12607
  `).slice(0, 6);
12608
- return lines.some((line, i) => /^#\s+AUTO-GENERATED\s+from\s+.*\s+by\s+Signet/i.test(line) || /^#\s+Auto-generated\s+from\s+/.test(line) && i + 1 < lines.length && /^#\s+Source:\s+/.test(lines[i + 1]));
12608
+ return lines.some((line, i) => {
12609
+ const nextLine = lines[i + 1];
12610
+ return /^#\s+AUTO-GENERATED\s+from\s+.*\s+by\s+Signet/i.test(line) || /^#\s+Auto-generated\s+from\s+/.test(line) && /^#\s+Source:\s+/.test(nextLine ?? "");
12611
+ });
12609
12612
  }
12610
12613
  function atomicWriteText(path, content, mode) {
12611
12614
  const tmp = join3(dirname5(path), `.${randomBytes(6).toString("hex")}.tmp`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-claude-code",
3
- "version": "0.198.1",
3
+ "version": "0.198.2",
4
4
  "description": "Signet connector for Claude Code (Anthropic CLI)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@signetai/connector-base": "0.198.1",
28
- "@signetai/core": "0.198.1"
27
+ "@signetai/connector-base": "0.198.2",
28
+ "@signetai/core": "0.198.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",