@signetai/connector-forge 0.219.4 → 0.219.6
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 +80 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -21,10 +21,17 @@ import { dirname as dirname2, isAbsolute, join as join3, relative, sep } from "n
|
|
|
21
21
|
import { createRequire } from "node:module";
|
|
22
22
|
import { dirname, join } from "node:path";
|
|
23
23
|
import { fileURLToPath } from "node:url";
|
|
24
|
+
import {
|
|
25
|
+
execFile as nodeExecFile,
|
|
26
|
+
execFileSync as nodeExecFileSync,
|
|
27
|
+
execSync as nodeExecSync,
|
|
28
|
+
spawn as nodeSpawn,
|
|
29
|
+
spawnSync as nodeSpawnSync
|
|
30
|
+
} from "node:child_process";
|
|
31
|
+
import { promisify } from "node:util";
|
|
24
32
|
import { createHash } from "node:crypto";
|
|
25
33
|
import { homedir as homedir2 } from "node:os";
|
|
26
34
|
import { join as join2, resolve } from "node:path";
|
|
27
|
-
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
28
35
|
import { createHash as createHash2 } from "node:crypto";
|
|
29
36
|
import { createRequire as createRequire2 } from "node:module";
|
|
30
37
|
import {
|
|
@@ -11191,6 +11198,37 @@ var PIPELINE_PROVIDER_CHOICES = [
|
|
|
11191
11198
|
var SYNTHESIS_PROVIDER_CHOICES = PIPELINE_PROVIDER_CHOICES.filter((provider) => provider !== "command");
|
|
11192
11199
|
var PIPELINE_PROVIDER_SET = new Set(PIPELINE_PROVIDER_CHOICES);
|
|
11193
11200
|
var SYNTHESIS_PROVIDER_SET = new Set(SYNTHESIS_PROVIDER_CHOICES);
|
|
11201
|
+
function withWindowsHide(options) {
|
|
11202
|
+
return {
|
|
11203
|
+
...options ?? {},
|
|
11204
|
+
windowsHide: options?.windowsHide ?? true
|
|
11205
|
+
};
|
|
11206
|
+
}
|
|
11207
|
+
function isOptions(value) {
|
|
11208
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11209
|
+
}
|
|
11210
|
+
function withWindowsHideArgument(args, firstOptionIndex) {
|
|
11211
|
+
const normalized = [...args];
|
|
11212
|
+
const optionIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && isOptions(value));
|
|
11213
|
+
if (optionIndex >= 0) {
|
|
11214
|
+
normalized[optionIndex] = withWindowsHide(normalized[optionIndex]);
|
|
11215
|
+
return normalized;
|
|
11216
|
+
}
|
|
11217
|
+
const placeholderIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && (value === undefined || value === null));
|
|
11218
|
+
if (placeholderIndex >= 0) {
|
|
11219
|
+
normalized[placeholderIndex] = withWindowsHide(undefined);
|
|
11220
|
+
return normalized;
|
|
11221
|
+
}
|
|
11222
|
+
const callbackIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && typeof value === "function");
|
|
11223
|
+
normalized.splice(callbackIndex >= 0 ? callbackIndex : normalized.length, 0, { windowsHide: true });
|
|
11224
|
+
return normalized;
|
|
11225
|
+
}
|
|
11226
|
+
var nodeExecFileAsync = promisify(nodeExecFile);
|
|
11227
|
+
var execFileHiddenImpl = (...args) => Reflect.apply(nodeExecFile, undefined, withWindowsHideArgument(args, 1));
|
|
11228
|
+
Object.defineProperty(execFileHiddenImpl, promisify.custom, {
|
|
11229
|
+
value: (...args) => Reflect.apply(nodeExecFileAsync, undefined, withWindowsHideArgument(args, 1))
|
|
11230
|
+
});
|
|
11231
|
+
var execFileSyncHidden = (...args) => Reflect.apply(nodeExecFileSync, undefined, withWindowsHideArgument(args, 1));
|
|
11194
11232
|
var MEMORY_CONTENT_SAFETY_POLICY_VERSION = "memory-content-safety-v1";
|
|
11195
11233
|
var MEMORY_CONTENT_SAFETY_REASONS = [
|
|
11196
11234
|
"prompt_injection",
|
|
@@ -17713,7 +17751,7 @@ function linuxKeyringAvailable() {
|
|
|
17713
17751
|
};
|
|
17714
17752
|
}
|
|
17715
17753
|
try {
|
|
17716
|
-
|
|
17754
|
+
execFileSyncHidden("busctl", ["--user", "status", "org.freedesktop.secrets"], {
|
|
17717
17755
|
stdio: "ignore",
|
|
17718
17756
|
timeout: 1000
|
|
17719
17757
|
});
|
|
@@ -18350,10 +18388,17 @@ function resolveRemoteDaemonUrl() {
|
|
|
18350
18388
|
import { createRequire as createRequire4 } from "node:module";
|
|
18351
18389
|
import { dirname as dirname6, join as join4 } from "node:path";
|
|
18352
18390
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
18391
|
+
import {
|
|
18392
|
+
execFile as nodeExecFile2,
|
|
18393
|
+
execFileSync as nodeExecFileSync2,
|
|
18394
|
+
execSync as nodeExecSync2,
|
|
18395
|
+
spawn as nodeSpawn2,
|
|
18396
|
+
spawnSync as nodeSpawnSync2
|
|
18397
|
+
} from "node:child_process";
|
|
18398
|
+
import { promisify as promisify2 } from "node:util";
|
|
18353
18399
|
import { createHash as createHash3 } from "node:crypto";
|
|
18354
18400
|
import { homedir as homedir22 } from "node:os";
|
|
18355
18401
|
import { join as join22, resolve as resolve4 } from "node:path";
|
|
18356
|
-
import { execFileSync as execFileSync32 } from "node:child_process";
|
|
18357
18402
|
import { createHash as createHash22 } from "node:crypto";
|
|
18358
18403
|
import { createRequire as createRequire22 } from "node:module";
|
|
18359
18404
|
import { createRequire as createRequire32 } from "node:module";
|
|
@@ -29506,6 +29551,37 @@ var PIPELINE_PROVIDER_CHOICES2 = [
|
|
|
29506
29551
|
var SYNTHESIS_PROVIDER_CHOICES2 = PIPELINE_PROVIDER_CHOICES2.filter((provider) => provider !== "command");
|
|
29507
29552
|
var PIPELINE_PROVIDER_SET2 = new Set(PIPELINE_PROVIDER_CHOICES2);
|
|
29508
29553
|
var SYNTHESIS_PROVIDER_SET2 = new Set(SYNTHESIS_PROVIDER_CHOICES2);
|
|
29554
|
+
function withWindowsHide2(options) {
|
|
29555
|
+
return {
|
|
29556
|
+
...options ?? {},
|
|
29557
|
+
windowsHide: options?.windowsHide ?? true
|
|
29558
|
+
};
|
|
29559
|
+
}
|
|
29560
|
+
function isOptions2(value) {
|
|
29561
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
29562
|
+
}
|
|
29563
|
+
function withWindowsHideArgument2(args, firstOptionIndex) {
|
|
29564
|
+
const normalized = [...args];
|
|
29565
|
+
const optionIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && isOptions2(value));
|
|
29566
|
+
if (optionIndex >= 0) {
|
|
29567
|
+
normalized[optionIndex] = withWindowsHide2(normalized[optionIndex]);
|
|
29568
|
+
return normalized;
|
|
29569
|
+
}
|
|
29570
|
+
const placeholderIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && (value === undefined || value === null));
|
|
29571
|
+
if (placeholderIndex >= 0) {
|
|
29572
|
+
normalized[placeholderIndex] = withWindowsHide2(undefined);
|
|
29573
|
+
return normalized;
|
|
29574
|
+
}
|
|
29575
|
+
const callbackIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && typeof value === "function");
|
|
29576
|
+
normalized.splice(callbackIndex >= 0 ? callbackIndex : normalized.length, 0, { windowsHide: true });
|
|
29577
|
+
return normalized;
|
|
29578
|
+
}
|
|
29579
|
+
var nodeExecFileAsync2 = promisify2(nodeExecFile2);
|
|
29580
|
+
var execFileHiddenImpl2 = (...args) => Reflect.apply(nodeExecFile2, undefined, withWindowsHideArgument2(args, 1));
|
|
29581
|
+
Object.defineProperty(execFileHiddenImpl2, promisify2.custom, {
|
|
29582
|
+
value: (...args) => Reflect.apply(nodeExecFileAsync2, undefined, withWindowsHideArgument2(args, 1))
|
|
29583
|
+
});
|
|
29584
|
+
var execFileSyncHidden2 = (...args) => Reflect.apply(nodeExecFileSync2, undefined, withWindowsHideArgument2(args, 1));
|
|
29509
29585
|
var MEMORY_CONTENT_SAFETY_POLICY_VERSION2 = "memory-content-safety-v1";
|
|
29510
29586
|
var MEMORY_CONTENT_SAFETY_REASONS2 = [
|
|
29511
29587
|
"prompt_injection",
|
|
@@ -36028,7 +36104,7 @@ function linuxKeyringAvailable2() {
|
|
|
36028
36104
|
};
|
|
36029
36105
|
}
|
|
36030
36106
|
try {
|
|
36031
|
-
|
|
36107
|
+
execFileSyncHidden2("busctl", ["--user", "status", "org.freedesktop.secrets"], {
|
|
36032
36108
|
stdio: "ignore",
|
|
36033
36109
|
timeout: 1000
|
|
36034
36110
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-forge",
|
|
3
|
-
"version": "0.219.
|
|
3
|
+
"version": "0.219.6",
|
|
4
4
|
"description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
|
|
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.219.
|
|
28
|
-
"@signetai/core": "0.219.
|
|
27
|
+
"@signetai/connector-base": "0.219.6",
|
|
28
|
+
"@signetai/core": "0.219.6"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "^22.0.0",
|