dsh-plugin-noema
其他 活跃维护

dsh-plugin-noema

wjw99830/dsh-plugin-noema

自动追踪每次编码任务的改动,对比前后结构复杂度差异,清晰标出复杂度上升区域,辅助审查者快速定位高风险代码,减少遗漏并优化重构决策。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
325 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:wjw99830/dsh-plugin-noema
git clone https://github.com/wjw99830/dsh-plugin-noema.git
git clone git@github.com:wjw99830/dsh-plugin-noema.git
README.md main

Noema

Listed on dsh-plugin.org
dshfind

English | 中文

Keep your standards in AI-assisted development

Noema is a DeepSeek Harness plugin for developers who care about the code they ship. After each coding task, it shows complexity changes to help you decide which files and functions need a closer look

Noema showing complexity changes across a file and its functions

Review changes

Noema compares three metrics before and after each task:

Metric What it measures
Cyclomatic complexity Independent paths through the code
Cognitive complexity Difficulty of following control flow, accounting for branches, nesting, and recursion
Maximum nesting depth Deepest nesting of control structures within a function

Expand a file or function to locate changes within it. Its metrics include the code it contains; [Top Level] shows its own code separately from named child functions. Unchanged code is hidden by default and can be revealed when needed

These metrics help focus your review. Judge changes in the context of the code: a lower score alone does not mean better code

Analysis runs locally and compares the workspace at the start and end of each turn, including any manual edits made during that time. Results stay outside the model context

Supported languages

TypeScript (including TSX), Python, and Go are supported. JavaScript and TypeScript declaration files are excluded

No card appears when there are no supported code changes, including edits limited to comments or formatting. Code changes still appear when the scores remain the same

Install

Supports DSH ^0.1.7-rc.2 || ^0.2.0-rc.2 || ^0.2.1-alpha.1 and requires Node.js ^22.19.0 || >=24.0.0

Install the npm package into the Web profile, then start DSH:

dsh plugin --profile web add dsh-plugin-noema
dsh web

If DSH is already running, restart it and refresh the browser. Noema starts analyzing new turns after installation; ask DSH to modify a supported source file to try it

Choose files

Open Plugins → Noema → Files to analyze in the Web sidebar. Set include and exclude patterns relative to your workspace, such as src/** and **/*.test.ts, or use Add common test exclusions. Settings apply to the current Profile. Exclusions take precedence, and saved changes apply from the next turn

Noema respects .gitignore and excludes common dependency and build directories by default

Learn more

  • Design: analysis behavior and metric aggregation
  • Scoring: language rules and references
  • Contributing: local development, tests, and packaging

Noema is released under the MIT License