dbx/packages/node-core/tests
onenewcode 91c77e53c4
feat(mongodb): support collection stats shell commands
Add db.coll.stats() / dataSize() / storageSize(scale) / totalIndexSize()
so these MongoDB shell commands return a result grid instead of the
"Use MongoDB shell-style commands" error (issue #2529).

- backend: collStats via mongo_driver.collection_stats, wired through
  mongo_ops, the dbx-web /mongo/collection-stats route, the tauri
  mongo_collection_stats command, and the MCP data bridge
- node-core: parseMongoCollectionStatsCommand + result formatter and
  executeQuery dispatch (web build + MCP path)
- desktop: mirror the parser/executor/autocomplete in mongoShellCommand.ts,
  queryStore.ts, api/tauri/http facade, and mongoCompletion.ts
- tests for the parser, result formatter, and completion entries

Close #2529
2026-07-03 21:32:29 +08:00
..
collections.test.ts feat(vector): add ChromaDB support 2026-06-26 01:41:36 +08:00
connection-store.test.ts chore: migrate test runner from node:test/tsx to vitest 2026-06-08 01:17:27 +08:00
driver-manifest.test.ts fix(mcp): route GaussDB through desktop bridge 2026-06-25 22:52:03 +08:00
entrypoint.test.ts fix(check): stabilize pnpm check on Windows 2026-06-26 17:55:58 +08:00
format.test.ts feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
mongo-query.test.ts feat(mongodb): support collection stats shell commands 2026-07-03 21:32:29 +08:00
paths.test.ts fix(mcp): use linux local data dir 2026-06-24 15:51:10 +08:00
postgres-url.test.ts fix(ai): Codex CLI provider reliability fixes for DBX Desktop 2026-06-25 22:31:14 +08:00
redis-command.test.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
redis-direct.test.ts fix(mcp): add direct Redis command execution 2026-06-26 22:27:31 +08:00
rqlite-direct.test.ts feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
schema-context.test.ts feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
sql-safety.test.ts chore: migrate test runner from node:test/tsx to vitest 2026-06-08 01:17:27 +08:00
sqlite-direct.test.ts fix(check): stabilize pnpm check on Windows 2026-06-26 17:55:58 +08:00
starrocks-url.test.ts feat(connection): add StarRocks TLS support 2026-07-02 16:37:20 +08:00