Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/commands/connections.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Command } from "commander";
import chalk from "chalk";
import { requireConfig, saveConfig, loadConfig } from "../config.js";
import { requireConfig, saveConfig } from "../config.js";
import { AskdbClient } from "../api.js";

export const connectionsCommand = new Command("connections")
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/code-mode/runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ test("makeBridge forwards its connectionId so sandbox calls hit the chosen DB",
await bridge.external_find({ collection: "users" });

assert.equal(
(calls[0]?.parsed as { connectionId?: string }).connectionId,
(calls[0]?.parsed as { connectionId?: string })?.connectionId,
"conn_multi"
);
});
Expand Down
1 change: 0 additions & 1 deletion packages/mcp-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
schema,
eq,
and,
isNull,
inArray,
desc,
generateCollectionDetailMarkdown,
Expand Down
1 change: 0 additions & 1 deletion packages/shared/src/crypto/encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { randomBytes, createCipheriv, createDecipheriv } from "crypto";

const ALGORITHM = "aes-256-gcm";
const IV_LENGTH = 16;
const AUTH_TAG_LENGTH = 16;

function getKey(): Buffer {
const hex = process.env.ENCRYPTION_KEY;
Expand Down
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import path from "node:path";
import { fileURLToPath } from "node:url";
import { existsSync } from "node:fs";
import { config as loadEnv } from "dotenv";
import rateLimit from "express-rate-limit";
import { rateLimit } from "express-rate-limit";
import cookieParser from "cookie-parser";
import { CSP_DIRECTIVES } from "./lib/csp.js";

Expand Down