Skip to content

Releases: Likenttt/garmin-connect-plugin-for-dsh

v0.1.20 · 课表排期 / Workout scheduling

Choose a tag to compare

@Likenttt Likenttt released this 22 Oct 10:29
355d383

新增课表排期 / Workout scheduling

  • create_garmin_workout 新增可选 scheduleDate,确认预览后创建课表并安排到指定日期。
  • 新增 schedule_garmin_workout,可将已有课表安排到某一天;DSH 插件和 MCP 均支持。
  • 排期确认绑定账号、课表和日期,避免重复写入;创建成功但排期失败时保留课表 ID,便于继续处理。
  • 更新内置 Agent 指引及中英说明。Connect 会话账号共 29 个工具;Personal API 保持 15 个只读工具。

Add an optional scheduleDate when creating a workout, or use schedule_garmin_workout to schedule an existing template. Both DSH and MCP use previews and account/workout/date-bound, one-use confirmations. Partial success preserves the created workout ID for recovery.

验证 / Verification

  • CI 的 Node 20、Node 22 均通过 50 套、1,194 项测试及构建;macOS 51 项、Windows 15 项会话权限测试通过。维护 SDK 依赖与发布包检查通过。
  • 开发候选已在真实 DeepSeek Harness 0.2.1-rc.2 和大陆主账号完成创建、两天排期、回读及清理;原 42 条课表与账号配置保持不变。
  • 正式包的 217 个编译文件与该验收候选一致。
  • 排期成功后等待 Garmin Connect 同步;本轮未验证实体手表收取。

真实桌面验收记录 · npm

npm install dsh-plugin-garmin-connect@0.1.20

v0.1.19 — 官方 Personal API 接入

Choose a tag to compare

@Likenttt Likenttt released this 22 Oct 06:12
0654371

更新内容

  • DSH 与 MCP 正式支持 Garmin 官方 Personal API,集成自维护的 TypeScript SDK。
  • Personal 账号只需填写别名和 API Key,无需邮箱或密码;支持最多 5 个独立账号,保留原有 Connect 网页会话方式。
  • Personal 提供 15 个兼容工具,包含活动、HRV、血氧、呼吸日汇总等读取,以及本地 FIT 下载和训练知识查询。原网页会话账号继续使用 28 个工具及课表、日历管理能力。
  • 设置页增加连接验证;Key 保存后不回填,账号凭据按稳定 ID 隔离。
  • 更新内置技能、中英 README 和 9 图 Personal API 教程,补充真实 Harness 桌面截图。
  • 大陆站页面文案尚未完善,对应 Personal 端点换取令牌返回 HTTP 526,当前无法读取数据;国际端点已通过验证。

验证

  • Host/client 构建、SDK 依赖检查、7 套共 146 项定向测试通过。
  • GitHub CI:Node 20/22 各 49 套、1112 项测试及构建通过;Node 22 包检查、Windows 15 项 ACL 测试、macOS 51 项 ACL/Session 测试全部通过。CI 记录。
  • 真实 Harness 0.2.1-rc.2 桌面候选通过设置保存、连接验证、5 项 Personal 读取与 1 项原大陆网页账号读取。重启后配置保留,再次连接验证成功。
  • 正式包 217 个编译文件与上述桌面候选完全一致。
  • 官方 npm 全新安装、MCP 启动和 15 项 Personal 工具发现通过;本机 DSH 已切换正式 0.1.19,账号配置保留,Personal 连接复核成功。
  • HRV 时序与血氧测量值存在空缺,按原始响应保留;呼吸为每日摘要。

桌面验收记录

安装

npx @deepseek-ai/dsh plugin --profile desktop add dsh-plugin-garmin-connect@0.1.19 --registry=https://registry.npmjs.org/

MCP:使用 dsh-plugin-garmin-connect@0.1.19,更新后重新加载连接器。

English

Adds official Garmin Personal API support to DSH and MCP. Configure a Personal account with an alias and API Key; no email or password is needed. Includes 15 compatible Personal tools, keeps existing web-session accounts and tools, isolates credentials by account ID, and provides a connection check. International access and a real Harness desktop candidate passed validation. The mainland Personal token endpoint currently returns HTTP 526. Build, dependency checks and 146 focused tests pass; all 217 compiled release files match the desktop-tested candidate.

v0.1.18 — 血氧与呼吸数据读取

Choose a tag to compare

@Likenttt Likenttt released this 21 Oct 16:27
da93cb0

