dsh-calendar 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -8,7 +8,9 @@ DSH community plugin: read/write calendar events via CalDAV. Provides 5 calendar
8
8
 
9
9
  ## Compatibility
10
10
 
11
- Plugin contracts and Web-profile co-loading verified against the official source-run `@deepseek-ai/dsh@0.1.3-alpha.1` baseline on 2026-09-07. OAuth tests use mocked token and DAV responses, not a real Google account. Built for the cordis patch-bundle plugin model (`cordis.patch.yml` + `dsh.bundle.patch`). No runtime imports of `@deepseek-ai/*` internals.
11
+ On 2026-09-08, the npm release was installed with `dsh plugin --profile web add` into the locally installed official `@deepseek-ai/dsh@0.1.3-alpha.2`, running Node `24.16.0`. Validation covered profile composition, all 6 tool registrations and Web startup. Calling `calendar_list` through the host tool execution pipeline refreshed a real Google token (200), read via CalDAV REPORT (207) and produced model-facing content. This Google validation performed reads only; writes were not tested.
12
+
13
+ Follows the official [plugin packaging and installation requirements](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/develop/basic/publish.md): an ESM entry point, prebuilt `lib/`, `dsh.bundle.patch` and a `cordis.patch.yml` layer. The plugin explicitly injects `tools` and supplies JSON Schema parameters, canonical output and rendering, with no runtime imports of `@deepseek-ai/*` internals. Use Node 22.19 or later within 22.x, or Node 24 or later. Harness is evolving rapidly; the version above is the tested baseline.
12
14
 
13
15
  ## Installation
14
16
 
@@ -143,6 +145,7 @@ Input and output are uniformly ISO 8601. Timed events are output in UTC (e.g. `2
143
145
 
144
146
  ## Changelog
145
147
 
148
+ - **0.5.2 (2026-09-08)**: document installation, loading and real Google tool execution in official Harness 0.1.3-alpha.2; update compatibility and Node requirements. Runtime code is unchanged from 0.5.0.
146
149
  - **0.5.1 (2026-09-08)**: document live Google OAuth/CalDAV read validation, the `calendar.readonly` versus `calendar` scope results and Testing refresh-token expiration. Runtime code is unchanged from 0.5.0.
147
150
  - **0.5.0 (2026-09-07)**: fix Google CalDAV #2 with OAuth configuration/environment credentials, request-time refresh, cancellation and proxy forwarding. Make health checks and error guidance authentication-aware; retain Basic authentication for other servers.
148
151
  - **0.4.0**: new `calendar_health` self-check (offline endpoint and credential configuration checks, not a connection test).
package/README.md CHANGED
@@ -13,7 +13,9 @@ DSH 社区插件:通过 CalDAV 读写日历事件。提供 5 个日历操作
13
13
 
14
14
  ## 兼容性
15
15
 
16
- 已在 `@deepseek-ai/dsh@0.1.3-alpha.1` 官方源码基线上验证插件接口与 Web profile 同载(2026-09-07)。OAuth 使用离线模拟的令牌端点和 DAV 响应测试,未使用真实 Google 账号验证。遵循 cordis 组合包补丁模型(`cordis.patch.yml` + `dsh.bundle.patch`),运行时不 import 任何 `@deepseek-ai/*` 内部模块。
16
+ 2026-09-08 已在本机安装的官方 `@deepseek-ai/dsh@0.1.3-alpha.2`、Node `24.16.0` 中,通过 `dsh plugin --profile web add` 安装 npm 发布包,验证组合配置、6 个工具注册及 Web 启动;经宿主工具执行流程调用 `calendar_list`,真实 Google 令牌刷新返回 200、CalDAV REPORT 返回 207,并生成模型可读的结果。本次仅验证 Google 读取,未执行写入。
17
+
18
+ 遵循官方[插件打包与安装要求](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/user/develop/basic/publish.md):ESM 入口、预构建 `lib/`、`dsh.bundle.patch` 和 `cordis.patch.yml` 配置层;显式注入 `tools`,提供 JSON Schema 参数、规范化输出和渲染函数,运行时不 import `@deepseek-ai/*` 内部模块。使用 Node 22.19 及以上的 22.x 或 Node 24 及以上版本;Harness 仍在快速迭代,上述版本是实测基线。
17
19
 
18
20
  ## 安装
19
21
 
@@ -166,6 +168,7 @@ Nextcloud / 自定义 Basic 服务:检查账号、密码或服务要求的应
166
168
 
167
169
  ## 版本记录
168
170
 
171
+ - **0.5.2(2026-09-08)**:补充官方 Harness 0.1.3-alpha.2 的安装、加载与真实 Google 工具调用验证,更新兼容性和 Node 版本要求;运行时代码与 0.5.0 相同。
169
172
  - **0.5.1(2026-09-08)**:补充真实 Google OAuth/CalDAV 读取验证、`calendar.readonly` 与 `calendar` 范围对比及 Testing 刷新令牌到期说明;运行时代码与 0.5.0 相同。
170
173
  - **0.5.0(2026-09-07)**:修复 Google CalDAV #2:新增 OAuth 凭据与环境变量配置、请求时刷新、取消与代理透传;健康检查区分 Basic/OAuth,修正误导的应用专用密码说明。保留其他服务的 Basic 认证。
171
174
  - **0.4.0**:新增 `calendar_health` 自检(离线检查 CalDAV 端点与凭据配置,不验证连接)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-calendar",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "DeepSeek Harness 日历插件:CalDAV 日程查询、创建、修改、删除与搜索,支持 Google OAuth 2.0、iCloud、Nextcloud、自定义服务及离线配置自检。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -32,7 +32,8 @@
32
32
  },
33
33
  "keywords": [
34
34
  "dsh",
35
- "deepseek-harness",
35
+ "deepseek-harness",
36
+ "dsh-plugin",
36
37
  "plugin",
37
38
  "calendar",
38
39
  "caldav",
@@ -40,7 +41,7 @@
40
41
  ],
41
42
  "license": "MIT",
42
43
  "engines": {
43
- "node": ">=22"
44
+ "node": "^22.19.0 || >=24.0.0"
44
45
  },
45
46
  "dependencies": {
46
47
  "ical.js": "^2.1.0",