@signetai/connector-openclaw 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
|
@@ -10,8 +10,15 @@ import { dirname as dirname2, isAbsolute, join as join3, relative, sep } from "n
|
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { dirname, join } from "node:path";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
13
|
+
import {
|
|
14
|
+
execFile as nodeExecFile,
|
|
15
|
+
execFileSync as nodeExecFileSync,
|
|
16
|
+
execSync as nodeExecSync,
|
|
17
|
+
spawn as nodeSpawn,
|
|
18
|
+
spawnSync as nodeSpawnSync
|
|
19
|
+
} from "node:child_process";
|
|
20
|
+
import { promisify } from "node:util";
|
|
13
21
|
import { createHash } from "node:crypto";
|
|
14
|
-
import { execFileSync as execFileSync3 } from "node:child_process";
|
|
15
22
|
import { createHash as createHash2 } from "node:crypto";
|
|
16
23
|
import { createRequire as createRequire2 } from "node:module";
|
|
17
24
|
import { createRequire as createRequire3 } from "node:module";
|
|
@@ -11164,6 +11171,37 @@ var PIPELINE_PROVIDER_CHOICES = [
|
|
|
11164
11171
|
var SYNTHESIS_PROVIDER_CHOICES = PIPELINE_PROVIDER_CHOICES.filter((provider) => provider !== "command");
|
|
11165
11172
|
var PIPELINE_PROVIDER_SET = new Set(PIPELINE_PROVIDER_CHOICES);
|
|
11166
11173
|
var SYNTHESIS_PROVIDER_SET = new Set(SYNTHESIS_PROVIDER_CHOICES);
|
|
11174
|
+
function withWindowsHide(options) {
|
|
11175
|
+
return {
|
|
11176
|
+
...options ?? {},
|
|
11177
|
+
windowsHide: options?.windowsHide ?? true
|
|
11178
|
+
};
|
|
11179
|
+
}
|
|
11180
|
+
function isOptions(value) {
|
|
11181
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
11182
|
+
}
|
|
11183
|
+
function withWindowsHideArgument(args, firstOptionIndex) {
|
|
11184
|
+
const normalized = [...args];
|
|
11185
|
+
const optionIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && isOptions(value));
|
|
11186
|
+
if (optionIndex >= 0) {
|
|
11187
|
+
normalized[optionIndex] = withWindowsHide(normalized[optionIndex]);
|
|
11188
|
+
return normalized;
|
|
11189
|
+
}
|
|
11190
|
+
const placeholderIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && (value === undefined || value === null));
|
|
11191
|
+
if (placeholderIndex >= 0) {
|
|
11192
|
+
normalized[placeholderIndex] = withWindowsHide(undefined);
|
|
11193
|
+
return normalized;
|
|
11194
|
+
}
|
|
11195
|
+
const callbackIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && typeof value === "function");
|
|
11196
|
+
normalized.splice(callbackIndex >= 0 ? callbackIndex : normalized.length, 0, { windowsHide: true });
|
|
11197
|
+
return normalized;
|
|
11198
|
+
}
|
|
11199
|
+
var nodeExecFileAsync = promisify(nodeExecFile);
|
|
11200
|
+
var execFileHiddenImpl = (...args) => Reflect.apply(nodeExecFile, undefined, withWindowsHideArgument(args, 1));
|
|
11201
|
+
Object.defineProperty(execFileHiddenImpl, promisify.custom, {
|
|
11202
|
+
value: (...args) => Reflect.apply(nodeExecFileAsync, undefined, withWindowsHideArgument(args, 1))
|
|
11203
|
+
});
|
|
11204
|
+
var execFileSyncHidden = (...args) => Reflect.apply(nodeExecFileSync, undefined, withWindowsHideArgument(args, 1));
|
|
11167
11205
|
var MEMORY_CONTENT_SAFETY_POLICY_VERSION = "memory-content-safety-v1";
|
|
11168
11206
|
var MEMORY_CONTENT_SAFETY_REASONS = [
|
|
11169
11207
|
"prompt_injection",
|
|
@@ -17679,7 +17717,7 @@ function linuxKeyringAvailable() {
|
|
|
17679
17717
|
};
|
|
17680
17718
|
}
|
|
17681
17719
|
try {
|
|
17682
|
-
|
|
17720
|
+
execFileSyncHidden("busctl", ["--user", "status", "org.freedesktop.secrets"], {
|
|
17683
17721
|
stdio: "ignore",
|
|
17684
17722
|
timeout: 1000
|
|
17685
17723
|
});
|
|
@@ -20063,10 +20101,17 @@ function parseLenientJsonObject(raw, options) {
|
|
|
20063
20101
|
import { createRequire as createRequire4 } from "node:module";
|
|
20064
20102
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
20065
20103
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
20104
|
+
import {
|
|
20105
|
+
execFile as nodeExecFile2,
|
|
20106
|
+
execFileSync as nodeExecFileSync2,
|
|
20107
|
+
execSync as nodeExecSync2,
|
|
20108
|
+
spawn as nodeSpawn2,
|
|
20109
|
+
spawnSync as nodeSpawnSync2
|
|
20110
|
+
} from "node:child_process";
|
|
20111
|
+
import { promisify as promisify2 } from "node:util";
|
|
20066
20112
|
import { createHash as createHash3 } from "node:crypto";
|
|
20067
20113
|
import { homedir as homedir2 } from "node:os";
|
|
20068
20114
|
import { join as join22, resolve } from "node:path";
|
|
20069
|
-
import { execFileSync as execFileSync32 } from "node:child_process";
|
|
20070
20115
|
import { createHash as createHash22 } from "node:crypto";
|
|
20071
20116
|
import { createRequire as createRequire22 } from "node:module";
|
|
20072
20117
|
import { createRequire as createRequire32 } from "node:module";
|
|
@@ -31217,6 +31262,37 @@ var PIPELINE_PROVIDER_CHOICES2 = [
|
|
|
31217
31262
|
var SYNTHESIS_PROVIDER_CHOICES2 = PIPELINE_PROVIDER_CHOICES2.filter((provider) => provider !== "command");
|
|
31218
31263
|
var PIPELINE_PROVIDER_SET2 = new Set(PIPELINE_PROVIDER_CHOICES2);
|
|
31219
31264
|
var SYNTHESIS_PROVIDER_SET2 = new Set(SYNTHESIS_PROVIDER_CHOICES2);
|
|
31265
|
+
function withWindowsHide2(options) {
|
|
31266
|
+
return {
|
|
31267
|
+
...options ?? {},
|
|
31268
|
+
windowsHide: options?.windowsHide ?? true
|
|
31269
|
+
};
|
|
31270
|
+
}
|
|
31271
|
+
function isOptions2(value) {
|
|
31272
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
31273
|
+
}
|
|
31274
|
+
function withWindowsHideArgument2(args, firstOptionIndex) {
|
|
31275
|
+
const normalized = [...args];
|
|
31276
|
+
const optionIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && isOptions2(value));
|
|
31277
|
+
if (optionIndex >= 0) {
|
|
31278
|
+
normalized[optionIndex] = withWindowsHide2(normalized[optionIndex]);
|
|
31279
|
+
return normalized;
|
|
31280
|
+
}
|
|
31281
|
+
const placeholderIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && (value === undefined || value === null));
|
|
31282
|
+
if (placeholderIndex >= 0) {
|
|
31283
|
+
normalized[placeholderIndex] = withWindowsHide2(undefined);
|
|
31284
|
+
return normalized;
|
|
31285
|
+
}
|
|
31286
|
+
const callbackIndex = normalized.findIndex((value, index) => index >= firstOptionIndex && typeof value === "function");
|
|
31287
|
+
normalized.splice(callbackIndex >= 0 ? callbackIndex : normalized.length, 0, { windowsHide: true });
|
|
31288
|
+
return normalized;
|
|
31289
|
+
}
|
|
31290
|
+
var nodeExecFileAsync2 = promisify2(nodeExecFile2);
|
|
31291
|
+
var execFileHiddenImpl2 = (...args) => Reflect.apply(nodeExecFile2, undefined, withWindowsHideArgument2(args, 1));
|
|
31292
|
+
Object.defineProperty(execFileHiddenImpl2, promisify2.custom, {
|
|
31293
|
+
value: (...args) => Reflect.apply(nodeExecFileAsync2, undefined, withWindowsHideArgument2(args, 1))
|
|
31294
|
+
});
|
|
31295
|
+
var execFileSyncHidden2 = (...args) => Reflect.apply(nodeExecFileSync2, undefined, withWindowsHideArgument2(args, 1));
|
|
31220
31296
|
var MEMORY_CONTENT_SAFETY_POLICY_VERSION2 = "memory-content-safety-v1";
|
|
31221
31297
|
var MEMORY_CONTENT_SAFETY_REASONS2 = [
|
|
31222
31298
|
"prompt_injection",
|
|
@@ -37739,7 +37815,7 @@ function linuxKeyringAvailable2() {
|
|
|
37739
37815
|
};
|
|
37740
37816
|
}
|
|
37741
37817
|
try {
|
|
37742
|
-
|
|
37818
|
+
execFileSyncHidden2("busctl", ["--user", "status", "org.freedesktop.secrets"], {
|
|
37743
37819
|
stdio: "ignore",
|
|
37744
37820
|
timeout: 1000
|
|
37745
37821
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-openclaw",
|
|
3
|
-
"version": "0.219.
|
|
3
|
+
"version": "0.219.6",
|
|
4
4
|
"description": "Signet connector for OpenClaw - configures workspace and memory hooks",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"test": "bun test"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@signetai/connector-base": "0.219.
|
|
29
|
-
"@signetai/core": "0.219.
|
|
28
|
+
"@signetai/connector-base": "0.219.6",
|
|
29
|
+
"@signetai/core": "0.219.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|