signetai 0.177.0 → 0.179.0
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 +103 -8
- package/native-manifest.json +14 -14
- package/package.json +6 -6
package/dist/mcp-stdio.js
CHANGED
|
@@ -36776,10 +36776,11 @@ import { homedir as homedir2 } from "os";
|
|
|
36776
36776
|
import { join as join2 } from "path";
|
|
36777
36777
|
import { createRequire as createRequire22 } from "node:module";
|
|
36778
36778
|
import { existsSync as existsSync5, mkdirSync as mkdirSync3, readFileSync as readFileSync4, renameSync, rmSync as rmSync2, writeFileSync as writeFileSync3 } from "node:fs";
|
|
36779
|
+
import { homedir as homedir4 } from "node:os";
|
|
36779
36780
|
import { dirname as dirname3, join as join6, resolve as resolve2 } from "node:path";
|
|
36780
|
-
import { homedir as
|
|
36781
|
+
import { homedir as homedir5, platform as platform2 } from "node:os";
|
|
36781
36782
|
import { basename, dirname as dirname4, resolve as resolve4 } from "node:path";
|
|
36782
|
-
import { homedir as
|
|
36783
|
+
import { homedir as homedir9 } from "node:os";
|
|
36783
36784
|
var __create2 = Object.create;
|
|
36784
36785
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
36785
36786
|
var __defProp2 = Object.defineProperty;
|
|
@@ -47414,6 +47415,18 @@ function up110(db) {
|
|
|
47414
47415
|
ON memory_entity_mentions(entity_id, memory_id);
|
|
47415
47416
|
`);
|
|
47416
47417
|
}
|
|
47418
|
+
function hasColumn19(db, table, column) {
|
|
47419
|
+
const rows = db.prepare(`PRAGMA table_info(${table})`).all();
|
|
47420
|
+
return rows.some((row) => row.name === column);
|
|
47421
|
+
}
|
|
47422
|
+
var COLUMNS2 = ["first_remember_at", "first_recall_at"];
|
|
47423
|
+
function up111(db) {
|
|
47424
|
+
for (const column of COLUMNS2) {
|
|
47425
|
+
if (!hasColumn19(db, "telemetry_install", column)) {
|
|
47426
|
+
db.exec(`ALTER TABLE telemetry_install ADD COLUMN ${column} TEXT`);
|
|
47427
|
+
}
|
|
47428
|
+
}
|
|
47429
|
+
}
|
|
47417
47430
|
var MIGRATIONS = [
|
|
47418
47431
|
{
|
|
47419
47432
|
version: 1,
|
|
@@ -48289,6 +48302,17 @@ var MIGRATIONS = [
|
|
|
48289
48302
|
version: 110,
|
|
48290
48303
|
name: "memory-mention-join-index",
|
|
48291
48304
|
up: up110
|
|
48305
|
+
},
|
|
48306
|
+
{
|
|
48307
|
+
version: 111,
|
|
48308
|
+
name: "telemetry-first-use",
|
|
48309
|
+
up: up111,
|
|
48310
|
+
artifacts: {
|
|
48311
|
+
columns: [
|
|
48312
|
+
{ table: "telemetry_install", column: "first_remember_at" },
|
|
48313
|
+
{ table: "telemetry_install", column: "first_recall_at" }
|
|
48314
|
+
]
|
|
48315
|
+
}
|
|
48292
48316
|
}
|
|
48293
48317
|
];
|
|
48294
48318
|
var LATEST_SCHEMA_VERSION = MIGRATIONS[MIGRATIONS.length - 1]?.version ?? 0;
|
|
@@ -48389,6 +48413,7 @@ var SIGNET_GRAPHIQ_PLUGIN_ID = "signet.graphiq";
|
|
|
48389
48413
|
var SIGNET_PLUGIN_REGISTRY_DIR = ".daemon/plugins";
|
|
48390
48414
|
var SIGNET_PLUGIN_REGISTRY_FILE = "registry-v1.json";
|
|
48391
48415
|
var SIGNET_GRAPHIQ_STATE_FILE = ".daemon/graphiq/state.json";
|
|
48416
|
+
var GRAPHIQ_DEFAULT_INSTALL_DIR = join6(homedir4(), ".local", "bin");
|
|
48392
48417
|
function getGraphiqStatePath(basePath) {
|
|
48393
48418
|
return join6(basePath, SIGNET_GRAPHIQ_STATE_FILE);
|
|
48394
48419
|
}
|
|
@@ -48518,11 +48543,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
|
|
|
48518
48543
|
function defaultDiscordDesktopCachePath() {
|
|
48519
48544
|
switch (platform2()) {
|
|
48520
48545
|
case "darwin":
|
|
48521
|
-
return resolve4(
|
|
48546
|
+
return resolve4(homedir5(), "Library", "Application Support", "discord");
|
|
48522
48547
|
case "win32":
|
|
48523
|
-
return resolve4(process.env.APPDATA || resolve4(
|
|
48548
|
+
return resolve4(process.env.APPDATA || resolve4(homedir5(), "AppData", "Roaming"), "discord");
|
|
48524
48549
|
default:
|
|
48525
|
-
return resolve4(process.env.XDG_CONFIG_HOME || resolve4(
|
|
48550
|
+
return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir5(), ".config"), "discord");
|
|
48526
48551
|
}
|
|
48527
48552
|
}
|
|
48528
48553
|
var IDENTITY_FILES = {
|
|
@@ -48580,7 +48605,7 @@ var IDENTITY_FILES = {
|
|
|
48580
48605
|
};
|
|
48581
48606
|
var REQUIRED_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => !spec.optional).map(([key]) => key);
|
|
48582
48607
|
var OPTIONAL_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => spec.optional).map(([key]) => key);
|
|
48583
|
-
var home =
|
|
48608
|
+
var home = homedir9();
|
|
48584
48609
|
var SOURCE_NATIVE_TOPOLOGY_ENTITY_TYPES = [
|
|
48585
48610
|
"source_document",
|
|
48586
48611
|
"source_folder",
|
|
@@ -54312,6 +54337,7 @@ var GRAPHIQ_CAPABILITIES = [
|
|
|
54312
54337
|
"code:status",
|
|
54313
54338
|
"code:doctor",
|
|
54314
54339
|
"code:dead-code",
|
|
54340
|
+
"code:clear",
|
|
54315
54341
|
"prompt:contribute:user-prompt-submit",
|
|
54316
54342
|
"mcp:tool",
|
|
54317
54343
|
"cli:command"
|
|
@@ -54383,6 +54409,18 @@ var surfaces2 = {
|
|
|
54383
54409
|
title: "Dead Code Detection",
|
|
54384
54410
|
summary: "Find unreachable symbols in the active project",
|
|
54385
54411
|
requiredCapabilities: ["mcp:tool", "code:dead-code"]
|
|
54412
|
+
},
|
|
54413
|
+
{
|
|
54414
|
+
name: "signet_code_clear",
|
|
54415
|
+
title: "Clear Index",
|
|
54416
|
+
summary: "Delete the active index and leave a fresh empty database (requires confirm: true)",
|
|
54417
|
+
requiredCapabilities: ["mcp:tool", "code:clear"]
|
|
54418
|
+
},
|
|
54419
|
+
{
|
|
54420
|
+
name: "signet_code_briefing",
|
|
54421
|
+
title: "Code Briefing",
|
|
54422
|
+
summary: "Architecture overview: subsystems, public API, hub symbols",
|
|
54423
|
+
requiredCapabilities: ["mcp:tool", "code:status"]
|
|
54386
54424
|
}
|
|
54387
54425
|
],
|
|
54388
54426
|
dashboardPanels: [],
|
|
@@ -54474,6 +54512,7 @@ var signetGraphiqManifest = {
|
|
|
54474
54512
|
"code:status": { summary: "Inspect active code index status" },
|
|
54475
54513
|
"code:doctor": { summary: "Diagnose or repair active code index artifacts" },
|
|
54476
54514
|
"code:dead-code": { summary: "Detect unreachable code in indexed projects" },
|
|
54515
|
+
"code:clear": { summary: "Delete the active index and create a fresh empty database" },
|
|
54477
54516
|
"prompt:contribute:user-prompt-submit": {
|
|
54478
54517
|
summary: "Contribute bounded guidance for code retrieval decisions"
|
|
54479
54518
|
},
|
|
@@ -55087,6 +55126,8 @@ var BASE_TOOL_NAMES = new Set([
|
|
|
55087
55126
|
"signet_code_status",
|
|
55088
55127
|
"signet_code_doctor",
|
|
55089
55128
|
"signet_code_constants",
|
|
55129
|
+
"signet_code_clear",
|
|
55130
|
+
"signet_code_briefing",
|
|
55090
55131
|
"code_search",
|
|
55091
55132
|
"code_context",
|
|
55092
55133
|
"code_blast",
|
|
@@ -55110,7 +55151,9 @@ var GRAPHIQ_MCP_TOOL_NAMES = new Set([
|
|
|
55110
55151
|
"signet_code_blast",
|
|
55111
55152
|
"signet_code_status",
|
|
55112
55153
|
"signet_code_doctor",
|
|
55113
|
-
"signet_code_constants"
|
|
55154
|
+
"signet_code_constants",
|
|
55155
|
+
"signet_code_clear",
|
|
55156
|
+
"signet_code_briefing"
|
|
55114
55157
|
]);
|
|
55115
55158
|
var GRAPHIQ_COMPAT_ALIASES = new Map([
|
|
55116
55159
|
["code_search", "signet_code_search"],
|
|
@@ -55118,7 +55161,9 @@ var GRAPHIQ_COMPAT_ALIASES = new Map([
|
|
|
55118
55161
|
["code_blast", "signet_code_blast"],
|
|
55119
55162
|
["code_status", "signet_code_status"],
|
|
55120
55163
|
["code_doctor", "signet_code_doctor"],
|
|
55121
|
-
["code_constants", "signet_code_constants"]
|
|
55164
|
+
["code_constants", "signet_code_constants"],
|
|
55165
|
+
["code_clear", "signet_code_clear"],
|
|
55166
|
+
["code_briefing", "signet_code_briefing"]
|
|
55122
55167
|
]);
|
|
55123
55168
|
function readDaemonAuthToken() {
|
|
55124
55169
|
const apiKey = process.env.SIGNET_API_KEY?.trim();
|
|
@@ -55531,6 +55576,32 @@ function registerGraphiqCompatAliases(server, pluginHostProvider) {
|
|
|
55531
55576
|
return parts;
|
|
55532
55577
|
},
|
|
55533
55578
|
label: "Code constants failed"
|
|
55579
|
+
},
|
|
55580
|
+
{
|
|
55581
|
+
alias: "code_clear",
|
|
55582
|
+
canonical: "signet_code_clear",
|
|
55583
|
+
schema: exports_external.object({
|
|
55584
|
+
confirm: exports_external.boolean().describe("Must be true to proceed. Deleting the active index affects every agent in the workspace and cannot be undone.")
|
|
55585
|
+
}),
|
|
55586
|
+
buildArgs: (a) => {
|
|
55587
|
+
if (a.confirm !== true) {
|
|
55588
|
+
throw new Error("code_clear refused: pass `confirm: true` to delete the active GraphIQ index (graphiq.db and manifest.json). The index is shared by the whole workspace, has no backup, and must be rebuilt with `signet index <path>`.");
|
|
55589
|
+
}
|
|
55590
|
+
return ["clear", "--yes"];
|
|
55591
|
+
},
|
|
55592
|
+
label: "Code clear failed"
|
|
55593
|
+
},
|
|
55594
|
+
{
|
|
55595
|
+
alias: "code_briefing",
|
|
55596
|
+
canonical: "signet_code_briefing",
|
|
55597
|
+
schema: exports_external.object({ compact: exports_external.boolean().optional() }),
|
|
55598
|
+
buildArgs: (a) => {
|
|
55599
|
+
const parts = ["briefing"];
|
|
55600
|
+
if (a.compact)
|
|
55601
|
+
parts.push("--compact");
|
|
55602
|
+
return parts;
|
|
55603
|
+
},
|
|
55604
|
+
label: "Code briefing failed"
|
|
55534
55605
|
}
|
|
55535
55606
|
];
|
|
55536
55607
|
for (const def of compatDefs) {
|
|
@@ -56857,6 +56928,30 @@ async function createMcpServer(opts) {
|
|
|
56857
56928
|
args.push("--top", String(boundedTop));
|
|
56858
56929
|
return graphIqToolResult(args, "Code constants failed", "signet_code_constants", pluginHostProvider);
|
|
56859
56930
|
});
|
|
56931
|
+
server.registerTool("signet_code_clear", {
|
|
56932
|
+
title: "Clear Index",
|
|
56933
|
+
description: "Delete the active GraphIQ index (graphiq.db and manifest.json) and leave a fresh empty database ready for a clean reindex. DESTRUCTIVE: the active index is shared by the whole workspace, there is no backup, and reindexing with `signet index <path>` is required. Must pass confirm: true.",
|
|
56934
|
+
inputSchema: exports_external.object({
|
|
56935
|
+
confirm: exports_external.boolean().describe("Must be true to proceed. Deleting the active index affects every agent in the workspace and cannot be undone.")
|
|
56936
|
+
})
|
|
56937
|
+
}, async ({ confirm }) => {
|
|
56938
|
+
if (confirm !== true) {
|
|
56939
|
+
return errorResult("signet_code_clear refused: pass `confirm: true` to delete the active GraphIQ index (graphiq.db and manifest.json). The index is shared by the whole workspace, has no backup, and must be rebuilt with `signet index <path>`.");
|
|
56940
|
+
}
|
|
56941
|
+
return graphIqToolResult(["clear", "--yes"], "Code clear failed", "signet_code_clear", pluginHostProvider);
|
|
56942
|
+
});
|
|
56943
|
+
server.registerTool("signet_code_briefing", {
|
|
56944
|
+
title: "Code Briefing",
|
|
56945
|
+
description: "Get an architecture overview of the active GraphIQ-indexed project: subsystems, public API, hub symbols, and languages.",
|
|
56946
|
+
inputSchema: exports_external.object({
|
|
56947
|
+
compact: exports_external.boolean().optional().describe("Return a compact briefing (top subsystems and API only)")
|
|
56948
|
+
})
|
|
56949
|
+
}, async ({ compact }) => {
|
|
56950
|
+
const args = ["briefing"];
|
|
56951
|
+
if (compact)
|
|
56952
|
+
args.push("--compact");
|
|
56953
|
+
return graphIqToolResult(args, "Code briefing failed", "signet_code_briefing", pluginHostProvider);
|
|
56954
|
+
});
|
|
56860
56955
|
registerGraphiqCompatAliases(server, pluginHostProvider);
|
|
56861
56956
|
if (enableMarketplaceProxyTools) {
|
|
56862
56957
|
await refreshMarketplaceProxyTools(server, { notify: false });
|
package/native-manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.179.0",
|
|
4
4
|
"assets": [
|
|
5
5
|
{
|
|
6
6
|
"name": "signet-darwin-arm64",
|
|
7
7
|
"platform": "darwin-arm64",
|
|
8
|
-
"sha256": "
|
|
9
|
-
"size":
|
|
8
|
+
"sha256": "f8d33f68541b6da9ba4cd786cc12933b39afc3fc9b9d6356fc464c3d62ae30a3",
|
|
9
|
+
"size": 117143968
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "signet-darwin-x64",
|
|
13
13
|
"platform": "darwin-x64",
|
|
14
|
-
"sha256": "
|
|
15
|
-
"size":
|
|
14
|
+
"sha256": "ef1d2161996e09512bdea639cff968978ddcfb844b3c9c61790d33dff456baa0",
|
|
15
|
+
"size": 121768512
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "signet-linux-arm64",
|
|
19
19
|
"platform": "linux-arm64",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "54010522e52ef4312f79f6e94426c8fb0e0604d927218e8a5ee0b76d6eeb9280",
|
|
21
|
+
"size": 154375408
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "signet-linux-x64",
|
|
25
25
|
"platform": "linux-x64",
|
|
26
|
-
"sha256": "
|
|
27
|
-
"size":
|
|
26
|
+
"sha256": "ebdb5a2a89ef6424f3bb50c7d6bfbe3fcceeaca52c508595c4bc9ac83c85c2bb",
|
|
27
|
+
"size": 154934393
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": "signet-win32-x64.exe",
|
|
31
31
|
"platform": "win32-x64",
|
|
32
|
-
"sha256": "
|
|
33
|
-
"size":
|
|
32
|
+
"sha256": "0aaa1b3f17739267985d219d3f6f3b9d0e358fa196c443923cba30e853ffb3e5",
|
|
33
|
+
"size": 171067392
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"components": {
|
|
37
37
|
"connectors": {
|
|
38
|
-
"url": "signet-connectors-0.
|
|
39
|
-
"sha256": "
|
|
40
|
-
"size":
|
|
38
|
+
"url": "signet-connectors-0.179.0.tar.gz",
|
|
39
|
+
"sha256": "403f7be7f1d26962804b03aaf301c21fa1a4c2e5226c6cb0c4092f6ac78098be",
|
|
40
|
+
"size": 16248
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signetai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.179.0",
|
|
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.179.0/signetai-darwin-arm64-0.179.0.tgz",
|
|
69
|
+
"signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.179.0/signetai-darwin-x64-0.179.0.tgz",
|
|
70
|
+
"signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.179.0/signetai-linux-arm64-0.179.0.tgz",
|
|
71
|
+
"signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.179.0/signetai-linux-x64-0.179.0.tgz",
|
|
72
|
+
"signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.179.0/signetai-win32-x64-0.179.0.tgz"
|
|
73
73
|
}
|
|
74
74
|
}
|