@mgsoftwarebv/mg-dashboard-mcp 7.4.7 → 7.4.8

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.
Files changed (2) hide show
  1. package/dist/index.js +34 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6153,6 +6153,12 @@ var directorySubmissionStatus = pgEnum(
6153
6153
  "manual"
6154
6154
  ]
6155
6155
  );
6156
+ var directoryAccountStatus = pgEnum("directory_account_status", [
6157
+ "pending_verification",
6158
+ "active",
6159
+ "failed",
6160
+ "captcha_blocked"
6161
+ ]);
6156
6162
  var linkDirectory = pgTable(
6157
6163
  "link_directory",
6158
6164
  {
@@ -6245,6 +6251,32 @@ pgTable(
6245
6251
  )
6246
6252
  ]
6247
6253
  );
6254
+ pgTable(
6255
+ "directory_account",
6256
+ {
6257
+ id: uuid("id").primaryKey().defaultRandom(),
6258
+ clientId: uuid("client_id").notNull().references(() => linkBuildingClient.id, { onDelete: "cascade" }),
6259
+ directoryId: uuid("directory_id").notNull().references(() => linkDirectory.id, { onDelete: "cascade" }),
6260
+ email: text("email").notNull(),
6261
+ passwordEncrypted: text("password_encrypted").notNull(),
6262
+ status: directoryAccountStatus("status").notNull().default("pending_verification"),
6263
+ registerUrl: text("register_url"),
6264
+ loginUrl: text("login_url"),
6265
+ lastError: text("last_error"),
6266
+ registeredAt: timestamp("registered_at", { withTimezone: true }),
6267
+ verifiedAt: timestamp("verified_at", { withTimezone: true }),
6268
+ lastLoginAt: timestamp("last_login_at", { withTimezone: true }),
6269
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
6270
+ updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow()
6271
+ },
6272
+ (table) => [
6273
+ uniqueIndex("directory_account_client_directory_uidx").on(
6274
+ table.clientId,
6275
+ table.directoryId
6276
+ ),
6277
+ index("directory_account_status_idx").on(table.status)
6278
+ ]
6279
+ );
6248
6280
  var githubToken = pgTable(
6249
6281
  "github_token",
6250
6282
  {
@@ -12237,12 +12269,12 @@ ${facets.join(", ")}` : ""),
12237
12269
  };
12238
12270
  }
12239
12271
  const data = await res.json();
12240
- if (data.count === 0) {
12272
+ if (data.count === 0 || data.confident === false) {
12241
12273
  return {
12242
12274
  content: [
12243
12275
  {
12244
12276
  type: "text",
12245
- text: "No wiki pages matched. Fall back to search-team-memory for raw history \u2014 repeated misses here become insight-scout signals automatically."
12277
+ text: data.hint ?? "No confident wiki answer. Fall back to search-team-memory for raw history \u2014 repeated misses here become insight-scout / gap-filler signals automatically."
12246
12278
  }
12247
12279
  ]
12248
12280
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgsoftwarebv/mg-dashboard-mcp",
3
- "version": "7.4.7",
3
+ "version": "7.4.8",
4
4
  "description": "MCP Server for MG Dashboard - SSH, SFTP, Docker, domains, DNS, and environment config tools for Cursor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",