@perrylink/dsh-github 0.7.10 โ†’ 0.7.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perrylink/dsh-github",
3
- "version": "0.7.10",
3
+ "version": "0.7.13",
4
4
  "description": "Official-grade GitHub CI for DeepSeek Harness: composite action (review PRs / fix CI / report), polling PR review bot with idempotent inline comments, a status-check gate, and approval-gated PR/issue/repo/file tools",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -35,6 +35,7 @@
35
35
  "test": "vitest run",
36
36
  "test:coverage": "vitest run --coverage",
37
37
  "typecheck": "tsc --noEmit",
38
+ "typecheck:ci": "tsc -p tsconfig.ci.json --noEmit",
38
39
  "lint": "oxlint",
39
40
  "check:readmes": "node scripts/check-readmes.mjs",
40
41
  "verify:self-contained": "node scripts/verify-self-contained.mjs",
@@ -60,10 +61,12 @@
60
61
  "url": "https://github.com/PerryLink/dsh-github"
61
62
  },
62
63
  "engines": {
63
- "node": "^22.19.0 || >=24.0.0"
64
+ "node": "^22.19.0 || >=24.0.0",
65
+ "dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0"
64
66
  },
65
67
  "packageManager": "pnpm@11.7.0",
66
68
  "dsh": {
69
+ "manifestVersion": 1,
67
70
  "bundle": {
68
71
  "patch": "./cordis.patch.yml"
69
72
  },
@@ -71,6 +74,7 @@
71
74
  "inject": [
72
75
  "@deepseek-ai/dsh-client-connection",
73
76
  "@deepseek-ai/dsh-client-locale",
77
+ "@deepseek-ai/dsh-client-ui-plugin-manager",
74
78
  "@deepseek-ai/dsh-client-ui-settings",
75
79
  "@deepseek-ai/dsh-client-ui-slots"
76
80
  ],
@@ -99,7 +103,7 @@
99
103
  "filesystem:write"
100
104
  ],
101
105
  "compatibility": {
102
- "dshVersions": ["0.1.2-rc.1","0.1.5-rc.2"]
106
+ "dshVersions": ["0.1.2-rc.1","0.1.5-rc.2","0.1.7-alpha.2"]
103
107
  },
104
108
  "capability": {
105
109
  "id": "gh-ci",
@@ -115,21 +119,29 @@
115
119
  }
116
120
  },
117
121
  "dependencies": {
118
- "@deepseek-ai/schemastery": "^3.18.2"
122
+ "@deepseek-ai/schemastery": "^3.18.3"
119
123
  },
120
124
  "peerDependencies": {
121
- "@deepseek-ai/cordis": "^4.0.2",
122
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
123
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
124
- "@deepseek-ai/dsh-credentials": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
125
- "@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
126
- "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
127
- "@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
128
- "@deepseek-ai/dsh-tool-jobs": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
129
- "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
125
+ "@deepseek-ai/cordis": "^4.0.4",
126
+ "@deepseek-ai/dsh-agent": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
127
+ "@deepseek-ai/dsh-client-ui-plugin-manager": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
128
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
129
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
130
+ "@deepseek-ai/dsh-credentials": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
131
+ "@deepseek-ai/dsh-jobs": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
132
+ "@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
133
+ "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
134
+ "@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
135
+ "@deepseek-ai/dsh-subagent": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
136
+ "@deepseek-ai/dsh-tool-jobs": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
137
+ "@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
138
+ "@deepseek-ai/dsh-user-approval": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0",
130
139
  "react": "^18.0.0 || ^19.0.0"
131
140
  },
132
141
  "peerDependenciesMeta": {
142
+ "@deepseek-ai/dsh-client-ui-plugin-manager": {
143
+ "optional": true
144
+ },
133
145
  "@deepseek-ai/dsh-client-ui-primitives": {
134
146
  "optional": true
135
147
  },
@@ -141,19 +153,25 @@
141
153
  }
142
154
  },
