signetai 0.139.0 → 0.140.2
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/mcp-stdio.js +24 -22
- package/native-manifest.json +13 -13
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -28506,6 +28506,8 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
28506
28506
|
import { createRequire } from "node:module";
|
|
28507
28507
|
import { dirname, join } from "node:path";
|
|
28508
28508
|
import { fileURLToPath } from "node:url";
|
|
28509
|
+
import { homedir as homedir2 } from "os";
|
|
28510
|
+
import { join as join2 } from "path";
|
|
28509
28511
|
import { createRequire as createRequire2 } from "node:module";
|
|
28510
28512
|
import { existsSync as existsSync4, mkdirSync as mkdirSync2, readFileSync as readFileSync3, renameSync, rmSync, writeFileSync as writeFileSync2 } from "node:fs";
|
|
28511
28513
|
import { dirname as dirname2, join as join5, resolve } from "node:path";
|
|
@@ -38591,6 +38593,9 @@ var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
|
38591
38593
|
var __filename2 = fileURLToPath(import.meta.url);
|
|
38592
38594
|
var __dirname2 = dirname(__filename2);
|
|
38593
38595
|
var import_yaml = __toESM2(require_dist2(), 1);
|
|
38596
|
+
function resolveDefaultBasePath() {
|
|
38597
|
+
return process.env.SIGNET_PATH || join2(homedir2(), ".agents");
|
|
38598
|
+
}
|
|
38594
38599
|
var LOCAL_BINDS = new Set(["127.0.0.1", "localhost", "::1", "::ffff:127.0.0.1"]);
|
|
38595
38600
|
var import_yaml2 = __toESM2(require_dist2(), 1);
|
|
38596
38601
|
var native = null;
|
|
@@ -39095,9 +39100,9 @@ var SKIP_FILES = new Set([".DS_Store", "Thumbs.db", ".gitkeep", "node_modules",
|
|
|
39095
39100
|
import { spawn } from "node:child_process";
|
|
39096
39101
|
import { constants, accessSync, existsSync } from "node:fs";
|
|
39097
39102
|
import { homedir } from "node:os";
|
|
39098
|
-
import { delimiter, join as
|
|
39103
|
+
import { delimiter, join as join3 } from "node:path";
|
|
39099
39104
|
function getAgentsDir() {
|
|
39100
|
-
return
|
|
39105
|
+
return resolveDefaultBasePath();
|
|
39101
39106
|
}
|
|
39102
39107
|
function getActiveGraphiqDbPath() {
|
|
39103
39108
|
const state = readGraphiqState(getAgentsDir());
|
|
@@ -39110,8 +39115,8 @@ function getActiveGraphiqDbPath() {
|
|
|
39110
39115
|
}
|
|
39111
39116
|
function resolveGraphiqBinary() {
|
|
39112
39117
|
const path = process.env.PATH ?? "";
|
|
39113
|
-
const candidates = path.split(delimiter).filter((entry) => entry.length > 0).map((entry) =>
|
|
39114
|
-
candidates.push(
|
|
39118
|
+
const candidates = path.split(delimiter).filter((entry) => entry.length > 0).map((entry) => join3(entry, "graphiq"));
|
|
39119
|
+
candidates.push(join3(homedir(), ".local", "bin", "graphiq"));
|
|
39115
39120
|
for (const candidate of candidates) {
|
|
39116
39121
|
try {
|
|
39117
39122
|
accessSync(candidate, constants.X_OK);
|
|
@@ -39199,8 +39204,7 @@ import { existsSync as existsSync8, readFileSync as readFileSync7 } from "node:f
|
|
|
39199
39204
|
|
|
39200
39205
|
// ../../platform/daemon/src/secrets.ts
|
|
39201
39206
|
import { existsSync as existsSync5, mkdirSync as mkdirSync5, readFileSync as readFileSync4, writeFileSync } from "node:fs";
|
|
39202
|
-
import {
|
|
39203
|
-
import { join as join6 } from "node:path";
|
|
39207
|
+
import { join as join9 } from "node:path";
|
|
39204
39208
|
|
|
39205
39209
|
// ../../platform/daemon/src/logger.ts
|
|
39206
39210
|
import { EventEmitter } from "node:events";
|
|
@@ -39214,8 +39218,8 @@ import {
|
|
|
39214
39218
|
statSync,
|
|
39215
39219
|
unlinkSync
|
|
39216
39220
|
} from "node:fs";
|
|
39217
|
-
import { homedir as
|
|
39218
|
-
import { basename as basename2, dirname as dirname4, join as
|
|
39221
|
+
import { homedir as homedir4 } from "node:os";
|
|
39222
|
+
import { basename as basename2, dirname as dirname4, join as join6 } from "node:path";
|
|
39219
39223
|
var LOG_LEVELS = {
|
|
39220
39224
|
debug: 0,
|
|
39221
39225
|
info: 1,
|
|
@@ -39223,7 +39227,7 @@ var LOG_LEVELS = {
|
|
|
39223
39227
|
error: 3
|
|
39224
39228
|
};
|
|
39225
39229
|
var DEFAULT_CONFIG = {
|
|
39226
|
-
logDir:
|
|
39230
|
+
logDir: join6(homedir4(), ".agents", ".daemon", "logs"),
|
|
39227
39231
|
logFilePath: undefined,
|
|
39228
39232
|
level: "info",
|
|
39229
39233
|
maxFileSize: 10 * 1024 * 1024,
|
|
@@ -39231,7 +39235,7 @@ var DEFAULT_CONFIG = {
|
|
|
39231
39235
|
consoleOutput: true,
|
|
39232
39236
|
jsonFormat: true
|
|
39233
39237
|
};
|
|
39234
|
-
function resolveLoggerConfig(env = process.env, homeDir =
|
|
39238
|
+
function resolveLoggerConfig(env = process.env, homeDir = homedir4()) {
|
|
39235
39239
|
const envLogFile = env.SIGNET_LOG_FILE?.trim();
|
|
39236
39240
|
if (envLogFile) {
|
|
39237
39241
|
return { logFilePath: envLogFile, logDir: dirname4(envLogFile) };
|
|
@@ -39242,7 +39246,7 @@ function resolveLoggerConfig(env = process.env, homeDir = homedir2()) {
|
|
|
39242
39246
|
}
|
|
39243
39247
|
const signetPath = env.SIGNET_PATH?.trim();
|
|
39244
39248
|
return {
|
|
39245
|
-
logDir:
|
|
39249
|
+
logDir: join6(signetPath || join6(homeDir, ".agents"), ".daemon", "logs")
|
|
39246
39250
|
};
|
|
39247
39251
|
}
|
|
39248
39252
|
|
|
@@ -39276,7 +39280,7 @@ class Logger extends EventEmitter {
|
|
|
39276
39280
|
return this.config.logFilePath;
|
|
39277
39281
|
}
|
|
39278
39282
|
const date6 = new Date().toISOString().split("T")[0];
|
|
39279
|
-
return
|
|
39283
|
+
return join6(this.config.logDir, `signet-${date6}.log`);
|
|
39280
39284
|
}
|
|
39281
39285
|
shouldLog(level) {
|
|
39282
39286
|
return LOG_LEVELS[level] >= LOG_LEVELS[this.config.level];
|
|
@@ -39328,7 +39332,7 @@ class Logger extends EventEmitter {
|
|
|
39328
39332
|
return [];
|
|
39329
39333
|
return readdirSync(this.config.logDir).filter((f) => this.parseLogFileName(f) !== null).map((f) => ({
|
|
39330
39334
|
name: f,
|
|
39331
|
-
path:
|
|
39335
|
+
path: join6(this.config.logDir, f)
|
|
39332
39336
|
})).sort((a, b) => this.compareLogFilesNewestFirst(a.name, b.name));
|
|
39333
39337
|
}
|
|
39334
39338
|
formatConsole(entry) {
|
|
@@ -39578,13 +39582,12 @@ var logger = new Logger(resolveLoggerConfig());
|
|
|
39578
39582
|
|
|
39579
39583
|
// ../../platform/daemon/src/plugins/audit.ts
|
|
39580
39584
|
import { appendFileSync as appendFileSync2, existsSync as existsSync3, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
39581
|
-
import {
|
|
39582
|
-
import { dirname as dirname6, join as join4 } from "node:path";
|
|
39585
|
+
import { dirname as dirname6, join as join8 } from "node:path";
|
|
39583
39586
|
var SENSITIVE_KEY_RE = /(^|[_-])(api-key|apikey|auth-token|authorization|bearer|client-secret|credential|credentials|password|private-key|refresh-token|secret|secret-value|token|value)([_-]|$)/i;
|
|
39584
39587
|
var SENSITIVE_ASSIGNMENT_RE = /\b((?:access[_-]?token|api[_-]?key|auth(?:orization)?|bearer|client[_-]?secret|credential|password|refresh[_-]?token|secret|token)\s*[:=]\s*)(["']?)([^"'\s,;&]+)/gi;
|
|
39585
39588
|
var KNOWN_SECRET_VALUE_RE = /\b(AKIA[0-9A-Z]{16}|github_pat_[A-Za-z0-9_]{20,}|gh[pousr]_[A-Za-z0-9_]{20,}|sk-[A-Za-z0-9_-]{12,}|xox[baprs]-[A-Za-z0-9-]{10,})\b/g;
|
|
39586
39589
|
function getDefaultPluginAuditPath() {
|
|
39587
|
-
return
|
|
39590
|
+
return join8(resolveDefaultBasePath(), ".daemon", "plugins", "audit-v1.ndjson");
|
|
39588
39591
|
}
|
|
39589
39592
|
function recordPluginAuditEvent(input, auditPath) {
|
|
39590
39593
|
if (auditPath === null)
|
|
@@ -39944,13 +39947,13 @@ var signetSecretsManifest = {
|
|
|
39944
39947
|
|
|
39945
39948
|
// ../../platform/daemon/src/secrets.ts
|
|
39946
39949
|
function getAgentsDir2() {
|
|
39947
|
-
return
|
|
39950
|
+
return resolveDefaultBasePath();
|
|
39948
39951
|
}
|
|
39949
39952
|
function getSecretsDir() {
|
|
39950
|
-
return
|
|
39953
|
+
return join9(getAgentsDir2(), ".secrets");
|
|
39951
39954
|
}
|
|
39952
39955
|
function getSecretsFile() {
|
|
39953
|
-
return
|
|
39956
|
+
return join9(getSecretsDir(), "secrets.enc");
|
|
39954
39957
|
}
|
|
39955
39958
|
var DEFAULT_SECRET_EXEC_TIMEOUT_MS = 5 * 60000;
|
|
39956
39959
|
var MAX_SECRET_EXEC_TIMEOUT_MS = 30 * 60000;
|
|
@@ -40215,8 +40218,7 @@ var signetGraphiqManifest = {
|
|
|
40215
40218
|
|
|
40216
40219
|
// ../../platform/daemon/src/plugins/host.ts
|
|
40217
40220
|
import { existsSync as existsSync7, mkdirSync as mkdirSync6, readFileSync as readFileSync6, writeFileSync as writeFileSync3 } from "node:fs";
|
|
40218
|
-
import {
|
|
40219
|
-
import { dirname as dirname7, join as join8 } from "node:path";
|
|
40221
|
+
import { dirname as dirname7, join as join10 } from "node:path";
|
|
40220
40222
|
|
|
40221
40223
|
// ../../node_modules/.bun/js-tiktoken@1.0.21/node_modules/js-tiktoken/dist/chunk-VL2OQCWN.js
|
|
40222
40224
|
var import_base64_js = __toESM(require_base64_js(), 1);
|
|
@@ -40747,7 +40749,7 @@ class PluginHostV1 {
|
|
|
40747
40749
|
}
|
|
40748
40750
|
}
|
|
40749
40751
|
function getDefaultPluginRegistryPath() {
|
|
40750
|
-
return
|
|
40752
|
+
return join10(resolveDefaultBasePath(), SIGNET_PLUGIN_REGISTRY_DIR, SIGNET_PLUGIN_REGISTRY_FILE);
|
|
40751
40753
|
}
|
|
40752
40754
|
function resolveState(manifest, enabled, health, validationErrors) {
|
|
40753
40755
|
if (validationErrors.length > 0) {
|
package/native-manifest.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.140.2",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "bdc1c29b349e1588b7a681f2bef18b43acbcc76349e9cfd86dc4e57b43d224dd",
|
|
9
|
+
"size": 125614624
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "18e5a2af67d253ffb16e4755c92a7f6b92be7cde78a561374d1728f2814abbd4",
|
|
15
|
+
"size": 130173504
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "3a07c61151497bd14b1871d15705c81dd9dc4bedec916a510557651fb0f453a1",
|
|
21
|
+
"size": 162943175
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "e78fe80135b7899187625d8b9c9cf9ffdfa5db34deb7f1f28f46b8cf8199bf34",
|
|
27
|
+
"size": 163456825
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "1f58939b0052aba9108bdc86b297f3ebfe884c61ec80d358d85c9333fa854dc4",
|
|
33
|
+
"size": 179521536
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.
|
|
39
|
-
"sha256": "
|
|
38
|
+
"url": "signet-connectors-0.140.2.tar.gz",
|
|
39
|
+
"sha256": "a125774c4893d4f965125fa44e5f9cafdf98834942104003484ee1788cab9119",
|
|
40
40
|
"size": 15377
|
|
41
41
|
}
|
|
42
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.140.2",
|
|
4
4
|
"description": "Signet native CLI installer wrapper",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
67
|
"optionalDependencies": {
|
|
68
|
-
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.140.2/signetai-darwin-arm64-0.140.2.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.140.2/signetai-darwin-x64-0.140.2.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.140.2/signetai-linux-arm64-0.140.2.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.140.2/signetai-linux-x64-0.140.2.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.140.2/signetai-win32-x64-0.140.2.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|