1321928757/dsh-mysql

1321928757★ 1JavaScript最后同步: 2026-08-18

在 GitHub 打开

MySQL connector plugin for DeepSeek Harness: configure connections in settings, switch per session from the composer, and expose mysql_query/mysql_tables/mysql_execute tools to every agent preset.

README 摘要

dsh-mysql MySQL connector plugin for DeepSeek Harness. Configure multiple MySQL connections in the DSH settings page, switch the active connection per session from a button in the composer, and expose MySQL tools globally to every agent preset — no preset edits required. 中文说明 Features - Settings page ( 设置 → MySQL 数据库 ): add / edit / delete / test connections — host, port, user, password, default database, per-connection table allowlist and write permission (default off). - Composer button (🐬, left side of the input bar): pick the connection for the current session only ; switch any time. The chosen connection and its readable tables are injected into each turn's runtime-context snapshot (appended after the conversation, so switching or editing a connection never rewrites the stable system-prompt prefix used for context caching). - Global tools (available under every agent preset): Tool Purpose mysql query Read-only single-statement SELECT/SHOW/DESCRIBE/EXPLAIN against the selected connection. Table allowlist enforced, multi-statement rejected, MAX EXECUTION TIME hint injected into SELECT , max 2000 rows returned with a truncated flag. mysql tables Inspect the schema (columns, type…

在 GitHub 查看完整 README →
Agent/智能体connectordatabasedeepseek-harnessdsh-pluginmysqlsqltoolsagent

分类