tiwe0/GeoChat--plugins-deepseek-harness ↗★ 121

dsh-geochat-plugin

Native GeoGebra canvas for DeepSeek Harness: 20 session-scoped tools for drawing, scene readback, text layout checks and animation capture, plus 55 mathematical skills and offline assets. 适合需要进行数学公式可视化、几何作图和动画演示的用户。

패키지
dsh-geochat-plugin
호환성
미검증
Harness peer 범위
0.2.0-rc.2
Cordis peer 범위
4.0.4
버전
0.1.5
라이선스
Apache-2.0
최근 업데이트
2026. 10. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tiwe0/GeoChat#288b3b15be39312b2baf771eaf015f67b9f841a2&path:plugins/deepseek-harness

配置

默认安装 patch 保持插件 id geochat。插件配置只接受:

timeoutMs: 30000
skills: true
  • timeoutMs:单次原生画布调用的总 deadline。
  • skills:是否注册内置数学技能。

旧版 endpoint、pollIntervalMs 和 authTokenEnv 已删除。插件不连接 loopback MCP,也不读取桌面 bearer token。

使用示例

Harness 需要启用原生 skills 服务及其 skill 工具(标准 profile 中提供),才能按需读取技能。先读取 geochat 技能,再开始作图。

可以向 Harness 提问:

在 GeoChat 画布上绘制 f(x)=x² 和 y=2x+3,求交点并标注。保留已有对象,完成后检查交点是否同时位于两条曲线上。

用 If 建立分段函数,再用 Sequence 生成采样点,说明定义域边界。先查语法,最后检查实际对象。

绘制单位圆上的点,以滑块参数驱动一圈动画,给出播放、暂停与重置方式。

典型调用顺序:geochat_open_canvas → geochat_getCanvasContext → geochat_search_commands → geochat_executeGeoGebraCommands → geochat_inspectGeoGebraObjects。

geochat_open_canvas 无参数,自动使用工具所属 session,展开并选中右侧画布,等 Applet 就绪后才返回 opened: true, ready: true。重复调用只展开/聚焦,不清空已有构造。它不会切换到另一段对话;当前会话没有连接中的界面,或同时显示在多个窗口时会明确报错,不广播打开、不替换画布。超时或取消后不保留等待下次重连的打开请求。