signetai 0.154.6 → 0.154.7
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 +38 -38
- package/native-manifest.json +14 -14
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -28509,11 +28509,11 @@ import { fileURLToPath } from "node:url";
|
|
|
28509
28509
|
import { homedir as homedir2 } from "os";
|
|
28510
28510
|
import { join as join2 } from "path";
|
|
28511
28511
|
import { createRequire as createRequire2 } from "node:module";
|
|
28512
|
-
import { existsSync as
|
|
28513
|
-
import { dirname as
|
|
28514
|
-
import { homedir as
|
|
28515
|
-
import { basename, dirname as
|
|
28516
|
-
import { homedir as
|
|
28512
|
+
import { existsSync as existsSync5, mkdirSync as mkdirSync3, readFileSync as readFileSync4, renameSync, rmSync as rmSync2, writeFileSync as writeFileSync3 } from "node:fs";
|
|
28513
|
+
import { dirname as dirname3, join as join6, resolve as resolve2 } from "node:path";
|
|
28514
|
+
import { homedir as homedir4, platform as platform2 } from "node:os";
|
|
28515
|
+
import { basename, dirname as dirname4, resolve as resolve4 } from "node:path";
|
|
28516
|
+
import { homedir as homedir8 } from "node:os";
|
|
28517
28517
|
var __create2 = Object.create;
|
|
28518
28518
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
28519
28519
|
var __defProp2 = Object.defineProperty;
|
|
@@ -39448,7 +39448,7 @@ var SIGNET_PLUGIN_REGISTRY_DIR = ".daemon/plugins";
|
|
|
39448
39448
|
var SIGNET_PLUGIN_REGISTRY_FILE = "registry-v1.json";
|
|
39449
39449
|
var SIGNET_GRAPHIQ_STATE_FILE = ".daemon/graphiq/state.json";
|
|
39450
39450
|
function getGraphiqStatePath(basePath) {
|
|
39451
|
-
return
|
|
39451
|
+
return join6(basePath, SIGNET_GRAPHIQ_STATE_FILE);
|
|
39452
39452
|
}
|
|
39453
39453
|
function emptyGraphiqState(now = new Date) {
|
|
39454
39454
|
return {
|
|
@@ -39461,17 +39461,17 @@ function emptyGraphiqState(now = new Date) {
|
|
|
39461
39461
|
}
|
|
39462
39462
|
function readGraphiqState(basePath) {
|
|
39463
39463
|
const path = getGraphiqStatePath(basePath);
|
|
39464
|
-
if (!
|
|
39464
|
+
if (!existsSync5(path))
|
|
39465
39465
|
return emptyGraphiqState();
|
|
39466
39466
|
try {
|
|
39467
|
-
const parsed = JSON.parse(
|
|
39467
|
+
const parsed = JSON.parse(readFileSync4(path, "utf-8"));
|
|
39468
39468
|
return parseGraphiqState(parsed);
|
|
39469
39469
|
} catch {
|
|
39470
39470
|
return emptyGraphiqState();
|
|
39471
39471
|
}
|
|
39472
39472
|
}
|
|
39473
39473
|
function parseGraphiqState(value) {
|
|
39474
|
-
if (!
|
|
39474
|
+
if (!isRecord5(value))
|
|
39475
39475
|
return emptyGraphiqState();
|
|
39476
39476
|
const indexedProjects = Array.isArray(value.indexedProjects) ? value.indexedProjects.map(parseIndexedProject).filter((entry) => entry !== null) : [];
|
|
39477
39477
|
const activeProject = typeof value.activeProject === "string" ? value.activeProject : undefined;
|
|
@@ -39487,7 +39487,7 @@ function parseGraphiqState(value) {
|
|
|
39487
39487
|
};
|
|
39488
39488
|
}
|
|
39489
39489
|
function parseIndexedProject(value) {
|
|
39490
|
-
if (!
|
|
39490
|
+
if (!isRecord5(value))
|
|
39491
39491
|
return null;
|
|
39492
39492
|
if (typeof value.path !== "string" || typeof value.dbPath !== "string" || typeof value.lastIndexedAt !== "string") {
|
|
39493
39493
|
return null;
|
|
@@ -39504,7 +39504,7 @@ function parseIndexedProject(value) {
|
|
|
39504
39504
|
function parseInstallSource(value) {
|
|
39505
39505
|
return value === "script" || value === "homebrew" || value === "source" || value === "existing" ? value : undefined;
|
|
39506
39506
|
}
|
|
39507
|
-
function
|
|
39507
|
+
function isRecord5(value) {
|
|
39508
39508
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
39509
39509
|
}
|
|
39510
39510
|
var SIGNET_SOURCE_CHECKOUT_DIRNAME = "signetai";
|
|
@@ -39576,11 +39576,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
|
|
|
39576
39576
|
function defaultDiscordDesktopCachePath() {
|
|
39577
39577
|
switch (platform2()) {
|
|
39578
39578
|
case "darwin":
|
|
39579
|
-
return
|
|
39579
|
+
return resolve4(homedir4(), "Library", "Application Support", "discord");
|
|
39580
39580
|
case "win32":
|
|
39581
|
-
return
|
|
39581
|
+
return resolve4(process.env.APPDATA || resolve4(homedir4(), "AppData", "Roaming"), "discord");
|
|
39582
39582
|
default:
|
|
39583
|
-
return
|
|
39583
|
+
return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir4(), ".config"), "discord");
|
|
39584
39584
|
}
|
|
39585
39585
|
}
|
|
39586
39586
|
var IDENTITY_FILES = {
|
|
@@ -39638,7 +39638,7 @@ var IDENTITY_FILES = {
|
|
|
39638
39638
|
};
|
|
39639
39639
|
var REQUIRED_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => !spec.optional).map(([key]) => key);
|
|
39640
39640
|
var OPTIONAL_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => spec.optional).map(([key]) => key);
|
|
39641
|
-
var home =
|
|
39641
|
+
var home = homedir8();
|
|
39642
39642
|
var SKIP_SUBTYPES = new Set([
|
|
39643
39643
|
"channel_join",
|
|
39644
39644
|
"channel_leave",
|
|
@@ -39863,7 +39863,7 @@ function runCommand(command, args, timeoutMs, extraEnv) {
|
|
|
39863
39863
|
import { existsSync as existsSync8, readFileSync as readFileSync7 } from "node:fs";
|
|
39864
39864
|
|
|
39865
39865
|
// ../../platform/daemon/src/secrets.ts
|
|
39866
|
-
import { existsSync as
|
|
39866
|
+
import { existsSync as existsSync4, mkdirSync as mkdirSync4, readFileSync as readFileSync3, writeFileSync } from "node:fs";
|
|
39867
39867
|
import { join as join9 } from "node:path";
|
|
39868
39868
|
|
|
39869
39869
|
// ../../platform/daemon/src/logger.ts
|
|
@@ -39878,8 +39878,8 @@ import {
|
|
|
39878
39878
|
statSync,
|
|
39879
39879
|
unlinkSync
|
|
39880
39880
|
} from "node:fs";
|
|
39881
|
-
import { homedir as
|
|
39882
|
-
import { basename as basename2, dirname as
|
|
39881
|
+
import { homedir as homedir3 } from "node:os";
|
|
39882
|
+
import { basename as basename2, dirname as dirname2, join as join5 } from "node:path";
|
|
39883
39883
|
var LOG_LEVELS = {
|
|
39884
39884
|
debug: 0,
|
|
39885
39885
|
info: 1,
|
|
@@ -39887,7 +39887,7 @@ var LOG_LEVELS = {
|
|
|
39887
39887
|
error: 3
|
|
39888
39888
|
};
|
|
39889
39889
|
var DEFAULT_CONFIG = {
|
|
39890
|
-
logDir:
|
|
39890
|
+
logDir: join5(homedir3(), ".agents", ".daemon", "logs"),
|
|
39891
39891
|
logFilePath: undefined,
|
|
39892
39892
|
level: "info",
|
|
39893
39893
|
maxFileSize: 10 * 1024 * 1024,
|
|
@@ -39895,10 +39895,10 @@ var DEFAULT_CONFIG = {
|
|
|
39895
39895
|
consoleOutput: true,
|
|
39896
39896
|
jsonFormat: true
|
|
39897
39897
|
};
|
|
39898
|
-
function resolveLoggerConfig(env = process.env, homeDir =
|
|
39898
|
+
function resolveLoggerConfig(env = process.env, homeDir = homedir3()) {
|
|
39899
39899
|
const envLogFile = env.SIGNET_LOG_FILE?.trim();
|
|
39900
39900
|
if (envLogFile) {
|
|
39901
|
-
return { logFilePath: envLogFile, logDir:
|
|
39901
|
+
return { logFilePath: envLogFile, logDir: dirname2(envLogFile) };
|
|
39902
39902
|
}
|
|
39903
39903
|
const envLogDir = env.SIGNET_LOG_DIR?.trim();
|
|
39904
39904
|
if (envLogDir) {
|
|
@@ -39906,7 +39906,7 @@ function resolveLoggerConfig(env = process.env, homeDir = homedir4()) {
|
|
|
39906
39906
|
}
|
|
39907
39907
|
const signetPath = env.SIGNET_PATH?.trim();
|
|
39908
39908
|
return {
|
|
39909
|
-
logDir:
|
|
39909
|
+
logDir: join5(signetPath || join5(homeDir, ".agents"), ".daemon", "logs")
|
|
39910
39910
|
};
|
|
39911
39911
|
}
|
|
39912
39912
|
|
|
@@ -39926,7 +39926,7 @@ class Logger extends EventEmitter {
|
|
|
39926
39926
|
}
|
|
39927
39927
|
ensureLogDir() {
|
|
39928
39928
|
try {
|
|
39929
|
-
const dir = this.config.logFilePath ?
|
|
39929
|
+
const dir = this.config.logFilePath ? dirname2(this.config.logFilePath) : this.config.logDir;
|
|
39930
39930
|
if (!existsSync2(dir)) {
|
|
39931
39931
|
mkdirSync(dir, { recursive: true });
|
|
39932
39932
|
}
|
|
@@ -39940,7 +39940,7 @@ class Logger extends EventEmitter {
|
|
|
39940
39940
|
return this.config.logFilePath;
|
|
39941
39941
|
}
|
|
39942
39942
|
const date6 = new Date().toISOString().split("T")[0];
|
|
39943
|
-
return
|
|
39943
|
+
return join5(this.config.logDir, `signet-${date6}.log`);
|
|
39944
39944
|
}
|
|
39945
39945
|
shouldLog(level) {
|
|
39946
39946
|
return LOG_LEVELS[level] >= LOG_LEVELS[this.config.level];
|
|
@@ -39992,7 +39992,7 @@ class Logger extends EventEmitter {
|
|
|
39992
39992
|
return [];
|
|
39993
39993
|
return readdirSync(this.config.logDir).filter((f) => this.parseLogFileName(f) !== null).map((f) => ({
|
|
39994
39994
|
name: f,
|
|
39995
|
-
path:
|
|
39995
|
+
path: join5(this.config.logDir, f)
|
|
39996
39996
|
})).sort((a, b) => this.compareLogFilesNewestFirst(a.name, b.name));
|
|
39997
39997
|
}
|
|
39998
39998
|
formatConsole(entry) {
|
|
@@ -40241,13 +40241,13 @@ class Logger extends EventEmitter {
|
|
|
40241
40241
|
var logger = new Logger(resolveLoggerConfig());
|
|
40242
40242
|
|
|
40243
40243
|
// ../../platform/daemon/src/plugins/audit.ts
|
|
40244
|
-
import { appendFileSync as appendFileSync2, existsSync as existsSync3, mkdirSync as
|
|
40245
|
-
import { dirname as
|
|
40244
|
+
import { appendFileSync as appendFileSync2, existsSync as existsSync3, mkdirSync as mkdirSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
40245
|
+
import { dirname as dirname5, join as join7 } from "node:path";
|
|
40246
40246
|
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;
|
|
40247
40247
|
var SENSITIVE_ASSIGNMENT_RE = /\b((?:access[_-]?token|api[_-]?key|auth(?:orization)?|bearer|client[_-]?secret|credential|password|refresh[_-]?token|secret|token)\s*[:=]\s*)(["']?)([^"'\s,;&]+)/gi;
|
|
40248
40248
|
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;
|
|
40249
40249
|
function getDefaultPluginAuditPath() {
|
|
40250
|
-
return
|
|
40250
|
+
return join7(resolveDefaultBasePath(), ".daemon", "plugins", "audit-v1.ndjson");
|
|
40251
40251
|
}
|
|
40252
40252
|
function recordPluginAuditEvent(input, auditPath) {
|
|
40253
40253
|
if (auditPath === null)
|
|
@@ -40264,7 +40264,7 @@ function recordPluginAuditEvent(input, auditPath) {
|
|
|
40264
40264
|
data: sanitizeAuditData(input.data ?? {})
|
|
40265
40265
|
};
|
|
40266
40266
|
try {
|
|
40267
|
-
|
|
40267
|
+
mkdirSync2(dirname5(path), { recursive: true });
|
|
40268
40268
|
appendFileSync2(path, `${JSON.stringify(event)}
|
|
40269
40269
|
`, { mode: 384 });
|
|
40270
40270
|
} catch (err) {
|
|
@@ -40626,11 +40626,11 @@ var secretExecJobs = new Map;
|
|
|
40626
40626
|
var secretExecJobRequests = new Map;
|
|
40627
40627
|
function loadStore() {
|
|
40628
40628
|
const file2 = getSecretsFile();
|
|
40629
|
-
if (!
|
|
40629
|
+
if (!existsSync4(file2)) {
|
|
40630
40630
|
return { version: 1, secrets: {} };
|
|
40631
40631
|
}
|
|
40632
40632
|
try {
|
|
40633
|
-
return parseSecretsStore(JSON.parse(
|
|
40633
|
+
return parseSecretsStore(JSON.parse(readFileSync3(file2, "utf-8")));
|
|
40634
40634
|
} catch (err) {
|
|
40635
40635
|
const message = err instanceof Error ? err.message : String(err);
|
|
40636
40636
|
throw new Error(`Failed to read secrets store: ${message}`);
|
|
@@ -40877,7 +40877,7 @@ var signetGraphiqManifest = {
|
|
|
40877
40877
|
};
|
|
40878
40878
|
|
|
40879
40879
|
// ../../platform/daemon/src/plugins/host.ts
|
|
40880
|
-
import { existsSync as
|
|
40880
|
+
import { existsSync as existsSync6, mkdirSync as mkdirSync6, readFileSync as readFileSync5, writeFileSync as writeFileSync2 } from "node:fs";
|
|
40881
40881
|
import { dirname as dirname7, join as join10 } from "node:path";
|
|
40882
40882
|
|
|
40883
40883
|
// ../../node_modules/.bun/js-tiktoken@1.0.21/node_modules/js-tiktoken/dist/chunk-VL2OQCWN.js
|
|
@@ -41375,11 +41375,11 @@ class PluginHostV1 {
|
|
|
41375
41375
|
};
|
|
41376
41376
|
}
|
|
41377
41377
|
loadStore() {
|
|
41378
|
-
if (!this.storagePath || !
|
|
41378
|
+
if (!this.storagePath || !existsSync6(this.storagePath)) {
|
|
41379
41379
|
return { version: 1, plugins: {} };
|
|
41380
41380
|
}
|
|
41381
41381
|
try {
|
|
41382
|
-
const parsed = JSON.parse(
|
|
41382
|
+
const parsed = JSON.parse(readFileSync5(this.storagePath, "utf-8"));
|
|
41383
41383
|
return parseStore(parsed);
|
|
41384
41384
|
} catch (err) {
|
|
41385
41385
|
this.storeWritable = false;
|
|
@@ -41404,7 +41404,7 @@ class PluginHostV1 {
|
|
|
41404
41404
|
return;
|
|
41405
41405
|
}
|
|
41406
41406
|
mkdirSync6(dirname7(this.storagePath), { recursive: true });
|
|
41407
|
-
|
|
41407
|
+
writeFileSync2(this.storagePath, `${JSON.stringify(this.store, null, 2)}
|
|
41408
41408
|
`, { mode: 384 });
|
|
41409
41409
|
}
|
|
41410
41410
|
}
|
|
@@ -41446,12 +41446,12 @@ function filterSurfacesByCapabilities(surfaces3, grantedCapabilities) {
|
|
|
41446
41446
|
};
|
|
41447
41447
|
}
|
|
41448
41448
|
function parseStore(value) {
|
|
41449
|
-
if (!
|
|
41449
|
+
if (!isRecord4(value) || value.version !== 1 || !isRecord4(value.plugins)) {
|
|
41450
41450
|
throw new Error("expected plugin registry version 1 with a plugins object");
|
|
41451
41451
|
}
|
|
41452
41452
|
const plugins = {};
|
|
41453
41453
|
for (const [id, raw] of Object.entries(value.plugins)) {
|
|
41454
|
-
if (!
|
|
41454
|
+
if (!isRecord4(raw)) {
|
|
41455
41455
|
throw new Error(`expected plugin registry entry ${id} to be an object`);
|
|
41456
41456
|
}
|
|
41457
41457
|
plugins[id] = {
|
|
@@ -41469,7 +41469,7 @@ function parseStringArray(value) {
|
|
|
41469
41469
|
return;
|
|
41470
41470
|
return value.every((entry) => typeof entry === "string") ? value : undefined;
|
|
41471
41471
|
}
|
|
41472
|
-
function
|
|
41472
|
+
function isRecord4(value) {
|
|
41473
41473
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
41474
41474
|
}
|
|
41475
41475
|
function clipPromptContribution(contribution) {
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.154.
|
|
3
|
+
"version": "0.154.7",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "4e3f37a071193bfde5c4980f9745c779a7ee248fba45f9319819a10d2fa6a2a0",
|
|
9
|
+
"size": 118811680
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "cd9e542e8b9efa1bd0ef15a5669ce4421c966d420f8b5cc81743634a9f0e9f6c",
|
|
15
|
+
"size": 123423296
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "e7d73930464108530345697c124e220d75be3aeedb59f3cf2c1606ec32da74a3",
|
|
21
|
+
"size": 156036337
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "a19d80d08790fec505dde75f65917a55cb1025b4281e3553166e8a4ea469e6c6",
|
|
27
|
+
"size": 156595348
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "c275ddb5f5e17cef16f9ede88859e8c2f04c956b6ac87b5235740a1133513ee3",
|
|
33
|
+
"size": 172726784
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.154.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.154.7.tar.gz",
|
|
39
|
+
"sha256": "3a217bd0c2f9bc1a6bdafa2acdc332dc1ec4a9db02fbc2cdd0a41bc4890e3ca3",
|
|
40
|
+
"size": 15992
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.154.
|
|
3
|
+
"version": "0.154.7",
|
|
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.154.
|
|
69
|
-
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.
|
|
70
|
-
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.
|
|
71
|
-
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.
|
|
72
|
-
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.
|
|
68
|
+
"signetai-darwin-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.7/signetai-darwin-arm64-0.154.7.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.7/signetai-darwin-x64-0.154.7.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.7/signetai-linux-arm64-0.154.7.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.7/signetai-linux-x64-0.154.7.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.154.7/signetai-win32-x64-0.154.7.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|