dsh-rewind-plugin 0.1.0 → 0.1.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 +7 -4
  2. package/package.json +34 -13
package/README.md CHANGED
@@ -52,10 +52,13 @@ git push --tags # push v<version> tag → 触发 .github/workflows/publish.
52
52
  GitHub Release。
53
53
  - **一次性 npm 侧配置**(仓库内无法代做;配置**不需要包先存在**,发布后
54
54
  `npmjs.com/package/dsh-rewind-plugin` 才会出现):
55
- 1. 浏览器打开 [npmjs.com → sirilee → Access Tokens](https://www.npmjs.com/settings/sirilee/access-tokens)
56
- 顶部 **Enable Trusted Publishing**;
57
- 2. **Add publisher** GitHub repo `SiriLee/dsh-rewind`、branch `main`
58
- (与 workflow `environment: npm` 对应时可选 environment)。
55
+ 1. 打开 [dsh-rewind-plugin 包页](https://www.npmjs.com/package/dsh-rewind-plugin)
56
+ 右上角 **settings** → **Trusted Publisher** → **Add**;
57
+ 2. 字段:Provider **GitHub Actions** · Organization or user **`SiriLee`** ·
58
+ Repository **`dsh-rewind`**(GitHub 仓库名,与 npm 包名可不同)·
59
+ Workflow filename **`publish.yml`**(只填文件名)· Environment **留空**
60
+ (本 workflow 无 `environment` 块,OIDC subject 携带 ref,此为已验证组合)·
61
+ **Allowed actions:`npm publish`**(2026-05-20 起必选)。
59
62
  - 质量门禁(PR / push main):`.github/workflows/ci.yml` 跑 typecheck + 测试
60
63
  + 构建 + `verify-host`。
61
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-rewind-plugin",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DeepSeek Harness plugin: in-place conversation rewind in the same session window (Claude Code /rewind semantics) with optional workspace file restore",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -53,7 +53,6 @@
53
53
  "verify:host": "node scripts/verify-host.mjs",
54
54
  "prepare": "npm run build"
55
55
  },
56
- "license": "MIT",
57
56
  "publishConfig": {
58
57
  "access": "public"
59
58
  },
@@ -71,17 +70,39 @@
71
70
  "@deepseek-ai/dsh-tools": "*"
72
71
  },
73
72
  "peerDependenciesMeta": {
74
- "@deepseek-ai/cordis": { "optional": true },
75
- "@deepseek-ai/dsh-agent": { "optional": true },
76
- "@deepseek-ai/dsh-client-locale": { "optional": true },
77
- "@deepseek-ai/dsh-client-runtime": { "optional": true },
78
- "@deepseek-ai/dsh-client-ui-slots": { "optional": true },
79
- "@deepseek-ai/dsh-commands": { "optional": true },
80
- "@deepseek-ai/dsh-fs": { "optional": true },
81
- "@deepseek-ai/dsh-llm": { "optional": true },
82
- "@deepseek-ai/dsh-sandbox": { "optional": true },
83
- "@deepseek-ai/dsh-session": { "optional": true },
84
- "@deepseek-ai/dsh-tools": { "optional": true }
73
+ "@deepseek-ai/cordis": {
74
+ "optional": true
75
+ },
76
+ "@deepseek-ai/dsh-agent": {
77
+ "optional": true
78
+ },
79
+ "@deepseek-ai/dsh-client-locale": {
80
+ "optional": true
81
+ },
82
+ "@deepseek-ai/dsh-client-runtime": {
83
+ "optional": true
84
+ },
85
+ "@deepseek-ai/dsh-client-ui-slots": {
86
+ "optional": true
87
+ },
88
+ "@deepseek-ai/dsh-commands": {
89
+ "optional": true
90
+ },
91
+ "@deepseek-ai/dsh-fs": {
92
+ "optional": true
93
+ },
94
+ "@deepseek-ai/dsh-llm": {
95
+ "optional": true
96
+ },
97
+ "@deepseek-ai/dsh-sandbox": {
98
+ "optional": true
99
+ },
100
+ "@deepseek-ai/dsh-session": {
101
+ "optional": true
102
+ },
103
+ "@deepseek-ai/dsh-tools": {
104
+ "optional": true
105
+ }
85
106
  },
86
107
  "devDependencies": {
87
108
  "@deepseek-ai/cordis": "^4.0.1-rc.4",