signetai 0.178.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 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 homedir4, platform as platform2 } from "node:os";
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 homedir8 } from "node:os";
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;
@@ -48412,6 +48413,7 @@ var SIGNET_GRAPHIQ_PLUGIN_ID = "signet.graphiq";
48412
48413
  var SIGNET_PLUGIN_REGISTRY_DIR = ".daemon/plugins";
48413
48414
  var SIGNET_PLUGIN_REGISTRY_FILE = "registry-v1.json";
48414
48415
  var SIGNET_GRAPHIQ_STATE_FILE = ".daemon/graphiq/state.json";
48416
+ var GRAPHIQ_DEFAULT_INSTALL_DIR = join6(homedir4(), ".local", "bin");
48415
48417
  function getGraphiqStatePath(basePath) {
48416
48418
  return join6(basePath, SIGNET_GRAPHIQ_STATE_FILE);
48417
48419
  }
@@ -48541,11 +48543,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
48541
48543
  function defaultDiscordDesktopCachePath() {
48542
48544
  switch (platform2()) {
48543
48545
  case "darwin":
48544
- return resolve4(homedir4(), "Library", "Application Support", "discord");
48546
+ return resolve4(homedir5(), "Library", "Application Support", "discord");
48545
48547
  case "win32":
48546
- return resolve4(process.env.APPDATA || resolve4(homedir4(), "AppData", "Roaming"), "discord");
48548
+ return resolve4(process.env.APPDATA || resolve4(homedir5(), "AppData", "Roaming"), "discord");
48547
48549
  default:
48548
- return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir4(), ".config"), "discord");
48550
+ return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir5(), ".config"), "discord");
48549
48551
  }
48550
48552
  }
48551
48553
  var IDENTITY_FILES = {
@@ -48603,7 +48605,7 @@ var IDENTITY_FILES = {
48603
48605
  };
48604
48606
  var REQUIRED_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => !spec.optional).map(([key]) => key);
48605
48607
  var OPTIONAL_IDENTITY_KEYS = Object.entries(IDENTITY_FILES).filter(([, spec]) => spec.optional).map(([key]) => key);
