collab-canvas 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # collab-canvas(话布)
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/collab-canvas)](https://www.npmjs.com/package/collab-canvas)
3
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
5
  [![DSH Compatible](https://img.shields.io/badge/DSH-0.2.x-brightgreen)](https://github.com/deepseek-ai/deepseek-harness)
5
6
 
@@ -47,8 +48,9 @@
47
48
  ## 安装
48
49
 
49
50
  ```bash
50
- # 1. 装进 profile
51
- dsh plugin --profile web add github:godchen520/collab-canvas
51
+ # 1. 装进 profile(下面两种来源任选其一)
52
+ dsh plugin --profile web add collab-canvas # 从 npm 装(推荐)
53
+ dsh plugin --profile web add github:godchen520/collab-canvas # 从 GitHub 装(跟随最新提交)
52
54
 
53
55
  # 2. 把 "collab-canvas" 加进 profile package.json 的 dsh.profile.bundles 数组
54
56
  # (只加 dependencies 不加 bundles 的话,cordis.patch.yml 不会生效 —— 插件"装了但没启用")
@@ -60,6 +62,8 @@ dsh web
60
62
  > **两处都要加**:`dependencies` 负责把包装上,`dsh.profile.bundles` 负责让它的
61
63
  > `cordis.patch.yml` 进入组合。缺任何一边都会出现"装上了但功能不在"。
62
64
 
65
+ > **npm 安装的好处**:不受 npm 对 git 依赖触发的 `allowBuilds` 构建授权步骤影响,且市场能显示下载量。
66
+
63
67
  ## 数据存放
64
68
 
65
69
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "collab-canvas",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "DSH 协作画布插件(话布):人和 AI 共写的 Markdown 文档面。AI 通过 canvas_* 工具读写,带版本冲突检测、可撤销历史与文件持久化。",
5
5
  "type": "module",
6
6
  "license": "MIT",