@signetai/connector-base 0.214.41 → 0.216.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.
- package/dist/index.js +19 -19
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -41,32 +41,32 @@ import { createRequire } from "node:module";
|
|
|
41
41
|
import { dirname, join } from "node:path";
|
|
42
42
|
import { fileURLToPath } from "node:url";
|
|
43
43
|
import { createHash } from "node:crypto";
|
|
44
|
-
import { homedir as homedir2 } from "os";
|
|
45
|
-
import { join as join2 } from "path";
|
|
44
|
+
import { homedir as homedir2 } from "node:os";
|
|
45
|
+
import { join as join2, resolve } from "node:path";
|
|
46
46
|
import { execFileSync as execFileSync2 } from "node:child_process";
|
|
47
47
|
import { createHash as createHash2 } from "node:crypto";
|
|
48
48
|
import { createRequire as createRequire2 } from "node:module";
|
|
49
49
|
import {
|
|
50
50
|
closeSync as closeSync2,
|
|
51
|
-
existsSync as
|
|
51
|
+
existsSync as existsSync6,
|
|
52
52
|
fsyncSync as fsyncSync2,
|
|
53
53
|
mkdirSync as mkdirSync3,
|
|
54
54
|
openSync as openSync2,
|
|
55
|
-
readFileSync as
|
|
55
|
+
readFileSync as readFileSync5,
|
|
56
56
|
renameSync as renameSync2,
|
|
57
57
|
rmSync,
|
|
58
58
|
statSync as statSync3,
|
|
59
59
|
writeSync
|
|
60
60
|
} from "node:fs";
|
|
61
61
|
import { homedir as homedir4 } from "node:os";
|
|
62
|
-
import { dirname as dirname3, join as join7, resolve } from "node:path";
|
|
62
|
+
import { dirname as dirname3, join as join7, resolve as resolve2 } from "node:path";
|
|
63
63
|
import { createRequire as createRequire3 } from "node:module";
|
|
64
64
|
import { homedir as homedir5 } from "node:os";
|
|
65
|
-
import { dirname as dirname4, join as join8, resolve as
|
|
65
|
+
import { dirname as dirname4, join as join8, resolve as resolve3 } from "node:path";
|
|
66
66
|
import { homedir as homedir6, platform as platform2 } from "node:os";
|
|
67
|
-
import { basename, dirname as dirname5, resolve as
|
|
67
|
+
import { basename, dirname as dirname5, resolve as resolve5 } from "node:path";
|
|
68
68
|
import { homedir as homedir10 } from "node:os";
|
|
69
|
-
import { existsSync as
|
|
69
|
+
import { existsSync as existsSync15, lstatSync, mkdirSync as mkdirSync10, readdirSync as readdirSync7, symlinkSync, unlinkSync as unlinkSync2 } from "node:fs";
|
|
70
70
|
import { join as join15 } from "node:path";
|
|
71
71
|
var __create2 = Object.create;
|
|
72
72
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
@@ -7046,7 +7046,7 @@ var require_keyring = __commonJS2((exports, module) => {
|
|
|
7046
7046
|
var __filename2 = "/home/runner/work/signetai/signetai/node_modules/.bun/@napi-rs+keyring@1.3.0/node_modules/@napi-rs/keyring/index.js";
|
|
7047
7047
|
var { createRequire: createRequire22 } = __require("node:module");
|
|
7048
7048
|
__require = createRequire22(__filename2);
|
|
7049
|
-
var { readFileSync:
|
|
7049
|
+
var { readFileSync: readFileSync3 } = __require("node:fs");
|
|
7050
7050
|
var nativeBinding = null;
|
|
7051
7051
|
var loadErrors = [];
|
|
7052
7052
|
var isMusl = () => {
|
|
@@ -7065,7 +7065,7 @@ var require_keyring = __commonJS2((exports, module) => {
|
|
|
7065
7065
|
var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
|
|
7066
7066
|
var isMuslFromFilesystem = () => {
|
|
7067
7067
|
try {
|
|
7068
|
-
return
|
|
7068
|
+
return readFileSync3("/usr/bin/ldd", "utf-8").includes("musl");
|
|
7069
7069
|
} catch {
|
|
7070
7070
|
return null;
|
|
7071
7071
|
}
|
|
@@ -17599,7 +17599,7 @@ function resolveSignetDaemonUrl(opts = {}) {
|
|
|
17599
17599
|
var WORKSPACE_ENV_KEYS = ["SIGNET_PATH", "SIGNET_WORKSPACE"];
|
|
17600
17600
|
var DEFAULT_AGENTS_DIRNAME = ".agents";
|
|
17601
17601
|
function normalizeWorkspacePath(pathValue, home = homedir4()) {
|
|
17602
|
-
return
|
|
17602
|
+
return resolve2(expandHome(pathValue.trim(), home));
|
|
17603
17603
|
}
|
|
17604
17604
|
function readTrimmedEnv(env, name) {
|
|
17605
17605
|
const value = env[name];
|
|
@@ -17631,11 +17631,11 @@ function getWorkspaceConfigPath(env = process.env, home = homedir4()) {
|
|
|
17631
17631
|
function readConfiguredWorkspacePath(env = process.env, home = homedir4(), options = {}) {
|
|
17632
17632
|
const strict = options.strict ?? true;
|
|
17633
17633
|
const configPath = getWorkspaceConfigPath(env, home);
|
|
17634
|
-
if (!
|
|
17634
|
+
if (!existsSync6(configPath))
|
|
17635
17635
|
return null;
|
|
17636
17636
|
let raw;
|
|
17637
17637
|
try {
|
|
17638
|
-
raw = JSON.parse(
|
|
17638
|
+
raw = JSON.parse(readFileSync5(configPath, "utf-8"));
|
|
17639
17639
|
} catch (err) {
|
|
17640
17640
|
if (!strict)
|
|
17641
17641
|
return null;
|
|
@@ -17773,11 +17773,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
|
|
|
17773
17773
|
function defaultDiscordDesktopCachePath() {
|
|
17774
17774
|
switch (platform2()) {
|
|
17775
17775
|
case "darwin":
|
|
17776
|
-
return
|
|
17776
|
+
return resolve5(homedir6(), "Library", "Application Support", "discord");
|
|
17777
17777
|
case "win32":
|
|
17778
|
-
return
|
|
17778
|
+
return resolve5(process.env.APPDATA || resolve5(homedir6(), "AppData", "Roaming"), "discord");
|
|
17779
17779
|
default:
|
|
17780
|
-
return
|
|
17780
|
+
return resolve5(process.env.XDG_CONFIG_HOME || resolve5(homedir6(), ".config"), "discord");
|
|
17781
17781
|
}
|
|
17782
17782
|
}
|
|
17783
17783
|
var IDENTITY_FILES = {
|
|
@@ -17845,14 +17845,14 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
|
|
|
17845
17845
|
skipped: [],
|
|
17846
17846
|
errors: []
|
|
17847
17847
|
};
|
|
17848
|
-
if (!
|
|
17848
|
+
if (!existsSync15(sourceDir)) {
|
|
17849
17849
|
return result;
|
|
17850
17850
|
}
|
|
17851
17851
|
const targetParent = join15(targetDir, "..");
|
|
17852
|
-
if (!
|
|
17852
|
+
if (!existsSync15(targetParent)) {
|
|
17853
17853
|
mkdirSync10(targetParent, { recursive: true });
|
|
17854
17854
|
}
|
|
17855
|
-
if (!
|
|
17855
|
+
if (!existsSync15(targetDir)) {
|
|
17856
17856
|
mkdirSync10(targetDir, { recursive: true });
|
|
17857
17857
|
}
|
|
17858
17858
|
let entries;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.216.4",
|
|
4
4
|
"description": "Base class for Signet harness connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@signetai/core": "0.
|
|
29
|
+
"@signetai/core": "0.216.4",
|
|
30
30
|
"json5": "^2.2.3",
|
|
31
31
|
"jsonc-parser": "3.3.1"
|
|
32
32
|
},
|