dsh-diffgeom
Manifest validdsh plugin used to solve geometry problems
dsh-diffgeom
Differential-geometry symbolic computation for DeepSeek Harness. It registers a diffgeom tool that runs coordinate-free differential geometry through SymPy.diffgeom and returns the symbolic result.
Prerequisites
Python 3 with SymPy installed:
python -m pip install sympy
Verify:
python -c "import sympy; print(sympy.__version__)"
Install
dsh plugin --profile web add "D:/VSCode_/Project/dsh/dsh-diffgeom"
(or publish to npm and dsh plugin --profile web add dsh-diffgeom)
What it can do
- manifolds, patches, coordinate systems
- scalar fields and tensor fields (abstract, coordinate-free)
- exterior derivative
d(Differential) - wedge product
∧(Wedge) - Lie derivative (
LieDerivative) - covariant derivative, metric → Christoffel symbols → Riemann/Ricci components
Preloaded objects
The tool evaluates your Python code with a working Euclidean manifold already set up:
- 2D:
m,p,r2, coordinatesx,y, basis 1-formsex,ey, basis vectorse_x,e_y, metricg - 3D:
m3,p3,r3, coordinatesx3,y3,z3, basisex3,ey3,ez3, vectorse_x3,e_y3,e_z3, metricg3
Plus the usual constructor/operation names: Manifold, Patch, CoordSystem, TensorProduct, Wedge, LieDerivative, Differential, metric_to_Christoffel_2nd, metric_to_Ricci_components, metric_to_Riemann_components, symbols, Function, simplify.
Examples
d(x*y) # exterior derivative of the scalar field x*y
Wedge(ex, ey)(e_x, e_y) # wedge of basis 1-forms evaluated on basis vectors → 1
LieDerivative(e_x, x*y) # Lie derivative of x*y along e_x → y
How it works
index.js runs python diffgeom_backend.py "<code>" via Node's child_process, capturing stdout. The backend builds the Euclidean manifold, evals the code, and prints the result.
Comments
Loading…
Similar plugins
by uckkk
几何平均数
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-geometric-meanby omdsh-dev
DSH 计算器工具插件:安全的数学表达式求值器,零依赖递归下降解析器
★ 9
MIT
TypeScript
Sep 10, 2026
dsh plugin --profile web add @deepseek-ai/dsh-tool-calculatorby uckkk
平方数判断
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-is-squareby uckkk
量子计算
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-future-quantum-computingby CMoyuer
用于Deepseek Harness的CAD设计插件
★ 0
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add dsh-cad-viewerby xiaokaizhou
DSH 插件:在聊天中提供图像/视频生成工具,基于 OpenAI 兼容 API
★ 0
MIT
JavaScript
Sep 21, 2026
dsh plugin --profile web add dsh-llm-multimodal