@yisg/dsh-plugin-tcxa 1.0.1 → 1.0.3

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/cordis.patch.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  - insert:
2
2
  - id: tcxa
3
- name: dsh-plugin-tcxa
3
+ name: @yisg/dsh-plugin-tcxa
package/info.txt ADDED
@@ -0,0 +1,39 @@
1
+ ## for deepseek harness plugin
2
+
3
+ ### 启动
4
+ pnpm dsh web
5
+
6
+ ### 插件加载顺序 (后加载的会覆盖先加载的层)
7
+ 1) 空根 cordis '起点,永远是空
8
+ 2) Bundle层 '各组合包自带的patch
9
+ 3) Profile层 '你的定制,写在这里
10
+ 4) Home 层 (~/.dsh/cordis.patch.yml) '机器级偏好,对所有 profile 生效
11
+ 5) --patch 覆盖层 '命令行临时指定
12
+
13
+
14
+ ### 临时插件 (开发测试使用)
15
+ pnpm dsh web --patch ./scratch-plugin/cordis.yml
16
+
17
+ ### 固定插件
18
+ pnpm dsh plugin --profile <profile名> add <插件来源>
19
+
20
+ npm 包:直接写包名,如 pnpm dsh plugin --profile web add dsh-polling。
21
+ 本地目录/文件:使用 link: 前缀,如 pnpm dsh plugin --profile web add link:./my-plugin。
22
+ GitHub 仓库:使用 github: 前缀,如 pnpm dsh plugin --profile web add github:StartOver000/SuperPower-dsh。
23
+ Tarball 压缩包:直接写文件路径,如 pnpm dsh plugin --profile web add ./my-plugin-0.1.0.tgz
24
+
25
+ example:
26
+ 往profile/web加入插件:
27
+ pnpm dsh plugin --profile web add @yisg/dsh-plugin-tcxa
28
+ pnpm dsh plugin --profile web add link:E:/deepseek-harness/dsh-plugin-tcxa
29
+ 移除插件:
30
+ pnpm dsh plugin --profile web remove dsh-plugin-tcxa
31
+
32
+ ### 如何发布
33
+ 1、设置token (勾选 Bypass two-factor authentication (2FA))
34
+ npm config set //registry.npmjs.org/:_authToken=npm_????UDAUY3vwTOAh3as3haJZqrsMPI1Z????
35
+ 2、发布
36
+ npm publish --access public
37
+
38
+ ### 如何npm打包
39
+ 进入项目package.json,然后执行npm pack
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@yisg/dsh-plugin-tcxa",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "dsh-plugin-tcxa from tcxa",
5
5
  "main": "src/index.ts",
6
+ "exports": {
7
+ ".": "./src/index.ts"
8
+ },
6
9
  "dsh": {
7
10
  "bundle": {
8
11
  "patch": "./cordis.patch.yml"
package/readme.txt CHANGED
@@ -1,23 +1 @@
1
- 启动:
2
- pnpm dsh web
3
-
4
- 临时插件:
5
- pnpm dsh web --patch ./scratch-plugin/cordis.yml
6
-
7
- 固定插件:
8
- 往profile/web加入插件,启动自动生效:
9
- pnpm dsh plugin --profile web add link:E:/deepseek-harness/dsh-plugin-tcxa
10
- 移除插件:
11
- pnpm dsh plugin --profile web remove dsh-plugin-tcxa
12
-
13
-
14
- ## 插件加载顺序
15
- 1) 空根 cordis '起点,永远是空
16
- 2) Bundle层 '各组合包自带的patch
17
- 3) Profile层 '你的定制,写在这里
18
- 4) Home 层 (~/.dsh/cordis.patch.yml) '机器级偏好,对所有 profile 生效
19
- 5) --patch 覆盖层 '命令行临时指定
20
-
21
- (注:后加载的会覆盖先加载的层)
22
-
23
-
1
+ 这是一个测试demo