更新内容

  • 新增血氧 get_garmin_spo2 和呼吸 get_garmin_respiration:DSH 与 MCP 共用,支持日期和已有账号选择,保留完整摘要与时序数据。
  • 内置技能补充新工具的发现、调用与空数据处理。共 28 个工具,其中 24 个用于查询或本地建议。
  • 中英文 README 补充 Garmin、Apple、Android 手表的 WristTale 对应链接。
  • 继续精确依赖官方 npm 上已发布的自维护 SDK 1.7.0,通过其认证 HTTP 传输调用,无需未发布依赖。

验证

  • 完整构建、SDK 依赖校验及 6 套共 155 项专项测试通过。
  • 已通过大陆、国际现有 Session 和真实 DeepSeek Harness 对话验收;四次桌面工具调用均成功。
  • 国际账号返回了血氧、呼吸测量数据;大陆账号测试日期的测量字段为空,接口正常可访问,不据此判定整个区域不支持。
  • 正式包的 182 个编译文件与桌面验收候选完全一致。

验收记录

English

Adds daily blood oxygen and respiration read-only tools to DSH and MCP, retaining complete service responses and existing account selection. Updates the bundled skill and bilingual documentation. Build, dependency checks, 155 focused tests and real Harness calls passed. Empty China-account measurements remain distinct from API availability.

安装 / Install

npx @deepseek-ai/dsh plugin --profile desktop add dsh-plugin-garmin-connect@0.1.18 --registry=https://registry.npmjs.org/

MCP: install dsh-plugin-garmin-connect@0.1.18 and restart the configured MCP server.

平台检查说明

GitHub 的 Node 20/22 与 Windows 检查均已通过。macOS 云端任务因托管 arm64 Runner 容量不足未能启动,并非测试失败;对应 51 项 ACL/Session 专项已在本机 macOS 通过,Host 构建也已通过。云端任务记录。

v0.1.17 — 课表删除与排期管理

Choose a tag to compare

@Likenttt Likenttt released this 18 Oct 16:13

更新内容

  • 新增查询日历排期、删除训练库课表、取消单次日历排期三个工具,DSH 与 MCP 共提供 26 个工具。取消排期会保留训练模板。
  • 删除操作先预览再确认,确认绑定账号和具体对象,10 分钟内一次有效;目标变化时需要重新确认,写入不会自动重放。
  • MCP 连接时提供 Agent 执行说明,指导工具发现、账号选择、认证恢复和升级后的只读核验。
  • 更新随包技能,以及中英双语产品、安全与开发者李二牛介绍。

验证

  • Host/client 编译、客户端打包及维护库依赖检查通过。
  • 66 项定向测试通过,未将历史全量测试计为本次结果。
  • 已在真实 DeepSeek Harness 0.2.1-rc.2 的大陆主账号验证取消排期与删除模板;测试数据已清理,原有 42 个课表 ID 集合未变。
  • 真实 Harness 验收记录。

安装

官方 npm:dsh-plugin-garmin-connect@0.1.17

npx @deepseek-ai/dsh plugin --profile web add dsh-plugin-garmin-connect@0.1.17 --registry=https://registry.npmjs.org/

安装后重启对应的 Harness/MCP 进程,重新连接以发现新工具。DeepSeek Harness 兼容范围延续 0.1.16,已实测 0.2.1-rc.2。

附件为与官方 npm 发布相同的预编译安装包,SHA-256:

c57922a59bfa464f333df3a056ebaaa4ee32ae81780240bbd08d966222024e5b  dsh-plugin-garmin-connect-0.1.17.tgz

English summary

Adds scheduled-workout queries, confirmed workout deletion and calendar cancellation to DSH and MCP, bringing the total to 26 tools. Also adds MCP connection guidance and updated bundled skills. Build and 66 focused tests passed, with a live China-account check in DeepSeek Harness 0.2.1-rc.2.

v0.1.16 — Harness 0.2.1 兼容更新

Choose a tag to compare

@Likenttt Likenttt released this 18 Oct 10:56

更新

  • 修复 DeepSeek Harness 0.2.1-rc.2 的插件兼容拦截。两个 client peer 使用有界范围 >=0.2.1-rc.1 <0.2.2-0,覆盖 0.2.1 版本线的 rc 与正式版,同时保留此前支持项,排除 0.2.2 及其预发布版本。
  • 同步构建所用的 0.2.1-rc.2 client SDK;本次兼容补丁没有运行时代码变更。
  • 沿用已有的 13 个恢复与训练 API、共 23 个 DSH/MCP 工具,继续使用自行维护的 @likenttt/garmin-connect@1.7.0。

