@signetai/connector-hermes-agent 0.228.0 → 0.228.3
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 +6 -6
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { promisify } from "node:util";
|
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
14
14
|
import { homedir as homedir2 } from "node:os";
|
|
15
15
|
import { join as join2, resolve as resolve2 } from "node:path";
|
|
16
|
-
import { constants as fsConstants } from "node:fs";
|
|
16
|
+
import { constants as fsConstants, fstatSync } from "node:fs";
|
|
17
17
|
import { createRequire as createRequire2 } from "node:module";
|
|
18
18
|
import { homedir as homedir5 } from "node:os";
|
|
19
19
|
import { dirname as dirname6, join as join14, resolve as resolve8 } from "node:path";
|
|
@@ -17543,7 +17543,7 @@ import {
|
|
|
17543
17543
|
closeSync,
|
|
17544
17544
|
constants,
|
|
17545
17545
|
existsSync as existsSync2,
|
|
17546
|
-
fstatSync,
|
|
17546
|
+
fstatSync as fstatSync3,
|
|
17547
17547
|
ftruncateSync,
|
|
17548
17548
|
lstatSync,
|
|
17549
17549
|
mkdirSync,
|
|
@@ -17573,7 +17573,7 @@ import {
|
|
|
17573
17573
|
} from "node:child_process";
|
|
17574
17574
|
import { promisify as promisify2 } from "node:util";
|
|
17575
17575
|
import { createHash as createHash2 } from "node:crypto";
|
|
17576
|
-
import { constants as fsConstants2 } from "node:fs";
|
|
17576
|
+
import { constants as fsConstants2, fstatSync as fstatSync2 } from "node:fs";
|
|
17577
17577
|
import { createRequire as createRequire22 } from "node:module";
|
|
17578
17578
|
import { homedir as homedir52 } from "node:os";
|
|
17579
17579
|
import { dirname as dirname62, join as join142, resolve as resolve82 } from "node:path";
|
|
@@ -35481,7 +35481,7 @@ function writeContainedFile(targetPath, content, targetRoot) {
|
|
|
35481
35481
|
const fileFd = openSync(filePath, constants.O_WRONLY | constants.O_NOFOLLOW | (existingFileIdentity === undefined ? constants.O_CREAT | constants.O_EXCL : 0), 438);
|
|
35482
35482
|
try {
|
|
35483
35483
|
const expectedFile = join6(expected, fileName);
|
|
35484
|
-
if (existingFileIdentity !== undefined && !sameStatIdentity(existingFileIdentity,
|
|
35484
|
+
if (existingFileIdentity !== undefined && !sameStatIdentity(existingFileIdentity, fstatSync3(fileFd))) {
|
|
35485
35485
|
throw new Error(`Hermes target file changed during secure write: ${targetPath}`);
|
|
35486
35486
|
}
|
|
35487
35487
|
if (realpathSync3(descriptorPath(fileFd)) !== expectedFile) {
|
|
@@ -35565,7 +35565,7 @@ function removeDirectoryContentsNoFollow(directoryFd, expectedDirectoryPath) {
|
|
|
35565
35565
|
if (entry.isDirectory() && !entry.isSymbolicLink()) {
|
|
35566
35566
|
const childFd = openDirectoryNoFollow(childPath);
|
|
35567
35567
|
try {
|
|
35568
|
-
const childIdentity2 =
|
|
35568
|
+
const childIdentity2 = fstatSync3(childFd);
|
|
35569
35569
|
if (realpathSync3(descriptorPath(childFd)) !== expectedChildPath) {
|
|
35570
35570
|
throw new Error(`Hermes target directory changed during secure removal: ${expectedChildPath}`);
|
|
35571
35571
|
}
|
|
@@ -35615,7 +35615,7 @@ function removeContainedDirectory(targetPath, targetRoot, targetKind) {
|
|
|
35615
35615
|
const targetEntryPath = join6(descriptorPath(parentFd), targetName);
|
|
35616
35616
|
const targetFd = openDirectoryNoFollow(targetEntryPath);
|
|
35617
35617
|
try {
|
|
35618
|
-
const targetIdentity =
|
|
35618
|
+
const targetIdentity = fstatSync3(targetFd);
|
|
35619
35619
|
const expectedTarget = join6(expected, targetName);
|
|
35620
35620
|
if (realpathSync3(descriptorPath(targetFd)) !== expectedTarget) {
|
|
35621
35621
|
throw new Error(`Hermes target directory changed during secure removal: ${targetPath}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-hermes-agent",
|
|
3
|
-
"version": "0.228.
|
|
3
|
+
"version": "0.228.3",
|
|
4
4
|
"description": "Signet connector for Hermes Agent — installs Signet as a pluggable memory provider",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"typecheck": "tsc --noEmit"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@signetai/connector-base": "0.228.
|
|
29
|
-
"@signetai/core": "0.228.
|
|
28
|
+
"@signetai/connector-base": "0.228.3",
|
|
29
|
+
"@signetai/core": "0.228.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|