143
155
  "devDependencies": {
144
- "@deepseek-ai/dsh-util-values": "0.1.5-rc.2",
145
- "@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
146
- "@deepseek-ai/cordis": "^4.0.2",
147
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
148
- "@deepseek-ai/dsh-credentials": "0.1.5-rc.2",
149
- "@deepseek-ai/dsh-llm": "0.1.5-rc.2",
150
- "@deepseek-ai/dsh-session": "0.1.5-rc.2",
151
- "@deepseek-ai/dsh-settings": "0.1.5-rc.2",
152
- "@deepseek-ai/dsh-tools": "0.1.5-rc.2",
153
- "@deepseek-ai/schemastery": "^3.18.2",
156
+ "@deepseek-ai/dsh-util-values": "0.1.7-alpha.2",
157
+ "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
158
+ "@deepseek-ai/dsh-attachment": "0.1.7-alpha.2",
159
+ "@deepseek-ai/cordis": "^4.0.4",
160
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.4",
161
+ "@deepseek-ai/dsh-credentials": "0.1.7-alpha.2",
162
+ "@deepseek-ai/dsh-jobs": "0.1.7-alpha.2",
163
+ "@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
164
+ "@deepseek-ai/dsh-session": "0.1.7-alpha.2",
165
+ "@deepseek-ai/dsh-settings": "0.1.7-alpha.2",
166
+ "@deepseek-ai/dsh-subagent": "0.1.7-alpha.2",
167
+ "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
168
+ "@deepseek-ai/dsh-user-approval": "0.1.7-alpha.2",
169
+ "@deepseek-ai/schemastery": "^3.18.3",
154
170
  "@types/node": "^22.0.0",
171
+ "@types/react": "18.3.31",
155
172
  "@vitest/coverage-v8": "3.2.0",
156
173
  "oxlint": "0.18.1",
174
+ "react": "18.3.1",
157
175
  "typescript": "^5.7.0",
158
176
  "vitest": "^3.2.0"
159
177
  },
@@ -34,7 +34,7 @@ const y = (value) => JSON.stringify(value)
34
34
  const task = env('INPUT_TASK').trim() || 'review'
35
35
  const pr = env('INPUT_PR').trim()
36
36
  const ownerRepo = env('INPUT_OWNER_REPO').trim()
37
- const model = env('INPUT_MODEL').trim() || 'deepseek-v4-flash'
37
+ const model = env('INPUT_MODEL').trim() || 'deepseek-flash'
38
38
  const engine = env('INPUT_ENGINE').trim() === 'model' ? 'model' : 'static'
39
39
  const checkName = env('INPUT_CHECK_NAME').trim() || 'dsh-github-review'
40
40
  const blocking = boolOf(env('INPUT_BLOCKING'), true)
@@ -1,7 +1,8 @@
1
1
  // Cross-checks the documentation against the source:
2
2
  // 1. Every README's table-of-contents anchor links resolve against its own
3
3
  // headings using GitHub-style slugs (emoji/CJK/Devanagari kept, punctuation
4
- // stripped, spaces โ†’ hyphens, ASCII lowercased). The ๐Ÿ“š-marked
4
+ // stripped โ€” including `&`, which GitHub drops while keeping the surrounding
5
+ // hyphens โ€” spaces โ†’ hyphens, ASCII lowercased). The ๐Ÿ“š-marked
5
6
  // table-of-contents heading itself is exempt from the must-be-referenced
6
7
  // rule: it is the navigation index, not a target.
7
8
  // 2. Every tool name in src/tools.ts and every config key in src/config.ts is
@@ -25,6 +26,7 @@ function slug(heading) {
25
26
  .trim()
26
27
  .toLowerCase()
27
28
  .replace(/\s+/g, '-')
29
+ .replace(/&/g, '')
28
30
  .replace(/[.,:;!?()'"ยทโ€”โ€ข*]/g, '')
29
31
  }
30
32
 
@@ -38,7 +38,7 @@ Options:
38
38
  --pr <number> Pull request number (required for review/fix-ci)
39
39
  --owner-repo <owner/repo> Repository to review (required for review/fix-ci)
40
40
  --task-prompt <text> Complete replacement for the default task text
41
- --model <id> Model for the headless session (default: deepseek-v4-flash)
41
+ --model <id> Model for the headless session (default: deepseek-flash)
42
42
  --engine <static|model> Review engine (default: static)
43
43
  --check-name <name> Status-check name (default: dsh-github-review)
44
44
  --blocking <true|false> Fail on needs-changes verdict (default: true)
@@ -71,7 +71,7 @@ const options = {
71
71
  pr: '',
72
72
  ownerRepo: '',
73
73
  taskPrompt: '',
74
- model: 'deepseek-v4-flash',
74
+ model: 'deepseek-flash',
75
75
  engine: 'static',
76
76
  checkName: 'dsh-github-review',
77
77
  blocking: 'true',