@signetai/connector-base 0.239.1 → 0.240.1
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/agent-dir.js +10 -10
- package/dist/index.js +10 -10
- package/package.json +2 -2
package/dist/agent-dir.js
CHANGED
|
@@ -19,14 +19,14 @@ import { createHash } from "node:crypto";
|
|
|
19
19
|
import { homedir as homedir2 } from "node:os";
|
|
20
20
|
import { join as join2, resolve as resolve2 } from "node:path";
|
|
21
21
|
import {
|
|
22
|
-
closeSync as
|
|
22
|
+
closeSync as closeSync5,
|
|
23
23
|
existsSync as existsSync12,
|
|
24
|
-
fsyncSync as
|
|
24
|
+
fsyncSync as fsyncSync4,
|
|
25
25
|
mkdirSync as mkdirSync6,
|
|
26
|
-
openSync as
|
|
27
|
-
readFileSync as
|
|
28
|
-
renameSync as
|
|
29
|
-
rmSync as
|
|
26
|
+
openSync as openSync5,
|
|
27
|
+
readFileSync as readFileSync10,
|
|
28
|
+
renameSync as renameSync4,
|
|
29
|
+
rmSync as rmSync5,
|
|
30
30
|
statSync as statSync5,
|
|
31
31
|
writeSync as writeSync2
|
|
32
32
|
} from "node:fs";
|
|
@@ -38,7 +38,7 @@ import { dirname as dirname6, join as join15, resolve as resolve7 } from "node:p
|
|
|
38
38
|
import { homedir as homedir6, platform as platform2 } from "node:os";
|
|
39
39
|
import { basename, dirname as dirname7, resolve as resolve8 } from "node:path";
|
|
40
40
|
import { homedir as homedir8 } from "node:os";
|
|
41
|
-
import { existsSync as existsSync18, lstatSync as
|
|
41
|
+
import { existsSync as existsSync18, lstatSync as lstatSync4, mkdirSync as mkdirSync10, readdirSync as readdirSync9, symlinkSync as symlinkSync2, unlinkSync as unlinkSync2 } from "node:fs";
|
|
42
42
|
import { join as join19 } from "node:path";
|
|
43
43
|
var __defProp = Object.defineProperty;
|
|
44
44
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -17895,7 +17895,7 @@ function readConfiguredWorkspacePath(env = process.env, home = homedir4(), optio
|
|
|
17895
17895
|
return null;
|
|
17896
17896
|
let raw;
|
|
17897
17897
|
try {
|
|
17898
|
-
raw = JSON.parse(
|
|
17898
|
+
raw = JSON.parse(readFileSync10(configPath, "utf-8"));
|
|
17899
17899
|
} catch (err) {
|
|
17900
17900
|
if (!strict)
|
|
17901
17901
|
return null;
|
|
@@ -18067,7 +18067,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
|
|
|
18067
18067
|
const srcPath = join19(sourceDir, entry);
|
|
18068
18068
|
const destPath = join19(targetDir, entry);
|
|
18069
18069
|
try {
|
|
18070
|
-
const src =
|
|
18070
|
+
const src = lstatSync4(srcPath);
|
|
18071
18071
|
if (src.isSymbolicLink() || !src.isDirectory()) {
|
|
18072
18072
|
result.skipped.push(srcPath);
|
|
18073
18073
|
continue;
|
|
@@ -18080,7 +18080,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
|
|
|
18080
18080
|
continue;
|
|
18081
18081
|
}
|
|
18082
18082
|
try {
|
|
18083
|
-
const destStat =
|
|
18083
|
+
const destStat = lstatSync4(destPath);
|
|
18084
18084
|
if (destStat.isSymbolicLink()) {
|
|
18085
18085
|
if (!options.dryRun) {
|
|
18086
18086
|
unlinkSync2(destPath);
|
package/dist/index.js
CHANGED
|
@@ -20,14 +20,14 @@ import { createHash } from "node:crypto";
|
|
|
20
20
|
import { homedir as homedir2 } from "node:os";
|
|
21
21
|
import { join as join2, resolve as resolve2 } from "node:path";
|
|
22
22
|
import {
|
|
23
|
-
closeSync as
|
|
23
|
+
closeSync as closeSync5,
|
|
24
24
|
existsSync as existsSync12,
|
|
25
|
-
fsyncSync as
|
|
25
|
+
fsyncSync as fsyncSync4,
|
|
26
26
|
mkdirSync as mkdirSync6,
|
|
27
|
-
openSync as
|
|
28
|
-
readFileSync as
|
|
29
|
-
renameSync as
|
|
30
|
-
rmSync as
|
|
27
|
+
openSync as openSync5,
|
|
28
|
+
readFileSync as readFileSync10,
|
|
29
|
+
renameSync as renameSync4,
|
|
30
|
+
rmSync as rmSync5,
|
|
31
31
|
statSync as statSync5,
|
|
32
32
|
writeSync as writeSync2
|
|
33
33
|
} from "node:fs";
|
|
@@ -39,7 +39,7 @@ import { dirname as dirname6, join as join15, resolve as resolve7 } from "node:p
|
|
|
39
39
|
import { homedir as homedir6, platform as platform2 } from "node:os";
|
|
40
40
|
import { basename, dirname as dirname7, resolve as resolve8 } from "node:path";
|
|
41
41
|
import { homedir as homedir8 } from "node:os";
|
|
42
|
-
import { existsSync as existsSync18, lstatSync as
|
|
42
|
+
import { existsSync as existsSync18, lstatSync as lstatSync4, mkdirSync as mkdirSync10, readdirSync as readdirSync9, symlinkSync as symlinkSync2, unlinkSync as unlinkSync2 } from "node:fs";
|
|
43
43
|
import { join as join19 } from "node:path";
|
|
44
44
|
var __defProp = Object.defineProperty;
|
|
45
45
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -17896,7 +17896,7 @@ function readConfiguredWorkspacePath(env = process.env, home = homedir4(), optio
|
|
|
17896
17896
|
return null;
|
|
17897
17897
|
let raw;
|
|
17898
17898
|
try {
|
|
17899
|
-
raw = JSON.parse(
|
|
17899
|
+
raw = JSON.parse(readFileSync10(configPath, "utf-8"));
|
|
17900
17900
|
} catch (err) {
|
|
17901
17901
|
if (!strict)
|
|
17902
17902
|
return null;
|
|
@@ -18068,7 +18068,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
|
|
|
18068
18068
|
const srcPath = join19(sourceDir, entry);
|
|
18069
18069
|
const destPath = join19(targetDir, entry);
|
|
18070
18070
|
try {
|
|
18071
|
-
const src =
|
|
18071
|
+
const src = lstatSync4(srcPath);
|
|
18072
18072
|
if (src.isSymbolicLink() || !src.isDirectory()) {
|
|
18073
18073
|
result.skipped.push(srcPath);
|
|
18074
18074
|
continue;
|
|
@@ -18081,7 +18081,7 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
|
|
|
18081
18081
|
continue;
|
|
18082
18082
|
}
|
|
18083
18083
|
try {
|
|
18084
|
-
const destStat =
|
|
18084
|
+
const destStat = lstatSync4(destPath);
|
|
18085
18085
|
if (destStat.isSymbolicLink()) {
|
|
18086
18086
|
if (!options.dryRun) {
|
|
18087
18087
|
unlinkSync2(destPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.240.1",
|
|
4
4
|
"description": "Base class for Signet harness connectors",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typecheck": "tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@signetai/core": "0.
|
|
33
|
+
"@signetai/core": "0.240.1",
|
|
34
34
|
"json5": "^2.2.3",
|
|
35
35
|
"jsonc-parser": "3.3.1"
|
|
36
36
|
},
|