Skip to content

Releases: HeartingU/Dogicat_DMS

DogiCat DMS v0.10.0 — 首个源码版 / First source release

Choose a tag to compare

@HeartingU HeartingU released this 23 Sep 08:35

不止查看数据,更要查清问题

DogiCat DMS 的首个公开源码版本:把日常数据库管理、关联记录追踪、前后快照对比和可选 AI 分析放进同一个 Python 桌面工作台。

这是源码版 Release,不包含 EXE、安装程序或模型权重。 项目仍在持续开发,请先用示例或测试数据库体验。

中文使用指南 · English guide · AI 配置

这一版值得试什么

  • 从一条记录追踪问题:沿数据库外键或手动确认的关系,查看相关业务记录。
  • 看清前后变化:捕获快照,比较字段旧值、新值、记录增删和结构变化。
  • 把证据带走:检查字段脱敏预览后导出 .dogicatcase,离线打开,无需源数据库凭据。
  • 没有数据库服务,也能预览 SQL:支持 SQLite 与简单 MySQL 转储的兼容子集,并给出兼容性报告。
  • 接入你选择的大模型:在线 API 或 Ollama、LM Studio 等本地服务;上下文可审阅、可编辑,模型回答不会自动执行 SQL。
  • 保留熟悉的数据库操作:连接管理、SQL 编辑、数据编辑、搜索筛选排序、ER 图,以及 SQL/CSV 导入导出。
  • 更顺手的界面:浅色/深色主题、中英文切换、可调宽度的资源管理器和分批表格绘制。

本次发布包含的修复

  • 快照采集超限后保留原快照,清理受限查询的未读结果,允许再次尝试。
  • 修复资源树重复箭头,按需加载数据库对象,减少重复读取。
  • 改善标签关闭命中区域,关闭时销毁页面并停止遗留定时任务。
  • 切换语言时保留已打开的标签、SQL 和输入内容。
  • 显式关闭 SQLite 示例、备份及导出测试连接,修复 Windows 下文件占用问题。

下载与启动

在本页 Assets 中下载 Source code (zip) 并解压。在包含 main.py 的目录打开终端,运行:

python main.py

需要 Python 3.9+,并包含 Tcl/Tk。SQLite 与内置示例不需要额外 Python 包;连接 MySQL 或 PostgreSQL 时,再按需安装对应驱动:

python -m pip install mysql-connector-python
python -m pip install psycopg2-binary

第一次体验建议打开 菜单 → 工具 → 体验示例,从 orders.id = 1001 开始追踪。示例使用虚构数据,不需要 API 密钥。

验证范围与注意事项

  • 本次源码对应提交 b56c00a,Windows / Linux × Python 3.9 / 3.12 四组自动测试全部通过。本地 Python 3.9 和 3.11 的 79 项测试均通过。
  • 这是源码发布,不代表 EXE 打包、所有桌面平台、真实 MySQL/PostgreSQL 或所有模型供应商已完成验收。
  • 排障采集上限为单表 10,000 行、合计 50,000 行;普通表浏览不受此采集上限限制。
  • 快照不是备份,也不是跨表原子快照;前后差异不能单独证明变化原因。
  • 离线 SQL 预览不是完整恢复工具;脱敏需要人工检查,原始快照不脱敏,排障包不加密。
  • 使用远程 AI 时,确认发送的上下文会交给所选服务。请勿在 Issue 中提交密钥、真实客户数据或完整生产转储。

许可证:The Unlicense。欢迎用最小虚构示例反馈问题。

English release notes

DogiCat DMS v0.10.0 — First public source release

Don't just browse your database. Follow the evidence.

This Python desktop workbench combines everyday database management with record tracing, before/after snapshot comparisons, portable offline cases, and optional AI assistance.

Highlights

  • Trace records through declared foreign keys or explicitly confirmed relationships.
  • Compare old/new values, added/deleted records, and schema changes.
  • Review field masking and share .dogicatcase files without source-database credentials.
  • Preview a supported subset of SQLite and simple MySQL SQL dumps offline, with compatibility reports.
  • Use your own API or local model service. Inspect context before sending; AI answers never execute SQL automatically.
  • Work with saved connections, SQL editing, data editing, search/filter/sort, ER diagrams, and SQL/CSV import/export.
  • Switch between light/dark themes and Chinese/English UI; some older administration messages remain Chinese.

Fixes included

Capture-limit recovery, lazy explorer loading and duplicate-arrow cleanup, more reliable tab-close targets, page/timer cleanup, input-preserving language switching, and explicit SQLite connection closure to prevent Windows file locks.

Getting started

Download Source code (zip) under Assets, extract it, and run python main.py from the project directory. You need Python 3.9+ with Tcl/Tk. SQLite and the fictional demo need no extra packages. Install mysql-connector-python or psycopg2-binary only for the corresponding database.

The UI starts in Chinese. Switch via 菜单 → 语言 → English, then choose Menu → Tools → Try demo and trace orders.id = 1001.

Validation and limits

All four Windows/Linux × Python 3.9/3.12 CI jobs passed for commit b56c00a; 79 tests also passed locally on Python 3.9 and 3.11. This is a source-only release, not an EXE or installer. Live database/provider workflows and every desktop platform still need target-environment verification.

Evidence capture is bounded to 10,000 rows per table and 50,000 total; these limits do not cap ordinary browsing. Snapshots are not backups or atomic cross-table observations, and diffs are not proof of causality. SQL preview is a compatibility subset, not a full restore engine. Review masking manually; raw snapshots remain unredacted and case files are not encrypted. Remote AI requests send the reviewed context to the selected provider.

Licensed under The Unlicense. Please report issues using fictional, minimal examples—not credentials or production dumps.