@signetai/connector-gemini 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.
- package/dist/index.js +4 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -12730,7 +12730,10 @@ ${content}`);
|
|
|
12730
12730
|
function isSignetGeneratedFile(raw) {
|
|
12731
12731
|
const lines = raw.split(`
|
|
12732
12732
|
`).slice(0, 6);
|
|
12733
|
-
return lines.some((line, i) =>
|
|
12733
|
+
return lines.some((line, i) => {
|
|
12734
|
+
const nextLine = lines[i + 1];
|
|
12735
|
+
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 ?? "");
|
|
12736
|
+
});
|
|
12734
12737
|
}
|
|
12735
12738
|
function atomicWriteText(path, content, mode) {
|
|
12736
12739
|
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-gemini",
|
|
3
|
-
"version": "0.198.
|
|
3
|
+
"version": "0.198.2",
|
|
4
4
|
"description": "Signet connector for Gemini 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.
|
|
28
|
-
"@signetai/core": "0.198.
|
|
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",
|