验证

  • 4 项兼容性回归测试通过,覆盖 Host 的 includePrerelease: true 语义及版本边界。
  • Host 编译、client 声明编译、client bundle 构建及维护版 SDK 检查通过。
  • 官方 npm 发布包完整性核验通过;本机通过官方 registry 安装后,在 Harness 0.2.1-rc.2 重启验收正常。

安装

官方 npm 0.1.16

npm install dsh-plugin-garmin-connect@0.1.16 --registry=https://registry.npmjs.org/

已配置 DSH CLI 的桌面用户可运行:

dsh plugin --profile desktop add dsh-plugin-garmin-connect@0.1.16 --save-exact --registry=https://registry.npmjs.org/

v0.1.13

Choose a tag to compare

@Likenttt Likenttt released this 05 Oct 11:02
a36af2a

Declare compatibility with DeepSeek Harness 0.2.0-rc.2 and build against its matching client packages.

  • Keep support for DSH 0.2.0-rc.1 and the previously supported 0.1 client versions.
  • Verified with a clean build, focused tests, all four CI checks, and isolated installation and Host startup on DSH 0.2.0-rc.2.

v0.1.12

Choose a tag to compare

@Likenttt Likenttt released this 30 Sep 12:06
60fd734

DSH 0.2.0-rc.1 compatibility update for the Garmin Connect plugin.

  • Removes the retired dsh-client-runtime dependency and updates client/Host integration to DSH 0.2.
  • Keeps embedded Garmin authentication on local clients with a physical loopback check.
  • Initializes the settings mirror through the supported ensure() API.
  • Retains the previous DSH 0.1 client peer ranges.

Official npm package: https://www.npmjs.com/package/dsh-plugin-garmin-connect/v/0.1.12

v0.1.11

Choose a tag to compare

@Likenttt Likenttt released this 29 Sep 03:14
eaa2b1f

Garmin Connect plugin 0.1.11

  • Configure up to five Garmin accounts directly in DeepSeek Harness, with independent regions, aliases, sessions, and stable account IDs. Multiple accounts can share the same region; tool calls require an explicit account ID when more than one account is configured.
  • Keep Garmin sign-in embedded in Harness. Standalone CLI and MCP integrations open the system browser.
  • Show saved email addresses as editable masked values. Changing an email or region saves the new configuration and opens a fresh Garmin sign-in. Region, alias, and email fields stay aligned even when labels wrap.
  • Remove the old top-right account controls and guide account setup through the plugin settings form.

Verified with 896 passing tests, successful build and package checks, and green CI on Node 20, Node 22, macOS, and Windows. The settings and embedded login flows were also checked locally in DeepSeek Harness.

Install from the official npm registry:

npx --legacy-peer-deps=false @deepseek-ai/dsh plugin --profile web add dsh-plugin-garmin-connect@0.1.11

v0.1.10

Choose a tag to compare

@Likenttt Likenttt released this 27 Sep 10:37
6c44038

Garmin Connect plugin 0.1.10

Fix the blank Garmin login window in current DeepSeek Harness. The local login bridge now permits the exact dsh-app://app Harness origin in its frame-ancestors policy while retaining the existing loopback parents and origin checks.

After installing 0.1.10 in a local Harness profile and restarting the app, the China-region button opened the Garmin-owned email, password, and Sign In form. No credentials were entered during verification. The configured China-region profile rejects the International button by design, so the International form was not tested in that profile.

The embedded auth server tests and build passed. CI passed on Node 20, Node 22, macOS, and Windows. The attached npm tarball can be installed locally while npm registry publication awaits account authentication.

v0.1.9

Choose a tag to compare

@Likenttt Likenttt released this 27 Sep 06:54
ca5a057

Garmin Connect plugin 0.1.9

Fix Garmin sign-in buttons in current DeepSeek Harness. The plugin now registers the four authentication endpoints through Harness's guarded /api routes and accepts the Host's internal request URL after Harness has admitted the request. Older Hosts continue to use the existing /garmin-auth RPC route; the client falls back only when a route is absent.

The login page still belongs to Garmin, and credentials remain outside the chat. This release preserves the full activity detail default introduced in 0.1.8.

Verified with 838 tests across 38 suites, Host/client builds, CI on Node 20/22 and macOS/Windows, and an in-memory request against the Connection runtime bundled with DeepSeek Harness. The attached npm tarball is available for local installation while npm registry publishing awaits account authentication.