48606
- var home = homedir8();
48608
+ var home = homedir9();
48607
48609
  var SOURCE_NATIVE_TOPOLOGY_ENTITY_TYPES = [
48608
48610
  "source_document",
48609
48611
  "source_folder",
@@ -54335,6 +54337,7 @@ var GRAPHIQ_CAPABILITIES = [
54335
54337
  "code:status",
54336
54338
  "code:doctor",
54337
54339
  "code:dead-code",
54340
+ "code:clear",
54338
54341
  "prompt:contribute:user-prompt-submit",
54339
54342
  "mcp:tool",
54340
54343
  "cli:command"
@@ -54406,6 +54409,18 @@ var surfaces2 = {
54406
54409
  title: "Dead Code Detection",
54407
54410
  summary: "Find unreachable symbols in the active project",
54408
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"]
54409
54424
  }
54410
54425
  ],
54411
54426
  dashboardPanels: [],
@@ -54497,6 +54512,7 @@ var signetGraphiqManifest = {
54497
54512
  "code:status": { summary: "Inspect active code index status" },
54498
54513
  "code:doctor": { summary: "Diagnose or repair active code index artifacts" },
54499
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" },
54500
54516
  "prompt:contribute:user-prompt-submit": {
54501
54517
  summary: "Contribute bounded guidance for code retrieval decisions"
54502
54518
  },
@@ -55110,6 +55126,8 @@ var BASE_TOOL_NAMES = new Set([
55110
55126
  "signet_code_status",
55111
55127
  "signet_code_doctor",
55112
55128
  "signet_code_constants",
55129
+ "signet_code_clear",
55130
+ "signet_code_briefing",
55113
55131
  "code_search",
55114
55132
  "code_context",
55115
55133
  "code_blast",
@@ -55133,7 +55151,9 @@ var GRAPHIQ_MCP_TOOL_NAMES = new Set([
55133
55151
  "signet_code_blast",
55134
55152
  "signet_code_status",
55135
55153
  "signet_code_doctor",
55136
- "signet_code_constants"
55154
+ "signet_code_constants",
55155
+ "signet_code_clear",
55156
+ "signet_code_briefing"
55137
55157
  ]);
55138
55158
  var GRAPHIQ_COMPAT_ALIASES = new Map([
55139
55159
  ["code_search", "signet_code_search"],
@@ -55141,7 +55161,9 @@ var GRAPHIQ_COMPAT_ALIASES = new Map([
55141
55161
  ["code_blast", "signet_code_blast"],
55142
55162
  ["code_status", "signet_code_status"],
55143
55163
  ["code_doctor", "signet_code_doctor"],
55144
- ["code_constants", "signet_code_constants"]
55164
+ ["code_constants", "signet_code_constants"],
55165
+ ["code_clear", "signet_code_clear"],
55166
+ ["code_briefing", "signet_code_briefing"]
55145
55167
  ]);
55146
55168
  function readDaemonAuthToken() {
55147
55169
  const apiKey = process.env.SIGNET_API_KEY?.trim();
@@ -55554,6 +55576,32 @@ function registerGraphiqCompatAliases(server, pluginHostProvider) {
55554
55576
  return parts;
55555
55577
  },
55556
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"
55557
55605
  }
55558
55606
  ];
55559
55607
  for (const def of compatDefs) {
@@ -56880,6 +56928,30 @@ async function createMcpServer(opts) {
56880
56928
  args.push("--top", String(boundedTop));
56881
56929
  return graphIqToolResult(args, "Code constants failed", "signet_code_constants", pluginHostProvider);
56882
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
+ });
56883
56955
  registerGraphiqCompatAliases(server, pluginHostProvider);
56884
56956
  if (enableMarketplaceProxyTools) {
56885
56957
  await refreshMarketplaceProxyTools(server, { notify: false });
@@ -1,43 +1,43 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.178.0",
3
+ "version": "0.179.0",
4
4
  "assets": [
5
5
  {
6
6
  "name": "signet-darwin-arm64",
7
7
  "platform": "darwin-arm64",
8
- "sha256": "3c31c3b65d9d08d05f315e11dc48179efa08c63a72bb3d6aac5dee4d13268292",
9
- "size": 117127456
8
+ "sha256": "f8d33f68541b6da9ba4cd786cc12933b39afc3fc9b9d6356fc464c3d62ae30a3",
9
+ "size": 117143968
10
10
  },
11
11
  {
12
12
  "name": "signet-darwin-x64",
13
13
  "platform": "darwin-x64",
14
- "sha256": "688faf2eb21d70deb7349b2d90cf91ed2103a69f232525748fc571f4574a5078",
15
- "size": 121752128
14
+ "sha256": "ef1d2161996e09512bdea639cff968978ddcfb844b3c9c61790d33dff456baa0",
15
+ "size": 121768512
16
16
  },
17
17
  {
18
18
  "name": "signet-linux-arm64",
19
19
  "platform": "linux-arm64",
20
- "sha256": "a3657d9f8e5d7e404b746d34ad3b80fecbfc08b8240e7a1528bf082c6fda29eb",
21
- "size": 154363688
20
+ "sha256": "54010522e52ef4312f79f6e94426c8fb0e0604d927218e8a5ee0b76d6eeb9280",
21
+ "size": 154375408
22
22
  },
23
23
  {
24
24
  "name": "signet-linux-x64",
25
25
  "platform": "linux-x64",
26
- "sha256": "40e654f1f59d938817fe3c34eec1ba9644c809a753ecd84ebb726f10da16c020",
27
- "size": 154922673
26
+ "sha256": "ebdb5a2a89ef6424f3bb50c7d6bfbe3fcceeaca52c508595c4bc9ac83c85c2bb",
27
+ "size": 154934393
28
28
  },
29
29
  {
30
30
  "name": "signet-win32-x64.exe",
31
31
  "platform": "win32-x64",
32
- "sha256": "3e5568dd603f8116ad14db7c4420b2bfc0a3e2f7e85d4805d96281a5463106cb",
33
- "size": 171055616
32
+ "sha256": "0aaa1b3f17739267985d219d3f6f3b9d0e358fa196c443923cba30e853ffb3e5",
33
+ "size": 171067392
34
34
  }
35
35
  ],
36
36
  "components": {
37
37
  "connectors": {
38
- "url": "signet-connectors-0.178.0.tar.gz",
39
- "sha256": "d5b2f88dc383c13183820d50f2ae6e6ac7b27c93b325a5d3e76aa66caa07b292",
40
- "size": 16247
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.178.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.178.0/signetai-darwin-arm64-0.178.0.tgz",
69
- "signetai-darwin-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.178.0/signetai-darwin-x64-0.178.0.tgz",
70
- "signetai-linux-arm64": "https://github.com/Signet-AI/signetai/releases/download/v0.178.0/signetai-linux-arm64-0.178.0.tgz",
71
- "signetai-linux-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.178.0/signetai-linux-x64-0.178.0.tgz",
72
- "signetai-win32-x64": "https://github.com/Signet-AI/signetai/releases/download/v0.178.0/signetai-win32-x64-0.178.0.tgz"
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
  }